2 # From configure.in Id: configure.in 48648 2007-09-13 06:24:14Z 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-filectrl use wxFileCtrl class
1786 --enable-fontpicker use wxFontPickerCtrl class
1787 --enable-gauge use wxGauge class
1788 --enable-grid use wxGrid class
1789 --enable-dataviewctrl use wxDataViewCtrl class
1790 --enable-hyperlink use wxHyperlinkCtrl class
1791 --enable-imaglist use wxImageList class
1792 --enable-listbook use wxListbook class
1793 --enable-listbox use wxListBox class
1794 --enable-listctrl use wxListCtrl class
1795 --enable-notebook use wxNotebook class
1796 --enable-odcombobox use wxOwnerDrawnComboBox class
1797 --enable-radiobox use wxRadioBox class
1798 --enable-radiobtn use wxRadioButton class
1799 --enable-sash use wxSashWindow class
1800 --enable-scrollbar use wxScrollBar class and scrollable windows
1801 --enable-searchctrl use wxSearchCtrl class
1802 --enable-slider use wxSlider class
1803 --enable-spinbtn use wxSpinButton class
1804 --enable-spinctrl use wxSpinCtrl class
1805 --enable-splitter use wxSplitterWindow class
1806 --enable-statbmp use wxStaticBitmap class
1807 --enable-statbox use wxStaticBox class
1808 --enable-statline use wxStaticLine class
1809 --enable-stattext use wxStaticText class
1810 --enable-statusbar use wxStatusBar class
1811 --enable-tabdialog use wxTabControl class
1812 --enable-taskbaricon use wxTaskBarIcon class
1813 --enable-textctrl use wxTextCtrl class
1814 --enable-togglebtn use wxToggleButton class
1815 --enable-toolbar use wxToolBar class
1816 --enable-tbarnative use native wxToolBar class
1817 --enable-treebook use wxTreebook class
1818 --enable-toolbook use wxToolbook class
1819 --enable-treectrl use wxTreeCtrl class
1820 --enable-tipwindow use wxTipWindow class
1821 --enable-popupwin use wxPopUpWindow class
1822 --enable-commondlg use all common dialogs
1823 --enable-aboutdlg use wxAboutBox
1824 --enable-choicedlg use wxChoiceDialog
1825 --enable-coldlg use wxColourDialog
1826 --enable-filedlg use wxFileDialog
1827 --enable-finddlg use wxFindReplaceDialog
1828 --enable-fontdlg use wxFontDialog
1829 --enable-dirdlg use wxDirDialog
1830 --enable-msgdlg use wxMessageDialog
1831 --enable-numberdlg use wxNumberEntryDialog
1832 --enable-splash use wxSplashScreen
1833 --enable-textdlg use wxTextDialog
1834 --enable-tipdlg use startup tips
1835 --enable-progressdlg use wxProgressDialog
1836 --enable-wizarddlg use wxWizard
1837 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1838 --enable-miniframe use wxMiniFrame class
1839 --enable-tooltips use wxToolTip class
1840 --enable-splines use spline drawing code
1841 --enable-mousewheel use mousewheel
1842 --enable-validators use wxValidator and derived classes
1843 --enable-busyinfo use wxBusyInfo
1844 --enable-joystick use wxJoystick
1845 --enable-metafiles use wxMetaFile
(Win32 only
)
1846 --enable-dragimage use wxDragImage
1847 --enable-accessibility enable accessibility support
1848 --enable-palette use wxPalette class
1849 --enable-image use wxImage class
1850 --enable-gif use gif images
(GIF
file format
)
1851 --enable-pcx use pcx images
(PCX
file format
)
1852 --enable-tga use tga images
(TGA
file format
)
1853 --enable-iff use iff images
(IFF
file format
)
1854 --enable-pnm use pnm images
(PNM
file format
)
1855 --enable-xpm use xpm images
(XPM
file format
)
1856 --enable-icocur use Windows ICO and CUR formats
1857 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1858 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1859 --enable-ownerdrawn use owner drawn controls
(Win32 only
)
1860 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1861 --enable-wxdib use wxDIB class
(Win32 only
)
1862 --disable-largefile omit support
for large files
1863 --disable-gtktest do not try to compile and run a
test GTK
+ program
1864 --disable-gtktest Do not try to compile and run a
test GTK program
1865 --disable-sdltest Do not try to compile and run a
test SDL program
1866 --enable-omf use OMF object format
(OS
/2)
1867 --disable-dependency-tracking
1868 don
't use dependency tracking even if the compiler
1870 --disable-precomp-headers
1871 don't use precompiled headers even
if compiler can
1874 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1875 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1876 --without-subdirs don
't generate makefiles for samples/demos/...
1877 --with-flavour=NAME specify a name to identify this build
1878 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1879 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1880 --with-motif use Motif/Lesstif
1881 --with-mac use Mac OS X
1882 --with-cocoa use Cocoa
1883 --with-wine use Wine
1884 --with-msw use MS-Windows
1885 --with-pm use OS/2 Presentation Manager
1886 --with-mgl use SciTech MGL
1887 --with-directfb use DirectFB
1888 --with-microwin use MicroWindows
1890 --with-libpng use libpng (PNG image format)
1891 --with-libjpeg use libjpeg (JPEG file format)
1892 --with-libtiff use libtiff (TIFF file format)
1893 --with-libxpm use libxpm (XPM file format)
1894 --with-libmspack use libmspack (CHM help files loading)
1895 --without-gtkprint don't use GTK printing support
1896 --without-gnomeprint don
't use GNOME printing libraries
1897 --with-gnomevfs use GNOME VFS for associating MIME types
1898 --with-hildon use Hildon framework for Nokia 770
1899 --with-opengl use OpenGL (or Mesa)
1900 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1901 --with-sdl use SDL for audio on Unix
1902 --with-regex enable support for wxRegEx class
1903 --with-zlib use zlib for LZW compression
1904 --with-odbc use the IODBC and wxODBC classes
1905 --with-expat enable XML support using expat parser
1906 --with-macosx-sdk=PATH use an OS X SDK at PATH
1907 --with-macosx-version-min=VER build binaries which require at least this OS X version
1908 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1909 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1910 --with-x use the X Window System
1911 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1912 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1913 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1914 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1915 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1917 Some influential environment variables:
1918 CC C compiler command
1919 CFLAGS C compiler flags
1920 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1921 nonstandard directory <lib dir>
1922 LIBS libraries to pass to the linker, e.g. -l<library>
1923 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1924 you have headers in a nonstandard directory <include dir>
1926 CXX C++ compiler command
1927 CXXFLAGS C++ compiler flags
1928 PKG_CONFIG path to pkg-config utility
1930 C compiler flags for DIRECTFB, overriding pkg-config
1932 linker flags for DIRECTFB, overriding pkg-config
1933 XMKMF Path to xmkmf, Makefile generator for X Window System
1935 C compiler flags for PANGOX, overriding pkg-config
1936 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1938 C compiler flags for PANGOFT2, overriding pkg-config
1940 linker flags for PANGOFT2, overriding pkg-config
1942 C compiler flags for PANGOXFT, overriding pkg-config
1944 linker flags for PANGOXFT, overriding pkg-config
1946 C compiler flags for GTKPRINT, overriding pkg-config
1948 linker flags for GTKPRINT, overriding pkg-config
1949 LIBGNOMEPRINTUI_CFLAGS
1950 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1951 LIBGNOMEPRINTUI_LIBS
1952 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1954 C compiler flags for GNOMEVFS, overriding pkg-config
1956 linker flags for GNOMEVFS, overriding pkg-config
1958 C compiler flags for HILDON, overriding pkg-config
1959 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1961 C compiler flags for CAIRO, overriding pkg-config
1962 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1963 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1964 GST_LIBS linker flags for GST, overriding pkg-config
1966 Use these variables to override the choices made by `configure' or to
help
1967 it to
find libraries and programs with nonstandard names
/locations.
1969 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1974 if test "$ac_init_help" = "recursive"; then
1975 # If there are subdirs, report their specific --help.
1976 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1977 test -d "$ac_dir" || continue
1981 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1983 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1984 # A ".." for each directory in $ac_dir_suffix.
1985 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1986 case $ac_top_builddir_sub in
1987 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1988 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1991 ac_abs_top_builddir
=$ac_pwd
1992 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1993 # for backward compatibility:
1994 ac_top_builddir
=$ac_top_build_prefix
1997 .
) # We are building in place.
1999 ac_top_srcdir
=$ac_top_builddir_sub
2000 ac_abs_top_srcdir
=$ac_pwd ;;
2001 [\\/]* | ?
:[\\/]* ) # Absolute name.
2002 ac_srcdir
=$srcdir$ac_dir_suffix;
2003 ac_top_srcdir
=$srcdir
2004 ac_abs_top_srcdir
=$srcdir ;;
2006 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2007 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2008 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2010 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2012 cd "$ac_dir" || { ac_status
=$?
; continue; }
2013 # Check for guested configure.
2014 if test -f "$ac_srcdir/configure.gnu"; then
2016 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2017 elif test -f "$ac_srcdir/configure"; then
2019 $SHELL "$ac_srcdir/configure" --help=recursive
2021 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2023 cd "$ac_pwd" || { ac_status
=$?
; break; }
2027 test -n "$ac_init_help" && exit $ac_status
2028 if $ac_init_version; then
2030 wxWidgets configure
2.9.0
2031 generated by GNU Autoconf
2.61
2033 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2034 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2035 This configure
script is free software
; the Free Software Foundation
2036 gives unlimited permission to copy
, distribute and modify it.
2040 cat >config.log
<<_ACEOF
2041 This file contains any messages produced by compilers while
2042 running configure, to aid debugging if configure makes a mistake.
2044 It was created by wxWidgets $as_me 2.9.0, which was
2045 generated by GNU Autoconf 2.61. Invocation command line was
2057 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2058 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2059 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2060 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2061 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2063 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2064 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2066 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2067 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2068 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2069 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2070 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2071 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2072 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2080 test -z "$as_dir" && as_dir
=.
2081 echo "PATH: $as_dir"
2097 # Keep a trace of the command line.
2098 # Strip out --no-create and --no-recursion so they do not pile up.
2099 # Strip out --silent because we don't want to record it for future runs.
2100 # Also quote any args containing shell meta-characters.
2101 # Make two passes to allow for proper duplicate-argument suppression.
2105 ac_must_keep_next
=false
2111 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2112 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2113 | -silent | --silent | --silen | --sile | --sil)
2116 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2119 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2121 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2122 if test $ac_must_keep_next = true
; then
2123 ac_must_keep_next
=false
# Got value, back to normal.
2126 *=* | --config-cache | -C | -disable-* | --disable-* \
2127 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2128 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2129 | -with-* | --with-* | -without-* | --without-* | --x)
2130 case "$ac_configure_args0 " in
2131 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2134 -* ) ac_must_keep_next
=true
;;
2137 ac_configure_args
="$ac_configure_args '$ac_arg'"
2142 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2143 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2145 # When interrupted or exit'd, cleanup temporary files, and complete
2146 # config.log. We remove comments because anyway the quotes in there
2147 # would cause problems or look ugly.
2148 # WARNING: Use '\'' to represent an apostrophe within the trap.
2149 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2150 trap 'exit_status=$?
2151 # Save into config.log some information that might help in debugging.
2156 ## ---------------- ##
2157 ## Cache variables. ##
2158 ## ---------------- ##
2161 # The following way of writing the cache mishandles newlines in values,
2163 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2164 eval ac_val=\$$ac_var
2168 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2169 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2172 _ | IFS | as_nl) ;; #(
2173 *) $as_unset $ac_var ;;
2178 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2179 *${as_nl}ac_space=\ *)
2181 "s/'\''/'\''\\\\'\'''\''/g;
2182 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2185 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2193 ## ----------------- ##
2194 ## Output variables. ##
2195 ## ----------------- ##
2198 for ac_var in $ac_subst_vars
2200 eval ac_val=\$$ac_var
2202 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2204 echo "$ac_var='\''$ac_val'\''"
2208 if test -n "$ac_subst_files"; then
2210 ## ------------------- ##
2211 ## File substitutions. ##
2212 ## ------------------- ##
2215 for ac_var
in $ac_subst_files
2217 eval ac_val
=\$
$ac_var
2219 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2221 echo "$ac_var='\''$ac_val'\''"
2226 if test -s confdefs.h; then
2236 test "$ac_signal" != 0 &&
2237 echo "$as_me: caught signal $ac_signal"
2238 echo "$as_me: exit $exit_status"
2240 rm -f core *.core core.conftest.* &&
2241 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2244 for ac_signal
in 1 2 13 15; do
2245 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2249 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2250 rm -f -r conftest
* confdefs.h
2252 # Predefined preprocessor variables.
2254 cat >>confdefs.h
<<_ACEOF
2255 #define PACKAGE_NAME "$PACKAGE_NAME"
2259 cat >>confdefs.h
<<_ACEOF
2260 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2264 cat >>confdefs.h
<<_ACEOF
2265 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2269 cat >>confdefs.h
<<_ACEOF
2270 #define PACKAGE_STRING "$PACKAGE_STRING"
2274 cat >>confdefs.h
<<_ACEOF
2275 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2279 # Let the site file select an alternate cache file if it wants to.
2280 # Prefer explicitly selected file to automatically selected ones.
2281 if test -n "$CONFIG_SITE"; then
2282 set x
"$CONFIG_SITE"
2283 elif test "x$prefix" != xNONE
; then
2284 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2286 set x
"$ac_default_prefix/share/config.site" \
2287 "$ac_default_prefix/etc/config.site"
2292 if test -r "$ac_site_file"; then
2293 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2294 echo "$as_me: loading site script $ac_site_file" >&6;}
2295 sed 's/^/| /' "$ac_site_file" >&5
2300 if test -r "$cache_file"; then
2301 # Some versions of bash will fail to source /dev/null (special
2302 # files actually), so we avoid doing that.
2303 if test -f "$cache_file"; then
2304 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2305 echo "$as_me: loading cache $cache_file" >&6;}
2307 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2308 *) .
"./$cache_file";;
2312 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2313 echo "$as_me: creating cache $cache_file" >&6;}
2317 # Check that the precious variables saved in the cache have kept the same
2319 ac_cache_corrupted
=false
2320 for ac_var
in $ac_precious_vars; do
2321 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2322 eval ac_new_set
=\
$ac_env_${ac_var}_set
2323 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2324 eval ac_new_val
=\
$ac_env_${ac_var}_value
2325 case $ac_old_set,$ac_new_set in
2327 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2328 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2329 ac_cache_corrupted
=: ;;
2331 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2332 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2333 ac_cache_corrupted
=: ;;
2336 if test "x$ac_old_val" != "x$ac_new_val"; then
2337 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2338 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2339 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2340 echo "$as_me: former value: $ac_old_val" >&2;}
2341 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2342 echo "$as_me: current value: $ac_new_val" >&2;}
2343 ac_cache_corrupted
=:
2346 # Pass precious variables to config.status.
2347 if test "$ac_new_set" = set; then
2349 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2350 *) ac_arg
=$ac_var=$ac_new_val ;;
2352 case " $ac_configure_args " in
2353 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2354 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2358 if $ac_cache_corrupted; then
2359 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2360 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2361 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2362 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2363 { (exit 1); exit 1; }; }
2391 ac_cpp
='$CPP $CPPFLAGS'
2392 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2393 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2394 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2401 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2402 if test -f "$ac_dir/install-sh"; then
2404 ac_install_sh
="$ac_aux_dir/install-sh -c"
2406 elif test -f "$ac_dir/install.sh"; then
2408 ac_install_sh
="$ac_aux_dir/install.sh -c"
2410 elif test -f "$ac_dir/shtool"; then
2412 ac_install_sh
="$ac_aux_dir/shtool install -c"
2416 if test -z "$ac_aux_dir"; then
2417 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2418 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2419 { (exit 1); exit 1; }; }
2422 # These three variables are undocumented and unsupported,
2423 # and are intended to be withdrawn in a future Autoconf release.
2424 # They can cause serious problems if a builder's source tree is in a directory
2425 # whose full name contains unusual characters.
2426 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2427 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2428 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2431 # Make sure we can run config.sub.
2432 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2433 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2434 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2435 { (exit 1); exit 1; }; }
2437 { echo "$as_me:$LINENO: checking build system type" >&5
2438 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2439 if test "${ac_cv_build+set}" = set; then
2440 echo $ECHO_N "(cached) $ECHO_C" >&6
2442 ac_build_alias
=$build_alias
2443 test "x$ac_build_alias" = x
&&
2444 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2445 test "x$ac_build_alias" = x
&&
2446 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2447 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2448 { (exit 1); exit 1; }; }
2449 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2450 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2451 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2452 { (exit 1); exit 1; }; }
2455 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2456 echo "${ECHO_T}$ac_cv_build" >&6; }
2457 case $ac_cv_build in
2459 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2460 echo "$as_me: error: invalid value of canonical build" >&2;}
2461 { (exit 1); exit 1; }; };;
2464 ac_save_IFS
=$IFS; IFS
='-'
2470 # Remember, the first character of IFS is used to create $*,
2471 # except with old shells:
2474 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2477 { echo "$as_me:$LINENO: checking host system type" >&5
2478 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2479 if test "${ac_cv_host+set}" = set; then
2480 echo $ECHO_N "(cached) $ECHO_C" >&6
2482 if test "x$host_alias" = x
; then
2483 ac_cv_host
=$ac_cv_build
2485 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2486 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2487 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2488 { (exit 1); exit 1; }; }
2492 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2493 echo "${ECHO_T}$ac_cv_host" >&6; }
2496 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2497 echo "$as_me: error: invalid value of canonical host" >&2;}
2498 { (exit 1); exit 1; }; };;
2501 ac_save_IFS
=$IFS; IFS
='-'
2507 # Remember, the first character of IFS is used to create $*,
2508 # except with old shells:
2511 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2514 { echo "$as_me:$LINENO: checking target system type" >&5
2515 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2516 if test "${ac_cv_target+set}" = set; then
2517 echo $ECHO_N "(cached) $ECHO_C" >&6
2519 if test "x$target_alias" = x
; then
2520 ac_cv_target
=$ac_cv_host
2522 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2523 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2524 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2525 { (exit 1); exit 1; }; }
2529 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2530 echo "${ECHO_T}$ac_cv_target" >&6; }
2531 case $ac_cv_target in
2533 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2534 echo "$as_me: error: invalid value of canonical target" >&2;}
2535 { (exit 1); exit 1; }; };;
2537 target
=$ac_cv_target
2538 ac_save_IFS
=$IFS; IFS
='-'
2544 # Remember, the first character of IFS is used to create $*,
2545 # except with old shells:
2548 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2551 # The aliases save the names the user supplied, while $host etc.
2552 # will get canonicalized.
2553 test -n "$target_alias" &&
2554 test "$program_prefix$program_suffix$program_transform_name" = \
2556 program_prefix
=${target_alias}-
2560 wx_major_version_number
=2
2561 wx_minor_version_number
=9
2563 wx_subrelease_number
=0
2565 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2566 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2567 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2569 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2572 wx_top_builddir
="`pwd`"
2585 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2591 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2597 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2599 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2601 DEFAULT_wxUSE_COCOA
=0
2605 DEFAULT_wxUSE_MICROWIN
=0
2606 DEFAULT_wxUSE_MOTIF
=0
2612 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2613 DEFAULT_DEFAULT_wxUSE_GTK
=0
2614 DEFAULT_DEFAULT_wxUSE_MAC
=0
2615 DEFAULT_DEFAULT_wxUSE_MGL
=0
2616 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2617 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2618 DEFAULT_DEFAULT_wxUSE_MSW
=0
2619 DEFAULT_DEFAULT_wxUSE_PM
=0
2620 DEFAULT_DEFAULT_wxUSE_X11
=0
2621 DEFAULT_DEFAULT_wxUSE_DFB
=0
2626 SAMPLES_RPATH_POSTLINK
=
2628 DEFAULT_STD_FLAG
=yes
2633 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2634 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2636 cat >>confdefs.h
<<\_ACEOF
2641 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2645 cat >>confdefs.h
<<\_ACEOF
2650 if test "x$TMP" = "xalpha"; then
2652 cat >>confdefs.h
<<\_ACEOF
2657 DEFAULT_DEFAULT_wxUSE_GTK
=1
2659 *-*-gnu* | *-*-k*bsd
*-gnu )
2662 if test "x$TMP" = "xalpha"; then
2664 cat >>confdefs.h
<<\_ACEOF
2669 DEFAULT_DEFAULT_wxUSE_GTK
=1
2671 *-*-irix5* | *-*-irix6* )
2674 cat >>confdefs.h
<<\_ACEOF
2678 cat >>confdefs.h
<<\_ACEOF
2682 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2688 cat >>confdefs.h
<<\_ACEOF
2692 cat >>confdefs.h
<<\_ACEOF
2693 #define __SOLARIS__ 1
2696 cat >>confdefs.h
<<\_ACEOF
2700 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2701 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2707 cat >>confdefs.h
<<\_ACEOF
2711 cat >>confdefs.h
<<\_ACEOF
2715 cat >>confdefs.h
<<\_ACEOF
2719 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2724 cat >>confdefs.h
<<\_ACEOF
2725 #define __FREEBSD__ 1
2728 cat >>confdefs.h
<<\_ACEOF
2732 DEFAULT_DEFAULT_wxUSE_GTK
=1
2734 *-*-openbsd*|*-*-mirbsd*)
2737 cat >>confdefs.h
<<\_ACEOF
2738 #define __OPENBSD__ 1
2741 cat >>confdefs.h
<<\_ACEOF
2745 DEFAULT_DEFAULT_wxUSE_GTK
=1
2750 cat >>confdefs.h
<<\_ACEOF
2751 #define __NETBSD__ 1
2754 cat >>confdefs.h
<<\_ACEOF
2758 DEFAULT_DEFAULT_wxUSE_GTK
=1
2759 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2761 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2766 cat >>confdefs.h
<<\_ACEOF
2770 cat >>confdefs.h
<<\_ACEOF
2774 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2775 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2780 cat >>confdefs.h
<<\_ACEOF
2784 cat >>confdefs.h
<<\_ACEOF
2788 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2793 cat >>confdefs.h
<<\_ACEOF
2797 cat >>confdefs.h
<<\_ACEOF
2801 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2808 cat >>confdefs.h
<<\_ACEOF
2812 cat >>confdefs.h
<<\_ACEOF
2816 cat >>confdefs.h
<<\_ACEOF
2820 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2827 cat >>confdefs.h
<<\_ACEOF
2828 #define __UNIXWARE__ 1
2833 *-*-cygwin* | *-*-mingw32* )
2836 DEFAULT_DEFAULT_wxUSE_MSW
=1
2842 cat >>confdefs.h
<<\_ACEOF
2847 DEFAULT_DEFAULT_wxUSE_MGL
=1
2850 *-pc-os2_emx | *-pc-os2-emx )
2851 cat >>confdefs.h
<<\_ACEOF
2856 cat >>confdefs.h
<<\_ACEOF
2861 DEFAULT_DEFAULT_wxUSE_PM
=1
2863 LDFLAGS
="$LDFLAGS -Zcrtdll"
2864 ac_executable_extensions
=".exe"
2865 export ac_executable_extensions
2869 for ac_dir
in $PATH; do
2871 if test -z "$ac_TEMP_PATH"; then
2872 ac_TEMP_PATH
="$ac_dir"
2874 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2877 export PATH
="$ac_TEMP_PATH"
2886 cat >>confdefs.h
<<\_ACEOF
2890 cat >>confdefs.h
<<\_ACEOF
2891 #define __DARWIN__ 1
2894 cat >>confdefs.h
<<\_ACEOF
2895 #define TARGET_CARBON 1
2898 DEFAULT_DEFAULT_wxUSE_MAC
=1
2901 powerpc
-apple-macos* )
2903 ac_cv_c_bigendian
=yes
2905 DEFAULT_DEFAULT_wxUSE_MAC
=1
2911 cat >>confdefs.h
<<\_ACEOF
2918 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2919 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2920 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2921 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2923 DEFAULT_DEFAULT_wxUSE_X11
=1
2924 DEFAULT_wxUSE_SHARED
=no
2930 wx_arg_cache_file
="configarg.cache"
2931 echo "loading argument cache $wx_arg_cache_file"
2932 rm -f ${wx_arg_cache_file}.tmp
2933 touch ${wx_arg_cache_file}.tmp
2934 touch ${wx_arg_cache_file}
2937 DEFAULT_wxUSE_ALL_FEATURES
=yes
2939 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2940 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2942 DEFAULT_wxUSE_DMALLOC
=no
2943 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2944 DEFAULT_wxUSE_LIBHILDON
=no
2945 DEFAULT_wxUSE_LIBMSPACK
=no
2946 DEFAULT_wxUSE_LIBSDL
=no
2947 DEFAULT_wxUSE_ODBC
=no
2948 DEFAULT_wxUSE_OPENGL
=no
2950 DEFAULT_wxUSE_ACCESSIBILITY
=no
2951 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2952 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2953 DEFAULT_wxUSE_MEDIACTRL
=no
2954 DEFAULT_wxUSE_TAB_DIALOG
=no
2956 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2957 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2959 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2961 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2963 DEFAULT_wxUSE_GTK2
=yes
2965 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2968 for toolkit
in `echo $ALL_TOOLKITS`; do
2969 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2970 if test "x$LINE" != "x" ; then
2971 has_toolkit_in_cache
=1
2972 eval "DEFAULT_$LINE"
2973 eval "CACHE_$toolkit=1"
2975 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2976 if test "x$LINE" != "x" ; then
2977 eval "DEFAULT_$LINE"
2986 enablestring
=disable
2988 if test -z "$defaultval"; then
2989 if test x
"$enablestring" = xdisable
; then
2996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2997 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2998 # Check whether --enable-gui was given.
2999 if test "${enable_gui+set}" = set; then
3000 enableval
=$enable_gui;
3001 if test "$enableval" = yes; then
3002 wx_cv_use_gui
='wxUSE_GUI=yes'
3004 wx_cv_use_gui
='wxUSE_GUI=no'
3010 LINE
=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3011 if test "x$LINE" != x
; then
3012 eval "DEFAULT_$LINE"
3018 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3023 eval "$wx_cv_use_gui"
3024 if test "x$cache" = xyes; then
3025 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3028 if test x"$enablestring" = xdisable; then
3029 if test $wxUSE_GUI = yes; then
3038 { echo "$as_me:$LINENO: result: $result" >&5
3039 echo "${ECHO_T}$result" >&6; }
3044 if test -z "$defaultval"; then
3045 if test x"$enablestring" = xdisable; then
3052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3053 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3054 # Check whether --enable-monolithic was given.
3055 if test "${enable_monolithic+set}" = set; then
3056 enableval=$enable_monolithic;
3057 if test "$enableval" = yes; then
3058 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3060 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3066 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3067 if test "x$LINE" != x ; then
3068 eval "DEFAULT_$LINE"
3074 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3079 eval "$wx_cv_use_monolithic"
3080 if test "x
$cache" = xyes; then
3081 echo "wxUSE_MONOLITHIC
=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3084 if test x"$enablestring" = xdisable; then
3085 if test $wxUSE_MONOLITHIC = yes; then
3091 result=$wxUSE_MONOLITHIC
3094 { echo "$as_me:$LINENO: result
: $result" >&5
3095 echo "${ECHO_T}$result" >&6; }
3100 if test -z "$defaultval"; then
3101 if test x"$enablestring" = xdisable; then
3108 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3109 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3110 # Check whether --enable-plugins was given.
3111 if test "${enable_plugins+set}" = set; then
3112 enableval=$enable_plugins;
3113 if test "$enableval" = yes; then
3114 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3116 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3122 LINE=`grep "^wxUSE_PLUGINS
=" ${wx_arg_cache_file}`
3123 if test "x
$LINE" != x ; then
3124 eval "DEFAULT_
$LINE"
3130 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3135 eval "$wx_cv_use_plugins"
3136 if test "x$cache" = xyes
; then
3137 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3140 if test x
"$enablestring" = xdisable
; then
3141 if test $wxUSE_PLUGINS = yes; then
3147 result
=$wxUSE_PLUGINS
3150 { echo "$as_me:$LINENO: result: $result" >&5
3151 echo "${ECHO_T}$result" >&6; }
3155 defaultval
=$wxUSE_ALL_FEATURES
3156 if test -z "$defaultval"; then
3157 if test x
"$withstring" = xwithout
; then
3163 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3164 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3166 # Check whether --with-subdirs was given.
3167 if test "${with_subdirs+set}" = set; then
3168 withval
=$with_subdirs;
3169 if test "$withval" = yes; then
3170 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3172 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3178 LINE
=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3179 if test "x$LINE" != x
; then
3180 eval "DEFAULT_$LINE"
3186 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3191 eval "$wx_cv_use_subdirs"
3192 if test "x$cache" = xyes; then
3193 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3196 if test x"$withstring" = xwithout; then
3197 if test $wxWITH_SUBDIRS = yes; then
3203 result=$wxWITH_SUBDIRS
3206 { echo "$as_me:$LINENO: result: $result" >&5
3207 echo "${ECHO_T}$result" >&6; }
3210 # Check whether --with-flavour was given.
3211 if test "${with_flavour+set}" = set; then
3212 withval=$with_flavour; WX_FLAVOUR="$withval"
3218 if test -z "$defaultval"; then
3219 if test x"$enablestring" = xdisable; then
3226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3227 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3228 # Check whether --enable-official_build was given.
3229 if test "${enable_official_build+set}" = set; then
3230 enableval=$enable_official_build;
3231 if test "$enableval" = yes; then
3232 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3234 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3240 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3241 if test "x$LINE" != x ; then
3242 eval "DEFAULT_$LINE"
3248 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3253 eval "$wx_cv_use_official_build"
3254 if test "x
$cache" = xyes; then
3255 echo "wxUSE_OFFICIAL_BUILD
=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3258 if test x"$enablestring" = xdisable; then
3259 if test $wxUSE_OFFICIAL_BUILD = yes; then
3265 result=$wxUSE_OFFICIAL_BUILD
3268 { echo "$as_me:$LINENO: result
: $result" >&5
3269 echo "${ECHO_T}$result" >&6; }
3271 # Check whether --enable-vendor was given.
3272 if test "${enable_vendor+set}" = set; then
3273 enableval=$enable_vendor; VENDOR="$enableval"
3276 if test "x
$VENDOR" = "x
"; then
3281 enablestring=disable
3283 if test -z "$defaultval"; then
3284 if test x"$enablestring" = xdisable; then
3291 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3292 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3293 # Check whether --enable-all-features was given.
3294 if test "${enable_all_features+set}" = set; then
3295 enableval=$enable_all_features;
3296 if test "$enableval" = yes; then
3297 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3299 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3305 LINE=`grep "^wxUSE_ALL_FEATURES
=" ${wx_arg_cache_file}`
3306 if test "x
$LINE" != x ; then
3307 eval "DEFAULT_
$LINE"
3313 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3318 eval "$wx_cv_use_all_features"
3319 if test "x$cache" = xyes
; then
3320 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3323 if test x
"$enablestring" = xdisable
; then
3324 if test $wxUSE_ALL_FEATURES = yes; then
3330 result
=$wxUSE_ALL_FEATURES
3333 { echo "$as_me:$LINENO: result: $result" >&5
3334 echo "${ECHO_T}$result" >&6; }
3338 if test "$wxUSE_GUI" = "yes"; then
3343 if test -z "$defaultval"; then
3344 if test x
"$enablestring" = xdisable
; then
3351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3352 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3353 # Check whether --enable-universal was given.
3354 if test "${enable_universal+set}" = set; then
3355 enableval
=$enable_universal;
3356 if test "$enableval" = yes; then
3357 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3359 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3365 LINE
=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3366 if test "x$LINE" != x
; then
3367 eval "DEFAULT_$LINE"
3373 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3378 eval "$wx_cv_use_universal"
3379 if test "x$cache" = xyes; then
3380 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3383 if test x"$enablestring" = xdisable; then
3384 if test $wxUSE_UNIVERSAL = yes; then
3390 result=$wxUSE_UNIVERSAL
3393 { echo "$as_me:$LINENO: result: $result" >&5
3394 echo "${ECHO_T}$result" >&6; }
3396 if test "$wxUSE_UNIVERSAL" = "yes"; then
3398 # Check whether --with-themes was given.
3399 if test "${with_themes+set}" = set; then
3400 withval=$with_themes; wxUNIV_THEMES="$withval"
3406 # Check whether --with-gtk was given.
3407 if test "${with_gtk+set}" = set; then
3408 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3412 # Check whether --with-motif was given.
3413 if test "${with_motif+set}" = set; then
3414 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3418 # Check whether --with-mac was given.
3419 if test "${with_mac+set}" = set; then
3420 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3424 # Check whether --with-cocoa was given.
3425 if test "${with_cocoa+set}" = set; then
3426 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3430 # Check whether --with-wine was given.
3431 if test "${with_wine+set}" = set; then
3432 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3436 # Check whether --with-msw was given.
3437 if test "${with_msw+set}" = set; then
3438 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3442 # Check whether --with-pm was given.
3443 if test "${with_pm+set}" = set; then
3444 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3448 # Check whether --with-mgl was given.
3449 if test "${with_mgl+set}" = set; then
3450 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3454 # Check whether --with-directfb was given.
3455 if test "${with_directfb+set}" = set; then
3456 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3460 # Check whether --with-microwin was given.
3461 if test "${with_microwin+set}" = set; then
3462 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3466 # Check whether --with-x11 was given.
3467 if test "${with_x11+set}" = set; then
3468 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3474 if test -z "$defaultval"; then
3475 if test x"$enablestring" = xdisable; then
3482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3483 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3484 # Check whether --enable-nanox was given.
3485 if test "${enable_nanox+set}" = set; then
3486 enableval=$enable_nanox;
3487 if test "$enableval" = yes; then
3488 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3490 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3496 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3497 if test "x$LINE" != x ; then
3498 eval "DEFAULT_$LINE"
3504 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3509 eval "$wx_cv_use_nanox"
3510 if test "x
$cache" = xyes; then
3511 echo "wxUSE_NANOX
=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3514 if test x"$enablestring" = xdisable; then
3515 if test $wxUSE_NANOX = yes; then
3524 { echo "$as_me:$LINENO: result
: $result" >&5
3525 echo "${ECHO_T}$result" >&6; }
3528 # Check whether --enable-gtk2 was given.
3529 if test "${enable_gtk2+set}" = set; then
3530 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3536 if test -z "$defaultval"; then
3537 if test x"$enablestring" = xdisable; then
3544 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3545 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3546 # Check whether --enable-gpe was given.
3547 if test "${enable_gpe+set}" = set; then
3548 enableval=$enable_gpe;
3549 if test "$enableval" = yes; then
3550 wx_cv_use_gpe='wxUSE_GPE=yes'
3552 wx_cv_use_gpe='wxUSE_GPE=no'
3558 LINE=`grep "^wxUSE_GPE
=" ${wx_arg_cache_file}`
3559 if test "x
$LINE" != x ; then
3560 eval "DEFAULT_
$LINE"
3566 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3571 eval "$wx_cv_use_gpe"
3572 if test "x$cache" = xyes
; then
3573 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3576 if test x
"$enablestring" = xdisable
; then
3577 if test $wxUSE_GPE = yes; then
3586 { echo "$as_me:$LINENO: result: $result" >&5
3587 echo "${ECHO_T}$result" >&6; }
3592 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3593 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3595 # Check whether --with-libpng was given.
3596 if test "${with_libpng+set}" = set; then
3597 withval
=$with_libpng;
3598 if test "$withval" = yes; then
3599 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3600 elif test "$withval" = no
; then
3601 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3602 elif test "$withval" = sys
; then
3603 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3604 elif test "$withval" = builtin; then
3605 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3607 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3608 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3609 { (exit 1); exit 1; }; }
3615 LINE
=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3616 if test "x$LINE" != x
; then
3617 eval "DEFAULT_$LINE"
3623 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3628 eval "$wx_cv_use_libpng"
3629 if test "x$cache" = xyes; then
3630 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3633 if test "$wxUSE_LIBPNG" = yes; then
3634 { echo "$as_me:$LINENO: result: yes" >&5
3635 echo "${ECHO_T}yes" >&6; }
3636 elif test "$wxUSE_LIBPNG" = no; then
3637 { echo "$as_me:$LINENO: result: no" >&5
3638 echo "${ECHO_T}no" >&6; }
3639 elif test "$wxUSE_LIBPNG" = sys; then
3640 { echo "$as_me:$LINENO: result: system version" >&5
3641 echo "${ECHO_T}system version" >&6; }
3642 elif test "$wxUSE_LIBPNG" = builtin; then
3643 { echo "$as_me:$LINENO: result: builtin version" >&5
3644 echo "${ECHO_T}builtin version" >&6; }
3646 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3647 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3648 { (exit 1); exit 1; }; }
3652 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3653 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3655 # Check whether --with-libjpeg was given.
3656 if test "${with_libjpeg+set}" = set; then
3657 withval=$with_libjpeg;
3658 if test "$withval" = yes; then
3659 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3660 elif test "$withval" = no; then
3661 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3662 elif test "$withval" = sys; then
3663 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3664 elif test "$withval" = builtin; then
3665 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3667 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3668 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3669 { (exit 1); exit 1; }; }
3675 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3676 if test "x$LINE" != x ; then
3677 eval "DEFAULT_$LINE"
3683 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3688 eval "$wx_cv_use_libjpeg"
3689 if test "x
$cache" = xyes; then
3690 echo "wxUSE_LIBJPEG
=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3693 if test "$wxUSE_LIBJPEG" = yes; then
3694 { echo "$as_me:$LINENO: result
: yes" >&5
3695 echo "${ECHO_T}yes" >&6; }
3696 elif test "$wxUSE_LIBJPEG" = no; then
3697 { echo "$as_me:$LINENO: result
: no
" >&5
3698 echo "${ECHO_T}no
" >&6; }
3699 elif test "$wxUSE_LIBJPEG" = sys; then
3700 { echo "$as_me:$LINENO: result
: system version
" >&5
3701 echo "${ECHO_T}system version
" >&6; }
3702 elif test "$wxUSE_LIBJPEG" = builtin; then
3703 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3704 echo "${ECHO_T}builtin version
" >&6; }
3706 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3707 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3708 { (exit 1); exit 1; }; }
3712 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3713 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3715 # Check whether --with-libtiff was given.
3716 if test "${with_libtiff+set}" = set; then
3717 withval=$with_libtiff;
3718 if test "$withval" = yes; then
3719 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3720 elif test "$withval" = no; then
3721 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3722 elif test "$withval" = sys; then
3723 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3724 elif test "$withval" = builtin; then
3725 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3727 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3728 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3729 { (exit 1); exit 1; }; }
3735 LINE=`grep "^wxUSE_LIBTIFF
=" ${wx_arg_cache_file}`
3736 if test "x
$LINE" != x ; then
3737 eval "DEFAULT_
$LINE"
3743 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3748 eval "$wx_cv_use_libtiff"
3749 if test "x$cache" = xyes
; then
3750 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3753 if test "$wxUSE_LIBTIFF" = yes; then
3754 { echo "$as_me:$LINENO: result: yes" >&5
3755 echo "${ECHO_T}yes" >&6; }
3756 elif test "$wxUSE_LIBTIFF" = no
; then
3757 { echo "$as_me:$LINENO: result: no" >&5
3758 echo "${ECHO_T}no" >&6; }
3759 elif test "$wxUSE_LIBTIFF" = sys
; then
3760 { echo "$as_me:$LINENO: result: system version" >&5
3761 echo "${ECHO_T}system version" >&6; }
3762 elif test "$wxUSE_LIBTIFF" = builtin; then
3763 { echo "$as_me:$LINENO: result: builtin version" >&5
3764 echo "${ECHO_T}builtin version" >&6; }
3766 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3767 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3768 { (exit 1); exit 1; }; }
3772 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3773 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3775 # Check whether --with-libxpm was given.
3776 if test "${with_libxpm+set}" = set; then
3777 withval
=$with_libxpm;
3778 if test "$withval" = yes; then
3779 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3780 elif test "$withval" = no
; then
3781 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3782 elif test "$withval" = sys
; then
3783 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3784 elif test "$withval" = builtin; then
3785 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3787 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3788 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3789 { (exit 1); exit 1; }; }
3795 LINE
=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3796 if test "x$LINE" != x
; then
3797 eval "DEFAULT_$LINE"
3803 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3808 eval "$wx_cv_use_libxpm"
3809 if test "x$cache" = xyes; then
3810 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3813 if test "$wxUSE_LIBXPM" = yes; then
3814 { echo "$as_me:$LINENO: result: yes" >&5
3815 echo "${ECHO_T}yes" >&6; }
3816 elif test "$wxUSE_LIBXPM" = no; then
3817 { echo "$as_me:$LINENO: result: no" >&5
3818 echo "${ECHO_T}no" >&6; }
3819 elif test "$wxUSE_LIBXPM" = sys; then
3820 { echo "$as_me:$LINENO: result: system version" >&5
3821 echo "${ECHO_T}system version" >&6; }
3822 elif test "$wxUSE_LIBXPM" = builtin; then
3823 { echo "$as_me:$LINENO: result: builtin version" >&5
3824 echo "${ECHO_T}builtin version" >&6; }
3826 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3827 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3828 { (exit 1); exit 1; }; }
3833 defaultval=$wxUSE_ALL_FEATURES
3834 if test -z "$defaultval"; then
3835 if test x"$withstring" = xwithout; then
3841 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3842 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3844 # Check whether --with-libmspack was given.
3845 if test "${with_libmspack+set}" = set; then
3846 withval=$with_libmspack;
3847 if test "$withval" = yes; then
3848 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3850 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3856 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3857 if test "x$LINE" != x ; then
3858 eval "DEFAULT_$LINE"
3864 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3869 eval "$wx_cv_use_libmspack"
3870 if test "x
$cache" = xyes; then
3871 echo "wxUSE_LIBMSPACK
=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3874 if test x"$withstring" = xwithout; then
3875 if test $wxUSE_LIBMSPACK = yes; then
3881 result=$wxUSE_LIBMSPACK
3884 { echo "$as_me:$LINENO: result
: $result" >&5
3885 echo "${ECHO_T}$result" >&6; }
3889 defaultval=$wxUSE_ALL_FEATURES
3890 if test -z "$defaultval"; then
3891 if test x"$withstring" = xwithout; then
3897 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gtkprint" >&5
3898 echo $ECHO_N "checking
for --${withstring:-with}-gtkprint...
$ECHO_C" >&6; }
3900 # Check whether --with-gtkprint was given.
3901 if test "${with_gtkprint+set}" = set; then
3902 withval=$with_gtkprint;
3903 if test "$withval" = yes; then
3904 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3906 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3912 LINE=`grep "^wxUSE_GTKPRINT
=" ${wx_arg_cache_file}`
3913 if test "x
$LINE" != x ; then
3914 eval "DEFAULT_
$LINE"
3920 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3925 eval "$wx_cv_use_gtkprint"
3926 if test "x$cache" = xyes
; then
3927 echo "wxUSE_GTKPRINT=$wxUSE_GTKPRINT" >> ${wx_arg_cache_file}.tmp
3930 if test x
"$withstring" = xwithout
; then
3931 if test $wxUSE_GTKPRINT = yes; then
3937 result
=$wxUSE_GTKPRINT
3940 { echo "$as_me:$LINENO: result: $result" >&5
3941 echo "${ECHO_T}$result" >&6; }
3945 defaultval
=$wxUSE_ALL_FEATURES
3946 if test -z "$defaultval"; then
3947 if test x
"$withstring" = xwithout
; then
3953 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3954 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3956 # Check whether --with-gnomeprint was given.
3957 if test "${with_gnomeprint+set}" = set; then
3958 withval
=$with_gnomeprint;
3959 if test "$withval" = yes; then
3960 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3962 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3968 LINE
=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3969 if test "x$LINE" != x
; then
3970 eval "DEFAULT_$LINE"
3976 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3981 eval "$wx_cv_use_gnomeprint"
3982 if test "x$cache" = xyes; then
3983 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3986 if test x"$withstring" = xwithout; then
3987 if test $wxUSE_LIBGNOMEPRINT = yes; then
3993 result=$wxUSE_LIBGNOMEPRINT
3996 { echo "$as_me:$LINENO: result: $result" >&5
3997 echo "${ECHO_T}$result" >&6; }
4001 defaultval=$wxUSE_ALL_FEATURES
4002 if test -z "$defaultval"; then
4003 if test x"$withstring" = xwithout; then
4009 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4010 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4012 # Check whether --with-gnomevfs was given.
4013 if test "${with_gnomevfs+set}" = set; then
4014 withval=$with_gnomevfs;
4015 if test "$withval" = yes; then
4016 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
4018 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
4024 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4025 if test "x$LINE" != x ; then
4026 eval "DEFAULT_$LINE"
4032 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4037 eval "$wx_cv_use_gnomevfs"
4038 if test "x
$cache" = xyes; then
4039 echo "wxUSE_LIBGNOMEVFS
=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
4042 if test x"$withstring" = xwithout; then
4043 if test $wxUSE_LIBGNOMEVFS = yes; then
4049 result=$wxUSE_LIBGNOMEVFS
4052 { echo "$as_me:$LINENO: result
: $result" >&5
4053 echo "${ECHO_T}$result" >&6; }
4057 defaultval=$wxUSE_ALL_FEATURES
4058 if test -z "$defaultval"; then
4059 if test x"$withstring" = xwithout; then
4065 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-hildon" >&5
4066 echo $ECHO_N "checking
for --${withstring:-with}-hildon...
$ECHO_C" >&6; }
4068 # Check whether --with-hildon was given.
4069 if test "${with_hildon+set}" = set; then
4070 withval=$with_hildon;
4071 if test "$withval" = yes; then
4072 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4074 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4080 LINE=`grep "^wxUSE_LIBHILDON
=" ${wx_arg_cache_file}`
4081 if test "x
$LINE" != x ; then
4082 eval "DEFAULT_
$LINE"
4088 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4093 eval "$wx_cv_use_hildon"
4094 if test "x$cache" = xyes
; then
4095 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4098 if test x
"$withstring" = xwithout
; then
4099 if test $wxUSE_LIBHILDON = yes; then
4105 result
=$wxUSE_LIBHILDON
4108 { echo "$as_me:$LINENO: result: $result" >&5
4109 echo "${ECHO_T}$result" >&6; }
4113 defaultval
=$wxUSE_ALL_FEATURES
4114 if test -z "$defaultval"; then
4115 if test x
"$withstring" = xwithout
; then
4121 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4122 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4124 # Check whether --with-opengl was given.
4125 if test "${with_opengl+set}" = set; then
4126 withval
=$with_opengl;
4127 if test "$withval" = yes; then
4128 wx_cv_use_opengl
='wxUSE_OPENGL=yes'
4130 wx_cv_use_opengl
='wxUSE_OPENGL=no'
4136 LINE
=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4137 if test "x$LINE" != x
; then
4138 eval "DEFAULT_$LINE"
4144 wx_cv_use_opengl
='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4149 eval "$wx_cv_use_opengl"
4150 if test "x$cache" = xyes; then
4151 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4154 if test x"$withstring" = xwithout; then
4155 if test $wxUSE_OPENGL = yes; then
4161 result=$wxUSE_OPENGL
4164 { echo "$as_me:$LINENO: result: $result" >&5
4165 echo "${ECHO_T}$result" >&6; }
4172 defaultval=$wxUSE_ALL_FEATURES
4173 if test -z "$defaultval"; then
4174 if test x"$withstring" = xwithout; then
4180 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4181 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4183 # Check whether --with-dmalloc was given.
4184 if test "${with_dmalloc+set}" = set; then
4185 withval=$with_dmalloc;
4186 if test "$withval" = yes; then
4187 wx_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
4189 wx_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
4195 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4196 if test "x$LINE" != x ; then
4197 eval "DEFAULT_$LINE"
4203 wx_cv_use_dmalloc='wxUSE_DMALLOC
=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4208 eval "$wx_cv_use_dmalloc"
4209 if test "x
$cache" = xyes; then
4210 echo "wxUSE_DMALLOC
=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4213 if test x"$withstring" = xwithout; then
4214 if test $wxUSE_DMALLOC = yes; then
4220 result=$wxUSE_DMALLOC
4223 { echo "$as_me:$LINENO: result
: $result" >&5
4224 echo "${ECHO_T}$result" >&6; }
4228 defaultval=$wxUSE_ALL_FEATURES
4229 if test -z "$defaultval"; then
4230 if test x"$withstring" = xwithout; then
4236 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-sdl" >&5
4237 echo $ECHO_N "checking
for --${withstring:-with}-sdl...
$ECHO_C" >&6; }
4239 # Check whether --with-sdl was given.
4240 if test "${with_sdl+set}" = set; then
4242 if test "$withval" = yes; then
4243 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4245 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4251 LINE=`grep "^wxUSE_LIBSDL
=" ${wx_arg_cache_file}`
4252 if test "x
$LINE" != x ; then
4253 eval "DEFAULT_
$LINE"
4259 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4264 eval "$wx_cv_use_sdl"
4265 if test "x$cache" = xyes
; then
4266 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4269 if test x
"$withstring" = xwithout
; then
4270 if test $wxUSE_LIBSDL = yes; then
4276 result
=$wxUSE_LIBSDL
4279 { echo "$as_me:$LINENO: result: $result" >&5
4280 echo "${ECHO_T}$result" >&6; }
4283 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4284 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4286 # Check whether --with-regex was given.
4287 if test "${with_regex+set}" = set; then
4288 withval
=$with_regex;
4289 if test "$withval" = yes; then
4290 wx_cv_use_regex
='wxUSE_REGEX=yes'
4291 elif test "$withval" = no
; then
4292 wx_cv_use_regex
='wxUSE_REGEX=no'
4293 elif test "$withval" = sys
; then
4294 wx_cv_use_regex
='wxUSE_REGEX=sys'
4295 elif test "$withval" = builtin; then
4296 wx_cv_use_regex
='wxUSE_REGEX=builtin'
4298 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4299 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4300 { (exit 1); exit 1; }; }
4306 LINE
=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4307 if test "x$LINE" != x
; then
4308 eval "DEFAULT_$LINE"
4314 wx_cv_use_regex
='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4319 eval "$wx_cv_use_regex"
4320 if test "x$cache" = xyes; then
4321 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4324 if test "$wxUSE_REGEX" = yes; then
4325 { echo "$as_me:$LINENO: result: yes" >&5
4326 echo "${ECHO_T}yes" >&6; }
4327 elif test "$wxUSE_REGEX" = no; then
4328 { echo "$as_me:$LINENO: result: no" >&5
4329 echo "${ECHO_T}no" >&6; }
4330 elif test "$wxUSE_REGEX" = sys; then
4331 { echo "$as_me:$LINENO: result: system version" >&5
4332 echo "${ECHO_T}system version" >&6; }
4333 elif test "$wxUSE_REGEX" = builtin; then
4334 { echo "$as_me:$LINENO: result: builtin version" >&5
4335 echo "${ECHO_T}builtin version" >&6; }
4337 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4338 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4339 { (exit 1); exit 1; }; }
4343 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4344 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4346 # Check whether --with-zlib was given.
4347 if test "${with_zlib+set}" = set; then
4349 if test "$withval" = yes; then
4350 wx_cv_use_zlib='wxUSE_ZLIB
=yes'
4351 elif test "$withval" = no; then
4352 wx_cv_use_zlib='wxUSE_ZLIB
=no
'
4353 elif test "$withval" = sys; then
4354 wx_cv_use_zlib='wxUSE_ZLIB
=sys
'
4355 elif test "$withval" = builtin; then
4356 wx_cv_use_zlib='wxUSE_ZLIB
=builtin'
4358 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4359 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4360 { (exit 1); exit 1; }; }
4366 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4367 if test "x$LINE" != x ; then
4368 eval "DEFAULT_$LINE"
4374 wx_cv_use_zlib='wxUSE_ZLIB
=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4379 eval "$wx_cv_use_zlib"
4380 if test "x
$cache" = xyes; then
4381 echo "wxUSE_ZLIB
=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4384 if test "$wxUSE_ZLIB" = yes; then
4385 { echo "$as_me:$LINENO: result
: yes" >&5
4386 echo "${ECHO_T}yes" >&6; }
4387 elif test "$wxUSE_ZLIB" = no; then
4388 { echo "$as_me:$LINENO: result
: no
" >&5
4389 echo "${ECHO_T}no
" >&6; }
4390 elif test "$wxUSE_ZLIB" = sys; then
4391 { echo "$as_me:$LINENO: result
: system version
" >&5
4392 echo "${ECHO_T}system version
" >&6; }
4393 elif test "$wxUSE_ZLIB" = builtin; then
4394 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4395 echo "${ECHO_T}builtin version
" >&6; }
4397 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4398 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4399 { (exit 1); exit 1; }; }
4403 { echo "$as_me:$LINENO: checking
for --with-odbc" >&5
4404 echo $ECHO_N "checking
for --with-odbc...
$ECHO_C" >&6; }
4406 # Check whether --with-odbc was given.
4407 if test "${with_odbc+set}" = set; then
4409 if test "$withval" = yes; then
4410 wx_cv_use_odbc='wxUSE_ODBC=yes'
4411 elif test "$withval" = no; then
4412 wx_cv_use_odbc='wxUSE_ODBC=no'
4413 elif test "$withval" = sys; then
4414 wx_cv_use_odbc='wxUSE_ODBC=sys'
4415 elif test "$withval" = builtin; then
4416 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4418 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-odbc: should be
yes, no
, sys
, or
builtin" >&5
4419 echo "$as_me: error
: Invalid value
for --with-odbc: should be
yes, no
, sys
, or
builtin" >&2;}
4420 { (exit 1); exit 1; }; }
4426 LINE=`grep "^wxUSE_ODBC
=" ${wx_arg_cache_file}`
4427 if test "x
$LINE" != x ; then
4428 eval "DEFAULT_
$LINE"
4434 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4439 eval "$wx_cv_use_odbc"
4440 if test "x$cache" = xyes
; then
4441 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4444 if test "$wxUSE_ODBC" = yes; then
4445 { echo "$as_me:$LINENO: result: yes" >&5
4446 echo "${ECHO_T}yes" >&6; }
4447 elif test "$wxUSE_ODBC" = no
; then
4448 { echo "$as_me:$LINENO: result: no" >&5
4449 echo "${ECHO_T}no" >&6; }
4450 elif test "$wxUSE_ODBC" = sys
; then
4451 { echo "$as_me:$LINENO: result: system version" >&5
4452 echo "${ECHO_T}system version" >&6; }
4453 elif test "$wxUSE_ODBC" = builtin; then
4454 { echo "$as_me:$LINENO: result: builtin version" >&5
4455 echo "${ECHO_T}builtin version" >&6; }
4457 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4458 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4459 { (exit 1); exit 1; }; }
4463 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4464 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4466 # Check whether --with-expat was given.
4467 if test "${with_expat+set}" = set; then
4468 withval
=$with_expat;
4469 if test "$withval" = yes; then
4470 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4471 elif test "$withval" = no
; then
4472 wx_cv_use_expat
='wxUSE_EXPAT=no'
4473 elif test "$withval" = sys
; then
4474 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4475 elif test "$withval" = builtin; then
4476 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4478 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4479 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4480 { (exit 1); exit 1; }; }
4486 LINE
=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4487 if test "x$LINE" != x
; then
4488 eval "DEFAULT_$LINE"
4494 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4499 eval "$wx_cv_use_expat"
4500 if test "x$cache" = xyes; then
4501 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4504 if test "$wxUSE_EXPAT" = yes; then
4505 { echo "$as_me:$LINENO: result: yes" >&5
4506 echo "${ECHO_T}yes" >&6; }
4507 elif test "$wxUSE_EXPAT" = no; then
4508 { echo "$as_me:$LINENO: result: no" >&5
4509 echo "${ECHO_T}no" >&6; }
4510 elif test "$wxUSE_EXPAT" = sys; then
4511 { echo "$as_me:$LINENO: result: system version" >&5
4512 echo "${ECHO_T}system version" >&6; }
4513 elif test "$wxUSE_EXPAT" = builtin; then
4514 { echo "$as_me:$LINENO: result: builtin version" >&5
4515 echo "${ECHO_T}builtin version" >&6; }
4517 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4518 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4519 { (exit 1); exit 1; }; }
4523 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4524 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4526 # Check whether --with-macosx-sdk was given.
4527 if test "${with_macosx_sdk+set}" = set; then
4528 withval=$with_macosx_sdk;
4529 wxUSE_MACOSX_SDK=$withval
4530 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4531 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4535 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4536 # will override --enable-universal_binary's automatic SDK usage.
4538 LINE
=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4539 if test "x$LINE" != x
; then
4541 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4546 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4547 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4549 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4550 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4552 # Check whether --with-macosx-version-min was given.
4553 if test "${with_macosx_version_min+set}" = set; then
4554 withval
=$with_macosx_version_min;
4555 wxUSE_MACOSX_VERSION_MIN
=$withval
4556 wx_cv_use_macosx_version_min
="wxUSE_MACOSX_VERSION_MIN=$withval"
4557 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4561 # default "yes" because when not using an SDK it means the same as no
4562 # but when using an SDK it means to use the SDK version
4563 wxUSE_MACOSX_VERSION_MIN
=yes
4564 # See if there is a value in the cache
4565 LINE
=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4566 if test "x$LINE" != x
; then
4568 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4573 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4574 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4578 enablestring
=disable
4580 if test -z "$defaultval"; then
4581 if test x
"$enablestring" = xdisable
; then
4588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4589 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4590 # Check whether --enable-shared was given.
4591 if test "${enable_shared+set}" = set; then
4592 enableval
=$enable_shared;
4593 if test "$enableval" = yes; then
4594 wx_cv_use_shared
='wxUSE_SHARED=yes'
4596 wx_cv_use_shared
='wxUSE_SHARED=no'
4602 LINE
=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4603 if test "x$LINE" != x
; then
4604 eval "DEFAULT_$LINE"
4610 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4615 eval "$wx_cv_use_shared"
4616 if test "x$cache" = xyes; then
4617 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4620 if test x"$enablestring" = xdisable; then
4621 if test $wxUSE_SHARED = yes; then
4627 result=$wxUSE_SHARED
4630 { echo "$as_me:$LINENO: result: $result" >&5
4631 echo "${ECHO_T}$result" >&6; }
4634 enablestring=disable
4636 if test -z "$defaultval"; then
4637 if test x"$enablestring" = xdisable; then
4644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4645 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4646 # Check whether --enable-optimise was given.
4647 if test "${enable_optimise+set}" = set; then
4648 enableval=$enable_optimise;
4649 if test "$enableval" = yes; then
4650 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4652 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4658 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4659 if test "x$LINE" != x ; then
4660 eval "DEFAULT_$LINE"
4666 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4671 eval "$wx_cv_use_optimise"
4672 if test "x
$cache" = xyes; then
4673 echo "wxUSE_OPTIMISE
=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4676 if test x"$enablestring" = xdisable; then
4677 if test $wxUSE_OPTIMISE = yes; then
4683 result=$wxUSE_OPTIMISE
4686 { echo "$as_me:$LINENO: result
: $result" >&5
4687 echo "${ECHO_T}$result" >&6; }
4692 if test -z "$defaultval"; then
4693 if test x"$enablestring" = xdisable; then
4700 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4701 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4702 # Check whether --enable-debug was given.
4703 if test "${enable_debug+set}" = set; then
4704 enableval=$enable_debug;
4705 if test "$enableval" = yes; then
4706 wx_cv_use_debug='wxUSE_DEBUG=yes'
4708 wx_cv_use_debug='wxUSE_DEBUG=no'
4714 LINE=`grep "^wxUSE_DEBUG
=" ${wx_arg_cache_file}`
4715 if test "x
$LINE" != x ; then
4716 eval "DEFAULT_
$LINE"
4722 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4727 eval "$wx_cv_use_debug"
4728 if test "x$cache" = xyes
; then
4729 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4732 if test x
"$enablestring" = xdisable
; then
4733 if test $wxUSE_DEBUG = yes; then
4742 { echo "$as_me:$LINENO: result: $result" >&5
4743 echo "${ECHO_T}$result" >&6; }
4748 if test -z "$defaultval"; then
4749 if test x
"$enablestring" = xdisable
; then
4756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4757 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4758 # Check whether --enable-stl was given.
4759 if test "${enable_stl+set}" = set; then
4760 enableval
=$enable_stl;
4761 if test "$enableval" = yes; then
4762 wx_cv_use_stl
='wxUSE_STL=yes'
4764 wx_cv_use_stl
='wxUSE_STL=no'
4770 LINE
=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4771 if test "x$LINE" != x
; then
4772 eval "DEFAULT_$LINE"
4778 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4783 eval "$wx_cv_use_stl"
4784 if test "x$cache" = xyes; then
4785 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4788 if test x"$enablestring" = xdisable; then
4789 if test $wxUSE_STL = yes; then
4798 { echo "$as_me:$LINENO: result: $result" >&5
4799 echo "${ECHO_T}$result" >&6; }
4804 if test -z "$defaultval"; then
4805 if test x"$enablestring" = xdisable; then
4812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4813 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4814 # Check whether --enable-std_iostreams was given.
4815 if test "${enable_std_iostreams+set}" = set; then
4816 enableval=$enable_std_iostreams;
4817 if test "$enableval" = yes; then
4818 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4820 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4826 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4827 if test "x$LINE" != x ; then
4828 eval "DEFAULT_$LINE"
4834 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4839 eval "$wx_cv_use_std_iostreams"
4840 if test "x
$cache" = xyes; then
4841 echo "wxUSE_STD_IOSTREAM
=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4844 if test x"$enablestring" = xdisable; then
4845 if test $wxUSE_STD_IOSTREAM = yes; then
4851 result=$wxUSE_STD_IOSTREAM
4854 { echo "$as_me:$LINENO: result
: $result" >&5
4855 echo "${ECHO_T}$result" >&6; }
4860 if test -z "$defaultval"; then
4861 if test x"$enablestring" = xdisable; then
4868 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4869 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4870 # Check whether --enable-std_string was given.
4871 if test "${enable_std_string+set}" = set; then
4872 enableval=$enable_std_string;
4873 if test "$enableval" = yes; then
4874 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4876 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4882 LINE=`grep "^wxUSE_STD_STRING
=" ${wx_arg_cache_file}`
4883 if test "x
$LINE" != x ; then
4884 eval "DEFAULT_
$LINE"
4890 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4895 eval "$wx_cv_use_std_string"
4896 if test "x$cache" = xyes
; then
4897 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4900 if test x
"$enablestring" = xdisable
; then
4901 if test $wxUSE_STD_STRING = yes; then
4907 result
=$wxUSE_STD_STRING
4910 { echo "$as_me:$LINENO: result: $result" >&5
4911 echo "${ECHO_T}$result" >&6; }
4914 enablestring
=disable
4916 if test -z "$defaultval"; then
4917 if test x
"$enablestring" = xdisable
; then
4924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4925 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4926 # Check whether --enable-unicode was given.
4927 if test "${enable_unicode+set}" = set; then
4928 enableval
=$enable_unicode;
4929 if test "$enableval" = yes; then
4930 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4932 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4938 LINE
=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4939 if test "x$LINE" != x
; then
4940 eval "DEFAULT_$LINE"
4946 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4951 eval "$wx_cv_use_unicode"
4952 if test "x$cache" = xyes; then
4953 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4956 if test x"$enablestring" = xdisable; then
4957 if test $wxUSE_UNICODE = yes; then
4963 result=$wxUSE_UNICODE
4966 { echo "$as_me:$LINENO: result: $result" >&5
4967 echo "${ECHO_T}$result" >&6; }
4972 if test -z "$defaultval"; then
4973 if test x"$enablestring" = xdisable; then
4980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4981 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4982 # Check whether --enable-mslu was given.
4983 if test "${enable_mslu+set}" = set; then
4984 enableval=$enable_mslu;
4985 if test "$enableval" = yes; then
4986 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4988 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4994 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4995 if test "x$LINE" != x ; then
4996 eval "DEFAULT_$LINE"
5002 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5007 eval "$wx_cv_use_mslu"
5008 if test "x
$cache" = xyes; then
5009 echo "wxUSE_UNICODE_MSLU
=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
5012 if test x"$enablestring" = xdisable; then
5013 if test $wxUSE_UNICODE_MSLU = yes; then
5019 result=$wxUSE_UNICODE_MSLU
5022 { echo "$as_me:$LINENO: result
: $result" >&5
5023 echo "${ECHO_T}$result" >&6; }
5027 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
5028 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
5029 # Check whether --enable-utf8 was given.
5030 if test "${enable_utf8+set}" = set; then
5031 enableval=$enable_utf8;
5032 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
5037 LINE=`grep "^wxUSE_UNICODE_UTF8
=" ${wx_arg_cache_file}`
5038 if test "x
$LINE" != x ; then
5039 eval "DEFAULT_
$LINE"
5045 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5050 eval "$wx_cv_use_utf8"
5051 if test "x
$cache" = xyes; then
5052 echo "wxUSE_UNICODE_UTF8
=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
5055 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
5056 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5061 if test -z "$defaultval"; then
5062 if test x"$enablestring" = xdisable; then
5069 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
5070 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
5071 # Check whether --enable-utf8only was given.
5072 if test "${enable_utf8only+set}" = set; then
5073 enableval=$enable_utf8only;
5074 if test "$enableval" = yes; then
5075 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5077 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5083 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE
=" ${wx_arg_cache_file}`
5084 if test "x
$LINE" != x ; then
5085 eval "DEFAULT_
$LINE"
5091 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5096 eval "$wx_cv_use_utf8only"
5097 if test "x$cache" = xyes
; then
5098 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5101 if test x
"$enablestring" = xdisable
; then
5102 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5108 result
=$wxUSE_UNICODE_UTF8_LOCALE
5111 { echo "$as_me:$LINENO: result: $result" >&5
5112 echo "${ECHO_T}$result" >&6; }
5117 if test -z "$defaultval"; then
5118 if test x
"$enablestring" = xdisable
; then
5125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5126 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5127 # Check whether --enable-extended_rtti was given.
5128 if test "${enable_extended_rtti+set}" = set; then
5129 enableval
=$enable_extended_rtti;
5130 if test "$enableval" = yes; then
5131 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
5133 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
5139 LINE
=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5140 if test "x$LINE" != x
; then
5141 eval "DEFAULT_$LINE"
5147 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5152 eval "$wx_cv_use_extended_rtti"
5153 if test "x$cache" = xyes; then
5154 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5157 if test x"$enablestring" = xdisable; then
5158 if test $wxUSE_EXTENDED_RTTI = yes; then
5164 result=$wxUSE_EXTENDED_RTTI
5167 { echo "$as_me:$LINENO: result: $result" >&5
5168 echo "${ECHO_T}$result" >&6; }
5170 if test "$USE_OS2" = "1"; then
5171 DEFAULT_wxUSE_OMF=no
5175 if test -z "$defaultval"; then
5176 if test x"$enablestring" = xdisable; then
5183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5184 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5185 # Check whether --enable-omf was given.
5186 if test "${enable_omf+set}" = set; then
5187 enableval=$enable_omf;
5188 if test "$enableval" = yes; then
5189 wx_cv_use_omf='wxUSE_OMF
=yes'
5191 wx_cv_use_omf='wxUSE_OMF
=no
'
5197 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5198 if test "x$LINE" != x ; then
5199 eval "DEFAULT_$LINE"
5205 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5210 eval "$wx_cv_use_omf"
5211 if test "x
$cache" = xyes; then
5212 echo "wxUSE_OMF
=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5215 if test x"$enablestring" = xdisable; then
5216 if test $wxUSE_OMF = yes; then
5225 { echo "$as_me:$LINENO: result
: $result" >&5
5226 echo "${ECHO_T}$result" >&6; }
5230 if test "$wxUSE_DEBUG" = "yes"; then
5231 DEFAULT_wxUSE_DEBUG_FLAG=yes
5232 DEFAULT_wxUSE_DEBUG_INFO=yes
5234 elif test "$wxUSE_DEBUG" = "no
"; then
5235 DEFAULT_wxUSE_DEBUG_FLAG=no
5236 DEFAULT_wxUSE_DEBUG_INFO=no
5243 if test -z "$defaultval"; then
5244 if test x"$enablestring" = xdisable; then
5251 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
5252 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
5253 # Check whether --enable-debug_flag was given.
5254 if test "${enable_debug_flag+set}" = set; then
5255 enableval=$enable_debug_flag;
5256 if test "$enableval" = yes; then
5257 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5259 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5265 LINE=`grep "^wxUSE_DEBUG_FLAG
=" ${wx_arg_cache_file}`
5266 if test "x
$LINE" != x ; then
5267 eval "DEFAULT_
$LINE"
5273 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5278 eval "$wx_cv_use_debug_flag"
5279 if test "x$cache" = xyes
; then
5280 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5283 if test x
"$enablestring" = xdisable
; then
5284 if test $wxUSE_DEBUG_FLAG = yes; then
5290 result
=$wxUSE_DEBUG_FLAG
5293 { echo "$as_me:$LINENO: result: $result" >&5
5294 echo "${ECHO_T}$result" >&6; }
5299 if test -z "$defaultval"; then
5300 if test x
"$enablestring" = xdisable
; then
5307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5308 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5309 # Check whether --enable-debug_info was given.
5310 if test "${enable_debug_info+set}" = set; then
5311 enableval
=$enable_debug_info;
5312 if test "$enableval" = yes; then
5313 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
5315 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
5321 LINE
=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5322 if test "x$LINE" != x
; then
5323 eval "DEFAULT_$LINE"
5329 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5334 eval "$wx_cv_use_debug_info"
5335 if test "x$cache" = xyes; then
5336 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5339 if test x"$enablestring" = xdisable; then
5340 if test $wxUSE_DEBUG_INFO = yes; then
5346 result=$wxUSE_DEBUG_INFO
5349 { echo "$as_me:$LINENO: result: $result" >&5
5350 echo "${ECHO_T}$result" >&6; }
5355 if test -z "$defaultval"; then
5356 if test x"$enablestring" = xdisable; then
5363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5364 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5365 # Check whether --enable-debug_gdb was given.
5366 if test "${enable_debug_gdb+set}" = set; then
5367 enableval=$enable_debug_gdb;
5368 if test "$enableval" = yes; then
5369 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
5371 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
5377 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5378 if test "x$LINE" != x ; then
5379 eval "DEFAULT_$LINE"
5385 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5390 eval "$wx_cv_use_debug_gdb"
5391 if test "x
$cache" = xyes; then
5392 echo "wxUSE_DEBUG_GDB
=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5395 if test x"$enablestring" = xdisable; then
5396 if test $wxUSE_DEBUG_GDB = yes; then
5402 result=$wxUSE_DEBUG_GDB
5405 { echo "$as_me:$LINENO: result
: $result" >&5
5406 echo "${ECHO_T}$result" >&6; }
5411 if test -z "$defaultval"; then
5412 if test x"$enablestring" = xdisable; then
5419 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_cntxt" >&5
5420 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_cntxt...
$ECHO_C" >&6; }
5421 # Check whether --enable-debug_cntxt was given.
5422 if test "${enable_debug_cntxt+set}" = set; then
5423 enableval=$enable_debug_cntxt;
5424 if test "$enableval" = yes; then
5425 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5427 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5433 LINE=`grep "^wxUSE_DEBUG_CONTEXT
=" ${wx_arg_cache_file}`
5434 if test "x
$LINE" != x ; then
5435 eval "DEFAULT_
$LINE"
5441 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5446 eval "$wx_cv_use_debug_cntxt"
5447 if test "x$cache" = xyes
; then
5448 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5451 if test x
"$enablestring" = xdisable
; then
5452 if test $wxUSE_DEBUG_CONTEXT = yes; then
5458 result
=$wxUSE_DEBUG_CONTEXT
5461 { echo "$as_me:$LINENO: result: $result" >&5
5462 echo "${ECHO_T}$result" >&6; }
5467 if test -z "$defaultval"; then
5468 if test x
"$enablestring" = xdisable
; then
5475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5476 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5477 # Check whether --enable-mem_tracing was given.
5478 if test "${enable_mem_tracing+set}" = set; then
5479 enableval
=$enable_mem_tracing;
5480 if test "$enableval" = yes; then
5481 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
5483 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
5489 LINE
=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5490 if test "x$LINE" != x
; then
5491 eval "DEFAULT_$LINE"
5497 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5502 eval "$wx_cv_use_mem_tracing"
5503 if test "x$cache" = xyes; then
5504 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5507 if test x"$enablestring" = xdisable; then
5508 if test $wxUSE_MEM_TRACING = yes; then
5514 result=$wxUSE_MEM_TRACING
5517 { echo "$as_me:$LINENO: result: $result" >&5
5518 echo "${ECHO_T}$result" >&6; }
5523 if test -z "$defaultval"; then
5524 if test x"$enablestring" = xdisable; then
5531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5532 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5533 # Check whether --enable-profile was given.
5534 if test "${enable_profile+set}" = set; then
5535 enableval=$enable_profile;
5536 if test "$enableval" = yes; then
5537 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5539 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5545 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5546 if test "x$LINE" != x ; then
5547 eval "DEFAULT_$LINE"
5553 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5558 eval "$wx_cv_use_profile"
5559 if test "x
$cache" = xyes; then
5560 echo "wxUSE_PROFILE
=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5563 if test x"$enablestring" = xdisable; then
5564 if test $wxUSE_PROFILE = yes; then
5570 result=$wxUSE_PROFILE
5573 { echo "$as_me:$LINENO: result
: $result" >&5
5574 echo "${ECHO_T}$result" >&6; }
5579 if test -z "$defaultval"; then
5580 if test x"$enablestring" = xdisable; then
5587 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5588 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5589 # Check whether --enable-no_rtti was given.
5590 if test "${enable_no_rtti+set}" = set; then
5591 enableval=$enable_no_rtti;
5592 if test "$enableval" = yes; then
5593 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5595 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5601 LINE=`grep "^wxUSE_NO_RTTI
=" ${wx_arg_cache_file}`
5602 if test "x
$LINE" != x ; then
5603 eval "DEFAULT_
$LINE"
5609 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5614 eval "$wx_cv_use_no_rtti"
5615 if test "x$cache" = xyes
; then
5616 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5619 if test x
"$enablestring" = xdisable
; then
5620 if test $wxUSE_NO_RTTI = yes; then
5626 result
=$wxUSE_NO_RTTI
5629 { echo "$as_me:$LINENO: result: $result" >&5
5630 echo "${ECHO_T}$result" >&6; }
5635 if test -z "$defaultval"; then
5636 if test x
"$enablestring" = xdisable
; then
5643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5644 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5645 # Check whether --enable-no_exceptions was given.
5646 if test "${enable_no_exceptions+set}" = set; then
5647 enableval
=$enable_no_exceptions;
5648 if test "$enableval" = yes; then
5649 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5651 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5657 LINE
=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5658 if test "x$LINE" != x
; then
5659 eval "DEFAULT_$LINE"
5665 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5670 eval "$wx_cv_use_no_exceptions"
5671 if test "x$cache" = xyes; then
5672 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5675 if test x"$enablestring" = xdisable; then
5676 if test $wxUSE_NO_EXCEPTIONS = yes; then
5682 result=$wxUSE_NO_EXCEPTIONS
5685 { echo "$as_me:$LINENO: result: $result" >&5
5686 echo "${ECHO_T}$result" >&6; }
5691 if test -z "$defaultval"; then
5692 if test x"$enablestring" = xdisable; then
5699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5700 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5701 # Check whether --enable-permissive was given.
5702 if test "${enable_permissive+set}" = set; then
5703 enableval=$enable_permissive;
5704 if test "$enableval" = yes; then
5705 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5707 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5713 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5714 if test "x$LINE" != x ; then
5715 eval "DEFAULT_$LINE"
5721 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5726 eval "$wx_cv_use_permissive"
5727 if test "x
$cache" = xyes; then
5728 echo "wxUSE_PERMISSIVE
=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5731 if test x"$enablestring" = xdisable; then
5732 if test $wxUSE_PERMISSIVE = yes; then
5738 result=$wxUSE_PERMISSIVE
5741 { echo "$as_me:$LINENO: result
: $result" >&5
5742 echo "${ECHO_T}$result" >&6; }
5747 if test -z "$defaultval"; then
5748 if test x"$enablestring" = xdisable; then
5755 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5756 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5757 # Check whether --enable-no_deps was given.
5758 if test "${enable_no_deps+set}" = set; then
5759 enableval=$enable_no_deps;
5760 if test "$enableval" = yes; then
5761 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5763 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5769 LINE=`grep "^wxUSE_NO_DEPS
=" ${wx_arg_cache_file}`
5770 if test "x
$LINE" != x ; then
5771 eval "DEFAULT_
$LINE"
5777 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5782 eval "$wx_cv_use_no_deps"
5783 if test "x$cache" = xyes
; then
5784 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5787 if test x
"$enablestring" = xdisable
; then
5788 if test $wxUSE_NO_DEPS = yes; then
5794 result
=$wxUSE_NO_DEPS
5797 { echo "$as_me:$LINENO: result: $result" >&5
5798 echo "${ECHO_T}$result" >&6; }
5801 enablestring
=disable
5803 if test -z "$defaultval"; then
5804 if test x
"$enablestring" = xdisable
; then
5811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5812 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5813 # Check whether --enable-vararg_macros was given.
5814 if test "${enable_vararg_macros+set}" = set; then
5815 enableval
=$enable_vararg_macros;
5816 if test "$enableval" = yes; then
5817 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5819 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5825 LINE
=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5826 if test "x$LINE" != x
; then
5827 eval "DEFAULT_$LINE"
5833 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5838 eval "$wx_cv_use_vararg_macros"
5839 if test "x$cache" = xyes; then
5840 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5843 if test x"$enablestring" = xdisable; then
5844 if test $wxUSE_VARARG_MACROS = yes; then
5850 result=$wxUSE_VARARG_MACROS
5853 { echo "$as_me:$LINENO: result: $result" >&5
5854 echo "${ECHO_T}$result" >&6; }
5858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5859 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5860 # Check whether --enable-universal_binary was given.
5861 if test "${enable_universal_binary+set}" = set; then
5862 enableval=$enable_universal_binary;
5863 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5868 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5869 if test "x$LINE" != x ; then
5870 eval "DEFAULT_$LINE"
5876 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5881 eval "$wx_cv_use_universal_binary"
5882 if test "x$cache" = xyes; then
5883 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5886 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5887 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5893 if test -z "$defaultval"; then
5894 if test x"$enablestring" = xdisable; then
5901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5902 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5903 # Check whether --enable-compat26 was given.
5904 if test "${enable_compat26+set}" = set; then
5905 enableval=$enable_compat26;
5906 if test "$enableval" = yes; then
5907 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5909 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5915 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5916 if test "x$LINE" != x ; then
5917 eval "DEFAULT_$LINE"
5923 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5928 eval "$wx_cv_use_compat26"
5929 if test "x
$cache" = xyes; then
5930 echo "WXWIN_COMPATIBILITY_2_6
=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5933 if test x"$enablestring" = xdisable; then
5934 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5940 result=$WXWIN_COMPATIBILITY_2_6
5943 { echo "$as_me:$LINENO: result
: $result" >&5
5944 echo "${ECHO_T}$result" >&6; }
5947 enablestring=disable
5949 if test -z "$defaultval"; then
5950 if test x"$enablestring" = xdisable; then
5957 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5958 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5959 # Check whether --enable-compat28 was given.
5960 if test "${enable_compat28+set}" = set; then
5961 enableval=$enable_compat28;
5962 if test "$enableval" = yes; then
5963 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5965 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5971 LINE=`grep "^WXWIN_COMPATIBILITY_2_8
=" ${wx_arg_cache_file}`
5972 if test "x
$LINE" != x ; then
5973 eval "DEFAULT_
$LINE"
5979 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5984 eval "$wx_cv_use_compat28"
5985 if test "x$cache" = xyes
; then
5986 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5989 if test x
"$enablestring" = xdisable
; then
5990 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5996 result
=$WXWIN_COMPATIBILITY_2_8
5999 { echo "$as_me:$LINENO: result: $result" >&5
6000 echo "${ECHO_T}$result" >&6; }
6004 enablestring
=disable
6006 if test -z "$defaultval"; then
6007 if test x
"$enablestring" = xdisable
; then
6014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
6015 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
6016 # Check whether --enable-rpath was given.
6017 if test "${enable_rpath+set}" = set; then
6018 enableval
=$enable_rpath;
6019 if test "$enableval" = yes; then
6020 wx_cv_use_rpath
='wxUSE_RPATH=yes'
6022 wx_cv_use_rpath
='wxUSE_RPATH=no'
6028 LINE
=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
6029 if test "x$LINE" != x
; then
6030 eval "DEFAULT_$LINE"
6036 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6041 eval "$wx_cv_use_rpath"
6042 if test "x$cache" = xyes; then
6043 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
6046 if test x"$enablestring" = xdisable; then
6047 if test $wxUSE_RPATH = yes; then
6056 { echo "$as_me:$LINENO: result: $result" >&5
6057 echo "${ECHO_T}$result" >&6; }
6063 if test -z "$defaultval"; then
6064 if test x"$enablestring" = xdisable; then
6071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6072 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
6073 # Check whether --enable-objc_uniquifying was given.
6074 if test "${enable_objc_uniquifying+set}" = set; then
6075 enableval=$enable_objc_uniquifying;
6076 if test "$enableval" = yes; then
6077 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
6079 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
6085 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6086 if test "x$LINE" != x ; then
6087 eval "DEFAULT_$LINE"
6093 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6098 eval "$wx_cv_use_objc_uniquifying"
6099 if test "x
$cache" = xyes; then
6100 echo "wxUSE_OBJC_UNIQUIFYING
=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6103 if test x"$enablestring" = xdisable; then
6104 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6110 result=$wxUSE_OBJC_UNIQUIFYING
6113 { echo "$as_me:$LINENO: result
: $result" >&5
6114 echo "${ECHO_T}$result" >&6; }
6118 enablestring=disable
6120 if test -z "$defaultval"; then
6121 if test x"$enablestring" = xdisable; then
6128 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
6129 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
6130 # Check whether --enable-visibility was given.
6131 if test "${enable_visibility+set}" = set; then
6132 enableval=$enable_visibility;
6133 if test "$enableval" = yes; then
6134 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6136 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6142 LINE=`grep "^wxUSE_VISIBILITY
=" ${wx_arg_cache_file}`
6143 if test "x
$LINE" != x ; then
6144 eval "DEFAULT_
$LINE"
6150 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6155 eval "$wx_cv_use_visibility"
6156 if test "x$cache" = xyes
; then
6157 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6160 if test x
"$enablestring" = xdisable
; then
6161 if test $wxUSE_VISIBILITY = yes; then
6167 result
=$wxUSE_VISIBILITY
6170 { echo "$as_me:$LINENO: result: $result" >&5
6171 echo "${ECHO_T}$result" >&6; }
6177 defaultval
=$wxUSE_ALL_FEATURES
6178 if test -z "$defaultval"; then
6179 if test x
"$enablestring" = xdisable
; then
6186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6187 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6188 # Check whether --enable-intl was given.
6189 if test "${enable_intl+set}" = set; then
6190 enableval
=$enable_intl;
6191 if test "$enableval" = yes; then
6192 wx_cv_use_intl
='wxUSE_INTL=yes'
6194 wx_cv_use_intl
='wxUSE_INTL=no'
6200 LINE
=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6201 if test "x$LINE" != x
; then
6202 eval "DEFAULT_$LINE"
6208 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6213 eval "$wx_cv_use_intl"
6214 if test "x$cache" = xyes; then
6215 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6218 if test x"$enablestring" = xdisable; then
6219 if test $wxUSE_INTL = yes; then
6228 { echo "$as_me:$LINENO: result: $result" >&5
6229 echo "${ECHO_T}$result" >&6; }
6233 defaultval=$wxUSE_ALL_FEATURES
6234 if test -z "$defaultval"; then
6235 if test x"$enablestring" = xdisable; then
6242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6243 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6244 # Check whether --enable-config was given.
6245 if test "${enable_config+set}" = set; then
6246 enableval=$enable_config;
6247 if test "$enableval" = yes; then
6248 wx_cv_use_config='wxUSE_CONFIG
=yes'
6250 wx_cv_use_config='wxUSE_CONFIG
=no
'
6256 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6257 if test "x$LINE" != x ; then
6258 eval "DEFAULT_$LINE"
6264 wx_cv_use_config='wxUSE_CONFIG
=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6269 eval "$wx_cv_use_config"
6270 if test "x
$cache" = xyes; then
6271 echo "wxUSE_CONFIG
=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6274 if test x"$enablestring" = xdisable; then
6275 if test $wxUSE_CONFIG = yes; then
6281 result=$wxUSE_CONFIG
6284 { echo "$as_me:$LINENO: result
: $result" >&5
6285 echo "${ECHO_T}$result" >&6; }
6290 defaultval=$wxUSE_ALL_FEATURES
6291 if test -z "$defaultval"; then
6292 if test x"$enablestring" = xdisable; then
6299 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocols" >&5
6300 echo $ECHO_N "checking
for --${enablestring:-enable}-protocols...
$ECHO_C" >&6; }
6301 # Check whether --enable-protocols was given.
6302 if test "${enable_protocols+set}" = set; then
6303 enableval=$enable_protocols;
6304 if test "$enableval" = yes; then
6305 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6307 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6313 LINE=`grep "^wxUSE_PROTOCOL
=" ${wx_arg_cache_file}`
6314 if test "x
$LINE" != x ; then
6315 eval "DEFAULT_
$LINE"
6321 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6326 eval "$wx_cv_use_protocols"
6327 if test "x$cache" = xyes
; then
6328 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6331 if test x
"$enablestring" = xdisable
; then
6332 if test $wxUSE_PROTOCOL = yes; then
6338 result
=$wxUSE_PROTOCOL
6341 { echo "$as_me:$LINENO: result: $result" >&5
6342 echo "${ECHO_T}$result" >&6; }
6346 defaultval
=$wxUSE_ALL_FEATURES
6347 if test -z "$defaultval"; then
6348 if test x
"$enablestring" = xdisable
; then
6355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6356 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6357 # Check whether --enable-ftp was given.
6358 if test "${enable_ftp+set}" = set; then
6359 enableval
=$enable_ftp;
6360 if test "$enableval" = yes; then
6361 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
6363 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
6369 LINE
=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6370 if test "x$LINE" != x
; then
6371 eval "DEFAULT_$LINE"
6377 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6382 eval "$wx_cv_use_ftp"
6383 if test "x$cache" = xyes; then
6384 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6387 if test x"$enablestring" = xdisable; then
6388 if test $wxUSE_PROTOCOL_FTP = yes; then
6394 result=$wxUSE_PROTOCOL_FTP
6397 { echo "$as_me:$LINENO: result: $result" >&5
6398 echo "${ECHO_T}$result" >&6; }
6402 defaultval=$wxUSE_ALL_FEATURES
6403 if test -z "$defaultval"; then
6404 if test x"$enablestring" = xdisable; then
6411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6412 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6413 # Check whether --enable-http was given.
6414 if test "${enable_http+set}" = set; then
6415 enableval=$enable_http;
6416 if test "$enableval" = yes; then
6417 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
6419 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
6425 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6426 if test "x$LINE" != x ; then
6427 eval "DEFAULT_$LINE"
6433 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6438 eval "$wx_cv_use_http"
6439 if test "x
$cache" = xyes; then
6440 echo "wxUSE_PROTOCOL_HTTP
=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6443 if test x"$enablestring" = xdisable; then
6444 if test $wxUSE_PROTOCOL_HTTP = yes; then
6450 result=$wxUSE_PROTOCOL_HTTP
6453 { echo "$as_me:$LINENO: result
: $result" >&5
6454 echo "${ECHO_T}$result" >&6; }
6458 defaultval=$wxUSE_ALL_FEATURES
6459 if test -z "$defaultval"; then
6460 if test x"$enablestring" = xdisable; then
6467 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fileproto" >&5
6468 echo $ECHO_N "checking
for --${enablestring:-enable}-fileproto...
$ECHO_C" >&6; }
6469 # Check whether --enable-fileproto was given.
6470 if test "${enable_fileproto+set}" = set; then
6471 enableval=$enable_fileproto;
6472 if test "$enableval" = yes; then
6473 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6475 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6481 LINE=`grep "^wxUSE_PROTOCOL_FILE
=" ${wx_arg_cache_file}`
6482 if test "x
$LINE" != x ; then
6483 eval "DEFAULT_
$LINE"
6489 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6494 eval "$wx_cv_use_fileproto"
6495 if test "x$cache" = xyes
; then
6496 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6499 if test x
"$enablestring" = xdisable
; then
6500 if test $wxUSE_PROTOCOL_FILE = yes; then
6506 result
=$wxUSE_PROTOCOL_FILE
6509 { echo "$as_me:$LINENO: result: $result" >&5
6510 echo "${ECHO_T}$result" >&6; }
6514 defaultval
=$wxUSE_ALL_FEATURES
6515 if test -z "$defaultval"; then
6516 if test x
"$enablestring" = xdisable
; then
6523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6524 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6525 # Check whether --enable-sockets was given.
6526 if test "${enable_sockets+set}" = set; then
6527 enableval
=$enable_sockets;
6528 if test "$enableval" = yes; then
6529 wx_cv_use_sockets
='wxUSE_SOCKETS=yes'
6531 wx_cv_use_sockets
='wxUSE_SOCKETS=no'
6537 LINE
=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6538 if test "x$LINE" != x
; then
6539 eval "DEFAULT_$LINE"
6545 wx_cv_use_sockets
='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6550 eval "$wx_cv_use_sockets"
6551 if test "x$cache" = xyes; then
6552 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6555 if test x"$enablestring" = xdisable; then
6556 if test $wxUSE_SOCKETS = yes; then
6562 result=$wxUSE_SOCKETS
6565 { echo "$as_me:$LINENO: result: $result" >&5
6566 echo "${ECHO_T}$result" >&6; }
6570 defaultval=$wxUSE_ALL_FEATURES
6571 if test -z "$defaultval"; then
6572 if test x"$enablestring" = xdisable; then
6579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6580 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6581 # Check whether --enable-ole was given.
6582 if test "${enable_ole+set}" = set; then
6583 enableval=$enable_ole;
6584 if test "$enableval" = yes; then
6585 wx_cv_use_ole='wxUSE_OLE
=yes'
6587 wx_cv_use_ole='wxUSE_OLE
=no
'
6593 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6594 if test "x$LINE" != x ; then
6595 eval "DEFAULT_$LINE"
6601 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6606 eval "$wx_cv_use_ole"
6607 if test "x
$cache" = xyes; then
6608 echo "wxUSE_OLE
=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6611 if test x"$enablestring" = xdisable; then
6612 if test $wxUSE_OLE = yes; then
6621 { echo "$as_me:$LINENO: result
: $result" >&5
6622 echo "${ECHO_T}$result" >&6; }
6626 defaultval=$wxUSE_ALL_FEATURES
6627 if test -z "$defaultval"; then
6628 if test x"$enablestring" = xdisable; then
6635 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6636 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6637 # Check whether --enable-dataobj was given.
6638 if test "${enable_dataobj+set}" = set; then
6639 enableval=$enable_dataobj;
6640 if test "$enableval" = yes; then
6641 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6643 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6649 LINE=`grep "^wxUSE_DATAOBJ
=" ${wx_arg_cache_file}`
6650 if test "x
$LINE" != x ; then
6651 eval "DEFAULT_
$LINE"
6657 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6662 eval "$wx_cv_use_dataobj"
6663 if test "x$cache" = xyes
; then
6664 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6667 if test x
"$enablestring" = xdisable
; then
6668 if test $wxUSE_DATAOBJ = yes; then
6674 result
=$wxUSE_DATAOBJ
6677 { echo "$as_me:$LINENO: result: $result" >&5
6678 echo "${ECHO_T}$result" >&6; }
6683 defaultval
=$wxUSE_ALL_FEATURES
6684 if test -z "$defaultval"; then
6685 if test x
"$enablestring" = xdisable
; then
6692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6693 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6694 # Check whether --enable-ipc was given.
6695 if test "${enable_ipc+set}" = set; then
6696 enableval
=$enable_ipc;
6697 if test "$enableval" = yes; then
6698 wx_cv_use_ipc
='wxUSE_IPC=yes'
6700 wx_cv_use_ipc
='wxUSE_IPC=no'
6706 LINE
=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6707 if test "x$LINE" != x
; then
6708 eval "DEFAULT_$LINE"
6714 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6719 eval "$wx_cv_use_ipc"
6720 if test "x$cache" = xyes; then
6721 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6724 if test x"$enablestring" = xdisable; then
6725 if test $wxUSE_IPC = yes; then
6734 { echo "$as_me:$LINENO: result: $result" >&5
6735 echo "${ECHO_T}$result" >&6; }
6740 defaultval=$wxUSE_ALL_FEATURES
6741 if test -z "$defaultval"; then
6742 if test x"$enablestring" = xdisable; then
6749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6750 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6751 # Check whether --enable-baseevtloop was given.
6752 if test "${enable_baseevtloop+set}" = set; then
6753 enableval=$enable_baseevtloop;
6754 if test "$enableval" = yes; then
6755 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6757 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6763 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6764 if test "x$LINE" != x ; then
6765 eval "DEFAULT_$LINE"
6771 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6776 eval "$wx_cv_use_baseevtloop"
6777 if test "x
$cache" = xyes; then
6778 echo "wxUSE_CONSOLE_EVENTLOOP
=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6781 if test x"$enablestring" = xdisable; then
6782 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6788 result=$wxUSE_CONSOLE_EVENTLOOP
6791 { echo "$as_me:$LINENO: result
: $result" >&5
6792 echo "${ECHO_T}$result" >&6; }
6796 defaultval=$wxUSE_ALL_FEATURES
6797 if test -z "$defaultval"; then
6798 if test x"$enablestring" = xdisable; then
6805 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6806 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6807 # Check whether --enable-epollloop was given.
6808 if test "${enable_epollloop+set}" = set; then
6809 enableval=$enable_epollloop;
6810 if test "$enableval" = yes; then
6811 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6813 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6819 LINE=`grep "^wxUSE_EPOLL_DISPATCHER
=" ${wx_arg_cache_file}`
6820 if test "x
$LINE" != x ; then
6821 eval "DEFAULT_
$LINE"
6827 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6832 eval "$wx_cv_use_epollloop"
6833 if test "x$cache" = xyes
; then
6834 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6837 if test x
"$enablestring" = xdisable
; then
6838 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6844 result
=$wxUSE_EPOLL_DISPATCHER
6847 { echo "$as_me:$LINENO: result: $result" >&5
6848 echo "${ECHO_T}$result" >&6; }
6852 defaultval
=$wxUSE_ALL_FEATURES
6853 if test -z "$defaultval"; then
6854 if test x
"$enablestring" = xdisable
; then
6861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6862 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6863 # Check whether --enable-selectloop was given.
6864 if test "${enable_selectloop+set}" = set; then
6865 enableval
=$enable_selectloop;
6866 if test "$enableval" = yes; then
6867 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6869 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6875 LINE
=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6876 if test "x$LINE" != x
; then
6877 eval "DEFAULT_$LINE"
6883 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6888 eval "$wx_cv_use_selectloop"
6889 if test "x$cache" = xyes; then
6890 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6893 if test x"$enablestring" = xdisable; then
6894 if test $wxUSE_SELECT_DISPATCHER = yes; then
6900 result=$wxUSE_SELECT_DISPATCHER
6903 { echo "$as_me:$LINENO: result: $result" >&5
6904 echo "${ECHO_T}$result" >&6; }
6909 defaultval=$wxUSE_ALL_FEATURES
6910 if test -z "$defaultval"; then
6911 if test x"$enablestring" = xdisable; then
6918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6919 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6920 # Check whether --enable-apple_ieee was given.
6921 if test "${enable_apple_ieee+set}" = set; then
6922 enableval=$enable_apple_ieee;
6923 if test "$enableval" = yes; then
6924 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6926 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6932 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6933 if test "x$LINE" != x ; then
6934 eval "DEFAULT_$LINE"
6940 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6945 eval "$wx_cv_use_apple_ieee"
6946 if test "x
$cache" = xyes; then
6947 echo "wxUSE_APPLE_IEEE
=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6950 if test x"$enablestring" = xdisable; then
6951 if test $wxUSE_APPLE_IEEE = yes; then
6957 result=$wxUSE_APPLE_IEEE
6960 { echo "$as_me:$LINENO: result
: $result" >&5
6961 echo "${ECHO_T}$result" >&6; }
6965 defaultval=$wxUSE_ALL_FEATURES
6966 if test -z "$defaultval"; then
6967 if test x"$enablestring" = xdisable; then
6974 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6975 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6976 # Check whether --enable-arcstream was given.
6977 if test "${enable_arcstream+set}" = set; then
6978 enableval=$enable_arcstream;
6979 if test "$enableval" = yes; then
6980 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6982 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6988 LINE=`grep "^wxUSE_ARCHIVE_STREAMS
=" ${wx_arg_cache_file}`
6989 if test "x
$LINE" != x ; then
6990 eval "DEFAULT_
$LINE"
6996 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7001 eval "$wx_cv_use_arcstream"
7002 if test "x$cache" = xyes
; then
7003 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
7006 if test x
"$enablestring" = xdisable
; then
7007 if test $wxUSE_ARCHIVE_STREAMS = yes; then
7013 result
=$wxUSE_ARCHIVE_STREAMS
7016 { echo "$as_me:$LINENO: result: $result" >&5
7017 echo "${ECHO_T}$result" >&6; }
7021 defaultval
=$wxUSE_ALL_FEATURES
7022 if test -z "$defaultval"; then
7023 if test x
"$enablestring" = xdisable
; then
7030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
7031 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
7032 # Check whether --enable-base64 was given.
7033 if test "${enable_base64+set}" = set; then
7034 enableval
=$enable_base64;
7035 if test "$enableval" = yes; then
7036 wx_cv_use_base64
='wxUSE_BASE64=yes'
7038 wx_cv_use_base64
='wxUSE_BASE64=no'
7044 LINE
=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
7045 if test "x$LINE" != x
; then
7046 eval "DEFAULT_$LINE"
7052 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7057 eval "$wx_cv_use_base64"
7058 if test "x$cache" = xyes; then
7059 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
7062 if test x"$enablestring" = xdisable; then
7063 if test $wxUSE_BASE64 = yes; then
7069 result=$wxUSE_BASE64
7072 { echo "$as_me:$LINENO: result: $result" >&5
7073 echo "${ECHO_T}$result" >&6; }
7077 defaultval=$wxUSE_ALL_FEATURES
7078 if test -z "$defaultval"; then
7079 if test x"$enablestring" = xdisable; then
7086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7087 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7088 # Check whether --enable-backtrace was given.
7089 if test "${enable_backtrace+set}" = set; then
7090 enableval=$enable_backtrace;
7091 if test "$enableval" = yes; then
7092 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
7094 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
7100 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7101 if test "x$LINE" != x ; then
7102 eval "DEFAULT_$LINE"
7108 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7113 eval "$wx_cv_use_backtrace"
7114 if test "x
$cache" = xyes; then
7115 echo "wxUSE_STACKWALKER
=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7118 if test x"$enablestring" = xdisable; then
7119 if test $wxUSE_STACKWALKER = yes; then
7125 result=$wxUSE_STACKWALKER
7128 { echo "$as_me:$LINENO: result
: $result" >&5
7129 echo "${ECHO_T}$result" >&6; }
7133 defaultval=$wxUSE_ALL_FEATURES
7134 if test -z "$defaultval"; then
7135 if test x"$enablestring" = xdisable; then
7142 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
7143 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
7144 # Check whether --enable-catch_segvs was given.
7145 if test "${enable_catch_segvs+set}" = set; then
7146 enableval=$enable_catch_segvs;
7147 if test "$enableval" = yes; then
7148 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7150 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7156 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION
=" ${wx_arg_cache_file}`
7157 if test "x
$LINE" != x ; then
7158 eval "DEFAULT_
$LINE"
7164 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7169 eval "$wx_cv_use_catch_segvs"
7170 if test "x$cache" = xyes
; then
7171 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7174 if test x
"$enablestring" = xdisable
; then
7175 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7181 result
=$wxUSE_ON_FATAL_EXCEPTION
7184 { echo "$as_me:$LINENO: result: $result" >&5
7185 echo "${ECHO_T}$result" >&6; }
7189 defaultval
=$wxUSE_ALL_FEATURES
7190 if test -z "$defaultval"; then
7191 if test x
"$enablestring" = xdisable
; then
7198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7199 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7200 # Check whether --enable-cmdline was given.
7201 if test "${enable_cmdline+set}" = set; then
7202 enableval
=$enable_cmdline;
7203 if test "$enableval" = yes; then
7204 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
7206 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
7212 LINE
=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7213 if test "x$LINE" != x
; then
7214 eval "DEFAULT_$LINE"
7220 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7225 eval "$wx_cv_use_cmdline"
7226 if test "x$cache" = xyes; then
7227 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7230 if test x"$enablestring" = xdisable; then
7231 if test $wxUSE_CMDLINE_PARSER = yes; then
7237 result=$wxUSE_CMDLINE_PARSER
7240 { echo "$as_me:$LINENO: result: $result" >&5
7241 echo "${ECHO_T}$result" >&6; }
7245 defaultval=$wxUSE_ALL_FEATURES
7246 if test -z "$defaultval"; then
7247 if test x"$enablestring" = xdisable; then
7254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7255 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7256 # Check whether --enable-datetime was given.
7257 if test "${enable_datetime+set}" = set; then
7258 enableval=$enable_datetime;
7259 if test "$enableval" = yes; then
7260 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
7262 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
7268 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x ; then
7270 eval "DEFAULT_$LINE"
7276 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7281 eval "$wx_cv_use_datetime"
7282 if test "x
$cache" = xyes; then
7283 echo "wxUSE_DATETIME
=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7286 if test x"$enablestring" = xdisable; then
7287 if test $wxUSE_DATETIME = yes; then
7293 result=$wxUSE_DATETIME
7296 { echo "$as_me:$LINENO: result
: $result" >&5
7297 echo "${ECHO_T}$result" >&6; }
7301 defaultval=$wxUSE_ALL_FEATURES
7302 if test -z "$defaultval"; then
7303 if test x"$enablestring" = xdisable; then
7310 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
7311 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
7312 # Check whether --enable-debugreport was given.
7313 if test "${enable_debugreport+set}" = set; then
7314 enableval=$enable_debugreport;
7315 if test "$enableval" = yes; then
7316 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7318 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7324 LINE=`grep "^wxUSE_DEBUGREPORT
=" ${wx_arg_cache_file}`
7325 if test "x
$LINE" != x ; then
7326 eval "DEFAULT_
$LINE"
7332 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7337 eval "$wx_cv_use_debugreport"
7338 if test "x$cache" = xyes
; then
7339 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7342 if test x
"$enablestring" = xdisable
; then
7343 if test $wxUSE_DEBUGREPORT = yes; then
7349 result
=$wxUSE_DEBUGREPORT
7352 { echo "$as_me:$LINENO: result: $result" >&5
7353 echo "${ECHO_T}$result" >&6; }
7357 defaultval
=$wxUSE_ALL_FEATURES
7358 if test -z "$defaultval"; then
7359 if test x
"$enablestring" = xdisable
; then
7366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7367 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7368 # Check whether --enable-dialupman was given.
7369 if test "${enable_dialupman+set}" = set; then
7370 enableval
=$enable_dialupman;
7371 if test "$enableval" = yes; then
7372 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
7374 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
7380 LINE
=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7381 if test "x$LINE" != x
; then
7382 eval "DEFAULT_$LINE"
7388 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7393 eval "$wx_cv_use_dialupman"
7394 if test "x$cache" = xyes; then
7395 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7398 if test x"$enablestring" = xdisable; then
7399 if test $wxUSE_DIALUP_MANAGER = yes; then
7405 result=$wxUSE_DIALUP_MANAGER
7408 { echo "$as_me:$LINENO: result: $result" >&5
7409 echo "${ECHO_T}$result" >&6; }
7413 defaultval=$wxUSE_ALL_FEATURES
7414 if test -z "$defaultval"; then
7415 if test x"$enablestring" = xdisable; then
7422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7424 # Check whether --enable-dynlib was given.
7425 if test "${enable_dynlib+set}" = set; then
7426 enableval=$enable_dynlib;
7427 if test "$enableval" = yes; then
7428 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
7430 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
7436 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7437 if test "x$LINE" != x ; then
7438 eval "DEFAULT_$LINE"
7444 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7449 eval "$wx_cv_use_dynlib"
7450 if test "x
$cache" = xyes; then
7451 echo "wxUSE_DYNLIB_CLASS
=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7454 if test x"$enablestring" = xdisable; then
7455 if test $wxUSE_DYNLIB_CLASS = yes; then
7461 result=$wxUSE_DYNLIB_CLASS
7464 { echo "$as_me:$LINENO: result
: $result" >&5
7465 echo "${ECHO_T}$result" >&6; }
7469 defaultval=$wxUSE_ALL_FEATURES
7470 if test -z "$defaultval"; then
7471 if test x"$enablestring" = xdisable; then
7478 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
7479 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
7480 # Check whether --enable-dynamicloader was given.
7481 if test "${enable_dynamicloader+set}" = set; then
7482 enableval=$enable_dynamicloader;
7483 if test "$enableval" = yes; then
7484 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7486 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7492 LINE=`grep "^wxUSE_DYNAMIC_LOADER
=" ${wx_arg_cache_file}`
7493 if test "x
$LINE" != x ; then
7494 eval "DEFAULT_
$LINE"
7500 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7505 eval "$wx_cv_use_dynamicloader"
7506 if test "x$cache" = xyes
; then
7507 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7510 if test x
"$enablestring" = xdisable
; then
7511 if test $wxUSE_DYNAMIC_LOADER = yes; then
7517 result
=$wxUSE_DYNAMIC_LOADER
7520 { echo "$as_me:$LINENO: result: $result" >&5
7521 echo "${ECHO_T}$result" >&6; }
7525 defaultval
=$wxUSE_ALL_FEATURES
7526 if test -z "$defaultval"; then
7527 if test x
"$enablestring" = xdisable
; then
7534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7535 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7536 # Check whether --enable-exceptions was given.
7537 if test "${enable_exceptions+set}" = set; then
7538 enableval
=$enable_exceptions;
7539 if test "$enableval" = yes; then
7540 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
7542 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
7548 LINE
=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7549 if test "x$LINE" != x
; then
7550 eval "DEFAULT_$LINE"
7556 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7561 eval "$wx_cv_use_exceptions"
7562 if test "x$cache" = xyes; then
7563 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7566 if test x"$enablestring" = xdisable; then
7567 if test $wxUSE_EXCEPTIONS = yes; then
7573 result=$wxUSE_EXCEPTIONS
7576 { echo "$as_me:$LINENO: result: $result" >&5
7577 echo "${ECHO_T}$result" >&6; }
7581 defaultval=$wxUSE_ALL_FEATURES
7582 if test -z "$defaultval"; then
7583 if test x"$enablestring" = xdisable; then
7590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7591 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7592 # Check whether --enable-ffile was given.
7593 if test "${enable_ffile+set}" = set; then
7594 enableval=$enable_ffile;
7595 if test "$enableval" = yes; then
7596 wx_cv_use_ffile='wxUSE_FFILE
=yes'
7598 wx_cv_use_ffile='wxUSE_FFILE
=no
'
7604 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7605 if test "x$LINE" != x ; then
7606 eval "DEFAULT_$LINE"
7612 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7617 eval "$wx_cv_use_ffile"
7618 if test "x
$cache" = xyes; then
7619 echo "wxUSE_FFILE
=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7622 if test x"$enablestring" = xdisable; then
7623 if test $wxUSE_FFILE = yes; then
7632 { echo "$as_me:$LINENO: result
: $result" >&5
7633 echo "${ECHO_T}$result" >&6; }
7637 defaultval=$wxUSE_ALL_FEATURES
7638 if test -z "$defaultval"; then
7639 if test x"$enablestring" = xdisable; then
7646 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
7647 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
7648 # Check whether --enable-file was given.
7649 if test "${enable_file+set}" = set; then
7650 enableval=$enable_file;
7651 if test "$enableval" = yes; then
7652 wx_cv_use_file='wxUSE_FILE=yes'
7654 wx_cv_use_file='wxUSE_FILE=no'
7660 LINE=`grep "^wxUSE_FILE
=" ${wx_arg_cache_file}`
7661 if test "x
$LINE" != x ; then
7662 eval "DEFAULT_
$LINE"
7668 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7673 eval "$wx_cv_use_file"
7674 if test "x$cache" = xyes
; then
7675 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7678 if test x
"$enablestring" = xdisable
; then
7679 if test $wxUSE_FILE = yes; then
7688 { echo "$as_me:$LINENO: result: $result" >&5
7689 echo "${ECHO_T}$result" >&6; }
7693 defaultval
=$wxUSE_ALL_FEATURES
7694 if test -z "$defaultval"; then
7695 if test x
"$enablestring" = xdisable
; then
7702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7703 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7704 # Check whether --enable-filesystem was given.
7705 if test "${enable_filesystem+set}" = set; then
7706 enableval
=$enable_filesystem;
7707 if test "$enableval" = yes; then
7708 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
7710 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
7716 LINE
=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7717 if test "x$LINE" != x
; then
7718 eval "DEFAULT_$LINE"
7724 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7729 eval "$wx_cv_use_filesystem"
7730 if test "x$cache" = xyes; then
7731 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7734 if test x"$enablestring" = xdisable; then
7735 if test $wxUSE_FILESYSTEM = yes; then
7741 result=$wxUSE_FILESYSTEM
7744 { echo "$as_me:$LINENO: result: $result" >&5
7745 echo "${ECHO_T}$result" >&6; }
7749 defaultval=$wxUSE_ALL_FEATURES
7750 if test -z "$defaultval"; then
7751 if test x"$enablestring" = xdisable; then
7758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7759 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7760 # Check whether --enable-fontenum was given.
7761 if test "${enable_fontenum+set}" = set; then
7762 enableval=$enable_fontenum;
7763 if test "$enableval" = yes; then
7764 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
7766 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
7772 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7773 if test "x$LINE" != x ; then
7774 eval "DEFAULT_$LINE"
7780 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7785 eval "$wx_cv_use_fontenum"
7786 if test "x
$cache" = xyes; then
7787 echo "wxUSE_FONTENUM
=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7790 if test x"$enablestring" = xdisable; then
7791 if test $wxUSE_FONTENUM = yes; then
7797 result=$wxUSE_FONTENUM
7800 { echo "$as_me:$LINENO: result
: $result" >&5
7801 echo "${ECHO_T}$result" >&6; }
7805 defaultval=$wxUSE_ALL_FEATURES
7806 if test -z "$defaultval"; then
7807 if test x"$enablestring" = xdisable; then
7814 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
7815 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
7816 # Check whether --enable-fontmap was given.
7817 if test "${enable_fontmap+set}" = set; then
7818 enableval=$enable_fontmap;
7819 if test "$enableval" = yes; then
7820 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7822 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7828 LINE=`grep "^wxUSE_FONTMAP
=" ${wx_arg_cache_file}`
7829 if test "x
$LINE" != x ; then
7830 eval "DEFAULT_
$LINE"
7836 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7841 eval "$wx_cv_use_fontmap"
7842 if test "x$cache" = xyes
; then
7843 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7846 if test x
"$enablestring" = xdisable
; then
7847 if test $wxUSE_FONTMAP = yes; then
7853 result
=$wxUSE_FONTMAP
7856 { echo "$as_me:$LINENO: result: $result" >&5
7857 echo "${ECHO_T}$result" >&6; }
7861 defaultval
=$wxUSE_ALL_FEATURES
7862 if test -z "$defaultval"; then
7863 if test x
"$enablestring" = xdisable
; then
7870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7871 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7872 # Check whether --enable-fs_archive was given.
7873 if test "${enable_fs_archive+set}" = set; then
7874 enableval
=$enable_fs_archive;
7875 if test "$enableval" = yes; then
7876 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7878 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7884 LINE
=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7885 if test "x$LINE" != x
; then
7886 eval "DEFAULT_$LINE"
7892 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7897 eval "$wx_cv_use_fs_archive"
7898 if test "x$cache" = xyes; then
7899 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7902 if test x"$enablestring" = xdisable; then
7903 if test $wxUSE_FS_ARCHIVE = yes; then
7909 result=$wxUSE_FS_ARCHIVE
7912 { echo "$as_me:$LINENO: result: $result" >&5
7913 echo "${ECHO_T}$result" >&6; }
7917 defaultval=$wxUSE_ALL_FEATURES
7918 if test -z "$defaultval"; then
7919 if test x"$enablestring" = xdisable; then
7926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7927 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7928 # Check whether --enable-fs_inet was given.
7929 if test "${enable_fs_inet+set}" = set; then
7930 enableval=$enable_fs_inet;
7931 if test "$enableval" = yes; then
7932 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7934 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7940 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7941 if test "x$LINE" != x ; then
7942 eval "DEFAULT_$LINE"
7948 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7953 eval "$wx_cv_use_fs_inet"
7954 if test "x
$cache" = xyes; then
7955 echo "wxUSE_FS_INET
=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7958 if test x"$enablestring" = xdisable; then
7959 if test $wxUSE_FS_INET = yes; then
7965 result=$wxUSE_FS_INET
7968 { echo "$as_me:$LINENO: result
: $result" >&5
7969 echo "${ECHO_T}$result" >&6; }
7973 defaultval=$wxUSE_ALL_FEATURES
7974 if test -z "$defaultval"; then
7975 if test x"$enablestring" = xdisable; then
7982 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7983 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7984 # Check whether --enable-fs_zip was given.
7985 if test "${enable_fs_zip+set}" = set; then
7986 enableval=$enable_fs_zip;
7987 if test "$enableval" = yes; then
7988 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7990 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7996 LINE=`grep "^wxUSE_FS_ZIP
=" ${wx_arg_cache_file}`
7997 if test "x
$LINE" != x ; then
7998 eval "DEFAULT_
$LINE"
8004 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8009 eval "$wx_cv_use_fs_zip"
8010 if test "x$cache" = xyes
; then
8011 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
8014 if test x
"$enablestring" = xdisable
; then
8015 if test $wxUSE_FS_ZIP = yes; then
8021 result
=$wxUSE_FS_ZIP
8024 { echo "$as_me:$LINENO: result: $result" >&5
8025 echo "${ECHO_T}$result" >&6; }
8029 defaultval
=$wxUSE_ALL_FEATURES
8030 if test -z "$defaultval"; then
8031 if test x
"$enablestring" = xdisable
; then
8038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
8039 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
8040 # Check whether --enable-geometry was given.
8041 if test "${enable_geometry+set}" = set; then
8042 enableval
=$enable_geometry;
8043 if test "$enableval" = yes; then
8044 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
8046 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
8052 LINE
=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
8053 if test "x$LINE" != x
; then
8054 eval "DEFAULT_$LINE"
8060 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8065 eval "$wx_cv_use_geometry"
8066 if test "x$cache" = xyes; then
8067 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
8070 if test x"$enablestring" = xdisable; then
8071 if test $wxUSE_GEOMETRY = yes; then
8077 result=$wxUSE_GEOMETRY
8080 { echo "$as_me:$LINENO: result: $result" >&5
8081 echo "${ECHO_T}$result" >&6; }
8085 defaultval=$wxUSE_ALL_FEATURES
8086 if test -z "$defaultval"; then
8087 if test x"$enablestring" = xdisable; then
8094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8095 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8096 # Check whether --enable-log was given.
8097 if test "${enable_log+set}" = set; then
8098 enableval=$enable_log;
8099 if test "$enableval" = yes; then
8100 wx_cv_use_log='wxUSE_LOG
=yes'
8102 wx_cv_use_log='wxUSE_LOG
=no
'
8108 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8109 if test "x$LINE" != x ; then
8110 eval "DEFAULT_$LINE"
8116 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8121 eval "$wx_cv_use_log"
8122 if test "x
$cache" = xyes; then
8123 echo "wxUSE_LOG
=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8126 if test x"$enablestring" = xdisable; then
8127 if test $wxUSE_LOG = yes; then
8136 { echo "$as_me:$LINENO: result
: $result" >&5
8137 echo "${ECHO_T}$result" >&6; }
8141 defaultval=$wxUSE_ALL_FEATURES
8142 if test -z "$defaultval"; then
8143 if test x"$enablestring" = xdisable; then
8150 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
8151 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
8152 # Check whether --enable-longlong was given.
8153 if test "${enable_longlong+set}" = set; then
8154 enableval=$enable_longlong;
8155 if test "$enableval" = yes; then
8156 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8158 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8164 LINE=`grep "^wxUSE_LONGLONG
=" ${wx_arg_cache_file}`
8165 if test "x
$LINE" != x ; then
8166 eval "DEFAULT_
$LINE"
8172 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8177 eval "$wx_cv_use_longlong"
8178 if test "x$cache" = xyes
; then
8179 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8182 if test x
"$enablestring" = xdisable
; then
8183 if test $wxUSE_LONGLONG = yes; then
8189 result
=$wxUSE_LONGLONG
8192 { echo "$as_me:$LINENO: result: $result" >&5
8193 echo "${ECHO_T}$result" >&6; }
8197 defaultval
=$wxUSE_ALL_FEATURES
8198 if test -z "$defaultval"; then
8199 if test x
"$enablestring" = xdisable
; then
8206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8207 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8208 # Check whether --enable-mimetype was given.
8209 if test "${enable_mimetype+set}" = set; then
8210 enableval
=$enable_mimetype;
8211 if test "$enableval" = yes; then
8212 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
8214 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
8220 LINE
=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8221 if test "x$LINE" != x
; then
8222 eval "DEFAULT_$LINE"
8228 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8233 eval "$wx_cv_use_mimetype"
8234 if test "x$cache" = xyes; then
8235 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8238 if test x"$enablestring" = xdisable; then
8239 if test $wxUSE_MIMETYPE = yes; then
8245 result=$wxUSE_MIMETYPE
8248 { echo "$as_me:$LINENO: result: $result" >&5
8249 echo "${ECHO_T}$result" >&6; }
8253 defaultval=$wxUSE_ALL_FEATURES
8254 if test -z "$defaultval"; then
8255 if test x"$enablestring" = xdisable; then
8262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8263 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8264 # Check whether --enable-snglinst was given.
8265 if test "${enable_snglinst+set}" = set; then
8266 enableval=$enable_snglinst;
8267 if test "$enableval" = yes; then
8268 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
8270 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
8276 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8277 if test "x$LINE" != x ; then
8278 eval "DEFAULT_$LINE"
8284 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8289 eval "$wx_cv_use_snglinst"
8290 if test "x
$cache" = xyes; then
8291 echo "wxUSE_SNGLINST_CHECKER
=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8294 if test x"$enablestring" = xdisable; then
8295 if test $wxUSE_SNGLINST_CHECKER = yes; then
8301 result=$wxUSE_SNGLINST_CHECKER
8304 { echo "$as_me:$LINENO: result
: $result" >&5
8305 echo "${ECHO_T}$result" >&6; }
8309 defaultval=$wxUSE_ALL_FEATURES
8310 if test -z "$defaultval"; then
8311 if test x"$enablestring" = xdisable; then
8318 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stdpaths" >&5
8319 echo $ECHO_N "checking
for --${enablestring:-enable}-stdpaths...
$ECHO_C" >&6; }
8320 # Check whether --enable-stdpaths was given.
8321 if test "${enable_stdpaths+set}" = set; then
8322 enableval=$enable_stdpaths;
8323 if test "$enableval" = yes; then
8324 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8326 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8332 LINE=`grep "^wxUSE_STDPATHS
=" ${wx_arg_cache_file}`
8333 if test "x
$LINE" != x ; then
8334 eval "DEFAULT_
$LINE"
8340 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8345 eval "$wx_cv_use_stdpaths"
8346 if test "x$cache" = xyes
; then
8347 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8350 if test x
"$enablestring" = xdisable
; then
8351 if test $wxUSE_STDPATHS = yes; then
8357 result
=$wxUSE_STDPATHS
8360 { echo "$as_me:$LINENO: result: $result" >&5
8361 echo "${ECHO_T}$result" >&6; }
8365 defaultval
=$wxUSE_ALL_FEATURES
8366 if test -z "$defaultval"; then
8367 if test x
"$enablestring" = xdisable
; then
8374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8375 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8376 # Check whether --enable-stopwatch was given.
8377 if test "${enable_stopwatch+set}" = set; then
8378 enableval
=$enable_stopwatch;
8379 if test "$enableval" = yes; then
8380 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
8382 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
8388 LINE
=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8389 if test "x$LINE" != x
; then
8390 eval "DEFAULT_$LINE"
8396 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8401 eval "$wx_cv_use_stopwatch"
8402 if test "x$cache" = xyes; then
8403 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8406 if test x"$enablestring" = xdisable; then
8407 if test $wxUSE_STOPWATCH = yes; then
8413 result=$wxUSE_STOPWATCH
8416 { echo "$as_me:$LINENO: result: $result" >&5
8417 echo "${ECHO_T}$result" >&6; }
8421 defaultval=$wxUSE_ALL_FEATURES
8422 if test -z "$defaultval"; then
8423 if test x"$enablestring" = xdisable; then
8430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8431 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8432 # Check whether --enable-streams was given.
8433 if test "${enable_streams+set}" = set; then
8434 enableval=$enable_streams;
8435 if test "$enableval" = yes; then
8436 wx_cv_use_streams='wxUSE_STREAMS
=yes'
8438 wx_cv_use_streams='wxUSE_STREAMS
=no
'
8444 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8445 if test "x$LINE" != x ; then
8446 eval "DEFAULT_$LINE"
8452 wx_cv_use_streams='wxUSE_STREAMS
=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8457 eval "$wx_cv_use_streams"
8458 if test "x
$cache" = xyes; then
8459 echo "wxUSE_STREAMS
=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8462 if test x"$enablestring" = xdisable; then
8463 if test $wxUSE_STREAMS = yes; then
8469 result=$wxUSE_STREAMS
8472 { echo "$as_me:$LINENO: result
: $result" >&5
8473 echo "${ECHO_T}$result" >&6; }
8477 defaultval=$wxUSE_ALL_FEATURES
8478 if test -z "$defaultval"; then
8479 if test x"$enablestring" = xdisable; then
8486 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-system_options" >&5
8487 echo $ECHO_N "checking
for --${enablestring:-enable}-system_options...
$ECHO_C" >&6; }
8488 # Check whether --enable-system_options was given.
8489 if test "${enable_system_options+set}" = set; then
8490 enableval=$enable_system_options;
8491 if test "$enableval" = yes; then
8492 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8494 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8500 LINE=`grep "^wxUSE_SYSTEM_OPTIONS
=" ${wx_arg_cache_file}`
8501 if test "x
$LINE" != x ; then
8502 eval "DEFAULT_
$LINE"
8508 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8513 eval "$wx_cv_use_system_options"
8514 if test "x$cache" = xyes
; then
8515 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8518 if test x
"$enablestring" = xdisable
; then
8519 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8525 result
=$wxUSE_SYSTEM_OPTIONS
8528 { echo "$as_me:$LINENO: result: $result" >&5
8529 echo "${ECHO_T}$result" >&6; }
8533 defaultval
=$wxUSE_ALL_FEATURES
8534 if test -z "$defaultval"; then
8535 if test x
"$enablestring" = xdisable
; then
8542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8543 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8544 # Check whether --enable-tarstream was given.
8545 if test "${enable_tarstream+set}" = set; then
8546 enableval
=$enable_tarstream;
8547 if test "$enableval" = yes; then
8548 wx_cv_use_tarstream
='wxUSE_TARSTREAM=yes'
8550 wx_cv_use_tarstream
='wxUSE_TARSTREAM=no'
8556 LINE
=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8557 if test "x$LINE" != x
; then
8558 eval "DEFAULT_$LINE"
8564 wx_cv_use_tarstream
='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8569 eval "$wx_cv_use_tarstream"
8570 if test "x$cache" = xyes; then
8571 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8574 if test x"$enablestring" = xdisable; then
8575 if test $wxUSE_TARSTREAM = yes; then
8581 result=$wxUSE_TARSTREAM
8584 { echo "$as_me:$LINENO: result: $result" >&5
8585 echo "${ECHO_T}$result" >&6; }
8589 defaultval=$wxUSE_ALL_FEATURES
8590 if test -z "$defaultval"; then
8591 if test x"$enablestring" = xdisable; then
8598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8599 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8600 # Check whether --enable-textbuf was given.
8601 if test "${enable_textbuf+set}" = set; then
8602 enableval=$enable_textbuf;
8603 if test "$enableval" = yes; then
8604 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
8606 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
8612 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8613 if test "x$LINE" != x ; then
8614 eval "DEFAULT_$LINE"
8620 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8625 eval "$wx_cv_use_textbuf"
8626 if test "x
$cache" = xyes; then
8627 echo "wxUSE_TEXTBUFFER
=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8630 if test x"$enablestring" = xdisable; then
8631 if test $wxUSE_TEXTBUFFER = yes; then
8637 result=$wxUSE_TEXTBUFFER
8640 { echo "$as_me:$LINENO: result
: $result" >&5
8641 echo "${ECHO_T}$result" >&6; }
8645 defaultval=$wxUSE_ALL_FEATURES
8646 if test -z "$defaultval"; then
8647 if test x"$enablestring" = xdisable; then
8654 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textfile" >&5
8655 echo $ECHO_N "checking
for --${enablestring:-enable}-textfile...
$ECHO_C" >&6; }
8656 # Check whether --enable-textfile was given.
8657 if test "${enable_textfile+set}" = set; then
8658 enableval=$enable_textfile;
8659 if test "$enableval" = yes; then
8660 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8662 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8668 LINE=`grep "^wxUSE_TEXTFILE
=" ${wx_arg_cache_file}`
8669 if test "x
$LINE" != x ; then
8670 eval "DEFAULT_
$LINE"
8676 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8681 eval "$wx_cv_use_textfile"
8682 if test "x$cache" = xyes
; then
8683 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8686 if test x
"$enablestring" = xdisable
; then
8687 if test $wxUSE_TEXTFILE = yes; then
8693 result
=$wxUSE_TEXTFILE
8696 { echo "$as_me:$LINENO: result: $result" >&5
8697 echo "${ECHO_T}$result" >&6; }
8701 defaultval
=$wxUSE_ALL_FEATURES
8702 if test -z "$defaultval"; then
8703 if test x
"$enablestring" = xdisable
; then
8710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8711 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8712 # Check whether --enable-timer was given.
8713 if test "${enable_timer+set}" = set; then
8714 enableval
=$enable_timer;
8715 if test "$enableval" = yes; then
8716 wx_cv_use_timer
='wxUSE_TIMER=yes'
8718 wx_cv_use_timer
='wxUSE_TIMER=no'
8724 LINE
=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8725 if test "x$LINE" != x
; then
8726 eval "DEFAULT_$LINE"
8732 wx_cv_use_timer
='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8737 eval "$wx_cv_use_timer"
8738 if test "x$cache" = xyes; then
8739 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8742 if test x"$enablestring" = xdisable; then
8743 if test $wxUSE_TIMER = yes; then
8752 { echo "$as_me:$LINENO: result: $result" >&5
8753 echo "${ECHO_T}$result" >&6; }
8757 defaultval=$wxUSE_ALL_FEATURES
8758 if test -z "$defaultval"; then
8759 if test x"$enablestring" = xdisable; then
8766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8767 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8768 # Check whether --enable-sound was given.
8769 if test "${enable_sound+set}" = set; then
8770 enableval=$enable_sound;
8771 if test "$enableval" = yes; then
8772 wx_cv_use_sound='wxUSE_SOUND
=yes'
8774 wx_cv_use_sound='wxUSE_SOUND
=no
'
8780 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8781 if test "x$LINE" != x ; then
8782 eval "DEFAULT_$LINE"
8788 wx_cv_use_sound='wxUSE_SOUND
=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8793 eval "$wx_cv_use_sound"
8794 if test "x
$cache" = xyes; then
8795 echo "wxUSE_SOUND
=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8798 if test x"$enablestring" = xdisable; then
8799 if test $wxUSE_SOUND = yes; then
8808 { echo "$as_me:$LINENO: result
: $result" >&5
8809 echo "${ECHO_T}$result" >&6; }
8813 defaultval=$wxUSE_ALL_FEATURES
8814 if test -z "$defaultval"; then
8815 if test x"$enablestring" = xdisable; then
8822 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mediactrl" >&5
8823 echo $ECHO_N "checking
for --${enablestring:-enable}-mediactrl...
$ECHO_C" >&6; }
8824 # Check whether --enable-mediactrl was given.
8825 if test "${enable_mediactrl+set}" = set; then
8826 enableval=$enable_mediactrl;
8827 if test "$enableval" = yes; then
8828 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8830 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8836 LINE=`grep "^wxUSE_MEDIACTRL
=" ${wx_arg_cache_file}`
8837 if test "x
$LINE" != x ; then
8838 eval "DEFAULT_
$LINE"
8844 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8849 eval "$wx_cv_use_mediactrl"
8850 if test "x$cache" = xyes
; then
8851 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8854 if test x
"$enablestring" = xdisable
; then
8855 if test $wxUSE_MEDIACTRL = yes; then
8861 result
=$wxUSE_MEDIACTRL
8864 { echo "$as_me:$LINENO: result: $result" >&5
8865 echo "${ECHO_T}$result" >&6; }
8869 defaultval
=$wxUSE_ALL_FEATURES
8870 if test -z "$defaultval"; then
8871 if test x
"$enablestring" = xdisable
; then
8878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8879 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8880 # Check whether --enable-gstreamer8 was given.
8881 if test "${enable_gstreamer8+set}" = set; then
8882 enableval
=$enable_gstreamer8;
8883 if test "$enableval" = yes; then
8884 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
8886 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
8892 LINE
=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8893 if test "x$LINE" != x
; then
8894 eval "DEFAULT_$LINE"
8900 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8905 eval "$wx_cv_use_gstreamer8"
8906 if test "x$cache" = xyes; then
8907 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8910 if test x"$enablestring" = xdisable; then
8911 if test $wxUSE_GSTREAMER8 = yes; then
8917 result=$wxUSE_GSTREAMER8
8920 { echo "$as_me:$LINENO: result: $result" >&5
8921 echo "${ECHO_T}$result" >&6; }
8925 defaultval=$wxUSE_ALL_FEATURES
8926 if test -z "$defaultval"; then
8927 if test x"$enablestring" = xdisable; then
8934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8935 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8936 # Check whether --enable-printfposparam was given.
8937 if test "${enable_printfposparam+set}" = set; then
8938 enableval=$enable_printfposparam;
8939 if test "$enableval" = yes; then
8940 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
8942 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
8948 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8949 if test "x$LINE" != x ; then
8950 eval "DEFAULT_$LINE"
8956 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8961 eval "$wx_cv_use_printfposparam"
8962 if test "x
$cache" = xyes; then
8963 echo "wxUSE_PRINTF_POS_PARAMS
=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8966 if test x"$enablestring" = xdisable; then
8967 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8973 result=$wxUSE_PRINTF_POS_PARAMS
8976 { echo "$as_me:$LINENO: result
: $result" >&5
8977 echo "${ECHO_T}$result" >&6; }
8981 defaultval=$wxUSE_ALL_FEATURES
8982 if test -z "$defaultval"; then
8983 if test x"$enablestring" = xdisable; then
8990 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-zipstream" >&5
8991 echo $ECHO_N "checking
for --${enablestring:-enable}-zipstream...
$ECHO_C" >&6; }
8992 # Check whether --enable-zipstream was given.
8993 if test "${enable_zipstream+set}" = set; then
8994 enableval=$enable_zipstream;
8995 if test "$enableval" = yes; then
8996 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8998 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9004 LINE=`grep "^wxUSE_ZIPSTREAM
=" ${wx_arg_cache_file}`
9005 if test "x
$LINE" != x ; then
9006 eval "DEFAULT_
$LINE"
9012 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9017 eval "$wx_cv_use_zipstream"
9018 if test "x$cache" = xyes
; then
9019 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
9022 if test x
"$enablestring" = xdisable
; then
9023 if test $wxUSE_ZIPSTREAM = yes; then
9029 result
=$wxUSE_ZIPSTREAM
9032 { echo "$as_me:$LINENO: result: $result" >&5
9033 echo "${ECHO_T}$result" >&6; }
9038 defaultval
=$wxUSE_ALL_FEATURES
9039 if test -z "$defaultval"; then
9040 if test x
"$enablestring" = xdisable
; then
9047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
9048 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
9049 # Check whether --enable-url was given.
9050 if test "${enable_url+set}" = set; then
9051 enableval
=$enable_url;
9052 if test "$enableval" = yes; then
9053 wx_cv_use_url
='wxUSE_URL=yes'
9055 wx_cv_use_url
='wxUSE_URL=no'
9061 LINE
=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
9062 if test "x$LINE" != x
; then
9063 eval "DEFAULT_$LINE"
9069 wx_cv_use_url
='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9074 eval "$wx_cv_use_url"
9075 if test "x$cache" = xyes; then
9076 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9079 if test x"$enablestring" = xdisable; then
9080 if test $wxUSE_URL = yes; then
9089 { echo "$as_me:$LINENO: result: $result" >&5
9090 echo "${ECHO_T}$result" >&6; }
9094 defaultval=$wxUSE_ALL_FEATURES
9095 if test -z "$defaultval"; then
9096 if test x"$enablestring" = xdisable; then
9103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9104 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9105 # Check whether --enable-variant was given.
9106 if test "${enable_variant+set}" = set; then
9107 enableval=$enable_variant;
9108 if test "$enableval" = yes; then
9109 wx_cv_use_variant='wxUSE_VARIANT
=yes'
9111 wx_cv_use_variant='wxUSE_VARIANT
=no
'
9117 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9118 if test "x$LINE" != x ; then
9119 eval "DEFAULT_$LINE"
9125 wx_cv_use_variant='wxUSE_VARIANT
=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9130 eval "$wx_cv_use_variant"
9131 if test "x
$cache" = xyes; then
9132 echo "wxUSE_VARIANT
=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9135 if test x"$enablestring" = xdisable; then
9136 if test $wxUSE_VARIANT = yes; then
9142 result=$wxUSE_VARIANT
9145 { echo "$as_me:$LINENO: result
: $result" >&5
9146 echo "${ECHO_T}$result" >&6; }
9150 defaultval=$wxUSE_ALL_FEATURES
9151 if test -z "$defaultval"; then
9152 if test x"$enablestring" = xdisable; then
9159 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol" >&5
9160 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6; }
9161 # Check whether --enable-protocol was given.
9162 if test "${enable_protocol+set}" = set; then
9163 enableval=$enable_protocol;
9164 if test "$enableval" = yes; then
9165 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9167 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9173 LINE=`grep "^wxUSE_PROTOCOL
=" ${wx_arg_cache_file}`
9174 if test "x
$LINE" != x ; then
9175 eval "DEFAULT_
$LINE"
9181 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9186 eval "$wx_cv_use_protocol"
9187 if test "x$cache" = xyes
; then
9188 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9191 if test x
"$enablestring" = xdisable
; then
9192 if test $wxUSE_PROTOCOL = yes; then
9198 result
=$wxUSE_PROTOCOL
9201 { echo "$as_me:$LINENO: result: $result" >&5
9202 echo "${ECHO_T}$result" >&6; }
9206 defaultval
=$wxUSE_ALL_FEATURES
9207 if test -z "$defaultval"; then
9208 if test x
"$enablestring" = xdisable
; then
9215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9216 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9217 # Check whether --enable-protocol_http was given.
9218 if test "${enable_protocol_http+set}" = set; then
9219 enableval
=$enable_protocol_http;
9220 if test "$enableval" = yes; then
9221 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
9223 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
9229 LINE
=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9230 if test "x$LINE" != x
; then
9231 eval "DEFAULT_$LINE"
9237 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9242 eval "$wx_cv_use_protocol_http"
9243 if test "x$cache" = xyes; then
9244 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9247 if test x"$enablestring" = xdisable; then
9248 if test $wxUSE_PROTOCOL_HTTP = yes; then
9254 result=$wxUSE_PROTOCOL_HTTP
9257 { echo "$as_me:$LINENO: result: $result" >&5
9258 echo "${ECHO_T}$result" >&6; }
9262 defaultval=$wxUSE_ALL_FEATURES
9263 if test -z "$defaultval"; then
9264 if test x"$enablestring" = xdisable; then
9271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9272 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9273 # Check whether --enable-protocol_ftp was given.
9274 if test "${enable_protocol_ftp+set}" = set; then
9275 enableval=$enable_protocol_ftp;
9276 if test "$enableval" = yes; then
9277 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
9279 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
9285 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9286 if test "x$LINE" != x ; then
9287 eval "DEFAULT_$LINE"
9293 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9298 eval "$wx_cv_use_protocol_ftp"
9299 if test "x
$cache" = xyes; then
9300 echo "wxUSE_PROTOCOL_FTP
=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9303 if test x"$enablestring" = xdisable; then
9304 if test $wxUSE_PROTOCOL_FTP = yes; then
9310 result=$wxUSE_PROTOCOL_FTP
9313 { echo "$as_me:$LINENO: result
: $result" >&5
9314 echo "${ECHO_T}$result" >&6; }
9318 defaultval=$wxUSE_ALL_FEATURES
9319 if test -z "$defaultval"; then
9320 if test x"$enablestring" = xdisable; then
9327 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_file" >&5
9328 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6; }
9329 # Check whether --enable-protocol_file was given.
9330 if test "${enable_protocol_file+set}" = set; then
9331 enableval=$enable_protocol_file;
9332 if test "$enableval" = yes; then
9333 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9335 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9341 LINE=`grep "^wxUSE_PROTOCOL_FILE
=" ${wx_arg_cache_file}`
9342 if test "x
$LINE" != x ; then
9343 eval "DEFAULT_
$LINE"
9349 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9354 eval "$wx_cv_use_protocol_file"
9355 if test "x$cache" = xyes
; then
9356 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9359 if test x
"$enablestring" = xdisable
; then
9360 if test $wxUSE_PROTOCOL_FILE = yes; then
9366 result
=$wxUSE_PROTOCOL_FILE
9369 { echo "$as_me:$LINENO: result: $result" >&5
9370 echo "${ECHO_T}$result" >&6; }
9375 defaultval
=$wxUSE_ALL_FEATURES
9376 if test -z "$defaultval"; then
9377 if test x
"$enablestring" = xdisable
; then
9384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9385 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9386 # Check whether --enable-threads was given.
9387 if test "${enable_threads+set}" = set; then
9388 enableval
=$enable_threads;
9389 if test "$enableval" = yes; then
9390 wx_cv_use_threads
='wxUSE_THREADS=yes'
9392 wx_cv_use_threads
='wxUSE_THREADS=no'
9398 LINE
=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9399 if test "x$LINE" != x
; then
9400 eval "DEFAULT_$LINE"
9406 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9411 eval "$wx_cv_use_threads"
9412 if test "x$cache" = xyes; then
9413 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9416 if test x"$enablestring" = xdisable; then
9417 if test $wxUSE_THREADS = yes; then
9423 result=$wxUSE_THREADS
9426 { echo "$as_me:$LINENO: result: $result" >&5
9427 echo "${ECHO_T}$result" >&6; }
9433 if test -z "$defaultval"; then
9434 if test x"$enablestring" = xdisable; then
9441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
9442 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
9443 # Check whether --enable-iniconf was given.
9444 if test "${enable_iniconf+set}" = set; then
9445 enableval=$enable_iniconf;
9446 if test "$enableval" = yes; then
9447 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
9449 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
9455 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
9456 if test "x$LINE" != x ; then
9457 eval "DEFAULT_$LINE"
9463 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9468 eval "$wx_cv_use_iniconf"
9469 if test "x
$cache" = xyes; then
9470 echo "wxUSE_INICONF
=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9473 if test x"$enablestring" = xdisable; then
9474 if test $wxUSE_INICONF = yes; then
9480 result=$wxUSE_INICONF
9483 { echo "$as_me:$LINENO: result
: $result" >&5
9484 echo "${ECHO_T}$result" >&6; }
9488 defaultval=$wxUSE_ALL_FEATURES
9489 if test -z "$defaultval"; then
9490 if test x"$enablestring" = xdisable; then
9497 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
9498 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6; }
9499 # Check whether --enable-regkey was given.
9500 if test "${enable_regkey+set}" = set; then
9501 enableval=$enable_regkey;
9502 if test "$enableval" = yes; then
9503 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9505 wx_cv_use_regkey='wxUSE_REGKEY=no'
9511 LINE=`grep "^wxUSE_REGKEY
=" ${wx_arg_cache_file}`
9512 if test "x
$LINE" != x ; then
9513 eval "DEFAULT_
$LINE"
9519 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9524 eval "$wx_cv_use_regkey"
9525 if test "x$cache" = xyes
; then
9526 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9529 if test x
"$enablestring" = xdisable
; then
9530 if test $wxUSE_REGKEY = yes; then
9536 result
=$wxUSE_REGKEY
9539 { echo "$as_me:$LINENO: result: $result" >&5
9540 echo "${ECHO_T}$result" >&6; }
9543 if test "$wxUSE_GUI" = "yes"; then
9548 defaultval
=$wxUSE_ALL_FEATURES
9549 if test -z "$defaultval"; then
9550 if test x
"$enablestring" = xdisable
; then
9557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9558 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9559 # Check whether --enable-docview was given.
9560 if test "${enable_docview+set}" = set; then
9561 enableval
=$enable_docview;
9562 if test "$enableval" = yes; then
9563 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9565 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9571 LINE
=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9572 if test "x$LINE" != x
; then
9573 eval "DEFAULT_$LINE"
9579 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9584 eval "$wx_cv_use_docview"
9585 if test "x$cache" = xyes; then
9586 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9589 if test x"$enablestring" = xdisable; then
9590 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9596 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9599 { echo "$as_me:$LINENO: result: $result" >&5
9600 echo "${ECHO_T}$result" >&6; }
9604 defaultval=$wxUSE_ALL_FEATURES
9605 if test -z "$defaultval"; then
9606 if test x"$enablestring" = xdisable; then
9613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9614 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9615 # Check whether --enable-help was given.
9616 if test "${enable_help+set}" = set; then
9617 enableval=$enable_help;
9618 if test "$enableval" = yes; then
9619 wx_cv_use_help='wxUSE_HELP
=yes'
9621 wx_cv_use_help='wxUSE_HELP
=no
'
9627 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9628 if test "x$LINE" != x ; then
9629 eval "DEFAULT_$LINE"
9635 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9640 eval "$wx_cv_use_help"
9641 if test "x
$cache" = xyes; then
9642 echo "wxUSE_HELP
=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9645 if test x"$enablestring" = xdisable; then
9646 if test $wxUSE_HELP = yes; then
9655 { echo "$as_me:$LINENO: result
: $result" >&5
9656 echo "${ECHO_T}$result" >&6; }
9660 defaultval=$wxUSE_ALL_FEATURES
9661 if test -z "$defaultval"; then
9662 if test x"$enablestring" = xdisable; then
9669 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
9670 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6; }
9671 # Check whether --enable-mshtmlhelp was given.
9672 if test "${enable_mshtmlhelp+set}" = set; then
9673 enableval=$enable_mshtmlhelp;
9674 if test "$enableval" = yes; then
9675 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9677 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9683 LINE=`grep "^wxUSE_MS_HTML_HELP
=" ${wx_arg_cache_file}`
9684 if test "x
$LINE" != x ; then
9685 eval "DEFAULT_
$LINE"
9691 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9696 eval "$wx_cv_use_mshtmlhelp"
9697 if test "x$cache" = xyes
; then
9698 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9701 if test x
"$enablestring" = xdisable
; then
9702 if test $wxUSE_MS_HTML_HELP = yes; then
9708 result
=$wxUSE_MS_HTML_HELP
9711 { echo "$as_me:$LINENO: result: $result" >&5
9712 echo "${ECHO_T}$result" >&6; }
9716 defaultval
=$wxUSE_ALL_FEATURES
9717 if test -z "$defaultval"; then
9718 if test x
"$enablestring" = xdisable
; then
9725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9726 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9727 # Check whether --enable-html was given.
9728 if test "${enable_html+set}" = set; then
9729 enableval
=$enable_html;
9730 if test "$enableval" = yes; then
9731 wx_cv_use_html
='wxUSE_HTML=yes'
9733 wx_cv_use_html
='wxUSE_HTML=no'
9739 LINE
=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9740 if test "x$LINE" != x
; then
9741 eval "DEFAULT_$LINE"
9747 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9752 eval "$wx_cv_use_html"
9753 if test "x$cache" = xyes; then
9754 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9757 if test x"$enablestring" = xdisable; then
9758 if test $wxUSE_HTML = yes; then
9767 { echo "$as_me:$LINENO: result: $result" >&5
9768 echo "${ECHO_T}$result" >&6; }
9772 defaultval=$wxUSE_ALL_FEATURES
9773 if test -z "$defaultval"; then
9774 if test x"$enablestring" = xdisable; then
9781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9782 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9783 # Check whether --enable-htmlhelp was given.
9784 if test "${enable_htmlhelp+set}" = set; then
9785 enableval=$enable_htmlhelp;
9786 if test "$enableval" = yes; then
9787 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
9789 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
9795 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9796 if test "x$LINE" != x ; then
9797 eval "DEFAULT_$LINE"
9803 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9808 eval "$wx_cv_use_htmlhelp"
9809 if test "x
$cache" = xyes; then
9810 echo "wxUSE_WXHTML_HELP
=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9813 if test x"$enablestring" = xdisable; then
9814 if test $wxUSE_WXHTML_HELP = yes; then
9820 result=$wxUSE_WXHTML_HELP
9823 { echo "$as_me:$LINENO: result
: $result" >&5
9824 echo "${ECHO_T}$result" >&6; }
9828 defaultval=$wxUSE_ALL_FEATURES
9829 if test -z "$defaultval"; then
9830 if test x"$enablestring" = xdisable; then
9837 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
9838 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6; }
9839 # Check whether --enable-xrc was given.
9840 if test "${enable_xrc+set}" = set; then
9841 enableval=$enable_xrc;
9842 if test "$enableval" = yes; then
9843 wx_cv_use_xrc='wxUSE_XRC=yes'
9845 wx_cv_use_xrc='wxUSE_XRC=no'
9851 LINE=`grep "^wxUSE_XRC
=" ${wx_arg_cache_file}`
9852 if test "x
$LINE" != x ; then
9853 eval "DEFAULT_
$LINE"
9859 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9864 eval "$wx_cv_use_xrc"
9865 if test "x$cache" = xyes
; then
9866 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9869 if test x
"$enablestring" = xdisable
; then
9870 if test $wxUSE_XRC = yes; then
9879 { echo "$as_me:$LINENO: result: $result" >&5
9880 echo "${ECHO_T}$result" >&6; }
9884 defaultval
=$wxUSE_ALL_FEATURES
9885 if test -z "$defaultval"; then
9886 if test x
"$enablestring" = xdisable
; then
9893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9894 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9895 # Check whether --enable-aui was given.
9896 if test "${enable_aui+set}" = set; then
9897 enableval
=$enable_aui;
9898 if test "$enableval" = yes; then
9899 wx_cv_use_aui
='wxUSE_AUI=yes'
9901 wx_cv_use_aui
='wxUSE_AUI=no'
9907 LINE
=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9908 if test "x$LINE" != x
; then
9909 eval "DEFAULT_$LINE"
9915 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9920 eval "$wx_cv_use_aui"
9921 if test "x$cache" = xyes; then
9922 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9925 if test x"$enablestring" = xdisable; then
9926 if test $wxUSE_AUI = yes; then
9935 { echo "$as_me:$LINENO: result: $result" >&5
9936 echo "${ECHO_T}$result" >&6; }
9940 defaultval=$wxUSE_ALL_FEATURES
9941 if test -z "$defaultval"; then
9942 if test x"$enablestring" = xdisable; then
9949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9950 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9951 # Check whether --enable-stc was given.
9952 if test "${enable_stc+set}" = set; then
9953 enableval=$enable_stc;
9954 if test "$enableval" = yes; then
9955 wx_cv_use_stc='wxUSE_STC
=yes'
9957 wx_cv_use_stc='wxUSE_STC
=no
'
9963 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9964 if test "x$LINE" != x ; then
9965 eval "DEFAULT_$LINE"
9971 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
9976 eval "$wx_cv_use_stc"
9977 if test "x
$cache" = xyes; then
9978 echo "wxUSE_STC
=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9981 if test x"$enablestring" = xdisable; then
9982 if test $wxUSE_STC = yes; then
9991 { echo "$as_me:$LINENO: result
: $result" >&5
9992 echo "${ECHO_T}$result" >&6; }
9996 defaultval=$wxUSE_ALL_FEATURES
9997 if test -z "$defaultval"; then
9998 if test x"$enablestring" = xdisable; then
10005 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-constraints" >&5
10006 echo $ECHO_N "checking
for --${enablestring:-enable}-constraints...
$ECHO_C" >&6; }
10007 # Check whether --enable-constraints was given.
10008 if test "${enable_constraints+set}" = set; then
10009 enableval=$enable_constraints;
10010 if test "$enableval" = yes; then
10011 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10013 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10019 LINE=`grep "^wxUSE_CONSTRAINTS
=" ${wx_arg_cache_file}`
10020 if test "x
$LINE" != x ; then
10021 eval "DEFAULT_
$LINE"
10027 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10032 eval "$wx_cv_use_constraints"
10033 if test "x$cache" = xyes
; then
10034 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
10037 if test x
"$enablestring" = xdisable
; then
10038 if test $wxUSE_CONSTRAINTS = yes; then
10044 result
=$wxUSE_CONSTRAINTS
10047 { echo "$as_me:$LINENO: result: $result" >&5
10048 echo "${ECHO_T}$result" >&6; }
10052 defaultval
=$wxUSE_ALL_FEATURES
10053 if test -z "$defaultval"; then
10054 if test x
"$enablestring" = xdisable
; then
10061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
10062 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
10063 # Check whether --enable-printarch was given.
10064 if test "${enable_printarch+set}" = set; then
10065 enableval
=$enable_printarch;
10066 if test "$enableval" = yes; then
10067 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
10069 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
10075 LINE
=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
10076 if test "x$LINE" != x
; then
10077 eval "DEFAULT_$LINE"
10083 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10088 eval "$wx_cv_use_printarch"
10089 if test "x$cache" = xyes; then
10090 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10093 if test x"$enablestring" = xdisable; then
10094 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10100 result=$wxUSE_PRINTING_ARCHITECTURE
10103 { echo "$as_me:$LINENO: result: $result" >&5
10104 echo "${ECHO_T}$result" >&6; }
10108 defaultval=$wxUSE_ALL_FEATURES
10109 if test -z "$defaultval"; then
10110 if test x"$enablestring" = xdisable; then
10117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
10118 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
10119 # Check whether --enable-mdi was given.
10120 if test "${enable_mdi+set}" = set; then
10121 enableval=$enable_mdi;
10122 if test "$enableval" = yes; then
10123 wx_cv_use_mdi='wxUSE_MDI
=yes'
10125 wx_cv_use_mdi='wxUSE_MDI
=no
'
10131 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
10132 if test "x$LINE" != x ; then
10133 eval "DEFAULT_$LINE"
10139 wx_cv_use_mdi='wxUSE_MDI
=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10144 eval "$wx_cv_use_mdi"
10145 if test "x
$cache" = xyes; then
10146 echo "wxUSE_MDI
=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10149 if test x"$enablestring" = xdisable; then
10150 if test $wxUSE_MDI = yes; then
10159 { echo "$as_me:$LINENO: result
: $result" >&5
10160 echo "${ECHO_T}$result" >&6; }
10164 defaultval=$wxUSE_ALL_FEATURES
10165 if test -z "$defaultval"; then
10166 if test x"$enablestring" = xdisable; then
10173 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdidoc" >&5
10174 echo $ECHO_N "checking
for --${enablestring:-enable}-mdidoc...
$ECHO_C" >&6; }
10175 # Check whether --enable-mdidoc was given.
10176 if test "${enable_mdidoc+set}" = set; then
10177 enableval=$enable_mdidoc;
10178 if test "$enableval" = yes; then
10179 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10181 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10187 LINE=`grep "^wxUSE_MDI_ARCHITECTURE
=" ${wx_arg_cache_file}`
10188 if test "x
$LINE" != x ; then
10189 eval "DEFAULT_
$LINE"
10195 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10200 eval "$wx_cv_use_mdidoc"
10201 if test "x$cache" = xyes
; then
10202 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10205 if test x
"$enablestring" = xdisable
; then
10206 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10212 result
=$wxUSE_MDI_ARCHITECTURE
10215 { echo "$as_me:$LINENO: result: $result" >&5
10216 echo "${ECHO_T}$result" >&6; }
10220 defaultval
=$wxUSE_ALL_FEATURES
10221 if test -z "$defaultval"; then
10222 if test x
"$enablestring" = xdisable
; then
10229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10230 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10231 # Check whether --enable-loggui was given.
10232 if test "${enable_loggui+set}" = set; then
10233 enableval
=$enable_loggui;
10234 if test "$enableval" = yes; then
10235 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
10237 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
10243 LINE
=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10244 if test "x$LINE" != x
; then
10245 eval "DEFAULT_$LINE"
10251 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10256 eval "$wx_cv_use_loggui"
10257 if test "x$cache" = xyes; then
10258 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10261 if test x"$enablestring" = xdisable; then
10262 if test $wxUSE_LOGGUI = yes; then
10268 result=$wxUSE_LOGGUI
10271 { echo "$as_me:$LINENO: result: $result" >&5
10272 echo "${ECHO_T}$result" >&6; }
10276 defaultval=$wxUSE_ALL_FEATURES
10277 if test -z "$defaultval"; then
10278 if test x"$enablestring" = xdisable; then
10285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10286 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10287 # Check whether --enable-logwin was given.
10288 if test "${enable_logwin+set}" = set; then
10289 enableval=$enable_logwin;
10290 if test "$enableval" = yes; then
10291 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
10293 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
10299 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10300 if test "x$LINE" != x ; then
10301 eval "DEFAULT_$LINE"
10307 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10312 eval "$wx_cv_use_logwin"
10313 if test "x
$cache" = xyes; then
10314 echo "wxUSE_LOGWINDOW
=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10317 if test x"$enablestring" = xdisable; then
10318 if test $wxUSE_LOGWINDOW = yes; then
10324 result=$wxUSE_LOGWINDOW
10327 { echo "$as_me:$LINENO: result
: $result" >&5
10328 echo "${ECHO_T}$result" >&6; }
10332 defaultval=$wxUSE_ALL_FEATURES
10333 if test -z "$defaultval"; then
10334 if test x"$enablestring" = xdisable; then
10341 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logdialog" >&5
10342 echo $ECHO_N "checking
for --${enablestring:-enable}-logdialog...
$ECHO_C" >&6; }
10343 # Check whether --enable-logdialog was given.
10344 if test "${enable_logdialog+set}" = set; then
10345 enableval=$enable_logdialog;
10346 if test "$enableval" = yes; then
10347 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10349 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10355 LINE=`grep "^wxUSE_LOGDIALOG
=" ${wx_arg_cache_file}`
10356 if test "x
$LINE" != x ; then
10357 eval "DEFAULT_
$LINE"
10363 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10368 eval "$wx_cv_use_logdialog"
10369 if test "x$cache" = xyes
; then
10370 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10373 if test x
"$enablestring" = xdisable
; then
10374 if test $wxUSE_LOGDIALOG = yes; then
10380 result
=$wxUSE_LOGDIALOG
10383 { echo "$as_me:$LINENO: result: $result" >&5
10384 echo "${ECHO_T}$result" >&6; }
10388 defaultval
=$wxUSE_ALL_FEATURES
10389 if test -z "$defaultval"; then
10390 if test x
"$enablestring" = xdisable
; then
10397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10398 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10399 # Check whether --enable-webkit was given.
10400 if test "${enable_webkit+set}" = set; then
10401 enableval
=$enable_webkit;
10402 if test "$enableval" = yes; then
10403 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
10405 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
10411 LINE
=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10412 if test "x$LINE" != x
; then
10413 eval "DEFAULT_$LINE"
10419 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10424 eval "$wx_cv_use_webkit"
10425 if test "x$cache" = xyes; then
10426 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10429 if test x"$enablestring" = xdisable; then
10430 if test $wxUSE_WEBKIT = yes; then
10436 result=$wxUSE_WEBKIT
10439 { echo "$as_me:$LINENO: result: $result" >&5
10440 echo "${ECHO_T}$result" >&6; }
10444 defaultval=$wxUSE_ALL_FEATURES
10445 if test -z "$defaultval"; then
10446 if test x"$enablestring" = xdisable; then
10453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10454 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10455 # Check whether --enable-richtext was given.
10456 if test "${enable_richtext+set}" = set; then
10457 enableval=$enable_richtext;
10458 if test "$enableval" = yes; then
10459 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
10461 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
10467 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10468 if test "x$LINE" != x ; then
10469 eval "DEFAULT_$LINE"
10475 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10480 eval "$wx_cv_use_richtext"
10481 if test "x
$cache" = xyes; then
10482 echo "wxUSE_RICHTEXT
=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10485 if test x"$enablestring" = xdisable; then
10486 if test $wxUSE_RICHTEXT = yes; then
10492 result=$wxUSE_RICHTEXT
10495 { echo "$as_me:$LINENO: result
: $result" >&5
10496 echo "${ECHO_T}$result" >&6; }
10500 defaultval=$wxUSE_ALL_FEATURES
10501 if test -z "$defaultval"; then
10502 if test x"$enablestring" = xdisable; then
10509 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
10510 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
10511 # Check whether --enable-graphics_ctx was given.
10512 if test "${enable_graphics_ctx+set}" = set; then
10513 enableval=$enable_graphics_ctx;
10514 if test "$enableval" = yes; then
10515 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10517 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10523 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT
=" ${wx_arg_cache_file}`
10524 if test "x
$LINE" != x ; then
10525 eval "DEFAULT_
$LINE"
10531 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10536 eval "$wx_cv_use_graphics_ctx"
10537 if test "x$cache" = xyes
; then
10538 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10541 if test x
"$enablestring" = xdisable
; then
10542 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10548 result
=$wxUSE_GRAPHICS_CONTEXT
10551 { echo "$as_me:$LINENO: result: $result" >&5
10552 echo "${ECHO_T}$result" >&6; }
10556 defaultval
=$wxUSE_ALL_FEATURES
10557 if test -z "$defaultval"; then
10558 if test x
"$enablestring" = xdisable
; then
10565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10566 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10567 # Check whether --enable-postscript was given.
10568 if test "${enable_postscript+set}" = set; then
10569 enableval
=$enable_postscript;
10570 if test "$enableval" = yes; then
10571 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
10573 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
10579 LINE
=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10580 if test "x$LINE" != x
; then
10581 eval "DEFAULT_$LINE"
10587 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10592 eval "$wx_cv_use_postscript"
10593 if test "x$cache" = xyes; then
10594 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10597 if test x"$enablestring" = xdisable; then
10598 if test $wxUSE_POSTSCRIPT = yes; then
10604 result=$wxUSE_POSTSCRIPT
10607 { echo "$as_me:$LINENO: result: $result" >&5
10608 echo "${ECHO_T}$result" >&6; }
10612 defaultval=$wxUSE_ALL_FEATURES
10613 if test -z "$defaultval"; then
10614 if test x"$enablestring" = xdisable; then
10621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10622 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10623 # Check whether --enable-svg was given.
10624 if test "${enable_svg+set}" = set; then
10625 enableval=$enable_svg;
10626 if test "$enableval" = yes; then
10627 wx_cv_use_svg='wxUSE_SVG
=yes'
10629 wx_cv_use_svg='wxUSE_SVG
=no
'
10635 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10636 if test "x$LINE" != x ; then
10637 eval "DEFAULT_$LINE"
10643 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10648 eval "$wx_cv_use_svg"
10649 if test "x
$cache" = xyes; then
10650 echo "wxUSE_SVG
=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10653 if test x"$enablestring" = xdisable; then
10654 if test $wxUSE_SVG = yes; then
10663 { echo "$as_me:$LINENO: result
: $result" >&5
10664 echo "${ECHO_T}$result" >&6; }
10670 defaultval=$wxUSE_ALL_FEATURES
10671 if test -z "$defaultval"; then
10672 if test x"$enablestring" = xdisable; then
10679 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-clipboard" >&5
10680 echo $ECHO_N "checking
for --${enablestring:-enable}-clipboard...
$ECHO_C" >&6; }
10681 # Check whether --enable-clipboard was given.
10682 if test "${enable_clipboard+set}" = set; then
10683 enableval=$enable_clipboard;
10684 if test "$enableval" = yes; then
10685 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10687 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10693 LINE=`grep "^wxUSE_CLIPBOARD
=" ${wx_arg_cache_file}`
10694 if test "x
$LINE" != x ; then
10695 eval "DEFAULT_
$LINE"
10701 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10706 eval "$wx_cv_use_clipboard"
10707 if test "x$cache" = xyes
; then
10708 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10711 if test x
"$enablestring" = xdisable
; then
10712 if test $wxUSE_CLIPBOARD = yes; then
10718 result
=$wxUSE_CLIPBOARD
10721 { echo "$as_me:$LINENO: result: $result" >&5
10722 echo "${ECHO_T}$result" >&6; }
10726 defaultval
=$wxUSE_ALL_FEATURES
10727 if test -z "$defaultval"; then
10728 if test x
"$enablestring" = xdisable
; then
10735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10736 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10737 # Check whether --enable-dnd was given.
10738 if test "${enable_dnd+set}" = set; then
10739 enableval
=$enable_dnd;
10740 if test "$enableval" = yes; then
10741 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
10743 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
10749 LINE
=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10750 if test "x$LINE" != x
; then
10751 eval "DEFAULT_$LINE"
10757 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10762 eval "$wx_cv_use_dnd"
10763 if test "x$cache" = xyes; then
10764 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10767 if test x"$enablestring" = xdisable; then
10768 if test $wxUSE_DRAG_AND_DROP = yes; then
10774 result=$wxUSE_DRAG_AND_DROP
10777 { echo "$as_me:$LINENO: result: $result" >&5
10778 echo "${ECHO_T}$result" >&6; }
10782 defaultval=$wxUSE_ALL_FEATURES
10783 if test -z "$defaultval"; then
10784 if test x"$enablestring" = xdisable; then
10791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10792 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10793 # Check whether --enable-metafile was given.
10794 if test "${enable_metafile+set}" = set; then
10795 enableval=$enable_metafile;
10796 if test "$enableval" = yes; then
10797 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
10799 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
10805 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10806 if test "x$LINE" != x ; then
10807 eval "DEFAULT_$LINE"
10813 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10818 eval "$wx_cv_use_metafile"
10819 if test "x
$cache" = xyes; then
10820 echo "wxUSE_METAFILE
=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10823 if test x"$enablestring" = xdisable; then
10824 if test $wxUSE_METAFILE = yes; then
10830 result=$wxUSE_METAFILE
10833 { echo "$as_me:$LINENO: result
: $result" >&5
10834 echo "${ECHO_T}$result" >&6; }
10838 DEFAULT_wxUSE_CONTROLS=none
10840 enablestring=disable
10842 if test -z "$defaultval"; then
10843 if test x"$enablestring" = xdisable; then
10850 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-controls" >&5
10851 echo $ECHO_N "checking
for --${enablestring:-enable}-controls...
$ECHO_C" >&6; }
10852 # Check whether --enable-controls was given.
10853 if test "${enable_controls+set}" = set; then
10854 enableval=$enable_controls;
10855 if test "$enableval" = yes; then
10856 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10858 wx_cv_use_controls='wxUSE_CONTROLS=no'
10864 LINE=`grep "^wxUSE_CONTROLS
=" ${wx_arg_cache_file}`
10865 if test "x
$LINE" != x ; then
10866 eval "DEFAULT_
$LINE"
10872 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10877 eval "$wx_cv_use_controls"
10878 if test "x$cache" = xyes
; then
10879 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10882 if test x
"$enablestring" = xdisable
; then
10883 if test $wxUSE_CONTROLS = yes; then
10889 result
=$wxUSE_CONTROLS
10892 { echo "$as_me:$LINENO: result: $result" >&5
10893 echo "${ECHO_T}$result" >&6; }
10896 if test "$wxUSE_CONTROLS" = "yes"; then
10897 DEFAULT_wxUSE_ACCEL
=yes
10898 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
10899 DEFAULT_wxUSE_BMPBUTTON
=yes
10900 DEFAULT_wxUSE_BUTTON
=yes
10901 DEFAULT_wxUSE_CALCTRL
=yes
10902 DEFAULT_wxUSE_CARET
=yes
10903 DEFAULT_wxUSE_COMBOBOX
=yes
10904 DEFAULT_wxUSE_CHECKBOX
=yes
10905 DEFAULT_wxUSE_CHECKLISTBOX
=yes
10906 DEFAULT_wxUSE_CHOICE
=yes
10907 DEFAULT_wxUSE_CHOICEBOOK
=yes
10908 DEFAULT_wxUSE_COLLPANE
=yes
10909 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
10910 DEFAULT_wxUSE_COMBOBOX
=yes
10911 DEFAULT_wxUSE_DATEPICKCTRL
=yes
10912 DEFAULT_wxUSE_DISPLAY
=yes
10913 DEFAULT_wxUSE_DETECT_SM
=yes
10914 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
10915 DEFAULT_wxUSE_FILECTRL
=yes
10916 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
10917 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
10918 DEFAULT_wxUSE_GAUGE
=yes
10919 DEFAULT_wxUSE_GRID
=yes
10920 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
10921 DEFAULT_wxUSE_DATAVIEWCTRL
=no
10922 DEFAULT_wxUSE_IMAGLIST
=yes
10923 DEFAULT_wxUSE_LISTBOOK
=yes
10924 DEFAULT_wxUSE_LISTBOX
=yes
10925 DEFAULT_wxUSE_LISTCTRL
=yes
10926 DEFAULT_wxUSE_NOTEBOOK
=yes
10927 DEFAULT_wxUSE_RADIOBOX
=yes
10928 DEFAULT_wxUSE_RADIOBTN
=yes
10929 DEFAULT_wxUSE_SASH
=yes
10930 DEFAULT_wxUSE_SCROLLBAR
=yes
10931 DEFAULT_wxUSE_SEARCHCTRL
=yes
10932 DEFAULT_wxUSE_SLIDER
=yes
10933 DEFAULT_wxUSE_SPINBTN
=yes
10934 DEFAULT_wxUSE_SPINCTRL
=yes
10935 DEFAULT_wxUSE_SPLITTER
=yes
10936 DEFAULT_wxUSE_STATBMP
=yes
10937 DEFAULT_wxUSE_STATBOX
=yes
10938 DEFAULT_wxUSE_STATLINE
=yes
10939 DEFAULT_wxUSE_STATUSBAR
=yes
10940 DEFAULT_wxUSE_TAB_DIALOG
=yes
10941 DEFAULT_wxUSE_TOGGLEBTN
=yes
10942 DEFAULT_wxUSE_TOOLBAR
=yes
10943 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
10944 DEFAULT_wxUSE_TOOLTIPS
=yes
10945 DEFAULT_wxUSE_TREEBOOK
=yes
10946 DEFAULT_wxUSE_TOOLBOOK
=yes
10947 DEFAULT_wxUSE_TREECTRL
=yes
10948 DEFAULT_wxUSE_POPUPWIN
=yes
10949 DEFAULT_wxUSE_TIPWINDOW
=yes
10950 elif test "$wxUSE_CONTROLS" = "no"; then
10951 DEFAULT_wxUSE_ACCEL
=no
10952 DEFAULT_wxUSE_ANIMATIONCTRL
=no
10953 DEFAULT_wxUSE_BMPBUTTON
=no
10954 DEFAULT_wxUSE_BUTTON
=no
10955 DEFAULT_wxUSE_CALCTRL
=no
10956 DEFAULT_wxUSE_CARET
=no
10957 DEFAULT_wxUSE_COLLPANE
=no
10958 DEFAULT_wxUSE_COMBOBOX
=no
10959 DEFAULT_wxUSE_CHECKBOX
=no
10960 DEFAULT_wxUSE_CHECKLISTBOX
=no
10961 DEFAULT_wxUSE_CHOICE
=no
10962 DEFAULT_wxUSE_CHOICEBOOK
=no
10963 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
10964 DEFAULT_wxUSE_COMBOBOX
=no
10965 DEFAULT_wxUSE_DATEPICKCTRL
=no
10966 DEFAULT_wxUSE_DISPLAY
=no
10967 DEFAULT_wxUSE_DETECT_SM
=no
10968 DEFAULT_wxUSE_DIRPICKERCTRL
=no
10969 DEFAULT_wxUSE_FILECTRL
=no
10970 DEFAULT_wxUSE_FILEPICKERCTRL
=no
10971 DEFAULT_wxUSE_FONTPICKERCTRL
=no
10972 DEFAULT_wxUSE_GAUGE
=no
10973 DEFAULT_wxUSE_GRID
=no
10974 DEFAULT_wxUSE_HYPERLINKCTRL
=no
10975 DEFAULT_wxUSE_DATAVIEWCTRL
=no
10976 DEFAULT_wxUSE_IMAGLIST
=no
10977 DEFAULT_wxUSE_LISTBOOK
=no
10978 DEFAULT_wxUSE_LISTBOX
=no
10979 DEFAULT_wxUSE_LISTCTRL
=no
10980 DEFAULT_wxUSE_NOTEBOOK
=no
10981 DEFAULT_wxUSE_RADIOBOX
=no
10982 DEFAULT_wxUSE_RADIOBTN
=no
10983 DEFAULT_wxUSE_SASH
=no
10984 DEFAULT_wxUSE_SCROLLBAR
=no
10985 DEFAULT_wxUSE_SEARCHCTRL
=no
10986 DEFAULT_wxUSE_SLIDER
=no
10987 DEFAULT_wxUSE_SPINBTN
=no
10988 DEFAULT_wxUSE_SPINCTRL
=no
10989 DEFAULT_wxUSE_SPLITTER
=no
10990 DEFAULT_wxUSE_STATBMP
=no
10991 DEFAULT_wxUSE_STATBOX
=no
10992 DEFAULT_wxUSE_STATLINE
=no
10993 DEFAULT_wxUSE_STATUSBAR
=no
10994 DEFAULT_wxUSE_TAB_DIALOG
=no
10995 DEFAULT_wxUSE_TOGGLEBTN
=no
10996 DEFAULT_wxUSE_TOOLBAR
=no
10997 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
10998 DEFAULT_wxUSE_TOOLTIPS
=no
10999 DEFAULT_wxUSE_TREEBOOK
=no
11000 DEFAULT_wxUSE_TOOLBOOK
=no
11001 DEFAULT_wxUSE_TREECTRL
=no
11002 DEFAULT_wxUSE_POPUPWIN
=no
11003 DEFAULT_wxUSE_TIPWINDOW
=no
11008 defaultval
=$wxUSE_ALL_FEATURES
11009 if test -z "$defaultval"; then
11010 if test x
"$enablestring" = xdisable
; then
11017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
11018 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
11019 # Check whether --enable-accel was given.
11020 if test "${enable_accel+set}" = set; then
11021 enableval
=$enable_accel;
11022 if test "$enableval" = yes; then
11023 wx_cv_use_accel
='wxUSE_ACCEL=yes'
11025 wx_cv_use_accel
='wxUSE_ACCEL=no'
11031 LINE
=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
11032 if test "x$LINE" != x
; then
11033 eval "DEFAULT_$LINE"
11039 wx_cv_use_accel
='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11044 eval "$wx_cv_use_accel"
11045 if test "x$cache" = xyes; then
11046 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
11049 if test x"$enablestring" = xdisable; then
11050 if test $wxUSE_ACCEL = yes; then
11056 result=$wxUSE_ACCEL
11059 { echo "$as_me:$LINENO: result: $result" >&5
11060 echo "${ECHO_T}$result" >&6; }
11064 defaultval=$wxUSE_ALL_FEATURES
11065 if test -z "$defaultval"; then
11066 if test x"$enablestring" = xdisable; then
11073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
11074 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
11075 # Check whether --enable-animatectrl was given.
11076 if test "${enable_animatectrl+set}" = set; then
11077 enableval=$enable_animatectrl;
11078 if test "$enableval" = yes; then
11079 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
11081 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
11087 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
11088 if test "x$LINE" != x ; then
11089 eval "DEFAULT_$LINE"
11095 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11100 eval "$wx_cv_use_animatectrl"
11101 if test "x
$cache" = xyes; then
11102 echo "wxUSE_ANIMATIONCTRL
=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11105 if test x"$enablestring" = xdisable; then
11106 if test $wxUSE_ANIMATIONCTRL = yes; then
11112 result=$wxUSE_ANIMATIONCTRL
11115 { echo "$as_me:$LINENO: result
: $result" >&5
11116 echo "${ECHO_T}$result" >&6; }
11120 defaultval=$wxUSE_ALL_FEATURES
11121 if test -z "$defaultval"; then
11122 if test x"$enablestring" = xdisable; then
11129 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
11130 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
11131 # Check whether --enable-button was given.
11132 if test "${enable_button+set}" = set; then
11133 enableval=$enable_button;
11134 if test "$enableval" = yes; then
11135 wx_cv_use_button='wxUSE_BUTTON=yes'
11137 wx_cv_use_button='wxUSE_BUTTON=no'
11143 LINE=`grep "^wxUSE_BUTTON
=" ${wx_arg_cache_file}`
11144 if test "x
$LINE" != x ; then
11145 eval "DEFAULT_
$LINE"
11151 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11156 eval "$wx_cv_use_button"
11157 if test "x$cache" = xyes
; then
11158 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11161 if test x
"$enablestring" = xdisable
; then
11162 if test $wxUSE_BUTTON = yes; then
11168 result
=$wxUSE_BUTTON
11171 { echo "$as_me:$LINENO: result: $result" >&5
11172 echo "${ECHO_T}$result" >&6; }
11176 defaultval
=$wxUSE_ALL_FEATURES
11177 if test -z "$defaultval"; then
11178 if test x
"$enablestring" = xdisable
; then
11185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11186 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11187 # Check whether --enable-bmpbutton was given.
11188 if test "${enable_bmpbutton+set}" = set; then
11189 enableval
=$enable_bmpbutton;
11190 if test "$enableval" = yes; then
11191 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
11193 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
11199 LINE
=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11200 if test "x$LINE" != x
; then
11201 eval "DEFAULT_$LINE"
11207 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11212 eval "$wx_cv_use_bmpbutton"
11213 if test "x$cache" = xyes; then
11214 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11217 if test x"$enablestring" = xdisable; then
11218 if test $wxUSE_BMPBUTTON = yes; then
11224 result=$wxUSE_BMPBUTTON
11227 { echo "$as_me:$LINENO: result: $result" >&5
11228 echo "${ECHO_T}$result" >&6; }
11232 defaultval=$wxUSE_ALL_FEATURES
11233 if test -z "$defaultval"; then
11234 if test x"$enablestring" = xdisable; then
11241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11242 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11243 # Check whether --enable-bmpcombobox was given.
11244 if test "${enable_bmpcombobox+set}" = set; then
11245 enableval=$enable_bmpcombobox;
11246 if test "$enableval" = yes; then
11247 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
11249 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
11255 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11256 if test "x$LINE" != x ; then
11257 eval "DEFAULT_$LINE"
11263 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11268 eval "$wx_cv_use_bmpcombobox"
11269 if test "x
$cache" = xyes; then
11270 echo "wxUSE_BITMAPCOMBOBOX
=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11273 if test x"$enablestring" = xdisable; then
11274 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11280 result=$wxUSE_BITMAPCOMBOBOX
11283 { echo "$as_me:$LINENO: result
: $result" >&5
11284 echo "${ECHO_T}$result" >&6; }
11288 defaultval=$wxUSE_ALL_FEATURES
11289 if test -z "$defaultval"; then
11290 if test x"$enablestring" = xdisable; then
11297 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-calendar" >&5
11298 echo $ECHO_N "checking
for --${enablestring:-enable}-calendar...
$ECHO_C" >&6; }
11299 # Check whether --enable-calendar was given.
11300 if test "${enable_calendar+set}" = set; then
11301 enableval=$enable_calendar;
11302 if test "$enableval" = yes; then
11303 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11305 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11311 LINE=`grep "^wxUSE_CALCTRL
=" ${wx_arg_cache_file}`
11312 if test "x
$LINE" != x ; then
11313 eval "DEFAULT_
$LINE"
11319 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11324 eval "$wx_cv_use_calendar"
11325 if test "x$cache" = xyes
; then
11326 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11329 if test x
"$enablestring" = xdisable
; then
11330 if test $wxUSE_CALCTRL = yes; then
11336 result
=$wxUSE_CALCTRL
11339 { echo "$as_me:$LINENO: result: $result" >&5
11340 echo "${ECHO_T}$result" >&6; }
11344 defaultval
=$wxUSE_ALL_FEATURES
11345 if test -z "$defaultval"; then
11346 if test x
"$enablestring" = xdisable
; then
11353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11354 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11355 # Check whether --enable-caret was given.
11356 if test "${enable_caret+set}" = set; then
11357 enableval
=$enable_caret;
11358 if test "$enableval" = yes; then
11359 wx_cv_use_caret
='wxUSE_CARET=yes'
11361 wx_cv_use_caret
='wxUSE_CARET=no'
11367 LINE
=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11368 if test "x$LINE" != x
; then
11369 eval "DEFAULT_$LINE"
11375 wx_cv_use_caret
='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11380 eval "$wx_cv_use_caret"
11381 if test "x$cache" = xyes; then
11382 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11385 if test x"$enablestring" = xdisable; then
11386 if test $wxUSE_CARET = yes; then
11392 result=$wxUSE_CARET
11395 { echo "$as_me:$LINENO: result: $result" >&5
11396 echo "${ECHO_T}$result" >&6; }
11400 defaultval=$wxUSE_ALL_FEATURES
11401 if test -z "$defaultval"; then
11402 if test x"$enablestring" = xdisable; then
11409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11410 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11411 # Check whether --enable-checkbox was given.
11412 if test "${enable_checkbox+set}" = set; then
11413 enableval=$enable_checkbox;
11414 if test "$enableval" = yes; then
11415 wx_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
11417 wx_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
11423 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11424 if test "x$LINE" != x ; then
11425 eval "DEFAULT_$LINE"
11431 wx_cv_use_checkbox='wxUSE_CHECKBOX
=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11436 eval "$wx_cv_use_checkbox"
11437 if test "x
$cache" = xyes; then
11438 echo "wxUSE_CHECKBOX
=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11441 if test x"$enablestring" = xdisable; then
11442 if test $wxUSE_CHECKBOX = yes; then
11448 result=$wxUSE_CHECKBOX
11451 { echo "$as_me:$LINENO: result
: $result" >&5
11452 echo "${ECHO_T}$result" >&6; }
11456 defaultval=$wxUSE_ALL_FEATURES
11457 if test -z "$defaultval"; then
11458 if test x"$enablestring" = xdisable; then
11465 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checklst" >&5
11466 echo $ECHO_N "checking
for --${enablestring:-enable}-checklst...
$ECHO_C" >&6; }
11467 # Check whether --enable-checklst was given.
11468 if test "${enable_checklst+set}" = set; then
11469 enableval=$enable_checklst;
11470 if test "$enableval" = yes; then
11471 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11473 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11479 LINE=`grep "^wxUSE_CHECKLST
=" ${wx_arg_cache_file}`
11480 if test "x
$LINE" != x ; then
11481 eval "DEFAULT_
$LINE"
11487 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11492 eval "$wx_cv_use_checklst"
11493 if test "x$cache" = xyes
; then
11494 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11497 if test x
"$enablestring" = xdisable
; then
11498 if test $wxUSE_CHECKLST = yes; then
11504 result
=$wxUSE_CHECKLST
11507 { echo "$as_me:$LINENO: result: $result" >&5
11508 echo "${ECHO_T}$result" >&6; }
11512 defaultval
=$wxUSE_ALL_FEATURES
11513 if test -z "$defaultval"; then
11514 if test x
"$enablestring" = xdisable
; then
11521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11522 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11523 # Check whether --enable-choice was given.
11524 if test "${enable_choice+set}" = set; then
11525 enableval
=$enable_choice;
11526 if test "$enableval" = yes; then
11527 wx_cv_use_choice
='wxUSE_CHOICE=yes'
11529 wx_cv_use_choice
='wxUSE_CHOICE=no'
11535 LINE
=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11536 if test "x$LINE" != x
; then
11537 eval "DEFAULT_$LINE"
11543 wx_cv_use_choice
='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11548 eval "$wx_cv_use_choice"
11549 if test "x$cache" = xyes; then
11550 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11553 if test x"$enablestring" = xdisable; then
11554 if test $wxUSE_CHOICE = yes; then
11560 result=$wxUSE_CHOICE
11563 { echo "$as_me:$LINENO: result: $result" >&5
11564 echo "${ECHO_T}$result" >&6; }
11568 defaultval=$wxUSE_ALL_FEATURES
11569 if test -z "$defaultval"; then
11570 if test x"$enablestring" = xdisable; then
11577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11578 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11579 # Check whether --enable-choicebook was given.
11580 if test "${enable_choicebook+set}" = set; then
11581 enableval=$enable_choicebook;
11582 if test "$enableval" = yes; then
11583 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
11585 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
11591 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11592 if test "x$LINE" != x ; then
11593 eval "DEFAULT_$LINE"
11599 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11604 eval "$wx_cv_use_choicebook"
11605 if test "x
$cache" = xyes; then
11606 echo "wxUSE_CHOICEBOOK
=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11609 if test x"$enablestring" = xdisable; then
11610 if test $wxUSE_CHOICEBOOK = yes; then
11616 result=$wxUSE_CHOICEBOOK
11619 { echo "$as_me:$LINENO: result
: $result" >&5
11620 echo "${ECHO_T}$result" >&6; }
11624 defaultval=$wxUSE_ALL_FEATURES
11625 if test -z "$defaultval"; then
11626 if test x"$enablestring" = xdisable; then
11633 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-collpane" >&5
11634 echo $ECHO_N "checking
for --${enablestring:-enable}-collpane...
$ECHO_C" >&6; }
11635 # Check whether --enable-collpane was given.
11636 if test "${enable_collpane+set}" = set; then
11637 enableval=$enable_collpane;
11638 if test "$enableval" = yes; then
11639 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11641 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11647 LINE=`grep "^wxUSE_COLLPANE
=" ${wx_arg_cache_file}`
11648 if test "x
$LINE" != x ; then
11649 eval "DEFAULT_
$LINE"
11655 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11660 eval "$wx_cv_use_collpane"
11661 if test "x$cache" = xyes
; then
11662 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11665 if test x
"$enablestring" = xdisable
; then
11666 if test $wxUSE_COLLPANE = yes; then
11672 result
=$wxUSE_COLLPANE
11675 { echo "$as_me:$LINENO: result: $result" >&5
11676 echo "${ECHO_T}$result" >&6; }
11680 defaultval
=$wxUSE_ALL_FEATURES
11681 if test -z "$defaultval"; then
11682 if test x
"$enablestring" = xdisable
; then
11689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11690 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11691 # Check whether --enable-colourpicker was given.
11692 if test "${enable_colourpicker+set}" = set; then
11693 enableval
=$enable_colourpicker;
11694 if test "$enableval" = yes; then
11695 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
11697 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
11703 LINE
=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11704 if test "x$LINE" != x
; then
11705 eval "DEFAULT_$LINE"
11711 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11716 eval "$wx_cv_use_colourpicker"
11717 if test "x$cache" = xyes; then
11718 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11721 if test x"$enablestring" = xdisable; then
11722 if test $wxUSE_COLOURPICKERCTRL = yes; then
11728 result=$wxUSE_COLOURPICKERCTRL
11731 { echo "$as_me:$LINENO: result: $result" >&5
11732 echo "${ECHO_T}$result" >&6; }
11736 defaultval=$wxUSE_ALL_FEATURES
11737 if test -z "$defaultval"; then
11738 if test x"$enablestring" = xdisable; then
11745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11746 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11747 # Check whether --enable-combobox was given.
11748 if test "${enable_combobox+set}" = set; then
11749 enableval=$enable_combobox;
11750 if test "$enableval" = yes; then
11751 wx_cv_use_combobox='wxUSE_COMBOBOX
=yes'
11753 wx_cv_use_combobox='wxUSE_COMBOBOX
=no
'
11759 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11760 if test "x$LINE" != x ; then
11761 eval "DEFAULT_$LINE"
11767 wx_cv_use_combobox='wxUSE_COMBOBOX
=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11772 eval "$wx_cv_use_combobox"
11773 if test "x
$cache" = xyes; then
11774 echo "wxUSE_COMBOBOX
=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11777 if test x"$enablestring" = xdisable; then
11778 if test $wxUSE_COMBOBOX = yes; then
11784 result=$wxUSE_COMBOBOX
11787 { echo "$as_me:$LINENO: result
: $result" >&5
11788 echo "${ECHO_T}$result" >&6; }
11792 defaultval=$wxUSE_ALL_FEATURES
11793 if test -z "$defaultval"; then
11794 if test x"$enablestring" = xdisable; then
11801 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-comboctrl" >&5
11802 echo $ECHO_N "checking
for --${enablestring:-enable}-comboctrl...
$ECHO_C" >&6; }
11803 # Check whether --enable-comboctrl was given.
11804 if test "${enable_comboctrl+set}" = set; then
11805 enableval=$enable_comboctrl;
11806 if test "$enableval" = yes; then
11807 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11809 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11815 LINE=`grep "^wxUSE_COMBOCTRL
=" ${wx_arg_cache_file}`
11816 if test "x
$LINE" != x ; then
11817 eval "DEFAULT_
$LINE"
11823 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11828 eval "$wx_cv_use_comboctrl"
11829 if test "x$cache" = xyes
; then
11830 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11833 if test x
"$enablestring" = xdisable
; then
11834 if test $wxUSE_COMBOCTRL = yes; then
11840 result
=$wxUSE_COMBOCTRL
11843 { echo "$as_me:$LINENO: result: $result" >&5
11844 echo "${ECHO_T}$result" >&6; }
11848 defaultval
=$wxUSE_ALL_FEATURES
11849 if test -z "$defaultval"; then
11850 if test x
"$enablestring" = xdisable
; then
11857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11858 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11859 # Check whether --enable-datepick was given.
11860 if test "${enable_datepick+set}" = set; then
11861 enableval
=$enable_datepick;
11862 if test "$enableval" = yes; then
11863 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
11865 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
11871 LINE
=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11872 if test "x$LINE" != x
; then
11873 eval "DEFAULT_$LINE"
11879 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11884 eval "$wx_cv_use_datepick"
11885 if test "x$cache" = xyes; then
11886 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11889 if test x"$enablestring" = xdisable; then
11890 if test $wxUSE_DATEPICKCTRL = yes; then
11896 result=$wxUSE_DATEPICKCTRL
11899 { echo "$as_me:$LINENO: result: $result" >&5
11900 echo "${ECHO_T}$result" >&6; }
11904 defaultval=$wxUSE_ALL_FEATURES
11905 if test -z "$defaultval"; then
11906 if test x"$enablestring" = xdisable; then
11913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11914 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11915 # Check whether --enable-dirpicker was given.
11916 if test "${enable_dirpicker+set}" = set; then
11917 enableval=$enable_dirpicker;
11918 if test "$enableval" = yes; then
11919 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
11921 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
11927 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11928 if test "x$LINE" != x ; then
11929 eval "DEFAULT_$LINE"
11935 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11940 eval "$wx_cv_use_dirpicker"
11941 if test "x
$cache" = xyes; then
11942 echo "wxUSE_DIRPICKERCTRL
=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11945 if test x"$enablestring" = xdisable; then
11946 if test $wxUSE_DIRPICKERCTRL = yes; then
11952 result=$wxUSE_DIRPICKERCTRL
11955 { echo "$as_me:$LINENO: result
: $result" >&5
11956 echo "${ECHO_T}$result" >&6; }
11960 defaultval=$wxUSE_ALL_FEATURES
11961 if test -z "$defaultval"; then
11962 if test x"$enablestring" = xdisable; then
11969 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-display" >&5
11970 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6; }
11971 # Check whether --enable-display was given.
11972 if test "${enable_display+set}" = set; then
11973 enableval=$enable_display;
11974 if test "$enableval" = yes; then
11975 wx_cv_use_display='wxUSE_DISPLAY=yes'
11977 wx_cv_use_display='wxUSE_DISPLAY=no'
11983 LINE=`grep "^wxUSE_DISPLAY
=" ${wx_arg_cache_file}`
11984 if test "x
$LINE" != x ; then
11985 eval "DEFAULT_
$LINE"
11991 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11996 eval "$wx_cv_use_display"
11997 if test "x$cache" = xyes
; then
11998 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
12001 if test x
"$enablestring" = xdisable
; then
12002 if test $wxUSE_DISPLAY = yes; then
12008 result
=$wxUSE_DISPLAY
12011 { echo "$as_me:$LINENO: result: $result" >&5
12012 echo "${ECHO_T}$result" >&6; }
12016 defaultval
=$wxUSE_ALL_FEATURES
12017 if test -z "$defaultval"; then
12018 if test x
"$enablestring" = xdisable
; then
12025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
12026 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
12027 # Check whether --enable-detect_sm was given.
12028 if test "${enable_detect_sm+set}" = set; then
12029 enableval
=$enable_detect_sm;
12030 if test "$enableval" = yes; then
12031 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
12033 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
12039 LINE
=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
12040 if test "x$LINE" != x
; then
12041 eval "DEFAULT_$LINE"
12047 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12052 eval "$wx_cv_use_detect_sm"
12053 if test "x$cache" = xyes; then
12054 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
12057 if test x"$enablestring" = xdisable; then
12058 if test $wxUSE_DETECT_SM = yes; then
12064 result=$wxUSE_DETECT_SM
12067 { echo "$as_me:$LINENO: result: $result" >&5
12068 echo "${ECHO_T}$result" >&6; }
12072 defaultval=$wxUSE_ALL_FEATURES
12073 if test -z "$defaultval"; then
12074 if test x"$enablestring" = xdisable; then
12081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
12082 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
12083 # Check whether --enable-editablebox was given.
12084 if test "${enable_editablebox+set}" = set; then
12085 enableval=$enable_editablebox;
12086 if test "$enableval" = yes; then
12087 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
12089 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
12095 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
12096 if test "x$LINE" != x ; then
12097 eval "DEFAULT_$LINE"
12103 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12108 eval "$wx_cv_use_editablebox"
12109 if test "x
$cache" = xyes; then
12110 echo "wxUSE_EDITABLELISTBOX
=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12113 if test x"$enablestring" = xdisable; then
12114 if test $wxUSE_EDITABLELISTBOX = yes; then
12120 result=$wxUSE_EDITABLELISTBOX
12123 { echo "$as_me:$LINENO: result
: $result" >&5
12124 echo "${ECHO_T}$result" >&6; }
12128 defaultval=$wxUSE_ALL_FEATURES
12129 if test -z "$defaultval"; then
12130 if test x"$enablestring" = xdisable; then
12137 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filepicker" >&5
12138 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6; }
12139 # Check whether --enable-filepicker was given.
12140 if test "${enable_filepicker+set}" = set; then
12141 enableval=$enable_filepicker;
12142 if test "$enableval" = yes; then
12143 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12145 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12151 LINE=`grep "^wxUSE_FILEPICKERCTRL
=" ${wx_arg_cache_file}`
12152 if test "x
$LINE" != x ; then
12153 eval "DEFAULT_
$LINE"
12159 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12164 eval "$wx_cv_use_filepicker"
12165 if test "x$cache" = xyes
; then
12166 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12169 if test x
"$enablestring" = xdisable
; then
12170 if test $wxUSE_FILEPICKERCTRL = yes; then
12176 result
=$wxUSE_FILEPICKERCTRL
12179 { echo "$as_me:$LINENO: result: $result" >&5
12180 echo "${ECHO_T}$result" >&6; }
12184 defaultval
=$wxUSE_ALL_FEATURES
12185 if test -z "$defaultval"; then
12186 if test x
"$enablestring" = xdisable
; then
12193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
12194 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
12195 # Check whether --enable-filectrl was given.
12196 if test "${enable_filectrl+set}" = set; then
12197 enableval
=$enable_filectrl;
12198 if test "$enableval" = yes; then
12199 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
12201 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
12207 LINE
=`grep "^wxUSE_FILECTRL=" ${wx_arg_cache_file}`
12208 if test "x$LINE" != x
; then
12209 eval "DEFAULT_$LINE"
12215 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12220 eval "$wx_cv_use_filectrl"
12221 if test "x$cache" = xyes; then
12222 echo "wxUSE_FILECTRL=$wxUSE_FILECTRL" >> ${wx_arg_cache_file}.tmp
12225 if test x"$enablestring" = xdisable; then
12226 if test $wxUSE_FILECTRL = yes; then
12232 result=$wxUSE_FILECTRL
12235 { echo "$as_me:$LINENO: result: $result" >&5
12236 echo "${ECHO_T}$result" >&6; }
12240 defaultval=$wxUSE_ALL_FEATURES
12241 if test -z "$defaultval"; then
12242 if test x"$enablestring" = xdisable; then
12249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12250 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12251 # Check whether --enable-fontpicker was given.
12252 if test "${enable_fontpicker+set}" = set; then
12253 enableval=$enable_fontpicker;
12254 if test "$enableval" = yes; then
12255 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
12257 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
12263 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12264 if test "x$LINE" != x ; then
12265 eval "DEFAULT_$LINE"
12271 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12276 eval "$wx_cv_use_fontpicker"
12277 if test "x
$cache" = xyes; then
12278 echo "wxUSE_FONTPICKERCTRL
=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12281 if test x"$enablestring" = xdisable; then
12282 if test $wxUSE_FONTPICKERCTRL = yes; then
12288 result=$wxUSE_FONTPICKERCTRL
12291 { echo "$as_me:$LINENO: result
: $result" >&5
12292 echo "${ECHO_T}$result" >&6; }
12296 defaultval=$wxUSE_ALL_FEATURES
12297 if test -z "$defaultval"; then
12298 if test x"$enablestring" = xdisable; then
12305 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gauge" >&5
12306 echo $ECHO_N "checking
for --${enablestring:-enable}-gauge...
$ECHO_C" >&6; }
12307 # Check whether --enable-gauge was given.
12308 if test "${enable_gauge+set}" = set; then
12309 enableval=$enable_gauge;
12310 if test "$enableval" = yes; then
12311 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12313 wx_cv_use_gauge='wxUSE_GAUGE=no'
12319 LINE=`grep "^wxUSE_GAUGE
=" ${wx_arg_cache_file}`
12320 if test "x
$LINE" != x ; then
12321 eval "DEFAULT_
$LINE"
12327 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12332 eval "$wx_cv_use_gauge"
12333 if test "x$cache" = xyes
; then
12334 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12337 if test x
"$enablestring" = xdisable
; then
12338 if test $wxUSE_GAUGE = yes; then
12344 result
=$wxUSE_GAUGE
12347 { echo "$as_me:$LINENO: result: $result" >&5
12348 echo "${ECHO_T}$result" >&6; }
12352 defaultval
=$wxUSE_ALL_FEATURES
12353 if test -z "$defaultval"; then
12354 if test x
"$enablestring" = xdisable
; then
12361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12362 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12363 # Check whether --enable-grid was given.
12364 if test "${enable_grid+set}" = set; then
12365 enableval
=$enable_grid;
12366 if test "$enableval" = yes; then
12367 wx_cv_use_grid
='wxUSE_GRID=yes'
12369 wx_cv_use_grid
='wxUSE_GRID=no'
12375 LINE
=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12376 if test "x$LINE" != x
; then
12377 eval "DEFAULT_$LINE"
12383 wx_cv_use_grid
='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12388 eval "$wx_cv_use_grid"
12389 if test "x$cache" = xyes; then
12390 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12393 if test x"$enablestring" = xdisable; then
12394 if test $wxUSE_GRID = yes; then
12403 { echo "$as_me:$LINENO: result: $result" >&5
12404 echo "${ECHO_T}$result" >&6; }
12408 defaultval=$wxUSE_ALL_FEATURES
12409 if test -z "$defaultval"; then
12410 if test x"$enablestring" = xdisable; then
12417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12418 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12419 # Check whether --enable-dataviewctrl was given.
12420 if test "${enable_dataviewctrl+set}" = set; then
12421 enableval=$enable_dataviewctrl;
12422 if test "$enableval" = yes; then
12423 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
12425 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
12431 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12432 if test "x$LINE" != x ; then
12433 eval "DEFAULT_$LINE"
12439 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12444 eval "$wx_cv_use_dataviewctrl"
12445 if test "x
$cache" = xyes; then
12446 echo "wxUSE_DATAVIEWCTRL
=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12449 if test x"$enablestring" = xdisable; then
12450 if test $wxUSE_DATAVIEWCTRL = yes; then
12456 result=$wxUSE_DATAVIEWCTRL
12459 { echo "$as_me:$LINENO: result
: $result" >&5
12460 echo "${ECHO_T}$result" >&6; }
12464 defaultval=$wxUSE_ALL_FEATURES
12465 if test -z "$defaultval"; then
12466 if test x"$enablestring" = xdisable; then
12473 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-hyperlink" >&5
12474 echo $ECHO_N "checking
for --${enablestring:-enable}-hyperlink...
$ECHO_C" >&6; }
12475 # Check whether --enable-hyperlink was given.
12476 if test "${enable_hyperlink+set}" = set; then
12477 enableval=$enable_hyperlink;
12478 if test "$enableval" = yes; then
12479 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12481 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12487 LINE=`grep "^wxUSE_HYPERLINKCTRL
=" ${wx_arg_cache_file}`
12488 if test "x
$LINE" != x ; then
12489 eval "DEFAULT_
$LINE"
12495 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12500 eval "$wx_cv_use_hyperlink"
12501 if test "x$cache" = xyes
; then
12502 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12505 if test x
"$enablestring" = xdisable
; then
12506 if test $wxUSE_HYPERLINKCTRL = yes; then
12512 result
=$wxUSE_HYPERLINKCTRL
12515 { echo "$as_me:$LINENO: result: $result" >&5
12516 echo "${ECHO_T}$result" >&6; }
12520 defaultval
=$wxUSE_ALL_FEATURES
12521 if test -z "$defaultval"; then
12522 if test x
"$enablestring" = xdisable
; then
12529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12530 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12531 # Check whether --enable-imaglist was given.
12532 if test "${enable_imaglist+set}" = set; then
12533 enableval
=$enable_imaglist;
12534 if test "$enableval" = yes; then
12535 wx_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
12537 wx_cv_use_imaglist
='wxUSE_IMAGLIST=no'
12543 LINE
=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12544 if test "x$LINE" != x
; then
12545 eval "DEFAULT_$LINE"
12551 wx_cv_use_imaglist
='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12556 eval "$wx_cv_use_imaglist"
12557 if test "x$cache" = xyes; then
12558 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12561 if test x"$enablestring" = xdisable; then
12562 if test $wxUSE_IMAGLIST = yes; then
12568 result=$wxUSE_IMAGLIST
12571 { echo "$as_me:$LINENO: result: $result" >&5
12572 echo "${ECHO_T}$result" >&6; }
12576 defaultval=$wxUSE_ALL_FEATURES
12577 if test -z "$defaultval"; then
12578 if test x"$enablestring" = xdisable; then
12585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12586 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12587 # Check whether --enable-listbook was given.
12588 if test "${enable_listbook+set}" = set; then
12589 enableval=$enable_listbook;
12590 if test "$enableval" = yes; then
12591 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
12593 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
12599 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12600 if test "x$LINE" != x ; then
12601 eval "DEFAULT_$LINE"
12607 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12612 eval "$wx_cv_use_listbook"
12613 if test "x
$cache" = xyes; then
12614 echo "wxUSE_LISTBOOK
=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12617 if test x"$enablestring" = xdisable; then
12618 if test $wxUSE_LISTBOOK = yes; then
12624 result=$wxUSE_LISTBOOK
12627 { echo "$as_me:$LINENO: result
: $result" >&5
12628 echo "${ECHO_T}$result" >&6; }
12632 defaultval=$wxUSE_ALL_FEATURES
12633 if test -z "$defaultval"; then
12634 if test x"$enablestring" = xdisable; then
12641 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbox" >&5
12642 echo $ECHO_N "checking
for --${enablestring:-enable}-listbox...
$ECHO_C" >&6; }
12643 # Check whether --enable-listbox was given.
12644 if test "${enable_listbox+set}" = set; then
12645 enableval=$enable_listbox;
12646 if test "$enableval" = yes; then
12647 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12649 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12655 LINE=`grep "^wxUSE_LISTBOX
=" ${wx_arg_cache_file}`
12656 if test "x
$LINE" != x ; then
12657 eval "DEFAULT_
$LINE"
12663 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12668 eval "$wx_cv_use_listbox"
12669 if test "x$cache" = xyes
; then
12670 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12673 if test x
"$enablestring" = xdisable
; then
12674 if test $wxUSE_LISTBOX = yes; then
12680 result
=$wxUSE_LISTBOX
12683 { echo "$as_me:$LINENO: result: $result" >&5
12684 echo "${ECHO_T}$result" >&6; }
12688 defaultval
=$wxUSE_ALL_FEATURES
12689 if test -z "$defaultval"; then
12690 if test x
"$enablestring" = xdisable
; then
12697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12698 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12699 # Check whether --enable-listctrl was given.
12700 if test "${enable_listctrl+set}" = set; then
12701 enableval
=$enable_listctrl;
12702 if test "$enableval" = yes; then
12703 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
12705 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
12711 LINE
=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12712 if test "x$LINE" != x
; then
12713 eval "DEFAULT_$LINE"
12719 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12724 eval "$wx_cv_use_listctrl"
12725 if test "x$cache" = xyes; then
12726 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12729 if test x"$enablestring" = xdisable; then
12730 if test $wxUSE_LISTCTRL = yes; then
12736 result=$wxUSE_LISTCTRL
12739 { echo "$as_me:$LINENO: result: $result" >&5
12740 echo "${ECHO_T}$result" >&6; }
12744 defaultval=$wxUSE_ALL_FEATURES
12745 if test -z "$defaultval"; then
12746 if test x"$enablestring" = xdisable; then
12753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12754 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12755 # Check whether --enable-notebook was given.
12756 if test "${enable_notebook+set}" = set; then
12757 enableval=$enable_notebook;
12758 if test "$enableval" = yes; then
12759 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
12761 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
12767 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12768 if test "x$LINE" != x ; then
12769 eval "DEFAULT_$LINE"
12775 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12780 eval "$wx_cv_use_notebook"
12781 if test "x
$cache" = xyes; then
12782 echo "wxUSE_NOTEBOOK
=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12785 if test x"$enablestring" = xdisable; then
12786 if test $wxUSE_NOTEBOOK = yes; then
12792 result=$wxUSE_NOTEBOOK
12795 { echo "$as_me:$LINENO: result
: $result" >&5
12796 echo "${ECHO_T}$result" >&6; }
12800 defaultval=$wxUSE_ALL_FEATURES
12801 if test -z "$defaultval"; then
12802 if test x"$enablestring" = xdisable; then
12809 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
12810 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
12811 # Check whether --enable-odcombobox was given.
12812 if test "${enable_odcombobox+set}" = set; then
12813 enableval=$enable_odcombobox;
12814 if test "$enableval" = yes; then
12815 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12817 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12823 LINE=`grep "^wxUSE_ODCOMBOBOX
=" ${wx_arg_cache_file}`
12824 if test "x
$LINE" != x ; then
12825 eval "DEFAULT_
$LINE"
12831 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12836 eval "$wx_cv_use_odcombobox"
12837 if test "x$cache" = xyes
; then
12838 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12841 if test x
"$enablestring" = xdisable
; then
12842 if test $wxUSE_ODCOMBOBOX = yes; then
12848 result
=$wxUSE_ODCOMBOBOX
12851 { echo "$as_me:$LINENO: result: $result" >&5
12852 echo "${ECHO_T}$result" >&6; }
12856 defaultval
=$wxUSE_ALL_FEATURES
12857 if test -z "$defaultval"; then
12858 if test x
"$enablestring" = xdisable
; then
12865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12866 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12867 # Check whether --enable-radiobox was given.
12868 if test "${enable_radiobox+set}" = set; then
12869 enableval
=$enable_radiobox;
12870 if test "$enableval" = yes; then
12871 wx_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
12873 wx_cv_use_radiobox
='wxUSE_RADIOBOX=no'
12879 LINE
=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12880 if test "x$LINE" != x
; then
12881 eval "DEFAULT_$LINE"
12887 wx_cv_use_radiobox
='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12892 eval "$wx_cv_use_radiobox"
12893 if test "x$cache" = xyes; then
12894 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12897 if test x"$enablestring" = xdisable; then
12898 if test $wxUSE_RADIOBOX = yes; then
12904 result=$wxUSE_RADIOBOX
12907 { echo "$as_me:$LINENO: result: $result" >&5
12908 echo "${ECHO_T}$result" >&6; }
12912 defaultval=$wxUSE_ALL_FEATURES
12913 if test -z "$defaultval"; then
12914 if test x"$enablestring" = xdisable; then
12921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12922 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12923 # Check whether --enable-radiobtn was given.
12924 if test "${enable_radiobtn+set}" = set; then
12925 enableval=$enable_radiobtn;
12926 if test "$enableval" = yes; then
12927 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
12929 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
12935 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12936 if test "x$LINE" != x ; then
12937 eval "DEFAULT_$LINE"
12943 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12948 eval "$wx_cv_use_radiobtn"
12949 if test "x
$cache" = xyes; then
12950 echo "wxUSE_RADIOBTN
=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12953 if test x"$enablestring" = xdisable; then
12954 if test $wxUSE_RADIOBTN = yes; then
12960 result=$wxUSE_RADIOBTN
12963 { echo "$as_me:$LINENO: result
: $result" >&5
12964 echo "${ECHO_T}$result" >&6; }
12968 defaultval=$wxUSE_ALL_FEATURES
12969 if test -z "$defaultval"; then
12970 if test x"$enablestring" = xdisable; then
12977 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sash" >&5
12978 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
12979 # Check whether --enable-sash was given.
12980 if test "${enable_sash+set}" = set; then
12981 enableval=$enable_sash;
12982 if test "$enableval" = yes; then
12983 wx_cv_use_sash='wxUSE_SASH=yes'
12985 wx_cv_use_sash='wxUSE_SASH=no'
12991 LINE=`grep "^wxUSE_SASH
=" ${wx_arg_cache_file}`
12992 if test "x
$LINE" != x ; then
12993 eval "DEFAULT_
$LINE"
12999 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13004 eval "$wx_cv_use_sash"
13005 if test "x$cache" = xyes
; then
13006 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
13009 if test x
"$enablestring" = xdisable
; then
13010 if test $wxUSE_SASH = yes; then
13019 { echo "$as_me:$LINENO: result: $result" >&5
13020 echo "${ECHO_T}$result" >&6; }
13024 defaultval
=$wxUSE_ALL_FEATURES
13025 if test -z "$defaultval"; then
13026 if test x
"$enablestring" = xdisable
; then
13033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
13034 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
13035 # Check whether --enable-scrollbar was given.
13036 if test "${enable_scrollbar+set}" = set; then
13037 enableval
=$enable_scrollbar;
13038 if test "$enableval" = yes; then
13039 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
13041 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
13047 LINE
=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
13048 if test "x$LINE" != x
; then
13049 eval "DEFAULT_$LINE"
13055 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13060 eval "$wx_cv_use_scrollbar"
13061 if test "x$cache" = xyes; then
13062 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
13065 if test x"$enablestring" = xdisable; then
13066 if test $wxUSE_SCROLLBAR = yes; then
13072 result=$wxUSE_SCROLLBAR
13075 { echo "$as_me:$LINENO: result: $result" >&5
13076 echo "${ECHO_T}$result" >&6; }
13080 defaultval=$wxUSE_ALL_FEATURES
13081 if test -z "$defaultval"; then
13082 if test x"$enablestring" = xdisable; then
13089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
13090 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
13091 # Check whether --enable-searchctrl was given.
13092 if test "${enable_searchctrl+set}" = set; then
13093 enableval=$enable_searchctrl;
13094 if test "$enableval" = yes; then
13095 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
13097 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
13103 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
13104 if test "x$LINE" != x ; then
13105 eval "DEFAULT_$LINE"
13111 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13116 eval "$wx_cv_use_searchctrl"
13117 if test "x
$cache" = xyes; then
13118 echo "wxUSE_SEARCHCTRL
=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
13121 if test x"$enablestring" = xdisable; then
13122 if test $wxUSE_SEARCHCTRL = yes; then
13128 result=$wxUSE_SEARCHCTRL
13131 { echo "$as_me:$LINENO: result
: $result" >&5
13132 echo "${ECHO_T}$result" >&6; }
13136 defaultval=$wxUSE_ALL_FEATURES
13137 if test -z "$defaultval"; then
13138 if test x"$enablestring" = xdisable; then
13145 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-slider" >&5
13146 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
13147 # Check whether --enable-slider was given.
13148 if test "${enable_slider+set}" = set; then
13149 enableval=$enable_slider;
13150 if test "$enableval" = yes; then
13151 wx_cv_use_slider='wxUSE_SLIDER=yes'
13153 wx_cv_use_slider='wxUSE_SLIDER=no'
13159 LINE=`grep "^wxUSE_SLIDER
=" ${wx_arg_cache_file}`
13160 if test "x
$LINE" != x ; then
13161 eval "DEFAULT_
$LINE"
13167 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13172 eval "$wx_cv_use_slider"
13173 if test "x$cache" = xyes
; then
13174 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13177 if test x
"$enablestring" = xdisable
; then
13178 if test $wxUSE_SLIDER = yes; then
13184 result
=$wxUSE_SLIDER
13187 { echo "$as_me:$LINENO: result: $result" >&5
13188 echo "${ECHO_T}$result" >&6; }
13192 defaultval
=$wxUSE_ALL_FEATURES
13193 if test -z "$defaultval"; then
13194 if test x
"$enablestring" = xdisable
; then
13201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
13202 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
13203 # Check whether --enable-spinbtn was given.
13204 if test "${enable_spinbtn+set}" = set; then
13205 enableval
=$enable_spinbtn;
13206 if test "$enableval" = yes; then
13207 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
13209 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
13215 LINE
=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
13216 if test "x$LINE" != x
; then
13217 eval "DEFAULT_$LINE"
13223 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13228 eval "$wx_cv_use_spinbtn"
13229 if test "x$cache" = xyes; then
13230 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13233 if test x"$enablestring" = xdisable; then
13234 if test $wxUSE_SPINBTN = yes; then
13240 result=$wxUSE_SPINBTN
13243 { echo "$as_me:$LINENO: result: $result" >&5
13244 echo "${ECHO_T}$result" >&6; }
13248 defaultval=$wxUSE_ALL_FEATURES
13249 if test -z "$defaultval"; then
13250 if test x"$enablestring" = xdisable; then
13257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13258 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13259 # Check whether --enable-spinctrl was given.
13260 if test "${enable_spinctrl+set}" = set; then
13261 enableval=$enable_spinctrl;
13262 if test "$enableval" = yes; then
13263 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
13265 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
13271 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13272 if test "x$LINE" != x ; then
13273 eval "DEFAULT_$LINE"
13279 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13284 eval "$wx_cv_use_spinctrl"
13285 if test "x
$cache" = xyes; then
13286 echo "wxUSE_SPINCTRL
=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13289 if test x"$enablestring" = xdisable; then
13290 if test $wxUSE_SPINCTRL = yes; then
13296 result=$wxUSE_SPINCTRL
13299 { echo "$as_me:$LINENO: result
: $result" >&5
13300 echo "${ECHO_T}$result" >&6; }
13304 defaultval=$wxUSE_ALL_FEATURES
13305 if test -z "$defaultval"; then
13306 if test x"$enablestring" = xdisable; then
13313 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splitter" >&5
13314 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
13315 # Check whether --enable-splitter was given.
13316 if test "${enable_splitter+set}" = set; then
13317 enableval=$enable_splitter;
13318 if test "$enableval" = yes; then
13319 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13321 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13327 LINE=`grep "^wxUSE_SPLITTER
=" ${wx_arg_cache_file}`
13328 if test "x
$LINE" != x ; then
13329 eval "DEFAULT_
$LINE"
13335 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13340 eval "$wx_cv_use_splitter"
13341 if test "x$cache" = xyes
; then
13342 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13345 if test x
"$enablestring" = xdisable
; then
13346 if test $wxUSE_SPLITTER = yes; then
13352 result
=$wxUSE_SPLITTER
13355 { echo "$as_me:$LINENO: result: $result" >&5
13356 echo "${ECHO_T}$result" >&6; }
13360 defaultval
=$wxUSE_ALL_FEATURES
13361 if test -z "$defaultval"; then
13362 if test x
"$enablestring" = xdisable
; then
13369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13370 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13371 # Check whether --enable-statbmp was given.
13372 if test "${enable_statbmp+set}" = set; then
13373 enableval
=$enable_statbmp;
13374 if test "$enableval" = yes; then
13375 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
13377 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
13383 LINE
=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13384 if test "x$LINE" != x
; then
13385 eval "DEFAULT_$LINE"
13391 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13396 eval "$wx_cv_use_statbmp"
13397 if test "x$cache" = xyes; then
13398 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13401 if test x"$enablestring" = xdisable; then
13402 if test $wxUSE_STATBMP = yes; then
13408 result=$wxUSE_STATBMP
13411 { echo "$as_me:$LINENO: result: $result" >&5
13412 echo "${ECHO_T}$result" >&6; }
13416 defaultval=$wxUSE_ALL_FEATURES
13417 if test -z "$defaultval"; then
13418 if test x"$enablestring" = xdisable; then
13425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13426 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13427 # Check whether --enable-statbox was given.
13428 if test "${enable_statbox+set}" = set; then
13429 enableval=$enable_statbox;
13430 if test "$enableval" = yes; then
13431 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
13433 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
13439 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13440 if test "x$LINE" != x ; then
13441 eval "DEFAULT_$LINE"
13447 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13452 eval "$wx_cv_use_statbox"
13453 if test "x
$cache" = xyes; then
13454 echo "wxUSE_STATBOX
=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13457 if test x"$enablestring" = xdisable; then
13458 if test $wxUSE_STATBOX = yes; then
13464 result=$wxUSE_STATBOX
13467 { echo "$as_me:$LINENO: result
: $result" >&5
13468 echo "${ECHO_T}$result" >&6; }
13472 defaultval=$wxUSE_ALL_FEATURES
13473 if test -z "$defaultval"; then
13474 if test x"$enablestring" = xdisable; then
13481 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statline" >&5
13482 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
13483 # Check whether --enable-statline was given.
13484 if test "${enable_statline+set}" = set; then
13485 enableval=$enable_statline;
13486 if test "$enableval" = yes; then
13487 wx_cv_use_statline='wxUSE_STATLINE=yes'
13489 wx_cv_use_statline='wxUSE_STATLINE=no'
13495 LINE=`grep "^wxUSE_STATLINE
=" ${wx_arg_cache_file}`
13496 if test "x
$LINE" != x ; then
13497 eval "DEFAULT_
$LINE"
13503 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13508 eval "$wx_cv_use_statline"
13509 if test "x$cache" = xyes
; then
13510 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13513 if test x
"$enablestring" = xdisable
; then
13514 if test $wxUSE_STATLINE = yes; then
13520 result
=$wxUSE_STATLINE
13523 { echo "$as_me:$LINENO: result: $result" >&5
13524 echo "${ECHO_T}$result" >&6; }
13528 defaultval
=$wxUSE_ALL_FEATURES
13529 if test -z "$defaultval"; then
13530 if test x
"$enablestring" = xdisable
; then
13537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13538 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13539 # Check whether --enable-stattext was given.
13540 if test "${enable_stattext+set}" = set; then
13541 enableval
=$enable_stattext;
13542 if test "$enableval" = yes; then
13543 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
13545 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
13551 LINE
=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13552 if test "x$LINE" != x
; then
13553 eval "DEFAULT_$LINE"
13559 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13564 eval "$wx_cv_use_stattext"
13565 if test "x$cache" = xyes; then
13566 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13569 if test x"$enablestring" = xdisable; then
13570 if test $wxUSE_STATTEXT = yes; then
13576 result=$wxUSE_STATTEXT
13579 { echo "$as_me:$LINENO: result: $result" >&5
13580 echo "${ECHO_T}$result" >&6; }
13584 defaultval=$wxUSE_ALL_FEATURES
13585 if test -z "$defaultval"; then
13586 if test x"$enablestring" = xdisable; then
13593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13594 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13595 # Check whether --enable-statusbar was given.
13596 if test "${enable_statusbar+set}" = set; then
13597 enableval=$enable_statusbar;
13598 if test "$enableval" = yes; then
13599 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
13601 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
13607 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13608 if test "x$LINE" != x ; then
13609 eval "DEFAULT_$LINE"
13615 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13620 eval "$wx_cv_use_statusbar"
13621 if test "x
$cache" = xyes; then
13622 echo "wxUSE_STATUSBAR
=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13625 if test x"$enablestring" = xdisable; then
13626 if test $wxUSE_STATUSBAR = yes; then
13632 result=$wxUSE_STATUSBAR
13635 { echo "$as_me:$LINENO: result
: $result" >&5
13636 echo "${ECHO_T}$result" >&6; }
13640 defaultval=$wxUSE_ALL_FEATURES
13641 if test -z "$defaultval"; then
13642 if test x"$enablestring" = xdisable; then
13649 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tabdialog" >&5
13650 echo $ECHO_N "checking
for --${enablestring:-enable}-tabdialog...
$ECHO_C" >&6; }
13651 # Check whether --enable-tabdialog was given.
13652 if test "${enable_tabdialog+set}" = set; then
13653 enableval=$enable_tabdialog;
13654 if test "$enableval" = yes; then
13655 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13657 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13663 LINE=`grep "^wxUSE_TAB_DIALOG
=" ${wx_arg_cache_file}`
13664 if test "x
$LINE" != x ; then
13665 eval "DEFAULT_
$LINE"
13671 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13676 eval "$wx_cv_use_tabdialog"
13677 if test "x$cache" = xyes
; then
13678 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13681 if test x
"$enablestring" = xdisable
; then
13682 if test $wxUSE_TAB_DIALOG = yes; then
13688 result
=$wxUSE_TAB_DIALOG
13691 { echo "$as_me:$LINENO: result: $result" >&5
13692 echo "${ECHO_T}$result" >&6; }
13696 defaultval
=$wxUSE_ALL_FEATURES
13697 if test -z "$defaultval"; then
13698 if test x
"$enablestring" = xdisable
; then
13705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13706 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13707 # Check whether --enable-taskbaricon was given.
13708 if test "${enable_taskbaricon+set}" = set; then
13709 enableval
=$enable_taskbaricon;
13710 if test "$enableval" = yes; then
13711 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=yes'
13713 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=no'
13719 LINE
=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13720 if test "x$LINE" != x
; then
13721 eval "DEFAULT_$LINE"
13727 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13732 eval "$wx_cv_use_taskbaricon"
13733 if test "x$cache" = xyes; then
13734 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13737 if test x"$enablestring" = xdisable; then
13738 if test $wxUSE_TASKBARICON = yes; then
13744 result=$wxUSE_TASKBARICON
13747 { echo "$as_me:$LINENO: result: $result" >&5
13748 echo "${ECHO_T}$result" >&6; }
13752 defaultval=$wxUSE_ALL_FEATURES
13753 if test -z "$defaultval"; then
13754 if test x"$enablestring" = xdisable; then
13761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13762 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13763 # Check whether --enable-textctrl was given.
13764 if test "${enable_textctrl+set}" = set; then
13765 enableval=$enable_textctrl;
13766 if test "$enableval" = yes; then
13767 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
13769 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
13775 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13776 if test "x$LINE" != x ; then
13777 eval "DEFAULT_$LINE"
13783 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13788 eval "$wx_cv_use_textctrl"
13789 if test "x
$cache" = xyes; then
13790 echo "wxUSE_TEXTCTRL
=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13793 if test x"$enablestring" = xdisable; then
13794 if test $wxUSE_TEXTCTRL = yes; then
13800 result=$wxUSE_TEXTCTRL
13803 { echo "$as_me:$LINENO: result
: $result" >&5
13804 echo "${ECHO_T}$result" >&6; }
13808 defaultval=$wxUSE_ALL_FEATURES
13809 if test -z "$defaultval"; then
13810 if test x"$enablestring" = xdisable; then
13817 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
13818 echo $ECHO_N "checking
for --${enablestring:-enable}-togglebtn...
$ECHO_C" >&6; }
13819 # Check whether --enable-togglebtn was given.
13820 if test "${enable_togglebtn+set}" = set; then
13821 enableval=$enable_togglebtn;
13822 if test "$enableval" = yes; then
13823 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13825 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13831 LINE=`grep "^wxUSE_TOGGLEBTN
=" ${wx_arg_cache_file}`
13832 if test "x
$LINE" != x ; then
13833 eval "DEFAULT_
$LINE"
13839 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13844 eval "$wx_cv_use_togglebtn"
13845 if test "x$cache" = xyes
; then
13846 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13849 if test x
"$enablestring" = xdisable
; then
13850 if test $wxUSE_TOGGLEBTN = yes; then
13856 result
=$wxUSE_TOGGLEBTN
13859 { echo "$as_me:$LINENO: result: $result" >&5
13860 echo "${ECHO_T}$result" >&6; }
13864 defaultval
=$wxUSE_ALL_FEATURES
13865 if test -z "$defaultval"; then
13866 if test x
"$enablestring" = xdisable
; then
13873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13874 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13875 # Check whether --enable-toolbar was given.
13876 if test "${enable_toolbar+set}" = set; then
13877 enableval
=$enable_toolbar;
13878 if test "$enableval" = yes; then
13879 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
13881 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
13887 LINE
=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13888 if test "x$LINE" != x
; then
13889 eval "DEFAULT_$LINE"
13895 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13900 eval "$wx_cv_use_toolbar"
13901 if test "x$cache" = xyes; then
13902 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13905 if test x"$enablestring" = xdisable; then
13906 if test $wxUSE_TOOLBAR = yes; then
13912 result=$wxUSE_TOOLBAR
13915 { echo "$as_me:$LINENO: result: $result" >&5
13916 echo "${ECHO_T}$result" >&6; }
13920 defaultval=$wxUSE_ALL_FEATURES
13921 if test -z "$defaultval"; then
13922 if test x"$enablestring" = xdisable; then
13929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13930 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13931 # Check whether --enable-tbarnative was given.
13932 if test "${enable_tbarnative+set}" = set; then
13933 enableval=$enable_tbarnative;
13934 if test "$enableval" = yes; then
13935 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
13937 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
13943 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13944 if test "x$LINE" != x ; then
13945 eval "DEFAULT_$LINE"
13951 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13956 eval "$wx_cv_use_tbarnative"
13957 if test "x
$cache" = xyes; then
13958 echo "wxUSE_TOOLBAR_NATIVE
=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13961 if test x"$enablestring" = xdisable; then
13962 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13968 result=$wxUSE_TOOLBAR_NATIVE
13971 { echo "$as_me:$LINENO: result
: $result" >&5
13972 echo "${ECHO_T}$result" >&6; }
13976 defaultval=$wxUSE_ALL_FEATURES
13977 if test -z "$defaultval"; then
13978 if test x"$enablestring" = xdisable; then
13985 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
13986 echo $ECHO_N "checking
for --${enablestring:-enable}-treebook...
$ECHO_C" >&6; }
13987 # Check whether --enable-treebook was given.
13988 if test "${enable_treebook+set}" = set; then
13989 enableval=$enable_treebook;
13990 if test "$enableval" = yes; then
13991 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13993 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13999 LINE=`grep "^wxUSE_TREEBOOK
=" ${wx_arg_cache_file}`
14000 if test "x
$LINE" != x ; then
14001 eval "DEFAULT_
$LINE"
14007 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14012 eval "$wx_cv_use_treebook"
14013 if test "x$cache" = xyes
; then
14014 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
14017 if test x
"$enablestring" = xdisable
; then
14018 if test $wxUSE_TREEBOOK = yes; then
14024 result
=$wxUSE_TREEBOOK
14027 { echo "$as_me:$LINENO: result: $result" >&5
14028 echo "${ECHO_T}$result" >&6; }
14032 defaultval
=$wxUSE_ALL_FEATURES
14033 if test -z "$defaultval"; then
14034 if test x
"$enablestring" = xdisable
; then
14041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
14042 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
14043 # Check whether --enable-toolbook was given.
14044 if test "${enable_toolbook+set}" = set; then
14045 enableval
=$enable_toolbook;
14046 if test "$enableval" = yes; then
14047 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
14049 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
14055 LINE
=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
14056 if test "x$LINE" != x
; then
14057 eval "DEFAULT_$LINE"
14063 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14068 eval "$wx_cv_use_toolbook"
14069 if test "x$cache" = xyes; then
14070 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
14073 if test x"$enablestring" = xdisable; then
14074 if test $wxUSE_TOOLBOOK = yes; then
14080 result=$wxUSE_TOOLBOOK
14083 { echo "$as_me:$LINENO: result: $result" >&5
14084 echo "${ECHO_T}$result" >&6; }
14088 defaultval=$wxUSE_ALL_FEATURES
14089 if test -z "$defaultval"; then
14090 if test x"$enablestring" = xdisable; then
14097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
14098 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
14099 # Check whether --enable-treectrl was given.
14100 if test "${enable_treectrl+set}" = set; then
14101 enableval=$enable_treectrl;
14102 if test "$enableval" = yes; then
14103 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
14105 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
14111 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
14112 if test "x$LINE" != x ; then
14113 eval "DEFAULT_$LINE"
14119 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14124 eval "$wx_cv_use_treectrl"
14125 if test "x
$cache" = xyes; then
14126 echo "wxUSE_TREECTRL
=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14129 if test x"$enablestring" = xdisable; then
14130 if test $wxUSE_TREECTRL = yes; then
14136 result=$wxUSE_TREECTRL
14139 { echo "$as_me:$LINENO: result
: $result" >&5
14140 echo "${ECHO_T}$result" >&6; }
14144 defaultval=$wxUSE_ALL_FEATURES
14145 if test -z "$defaultval"; then
14146 if test x"$enablestring" = xdisable; then
14153 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipwindow" >&5
14154 echo $ECHO_N "checking
for --${enablestring:-enable}-tipwindow...
$ECHO_C" >&6; }
14155 # Check whether --enable-tipwindow was given.
14156 if test "${enable_tipwindow+set}" = set; then
14157 enableval=$enable_tipwindow;
14158 if test "$enableval" = yes; then
14159 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14161 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14167 LINE=`grep "^wxUSE_TIPWINDOW
=" ${wx_arg_cache_file}`
14168 if test "x
$LINE" != x ; then
14169 eval "DEFAULT_
$LINE"
14175 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14180 eval "$wx_cv_use_tipwindow"
14181 if test "x$cache" = xyes
; then
14182 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14185 if test x
"$enablestring" = xdisable
; then
14186 if test $wxUSE_TIPWINDOW = yes; then
14192 result
=$wxUSE_TIPWINDOW
14195 { echo "$as_me:$LINENO: result: $result" >&5
14196 echo "${ECHO_T}$result" >&6; }
14200 defaultval
=$wxUSE_ALL_FEATURES
14201 if test -z "$defaultval"; then
14202 if test x
"$enablestring" = xdisable
; then
14209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
14210 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
14211 # Check whether --enable-popupwin was given.
14212 if test "${enable_popupwin+set}" = set; then
14213 enableval
=$enable_popupwin;
14214 if test "$enableval" = yes; then
14215 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
14217 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
14223 LINE
=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
14224 if test "x$LINE" != x
; then
14225 eval "DEFAULT_$LINE"
14231 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14236 eval "$wx_cv_use_popupwin"
14237 if test "x$cache" = xyes; then
14238 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14241 if test x"$enablestring" = xdisable; then
14242 if test $wxUSE_POPUPWIN = yes; then
14248 result=$wxUSE_POPUPWIN
14251 { echo "$as_me:$LINENO: result: $result" >&5
14252 echo "${ECHO_T}$result" >&6; }
14258 defaultval=$wxUSE_ALL_FEATURES
14259 if test -z "$defaultval"; then
14260 if test x"$enablestring" = xdisable; then
14267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14268 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14269 # Check whether --enable-commondlg was given.
14270 if test "${enable_commondlg+set}" = set; then
14271 enableval=$enable_commondlg;
14272 if test "$enableval" = yes; then
14273 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
14275 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
14281 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14282 if test "x$LINE" != x ; then
14283 eval "DEFAULT_$LINE"
14289 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14294 eval "$wx_cv_use_commondlg"
14295 if test "x
$cache" = xyes; then
14296 echo "wxUSE_COMMONDLGS
=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14299 if test x"$enablestring" = xdisable; then
14300 if test $wxUSE_COMMONDLGS = yes; then
14306 result=$wxUSE_COMMONDLGS
14309 { echo "$as_me:$LINENO: result
: $result" >&5
14310 echo "${ECHO_T}$result" >&6; }
14314 defaultval=$wxUSE_ALL_FEATURES
14315 if test -z "$defaultval"; then
14316 if test x"$enablestring" = xdisable; then
14323 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aboutdlg" >&5
14324 echo $ECHO_N "checking
for --${enablestring:-enable}-aboutdlg...
$ECHO_C" >&6; }
14325 # Check whether --enable-aboutdlg was given.
14326 if test "${enable_aboutdlg+set}" = set; then
14327 enableval=$enable_aboutdlg;
14328 if test "$enableval" = yes; then
14329 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14331 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14337 LINE=`grep "^wxUSE_ABOUTDLG
=" ${wx_arg_cache_file}`
14338 if test "x
$LINE" != x ; then
14339 eval "DEFAULT_
$LINE"
14345 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14350 eval "$wx_cv_use_aboutdlg"
14351 if test "x$cache" = xyes
; then
14352 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14355 if test x
"$enablestring" = xdisable
; then
14356 if test $wxUSE_ABOUTDLG = yes; then
14362 result
=$wxUSE_ABOUTDLG
14365 { echo "$as_me:$LINENO: result: $result" >&5
14366 echo "${ECHO_T}$result" >&6; }
14370 defaultval
=$wxUSE_ALL_FEATURES
14371 if test -z "$defaultval"; then
14372 if test x
"$enablestring" = xdisable
; then
14379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14380 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14381 # Check whether --enable-choicedlg was given.
14382 if test "${enable_choicedlg+set}" = set; then
14383 enableval
=$enable_choicedlg;
14384 if test "$enableval" = yes; then
14385 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
14387 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
14393 LINE
=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14394 if test "x$LINE" != x
; then
14395 eval "DEFAULT_$LINE"
14401 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14406 eval "$wx_cv_use_choicedlg"
14407 if test "x$cache" = xyes; then
14408 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14411 if test x"$enablestring" = xdisable; then
14412 if test $wxUSE_CHOICEDLG = yes; then
14418 result=$wxUSE_CHOICEDLG
14421 { echo "$as_me:$LINENO: result: $result" >&5
14422 echo "${ECHO_T}$result" >&6; }
14426 defaultval=$wxUSE_ALL_FEATURES
14427 if test -z "$defaultval"; then
14428 if test x"$enablestring" = xdisable; then
14435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14436 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14437 # Check whether --enable-coldlg was given.
14438 if test "${enable_coldlg+set}" = set; then
14439 enableval=$enable_coldlg;
14440 if test "$enableval" = yes; then
14441 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
14443 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
14449 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14450 if test "x$LINE" != x ; then
14451 eval "DEFAULT_$LINE"
14457 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14462 eval "$wx_cv_use_coldlg"
14463 if test "x
$cache" = xyes; then
14464 echo "wxUSE_COLOURDLG
=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14467 if test x"$enablestring" = xdisable; then
14468 if test $wxUSE_COLOURDLG = yes; then
14474 result=$wxUSE_COLOURDLG
14477 { echo "$as_me:$LINENO: result
: $result" >&5
14478 echo "${ECHO_T}$result" >&6; }
14482 defaultval=$wxUSE_ALL_FEATURES
14483 if test -z "$defaultval"; then
14484 if test x"$enablestring" = xdisable; then
14491 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filedlg" >&5
14492 echo $ECHO_N "checking
for --${enablestring:-enable}-filedlg...
$ECHO_C" >&6; }
14493 # Check whether --enable-filedlg was given.
14494 if test "${enable_filedlg+set}" = set; then
14495 enableval=$enable_filedlg;
14496 if test "$enableval" = yes; then
14497 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14499 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14505 LINE=`grep "^wxUSE_FILEDLG
=" ${wx_arg_cache_file}`
14506 if test "x
$LINE" != x ; then
14507 eval "DEFAULT_
$LINE"
14513 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14518 eval "$wx_cv_use_filedlg"
14519 if test "x$cache" = xyes
; then
14520 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14523 if test x
"$enablestring" = xdisable
; then
14524 if test $wxUSE_FILEDLG = yes; then
14530 result
=$wxUSE_FILEDLG
14533 { echo "$as_me:$LINENO: result: $result" >&5
14534 echo "${ECHO_T}$result" >&6; }
14538 defaultval
=$wxUSE_ALL_FEATURES
14539 if test -z "$defaultval"; then
14540 if test x
"$enablestring" = xdisable
; then
14547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14548 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14549 # Check whether --enable-finddlg was given.
14550 if test "${enable_finddlg+set}" = set; then
14551 enableval
=$enable_finddlg;
14552 if test "$enableval" = yes; then
14553 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
14555 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
14561 LINE
=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14562 if test "x$LINE" != x
; then
14563 eval "DEFAULT_$LINE"
14569 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14574 eval "$wx_cv_use_finddlg"
14575 if test "x$cache" = xyes; then
14576 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14579 if test x"$enablestring" = xdisable; then
14580 if test $wxUSE_FINDREPLDLG = yes; then
14586 result=$wxUSE_FINDREPLDLG
14589 { echo "$as_me:$LINENO: result: $result" >&5
14590 echo "${ECHO_T}$result" >&6; }
14594 defaultval=$wxUSE_ALL_FEATURES
14595 if test -z "$defaultval"; then
14596 if test x"$enablestring" = xdisable; then
14603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14604 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14605 # Check whether --enable-fontdlg was given.
14606 if test "${enable_fontdlg+set}" = set; then
14607 enableval=$enable_fontdlg;
14608 if test "$enableval" = yes; then
14609 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
14611 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
14617 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14618 if test "x$LINE" != x ; then
14619 eval "DEFAULT_$LINE"
14625 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14630 eval "$wx_cv_use_fontdlg"
14631 if test "x
$cache" = xyes; then
14632 echo "wxUSE_FONTDLG
=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14635 if test x"$enablestring" = xdisable; then
14636 if test $wxUSE_FONTDLG = yes; then
14642 result=$wxUSE_FONTDLG
14645 { echo "$as_me:$LINENO: result
: $result" >&5
14646 echo "${ECHO_T}$result" >&6; }
14650 defaultval=$wxUSE_ALL_FEATURES
14651 if test -z "$defaultval"; then
14652 if test x"$enablestring" = xdisable; then
14659 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirdlg" >&5
14660 echo $ECHO_N "checking
for --${enablestring:-enable}-dirdlg...
$ECHO_C" >&6; }
14661 # Check whether --enable-dirdlg was given.
14662 if test "${enable_dirdlg+set}" = set; then
14663 enableval=$enable_dirdlg;
14664 if test "$enableval" = yes; then
14665 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14667 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14673 LINE=`grep "^wxUSE_DIRDLG
=" ${wx_arg_cache_file}`
14674 if test "x
$LINE" != x ; then
14675 eval "DEFAULT_
$LINE"
14681 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14686 eval "$wx_cv_use_dirdlg"
14687 if test "x$cache" = xyes
; then
14688 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14691 if test x
"$enablestring" = xdisable
; then
14692 if test $wxUSE_DIRDLG = yes; then
14698 result
=$wxUSE_DIRDLG
14701 { echo "$as_me:$LINENO: result: $result" >&5
14702 echo "${ECHO_T}$result" >&6; }
14706 defaultval
=$wxUSE_ALL_FEATURES
14707 if test -z "$defaultval"; then
14708 if test x
"$enablestring" = xdisable
; then
14715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14716 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14717 # Check whether --enable-msgdlg was given.
14718 if test "${enable_msgdlg+set}" = set; then
14719 enableval
=$enable_msgdlg;
14720 if test "$enableval" = yes; then
14721 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
14723 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
14729 LINE
=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14730 if test "x$LINE" != x
; then
14731 eval "DEFAULT_$LINE"
14737 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14742 eval "$wx_cv_use_msgdlg"
14743 if test "x$cache" = xyes; then
14744 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14747 if test x"$enablestring" = xdisable; then
14748 if test $wxUSE_MSGDLG = yes; then
14754 result=$wxUSE_MSGDLG
14757 { echo "$as_me:$LINENO: result: $result" >&5
14758 echo "${ECHO_T}$result" >&6; }
14762 defaultval=$wxUSE_ALL_FEATURES
14763 if test -z "$defaultval"; then
14764 if test x"$enablestring" = xdisable; then
14771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14772 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14773 # Check whether --enable-numberdlg was given.
14774 if test "${enable_numberdlg+set}" = set; then
14775 enableval=$enable_numberdlg;
14776 if test "$enableval" = yes; then
14777 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
14779 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
14785 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14786 if test "x$LINE" != x ; then
14787 eval "DEFAULT_$LINE"
14793 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14798 eval "$wx_cv_use_numberdlg"
14799 if test "x
$cache" = xyes; then
14800 echo "wxUSE_NUMBERDLG
=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14803 if test x"$enablestring" = xdisable; then
14804 if test $wxUSE_NUMBERDLG = yes; then
14810 result=$wxUSE_NUMBERDLG
14813 { echo "$as_me:$LINENO: result
: $result" >&5
14814 echo "${ECHO_T}$result" >&6; }
14818 defaultval=$wxUSE_ALL_FEATURES
14819 if test -z "$defaultval"; then
14820 if test x"$enablestring" = xdisable; then
14827 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splash" >&5
14828 echo $ECHO_N "checking
for --${enablestring:-enable}-splash...
$ECHO_C" >&6; }
14829 # Check whether --enable-splash was given.
14830 if test "${enable_splash+set}" = set; then
14831 enableval=$enable_splash;
14832 if test "$enableval" = yes; then
14833 wx_cv_use_splash='wxUSE_SPLASH=yes'
14835 wx_cv_use_splash='wxUSE_SPLASH=no'
14841 LINE=`grep "^wxUSE_SPLASH
=" ${wx_arg_cache_file}`
14842 if test "x
$LINE" != x ; then
14843 eval "DEFAULT_
$LINE"
14849 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14854 eval "$wx_cv_use_splash"
14855 if test "x$cache" = xyes
; then
14856 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14859 if test x
"$enablestring" = xdisable
; then
14860 if test $wxUSE_SPLASH = yes; then
14866 result
=$wxUSE_SPLASH
14869 { echo "$as_me:$LINENO: result: $result" >&5
14870 echo "${ECHO_T}$result" >&6; }
14874 defaultval
=$wxUSE_ALL_FEATURES
14875 if test -z "$defaultval"; then
14876 if test x
"$enablestring" = xdisable
; then
14883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14884 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14885 # Check whether --enable-textdlg was given.
14886 if test "${enable_textdlg+set}" = set; then
14887 enableval
=$enable_textdlg;
14888 if test "$enableval" = yes; then
14889 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
14891 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
14897 LINE
=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14898 if test "x$LINE" != x
; then
14899 eval "DEFAULT_$LINE"
14905 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14910 eval "$wx_cv_use_textdlg"
14911 if test "x$cache" = xyes; then
14912 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14915 if test x"$enablestring" = xdisable; then
14916 if test $wxUSE_TEXTDLG = yes; then
14922 result=$wxUSE_TEXTDLG
14925 { echo "$as_me:$LINENO: result: $result" >&5
14926 echo "${ECHO_T}$result" >&6; }
14930 defaultval=$wxUSE_ALL_FEATURES
14931 if test -z "$defaultval"; then
14932 if test x"$enablestring" = xdisable; then
14939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14940 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14941 # Check whether --enable-tipdlg was given.
14942 if test "${enable_tipdlg+set}" = set; then
14943 enableval=$enable_tipdlg;
14944 if test "$enableval" = yes; then
14945 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
14947 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
14953 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14954 if test "x$LINE" != x ; then
14955 eval "DEFAULT_$LINE"
14961 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14966 eval "$wx_cv_use_tipdlg"
14967 if test "x
$cache" = xyes; then
14968 echo "wxUSE_STARTUP_TIPS
=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14971 if test x"$enablestring" = xdisable; then
14972 if test $wxUSE_STARTUP_TIPS = yes; then
14978 result=$wxUSE_STARTUP_TIPS
14981 { echo "$as_me:$LINENO: result
: $result" >&5
14982 echo "${ECHO_T}$result" >&6; }
14986 defaultval=$wxUSE_ALL_FEATURES
14987 if test -z "$defaultval"; then
14988 if test x"$enablestring" = xdisable; then
14995 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-progressdlg" >&5
14996 echo $ECHO_N "checking
for --${enablestring:-enable}-progressdlg...
$ECHO_C" >&6; }
14997 # Check whether --enable-progressdlg was given.
14998 if test "${enable_progressdlg+set}" = set; then
14999 enableval=$enable_progressdlg;
15000 if test "$enableval" = yes; then
15001 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
15003 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
15009 LINE=`grep "^wxUSE_PROGRESSDLG
=" ${wx_arg_cache_file}`
15010 if test "x
$LINE" != x ; then
15011 eval "DEFAULT_
$LINE"
15017 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
15022 eval "$wx_cv_use_progressdlg"
15023 if test "x$cache" = xyes
; then
15024 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
15027 if test x
"$enablestring" = xdisable
; then
15028 if test $wxUSE_PROGRESSDLG = yes; then
15034 result
=$wxUSE_PROGRESSDLG
15037 { echo "$as_me:$LINENO: result: $result" >&5
15038 echo "${ECHO_T}$result" >&6; }
15042 defaultval
=$wxUSE_ALL_FEATURES
15043 if test -z "$defaultval"; then
15044 if test x
"$enablestring" = xdisable
; then
15051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
15052 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
15053 # Check whether --enable-wizarddlg was given.
15054 if test "${enable_wizarddlg+set}" = set; then
15055 enableval
=$enable_wizarddlg;
15056 if test "$enableval" = yes; then
15057 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
15059 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
15065 LINE
=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
15066 if test "x$LINE" != x
; then
15067 eval "DEFAULT_$LINE"
15073 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
15078 eval "$wx_cv_use_wizarddlg"
15079 if test "x$cache" = xyes; then
15080 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
15083 if test x"$enablestring" = xdisable; then
15084 if test $wxUSE_WIZARDDLG = yes; then
15090 result=$wxUSE_WIZARDDLG
15093 { echo "$as_me:$LINENO: result: $result" >&5
15094 echo "${ECHO_T}$result" >&6; }
15100 defaultval=$wxUSE_ALL_FEATURES
15101 if test -z "$defaultval"; then
15102 if test x"$enablestring" = xdisable; then
15109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
15110 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
15111 # Check whether --enable-menus was given.
15112 if test "${enable_menus+set}" = set; then
15113 enableval=$enable_menus;
15114 if test "$enableval" = yes; then
15115 wx_cv_use_menus='wxUSE_MENUS
=yes'
15117 wx_cv_use_menus='wxUSE_MENUS
=no
'
15123 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
15124 if test "x$LINE" != x ; then
15125 eval "DEFAULT_$LINE"
15131 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15136 eval "$wx_cv_use_menus"
15137 if test "x
$cache" = xyes; then
15138 echo "wxUSE_MENUS
=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15141 if test x"$enablestring" = xdisable; then
15142 if test $wxUSE_MENUS = yes; then
15148 result=$wxUSE_MENUS
15151 { echo "$as_me:$LINENO: result
: $result" >&5
15152 echo "${ECHO_T}$result" >&6; }
15156 defaultval=$wxUSE_ALL_FEATURES
15157 if test -z "$defaultval"; then
15158 if test x"$enablestring" = xdisable; then
15165 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-miniframe" >&5
15166 echo $ECHO_N "checking
for --${enablestring:-enable}-miniframe...
$ECHO_C" >&6; }
15167 # Check whether --enable-miniframe was given.
15168 if test "${enable_miniframe+set}" = set; then
15169 enableval=$enable_miniframe;
15170 if test "$enableval" = yes; then
15171 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15173 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15179 LINE=`grep "^wxUSE_MINIFRAME
=" ${wx_arg_cache_file}`
15180 if test "x
$LINE" != x ; then
15181 eval "DEFAULT_
$LINE"
15187 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15192 eval "$wx_cv_use_miniframe"
15193 if test "x$cache" = xyes
; then
15194 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15197 if test x
"$enablestring" = xdisable
; then
15198 if test $wxUSE_MINIFRAME = yes; then
15204 result
=$wxUSE_MINIFRAME
15207 { echo "$as_me:$LINENO: result: $result" >&5
15208 echo "${ECHO_T}$result" >&6; }
15212 defaultval
=$wxUSE_ALL_FEATURES
15213 if test -z "$defaultval"; then
15214 if test x
"$enablestring" = xdisable
; then
15221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
15222 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
15223 # Check whether --enable-tooltips was given.
15224 if test "${enable_tooltips+set}" = set; then
15225 enableval
=$enable_tooltips;
15226 if test "$enableval" = yes; then
15227 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
15229 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
15235 LINE
=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
15236 if test "x$LINE" != x
; then
15237 eval "DEFAULT_$LINE"
15243 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15248 eval "$wx_cv_use_tooltips"
15249 if test "x$cache" = xyes; then
15250 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15253 if test x"$enablestring" = xdisable; then
15254 if test $wxUSE_TOOLTIPS = yes; then
15260 result=$wxUSE_TOOLTIPS
15263 { echo "$as_me:$LINENO: result: $result" >&5
15264 echo "${ECHO_T}$result" >&6; }
15268 defaultval=$wxUSE_ALL_FEATURES
15269 if test -z "$defaultval"; then
15270 if test x"$enablestring" = xdisable; then
15277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15278 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15279 # Check whether --enable-splines was given.
15280 if test "${enable_splines+set}" = set; then
15281 enableval=$enable_splines;
15282 if test "$enableval" = yes; then
15283 wx_cv_use_splines='wxUSE_SPLINES
=yes'
15285 wx_cv_use_splines='wxUSE_SPLINES
=no
'
15291 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15292 if test "x$LINE" != x ; then
15293 eval "DEFAULT_$LINE"
15299 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15304 eval "$wx_cv_use_splines"
15305 if test "x
$cache" = xyes; then
15306 echo "wxUSE_SPLINES
=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15309 if test x"$enablestring" = xdisable; then
15310 if test $wxUSE_SPLINES = yes; then
15316 result=$wxUSE_SPLINES
15319 { echo "$as_me:$LINENO: result
: $result" >&5
15320 echo "${ECHO_T}$result" >&6; }
15324 defaultval=$wxUSE_ALL_FEATURES
15325 if test -z "$defaultval"; then
15326 if test x"$enablestring" = xdisable; then
15333 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mousewheel" >&5
15334 echo $ECHO_N "checking
for --${enablestring:-enable}-mousewheel...
$ECHO_C" >&6; }
15335 # Check whether --enable-mousewheel was given.
15336 if test "${enable_mousewheel+set}" = set; then
15337 enableval=$enable_mousewheel;
15338 if test "$enableval" = yes; then
15339 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15341 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15347 LINE=`grep "^wxUSE_MOUSEWHEEL
=" ${wx_arg_cache_file}`
15348 if test "x
$LINE" != x ; then
15349 eval "DEFAULT_
$LINE"
15355 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15360 eval "$wx_cv_use_mousewheel"
15361 if test "x$cache" = xyes
; then
15362 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15365 if test x
"$enablestring" = xdisable
; then
15366 if test $wxUSE_MOUSEWHEEL = yes; then
15372 result
=$wxUSE_MOUSEWHEEL
15375 { echo "$as_me:$LINENO: result: $result" >&5
15376 echo "${ECHO_T}$result" >&6; }
15380 defaultval
=$wxUSE_ALL_FEATURES
15381 if test -z "$defaultval"; then
15382 if test x
"$enablestring" = xdisable
; then
15389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15390 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15391 # Check whether --enable-validators was given.
15392 if test "${enable_validators+set}" = set; then
15393 enableval
=$enable_validators;
15394 if test "$enableval" = yes; then
15395 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
15397 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
15403 LINE
=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15404 if test "x$LINE" != x
; then
15405 eval "DEFAULT_$LINE"
15411 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15416 eval "$wx_cv_use_validators"
15417 if test "x$cache" = xyes; then
15418 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15421 if test x"$enablestring" = xdisable; then
15422 if test $wxUSE_VALIDATORS = yes; then
15428 result=$wxUSE_VALIDATORS
15431 { echo "$as_me:$LINENO: result: $result" >&5
15432 echo "${ECHO_T}$result" >&6; }
15436 defaultval=$wxUSE_ALL_FEATURES
15437 if test -z "$defaultval"; then
15438 if test x"$enablestring" = xdisable; then
15445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15446 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15447 # Check whether --enable-busyinfo was given.
15448 if test "${enable_busyinfo+set}" = set; then
15449 enableval=$enable_busyinfo;
15450 if test "$enableval" = yes; then
15451 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
15453 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
15459 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15460 if test "x$LINE" != x ; then
15461 eval "DEFAULT_$LINE"
15467 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15472 eval "$wx_cv_use_busyinfo"
15473 if test "x
$cache" = xyes; then
15474 echo "wxUSE_BUSYINFO
=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15477 if test x"$enablestring" = xdisable; then
15478 if test $wxUSE_BUSYINFO = yes; then
15484 result=$wxUSE_BUSYINFO
15487 { echo "$as_me:$LINENO: result
: $result" >&5
15488 echo "${ECHO_T}$result" >&6; }
15492 defaultval=$wxUSE_ALL_FEATURES
15493 if test -z "$defaultval"; then
15494 if test x"$enablestring" = xdisable; then
15501 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-joystick" >&5
15502 echo $ECHO_N "checking
for --${enablestring:-enable}-joystick...
$ECHO_C" >&6; }
15503 # Check whether --enable-joystick was given.
15504 if test "${enable_joystick+set}" = set; then
15505 enableval=$enable_joystick;
15506 if test "$enableval" = yes; then
15507 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15509 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15515 LINE=`grep "^wxUSE_JOYSTICK
=" ${wx_arg_cache_file}`
15516 if test "x
$LINE" != x ; then
15517 eval "DEFAULT_
$LINE"
15523 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15528 eval "$wx_cv_use_joystick"
15529 if test "x$cache" = xyes
; then
15530 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15533 if test x
"$enablestring" = xdisable
; then
15534 if test $wxUSE_JOYSTICK = yes; then
15540 result
=$wxUSE_JOYSTICK
15543 { echo "$as_me:$LINENO: result: $result" >&5
15544 echo "${ECHO_T}$result" >&6; }
15548 defaultval
=$wxUSE_ALL_FEATURES
15549 if test -z "$defaultval"; then
15550 if test x
"$enablestring" = xdisable
; then
15557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15558 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15559 # Check whether --enable-metafile was given.
15560 if test "${enable_metafile+set}" = set; then
15561 enableval
=$enable_metafile;
15562 if test "$enableval" = yes; then
15563 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
15565 wx_cv_use_metafile
='wxUSE_METAFILE=no'
15571 LINE
=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15572 if test "x$LINE" != x
; then
15573 eval "DEFAULT_$LINE"
15579 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15584 eval "$wx_cv_use_metafile"
15585 if test "x$cache" = xyes; then
15586 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15589 if test x"$enablestring" = xdisable; then
15590 if test $wxUSE_METAFILE = yes; then
15596 result=$wxUSE_METAFILE
15599 { echo "$as_me:$LINENO: result: $result" >&5
15600 echo "${ECHO_T}$result" >&6; }
15604 defaultval=$wxUSE_ALL_FEATURES
15605 if test -z "$defaultval"; then
15606 if test x"$enablestring" = xdisable; then
15613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15614 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15615 # Check whether --enable-dragimage was given.
15616 if test "${enable_dragimage+set}" = set; then
15617 enableval=$enable_dragimage;
15618 if test "$enableval" = yes; then
15619 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
15621 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
15627 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15628 if test "x$LINE" != x ; then
15629 eval "DEFAULT_$LINE"
15635 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15640 eval "$wx_cv_use_dragimage"
15641 if test "x
$cache" = xyes; then
15642 echo "wxUSE_DRAGIMAGE
=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15645 if test x"$enablestring" = xdisable; then
15646 if test $wxUSE_DRAGIMAGE = yes; then
15652 result=$wxUSE_DRAGIMAGE
15655 { echo "$as_me:$LINENO: result
: $result" >&5
15656 echo "${ECHO_T}$result" >&6; }
15660 defaultval=$wxUSE_ALL_FEATURES
15661 if test -z "$defaultval"; then
15662 if test x"$enablestring" = xdisable; then
15669 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accessibility" >&5
15670 echo $ECHO_N "checking
for --${enablestring:-enable}-accessibility...
$ECHO_C" >&6; }
15671 # Check whether --enable-accessibility was given.
15672 if test "${enable_accessibility+set}" = set; then
15673 enableval=$enable_accessibility;
15674 if test "$enableval" = yes; then
15675 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15677 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15683 LINE=`grep "^wxUSE_ACCESSIBILITY
=" ${wx_arg_cache_file}`
15684 if test "x
$LINE" != x ; then
15685 eval "DEFAULT_
$LINE"
15691 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15696 eval "$wx_cv_use_accessibility"
15697 if test "x$cache" = xyes
; then
15698 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15701 if test x
"$enablestring" = xdisable
; then
15702 if test $wxUSE_ACCESSIBILITY = yes; then
15708 result
=$wxUSE_ACCESSIBILITY
15711 { echo "$as_me:$LINENO: result: $result" >&5
15712 echo "${ECHO_T}$result" >&6; }
15718 defaultval
=$wxUSE_ALL_FEATURES
15719 if test -z "$defaultval"; then
15720 if test x
"$enablestring" = xdisable
; then
15727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15728 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15729 # Check whether --enable-palette was given.
15730 if test "${enable_palette+set}" = set; then
15731 enableval
=$enable_palette;
15732 if test "$enableval" = yes; then
15733 wx_cv_use_palette
='wxUSE_PALETTE=yes'
15735 wx_cv_use_palette
='wxUSE_PALETTE=no'
15741 LINE
=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15742 if test "x$LINE" != x
; then
15743 eval "DEFAULT_$LINE"
15749 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15754 eval "$wx_cv_use_palette"
15755 if test "x$cache" = xyes; then
15756 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15759 if test x"$enablestring" = xdisable; then
15760 if test $wxUSE_PALETTE = yes; then
15766 result=$wxUSE_PALETTE
15769 { echo "$as_me:$LINENO: result: $result" >&5
15770 echo "${ECHO_T}$result" >&6; }
15774 defaultval=$wxUSE_ALL_FEATURES
15775 if test -z "$defaultval"; then
15776 if test x"$enablestring" = xdisable; then
15783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15784 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15785 # Check whether --enable-image was given.
15786 if test "${enable_image+set}" = set; then
15787 enableval=$enable_image;
15788 if test "$enableval" = yes; then
15789 wx_cv_use_image='wxUSE_IMAGE
=yes'
15791 wx_cv_use_image='wxUSE_IMAGE
=no
'
15797 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15798 if test "x$LINE" != x ; then
15799 eval "DEFAULT_$LINE"
15805 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15810 eval "$wx_cv_use_image"
15811 if test "x
$cache" = xyes; then
15812 echo "wxUSE_IMAGE
=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15815 if test x"$enablestring" = xdisable; then
15816 if test $wxUSE_IMAGE = yes; then
15822 result=$wxUSE_IMAGE
15825 { echo "$as_me:$LINENO: result
: $result" >&5
15826 echo "${ECHO_T}$result" >&6; }
15830 defaultval=$wxUSE_ALL_FEATURES
15831 if test -z "$defaultval"; then
15832 if test x"$enablestring" = xdisable; then
15839 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gif" >&5
15840 echo $ECHO_N "checking
for --${enablestring:-enable}-gif...
$ECHO_C" >&6; }
15841 # Check whether --enable-gif was given.
15842 if test "${enable_gif+set}" = set; then
15843 enableval=$enable_gif;
15844 if test "$enableval" = yes; then
15845 wx_cv_use_gif='wxUSE_GIF=yes'
15847 wx_cv_use_gif='wxUSE_GIF=no'
15853 LINE=`grep "^wxUSE_GIF
=" ${wx_arg_cache_file}`
15854 if test "x
$LINE" != x ; then
15855 eval "DEFAULT_
$LINE"
15861 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15866 eval "$wx_cv_use_gif"
15867 if test "x$cache" = xyes
; then
15868 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15871 if test x
"$enablestring" = xdisable
; then
15872 if test $wxUSE_GIF = yes; then
15881 { echo "$as_me:$LINENO: result: $result" >&5
15882 echo "${ECHO_T}$result" >&6; }
15886 defaultval
=$wxUSE_ALL_FEATURES
15887 if test -z "$defaultval"; then
15888 if test x
"$enablestring" = xdisable
; then
15895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15896 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15897 # Check whether --enable-pcx was given.
15898 if test "${enable_pcx+set}" = set; then
15899 enableval
=$enable_pcx;
15900 if test "$enableval" = yes; then
15901 wx_cv_use_pcx
='wxUSE_PCX=yes'
15903 wx_cv_use_pcx
='wxUSE_PCX=no'
15909 LINE
=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15910 if test "x$LINE" != x
; then
15911 eval "DEFAULT_$LINE"
15917 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15922 eval "$wx_cv_use_pcx"
15923 if test "x$cache" = xyes; then
15924 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15927 if test x"$enablestring" = xdisable; then
15928 if test $wxUSE_PCX = yes; then
15937 { echo "$as_me:$LINENO: result: $result" >&5
15938 echo "${ECHO_T}$result" >&6; }
15942 defaultval=$wxUSE_ALL_FEATURES
15943 if test -z "$defaultval"; then
15944 if test x"$enablestring" = xdisable; then
15951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15952 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15953 # Check whether --enable-tga was given.
15954 if test "${enable_tga+set}" = set; then
15955 enableval=$enable_tga;
15956 if test "$enableval" = yes; then
15957 wx_cv_use_tga='wxUSE_TGA
=yes'
15959 wx_cv_use_tga='wxUSE_TGA
=no
'
15965 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15966 if test "x$LINE" != x ; then
15967 eval "DEFAULT_$LINE"
15973 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15978 eval "$wx_cv_use_tga"
15979 if test "x
$cache" = xyes; then
15980 echo "wxUSE_TGA
=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15983 if test x"$enablestring" = xdisable; then
15984 if test $wxUSE_TGA = yes; then
15993 { echo "$as_me:$LINENO: result
: $result" >&5
15994 echo "${ECHO_T}$result" >&6; }
15998 defaultval=$wxUSE_ALL_FEATURES
15999 if test -z "$defaultval"; then
16000 if test x"$enablestring" = xdisable; then
16007 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iff" >&5
16008 echo $ECHO_N "checking
for --${enablestring:-enable}-iff...
$ECHO_C" >&6; }
16009 # Check whether --enable-iff was given.
16010 if test "${enable_iff+set}" = set; then
16011 enableval=$enable_iff;
16012 if test "$enableval" = yes; then
16013 wx_cv_use_iff='wxUSE_IFF=yes'
16015 wx_cv_use_iff='wxUSE_IFF=no'
16021 LINE=`grep "^wxUSE_IFF
=" ${wx_arg_cache_file}`
16022 if test "x
$LINE" != x ; then
16023 eval "DEFAULT_
$LINE"
16029 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
16034 eval "$wx_cv_use_iff"
16035 if test "x$cache" = xyes
; then
16036 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
16039 if test x
"$enablestring" = xdisable
; then
16040 if test $wxUSE_IFF = yes; then
16049 { echo "$as_me:$LINENO: result: $result" >&5
16050 echo "${ECHO_T}$result" >&6; }
16054 defaultval
=$wxUSE_ALL_FEATURES
16055 if test -z "$defaultval"; then
16056 if test x
"$enablestring" = xdisable
; then
16063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
16064 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
16065 # Check whether --enable-pnm was given.
16066 if test "${enable_pnm+set}" = set; then
16067 enableval
=$enable_pnm;
16068 if test "$enableval" = yes; then
16069 wx_cv_use_pnm
='wxUSE_PNM=yes'
16071 wx_cv_use_pnm
='wxUSE_PNM=no'
16077 LINE
=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
16078 if test "x$LINE" != x
; then
16079 eval "DEFAULT_$LINE"
16085 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
16090 eval "$wx_cv_use_pnm"
16091 if test "x$cache" = xyes; then
16092 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
16095 if test x"$enablestring" = xdisable; then
16096 if test $wxUSE_PNM = yes; then
16105 { echo "$as_me:$LINENO: result: $result" >&5
16106 echo "${ECHO_T}$result" >&6; }
16110 defaultval=$wxUSE_ALL_FEATURES
16111 if test -z "$defaultval"; then
16112 if test x"$enablestring" = xdisable; then
16119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
16120 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
16121 # Check whether --enable-xpm was given.
16122 if test "${enable_xpm+set}" = set; then
16123 enableval=$enable_xpm;
16124 if test "$enableval" = yes; then
16125 wx_cv_use_xpm='wxUSE_XPM
=yes'
16127 wx_cv_use_xpm='wxUSE_XPM
=no
'
16133 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
16134 if test "x$LINE" != x ; then
16135 eval "DEFAULT_$LINE"
16141 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16146 eval "$wx_cv_use_xpm"
16147 if test "x
$cache" = xyes; then
16148 echo "wxUSE_XPM
=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16151 if test x"$enablestring" = xdisable; then
16152 if test $wxUSE_XPM = yes; then
16161 { echo "$as_me:$LINENO: result
: $result" >&5
16162 echo "${ECHO_T}$result" >&6; }
16166 defaultval=$wxUSE_ALL_FEATURES
16167 if test -z "$defaultval"; then
16168 if test x"$enablestring" = xdisable; then
16175 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ico_cur" >&5
16176 echo $ECHO_N "checking
for --${enablestring:-enable}-ico_cur...
$ECHO_C" >&6; }
16177 # Check whether --enable-ico_cur was given.
16178 if test "${enable_ico_cur+set}" = set; then
16179 enableval=$enable_ico_cur;
16180 if test "$enableval" = yes; then
16181 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16183 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16189 LINE=`grep "^wxUSE_ICO_CUR
=" ${wx_arg_cache_file}`
16190 if test "x
$LINE" != x ; then
16191 eval "DEFAULT_
$LINE"
16197 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16202 eval "$wx_cv_use_ico_cur"
16203 if test "x$cache" = xyes
; then
16204 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16207 if test x
"$enablestring" = xdisable
; then
16208 if test $wxUSE_ICO_CUR = yes; then
16214 result
=$wxUSE_ICO_CUR
16217 { echo "$as_me:$LINENO: result: $result" >&5
16218 echo "${ECHO_T}$result" >&6; }
16224 defaultval
=$wxUSE_ALL_FEATURES
16225 if test -z "$defaultval"; then
16226 if test x
"$enablestring" = xdisable
; then
16233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
16234 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
16235 # Check whether --enable-dccache was given.
16236 if test "${enable_dccache+set}" = set; then
16237 enableval
=$enable_dccache;
16238 if test "$enableval" = yes; then
16239 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
16241 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
16247 LINE
=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16248 if test "x$LINE" != x
; then
16249 eval "DEFAULT_$LINE"
16255 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16260 eval "$wx_cv_use_dccache"
16261 if test "x$cache" = xyes; then
16262 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16265 if test x"$enablestring" = xdisable; then
16266 if test $wxUSE_DC_CACHEING = yes; then
16272 result=$wxUSE_DC_CACHEING
16275 { echo "$as_me:$LINENO: result: $result" >&5
16276 echo "${ECHO_T}$result" >&6; }
16280 defaultval=$wxUSE_ALL_FEATURES
16281 if test -z "$defaultval"; then
16282 if test x"$enablestring" = xdisable; then
16289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16290 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16291 # Check whether --enable-ps-in-msw was given.
16292 if test "${enable_ps_in_msw+set}" = set; then
16293 enableval=$enable_ps_in_msw;
16294 if test "$enableval" = yes; then
16295 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
16297 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
16303 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16304 if test "x$LINE" != x ; then
16305 eval "DEFAULT_$LINE"
16311 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16316 eval "$wx_cv_use_ps_in_msw"
16317 if test "x
$cache" = xyes; then
16318 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16321 if test x"$enablestring" = xdisable; then
16322 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16328 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16331 { echo "$as_me:$LINENO: result
: $result" >&5
16332 echo "${ECHO_T}$result" >&6; }
16336 defaultval=$wxUSE_ALL_FEATURES
16337 if test -z "$defaultval"; then
16338 if test x"$enablestring" = xdisable; then
16345 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ownerdrawn" >&5
16346 echo $ECHO_N "checking
for --${enablestring:-enable}-ownerdrawn...
$ECHO_C" >&6; }
16347 # Check whether --enable-ownerdrawn was given.
16348 if test "${enable_ownerdrawn+set}" = set; then
16349 enableval=$enable_ownerdrawn;
16350 if test "$enableval" = yes; then
16351 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16353 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16359 LINE=`grep "^wxUSE_OWNER_DRAWN
=" ${wx_arg_cache_file}`
16360 if test "x
$LINE" != x ; then
16361 eval "DEFAULT_
$LINE"
16367 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16372 eval "$wx_cv_use_ownerdrawn"
16373 if test "x$cache" = xyes
; then
16374 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16377 if test x
"$enablestring" = xdisable
; then
16378 if test $wxUSE_OWNER_DRAWN = yes; then
16384 result
=$wxUSE_OWNER_DRAWN
16387 { echo "$as_me:$LINENO: result: $result" >&5
16388 echo "${ECHO_T}$result" >&6; }
16392 defaultval
=$wxUSE_ALL_FEATURES
16393 if test -z "$defaultval"; then
16394 if test x
"$enablestring" = xdisable
; then
16401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16402 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16403 # Check whether --enable-uxtheme was given.
16404 if test "${enable_uxtheme+set}" = set; then
16405 enableval
=$enable_uxtheme;
16406 if test "$enableval" = yes; then
16407 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
16409 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
16415 LINE
=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16416 if test "x$LINE" != x
; then
16417 eval "DEFAULT_$LINE"
16423 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16428 eval "$wx_cv_use_uxtheme"
16429 if test "x$cache" = xyes; then
16430 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16433 if test x"$enablestring" = xdisable; then
16434 if test $wxUSE_UXTHEME = yes; then
16440 result=$wxUSE_UXTHEME
16443 { echo "$as_me:$LINENO: result: $result" >&5
16444 echo "${ECHO_T}$result" >&6; }
16448 defaultval=$wxUSE_ALL_FEATURES
16449 if test -z "$defaultval"; then
16450 if test x"$enablestring" = xdisable; then
16457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16458 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16459 # Check whether --enable-wxdib was given.
16460 if test "${enable_wxdib+set}" = set; then
16461 enableval=$enable_wxdib;
16462 if test "$enableval" = yes; then
16463 wx_cv_use_wxdib='wxUSE_DIB
=yes'
16465 wx_cv_use_wxdib='wxUSE_DIB
=no
'
16471 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16472 if test "x$LINE" != x ; then
16473 eval "DEFAULT_$LINE"
16479 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16484 eval "$wx_cv_use_wxdib"
16485 if test "x
$cache" = xyes; then
16486 echo "wxUSE_DIB
=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16489 if test x"$enablestring" = xdisable; then
16490 if test $wxUSE_DIB = yes; then
16499 { echo "$as_me:$LINENO: result
: $result" >&5
16500 echo "${ECHO_T}$result" >&6; }
16506 echo "saving argument cache
$wx_arg_cache_file"
16507 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16511 { echo "$as_me:$LINENO: checking
for toolkit
" >&5
16512 echo $ECHO_N "checking
for toolkit...
$ECHO_C" >&6; }
16514 # In Wine, we need to default to MSW, not GTK or MOTIF
16515 if test "$wxUSE_WINE" = "yes"; then
16516 DEFAULT_DEFAULT_wxUSE_GTK=0
16517 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16518 DEFAULT_DEFAULT_wxUSE_MSW=1
16521 CXX=${CXX:-wineg++}
16525 if test "$wxUSE_GUI" = "yes"; then
16527 if test "$USE_BEOS" = 1; then
16528 { { echo "$as_me:$LINENO: error
: BeOS GUI is not supported yet
, use
--disable-gui" >&5
16529 echo "$as_me: error
: BeOS GUI is not supported yet
, use
--disable-gui" >&2;}
16530 { (exit 1); exit 1; }; }
16533 if test "$TOOLKIT_GIVEN" = 1; then
16534 for toolkit in `echo $ALL_TOOLKITS`; do
16536 eval "value
=\$
${var}"
16537 if test "x
$value" = "xno
"; then
16539 elif test "x
$value" != "x
"; then
16543 if test "x
$value" != "x
" -a "x
$value" != "xyes
" -a "x
$value" != "xno
"; then
16544 eval "wx
${toolkit}_VERSION
=$value"
16548 for toolkit in `echo $ALL_TOOLKITS`; do
16549 if test "$has_toolkit_in_cache" != 1; then
16550 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16552 var=DEFAULT_wxUSE_$toolkit
16554 eval "version
=\
$DEFAULT_wx${toolkit}_VERSION
"
16555 if test "x
$version" != "x
"; then
16556 eval "wx
${toolkit}_VERSION
=$version"
16559 eval "wxUSE_
$toolkit=\$
${var}"
16563 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16564 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16565 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16568 *-pc-os2_emx | *-pc-os2-emx )
16569 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16572 case "$NUM_TOOLKITS" in
16576 { { echo "$as_me:$LINENO: error
: Please specify a toolkit
-- cannot determine the default
for ${host}" >&5
16577 echo "$as_me: error
: Please specify a toolkit
-- cannot determine the default
for ${host}" >&2;}
16578 { (exit 1); exit 1; }; }
16581 { { echo "$as_me:$LINENO: error
: Please specify
at most one toolkit
(maybe some are cached
in configarg.cache?
)" >&5
16582 echo "$as_me: error
: Please specify
at most one toolkit
(maybe some are cached
in configarg.cache?
)" >&2;}
16583 { (exit 1); exit 1; }; }
16586 # to be removed when --disable-gtk2 isn't needed
16587 if test "x
$wxUSE_GTK2" = "xyes
"; then
16589 elif test "x
$wxUSE_GTK2" = "xno
"; then
16593 for toolkit in `echo $ALL_TOOLKITS`; do
16595 eval "value
=\$
${var}"
16596 if test "x
$value" != x; then
16597 cache_var=CACHE_$toolkit
16598 eval "cache
=\$
${cache_var}"
16599 if test "$cache" = 1; then
16600 echo "$var=$value" >> ${wx_arg_cache_file}
16601 eval "version
=\
$wx${toolkit}_VERSION
"
16602 if test "x
$version" != "x
"; then
16603 echo "wx
${toolkit}_VERSION
=$version" >> ${wx_arg_cache_file}
16606 if test "$value" = 1; then
16607 toolkit_echo=`echo $toolkit | tr "[A
-Z]" "[a
-z]"`
16608 { echo "$as_me:$LINENO: result
: $toolkit_echo" >&5
16609 echo "${ECHO_T}$toolkit_echo" >&6; }
16614 if test "x
$host_alias" != "x
"; then
16615 { echo "$as_me:$LINENO: result
: base
($host_alias hosted
) only
" >&5
16616 echo "${ECHO_T}base
($host_alias hosted
) only
" >&6; }
16618 { echo "$as_me:$LINENO: result
: base only
" >&5
16619 echo "${ECHO_T}base only
" >&6; }
16624 cat >confcache <<\_ACEOF
16625 # This file is a shell script that caches the results of configure
16626 # tests run on this system so they can be shared between configure
16627 # scripts and configure runs, see configure's option --config-cache.
16628 # It is not useful on other systems. If it contains results you don't
16629 # want to keep, you may remove or edit it.
16631 # config.status only pays attention to the cache file if you give it
16632 # the --recheck option to rerun configure.
16634 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16635 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16636 # following values.
16640 # The following way of writing the cache mishandles newlines in values,
16641 # but we know of no workaround that is simple, portable, and efficient.
16642 # So, we kill variables containing newlines.
16643 # Ultrix sh set writes to stderr and can't be redirected directly,
16644 # and sets the high bit in the cache file unless we assign to the vars.
16646 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16647 eval ac_val=\$$ac_var
16651 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
16652 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
16655 _ | IFS | as_nl) ;; #(
16656 *) $as_unset $ac_var ;;
16662 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16663 *${as_nl}ac_space=\ *)
16664 # `set' does not quote correctly, so add quotes (double-quote
16665 # substitution turns \\\\ into \\, and sed turns \\ into \).
16668 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
16671 # `set' quotes correctly as required by POSIX, so do not add quotes.
16672 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
16681 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16683 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16685 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16686 if test -w "$cache_file"; then
16687 test "x
$cache_file" != "x
/dev
/null
" &&
16688 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
16689 echo "$as_me: updating cache
$cache_file" >&6;}
16690 cat confcache >$cache_file
16692 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
16693 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
16703 ac_cpp='$CPP $CPPFLAGS'
16704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16707 if test -n "$ac_tool_prefix"; then
16708 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
16709 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16710 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16711 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16712 if test "${ac_cv_prog_CC+set}" = set; then
16713 echo $ECHO_N "(cached
) $ECHO_C" >&6
16715 if test -n "$CC"; then
16716 ac_cv_prog_CC="$CC" # Let the user override the test.
16718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16719 for as_dir in $PATH
16722 test -z "$as_dir" && as_dir=.
16723 for ac_exec_ext in '' $ac_executable_extensions; do
16724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16725 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
16726 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16736 if test -n "$CC"; then
16737 { echo "$as_me:$LINENO: result
: $CC" >&5
16738 echo "${ECHO_T}$CC" >&6; }
16740 { echo "$as_me:$LINENO: result
: no
" >&5
16741 echo "${ECHO_T}no
" >&6; }
16746 if test -z "$ac_cv_prog_CC"; then
16748 # Extract the first word of "gcc
", so it can be a program name with args.
16749 set dummy gcc; ac_word=$2
16750 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16751 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16752 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16753 echo $ECHO_N "(cached
) $ECHO_C" >&6
16755 if test -n "$ac_ct_CC"; then
16756 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16759 for as_dir in $PATH
16762 test -z "$as_dir" && as_dir=.
16763 for ac_exec_ext in '' $ac_executable_extensions; do
16764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16765 ac_cv_prog_ac_ct_CC="gcc
"
16766 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16775 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16776 if test -n "$ac_ct_CC"; then
16777 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
16778 echo "${ECHO_T}$ac_ct_CC" >&6; }
16780 { echo "$as_me:$LINENO: result
: no
" >&5
16781 echo "${ECHO_T}no
" >&6; }
16784 if test "x
$ac_ct_CC" = x; then
16787 case $cross_compiling:$ac_tool_warned in
16789 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
16790 whose name does not start with the
host triplet. If you think this
16791 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
16792 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
16793 whose name does not start with the
host triplet. If you think this
16794 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
16795 ac_tool_warned=yes ;;
16800 CC="$ac_cv_prog_CC"
16803 if test -z "$CC"; then
16804 if test -n "$ac_tool_prefix"; then
16805 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
16806 set dummy ${ac_tool_prefix}cc; ac_word=$2
16807 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16808 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16809 if test "${ac_cv_prog_CC+set}" = set; then
16810 echo $ECHO_N "(cached
) $ECHO_C" >&6
16812 if test -n "$CC"; then
16813 ac_cv_prog_CC="$CC" # Let the user override the test.
16815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16816 for as_dir in $PATH
16819 test -z "$as_dir" && as_dir=.
16820 for ac_exec_ext in '' $ac_executable_extensions; do
16821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16822 ac_cv_prog_CC="${ac_tool_prefix}cc
"
16823 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16833 if test -n "$CC"; then
16834 { echo "$as_me:$LINENO: result
: $CC" >&5
16835 echo "${ECHO_T}$CC" >&6; }
16837 { echo "$as_me:$LINENO: result
: no
" >&5
16838 echo "${ECHO_T}no
" >&6; }
16844 if test -z "$CC"; then
16845 # Extract the first word of "cc
", so it can be a program name with args.
16846 set dummy cc; 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 ac_prog_rejected=no
16856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16857 for as_dir in $PATH
16860 test -z "$as_dir" && as_dir=.
16861 for ac_exec_ext in '' $ac_executable_extensions; do
16862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16863 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
16864 ac_prog_rejected=yes
16868 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16875 if test $ac_prog_rejected = yes; then
16876 # We found a bogon in the path, so make sure we never use it.
16877 set dummy $ac_cv_prog_CC
16879 if test $# != 0; then
16880 # We chose a different compiler from the bogus one.
16881 # However, it has the same basename, so the bogon will be chosen
16882 # first if we set CC to just the basename; use the full file name.
16884 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
16890 if test -n "$CC"; then
16891 { echo "$as_me:$LINENO: result
: $CC" >&5
16892 echo "${ECHO_T}$CC" >&6; }
16894 { echo "$as_me:$LINENO: result
: no
" >&5
16895 echo "${ECHO_T}no
" >&6; }
16900 if test -z "$CC"; then
16901 if test -n "$ac_tool_prefix"; then
16902 for ac_prog in cl.exe
16904 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16905 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16906 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16907 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16908 if test "${ac_cv_prog_CC+set}" = set; then
16909 echo $ECHO_N "(cached
) $ECHO_C" >&6
16911 if test -n "$CC"; then
16912 ac_cv_prog_CC="$CC" # Let the user override the test.
16914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16915 for as_dir in $PATH
16918 test -z "$as_dir" && as_dir=.
16919 for ac_exec_ext in '' $ac_executable_extensions; do
16920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16921 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16922 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16932 if test -n "$CC"; then
16933 { echo "$as_me:$LINENO: result
: $CC" >&5
16934 echo "${ECHO_T}$CC" >&6; }
16936 { echo "$as_me:$LINENO: result
: no
" >&5
16937 echo "${ECHO_T}no
" >&6; }
16941 test -n "$CC" && break
16944 if test -z "$CC"; then
16946 for ac_prog in cl.exe
16948 # Extract the first word of "$ac_prog", so it can be a program name with args.
16949 set dummy $ac_prog; ac_word=$2
16950 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16951 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16952 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16953 echo $ECHO_N "(cached
) $ECHO_C" >&6
16955 if test -n "$ac_ct_CC"; then
16956 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16959 for as_dir in $PATH
16962 test -z "$as_dir" && as_dir=.
16963 for ac_exec_ext in '' $ac_executable_extensions; do
16964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16965 ac_cv_prog_ac_ct_CC="$ac_prog"
16966 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16975 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16976 if test -n "$ac_ct_CC"; then
16977 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
16978 echo "${ECHO_T}$ac_ct_CC" >&6; }
16980 { echo "$as_me:$LINENO: result
: no
" >&5
16981 echo "${ECHO_T}no
" >&6; }
16985 test -n "$ac_ct_CC" && break
16988 if test "x
$ac_ct_CC" = x; then
16991 case $cross_compiling:$ac_tool_warned in
16993 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
16994 whose name does not start with the
host triplet. If you think this
16995 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
16996 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
16997 whose name does not start with the
host triplet. If you think this
16998 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
16999 ac_tool_warned=yes ;;
17008 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
17009 See \
`config.log' for more details." >&5
17010 echo "$as_me: error: no acceptable C compiler found in \$PATH
17011 See \`config.log
' for more details." >&2;}
17012 { (exit 1); exit 1; }; }
17014 # Provide some information about the compiler.
17015 echo "$as_me:$LINENO: checking for C compiler version" >&5
17016 ac_compiler=`set X $ac_compile; echo $2`
17017 { (ac_try="$ac_compiler --version >&5"
17018 case "(($ac_try" in
17019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17020 *) ac_try_echo=$ac_try;;
17022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17023 (eval "$ac_compiler --version >&5") 2>&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); }
17027 { (ac_try="$ac_compiler -v >&5"
17028 case "(($ac_try" in
17029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17030 *) ac_try_echo=$ac_try;;
17032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17033 (eval "$ac_compiler -v >&5") 2>&5
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); }
17037 { (ac_try="$ac_compiler -V >&5"
17038 case "(($ac_try" in
17039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17040 *) ac_try_echo=$ac_try;;
17042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17043 (eval "$ac_compiler -V >&5") 2>&5
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); }
17048 cat >conftest.$ac_ext <<_ACEOF
17051 cat confdefs.h >>conftest.$ac_ext
17052 cat >>conftest.$ac_ext <<_ACEOF
17053 /* end confdefs.h. */
17063 ac_clean_files_save=$ac_clean_files
17064 ac_clean_files="$ac_clean_files a.out a.exe b.out"
17065 # Try to create an executable without -o first, disregard a.out.
17066 # It will help us diagnose broken compilers, and finding out an intuition
17068 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
17069 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
17070 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
17072 # List of possible output files, starting from the most likely.
17073 # The algorithm is not robust to junk in `.', hence go to wildcards
(a.
*)
17074 # only as a last resort. b.out is created by i960 compilers.
17075 ac_files
='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
17077 # The IRIX 6 linker writes into existing files which may not be
17078 # executable, retaining their permissions. Remove them first so a
17079 # subsequent execution test works.
17081 for ac_file
in $ac_files
17084 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
17085 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
17090 if { (ac_try
="$ac_link_default"
17091 case "(($ac_try" in
17092 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17093 *) ac_try_echo=$ac_try;;
17095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17096 (eval "$ac_link_default") 2>&5
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); }; then
17100 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
17101 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
17102 # in a Makefile. We should not override ac_cv_exeext if it was cached,
17103 # so that the user can short-circuit this test for compilers unknown to
17105 for ac_file in $ac_files ''
17107 test -f "$ac_file" || continue
17109 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
17112 # We found the default executable, but exeext='' is most
17116 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
17118 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17120 # We set ac_cv_exeext here because the later test for it is not
17121 # safe: cross compilers may not add the suffix if given an `-o'
17122 # argument, so we may need to know it at that point already.
17123 # Even if this section looks crufty: it has the advantage of
17124 # actually working.
17130 test "$ac_cv_exeext" = no && ac_cv_exeext=
17136 { echo "$as_me:$LINENO: result: $ac_file" >&5
17137 echo "${ECHO_T}$ac_file" >&6; }
17138 if test -z "$ac_file"; then
17139 echo "$as_me: failed program was:" >&5
17140 sed 's
/^
/| /' conftest.$ac_ext >&5
17142 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17143 See \`config.log' for more details.
" >&5
17144 echo "$as_me: error
: C compiler cannot create executables
17145 See \
`config.log' for more details." >&2;}
17146 { (exit 77); exit 77; }; }
17149 ac_exeext=$ac_cv_exeext
17151 # Check that the compiler produces executables we can run. If not, either
17152 # the compiler is broken, or we cross compile.
17153 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17154 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17155 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17156 # If not cross compiling, check that we can run a simple program.
17157 if test "$cross_compiling" != yes; then
17158 if { ac_try='./$ac_file'
17159 { (case "(($ac_try" in
17160 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17161 *) ac_try_echo
=$ac_try;;
17163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17164 (eval "$ac_try") 2>&5
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); }; }; then
17170 if test "$cross_compiling" = maybe
; then
17171 cross_compiling
=yes
17173 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17174 If you meant to cross compile, use \`--host'.
17175 See \`config.log' for more details." >&5
17176 echo "$as_me: error: cannot run C compiled programs.
17177 If you meant to cross compile, use \`--host'.
17178 See \`config.log' for more details." >&2;}
17179 { (exit 1); exit 1; }; }
17183 { echo "$as_me:$LINENO: result: yes" >&5
17184 echo "${ECHO_T}yes" >&6; }
17186 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
17187 ac_clean_files
=$ac_clean_files_save
17188 # Check that the compiler produces executables we can run. If not, either
17189 # the compiler is broken, or we cross compile.
17190 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17191 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17192 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17193 echo "${ECHO_T}$cross_compiling" >&6; }
17195 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17196 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17197 if { (ac_try
="$ac_link"
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_link") 2>&5
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); }; then
17207 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
17208 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
17209 # work properly (i.e., refer to `conftest.exe'), while it won't with
17211 for ac_file
in conftest.exe conftest conftest.
*; do
17212 test -f "$ac_file" || continue
17214 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
17215 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
17221 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17222 See \`config.log' for more details." >&5
17223 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17224 See \`config.log' for more details." >&2;}
17225 { (exit 1); exit 1; }; }
17228 rm -f conftest
$ac_cv_exeext
17229 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17230 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17232 rm -f conftest.
$ac_ext
17233 EXEEXT
=$ac_cv_exeext
17235 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17236 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17237 if test "${ac_cv_objext+set}" = set; then
17238 echo $ECHO_N "(cached) $ECHO_C" >&6
17240 cat >conftest.
$ac_ext <<_ACEOF
17243 cat confdefs.h
>>conftest.
$ac_ext
17244 cat >>conftest.
$ac_ext <<_ACEOF
17245 /* end confdefs.h. */
17255 rm -f conftest.o conftest.obj
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>&5
17264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17265 (exit $ac_status); }; then
17266 for ac_file in conftest.o conftest.obj conftest.*; do
17267 test -f "$ac_file" || continue;
17269 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17270 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17275 echo "$as_me: failed program was:" >&5
17276 sed 's/^/| /' conftest.$ac_ext >&5
17278 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17279 See \`config.log
' for more details." >&5
17280 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17281 See \`config.log' for more details.
" >&2;}
17282 { (exit 1); exit 1; }; }
17285 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17287 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
17288 echo "${ECHO_T}$ac_cv_objext" >&6; }
17289 OBJEXT=$ac_cv_objext
17291 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
17292 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
17293 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17294 echo $ECHO_N "(cached
) $ECHO_C" >&6
17296 cat >conftest.$ac_ext <<_ACEOF
17299 cat confdefs.h >>conftest.$ac_ext
17300 cat >>conftest.$ac_ext <<_ACEOF
17301 /* end confdefs.h. */
17314 rm -f conftest.$ac_objext
17315 if { (ac_try="$ac_compile"
17316 case "(($ac_try" in
17317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17318 *) ac_try_echo=$ac_try;;
17320 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17321 (eval "$ac_compile") 2>conftest.er1
17323 grep -v '^ *+' conftest.er1 >conftest.err
17325 cat conftest.err >&5
17326 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17327 (exit $ac_status); } && {
17328 test -z "$ac_c_werror_flag" ||
17329 test ! -s conftest.err
17330 } && test -s conftest.$ac_objext; then
17331 ac_compiler_gnu=yes
17333 echo "$as_me: failed program was
:" >&5
17334 sed 's/^/| /' conftest.$ac_ext >&5
17339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17340 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17343 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
17344 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17345 GCC=`test $ac_compiler_gnu = yes && echo yes`
17346 ac_test_CFLAGS=${CFLAGS+set}
17347 ac_save_CFLAGS=$CFLAGS
17348 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
17349 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
17350 if test "${ac_cv_prog_cc_g+set}" = set; then
17351 echo $ECHO_N "(cached
) $ECHO_C" >&6
17353 ac_save_c_werror_flag=$ac_c_werror_flag
17354 ac_c_werror_flag=yes
17357 cat >conftest.$ac_ext <<_ACEOF
17360 cat confdefs.h >>conftest.$ac_ext
17361 cat >>conftest.$ac_ext <<_ACEOF
17362 /* end confdefs.h. */
17372 rm -f conftest.$ac_objext
17373 if { (ac_try="$ac_compile"
17374 case "(($ac_try" in
17375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17376 *) ac_try_echo=$ac_try;;
17378 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17379 (eval "$ac_compile") 2>conftest.er1
17381 grep -v '^ *+' conftest.er1 >conftest.err
17383 cat conftest.err >&5
17384 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17385 (exit $ac_status); } && {
17386 test -z "$ac_c_werror_flag" ||
17387 test ! -s conftest.err
17388 } && test -s conftest.$ac_objext; then
17389 ac_cv_prog_cc_g=yes
17391 echo "$as_me: failed program was
:" >&5
17392 sed 's/^/| /' conftest.$ac_ext >&5
17395 cat >conftest.$ac_ext <<_ACEOF
17398 cat confdefs.h >>conftest.$ac_ext
17399 cat >>conftest.$ac_ext <<_ACEOF
17400 /* end confdefs.h. */
17410 rm -f conftest.$ac_objext
17411 if { (ac_try="$ac_compile"
17412 case "(($ac_try" in
17413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17414 *) ac_try_echo=$ac_try;;
17416 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17417 (eval "$ac_compile") 2>conftest.er1
17419 grep -v '^ *+' conftest.er1 >conftest.err
17421 cat conftest.err >&5
17422 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17423 (exit $ac_status); } && {
17424 test -z "$ac_c_werror_flag" ||
17425 test ! -s conftest.err
17426 } && test -s conftest.$ac_objext; then
17429 echo "$as_me: failed program was
:" >&5
17430 sed 's/^/| /' conftest.$ac_ext >&5
17432 ac_c_werror_flag=$ac_save_c_werror_flag
17434 cat >conftest.$ac_ext <<_ACEOF
17437 cat confdefs.h >>conftest.$ac_ext
17438 cat >>conftest.$ac_ext <<_ACEOF
17439 /* end confdefs.h. */
17449 rm -f conftest.$ac_objext
17450 if { (ac_try="$ac_compile"
17451 case "(($ac_try" in
17452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17453 *) ac_try_echo=$ac_try;;
17455 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17456 (eval "$ac_compile") 2>conftest.er1
17458 grep -v '^ *+' conftest.er1 >conftest.err
17460 cat conftest.err >&5
17461 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17462 (exit $ac_status); } && {
17463 test -z "$ac_c_werror_flag" ||
17464 test ! -s conftest.err
17465 } && test -s conftest.$ac_objext; then
17466 ac_cv_prog_cc_g=yes
17468 echo "$as_me: failed program was
:" >&5
17469 sed 's/^/| /' conftest.$ac_ext >&5
17474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17481 ac_c_werror_flag=$ac_save_c_werror_flag
17483 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
17484 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17485 if test "$ac_test_CFLAGS" = set; then
17486 CFLAGS=$ac_save_CFLAGS
17487 elif test $ac_cv_prog_cc_g = yes; then
17488 if test "$GCC" = yes; then
17494 if test "$GCC" = yes; then
17500 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
17501 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
17502 if test "${ac_cv_prog_cc_c89+set}" = set; then
17503 echo $ECHO_N "(cached
) $ECHO_C" >&6
17505 ac_cv_prog_cc_c89=no
17507 cat >conftest.$ac_ext <<_ACEOF
17510 cat confdefs.h >>conftest.$ac_ext
17511 cat >>conftest.$ac_ext <<_ACEOF
17512 /* end confdefs.h. */
17513 #include <stdarg.h>
17515 #include <sys/types.h>
17516 #include <sys/stat.h>
17517 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17518 struct buf { int x; };
17519 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17520 static char *e (p, i)
17526 static char *f (char * (*g) (char **, int), char **p, ...)
17531 s = g (p, va_arg (v,int));
17536 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17537 function prototypes and stuff, but not '\xHH' hex character constants.
17538 These don't provoke an error unfortunately, instead are silently treated
17539 as 'x'. The following induces an error, until -std is added to get
17540 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17541 array size at least. It's necessary to write '\x00'==0 to get something
17542 that's true only with -std. */
17543 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17545 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17546 inside strings and character constants. */
17548 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17550 int test (int i, double x);
17551 struct s1 {int (*f) (int a);};
17552 struct s2 {int (*f) (double a);};
17553 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17559 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17564 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17565 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17567 CC="$ac_save_CC $ac_arg"
17568 rm -f conftest.$ac_objext
17569 if { (ac_try="$ac_compile"
17570 case "(($ac_try" in
17571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17572 *) ac_try_echo=$ac_try;;
17574 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17575 (eval "$ac_compile") 2>conftest.er1
17577 grep -v '^ *+' conftest.er1 >conftest.err
17579 cat conftest.err >&5
17580 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17581 (exit $ac_status); } && {
17582 test -z "$ac_c_werror_flag" ||
17583 test ! -s conftest.err
17584 } && test -s conftest.$ac_objext; then
17585 ac_cv_prog_cc_c89=$ac_arg
17587 echo "$as_me: failed program was
:" >&5
17588 sed 's/^/| /' conftest.$ac_ext >&5
17593 rm -f core conftest.err conftest.$ac_objext
17594 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
17596 rm -f conftest.$ac_ext
17601 case "x
$ac_cv_prog_cc_c89" in
17603 { echo "$as_me:$LINENO: result
: none needed
" >&5
17604 echo "${ECHO_T}none needed
" >&6; } ;;
17606 { echo "$as_me:$LINENO: result
: unsupported
" >&5
17607 echo "${ECHO_T}unsupported
" >&6; } ;;
17609 CC="$CC $ac_cv_prog_cc_c89"
17610 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
17611 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17616 ac_cpp='$CPP $CPPFLAGS'
17617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17625 ac_cpp='$CPP $CPPFLAGS'
17626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17630 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
17631 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
17632 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17633 echo $ECHO_N "(cached
) $ECHO_C" >&6
17635 cat >conftest.$ac_ext <<_ACEOF
17638 cat confdefs.h >>conftest.$ac_ext
17639 cat >>conftest.$ac_ext <<_ACEOF
17640 /* end confdefs.h. */
17646 #ifndef __INTEL_COMPILER
17654 rm -f conftest.$ac_objext
17655 if { (ac_try="$ac_compile"
17656 case "(($ac_try" in
17657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17658 *) ac_try_echo=$ac_try;;
17660 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17661 (eval "$ac_compile") 2>conftest.er1
17663 grep -v '^ *+' conftest.er1 >conftest.err
17665 cat conftest.err >&5
17666 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17667 (exit $ac_status); } && {
17668 test -z "$ac_c_werror_flag" ||
17669 test ! -s conftest.err
17670 } && test -s conftest.$ac_objext; then
17671 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17673 echo "$as_me: failed program was
:" >&5
17674 sed 's/^/| /' conftest.$ac_ext >&5
17676 bakefile_cv_c_compiler___INTEL_COMPILER=no
17680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17684 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17685 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17686 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
17692 ac_cpp='$CPP $CPPFLAGS'
17693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17700 if test "x
$GCC" != "xyes
"; then
17701 if test "xCC
" = "xC
"; then
17702 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
17703 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
17704 if test "${bakefile_cv_c_exto+set}" = set; then
17705 echo $ECHO_N "(cached
) $ECHO_C" >&6
17707 cat >conftest.$ac_ext <<_ACEOF
17710 cat confdefs.h >>conftest.$ac_ext
17711 cat >>conftest.$ac_ext <<_ACEOF
17712 /* end confdefs.h. */
17722 rm -f conftest.$ac_objext conftest.$ac_ext.o
17723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17724 (eval $ac_compile) 2>&5
17726 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17727 (exit $ac_status); }; then
17728 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17730 conftest.$ac_ext.o)
17731 bakefile_cv_c_exto="-ext o
"
17738 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
17739 See \
`config.log' for more details." >&5
17740 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17741 See \`config.log
' for more details." >&2;}
17742 { (exit 1); exit 1; }; }
17746 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17749 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17750 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17751 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17752 if test "c" = "c"; then
17753 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17755 if test "c" = "cxx"; then
17756 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17760 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17761 unset ac_cv_prog_cc_g
17762 ac_test_CFLAGS=${CFLAGS+set}
17763 ac_save_CFLAGS=$CFLAGS
17764 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17765 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17766 if test "${ac_cv_prog_cc_g+set}" = set; then
17767 echo $ECHO_N "(cached) $ECHO_C" >&6
17769 ac_save_c_werror_flag=$ac_c_werror_flag
17770 ac_c_werror_flag=yes
17773 cat >conftest.$ac_ext <<_ACEOF
17776 cat confdefs.h >>conftest.$ac_ext
17777 cat >>conftest.$ac_ext <<_ACEOF
17778 /* end confdefs.h. */
17788 rm -f conftest.$ac_objext
17789 if { (ac_try="$ac_compile"
17790 case "(($ac_try" in
17791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17792 *) ac_try_echo=$ac_try;;
17794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17795 (eval "$ac_compile") 2>conftest.er1
17797 grep -v '^
*+' conftest.er1 >conftest.err
17799 cat conftest.err >&5
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); } && {
17802 test -z "$ac_c_werror_flag" ||
17803 test ! -s conftest.err
17804 } && test -s conftest.$ac_objext; then
17805 ac_cv_prog_cc_g=yes
17807 echo "$as_me: failed program was:" >&5
17808 sed 's
/^
/| /' conftest.$ac_ext >&5
17811 cat >conftest.$ac_ext <<_ACEOF
17814 cat confdefs.h >>conftest.$ac_ext
17815 cat >>conftest.$ac_ext <<_ACEOF
17816 /* end confdefs.h. */
17826 rm -f conftest.$ac_objext
17827 if { (ac_try="$ac_compile"
17828 case "(($ac_try" in
17829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17830 *) ac_try_echo=$ac_try;;
17832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17833 (eval "$ac_compile") 2>conftest.er1
17835 grep -v '^
*+' conftest.er1 >conftest.err
17837 cat conftest.err >&5
17838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17839 (exit $ac_status); } && {
17840 test -z "$ac_c_werror_flag" ||
17841 test ! -s conftest.err
17842 } && test -s conftest.$ac_objext; then
17845 echo "$as_me: failed program was:" >&5
17846 sed 's
/^
/| /' conftest.$ac_ext >&5
17848 ac_c_werror_flag=$ac_save_c_werror_flag
17850 cat >conftest.$ac_ext <<_ACEOF
17853 cat confdefs.h >>conftest.$ac_ext
17854 cat >>conftest.$ac_ext <<_ACEOF
17855 /* end confdefs.h. */
17865 rm -f conftest.$ac_objext
17866 if { (ac_try="$ac_compile"
17867 case "(($ac_try" in
17868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17869 *) ac_try_echo=$ac_try;;
17871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17872 (eval "$ac_compile") 2>conftest.er1
17874 grep -v '^
*+' conftest.er1 >conftest.err
17876 cat conftest.err >&5
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); } && {
17879 test -z "$ac_c_werror_flag" ||
17880 test ! -s conftest.err
17881 } && test -s conftest.$ac_objext; then
17882 ac_cv_prog_cc_g=yes
17884 echo "$as_me: failed program was:" >&5
17885 sed 's
/^
/| /' conftest.$ac_ext >&5
17890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17897 ac_c_werror_flag=$ac_save_c_werror_flag
17899 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17900 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17901 if test "$ac_test_CFLAGS" = set; then
17902 CFLAGS=$ac_save_CFLAGS
17903 elif test $ac_cv_prog_cc_g = yes; then
17904 if test "$GCC" = yes; then
17910 if test "$GCC" = yes; then
17924 ac_cpp='$CPP $CPPFLAGS'
17925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17926 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17929 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17930 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17931 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17932 echo $ECHO_N "(cached) $ECHO_C" >&6
17934 cat >conftest.$ac_ext <<_ACEOF
17937 cat confdefs.h >>conftest.$ac_ext
17938 cat >>conftest.$ac_ext <<_ACEOF
17939 /* end confdefs.h. */
17953 rm -f conftest.$ac_objext
17954 if { (ac_try="$ac_compile"
17955 case "(($ac_try" in
17956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17957 *) ac_try_echo=$ac_try;;
17959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17960 (eval "$ac_compile") 2>conftest.er1
17962 grep -v '^
*+' conftest.er1 >conftest.err
17964 cat conftest.err >&5
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); } && {
17967 test -z "$ac_c_werror_flag" ||
17968 test ! -s conftest.err
17969 } && test -s conftest.$ac_objext; then
17970 bakefile_cv_c_compiler___xlC__=yes
17972 echo "$as_me: failed program was:" >&5
17973 sed 's
/^
/| /' conftest.$ac_ext >&5
17975 bakefile_cv_c_compiler___xlC__=no
17979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17983 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17984 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17985 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17991 ac_cpp='$CPP $CPPFLAGS'
17992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17993 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18004 ac_cpp='$CPP $CPPFLAGS'
18005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18006 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18009 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
18010 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
18011 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
18012 echo $ECHO_N "(cached) $ECHO_C" >&6
18014 cat >conftest.$ac_ext <<_ACEOF
18017 cat confdefs.h >>conftest.$ac_ext
18018 cat >>conftest.$ac_ext <<_ACEOF
18019 /* end confdefs.h. */
18033 rm -f conftest.$ac_objext
18034 if { (ac_try="$ac_compile"
18035 case "(($ac_try" in
18036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18037 *) ac_try_echo=$ac_try;;
18039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18040 (eval "$ac_compile") 2>conftest.er1
18042 grep -v '^
*+' conftest.er1 >conftest.err
18044 cat conftest.err >&5
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); } && {
18047 test -z "$ac_c_werror_flag" ||
18048 test ! -s conftest.err
18049 } && test -s conftest.$ac_objext; then
18050 bakefile_cv_c_compiler___MWERKS__=yes
18052 echo "$as_me: failed program was:" >&5
18053 sed 's
/^
/| /' conftest.$ac_ext >&5
18055 bakefile_cv_c_compiler___MWERKS__=no
18059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18063 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
18064 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
18065 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
18071 ac_cpp='$CPP $CPPFLAGS'
18072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18073 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18081 ac_cpp='$CPP $CPPFLAGS'
18082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18083 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18086 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
18087 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
18088 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
18089 echo $ECHO_N "(cached) $ECHO_C" >&6
18091 cat >conftest.$ac_ext <<_ACEOF
18094 cat confdefs.h >>conftest.$ac_ext
18095 cat >>conftest.$ac_ext <<_ACEOF
18096 /* end confdefs.h. */
18110 rm -f conftest.$ac_objext
18111 if { (ac_try="$ac_compile"
18112 case "(($ac_try" in
18113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18114 *) ac_try_echo=$ac_try;;
18116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18117 (eval "$ac_compile") 2>conftest.er1
18119 grep -v '^
*+' conftest.er1 >conftest.err
18121 cat conftest.err >&5
18122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); } && {
18124 test -z "$ac_c_werror_flag" ||
18125 test ! -s conftest.err
18126 } && test -s conftest.$ac_objext; then
18127 bakefile_cv_c_compiler___xlC__=yes
18129 echo "$as_me: failed program was:" >&5
18130 sed 's
/^
/| /' conftest.$ac_ext >&5
18132 bakefile_cv_c_compiler___xlC__=no
18136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18140 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18141 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18142 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18148 ac_cpp='$CPP $CPPFLAGS'
18149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18150 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18161 ac_cpp='$CPP $CPPFLAGS'
18162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18163 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18166 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18167 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18168 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18169 echo $ECHO_N "(cached) $ECHO_C" >&6
18171 cat >conftest.$ac_ext <<_ACEOF
18174 cat confdefs.h >>conftest.$ac_ext
18175 cat >>conftest.$ac_ext <<_ACEOF
18176 /* end confdefs.h. */
18182 #ifndef _SGI_COMPILER_VERSION
18190 rm -f conftest.$ac_objext
18191 if { (ac_try="$ac_compile"
18192 case "(($ac_try" in
18193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18194 *) ac_try_echo=$ac_try;;
18196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18197 (eval "$ac_compile") 2>conftest.er1
18199 grep -v '^
*+' conftest.er1 >conftest.err
18201 cat conftest.err >&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } && {
18204 test -z "$ac_c_werror_flag" ||
18205 test ! -s conftest.err
18206 } && test -s conftest.$ac_objext; then
18207 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18209 echo "$as_me: failed program was:" >&5
18210 sed 's
/^
/| /' conftest.$ac_ext >&5
18212 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18220 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18221 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18222 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18228 ac_cpp='$CPP $CPPFLAGS'
18229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18230 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18241 ac_cpp='$CPP $CPPFLAGS'
18242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18243 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18246 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18247 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18248 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18249 echo $ECHO_N "(cached) $ECHO_C" >&6
18251 cat >conftest.$ac_ext <<_ACEOF
18254 cat confdefs.h >>conftest.$ac_ext
18255 cat >>conftest.$ac_ext <<_ACEOF
18256 /* end confdefs.h. */
18270 rm -f conftest.$ac_objext
18271 if { (ac_try="$ac_compile"
18272 case "(($ac_try" in
18273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18274 *) ac_try_echo=$ac_try;;
18276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18277 (eval "$ac_compile") 2>conftest.er1
18279 grep -v '^
*+' conftest.er1 >conftest.err
18281 cat conftest.err >&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); } && {
18284 test -z "$ac_c_werror_flag" ||
18285 test ! -s conftest.err
18286 } && test -s conftest.$ac_objext; then
18287 bakefile_cv_c_compiler___SUNPRO_C=yes
18289 echo "$as_me: failed program was:" >&5
18290 sed 's
/^
/| /' conftest.$ac_ext >&5
18292 bakefile_cv_c_compiler___SUNPRO_C=no
18296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18300 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18301 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18302 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18308 ac_cpp='$CPP $CPPFLAGS'
18309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18310 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18321 ac_cpp='$CPP $CPPFLAGS'
18322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18323 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18326 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18327 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18328 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18329 echo $ECHO_N "(cached) $ECHO_C" >&6
18331 cat >conftest.$ac_ext <<_ACEOF
18334 cat confdefs.h >>conftest.$ac_ext
18335 cat >>conftest.$ac_ext <<_ACEOF
18336 /* end confdefs.h. */
18350 rm -f conftest.$ac_objext
18351 if { (ac_try="$ac_compile"
18352 case "(($ac_try" in
18353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18354 *) ac_try_echo=$ac_try;;
18356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18357 (eval "$ac_compile") 2>conftest.er1
18359 grep -v '^
*+' conftest.er1 >conftest.err
18361 cat conftest.err >&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); } && {
18364 test -z "$ac_c_werror_flag" ||
18365 test ! -s conftest.err
18366 } && test -s conftest.$ac_objext; then
18367 bakefile_cv_c_compiler___HP_cc=yes
18369 echo "$as_me: failed program was:" >&5
18370 sed 's
/^
/| /' conftest.$ac_ext >&5
18372 bakefile_cv_c_compiler___HP_cc=no
18376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18380 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18381 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18382 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18388 ac_cpp='$CPP $CPPFLAGS'
18389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18390 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18401 ac_cpp='$CPP $CPPFLAGS'
18402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18403 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18406 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18407 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18408 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18409 echo $ECHO_N "(cached) $ECHO_C" >&6
18411 cat >conftest.$ac_ext <<_ACEOF
18414 cat confdefs.h >>conftest.$ac_ext
18415 cat >>conftest.$ac_ext <<_ACEOF
18416 /* end confdefs.h. */
18430 rm -f conftest.$ac_objext
18431 if { (ac_try="$ac_compile"
18432 case "(($ac_try" in
18433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18434 *) ac_try_echo=$ac_try;;
18436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18437 (eval "$ac_compile") 2>conftest.er1
18439 grep -v '^
*+' conftest.er1 >conftest.err
18441 cat conftest.err >&5
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443 (exit $ac_status); } && {
18444 test -z "$ac_c_werror_flag" ||
18445 test ! -s conftest.err
18446 } && test -s conftest.$ac_objext; then
18447 bakefile_cv_c_compiler___DECC=yes
18449 echo "$as_me: failed program was:" >&5
18450 sed 's
/^
/| /' conftest.$ac_ext >&5
18452 bakefile_cv_c_compiler___DECC=no
18456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18460 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18461 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18462 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18468 ac_cpp='$CPP $CPPFLAGS'
18469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18470 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18481 ac_cpp='$CPP $CPPFLAGS'
18482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18483 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18486 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18487 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18488 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18489 echo $ECHO_N "(cached) $ECHO_C" >&6
18491 cat >conftest.$ac_ext <<_ACEOF
18494 cat confdefs.h >>conftest.$ac_ext
18495 cat >>conftest.$ac_ext <<_ACEOF
18496 /* end confdefs.h. */
18510 rm -f conftest.$ac_objext
18511 if { (ac_try="$ac_compile"
18512 case "(($ac_try" in
18513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18514 *) ac_try_echo=$ac_try;;
18516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18517 (eval "$ac_compile") 2>conftest.er1
18519 grep -v '^
*+' conftest.er1 >conftest.err
18521 cat conftest.err >&5
18522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523 (exit $ac_status); } && {
18524 test -z "$ac_c_werror_flag" ||
18525 test ! -s conftest.err
18526 } && test -s conftest.$ac_objext; then
18527 bakefile_cv_c_compiler___SUNPRO_C=yes
18529 echo "$as_me: failed program was:" >&5
18530 sed 's
/^
/| /' conftest.$ac_ext >&5
18532 bakefile_cv_c_compiler___SUNPRO_C=no
18536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18540 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18541 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18542 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18548 ac_cpp='$CPP $CPPFLAGS'
18549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18550 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18562 ac_cpp='$CPP $CPPFLAGS'
18563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18564 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18566 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18567 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18568 # On Suns, sometimes $CPP names a directory.
18569 if test -n "$CPP" && test -d "$CPP"; then
18572 if test -z "$CPP"; then
18573 if test "${ac_cv_prog_CPP+set}" = set; then
18574 echo $ECHO_N "(cached) $ECHO_C" >&6
18576 # Double quotes because CPP needs to be expanded
18577 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18579 ac_preproc_ok=false
18580 for ac_c_preproc_warn_flag in '' yes
18582 # Use a header file that comes with gcc, so configuring glibc
18583 # with a fresh cross-compiler works.
18584 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18585 # <limits.h> exists even on freestanding compilers.
18586 # On the NeXT, cc -E runs the code through the compiler's parser
,
18587 # not just through cpp. "Syntax error" is here to catch this case.
18588 cat >conftest.
$ac_ext <<_ACEOF
18591 cat confdefs.h
>>conftest.
$ac_ext
18592 cat >>conftest.
$ac_ext <<_ACEOF
18593 /* end confdefs.h. */
18595 # include <limits.h>
18597 # include <assert.h>
18601 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18602 case "(($ac_try" in
18603 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18604 *) ac_try_echo=$ac_try;;
18606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18607 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18609 grep -v '^ *+' conftest.er1 >conftest.err
18611 cat conftest.err >&5
18612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613 (exit $ac_status); } >/dev/null && {
18614 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18615 test ! -s conftest.err
18619 echo "$as_me: failed program was:" >&5
18620 sed 's/^/| /' conftest.$ac_ext >&5
18622 # Broken: fails on valid input.
18626 rm -f conftest.err conftest.$ac_ext
18628 # OK, works on sane cases. Now check whether nonexistent headers
18629 # can be detected and how.
18630 cat >conftest.$ac_ext <<_ACEOF
18633 cat confdefs.h >>conftest.$ac_ext
18634 cat >>conftest.$ac_ext <<_ACEOF
18635 /* end confdefs.h. */
18636 #include <ac_nonexistent.h>
18638 if { (ac_try="$ac_cpp conftest.$ac_ext"
18639 case "(($ac_try" in
18640 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18641 *) ac_try_echo
=$ac_try;;
18643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18644 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18646 grep -v '^ *+' conftest.er1
>conftest.err
18648 cat conftest.err
>&5
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); } >/dev
/null
&& {
18651 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18652 test ! -s conftest.err
18654 # Broken: success on invalid input.
18657 echo "$as_me: failed program was:" >&5
18658 sed 's/^/| /' conftest.
$ac_ext >&5
18660 # Passes both tests.
18665 rm -f conftest.err conftest.
$ac_ext
18668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18669 rm -f conftest.err conftest.
$ac_ext
18670 if $ac_preproc_ok; then
18675 ac_cv_prog_CPP
=$CPP
18678 CPP
=$ac_cv_prog_CPP
18680 ac_cv_prog_CPP
=$CPP
18682 { echo "$as_me:$LINENO: result: $CPP" >&5
18683 echo "${ECHO_T}$CPP" >&6; }
18684 ac_preproc_ok
=false
18685 for ac_c_preproc_warn_flag
in '' yes
18687 # Use a header file that comes with gcc, so configuring glibc
18688 # with a fresh cross-compiler works.
18689 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18690 # <limits.h> exists even on freestanding compilers.
18691 # On the NeXT, cc -E runs the code through the compiler's parser,
18692 # not just through cpp. "Syntax error" is here to catch this case.
18693 cat >conftest.
$ac_ext <<_ACEOF
18696 cat confdefs.h
>>conftest.
$ac_ext
18697 cat >>conftest.
$ac_ext <<_ACEOF
18698 /* end confdefs.h. */
18700 # include <limits.h>
18702 # include <assert.h>
18706 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18707 case "(($ac_try" in
18708 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18709 *) ac_try_echo=$ac_try;;
18711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18712 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18714 grep -v '^ *+' conftest.er1 >conftest.err
18716 cat conftest.err >&5
18717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18718 (exit $ac_status); } >/dev/null && {
18719 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18720 test ! -s conftest.err
18724 echo "$as_me: failed program was:" >&5
18725 sed 's/^/| /' conftest.$ac_ext >&5
18727 # Broken: fails on valid input.
18731 rm -f conftest.err conftest.$ac_ext
18733 # OK, works on sane cases. Now check whether nonexistent headers
18734 # can be detected and how.
18735 cat >conftest.$ac_ext <<_ACEOF
18738 cat confdefs.h >>conftest.$ac_ext
18739 cat >>conftest.$ac_ext <<_ACEOF
18740 /* end confdefs.h. */
18741 #include <ac_nonexistent.h>
18743 if { (ac_try="$ac_cpp conftest.$ac_ext"
18744 case "(($ac_try" in
18745 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18746 *) ac_try_echo
=$ac_try;;
18748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18749 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18751 grep -v '^ *+' conftest.er1
>conftest.err
18753 cat conftest.err
>&5
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); } >/dev
/null
&& {
18756 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18757 test ! -s conftest.err
18759 # Broken: success on invalid input.
18762 echo "$as_me: failed program was:" >&5
18763 sed 's/^/| /' conftest.
$ac_ext >&5
18765 # Passes both tests.
18770 rm -f conftest.err conftest.
$ac_ext
18773 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18774 rm -f conftest.err conftest.
$ac_ext
18775 if $ac_preproc_ok; then
18778 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18779 See \`config.log' for more details." >&5
18780 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18781 See \`config.log' for more details." >&2;}
18782 { (exit 1); exit 1; }; }
18786 ac_cpp
='$CPP $CPPFLAGS'
18787 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18788 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18789 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18792 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18793 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18794 if test "${ac_cv_path_GREP+set}" = set; then
18795 echo $ECHO_N "(cached) $ECHO_C" >&6
18797 # Extract the first word of "grep ggrep" to use in msg output
18798 if test -z "$GREP"; then
18799 set dummy
grep ggrep
; ac_prog_name
=$2
18800 if test "${ac_cv_path_GREP+set}" = set; then
18801 echo $ECHO_N "(cached) $ECHO_C" >&6
18803 ac_path_GREP_found
=false
18804 # Loop through the user's path and test for each of PROGNAME-LIST
18805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18806 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18809 test -z "$as_dir" && as_dir
=.
18810 for ac_prog
in grep ggrep
; do
18811 for ac_exec_ext
in '' $ac_executable_extensions; do
18812 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
18813 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18814 # Check for GNU ac_path_GREP and select it if it is found.
18815 # Check for GNU $ac_path_GREP
18816 case `"$ac_path_GREP" --version 2>&1` in
18818 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
18821 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18824 cat "conftest.in" "conftest.in" >"conftest.tmp"
18825 mv "conftest.tmp" "conftest.in"
18826 cp "conftest.in" "conftest.nl"
18827 echo 'GREP' >> "conftest.nl"
18828 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18829 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18830 ac_count
=`expr $ac_count + 1`
18831 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18832 # Best one so far, save it but keep looking for a better one
18833 ac_cv_path_GREP
="$ac_path_GREP"
18834 ac_path_GREP_max
=$ac_count
18836 # 10*(2^10) chars as input seems more than enough
18837 test $ac_count -gt 10 && break
18839 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18843 $ac_path_GREP_found && break 3
18853 GREP
="$ac_cv_path_GREP"
18854 if test -z "$GREP"; then
18855 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18856 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18857 { (exit 1); exit 1; }; }
18861 ac_cv_path_GREP
=$GREP
18866 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18867 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18868 GREP
="$ac_cv_path_GREP"
18871 { echo "$as_me:$LINENO: checking for egrep" >&5
18872 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18873 if test "${ac_cv_path_EGREP+set}" = set; then
18874 echo $ECHO_N "(cached) $ECHO_C" >&6
18876 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18877 then ac_cv_path_EGREP
="$GREP -E"
18879 # Extract the first word of "egrep" to use in msg output
18880 if test -z "$EGREP"; then
18881 set dummy
egrep; ac_prog_name
=$2
18882 if test "${ac_cv_path_EGREP+set}" = set; then
18883 echo $ECHO_N "(cached) $ECHO_C" >&6
18885 ac_path_EGREP_found
=false
18886 # Loop through the user's path and test for each of PROGNAME-LIST
18887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18888 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18891 test -z "$as_dir" && as_dir
=.
18892 for ac_prog
in egrep; do
18893 for ac_exec_ext
in '' $ac_executable_extensions; do
18894 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
18895 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18896 # Check for GNU ac_path_EGREP and select it if it is found.
18897 # Check for GNU $ac_path_EGREP
18898 case `"$ac_path_EGREP" --version 2>&1` in
18900 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18903 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18906 cat "conftest.in" "conftest.in" >"conftest.tmp"
18907 mv "conftest.tmp" "conftest.in"
18908 cp "conftest.in" "conftest.nl"
18909 echo 'EGREP' >> "conftest.nl"
18910 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18911 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18912 ac_count
=`expr $ac_count + 1`
18913 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18914 # Best one so far, save it but keep looking for a better one
18915 ac_cv_path_EGREP
="$ac_path_EGREP"
18916 ac_path_EGREP_max
=$ac_count
18918 # 10*(2^10) chars as input seems more than enough
18919 test $ac_count -gt 10 && break
18921 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18925 $ac_path_EGREP_found && break 3
18935 EGREP
="$ac_cv_path_EGREP"
18936 if test -z "$EGREP"; then
18937 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18938 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18939 { (exit 1); exit 1; }; }
18943 ac_cv_path_EGREP
=$EGREP
18949 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18950 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18951 EGREP
="$ac_cv_path_EGREP"
18954 if test $ac_cv_c_compiler_gnu = yes; then
18955 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18956 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18957 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18958 echo $ECHO_N "(cached) $ECHO_C" >&6
18960 ac_pattern
="Autoconf.*'x'"
18961 cat >conftest.
$ac_ext <<_ACEOF
18964 cat confdefs.h
>>conftest.
$ac_ext
18965 cat >>conftest.
$ac_ext <<_ACEOF
18966 /* end confdefs.h. */
18970 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18971 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18972 ac_cv_prog_gcc_traditional
=yes
18974 ac_cv_prog_gcc_traditional
=no
18979 if test $ac_cv_prog_gcc_traditional = no
; then
18980 cat >conftest.
$ac_ext <<_ACEOF
18983 cat confdefs.h
>>conftest.
$ac_ext
18984 cat >>conftest.
$ac_ext <<_ACEOF
18985 /* end confdefs.h. */
18986 #include <termio.h>
18989 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18990 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18991 ac_cv_prog_gcc_traditional
=yes
18997 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18998 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18999 if test $ac_cv_prog_gcc_traditional = yes; then
19000 CC
="$CC -traditional"
19005 CXXFLAGS
=${CXXFLAGS:=}
19010 ac_cpp
='$CXXCPP $CPPFLAGS'
19011 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19012 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19013 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19014 if test -z "$CXX"; then
19015 if test -n "$CCC"; then
19018 if test -n "$ac_tool_prefix"; then
19019 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
19021 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19022 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
19023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19025 if test "${ac_cv_prog_CXX+set}" = set; then
19026 echo $ECHO_N "(cached) $ECHO_C" >&6
19028 if test -n "$CXX"; then
19029 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
19031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19032 for as_dir
in $PATH
19035 test -z "$as_dir" && as_dir
=.
19036 for ac_exec_ext
in '' $ac_executable_extensions; do
19037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19038 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
19039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19048 CXX
=$ac_cv_prog_CXX
19049 if test -n "$CXX"; then
19050 { echo "$as_me:$LINENO: result: $CXX" >&5
19051 echo "${ECHO_T}$CXX" >&6; }
19053 { echo "$as_me:$LINENO: result: no" >&5
19054 echo "${ECHO_T}no" >&6; }
19058 test -n "$CXX" && break
19061 if test -z "$CXX"; then
19063 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
19065 # Extract the first word of "$ac_prog", so it can be a program name with args.
19066 set dummy
$ac_prog; ac_word
=$2
19067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19069 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
19070 echo $ECHO_N "(cached) $ECHO_C" >&6
19072 if test -n "$ac_ct_CXX"; then
19073 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
19075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19076 for as_dir
in $PATH
19079 test -z "$as_dir" && as_dir
=.
19080 for ac_exec_ext
in '' $ac_executable_extensions; do
19081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19082 ac_cv_prog_ac_ct_CXX
="$ac_prog"
19083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19092 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
19093 if test -n "$ac_ct_CXX"; then
19094 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19095 echo "${ECHO_T}$ac_ct_CXX" >&6; }
19097 { echo "$as_me:$LINENO: result: no" >&5
19098 echo "${ECHO_T}no" >&6; }
19102 test -n "$ac_ct_CXX" && break
19105 if test "x$ac_ct_CXX" = x
; then
19108 case $cross_compiling:$ac_tool_warned in
19110 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19111 whose name does not start with the host triplet. If you think this
19112 configuration is useful to you, please write to autoconf@gnu.org." >&5
19113 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19114 whose name does not start with the host triplet. If you think this
19115 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19116 ac_tool_warned
=yes ;;
19124 # Provide some information about the compiler.
19125 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19126 ac_compiler
=`set X $ac_compile; echo $2`
19127 { (ac_try
="$ac_compiler --version >&5"
19128 case "(($ac_try" in
19129 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19130 *) ac_try_echo=$ac_try;;
19132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19133 (eval "$ac_compiler --version >&5") 2>&5
19135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19136 (exit $ac_status); }
19137 { (ac_try="$ac_compiler -v >&5"
19138 case "(($ac_try" in
19139 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19140 *) ac_try_echo
=$ac_try;;
19142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19143 (eval "$ac_compiler -v >&5") 2>&5
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); }
19147 { (ac_try
="$ac_compiler -V >&5"
19148 case "(($ac_try" in
19149 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19150 *) ac_try_echo=$ac_try;;
19152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19153 (eval "$ac_compiler -V >&5") 2>&5
19155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156 (exit $ac_status); }
19158 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19159 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19160 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19161 echo $ECHO_N "(cached) $ECHO_C" >&6
19163 cat >conftest.$ac_ext <<_ACEOF
19166 cat confdefs.h >>conftest.$ac_ext
19167 cat >>conftest.$ac_ext <<_ACEOF
19168 /* end confdefs.h. */
19181 rm -f conftest.$ac_objext
19182 if { (ac_try="$ac_compile"
19183 case "(($ac_try" in
19184 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19185 *) ac_try_echo
=$ac_try;;
19187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19188 (eval "$ac_compile") 2>conftest.er1
19190 grep -v '^ *+' conftest.er1
>conftest.err
19192 cat conftest.err
>&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); } && {
19195 test -z "$ac_cxx_werror_flag" ||
19196 test ! -s conftest.err
19197 } && test -s conftest.
$ac_objext; then
19198 ac_compiler_gnu
=yes
19200 echo "$as_me: failed program was:" >&5
19201 sed 's/^/| /' conftest.
$ac_ext >&5
19206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19207 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
19210 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19211 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19212 GXX
=`test $ac_compiler_gnu = yes && echo yes`
19213 ac_test_CXXFLAGS
=${CXXFLAGS+set}
19214 ac_save_CXXFLAGS
=$CXXFLAGS
19215 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19216 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19217 if test "${ac_cv_prog_cxx_g+set}" = set; then
19218 echo $ECHO_N "(cached) $ECHO_C" >&6
19220 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
19221 ac_cxx_werror_flag
=yes
19222 ac_cv_prog_cxx_g
=no
19224 cat >conftest.
$ac_ext <<_ACEOF
19227 cat confdefs.h
>>conftest.
$ac_ext
19228 cat >>conftest.
$ac_ext <<_ACEOF
19229 /* end confdefs.h. */
19239 rm -f conftest.
$ac_objext
19240 if { (ac_try
="$ac_compile"
19241 case "(($ac_try" in
19242 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19243 *) ac_try_echo=$ac_try;;
19245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19246 (eval "$ac_compile") 2>conftest.er1
19248 grep -v '^ *+' conftest.er1 >conftest.err
19250 cat conftest.err >&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); } && {
19253 test -z "$ac_cxx_werror_flag" ||
19254 test ! -s conftest.err
19255 } && test -s conftest.$ac_objext; then
19256 ac_cv_prog_cxx_g=yes
19258 echo "$as_me: failed program was:" >&5
19259 sed 's/^/| /' conftest.$ac_ext >&5
19262 cat >conftest.$ac_ext <<_ACEOF
19265 cat confdefs.h >>conftest.$ac_ext
19266 cat >>conftest.$ac_ext <<_ACEOF
19267 /* end confdefs.h. */
19277 rm -f conftest.$ac_objext
19278 if { (ac_try="$ac_compile"
19279 case "(($ac_try" in
19280 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19281 *) ac_try_echo
=$ac_try;;
19283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19284 (eval "$ac_compile") 2>conftest.er1
19286 grep -v '^ *+' conftest.er1
>conftest.err
19288 cat conftest.err
>&5
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); } && {
19291 test -z "$ac_cxx_werror_flag" ||
19292 test ! -s conftest.err
19293 } && test -s conftest.
$ac_objext; then
19296 echo "$as_me: failed program was:" >&5
19297 sed 's/^/| /' conftest.
$ac_ext >&5
19299 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
19301 cat >conftest.
$ac_ext <<_ACEOF
19304 cat confdefs.h
>>conftest.
$ac_ext
19305 cat >>conftest.
$ac_ext <<_ACEOF
19306 /* end confdefs.h. */
19316 rm -f conftest.
$ac_objext
19317 if { (ac_try
="$ac_compile"
19318 case "(($ac_try" in
19319 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19320 *) ac_try_echo=$ac_try;;
19322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19323 (eval "$ac_compile") 2>conftest.er1
19325 grep -v '^ *+' conftest.er1 >conftest.err
19327 cat conftest.err >&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } && {
19330 test -z "$ac_cxx_werror_flag" ||
19331 test ! -s conftest.err
19332 } && test -s conftest.$ac_objext; then
19333 ac_cv_prog_cxx_g=yes
19335 echo "$as_me: failed program was:" >&5
19336 sed 's/^/| /' conftest.$ac_ext >&5
19341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19348 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19350 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19351 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19352 if test "$ac_test_CXXFLAGS" = set; then
19353 CXXFLAGS=$ac_save_CXXFLAGS
19354 elif test $ac_cv_prog_cxx_g = yes; then
19355 if test "$GXX" = yes; then
19361 if test "$GXX" = yes; then
19368 ac_cpp='$CPP $CPPFLAGS'
19369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19377 ac_cpp='$CXXCPP $CPPFLAGS'
19378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19382 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19383 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19384 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19385 echo $ECHO_N "(cached) $ECHO_C" >&6
19387 cat >conftest.$ac_ext <<_ACEOF
19390 cat confdefs.h >>conftest.$ac_ext
19391 cat >>conftest.$ac_ext <<_ACEOF
19392 /* end confdefs.h. */
19398 #ifndef __INTEL_COMPILER
19406 rm -f conftest.$ac_objext
19407 if { (ac_try="$ac_compile"
19408 case "(($ac_try" in
19409 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19410 *) ac_try_echo
=$ac_try;;
19412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19413 (eval "$ac_compile") 2>conftest.er1
19415 grep -v '^ *+' conftest.er1
>conftest.err
19417 cat conftest.err
>&5
19418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19419 (exit $ac_status); } && {
19420 test -z "$ac_cxx_werror_flag" ||
19421 test ! -s conftest.err
19422 } && test -s conftest.
$ac_objext; then
19423 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
19425 echo "$as_me: failed program was:" >&5
19426 sed 's/^/| /' conftest.
$ac_ext >&5
19428 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
19432 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19436 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19437 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19438 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19444 ac_cpp
='$CPP $CPPFLAGS'
19445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19452 if test "x$GCXX" != "xyes"; then
19453 if test "xCXX" = "xC"; then
19454 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19455 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19456 if test "${bakefile_cv_c_exto+set}" = set; then
19457 echo $ECHO_N "(cached) $ECHO_C" >&6
19459 cat >conftest.
$ac_ext <<_ACEOF
19462 cat confdefs.h
>>conftest.
$ac_ext
19463 cat >>conftest.
$ac_ext <<_ACEOF
19464 /* end confdefs.h. */
19474 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
19475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19476 (eval $ac_compile) 2>&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); }; then
19480 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
19482 conftest.
$ac_ext.o
)
19483 bakefile_cv_c_exto
="-ext o"
19490 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19491 See \`config.log' for more details." >&5
19492 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19493 See \`config.log' for more details." >&2;}
19494 { (exit 1); exit 1; }; }
19498 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
19501 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19502 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19503 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19504 if test "c" = "c"; then
19505 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
19507 if test "c" = "cxx"; then
19508 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
19512 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19513 unset ac_cv_prog_cc_g
19514 ac_test_CFLAGS
=${CFLAGS+set}
19515 ac_save_CFLAGS
=$CFLAGS
19516 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19517 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19518 if test "${ac_cv_prog_cc_g+set}" = set; then
19519 echo $ECHO_N "(cached) $ECHO_C" >&6
19521 ac_save_c_werror_flag
=$ac_c_werror_flag
19522 ac_c_werror_flag
=yes
19525 cat >conftest.
$ac_ext <<_ACEOF
19528 cat confdefs.h
>>conftest.
$ac_ext
19529 cat >>conftest.
$ac_ext <<_ACEOF
19530 /* end confdefs.h. */
19540 rm -f conftest.
$ac_objext
19541 if { (ac_try
="$ac_compile"
19542 case "(($ac_try" in
19543 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19544 *) ac_try_echo=$ac_try;;
19546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19547 (eval "$ac_compile") 2>conftest.er1
19549 grep -v '^ *+' conftest.er1 >conftest.err
19551 cat conftest.err >&5
19552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553 (exit $ac_status); } && {
19554 test -z "$ac_c_werror_flag" ||
19555 test ! -s conftest.err
19556 } && test -s conftest.$ac_objext; then
19557 ac_cv_prog_cc_g=yes
19559 echo "$as_me: failed program was:" >&5
19560 sed 's/^/| /' conftest.$ac_ext >&5
19563 cat >conftest.$ac_ext <<_ACEOF
19566 cat confdefs.h >>conftest.$ac_ext
19567 cat >>conftest.$ac_ext <<_ACEOF
19568 /* end confdefs.h. */
19578 rm -f conftest.$ac_objext
19579 if { (ac_try="$ac_compile"
19580 case "(($ac_try" in
19581 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19582 *) ac_try_echo
=$ac_try;;
19584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19585 (eval "$ac_compile") 2>conftest.er1
19587 grep -v '^ *+' conftest.er1
>conftest.err
19589 cat conftest.err
>&5
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); } && {
19592 test -z "$ac_c_werror_flag" ||
19593 test ! -s conftest.err
19594 } && test -s conftest.
$ac_objext; then
19597 echo "$as_me: failed program was:" >&5
19598 sed 's/^/| /' conftest.
$ac_ext >&5
19600 ac_c_werror_flag
=$ac_save_c_werror_flag
19602 cat >conftest.
$ac_ext <<_ACEOF
19605 cat confdefs.h
>>conftest.
$ac_ext
19606 cat >>conftest.
$ac_ext <<_ACEOF
19607 /* end confdefs.h. */
19617 rm -f conftest.
$ac_objext
19618 if { (ac_try
="$ac_compile"
19619 case "(($ac_try" in
19620 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19621 *) ac_try_echo=$ac_try;;
19623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19624 (eval "$ac_compile") 2>conftest.er1
19626 grep -v '^ *+' conftest.er1 >conftest.err
19628 cat conftest.err >&5
19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19630 (exit $ac_status); } && {
19631 test -z "$ac_c_werror_flag" ||
19632 test ! -s conftest.err
19633 } && test -s conftest.$ac_objext; then
19634 ac_cv_prog_cc_g=yes
19636 echo "$as_me: failed program was:" >&5
19637 sed 's/^/| /' conftest.$ac_ext >&5
19642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19649 ac_c_werror_flag=$ac_save_c_werror_flag
19651 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19652 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19653 if test "$ac_test_CFLAGS" = set; then
19654 CFLAGS=$ac_save_CFLAGS
19655 elif test $ac_cv_prog_cc_g = yes; then
19656 if test "$GCC" = yes; then
19662 if test "$GCC" = yes; then
19676 ac_cpp='$CXXCPP $CPPFLAGS'
19677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19681 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19682 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19683 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19684 echo $ECHO_N "(cached) $ECHO_C" >&6
19686 cat >conftest.$ac_ext <<_ACEOF
19689 cat confdefs.h >>conftest.$ac_ext
19690 cat >>conftest.$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19705 rm -f conftest.$ac_objext
19706 if { (ac_try="$ac_compile"
19707 case "(($ac_try" in
19708 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19709 *) ac_try_echo
=$ac_try;;
19711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19712 (eval "$ac_compile") 2>conftest.er1
19714 grep -v '^ *+' conftest.er1
>conftest.err
19716 cat conftest.err
>&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); } && {
19719 test -z "$ac_cxx_werror_flag" ||
19720 test ! -s conftest.err
19721 } && test -s conftest.
$ac_objext; then
19722 bakefile_cv_cxx_compiler___xlC__
=yes
19724 echo "$as_me: failed program was:" >&5
19725 sed 's/^/| /' conftest.
$ac_ext >&5
19727 bakefile_cv_cxx_compiler___xlC__
=no
19731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19735 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19736 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19737 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19743 ac_cpp
='$CPP $CPPFLAGS'
19744 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19745 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19746 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19756 ac_cpp
='$CXXCPP $CPPFLAGS'
19757 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19758 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19759 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19761 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19762 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19763 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19764 echo $ECHO_N "(cached) $ECHO_C" >&6
19766 cat >conftest.
$ac_ext <<_ACEOF
19769 cat confdefs.h
>>conftest.
$ac_ext
19770 cat >>conftest.
$ac_ext <<_ACEOF
19771 /* end confdefs.h. */
19785 rm -f conftest.
$ac_objext
19786 if { (ac_try
="$ac_compile"
19787 case "(($ac_try" in
19788 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19789 *) ac_try_echo=$ac_try;;
19791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19792 (eval "$ac_compile") 2>conftest.er1
19794 grep -v '^ *+' conftest.er1 >conftest.err
19796 cat conftest.err >&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); } && {
19799 test -z "$ac_cxx_werror_flag" ||
19800 test ! -s conftest.err
19801 } && test -s conftest.$ac_objext; then
19802 bakefile_cv_cxx_compiler___MWERKS__=yes
19804 echo "$as_me: failed program was:" >&5
19805 sed 's/^/| /' conftest.$ac_ext >&5
19807 bakefile_cv_cxx_compiler___MWERKS__=no
19811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19815 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19816 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19817 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19823 ac_cpp='$CPP $CPPFLAGS'
19824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19833 ac_cpp='$CXXCPP $CPPFLAGS'
19834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19838 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19839 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19840 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19841 echo $ECHO_N "(cached) $ECHO_C" >&6
19843 cat >conftest.$ac_ext <<_ACEOF
19846 cat confdefs.h >>conftest.$ac_ext
19847 cat >>conftest.$ac_ext <<_ACEOF
19848 /* end confdefs.h. */
19862 rm -f conftest.$ac_objext
19863 if { (ac_try="$ac_compile"
19864 case "(($ac_try" in
19865 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19866 *) ac_try_echo
=$ac_try;;
19868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19869 (eval "$ac_compile") 2>conftest.er1
19871 grep -v '^ *+' conftest.er1
>conftest.err
19873 cat conftest.err
>&5
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); } && {
19876 test -z "$ac_cxx_werror_flag" ||
19877 test ! -s conftest.err
19878 } && test -s conftest.
$ac_objext; then
19879 bakefile_cv_cxx_compiler___xlC__
=yes
19881 echo "$as_me: failed program was:" >&5
19882 sed 's/^/| /' conftest.
$ac_ext >&5
19884 bakefile_cv_cxx_compiler___xlC__
=no
19888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19892 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19893 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19894 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19900 ac_cpp
='$CPP $CPPFLAGS'
19901 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19902 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19903 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19913 ac_cpp
='$CXXCPP $CPPFLAGS'
19914 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19915 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19916 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19918 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19919 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19920 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19921 echo $ECHO_N "(cached) $ECHO_C" >&6
19923 cat >conftest.
$ac_ext <<_ACEOF
19926 cat confdefs.h
>>conftest.
$ac_ext
19927 cat >>conftest.
$ac_ext <<_ACEOF
19928 /* end confdefs.h. */
19934 #ifndef _SGI_COMPILER_VERSION
19942 rm -f conftest.
$ac_objext
19943 if { (ac_try
="$ac_compile"
19944 case "(($ac_try" in
19945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19946 *) ac_try_echo=$ac_try;;
19948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19949 (eval "$ac_compile") 2>conftest.er1
19951 grep -v '^ *+' conftest.er1 >conftest.err
19953 cat conftest.err >&5
19954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955 (exit $ac_status); } && {
19956 test -z "$ac_cxx_werror_flag" ||
19957 test ! -s conftest.err
19958 } && test -s conftest.$ac_objext; then
19959 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19961 echo "$as_me: failed program was:" >&5
19962 sed 's/^/| /' conftest.$ac_ext >&5
19964 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19972 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19973 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19974 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19980 ac_cpp='$CPP $CPPFLAGS'
19981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19993 ac_cpp='$CXXCPP $CPPFLAGS'
19994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19998 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19999 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20000 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20001 echo $ECHO_N "(cached) $ECHO_C" >&6
20003 cat >conftest.$ac_ext <<_ACEOF
20006 cat confdefs.h >>conftest.$ac_ext
20007 cat >>conftest.$ac_ext <<_ACEOF
20008 /* end confdefs.h. */
20014 #ifndef __SUNPRO_CC
20022 rm -f conftest.$ac_objext
20023 if { (ac_try="$ac_compile"
20024 case "(($ac_try" in
20025 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20026 *) ac_try_echo
=$ac_try;;
20028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20029 (eval "$ac_compile") 2>conftest.er1
20031 grep -v '^ *+' conftest.er1
>conftest.err
20033 cat conftest.err
>&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); } && {
20036 test -z "$ac_cxx_werror_flag" ||
20037 test ! -s conftest.err
20038 } && test -s conftest.
$ac_objext; then
20039 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
20041 echo "$as_me: failed program was:" >&5
20042 sed 's/^/| /' conftest.
$ac_ext >&5
20044 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
20048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20052 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20053 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20054 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20060 ac_cpp
='$CPP $CPPFLAGS'
20061 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20062 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20063 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20073 ac_cpp
='$CXXCPP $CPPFLAGS'
20074 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20075 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20076 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20078 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
20079 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
20080 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
20081 echo $ECHO_N "(cached) $ECHO_C" >&6
20083 cat >conftest.
$ac_ext <<_ACEOF
20086 cat confdefs.h
>>conftest.
$ac_ext
20087 cat >>conftest.
$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20102 rm -f conftest.
$ac_objext
20103 if { (ac_try
="$ac_compile"
20104 case "(($ac_try" in
20105 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20106 *) ac_try_echo=$ac_try;;
20108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20109 (eval "$ac_compile") 2>conftest.er1
20111 grep -v '^ *+' conftest.er1 >conftest.err
20113 cat conftest.err >&5
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); } && {
20116 test -z "$ac_cxx_werror_flag" ||
20117 test ! -s conftest.err
20118 } && test -s conftest.$ac_objext; then
20119 bakefile_cv_cxx_compiler___HP_aCC=yes
20121 echo "$as_me: failed program was:" >&5
20122 sed 's/^/| /' conftest.$ac_ext >&5
20124 bakefile_cv_cxx_compiler___HP_aCC=no
20128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20132 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20133 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20134 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20140 ac_cpp='$CPP $CPPFLAGS'
20141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20153 ac_cpp='$CXXCPP $CPPFLAGS'
20154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20158 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20159 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20160 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20161 echo $ECHO_N "(cached) $ECHO_C" >&6
20163 cat >conftest.$ac_ext <<_ACEOF
20166 cat confdefs.h >>conftest.$ac_ext
20167 cat >>conftest.$ac_ext <<_ACEOF
20168 /* end confdefs.h. */
20182 rm -f conftest.$ac_objext
20183 if { (ac_try="$ac_compile"
20184 case "(($ac_try" in
20185 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20186 *) ac_try_echo
=$ac_try;;
20188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20189 (eval "$ac_compile") 2>conftest.er1
20191 grep -v '^ *+' conftest.er1
>conftest.err
20193 cat conftest.err
>&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } && {
20196 test -z "$ac_cxx_werror_flag" ||
20197 test ! -s conftest.err
20198 } && test -s conftest.
$ac_objext; then
20199 bakefile_cv_cxx_compiler___DECCXX
=yes
20201 echo "$as_me: failed program was:" >&5
20202 sed 's/^/| /' conftest.
$ac_ext >&5
20204 bakefile_cv_cxx_compiler___DECCXX
=no
20208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20212 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20213 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20214 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20220 ac_cpp
='$CPP $CPPFLAGS'
20221 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20222 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20223 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20233 ac_cpp
='$CXXCPP $CPPFLAGS'
20234 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20235 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20236 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20238 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20239 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20240 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20241 echo $ECHO_N "(cached) $ECHO_C" >&6
20243 cat >conftest.
$ac_ext <<_ACEOF
20246 cat confdefs.h
>>conftest.
$ac_ext
20247 cat >>conftest.
$ac_ext <<_ACEOF
20248 /* end confdefs.h. */
20254 #ifndef __SUNPRO_CC
20262 rm -f conftest.
$ac_objext
20263 if { (ac_try
="$ac_compile"
20264 case "(($ac_try" in
20265 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20266 *) ac_try_echo=$ac_try;;
20268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20269 (eval "$ac_compile") 2>conftest.er1
20271 grep -v '^ *+' conftest.er1 >conftest.err
20273 cat conftest.err >&5
20274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275 (exit $ac_status); } && {
20276 test -z "$ac_cxx_werror_flag" ||
20277 test ! -s conftest.err
20278 } && test -s conftest.$ac_objext; then
20279 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20281 echo "$as_me: failed program was:" >&5
20282 sed 's/^/| /' conftest.$ac_ext >&5
20284 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20292 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20293 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20294 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20300 ac_cpp='$CPP $CPPFLAGS'
20301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20313 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20314 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20315 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20316 { (exit 1); exit 1; }; }
20319 if test "x$SUNCXX" != xyes; then
20320 if test -n "$ac_tool_prefix"; then
20321 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20322 set dummy ${ac_tool_prefix}ar; ac_word=$2
20323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20325 if test "${ac_cv_prog_AR+set}" = set; then
20326 echo $ECHO_N "(cached) $ECHO_C" >&6
20328 if test -n "$AR"; then
20329 ac_cv_prog_AR="$AR" # Let the user override the test.
20331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20332 for as_dir in $PATH
20335 test -z "$as_dir" && as_dir=.
20336 for ac_exec_ext in '' $ac_executable_extensions; do
20337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20338 ac_cv_prog_AR="${ac_tool_prefix}ar"
20339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20349 if test -n "$AR"; then
20350 { echo "$as_me:$LINENO: result: $AR" >&5
20351 echo "${ECHO_T}$AR" >&6; }
20353 { echo "$as_me:$LINENO: result: no" >&5
20354 echo "${ECHO_T}no" >&6; }
20359 if test -z "$ac_cv_prog_AR"; then
20361 # Extract the first word of "ar", so it can be a program name with args.
20362 set dummy ar; ac_word=$2
20363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20365 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20366 echo $ECHO_N "(cached) $ECHO_C" >&6
20368 if test -n "$ac_ct_AR"; then
20369 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20372 for as_dir in $PATH
20375 test -z "$as_dir" && as_dir=.
20376 for ac_exec_ext in '' $ac_executable_extensions; do
20377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20378 ac_cv_prog_ac_ct_AR="ar"
20379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20388 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20389 if test -n "$ac_ct_AR"; then
20390 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20391 echo "${ECHO_T}$ac_ct_AR" >&6; }
20393 { echo "$as_me:$LINENO: result: no" >&5
20394 echo "${ECHO_T}no" >&6; }
20397 if test "x$ac_ct_AR" = x; then
20400 case $cross_compiling:$ac_tool_warned in
20402 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20403 whose name does not start with the host triplet. If you think this
20404 configuration is useful to you, please write to autoconf@gnu.org." >&5
20405 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20406 whose name does not start with the host triplet. If you think this
20407 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20408 ac_tool_warned=yes ;;
20413 AR="$ac_cv_prog_AR"
20416 if test "x$AR" = "x" ; then
20417 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20418 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20419 { (exit 1); exit 1; }; }
20423 retest_macosx_linking=no
20425 #if test "$wxUSE_MAC" = 1; then
20426 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20427 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20428 # Implicitly turn on the new --with-macosx-sdk using the default
20429 # SDK which provides the behavior this option has always had.
20430 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20431 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20432 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20433 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20434 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20435 wxUSE_MACOSX_SDK=yes
20438 # Complain to user if he specified an argument to --enable-universal_binary
20439 # and also 1) specified --with-macosx-sdk using the default (yes) or
20440 # 2) specified --with-macosx-sdk using a path or 3) specified
20441 # --without-macosx-sdk (no).
20442 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20443 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20444 See \`config.log
' for more details." >&5
20445 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20446 See \`config.log' for more details.
" >&2;}
20447 { (exit 1); exit 1; }; }
20449 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20450 # special-case the empty string because the below test simply
20451 # converts "no
" to the empty string anyway.
20452 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20453 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
20454 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
20457 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
20458 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20459 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20460 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20461 retest_macosx_linking=yes
20463 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
20464 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
20469 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
20471 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
20472 # TODO: Search for most recent SDK and use it.
20473 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
20477 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
20478 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
20479 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
20480 if ! test -d "$wxUSE_MACOSX_SDK"; then
20481 { { echo "$as_me:$LINENO: error
: not found
20482 See \
`config.log' for more details." >&5
20483 echo "$as_me: error: not found
20484 See \`config.log
' for more details." >&2;}
20485 { (exit 1); exit 1; }; }
20487 { echo "$as_me:$LINENO: result: exists" >&5
20488 echo "${ECHO_T}exists" >&6; }
20490 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20491 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20492 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20493 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20494 retest_macosx_linking=yes
20497 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20498 wxUSE_MACOSX_VERSION_MIN=
20499 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20500 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20501 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20502 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20504 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/'`
20506 # If that failed, try again with the new key
20507 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
20509 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/'`
20513 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20514 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20515 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20516 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20518 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20519 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20520 wxUSE_MACOSX_VERSION_MIN=
20523 wxUSE_MACOSX_VERSION_MIN=
20527 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20528 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20529 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20530 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20531 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20532 retest_macosx_linking=yes
20535 if test "x$retest_macosx_linking" = "xyes"; then
20537 ac_cpp='$CPP $CPPFLAGS'
20538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
20539 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
20540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20542 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20543 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20544 cat >conftest.$ac_ext <<_ACEOF
20547 cat confdefs.h >>conftest.$ac_ext
20548 cat >>conftest.$ac_ext <<_ACEOF
20549 /* end confdefs.h. */
20559 rm -f conftest.$ac_objext conftest$ac_exeext
20560 if { (ac_try="$ac_link"
20561 case "(($ac_try" in
20562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20563 *) ac_try_echo=$ac_try;;
20565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20566 (eval "$ac_link") 2>conftest.er1
20568 grep -v '^
*+' conftest.er1 >conftest.err
20570 cat conftest.err >&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); } && {
20573 test -z "$ac_c_werror_flag" ||
20574 test ! -s conftest.err
20575 } && test -s conftest$ac_exeext &&
20576 $as_test_x conftest$ac_exeext; then
20577 { echo "$as_me:$LINENO: result: yes" >&5
20578 echo "${ECHO_T}yes" >&6; }
20580 echo "$as_me: failed program was:" >&5
20581 sed 's
/^
/| /' conftest.$ac_ext >&5
20583 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20584 See \`config.log' for more details.
" >&5
20585 echo "$as_me: error
: no. Try a different SDK
20586 See \
`config.log' for more details." >&2;}
20587 { (exit 1); exit 1; }; }; exit 1
20590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20591 conftest$ac_exeext conftest.$ac_ext
20593 ac_cpp='$CPP $CPPFLAGS'
20594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20600 ac_cpp='$CXXCPP $CPPFLAGS'
20601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20605 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20606 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20607 cat >conftest.$ac_ext <<_ACEOF
20610 cat confdefs.h >>conftest.$ac_ext
20611 cat >>conftest.$ac_ext <<_ACEOF
20612 /* end confdefs.h. */
20622 rm -f conftest.$ac_objext conftest$ac_exeext
20623 if { (ac_try="$ac_link"
20624 case "(($ac_try" in
20625 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20626 *) ac_try_echo
=$ac_try;;
20628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20629 (eval "$ac_link") 2>conftest.er1
20631 grep -v '^ *+' conftest.er1
>conftest.err
20633 cat conftest.err
>&5
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); } && {
20636 test -z "$ac_cxx_werror_flag" ||
20637 test ! -s conftest.err
20638 } && test -s conftest
$ac_exeext &&
20639 $as_test_x conftest
$ac_exeext; then
20640 { echo "$as_me:$LINENO: result: yes" >&5
20641 echo "${ECHO_T}yes" >&6; }
20643 echo "$as_me: failed program was:" >&5
20644 sed 's/^/| /' conftest.
$ac_ext >&5
20646 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20647 See \`config.log' for more details." >&5
20648 echo "$as_me: error: no. Try a different SDK
20649 See \`config.log' for more details." >&2;}
20650 { (exit 1); exit 1; }; }; exit 1
20653 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20654 conftest
$ac_exeext conftest.
$ac_ext
20656 ac_cpp
='$CPP $CPPFLAGS'
20657 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20658 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20659 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20667 INSTALL_PROGRAM
="cp -fp"
20668 INSTALL_DATA
="cp -fp"
20675 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20676 CXXFLAGS
="-qunique $CXXFLAGS"
20680 powerpc
-*-darwin* )
20681 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20682 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20683 cat >conftest.
$ac_ext <<_ACEOF
20686 cat confdefs.h
>>conftest.
$ac_ext
20687 cat >>conftest.
$ac_ext <<_ACEOF
20688 /* end confdefs.h. */
20693 #ifndef __POWERPC__
20694 choke me for lack of PowerPC
20701 rm -f conftest.
$ac_objext
20702 if { (ac_try
="$ac_compile"
20703 case "(($ac_try" in
20704 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20705 *) ac_try_echo=$ac_try;;
20707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20708 (eval "$ac_compile") 2>conftest.er1
20710 grep -v '^ *+' conftest.er1 >conftest.err
20712 cat conftest.err >&5
20713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714 (exit $ac_status); } && {
20715 test -z "$ac_c_werror_flag" ||
20716 test ! -s conftest.err
20717 } && test -s conftest.$ac_objext; then
20718 { echo "$as_me:$LINENO: result: yes" >&5
20719 echo "${ECHO_T}yes" >&6; }
20721 echo "$as_me: failed program was:" >&5
20722 sed 's/^/| /' conftest.$ac_ext >&5
20724 { echo "$as_me:$LINENO: result: no" >&5
20725 echo "${ECHO_T}no" >&6; }
20726 cat >>confdefs.h <<\_ACEOF
20727 #define __POWERPC__ 1
20733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20739 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20740 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20741 cat >conftest.$ac_ext <<_ACEOF
20744 cat confdefs.h >>conftest.$ac_ext
20745 cat >>conftest.$ac_ext <<_ACEOF
20746 /* end confdefs.h. */
20747 #include <CoreFoundation/CFBase.h>
20757 rm -f conftest.$ac_objext
20758 if { (ac_try="$ac_compile"
20759 case "(($ac_try" in
20760 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20761 *) ac_try_echo
=$ac_try;;
20763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20764 (eval "$ac_compile") 2>conftest.er1
20766 grep -v '^ *+' conftest.er1
>conftest.err
20768 cat conftest.err
>&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); } && {
20771 test -z "$ac_c_werror_flag" ||
20772 test ! -s conftest.err
20773 } && test -s conftest.
$ac_objext; then
20774 { echo "$as_me:$LINENO: result: yes" >&5
20775 echo "${ECHO_T}yes" >&6; }
20777 echo "$as_me: failed program was:" >&5
20778 sed 's/^/| /' conftest.
$ac_ext >&5
20780 { echo "$as_me:$LINENO: result: no" >&5
20781 echo "${ECHO_T}no" >&6; }
20782 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20783 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20784 cat >conftest.
$ac_ext <<_ACEOF
20787 cat confdefs.h
>>conftest.
$ac_ext
20788 cat >>conftest.
$ac_ext <<_ACEOF
20789 /* end confdefs.h. */
20790 #define __CF_USE_FRAMEWORK_INCLUDES__
20791 #include <CoreFoundation/CFBase.h>
20801 rm -f conftest.
$ac_objext
20802 if { (ac_try
="$ac_compile"
20803 case "(($ac_try" in
20804 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20805 *) ac_try_echo=$ac_try;;
20807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20808 (eval "$ac_compile") 2>conftest.er1
20810 grep -v '^ *+' conftest.er1 >conftest.err
20812 cat conftest.err >&5
20813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20814 (exit $ac_status); } && {
20815 test -z "$ac_c_werror_flag" ||
20816 test ! -s conftest.err
20817 } && test -s conftest.$ac_objext; then
20818 { echo "$as_me:$LINENO: result: yes" >&5
20819 echo "${ECHO_T}yes" >&6; }
20820 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20822 echo "$as_me: failed program was:" >&5
20823 sed 's/^/| /' conftest.$ac_ext >&5
20825 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20826 See \`config.log
' for more details." >&5
20827 echo "$as_me: error: no. CoreFoundation not available.
20828 See \`config.log' for more details.
" >&2;}
20829 { (exit 1); exit 1; }; }
20833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20843 doesnt_want_win32=0
20846 if test "$wxUSE_MSW" = 1 ; then
20849 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
20850 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
20851 if test "${wx_cv_nocygwin+set}" = set; then
20852 echo $ECHO_N "(cached
) $ECHO_C" >&6
20855 cat >conftest.$ac_ext <<_ACEOF
20858 cat confdefs.h >>conftest.$ac_ext
20859 cat >>conftest.$ac_ext <<_ACEOF
20860 /* end confdefs.h. */
20874 rm -f conftest.$ac_objext
20875 if { (ac_try="$ac_compile"
20876 case "(($ac_try" in
20877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20878 *) ac_try_echo=$ac_try;;
20880 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20881 (eval "$ac_compile") 2>conftest.er1
20883 grep -v '^ *+' conftest.er1 >conftest.err
20885 cat conftest.err >&5
20886 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20887 (exit $ac_status); } && {
20888 test -z "$ac_c_werror_flag" ||
20889 test ! -s conftest.err
20890 } && test -s conftest.$ac_objext; then
20893 echo "$as_me: failed program was
:" >&5
20894 sed 's/^/| /' conftest.$ac_ext >&5
20900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20904 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
20905 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20907 if test "$wx_cv_nocygwin" = "yes"; then
20910 doesnt_want_win32=1
20913 if test "$wants_win32" = 1 ; then
20914 BAKEFILE_FORCE_PLATFORM=win32
20922 if test "$wxUSE_WINE" = "yes"; then
20924 LDFLAGS_GUI="-mwindows"
20927 if test "$wants_win32" = 1 ; then
20930 cat >>confdefs.h <<\_ACEOF
20931 #define __WIN32__ 1
20934 cat >>confdefs.h <<\_ACEOF
20935 #define __WIN95__ 1
20938 cat >>confdefs.h <<\_ACEOF
20939 #define __WINDOWS__ 1
20942 cat >>confdefs.h <<\_ACEOF
20943 #define __GNUWIN32__ 1
20946 cat >>confdefs.h <<\_ACEOF
20951 if test "$doesnt_want_win32" = 1 ; then
20956 if test "$USE_UNIX" = 1 ; then
20958 cat >>confdefs.h <<\_ACEOF
20965 *-pc-os2_emx | *-pc-os2-emx )
20966 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20967 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
20968 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
20969 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20970 echo $ECHO_N "(cached
) $ECHO_C" >&6
20972 ac_check_lib_save_LIBS=$LIBS
20973 LIBS="-lcExt $LIBS"
20974 cat >conftest.$ac_ext <<_ACEOF
20977 cat confdefs.h >>conftest.$ac_ext
20978 cat >>conftest.$ac_ext <<_ACEOF
20979 /* end confdefs.h. */
20981 /* Override any GCC internal prototype to avoid an error.
20982 Use char because int might match the return type of a GCC
20983 builtin and then its argument prototype would still apply. */
20996 rm -f conftest.$ac_objext conftest$ac_exeext
20997 if { (ac_try="$ac_link"
20998 case "(($ac_try" in
20999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21000 *) ac_try_echo=$ac_try;;
21002 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21003 (eval "$ac_link") 2>conftest.er1
21005 grep -v '^ *+' conftest.er1 >conftest.err
21007 cat conftest.err >&5
21008 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21009 (exit $ac_status); } && {
21010 test -z "$ac_c_werror_flag" ||
21011 test ! -s conftest.err
21012 } && test -s conftest$ac_exeext &&
21013 $as_test_x conftest$ac_exeext; then
21014 ac_cv_lib_cExt_drand48=yes
21016 echo "$as_me: failed program was
:" >&5
21017 sed 's/^/| /' conftest.$ac_ext >&5
21019 ac_cv_lib_cExt_drand48=no
21022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21023 conftest$ac_exeext conftest.$ac_ext
21024 LIBS=$ac_check_lib_save_LIBS
21026 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
21027 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
21028 if test $ac_cv_lib_cExt_drand48 = yes; then
21029 LIBS="$LIBS -lcExt"
21033 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
21035 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
21036 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
21037 if test "${wx_cv_gccversion+set}" = set; then
21038 echo $ECHO_N "(cached
) $ECHO_C" >&6
21041 if test "$cross_compiling" = yes; then
21042 wx_cv_gccversion="EMX2
"
21045 cat >conftest.$ac_ext <<_ACEOF
21048 cat confdefs.h >>conftest.$ac_ext
21049 cat >>conftest.$ac_ext <<_ACEOF
21050 /* end confdefs.h. */
21056 FILE *f=fopen("conftestval
", "w
");
21061 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
21063 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
21073 rm -f conftest$ac_exeext
21074 if { (ac_try="$ac_link"
21075 case "(($ac_try" in
21076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21077 *) ac_try_echo=$ac_try;;
21079 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21080 (eval "$ac_link") 2>&5
21082 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21083 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21084 { (case "(($ac_try" in
21085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21086 *) ac_try_echo=$ac_try;;
21088 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21089 (eval "$ac_try") 2>&5
21091 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21092 (exit $ac_status); }; }; then
21093 wx_cv_gccversion=`cat conftestval`
21095 echo "$as_me: program exited with status
$ac_status" >&5
21096 echo "$as_me: failed program was
:" >&5
21097 sed 's/^/| /' conftest.$ac_ext >&5
21099 ( exit $ac_status )
21100 wx_cv_gccversion="EMX2
"
21102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21108 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
21109 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
21110 if test "$wx_cv_gccversion" = "EMX2
"; then
21111 LIBS="$LIBS -lstdcpp"
21112 LDFLAGS="$LDFLAGS -Zsysv-signals"
21114 if test "$wx_cv_gccversion" = "EMX3
"; then
21115 LIBS="$LIBS -lstdcxx -lgcc"
21116 LDFLAGS="$LDFLAGS -Zsysv-signals"
21118 LIBS="$LIBS -lstdc++"
21121 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
21122 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
21123 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
21130 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
21131 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
21132 if test "${ac_cv_string_strcasecmp+set}" = set; then
21133 echo $ECHO_N "(cached
) $ECHO_C" >&6
21136 cat >conftest.$ac_ext <<_ACEOF
21139 cat confdefs.h >>conftest.$ac_ext
21140 cat >>conftest.$ac_ext <<_ACEOF
21141 /* end confdefs.h. */
21143 #include <string.h>
21149 strcasecmp("foo
", "bar
");
21155 rm -f conftest.$ac_objext conftest$ac_exeext
21156 if { (ac_try="$ac_link"
21157 case "(($ac_try" in
21158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21159 *) ac_try_echo=$ac_try;;
21161 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21162 (eval "$ac_link") 2>conftest.er1
21164 grep -v '^ *+' conftest.er1 >conftest.err
21166 cat conftest.err >&5
21167 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21168 (exit $ac_status); } && {
21169 test -z "$ac_c_werror_flag" ||
21170 test ! -s conftest.err
21171 } && test -s conftest$ac_exeext &&
21172 $as_test_x conftest$ac_exeext; then
21173 ac_cv_string_strcasecmp=yes
21175 echo "$as_me: failed program was
:" >&5
21176 sed 's/^/| /' conftest.$ac_ext >&5
21178 ac_cv_string_strcasecmp=no
21182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21183 conftest$ac_exeext conftest.$ac_ext
21186 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
21187 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21189 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
21190 cat >>confdefs.h <<\_ACEOF
21191 #define HAVE_STRCASECMP_IN_STRING_H 1
21195 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
21196 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
21197 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21198 echo $ECHO_N "(cached
) $ECHO_C" >&6
21201 cat >conftest.$ac_ext <<_ACEOF
21204 cat confdefs.h >>conftest.$ac_ext
21205 cat >>conftest.$ac_ext <<_ACEOF
21206 /* end confdefs.h. */
21208 #include <strings.h>
21214 strcasecmp("foo
", "bar
");
21220 rm -f conftest.$ac_objext conftest$ac_exeext
21221 if { (ac_try="$ac_link"
21222 case "(($ac_try" in
21223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21224 *) ac_try_echo=$ac_try;;
21226 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21227 (eval "$ac_link") 2>conftest.er1
21229 grep -v '^ *+' conftest.er1 >conftest.err
21231 cat conftest.err >&5
21232 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21233 (exit $ac_status); } && {
21234 test -z "$ac_c_werror_flag" ||
21235 test ! -s conftest.err
21236 } && test -s conftest$ac_exeext &&
21237 $as_test_x conftest$ac_exeext; then
21238 ac_cv_strings_strcasecmp=yes
21240 echo "$as_me: failed program was
:" >&5
21241 sed 's/^/| /' conftest.$ac_ext >&5
21243 ac_cv_strings_strcasecmp=no
21247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21248 conftest$ac_exeext conftest.$ac_ext
21251 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
21252 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21254 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
21255 cat >>confdefs.h <<\_ACEOF
21256 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21260 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
21261 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
21262 { (exit 1); exit 1; }; }
21270 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
21271 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
21272 if test "${ac_cv_header_stdc+set}" = set; then
21273 echo $ECHO_N "(cached
) $ECHO_C" >&6
21275 cat >conftest.$ac_ext <<_ACEOF
21278 cat confdefs.h >>conftest.$ac_ext
21279 cat >>conftest.$ac_ext <<_ACEOF
21280 /* end confdefs.h. */
21281 #include <stdlib.h>
21282 #include <stdarg.h>
21283 #include <string.h>
21294 rm -f conftest.$ac_objext
21295 if { (ac_try="$ac_compile"
21296 case "(($ac_try" in
21297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21298 *) ac_try_echo=$ac_try;;
21300 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21301 (eval "$ac_compile") 2>conftest.er1
21303 grep -v '^ *+' conftest.er1 >conftest.err
21305 cat conftest.err >&5
21306 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21307 (exit $ac_status); } && {
21308 test -z "$ac_c_werror_flag" ||
21309 test ! -s conftest.err
21310 } && test -s conftest.$ac_objext; then
21311 ac_cv_header_stdc=yes
21313 echo "$as_me: failed program was
:" >&5
21314 sed 's/^/| /' conftest.$ac_ext >&5
21316 ac_cv_header_stdc=no
21319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21321 if test $ac_cv_header_stdc = yes; then
21322 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21323 cat >conftest.$ac_ext <<_ACEOF
21326 cat confdefs.h >>conftest.$ac_ext
21327 cat >>conftest.$ac_ext <<_ACEOF
21328 /* end confdefs.h. */
21329 #include <string.h>
21332 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21333 $EGREP "memchr
" >/dev/null 2>&1; then
21336 ac_cv_header_stdc=no
21342 if test $ac_cv_header_stdc = yes; then
21343 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21344 cat >conftest.$ac_ext <<_ACEOF
21347 cat confdefs.h >>conftest.$ac_ext
21348 cat >>conftest.$ac_ext <<_ACEOF
21349 /* end confdefs.h. */
21350 #include <stdlib.h>
21353 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21354 $EGREP "free
" >/dev/null 2>&1; then
21357 ac_cv_header_stdc=no
21363 if test $ac_cv_header_stdc = yes; then
21364 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21365 if test "$cross_compiling" = yes; then
21368 cat >conftest.$ac_ext <<_ACEOF
21371 cat confdefs.h >>conftest.$ac_ext
21372 cat >>conftest.$ac_ext <<_ACEOF
21373 /* end confdefs.h. */
21375 #include <stdlib.h>
21376 #if ((' ' & 0x0FF) == 0x020)
21377 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21378 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21380 # define ISLOWER(c) \
21381 (('a' <= (c) && (c) <= 'i') \
21382 || ('j' <= (c) && (c) <= 'r') \
21383 || ('s' <= (c) && (c) <= 'z'))
21384 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21387 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21392 for (i = 0; i < 256; i++)
21393 if (XOR (islower (i), ISLOWER (i))
21394 || toupper (i) != TOUPPER (i))
21399 rm -f conftest$ac_exeext
21400 if { (ac_try="$ac_link"
21401 case "(($ac_try" in
21402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21403 *) ac_try_echo=$ac_try;;
21405 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21406 (eval "$ac_link") 2>&5
21408 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21409 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21410 { (case "(($ac_try" in
21411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21412 *) ac_try_echo=$ac_try;;
21414 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_try") 2>&5
21417 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21418 (exit $ac_status); }; }; then
21421 echo "$as_me: program exited with status
$ac_status" >&5
21422 echo "$as_me: failed program was
:" >&5
21423 sed 's/^/| /' conftest.$ac_ext >&5
21425 ( exit $ac_status )
21426 ac_cv_header_stdc=no
21428 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21434 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
21435 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21436 if test $ac_cv_header_stdc = yes; then
21438 cat >>confdefs.h <<\_ACEOF
21439 #define STDC_HEADERS 1
21444 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21454 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21455 inttypes.h stdint.h unistd.h
21457 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21458 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21459 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21460 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21461 echo $ECHO_N "(cached
) $ECHO_C" >&6
21463 cat >conftest.$ac_ext <<_ACEOF
21466 cat confdefs.h >>conftest.$ac_ext
21467 cat >>conftest.$ac_ext <<_ACEOF
21468 /* end confdefs.h. */
21469 $ac_includes_default
21471 #include <$ac_header>
21473 rm -f conftest.$ac_objext
21474 if { (ac_try="$ac_compile"
21475 case "(($ac_try" in
21476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21477 *) ac_try_echo=$ac_try;;
21479 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21480 (eval "$ac_compile") 2>conftest.er1
21482 grep -v '^ *+' conftest.er1 >conftest.err
21484 cat conftest.err >&5
21485 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21486 (exit $ac_status); } && {
21487 test -z "$ac_c_werror_flag" ||
21488 test ! -s conftest.err
21489 } && test -s conftest.$ac_objext; then
21490 eval "$as_ac_Header=yes"
21492 echo "$as_me: failed program was
:" >&5
21493 sed 's/^/| /' conftest.$ac_ext >&5
21495 eval "$as_ac_Header=no
"
21498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21500 ac_res=`eval echo '${'$as_ac_Header'}'`
21501 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21502 echo "${ECHO_T}$ac_res" >&6; }
21503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21504 cat >>confdefs.h <<_ACEOF
21505 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21515 for ac_header in langinfo.h wchar.h
21517 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21518 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21519 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21520 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21521 echo $ECHO_N "(cached
) $ECHO_C" >&6
21523 cat >conftest.$ac_ext <<_ACEOF
21526 cat confdefs.h >>conftest.$ac_ext
21527 cat >>conftest.$ac_ext <<_ACEOF
21528 /* end confdefs.h. */
21529 $ac_includes_default
21531 #include <$ac_header>
21533 rm -f conftest.$ac_objext
21534 if { (ac_try="$ac_compile"
21535 case "(($ac_try" in
21536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21537 *) ac_try_echo=$ac_try;;
21539 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21540 (eval "$ac_compile") 2>conftest.er1
21542 grep -v '^ *+' conftest.er1 >conftest.err
21544 cat conftest.err >&5
21545 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21546 (exit $ac_status); } && {
21547 test -z "$ac_c_werror_flag" ||
21548 test ! -s conftest.err
21549 } && test -s conftest.$ac_objext; then
21550 eval "$as_ac_Header=yes"
21552 echo "$as_me: failed program was
:" >&5
21553 sed 's/^/| /' conftest.$ac_ext >&5
21555 eval "$as_ac_Header=no
"
21558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21560 ac_res=`eval echo '${'$as_ac_Header'}'`
21561 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21562 echo "${ECHO_T}$ac_res" >&6; }
21563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21564 cat >>confdefs.h <<_ACEOF
21565 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21573 if test "$ac_cv_header_wchar_h" != "yes"; then
21575 for ac_header in wcstr.h
21577 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21578 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21579 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21580 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21581 echo $ECHO_N "(cached
) $ECHO_C" >&6
21583 cat >conftest.$ac_ext <<_ACEOF
21586 cat confdefs.h >>conftest.$ac_ext
21587 cat >>conftest.$ac_ext <<_ACEOF
21588 /* end confdefs.h. */
21589 $ac_includes_default
21591 #include <$ac_header>
21593 rm -f conftest.$ac_objext
21594 if { (ac_try="$ac_compile"
21595 case "(($ac_try" in
21596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21597 *) ac_try_echo=$ac_try;;
21599 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21600 (eval "$ac_compile") 2>conftest.er1
21602 grep -v '^ *+' conftest.er1 >conftest.err
21604 cat conftest.err >&5
21605 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21606 (exit $ac_status); } && {
21607 test -z "$ac_c_werror_flag" ||
21608 test ! -s conftest.err
21609 } && test -s conftest.$ac_objext; then
21610 eval "$as_ac_Header=yes"
21612 echo "$as_me: failed program was
:" >&5
21613 sed 's/^/| /' conftest.$ac_ext >&5
21615 eval "$as_ac_Header=no
"
21618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21620 ac_res=`eval echo '${'$as_ac_Header'}'`
21621 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21622 echo "${ECHO_T}$ac_res" >&6; }
21623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21624 cat >>confdefs.h <<_ACEOF
21625 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21635 *-pc-os2_emx | *-pc-os2-emx )
21636 if test $ac_cv_header_langinfo_h = "yes" \
21637 -a \( "$wx_cv_gccversion" = "EMX2
" \
21638 -o "$wx_cv_gccversion" = "EMX3
" \
21639 -o "$wx_cv_gccversion" = "Innotek5
" \); then
21640 LIBS="$LIBS -lintl"
21645 if test "$USE_UNIX" = 1 ; then
21647 for ac_header in sys/select.h
21649 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21650 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21651 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21652 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21653 echo $ECHO_N "(cached
) $ECHO_C" >&6
21655 cat >conftest.$ac_ext <<_ACEOF
21658 cat confdefs.h >>conftest.$ac_ext
21659 cat >>conftest.$ac_ext <<_ACEOF
21660 /* end confdefs.h. */
21661 $ac_includes_default
21663 #include <$ac_header>
21665 rm -f conftest.$ac_objext
21666 if { (ac_try="$ac_compile"
21667 case "(($ac_try" in
21668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21669 *) ac_try_echo=$ac_try;;
21671 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21672 (eval "$ac_compile") 2>conftest.er1
21674 grep -v '^ *+' conftest.er1 >conftest.err
21676 cat conftest.err >&5
21677 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21678 (exit $ac_status); } && {
21679 test -z "$ac_c_werror_flag" ||
21680 test ! -s conftest.err
21681 } && test -s conftest.$ac_objext; then
21682 eval "$as_ac_Header=yes"
21684 echo "$as_me: failed program was
:" >&5
21685 sed 's/^/| /' conftest.$ac_ext >&5
21687 eval "$as_ac_Header=no
"
21690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21692 ac_res=`eval echo '${'$as_ac_Header'}'`
21693 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21694 echo "${ECHO_T}$ac_res" >&6; }
21695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21696 cat >>confdefs.h <<_ACEOF
21697 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21707 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
21708 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
21709 if test "${ac_cv_c_const+set}" = set; then
21710 echo $ECHO_N "(cached
) $ECHO_C" >&6
21712 cat >conftest.$ac_ext <<_ACEOF
21715 cat confdefs.h >>conftest.$ac_ext
21716 cat >>conftest.$ac_ext <<_ACEOF
21717 /* end confdefs.h. */
21722 /* FIXME: Include the comments suggested by Paul. */
21723 #ifndef __cplusplus
21724 /* Ultrix mips cc rejects this. */
21725 typedef int charset[2];
21727 /* SunOS 4.1.1 cc rejects this. */
21728 char const *const *pcpcc;
21730 /* NEC SVR4.0.2 mips cc rejects this. */
21731 struct point {int x, y;};
21732 static struct point const zero = {0,0};
21733 /* AIX XL C 1.02.0.0 rejects this.
21734 It does not let you subtract one const X* pointer from another in
21735 an arm of an if-expression whose if-part is not a constant
21737 const char *g = "string
";
21738 pcpcc = &g + (g ? g-g : 0);
21739 /* HPUX 7.0 cc rejects these. */
21741 ppc = (char**) pcpcc;
21742 pcpcc = (char const *const *) ppc;
21743 { /* SCO 3.2v4 cc rejects this. */
21745 char const *s = 0 ? (char *) 0 : (char const *) 0;
21750 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21751 int x[] = {25, 17};
21752 const int *foo = &x[0];
21755 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21756 typedef const int *iptr;
21760 { /* AIX XL C 1.02.0.0 rejects this saying
21761 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21762 struct s { int j; const int *ap[3]; };
21763 struct s *b; b->j = 5;
21765 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21766 const int foo = 10;
21767 if (!foo) return 0;
21769 return !cs[0] && !zero.x;
21776 rm -f conftest.$ac_objext
21777 if { (ac_try="$ac_compile"
21778 case "(($ac_try" in
21779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21780 *) ac_try_echo=$ac_try;;
21782 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21783 (eval "$ac_compile") 2>conftest.er1
21785 grep -v '^ *+' conftest.er1 >conftest.err
21787 cat conftest.err >&5
21788 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21789 (exit $ac_status); } && {
21790 test -z "$ac_c_werror_flag" ||
21791 test ! -s conftest.err
21792 } && test -s conftest.$ac_objext; then
21795 echo "$as_me: failed program was
:" >&5
21796 sed 's/^/| /' conftest.$ac_ext >&5
21801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21803 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
21804 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21805 if test $ac_cv_c_const = no; then
21807 cat >>confdefs.h <<\_ACEOF
21813 { echo "$as_me:$LINENO: checking
for inline
" >&5
21814 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
21815 if test "${ac_cv_c_inline+set}" = set; then
21816 echo $ECHO_N "(cached
) $ECHO_C" >&6
21819 for ac_kw in inline __inline__ __inline; do
21820 cat >conftest.$ac_ext <<_ACEOF
21823 cat confdefs.h >>conftest.$ac_ext
21824 cat >>conftest.$ac_ext <<_ACEOF
21825 /* end confdefs.h. */
21826 #ifndef __cplusplus
21828 static $ac_kw foo_t static_foo () {return 0; }
21829 $ac_kw foo_t foo () {return 0; }
21833 rm -f conftest.$ac_objext
21834 if { (ac_try="$ac_compile"
21835 case "(($ac_try" in
21836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21837 *) ac_try_echo=$ac_try;;
21839 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21840 (eval "$ac_compile") 2>conftest.er1
21842 grep -v '^ *+' conftest.er1 >conftest.err
21844 cat conftest.err >&5
21845 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21846 (exit $ac_status); } && {
21847 test -z "$ac_c_werror_flag" ||
21848 test ! -s conftest.err
21849 } && test -s conftest.$ac_objext; then
21850 ac_cv_c_inline=$ac_kw
21852 echo "$as_me: failed program was
:" >&5
21853 sed 's/^/| /' conftest.$ac_ext >&5
21858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21859 test "$ac_cv_c_inline" != no && break
21863 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
21864 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21867 case $ac_cv_c_inline in
21870 case $ac_cv_c_inline in
21872 *) ac_val=$ac_cv_c_inline;;
21874 cat >>confdefs.h <<_ACEOF
21875 #ifndef __cplusplus
21876 #define inline $ac_val
21883 { echo "$as_me:$LINENO: checking
for short
" >&5
21884 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
21885 if test "${ac_cv_type_short+set}" = set; then
21886 echo $ECHO_N "(cached
) $ECHO_C" >&6
21888 cat >conftest.$ac_ext <<_ACEOF
21891 cat confdefs.h >>conftest.$ac_ext
21892 cat >>conftest.$ac_ext <<_ACEOF
21893 /* end confdefs.h. */
21894 $ac_includes_default
21895 typedef short ac__type_new_;
21899 if ((ac__type_new_ *) 0)
21901 if (sizeof (ac__type_new_))
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
21924 ac_cv_type_short=yes
21926 echo "$as_me: failed program was
:" >&5
21927 sed 's/^/| /' conftest.$ac_ext >&5
21929 ac_cv_type_short=no
21932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21934 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
21935 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21937 # The cast to long int works around a bug in the HP C Compiler
21938 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21939 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21940 # This bug is HP SR number 8606223364.
21941 { echo "$as_me:$LINENO: checking size of short
" >&5
21942 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
21943 if test "${ac_cv_sizeof_short+set}" = set; then
21944 echo $ECHO_N "(cached
) $ECHO_C" >&6
21946 if test "$cross_compiling" = yes; then
21947 # Depending upon the size, compute the lo and hi bounds.
21948 cat >conftest.$ac_ext <<_ACEOF
21951 cat confdefs.h >>conftest.$ac_ext
21952 cat >>conftest.$ac_ext <<_ACEOF
21953 /* end confdefs.h. */
21954 $ac_includes_default
21955 typedef short ac__type_sizeof_;
21959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21966 rm -f conftest.$ac_objext
21967 if { (ac_try="$ac_compile"
21968 case "(($ac_try" in
21969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21970 *) ac_try_echo=$ac_try;;
21972 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21973 (eval "$ac_compile") 2>conftest.er1
21975 grep -v '^ *+' conftest.er1 >conftest.err
21977 cat conftest.err >&5
21978 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21979 (exit $ac_status); } && {
21980 test -z "$ac_c_werror_flag" ||
21981 test ! -s conftest.err
21982 } && test -s conftest.$ac_objext; then
21985 cat >conftest.$ac_ext <<_ACEOF
21988 cat confdefs.h >>conftest.$ac_ext
21989 cat >>conftest.$ac_ext <<_ACEOF
21990 /* end confdefs.h. */
21991 $ac_includes_default
21992 typedef short ac__type_sizeof_;
21996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22003 rm -f conftest.$ac_objext
22004 if { (ac_try="$ac_compile"
22005 case "(($ac_try" in
22006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22007 *) ac_try_echo=$ac_try;;
22009 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22010 (eval "$ac_compile") 2>conftest.er1
22012 grep -v '^ *+' conftest.er1 >conftest.err
22014 cat conftest.err >&5
22015 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22016 (exit $ac_status); } && {
22017 test -z "$ac_c_werror_flag" ||
22018 test ! -s conftest.err
22019 } && test -s conftest.$ac_objext; then
22020 ac_hi=$ac_mid; break
22022 echo "$as_me: failed program was
:" >&5
22023 sed 's/^/| /' conftest.$ac_ext >&5
22025 ac_lo=`expr $ac_mid + 1`
22026 if test $ac_lo -le $ac_mid; then
22030 ac_mid=`expr 2 '*' $ac_mid + 1`
22033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22036 echo "$as_me: failed program was
:" >&5
22037 sed 's/^/| /' conftest.$ac_ext >&5
22039 cat >conftest.$ac_ext <<_ACEOF
22042 cat confdefs.h >>conftest.$ac_ext
22043 cat >>conftest.$ac_ext <<_ACEOF
22044 /* end confdefs.h. */
22045 $ac_includes_default
22046 typedef short ac__type_sizeof_;
22050 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22057 rm -f conftest.$ac_objext
22058 if { (ac_try="$ac_compile"
22059 case "(($ac_try" in
22060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22061 *) ac_try_echo=$ac_try;;
22063 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22064 (eval "$ac_compile") 2>conftest.er1
22066 grep -v '^ *+' conftest.er1 >conftest.err
22068 cat conftest.err >&5
22069 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22070 (exit $ac_status); } && {
22071 test -z "$ac_c_werror_flag" ||
22072 test ! -s conftest.err
22073 } && test -s conftest.$ac_objext; then
22076 cat >conftest.$ac_ext <<_ACEOF
22079 cat confdefs.h >>conftest.$ac_ext
22080 cat >>conftest.$ac_ext <<_ACEOF
22081 /* end confdefs.h. */
22082 $ac_includes_default
22083 typedef short ac__type_sizeof_;
22087 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22094 rm -f conftest.$ac_objext
22095 if { (ac_try="$ac_compile"
22096 case "(($ac_try" in
22097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22098 *) ac_try_echo=$ac_try;;
22100 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22101 (eval "$ac_compile") 2>conftest.er1
22103 grep -v '^ *+' conftest.er1 >conftest.err
22105 cat conftest.err >&5
22106 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22107 (exit $ac_status); } && {
22108 test -z "$ac_c_werror_flag" ||
22109 test ! -s conftest.err
22110 } && test -s conftest.$ac_objext; then
22111 ac_lo=$ac_mid; break
22113 echo "$as_me: failed program was
:" >&5
22114 sed 's/^/| /' conftest.$ac_ext >&5
22116 ac_hi=`expr '(' $ac_mid ')' - 1`
22117 if test $ac_mid -le $ac_hi; then
22121 ac_mid=`expr 2 '*' $ac_mid`
22124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22127 echo "$as_me: failed program was
:" >&5
22128 sed 's/^/| /' conftest.$ac_ext >&5
22133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22137 # Binary search between lo and hi bounds.
22138 while test "x
$ac_lo" != "x
$ac_hi"; do
22139 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22140 cat >conftest.$ac_ext <<_ACEOF
22143 cat confdefs.h >>conftest.$ac_ext
22144 cat >>conftest.$ac_ext <<_ACEOF
22145 /* end confdefs.h. */
22146 $ac_includes_default
22147 typedef short ac__type_sizeof_;
22151 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22158 rm -f conftest.$ac_objext
22159 if { (ac_try="$ac_compile"
22160 case "(($ac_try" in
22161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22162 *) ac_try_echo=$ac_try;;
22164 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22165 (eval "$ac_compile") 2>conftest.er1
22167 grep -v '^ *+' conftest.er1 >conftest.err
22169 cat conftest.err >&5
22170 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22171 (exit $ac_status); } && {
22172 test -z "$ac_c_werror_flag" ||
22173 test ! -s conftest.err
22174 } && test -s conftest.$ac_objext; then
22177 echo "$as_me: failed program was
:" >&5
22178 sed 's/^/| /' conftest.$ac_ext >&5
22180 ac_lo=`expr '(' $ac_mid ')' + 1`
22183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22186 ?*) ac_cv_sizeof_short=$ac_lo;;
22187 '') if test "$ac_cv_type_short" = yes; then
22188 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
22189 See \
`config.log' for more details." >&5
22190 echo "$as_me: error: cannot compute sizeof (short)
22191 See \`config.log
' for more details." >&2;}
22192 { (exit 77); exit 77; }; }
22194 ac_cv_sizeof_short=0
22198 cat >conftest.$ac_ext <<_ACEOF
22201 cat confdefs.h >>conftest.$ac_ext
22202 cat >>conftest.$ac_ext <<_ACEOF
22203 /* end confdefs.h. */
22204 $ac_includes_default
22205 typedef short ac__type_sizeof_;
22206 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22207 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22209 #include <stdlib.h>
22214 FILE *f = fopen ("conftest.val", "w");
22217 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22219 long int i = longval ();
22220 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22222 fprintf (f, "%ld\n", i);
22226 unsigned long int i = ulongval ();
22227 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22229 fprintf (f, "%lu\n", i);
22231 return ferror (f) || fclose (f) != 0;
22237 rm -f conftest$ac_exeext
22238 if { (ac_try="$ac_link"
22239 case "(($ac_try" in
22240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22241 *) ac_try_echo=$ac_try;;
22243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22244 (eval "$ac_link") 2>&5
22246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22248 { (case "(($ac_try" in
22249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22250 *) ac_try_echo=$ac_try;;
22252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22253 (eval "$ac_try") 2>&5
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); }; }; then
22257 ac_cv_sizeof_short=`cat conftest.val`
22259 echo "$as_me: program exited with status $ac_status" >&5
22260 echo "$as_me: failed program was:" >&5
22261 sed 's
/^
/| /' conftest.$ac_ext >&5
22263 ( exit $ac_status )
22264 if test "$ac_cv_type_short" = yes; then
22265 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22266 See \`config.log' for more details.
" >&5
22267 echo "$as_me: error
: cannot compute sizeof
(short
)
22268 See \
`config.log' for more details." >&2;}
22269 { (exit 77); exit 77; }; }
22271 ac_cv_sizeof_short=0
22274 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22278 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22279 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22283 cat >>confdefs.h <<_ACEOF
22284 #define SIZEOF_SHORT $ac_cv_sizeof_short
22288 { echo "$as_me:$LINENO: checking for void *" >&5
22289 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22290 if test "${ac_cv_type_void_p+set}" = set; then
22291 echo $ECHO_N "(cached) $ECHO_C" >&6
22293 cat >conftest.$ac_ext <<_ACEOF
22296 cat confdefs.h >>conftest.$ac_ext
22297 cat >>conftest.$ac_ext <<_ACEOF
22298 /* end confdefs.h. */
22299 $ac_includes_default
22300 typedef void * ac__type_new_;
22304 if ((ac__type_new_ *) 0)
22306 if (sizeof (ac__type_new_))
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
22329 ac_cv_type_void_p
=yes
22331 echo "$as_me: failed program was:" >&5
22332 sed 's/^/| /' conftest.
$ac_ext >&5
22334 ac_cv_type_void_p
=no
22337 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22339 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22340 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22342 # The cast to long int works around a bug in the HP C Compiler
22343 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22344 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22345 # This bug is HP SR number 8606223364.
22346 { echo "$as_me:$LINENO: checking size of void *" >&5
22347 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22348 if test "${ac_cv_sizeof_void_p+set}" = set; then
22349 echo $ECHO_N "(cached) $ECHO_C" >&6
22351 if test "$cross_compiling" = yes; then
22352 # Depending upon the size, compute the lo and hi bounds.
22353 cat >conftest.
$ac_ext <<_ACEOF
22356 cat confdefs.h
>>conftest.
$ac_ext
22357 cat >>conftest.
$ac_ext <<_ACEOF
22358 /* end confdefs.h. */
22359 $ac_includes_default
22360 typedef void * ac__type_sizeof_;
22364 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22371 rm -f conftest.
$ac_objext
22372 if { (ac_try
="$ac_compile"
22373 case "(($ac_try" in
22374 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22375 *) ac_try_echo=$ac_try;;
22377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22378 (eval "$ac_compile") 2>conftest.er1
22380 grep -v '^ *+' conftest.er1 >conftest.err
22382 cat conftest.err >&5
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); } && {
22385 test -z "$ac_c_werror_flag" ||
22386 test ! -s conftest.err
22387 } && test -s conftest.$ac_objext; then
22390 cat >conftest.$ac_ext <<_ACEOF
22393 cat confdefs.h >>conftest.$ac_ext
22394 cat >>conftest.$ac_ext <<_ACEOF
22395 /* end confdefs.h. */
22396 $ac_includes_default
22397 typedef void * ac__type_sizeof_;
22401 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22408 rm -f conftest.$ac_objext
22409 if { (ac_try="$ac_compile"
22410 case "(($ac_try" in
22411 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22412 *) ac_try_echo
=$ac_try;;
22414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22415 (eval "$ac_compile") 2>conftest.er1
22417 grep -v '^ *+' conftest.er1
>conftest.err
22419 cat conftest.err
>&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } && {
22422 test -z "$ac_c_werror_flag" ||
22423 test ! -s conftest.err
22424 } && test -s conftest.
$ac_objext; then
22425 ac_hi
=$ac_mid; break
22427 echo "$as_me: failed program was:" >&5
22428 sed 's/^/| /' conftest.
$ac_ext >&5
22430 ac_lo
=`expr $ac_mid + 1`
22431 if test $ac_lo -le $ac_mid; then
22435 ac_mid
=`expr 2 '*' $ac_mid + 1`
22438 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22441 echo "$as_me: failed program was:" >&5
22442 sed 's/^/| /' conftest.
$ac_ext >&5
22444 cat >conftest.
$ac_ext <<_ACEOF
22447 cat confdefs.h
>>conftest.
$ac_ext
22448 cat >>conftest.
$ac_ext <<_ACEOF
22449 /* end confdefs.h. */
22450 $ac_includes_default
22451 typedef void * ac__type_sizeof_;
22455 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22462 rm -f conftest.
$ac_objext
22463 if { (ac_try
="$ac_compile"
22464 case "(($ac_try" in
22465 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22466 *) ac_try_echo=$ac_try;;
22468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22469 (eval "$ac_compile") 2>conftest.er1
22471 grep -v '^ *+' conftest.er1 >conftest.err
22473 cat conftest.err >&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); } && {
22476 test -z "$ac_c_werror_flag" ||
22477 test ! -s conftest.err
22478 } && test -s conftest.$ac_objext; then
22481 cat >conftest.$ac_ext <<_ACEOF
22484 cat confdefs.h >>conftest.$ac_ext
22485 cat >>conftest.$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22487 $ac_includes_default
22488 typedef void * ac__type_sizeof_;
22492 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22499 rm -f conftest.$ac_objext
22500 if { (ac_try="$ac_compile"
22501 case "(($ac_try" in
22502 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22503 *) ac_try_echo
=$ac_try;;
22505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22506 (eval "$ac_compile") 2>conftest.er1
22508 grep -v '^ *+' conftest.er1
>conftest.err
22510 cat conftest.err
>&5
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); } && {
22513 test -z "$ac_c_werror_flag" ||
22514 test ! -s conftest.err
22515 } && test -s conftest.
$ac_objext; then
22516 ac_lo
=$ac_mid; break
22518 echo "$as_me: failed program was:" >&5
22519 sed 's/^/| /' conftest.
$ac_ext >&5
22521 ac_hi
=`expr '(' $ac_mid ')' - 1`
22522 if test $ac_mid -le $ac_hi; then
22526 ac_mid
=`expr 2 '*' $ac_mid`
22529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22532 echo "$as_me: failed program was:" >&5
22533 sed 's/^/| /' conftest.
$ac_ext >&5
22538 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22542 # Binary search between lo and hi bounds.
22543 while test "x$ac_lo" != "x$ac_hi"; do
22544 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22545 cat >conftest.
$ac_ext <<_ACEOF
22548 cat confdefs.h
>>conftest.
$ac_ext
22549 cat >>conftest.
$ac_ext <<_ACEOF
22550 /* end confdefs.h. */
22551 $ac_includes_default
22552 typedef void * ac__type_sizeof_;
22556 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22563 rm -f conftest.
$ac_objext
22564 if { (ac_try
="$ac_compile"
22565 case "(($ac_try" in
22566 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22567 *) ac_try_echo=$ac_try;;
22569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22570 (eval "$ac_compile") 2>conftest.er1
22572 grep -v '^ *+' conftest.er1 >conftest.err
22574 cat conftest.err >&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); } && {
22577 test -z "$ac_c_werror_flag" ||
22578 test ! -s conftest.err
22579 } && test -s conftest.$ac_objext; then
22582 echo "$as_me: failed program was:" >&5
22583 sed 's/^/| /' conftest.$ac_ext >&5
22585 ac_lo=`expr '(' $ac_mid ')' + 1`
22588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22591 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22592 '') if test "$ac_cv_type_void_p" = yes; then
22593 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22594 See \`config.log
' for more details." >&5
22595 echo "$as_me: error: cannot compute sizeof (void *)
22596 See \`config.log' for more details.
" >&2;}
22597 { (exit 77); exit 77; }; }
22599 ac_cv_sizeof_void_p=0
22603 cat >conftest.$ac_ext <<_ACEOF
22606 cat confdefs.h >>conftest.$ac_ext
22607 cat >>conftest.$ac_ext <<_ACEOF
22608 /* end confdefs.h. */
22609 $ac_includes_default
22610 typedef void * ac__type_sizeof_;
22611 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22612 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22614 #include <stdlib.h>
22619 FILE *f = fopen ("conftest.val
", "w
");
22622 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22624 long int i = longval ();
22625 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22627 fprintf (f, "%ld
\n", i);
22631 unsigned long int i = ulongval ();
22632 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22634 fprintf (f, "%lu
\n", i);
22636 return ferror (f) || fclose (f) != 0;
22642 rm -f conftest$ac_exeext
22643 if { (ac_try="$ac_link"
22644 case "(($ac_try" in
22645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22646 *) ac_try_echo=$ac_try;;
22648 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22649 (eval "$ac_link") 2>&5
22651 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22652 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22653 { (case "(($ac_try" in
22654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22655 *) ac_try_echo=$ac_try;;
22657 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22658 (eval "$ac_try") 2>&5
22660 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22661 (exit $ac_status); }; }; then
22662 ac_cv_sizeof_void_p=`cat conftest.val`
22664 echo "$as_me: program exited with status
$ac_status" >&5
22665 echo "$as_me: failed program was
:" >&5
22666 sed 's/^/| /' conftest.$ac_ext >&5
22668 ( exit $ac_status )
22669 if test "$ac_cv_type_void_p" = yes; then
22670 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
22671 See \
`config.log' for more details." >&5
22672 echo "$as_me: error: cannot compute sizeof (void *)
22673 See \`config.log
' for more details." >&2;}
22674 { (exit 77); exit 77; }; }
22676 ac_cv_sizeof_void_p=0
22679 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22683 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22684 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22688 cat >>confdefs.h <<_ACEOF
22689 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22693 { echo "$as_me:$LINENO: checking for int" >&5
22694 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22695 if test "${ac_cv_type_int+set}" = set; then
22696 echo $ECHO_N "(cached) $ECHO_C" >&6
22698 cat >conftest.$ac_ext <<_ACEOF
22701 cat confdefs.h >>conftest.$ac_ext
22702 cat >>conftest.$ac_ext <<_ACEOF
22703 /* end confdefs.h. */
22704 $ac_includes_default
22705 typedef int ac__type_new_;
22709 if ((ac__type_new_ *) 0)
22711 if (sizeof (ac__type_new_))
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 echo "$as_me: failed program was:" >&5
22737 sed 's
/^
/| /' conftest.$ac_ext >&5
22742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22744 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22745 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22747 # The cast to long int works around a bug in the HP C Compiler
22748 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22749 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22750 # This bug is HP SR number 8606223364.
22751 { echo "$as_me:$LINENO: checking size of int" >&5
22752 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22753 if test "${ac_cv_sizeof_int+set}" = set; then
22754 echo $ECHO_N "(cached) $ECHO_C" >&6
22756 if test "$cross_compiling" = yes; then
22757 # Depending upon the size, compute the lo and hi bounds.
22758 cat >conftest.
$ac_ext <<_ACEOF
22761 cat confdefs.h
>>conftest.
$ac_ext
22762 cat >>conftest.
$ac_ext <<_ACEOF
22763 /* end confdefs.h. */
22764 $ac_includes_default
22765 typedef int ac__type_sizeof_;
22769 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22776 rm -f conftest.
$ac_objext
22777 if { (ac_try
="$ac_compile"
22778 case "(($ac_try" in
22779 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22780 *) ac_try_echo=$ac_try;;
22782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22783 (eval "$ac_compile") 2>conftest.er1
22785 grep -v '^ *+' conftest.er1 >conftest.err
22787 cat conftest.err >&5
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); } && {
22790 test -z "$ac_c_werror_flag" ||
22791 test ! -s conftest.err
22792 } && test -s conftest.$ac_objext; then
22795 cat >conftest.$ac_ext <<_ACEOF
22798 cat confdefs.h >>conftest.$ac_ext
22799 cat >>conftest.$ac_ext <<_ACEOF
22800 /* end confdefs.h. */
22801 $ac_includes_default
22802 typedef int ac__type_sizeof_;
22806 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22813 rm -f conftest.$ac_objext
22814 if { (ac_try="$ac_compile"
22815 case "(($ac_try" in
22816 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22817 *) ac_try_echo
=$ac_try;;
22819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22820 (eval "$ac_compile") 2>conftest.er1
22822 grep -v '^ *+' conftest.er1
>conftest.err
22824 cat conftest.err
>&5
22825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826 (exit $ac_status); } && {
22827 test -z "$ac_c_werror_flag" ||
22828 test ! -s conftest.err
22829 } && test -s conftest.
$ac_objext; then
22830 ac_hi
=$ac_mid; break
22832 echo "$as_me: failed program was:" >&5
22833 sed 's/^/| /' conftest.
$ac_ext >&5
22835 ac_lo
=`expr $ac_mid + 1`
22836 if test $ac_lo -le $ac_mid; then
22840 ac_mid
=`expr 2 '*' $ac_mid + 1`
22843 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22846 echo "$as_me: failed program was:" >&5
22847 sed 's/^/| /' conftest.
$ac_ext >&5
22849 cat >conftest.
$ac_ext <<_ACEOF
22852 cat confdefs.h
>>conftest.
$ac_ext
22853 cat >>conftest.
$ac_ext <<_ACEOF
22854 /* end confdefs.h. */
22855 $ac_includes_default
22856 typedef int ac__type_sizeof_;
22860 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22867 rm -f conftest.
$ac_objext
22868 if { (ac_try
="$ac_compile"
22869 case "(($ac_try" in
22870 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22871 *) ac_try_echo=$ac_try;;
22873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22874 (eval "$ac_compile") 2>conftest.er1
22876 grep -v '^ *+' conftest.er1 >conftest.err
22878 cat conftest.err >&5
22879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22880 (exit $ac_status); } && {
22881 test -z "$ac_c_werror_flag" ||
22882 test ! -s conftest.err
22883 } && test -s conftest.$ac_objext; then
22886 cat >conftest.$ac_ext <<_ACEOF
22889 cat confdefs.h >>conftest.$ac_ext
22890 cat >>conftest.$ac_ext <<_ACEOF
22891 /* end confdefs.h. */
22892 $ac_includes_default
22893 typedef int ac__type_sizeof_;
22897 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22904 rm -f conftest.$ac_objext
22905 if { (ac_try="$ac_compile"
22906 case "(($ac_try" in
22907 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22908 *) ac_try_echo
=$ac_try;;
22910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22911 (eval "$ac_compile") 2>conftest.er1
22913 grep -v '^ *+' conftest.er1
>conftest.err
22915 cat conftest.err
>&5
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); } && {
22918 test -z "$ac_c_werror_flag" ||
22919 test ! -s conftest.err
22920 } && test -s conftest.
$ac_objext; then
22921 ac_lo
=$ac_mid; break
22923 echo "$as_me: failed program was:" >&5
22924 sed 's/^/| /' conftest.
$ac_ext >&5
22926 ac_hi
=`expr '(' $ac_mid ')' - 1`
22927 if test $ac_mid -le $ac_hi; then
22931 ac_mid
=`expr 2 '*' $ac_mid`
22934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22937 echo "$as_me: failed program was:" >&5
22938 sed 's/^/| /' conftest.
$ac_ext >&5
22943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22947 # Binary search between lo and hi bounds.
22948 while test "x$ac_lo" != "x$ac_hi"; do
22949 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22950 cat >conftest.
$ac_ext <<_ACEOF
22953 cat confdefs.h
>>conftest.
$ac_ext
22954 cat >>conftest.
$ac_ext <<_ACEOF
22955 /* end confdefs.h. */
22956 $ac_includes_default
22957 typedef int ac__type_sizeof_;
22961 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22968 rm -f conftest.
$ac_objext
22969 if { (ac_try
="$ac_compile"
22970 case "(($ac_try" in
22971 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22972 *) ac_try_echo=$ac_try;;
22974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22975 (eval "$ac_compile") 2>conftest.er1
22977 grep -v '^ *+' conftest.er1 >conftest.err
22979 cat conftest.err >&5
22980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22981 (exit $ac_status); } && {
22982 test -z "$ac_c_werror_flag" ||
22983 test ! -s conftest.err
22984 } && test -s conftest.$ac_objext; then
22987 echo "$as_me: failed program was:" >&5
22988 sed 's/^/| /' conftest.$ac_ext >&5
22990 ac_lo=`expr '(' $ac_mid ')' + 1`
22993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22996 ?*) ac_cv_sizeof_int=$ac_lo;;
22997 '') if test "$ac_cv_type_int" = yes; then
22998 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22999 See \`config.log
' for more details." >&5
23000 echo "$as_me: error: cannot compute sizeof (int)
23001 See \`config.log' for more details.
" >&2;}
23002 { (exit 77); exit 77; }; }
23008 cat >conftest.$ac_ext <<_ACEOF
23011 cat confdefs.h >>conftest.$ac_ext
23012 cat >>conftest.$ac_ext <<_ACEOF
23013 /* end confdefs.h. */
23014 $ac_includes_default
23015 typedef int ac__type_sizeof_;
23016 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23017 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23019 #include <stdlib.h>
23024 FILE *f = fopen ("conftest.val
", "w
");
23027 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23029 long int i = longval ();
23030 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23032 fprintf (f, "%ld
\n", i);
23036 unsigned long int i = ulongval ();
23037 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23039 fprintf (f, "%lu
\n", i);
23041 return ferror (f) || fclose (f) != 0;
23047 rm -f conftest$ac_exeext
23048 if { (ac_try="$ac_link"
23049 case "(($ac_try" in
23050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23051 *) ac_try_echo=$ac_try;;
23053 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23054 (eval "$ac_link") 2>&5
23056 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23057 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23058 { (case "(($ac_try" in
23059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23060 *) ac_try_echo=$ac_try;;
23062 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23063 (eval "$ac_try") 2>&5
23065 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23066 (exit $ac_status); }; }; then
23067 ac_cv_sizeof_int=`cat conftest.val`
23069 echo "$as_me: program exited with status
$ac_status" >&5
23070 echo "$as_me: failed program was
:" >&5
23071 sed 's/^/| /' conftest.$ac_ext >&5
23073 ( exit $ac_status )
23074 if test "$ac_cv_type_int" = yes; then
23075 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
23076 See \
`config.log' for more details." >&5
23077 echo "$as_me: error: cannot compute sizeof (int)
23078 See \`config.log
' for more details." >&2;}
23079 { (exit 77); exit 77; }; }
23084 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23088 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23089 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23093 cat >>confdefs.h <<_ACEOF
23094 #define SIZEOF_INT $ac_cv_sizeof_int
23098 { echo "$as_me:$LINENO: checking for long" >&5
23099 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23100 if test "${ac_cv_type_long+set}" = set; then
23101 echo $ECHO_N "(cached) $ECHO_C" >&6
23103 cat >conftest.$ac_ext <<_ACEOF
23106 cat confdefs.h >>conftest.$ac_ext
23107 cat >>conftest.$ac_ext <<_ACEOF
23108 /* end confdefs.h. */
23109 $ac_includes_default
23110 typedef long ac__type_new_;
23114 if ((ac__type_new_ *) 0)
23116 if (sizeof (ac__type_new_))
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
23139 ac_cv_type_long=yes
23141 echo "$as_me: failed program was:" >&5
23142 sed 's
/^
/| /' conftest.$ac_ext >&5
23147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23149 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23150 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23152 # The cast to long int works around a bug in the HP C Compiler
23153 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23154 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23155 # This bug is HP SR number 8606223364.
23156 { echo "$as_me:$LINENO: checking size of long" >&5
23157 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23158 if test "${ac_cv_sizeof_long+set}" = set; then
23159 echo $ECHO_N "(cached) $ECHO_C" >&6
23161 if test "$cross_compiling" = yes; then
23162 # Depending upon the size, compute the lo and hi bounds.
23163 cat >conftest.
$ac_ext <<_ACEOF
23166 cat confdefs.h
>>conftest.
$ac_ext
23167 cat >>conftest.
$ac_ext <<_ACEOF
23168 /* end confdefs.h. */
23169 $ac_includes_default
23170 typedef long ac__type_sizeof_;
23174 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23181 rm -f conftest.
$ac_objext
23182 if { (ac_try
="$ac_compile"
23183 case "(($ac_try" in
23184 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23185 *) ac_try_echo=$ac_try;;
23187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23188 (eval "$ac_compile") 2>conftest.er1
23190 grep -v '^ *+' conftest.er1 >conftest.err
23192 cat conftest.err >&5
23193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23194 (exit $ac_status); } && {
23195 test -z "$ac_c_werror_flag" ||
23196 test ! -s conftest.err
23197 } && test -s conftest.$ac_objext; then
23200 cat >conftest.$ac_ext <<_ACEOF
23203 cat confdefs.h >>conftest.$ac_ext
23204 cat >>conftest.$ac_ext <<_ACEOF
23205 /* end confdefs.h. */
23206 $ac_includes_default
23207 typedef long ac__type_sizeof_;
23211 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23218 rm -f conftest.$ac_objext
23219 if { (ac_try="$ac_compile"
23220 case "(($ac_try" in
23221 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23222 *) ac_try_echo
=$ac_try;;
23224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23225 (eval "$ac_compile") 2>conftest.er1
23227 grep -v '^ *+' conftest.er1
>conftest.err
23229 cat conftest.err
>&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); } && {
23232 test -z "$ac_c_werror_flag" ||
23233 test ! -s conftest.err
23234 } && test -s conftest.
$ac_objext; then
23235 ac_hi
=$ac_mid; break
23237 echo "$as_me: failed program was:" >&5
23238 sed 's/^/| /' conftest.
$ac_ext >&5
23240 ac_lo
=`expr $ac_mid + 1`
23241 if test $ac_lo -le $ac_mid; then
23245 ac_mid
=`expr 2 '*' $ac_mid + 1`
23248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23251 echo "$as_me: failed program was:" >&5
23252 sed 's/^/| /' conftest.
$ac_ext >&5
23254 cat >conftest.
$ac_ext <<_ACEOF
23257 cat confdefs.h
>>conftest.
$ac_ext
23258 cat >>conftest.
$ac_ext <<_ACEOF
23259 /* end confdefs.h. */
23260 $ac_includes_default
23261 typedef long ac__type_sizeof_;
23265 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23272 rm -f conftest.
$ac_objext
23273 if { (ac_try
="$ac_compile"
23274 case "(($ac_try" in
23275 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23276 *) ac_try_echo=$ac_try;;
23278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23279 (eval "$ac_compile") 2>conftest.er1
23281 grep -v '^ *+' conftest.er1 >conftest.err
23283 cat conftest.err >&5
23284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285 (exit $ac_status); } && {
23286 test -z "$ac_c_werror_flag" ||
23287 test ! -s conftest.err
23288 } && test -s conftest.$ac_objext; then
23291 cat >conftest.$ac_ext <<_ACEOF
23294 cat confdefs.h >>conftest.$ac_ext
23295 cat >>conftest.$ac_ext <<_ACEOF
23296 /* end confdefs.h. */
23297 $ac_includes_default
23298 typedef long ac__type_sizeof_;
23302 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23309 rm -f conftest.$ac_objext
23310 if { (ac_try="$ac_compile"
23311 case "(($ac_try" in
23312 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23313 *) ac_try_echo
=$ac_try;;
23315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23316 (eval "$ac_compile") 2>conftest.er1
23318 grep -v '^ *+' conftest.er1
>conftest.err
23320 cat conftest.err
>&5
23321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322 (exit $ac_status); } && {
23323 test -z "$ac_c_werror_flag" ||
23324 test ! -s conftest.err
23325 } && test -s conftest.
$ac_objext; then
23326 ac_lo
=$ac_mid; break
23328 echo "$as_me: failed program was:" >&5
23329 sed 's/^/| /' conftest.
$ac_ext >&5
23331 ac_hi
=`expr '(' $ac_mid ')' - 1`
23332 if test $ac_mid -le $ac_hi; then
23336 ac_mid
=`expr 2 '*' $ac_mid`
23339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23342 echo "$as_me: failed program was:" >&5
23343 sed 's/^/| /' conftest.
$ac_ext >&5
23348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23351 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23352 # Binary search between lo and hi bounds.
23353 while test "x$ac_lo" != "x$ac_hi"; do
23354 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23355 cat >conftest.
$ac_ext <<_ACEOF
23358 cat confdefs.h
>>conftest.
$ac_ext
23359 cat >>conftest.
$ac_ext <<_ACEOF
23360 /* end confdefs.h. */
23361 $ac_includes_default
23362 typedef long ac__type_sizeof_;
23366 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23373 rm -f conftest.
$ac_objext
23374 if { (ac_try
="$ac_compile"
23375 case "(($ac_try" in
23376 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23377 *) ac_try_echo=$ac_try;;
23379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23380 (eval "$ac_compile") 2>conftest.er1
23382 grep -v '^ *+' conftest.er1 >conftest.err
23384 cat conftest.err >&5
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); } && {
23387 test -z "$ac_c_werror_flag" ||
23388 test ! -s conftest.err
23389 } && test -s conftest.$ac_objext; then
23392 echo "$as_me: failed program was:" >&5
23393 sed 's/^/| /' conftest.$ac_ext >&5
23395 ac_lo=`expr '(' $ac_mid ')' + 1`
23398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23401 ?*) ac_cv_sizeof_long=$ac_lo;;
23402 '') if test "$ac_cv_type_long" = yes; then
23403 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23404 See \`config.log
' for more details." >&5
23405 echo "$as_me: error: cannot compute sizeof (long)
23406 See \`config.log' for more details.
" >&2;}
23407 { (exit 77); exit 77; }; }
23409 ac_cv_sizeof_long=0
23413 cat >conftest.$ac_ext <<_ACEOF
23416 cat confdefs.h >>conftest.$ac_ext
23417 cat >>conftest.$ac_ext <<_ACEOF
23418 /* end confdefs.h. */
23419 $ac_includes_default
23420 typedef long ac__type_sizeof_;
23421 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23422 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23424 #include <stdlib.h>
23429 FILE *f = fopen ("conftest.val
", "w
");
23432 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23434 long int i = longval ();
23435 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23437 fprintf (f, "%ld
\n", i);
23441 unsigned long int i = ulongval ();
23442 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23444 fprintf (f, "%lu
\n", i);
23446 return ferror (f) || fclose (f) != 0;
23452 rm -f conftest$ac_exeext
23453 if { (ac_try="$ac_link"
23454 case "(($ac_try" in
23455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23456 *) ac_try_echo=$ac_try;;
23458 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23459 (eval "$ac_link") 2>&5
23461 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23462 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23463 { (case "(($ac_try" in
23464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23465 *) ac_try_echo=$ac_try;;
23467 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23468 (eval "$ac_try") 2>&5
23470 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23471 (exit $ac_status); }; }; then
23472 ac_cv_sizeof_long=`cat conftest.val`
23474 echo "$as_me: program exited with status
$ac_status" >&5
23475 echo "$as_me: failed program was
:" >&5
23476 sed 's/^/| /' conftest.$ac_ext >&5
23478 ( exit $ac_status )
23479 if test "$ac_cv_type_long" = yes; then
23480 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
23481 See \
`config.log' for more details." >&5
23482 echo "$as_me: error: cannot compute sizeof (long)
23483 See \`config.log
' for more details." >&2;}
23484 { (exit 77); exit 77; }; }
23486 ac_cv_sizeof_long=0
23489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23493 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23494 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23498 cat >>confdefs.h <<_ACEOF
23499 #define SIZEOF_LONG $ac_cv_sizeof_long
23503 { echo "$as_me:$LINENO: checking for size_t" >&5
23504 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23505 if test "${ac_cv_type_size_t+set}" = set; then
23506 echo $ECHO_N "(cached) $ECHO_C" >&6
23508 cat >conftest.$ac_ext <<_ACEOF
23511 cat confdefs.h >>conftest.$ac_ext
23512 cat >>conftest.$ac_ext <<_ACEOF
23513 /* end confdefs.h. */
23514 $ac_includes_default
23515 typedef size_t ac__type_new_;
23519 if ((ac__type_new_ *) 0)
23521 if (sizeof (ac__type_new_))
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
23544 ac_cv_type_size_t=yes
23546 echo "$as_me: failed program was:" >&5
23547 sed 's
/^
/| /' conftest.$ac_ext >&5
23549 ac_cv_type_size_t=no
23552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23554 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23555 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23557 # The cast to long int works around a bug in the HP C Compiler
23558 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23559 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23560 # This bug is HP SR number 8606223364.
23561 { echo "$as_me:$LINENO: checking size of size_t" >&5
23562 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23563 if test "${ac_cv_sizeof_size_t+set}" = set; then
23564 echo $ECHO_N "(cached) $ECHO_C" >&6
23566 if test "$cross_compiling" = yes; then
23567 # Depending upon the size, compute the lo and hi bounds.
23568 cat >conftest.
$ac_ext <<_ACEOF
23571 cat confdefs.h
>>conftest.
$ac_ext
23572 cat >>conftest.
$ac_ext <<_ACEOF
23573 /* end confdefs.h. */
23574 $ac_includes_default
23575 typedef size_t ac__type_sizeof_;
23579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23586 rm -f conftest.
$ac_objext
23587 if { (ac_try
="$ac_compile"
23588 case "(($ac_try" in
23589 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23590 *) ac_try_echo=$ac_try;;
23592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23593 (eval "$ac_compile") 2>conftest.er1
23595 grep -v '^ *+' conftest.er1 >conftest.err
23597 cat conftest.err >&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); } && {
23600 test -z "$ac_c_werror_flag" ||
23601 test ! -s conftest.err
23602 } && test -s conftest.$ac_objext; then
23605 cat >conftest.$ac_ext <<_ACEOF
23608 cat confdefs.h >>conftest.$ac_ext
23609 cat >>conftest.$ac_ext <<_ACEOF
23610 /* end confdefs.h. */
23611 $ac_includes_default
23612 typedef size_t ac__type_sizeof_;
23616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23623 rm -f conftest.$ac_objext
23624 if { (ac_try="$ac_compile"
23625 case "(($ac_try" in
23626 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23627 *) ac_try_echo
=$ac_try;;
23629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23630 (eval "$ac_compile") 2>conftest.er1
23632 grep -v '^ *+' conftest.er1
>conftest.err
23634 cat conftest.err
>&5
23635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23636 (exit $ac_status); } && {
23637 test -z "$ac_c_werror_flag" ||
23638 test ! -s conftest.err
23639 } && test -s conftest.
$ac_objext; then
23640 ac_hi
=$ac_mid; break
23642 echo "$as_me: failed program was:" >&5
23643 sed 's/^/| /' conftest.
$ac_ext >&5
23645 ac_lo
=`expr $ac_mid + 1`
23646 if test $ac_lo -le $ac_mid; then
23650 ac_mid
=`expr 2 '*' $ac_mid + 1`
23653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23656 echo "$as_me: failed program was:" >&5
23657 sed 's/^/| /' conftest.
$ac_ext >&5
23659 cat >conftest.
$ac_ext <<_ACEOF
23662 cat confdefs.h
>>conftest.
$ac_ext
23663 cat >>conftest.
$ac_ext <<_ACEOF
23664 /* end confdefs.h. */
23665 $ac_includes_default
23666 typedef size_t ac__type_sizeof_;
23670 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23677 rm -f conftest.
$ac_objext
23678 if { (ac_try
="$ac_compile"
23679 case "(($ac_try" in
23680 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23681 *) ac_try_echo=$ac_try;;
23683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23684 (eval "$ac_compile") 2>conftest.er1
23686 grep -v '^ *+' conftest.er1 >conftest.err
23688 cat conftest.err >&5
23689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690 (exit $ac_status); } && {
23691 test -z "$ac_c_werror_flag" ||
23692 test ! -s conftest.err
23693 } && test -s conftest.$ac_objext; then
23696 cat >conftest.$ac_ext <<_ACEOF
23699 cat confdefs.h >>conftest.$ac_ext
23700 cat >>conftest.$ac_ext <<_ACEOF
23701 /* end confdefs.h. */
23702 $ac_includes_default
23703 typedef size_t ac__type_sizeof_;
23707 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23714 rm -f conftest.$ac_objext
23715 if { (ac_try="$ac_compile"
23716 case "(($ac_try" in
23717 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23718 *) ac_try_echo
=$ac_try;;
23720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23721 (eval "$ac_compile") 2>conftest.er1
23723 grep -v '^ *+' conftest.er1
>conftest.err
23725 cat conftest.err
>&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); } && {
23728 test -z "$ac_c_werror_flag" ||
23729 test ! -s conftest.err
23730 } && test -s conftest.
$ac_objext; then
23731 ac_lo
=$ac_mid; break
23733 echo "$as_me: failed program was:" >&5
23734 sed 's/^/| /' conftest.
$ac_ext >&5
23736 ac_hi
=`expr '(' $ac_mid ')' - 1`
23737 if test $ac_mid -le $ac_hi; then
23741 ac_mid
=`expr 2 '*' $ac_mid`
23744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23747 echo "$as_me: failed program was:" >&5
23748 sed 's/^/| /' conftest.
$ac_ext >&5
23753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23757 # Binary search between lo and hi bounds.
23758 while test "x$ac_lo" != "x$ac_hi"; do
23759 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23760 cat >conftest.
$ac_ext <<_ACEOF
23763 cat confdefs.h
>>conftest.
$ac_ext
23764 cat >>conftest.
$ac_ext <<_ACEOF
23765 /* end confdefs.h. */
23766 $ac_includes_default
23767 typedef size_t ac__type_sizeof_;
23771 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23778 rm -f conftest.
$ac_objext
23779 if { (ac_try
="$ac_compile"
23780 case "(($ac_try" in
23781 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23782 *) ac_try_echo=$ac_try;;
23784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23785 (eval "$ac_compile") 2>conftest.er1
23787 grep -v '^ *+' conftest.er1 >conftest.err
23789 cat conftest.err >&5
23790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791 (exit $ac_status); } && {
23792 test -z "$ac_c_werror_flag" ||
23793 test ! -s conftest.err
23794 } && test -s conftest.$ac_objext; then
23797 echo "$as_me: failed program was:" >&5
23798 sed 's/^/| /' conftest.$ac_ext >&5
23800 ac_lo=`expr '(' $ac_mid ')' + 1`
23803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23806 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23807 '') if test "$ac_cv_type_size_t" = yes; then
23808 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23809 See \`config.log
' for more details." >&5
23810 echo "$as_me: error: cannot compute sizeof (size_t)
23811 See \`config.log' for more details.
" >&2;}
23812 { (exit 77); exit 77; }; }
23814 ac_cv_sizeof_size_t=0
23818 cat >conftest.$ac_ext <<_ACEOF
23821 cat confdefs.h >>conftest.$ac_ext
23822 cat >>conftest.$ac_ext <<_ACEOF
23823 /* end confdefs.h. */
23824 $ac_includes_default
23825 typedef size_t ac__type_sizeof_;
23826 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23827 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23829 #include <stdlib.h>
23834 FILE *f = fopen ("conftest.val
", "w
");
23837 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23839 long int i = longval ();
23840 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23842 fprintf (f, "%ld
\n", i);
23846 unsigned long int i = ulongval ();
23847 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23849 fprintf (f, "%lu
\n", i);
23851 return ferror (f) || fclose (f) != 0;
23857 rm -f conftest$ac_exeext
23858 if { (ac_try="$ac_link"
23859 case "(($ac_try" in
23860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23861 *) ac_try_echo=$ac_try;;
23863 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23864 (eval "$ac_link") 2>&5
23866 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23867 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23868 { (case "(($ac_try" in
23869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23870 *) ac_try_echo=$ac_try;;
23872 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23873 (eval "$ac_try") 2>&5
23875 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23876 (exit $ac_status); }; }; then
23877 ac_cv_sizeof_size_t=`cat conftest.val`
23879 echo "$as_me: program exited with status
$ac_status" >&5
23880 echo "$as_me: failed program was
:" >&5
23881 sed 's/^/| /' conftest.$ac_ext >&5
23883 ( exit $ac_status )
23884 if test "$ac_cv_type_size_t" = yes; then
23885 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
23886 See \
`config.log' for more details." >&5
23887 echo "$as_me: error: cannot compute sizeof (size_t)
23888 See \`config.log
' for more details." >&2;}
23889 { (exit 77); exit 77; }; }
23891 ac_cv_sizeof_size_t=0
23894 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23898 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23899 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23903 cat >>confdefs.h <<_ACEOF
23904 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23911 { echo "$as_me:$LINENO: checking for long long" >&5
23912 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23913 if test "${ac_cv_type_long_long+set}" = set; then
23914 echo $ECHO_N "(cached) $ECHO_C" >&6
23916 cat >conftest.$ac_ext <<_ACEOF
23919 cat confdefs.h >>conftest.$ac_ext
23920 cat >>conftest.$ac_ext <<_ACEOF
23921 /* end confdefs.h. */
23922 $ac_includes_default
23923 typedef long long ac__type_new_;
23927 if ((ac__type_new_ *) 0)
23929 if (sizeof (ac__type_new_))
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
23952 ac_cv_type_long_long=yes
23954 echo "$as_me: failed program was:" >&5
23955 sed 's
/^
/| /' conftest.$ac_ext >&5
23957 ac_cv_type_long_long=no
23960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23962 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23963 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23965 # The cast to long int works around a bug in the HP C Compiler
23966 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23967 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23968 # This bug is HP SR number 8606223364.
23969 { echo "$as_me:$LINENO: checking size of long long" >&5
23970 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23971 if test "${ac_cv_sizeof_long_long+set}" = set; then
23972 echo $ECHO_N "(cached) $ECHO_C" >&6
23974 if test "$cross_compiling" = yes; then
23975 # Depending upon the size, compute the lo and hi bounds.
23976 cat >conftest.
$ac_ext <<_ACEOF
23979 cat confdefs.h
>>conftest.
$ac_ext
23980 cat >>conftest.
$ac_ext <<_ACEOF
23981 /* end confdefs.h. */
23982 $ac_includes_default
23983 typedef long long ac__type_sizeof_;
23987 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23994 rm -f conftest.
$ac_objext
23995 if { (ac_try
="$ac_compile"
23996 case "(($ac_try" in
23997 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23998 *) ac_try_echo=$ac_try;;
24000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24001 (eval "$ac_compile") 2>conftest.er1
24003 grep -v '^ *+' conftest.er1 >conftest.err
24005 cat conftest.err >&5
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); } && {
24008 test -z "$ac_c_werror_flag" ||
24009 test ! -s conftest.err
24010 } && test -s conftest.$ac_objext; then
24013 cat >conftest.$ac_ext <<_ACEOF
24016 cat confdefs.h >>conftest.$ac_ext
24017 cat >>conftest.$ac_ext <<_ACEOF
24018 /* end confdefs.h. */
24019 $ac_includes_default
24020 typedef long long ac__type_sizeof_;
24024 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24031 rm -f conftest.$ac_objext
24032 if { (ac_try="$ac_compile"
24033 case "(($ac_try" in
24034 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24035 *) ac_try_echo
=$ac_try;;
24037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24038 (eval "$ac_compile") 2>conftest.er1
24040 grep -v '^ *+' conftest.er1
>conftest.err
24042 cat conftest.err
>&5
24043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24044 (exit $ac_status); } && {
24045 test -z "$ac_c_werror_flag" ||
24046 test ! -s conftest.err
24047 } && test -s conftest.
$ac_objext; then
24048 ac_hi
=$ac_mid; break
24050 echo "$as_me: failed program was:" >&5
24051 sed 's/^/| /' conftest.
$ac_ext >&5
24053 ac_lo
=`expr $ac_mid + 1`
24054 if test $ac_lo -le $ac_mid; then
24058 ac_mid
=`expr 2 '*' $ac_mid + 1`
24061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24064 echo "$as_me: failed program was:" >&5
24065 sed 's/^/| /' conftest.
$ac_ext >&5
24067 cat >conftest.
$ac_ext <<_ACEOF
24070 cat confdefs.h
>>conftest.
$ac_ext
24071 cat >>conftest.
$ac_ext <<_ACEOF
24072 /* end confdefs.h. */
24073 $ac_includes_default
24074 typedef long long ac__type_sizeof_;
24078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24085 rm -f conftest.
$ac_objext
24086 if { (ac_try
="$ac_compile"
24087 case "(($ac_try" in
24088 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24089 *) ac_try_echo=$ac_try;;
24091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24092 (eval "$ac_compile") 2>conftest.er1
24094 grep -v '^ *+' conftest.er1 >conftest.err
24096 cat conftest.err >&5
24097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24098 (exit $ac_status); } && {
24099 test -z "$ac_c_werror_flag" ||
24100 test ! -s conftest.err
24101 } && test -s conftest.$ac_objext; then
24104 cat >conftest.$ac_ext <<_ACEOF
24107 cat confdefs.h >>conftest.$ac_ext
24108 cat >>conftest.$ac_ext <<_ACEOF
24109 /* end confdefs.h. */
24110 $ac_includes_default
24111 typedef long long ac__type_sizeof_;
24115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24122 rm -f conftest.$ac_objext
24123 if { (ac_try="$ac_compile"
24124 case "(($ac_try" in
24125 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24126 *) ac_try_echo
=$ac_try;;
24128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24129 (eval "$ac_compile") 2>conftest.er1
24131 grep -v '^ *+' conftest.er1
>conftest.err
24133 cat conftest.err
>&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); } && {
24136 test -z "$ac_c_werror_flag" ||
24137 test ! -s conftest.err
24138 } && test -s conftest.
$ac_objext; then
24139 ac_lo
=$ac_mid; break
24141 echo "$as_me: failed program was:" >&5
24142 sed 's/^/| /' conftest.
$ac_ext >&5
24144 ac_hi
=`expr '(' $ac_mid ')' - 1`
24145 if test $ac_mid -le $ac_hi; then
24149 ac_mid
=`expr 2 '*' $ac_mid`
24152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24155 echo "$as_me: failed program was:" >&5
24156 sed 's/^/| /' conftest.
$ac_ext >&5
24161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24165 # Binary search between lo and hi bounds.
24166 while test "x$ac_lo" != "x$ac_hi"; do
24167 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24168 cat >conftest.
$ac_ext <<_ACEOF
24171 cat confdefs.h
>>conftest.
$ac_ext
24172 cat >>conftest.
$ac_ext <<_ACEOF
24173 /* end confdefs.h. */
24174 $ac_includes_default
24175 typedef long long ac__type_sizeof_;
24179 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24186 rm -f conftest.
$ac_objext
24187 if { (ac_try
="$ac_compile"
24188 case "(($ac_try" in
24189 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24190 *) ac_try_echo=$ac_try;;
24192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24193 (eval "$ac_compile") 2>conftest.er1
24195 grep -v '^ *+' conftest.er1 >conftest.err
24197 cat conftest.err >&5
24198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24199 (exit $ac_status); } && {
24200 test -z "$ac_c_werror_flag" ||
24201 test ! -s conftest.err
24202 } && test -s conftest.$ac_objext; then
24205 echo "$as_me: failed program was:" >&5
24206 sed 's/^/| /' conftest.$ac_ext >&5
24208 ac_lo=`expr '(' $ac_mid ')' + 1`
24211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24214 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24215 '') if test "$ac_cv_type_long_long" = yes; then
24216 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24217 See \`config.log
' for more details." >&5
24218 echo "$as_me: error: cannot compute sizeof (long long)
24219 See \`config.log' for more details.
" >&2;}
24220 { (exit 77); exit 77; }; }
24222 ac_cv_sizeof_long_long=0
24226 cat >conftest.$ac_ext <<_ACEOF
24229 cat confdefs.h >>conftest.$ac_ext
24230 cat >>conftest.$ac_ext <<_ACEOF
24231 /* end confdefs.h. */
24232 $ac_includes_default
24233 typedef long long ac__type_sizeof_;
24234 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24235 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24237 #include <stdlib.h>
24242 FILE *f = fopen ("conftest.val
", "w
");
24245 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24247 long int i = longval ();
24248 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24250 fprintf (f, "%ld
\n", i);
24254 unsigned long int i = ulongval ();
24255 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24257 fprintf (f, "%lu
\n", i);
24259 return ferror (f) || fclose (f) != 0;
24265 rm -f conftest$ac_exeext
24266 if { (ac_try="$ac_link"
24267 case "(($ac_try" in
24268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24269 *) ac_try_echo=$ac_try;;
24271 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24272 (eval "$ac_link") 2>&5
24274 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24275 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24276 { (case "(($ac_try" in
24277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24278 *) ac_try_echo=$ac_try;;
24280 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24281 (eval "$ac_try") 2>&5
24283 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24284 (exit $ac_status); }; }; then
24285 ac_cv_sizeof_long_long=`cat conftest.val`
24287 echo "$as_me: program exited with status
$ac_status" >&5
24288 echo "$as_me: failed program was
:" >&5
24289 sed 's/^/| /' conftest.$ac_ext >&5
24291 ( exit $ac_status )
24292 if test "$ac_cv_type_long_long" = yes; then
24293 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24294 See \
`config.log' for more details." >&5
24295 echo "$as_me: error: cannot compute sizeof (long long)
24296 See \`config.log
' for more details." >&2;}
24297 { (exit 77); exit 77; }; }
24299 ac_cv_sizeof_long_long=0
24302 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24306 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24307 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24311 cat >>confdefs.h <<_ACEOF
24312 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24318 { echo "$as_me:$LINENO: checking for long long" >&5
24319 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24320 if test "${ac_cv_type_long_long+set}" = set; then
24321 echo $ECHO_N "(cached) $ECHO_C" >&6
24323 cat >conftest.$ac_ext <<_ACEOF
24326 cat confdefs.h >>conftest.$ac_ext
24327 cat >>conftest.$ac_ext <<_ACEOF
24328 /* end confdefs.h. */
24329 $ac_includes_default
24330 typedef long long ac__type_new_;
24334 if ((ac__type_new_ *) 0)
24336 if (sizeof (ac__type_new_))
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
24359 ac_cv_type_long_long=yes
24361 echo "$as_me: failed program was:" >&5
24362 sed 's
/^
/| /' conftest.$ac_ext >&5
24364 ac_cv_type_long_long=no
24367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24369 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24370 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24372 # The cast to long int works around a bug in the HP C Compiler
24373 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24374 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24375 # This bug is HP SR number 8606223364.
24376 { echo "$as_me:$LINENO: checking size of long long" >&5
24377 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24378 if test "${ac_cv_sizeof_long_long+set}" = set; then
24379 echo $ECHO_N "(cached) $ECHO_C" >&6
24381 if test "$cross_compiling" = yes; then
24382 # Depending upon the size, compute the lo and hi bounds.
24383 cat >conftest.
$ac_ext <<_ACEOF
24386 cat confdefs.h
>>conftest.
$ac_ext
24387 cat >>conftest.
$ac_ext <<_ACEOF
24388 /* end confdefs.h. */
24389 $ac_includes_default
24390 typedef long long ac__type_sizeof_;
24394 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24401 rm -f conftest.
$ac_objext
24402 if { (ac_try
="$ac_compile"
24403 case "(($ac_try" in
24404 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24405 *) ac_try_echo=$ac_try;;
24407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24408 (eval "$ac_compile") 2>conftest.er1
24410 grep -v '^ *+' conftest.er1 >conftest.err
24412 cat conftest.err >&5
24413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24414 (exit $ac_status); } && {
24415 test -z "$ac_c_werror_flag" ||
24416 test ! -s conftest.err
24417 } && test -s conftest.$ac_objext; then
24420 cat >conftest.$ac_ext <<_ACEOF
24423 cat confdefs.h >>conftest.$ac_ext
24424 cat >>conftest.$ac_ext <<_ACEOF
24425 /* end confdefs.h. */
24426 $ac_includes_default
24427 typedef long long ac__type_sizeof_;
24431 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24438 rm -f conftest.$ac_objext
24439 if { (ac_try="$ac_compile"
24440 case "(($ac_try" in
24441 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24442 *) ac_try_echo
=$ac_try;;
24444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24445 (eval "$ac_compile") 2>conftest.er1
24447 grep -v '^ *+' conftest.er1
>conftest.err
24449 cat conftest.err
>&5
24450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451 (exit $ac_status); } && {
24452 test -z "$ac_c_werror_flag" ||
24453 test ! -s conftest.err
24454 } && test -s conftest.
$ac_objext; then
24455 ac_hi
=$ac_mid; break
24457 echo "$as_me: failed program was:" >&5
24458 sed 's/^/| /' conftest.
$ac_ext >&5
24460 ac_lo
=`expr $ac_mid + 1`
24461 if test $ac_lo -le $ac_mid; then
24465 ac_mid
=`expr 2 '*' $ac_mid + 1`
24468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24471 echo "$as_me: failed program was:" >&5
24472 sed 's/^/| /' conftest.
$ac_ext >&5
24474 cat >conftest.
$ac_ext <<_ACEOF
24477 cat confdefs.h
>>conftest.
$ac_ext
24478 cat >>conftest.
$ac_ext <<_ACEOF
24479 /* end confdefs.h. */
24480 $ac_includes_default
24481 typedef long long ac__type_sizeof_;
24485 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24492 rm -f conftest.
$ac_objext
24493 if { (ac_try
="$ac_compile"
24494 case "(($ac_try" in
24495 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24496 *) ac_try_echo=$ac_try;;
24498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24499 (eval "$ac_compile") 2>conftest.er1
24501 grep -v '^ *+' conftest.er1 >conftest.err
24503 cat conftest.err >&5
24504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24505 (exit $ac_status); } && {
24506 test -z "$ac_c_werror_flag" ||
24507 test ! -s conftest.err
24508 } && test -s conftest.$ac_objext; then
24511 cat >conftest.$ac_ext <<_ACEOF
24514 cat confdefs.h >>conftest.$ac_ext
24515 cat >>conftest.$ac_ext <<_ACEOF
24516 /* end confdefs.h. */
24517 $ac_includes_default
24518 typedef long long ac__type_sizeof_;
24522 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24529 rm -f conftest.$ac_objext
24530 if { (ac_try="$ac_compile"
24531 case "(($ac_try" in
24532 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24533 *) ac_try_echo
=$ac_try;;
24535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24536 (eval "$ac_compile") 2>conftest.er1
24538 grep -v '^ *+' conftest.er1
>conftest.err
24540 cat conftest.err
>&5
24541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24542 (exit $ac_status); } && {
24543 test -z "$ac_c_werror_flag" ||
24544 test ! -s conftest.err
24545 } && test -s conftest.
$ac_objext; then
24546 ac_lo
=$ac_mid; break
24548 echo "$as_me: failed program was:" >&5
24549 sed 's/^/| /' conftest.
$ac_ext >&5
24551 ac_hi
=`expr '(' $ac_mid ')' - 1`
24552 if test $ac_mid -le $ac_hi; then
24556 ac_mid
=`expr 2 '*' $ac_mid`
24559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24562 echo "$as_me: failed program was:" >&5
24563 sed 's/^/| /' conftest.
$ac_ext >&5
24568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24572 # Binary search between lo and hi bounds.
24573 while test "x$ac_lo" != "x$ac_hi"; do
24574 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24575 cat >conftest.
$ac_ext <<_ACEOF
24578 cat confdefs.h
>>conftest.
$ac_ext
24579 cat >>conftest.
$ac_ext <<_ACEOF
24580 /* end confdefs.h. */
24581 $ac_includes_default
24582 typedef long long ac__type_sizeof_;
24586 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24593 rm -f conftest.
$ac_objext
24594 if { (ac_try
="$ac_compile"
24595 case "(($ac_try" in
24596 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24597 *) ac_try_echo=$ac_try;;
24599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24600 (eval "$ac_compile") 2>conftest.er1
24602 grep -v '^ *+' conftest.er1 >conftest.err
24604 cat conftest.err >&5
24605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606 (exit $ac_status); } && {
24607 test -z "$ac_c_werror_flag" ||
24608 test ! -s conftest.err
24609 } && test -s conftest.$ac_objext; then
24612 echo "$as_me: failed program was:" >&5
24613 sed 's/^/| /' conftest.$ac_ext >&5
24615 ac_lo=`expr '(' $ac_mid ')' + 1`
24618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24621 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24622 '') if test "$ac_cv_type_long_long" = yes; then
24623 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24624 See \`config.log
' for more details." >&5
24625 echo "$as_me: error: cannot compute sizeof (long long)
24626 See \`config.log' for more details.
" >&2;}
24627 { (exit 77); exit 77; }; }
24629 ac_cv_sizeof_long_long=0
24633 cat >conftest.$ac_ext <<_ACEOF
24636 cat confdefs.h >>conftest.$ac_ext
24637 cat >>conftest.$ac_ext <<_ACEOF
24638 /* end confdefs.h. */
24639 $ac_includes_default
24640 typedef long long ac__type_sizeof_;
24641 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24642 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24644 #include <stdlib.h>
24649 FILE *f = fopen ("conftest.val
", "w
");
24652 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24654 long int i = longval ();
24655 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24657 fprintf (f, "%ld
\n", i);
24661 unsigned long int i = ulongval ();
24662 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24664 fprintf (f, "%lu
\n", i);
24666 return ferror (f) || fclose (f) != 0;
24672 rm -f conftest$ac_exeext
24673 if { (ac_try="$ac_link"
24674 case "(($ac_try" in
24675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24676 *) ac_try_echo=$ac_try;;
24678 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24679 (eval "$ac_link") 2>&5
24681 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24682 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24683 { (case "(($ac_try" in
24684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24685 *) ac_try_echo=$ac_try;;
24687 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24688 (eval "$ac_try") 2>&5
24690 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24691 (exit $ac_status); }; }; then
24692 ac_cv_sizeof_long_long=`cat conftest.val`
24694 echo "$as_me: program exited with status
$ac_status" >&5
24695 echo "$as_me: failed program was
:" >&5
24696 sed 's/^/| /' conftest.$ac_ext >&5
24698 ( exit $ac_status )
24699 if test "$ac_cv_type_long_long" = yes; then
24700 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24701 See \
`config.log' for more details." >&5
24702 echo "$as_me: error: cannot compute sizeof (long long)
24703 See \`config.log
' for more details." >&2;}
24704 { (exit 77); exit 77; }; }
24706 ac_cv_sizeof_long_long=0
24709 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24713 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24714 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24718 cat >>confdefs.h <<_ACEOF
24719 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24723 if test "$ac_cv_sizeof_long_long" != "0"; then
24724 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24728 { echo "$as_me:$LINENO: checking for long long" >&5
24729 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24730 if test "${ac_cv_type_long_long+set}" = set; then
24731 echo $ECHO_N "(cached) $ECHO_C" >&6
24733 cat >conftest.$ac_ext <<_ACEOF
24736 cat confdefs.h >>conftest.$ac_ext
24737 cat >>conftest.$ac_ext <<_ACEOF
24738 /* end confdefs.h. */
24739 $ac_includes_default
24740 typedef long long ac__type_new_;
24744 if ((ac__type_new_ *) 0)
24746 if (sizeof (ac__type_new_))
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
24769 ac_cv_type_long_long=yes
24771 echo "$as_me: failed program was:" >&5
24772 sed 's
/^
/| /' conftest.$ac_ext >&5
24774 ac_cv_type_long_long=no
24777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24779 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24780 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24782 # The cast to long int works around a bug in the HP C Compiler
24783 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24784 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24785 # This bug is HP SR number 8606223364.
24786 { echo "$as_me:$LINENO: checking size of long long" >&5
24787 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24788 if test "${ac_cv_sizeof_long_long+set}" = set; then
24789 echo $ECHO_N "(cached) $ECHO_C" >&6
24791 if test "$cross_compiling" = yes; then
24792 # Depending upon the size, compute the lo and hi bounds.
24793 cat >conftest.
$ac_ext <<_ACEOF
24796 cat confdefs.h
>>conftest.
$ac_ext
24797 cat >>conftest.
$ac_ext <<_ACEOF
24798 /* end confdefs.h. */
24799 $ac_includes_default
24800 typedef long long ac__type_sizeof_;
24804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24811 rm -f conftest.
$ac_objext
24812 if { (ac_try
="$ac_compile"
24813 case "(($ac_try" in
24814 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24815 *) ac_try_echo=$ac_try;;
24817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24818 (eval "$ac_compile") 2>conftest.er1
24820 grep -v '^ *+' conftest.er1 >conftest.err
24822 cat conftest.err >&5
24823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24824 (exit $ac_status); } && {
24825 test -z "$ac_c_werror_flag" ||
24826 test ! -s conftest.err
24827 } && test -s conftest.$ac_objext; then
24830 cat >conftest.$ac_ext <<_ACEOF
24833 cat confdefs.h >>conftest.$ac_ext
24834 cat >>conftest.$ac_ext <<_ACEOF
24835 /* end confdefs.h. */
24836 $ac_includes_default
24837 typedef long long ac__type_sizeof_;
24841 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24848 rm -f conftest.$ac_objext
24849 if { (ac_try="$ac_compile"
24850 case "(($ac_try" in
24851 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24852 *) ac_try_echo
=$ac_try;;
24854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24855 (eval "$ac_compile") 2>conftest.er1
24857 grep -v '^ *+' conftest.er1
>conftest.err
24859 cat conftest.err
>&5
24860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24861 (exit $ac_status); } && {
24862 test -z "$ac_c_werror_flag" ||
24863 test ! -s conftest.err
24864 } && test -s conftest.
$ac_objext; then
24865 ac_hi
=$ac_mid; break
24867 echo "$as_me: failed program was:" >&5
24868 sed 's/^/| /' conftest.
$ac_ext >&5
24870 ac_lo
=`expr $ac_mid + 1`
24871 if test $ac_lo -le $ac_mid; then
24875 ac_mid
=`expr 2 '*' $ac_mid + 1`
24878 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24881 echo "$as_me: failed program was:" >&5
24882 sed 's/^/| /' conftest.
$ac_ext >&5
24884 cat >conftest.
$ac_ext <<_ACEOF
24887 cat confdefs.h
>>conftest.
$ac_ext
24888 cat >>conftest.
$ac_ext <<_ACEOF
24889 /* end confdefs.h. */
24890 $ac_includes_default
24891 typedef long long ac__type_sizeof_;
24895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24902 rm -f conftest.
$ac_objext
24903 if { (ac_try
="$ac_compile"
24904 case "(($ac_try" in
24905 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24906 *) ac_try_echo=$ac_try;;
24908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24909 (eval "$ac_compile") 2>conftest.er1
24911 grep -v '^ *+' conftest.er1 >conftest.err
24913 cat conftest.err >&5
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); } && {
24916 test -z "$ac_c_werror_flag" ||
24917 test ! -s conftest.err
24918 } && test -s conftest.$ac_objext; then
24921 cat >conftest.$ac_ext <<_ACEOF
24924 cat confdefs.h >>conftest.$ac_ext
24925 cat >>conftest.$ac_ext <<_ACEOF
24926 /* end confdefs.h. */
24927 $ac_includes_default
24928 typedef long long ac__type_sizeof_;
24932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24939 rm -f conftest.$ac_objext
24940 if { (ac_try="$ac_compile"
24941 case "(($ac_try" in
24942 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24943 *) ac_try_echo
=$ac_try;;
24945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24946 (eval "$ac_compile") 2>conftest.er1
24948 grep -v '^ *+' conftest.er1
>conftest.err
24950 cat conftest.err
>&5
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); } && {
24953 test -z "$ac_c_werror_flag" ||
24954 test ! -s conftest.err
24955 } && test -s conftest.
$ac_objext; then
24956 ac_lo
=$ac_mid; break
24958 echo "$as_me: failed program was:" >&5
24959 sed 's/^/| /' conftest.
$ac_ext >&5
24961 ac_hi
=`expr '(' $ac_mid ')' - 1`
24962 if test $ac_mid -le $ac_hi; then
24966 ac_mid
=`expr 2 '*' $ac_mid`
24969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24972 echo "$as_me: failed program was:" >&5
24973 sed 's/^/| /' conftest.
$ac_ext >&5
24978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24982 # Binary search between lo and hi bounds.
24983 while test "x$ac_lo" != "x$ac_hi"; do
24984 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24985 cat >conftest.
$ac_ext <<_ACEOF
24988 cat confdefs.h
>>conftest.
$ac_ext
24989 cat >>conftest.
$ac_ext <<_ACEOF
24990 /* end confdefs.h. */
24991 $ac_includes_default
24992 typedef long long ac__type_sizeof_;
24996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25003 rm -f conftest.
$ac_objext
25004 if { (ac_try
="$ac_compile"
25005 case "(($ac_try" in
25006 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25007 *) ac_try_echo=$ac_try;;
25009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25010 (eval "$ac_compile") 2>conftest.er1
25012 grep -v '^ *+' conftest.er1 >conftest.err
25014 cat conftest.err >&5
25015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25016 (exit $ac_status); } && {
25017 test -z "$ac_c_werror_flag" ||
25018 test ! -s conftest.err
25019 } && test -s conftest.$ac_objext; then
25022 echo "$as_me: failed program was:" >&5
25023 sed 's/^/| /' conftest.$ac_ext >&5
25025 ac_lo=`expr '(' $ac_mid ')' + 1`
25028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25031 ?*) ac_cv_sizeof_long_long=$ac_lo;;
25032 '') if test "$ac_cv_type_long_long" = yes; then
25033 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25034 See \`config.log
' for more details." >&5
25035 echo "$as_me: error: cannot compute sizeof (long long)
25036 See \`config.log' for more details.
" >&2;}
25037 { (exit 77); exit 77; }; }
25039 ac_cv_sizeof_long_long=0
25043 cat >conftest.$ac_ext <<_ACEOF
25046 cat confdefs.h >>conftest.$ac_ext
25047 cat >>conftest.$ac_ext <<_ACEOF
25048 /* end confdefs.h. */
25049 $ac_includes_default
25050 typedef long long ac__type_sizeof_;
25051 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25052 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25054 #include <stdlib.h>
25059 FILE *f = fopen ("conftest.val
", "w
");
25062 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25064 long int i = longval ();
25065 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25067 fprintf (f, "%ld
\n", i);
25071 unsigned long int i = ulongval ();
25072 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25074 fprintf (f, "%lu
\n", i);
25076 return ferror (f) || fclose (f) != 0;
25082 rm -f conftest$ac_exeext
25083 if { (ac_try="$ac_link"
25084 case "(($ac_try" in
25085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25086 *) ac_try_echo=$ac_try;;
25088 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25089 (eval "$ac_link") 2>&5
25091 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25092 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25093 { (case "(($ac_try" in
25094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25095 *) ac_try_echo=$ac_try;;
25097 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25098 (eval "$ac_try") 2>&5
25100 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25101 (exit $ac_status); }; }; then
25102 ac_cv_sizeof_long_long=`cat conftest.val`
25104 echo "$as_me: program exited with status
$ac_status" >&5
25105 echo "$as_me: failed program was
:" >&5
25106 sed 's/^/| /' conftest.$ac_ext >&5
25108 ( exit $ac_status )
25109 if test "$ac_cv_type_long_long" = yes; then
25110 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
25111 See \
`config.log' for more details." >&5
25112 echo "$as_me: error: cannot compute sizeof (long long)
25113 See \`config.log
' for more details." >&2;}
25114 { (exit 77); exit 77; }; }
25116 ac_cv_sizeof_long_long=0
25119 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25123 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25124 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25128 cat >>confdefs.h <<_ACEOF
25129 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25135 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25136 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25137 if test "${ac_cv_type_wchar_t+set}" = set; then
25138 echo $ECHO_N "(cached) $ECHO_C" >&6
25140 cat >conftest.$ac_ext <<_ACEOF
25143 cat confdefs.h >>conftest.$ac_ext
25144 cat >>conftest.$ac_ext <<_ACEOF
25145 /* end confdefs.h. */
25147 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
25148 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25149 # error "fake wchar_t"
25151 #ifdef HAVE_WCHAR_H
25153 # include <stddef.h>
25155 # include <wchar.h>
25157 #ifdef HAVE_STDLIB_H
25158 # include <stdlib.h>
25164 typedef wchar_t ac__type_new_
;
25168 if ((ac__type_new_
*) 0)
25170 if (sizeof
(ac__type_new_
))
25176 rm -f conftest.
$ac_objext
25177 if { (ac_try
="$ac_compile"
25178 case "(($ac_try" in
25179 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25180 *) ac_try_echo=$ac_try;;
25182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25183 (eval "$ac_compile") 2>conftest.er1
25185 grep -v '^ *+' conftest.er1 >conftest.err
25187 cat conftest.err >&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); } && {
25190 test -z "$ac_c_werror_flag" ||
25191 test ! -s conftest.err
25192 } && test -s conftest.$ac_objext; then
25193 ac_cv_type_wchar_t=yes
25195 echo "$as_me: failed program was:" >&5
25196 sed 's/^/| /' conftest.$ac_ext >&5
25198 ac_cv_type_wchar_t=no
25201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25203 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25204 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25206 # The cast to long int works around a bug in the HP C Compiler
25207 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25208 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
25209 # This bug is HP SR number 8606223364.
25210 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25211 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25212 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25213 echo $ECHO_N "(cached) $ECHO_C" >&6
25215 if test "$cross_compiling" = yes; then
25216 # Depending upon the size, compute the lo and hi bounds.
25217 cat >conftest.$ac_ext <<_ACEOF
25220 cat confdefs.h >>conftest.$ac_ext
25221 cat >>conftest.$ac_ext <<_ACEOF
25222 /* end confdefs.h. */
25224 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
25225 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25226 # error "fake wchar_t"
25228 #ifdef HAVE_WCHAR_H
25230 # include <stddef.h>
25232 # include <wchar.h>
25234 #ifdef HAVE_STDLIB_H
25235 # include <stdlib.h>
25241 typedef wchar_t ac__type_sizeof_
;
25245 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
25252 rm -f conftest.
$ac_objext
25253 if { (ac_try
="$ac_compile"
25254 case "(($ac_try" in
25255 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25256 *) ac_try_echo=$ac_try;;
25258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25259 (eval "$ac_compile") 2>conftest.er1
25261 grep -v '^ *+' conftest.er1 >conftest.err
25263 cat conftest.err >&5
25264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25265 (exit $ac_status); } && {
25266 test -z "$ac_c_werror_flag" ||
25267 test ! -s conftest.err
25268 } && test -s conftest.$ac_objext; then
25271 cat >conftest.$ac_ext <<_ACEOF
25274 cat confdefs.h >>conftest.$ac_ext
25275 cat >>conftest.$ac_ext <<_ACEOF
25276 /* end confdefs.h. */
25278 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25279 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25280 # error "fake wchar_t"
25282 #ifdef HAVE_WCHAR_H
25284 # include <stddef.h>
25286 # include <wchar.h>
25288 #ifdef HAVE_STDLIB_H
25289 # include <stdlib.h>
25295 typedef wchar_t ac__type_sizeof_;
25299 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25306 rm -f conftest.$ac_objext
25307 if { (ac_try="$ac_compile"
25308 case "(($ac_try" in
25309 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25310 *) ac_try_echo
=$ac_try;;
25312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25313 (eval "$ac_compile") 2>conftest.er1
25315 grep -v '^ *+' conftest.er1
>conftest.err
25317 cat conftest.err
>&5
25318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25319 (exit $ac_status); } && {
25320 test -z "$ac_c_werror_flag" ||
25321 test ! -s conftest.err
25322 } && test -s conftest.
$ac_objext; then
25323 ac_hi
=$ac_mid; break
25325 echo "$as_me: failed program was:" >&5
25326 sed 's/^/| /' conftest.
$ac_ext >&5
25328 ac_lo
=`expr $ac_mid + 1`
25329 if test $ac_lo -le $ac_mid; then
25333 ac_mid
=`expr 2 '*' $ac_mid + 1`
25336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25339 echo "$as_me: failed program was:" >&5
25340 sed 's/^/| /' conftest.
$ac_ext >&5
25342 cat >conftest.
$ac_ext <<_ACEOF
25345 cat confdefs.h
>>conftest.
$ac_ext
25346 cat >>conftest.
$ac_ext <<_ACEOF
25347 /* end confdefs.h. */
25349 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25350 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25351 # error "fake wchar_t"
25353 #ifdef HAVE_WCHAR_H
25355 # include <stddef.h>
25357 # include <wchar.h>
25359 #ifdef HAVE_STDLIB_H
25360 # include <stdlib.h>
25366 typedef wchar_t ac__type_sizeof_;
25370 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25377 rm -f conftest.
$ac_objext
25378 if { (ac_try
="$ac_compile"
25379 case "(($ac_try" in
25380 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25381 *) ac_try_echo=$ac_try;;
25383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25384 (eval "$ac_compile") 2>conftest.er1
25386 grep -v '^ *+' conftest.er1 >conftest.err
25388 cat conftest.err >&5
25389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25390 (exit $ac_status); } && {
25391 test -z "$ac_c_werror_flag" ||
25392 test ! -s conftest.err
25393 } && test -s conftest.$ac_objext; then
25396 cat >conftest.$ac_ext <<_ACEOF
25399 cat confdefs.h >>conftest.$ac_ext
25400 cat >>conftest.$ac_ext <<_ACEOF
25401 /* end confdefs.h. */
25403 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25404 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25405 # error "fake wchar_t"
25407 #ifdef HAVE_WCHAR_H
25409 # include <stddef.h>
25411 # include <wchar.h>
25413 #ifdef HAVE_STDLIB_H
25414 # include <stdlib.h>
25420 typedef wchar_t ac__type_sizeof_;
25424 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25431 rm -f conftest.$ac_objext
25432 if { (ac_try="$ac_compile"
25433 case "(($ac_try" in
25434 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25435 *) ac_try_echo
=$ac_try;;
25437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25438 (eval "$ac_compile") 2>conftest.er1
25440 grep -v '^ *+' conftest.er1
>conftest.err
25442 cat conftest.err
>&5
25443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25444 (exit $ac_status); } && {
25445 test -z "$ac_c_werror_flag" ||
25446 test ! -s conftest.err
25447 } && test -s conftest.
$ac_objext; then
25448 ac_lo
=$ac_mid; break
25450 echo "$as_me: failed program was:" >&5
25451 sed 's/^/| /' conftest.
$ac_ext >&5
25453 ac_hi
=`expr '(' $ac_mid ')' - 1`
25454 if test $ac_mid -le $ac_hi; then
25458 ac_mid
=`expr 2 '*' $ac_mid`
25461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25464 echo "$as_me: failed program was:" >&5
25465 sed 's/^/| /' conftest.
$ac_ext >&5
25470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25474 # Binary search between lo and hi bounds.
25475 while test "x$ac_lo" != "x$ac_hi"; do
25476 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25477 cat >conftest.
$ac_ext <<_ACEOF
25480 cat confdefs.h
>>conftest.
$ac_ext
25481 cat >>conftest.
$ac_ext <<_ACEOF
25482 /* end confdefs.h. */
25484 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25485 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25486 # error "fake wchar_t"
25488 #ifdef HAVE_WCHAR_H
25490 # include <stddef.h>
25492 # include <wchar.h>
25494 #ifdef HAVE_STDLIB_H
25495 # include <stdlib.h>
25501 typedef wchar_t ac__type_sizeof_;
25505 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25512 rm -f conftest.
$ac_objext
25513 if { (ac_try
="$ac_compile"
25514 case "(($ac_try" in
25515 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25516 *) ac_try_echo=$ac_try;;
25518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25519 (eval "$ac_compile") 2>conftest.er1
25521 grep -v '^ *+' conftest.er1 >conftest.err
25523 cat conftest.err >&5
25524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25525 (exit $ac_status); } && {
25526 test -z "$ac_c_werror_flag" ||
25527 test ! -s conftest.err
25528 } && test -s conftest.$ac_objext; then
25531 echo "$as_me: failed program was:" >&5
25532 sed 's/^/| /' conftest.$ac_ext >&5
25534 ac_lo=`expr '(' $ac_mid ')' + 1`
25537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25540 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25541 '') if test "$ac_cv_type_wchar_t" = yes; then
25542 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25543 See \`config.log
' for more details." >&5
25544 echo "$as_me: error: cannot compute sizeof (wchar_t)
25545 See \`config.log' for more details.
" >&2;}
25546 { (exit 77); exit 77; }; }
25548 ac_cv_sizeof_wchar_t=0
25552 cat >conftest.$ac_ext <<_ACEOF
25555 cat confdefs.h >>conftest.$ac_ext
25556 cat >>conftest.$ac_ext <<_ACEOF
25557 /* end confdefs.h. */
25559 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25560 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25561 # error "fake wchar_t
"
25563 #ifdef HAVE_WCHAR_H
25565 # include <stddef.h>
25567 # include <wchar.h>
25569 #ifdef HAVE_STDLIB_H
25570 # include <stdlib.h>
25576 typedef wchar_t ac__type_sizeof_;
25577 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25578 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25580 #include <stdlib.h>
25585 FILE *f = fopen ("conftest.val
", "w
");
25588 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25590 long int i = longval ();
25591 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25593 fprintf (f, "%ld
\n", i);
25597 unsigned long int i = ulongval ();
25598 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25600 fprintf (f, "%lu
\n", i);
25602 return ferror (f) || fclose (f) != 0;
25608 rm -f conftest$ac_exeext
25609 if { (ac_try="$ac_link"
25610 case "(($ac_try" in
25611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25612 *) ac_try_echo=$ac_try;;
25614 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25615 (eval "$ac_link") 2>&5
25617 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25618 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25619 { (case "(($ac_try" in
25620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25621 *) ac_try_echo=$ac_try;;
25623 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25624 (eval "$ac_try") 2>&5
25626 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25627 (exit $ac_status); }; }; then
25628 ac_cv_sizeof_wchar_t=`cat conftest.val`
25630 echo "$as_me: program exited with status
$ac_status" >&5
25631 echo "$as_me: failed program was
:" >&5
25632 sed 's/^/| /' conftest.$ac_ext >&5
25634 ( exit $ac_status )
25635 if test "$ac_cv_type_wchar_t" = yes; then
25636 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
25637 See \
`config.log' for more details." >&5
25638 echo "$as_me: error: cannot compute sizeof (wchar_t)
25639 See \`config.log
' for more details." >&2;}
25640 { (exit 77); exit 77; }; }
25642 ac_cv_sizeof_wchar_t=0
25645 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25649 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25650 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25654 cat >>confdefs.h <<_ACEOF
25655 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25659 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25665 { echo "$as_me:$LINENO: checking for va_copy" >&5
25666 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25667 if test "${wx_cv_func_va_copy+set}" = set; then
25668 echo $ECHO_N "(cached) $ECHO_C" >&6
25672 ac_cpp='$CXXCPP $CPPFLAGS'
25673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25674 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25677 cat >conftest.$ac_ext <<_ACEOF
25679 #include <stdarg.h>
25680 void foo(char *f, ...)
25694 rm -f conftest.$ac_objext conftest$ac_exeext
25695 if { (ac_try="$ac_link"
25696 case "(($ac_try" in
25697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25698 *) ac_try_echo=$ac_try;;
25700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25701 (eval "$ac_link") 2>conftest.er1
25703 grep -v '^
*+' conftest.er1 >conftest.err
25705 cat conftest.err >&5
25706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25707 (exit $ac_status); } && {
25708 test -z "$ac_cxx_werror_flag" ||
25709 test ! -s conftest.err
25710 } && test -s conftest$ac_exeext &&
25711 $as_test_x conftest$ac_exeext; then
25712 wx_cv_func_va_copy=yes
25714 echo "$as_me: failed program was:" >&5
25715 sed 's
/^
/| /' conftest.$ac_ext >&5
25717 wx_cv_func_va_copy=no
25721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25722 conftest$ac_exeext conftest.$ac_ext
25724 ac_cpp='$CPP $CPPFLAGS'
25725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25726 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25732 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25733 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25735 if test $wx_cv_func_va_copy = "yes"; then
25736 cat >>confdefs.h <<\_ACEOF
25737 #define HAVE_VA_COPY 1
25741 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25742 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25743 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25744 echo $ECHO_N "(cached) $ECHO_C" >&6
25747 if test "$cross_compiling" = yes; then
25748 wx_cv_type_va_list_lvalue=yes
25751 cat >conftest.$ac_ext <<_ACEOF
25753 #include <stdarg.h>
25754 int foo(char *f, ...)
25759 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25767 return foo("hi", 17);
25770 rm -f conftest$ac_exeext
25771 if { (ac_try="$ac_link"
25772 case "(($ac_try" in
25773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25774 *) ac_try_echo=$ac_try;;
25776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25777 (eval "$ac_link") 2>&5
25779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25780 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25781 { (case "(($ac_try" in
25782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25783 *) ac_try_echo=$ac_try;;
25785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25786 (eval "$ac_try") 2>&5
25788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25789 (exit $ac_status); }; }; then
25790 wx_cv_type_va_list_lvalue=yes
25792 echo "$as_me: program exited with status $ac_status" >&5
25793 echo "$as_me: failed program was:" >&5
25794 sed 's
/^
/| /' conftest.$ac_ext >&5
25796 ( exit $ac_status )
25797 wx_cv_type_va_list_lvalue=no
25799 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25806 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25807 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25809 if test $wx_cv_type_va_list_lvalue != "yes"; then
25810 cat >>confdefs.h <<\_ACEOF
25811 #define VA_LIST_IS_ARRAY 1
25817 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25819 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25820 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25821 if test "${wx_cv_have_variadic_macros+set}" = set; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25826 ac_cpp='$CXXCPP $CPPFLAGS'
25827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25828 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25831 cat >conftest.$ac_ext <<_ACEOF
25834 cat confdefs.h >>conftest.$ac_ext
25835 cat >>conftest.$ac_ext <<_ACEOF
25836 /* end confdefs.h. */
25839 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25845 test("%s %d %p", "test", 1, 0);
25852 rm -f conftest.$ac_objext
25853 if { (ac_try="$ac_compile"
25854 case "(($ac_try" in
25855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25856 *) ac_try_echo=$ac_try;;
25858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25859 (eval "$ac_compile") 2>conftest.er1
25861 grep -v '^
*+' conftest.er1 >conftest.err
25863 cat conftest.err >&5
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); } && {
25866 test -z "$ac_cxx_werror_flag" ||
25867 test ! -s conftest.err
25868 } && test -s conftest.$ac_objext; then
25869 wx_cv_have_variadic_macros=yes
25871 echo "$as_me: failed program was:" >&5
25872 sed 's
/^
/| /' conftest.$ac_ext >&5
25874 wx_cv_have_variadic_macros=no
25878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25880 ac_cpp='$CPP $CPPFLAGS'
25881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25882 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25888 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25889 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25891 if test $wx_cv_have_variadic_macros = "yes"; then
25892 cat >>confdefs.h <<\_ACEOF
25893 #define HAVE_VARIADIC_MACROS 1
25899 # Check whether --enable-largefile was given.
25900 if test "${enable_largefile+set}" = set; then
25901 enableval=$enable_largefile;
25904 if test "$enable_largefile" != no; then
25907 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25908 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25909 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25910 echo $ECHO_N "(cached) $ECHO_C" >&6
25913 cat >conftest.$ac_ext <<_ACEOF
25916 cat confdefs.h >>conftest.$ac_ext
25917 cat >>conftest.$ac_ext <<_ACEOF
25918 /* end confdefs.h. */
25919 #define _FILE_OFFSET_BITS 64
25920 #include <sys/types.h>
25925 unsigned int field: sizeof(off_t) == 8;
25932 rm -f conftest.$ac_objext
25933 if { (ac_try="$ac_compile"
25934 case "(($ac_try" in
25935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25936 *) ac_try_echo=$ac_try;;
25938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25939 (eval "$ac_compile") 2>conftest.er1
25941 grep -v '^
*+' conftest.er1 >conftest.err
25943 cat conftest.err >&5
25944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945 (exit $ac_status); } && {
25946 test -z "$ac_c_werror_flag" ||
25947 test ! -s conftest.err
25948 } && test -s conftest.$ac_objext; then
25949 ac_cv_sys_file_offset_bits=64
25951 echo "$as_me: failed program was:" >&5
25952 sed 's
/^
/| /' conftest.$ac_ext >&5
25954 ac_cv_sys_file_offset_bits=no
25957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25961 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25962 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25964 if test "$ac_cv_sys_file_offset_bits" != no; then
25966 cat >>confdefs.h <<_ACEOF
25967 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25972 if test "x$wx_largefile" != "xyes"; then
25974 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25975 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25976 if test "${ac_cv_sys_large_files+set}" = set; then
25977 echo $ECHO_N "(cached) $ECHO_C" >&6
25980 cat >conftest.$ac_ext <<_ACEOF
25983 cat confdefs.h >>conftest.$ac_ext
25984 cat >>conftest.$ac_ext <<_ACEOF
25985 /* end confdefs.h. */
25986 #define _LARGE_FILES 1
25987 #include <sys/types.h>
25992 unsigned int field: sizeof(off_t) == 8;
25999 rm -f conftest.$ac_objext
26000 if { (ac_try="$ac_compile"
26001 case "(($ac_try" in
26002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26003 *) ac_try_echo=$ac_try;;
26005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26006 (eval "$ac_compile") 2>conftest.er1
26008 grep -v '^
*+' conftest.er1 >conftest.err
26010 cat conftest.err >&5
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); } && {
26013 test -z "$ac_c_werror_flag" ||
26014 test ! -s conftest.err
26015 } && test -s conftest.$ac_objext; then
26016 ac_cv_sys_large_files=1
26018 echo "$as_me: failed program was:" >&5
26019 sed 's
/^
/| /' conftest.$ac_ext >&5
26021 ac_cv_sys_large_files=no
26024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26028 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
26029 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
26031 if test "$ac_cv_sys_large_files" != no; then
26033 cat >>confdefs.h <<_ACEOF
26034 #define _LARGE_FILES $ac_cv_sys_large_files
26041 { echo "$as_me:$LINENO: checking if large file support is available" >&5
26042 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
26043 if test "x$wx_largefile" = "xyes"; then
26044 cat >>confdefs.h <<\_ACEOF
26045 #define HAVE_LARGEFILE_SUPPORT 1
26049 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
26050 echo "${ECHO_T}$wx_largefile" >&6; }
26054 if test "x$wx_largefile" = "xyes"; then
26055 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
26056 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
26058 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
26059 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
26060 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
26061 if test "${wx_cv_STDC_EXT_required+set}" = set; then
26062 echo $ECHO_N "(cached) $ECHO_C" >&6
26066 ac_cpp='$CXXCPP $CPPFLAGS'
26067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26068 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26071 cat >conftest.$ac_ext <<_ACEOF
26074 cat confdefs.h >>conftest.$ac_ext
26075 cat >>conftest.$ac_ext <<_ACEOF
26076 /* end confdefs.h. */
26082 #ifndef __STDC_EXT__
26090 rm -f conftest.$ac_objext
26091 if { (ac_try="$ac_compile"
26092 case "(($ac_try" in
26093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26094 *) ac_try_echo=$ac_try;;
26096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26097 (eval "$ac_compile") 2>conftest.er1
26099 grep -v '^
*+' conftest.er1 >conftest.err
26101 cat conftest.err >&5
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); } && {
26104 test -z "$ac_cxx_werror_flag" ||
26105 test ! -s conftest.err
26106 } && test -s conftest.$ac_objext; then
26107 wx_cv_STDC_EXT_required=no
26109 echo "$as_me: failed program was:" >&5
26110 sed 's
/^
/| /' conftest.$ac_ext >&5
26112 wx_cv_STDC_EXT_required=yes
26116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26118 ac_cpp='$CPP $CPPFLAGS'
26119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26120 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26126 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26127 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26128 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26129 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26133 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26135 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26136 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26137 if test "${ac_cv_sys_largefile_source+set}" = set; then
26138 echo $ECHO_N "(cached) $ECHO_C" >&6
26141 cat >conftest.$ac_ext <<_ACEOF
26144 cat confdefs.h >>conftest.$ac_ext
26145 cat >>conftest.$ac_ext <<_ACEOF
26146 /* end confdefs.h. */
26147 #include <sys/types.h> /* for off_t */
26152 int (*fp) (FILE *, off_t, int) = fseeko;
26153 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26158 rm -f conftest.$ac_objext conftest$ac_exeext
26159 if { (ac_try="$ac_link"
26160 case "(($ac_try" in
26161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26162 *) ac_try_echo=$ac_try;;
26164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26165 (eval "$ac_link") 2>conftest.er1
26167 grep -v '^
*+' conftest.er1 >conftest.err
26169 cat conftest.err >&5
26170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26171 (exit $ac_status); } && {
26172 test -z "$ac_c_werror_flag" ||
26173 test ! -s conftest.err
26174 } && test -s conftest$ac_exeext &&
26175 $as_test_x conftest$ac_exeext; then
26176 ac_cv_sys_largefile_source=no; break
26178 echo "$as_me: failed program was:" >&5
26179 sed 's
/^
/| /' conftest.$ac_ext >&5
26184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26185 conftest$ac_exeext conftest.$ac_ext
26186 cat >conftest.$ac_ext <<_ACEOF
26189 cat confdefs.h >>conftest.$ac_ext
26190 cat >>conftest.$ac_ext <<_ACEOF
26191 /* end confdefs.h. */
26192 #define _LARGEFILE_SOURCE 1
26193 #include <sys/types.h> /* for off_t */
26198 int (*fp) (FILE *, off_t, int) = fseeko;
26199 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26204 rm -f conftest.$ac_objext conftest$ac_exeext
26205 if { (ac_try="$ac_link"
26206 case "(($ac_try" in
26207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26208 *) ac_try_echo=$ac_try;;
26210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26211 (eval "$ac_link") 2>conftest.er1
26213 grep -v '^
*+' conftest.er1 >conftest.err
26215 cat conftest.err >&5
26216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26217 (exit $ac_status); } && {
26218 test -z "$ac_c_werror_flag" ||
26219 test ! -s conftest.err
26220 } && test -s conftest$ac_exeext &&
26221 $as_test_x conftest$ac_exeext; then
26222 ac_cv_sys_largefile_source=1; break
26224 echo "$as_me: failed program was:" >&5
26225 sed 's
/^
/| /' conftest.$ac_ext >&5
26230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26231 conftest$ac_exeext conftest.$ac_ext
26232 ac_cv_sys_largefile_source=unknown
26236 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26237 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26238 case $ac_cv_sys_largefile_source in #(
26241 cat >>confdefs.h <<_ACEOF
26242 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26248 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26249 # in glibc 2.1.3, but that breaks too many other things.
26250 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26251 if test $ac_cv_sys_largefile_source != unknown; then
26253 cat >>confdefs.h <<\_ACEOF
26254 #define HAVE_FSEEKO 1
26259 if test "$ac_cv_sys_largefile_source" != no; then
26260 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26264 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26265 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26266 if test "${ac_cv_c_bigendian+set}" = set; then
26267 echo $ECHO_N "(cached) $ECHO_C" >&6
26269 ac_cv_c_bigendian=unknown
26270 # See if sys/param.h defines the BYTE_ORDER macro.
26271 cat >conftest.$ac_ext <<_ACEOF
26274 cat confdefs.h >>conftest.$ac_ext
26275 cat >>conftest.$ac_ext <<_ACEOF
26276 /* end confdefs.h. */
26277 #include <sys/types.h>
26278 #include <sys/param.h>
26283 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26284 bogus endian macros
26290 rm -f conftest.$ac_objext
26291 if { (ac_try="$ac_compile"
26292 case "(($ac_try" in
26293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26294 *) ac_try_echo=$ac_try;;
26296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26297 (eval "$ac_compile") 2>conftest.er1
26299 grep -v '^
*+' conftest.er1 >conftest.err
26301 cat conftest.err >&5
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); } && {
26304 test -z "$ac_c_werror_flag" ||
26305 test ! -s conftest.err
26306 } && test -s conftest.$ac_objext; then
26307 # It does; now see whether it defined to BIG_ENDIAN or not.
26308 cat >conftest.$ac_ext <<_ACEOF
26311 cat confdefs.h >>conftest.$ac_ext
26312 cat >>conftest.$ac_ext <<_ACEOF
26313 /* end confdefs.h. */
26314 #include <sys/types.h>
26315 #include <sys/param.h>
26320 #if BYTE_ORDER != BIG_ENDIAN
26327 rm -f conftest.$ac_objext
26328 if { (ac_try="$ac_compile"
26329 case "(($ac_try" in
26330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26331 *) ac_try_echo=$ac_try;;
26333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26334 (eval "$ac_compile") 2>conftest.er1
26336 grep -v '^
*+' conftest.er1 >conftest.err
26338 cat conftest.err >&5
26339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26340 (exit $ac_status); } && {
26341 test -z "$ac_c_werror_flag" ||
26342 test ! -s conftest.err
26343 } && test -s conftest.$ac_objext; then
26344 ac_cv_c_bigendian=yes
26346 echo "$as_me: failed program was:" >&5
26347 sed 's
/^
/| /' conftest.$ac_ext >&5
26349 ac_cv_c_bigendian=no
26352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26354 echo "$as_me: failed program was:" >&5
26355 sed 's
/^
/| /' conftest.$ac_ext >&5
26360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26361 if test $ac_cv_c_bigendian = unknown; then
26362 if test "$cross_compiling" = yes; then
26363 ac_cv_c_bigendian=unknown
26365 cat >conftest.$ac_ext <<_ACEOF
26368 cat confdefs.h >>conftest.$ac_ext
26369 cat >>conftest.$ac_ext <<_ACEOF
26370 /* end confdefs.h. */
26372 /* Are we little or big endian? From Harbison&Steele. */
26376 char c[sizeof (long)];
26379 exit (u.c[sizeof (long) - 1] == 1);
26382 rm -f conftest$ac_exeext
26383 if { (ac_try="$ac_link"
26384 case "(($ac_try" in
26385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26386 *) ac_try_echo=$ac_try;;
26388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26389 (eval "$ac_link") 2>&5
26391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26392 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
26393 { (case "(($ac_try" in
26394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26395 *) ac_try_echo=$ac_try;;
26397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26398 (eval "$ac_try") 2>&5
26400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26401 (exit $ac_status); }; }; then
26402 ac_cv_c_bigendian=no
26404 echo "$as_me: program exited with status $ac_status" >&5
26405 echo "$as_me: failed program was:" >&5
26406 sed 's
/^
/| /' conftest.$ac_ext >&5
26408 ( exit $ac_status )
26409 ac_cv_c_bigendian=yes
26411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26417 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26418 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26419 if test $ac_cv_c_bigendian = unknown; then
26420 { 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
26421 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;}
26423 if test $ac_cv_c_bigendian = yes; then
26424 cat >>confdefs.h <<\_ACEOF
26425 #define WORDS_BIGENDIAN 1
26434 ac_cpp='$CXXCPP $CPPFLAGS'
26435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26436 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26441 for ac_header in iostream
26443 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26444 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26446 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26447 echo $ECHO_N "(cached) $ECHO_C" >&6
26449 cat >conftest.$ac_ext <<_ACEOF
26452 cat confdefs.h >>conftest.$ac_ext
26453 cat >>conftest.$ac_ext <<_ACEOF
26454 /* end confdefs.h. */
26457 #include <$ac_header>
26459 rm -f conftest.$ac_objext
26460 if { (ac_try="$ac_compile"
26461 case "(($ac_try" in
26462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26463 *) ac_try_echo=$ac_try;;
26465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26466 (eval "$ac_compile") 2>conftest.er1
26468 grep -v '^
*+' conftest.er1 >conftest.err
26470 cat conftest.err >&5
26471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26472 (exit $ac_status); } && {
26473 test -z "$ac_cxx_werror_flag" ||
26474 test ! -s conftest.err
26475 } && test -s conftest.$ac_objext; then
26476 eval "$as_ac_Header=yes"
26478 echo "$as_me: failed program was:" >&5
26479 sed 's
/^
/| /' conftest.$ac_ext >&5
26481 eval "$as_ac_Header=no"
26484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26486 ac_res=`eval echo '${'$as_ac_Header'}'`
26487 { echo "$as_me:$LINENO: result: $ac_res" >&5
26488 echo "${ECHO_T}$ac_res" >&6; }
26489 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26490 cat >>confdefs.h <<_ACEOF
26491 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26499 if test "$ac_cv_header_iostream" = "yes" ; then
26502 cat >>confdefs.h <<\_ACEOF
26503 #define wxUSE_IOSTREAMH 1
26509 ac_cpp='$CPP $CPPFLAGS'
26510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26511 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26517 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26518 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26519 if test "${wx_cv_cpp_bool+set}" = set; then
26520 echo $ECHO_N "(cached) $ECHO_C" >&6
26525 ac_cpp='$CXXCPP $CPPFLAGS'
26526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26527 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26531 cat >conftest.$ac_ext <<_ACEOF
26534 cat confdefs.h >>conftest.$ac_ext
26535 cat >>conftest.$ac_ext <<_ACEOF
26536 /* end confdefs.h. */
26551 rm -f conftest.$ac_objext
26552 if { (ac_try="$ac_compile"
26553 case "(($ac_try" in
26554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26555 *) ac_try_echo=$ac_try;;
26557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26558 (eval "$ac_compile") 2>conftest.er1
26560 grep -v '^
*+' conftest.er1 >conftest.err
26562 cat conftest.err >&5
26563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26564 (exit $ac_status); } && {
26565 test -z "$ac_cxx_werror_flag" ||
26566 test ! -s conftest.err
26567 } && test -s conftest.$ac_objext; then
26572 echo "$as_me: failed program was:" >&5
26573 sed 's
/^
/| /' conftest.$ac_ext >&5
26581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26584 ac_cpp='$CPP $CPPFLAGS'
26585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26586 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26591 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26592 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26594 if test "$wx_cv_cpp_bool" = "yes"; then
26595 cat >>confdefs.h <<\_ACEOF
26596 #define HAVE_BOOL 1
26603 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26604 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26605 if test "${wx_cv_explicit+set}" = set; then
26606 echo $ECHO_N "(cached) $ECHO_C" >&6
26611 ac_cpp='$CXXCPP $CPPFLAGS'
26612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26613 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26617 cat >conftest.$ac_ext <<_ACEOF
26620 cat confdefs.h >>conftest.$ac_ext
26621 cat >>conftest.$ac_ext <<_ACEOF
26622 /* end confdefs.h. */
26624 class Foo { public: explicit Foo(int) {} };
26636 rm -f conftest.$ac_objext
26637 if { (ac_try="$ac_compile"
26638 case "(($ac_try" in
26639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26640 *) ac_try_echo=$ac_try;;
26642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26643 (eval "$ac_compile") 2>conftest.er1
26645 grep -v '^
*+' conftest.er1 >conftest.err
26647 cat conftest.err >&5
26648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26649 (exit $ac_status); } && {
26650 test -z "$ac_cxx_werror_flag" ||
26651 test ! -s conftest.err
26652 } && test -s conftest.$ac_objext; then
26654 cat >conftest.$ac_ext <<_ACEOF
26657 cat confdefs.h >>conftest.$ac_ext
26658 cat >>conftest.$ac_ext <<_ACEOF
26659 /* end confdefs.h. */
26661 class Foo { public: explicit Foo(int) {} };
26662 static void TakeFoo(const Foo& foo) { }
26675 rm -f conftest.$ac_objext
26676 if { (ac_try="$ac_compile"
26677 case "(($ac_try" in
26678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26679 *) ac_try_echo=$ac_try;;
26681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26682 (eval "$ac_compile") 2>conftest.er1
26684 grep -v '^
*+' conftest.er1 >conftest.err
26686 cat conftest.err >&5
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); } && {
26689 test -z "$ac_cxx_werror_flag" ||
26690 test ! -s conftest.err
26691 } && test -s conftest.$ac_objext; then
26694 echo "$as_me: failed program was:" >&5
26695 sed 's
/^
/| /' conftest.$ac_ext >&5
26701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26704 echo "$as_me: failed program was:" >&5
26705 sed 's
/^
/| /' conftest.$ac_ext >&5
26711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26714 ac_cpp='$CPP $CPPFLAGS'
26715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26716 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26721 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26722 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26724 if test "$wx_cv_explicit" = "yes"; then
26725 cat >>confdefs.h <<\_ACEOF
26726 #define HAVE_EXPLICIT 1
26732 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26733 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26734 if test "${ac_cv_cxx_const_cast+set}" = set; then
26735 echo $ECHO_N "(cached) $ECHO_C" >&6
26739 ac_cpp='$CXXCPP $CPPFLAGS'
26740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26741 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26744 cat >conftest.$ac_ext <<_ACEOF
26747 cat confdefs.h >>conftest.$ac_ext
26748 cat >>conftest.$ac_ext <<_ACEOF
26749 /* end confdefs.h. */
26754 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26759 rm -f conftest.$ac_objext
26760 if { (ac_try="$ac_compile"
26761 case "(($ac_try" in
26762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26763 *) ac_try_echo=$ac_try;;
26765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26766 (eval "$ac_compile") 2>conftest.er1
26768 grep -v '^
*+' conftest.er1 >conftest.err
26770 cat conftest.err >&5
26771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26772 (exit $ac_status); } && {
26773 test -z "$ac_cxx_werror_flag" ||
26774 test ! -s conftest.err
26775 } && test -s conftest.$ac_objext; then
26776 ac_cv_cxx_const_cast=yes
26778 echo "$as_me: failed program was:" >&5
26779 sed 's
/^
/| /' conftest.$ac_ext >&5
26781 ac_cv_cxx_const_cast=no
26784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26786 ac_cpp='$CPP $CPPFLAGS'
26787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26788 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26793 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26794 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26795 if test "$ac_cv_cxx_const_cast" = yes; then
26797 cat >>confdefs.h <<\_ACEOF
26798 #define HAVE_CONST_CAST
26803 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26804 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26805 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26806 echo $ECHO_N "(cached) $ECHO_C" >&6
26810 ac_cpp='$CXXCPP $CPPFLAGS'
26811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26812 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26815 cat >conftest.$ac_ext <<_ACEOF
26818 cat confdefs.h >>conftest.$ac_ext
26819 cat >>conftest.$ac_ext <<_ACEOF
26820 /* end confdefs.h. */
26821 #include <typeinfo>
26822 class Base { public : Base () {} virtual void f () = 0;};
26823 class Derived : public Base { public : Derived () {} virtual void f () {} };
26824 class Unrelated { public : Unrelated () {} };
26825 int g (Unrelated&) { return 0; }
26830 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26835 rm -f conftest.$ac_objext
26836 if { (ac_try="$ac_compile"
26837 case "(($ac_try" in
26838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26839 *) ac_try_echo=$ac_try;;
26841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26842 (eval "$ac_compile") 2>conftest.er1
26844 grep -v '^
*+' conftest.er1 >conftest.err
26846 cat conftest.err >&5
26847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26848 (exit $ac_status); } && {
26849 test -z "$ac_cxx_werror_flag" ||
26850 test ! -s conftest.err
26851 } && test -s conftest.$ac_objext; then
26852 ac_cv_cxx_reinterpret_cast=yes
26854 echo "$as_me: failed program was:" >&5
26855 sed 's
/^
/| /' conftest.$ac_ext >&5
26857 ac_cv_cxx_reinterpret_cast=no
26860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26862 ac_cpp='$CPP $CPPFLAGS'
26863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26864 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26869 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26870 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26871 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26873 cat >>confdefs.h <<\_ACEOF
26874 #define HAVE_REINTERPRET_CAST
26879 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26880 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26881 if test "${ac_cv_cxx_static_cast+set}" = set; then
26882 echo $ECHO_N "(cached) $ECHO_C" >&6
26886 ac_cpp='$CXXCPP $CPPFLAGS'
26887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26888 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26891 cat >conftest.$ac_ext <<_ACEOF
26894 cat confdefs.h >>conftest.$ac_ext
26895 cat >>conftest.$ac_ext <<_ACEOF
26896 /* end confdefs.h. */
26897 #include <typeinfo>
26898 class Base { public : Base () {} virtual void f () = 0; };
26899 class Derived : public Base { public : Derived () {} virtual void f () {} };
26900 int g (Derived&) { return 0; }
26905 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26910 rm -f conftest.$ac_objext
26911 if { (ac_try="$ac_compile"
26912 case "(($ac_try" in
26913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26914 *) ac_try_echo=$ac_try;;
26916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26917 (eval "$ac_compile") 2>conftest.er1
26919 grep -v '^
*+' conftest.er1 >conftest.err
26921 cat conftest.err >&5
26922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26923 (exit $ac_status); } && {
26924 test -z "$ac_cxx_werror_flag" ||
26925 test ! -s conftest.err
26926 } && test -s conftest.$ac_objext; then
26927 ac_cv_cxx_static_cast=yes
26929 echo "$as_me: failed program was:" >&5
26930 sed 's
/^
/| /' conftest.$ac_ext >&5
26932 ac_cv_cxx_static_cast=no
26935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26937 ac_cpp='$CPP $CPPFLAGS'
26938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26939 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26944 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26945 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26946 if test "$ac_cv_cxx_static_cast" = yes; then
26948 cat >>confdefs.h <<\_ACEOF
26949 #define HAVE_STATIC_CAST
26955 if test "x$SUNCXX" = xyes; then
26956 CXXFLAGS="-features=tmplife $CXXFLAGS"
26959 if test "x$SUNCC" = xyes; then
26960 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26963 if test "x$SGICC" = "xyes"; then
26964 CFLAGS="-woff 3970 $CFLAGS"
26966 if test "x$SGICXX" = "xyes"; then
26967 CXXFLAGS="-woff 3970 $CXXFLAGS"
26970 if test "x$HPCC" = "xyes"; then
26971 CFLAGS="+W 2011,2450 $CFLAGS"
26973 if test "x$HPCXX" = "xyes"; then
26974 CXXFLAGS="+W 2340 $CXXFLAGS"
26977 if test "x$COMPAQCXX" = "xyes"; then
26978 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26982 ac_cpp='$CXXCPP $CPPFLAGS'
26983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26984 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26988 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26989 if test "$wxUSE_UNICODE" = "yes"; then
26990 std_string="std::wstring"
26991 char_type="wchar_t"
26993 std_string="std::string"
26997 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26998 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26999 if test "${wx_cv_class_stdstring+set}" = set; then
27000 echo $ECHO_N "(cached) $ECHO_C" >&6
27003 cat >conftest.$ac_ext <<_ACEOF
27006 cat confdefs.h >>conftest.$ac_ext
27007 cat >>conftest.$ac_ext <<_ACEOF
27008 /* end confdefs.h. */
27018 rm -f conftest.$ac_objext
27019 if { (ac_try="$ac_compile"
27020 case "(($ac_try" in
27021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27022 *) ac_try_echo=$ac_try;;
27024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27025 (eval "$ac_compile") 2>conftest.er1
27027 grep -v '^
*+' conftest.er1 >conftest.err
27029 cat conftest.err >&5
27030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27031 (exit $ac_status); } && {
27032 test -z "$ac_cxx_werror_flag" ||
27033 test ! -s conftest.err
27034 } && test -s conftest.$ac_objext; then
27035 wx_cv_class_stdstring=yes
27037 echo "$as_me: failed program was:" >&5
27038 sed 's
/^
/| /' conftest.$ac_ext >&5
27040 wx_cv_class_stdstring=no
27044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27048 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
27049 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
27051 if test "$wx_cv_class_stdstring" = yes; then
27052 if test "$wxUSE_UNICODE" = "yes"; then
27053 cat >>confdefs.h <<\_ACEOF
27054 #define HAVE_STD_WSTRING 1
27059 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
27060 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
27061 if test "${wx_cv_class_stdbasicstring+set}" = set; then
27062 echo $ECHO_N "(cached) $ECHO_C" >&6
27065 cat >conftest.$ac_ext <<_ACEOF
27068 cat confdefs.h >>conftest.$ac_ext
27069 cat >>conftest.$ac_ext <<_ACEOF
27070 /* end confdefs.h. */
27072 #ifdef HAVE_WCHAR_H
27074 # include <stddef.h>
27076 # include <wchar.h>
27078 #ifdef HAVE_STDLIB_H
27079 # include <stdlib.h>
27087 std::basic_string<$char_type> foo;
27088 const $char_type* dummy = foo.c_str();
27093 rm -f conftest.$ac_objext
27094 if { (ac_try="$ac_compile"
27095 case "(($ac_try" in
27096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27097 *) ac_try_echo=$ac_try;;
27099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27100 (eval "$ac_compile") 2>conftest.er1
27102 grep -v '^
*+' conftest.er1 >conftest.err
27104 cat conftest.err >&5
27105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27106 (exit $ac_status); } && {
27107 test -z "$ac_cxx_werror_flag" ||
27108 test ! -s conftest.err
27109 } && test -s conftest.$ac_objext; then
27110 wx_cv_class_stdbasicstring=yes
27112 echo "$as_me: failed program was:" >&5
27113 sed 's
/^
/| /' conftest.$ac_ext >&5
27115 wx_cv_class_stdbasicstring=no
27119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27123 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27124 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27126 if test "$wx_cv_class_stdbasicstring" != yes; then
27127 if test "$wxUSE_STL" = "yes"; then
27128 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
27129 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27130 { (exit 1); exit 1; }; }
27131 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27132 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
27133 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27134 { (exit 1); exit 1; }; }
27136 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27137 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27138 wxUSE_STD_STRING=no
27144 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27145 { echo "$as_me:$LINENO: checking for std::istream" >&5
27146 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27147 if test "${ac_cv_type_std__istream+set}" = set; then
27148 echo $ECHO_N "(cached) $ECHO_C" >&6
27150 cat >conftest.$ac_ext <<_ACEOF
27153 cat confdefs.h >>conftest.$ac_ext
27154 cat >>conftest.$ac_ext <<_ACEOF
27155 /* end confdefs.h. */
27156 #include <iostream>
27158 typedef std::istream ac__type_new_;
27162 if ((ac__type_new_ *) 0)
27164 if (sizeof (ac__type_new_))
27170 rm -f conftest.$ac_objext
27171 if { (ac_try="$ac_compile"
27172 case "(($ac_try" in
27173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27174 *) ac_try_echo=$ac_try;;
27176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27177 (eval "$ac_compile") 2>conftest.er1
27179 grep -v '^
*+' conftest.er1 >conftest.err
27181 cat conftest.err >&5
27182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27183 (exit $ac_status); } && {
27184 test -z "$ac_cxx_werror_flag" ||
27185 test ! -s conftest.err
27186 } && test -s conftest.$ac_objext; then
27187 ac_cv_type_std__istream=yes
27189 echo "$as_me: failed program was:" >&5
27190 sed 's
/^
/| /' conftest.$ac_ext >&5
27192 ac_cv_type_std__istream=no
27195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27197 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27198 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27199 if test $ac_cv_type_std__istream = yes; then
27201 cat >>confdefs.h <<_ACEOF
27202 #define HAVE_STD__ISTREAM 1
27207 wxUSE_STD_IOSTREAM=no
27209 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27210 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27211 if test "${ac_cv_type_std__ostream+set}" = set; then
27212 echo $ECHO_N "(cached) $ECHO_C" >&6
27214 cat >conftest.$ac_ext <<_ACEOF
27217 cat confdefs.h >>conftest.$ac_ext
27218 cat >>conftest.$ac_ext <<_ACEOF
27219 /* end confdefs.h. */
27220 #include <iostream>
27222 typedef std::ostream ac__type_new_;
27226 if ((ac__type_new_ *) 0)
27228 if (sizeof (ac__type_new_))
27234 rm -f conftest.$ac_objext
27235 if { (ac_try="$ac_compile"
27236 case "(($ac_try" in
27237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27238 *) ac_try_echo=$ac_try;;
27240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27241 (eval "$ac_compile") 2>conftest.er1
27243 grep -v '^
*+' conftest.er1 >conftest.err
27245 cat conftest.err >&5
27246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27247 (exit $ac_status); } && {
27248 test -z "$ac_cxx_werror_flag" ||
27249 test ! -s conftest.err
27250 } && test -s conftest.$ac_objext; then
27251 ac_cv_type_std__ostream=yes
27253 echo "$as_me: failed program was:" >&5
27254 sed 's
/^
/| /' conftest.$ac_ext >&5
27256 ac_cv_type_std__ostream=no
27259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27261 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27262 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27263 if test $ac_cv_type_std__ostream = yes; then
27265 cat >>confdefs.h <<_ACEOF
27266 #define HAVE_STD__OSTREAM 1
27271 wxUSE_STD_IOSTREAM=no
27275 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27276 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27277 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
27278 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27279 { (exit 1); exit 1; }; }
27281 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27282 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27287 if test "$wxUSE_STL" = "yes"; then
27288 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27289 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27290 if test "${wx_cv_lib_stl+set}" = set; then
27291 echo $ECHO_N "(cached) $ECHO_C" >&6
27293 cat >conftest.$ac_ext <<_ACEOF
27296 cat confdefs.h >>conftest.$ac_ext
27297 cat >>conftest.$ac_ext <<_ACEOF
27298 /* end confdefs.h. */
27300 #include <functional>
27301 #include <algorithm>
27307 std::vector<int> moo;
27308 std::list<int> foo;
27309 std::vector<int>::iterator it =
27310 std::find_if(moo.begin(), moo.end(),
27311 std::bind2nd(std::less<int>(), 3));
27316 rm -f conftest.$ac_objext
27317 if { (ac_try="$ac_compile"
27318 case "(($ac_try" in
27319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27320 *) ac_try_echo=$ac_try;;
27322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27323 (eval "$ac_compile") 2>conftest.er1
27325 grep -v '^
*+' conftest.er1 >conftest.err
27327 cat conftest.err >&5
27328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27329 (exit $ac_status); } && {
27330 test -z "$ac_cxx_werror_flag" ||
27331 test ! -s conftest.err
27332 } && test -s conftest.$ac_objext; then
27335 echo "$as_me: failed program was:" >&5
27336 sed 's
/^
/| /' conftest.$ac_ext >&5
27342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27345 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27346 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27348 if test "$wx_cv_lib_stl" != yes; then
27349 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
27350 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
27351 { (exit 1); exit 1; }; }
27354 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27355 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27356 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27357 echo $ECHO_N "(cached) $ECHO_C" >&6
27359 cat >conftest.$ac_ext <<_ACEOF
27362 cat confdefs.h >>conftest.$ac_ext
27363 cat >>conftest.$ac_ext <<_ACEOF
27364 /* end confdefs.h. */
27369 std::string foo, bar;
27371 foo.compare(1, 1, bar);
27372 foo.compare(1, 1, bar, 1, 1);
27374 foo.compare(1, 1, "");
27375 foo.compare(1, 1, "", 2);
27380 rm -f conftest.$ac_objext
27381 if { (ac_try="$ac_compile"
27382 case "(($ac_try" in
27383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27384 *) ac_try_echo=$ac_try;;
27386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27387 (eval "$ac_compile") 2>conftest.er1
27389 grep -v '^
*+' conftest.er1 >conftest.err
27391 cat conftest.err >&5
27392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27393 (exit $ac_status); } && {
27394 test -z "$ac_cxx_werror_flag" ||
27395 test ! -s conftest.err
27396 } && test -s conftest.$ac_objext; then
27397 wx_cv_func_stdstring_compare=yes
27399 echo "$as_me: failed program was:" >&5
27400 sed 's
/^
/| /' conftest.$ac_ext >&5
27402 wx_cv_func_stdstring_compare=no
27406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27409 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27410 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27412 if test "$wx_cv_func_stdstring_compare" = yes; then
27413 cat >>confdefs.h <<\_ACEOF
27414 #define HAVE_STD_STRING_COMPARE 1
27419 { echo "$as_me:$LINENO: checking for hash_map" >&5
27420 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27421 if test "${ac_cv_header_hash_map+set}" = set; then
27422 echo $ECHO_N "(cached) $ECHO_C" >&6
27424 cat >conftest.$ac_ext <<_ACEOF
27427 cat confdefs.h >>conftest.$ac_ext
27428 cat >>conftest.$ac_ext <<_ACEOF
27429 /* end confdefs.h. */
27433 #include <hash_map>
27435 rm -f conftest.$ac_objext
27436 if { (ac_try="$ac_compile"
27437 case "(($ac_try" in
27438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27439 *) ac_try_echo=$ac_try;;
27441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27442 (eval "$ac_compile") 2>conftest.er1
27444 grep -v '^
*+' conftest.er1 >conftest.err
27446 cat conftest.err >&5
27447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27448 (exit $ac_status); } && {
27449 test -z "$ac_cxx_werror_flag" ||
27450 test ! -s conftest.err
27451 } && test -s conftest.$ac_objext; then
27452 ac_cv_header_hash_map=yes
27454 echo "$as_me: failed program was:" >&5
27455 sed 's
/^
/| /' conftest.$ac_ext >&5
27457 ac_cv_header_hash_map=no
27460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27462 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27463 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27464 if test $ac_cv_header_hash_map = yes; then
27465 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27466 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27467 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27468 echo $ECHO_N "(cached) $ECHO_C" >&6
27470 cat >conftest.$ac_ext <<_ACEOF
27473 cat confdefs.h >>conftest.$ac_ext
27474 cat >>conftest.$ac_ext <<_ACEOF
27475 /* end confdefs.h. */
27476 #include <hash_map>
27477 #include <hash_set>
27481 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27482 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27487 rm -f conftest.$ac_objext
27488 if { (ac_try="$ac_compile"
27489 case "(($ac_try" in
27490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27491 *) ac_try_echo=$ac_try;;
27493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27494 (eval "$ac_compile") 2>conftest.er1
27496 grep -v '^
*+' conftest.er1 >conftest.err
27498 cat conftest.err >&5
27499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27500 (exit $ac_status); } && {
27501 test -z "$ac_cxx_werror_flag" ||
27502 test ! -s conftest.err
27503 } && test -s conftest.$ac_objext; then
27504 wx_cv_class_stdhashmapset=yes
27506 echo "$as_me: failed program was:" >&5
27507 sed 's
/^
/| /' conftest.$ac_ext >&5
27509 wx_cv_class_stdhashmapset=no
27512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27516 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27517 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27522 if test "$wx_cv_class_stdhashmapset" = yes; then
27523 cat >>confdefs.h <<\_ACEOF
27524 #define HAVE_HASH_MAP 1
27527 cat >>confdefs.h <<\_ACEOF
27528 #define HAVE_STD_HASH_MAP 1
27533 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27534 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27535 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27536 echo $ECHO_N "(cached) $ECHO_C" >&6
27538 cat >conftest.$ac_ext <<_ACEOF
27541 cat confdefs.h >>conftest.$ac_ext
27542 cat >>conftest.$ac_ext <<_ACEOF
27543 /* end confdefs.h. */
27547 #include <ext/hash_map>
27549 rm -f conftest.$ac_objext
27550 if { (ac_try="$ac_compile"
27551 case "(($ac_try" in
27552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27553 *) ac_try_echo=$ac_try;;
27555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27556 (eval "$ac_compile") 2>conftest.er1
27558 grep -v '^
*+' conftest.er1 >conftest.err
27560 cat conftest.err >&5
27561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562 (exit $ac_status); } && {
27563 test -z "$ac_cxx_werror_flag" ||
27564 test ! -s conftest.err
27565 } && test -s conftest.$ac_objext; then
27566 ac_cv_header_ext_hash_map=yes
27568 echo "$as_me: failed program was:" >&5
27569 sed 's
/^
/| /' conftest.$ac_ext >&5
27571 ac_cv_header_ext_hash_map=no
27574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27576 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27577 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27578 if test $ac_cv_header_ext_hash_map = yes; then
27579 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27580 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27581 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27582 echo $ECHO_N "(cached) $ECHO_C" >&6
27584 cat >conftest.$ac_ext <<_ACEOF
27587 cat confdefs.h >>conftest.$ac_ext
27588 cat >>conftest.$ac_ext <<_ACEOF
27589 /* end confdefs.h. */
27590 #include <ext/hash_map>
27591 #include <ext/hash_set>
27595 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27596 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27601 rm -f conftest.$ac_objext
27602 if { (ac_try="$ac_compile"
27603 case "(($ac_try" in
27604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27605 *) ac_try_echo=$ac_try;;
27607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27608 (eval "$ac_compile") 2>conftest.er1
27610 grep -v '^
*+' conftest.er1 >conftest.err
27612 cat conftest.err >&5
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); } && {
27615 test -z "$ac_cxx_werror_flag" ||
27616 test ! -s conftest.err
27617 } && test -s conftest.$ac_objext; then
27618 wx_cv_class_gnuhashmapset=yes
27620 echo "$as_me: failed program was:" >&5
27621 sed 's
/^
/| /' conftest.$ac_ext >&5
27623 wx_cv_class_gnuhashmapset=no
27626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27630 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27631 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27636 if test "$wx_cv_class_gnuhashmapset" = yes; then
27637 cat >>confdefs.h <<\_ACEOF
27638 #define HAVE_EXT_HASH_MAP 1
27641 cat >>confdefs.h <<\_ACEOF
27642 #define HAVE_GNU_CXX_HASH_MAP 1
27650 if test -n "$GCC"; then
27651 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
27652 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
27653 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27654 echo $ECHO_N "(cached) $ECHO_C" >&6
27657 cat >conftest.$ac_ext <<_ACEOF
27660 cat confdefs.h >>conftest.$ac_ext
27661 cat >>conftest.$ac_ext <<_ACEOF
27662 /* end confdefs.h. */
27669 __sync_fetch_and_add(&value, 1);
27670 __sync_sub_and_fetch(&value, 1);
27676 rm -f conftest.$ac_objext
27677 if { (ac_try="$ac_compile"
27678 case "(($ac_try" in
27679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27680 *) ac_try_echo=$ac_try;;
27682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27683 (eval "$ac_compile") 2>conftest.er1
27685 grep -v '^
*+' conftest.er1 >conftest.err
27687 cat conftest.err >&5
27688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27689 (exit $ac_status); } && {
27690 test -z "$ac_cxx_werror_flag" ||
27691 test ! -s conftest.err
27692 } && test -s conftest.$ac_objext; then
27693 wx_cv_cc_gcc_atomic_builtins=yes
27695 echo "$as_me: failed program was:" >&5
27696 sed 's
/^
/| /' conftest.$ac_ext >&5
27698 wx_cv_cc_gcc_atomic_builtins=no
27701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27705 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27706 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27707 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27708 cat >>confdefs.h <<\_ACEOF
27709 #define HAVE_GCC_ATOMIC_BUILTINS 1
27717 ac_cpp='$CPP $CPPFLAGS'
27718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27719 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27725 /usr/local/include \
27727 /usr/Motif-2.1/include \
27728 /usr/Motif-1.2/include \
27729 /usr/include/Motif1.2 \
27732 /usr/openwin/include \
27736 /usr/X11R6/include \
27737 /usr/X11R6.4/include \
27738 /usr/X11R5/include \
27739 /usr/X11R4/include \
27741 /usr/include/X11R6 \
27742 /usr/include/X11R5 \
27743 /usr/include/X11R4 \
27745 /usr/local/X11R6/include \
27746 /usr/local/X11R5/include \
27747 /usr/local/X11R4/include \
27749 /usr/local/include/X11R6 \
27750 /usr/local/include/X11R5 \
27751 /usr/local/include/X11R4 \
27755 /usr/local/X11/include \
27756 /usr/local/include/X11 \
27758 /usr/XFree86/include/X11 \
27761 /usr/openwin/share/include"
27763 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27764 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27768 if test "${wx_cv_std_libpath+set}" = set; then
27769 echo $ECHO_N "(cached) $ECHO_C" >&6
27772 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27773 for e in a so sl dylib dll.a; do
27775 if test -f $libc; then
27778 cat >conftest.$ac_ext <<_ACEOF
27779 int main() { return 0; }
27781 rm -f conftest.$ac_objext conftest$ac_exeext
27782 if { (ac_try="$ac_link"
27783 case "(($ac_try" in
27784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27785 *) ac_try_echo=$ac_try;;
27787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27788 (eval "$ac_link") 2>conftest.er1
27790 grep -v '^
*+' conftest.er1 >conftest.err
27792 cat conftest.err >&5
27793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27794 (exit $ac_status); } && {
27795 test -z "$ac_c_werror_flag" ||
27796 test ! -s conftest.err
27797 } && test -s conftest$ac_exeext &&
27798 $as_test_x conftest$ac_exeext; then
27799 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27801 echo "$as_me: failed program was:" >&5
27802 sed 's
/^
/| /' conftest.$ac_ext >&5
27807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27808 conftest$ac_exeext conftest.$ac_ext
27810 if test "x$wx_cv_std_libpath" != "x"; then
27816 if test "x$wx_cv_std_libpath" = "x"; then
27817 wx_cv_std_libpath="lib"
27826 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27827 wx_cv_std_libpath="lib/64"
27829 wx_cv_std_libpath="lib"
27834 if test "$ac_cv_sizeof_void_p" = 8 -a \
27835 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27836 wx_cv_std_libpath="lib64"
27838 wx_cv_std_libpath="lib"
27843 wx_cv_std_libpath="lib";
27847 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27848 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27850 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27852 if test "$build" != "$host" -a "$GCC" = yes; then
27853 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27854 cross_root=`dirname $cross_root`
27855 cross_root=`dirname $cross_root`
27857 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27858 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27859 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27861 if test -z "$PKG_CONFIG_PATH"; then
27862 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27863 export PKG_CONFIG_PATH
27866 if test -z "$x_includes" -o "$x_includes" = NONE; then
27869 for ac_dir in $SEARCH_INCLUDE /usr/include;
27871 if test -f "$ac_dir/X11/Intrinsic.h"; then
27872 ac_find_includes=$ac_dir
27877 x_includes=$ac_find_includes
27879 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27882 for ac_dir in $SEARCH_LIB;
27884 for ac_extension in a so sl dylib dll.a; do
27885 if test -f "$ac_dir/libXt.$ac_extension"; then
27886 ac_find_libraries=$ac_dir
27892 x_libraries=$ac_find_libraries
27898 cat >confcache <<\_ACEOF
27899 # This file is a shell script that caches the results of configure
27900 # tests run on this system so they can be shared between configure
27901 # scripts and configure runs, see configure's option
--config-cache.
27902 # It is not useful on other systems. If it contains results you don't
27903 # want to keep, you may remove or edit it.
27905 # config.status only pays attention to the cache file if you give it
27906 # the --recheck option to rerun configure.
27908 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27909 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27910 # following values.
27914 # The following way of writing the cache mishandles newlines in values,
27915 # but we know of no workaround that is simple, portable, and efficient.
27916 # So, we kill variables containing newlines.
27917 # Ultrix sh set writes to stderr and can't be redirected directly,
27918 # and sets the high bit in the cache file unless we assign to the vars.
27920 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27921 eval ac_val
=\$
$ac_var
27925 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27926 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27929 _
| IFS
| as_nl
) ;; #(
27930 *) $as_unset $ac_var ;;
27936 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27937 *${as_nl}ac_space
=\
*)
27938 # `set' does not quote correctly, so add quotes (double-quote
27939 # substitution turns \\\\ into \\, and sed turns \\ into \).
27942 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27945 # `set' quotes correctly as required by POSIX, so do not add quotes.
27946 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27955 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27957 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27959 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27960 if test -w "$cache_file"; then
27961 test "x$cache_file" != "x/dev/null" &&
27962 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27963 echo "$as_me: updating cache $cache_file" >&6;}
27964 cat confcache
>$cache_file
27966 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27967 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27972 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27973 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27974 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27975 if test "${wx_cv_lib_glibc21+set}" = set; then
27976 echo $ECHO_N "(cached) $ECHO_C" >&6
27979 cat >conftest.
$ac_ext <<_ACEOF
27982 cat confdefs.h
>>conftest.
$ac_ext
27983 cat >>conftest.
$ac_ext <<_ACEOF
27984 /* end confdefs.h. */
27985 #include <features.h>
27990 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27998 rm -f conftest.
$ac_objext
27999 if { (ac_try
="$ac_compile"
28000 case "(($ac_try" in
28001 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28002 *) ac_try_echo=$ac_try;;
28004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28005 (eval "$ac_compile") 2>conftest.er1
28007 grep -v '^ *+' conftest.er1 >conftest.err
28009 cat conftest.err >&5
28010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28011 (exit $ac_status); } && {
28012 test -z "$ac_c_werror_flag" ||
28013 test ! -s conftest.err
28014 } && test -s conftest.$ac_objext; then
28016 wx_cv_lib_glibc21=yes
28019 echo "$as_me: failed program was:" >&5
28020 sed 's/^/| /' conftest.$ac_ext >&5
28023 wx_cv_lib_glibc21=no
28028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28031 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
28032 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
28033 if test "$wx_cv_lib_glibc21" = "yes"; then
28034 cat >>confdefs.h <<\_ACEOF
28035 #define wxHAVE_GLIBC2 1
28041 if test "x$wx_cv_lib_glibc21" = "xyes"; then
28042 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
28043 cat >>confdefs.h <<\_ACEOF
28044 #define _GNU_SOURCE 1
28055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28056 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28058 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28059 echo $ECHO_N "(cached) $ECHO_C" >&6
28061 cat >conftest.$ac_ext <<_ACEOF
28064 cat confdefs.h >>conftest.$ac_ext
28065 cat >>conftest.$ac_ext <<_ACEOF
28066 /* end confdefs.h. */
28067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28069 #define $ac_func innocuous_$ac_func
28071 /* System header to define __stub macros and hopefully few prototypes,
28072 which can conflict with char $ac_func (); below.
28073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28074 <limits.h> exists even on freestanding compilers. */
28077 # include <limits.h>
28079 # include <assert.h>
28084 /* Override any GCC internal prototype to avoid an error.
28085 Use char because int might match the return type of a GCC
28086 builtin and then its argument prototype would still apply. */
28091 /* The GNU C library defines this for functions which it implements
28092 to always fail with ENOSYS. Some functions are actually named
28093 something starting with __ and the normal name is an alias. */
28094 #if defined __stub_$ac_func || defined __stub___$ac_func
28101 return $ac_func ();
28106 rm -f conftest.$ac_objext conftest$ac_exeext
28107 if { (ac_try="$ac_link"
28108 case "(($ac_try" in
28109 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28110 *) ac_try_echo
=$ac_try;;
28112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28113 (eval "$ac_link") 2>conftest.er1
28115 grep -v '^ *+' conftest.er1
>conftest.err
28117 cat conftest.err
>&5
28118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28119 (exit $ac_status); } && {
28120 test -z "$ac_c_werror_flag" ||
28121 test ! -s conftest.err
28122 } && test -s conftest
$ac_exeext &&
28123 $as_test_x conftest
$ac_exeext; then
28124 eval "$as_ac_var=yes"
28126 echo "$as_me: failed program was:" >&5
28127 sed 's/^/| /' conftest.
$ac_ext >&5
28129 eval "$as_ac_var=no"
28132 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28133 conftest
$ac_exeext conftest.
$ac_ext
28135 ac_res
=`eval echo '${'$as_ac_var'}'`
28136 { echo "$as_me:$LINENO: result: $ac_res" >&5
28137 echo "${ECHO_T}$ac_res" >&6; }
28138 if test `eval echo '${'$as_ac_var'}'` = yes; then
28139 cat >>confdefs.h
<<_ACEOF
28140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28147 for ac_func
in floor
28149 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28150 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28152 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28153 echo $ECHO_N "(cached) $ECHO_C" >&6
28155 cat >conftest.
$ac_ext <<_ACEOF
28158 cat confdefs.h
>>conftest.
$ac_ext
28159 cat >>conftest.
$ac_ext <<_ACEOF
28160 /* end confdefs.h. */
28161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28163 #define $ac_func innocuous_$ac_func
28165 /* System header to define __stub macros and hopefully few prototypes,
28166 which can conflict with char $ac_func (); below.
28167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28168 <limits.h> exists even on freestanding compilers. */
28171 # include <limits.h>
28173 # include <assert.h>
28178 /* Override any GCC internal prototype to avoid an error.
28179 Use char because int might match the return type of a GCC
28180 builtin and then its argument prototype would still apply. */
28185 /* The GNU C library defines this for functions which it implements
28186 to always fail with ENOSYS. Some functions are actually named
28187 something starting with __ and the normal name is an alias. */
28188 #if defined __stub_$ac_func || defined __stub___$ac_func
28195 return $ac_func ();
28200 rm -f conftest.
$ac_objext conftest
$ac_exeext
28201 if { (ac_try
="$ac_link"
28202 case "(($ac_try" in
28203 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28204 *) ac_try_echo=$ac_try;;
28206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28207 (eval "$ac_link") 2>conftest.er1
28209 grep -v '^ *+' conftest.er1 >conftest.err
28211 cat conftest.err >&5
28212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28213 (exit $ac_status); } && {
28214 test -z "$ac_c_werror_flag" ||
28215 test ! -s conftest.err
28216 } && test -s conftest$ac_exeext &&
28217 $as_test_x conftest$ac_exeext; then
28218 eval "$as_ac_var=yes"
28220 echo "$as_me: failed program was:" >&5
28221 sed 's/^/| /' conftest.$ac_ext >&5
28223 eval "$as_ac_var=no"
28226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28227 conftest$ac_exeext conftest.$ac_ext
28229 ac_res=`eval echo '${'$as_ac_var'}'`
28230 { echo "$as_me:$LINENO: result: $ac_res" >&5
28231 echo "${ECHO_T}$ac_res" >&6; }
28232 if test `eval echo '${'$as_ac_var'}'` = yes; then
28233 cat >>confdefs.h <<_ACEOF
28234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28240 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28241 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28242 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28243 { echo "$as_me:$LINENO: result: yes" >&5
28244 echo "${ECHO_T}yes" >&6; }
28246 { echo "$as_me:$LINENO: result: no" >&5
28247 echo "${ECHO_T}no" >&6; }
28249 # use different functions to avoid configure caching
28255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28256 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28258 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28259 echo $ECHO_N "(cached) $ECHO_C" >&6
28261 cat >conftest.$ac_ext <<_ACEOF
28264 cat confdefs.h >>conftest.$ac_ext
28265 cat >>conftest.$ac_ext <<_ACEOF
28266 /* end confdefs.h. */
28267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28269 #define $ac_func innocuous_$ac_func
28271 /* System header to define __stub macros and hopefully few prototypes,
28272 which can conflict with char $ac_func (); below.
28273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28274 <limits.h> exists even on freestanding compilers. */
28277 # include <limits.h>
28279 # include <assert.h>
28284 /* Override any GCC internal prototype to avoid an error.
28285 Use char because int might match the return type of a GCC
28286 builtin and then its argument prototype would still apply. */
28291 /* The GNU C library defines this for functions which it implements
28292 to always fail with ENOSYS. Some functions are actually named
28293 something starting with __ and the normal name is an alias. */
28294 #if defined __stub_$ac_func || defined __stub___$ac_func
28301 return $ac_func ();
28306 rm -f conftest.$ac_objext conftest$ac_exeext
28307 if { (ac_try="$ac_link"
28308 case "(($ac_try" in
28309 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28310 *) ac_try_echo
=$ac_try;;
28312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28313 (eval "$ac_link") 2>conftest.er1
28315 grep -v '^ *+' conftest.er1
>conftest.err
28317 cat conftest.err
>&5
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); } && {
28320 test -z "$ac_c_werror_flag" ||
28321 test ! -s conftest.err
28322 } && test -s conftest
$ac_exeext &&
28323 $as_test_x conftest
$ac_exeext; then
28324 eval "$as_ac_var=yes"
28326 echo "$as_me: failed program was:" >&5
28327 sed 's/^/| /' conftest.
$ac_ext >&5
28329 eval "$as_ac_var=no"
28332 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28333 conftest
$ac_exeext conftest.
$ac_ext
28335 ac_res
=`eval echo '${'$as_ac_var'}'`
28336 { echo "$as_me:$LINENO: result: $ac_res" >&5
28337 echo "${ECHO_T}$ac_res" >&6; }
28338 if test `eval echo '${'$as_ac_var'}'` = yes; then
28339 cat >>confdefs.h
<<_ACEOF
28340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28347 for ac_func
in ceil
28349 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28350 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28352 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28353 echo $ECHO_N "(cached) $ECHO_C" >&6
28355 cat >conftest.
$ac_ext <<_ACEOF
28358 cat confdefs.h
>>conftest.
$ac_ext
28359 cat >>conftest.
$ac_ext <<_ACEOF
28360 /* end confdefs.h. */
28361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28363 #define $ac_func innocuous_$ac_func
28365 /* System header to define __stub macros and hopefully few prototypes,
28366 which can conflict with char $ac_func (); below.
28367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28368 <limits.h> exists even on freestanding compilers. */
28371 # include <limits.h>
28373 # include <assert.h>
28378 /* Override any GCC internal prototype to avoid an error.
28379 Use char because int might match the return type of a GCC
28380 builtin and then its argument prototype would still apply. */
28385 /* The GNU C library defines this for functions which it implements
28386 to always fail with ENOSYS. Some functions are actually named
28387 something starting with __ and the normal name is an alias. */
28388 #if defined __stub_$ac_func || defined __stub___$ac_func
28395 return $ac_func ();
28400 rm -f conftest.
$ac_objext conftest
$ac_exeext
28401 if { (ac_try
="$ac_link"
28402 case "(($ac_try" in
28403 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28404 *) ac_try_echo=$ac_try;;
28406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28407 (eval "$ac_link") 2>conftest.er1
28409 grep -v '^ *+' conftest.er1 >conftest.err
28411 cat conftest.err >&5
28412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28413 (exit $ac_status); } && {
28414 test -z "$ac_c_werror_flag" ||
28415 test ! -s conftest.err
28416 } && test -s conftest$ac_exeext &&
28417 $as_test_x conftest$ac_exeext; then
28418 eval "$as_ac_var=yes"
28420 echo "$as_me: failed program was:" >&5
28421 sed 's/^/| /' conftest.$ac_ext >&5
28423 eval "$as_ac_var=no"
28426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28427 conftest$ac_exeext conftest.$ac_ext
28429 ac_res=`eval echo '${'$as_ac_var'}'`
28430 { echo "$as_me:$LINENO: result: $ac_res" >&5
28431 echo "${ECHO_T}$ac_res" >&6; }
28432 if test `eval echo '${'$as_ac_var'}'` = yes; then
28433 cat >>confdefs.h <<_ACEOF
28434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28440 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28441 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28442 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28443 { echo "$as_me:$LINENO: result: yes" >&5
28444 echo "${ECHO_T}yes" >&6; }
28446 { echo "$as_me:$LINENO: result: no" >&5
28447 echo "${ECHO_T}no" >&6; }
28448 # not sure we should warn the user, crash, etc.
28453 ac_cpp='$CXXCPP $CPPFLAGS'
28454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28458 if test "wxUSE_UNICODE" = "yes"; then
28460 for wx_func in wcstoull
28462 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28463 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28464 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28465 echo $ECHO_N "(cached) $ECHO_C" >&6
28468 cat >conftest.$ac_ext <<_ACEOF
28472 cat confdefs.h >>conftest.$ac_ext
28473 cat >>conftest.$ac_ext <<_ACEOF
28474 /* end confdefs.h. */
28477 $ac_includes_default
28493 rm -f conftest.$ac_objext conftest$ac_exeext
28494 if { (ac_try="$ac_link"
28495 case "(($ac_try" in
28496 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28497 *) ac_try_echo
=$ac_try;;
28499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28500 (eval "$ac_link") 2>conftest.er1
28502 grep -v '^ *+' conftest.er1
>conftest.err
28504 cat conftest.err
>&5
28505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28506 (exit $ac_status); } && {
28507 test -z "$ac_cxx_werror_flag" ||
28508 test ! -s conftest.err
28509 } && test -s conftest
$ac_exeext &&
28510 $as_test_x conftest
$ac_exeext; then
28511 eval wx_cv_func_
$wx_func=yes
28513 echo "$as_me: failed program was:" >&5
28514 sed 's/^/| /' conftest.
$ac_ext >&5
28516 eval wx_cv_func_
$wx_func=no
28519 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28520 conftest
$ac_exeext conftest.
$ac_ext
28523 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
28524 { echo "$as_me:$LINENO: result: $ac_res" >&5
28525 echo "${ECHO_T}$ac_res" >&6; }
28527 if eval test \
$wx_cv_func_$wx_func = yes
28529 cat >>confdefs.h
<<_ACEOF
28530 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28542 for wx_func
in strtoull
28544 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28545 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28546 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28547 echo $ECHO_N "(cached) $ECHO_C" >&6
28550 cat >conftest.
$ac_ext <<_ACEOF
28554 cat confdefs.h
>>conftest.
$ac_ext
28555 cat >>conftest.
$ac_ext <<_ACEOF
28556 /* end confdefs.h. */
28559 $ac_includes_default
28575 rm -f conftest.
$ac_objext conftest
$ac_exeext
28576 if { (ac_try
="$ac_link"
28577 case "(($ac_try" in
28578 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28579 *) ac_try_echo=$ac_try;;
28581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28582 (eval "$ac_link") 2>conftest.er1
28584 grep -v '^ *+' conftest.er1 >conftest.err
28586 cat conftest.err >&5
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); } && {
28589 test -z "$ac_cxx_werror_flag" ||
28590 test ! -s conftest.err
28591 } && test -s conftest$ac_exeext &&
28592 $as_test_x conftest$ac_exeext; then
28593 eval wx_cv_func_$wx_func=yes
28595 echo "$as_me: failed program was:" >&5
28596 sed 's/^/| /' conftest.$ac_ext >&5
28598 eval wx_cv_func_$wx_func=no
28601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28602 conftest$ac_exeext conftest.$ac_ext
28605 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28606 { echo "$as_me:$LINENO: result: $ac_res" >&5
28607 echo "${ECHO_T}$ac_res" >&6; }
28609 if eval test \$wx_cv_func_$wx_func = yes
28611 cat >>confdefs.h <<_ACEOF
28612 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28624 ac_cpp='$CPP $CPPFLAGS'
28625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28632 if test "$wxUSE_REGEX" != "no"; then
28633 cat >>confdefs.h <<\_ACEOF
28634 #define wxUSE_REGEX 1
28638 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28639 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28640 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28641 wxUSE_REGEX=builtin
28644 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28645 { echo "$as_me:$LINENO: checking for regex.h" >&5
28646 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28647 if test "${ac_cv_header_regex_h+set}" = set; then
28648 echo $ECHO_N "(cached) $ECHO_C" >&6
28650 cat >conftest.$ac_ext <<_ACEOF
28653 cat confdefs.h >>conftest.$ac_ext
28654 cat >>conftest.$ac_ext <<_ACEOF
28655 /* end confdefs.h. */
28660 rm -f conftest.$ac_objext
28661 if { (ac_try="$ac_compile"
28662 case "(($ac_try" in
28663 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28664 *) ac_try_echo
=$ac_try;;
28666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28667 (eval "$ac_compile") 2>conftest.er1
28669 grep -v '^ *+' conftest.er1
>conftest.err
28671 cat conftest.err
>&5
28672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28673 (exit $ac_status); } && {
28674 test -z "$ac_c_werror_flag" ||
28675 test ! -s conftest.err
28676 } && test -s conftest.
$ac_objext; then
28677 ac_cv_header_regex_h
=yes
28679 echo "$as_me: failed program was:" >&5
28680 sed 's/^/| /' conftest.
$ac_ext >&5
28682 ac_cv_header_regex_h
=no
28685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28687 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28688 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28689 if test $ac_cv_header_regex_h = yes; then
28692 for ac_func
in regcomp re_search
28694 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28695 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28697 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28698 echo $ECHO_N "(cached) $ECHO_C" >&6
28700 cat >conftest.
$ac_ext <<_ACEOF
28703 cat confdefs.h
>>conftest.
$ac_ext
28704 cat >>conftest.
$ac_ext <<_ACEOF
28705 /* end confdefs.h. */
28706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28708 #define $ac_func innocuous_$ac_func
28710 /* System header to define __stub macros and hopefully few prototypes,
28711 which can conflict with char $ac_func (); below.
28712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28713 <limits.h> exists even on freestanding compilers. */
28716 # include <limits.h>
28718 # include <assert.h>
28723 /* Override any GCC internal prototype to avoid an error.
28724 Use char because int might match the return type of a GCC
28725 builtin and then its argument prototype would still apply. */
28730 /* The GNU C library defines this for functions which it implements
28731 to always fail with ENOSYS. Some functions are actually named
28732 something starting with __ and the normal name is an alias. */
28733 #if defined __stub_$ac_func || defined __stub___$ac_func
28740 return $ac_func ();
28745 rm -f conftest.
$ac_objext conftest
$ac_exeext
28746 if { (ac_try
="$ac_link"
28747 case "(($ac_try" in
28748 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28749 *) ac_try_echo=$ac_try;;
28751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28752 (eval "$ac_link") 2>conftest.er1
28754 grep -v '^ *+' conftest.er1 >conftest.err
28756 cat conftest.err >&5
28757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28758 (exit $ac_status); } && {
28759 test -z "$ac_c_werror_flag" ||
28760 test ! -s conftest.err
28761 } && test -s conftest$ac_exeext &&
28762 $as_test_x conftest$ac_exeext; then
28763 eval "$as_ac_var=yes"
28765 echo "$as_me: failed program was:" >&5
28766 sed 's/^/| /' conftest.$ac_ext >&5
28768 eval "$as_ac_var=no"
28771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28772 conftest$ac_exeext conftest.$ac_ext
28774 ac_res=`eval echo '${'$as_ac_var'}'`
28775 { echo "$as_me:$LINENO: result: $ac_res" >&5
28776 echo "${ECHO_T}$ac_res" >&6; }
28777 if test `eval echo '${'$as_ac_var'}'` = yes; then
28778 cat >>confdefs.h <<_ACEOF
28779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28789 if test "x$ac_cv_func_regcomp" != "xyes"; then
28790 if test "$wxUSE_REGEX" = "sys" ; then
28791 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28792 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28793 { (exit 1); exit 1; }; }
28795 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28796 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28797 wxUSE_REGEX=builtin
28801 cat >>confdefs.h <<\_ACEOF
28802 #define WX_NO_REGEX_ADVANCED 1
28811 if test "$wxUSE_ZLIB" != "no" ; then
28812 cat >>confdefs.h <<\_ACEOF
28813 #define wxUSE_ZLIB 1
28817 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28818 if test "$USE_DARWIN" = 1; then
28819 system_zlib_h_ok="yes"
28821 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28822 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28823 if test "${ac_cv_header_zlib_h+set}" = set; then
28824 echo $ECHO_N "(cached) $ECHO_C" >&6
28826 if test "$cross_compiling" = yes; then
28827 unset ac_cv_header_zlib_h
28830 cat >conftest.$ac_ext <<_ACEOF
28833 cat confdefs.h >>conftest.$ac_ext
28834 cat >>conftest.$ac_ext <<_ACEOF
28835 /* end confdefs.h. */
28842 FILE *f=fopen("conftestval", "w");
28845 ZLIB_VERSION[0] == '1' &&
28846 (ZLIB_VERSION[2] > '1' ||
28847 (ZLIB_VERSION[2] == '1' &&
28848 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28853 rm -f conftest$ac_exeext
28854 if { (ac_try="$ac_link"
28855 case "(($ac_try" in
28856 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28857 *) ac_try_echo
=$ac_try;;
28859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28860 (eval "$ac_link") 2>&5
28862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28863 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28864 { (case "(($ac_try" in
28865 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28866 *) ac_try_echo=$ac_try;;
28868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28869 (eval "$ac_try") 2>&5
28871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28872 (exit $ac_status); }; }; then
28873 ac_cv_header_zlib_h=`cat conftestval
`
28875 echo "$as_me: program exited with status $ac_status" >&5
28876 echo "$as_me: failed program was:" >&5
28877 sed 's/^/| /' conftest.$ac_ext >&5
28879 ( exit $ac_status )
28880 ac_cv_header_zlib_h=no
28882 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28888 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28889 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28890 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28891 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28892 if test "${ac_cv_header_zlib_h+set}" = set; then
28893 echo $ECHO_N "(cached) $ECHO_C" >&6
28895 cat >conftest.$ac_ext <<_ACEOF
28898 cat confdefs.h >>conftest.$ac_ext
28899 cat >>conftest.$ac_ext <<_ACEOF
28900 /* end confdefs.h. */
28905 rm -f conftest.$ac_objext
28906 if { (ac_try="$ac_compile"
28907 case "(($ac_try" in
28908 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28909 *) ac_try_echo
=$ac_try;;
28911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28912 (eval "$ac_compile") 2>conftest.er1
28914 grep -v '^ *+' conftest.er1
>conftest.err
28916 cat conftest.err
>&5
28917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28918 (exit $ac_status); } && {
28919 test -z "$ac_c_werror_flag" ||
28920 test ! -s conftest.err
28921 } && test -s conftest.
$ac_objext; then
28922 ac_cv_header_zlib_h
=yes
28924 echo "$as_me: failed program was:" >&5
28925 sed 's/^/| /' conftest.
$ac_ext >&5
28927 ac_cv_header_zlib_h
=no
28930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28932 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28933 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28937 system_zlib_h_ok
=$ac_cv_header_zlib_h
28940 if test "$system_zlib_h_ok" = "yes"; then
28941 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28942 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28943 if test "${ac_cv_lib_z_deflate+set}" = set; then
28944 echo $ECHO_N "(cached) $ECHO_C" >&6
28946 ac_check_lib_save_LIBS
=$LIBS
28948 cat >conftest.
$ac_ext <<_ACEOF
28951 cat confdefs.h
>>conftest.
$ac_ext
28952 cat >>conftest.
$ac_ext <<_ACEOF
28953 /* end confdefs.h. */
28955 /* Override any GCC internal prototype to avoid an error.
28956 Use char because int might match the return type of a GCC
28957 builtin and then its argument prototype would still apply. */
28970 rm -f conftest.
$ac_objext conftest
$ac_exeext
28971 if { (ac_try
="$ac_link"
28972 case "(($ac_try" in
28973 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28974 *) ac_try_echo=$ac_try;;
28976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28977 (eval "$ac_link") 2>conftest.er1
28979 grep -v '^ *+' conftest.er1 >conftest.err
28981 cat conftest.err >&5
28982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28983 (exit $ac_status); } && {
28984 test -z "$ac_c_werror_flag" ||
28985 test ! -s conftest.err
28986 } && test -s conftest$ac_exeext &&
28987 $as_test_x conftest$ac_exeext; then
28988 ac_cv_lib_z_deflate=yes
28990 echo "$as_me: failed program was:" >&5
28991 sed 's/^/| /' conftest.$ac_ext >&5
28993 ac_cv_lib_z_deflate=no
28996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28997 conftest$ac_exeext conftest.$ac_ext
28998 LIBS=$ac_check_lib_save_LIBS
29000 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
29001 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
29002 if test $ac_cv_lib_z_deflate = yes; then
29008 if test "x$ZLIB_LINK" = "x" ; then
29009 if test "$wxUSE_ZLIB" = "sys" ; then
29010 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
29011 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
29012 { (exit 1); exit 1; }; }
29014 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
29015 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
29026 if test "$wxUSE_LIBPNG" != "no" ; then
29027 cat >>confdefs.h <<\_ACEOF
29028 #define wxUSE_LIBPNG 1
29032 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
29033 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
29034 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
29038 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
29039 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
29040 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
29041 wxUSE_LIBPNG=builtin
29044 if test "$wxUSE_MGL" != 1 ; then
29045 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
29046 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
29047 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
29048 if test "${ac_cv_header_png_h+set}" = set; then
29049 echo $ECHO_N "(cached) $ECHO_C" >&6
29051 if test "$cross_compiling" = yes; then
29052 unset ac_cv_header_png_h
29055 cat >conftest.$ac_ext <<_ACEOF
29058 cat confdefs.h >>conftest.$ac_ext
29059 cat >>conftest.$ac_ext <<_ACEOF
29060 /* end confdefs.h. */
29067 FILE *f=fopen("conftestval", "w");
29070 PNG_LIBPNG_VER > 90 ? "yes" : "no");
29075 rm -f conftest$ac_exeext
29076 if { (ac_try="$ac_link"
29077 case "(($ac_try" in
29078 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29079 *) ac_try_echo
=$ac_try;;
29081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29082 (eval "$ac_link") 2>&5
29084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29085 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29086 { (case "(($ac_try" in
29087 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29088 *) ac_try_echo=$ac_try;;
29090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29091 (eval "$ac_try") 2>&5
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); }; }; then
29095 ac_cv_header_png_h=`cat conftestval
`
29097 echo "$as_me: program exited with status $ac_status" >&5
29098 echo "$as_me: failed program was:" >&5
29099 sed 's/^/| /' conftest.$ac_ext >&5
29101 ( exit $ac_status )
29102 ac_cv_header_png_h=no
29104 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29110 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29111 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29112 { echo "$as_me:$LINENO: checking for png.h" >&5
29113 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29114 if test "${ac_cv_header_png_h+set}" = set; then
29115 echo $ECHO_N "(cached) $ECHO_C" >&6
29117 cat >conftest.$ac_ext <<_ACEOF
29120 cat confdefs.h >>conftest.$ac_ext
29121 cat >>conftest.$ac_ext <<_ACEOF
29122 /* end confdefs.h. */
29127 rm -f conftest.$ac_objext
29128 if { (ac_try="$ac_compile"
29129 case "(($ac_try" in
29130 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29131 *) ac_try_echo
=$ac_try;;
29133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29134 (eval "$ac_compile") 2>conftest.er1
29136 grep -v '^ *+' conftest.er1
>conftest.err
29138 cat conftest.err
>&5
29139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29140 (exit $ac_status); } && {
29141 test -z "$ac_c_werror_flag" ||
29142 test ! -s conftest.err
29143 } && test -s conftest.
$ac_objext; then
29144 ac_cv_header_png_h
=yes
29146 echo "$as_me: failed program was:" >&5
29147 sed 's/^/| /' conftest.
$ac_ext >&5
29149 ac_cv_header_png_h
=no
29152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29154 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29155 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29159 if test "$ac_cv_header_png_h" = "yes"; then
29160 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29161 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29162 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29163 echo $ECHO_N "(cached) $ECHO_C" >&6
29165 ac_check_lib_save_LIBS
=$LIBS
29166 LIBS
="-lpng -lz -lm $LIBS"
29167 cat >conftest.
$ac_ext <<_ACEOF
29170 cat confdefs.h
>>conftest.
$ac_ext
29171 cat >>conftest.
$ac_ext <<_ACEOF
29172 /* end confdefs.h. */
29174 /* Override any GCC internal prototype to avoid an error.
29175 Use char because int might match the return type of a GCC
29176 builtin and then its argument prototype would still apply. */
29180 char png_check_sig ();
29184 return png_check_sig ();
29189 rm -f conftest.
$ac_objext conftest
$ac_exeext
29190 if { (ac_try
="$ac_link"
29191 case "(($ac_try" in
29192 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29193 *) ac_try_echo=$ac_try;;
29195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29196 (eval "$ac_link") 2>conftest.er1
29198 grep -v '^ *+' conftest.er1 >conftest.err
29200 cat conftest.err >&5
29201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29202 (exit $ac_status); } && {
29203 test -z "$ac_c_werror_flag" ||
29204 test ! -s conftest.err
29205 } && test -s conftest$ac_exeext &&
29206 $as_test_x conftest$ac_exeext; then
29207 ac_cv_lib_png_png_check_sig=yes
29209 echo "$as_me: failed program was:" >&5
29210 sed 's/^/| /' conftest.$ac_ext >&5
29212 ac_cv_lib_png_png_check_sig=no
29215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29216 conftest$ac_exeext conftest.$ac_ext
29217 LIBS=$ac_check_lib_save_LIBS
29219 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29220 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29221 if test $ac_cv_lib_png_png_check_sig = yes; then
29222 PNG_LINK=" -lpng -lz"
29227 if test "x$PNG_LINK" = "x" ; then
29228 if test "$wxUSE_LIBPNG" = "sys" ; then
29229 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29230 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29231 { (exit 1); exit 1; }; }
29233 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29234 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29235 wxUSE_LIBPNG=builtin
29246 if test "$wxUSE_LIBJPEG" != "no" ; then
29247 cat >>confdefs.h <<\_ACEOF
29248 #define wxUSE_LIBJPEG 1
29252 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29253 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29254 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29258 if test "$wxUSE_MGL" != 1 ; then
29259 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29260 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29261 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29262 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29263 echo $ECHO_N "(cached) $ECHO_C" >&6
29265 cat >conftest.$ac_ext <<_ACEOF
29268 cat confdefs.h >>conftest.$ac_ext
29269 cat >>conftest.$ac_ext <<_ACEOF
29270 /* end confdefs.h. */
29272 #undef HAVE_STDLIB_H
29274 #include <jpeglib.h>
29285 rm -f conftest.$ac_objext
29286 if { (ac_try="$ac_compile"
29287 case "(($ac_try" in
29288 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29289 *) ac_try_echo
=$ac_try;;
29291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29292 (eval "$ac_compile") 2>conftest.er1
29294 grep -v '^ *+' conftest.er1
>conftest.err
29296 cat conftest.err
>&5
29297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 (exit $ac_status); } && {
29299 test -z "$ac_c_werror_flag" ||
29300 test ! -s conftest.err
29301 } && test -s conftest.
$ac_objext; then
29302 ac_cv_header_jpeglib_h
=yes
29304 echo "$as_me: failed program was:" >&5
29305 sed 's/^/| /' conftest.
$ac_ext >&5
29307 ac_cv_header_jpeglib_h
=no
29311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29315 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29316 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29318 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29319 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29320 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29321 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29322 echo $ECHO_N "(cached) $ECHO_C" >&6
29324 ac_check_lib_save_LIBS
=$LIBS
29325 LIBS
="-ljpeg $LIBS"
29326 cat >conftest.
$ac_ext <<_ACEOF
29329 cat confdefs.h
>>conftest.
$ac_ext
29330 cat >>conftest.
$ac_ext <<_ACEOF
29331 /* end confdefs.h. */
29333 /* Override any GCC internal prototype to avoid an error.
29334 Use char because int might match the return type of a GCC
29335 builtin and then its argument prototype would still apply. */
29339 char jpeg_read_header ();
29343 return jpeg_read_header ();
29348 rm -f conftest.
$ac_objext conftest
$ac_exeext
29349 if { (ac_try
="$ac_link"
29350 case "(($ac_try" in
29351 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29352 *) ac_try_echo=$ac_try;;
29354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29355 (eval "$ac_link") 2>conftest.er1
29357 grep -v '^ *+' conftest.er1 >conftest.err
29359 cat conftest.err >&5
29360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29361 (exit $ac_status); } && {
29362 test -z "$ac_c_werror_flag" ||
29363 test ! -s conftest.err
29364 } && test -s conftest$ac_exeext &&
29365 $as_test_x conftest$ac_exeext; then
29366 ac_cv_lib_jpeg_jpeg_read_header=yes
29368 echo "$as_me: failed program was:" >&5
29369 sed 's/^/| /' conftest.$ac_ext >&5
29371 ac_cv_lib_jpeg_jpeg_read_header=no
29374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29375 conftest$ac_exeext conftest.$ac_ext
29376 LIBS=$ac_check_lib_save_LIBS
29378 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29379 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29380 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29381 JPEG_LINK=" -ljpeg"
29386 if test "x$JPEG_LINK" = "x" ; then
29387 if test "$wxUSE_LIBJPEG" = "sys" ; then
29388 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29389 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29390 { (exit 1); exit 1; }; }
29392 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29393 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29394 wxUSE_LIBJPEG=builtin
29399 if test "$wxUSE_MSW" = 1; then
29400 { echo "$as_me:$LINENO: checking for boolean" >&5
29401 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29402 if test "${ac_cv_type_boolean+set}" = set; then
29403 echo $ECHO_N "(cached) $ECHO_C" >&6
29405 cat >conftest.$ac_ext <<_ACEOF
29408 cat confdefs.h >>conftest.$ac_ext
29409 cat >>conftest.$ac_ext <<_ACEOF
29410 /* end confdefs.h. */
29411 #include <windows.h>
29413 typedef boolean ac__type_new_;
29417 if ((ac__type_new_ *) 0)
29419 if (sizeof (ac__type_new_))
29425 rm -f conftest.$ac_objext
29426 if { (ac_try="$ac_compile"
29427 case "(($ac_try" in
29428 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29429 *) ac_try_echo
=$ac_try;;
29431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29432 (eval "$ac_compile") 2>conftest.er1
29434 grep -v '^ *+' conftest.er1
>conftest.err
29436 cat conftest.err
>&5
29437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29438 (exit $ac_status); } && {
29439 test -z "$ac_c_werror_flag" ||
29440 test ! -s conftest.err
29441 } && test -s conftest.
$ac_objext; then
29442 ac_cv_type_boolean
=yes
29444 echo "$as_me: failed program was:" >&5
29445 sed 's/^/| /' conftest.
$ac_ext >&5
29447 ac_cv_type_boolean
=no
29450 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29452 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29453 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29454 if test $ac_cv_type_boolean = yes; then
29456 cat >>confdefs.h
<<_ACEOF
29457 #define HAVE_BOOLEAN 1
29461 { echo "$as_me:$LINENO: checking for boolean" >&5
29462 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29463 if test "${ac_cv_type_boolean+set}" = set; then
29464 echo $ECHO_N "(cached) $ECHO_C" >&6
29466 cat >conftest.
$ac_ext <<_ACEOF
29469 cat confdefs.h
>>conftest.
$ac_ext
29470 cat >>conftest.
$ac_ext <<_ACEOF
29471 /* end confdefs.h. */
29473 #undef HAVE_BOOLEAN
29475 #include <jpeglib.h>
29478 typedef boolean ac__type_new_;
29482 if ((ac__type_new_ *) 0)
29484 if (sizeof (ac__type_new_))
29490 rm -f conftest.
$ac_objext
29491 if { (ac_try
="$ac_compile"
29492 case "(($ac_try" in
29493 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29494 *) ac_try_echo=$ac_try;;
29496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29497 (eval "$ac_compile") 2>conftest.er1
29499 grep -v '^ *+' conftest.er1 >conftest.err
29501 cat conftest.err >&5
29502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29503 (exit $ac_status); } && {
29504 test -z "$ac_c_werror_flag" ||
29505 test ! -s conftest.err
29506 } && test -s conftest.$ac_objext; then
29507 ac_cv_type_boolean=yes
29509 echo "$as_me: failed program was:" >&5
29510 sed 's/^/| /' conftest.$ac_ext >&5
29512 ac_cv_type_boolean=no
29515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29517 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29518 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29520 # The cast to long int works around a bug in the HP C Compiler
29521 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29522 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
29523 # This bug is HP SR number 8606223364.
29524 { echo "$as_me:$LINENO: checking size of boolean" >&5
29525 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29526 if test "${ac_cv_sizeof_boolean+set}" = set; then
29527 echo $ECHO_N "(cached) $ECHO_C" >&6
29529 if test "$cross_compiling" = yes; then
29530 # Depending upon the size, compute the lo and hi bounds.
29531 cat >conftest.$ac_ext <<_ACEOF
29534 cat confdefs.h >>conftest.$ac_ext
29535 cat >>conftest.$ac_ext <<_ACEOF
29536 /* end confdefs.h. */
29538 #undef HAVE_BOOLEAN
29540 #include <jpeglib.h>
29543 typedef boolean ac__type_sizeof_;
29547 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29554 rm -f conftest.$ac_objext
29555 if { (ac_try="$ac_compile"
29556 case "(($ac_try" in
29557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29558 *) ac_try_echo=$ac_try;;
29560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29561 (eval "$ac_compile") 2>conftest.er1
29563 grep -v '^
*+' conftest.er1 >conftest.err
29565 cat conftest.err >&5
29566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29567 (exit $ac_status); } && {
29568 test -z "$ac_c_werror_flag" ||
29569 test ! -s conftest.err
29570 } && test -s conftest.$ac_objext; then
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_))) <= $ac_mid)];
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
29613 ac_hi=$ac_mid; break
29615 echo "$as_me: failed program was:" >&5
29616 sed 's
/^
/| /' conftest.$ac_ext >&5
29618 ac_lo=`expr $ac_mid + 1`
29619 if test $ac_lo -le $ac_mid; then
29623 ac_mid=`expr 2 '*' $ac_mid + 1`
29626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29629 echo "$as_me: failed program was:" >&5
29630 sed 's
/^
/| /' conftest.$ac_ext >&5
29632 cat >conftest.$ac_ext <<_ACEOF
29635 cat confdefs.h >>conftest.$ac_ext
29636 cat >>conftest.$ac_ext <<_ACEOF
29637 /* end confdefs.h. */
29639 #undef HAVE_BOOLEAN
29641 #include <jpeglib.h>
29644 typedef boolean ac__type_sizeof_;
29648 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29655 rm -f conftest.$ac_objext
29656 if { (ac_try="$ac_compile"
29657 case "(($ac_try" in
29658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29659 *) ac_try_echo=$ac_try;;
29661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29662 (eval "$ac_compile") 2>conftest.er1
29664 grep -v '^
*+' conftest.er1 >conftest.err
29666 cat conftest.err >&5
29667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29668 (exit $ac_status); } && {
29669 test -z "$ac_c_werror_flag" ||
29670 test ! -s conftest.err
29671 } && test -s conftest.$ac_objext; then
29674 cat >conftest.$ac_ext <<_ACEOF
29677 cat confdefs.h >>conftest.$ac_ext
29678 cat >>conftest.$ac_ext <<_ACEOF
29679 /* end confdefs.h. */
29681 #undef HAVE_BOOLEAN
29683 #include <jpeglib.h>
29686 typedef boolean ac__type_sizeof_;
29690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29697 rm -f conftest.$ac_objext
29698 if { (ac_try="$ac_compile"
29699 case "(($ac_try" in
29700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29701 *) ac_try_echo=$ac_try;;
29703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29704 (eval "$ac_compile") 2>conftest.er1
29706 grep -v '^
*+' conftest.er1 >conftest.err
29708 cat conftest.err >&5
29709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29710 (exit $ac_status); } && {
29711 test -z "$ac_c_werror_flag" ||
29712 test ! -s conftest.err
29713 } && test -s conftest.$ac_objext; then
29714 ac_lo=$ac_mid; break
29716 echo "$as_me: failed program was:" >&5
29717 sed 's
/^
/| /' conftest.$ac_ext >&5
29719 ac_hi=`expr '(' $ac_mid ')' - 1`
29720 if test $ac_mid -le $ac_hi; then
29724 ac_mid=`expr 2 '*' $ac_mid`
29727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29730 echo "$as_me: failed program was:" >&5
29731 sed 's
/^
/| /' conftest.$ac_ext >&5
29736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29740 # Binary search between lo and hi bounds.
29741 while test "x$ac_lo" != "x$ac_hi"; do
29742 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29743 cat >conftest.$ac_ext <<_ACEOF
29746 cat confdefs.h >>conftest.$ac_ext
29747 cat >>conftest.$ac_ext <<_ACEOF
29748 /* end confdefs.h. */
29750 #undef HAVE_BOOLEAN
29752 #include <jpeglib.h>
29755 typedef boolean ac__type_sizeof_;
29759 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29766 rm -f conftest.$ac_objext
29767 if { (ac_try="$ac_compile"
29768 case "(($ac_try" in
29769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29770 *) ac_try_echo=$ac_try;;
29772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29773 (eval "$ac_compile") 2>conftest.er1
29775 grep -v '^
*+' conftest.er1 >conftest.err
29777 cat conftest.err >&5
29778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29779 (exit $ac_status); } && {
29780 test -z "$ac_c_werror_flag" ||
29781 test ! -s conftest.err
29782 } && test -s conftest.$ac_objext; then
29785 echo "$as_me: failed program was:" >&5
29786 sed 's
/^
/| /' conftest.$ac_ext >&5
29788 ac_lo=`expr '(' $ac_mid ')' + 1`
29791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29794 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29795 '') if test "$ac_cv_type_boolean" = yes; then
29796 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29797 See \`config.log' for more details.
" >&5
29798 echo "$as_me: error
: cannot compute sizeof
(boolean
)
29799 See \
`config.log' for more details." >&2;}
29800 { (exit 77); exit 77; }; }
29802 ac_cv_sizeof_boolean=0
29806 cat >conftest.$ac_ext <<_ACEOF
29809 cat confdefs.h >>conftest.$ac_ext
29810 cat >>conftest.$ac_ext <<_ACEOF
29811 /* end confdefs.h. */
29813 #undef HAVE_BOOLEAN
29815 #include <jpeglib.h>
29818 typedef boolean ac__type_sizeof_;
29819 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29820 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29822 #include <stdlib.h>
29827 FILE *f = fopen ("conftest.val", "w");
29830 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29832 long int i = longval ();
29833 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29835 fprintf (f, "%ld\n", i);
29839 unsigned long int i = ulongval ();
29840 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29842 fprintf (f, "%lu\n", i);
29844 return ferror (f) || fclose (f) != 0;
29850 rm -f conftest$ac_exeext
29851 if { (ac_try="$ac_link"
29852 case "(($ac_try" in
29853 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29854 *) ac_try_echo
=$ac_try;;
29856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29857 (eval "$ac_link") 2>&5
29859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29860 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29861 { (case "(($ac_try" in
29862 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29863 *) ac_try_echo=$ac_try;;
29865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29866 (eval "$ac_try") 2>&5
29868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29869 (exit $ac_status); }; }; then
29870 ac_cv_sizeof_boolean=`cat conftest.val
`
29872 echo "$as_me: program exited with status $ac_status" >&5
29873 echo "$as_me: failed program was:" >&5
29874 sed 's/^/| /' conftest.$ac_ext >&5
29876 ( exit $ac_status )
29877 if test "$ac_cv_type_boolean" = yes; then
29878 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29879 See \`config.log
' for more details." >&5
29880 echo "$as_me: error: cannot compute sizeof (boolean)
29881 See \`config.log' for more details.
" >&2;}
29882 { (exit 77); exit 77; }; }
29884 ac_cv_sizeof_boolean=0
29887 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29891 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
29892 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29896 cat >>confdefs.h <<_ACEOF
29897 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29901 cat >>confdefs.h <<_ACEOF
29902 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29916 TIFF_PREREQ_LINKS=-lm
29917 if test "$wxUSE_LIBTIFF" != "no
" ; then
29918 cat >>confdefs.h <<\_ACEOF
29919 #define wxUSE_LIBTIFF 1
29923 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
29924 if test "$wxUSE_LIBJPEG" = "sys
"; then
29925 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29927 if test "$wxUSE_ZLIB" = "sys
"; then
29928 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29930 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
29931 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
29932 if test "${ac_cv_header_tiffio_h+set}" = set; then
29933 echo $ECHO_N "(cached
) $ECHO_C" >&6
29935 cat >conftest.$ac_ext <<_ACEOF
29938 cat confdefs.h >>conftest.$ac_ext
29939 cat >>conftest.$ac_ext <<_ACEOF
29940 /* end confdefs.h. */
29944 #include <tiffio.h>
29946 rm -f conftest.$ac_objext
29947 if { (ac_try="$ac_compile"
29948 case "(($ac_try" in
29949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29950 *) ac_try_echo=$ac_try;;
29952 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29953 (eval "$ac_compile") 2>conftest.er1
29955 grep -v '^ *+' conftest.er1 >conftest.err
29957 cat conftest.err >&5
29958 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29959 (exit $ac_status); } && {
29960 test -z "$ac_c_werror_flag" ||
29961 test ! -s conftest.err
29962 } && test -s conftest.$ac_objext; then
29963 ac_cv_header_tiffio_h=yes
29965 echo "$as_me: failed program was
:" >&5
29966 sed 's/^/| /' conftest.$ac_ext >&5
29968 ac_cv_header_tiffio_h=no
29971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29973 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
29974 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29975 if test $ac_cv_header_tiffio_h = yes; then
29977 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
29978 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
29979 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29980 echo $ECHO_N "(cached
) $ECHO_C" >&6
29982 ac_check_lib_save_LIBS=$LIBS
29983 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29984 cat >conftest.$ac_ext <<_ACEOF
29987 cat confdefs.h >>conftest.$ac_ext
29988 cat >>conftest.$ac_ext <<_ACEOF
29989 /* end confdefs.h. */
29991 /* Override any GCC internal prototype to avoid an error.
29992 Use char because int might match the return type of a GCC
29993 builtin and then its argument prototype would still apply. */
30001 return TIFFError ();
30006 rm -f conftest.$ac_objext conftest$ac_exeext
30007 if { (ac_try="$ac_link"
30008 case "(($ac_try" in
30009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30010 *) ac_try_echo=$ac_try;;
30012 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30013 (eval "$ac_link") 2>conftest.er1
30015 grep -v '^ *+' conftest.er1 >conftest.err
30017 cat conftest.err >&5
30018 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30019 (exit $ac_status); } && {
30020 test -z "$ac_c_werror_flag" ||
30021 test ! -s conftest.err
30022 } && test -s conftest$ac_exeext &&
30023 $as_test_x conftest$ac_exeext; then
30024 ac_cv_lib_tiff_TIFFError=yes
30026 echo "$as_me: failed program was
:" >&5
30027 sed 's/^/| /' conftest.$ac_ext >&5
30029 ac_cv_lib_tiff_TIFFError=no
30032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30033 conftest$ac_exeext conftest.$ac_ext
30034 LIBS=$ac_check_lib_save_LIBS
30036 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
30037 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
30038 if test $ac_cv_lib_tiff_TIFFError = yes; then
30039 TIFF_LINK=" -ltiff"
30047 if test "x
$TIFF_LINK" = "x
" ; then
30048 if test "$wxUSE_LIBTIFF" = "sys
" ; then
30049 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
30050 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
30051 { (exit 1); exit 1; }; }
30053 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
30054 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
30055 wxUSE_LIBTIFF=builtin
30064 if test "$wxUSE_WCHAR_T" != "yes"; then
30065 if test "$wxUSE_EXPAT" != "no
"; then
30066 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
30067 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
30070 if test "$wxUSE_XML" != "no
"; then
30071 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
30072 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
30077 if test "$wxUSE_EXPAT" != "no
"; then
30079 cat >>confdefs.h <<\_ACEOF
30080 #define wxUSE_EXPAT 1
30083 cat >>confdefs.h <<\_ACEOF
30084 #define wxUSE_XML 1
30088 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
30089 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
30090 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
30091 if test "${ac_cv_header_expat_h+set}" = set; then
30092 echo $ECHO_N "(cached
) $ECHO_C" >&6
30094 cat >conftest.$ac_ext <<_ACEOF
30097 cat confdefs.h >>conftest.$ac_ext
30098 cat >>conftest.$ac_ext <<_ACEOF
30099 /* end confdefs.h. */
30104 rm -f conftest.$ac_objext
30105 if { (ac_try="$ac_compile"
30106 case "(($ac_try" in
30107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30108 *) ac_try_echo=$ac_try;;
30110 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30111 (eval "$ac_compile") 2>conftest.er1
30113 grep -v '^ *+' conftest.er1 >conftest.err
30115 cat conftest.err >&5
30116 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30117 (exit $ac_status); } && {
30118 test -z "$ac_c_werror_flag" ||
30119 test ! -s conftest.err
30120 } && test -s conftest.$ac_objext; then
30121 ac_cv_header_expat_h=yes
30123 echo "$as_me: failed program was
:" >&5
30124 sed 's/^/| /' conftest.$ac_ext >&5
30126 ac_cv_header_expat_h=no
30129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30131 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
30132 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30133 if test $ac_cv_header_expat_h = yes; then
30138 if test "x
$found_expat_h" = "x1
"; then
30139 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
30140 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
30141 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30142 echo $ECHO_N "(cached
) $ECHO_C" >&6
30146 ac_cpp='$CXXCPP $CPPFLAGS'
30147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30151 cat >conftest.$ac_ext <<_ACEOF
30154 cat confdefs.h >>conftest.$ac_ext
30155 cat >>conftest.$ac_ext <<_ACEOF
30156 /* end confdefs.h. */
30166 rm -f conftest.$ac_objext
30167 if { (ac_try="$ac_compile"
30168 case "(($ac_try" in
30169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30170 *) ac_try_echo=$ac_try;;
30172 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30173 (eval "$ac_compile") 2>conftest.er1
30175 grep -v '^ *+' conftest.er1 >conftest.err
30177 cat conftest.err >&5
30178 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30179 (exit $ac_status); } && {
30180 test -z "$ac_cxx_werror_flag" ||
30181 test ! -s conftest.err
30182 } && test -s conftest.$ac_objext; then
30183 wx_cv_expat_is_not_broken=yes
30185 echo "$as_me: failed program was
:" >&5
30186 sed 's/^/| /' conftest.$ac_ext >&5
30188 wx_cv_expat_is_not_broken=no
30192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30194 ac_cpp='$CPP $CPPFLAGS'
30195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30202 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
30203 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30204 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30205 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
30206 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
30207 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30208 echo $ECHO_N "(cached
) $ECHO_C" >&6
30210 ac_check_lib_save_LIBS=$LIBS
30211 LIBS="-lexpat $LIBS"
30212 cat >conftest.$ac_ext <<_ACEOF
30215 cat confdefs.h >>conftest.$ac_ext
30216 cat >>conftest.$ac_ext <<_ACEOF
30217 /* end confdefs.h. */
30219 /* Override any GCC internal prototype to avoid an error.
30220 Use char because int might match the return type of a GCC
30221 builtin and then its argument prototype would still apply. */
30225 char XML_ParserCreate ();
30229 return XML_ParserCreate ();
30234 rm -f conftest.$ac_objext conftest$ac_exeext
30235 if { (ac_try="$ac_link"
30236 case "(($ac_try" in
30237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30238 *) ac_try_echo=$ac_try;;
30240 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30241 (eval "$ac_link") 2>conftest.er1
30243 grep -v '^ *+' conftest.er1 >conftest.err
30245 cat conftest.err >&5
30246 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30247 (exit $ac_status); } && {
30248 test -z "$ac_c_werror_flag" ||
30249 test ! -s conftest.err
30250 } && test -s conftest$ac_exeext &&
30251 $as_test_x conftest$ac_exeext; then
30252 ac_cv_lib_expat_XML_ParserCreate=yes
30254 echo "$as_me: failed program was
:" >&5
30255 sed 's/^/| /' conftest.$ac_ext >&5
30257 ac_cv_lib_expat_XML_ParserCreate=no
30260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30261 conftest$ac_exeext conftest.$ac_ext
30262 LIBS=$ac_check_lib_save_LIBS
30264 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
30265 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30266 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30267 EXPAT_LINK=" -lexpat"
30272 if test "x
$EXPAT_LINK" = "x
" ; then
30273 if test "$wxUSE_EXPAT" = "sys
" ; then
30274 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
30275 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
30276 { (exit 1); exit 1; }; }
30278 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
30279 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
30280 wxUSE_EXPAT=builtin
30286 if test "$wxUSE_EXPAT" = "builtin" ; then
30287 subdirs="$subdirs src
/expat
"
30294 if test "$wxUSE_LIBMSPACK" != "no
"; then
30295 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
30296 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
30297 if test "${ac_cv_header_mspack_h+set}" = set; then
30298 echo $ECHO_N "(cached
) $ECHO_C" >&6
30300 cat >conftest.$ac_ext <<_ACEOF
30303 cat confdefs.h >>conftest.$ac_ext
30304 cat >>conftest.$ac_ext <<_ACEOF
30305 /* end confdefs.h. */
30308 #include <mspack.h>
30310 rm -f conftest.$ac_objext
30311 if { (ac_try="$ac_compile"
30312 case "(($ac_try" in
30313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30314 *) ac_try_echo=$ac_try;;
30316 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30317 (eval "$ac_compile") 2>conftest.er1
30319 grep -v '^ *+' conftest.er1 >conftest.err
30321 cat conftest.err >&5
30322 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30323 (exit $ac_status); } && {
30324 test -z "$ac_c_werror_flag" ||
30325 test ! -s conftest.err
30326 } && test -s conftest.$ac_objext; then
30327 ac_cv_header_mspack_h=yes
30329 echo "$as_me: failed program was
:" >&5
30330 sed 's/^/| /' conftest.$ac_ext >&5
30332 ac_cv_header_mspack_h=no
30335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30337 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
30338 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30339 if test $ac_cv_header_mspack_h = yes; then
30344 if test "x
$found_mspack_h" = "x1
"; then
30345 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
30346 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
30347 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30348 echo $ECHO_N "(cached
) $ECHO_C" >&6
30350 ac_check_lib_save_LIBS=$LIBS
30351 LIBS="-lmspack $LIBS"
30352 cat >conftest.$ac_ext <<_ACEOF
30355 cat confdefs.h >>conftest.$ac_ext
30356 cat >>conftest.$ac_ext <<_ACEOF
30357 /* end confdefs.h. */
30359 /* Override any GCC internal prototype to avoid an error.
30360 Use char because int might match the return type of a GCC
30361 builtin and then its argument prototype would still apply. */
30365 char mspack_create_chm_decompressor ();
30369 return mspack_create_chm_decompressor ();
30374 rm -f conftest.$ac_objext conftest$ac_exeext
30375 if { (ac_try="$ac_link"
30376 case "(($ac_try" in
30377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30378 *) ac_try_echo=$ac_try;;
30380 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30381 (eval "$ac_link") 2>conftest.er1
30383 grep -v '^ *+' conftest.er1 >conftest.err
30385 cat conftest.err >&5
30386 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30387 (exit $ac_status); } && {
30388 test -z "$ac_c_werror_flag" ||
30389 test ! -s conftest.err
30390 } && test -s conftest$ac_exeext &&
30391 $as_test_x conftest$ac_exeext; then
30392 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30394 echo "$as_me: failed program was
:" >&5
30395 sed 's/^/| /' conftest.$ac_ext >&5
30397 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30401 conftest$ac_exeext conftest.$ac_ext
30402 LIBS=$ac_check_lib_save_LIBS
30404 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30405 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30406 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30407 MSPACK_LINK=" -lmspack"
30411 if test "x
$MSPACK_LINK" = "x
" ; then
30416 if test "$wxUSE_LIBMSPACK" != "no
"; then
30417 cat >>confdefs.h <<\_ACEOF
30418 #define wxUSE_LIBMSPACK 1
30432 if test "$USE_WIN32" = 1 ; then
30434 for ac_header in w32api.h
30436 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
30437 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
30438 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
30439 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
30440 echo $ECHO_N "(cached
) $ECHO_C" >&6
30442 cat >conftest.$ac_ext <<_ACEOF
30445 cat confdefs.h >>conftest.$ac_ext
30446 cat >>conftest.$ac_ext <<_ACEOF
30447 /* end confdefs.h. */
30450 #include <$ac_header>
30452 rm -f conftest.$ac_objext
30453 if { (ac_try="$ac_compile"
30454 case "(($ac_try" in
30455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30456 *) ac_try_echo=$ac_try;;
30458 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30459 (eval "$ac_compile") 2>conftest.er1
30461 grep -v '^ *+' conftest.er1 >conftest.err
30463 cat conftest.err >&5
30464 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30465 (exit $ac_status); } && {
30466 test -z "$ac_c_werror_flag" ||
30467 test ! -s conftest.err
30468 } && test -s conftest.$ac_objext; then
30469 eval "$as_ac_Header=yes"
30471 echo "$as_me: failed program was
:" >&5
30472 sed 's/^/| /' conftest.$ac_ext >&5
30474 eval "$as_ac_Header=no
"
30477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30479 ac_res=`eval echo '${'$as_ac_Header'}'`
30480 { echo "$as_me:$LINENO: result
: $ac_res" >&5
30481 echo "${ECHO_T}$ac_res" >&6; }
30482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30483 cat >>confdefs.h <<_ACEOF
30484 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
30491 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
30492 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
30493 if test "${ac_cv_header_windows_h+set}" = set; then
30494 echo $ECHO_N "(cached
) $ECHO_C" >&6
30496 cat >conftest.$ac_ext <<_ACEOF
30499 cat confdefs.h >>conftest.$ac_ext
30500 cat >>conftest.$ac_ext <<_ACEOF
30501 /* end confdefs.h. */
30504 #include <windows.h>
30506 rm -f conftest.$ac_objext
30507 if { (ac_try="$ac_compile"
30508 case "(($ac_try" in
30509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30510 *) ac_try_echo=$ac_try;;
30512 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30513 (eval "$ac_compile") 2>conftest.er1
30515 grep -v '^ *+' conftest.er1 >conftest.err
30517 cat conftest.err >&5
30518 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30519 (exit $ac_status); } && {
30520 test -z "$ac_c_werror_flag" ||
30521 test ! -s conftest.err
30522 } && test -s conftest.$ac_objext; then
30523 ac_cv_header_windows_h=yes
30525 echo "$as_me: failed program was
:" >&5
30526 sed 's/^/| /' conftest.$ac_ext >&5
30528 ac_cv_header_windows_h=no
30531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30533 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
30534 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30535 if test $ac_cv_header_windows_h = yes; then
30539 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
30540 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
30541 { (exit 1); exit 1; }; }
30547 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30549 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30550 LIBS="$LIBS -loleacc"
30555 LIBS="$LIBS -lkernel32 -luser32"
30558 if test "$wxUSE_ODBC" = "sys
" ; then
30561 if test "$wxUSE_ODBC" = "yes" ; then
30562 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30563 cat >>confdefs.h <<\_ACEOF
30564 #define wxUSE_ODBC 1
30569 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30570 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
30572 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30574 WIN32INSTALL=win32install
30576 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
30577 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
30578 if test "${ac_cv_header_pbt_h+set}" = set; then
30579 echo $ECHO_N "(cached
) $ECHO_C" >&6
30581 cat >conftest.$ac_ext <<_ACEOF
30584 cat confdefs.h >>conftest.$ac_ext
30585 cat >>conftest.$ac_ext <<_ACEOF
30586 /* end confdefs.h. */
30591 rm -f conftest.$ac_objext
30592 if { (ac_try="$ac_compile"
30593 case "(($ac_try" in
30594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30595 *) ac_try_echo=$ac_try;;
30597 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30598 (eval "$ac_compile") 2>conftest.er1
30600 grep -v '^ *+' conftest.er1 >conftest.err
30602 cat conftest.err >&5
30603 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30604 (exit $ac_status); } && {
30605 test -z "$ac_c_werror_flag" ||
30606 test ! -s conftest.err
30607 } && test -s conftest.$ac_objext; then
30608 ac_cv_header_pbt_h=yes
30610 echo "$as_me: failed program was
:" >&5
30611 sed 's/^/| /' conftest.$ac_ext >&5
30613 ac_cv_header_pbt_h=no
30616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30618 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
30619 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30620 if test $ac_cv_header_pbt_h = yes; then
30623 cat >>confdefs.h <<\_ACEOF
30624 #define NEED_PBT_H 1
30632 if test "$wxUSE_GUI" = "yes"; then
30642 if test "$wxUSE_COCOA" = 1 ; then
30643 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30644 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
30645 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
30646 wxUSE_PRINTING_ARCHITECTURE=no
30648 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30649 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
30650 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
30651 wxUSE_DRAG_AND_DROP=no
30653 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30654 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
30655 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
30660 if test "$wxUSE_MSW" = 1 ; then
30666 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
30670 if test "$wxUSE_GTK" = 1; then
30671 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
30672 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
30674 gtk_version_cached=1
30675 if test "${wx_cv_lib_gtk+set}" = set; then
30676 echo $ECHO_N "(cached
) $ECHO_C" >&6
30679 gtk_version_cached=0
30680 { echo "$as_me:$LINENO: result
: " >&5
30681 echo "${ECHO_T}" >&6; }
30684 if test "$wxUSE_THREADS" = "yes"; then
30685 GTK_MODULES=gthread
30689 if test "x
$wxGTK_VERSION" != "x1
"
30693 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30698 # Check whether --enable-gtktest was given.
30699 if test "${enable_gtktest+set}" = set; then
30700 enableval=$enable_gtktest;
30706 pkg_config_args=gtk+-2.0
30707 for module in . $GTK_MODULES
30711 pkg_config_args="$pkg_config_args gthread
-2.0
"
30718 # Extract the first word of "pkg
-config", so it can be a program name with args.
30719 set dummy pkg-config; ac_word=$2
30720 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30721 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30722 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30723 echo $ECHO_N "(cached
) $ECHO_C" >&6
30725 case $PKG_CONFIG in
30727 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30731 for as_dir in $PATH
30734 test -z "$as_dir" && as_dir=.
30735 for ac_exec_ext in '' $ac_executable_extensions; do
30736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30737 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30738 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30745 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
30749 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30750 if test -n "$PKG_CONFIG"; then
30751 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
30752 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30754 { echo "$as_me:$LINENO: result
: no
" >&5
30755 echo "${ECHO_T}no
" >&6; }
30760 if test x$PKG_CONFIG != xno ; then
30761 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30764 echo "*** pkg
-config too old
; version
0.7 or better required.
"
30772 min_gtk_version=2.0.0
30773 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
30774 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
30776 if test x$PKG_CONFIG != xno ; then
30777 ## don't try to run the test against uninstalled libtool libs
30778 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30779 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
30783 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30790 if test x"$no_gtk" = x ; then
30791 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30792 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30793 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30794 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30795 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30796 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30797 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30798 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30799 if test "x
$enable_gtktest" = "xyes
" ; then
30800 ac_save_CFLAGS="$CFLAGS"
30801 ac_save_LIBS="$LIBS"
30802 CFLAGS="$CFLAGS $GTK_CFLAGS"
30803 LIBS="$GTK_LIBS $LIBS"
30805 if test "$cross_compiling" = yes; then
30806 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30808 cat >conftest.$ac_ext <<_ACEOF
30811 cat confdefs.h >>conftest.$ac_ext
30812 cat >>conftest.$ac_ext <<_ACEOF
30813 /* end confdefs.h. */
30815 #include <gtk/gtk.h>
30817 #include <stdlib.h>
30822 int major, minor, micro;
30825 system ("touch conf.gtktest
");
30827 /* HP/UX 9 (%@#!) writes to sscanf strings */
30828 tmp_version = g_strdup("$min_gtk_version");
30829 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30830 printf("%s
, bad version string
\n", "$min_gtk_version");
30834 if ((gtk_major_version != $gtk_config_major_version) ||
30835 (gtk_minor_version != $gtk_config_minor_version) ||
30836 (gtk_micro_version != $gtk_config_micro_version))
30838 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30839 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30840 gtk_major_version, gtk_minor_version, gtk_micro_version);
30841 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
30842 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30843 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30844 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30845 printf("*** required on your system.
\n");
30846 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
30847 printf("*** to point to the correct configuration files
\n");
30849 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30850 (gtk_minor_version != GTK_MINOR_VERSION) ||
30851 (gtk_micro_version != GTK_MICRO_VERSION))
30853 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30854 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30855 printf("*** library
(version
%d.
%d.
%d
)\n",
30856 gtk_major_version, gtk_minor_version, gtk_micro_version);
30860 if ((gtk_major_version > major) ||
30861 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30862 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30868 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30869 gtk_major_version, gtk_minor_version, gtk_micro_version);
30870 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30871 major, minor, micro);
30872 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30874 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30875 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
30876 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30877 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
30878 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
30879 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30880 printf("*** so that the correct libraries are found
at run
-time))\n");
30887 rm -f conftest$ac_exeext
30888 if { (ac_try="$ac_link"
30889 case "(($ac_try" in
30890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30891 *) ac_try_echo=$ac_try;;
30893 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30894 (eval "$ac_link") 2>&5
30896 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30897 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30898 { (case "(($ac_try" in
30899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30900 *) ac_try_echo=$ac_try;;
30902 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30903 (eval "$ac_try") 2>&5
30905 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30906 (exit $ac_status); }; }; then
30909 echo "$as_me: program exited with status
$ac_status" >&5
30910 echo "$as_me: failed program was
:" >&5
30911 sed 's/^/| /' conftest.$ac_ext >&5
30913 ( exit $ac_status )
30916 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30920 CFLAGS="$ac_save_CFLAGS"
30921 LIBS="$ac_save_LIBS"
30924 if test "x
$no_gtk" = x ; then
30925 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
30926 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
30929 { echo "$as_me:$LINENO: result
: no
" >&5
30930 echo "${ECHO_T}no
" >&6; }
30931 if test "$PKG_CONFIG" = "no
" ; then
30932 echo "*** A new enough version of pkg
-config was not found.
"
30933 echo "*** See http
://pkgconfig.sourceforge.net
"
30935 if test -f conf.gtktest ; then
30938 echo "*** Could not run GTK
+ test program
, checking why...
"
30939 ac_save_CFLAGS="$CFLAGS"
30940 ac_save_LIBS="$LIBS"
30941 CFLAGS="$CFLAGS $GTK_CFLAGS"
30942 LIBS="$LIBS $GTK_LIBS"
30943 cat >conftest.$ac_ext <<_ACEOF
30946 cat confdefs.h >>conftest.$ac_ext
30947 cat >>conftest.$ac_ext <<_ACEOF
30948 /* end confdefs.h. */
30950 #include <gtk/gtk.h>
30956 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30961 rm -f conftest.$ac_objext conftest$ac_exeext
30962 if { (ac_try="$ac_link"
30963 case "(($ac_try" in
30964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30965 *) ac_try_echo=$ac_try;;
30967 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30968 (eval "$ac_link") 2>conftest.er1
30970 grep -v '^ *+' conftest.er1 >conftest.err
30972 cat conftest.err >&5
30973 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30974 (exit $ac_status); } && {
30975 test -z "$ac_c_werror_flag" ||
30976 test ! -s conftest.err
30977 } && test -s conftest$ac_exeext &&
30978 $as_test_x conftest$ac_exeext; then
30979 echo "*** The
test program compiled
, but did not run. This usually means
"
30980 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
30981 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
30982 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30983 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30984 echo "*** is required on your system"
30986 echo "*** If you have an old version installed, it is best to remove it, although"
30987 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30989 echo "$as_me: failed program was:" >&5
30990 sed 's
/^
/| /' conftest.$ac_ext >&5
30992 echo "*** The test program failed to compile or link. See the file config.log for the"
30993 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30997 conftest$ac_exeext conftest.$ac_ext
30998 CFLAGS="$ac_save_CFLAGS"
30999 LIBS="$ac_save_LIBS"
31013 if test "$wxUSE_SHARED" != "yes"; then
31014 GTK_LIBS="$GTK_LIBS -lX11"
31019 if test -z "$wx_cv_lib_gtk"; then
31020 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
31022 # Check whether --with-gtk-prefix was given.
31023 if test "${with_gtk_prefix+set}" = set; then
31024 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31026 gtk_config_prefix=""
31030 # Check whether --with-gtk-exec-prefix was given.
31031 if test "${with_gtk_exec_prefix+set}" = set; then
31032 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31034 gtk_config_exec_prefix=""
31037 # Check whether --enable-gtktest was given.
31038 if test "${enable_gtktest+set}" = set; then
31039 enableval=$enable_gtktest;
31045 for module in . $GTK_MODULES
31049 gtk_config_args="$gtk_config_args gthread"
31054 if test x$gtk_config_exec_prefix != x ; then
31055 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31056 if test x${GTK_CONFIG+set} != xset ; then
31057 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31060 if test x$gtk_config_prefix != x ; then
31061 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31062 if test x${GTK_CONFIG+set} != xset ; then
31063 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31067 # Extract the first word of "gtk-config", so it can be a program name with args.
31068 set dummy gtk-config; ac_word=$2
31069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31071 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31072 echo $ECHO_N "(cached) $ECHO_C" >&6
31074 case $GTK_CONFIG in
31076 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31080 for as_dir in $PATH
31083 test -z "$as_dir" && as_dir=.
31084 for ac_exec_ext in '' $ac_executable_extensions; do
31085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31086 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31094 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31098 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31099 if test -n "$GTK_CONFIG"; then
31100 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31101 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31103 { echo "$as_me:$LINENO: result: no" >&5
31104 echo "${ECHO_T}no" >&6; }
31108 min_gtk_version=1.2.7
31109 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31110 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31112 if test "$GTK_CONFIG" = "no" ; then
31115 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31116 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31117 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31118 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
31119 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31120 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
31121 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31122 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
31123 if test "x$enable_gtktest" = "xyes" ; then
31124 ac_save_CFLAGS="$CFLAGS"
31125 ac_save_LIBS="$LIBS"
31126 CFLAGS="$CFLAGS $GTK_CFLAGS"
31127 LIBS="$GTK_LIBS $LIBS"
31129 if test "$cross_compiling" = yes; then
31130 echo $ac_n "cross compiling; assumed OK... $ac_c"
31132 cat >conftest.$ac_ext <<_ACEOF
31135 cat confdefs.h >>conftest.$ac_ext
31136 cat >>conftest.$ac_ext <<_ACEOF
31137 /* end confdefs.h. */
31139 #include <gtk/gtk.h>
31141 #include <stdlib.h>
31146 int major, minor, micro;
31149 system ("touch conf.gtktest");
31151 /* HP/UX 9 (%@#!) writes to sscanf strings */
31152 tmp_version = g_strdup("$min_gtk_version");
31153 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31154 printf("%s, bad version string\n", "$min_gtk_version");
31158 if ((gtk_major_version != $gtk_config_major_version) ||
31159 (gtk_minor_version != $gtk_config_minor_version) ||
31160 (gtk_micro_version != $gtk_config_micro_version))
31162 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31163 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31164 gtk_major_version, gtk_minor_version, gtk_micro_version);
31165 printf ("*** was found! If gtk-config was correct, then it is best\n");
31166 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31167 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31168 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31169 printf("*** required on your system.\n");
31170 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31171 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31172 printf("*** before re-running configure\n");
31174 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31175 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31176 (gtk_minor_version != GTK_MINOR_VERSION) ||
31177 (gtk_micro_version != GTK_MICRO_VERSION))
31179 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31180 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31181 printf("*** library (version %d.%d.%d)\n",
31182 gtk_major_version, gtk_minor_version, gtk_micro_version);
31184 #endif /* defined (GTK_MAJOR_VERSION) ... */
31187 if ((gtk_major_version > major) ||
31188 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31189 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31195 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31196 gtk_major_version, gtk_minor_version, gtk_micro_version);
31197 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31198 major, minor, micro);
31199 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31201 printf("*** If you have already installed a sufficiently new version, this error\n");
31202 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31203 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31204 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31205 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31206 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31207 printf("*** so that the correct libraries are found at run-time))\n");
31214 rm -f conftest$ac_exeext
31215 if { (ac_try="$ac_link"
31216 case "(($ac_try" in
31217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31218 *) ac_try_echo=$ac_try;;
31220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31221 (eval "$ac_link") 2>&5
31223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31224 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
31225 { (case "(($ac_try" in
31226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31227 *) ac_try_echo=$ac_try;;
31229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31230 (eval "$ac_try") 2>&5
31232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31233 (exit $ac_status); }; }; then
31236 echo "$as_me: program exited with status $ac_status" >&5
31237 echo "$as_me: failed program was:" >&5
31238 sed 's
/^
/| /' conftest.$ac_ext >&5
31240 ( exit $ac_status )
31243 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31247 CFLAGS="$ac_save_CFLAGS"
31248 LIBS="$ac_save_LIBS"
31251 if test "x$no_gtk" = x ; then
31252 { echo "$as_me:$LINENO: result: yes" >&5
31253 echo "${ECHO_T}yes" >&6; }
31254 wx_cv_lib_gtk=1.2.7
31256 { echo "$as_me:$LINENO: result: no" >&5
31257 echo "${ECHO_T}no" >&6; }
31258 if test "$GTK_CONFIG" = "no" ; then
31259 echo "*** The gtk-config script installed by GTK could not be found"
31260 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31261 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31262 echo "*** full path to gtk-config."
31264 if test -f conf.gtktest ; then
31267 echo "*** Could not run GTK test program, checking why..."
31268 CFLAGS="$CFLAGS $GTK_CFLAGS"
31269 LIBS="$LIBS $GTK_LIBS"
31270 cat >conftest.$ac_ext <<_ACEOF
31273 cat confdefs.h >>conftest.$ac_ext
31274 cat >>conftest.$ac_ext <<_ACEOF
31275 /* end confdefs.h. */
31277 #include <gtk/gtk.h>
31283 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31288 rm -f conftest.$ac_objext conftest$ac_exeext
31289 if { (ac_try="$ac_link"
31290 case "(($ac_try" in
31291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31292 *) ac_try_echo=$ac_try;;
31294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31295 (eval "$ac_link") 2>conftest.er1
31297 grep -v '^
*+' conftest.er1 >conftest.err
31299 cat conftest.err >&5
31300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31301 (exit $ac_status); } && {
31302 test -z "$ac_c_werror_flag" ||
31303 test ! -s conftest.err
31304 } && test -s conftest$ac_exeext &&
31305 $as_test_x conftest$ac_exeext; then
31306 echo "*** The test program compiled, but did not run. This usually means"
31307 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31308 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
31309 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
31310 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
31311 echo "*** is required on your system
"
31313 echo "*** If you have an old version installed
, it is best to remove it
, although
"
31314 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
31316 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
31317 echo "*** came with the system with the
command"
31319 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
31321 echo "$as_me: failed program was
:" >&5
31322 sed 's/^/| /' conftest.$ac_ext >&5
31324 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
31325 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
31326 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
31327 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
31330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31331 conftest$ac_exeext conftest.$ac_ext
31332 CFLAGS="$ac_save_CFLAGS"
31333 LIBS="$ac_save_LIBS"
31345 if test -z "$wx_cv_lib_gtk"; then
31347 # Check whether --with-gtk-prefix was given.
31348 if test "${with_gtk_prefix+set}" = set; then
31349 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31351 gtk_config_prefix=""
31355 # Check whether --with-gtk-exec-prefix was given.
31356 if test "${with_gtk_exec_prefix+set}" = set; then
31357 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31359 gtk_config_exec_prefix=""
31362 # Check whether --enable-gtktest was given.
31363 if test "${enable_gtktest+set}" = set; then
31364 enableval=$enable_gtktest;
31370 for module in . $GTK_MODULES
31374 gtk_config_args="$gtk_config_args gthread
"
31379 if test x$gtk_config_exec_prefix != x ; then
31380 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31381 if test x${GTK_CONFIG+set} != xset ; then
31382 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31385 if test x$gtk_config_prefix != x ; then
31386 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31387 if test x${GTK_CONFIG+set} != xset ; then
31388 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31392 # Extract the first word of "gtk
-config", so it can be a program name with args.
31393 set dummy gtk-config; ac_word=$2
31394 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
31395 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
31396 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31397 echo $ECHO_N "(cached
) $ECHO_C" >&6
31399 case $GTK_CONFIG in
31401 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31405 for as_dir in $PATH
31408 test -z "$as_dir" && as_dir=.
31409 for ac_exec_ext in '' $ac_executable_extensions; do
31410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31411 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31412 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
31419 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
31423 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31424 if test -n "$GTK_CONFIG"; then
31425 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
31426 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31428 { echo "$as_me:$LINENO: result
: no
" >&5
31429 echo "${ECHO_T}no
" >&6; }
31433 min_gtk_version=1.2.3
31434 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
31435 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
31437 if test "$GTK_CONFIG" = "no
" ; then
31440 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31441 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31442 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31443 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31444 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31446 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31448 if test "x
$enable_gtktest" = "xyes
" ; then
31449 ac_save_CFLAGS="$CFLAGS"
31450 ac_save_LIBS="$LIBS"
31451 CFLAGS="$CFLAGS $GTK_CFLAGS"
31452 LIBS="$GTK_LIBS $LIBS"
31454 if test "$cross_compiling" = yes; then
31455 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
31457 cat >conftest.$ac_ext <<_ACEOF
31460 cat confdefs.h >>conftest.$ac_ext
31461 cat >>conftest.$ac_ext <<_ACEOF
31462 /* end confdefs.h. */
31464 #include <gtk/gtk.h>
31466 #include <stdlib.h>
31471 int major, minor, micro;
31474 system ("touch conf.gtktest
");
31476 /* HP/UX 9 (%@#!) writes to sscanf strings */
31477 tmp_version = g_strdup("$min_gtk_version");
31478 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
31479 printf("%s
, bad version string
\n", "$min_gtk_version");
31483 if ((gtk_major_version != $gtk_config_major_version) ||
31484 (gtk_minor_version != $gtk_config_minor_version) ||
31485 (gtk_micro_version != $gtk_config_micro_version))
31487 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
31488 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31489 gtk_major_version, gtk_minor_version, gtk_micro_version);
31490 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
31491 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
31492 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
31493 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
31494 printf("*** required on your system.
\n");
31495 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
31496 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
31497 printf("*** before re
-running configure
\n");
31499 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31500 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31501 (gtk_minor_version != GTK_MINOR_VERSION) ||
31502 (gtk_micro_version != GTK_MICRO_VERSION))
31504 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
31505 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31506 printf("*** library
(version
%d.
%d.
%d
)\n",
31507 gtk_major_version, gtk_minor_version, gtk_micro_version);
31509 #endif /* defined (GTK_MAJOR_VERSION) ... */
31512 if ((gtk_major_version > major) ||
31513 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31514 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31520 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
31521 gtk_major_version, gtk_minor_version, gtk_micro_version);
31522 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
31523 major, minor, micro);
31524 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
31526 printf("*** If you have already installed a sufficiently new version
, this error
\n");
31527 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
31528 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
31529 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
31530 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
31531 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
31532 printf("*** so that the correct libraries are found
at run
-time))\n");
31539 rm -f conftest$ac_exeext
31540 if { (ac_try="$ac_link"
31541 case "(($ac_try" in
31542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31543 *) ac_try_echo=$ac_try;;
31545 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31546 (eval "$ac_link") 2>&5
31548 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31549 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31550 { (case "(($ac_try" in
31551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31552 *) ac_try_echo=$ac_try;;
31554 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31555 (eval "$ac_try") 2>&5
31557 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31558 (exit $ac_status); }; }; then
31561 echo "$as_me: program exited with status
$ac_status" >&5
31562 echo "$as_me: failed program was
:" >&5
31563 sed 's/^/| /' conftest.$ac_ext >&5
31565 ( exit $ac_status )
31568 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31572 CFLAGS="$ac_save_CFLAGS"
31573 LIBS="$ac_save_LIBS"
31576 if test "x
$no_gtk" = x ; then
31577 { echo "$as_me:$LINENO: result
: yes" >&5
31578 echo "${ECHO_T}yes" >&6; }
31579 wx_cv_lib_gtk=1.2.3
31581 { echo "$as_me:$LINENO: result
: no
" >&5
31582 echo "${ECHO_T}no
" >&6; }
31583 if test "$GTK_CONFIG" = "no
" ; then
31584 echo "*** The gtk
-config script installed by GTK could not be found
"
31585 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
31586 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
31587 echo "*** full path to gtk
-config.
"
31589 if test -f conf.gtktest ; then
31592 echo "*** Could not run GTK
test program
, checking why...
"
31593 CFLAGS="$CFLAGS $GTK_CFLAGS"
31594 LIBS="$LIBS $GTK_LIBS"
31595 cat >conftest.$ac_ext <<_ACEOF
31598 cat confdefs.h >>conftest.$ac_ext
31599 cat >>conftest.$ac_ext <<_ACEOF
31600 /* end confdefs.h. */
31602 #include <gtk/gtk.h>
31608 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31613 rm -f conftest.$ac_objext conftest$ac_exeext
31614 if { (ac_try="$ac_link"
31615 case "(($ac_try" in
31616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31617 *) ac_try_echo=$ac_try;;
31619 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31620 (eval "$ac_link") 2>conftest.er1
31622 grep -v '^ *+' conftest.er1 >conftest.err
31624 cat conftest.err >&5
31625 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31626 (exit $ac_status); } && {
31627 test -z "$ac_c_werror_flag" ||
31628 test ! -s conftest.err
31629 } && test -s conftest$ac_exeext &&
31630 $as_test_x conftest$ac_exeext; then
31631 echo "*** The
test program compiled
, but did not run. This usually means
"
31632 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
31633 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
31634 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31635 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31636 echo "*** is required on your system"
31638 echo "*** If you have an old version installed, it is best to remove it, although"
31639 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31641 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31642 echo "*** came with the system with the command"
31644 echo "*** rpm --erase --nodeps gtk gtk-devel"
31646 echo "$as_me: failed program was:" >&5
31647 sed 's
/^
/| /' conftest.$ac_ext >&5
31649 echo "*** The test program failed to compile or link. See the file config.log for the"
31650 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31651 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31652 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31656 conftest$ac_exeext conftest.$ac_ext
31657 CFLAGS="$ac_save_CFLAGS"
31658 LIBS="$ac_save_LIBS"
31673 if test -z "$wx_cv_lib_gtk"; then
31676 wx_cv_cflags_gtk=$GTK_CFLAGS
31677 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
31684 if test "$gtk_version_cached" = 1; then
31685 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31686 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31689 case "$wx_cv_lib_gtk" in
31698 *) { { echo "$as_me:$LINENO: error:
31699 The development files for GTK+ were not found. For GTK+ 2, please
31700 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31701 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31702 and that the version is 1.2.3 or above. Also check that the
31703 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31704 --libs' are in the LD_LIBRARY_PATH or equivalent.
31706 echo "$as_me: error:
31707 The development files for GTK+ were not found. For GTK+ 2, please
31708 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31709 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31710 and that the version is 1.2.3 or above. Also check that the
31711 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31712 --libs' are in the LD_LIBRARY_PATH or equivalent.
31714 { (exit 1); exit 1; }; }
31718 if test "$WXGTK20" = 1; then
31719 save_CFLAGS="$CFLAGS"
31721 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31722 LIBS="$LIBS $wx_cv_libs_gtk"
31724 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31725 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31726 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31727 echo $ECHO_N "(cached) $ECHO_C" >&6
31729 cat >conftest.$ac_ext <<_ACEOF
31732 cat confdefs.h >>conftest.$ac_ext
31733 cat >>conftest.$ac_ext <<_ACEOF
31734 /* end confdefs.h. */
31735 #include <gtk/gtk.h>
31740 #ifndef gtk_icon_size_lookup
31741 (void) gtk_icon_size_lookup;
31748 rm -f conftest.$ac_objext
31749 if { (ac_try="$ac_compile"
31750 case "(($ac_try" in
31751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31752 *) ac_try_echo=$ac_try;;
31754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31755 (eval "$ac_compile") 2>conftest.er1
31757 grep -v '^
*+' conftest.er1 >conftest.err
31759 cat conftest.err >&5
31760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31761 (exit $ac_status); } && {
31762 test -z "$ac_c_werror_flag" ||
31763 test ! -s conftest.err
31764 } && test -s conftest.$ac_objext; then
31765 ac_cv_have_decl_gtk_icon_size_lookup=yes
31767 echo "$as_me: failed program was:" >&5
31768 sed 's
/^
/| /' conftest.$ac_ext >&5
31770 ac_cv_have_decl_gtk_icon_size_lookup=no
31773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31775 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31776 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31777 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31779 cat >>confdefs.h <<_ACEOF
31780 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31785 cat >>confdefs.h <<_ACEOF
31786 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31789 cat >>confdefs.h <<\_ACEOF
31790 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31798 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31799 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31800 cat >conftest.$ac_ext <<_ACEOF
31803 cat confdefs.h >>conftest.$ac_ext
31804 cat >>conftest.$ac_ext <<_ACEOF
31805 /* end confdefs.h. */
31807 #include <gtk/gtk.h>
31813 #if !GTK_CHECK_VERSION(2,10,0)
31821 rm -f conftest.$ac_objext
31822 if { (ac_try="$ac_compile"
31823 case "(($ac_try" in
31824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31825 *) ac_try_echo=$ac_try;;
31827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31828 (eval "$ac_compile") 2>conftest.er1
31830 grep -v '^
*+' conftest.er1 >conftest.err
31832 cat conftest.err >&5
31833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31834 (exit $ac_status); } && {
31835 test -z "$ac_c_werror_flag" ||
31836 test ! -s conftest.err
31837 } && test -s conftest.$ac_objext; then
31839 cat >>confdefs.h <<\_ACEOF
31840 #define __WXGTK210__ 1
31843 cat >>confdefs.h <<\_ACEOF
31844 #define __WXGTK26__ 1
31847 cat >>confdefs.h <<\_ACEOF
31848 #define __WXGTK24__ 1
31851 { echo "$as_me:$LINENO: result: yes" >&5
31852 echo "${ECHO_T}yes" >&6; }
31856 echo "$as_me: failed program was:" >&5
31857 sed 's
/^
/| /' conftest.$ac_ext >&5
31860 { echo "$as_me:$LINENO: result: no" >&5
31861 echo "${ECHO_T}no" >&6; }
31866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31868 if test "$ac_wxgtk210" = 0; then
31869 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31870 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31871 cat >conftest.$ac_ext <<_ACEOF
31874 cat confdefs.h >>conftest.$ac_ext
31875 cat >>conftest.$ac_ext <<_ACEOF
31876 /* end confdefs.h. */
31878 #include <gtk/gtk.h>
31884 #if !GTK_CHECK_VERSION(2,6,0)
31892 rm -f conftest.$ac_objext
31893 if { (ac_try="$ac_compile"
31894 case "(($ac_try" in
31895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31896 *) ac_try_echo=$ac_try;;
31898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31899 (eval "$ac_compile") 2>conftest.er1
31901 grep -v '^
*+' conftest.er1 >conftest.err
31903 cat conftest.err >&5
31904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31905 (exit $ac_status); } && {
31906 test -z "$ac_c_werror_flag" ||
31907 test ! -s conftest.err
31908 } && test -s conftest.$ac_objext; then
31910 cat >>confdefs.h <<\_ACEOF
31911 #define __WXGTK26__ 1
31914 cat >>confdefs.h <<\_ACEOF
31915 #define __WXGTK24__ 1
31918 { echo "$as_me:$LINENO: result: yes" >&5
31919 echo "${ECHO_T}yes" >&6; }
31923 echo "$as_me: failed program was:" >&5
31924 sed 's
/^
/| /' conftest.$ac_ext >&5
31927 { echo "$as_me:$LINENO: result: no" >&5
31928 echo "${ECHO_T}no" >&6; }
31933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31936 if test "$ac_wxgtk26" = 0; then
31937 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31938 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31939 cat >conftest.$ac_ext <<_ACEOF
31942 cat confdefs.h >>conftest.$ac_ext
31943 cat >>conftest.$ac_ext <<_ACEOF
31944 /* end confdefs.h. */
31946 #include <gtk/gtk.h>
31952 #if !GTK_CHECK_VERSION(2,4,0)
31960 rm -f conftest.$ac_objext
31961 if { (ac_try="$ac_compile"
31962 case "(($ac_try" in
31963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31964 *) ac_try_echo=$ac_try;;
31966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31967 (eval "$ac_compile") 2>conftest.er1
31969 grep -v '^
*+' conftest.er1 >conftest.err
31971 cat conftest.err >&5
31972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31973 (exit $ac_status); } && {
31974 test -z "$ac_c_werror_flag" ||
31975 test ! -s conftest.err
31976 } && test -s conftest.$ac_objext; then
31978 cat >>confdefs.h <<\_ACEOF
31979 #define __WXGTK24__ 1
31982 { echo "$as_me:$LINENO: result: yes" >&5
31983 echo "${ECHO_T}yes" >&6; }
31986 echo "$as_me: failed program was:" >&5
31987 sed 's
/^
/| /' conftest.$ac_ext >&5
31990 { echo "$as_me:$LINENO: result: no" >&5
31991 echo "${ECHO_T}no" >&6; }
31995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31998 CFLAGS="$save_CFLAGS"
32001 if test "$wxUSE_UNICODE" = "yes"; then
32002 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
32003 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
32007 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
32008 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
32009 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
32010 echo $ECHO_N "(cached) $ECHO_C" >&6
32012 ac_check_lib_save_LIBS=$LIBS
32014 cat >conftest.$ac_ext <<_ACEOF
32017 cat confdefs.h >>conftest.$ac_ext
32018 cat >>conftest.$ac_ext <<_ACEOF
32019 /* end confdefs.h. */
32021 /* Override any GCC internal prototype to avoid an error.
32022 Use char because int might match the return type of a GCC
32023 builtin and then its argument prototype would still apply. */
32027 char gdk_im_open ();
32031 return gdk_im_open ();
32036 rm -f conftest.$ac_objext conftest$ac_exeext
32037 if { (ac_try="$ac_link"
32038 case "(($ac_try" in
32039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32040 *) ac_try_echo=$ac_try;;
32042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32043 (eval "$ac_link") 2>conftest.er1
32045 grep -v '^
*+' conftest.er1 >conftest.err
32047 cat conftest.err >&5
32048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32049 (exit $ac_status); } && {
32050 test -z "$ac_c_werror_flag" ||
32051 test ! -s conftest.err
32052 } && test -s conftest$ac_exeext &&
32053 $as_test_x conftest$ac_exeext; then
32054 ac_cv_lib_gdk_gdk_im_open=yes
32056 echo "$as_me: failed program was:" >&5
32057 sed 's
/^
/| /' conftest.$ac_ext >&5
32059 ac_cv_lib_gdk_gdk_im_open=no
32062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32063 conftest$ac_exeext conftest.$ac_ext
32064 LIBS=$ac_check_lib_save_LIBS
32066 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
32067 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
32068 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
32069 cat >>confdefs.h <<\_ACEOF
32076 if test "$USE_DARWIN" != 1; then
32078 for ac_func in poll
32080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32081 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32083 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32084 echo $ECHO_N "(cached) $ECHO_C" >&6
32086 cat >conftest.$ac_ext <<_ACEOF
32089 cat confdefs.h >>conftest.$ac_ext
32090 cat >>conftest.$ac_ext <<_ACEOF
32091 /* end confdefs.h. */
32092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32094 #define $ac_func innocuous_$ac_func
32096 /* System header to define __stub macros and hopefully few prototypes,
32097 which can conflict with char $ac_func (); below.
32098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32099 <limits.h> exists even on freestanding compilers. */
32102 # include <limits.h>
32104 # include <assert.h>
32109 /* Override any GCC internal prototype to avoid an error.
32110 Use char because int might match the return type of a GCC
32111 builtin and then its argument prototype would still apply. */
32116 /* The GNU C library defines this for functions which it implements
32117 to always fail with ENOSYS. Some functions are actually named
32118 something starting with __ and the normal name is an alias. */
32119 #if defined __stub_$ac_func || defined __stub___$ac_func
32126 return $ac_func ();
32131 rm -f conftest.$ac_objext conftest$ac_exeext
32132 if { (ac_try="$ac_link"
32133 case "(($ac_try" in
32134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32135 *) ac_try_echo=$ac_try;;
32137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32138 (eval "$ac_link") 2>conftest.er1
32140 grep -v '^
*+' conftest.er1 >conftest.err
32142 cat conftest.err >&5
32143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32144 (exit $ac_status); } && {
32145 test -z "$ac_c_werror_flag" ||
32146 test ! -s conftest.err
32147 } && test -s conftest$ac_exeext &&
32148 $as_test_x conftest$ac_exeext; then
32149 eval "$as_ac_var=yes"
32151 echo "$as_me: failed program was:" >&5
32152 sed 's
/^
/| /' conftest.$ac_ext >&5
32154 eval "$as_ac_var=no"
32157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32158 conftest$ac_exeext conftest.$ac_ext
32160 ac_res=`eval echo '${'$as_ac_var'}'`
32161 { echo "$as_me:$LINENO: result: $ac_res" >&5
32162 echo "${ECHO_T}$ac_res" >&6; }
32163 if test `eval echo '${'$as_ac_var'}'` = yes; then
32164 cat >>confdefs.h <<_ACEOF
32165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32174 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
32175 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
32177 AFMINSTALL=afminstall
32181 if test "$wxUSE_GPE" = "yes"; then
32182 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
32183 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
32186 for ac_dir in $SEARCH_LIB;
32188 for ac_extension in a so sl dylib dll.a; do
32189 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32190 ac_find_libraries=$ac_dir
32196 if test "$ac_find_libraries" != "" ; then
32198 if test "$ac_find_libraries" = "default location"; then
32201 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32203 if test $result = 0; then
32206 ac_path_to_link=" -L$ac_find_libraries"
32210 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32212 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32213 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32215 { echo "$as_me:$LINENO: result: not found" >&5
32216 echo "${ECHO_T}not found" >&6; }
32222 if test "$wxUSE_MGL" = 1; then
32223 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32224 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32225 if test "x$MGL_ROOT" = x ; then
32226 { echo "$as_me:$LINENO: result: not found" >&5
32227 echo "${ECHO_T}not found" >&6; }
32228 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32229 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32230 { (exit 1); exit 1; }; }
32232 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32233 echo "${ECHO_T}$MGL_ROOT" >&6; }
32236 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32237 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32240 if test "x$wxUSE_SHARED" = xyes ; then
32241 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32243 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32247 mgl_os_candidates="dos32/dj2"
32250 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32251 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32252 { (exit 1); exit 1; }; }
32258 for mgl_os_i in $mgl_os_candidates ; do
32259 if test "x$mgl_os" = x ; then
32260 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32261 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32262 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32267 if test "x$mgl_lib_type" = x ; then
32268 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32269 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32270 mgl_lib_type=release
32277 if test "x$mgl_os" = x ; then
32278 { echo "$as_me:$LINENO: result: not found" >&5
32279 echo "${ECHO_T}not found" >&6; }
32280 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32281 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32282 { (exit 1); exit 1; }; }
32284 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32285 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32287 wxUSE_UNIVERSAL="yes"
32289 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32290 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32292 AFMINSTALL=afminstall
32297 if test "$wxUSE_DFB" = 1; then
32300 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32301 if test -n "$ac_tool_prefix"; then
32302 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32303 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32306 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32307 echo $ECHO_N "(cached) $ECHO_C" >&6
32309 case $PKG_CONFIG in
32311 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32315 for as_dir in $PATH
32318 test -z "$as_dir" && as_dir=.
32319 for ac_exec_ext in '' $ac_executable_extensions; do
32320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32321 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32332 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32333 if test -n "$PKG_CONFIG"; then
32334 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32335 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32337 { echo "$as_me:$LINENO: result: no" >&5
32338 echo "${ECHO_T}no" >&6; }
32343 if test -z "$ac_cv_path_PKG_CONFIG"; then
32344 ac_pt_PKG_CONFIG=$PKG_CONFIG
32345 # Extract the first word of "pkg-config", so it can be a program name with args.
32346 set dummy pkg-config; ac_word=$2
32347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32349 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32350 echo $ECHO_N "(cached) $ECHO_C" >&6
32352 case $ac_pt_PKG_CONFIG in
32354 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32358 for as_dir in $PATH
32361 test -z "$as_dir" && as_dir=.
32362 for ac_exec_ext in '' $ac_executable_extensions; do
32363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32364 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32375 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32376 if test -n "$ac_pt_PKG_CONFIG"; then
32377 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32378 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32380 { echo "$as_me:$LINENO: result: no" >&5
32381 echo "${ECHO_T}no" >&6; }
32384 if test "x$ac_pt_PKG_CONFIG" = x; then
32387 case $cross_compiling:$ac_tool_warned in
32389 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32390 whose name does not start with the host triplet. If you think this
32391 configuration is useful to you, please write to autoconf@gnu.org." >&5
32392 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32393 whose name does not start with the host triplet. If you think this
32394 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32395 ac_tool_warned=yes ;;
32397 PKG_CONFIG=$ac_pt_PKG_CONFIG
32400 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32404 if test -n "$PKG_CONFIG"; then
32405 _pkg_min_version=0.9.0
32406 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32407 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32408 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32409 { echo "$as_me:$LINENO: result: yes" >&5
32410 echo "${ECHO_T}yes" >&6; }
32412 { echo "$as_me:$LINENO: result: no" >&5
32413 echo "${ECHO_T}no" >&6; }
32421 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32422 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32424 if test -n "$PKG_CONFIG"; then
32425 if test -n "$DIRECTFB_CFLAGS"; then
32426 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32428 if test -n "$PKG_CONFIG" && \
32429 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32430 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32433 (exit $ac_status); }; then
32434 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32442 if test -n "$PKG_CONFIG"; then
32443 if test -n "$DIRECTFB_LIBS"; then
32444 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32446 if test -n "$PKG_CONFIG" && \
32447 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32448 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32451 (exit $ac_status); }; then
32452 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32463 if test $pkg_failed = yes; then
32465 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32466 _pkg_short_errors_supported=yes
32468 _pkg_short_errors_supported=no
32470 if test $_pkg_short_errors_supported = yes; then
32471 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32473 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32475 # Put the nasty error message in config.log where it belongs
32476 echo "$DIRECTFB_PKG_ERRORS" >&5
32479 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32480 echo "$as_me: error: DirectFB not found." >&2;}
32481 { (exit 1); exit 1; }; }
32484 elif test $pkg_failed = untried; then
32486 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32487 echo "$as_me: error: DirectFB not found." >&2;}
32488 { (exit 1); exit 1; }; }
32492 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32493 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32494 { echo "$as_me:$LINENO: result: yes" >&5
32495 echo "${ECHO_T}yes" >&6; }
32497 wxUSE_UNIVERSAL="yes"
32498 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32499 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32506 if test "$wxUSE_MICROWIN" = 1; then
32507 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32508 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32509 if test "x$MICROWINDOWS" = x ; then
32510 { echo "$as_me:$LINENO: result: not found" >&5
32511 echo "${ECHO_T}not found" >&6; }
32512 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32513 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32514 { (exit 1); exit 1; }; }
32516 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32517 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32520 if test -f $MICROWINDOWS/lib/libmwin.a; then
32521 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
32522 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
32524 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32525 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32526 { (exit 1); exit 1; }; }
32529 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32530 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32532 wxUSE_UNIVERSAL="yes"
32534 AFMINSTALL=afminstall
32536 GUIDIST=MICROWIN_DIST
32538 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32541 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32542 { echo "$as_me:$LINENO: checking for X" >&5
32543 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32546 # Check whether --with-x was given.
32547 if test "${with_x+set}" = set; then
32551 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
32552 if test "x$with_x" = xno; then
32553 # The user explicitly disabled X.
32556 case $x_includes,$x_libraries in #(
32557 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32558 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
32559 { (exit 1); exit 1; }; };; #(
32560 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32561 echo $ECHO_N "(cached) $ECHO_C" >&6
32563 # One or both of the vars are not set, and there is no cached value.
32564 ac_x_includes=no ac_x_libraries=no
32565 rm -f -r conftest.dir
32566 if mkdir conftest.dir; then
32568 cat >Imakefile <<'_ACEOF'
32570 @echo incroot='${INCROOT}'
32572 @echo usrlibdir='${USRLIBDIR}'
32574 @echo libdir='${LIBDIR}'
32576 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32577 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32578 for ac_var in incroot usrlibdir libdir; do
32579 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
32581 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32582 for ac_extension in a so sl; do
32583 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32584 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32585 ac_im_usrlibdir=$ac_im_libdir; break
32588 # Screen out bogus values from the imake configuration. They are
32589 # bogus both because they are the default anyway, and because
32590 # using them would break gcc on systems where it needs fixed includes.
32591 case $ac_im_incroot in
32592 /usr/include) ac_x_includes= ;;
32593 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32595 case $ac_im_usrlibdir in
32596 /usr/lib | /lib) ;;
32597 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32601 rm -f -r conftest.dir
32604 # Standard set of common directories for X headers.
32605 # Check X11 before X11Rn because it is often a symlink to the current release.
32617 /usr
/local
/X
11/include
32618 /usr
/local
/X
11R
6/include
32619 /usr
/local
/X
11R
5/include
32620 /usr
/local
/X
11R
4/include
32622 /usr
/local
/include
/X11
32623 /usr
/local
/include
/X11R6
32624 /usr
/local
/include
/X11R5
32625 /usr
/local
/include
/X11R4
32629 /usr
/XFree
86/include
/X11
32633 /usr
/unsupported
/include
32634 /usr
/athena
/include
32635 /usr
/local
/x
11r
5/include
32636 /usr
/lpp
/Xamples
/include
32638 /usr
/openwin
/include
32639 /usr
/openwin
/share
/include
'
32641 if test "$ac_x_includes" = no; then
32642 # Guess where to find include files, by looking for Xlib.h.
32643 # First, try using that file with no special directory specified.
32644 cat >conftest.$ac_ext <<_ACEOF
32647 cat confdefs.h >>conftest.$ac_ext
32648 cat >>conftest.$ac_ext <<_ACEOF
32649 /* end confdefs.h. */
32650 #include <X11/Xlib.h>
32652 if { (ac_try="$ac_cpp conftest.$ac_ext"
32653 case "(($ac_try" in
32654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32655 *) ac_try_echo=$ac_try;;
32657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32658 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32660 grep -v '^
*+' conftest.er1 >conftest.err
32662 cat conftest.err >&5
32663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32664 (exit $ac_status); } >/dev/null && {
32665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32666 test ! -s conftest.err
32668 # We can compile using X headers with no special include directory.
32671 echo "$as_me: failed program was:" >&5
32672 sed 's
/^
/| /' conftest.$ac_ext >&5
32674 for ac_dir in $ac_x_header_dirs; do
32675 if test -r "$ac_dir/X11/Xlib.h"; then
32676 ac_x_includes=$ac_dir
32682 rm -f conftest.err conftest.$ac_ext
32683 fi # $ac_x_includes = no
32685 if test "$ac_x_libraries" = no; then
32686 # Check for the libraries.
32687 # See if we find them without any special options.
32688 # Don't add to
$LIBS permanently.
32691 cat >conftest.
$ac_ext <<_ACEOF
32694 cat confdefs.h
>>conftest.
$ac_ext
32695 cat >>conftest.
$ac_ext <<_ACEOF
32696 /* end confdefs.h. */
32697 #include <X11/Xlib.h>
32706 rm -f conftest.
$ac_objext conftest
$ac_exeext
32707 if { (ac_try
="$ac_link"
32708 case "(($ac_try" in
32709 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32710 *) ac_try_echo=$ac_try;;
32712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32713 (eval "$ac_link") 2>conftest.er1
32715 grep -v '^ *+' conftest.er1 >conftest.err
32717 cat conftest.err >&5
32718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32719 (exit $ac_status); } && {
32720 test -z "$ac_c_werror_flag" ||
32721 test ! -s conftest.err
32722 } && test -s conftest$ac_exeext &&
32723 $as_test_x conftest$ac_exeext; then
32725 # We can link X programs with no special library path.
32728 echo "$as_me: failed program was:" >&5
32729 sed 's/^/| /' conftest.$ac_ext >&5
32732 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
32734 # Don't even attempt the hair of trying to link an X program!
32735 for ac_extension in a so sl; do
32736 if test -r "$ac_dir/libX11.$ac_extension"; then
32737 ac_x_libraries=$ac_dir
32744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32745 conftest$ac_exeext conftest.$ac_ext
32746 fi # $ac_x_libraries = no
32748 case $ac_x_includes,$ac_x_libraries in #(
32749 no,* | *,no | *\'*)
32750 # Didn't find X, or a directory has "'" in its name.
32751 ac_cv_have_x="have_x=no";; #(
32753 # Record where we found X for the cache.
32754 ac_cv_have_x="have_x=yes\
32755 ac_x_includes='$ac_x_includes'\
32756 ac_x_libraries='$ac_x_libraries'"
32762 eval "$ac_cv_have_x"
32765 if test "$have_x" != yes; then
32766 { echo "$as_me:$LINENO: result: $have_x" >&5
32767 echo "${ECHO_T}$have_x" >&6; }
32770 # If each of the values was on the command line, it overrides each guess.
32771 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32772 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32773 # Update the cache value to reflect the command line values.
32774 ac_cv_have_x="have_x=yes\
32775 ac_x_includes='$x_includes'\
32776 ac_x_libraries='$x_libraries'"
32777 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32778 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32781 if test "$no_x" = yes; then
32782 # Not all programs may use this symbol, but it does not hurt to define it.
32784 cat >>confdefs.h <<\_ACEOF
32785 #define X_DISPLAY_MISSING 1
32788 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32790 if test -n "$x_includes"; then
32791 X_CFLAGS="$X_CFLAGS -I$x_includes"
32794 # It would also be nice to do this for all -L options, not just this one.
32795 if test -n "$x_libraries"; then
32796 X_LIBS="$X_LIBS -L$x_libraries"
32797 # For Solaris; some versions of Sun CC require a space after -R and
32798 # others require no space. Words are not sufficient . . . .
32799 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32800 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32801 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32802 ac_xsave_c_werror_flag=$ac_c_werror_flag
32803 ac_c_werror_flag=yes
32804 cat >conftest.$ac_ext <<_ACEOF
32807 cat confdefs.h >>conftest.$ac_ext
32808 cat >>conftest.$ac_ext <<_ACEOF
32809 /* end confdefs.h. */
32819 rm -f conftest.$ac_objext conftest$ac_exeext
32820 if { (ac_try="$ac_link"
32821 case "(($ac_try" in
32822 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32823 *) ac_try_echo
=$ac_try;;
32825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32826 (eval "$ac_link") 2>conftest.er1
32828 grep -v '^ *+' conftest.er1
>conftest.err
32830 cat conftest.err
>&5
32831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32832 (exit $ac_status); } && {
32833 test -z "$ac_c_werror_flag" ||
32834 test ! -s conftest.err
32835 } && test -s conftest
$ac_exeext &&
32836 $as_test_x conftest
$ac_exeext; then
32837 { echo "$as_me:$LINENO: result: no" >&5
32838 echo "${ECHO_T}no" >&6; }
32839 X_LIBS
="$X_LIBS -R$x_libraries"
32841 echo "$as_me: failed program was:" >&5
32842 sed 's/^/| /' conftest.
$ac_ext >&5
32844 LIBS
="$ac_xsave_LIBS -R $x_libraries"
32845 cat >conftest.
$ac_ext <<_ACEOF
32848 cat confdefs.h
>>conftest.
$ac_ext
32849 cat >>conftest.
$ac_ext <<_ACEOF
32850 /* end confdefs.h. */
32860 rm -f conftest.
$ac_objext conftest
$ac_exeext
32861 if { (ac_try
="$ac_link"
32862 case "(($ac_try" in
32863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32864 *) ac_try_echo=$ac_try;;
32866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32867 (eval "$ac_link") 2>conftest.er1
32869 grep -v '^ *+' conftest.er1 >conftest.err
32871 cat conftest.err >&5
32872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32873 (exit $ac_status); } && {
32874 test -z "$ac_c_werror_flag" ||
32875 test ! -s conftest.err
32876 } && test -s conftest$ac_exeext &&
32877 $as_test_x conftest$ac_exeext; then
32878 { echo "$as_me:$LINENO: result: yes" >&5
32879 echo "${ECHO_T}yes" >&6; }
32880 X_LIBS="$X_LIBS -R $x_libraries"
32882 echo "$as_me: failed program was:" >&5
32883 sed 's/^/| /' conftest.$ac_ext >&5
32885 { echo "$as_me:$LINENO: result: neither works" >&5
32886 echo "${ECHO_T}neither works" >&6; }
32889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32890 conftest$ac_exeext conftest.$ac_ext
32893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32894 conftest$ac_exeext conftest.$ac_ext
32895 ac_c_werror_flag=$ac_xsave_c_werror_flag
32896 LIBS=$ac_xsave_LIBS
32899 # Check for system-dependent libraries X programs must link with.
32900 # Do this before checking for the system-independent R6 libraries
32901 # (-lICE), since we may need -lsocket or whatever for X linking.
32903 if test "$ISC" = yes; then
32904 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32906 # Martyn Johnson says this is needed for Ultrix, if the X
32907 # libraries were built with DECnet support. And Karl Berry says
32908 # the Alpha needs dnet_stub (dnet does not exist).
32909 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32910 cat >conftest.$ac_ext <<_ACEOF
32913 cat confdefs.h >>conftest.$ac_ext
32914 cat >>conftest.$ac_ext <<_ACEOF
32915 /* end confdefs.h. */
32917 /* Override any GCC internal prototype to avoid an error.
32918 Use char because int might match the return type of a GCC
32919 builtin and then its argument prototype would still apply. */
32923 char XOpenDisplay ();
32927 return XOpenDisplay ();
32932 rm -f conftest.$ac_objext conftest$ac_exeext
32933 if { (ac_try="$ac_link"
32934 case "(($ac_try" in
32935 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32936 *) ac_try_echo
=$ac_try;;
32938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32939 (eval "$ac_link") 2>conftest.er1
32941 grep -v '^ *+' conftest.er1
>conftest.err
32943 cat conftest.err
>&5
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); } && {
32946 test -z "$ac_c_werror_flag" ||
32947 test ! -s conftest.err
32948 } && test -s conftest
$ac_exeext &&
32949 $as_test_x conftest
$ac_exeext; then
32952 echo "$as_me: failed program was:" >&5
32953 sed 's/^/| /' conftest.
$ac_ext >&5
32955 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32956 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32957 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32958 echo $ECHO_N "(cached) $ECHO_C" >&6
32960 ac_check_lib_save_LIBS
=$LIBS
32961 LIBS
="-ldnet $LIBS"
32962 cat >conftest.
$ac_ext <<_ACEOF
32965 cat confdefs.h
>>conftest.
$ac_ext
32966 cat >>conftest.
$ac_ext <<_ACEOF
32967 /* end confdefs.h. */
32969 /* Override any GCC internal prototype to avoid an error.
32970 Use char because int might match the return type of a GCC
32971 builtin and then its argument prototype would still apply. */
32979 return dnet_ntoa ();
32984 rm -f conftest.
$ac_objext conftest
$ac_exeext
32985 if { (ac_try
="$ac_link"
32986 case "(($ac_try" in
32987 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32988 *) ac_try_echo=$ac_try;;
32990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32991 (eval "$ac_link") 2>conftest.er1
32993 grep -v '^ *+' conftest.er1 >conftest.err
32995 cat conftest.err >&5
32996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32997 (exit $ac_status); } && {
32998 test -z "$ac_c_werror_flag" ||
32999 test ! -s conftest.err
33000 } && test -s conftest$ac_exeext &&
33001 $as_test_x conftest$ac_exeext; then
33002 ac_cv_lib_dnet_dnet_ntoa=yes
33004 echo "$as_me: failed program was:" >&5
33005 sed 's/^/| /' conftest.$ac_ext >&5
33007 ac_cv_lib_dnet_dnet_ntoa=no
33010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33011 conftest$ac_exeext conftest.$ac_ext
33012 LIBS=$ac_check_lib_save_LIBS
33014 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
33015 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
33016 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
33017 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
33020 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
33021 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
33022 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
33023 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
33024 echo $ECHO_N "(cached) $ECHO_C" >&6
33026 ac_check_lib_save_LIBS=$LIBS
33027 LIBS="-ldnet_stub $LIBS"
33028 cat >conftest.$ac_ext <<_ACEOF
33031 cat confdefs.h >>conftest.$ac_ext
33032 cat >>conftest.$ac_ext <<_ACEOF
33033 /* end confdefs.h. */
33035 /* Override any GCC internal prototype to avoid an error.
33036 Use char because int might match the return type of a GCC
33037 builtin and then its argument prototype would still apply. */
33045 return dnet_ntoa ();
33050 rm -f conftest.$ac_objext conftest$ac_exeext
33051 if { (ac_try="$ac_link"
33052 case "(($ac_try" in
33053 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33054 *) ac_try_echo
=$ac_try;;
33056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33057 (eval "$ac_link") 2>conftest.er1
33059 grep -v '^ *+' conftest.er1
>conftest.err
33061 cat conftest.err
>&5
33062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063 (exit $ac_status); } && {
33064 test -z "$ac_c_werror_flag" ||
33065 test ! -s conftest.err
33066 } && test -s conftest
$ac_exeext &&
33067 $as_test_x conftest
$ac_exeext; then
33068 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
33070 echo "$as_me: failed program was:" >&5
33071 sed 's/^/| /' conftest.
$ac_ext >&5
33073 ac_cv_lib_dnet_stub_dnet_ntoa
=no
33076 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33077 conftest
$ac_exeext conftest.
$ac_ext
33078 LIBS
=$ac_check_lib_save_LIBS
33080 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
33081 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
33082 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
33083 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
33089 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33090 conftest
$ac_exeext conftest.
$ac_ext
33091 LIBS
="$ac_xsave_LIBS"
33093 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
33094 # to get the SysV transport functions.
33095 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
33097 # The nsl library prevents programs from opening the X display
33098 # on Irix 5.2, according to T.E. Dickey.
33099 # The functions gethostbyname, getservbyname, and inet_addr are
33100 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
33101 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
33102 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
33103 if test "${ac_cv_func_gethostbyname+set}" = set; then
33104 echo $ECHO_N "(cached) $ECHO_C" >&6
33106 cat >conftest.
$ac_ext <<_ACEOF
33109 cat confdefs.h
>>conftest.
$ac_ext
33110 cat >>conftest.
$ac_ext <<_ACEOF
33111 /* end confdefs.h. */
33112 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
33113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33114 #define gethostbyname innocuous_gethostbyname
33116 /* System header to define __stub macros and hopefully few prototypes,
33117 which can conflict with char gethostbyname (); below.
33118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33119 <limits.h> exists even on freestanding compilers. */
33122 # include <limits.h>
33124 # include <assert.h>
33127 #undef gethostbyname
33129 /* Override any GCC internal prototype to avoid an error.
33130 Use char because int might match the return type of a GCC
33131 builtin and then its argument prototype would still apply. */
33135 char gethostbyname ();
33136 /* The GNU C library defines this for functions which it implements
33137 to always fail with ENOSYS. Some functions are actually named
33138 something starting with __ and the normal name is an alias. */
33139 #if defined __stub_gethostbyname || defined __stub___gethostbyname
33146 return gethostbyname ();
33151 rm -f conftest.
$ac_objext conftest
$ac_exeext
33152 if { (ac_try
="$ac_link"
33153 case "(($ac_try" in
33154 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33155 *) ac_try_echo=$ac_try;;
33157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33158 (eval "$ac_link") 2>conftest.er1
33160 grep -v '^ *+' conftest.er1 >conftest.err
33162 cat conftest.err >&5
33163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33164 (exit $ac_status); } && {
33165 test -z "$ac_c_werror_flag" ||
33166 test ! -s conftest.err
33167 } && test -s conftest$ac_exeext &&
33168 $as_test_x conftest$ac_exeext; then
33169 ac_cv_func_gethostbyname=yes
33171 echo "$as_me: failed program was:" >&5
33172 sed 's/^/| /' conftest.$ac_ext >&5
33174 ac_cv_func_gethostbyname=no
33177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33178 conftest$ac_exeext conftest.$ac_ext
33180 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
33181 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
33183 if test $ac_cv_func_gethostbyname = no; then
33184 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
33185 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
33186 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
33187 echo $ECHO_N "(cached) $ECHO_C" >&6
33189 ac_check_lib_save_LIBS=$LIBS
33191 cat >conftest.$ac_ext <<_ACEOF
33194 cat confdefs.h >>conftest.$ac_ext
33195 cat >>conftest.$ac_ext <<_ACEOF
33196 /* end confdefs.h. */
33198 /* Override any GCC internal prototype to avoid an error.
33199 Use char because int might match the return type of a GCC
33200 builtin and then its argument prototype would still apply. */
33204 char gethostbyname ();
33208 return gethostbyname ();
33213 rm -f conftest.$ac_objext conftest$ac_exeext
33214 if { (ac_try="$ac_link"
33215 case "(($ac_try" in
33216 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33217 *) ac_try_echo
=$ac_try;;
33219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33220 (eval "$ac_link") 2>conftest.er1
33222 grep -v '^ *+' conftest.er1
>conftest.err
33224 cat conftest.err
>&5
33225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33226 (exit $ac_status); } && {
33227 test -z "$ac_c_werror_flag" ||
33228 test ! -s conftest.err
33229 } && test -s conftest
$ac_exeext &&
33230 $as_test_x conftest
$ac_exeext; then
33231 ac_cv_lib_nsl_gethostbyname
=yes
33233 echo "$as_me: failed program was:" >&5
33234 sed 's/^/| /' conftest.
$ac_ext >&5
33236 ac_cv_lib_nsl_gethostbyname
=no
33239 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33240 conftest
$ac_exeext conftest.
$ac_ext
33241 LIBS
=$ac_check_lib_save_LIBS
33243 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33244 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33245 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33246 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
33249 if test $ac_cv_lib_nsl_gethostbyname = no
; then
33250 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33251 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33252 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33253 echo $ECHO_N "(cached) $ECHO_C" >&6
33255 ac_check_lib_save_LIBS
=$LIBS
33257 cat >conftest.
$ac_ext <<_ACEOF
33260 cat confdefs.h
>>conftest.
$ac_ext
33261 cat >>conftest.
$ac_ext <<_ACEOF
33262 /* end confdefs.h. */
33264 /* Override any GCC internal prototype to avoid an error.
33265 Use char because int might match the return type of a GCC
33266 builtin and then its argument prototype would still apply. */
33270 char gethostbyname ();
33274 return gethostbyname ();
33279 rm -f conftest.
$ac_objext conftest
$ac_exeext
33280 if { (ac_try
="$ac_link"
33281 case "(($ac_try" in
33282 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33283 *) ac_try_echo=$ac_try;;
33285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33286 (eval "$ac_link") 2>conftest.er1
33288 grep -v '^ *+' conftest.er1 >conftest.err
33290 cat conftest.err >&5
33291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33292 (exit $ac_status); } && {
33293 test -z "$ac_c_werror_flag" ||
33294 test ! -s conftest.err
33295 } && test -s conftest$ac_exeext &&
33296 $as_test_x conftest$ac_exeext; then
33297 ac_cv_lib_bsd_gethostbyname=yes
33299 echo "$as_me: failed program was:" >&5
33300 sed 's/^/| /' conftest.$ac_ext >&5
33302 ac_cv_lib_bsd_gethostbyname=no
33305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33306 conftest$ac_exeext conftest.$ac_ext
33307 LIBS=$ac_check_lib_save_LIBS
33309 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33310 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33311 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33312 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33318 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33319 # socket/setsockopt and other routines are undefined under SCO ODT
33320 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33321 # on later versions), says Simon Leinen: it contains gethostby*
33322 # variants that don't use the name server (or something). -lsocket
33323 # must be given before -lnsl if both are needed. We assume that
33324 # if connect needs -lnsl, so does gethostbyname.
33325 { echo "$as_me:$LINENO: checking for connect" >&5
33326 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33327 if test "${ac_cv_func_connect+set}" = set; then
33328 echo $ECHO_N "(cached) $ECHO_C" >&6
33330 cat >conftest.$ac_ext <<_ACEOF
33333 cat confdefs.h >>conftest.$ac_ext
33334 cat >>conftest.$ac_ext <<_ACEOF
33335 /* end confdefs.h. */
33336 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33338 #define connect innocuous_connect
33340 /* System header to define __stub macros and hopefully few prototypes,
33341 which can conflict with char connect (); below.
33342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33343 <limits.h> exists even on freestanding compilers. */
33346 # include <limits.h>
33348 # include <assert.h>
33353 /* Override any GCC internal prototype to avoid an error.
33354 Use char because int might match the return type of a GCC
33355 builtin and then its argument prototype would still apply. */
33360 /* The GNU C library defines this for functions which it implements
33361 to always fail with ENOSYS. Some functions are actually named
33362 something starting with __ and the normal name is an alias. */
33363 #if defined __stub_connect || defined __stub___connect
33375 rm -f conftest.$ac_objext conftest$ac_exeext
33376 if { (ac_try="$ac_link"
33377 case "(($ac_try" in
33378 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33379 *) ac_try_echo
=$ac_try;;
33381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33382 (eval "$ac_link") 2>conftest.er1
33384 grep -v '^ *+' conftest.er1
>conftest.err
33386 cat conftest.err
>&5
33387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33388 (exit $ac_status); } && {
33389 test -z "$ac_c_werror_flag" ||
33390 test ! -s conftest.err
33391 } && test -s conftest
$ac_exeext &&
33392 $as_test_x conftest
$ac_exeext; then
33393 ac_cv_func_connect
=yes
33395 echo "$as_me: failed program was:" >&5
33396 sed 's/^/| /' conftest.
$ac_ext >&5
33398 ac_cv_func_connect
=no
33401 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33402 conftest
$ac_exeext conftest.
$ac_ext
33404 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33405 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33407 if test $ac_cv_func_connect = no
; then
33408 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33409 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33410 if test "${ac_cv_lib_socket_connect+set}" = set; then
33411 echo $ECHO_N "(cached) $ECHO_C" >&6
33413 ac_check_lib_save_LIBS
=$LIBS
33414 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
33415 cat >conftest.
$ac_ext <<_ACEOF
33418 cat confdefs.h
>>conftest.
$ac_ext
33419 cat >>conftest.
$ac_ext <<_ACEOF
33420 /* end confdefs.h. */
33422 /* Override any GCC internal prototype to avoid an error.
33423 Use char because int might match the return type of a GCC
33424 builtin and then its argument prototype would still apply. */
33437 rm -f conftest.
$ac_objext conftest
$ac_exeext
33438 if { (ac_try
="$ac_link"
33439 case "(($ac_try" in
33440 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33441 *) ac_try_echo=$ac_try;;
33443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33444 (eval "$ac_link") 2>conftest.er1
33446 grep -v '^ *+' conftest.er1 >conftest.err
33448 cat conftest.err >&5
33449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33450 (exit $ac_status); } && {
33451 test -z "$ac_c_werror_flag" ||
33452 test ! -s conftest.err
33453 } && test -s conftest$ac_exeext &&
33454 $as_test_x conftest$ac_exeext; then
33455 ac_cv_lib_socket_connect=yes
33457 echo "$as_me: failed program was:" >&5
33458 sed 's/^/| /' conftest.$ac_ext >&5
33460 ac_cv_lib_socket_connect=no
33463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33464 conftest$ac_exeext conftest.$ac_ext
33465 LIBS=$ac_check_lib_save_LIBS
33467 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33468 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33469 if test $ac_cv_lib_socket_connect = yes; then
33470 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33475 # Guillermo Gomez says -lposix is necessary on A/UX.
33476 { echo "$as_me:$LINENO: checking for remove" >&5
33477 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33478 if test "${ac_cv_func_remove+set}" = set; then
33479 echo $ECHO_N "(cached) $ECHO_C" >&6
33481 cat >conftest.$ac_ext <<_ACEOF
33484 cat confdefs.h >>conftest.$ac_ext
33485 cat >>conftest.$ac_ext <<_ACEOF
33486 /* end confdefs.h. */
33487 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33489 #define remove innocuous_remove
33491 /* System header to define __stub macros and hopefully few prototypes,
33492 which can conflict with char remove (); below.
33493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33494 <limits.h> exists even on freestanding compilers. */
33497 # include <limits.h>
33499 # include <assert.h>
33504 /* Override any GCC internal prototype to avoid an error.
33505 Use char because int might match the return type of a GCC
33506 builtin and then its argument prototype would still apply. */
33511 /* The GNU C library defines this for functions which it implements
33512 to always fail with ENOSYS. Some functions are actually named
33513 something starting with __ and the normal name is an alias. */
33514 #if defined __stub_remove || defined __stub___remove
33526 rm -f conftest.$ac_objext conftest$ac_exeext
33527 if { (ac_try="$ac_link"
33528 case "(($ac_try" in
33529 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33530 *) ac_try_echo
=$ac_try;;
33532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33533 (eval "$ac_link") 2>conftest.er1
33535 grep -v '^ *+' conftest.er1
>conftest.err
33537 cat conftest.err
>&5
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); } && {
33540 test -z "$ac_c_werror_flag" ||
33541 test ! -s conftest.err
33542 } && test -s conftest
$ac_exeext &&
33543 $as_test_x conftest
$ac_exeext; then
33544 ac_cv_func_remove
=yes
33546 echo "$as_me: failed program was:" >&5
33547 sed 's/^/| /' conftest.
$ac_ext >&5
33549 ac_cv_func_remove
=no
33552 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33553 conftest
$ac_exeext conftest.
$ac_ext
33555 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33556 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33558 if test $ac_cv_func_remove = no
; then
33559 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33560 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33561 if test "${ac_cv_lib_posix_remove+set}" = set; then
33562 echo $ECHO_N "(cached) $ECHO_C" >&6
33564 ac_check_lib_save_LIBS
=$LIBS
33565 LIBS
="-lposix $LIBS"
33566 cat >conftest.
$ac_ext <<_ACEOF
33569 cat confdefs.h
>>conftest.
$ac_ext
33570 cat >>conftest.
$ac_ext <<_ACEOF
33571 /* end confdefs.h. */
33573 /* Override any GCC internal prototype to avoid an error.
33574 Use char because int might match the return type of a GCC
33575 builtin and then its argument prototype would still apply. */
33588 rm -f conftest.
$ac_objext conftest
$ac_exeext
33589 if { (ac_try
="$ac_link"
33590 case "(($ac_try" in
33591 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33592 *) ac_try_echo=$ac_try;;
33594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33595 (eval "$ac_link") 2>conftest.er1
33597 grep -v '^ *+' conftest.er1 >conftest.err
33599 cat conftest.err >&5
33600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33601 (exit $ac_status); } && {
33602 test -z "$ac_c_werror_flag" ||
33603 test ! -s conftest.err
33604 } && test -s conftest$ac_exeext &&
33605 $as_test_x conftest$ac_exeext; then
33606 ac_cv_lib_posix_remove=yes
33608 echo "$as_me: failed program was:" >&5
33609 sed 's/^/| /' conftest.$ac_ext >&5
33611 ac_cv_lib_posix_remove=no
33614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33615 conftest$ac_exeext conftest.$ac_ext
33616 LIBS=$ac_check_lib_save_LIBS
33618 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33619 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33620 if test $ac_cv_lib_posix_remove = yes; then
33621 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33626 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33627 { echo "$as_me:$LINENO: checking for shmat" >&5
33628 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33629 if test "${ac_cv_func_shmat+set}" = set; then
33630 echo $ECHO_N "(cached) $ECHO_C" >&6
33632 cat >conftest.$ac_ext <<_ACEOF
33635 cat confdefs.h >>conftest.$ac_ext
33636 cat >>conftest.$ac_ext <<_ACEOF
33637 /* end confdefs.h. */
33638 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33640 #define shmat innocuous_shmat
33642 /* System header to define __stub macros and hopefully few prototypes,
33643 which can conflict with char shmat (); below.
33644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33645 <limits.h> exists even on freestanding compilers. */
33648 # include <limits.h>
33650 # include <assert.h>
33655 /* Override any GCC internal prototype to avoid an error.
33656 Use char because int might match the return type of a GCC
33657 builtin and then its argument prototype would still apply. */
33662 /* The GNU C library defines this for functions which it implements
33663 to always fail with ENOSYS. Some functions are actually named
33664 something starting with __ and the normal name is an alias. */
33665 #if defined __stub_shmat || defined __stub___shmat
33677 rm -f conftest.$ac_objext conftest$ac_exeext
33678 if { (ac_try="$ac_link"
33679 case "(($ac_try" in
33680 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33681 *) ac_try_echo
=$ac_try;;
33683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33684 (eval "$ac_link") 2>conftest.er1
33686 grep -v '^ *+' conftest.er1
>conftest.err
33688 cat conftest.err
>&5
33689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33690 (exit $ac_status); } && {
33691 test -z "$ac_c_werror_flag" ||
33692 test ! -s conftest.err
33693 } && test -s conftest
$ac_exeext &&
33694 $as_test_x conftest
$ac_exeext; then
33695 ac_cv_func_shmat
=yes
33697 echo "$as_me: failed program was:" >&5
33698 sed 's/^/| /' conftest.
$ac_ext >&5
33700 ac_cv_func_shmat
=no
33703 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33704 conftest
$ac_exeext conftest.
$ac_ext
33706 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33707 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33709 if test $ac_cv_func_shmat = no
; then
33710 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33711 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33712 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33713 echo $ECHO_N "(cached) $ECHO_C" >&6
33715 ac_check_lib_save_LIBS
=$LIBS
33717 cat >conftest.
$ac_ext <<_ACEOF
33720 cat confdefs.h
>>conftest.
$ac_ext
33721 cat >>conftest.
$ac_ext <<_ACEOF
33722 /* end confdefs.h. */
33724 /* Override any GCC internal prototype to avoid an error.
33725 Use char because int might match the return type of a GCC
33726 builtin and then its argument prototype would still apply. */
33739 rm -f conftest.
$ac_objext conftest
$ac_exeext
33740 if { (ac_try
="$ac_link"
33741 case "(($ac_try" in
33742 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33743 *) ac_try_echo=$ac_try;;
33745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33746 (eval "$ac_link") 2>conftest.er1
33748 grep -v '^ *+' conftest.er1 >conftest.err
33750 cat conftest.err >&5
33751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33752 (exit $ac_status); } && {
33753 test -z "$ac_c_werror_flag" ||
33754 test ! -s conftest.err
33755 } && test -s conftest$ac_exeext &&
33756 $as_test_x conftest$ac_exeext; then
33757 ac_cv_lib_ipc_shmat=yes
33759 echo "$as_me: failed program was:" >&5
33760 sed 's/^/| /' conftest.$ac_ext >&5
33762 ac_cv_lib_ipc_shmat=no
33765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33766 conftest$ac_exeext conftest.$ac_ext
33767 LIBS=$ac_check_lib_save_LIBS
33769 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33770 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33771 if test $ac_cv_lib_ipc_shmat = yes; then
33772 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33778 # Check for libraries that X11R6 Xt/Xaw programs need.
33779 ac_save_LDFLAGS=$LDFLAGS
33780 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33781 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33782 # check for ICE first), but we must link in the order -lSM -lICE or
33783 # we get undefined symbols. So assume we have SM if we have ICE.
33784 # These have to be linked with before -lX11, unlike the other
33785 # libraries we check for below, so use a different variable.
33786 # John Interrante, Karl Berry
33787 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33788 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33789 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33790 echo $ECHO_N "(cached) $ECHO_C" >&6
33792 ac_check_lib_save_LIBS=$LIBS
33793 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33794 cat >conftest.$ac_ext <<_ACEOF
33797 cat confdefs.h >>conftest.$ac_ext
33798 cat >>conftest.$ac_ext <<_ACEOF
33799 /* end confdefs.h. */
33801 /* Override any GCC internal prototype to avoid an error.
33802 Use char because int might match the return type of a GCC
33803 builtin and then its argument prototype would still apply. */
33807 char IceConnectionNumber ();
33811 return IceConnectionNumber ();
33816 rm -f conftest.$ac_objext conftest$ac_exeext
33817 if { (ac_try="$ac_link"
33818 case "(($ac_try" in
33819 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33820 *) ac_try_echo
=$ac_try;;
33822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33823 (eval "$ac_link") 2>conftest.er1
33825 grep -v '^ *+' conftest.er1
>conftest.err
33827 cat conftest.err
>&5
33828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33829 (exit $ac_status); } && {
33830 test -z "$ac_c_werror_flag" ||
33831 test ! -s conftest.err
33832 } && test -s conftest
$ac_exeext &&
33833 $as_test_x conftest
$ac_exeext; then
33834 ac_cv_lib_ICE_IceConnectionNumber
=yes
33836 echo "$as_me: failed program was:" >&5
33837 sed 's/^/| /' conftest.
$ac_ext >&5
33839 ac_cv_lib_ICE_IceConnectionNumber
=no
33842 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33843 conftest
$ac_exeext conftest.
$ac_ext
33844 LIBS
=$ac_check_lib_save_LIBS
33846 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33847 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33848 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33849 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
33852 LDFLAGS
=$ac_save_LDFLAGS
33857 if test "$no_x" = "yes"; then
33858 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33859 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33860 { (exit 1); exit 1; }; }
33863 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33864 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
33865 AFMINSTALL
=afminstall
33866 COMPILED_X_PROGRAM
=0
33870 if test "$wxUSE_X11" = 1; then
33871 if test "$wxUSE_NANOX" = "yes"; then
33872 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33873 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33874 if test "x$MICROWIN" = x
; then
33875 { echo "$as_me:$LINENO: result: not found" >&5
33876 echo "${ECHO_T}not found" >&6; }
33877 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33878 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33879 { (exit 1); exit 1; }; }
33881 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33882 echo "${ECHO_T}$MICROWIN" >&6; }
33883 cat >>confdefs.h
<<\_ACEOF
33884 #define wxUSE_NANOX 1
33890 if test "$wxUSE_UNICODE" = "yes"; then
33893 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33894 if test -n "$ac_tool_prefix"; then
33895 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33896 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33899 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33900 echo $ECHO_N "(cached) $ECHO_C" >&6
33902 case $PKG_CONFIG in
33904 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33908 for as_dir
in $PATH
33911 test -z "$as_dir" && as_dir
=.
33912 for ac_exec_ext
in '' $ac_executable_extensions; do
33913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33914 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33925 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33926 if test -n "$PKG_CONFIG"; then
33927 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33928 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33930 { echo "$as_me:$LINENO: result: no" >&5
33931 echo "${ECHO_T}no" >&6; }
33936 if test -z "$ac_cv_path_PKG_CONFIG"; then
33937 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33938 # Extract the first word of "pkg-config", so it can be a program name with args.
33939 set dummy pkg
-config; ac_word
=$2
33940 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33942 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33943 echo $ECHO_N "(cached) $ECHO_C" >&6
33945 case $ac_pt_PKG_CONFIG in
33947 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33951 for as_dir
in $PATH
33954 test -z "$as_dir" && as_dir
=.
33955 for ac_exec_ext
in '' $ac_executable_extensions; do
33956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33957 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33968 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33969 if test -n "$ac_pt_PKG_CONFIG"; then
33970 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33971 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33973 { echo "$as_me:$LINENO: result: no" >&5
33974 echo "${ECHO_T}no" >&6; }
33977 if test "x$ac_pt_PKG_CONFIG" = x
; then
33980 case $cross_compiling:$ac_tool_warned in
33982 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33983 whose name does not start with the host triplet. If you think this
33984 configuration is useful to you, please write to autoconf@gnu.org." >&5
33985 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33986 whose name does not start with the host triplet. If you think this
33987 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33988 ac_tool_warned
=yes ;;
33990 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33993 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33997 if test -n "$PKG_CONFIG"; then
33998 _pkg_min_version
=0.9.0
33999 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
34000 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
34001 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34002 { echo "$as_me:$LINENO: result: yes" >&5
34003 echo "${ECHO_T}yes" >&6; }
34005 { echo "$as_me:$LINENO: result: no" >&5
34006 echo "${ECHO_T}no" >&6; }
34014 { echo "$as_me:$LINENO: checking for PANGOX" >&5
34015 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
34017 if test -n "$PKG_CONFIG"; then
34018 if test -n "$PANGOX_CFLAGS"; then
34019 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
34021 if test -n "$PKG_CONFIG" && \
34022 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
34023 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
34025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34026 (exit $ac_status); }; then
34027 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
34035 if test -n "$PKG_CONFIG"; then
34036 if test -n "$PANGOX_LIBS"; then
34037 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
34039 if test -n "$PKG_CONFIG" && \
34040 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
34041 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
34043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34044 (exit $ac_status); }; then
34045 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
34056 if test $pkg_failed = yes; then
34058 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34059 _pkg_short_errors_supported
=yes
34061 _pkg_short_errors_supported
=no
34063 if test $_pkg_short_errors_supported = yes; then
34064 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
34066 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
34068 # Put the nasty error message in config.log where it belongs
34069 echo "$PANGOX_PKG_ERRORS" >&5
34072 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34073 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34074 { (exit 1); exit 1; }; }
34077 elif test $pkg_failed = untried
; then
34079 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34080 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34081 { (exit 1); exit 1; }; }
34085 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
34086 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
34087 { echo "$as_me:$LINENO: result: yes" >&5
34088 echo "${ECHO_T}yes" >&6; }
34090 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
34091 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
34092 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
34097 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
34098 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
34100 if test -n "$PKG_CONFIG"; then
34101 if test -n "$PANGOFT2_CFLAGS"; then
34102 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
34104 if test -n "$PKG_CONFIG" && \
34105 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34106 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34109 (exit $ac_status); }; then
34110 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
34118 if test -n "$PKG_CONFIG"; then
34119 if test -n "$PANGOFT2_LIBS"; then
34120 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
34122 if test -n "$PKG_CONFIG" && \
34123 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34124 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34127 (exit $ac_status); }; then
34128 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
34139 if test $pkg_failed = yes; then
34141 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34142 _pkg_short_errors_supported
=yes
34144 _pkg_short_errors_supported
=no
34146 if test $_pkg_short_errors_supported = yes; then
34147 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
34149 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
34151 # Put the nasty error message in config.log where it belongs
34152 echo "$PANGOFT2_PKG_ERRORS" >&5
34155 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34156 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34157 wxUSE_PRINTING_ARCHITECTURE
="no"
34160 elif test $pkg_failed = untried
; then
34162 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34163 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34164 wxUSE_PRINTING_ARCHITECTURE
="no"
34168 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
34169 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
34170 { echo "$as_me:$LINENO: result: yes" >&5
34171 echo "${ECHO_T}yes" >&6; }
34173 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
34174 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
34175 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
34180 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
34181 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
34183 if test -n "$PKG_CONFIG"; then
34184 if test -n "$PANGOXFT_CFLAGS"; then
34185 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
34187 if test -n "$PKG_CONFIG" && \
34188 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34189 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34192 (exit $ac_status); }; then
34193 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34201 if test -n "$PKG_CONFIG"; then
34202 if test -n "$PANGOXFT_LIBS"; then
34203 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
34205 if test -n "$PKG_CONFIG" && \
34206 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34207 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34210 (exit $ac_status); }; then
34211 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34222 if test $pkg_failed = yes; then
34224 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34225 _pkg_short_errors_supported
=yes
34227 _pkg_short_errors_supported
=no
34229 if test $_pkg_short_errors_supported = yes; then
34230 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34232 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34234 # Put the nasty error message in config.log where it belongs
34235 echo "$PANGOXFT_PKG_ERRORS" >&5
34238 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34239 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34242 elif test $pkg_failed = untried
; then
34244 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34245 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34249 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
34250 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
34251 { echo "$as_me:$LINENO: result: yes" >&5
34252 echo "${ECHO_T}yes" >&6; }
34254 cat >>confdefs.h
<<\_ACEOF
34255 #define HAVE_PANGO_XFT 1
34258 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
34259 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
34260 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34264 LIBS
="$LIBS $PANGOX_LIBS"
34266 for ac_func
in pango_font_family_is_monospace
34268 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34269 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34271 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34272 echo $ECHO_N "(cached) $ECHO_C" >&6
34274 cat >conftest.
$ac_ext <<_ACEOF
34277 cat confdefs.h
>>conftest.
$ac_ext
34278 cat >>conftest.
$ac_ext <<_ACEOF
34279 /* end confdefs.h. */
34280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34282 #define $ac_func innocuous_$ac_func
34284 /* System header to define __stub macros and hopefully few prototypes,
34285 which can conflict with char $ac_func (); below.
34286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34287 <limits.h> exists even on freestanding compilers. */
34290 # include <limits.h>
34292 # include <assert.h>
34297 /* Override any GCC internal prototype to avoid an error.
34298 Use char because int might match the return type of a GCC
34299 builtin and then its argument prototype would still apply. */
34304 /* The GNU C library defines this for functions which it implements
34305 to always fail with ENOSYS. Some functions are actually named
34306 something starting with __ and the normal name is an alias. */
34307 #if defined __stub_$ac_func || defined __stub___$ac_func
34314 return $ac_func ();
34319 rm -f conftest.
$ac_objext conftest
$ac_exeext
34320 if { (ac_try
="$ac_link"
34321 case "(($ac_try" in
34322 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34323 *) ac_try_echo=$ac_try;;
34325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34326 (eval "$ac_link") 2>conftest.er1
34328 grep -v '^ *+' conftest.er1 >conftest.err
34330 cat conftest.err >&5
34331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34332 (exit $ac_status); } && {
34333 test -z "$ac_c_werror_flag" ||
34334 test ! -s conftest.err
34335 } && test -s conftest$ac_exeext &&
34336 $as_test_x conftest$ac_exeext; then
34337 eval "$as_ac_var=yes"
34339 echo "$as_me: failed program was:" >&5
34340 sed 's/^/| /' conftest.$ac_ext >&5
34342 eval "$as_ac_var=no"
34345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34346 conftest$ac_exeext conftest.$ac_ext
34348 ac_res=`eval echo '${'$as_ac_var'}'`
34349 { echo "$as_me:$LINENO: result: $ac_res" >&5
34350 echo "${ECHO_T}$ac_res" >&6; }
34351 if test `eval echo '${'$as_ac_var'}'` = yes; then
34352 cat >>confdefs.h <<_ACEOF
34353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34362 wxUSE_UNIVERSAL="yes"
34364 if test "$wxUSE_NANOX" = "yes"; then
34365 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34366 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"
34367 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34369 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34376 if test "$wxUSE_MOTIF" = 1; then
34377 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34378 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34381 for ac_dir in $SEARCH_INCLUDE /usr/include;
34383 if test -f "$ac_dir/Xm/Xm.h"; then
34384 ac_find_includes=$ac_dir
34389 if test "$ac_find_includes" != "" ; then
34390 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34391 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34393 if test "x$ac_find_includes" = "x/usr/include"; then
34394 ac_path_to_include=""
34396 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34398 if test $result = 0; then
34399 ac_path_to_include=""
34401 ac_path_to_include=" -I$ac_find_includes"
34405 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34407 save_CFLAGS=$CFLAGS
34408 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34410 cat >conftest.$ac_ext <<_ACEOF
34413 cat confdefs.h >>conftest.$ac_ext
34414 cat >>conftest.$ac_ext <<_ACEOF
34415 /* end confdefs.h. */
34424 version = xmUseVersion;
34430 rm -f conftest.$ac_objext
34431 if { (ac_try="$ac_compile"
34432 case "(($ac_try" in
34433 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34434 *) ac_try_echo
=$ac_try;;
34436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34437 (eval "$ac_compile") 2>conftest.er1
34439 grep -v '^ *+' conftest.er1
>conftest.err
34441 cat conftest.err
>&5
34442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34443 (exit $ac_status); } && {
34444 test -z "$ac_c_werror_flag" ||
34445 test ! -s conftest.err
34446 } && test -s conftest.
$ac_objext; then
34448 { echo "$as_me:$LINENO: result: found in default search path" >&5
34449 echo "${ECHO_T}found in default search path" >&6; }
34450 COMPILED_X_PROGRAM
=1
34453 echo "$as_me: failed program was:" >&5
34454 sed 's/^/| /' conftest.
$ac_ext >&5
34457 { echo "$as_me:$LINENO: result: no" >&5
34458 echo "${ECHO_T}no" >&6; }
34459 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34460 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34461 { (exit 1); exit 1; }; }
34466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34468 CFLAGS
=$save_CFLAGS
34472 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34473 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34476 for ac_dir
in $SEARCH_LIB;
34478 for ac_extension
in a so sl dylib dll.a
; do
34479 if test -f "$ac_dir/libXm.$ac_extension"; then
34480 ac_find_libraries
=$ac_dir
34487 if test "x$ac_find_libraries" != "x" ; then
34488 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34489 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34492 if test "$ac_find_libraries" = "default location"; then
34495 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
34497 if test $result = 0; then
34500 ac_path_to_link
=" -L$ac_find_libraries"
34504 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
34506 save_CFLAGS
=$CFLAGS
34507 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
34509 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34511 cat >conftest.
$ac_ext <<_ACEOF
34514 cat confdefs.h
>>conftest.
$ac_ext
34515 cat >>conftest.
$ac_ext <<_ACEOF
34516 /* end confdefs.h. */
34525 version = xmUseVersion;
34531 rm -f conftest.
$ac_objext conftest
$ac_exeext
34532 if { (ac_try
="$ac_link"
34533 case "(($ac_try" in
34534 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34535 *) ac_try_echo=$ac_try;;
34537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34538 (eval "$ac_link") 2>conftest.er1
34540 grep -v '^ *+' conftest.er1 >conftest.err
34542 cat conftest.err >&5
34543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34544 (exit $ac_status); } && {
34545 test -z "$ac_c_werror_flag" ||
34546 test ! -s conftest.err
34547 } && test -s conftest$ac_exeext &&
34548 $as_test_x conftest$ac_exeext; then
34550 { echo "$as_me:$LINENO: result: found in default search path" >&5
34551 echo "${ECHO_T}found in default search path" >&6; }
34552 COMPILED_X_PROGRAM=1
34555 echo "$as_me: failed program was:" >&5
34556 sed 's/^/| /' conftest.$ac_ext >&5
34559 { echo "$as_me:$LINENO: result: no" >&5
34560 echo "${ECHO_T}no" >&6; }
34561 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34562 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34563 { (exit 1); exit 1; }; }
34568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34569 conftest$ac_exeext conftest.$ac_ext
34571 CFLAGS=$save_CFLAGS
34575 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34576 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34580 for libp in "" " -lXp"; do
34581 if test "$libs_found" = "0"; then
34582 for libsm_ice in "" " -lSM -lICE"; do
34583 if test "$libs_found" = "0"; then
34585 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34586 save_CFLAGS=$CFLAGS
34587 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34589 cat >conftest.$ac_ext <<_ACEOF
34592 cat confdefs.h >>conftest.$ac_ext
34593 cat >>conftest.$ac_ext <<_ACEOF
34594 /* end confdefs.h. */
34597 #include <Xm/List.h>
34603 XmString string = NULL;
34606 XmListAddItem(w, string, position);
34612 rm -f conftest.$ac_objext conftest$ac_exeext
34613 if { (ac_try="$ac_link"
34614 case "(($ac_try" in
34615 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34616 *) ac_try_echo
=$ac_try;;
34618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34619 (eval "$ac_link") 2>conftest.er1
34621 grep -v '^ *+' conftest.er1
>conftest.err
34623 cat conftest.err
>&5
34624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34625 (exit $ac_status); } && {
34626 test -z "$ac_c_werror_flag" ||
34627 test ! -s conftest.err
34628 } && test -s conftest
$ac_exeext &&
34629 $as_test_x conftest
$ac_exeext; then
34632 libsm_ice_link
="$libsm_ice"
34633 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34634 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34638 echo "$as_me: failed program was:" >&5
34639 sed 's/^/| /' conftest.
$ac_ext >&5
34645 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34646 conftest
$ac_exeext conftest.
$ac_ext
34649 CFLAGS
=$save_CFLAGS
34655 if test "$libs_found" = "0"; then
34656 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34657 echo "${ECHO_T}can't find the right libraries" >&6; }
34658 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34659 echo "$as_me: error: can't link a simple motif program" >&2;}
34660 { (exit 1); exit 1; }; }
34663 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34664 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34665 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34666 echo $ECHO_N "(cached) $ECHO_C" >&6
34668 ac_check_lib_save_LIBS
=$LIBS
34670 cat >conftest.
$ac_ext <<_ACEOF
34673 cat confdefs.h
>>conftest.
$ac_ext
34674 cat >>conftest.
$ac_ext <<_ACEOF
34675 /* end confdefs.h. */
34677 /* Override any GCC internal prototype to avoid an error.
34678 Use char because int might match the return type of a GCC
34679 builtin and then its argument prototype would still apply. */
34683 char SgCreateList ();
34687 return SgCreateList ();
34692 rm -f conftest.
$ac_objext conftest
$ac_exeext
34693 if { (ac_try
="$ac_link"
34694 case "(($ac_try" in
34695 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34696 *) ac_try_echo=$ac_try;;
34698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34699 (eval "$ac_link") 2>conftest.er1
34701 grep -v '^ *+' conftest.er1 >conftest.err
34703 cat conftest.err >&5
34704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34705 (exit $ac_status); } && {
34706 test -z "$ac_c_werror_flag" ||
34707 test ! -s conftest.err
34708 } && test -s conftest$ac_exeext &&
34709 $as_test_x conftest$ac_exeext; then
34710 ac_cv_lib_Sgm_SgCreateList=yes
34712 echo "$as_me: failed program was:" >&5
34713 sed 's/^/| /' conftest.$ac_ext >&5
34715 ac_cv_lib_Sgm_SgCreateList=no
34718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34719 conftest$ac_exeext conftest.$ac_ext
34720 LIBS=$ac_check_lib_save_LIBS
34722 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34723 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34724 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34725 libsgm_link=" -lSgm"
34729 save_CFLAGS=$CFLAGS
34730 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34732 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34733 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34734 if test "${wx_cv_lib_motif2+set}" = set; then
34735 echo $ECHO_N "(cached) $ECHO_C" >&6
34737 cat >conftest.$ac_ext <<_ACEOF
34740 cat confdefs.h >>conftest.$ac_ext
34741 cat >>conftest.$ac_ext <<_ACEOF
34742 /* end confdefs.h. */
34750 #if XmVersion < 2000
34758 rm -f conftest.$ac_objext
34759 if { (ac_try="$ac_compile"
34760 case "(($ac_try" in
34761 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34762 *) ac_try_echo
=$ac_try;;
34764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34765 (eval "$ac_compile") 2>conftest.er1
34767 grep -v '^ *+' conftest.er1
>conftest.err
34769 cat conftest.err
>&5
34770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34771 (exit $ac_status); } && {
34772 test -z "$ac_c_werror_flag" ||
34773 test ! -s conftest.err
34774 } && test -s conftest.
$ac_objext; then
34775 wx_cv_lib_motif2
="yes"
34777 echo "$as_me: failed program was:" >&5
34778 sed 's/^/| /' conftest.
$ac_ext >&5
34780 wx_cv_lib_motif2
="no"
34783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34785 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34786 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34787 if test "$wx_cv_lib_motif2" = "yes"; then
34788 cat >>confdefs.h
<<\_ACEOF
34789 #define __WXMOTIF20__ 1
34793 cat >>confdefs.h
<<\_ACEOF
34794 #define __WXMOTIF20__ 0
34799 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34800 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34801 if test "${wx_cv_lib_lesstif+set}" = set; then
34802 echo $ECHO_N "(cached) $ECHO_C" >&6
34804 cat >conftest.
$ac_ext <<_ACEOF
34807 cat confdefs.h
>>conftest.
$ac_ext
34808 cat >>conftest.
$ac_ext <<_ACEOF
34809 /* end confdefs.h. */
34817 #if !defined(LesstifVersion) || LesstifVersion <= 0
34825 rm -f conftest.
$ac_objext
34826 if { (ac_try
="$ac_compile"
34827 case "(($ac_try" in
34828 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34829 *) ac_try_echo=$ac_try;;
34831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34832 (eval "$ac_compile") 2>conftest.er1
34834 grep -v '^ *+' conftest.er1 >conftest.err
34836 cat conftest.err >&5
34837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34838 (exit $ac_status); } && {
34839 test -z "$ac_c_werror_flag" ||
34840 test ! -s conftest.err
34841 } && test -s conftest.$ac_objext; then
34842 wx_cv_lib_lesstif="yes"
34844 echo "$as_me: failed program was:" >&5
34845 sed 's/^/| /' conftest.$ac_ext >&5
34847 wx_cv_lib_lesstif="no"
34850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34853 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34854 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34855 if test "$wx_cv_lib_lesstif" = "yes"; then
34856 cat >>confdefs.h <<\_ACEOF
34857 #define __WXLESSTIF__ 1
34861 cat >>confdefs.h <<\_ACEOF
34862 #define __WXLESSTIF__ 0
34867 CFLAGS=$save_CFLAGS
34869 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34874 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34875 if test "$wxUSE_LIBXPM" = "sys"; then
34876 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34877 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34880 for ac_dir in $SEARCH_LIB;
34882 for ac_extension in a so sl dylib dll.a; do
34883 if test -f "$ac_dir/libXpm.$ac_extension"; then
34884 ac_find_libraries=$ac_dir
34890 if test "$ac_find_libraries" != "" ; then
34892 if test "$ac_find_libraries" = "default location"; then
34895 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34897 if test $result = 0; then
34900 ac_path_to_link=" -L$ac_find_libraries"
34904 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34905 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34906 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34908 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34909 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34910 if test "${wx_cv_x11_xpm_h+set}" = set; then
34911 echo $ECHO_N "(cached) $ECHO_C" >&6
34914 save_CFLAGS=$CFLAGS
34915 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34917 cat >conftest.$ac_ext <<_ACEOF
34920 cat confdefs.h >>conftest.$ac_ext
34921 cat >>conftest.$ac_ext <<_ACEOF
34922 /* end confdefs.h. */
34924 #include <X11/xpm.h>
34931 version = XpmLibraryVersion();
34937 rm -f conftest.$ac_objext
34938 if { (ac_try="$ac_compile"
34939 case "(($ac_try" in
34940 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34941 *) ac_try_echo
=$ac_try;;
34943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34944 (eval "$ac_compile") 2>conftest.er1
34946 grep -v '^ *+' conftest.er1
>conftest.err
34948 cat conftest.err
>&5
34949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34950 (exit $ac_status); } && {
34951 test -z "$ac_c_werror_flag" ||
34952 test ! -s conftest.err
34953 } && test -s conftest.
$ac_objext; then
34954 wx_cv_x11_xpm_h
=yes
34956 echo "$as_me: failed program was:" >&5
34957 sed 's/^/| /' conftest.
$ac_ext >&5
34963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34965 CFLAGS
=$save_CFLAGS
34969 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34970 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34972 if test $wx_cv_x11_xpm_h = "yes"; then
34973 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
34974 cat >>confdefs.h
<<\_ACEOF
34975 #define wxHAVE_LIB_XPM 1
34979 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34980 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34986 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34987 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34988 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34989 echo $ECHO_N "(cached) $ECHO_C" >&6
34991 ac_check_lib_save_LIBS
=$LIBS
34992 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34993 cat >conftest.
$ac_ext <<_ACEOF
34996 cat confdefs.h
>>conftest.
$ac_ext
34997 cat >>conftest.
$ac_ext <<_ACEOF
34998 /* end confdefs.h. */
35000 /* Override any GCC internal prototype to avoid an error.
35001 Use char because int might match the return type of a GCC
35002 builtin and then its argument prototype would still apply. */
35006 char XShapeQueryExtension ();
35010 return XShapeQueryExtension ();
35015 rm -f conftest.
$ac_objext conftest
$ac_exeext
35016 if { (ac_try
="$ac_link"
35017 case "(($ac_try" in
35018 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35019 *) ac_try_echo=$ac_try;;
35021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35022 (eval "$ac_link") 2>conftest.er1
35024 grep -v '^ *+' conftest.er1 >conftest.err
35026 cat conftest.err >&5
35027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35028 (exit $ac_status); } && {
35029 test -z "$ac_c_werror_flag" ||
35030 test ! -s conftest.err
35031 } && test -s conftest$ac_exeext &&
35032 $as_test_x conftest$ac_exeext; then
35033 ac_cv_lib_Xext_XShapeQueryExtension=yes
35035 echo "$as_me: failed program was:" >&5
35036 sed 's/^/| /' conftest.$ac_ext >&5
35038 ac_cv_lib_Xext_XShapeQueryExtension=no
35041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35042 conftest$ac_exeext conftest.$ac_ext
35043 LIBS=$ac_check_lib_save_LIBS
35045 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
35046 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
35047 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
35049 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
35055 if test "$wxHAVE_XEXT_LIB" = 1; then
35056 save_CFLAGS="$CFLAGS"
35057 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
35059 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
35060 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
35061 cat >conftest.$ac_ext <<_ACEOF
35064 cat confdefs.h >>conftest.$ac_ext
35065 cat >>conftest.$ac_ext <<_ACEOF
35066 /* end confdefs.h. */
35068 #include <X11/Xlib.h>
35069 #include <X11/extensions/shape.h>
35075 int dummy1, dummy2;
35076 XShapeQueryExtension((Display*)NULL,
35077 (int*)NULL, (int*)NULL);
35083 rm -f conftest.$ac_objext
35084 if { (ac_try="$ac_compile"
35085 case "(($ac_try" in
35086 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35087 *) ac_try_echo
=$ac_try;;
35089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35090 (eval "$ac_compile") 2>conftest.er1
35092 grep -v '^ *+' conftest.er1
>conftest.err
35094 cat conftest.err
>&5
35095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35096 (exit $ac_status); } && {
35097 test -z "$ac_c_werror_flag" ||
35098 test ! -s conftest.err
35099 } && test -s conftest.
$ac_objext; then
35101 cat >>confdefs.h
<<\_ACEOF
35102 #define HAVE_XSHAPE 1
35105 { echo "$as_me:$LINENO: result: found" >&5
35106 echo "${ECHO_T}found" >&6; }
35109 echo "$as_me: failed program was:" >&5
35110 sed 's/^/| /' conftest.
$ac_ext >&5
35113 { echo "$as_me:$LINENO: result: not found" >&5
35114 echo "${ECHO_T}not found" >&6; }
35118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35119 CFLAGS
="$save_CFLAGS"
35124 if test "$wxUSE_MAC" = 1; then
35125 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
35126 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
35127 if test "$GCC" = yes; then
35128 { echo "$as_me:$LINENO: result: gcc" >&5
35129 echo "${ECHO_T}gcc" >&6; }
35130 CPPFLAGS_PASCAL
="-fpascal-strings"
35131 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
35132 { echo "$as_me:$LINENO: result: xlc" >&5
35133 echo "${ECHO_T}xlc" >&6; }
35134 CPPFLAGS_PASCAL
="-qmacpstr"
35136 { echo "$as_me:$LINENO: result: none" >&5
35137 echo "${ECHO_T}none" >&6; }
35140 if test "x$wxUSE_UNIX" = "xyes"; then
35141 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
35143 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
35148 WXBASEPORT
="_carbon"
35151 if test "$wxUSE_COCOA" = 1; then
35156 if test "$wxUSE_PM" = 1; then
35159 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
35160 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
35161 if test "${wx_cv_spbcdata+set}" = set; then
35162 echo $ECHO_N "(cached) $ECHO_C" >&6
35165 cat >conftest.
$ac_ext <<_ACEOF
35168 cat confdefs.h
>>conftest.
$ac_ext
35169 cat >>conftest.
$ac_ext <<_ACEOF
35170 /* end confdefs.h. */
35185 rm -f conftest.
$ac_objext
35186 if { (ac_try
="$ac_compile"
35187 case "(($ac_try" in
35188 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35189 *) ac_try_echo=$ac_try;;
35191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35192 (eval "$ac_compile") 2>conftest.er1
35194 grep -v '^ *+' conftest.er1 >conftest.err
35196 cat conftest.err >&5
35197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35198 (exit $ac_status); } && {
35199 test -z "$ac_c_werror_flag" ||
35200 test ! -s conftest.err
35201 } && test -s conftest.$ac_objext; then
35204 echo "$as_me: failed program was:" >&5
35205 sed 's/^/| /' conftest.$ac_ext >&5
35211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35215 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35216 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35218 if test $wx_cv_spbcdata = "yes"; then
35219 cat >>confdefs.h <<\_ACEOF
35220 #define HAVE_SPBCDATA 1
35226 if test "$TOOLKIT" = "PM" ; then
35229 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
35232 if test "$wxUSE_UNIVERSAL" = "yes"; then
35233 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35237 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35238 DISTDIR="wx\$(TOOLKIT)"
35244 if test "$USE_WIN32" = 1 ; then
35248 GUIDIST="BASE_DIST"
35254 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35255 if test "$USE_UNIX" = "1" -a "$wxUSE_DARWIN" != "1" ; then
35256 wxUSE_UNICODE_UTF8=yes
35257 elif test "$USE_OS2" = "1" ; then
35258 wxUSE_UNICODE_UTF8=yes
35260 wxUSE_UNICODE_UTF8=no
35265 if test "$wxUSE_GUI" = "yes"; then
35266 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35268 for ac_header in X11/Xlib.h
35270 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35271 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35273 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35274 echo $ECHO_N "(cached) $ECHO_C" >&6
35276 cat >conftest.$ac_ext <<_ACEOF
35279 cat confdefs.h >>conftest.$ac_ext
35280 cat >>conftest.$ac_ext <<_ACEOF
35281 /* end confdefs.h. */
35284 #include <$ac_header>
35286 rm -f conftest.$ac_objext
35287 if { (ac_try="$ac_compile"
35288 case "(($ac_try" in
35289 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35290 *) ac_try_echo
=$ac_try;;
35292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35293 (eval "$ac_compile") 2>conftest.er1
35295 grep -v '^ *+' conftest.er1
>conftest.err
35297 cat conftest.err
>&5
35298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35299 (exit $ac_status); } && {
35300 test -z "$ac_c_werror_flag" ||
35301 test ! -s conftest.err
35302 } && test -s conftest.
$ac_objext; then
35303 eval "$as_ac_Header=yes"
35305 echo "$as_me: failed program was:" >&5
35306 sed 's/^/| /' conftest.
$ac_ext >&5
35308 eval "$as_ac_Header=no"
35311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35313 ac_res
=`eval echo '${'$as_ac_Header'}'`
35314 { echo "$as_me:$LINENO: result: $ac_res" >&5
35315 echo "${ECHO_T}$ac_res" >&6; }
35316 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35317 cat >>confdefs.h
<<_ACEOF
35318 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35326 for ac_header
in X
11/XKBlib.h
35328 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35329 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35331 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35332 echo $ECHO_N "(cached) $ECHO_C" >&6
35334 cat >conftest.
$ac_ext <<_ACEOF
35337 cat confdefs.h
>>conftest.
$ac_ext
35338 cat >>conftest.
$ac_ext <<_ACEOF
35339 /* end confdefs.h. */
35341 #if HAVE_X11_XLIB_H
35342 #include <X11/Xlib.h>
35346 #include <$ac_header>
35348 rm -f conftest.
$ac_objext
35349 if { (ac_try
="$ac_compile"
35350 case "(($ac_try" in
35351 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35352 *) ac_try_echo=$ac_try;;
35354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35355 (eval "$ac_compile") 2>conftest.er1
35357 grep -v '^ *+' conftest.er1 >conftest.err
35359 cat conftest.err >&5
35360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35361 (exit $ac_status); } && {
35362 test -z "$ac_c_werror_flag" ||
35363 test ! -s conftest.err
35364 } && test -s conftest.$ac_objext; then
35365 eval "$as_ac_Header=yes"
35367 echo "$as_me: failed program was:" >&5
35368 sed 's/^/| /' conftest.$ac_ext >&5
35370 eval "$as_ac_Header=no"
35373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35375 ac_res=`eval echo '${'$as_ac_Header'}'`
35376 { echo "$as_me:$LINENO: result: $ac_res" >&5
35377 echo "${ECHO_T}$ac_res" >&6; }
35378 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35379 cat >>confdefs.h <<_ACEOF
35380 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35395 if test "$TOOLKIT" != "MSW" ; then
35397 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35399 { echo "$as_me:$LINENO: checking for sql.h" >&5
35400 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35401 if test "${ac_cv_header_sql_h+set}" = set; then
35402 echo $ECHO_N "(cached) $ECHO_C" >&6
35404 cat >conftest.$ac_ext <<_ACEOF
35407 cat confdefs.h >>conftest.$ac_ext
35408 cat >>conftest.$ac_ext <<_ACEOF
35409 /* end confdefs.h. */
35414 rm -f conftest.$ac_objext
35415 if { (ac_try="$ac_compile"
35416 case "(($ac_try" in
35417 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35418 *) ac_try_echo
=$ac_try;;
35420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35421 (eval "$ac_compile") 2>conftest.er1
35423 grep -v '^ *+' conftest.er1
>conftest.err
35425 cat conftest.err
>&5
35426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35427 (exit $ac_status); } && {
35428 test -z "$ac_c_werror_flag" ||
35429 test ! -s conftest.err
35430 } && test -s conftest.
$ac_objext; then
35431 ac_cv_header_sql_h
=yes
35433 echo "$as_me: failed program was:" >&5
35434 sed 's/^/| /' conftest.
$ac_ext >&5
35436 ac_cv_header_sql_h
=no
35439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35441 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35442 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35443 if test $ac_cv_header_sql_h = yes; then
35448 if test "x$found_sql_h" = "x1" ; then
35449 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35450 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35451 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35452 echo $ECHO_N "(cached) $ECHO_C" >&6
35454 ac_check_lib_save_LIBS
=$LIBS
35455 LIBS
="-liodbc $LIBS"
35456 cat >conftest.
$ac_ext <<_ACEOF
35459 cat confdefs.h
>>conftest.
$ac_ext
35460 cat >>conftest.
$ac_ext <<_ACEOF
35461 /* end confdefs.h. */
35463 /* Override any GCC internal prototype to avoid an error.
35464 Use char because int might match the return type of a GCC
35465 builtin and then its argument prototype would still apply. */
35469 char SQLAllocEnv ();
35473 return SQLAllocEnv ();
35478 rm -f conftest.
$ac_objext conftest
$ac_exeext
35479 if { (ac_try
="$ac_link"
35480 case "(($ac_try" in
35481 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35482 *) ac_try_echo=$ac_try;;
35484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35485 (eval "$ac_link") 2>conftest.er1
35487 grep -v '^ *+' conftest.er1 >conftest.err
35489 cat conftest.err >&5
35490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35491 (exit $ac_status); } && {
35492 test -z "$ac_c_werror_flag" ||
35493 test ! -s conftest.err
35494 } && test -s conftest$ac_exeext &&
35495 $as_test_x conftest$ac_exeext; then
35496 ac_cv_lib_iodbc_SQLAllocEnv=yes
35498 echo "$as_me: failed program was:" >&5
35499 sed 's/^/| /' conftest.$ac_ext >&5
35501 ac_cv_lib_iodbc_SQLAllocEnv=no
35504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35505 conftest$ac_exeext conftest.$ac_ext
35506 LIBS=$ac_check_lib_save_LIBS
35508 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35509 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35510 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35511 ODBC_LINK=" -liodbc"
35514 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35515 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35516 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35517 echo $ECHO_N "(cached) $ECHO_C" >&6
35519 ac_check_lib_save_LIBS=$LIBS
35520 LIBS="-lunixodbc $LIBS"
35521 cat >conftest.$ac_ext <<_ACEOF
35524 cat confdefs.h >>conftest.$ac_ext
35525 cat >>conftest.$ac_ext <<_ACEOF
35526 /* end confdefs.h. */
35528 /* Override any GCC internal prototype to avoid an error.
35529 Use char because int might match the return type of a GCC
35530 builtin and then its argument prototype would still apply. */
35534 char SQLAllocEnv ();
35538 return SQLAllocEnv ();
35543 rm -f conftest.$ac_objext conftest$ac_exeext
35544 if { (ac_try="$ac_link"
35545 case "(($ac_try" in
35546 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35547 *) ac_try_echo
=$ac_try;;
35549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35550 (eval "$ac_link") 2>conftest.er1
35552 grep -v '^ *+' conftest.er1
>conftest.err
35554 cat conftest.err
>&5
35555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35556 (exit $ac_status); } && {
35557 test -z "$ac_c_werror_flag" ||
35558 test ! -s conftest.err
35559 } && test -s conftest
$ac_exeext &&
35560 $as_test_x conftest
$ac_exeext; then
35561 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
35563 echo "$as_me: failed program was:" >&5
35564 sed 's/^/| /' conftest.
$ac_ext >&5
35566 ac_cv_lib_unixodbc_SQLAllocEnv
=no
35569 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35570 conftest
$ac_exeext conftest.
$ac_ext
35571 LIBS
=$ac_check_lib_save_LIBS
35573 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35574 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35575 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35576 ODBC_LINK
=" -lunixodbc"
35579 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35580 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35581 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35582 echo $ECHO_N "(cached) $ECHO_C" >&6
35584 ac_check_lib_save_LIBS
=$LIBS
35585 LIBS
="-lodbc $LIBS"
35586 cat >conftest.
$ac_ext <<_ACEOF
35589 cat confdefs.h
>>conftest.
$ac_ext
35590 cat >>conftest.
$ac_ext <<_ACEOF
35591 /* end confdefs.h. */
35593 /* Override any GCC internal prototype to avoid an error.
35594 Use char because int might match the return type of a GCC
35595 builtin and then its argument prototype would still apply. */
35599 char SQLAllocEnv ();
35603 return SQLAllocEnv ();
35608 rm -f conftest.
$ac_objext conftest
$ac_exeext
35609 if { (ac_try
="$ac_link"
35610 case "(($ac_try" in
35611 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35612 *) ac_try_echo=$ac_try;;
35614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35615 (eval "$ac_link") 2>conftest.er1
35617 grep -v '^ *+' conftest.er1 >conftest.err
35619 cat conftest.err >&5
35620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35621 (exit $ac_status); } && {
35622 test -z "$ac_c_werror_flag" ||
35623 test ! -s conftest.err
35624 } && test -s conftest$ac_exeext &&
35625 $as_test_x conftest$ac_exeext; then
35626 ac_cv_lib_odbc_SQLAllocEnv=yes
35628 echo "$as_me: failed program was:" >&5
35629 sed 's/^/| /' conftest.$ac_ext >&5
35631 ac_cv_lib_odbc_SQLAllocEnv=no
35634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35635 conftest$ac_exeext conftest.$ac_ext
35636 LIBS=$ac_check_lib_save_LIBS
35638 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35639 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35640 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35641 ODBC_LINK=" -lodbc"
35651 if test "x$ODBC_LINK" = "x" ; then
35652 if test "$wxUSE_ODBC" = "sys" ; then
35653 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35654 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35655 { (exit 1); exit 1; }; }
35657 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35658 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35666 if test "$wxUSE_ODBC" = "builtin" ; then
35667 cat >>confdefs.h <<\_ACEOF
35668 #define wxUSE_BUILTIN_IODBC 1
35674 if test "$wxUSE_ODBC" != "no" ; then
35675 cat >>confdefs.h <<\_ACEOF
35676 #define wxUSE_ODBC 1
35679 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35681 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35685 if test "$wxUSE_DISPLAY" = "yes"; then
35686 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35687 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35688 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35691 for ac_dir in $SEARCH_LIB;
35693 for ac_extension in a so sl dylib dll.a; do
35694 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35695 ac_find_libraries=$ac_dir
35701 if test "$ac_find_libraries" != "" ; then
35703 if test "$ac_find_libraries" = "default location"; then
35706 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35708 if test $result = 0; then
35711 ac_path_to_link=" -L$ac_find_libraries"
35715 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35716 LDFLAGS="$LDFLAGS $ac_path_to_link"
35718 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35719 { echo "$as_me:$LINENO: result: yes" >&5
35720 echo "${ECHO_T}yes" >&6; }
35722 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35723 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35726 for ac_dir in $SEARCH_LIB;
35728 for ac_extension in a so sl dylib dll.a; do
35729 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35730 ac_find_libraries=$ac_dir
35736 if test "$ac_find_libraries" != "" ; then
35737 { echo "$as_me:$LINENO: result: yes" >&5
35738 echo "${ECHO_T}yes" >&6; }
35740 for ac_header in X11/extensions/xf86vmode.h
35742 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35743 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35745 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35746 echo $ECHO_N "(cached) $ECHO_C" >&6
35748 cat >conftest.$ac_ext <<_ACEOF
35751 cat confdefs.h >>conftest.$ac_ext
35752 cat >>conftest.$ac_ext <<_ACEOF
35753 /* end confdefs.h. */
35755 #if HAVE_X11_XLIB_H
35756 #include <X11/Xlib.h>
35760 #include <$ac_header>
35762 rm -f conftest.$ac_objext
35763 if { (ac_try="$ac_compile"
35764 case "(($ac_try" in
35765 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35766 *) ac_try_echo
=$ac_try;;
35768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35769 (eval "$ac_compile") 2>conftest.er1
35771 grep -v '^ *+' conftest.er1
>conftest.err
35773 cat conftest.err
>&5
35774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35775 (exit $ac_status); } && {
35776 test -z "$ac_c_werror_flag" ||
35777 test ! -s conftest.err
35778 } && test -s conftest.
$ac_objext; then
35779 eval "$as_ac_Header=yes"
35781 echo "$as_me: failed program was:" >&5
35782 sed 's/^/| /' conftest.
$ac_ext >&5
35784 eval "$as_ac_Header=no"
35787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35789 ac_res
=`eval echo '${'$as_ac_Header'}'`
35790 { echo "$as_me:$LINENO: result: $ac_res" >&5
35791 echo "${ECHO_T}$ac_res" >&6; }
35792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35793 cat >>confdefs.h
<<_ACEOF
35794 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35797 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
35804 { echo "$as_me:$LINENO: result: no" >&5
35805 echo "${ECHO_T}no" >&6; }
35809 { echo "$as_me:$LINENO: result: no" >&5
35810 echo "${ECHO_T}no" >&6; }
35811 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35812 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35815 elif test "$wxUSE_MSW" = 1; then
35816 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35817 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35818 if test "${ac_cv_header_ddraw_h+set}" = set; then
35819 echo $ECHO_N "(cached) $ECHO_C" >&6
35821 cat >conftest.
$ac_ext <<_ACEOF
35824 cat confdefs.h
>>conftest.
$ac_ext
35825 cat >>conftest.
$ac_ext <<_ACEOF
35826 /* end confdefs.h. */
35827 #include <windows.h>
35831 rm -f conftest.
$ac_objext
35832 if { (ac_try
="$ac_compile"
35833 case "(($ac_try" in
35834 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35835 *) ac_try_echo=$ac_try;;
35837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35838 (eval "$ac_compile") 2>conftest.er1
35840 grep -v '^ *+' conftest.er1 >conftest.err
35842 cat conftest.err >&5
35843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35844 (exit $ac_status); } && {
35845 test -z "$ac_c_werror_flag" ||
35846 test ! -s conftest.err
35847 } && test -s conftest.$ac_objext; then
35848 ac_cv_header_ddraw_h=yes
35850 echo "$as_me: failed program was:" >&5
35851 sed 's/^/| /' conftest.$ac_ext >&5
35853 ac_cv_header_ddraw_h=no
35856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35858 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35859 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35865 if test "$wxUSE_DETECT_SM" = "yes"; then
35866 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35867 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35868 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35871 for ac_dir in $SEARCH_LIB;
35873 for ac_extension in a so sl dylib dll.a; do
35874 if test -f "$ac_dir/libSM.$ac_extension"; then
35875 ac_find_libraries=$ac_dir
35881 if test "$ac_find_libraries" != "" ; then
35883 if test "$ac_find_libraries" = "default location"; then
35886 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35888 if test $result = 0; then
35891 ac_path_to_link=" -L$ac_find_libraries"
35895 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35896 LDFLAGS="$LDFLAGS $ac_path_to_link"
35898 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35899 { echo "$as_me:$LINENO: result: yes" >&5
35900 echo "${ECHO_T}yes" >&6; }
35902 { echo "$as_me:$LINENO: result: no" >&5
35903 echo "${ECHO_T}no" >&6; }
35904 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35905 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35906 wxUSE_DETECT_SM="no"
35909 wxUSE_DETECT_SM="no"
35916 if test "$wxUSE_OPENGL" = "yes"; then
35917 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35918 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35919 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35921 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35922 OPENGL_LIBS="-framework OpenGL -framework AGL"
35923 elif test "$wxUSE_MSW" = 1; then
35924 OPENGL_LIBS="-lopengl32 -lglu32"
35926 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35927 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35930 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35932 if test -f "$ac_dir/GL/gl.h"; then
35933 ac_find_includes=$ac_dir
35938 if test "$ac_find_includes" != "" ; then
35939 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35940 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35942 if test "x$ac_find_includes" = "x/usr/include"; then
35943 ac_path_to_include=""
35945 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35947 if test $result = 0; then
35948 ac_path_to_include=""
35950 ac_path_to_include=" -I$ac_find_includes"
35954 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35956 { echo "$as_me:$LINENO: result: not found" >&5
35957 echo "${ECHO_T}not found" >&6; }
35960 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35961 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35962 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35963 echo $ECHO_N "(cached) $ECHO_C" >&6
35965 cat >conftest.$ac_ext <<_ACEOF
35968 cat confdefs.h >>conftest.$ac_ext
35969 cat >>conftest.$ac_ext <<_ACEOF
35970 /* end confdefs.h. */
35975 rm -f conftest.$ac_objext
35976 if { (ac_try="$ac_compile"
35977 case "(($ac_try" in
35978 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35979 *) ac_try_echo
=$ac_try;;
35981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35982 (eval "$ac_compile") 2>conftest.er1
35984 grep -v '^ *+' conftest.er1
>conftest.err
35986 cat conftest.err
>&5
35987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35988 (exit $ac_status); } && {
35989 test -z "$ac_c_werror_flag" ||
35990 test ! -s conftest.err
35991 } && test -s conftest.
$ac_objext; then
35992 ac_cv_header_GL_gl_h
=yes
35994 echo "$as_me: failed program was:" >&5
35995 sed 's/^/| /' conftest.
$ac_ext >&5
35997 ac_cv_header_GL_gl_h
=no
36000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36002 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
36003 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
36004 if test $ac_cv_header_GL_gl_h = yes; then
36006 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
36007 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
36008 if test "${ac_cv_header_GL_glu_h+set}" = set; then
36009 echo $ECHO_N "(cached) $ECHO_C" >&6
36011 cat >conftest.
$ac_ext <<_ACEOF
36014 cat confdefs.h
>>conftest.
$ac_ext
36015 cat >>conftest.
$ac_ext <<_ACEOF
36016 /* end confdefs.h. */
36019 #include <GL/glu.h>
36021 rm -f conftest.
$ac_objext
36022 if { (ac_try
="$ac_compile"
36023 case "(($ac_try" in
36024 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36025 *) ac_try_echo=$ac_try;;
36027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36028 (eval "$ac_compile") 2>conftest.er1
36030 grep -v '^ *+' conftest.er1 >conftest.err
36032 cat conftest.err >&5
36033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36034 (exit $ac_status); } && {
36035 test -z "$ac_c_werror_flag" ||
36036 test ! -s conftest.err
36037 } && test -s conftest.$ac_objext; then
36038 ac_cv_header_GL_glu_h=yes
36040 echo "$as_me: failed program was:" >&5
36041 sed 's/^/| /' conftest.$ac_ext >&5
36043 ac_cv_header_GL_glu_h=no
36046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36048 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
36049 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
36050 if test $ac_cv_header_GL_glu_h = yes; then
36054 { echo "$as_me:$LINENO: checking for -lGL" >&5
36055 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
36058 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
36060 for ac_extension in a so sl dylib dll.a; do
36061 if test -f "$ac_dir/libGL.$ac_extension"; then
36062 ac_find_libraries=$ac_dir
36068 if test "$ac_find_libraries" != "" ; then
36069 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
36070 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
36073 if test "$ac_find_libraries" = "default location"; then
36076 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36078 if test $result = 0; then
36081 ac_path_to_link=" -L$ac_find_libraries"
36085 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36086 LDFLAGS_GL="$ac_path_to_link"
36089 { echo "$as_me:$LINENO: checking for -lGLU" >&5
36090 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
36093 for ac_dir in $SEARCH_LIB;
36095 for ac_extension in a so sl dylib dll.a; do
36096 if test -f "$ac_dir/libGLU.$ac_extension"; then
36097 ac_find_libraries=$ac_dir
36103 if test "$ac_find_libraries" != "" ; then
36105 if test "$ac_find_libraries" = "default location"; then
36108 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36110 if test $result = 0; then
36113 ac_path_to_link=" -L$ac_find_libraries"
36117 if test "$ac_path_to_link" != " -L/usr/lib" -a \
36118 "$ac_path_to_link" != "$LDFLAGS_GL"; then
36119 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
36123 OPENGL_LIBS="-lGL -lGLU"
36124 { echo "$as_me:$LINENO: result: yes" >&5
36125 echo "${ECHO_T}yes" >&6; }
36127 { echo "$as_me:$LINENO: result: no" >&5
36128 echo "${ECHO_T}no" >&6; }
36131 { echo "$as_me:$LINENO: result: no" >&5
36132 echo "${ECHO_T}no" >&6; }
36135 if test "$found_gl" != 1; then
36136 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
36137 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
36140 for ac_dir in $SEARCH_LIB;
36142 for ac_extension in a so sl dylib dll.a; do
36143 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
36144 ac_find_libraries=$ac_dir
36150 if test "$ac_find_libraries" != "" ; then
36152 if test "$ac_find_libraries" = "default location"; then
36155 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36157 if test $result = 0; then
36160 ac_path_to_link=" -L$ac_find_libraries"
36164 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
36165 OPENGL_LIBS="-lMesaGL -lMesaGLU"
36166 { echo "$as_me:$LINENO: result: yes" >&5
36167 echo "${ECHO_T}yes" >&6; }
36169 { echo "$as_me:$LINENO: result: no" >&5
36170 echo "${ECHO_T}no" >&6; }
36182 if test "x$OPENGL_LIBS" = "x"; then
36183 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
36184 echo "$as_me: error: OpenGL libraries not available" >&2;}
36185 { (exit 1); exit 1; }; }
36189 if test "$wxUSE_OPENGL" = "yes"; then
36191 cat >>confdefs.h <<\_ACEOF
36192 #define wxUSE_OPENGL 1
36195 cat >>confdefs.h <<\_ACEOF
36196 #define wxUSE_GLCANVAS 1
36199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
36204 if test -n "$TOOLKIT" ; then
36205 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
36210 if test "$wxUSE_SHARED" = "yes"; then
36214 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
36215 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
36220 if test "$wxUSE_SHARED" = "yes"; then
36224 *-*-cygwin* | *-*-mingw* )
36225 wx_cv_version_script=no
36229 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
36230 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
36231 if test "${wx_cv_version_script+set}" = set; then
36232 echo $ECHO_N "(cached) $ECHO_C" >&6
36235 echo "VER_1 { *; };" >conftest.sym
36236 echo "int main() { return 0; }" >conftest.cpp
36239 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36240 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
36241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36242 (eval $ac_try) 2>&5
36244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36245 (exit $ac_status); }; } ; then
36246 if test -s conftest.stderr ; then
36247 wx_cv_version_script=no
36249 wx_cv_version_script=yes
36252 wx_cv_version_script=no
36255 if test $wx_cv_version_script = yes
36257 echo "struct B { virtual ~B() { } }; \
36258 struct D : public B { }; \
36259 void F() { D d; }" > conftest.cpp
36262 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36263 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
36264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36265 (eval $ac_try) 2>&5
36267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36268 (exit $ac_status); }; } &&
36270 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36271 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
36272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36273 (eval $ac_try) 2>&5
36275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36276 (exit $ac_status); }; }
36279 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36280 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36282 (eval $ac_try) 2>&5
36284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36285 (exit $ac_status); }; }
36287 wx_cv_version_script=yes
36289 wx_cv_version_script=no
36294 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36295 rm -f conftest1.output conftest2.output conftest3.output
36298 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36299 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36301 if test $wx_cv_version_script = yes ; then
36302 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36308 if test "$wxUSE_VISIBILITY" != "no"; then
36311 if test -n "$GCC"; then
36312 CFLAGS_VISIBILITY="-fvisibility=hidden"
36313 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
36314 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36315 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36316 if test "${wx_cv_cc_visibility+set}" = set; then
36317 echo $ECHO_N "(cached) $ECHO_C" >&6
36320 wx_save_CXXFLAGS="$CXXFLAGS"
36321 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36323 ac_cpp='$CXXCPP $CPPFLAGS'
36324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36328 cat >conftest.$ac_ext <<_ACEOF
36331 cat confdefs.h >>conftest.$ac_ext
36332 cat >>conftest.$ac_ext <<_ACEOF
36333 /* end confdefs.h. */
36335 /* we need gcc >= 4.0, older versions with visibility support
36336 didn't have class visibility: */
36337 #if defined(__GNUC__) && __GNUC__ < 4
36338 error this gcc is too old;
36341 /* visibility only makes sense for ELF shared libs: */
36342 #if !defined(__ELF__) && !defined(__APPLE__)
36343 error this platform has no visibility;
36346 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36347 extern __attribute__((__visibility__("default"))) int exportedvar;
36348 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36349 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36350 class __attribute__((__visibility__("default"))) Foo {
36362 rm -f conftest.$ac_objext
36363 if { (ac_try="$ac_compile"
36364 case "(($ac_try" in
36365 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36366 *) ac_try_echo
=$ac_try;;
36368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36369 (eval "$ac_compile") 2>conftest.er1
36371 grep -v '^ *+' conftest.er1
>conftest.err
36373 cat conftest.err
>&5
36374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36375 (exit $ac_status); } && {
36376 test -z "$ac_cxx_werror_flag" ||
36377 test ! -s conftest.err
36378 } && test -s conftest.
$ac_objext; then
36379 wx_cv_cc_visibility
=yes
36381 echo "$as_me: failed program was:" >&5
36382 sed 's/^/| /' conftest.
$ac_ext >&5
36384 wx_cv_cc_visibility
=no
36387 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36389 ac_cpp
='$CPP $CPPFLAGS'
36390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36394 CXXFLAGS
="$wx_save_CXXFLAGS"
36397 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36398 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36399 if test $wx_cv_cc_visibility = yes; then
36400 cat >>confdefs.h
<<\_ACEOF
36401 #define HAVE_VISIBILITY 1
36405 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36406 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36407 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36408 echo $ECHO_N "(cached) $ECHO_C" >&6
36411 wx_save_CXXFLAGS
="$CXXFLAGS"
36412 wx_save_LDFLAGS
="$LDFLAGS"
36413 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36414 LDFLAGS
="$LDFLAGS -shared -fPIC"
36416 ac_cpp
='$CXXCPP $CPPFLAGS'
36417 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36418 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36419 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36421 cat >conftest.
$ac_ext <<_ACEOF
36424 cat confdefs.h
>>conftest.
$ac_ext
36425 cat >>conftest.
$ac_ext <<_ACEOF
36426 /* end confdefs.h. */
36434 std::string s("hello");
36441 rm -f conftest.
$ac_objext conftest
$ac_exeext
36442 if { (ac_try
="$ac_link"
36443 case "(($ac_try" in
36444 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36445 *) ac_try_echo=$ac_try;;
36447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36448 (eval "$ac_link") 2>conftest.er1
36450 grep -v '^ *+' conftest.er1 >conftest.err
36452 cat conftest.err >&5
36453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36454 (exit $ac_status); } && {
36455 test -z "$ac_cxx_werror_flag" ||
36456 test ! -s conftest.err
36457 } && test -s conftest$ac_exeext &&
36458 $as_test_x conftest$ac_exeext; then
36459 wx_cv_cc_broken_libstdcxx_visibility=no
36461 echo "$as_me: failed program was:" >&5
36462 sed 's/^/| /' conftest.$ac_ext >&5
36464 wx_cv_cc_broken_libstdcxx_visibility=yes
36467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36468 conftest$ac_exeext conftest.$ac_ext
36470 ac_cpp='$CPP $CPPFLAGS'
36471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36475 CXXFLAGS="$wx_save_CXXFLAGS"
36476 LDFLAGS="$wx_save_LDFLAGS"
36479 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36480 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36481 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36482 cat >>confdefs.h <<\_ACEOF
36483 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36489 CFLAGS_VISIBILITY=""
36490 CXXFLAGS_VISIBILITY=""
36498 if test "x$SUNCXX" = xyes; then
36499 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36500 WXCONFIG_RPATH="-R\$libdir"
36503 *-*-linux* | *-*-gnu* )
36504 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36505 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36510 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36512 saveLdflags="$LDFLAGS"
36513 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36514 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36515 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36516 cat >conftest.$ac_ext <<_ACEOF
36519 cat confdefs.h >>conftest.$ac_ext
36520 cat >>conftest.$ac_ext <<_ACEOF
36521 /* end confdefs.h. */
36531 rm -f conftest.$ac_objext conftest$ac_exeext
36532 if { (ac_try="$ac_link"
36533 case "(($ac_try" in
36534 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36535 *) ac_try_echo
=$ac_try;;
36537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36538 (eval "$ac_link") 2>conftest.er1
36540 grep -v '^ *+' conftest.er1
>conftest.err
36542 cat conftest.err
>&5
36543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36544 (exit $ac_status); } && {
36545 test -z "$ac_c_werror_flag" ||
36546 test ! -s conftest.err
36547 } && test -s conftest
$ac_exeext &&
36548 $as_test_x conftest
$ac_exeext; then
36550 { echo "$as_me:$LINENO: result: yes" >&5
36551 echo "${ECHO_T}yes" >&6; }
36552 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
36553 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
36556 echo "$as_me: failed program was:" >&5
36557 sed 's/^/| /' conftest.
$ac_ext >&5
36560 { echo "$as_me:$LINENO: result: no" >&5
36561 echo "${ECHO_T}no" >&6; }
36562 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36563 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36564 LDFLAGS
="$saveLdflags -Wl,-R,/"
36565 cat >conftest.
$ac_ext <<_ACEOF
36568 cat confdefs.h
>>conftest.
$ac_ext
36569 cat >>conftest.
$ac_ext <<_ACEOF
36570 /* end confdefs.h. */
36580 rm -f conftest.
$ac_objext conftest
$ac_exeext
36581 if { (ac_try
="$ac_link"
36582 case "(($ac_try" in
36583 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36584 *) ac_try_echo=$ac_try;;
36586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36587 (eval "$ac_link") 2>conftest.er1
36589 grep -v '^ *+' conftest.er1 >conftest.err
36591 cat conftest.err >&5
36592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36593 (exit $ac_status); } && {
36594 test -z "$ac_c_werror_flag" ||
36595 test ! -s conftest.err
36596 } && test -s conftest$ac_exeext &&
36597 $as_test_x conftest$ac_exeext; then
36599 { echo "$as_me:$LINENO: result: yes" >&5
36600 echo "${ECHO_T}yes" >&6; }
36601 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36602 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36605 echo "$as_me: failed program was:" >&5
36606 sed 's/^/| /' conftest.$ac_ext >&5
36609 { echo "$as_me:$LINENO: result: no" >&5
36610 echo "${ECHO_T}no" >&6; }
36614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36615 conftest$ac_exeext conftest.$ac_ext
36619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36620 conftest$ac_exeext conftest.$ac_ext
36621 LDFLAGS="$saveLdflags"
36625 install_name_tool=`which install_name_tool
`
36626 if test "$install_name_tool" -a -x "$install_name_tool"; then
36627 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36628 cat <<EOF >change-install-names
36630 libnames=\`cd \
${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\
`
36631 inst_cmd="install_name_tool "
36632 for i in \${libnames} ; do
36633 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36637 chmod +x change-install-names
36641 *-*-cygwin* | *-*-mingw32* )
36642 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36646 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36647 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36653 if test $wxUSE_RPATH = "no"; then
36654 SAMPLES_RPATH_FLAG=''
36655 SAMPLES_RPATH_POSTLINK=''
36663 config_linkage_component="-static"
36670 lib_unicode_suffix=
36672 if test "$wxUSE_UNICODE" = "yes"; then
36673 lib_unicode_suffix=u
36674 WX_CHARTYPE="unicode"
36679 WX_DEBUGTYPE="release"
36681 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36683 WX_DEBUGTYPE="debug"
36687 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36688 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36691 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36695 WX_VERSION_TAG=`echo WX
${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_
${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36697 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36699 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36701 if test "$cross_compiling" = "yes"; then
36702 HOST_SUFFIX="-$host_alias"
36703 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36704 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36707 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36708 if test "${TOOLKIT_DIR}" = "os2"; then
36709 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36711 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36716 if test "$wxUSE_COCOA" = 1; then
36719 ac_cpp='$CPP $CPPFLAGS'
36720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36726 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36727 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36728 cat >conftest.$ac_ext <<_ACEOF
36731 cat confdefs.h >>conftest.$ac_ext
36732 cat >>conftest.$ac_ext <<_ACEOF
36733 /* end confdefs.h. */
36734 #include <AppKit/NSEvent.h>
36735 #include <CoreFoundation/CoreFoundation.h>
36745 rm -f conftest.$ac_objext
36746 if { (ac_try="$ac_compile"
36747 case "(($ac_try" in
36748 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36749 *) ac_try_echo
=$ac_try;;
36751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36752 (eval "$ac_compile") 2>conftest.er1
36754 grep -v '^ *+' conftest.er1
>conftest.err
36756 cat conftest.err
>&5
36757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36758 (exit $ac_status); } && {
36759 test -z "$ac_c_werror_flag" ||
36760 test ! -s conftest.err
36761 } && test -s conftest.
$ac_objext; then
36762 { echo "$as_me:$LINENO: result: no" >&5
36763 echo "${ECHO_T}no" >&6; }
36765 echo "$as_me: failed program was:" >&5
36766 sed 's/^/| /' conftest.
$ac_ext >&5
36768 { echo "$as_me:$LINENO: result: yes" >&5
36769 echo "${ECHO_T}yes" >&6; }
36770 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36771 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36772 cat >conftest.
$ac_ext <<_ACEOF
36775 cat confdefs.h
>>conftest.
$ac_ext
36776 cat >>conftest.
$ac_ext <<_ACEOF
36777 /* end confdefs.h. */
36778 #define __Point__ 1
36779 #include <AppKit/NSEvent.h>
36780 #include <CoreFoundation/CoreFoundation.h>
36790 rm -f conftest.
$ac_objext
36791 if { (ac_try
="$ac_compile"
36792 case "(($ac_try" in
36793 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36794 *) ac_try_echo=$ac_try;;
36796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36797 (eval "$ac_compile") 2>conftest.er1
36799 grep -v '^ *+' conftest.er1 >conftest.err
36801 cat conftest.err >&5
36802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36803 (exit $ac_status); } && {
36804 test -z "$ac_c_werror_flag" ||
36805 test ! -s conftest.err
36806 } && test -s conftest.$ac_objext; then
36807 { echo "$as_me:$LINENO: result: yes" >&5
36808 echo "${ECHO_T}yes" >&6; }
36809 cat >>confdefs.h <<\_ACEOF
36810 #define __Point__ 1
36815 echo "$as_me: failed program was:" >&5
36816 sed 's/^/| /' conftest.$ac_ext >&5
36818 { { echo "$as_me:$LINENO: error: no
36819 See \`config.log
' for more details." >&5
36820 echo "$as_me: error: no
36821 See \`config.log' for more details.
" >&2;}
36822 { (exit 1); exit 1; }; }
36826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36832 ac_cpp='$CPP $CPPFLAGS'
36833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36840 { echo "$as_me:$LINENO: checking
for mode_t
" >&5
36841 echo $ECHO_N "checking
for mode_t...
$ECHO_C" >&6; }
36842 if test "${ac_cv_type_mode_t+set}" = set; then
36843 echo $ECHO_N "(cached
) $ECHO_C" >&6
36845 cat >conftest.$ac_ext <<_ACEOF
36848 cat confdefs.h >>conftest.$ac_ext
36849 cat >>conftest.$ac_ext <<_ACEOF
36850 /* end confdefs.h. */
36851 $ac_includes_default
36852 typedef mode_t ac__type_new_;
36856 if ((ac__type_new_ *) 0)
36858 if (sizeof (ac__type_new_))
36864 rm -f conftest.$ac_objext
36865 if { (ac_try="$ac_compile"
36866 case "(($ac_try" in
36867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36868 *) ac_try_echo=$ac_try;;
36870 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36871 (eval "$ac_compile") 2>conftest.er1
36873 grep -v '^ *+' conftest.er1 >conftest.err
36875 cat conftest.err >&5
36876 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36877 (exit $ac_status); } && {
36878 test -z "$ac_c_werror_flag" ||
36879 test ! -s conftest.err
36880 } && test -s conftest.$ac_objext; then
36881 ac_cv_type_mode_t=yes
36883 echo "$as_me: failed program was
:" >&5
36884 sed 's/^/| /' conftest.$ac_ext >&5
36886 ac_cv_type_mode_t=no
36889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36891 { echo "$as_me:$LINENO: result
: $ac_cv_type_mode_t" >&5
36892 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36893 if test $ac_cv_type_mode_t = yes; then
36897 cat >>confdefs.h <<_ACEOF
36903 { echo "$as_me:$LINENO: checking
for off_t
" >&5
36904 echo $ECHO_N "checking
for off_t...
$ECHO_C" >&6; }
36905 if test "${ac_cv_type_off_t+set}" = set; then
36906 echo $ECHO_N "(cached
) $ECHO_C" >&6
36908 cat >conftest.$ac_ext <<_ACEOF
36911 cat confdefs.h >>conftest.$ac_ext
36912 cat >>conftest.$ac_ext <<_ACEOF
36913 /* end confdefs.h. */
36914 $ac_includes_default
36915 typedef off_t ac__type_new_;
36919 if ((ac__type_new_ *) 0)
36921 if (sizeof (ac__type_new_))
36927 rm -f conftest.$ac_objext
36928 if { (ac_try="$ac_compile"
36929 case "(($ac_try" in
36930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36931 *) ac_try_echo=$ac_try;;
36933 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36934 (eval "$ac_compile") 2>conftest.er1
36936 grep -v '^ *+' conftest.er1 >conftest.err
36938 cat conftest.err >&5
36939 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36940 (exit $ac_status); } && {
36941 test -z "$ac_c_werror_flag" ||
36942 test ! -s conftest.err
36943 } && test -s conftest.$ac_objext; then
36944 ac_cv_type_off_t=yes
36946 echo "$as_me: failed program was
:" >&5
36947 sed 's/^/| /' conftest.$ac_ext >&5
36949 ac_cv_type_off_t=no
36952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36954 { echo "$as_me:$LINENO: result
: $ac_cv_type_off_t" >&5
36955 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36956 if test $ac_cv_type_off_t = yes; then
36960 cat >>confdefs.h <<_ACEOF
36961 #define off_t long int
36966 { echo "$as_me:$LINENO: checking
for pid_t
" >&5
36967 echo $ECHO_N "checking
for pid_t...
$ECHO_C" >&6; }
36968 if test "${ac_cv_type_pid_t+set}" = set; then
36969 echo $ECHO_N "(cached
) $ECHO_C" >&6
36971 cat >conftest.$ac_ext <<_ACEOF
36974 cat confdefs.h >>conftest.$ac_ext
36975 cat >>conftest.$ac_ext <<_ACEOF
36976 /* end confdefs.h. */
36977 $ac_includes_default
36978 typedef pid_t ac__type_new_;
36982 if ((ac__type_new_ *) 0)
36984 if (sizeof (ac__type_new_))
36990 rm -f conftest.$ac_objext
36991 if { (ac_try="$ac_compile"
36992 case "(($ac_try" in
36993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36994 *) ac_try_echo=$ac_try;;
36996 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36997 (eval "$ac_compile") 2>conftest.er1
36999 grep -v '^ *+' conftest.er1 >conftest.err
37001 cat conftest.err >&5
37002 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37003 (exit $ac_status); } && {
37004 test -z "$ac_c_werror_flag" ||
37005 test ! -s conftest.err
37006 } && test -s conftest.$ac_objext; then
37007 ac_cv_type_pid_t=yes
37009 echo "$as_me: failed program was
:" >&5
37010 sed 's/^/| /' conftest.$ac_ext >&5
37012 ac_cv_type_pid_t=no
37015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37017 { echo "$as_me:$LINENO: result
: $ac_cv_type_pid_t" >&5
37018 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
37019 if test $ac_cv_type_pid_t = yes; then
37023 cat >>confdefs.h <<_ACEOF
37029 { echo "$as_me:$LINENO: checking
for size_t
" >&5
37030 echo $ECHO_N "checking
for size_t...
$ECHO_C" >&6; }
37031 if test "${ac_cv_type_size_t+set}" = set; then
37032 echo $ECHO_N "(cached
) $ECHO_C" >&6
37034 cat >conftest.$ac_ext <<_ACEOF
37037 cat confdefs.h >>conftest.$ac_ext
37038 cat >>conftest.$ac_ext <<_ACEOF
37039 /* end confdefs.h. */
37040 $ac_includes_default
37041 typedef size_t ac__type_new_;
37045 if ((ac__type_new_ *) 0)
37047 if (sizeof (ac__type_new_))
37053 rm -f conftest.$ac_objext
37054 if { (ac_try="$ac_compile"
37055 case "(($ac_try" in
37056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37057 *) ac_try_echo=$ac_try;;
37059 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37060 (eval "$ac_compile") 2>conftest.er1
37062 grep -v '^ *+' conftest.er1 >conftest.err
37064 cat conftest.err >&5
37065 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37066 (exit $ac_status); } && {
37067 test -z "$ac_c_werror_flag" ||
37068 test ! -s conftest.err
37069 } && test -s conftest.$ac_objext; then
37070 ac_cv_type_size_t=yes
37072 echo "$as_me: failed program was
:" >&5
37073 sed 's/^/| /' conftest.$ac_ext >&5
37075 ac_cv_type_size_t=no
37078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37080 { echo "$as_me:$LINENO: result
: $ac_cv_type_size_t" >&5
37081 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
37082 if test $ac_cv_type_size_t = yes; then
37086 cat >>confdefs.h <<_ACEOF
37087 #define size_t unsigned int
37092 { echo "$as_me:$LINENO: checking
for uid_t
in sys
/types.h
" >&5
37093 echo $ECHO_N "checking
for uid_t
in sys
/types.h...
$ECHO_C" >&6; }
37094 if test "${ac_cv_type_uid_t+set}" = set; then
37095 echo $ECHO_N "(cached
) $ECHO_C" >&6
37097 cat >conftest.$ac_ext <<_ACEOF
37100 cat confdefs.h >>conftest.$ac_ext
37101 cat >>conftest.$ac_ext <<_ACEOF
37102 /* end confdefs.h. */
37103 #include <sys/types.h>
37106 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
37107 $EGREP "uid_t
" >/dev/null 2>&1; then
37108 ac_cv_type_uid_t=yes
37110 ac_cv_type_uid_t=no
37115 { echo "$as_me:$LINENO: result
: $ac_cv_type_uid_t" >&5
37116 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
37117 if test $ac_cv_type_uid_t = no; then
37119 cat >>confdefs.h <<\_ACEOF
37124 cat >>confdefs.h <<\_ACEOF
37131 { echo "$as_me:$LINENO: checking
for ssize_t
" >&5
37132 echo $ECHO_N "checking
for ssize_t...
$ECHO_C" >&6; }
37133 if test "${ac_cv_type_ssize_t+set}" = set; then
37134 echo $ECHO_N "(cached
) $ECHO_C" >&6
37136 cat >conftest.$ac_ext <<_ACEOF
37139 cat confdefs.h >>conftest.$ac_ext
37140 cat >>conftest.$ac_ext <<_ACEOF
37141 /* end confdefs.h. */
37142 $ac_includes_default
37143 typedef ssize_t ac__type_new_;
37147 if ((ac__type_new_ *) 0)
37149 if (sizeof (ac__type_new_))
37155 rm -f conftest.$ac_objext
37156 if { (ac_try="$ac_compile"
37157 case "(($ac_try" in
37158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37159 *) ac_try_echo=$ac_try;;
37161 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37162 (eval "$ac_compile") 2>conftest.er1
37164 grep -v '^ *+' conftest.er1 >conftest.err
37166 cat conftest.err >&5
37167 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37168 (exit $ac_status); } && {
37169 test -z "$ac_c_werror_flag" ||
37170 test ! -s conftest.err
37171 } && test -s conftest.$ac_objext; then
37172 ac_cv_type_ssize_t=yes
37174 echo "$as_me: failed program was
:" >&5
37175 sed 's/^/| /' conftest.$ac_ext >&5
37177 ac_cv_type_ssize_t=no
37180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37182 { echo "$as_me:$LINENO: result
: $ac_cv_type_ssize_t" >&5
37183 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
37184 if test $ac_cv_type_ssize_t = yes; then
37186 cat >>confdefs.h <<_ACEOF
37187 #define HAVE_SSIZE_T 1
37195 ac_cpp='$CXXCPP $CPPFLAGS'
37196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37199 { echo "$as_me:$LINENO: checking
if size_t is unsigned int
" >&5
37200 echo $ECHO_N "checking
if size_t is unsigned int...
$ECHO_C" >&6; }
37201 if test "${wx_cv_size_t_is_uint+set}" = set; then
37202 echo $ECHO_N "(cached
) $ECHO_C" >&6
37205 cat >conftest.$ac_ext <<_ACEOF
37208 cat confdefs.h >>conftest.$ac_ext
37209 cat >>conftest.$ac_ext <<_ACEOF
37210 /* end confdefs.h. */
37211 #include <stddef.h>
37218 struct Foo { void foo(size_t); void foo(unsigned int); };
37226 rm -f conftest.$ac_objext
37227 if { (ac_try="$ac_compile"
37228 case "(($ac_try" in
37229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37230 *) ac_try_echo=$ac_try;;
37232 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37233 (eval "$ac_compile") 2>conftest.er1
37235 grep -v '^ *+' conftest.er1 >conftest.err
37237 cat conftest.err >&5
37238 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37239 (exit $ac_status); } && {
37240 test -z "$ac_cxx_werror_flag" ||
37241 test ! -s conftest.err
37242 } && test -s conftest.$ac_objext; then
37243 wx_cv_size_t_is_uint=no
37245 echo "$as_me: failed program was
:" >&5
37246 sed 's/^/| /' conftest.$ac_ext >&5
37248 wx_cv_size_t_is_uint=yes
37252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37256 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_uint" >&5
37257 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37259 if test "$wx_cv_size_t_is_uint" = "yes"; then
37260 cat >>confdefs.h <<\_ACEOF
37261 #define wxSIZE_T_IS_UINT 1
37265 { echo "$as_me:$LINENO: checking
if size_t is unsigned long
" >&5
37266 echo $ECHO_N "checking
if size_t is unsigned long...
$ECHO_C" >&6; }
37267 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37268 echo $ECHO_N "(cached
) $ECHO_C" >&6
37270 cat >conftest.$ac_ext <<_ACEOF
37273 cat confdefs.h >>conftest.$ac_ext
37274 cat >>conftest.$ac_ext <<_ACEOF
37275 /* end confdefs.h. */
37276 #include <stddef.h>
37283 struct Foo { void foo(size_t); void foo(unsigned long); };
37291 rm -f conftest.$ac_objext
37292 if { (ac_try="$ac_compile"
37293 case "(($ac_try" in
37294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37295 *) ac_try_echo=$ac_try;;
37297 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37298 (eval "$ac_compile") 2>conftest.er1
37300 grep -v '^ *+' conftest.er1 >conftest.err
37302 cat conftest.err >&5
37303 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37304 (exit $ac_status); } && {
37305 test -z "$ac_cxx_werror_flag" ||
37306 test ! -s conftest.err
37307 } && test -s conftest.$ac_objext; then
37308 wx_cv_size_t_is_ulong=no
37310 echo "$as_me: failed program was
:" >&5
37311 sed 's/^/| /' conftest.$ac_ext >&5
37313 wx_cv_size_t_is_ulong=yes
37317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37320 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_ulong" >&5
37321 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37323 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37324 cat >>confdefs.h <<\_ACEOF
37325 #define wxSIZE_T_IS_ULONG 1
37331 { echo "$as_me:$LINENO: checking
if wchar_t is separate
type" >&5
37332 echo $ECHO_N "checking
if wchar_t is separate
type...
$ECHO_C" >&6; }
37333 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37334 echo $ECHO_N "(cached
) $ECHO_C" >&6
37336 cat >conftest.$ac_ext <<_ACEOF
37339 cat confdefs.h >>conftest.$ac_ext
37340 cat >>conftest.$ac_ext <<_ACEOF
37341 /* end confdefs.h. */
37349 struct Foo { void foo(wchar_t);
37350 void foo(unsigned short);
37351 void foo(unsigned int);
37352 void foo(unsigned long); };
37360 rm -f conftest.$ac_objext
37361 if { (ac_try="$ac_compile"
37362 case "(($ac_try" in
37363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37364 *) ac_try_echo=$ac_try;;
37366 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37367 (eval "$ac_compile") 2>conftest.er1
37369 grep -v '^ *+' conftest.er1 >conftest.err
37371 cat conftest.err >&5
37372 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37373 (exit $ac_status); } && {
37374 test -z "$ac_cxx_werror_flag" ||
37375 test ! -s conftest.err
37376 } && test -s conftest.$ac_objext; then
37377 wx_cv_wchar_t_is_separate_type=yes
37379 echo "$as_me: failed program was
:" >&5
37380 sed 's/^/| /' conftest.$ac_ext >&5
37382 wx_cv_wchar_t_is_separate_type=no
37386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37389 { echo "$as_me:$LINENO: result
: $wx_cv_wchar_t_is_separate_type" >&5
37390 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37392 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37393 cat >>confdefs.h <<\_ACEOF
37394 #define wxWCHAR_T_IS_REAL_TYPE 1
37398 cat >>confdefs.h <<\_ACEOF
37399 #define wxWCHAR_T_IS_REAL_TYPE 0
37405 ac_cpp='$CPP $CPPFLAGS'
37406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37411 { echo "$as_me:$LINENO: checking
for pw_gecos
in struct passwd
" >&5
37412 echo $ECHO_N "checking
for pw_gecos
in struct passwd...
$ECHO_C" >&6; }
37413 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37414 echo $ECHO_N "(cached
) $ECHO_C" >&6
37417 cat >conftest.$ac_ext <<_ACEOF
37420 cat confdefs.h >>conftest.$ac_ext
37421 cat >>conftest.$ac_ext <<_ACEOF
37422 /* end confdefs.h. */
37436 rm -f conftest.$ac_objext
37437 if { (ac_try="$ac_compile"
37438 case "(($ac_try" in
37439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37440 *) ac_try_echo=$ac_try;;
37442 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37443 (eval "$ac_compile") 2>conftest.er1
37445 grep -v '^ *+' conftest.er1 >conftest.err
37447 cat conftest.err >&5
37448 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37449 (exit $ac_status); } && {
37450 test -z "$ac_c_werror_flag" ||
37451 test ! -s conftest.err
37452 } && test -s conftest.$ac_objext; then
37454 wx_cv_struct_pw_gecos=yes
37457 echo "$as_me: failed program was
:" >&5
37458 sed 's/^/| /' conftest.$ac_ext >&5
37461 wx_cv_struct_pw_gecos=no
37466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37470 { echo "$as_me:$LINENO: result
: $wx_cv_struct_pw_gecos" >&5
37471 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37473 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37474 cat >>confdefs.h <<\_ACEOF
37475 #define HAVE_PW_GECOS 1
37481 if test "$wxUSE_WCHAR_T" = "yes"; then
37482 cat >>confdefs.h <<\_ACEOF
37483 #define wxUSE_WCHAR_T 1
37490 for ac_func in wcslen
37492 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37493 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37494 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37495 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37496 echo $ECHO_N "(cached
) $ECHO_C" >&6
37498 cat >conftest.$ac_ext <<_ACEOF
37501 cat confdefs.h >>conftest.$ac_ext
37502 cat >>conftest.$ac_ext <<_ACEOF
37503 /* end confdefs.h. */
37504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37506 #define $ac_func innocuous_$ac_func
37508 /* System header to define __stub macros and hopefully few prototypes,
37509 which can conflict with char $ac_func (); below.
37510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37511 <limits.h> exists even on freestanding compilers. */
37514 # include <limits.h>
37516 # include <assert.h>
37521 /* Override any GCC internal prototype to avoid an error.
37522 Use char because int might match the return type of a GCC
37523 builtin and then its argument prototype would still apply. */
37528 /* The GNU C library defines this for functions which it implements
37529 to always fail with ENOSYS. Some functions are actually named
37530 something starting with __ and the normal name is an alias. */
37531 #if defined __stub_$ac_func || defined __stub___$ac_func
37538 return $ac_func ();
37543 rm -f conftest.$ac_objext conftest$ac_exeext
37544 if { (ac_try="$ac_link"
37545 case "(($ac_try" in
37546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37547 *) ac_try_echo=$ac_try;;
37549 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37550 (eval "$ac_link") 2>conftest.er1
37552 grep -v '^ *+' conftest.er1 >conftest.err
37554 cat conftest.err >&5
37555 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37556 (exit $ac_status); } && {
37557 test -z "$ac_c_werror_flag" ||
37558 test ! -s conftest.err
37559 } && test -s conftest$ac_exeext &&
37560 $as_test_x conftest$ac_exeext; then
37561 eval "$as_ac_var=yes"
37563 echo "$as_me: failed program was
:" >&5
37564 sed 's/^/| /' conftest.$ac_ext >&5
37566 eval "$as_ac_var=no
"
37569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37570 conftest$ac_exeext conftest.$ac_ext
37572 ac_res=`eval echo '${'$as_ac_var'}'`
37573 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37574 echo "${ECHO_T}$ac_res" >&6; }
37575 if test `eval echo '${'$as_ac_var'}'` = yes; then
37576 cat >>confdefs.h <<_ACEOF
37577 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37584 if test "$WCSLEN_FOUND" = 0; then
37585 if test "$TOOLKIT" = "MSW
"; then
37586 { echo "$as_me:$LINENO: checking
for wcslen
in -lmsvcrt" >&5
37587 echo $ECHO_N "checking
for wcslen
in -lmsvcrt...
$ECHO_C" >&6; }
37588 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37589 echo $ECHO_N "(cached
) $ECHO_C" >&6
37591 ac_check_lib_save_LIBS=$LIBS
37592 LIBS="-lmsvcrt $LIBS"
37593 cat >conftest.$ac_ext <<_ACEOF
37596 cat confdefs.h >>conftest.$ac_ext
37597 cat >>conftest.$ac_ext <<_ACEOF
37598 /* end confdefs.h. */
37600 /* Override any GCC internal prototype to avoid an error.
37601 Use char because int might match the return type of a GCC
37602 builtin and then its argument prototype would still apply. */
37615 rm -f conftest.$ac_objext conftest$ac_exeext
37616 if { (ac_try="$ac_link"
37617 case "(($ac_try" in
37618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37619 *) ac_try_echo=$ac_try;;
37621 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37622 (eval "$ac_link") 2>conftest.er1
37624 grep -v '^ *+' conftest.er1 >conftest.err
37626 cat conftest.err >&5
37627 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37628 (exit $ac_status); } && {
37629 test -z "$ac_c_werror_flag" ||
37630 test ! -s conftest.err
37631 } && test -s conftest$ac_exeext &&
37632 $as_test_x conftest$ac_exeext; then
37633 ac_cv_lib_msvcrt_wcslen=yes
37635 echo "$as_me: failed program was
:" >&5
37636 sed 's/^/| /' conftest.$ac_ext >&5
37638 ac_cv_lib_msvcrt_wcslen=no
37641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37642 conftest$ac_exeext conftest.$ac_ext
37643 LIBS=$ac_check_lib_save_LIBS
37645 { echo "$as_me:$LINENO: result
: $ac_cv_lib_msvcrt_wcslen" >&5
37646 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37647 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37652 { echo "$as_me:$LINENO: checking
for wcslen
in -lw" >&5
37653 echo $ECHO_N "checking
for wcslen
in -lw...
$ECHO_C" >&6; }
37654 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37655 echo $ECHO_N "(cached
) $ECHO_C" >&6
37657 ac_check_lib_save_LIBS=$LIBS
37659 cat >conftest.$ac_ext <<_ACEOF
37662 cat confdefs.h >>conftest.$ac_ext
37663 cat >>conftest.$ac_ext <<_ACEOF
37664 /* end confdefs.h. */
37666 /* Override any GCC internal prototype to avoid an error.
37667 Use char because int might match the return type of a GCC
37668 builtin and then its argument prototype would still apply. */
37681 rm -f conftest.$ac_objext conftest$ac_exeext
37682 if { (ac_try="$ac_link"
37683 case "(($ac_try" in
37684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37685 *) ac_try_echo=$ac_try;;
37687 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37688 (eval "$ac_link") 2>conftest.er1
37690 grep -v '^ *+' conftest.er1 >conftest.err
37692 cat conftest.err >&5
37693 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37694 (exit $ac_status); } && {
37695 test -z "$ac_c_werror_flag" ||
37696 test ! -s conftest.err
37697 } && test -s conftest$ac_exeext &&
37698 $as_test_x conftest$ac_exeext; then
37699 ac_cv_lib_w_wcslen=yes
37701 echo "$as_me: failed program was
:" >&5
37702 sed 's/^/| /' conftest.$ac_ext >&5
37704 ac_cv_lib_w_wcslen=no
37707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37708 conftest$ac_exeext conftest.$ac_ext
37709 LIBS=$ac_check_lib_save_LIBS
37711 { echo "$as_me:$LINENO: result
: $ac_cv_lib_w_wcslen" >&5
37712 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37713 if test $ac_cv_lib_w_wcslen = yes; then
37723 if test "$WCSLEN_FOUND" = 1; then
37724 cat >>confdefs.h <<\_ACEOF
37725 #define HAVE_WCSLEN 1
37731 for ac_func in wcsdup
37733 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37734 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37735 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37736 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37737 echo $ECHO_N "(cached
) $ECHO_C" >&6
37739 cat >conftest.$ac_ext <<_ACEOF
37742 cat confdefs.h >>conftest.$ac_ext
37743 cat >>conftest.$ac_ext <<_ACEOF
37744 /* end confdefs.h. */
37745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37747 #define $ac_func innocuous_$ac_func
37749 /* System header to define __stub macros and hopefully few prototypes,
37750 which can conflict with char $ac_func (); below.
37751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37752 <limits.h> exists even on freestanding compilers. */
37755 # include <limits.h>
37757 # include <assert.h>
37762 /* Override any GCC internal prototype to avoid an error.
37763 Use char because int might match the return type of a GCC
37764 builtin and then its argument prototype would still apply. */
37769 /* The GNU C library defines this for functions which it implements
37770 to always fail with ENOSYS. Some functions are actually named
37771 something starting with __ and the normal name is an alias. */
37772 #if defined __stub_$ac_func || defined __stub___$ac_func
37779 return $ac_func ();
37784 rm -f conftest.$ac_objext conftest$ac_exeext
37785 if { (ac_try="$ac_link"
37786 case "(($ac_try" in
37787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37788 *) ac_try_echo=$ac_try;;
37790 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37791 (eval "$ac_link") 2>conftest.er1
37793 grep -v '^ *+' conftest.er1 >conftest.err
37795 cat conftest.err >&5
37796 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37797 (exit $ac_status); } && {
37798 test -z "$ac_c_werror_flag" ||
37799 test ! -s conftest.err
37800 } && test -s conftest$ac_exeext &&
37801 $as_test_x conftest$ac_exeext; then
37802 eval "$as_ac_var=yes"
37804 echo "$as_me: failed program was
:" >&5
37805 sed 's/^/| /' conftest.$ac_ext >&5
37807 eval "$as_ac_var=no
"
37810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37811 conftest$ac_exeext conftest.$ac_ext
37813 ac_res=`eval echo '${'$as_ac_var'}'`
37814 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37815 echo "${ECHO_T}$ac_res" >&6; }
37816 if test `eval echo '${'$as_ac_var'}'` = yes; then
37817 cat >>confdefs.h <<_ACEOF
37818 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37825 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37826 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37829 { echo "$as_me:$LINENO: checking
for mbstate_t
" >&5
37830 echo $ECHO_N "checking
for mbstate_t...
$ECHO_C" >&6; }
37831 if test "${ac_cv_type_mbstate_t+set}" = set; then
37832 echo $ECHO_N "(cached
) $ECHO_C" >&6
37834 cat >conftest.$ac_ext <<_ACEOF
37837 cat confdefs.h >>conftest.$ac_ext
37838 cat >>conftest.$ac_ext <<_ACEOF
37839 /* end confdefs.h. */
37842 typedef mbstate_t ac__type_new_;
37846 if ((ac__type_new_ *) 0)
37848 if (sizeof (ac__type_new_))
37854 rm -f conftest.$ac_objext
37855 if { (ac_try="$ac_compile"
37856 case "(($ac_try" in
37857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37858 *) ac_try_echo=$ac_try;;
37860 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37861 (eval "$ac_compile") 2>conftest.er1
37863 grep -v '^ *+' conftest.er1 >conftest.err
37865 cat conftest.err >&5
37866 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37867 (exit $ac_status); } && {
37868 test -z "$ac_c_werror_flag" ||
37869 test ! -s conftest.err
37870 } && test -s conftest.$ac_objext; then
37871 ac_cv_type_mbstate_t=yes
37873 echo "$as_me: failed program was
:" >&5
37874 sed 's/^/| /' conftest.$ac_ext >&5
37876 ac_cv_type_mbstate_t=no
37879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37881 { echo "$as_me:$LINENO: result
: $ac_cv_type_mbstate_t" >&5
37882 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37883 if test $ac_cv_type_mbstate_t = yes; then
37885 cat >>confdefs.h <<_ACEOF
37886 #define HAVE_MBSTATE_T 1
37890 for ac_func in wcsrtombs
37892 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37893 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37894 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37895 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37896 echo $ECHO_N "(cached
) $ECHO_C" >&6
37898 cat >conftest.$ac_ext <<_ACEOF
37901 cat confdefs.h >>conftest.$ac_ext
37902 cat >>conftest.$ac_ext <<_ACEOF
37903 /* end confdefs.h. */
37904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37906 #define $ac_func innocuous_$ac_func
37908 /* System header to define __stub macros and hopefully few prototypes,
37909 which can conflict with char $ac_func (); below.
37910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37911 <limits.h> exists even on freestanding compilers. */
37914 # include <limits.h>
37916 # include <assert.h>
37921 /* Override any GCC internal prototype to avoid an error.
37922 Use char because int might match the return type of a GCC
37923 builtin and then its argument prototype would still apply. */
37928 /* The GNU C library defines this for functions which it implements
37929 to always fail with ENOSYS. Some functions are actually named
37930 something starting with __ and the normal name is an alias. */
37931 #if defined __stub_$ac_func || defined __stub___$ac_func
37938 return $ac_func ();
37943 rm -f conftest.$ac_objext conftest$ac_exeext
37944 if { (ac_try="$ac_link"
37945 case "(($ac_try" in
37946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37947 *) ac_try_echo=$ac_try;;
37949 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37950 (eval "$ac_link") 2>conftest.er1
37952 grep -v '^ *+' conftest.er1 >conftest.err
37954 cat conftest.err >&5
37955 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37956 (exit $ac_status); } && {
37957 test -z "$ac_c_werror_flag" ||
37958 test ! -s conftest.err
37959 } && test -s conftest$ac_exeext &&
37960 $as_test_x conftest$ac_exeext; then
37961 eval "$as_ac_var=yes"
37963 echo "$as_me: failed program was
:" >&5
37964 sed 's/^/| /' conftest.$ac_ext >&5
37966 eval "$as_ac_var=no
"
37969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37970 conftest$ac_exeext conftest.$ac_ext
37972 ac_res=`eval echo '${'$as_ac_var'}'`
37973 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37974 echo "${ECHO_T}$ac_res" >&6; }
37975 if test `eval echo '${'$as_ac_var'}'` = yes; then
37976 cat >>confdefs.h <<_ACEOF
37977 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37986 { echo "$as_me:$LINENO: WARNING
: Wide character support is unavailable
" >&5
37987 echo "$as_me: WARNING
: Wide character support is unavailable
" >&2;}
37992 for ac_func in snprintf vsnprintf
37994 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37995 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37996 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37997 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37998 echo $ECHO_N "(cached
) $ECHO_C" >&6
38000 cat >conftest.$ac_ext <<_ACEOF
38003 cat confdefs.h >>conftest.$ac_ext
38004 cat >>conftest.$ac_ext <<_ACEOF
38005 /* end confdefs.h. */
38006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38008 #define $ac_func innocuous_$ac_func
38010 /* System header to define __stub macros and hopefully few prototypes,
38011 which can conflict with char $ac_func (); below.
38012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38013 <limits.h> exists even on freestanding compilers. */
38016 # include <limits.h>
38018 # include <assert.h>
38023 /* Override any GCC internal prototype to avoid an error.
38024 Use char because int might match the return type of a GCC
38025 builtin and then its argument prototype would still apply. */
38030 /* The GNU C library defines this for functions which it implements
38031 to always fail with ENOSYS. Some functions are actually named
38032 something starting with __ and the normal name is an alias. */
38033 #if defined __stub_$ac_func || defined __stub___$ac_func
38040 return $ac_func ();
38045 rm -f conftest.$ac_objext conftest$ac_exeext
38046 if { (ac_try="$ac_link"
38047 case "(($ac_try" in
38048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38049 *) ac_try_echo=$ac_try;;
38051 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38052 (eval "$ac_link") 2>conftest.er1
38054 grep -v '^ *+' conftest.er1 >conftest.err
38056 cat conftest.err >&5
38057 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38058 (exit $ac_status); } && {
38059 test -z "$ac_c_werror_flag" ||
38060 test ! -s conftest.err
38061 } && test -s conftest$ac_exeext &&
38062 $as_test_x conftest$ac_exeext; then
38063 eval "$as_ac_var=yes"
38065 echo "$as_me: failed program was
:" >&5
38066 sed 's/^/| /' conftest.$ac_ext >&5
38068 eval "$as_ac_var=no
"
38071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38072 conftest$ac_exeext conftest.$ac_ext
38074 ac_res=`eval echo '${'$as_ac_var'}'`
38075 { echo "$as_me:$LINENO: result
: $ac_res" >&5
38076 echo "${ECHO_T}$ac_res" >&6; }
38077 if test `eval echo '${'$as_ac_var'}'` = yes; then
38078 cat >>confdefs.h <<_ACEOF
38079 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
38086 if test "$ac_cv_func_vsnprintf" = "yes"; then
38087 { echo "$as_me:$LINENO: checking
for vsnprintf declaration
" >&5
38088 echo $ECHO_N "checking
for vsnprintf declaration...
$ECHO_C" >&6; }
38089 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
38090 echo $ECHO_N "(cached
) $ECHO_C" >&6
38093 cat >conftest.$ac_ext <<_ACEOF
38096 cat confdefs.h >>conftest.$ac_ext
38097 cat >>conftest.$ac_ext <<_ACEOF
38098 /* end confdefs.h. */
38101 #include <stdarg.h>
38103 #if __MSL__ >= 0x6000
38105 using namespace std;
38115 vsnprintf(buf, 10u, "%s
", ap);
38121 rm -f conftest.$ac_objext
38122 if { (ac_try="$ac_compile"
38123 case "(($ac_try" in
38124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38125 *) ac_try_echo=$ac_try;;
38127 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38128 (eval "$ac_compile") 2>conftest.er1
38130 grep -v '^ *+' conftest.er1 >conftest.err
38132 cat conftest.err >&5
38133 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38134 (exit $ac_status); } && {
38135 test -z "$ac_c_werror_flag" ||
38136 test ! -s conftest.err
38137 } && test -s conftest.$ac_objext; then
38138 wx_cv_func_vsnprintf_decl=yes
38140 echo "$as_me: failed program was
:" >&5
38141 sed 's/^/| /' conftest.$ac_ext >&5
38143 wx_cv_func_vsnprintf_decl=no
38147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38151 { echo "$as_me:$LINENO: result
: $wx_cv_func_vsnprintf_decl" >&5
38152 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
38154 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
38155 cat >>confdefs.h <<\_ACEOF
38156 #define HAVE_VSNPRINTF_DECL 1
38160 { echo "$as_me:$LINENO: checking
if vsnprintf declaration is broken
" >&5
38161 echo $ECHO_N "checking
if vsnprintf declaration is broken...
$ECHO_C" >&6; }
38162 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
38163 echo $ECHO_N "(cached
) $ECHO_C" >&6
38166 cat >conftest.$ac_ext <<_ACEOF
38169 cat confdefs.h >>conftest.$ac_ext
38170 cat >>conftest.$ac_ext <<_ACEOF
38171 /* end confdefs.h. */
38174 #include <stdarg.h>
38176 #if __MSL__ >= 0x6000
38178 using namespace std;
38188 const char *fmt = "%s
";
38189 vsnprintf(buf, 10u, fmt, ap);
38195 rm -f conftest.$ac_objext
38196 if { (ac_try="$ac_compile"
38197 case "(($ac_try" in
38198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38199 *) ac_try_echo=$ac_try;;
38201 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38202 (eval "$ac_compile") 2>conftest.er1
38204 grep -v '^ *+' conftest.er1 >conftest.err
38206 cat conftest.err >&5
38207 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38208 (exit $ac_status); } && {
38209 test -z "$ac_c_werror_flag" ||
38210 test ! -s conftest.err
38211 } && test -s conftest.$ac_objext; then
38212 wx_cv_func_broken_vsnprintf_decl=no
38214 echo "$as_me: failed program was
:" >&5
38215 sed 's/^/| /' conftest.$ac_ext >&5
38217 wx_cv_func_broken_vsnprintf_decl=yes
38221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38225 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_vsnprintf_decl" >&5
38226 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38228 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38229 cat >>confdefs.h <<\_ACEOF
38230 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38237 if test "$ac_cv_func_snprintf" = "yes"; then
38238 { echo "$as_me:$LINENO: checking
for snprintf declaration
" >&5
38239 echo $ECHO_N "checking
for snprintf declaration...
$ECHO_C" >&6; }
38240 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38241 echo $ECHO_N "(cached
) $ECHO_C" >&6
38244 cat >conftest.$ac_ext <<_ACEOF
38247 cat confdefs.h >>conftest.$ac_ext
38248 cat >>conftest.$ac_ext <<_ACEOF
38249 /* end confdefs.h. */
38252 #include <stdarg.h>
38254 #if __MSL__ >= 0x6000
38256 using namespace std;
38265 snprintf(buf, 10u, "%s
", "wx
");
38271 rm -f conftest.$ac_objext
38272 if { (ac_try="$ac_compile"
38273 case "(($ac_try" in
38274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38275 *) ac_try_echo=$ac_try;;
38277 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38278 (eval "$ac_compile") 2>conftest.er1
38280 grep -v '^ *+' conftest.er1 >conftest.err
38282 cat conftest.err >&5
38283 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38284 (exit $ac_status); } && {
38285 test -z "$ac_c_werror_flag" ||
38286 test ! -s conftest.err
38287 } && test -s conftest.$ac_objext; then
38288 wx_cv_func_snprintf_decl=yes
38290 echo "$as_me: failed program was
:" >&5
38291 sed 's/^/| /' conftest.$ac_ext >&5
38293 wx_cv_func_snprintf_decl=no
38297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38301 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_decl" >&5
38302 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38304 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38305 cat >>confdefs.h <<\_ACEOF
38306 #define HAVE_SNPRINTF_DECL 1
38311 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38313 { echo "$as_me:$LINENO: checking
if snprintf supports positional arguments
" >&5
38314 echo $ECHO_N "checking
if snprintf supports positional arguments...
$ECHO_C" >&6; }
38315 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38316 echo $ECHO_N "(cached
) $ECHO_C" >&6
38319 if test "$cross_compiling" = yes; then
38321 { echo "$as_me:$LINENO: WARNING
: Assuming Unix98
printf() is not available
,
38322 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&5
38323 echo "$as_me: WARNING
: Assuming Unix98
printf() is not available
,
38324 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&2;}
38325 wx_cv_func_snprintf_pos_params=no
38329 cat >conftest.$ac_ext <<_ACEOF
38332 cat confdefs.h >>conftest.$ac_ext
38333 cat >>conftest.$ac_ext <<_ACEOF
38334 /* end confdefs.h. */
38341 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38342 if (strcmp ("2 3 1", buffer) == 0)
38348 rm -f conftest$ac_exeext
38349 if { (ac_try="$ac_link"
38350 case "(($ac_try" in
38351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38352 *) ac_try_echo=$ac_try;;
38354 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38355 (eval "$ac_link") 2>&5
38357 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38358 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38359 { (case "(($ac_try" in
38360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38361 *) ac_try_echo=$ac_try;;
38363 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38364 (eval "$ac_try") 2>&5
38366 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38367 (exit $ac_status); }; }; then
38368 wx_cv_func_snprintf_pos_params=no
38370 echo "$as_me: program exited with status
$ac_status" >&5
38371 echo "$as_me: failed program was
:" >&5
38372 sed 's/^/| /' conftest.$ac_ext >&5
38374 ( exit $ac_status )
38375 wx_cv_func_snprintf_pos_params=yes
38377 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38384 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_pos_params" >&5
38385 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38387 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38388 cat >>confdefs.h <<\_ACEOF
38389 #define HAVE_UNIX98_PRINTF 1
38396 if test "$wxUSE_UNICODE" = yes; then
38398 wchar_headers="#include <stdio.h>
38399 #include <wchar.h>"
38403 for ac_header
in widec.h
38405 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38406 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38408 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38409 echo $ECHO_N "(cached) $ECHO_C" >&6
38411 cat >conftest.
$ac_ext <<_ACEOF
38414 cat confdefs.h
>>conftest.
$ac_ext
38415 cat >>conftest.
$ac_ext <<_ACEOF
38416 /* end confdefs.h. */
38417 $ac_includes_default
38419 #include <$ac_header>
38421 rm -f conftest.
$ac_objext
38422 if { (ac_try
="$ac_compile"
38423 case "(($ac_try" in
38424 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38425 *) ac_try_echo=$ac_try;;
38427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38428 (eval "$ac_compile") 2>conftest.er1
38430 grep -v '^ *+' conftest.er1 >conftest.err
38432 cat conftest.err >&5
38433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38434 (exit $ac_status); } && {
38435 test -z "$ac_c_werror_flag" ||
38436 test ! -s conftest.err
38437 } && test -s conftest.$ac_objext; then
38438 eval "$as_ac_Header=yes"
38440 echo "$as_me: failed program was:" >&5
38441 sed 's/^/| /' conftest.$ac_ext >&5
38443 eval "$as_ac_Header=no"
38446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38448 ac_res=`eval echo '${'$as_ac_Header'}'`
38449 { echo "$as_me:$LINENO: result: $ac_res" >&5
38450 echo "${ECHO_T}$ac_res" >&6; }
38451 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38452 cat >>confdefs.h <<_ACEOF
38453 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38460 if test "$ac_cv_header_widec_h" = "yes"; then
38461 wchar_headers="$wchar_headers
38462 #include <widec.h>"
38467 for wx_func in putws fputws wprintf vswprintf
38469 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38470 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38471 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38472 echo $ECHO_N "(cached) $ECHO_C" >&6
38475 cat >conftest.$ac_ext <<_ACEOF
38479 cat confdefs.h >>conftest.$ac_ext
38480 cat >>conftest.$ac_ext <<_ACEOF
38481 /* end confdefs.h. */
38484 $ac_includes_default
38500 rm -f conftest.$ac_objext conftest$ac_exeext
38501 if { (ac_try="$ac_link"
38502 case "(($ac_try" in
38503 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38504 *) ac_try_echo
=$ac_try;;
38506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38507 (eval "$ac_link") 2>conftest.er1
38509 grep -v '^ *+' conftest.er1
>conftest.err
38511 cat conftest.err
>&5
38512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38513 (exit $ac_status); } && {
38514 test -z "$ac_c_werror_flag" ||
38515 test ! -s conftest.err
38516 } && test -s conftest
$ac_exeext &&
38517 $as_test_x conftest
$ac_exeext; then
38518 eval wx_cv_func_
$wx_func=yes
38520 echo "$as_me: failed program was:" >&5
38521 sed 's/^/| /' conftest.
$ac_ext >&5
38523 eval wx_cv_func_
$wx_func=no
38526 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38527 conftest
$ac_exeext conftest.
$ac_ext
38530 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38531 { echo "$as_me:$LINENO: result: $ac_res" >&5
38532 echo "${ECHO_T}$ac_res" >&6; }
38534 if eval test \
$wx_cv_func_$wx_func = yes
38536 cat >>confdefs.h
<<_ACEOF
38537 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38548 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38549 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38550 cat >conftest.
$ac_ext <<_ACEOF
38553 cat confdefs.h
>>conftest.
$ac_ext
38554 cat >>conftest.
$ac_ext <<_ACEOF
38555 /* end confdefs.h. */
38565 rm -f conftest.
$ac_objext
38566 if { (ac_try
="$ac_compile"
38567 case "(($ac_try" in
38568 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38569 *) ac_try_echo=$ac_try;;
38571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38572 (eval "$ac_compile") 2>conftest.er1
38574 grep -v '^ *+' conftest.er1 >conftest.err
38576 cat conftest.err >&5
38577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38578 (exit $ac_status); } && {
38579 test -z "$ac_c_werror_flag" ||
38580 test ! -s conftest.err
38581 } && test -s conftest.$ac_objext; then
38582 { echo "$as_me:$LINENO: result: yes" >&5
38583 echo "${ECHO_T}yes" >&6; }
38584 cat >>confdefs.h <<\_ACEOF
38585 #define HAVE__VSNWPRINTF 1
38589 echo "$as_me: failed program was:" >&5
38590 sed 's/^/| /' conftest.$ac_ext >&5
38592 { echo "$as_me:$LINENO: result: no" >&5
38593 echo "${ECHO_T}no" >&6; }
38596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38599 if test "$wxUSE_FILE" = "yes"; then
38601 for wx_func in fsync
38603 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38604 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38605 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38606 echo $ECHO_N "(cached) $ECHO_C" >&6
38609 cat >conftest.$ac_ext <<_ACEOF
38613 cat confdefs.h >>conftest.$ac_ext
38614 cat >>conftest.$ac_ext <<_ACEOF
38615 /* end confdefs.h. */
38618 $ac_includes_default
38634 rm -f conftest.$ac_objext conftest$ac_exeext
38635 if { (ac_try="$ac_link"
38636 case "(($ac_try" in
38637 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38638 *) ac_try_echo
=$ac_try;;
38640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38641 (eval "$ac_link") 2>conftest.er1
38643 grep -v '^ *+' conftest.er1
>conftest.err
38645 cat conftest.err
>&5
38646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38647 (exit $ac_status); } && {
38648 test -z "$ac_c_werror_flag" ||
38649 test ! -s conftest.err
38650 } && test -s conftest
$ac_exeext &&
38651 $as_test_x conftest
$ac_exeext; then
38652 eval wx_cv_func_
$wx_func=yes
38654 echo "$as_me: failed program was:" >&5
38655 sed 's/^/| /' conftest.
$ac_ext >&5
38657 eval wx_cv_func_
$wx_func=no
38660 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38661 conftest
$ac_exeext conftest.
$ac_ext
38664 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38665 { echo "$as_me:$LINENO: result: $ac_res" >&5
38666 echo "${ECHO_T}$ac_res" >&6; }
38668 if eval test \
$wx_cv_func_$wx_func = yes
38670 cat >>confdefs.h
<<_ACEOF
38671 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38684 ac_cpp
='$CXXCPP $CPPFLAGS'
38685 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38686 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38687 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38690 for wx_func
in round
38692 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38693 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38694 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38695 echo $ECHO_N "(cached) $ECHO_C" >&6
38698 cat >conftest.
$ac_ext <<_ACEOF
38702 cat confdefs.h
>>conftest.
$ac_ext
38703 cat >>conftest.
$ac_ext <<_ACEOF
38704 /* end confdefs.h. */
38707 $ac_includes_default
38723 rm -f conftest.
$ac_objext conftest
$ac_exeext
38724 if { (ac_try
="$ac_link"
38725 case "(($ac_try" in
38726 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38727 *) ac_try_echo=$ac_try;;
38729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38730 (eval "$ac_link") 2>conftest.er1
38732 grep -v '^ *+' conftest.er1 >conftest.err
38734 cat conftest.err >&5
38735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38736 (exit $ac_status); } && {
38737 test -z "$ac_cxx_werror_flag" ||
38738 test ! -s conftest.err
38739 } && test -s conftest$ac_exeext &&
38740 $as_test_x conftest$ac_exeext; then
38741 eval wx_cv_func_$wx_func=yes
38743 echo "$as_me: failed program was:" >&5
38744 sed 's/^/| /' conftest.$ac_ext >&5
38746 eval wx_cv_func_$wx_func=no
38749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38750 conftest$ac_exeext conftest.$ac_ext
38753 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38754 { echo "$as_me:$LINENO: result: $ac_res" >&5
38755 echo "${ECHO_T}$ac_res" >&6; }
38757 if eval test \$wx_cv_func_$wx_func = yes
38759 cat >>confdefs.h <<_ACEOF
38760 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38771 ac_cpp='$CPP $CPPFLAGS'
38772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38777 if test "$TOOLKIT" != "MSW"; then
38783 # Check whether --with-libiconv-prefix was given.
38784 if test "${with_libiconv_prefix+set}" = set; then
38785 withval=$with_libiconv_prefix;
38786 for dir in `echo "$withval" | tr : ' '`; do
38787 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38788 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38794 { echo "$as_me:$LINENO: checking for iconv" >&5
38795 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38796 if test "${am_cv_func_iconv+set}" = set; then
38797 echo $ECHO_N "(cached) $ECHO_C" >&6
38800 am_cv_func_iconv="no, consider installing GNU libiconv"
38802 cat >conftest.$ac_ext <<_ACEOF
38805 cat confdefs.h >>conftest.$ac_ext
38806 cat >>conftest.$ac_ext <<_ACEOF
38807 /* end confdefs.h. */
38808 #include <stdlib.h>
38813 iconv_t cd = iconv_open("","");
38814 iconv(cd,NULL,NULL,NULL,NULL);
38820 rm -f conftest.$ac_objext conftest$ac_exeext
38821 if { (ac_try="$ac_link"
38822 case "(($ac_try" in
38823 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38824 *) ac_try_echo
=$ac_try;;
38826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38827 (eval "$ac_link") 2>conftest.er1
38829 grep -v '^ *+' conftest.er1
>conftest.err
38831 cat conftest.err
>&5
38832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38833 (exit $ac_status); } && {
38834 test -z "$ac_c_werror_flag" ||
38835 test ! -s conftest.err
38836 } && test -s conftest
$ac_exeext &&
38837 $as_test_x conftest
$ac_exeext; then
38838 am_cv_func_iconv
=yes
38840 echo "$as_me: failed program was:" >&5
38841 sed 's/^/| /' conftest.
$ac_ext >&5
38846 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38847 conftest
$ac_exeext conftest.
$ac_ext
38848 if test "$am_cv_func_iconv" != yes; then
38849 am_save_LIBS
="$LIBS"
38850 LIBS
="$LIBS -liconv"
38851 cat >conftest.
$ac_ext <<_ACEOF
38854 cat confdefs.h
>>conftest.
$ac_ext
38855 cat >>conftest.
$ac_ext <<_ACEOF
38856 /* end confdefs.h. */
38857 #include <stdlib.h>
38862 iconv_t cd = iconv_open("","");
38863 iconv(cd,NULL,NULL,NULL,NULL);
38869 rm -f conftest.
$ac_objext conftest
$ac_exeext
38870 if { (ac_try
="$ac_link"
38871 case "(($ac_try" in
38872 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38873 *) ac_try_echo=$ac_try;;
38875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38876 (eval "$ac_link") 2>conftest.er1
38878 grep -v '^ *+' conftest.er1 >conftest.err
38880 cat conftest.err >&5
38881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38882 (exit $ac_status); } && {
38883 test -z "$ac_c_werror_flag" ||
38884 test ! -s conftest.err
38885 } && test -s conftest$ac_exeext &&
38886 $as_test_x conftest$ac_exeext; then
38887 am_cv_lib_iconv=yes
38888 am_cv_func_iconv=yes
38890 echo "$as_me: failed program was:" >&5
38891 sed 's/^/| /' conftest.$ac_ext >&5
38896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38897 conftest$ac_exeext conftest.$ac_ext
38898 LIBS="$am_save_LIBS"
38902 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38903 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38904 if test "$am_cv_func_iconv" = yes; then
38906 cat >>confdefs.h <<\_ACEOF
38907 #define HAVE_ICONV 1
38910 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38911 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38912 if test "${wx_cv_func_iconv_const+set}" = set; then
38913 echo $ECHO_N "(cached) $ECHO_C" >&6
38915 cat >conftest.$ac_ext <<_ACEOF
38918 cat confdefs.h >>conftest.$ac_ext
38919 cat >>conftest.$ac_ext <<_ACEOF
38920 /* end confdefs.h. */
38922 #include <stdlib.h>
38928 #if defined(__STDC__) || defined(__cplusplus)
38929 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38942 rm -f conftest.$ac_objext
38943 if { (ac_try="$ac_compile"
38944 case "(($ac_try" in
38945 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38946 *) ac_try_echo
=$ac_try;;
38948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38949 (eval "$ac_compile") 2>conftest.er1
38951 grep -v '^ *+' conftest.er1
>conftest.err
38953 cat conftest.err
>&5
38954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38955 (exit $ac_status); } && {
38956 test -z "$ac_c_werror_flag" ||
38957 test ! -s conftest.err
38958 } && test -s conftest.
$ac_objext; then
38959 wx_cv_func_iconv_const
="no"
38961 echo "$as_me: failed program was:" >&5
38962 sed 's/^/| /' conftest.
$ac_ext >&5
38964 wx_cv_func_iconv_const
="yes"
38968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38971 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38972 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38975 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38976 iconv_const
="const"
38980 cat >>confdefs.h
<<_ACEOF
38981 #define ICONV_CONST $iconv_const
38986 if test "$am_cv_lib_iconv" = yes; then
38991 LIBS
="$LIBICONV $LIBS"
38993 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38995 for ac_func
in sigaction
38997 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38998 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39000 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39001 echo $ECHO_N "(cached) $ECHO_C" >&6
39003 cat >conftest.
$ac_ext <<_ACEOF
39006 cat confdefs.h
>>conftest.
$ac_ext
39007 cat >>conftest.
$ac_ext <<_ACEOF
39008 /* end confdefs.h. */
39009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39011 #define $ac_func innocuous_$ac_func
39013 /* System header to define __stub macros and hopefully few prototypes,
39014 which can conflict with char $ac_func (); below.
39015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39016 <limits.h> exists even on freestanding compilers. */
39019 # include <limits.h>
39021 # include <assert.h>
39026 /* Override any GCC internal prototype to avoid an error.
39027 Use char because int might match the return type of a GCC
39028 builtin and then its argument prototype would still apply. */
39033 /* The GNU C library defines this for functions which it implements
39034 to always fail with ENOSYS. Some functions are actually named
39035 something starting with __ and the normal name is an alias. */
39036 #if defined __stub_$ac_func || defined __stub___$ac_func
39043 return $ac_func ();
39048 rm -f conftest.
$ac_objext conftest
$ac_exeext
39049 if { (ac_try
="$ac_link"
39050 case "(($ac_try" in
39051 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39052 *) ac_try_echo=$ac_try;;
39054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39055 (eval "$ac_link") 2>conftest.er1
39057 grep -v '^ *+' conftest.er1 >conftest.err
39059 cat conftest.err >&5
39060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39061 (exit $ac_status); } && {
39062 test -z "$ac_c_werror_flag" ||
39063 test ! -s conftest.err
39064 } && test -s conftest$ac_exeext &&
39065 $as_test_x conftest$ac_exeext; then
39066 eval "$as_ac_var=yes"
39068 echo "$as_me: failed program was:" >&5
39069 sed 's/^/| /' conftest.$ac_ext >&5
39071 eval "$as_ac_var=no"
39074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39075 conftest$ac_exeext conftest.$ac_ext
39077 ac_res=`eval echo '${'$as_ac_var'}'`
39078 { echo "$as_me:$LINENO: result: $ac_res" >&5
39079 echo "${ECHO_T}$ac_res" >&6; }
39080 if test `eval echo '${'$as_ac_var'}'` = yes; then
39081 cat >>confdefs.h <<_ACEOF
39082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39089 if test "$ac_cv_func_sigaction" = "no"; then
39090 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39091 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39092 wxUSE_ON_FATAL_EXCEPTION=no
39095 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39096 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39097 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39098 if test "${wx_cv_type_sa_handler+set}" = set; then
39099 echo $ECHO_N "(cached) $ECHO_C" >&6
39103 ac_cpp='$CXXCPP $CPPFLAGS'
39104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39108 cat >conftest.$ac_ext <<_ACEOF
39111 cat confdefs.h >>conftest.$ac_ext
39112 cat >>conftest.$ac_ext <<_ACEOF
39113 /* end confdefs.h. */
39114 #include <signal.h>
39119 extern void testSigHandler(int);
39121 struct sigaction sa;
39122 sa.sa_handler = testSigHandler;
39128 rm -f conftest.$ac_objext
39129 if { (ac_try="$ac_compile"
39130 case "(($ac_try" in
39131 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39132 *) ac_try_echo
=$ac_try;;
39134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39135 (eval "$ac_compile") 2>conftest.er1
39137 grep -v '^ *+' conftest.er1
>conftest.err
39139 cat conftest.err
>&5
39140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39141 (exit $ac_status); } && {
39142 test -z "$ac_cxx_werror_flag" ||
39143 test ! -s conftest.err
39144 } && test -s conftest.
$ac_objext; then
39146 wx_cv_type_sa_handler
=int
39149 echo "$as_me: failed program was:" >&5
39150 sed 's/^/| /' conftest.
$ac_ext >&5
39153 wx_cv_type_sa_handler
=void
39157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39159 ac_cpp
='$CPP $CPPFLAGS'
39160 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39161 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39162 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39166 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39167 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39169 cat >>confdefs.h
<<_ACEOF
39170 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39176 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39177 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39178 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39179 if test "${wx_cv_func_backtrace+set}" = set; then
39180 echo $ECHO_N "(cached) $ECHO_C" >&6
39184 ac_cpp
='$CXXCPP $CPPFLAGS'
39185 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39186 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39187 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39189 cat >conftest.
$ac_ext <<_ACEOF
39192 cat confdefs.h
>>conftest.
$ac_ext
39193 cat >>conftest.
$ac_ext <<_ACEOF
39194 /* end confdefs.h. */
39195 #include <execinfo.h>
39203 backtrace(trace, 1);
39204 messages = backtrace_symbols(trace, 1);
39210 rm -f conftest.
$ac_objext
39211 if { (ac_try
="$ac_compile"
39212 case "(($ac_try" in
39213 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39214 *) ac_try_echo=$ac_try;;
39216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39217 (eval "$ac_compile") 2>conftest.er1
39219 grep -v '^ *+' conftest.er1 >conftest.err
39221 cat conftest.err >&5
39222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39223 (exit $ac_status); } && {
39224 test -z "$ac_cxx_werror_flag" ||
39225 test ! -s conftest.err
39226 } && test -s conftest.$ac_objext; then
39227 wx_cv_func_backtrace=yes
39229 echo "$as_me: failed program was:" >&5
39230 sed 's/^/| /' conftest.$ac_ext >&5
39232 wx_cv_func_backtrace=no
39236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39238 ac_cpp='$CPP $CPPFLAGS'
39239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39246 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39247 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39250 if test "$wx_cv_func_backtrace" = "no"; then
39251 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39252 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39253 wxUSE_STACKWALKER=no
39255 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39256 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39257 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39258 echo $ECHO_N "(cached) $ECHO_C" >&6
39262 ac_cpp='$CXXCPP $CPPFLAGS'
39263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39267 cat >conftest.$ac_ext <<_ACEOF
39270 cat confdefs.h >>conftest.$ac_ext
39271 cat >>conftest.$ac_ext <<_ACEOF
39272 /* end confdefs.h. */
39273 #include <cxxabi.h>
39279 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39285 rm -f conftest.$ac_objext conftest$ac_exeext
39286 if { (ac_try="$ac_link"
39287 case "(($ac_try" in
39288 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39289 *) ac_try_echo
=$ac_try;;
39291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39292 (eval "$ac_link") 2>conftest.er1
39294 grep -v '^ *+' conftest.er1
>conftest.err
39296 cat conftest.err
>&5
39297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39298 (exit $ac_status); } && {
39299 test -z "$ac_cxx_werror_flag" ||
39300 test ! -s conftest.err
39301 } && test -s conftest
$ac_exeext &&
39302 $as_test_x conftest
$ac_exeext; then
39303 wx_cv_func_cxa_demangle
=yes
39305 echo "$as_me: failed program was:" >&5
39306 sed 's/^/| /' conftest.
$ac_ext >&5
39308 wx_cv_func_cxa_demangle
=no
39312 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39313 conftest
$ac_exeext conftest.
$ac_ext
39315 ac_cpp
='$CPP $CPPFLAGS'
39316 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39317 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39318 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39323 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39324 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39326 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39327 cat >>confdefs.h
<<\_ACEOF
39328 #define HAVE_CXA_DEMANGLE 1
39335 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39336 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39337 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39338 wxUSE_STACKWALKER
=no
39344 for ac_func
in mkstemp mktemp
39346 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39347 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39349 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39350 echo $ECHO_N "(cached) $ECHO_C" >&6
39352 cat >conftest.
$ac_ext <<_ACEOF
39355 cat confdefs.h
>>conftest.
$ac_ext
39356 cat >>conftest.
$ac_ext <<_ACEOF
39357 /* end confdefs.h. */
39358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39360 #define $ac_func innocuous_$ac_func
39362 /* System header to define __stub macros and hopefully few prototypes,
39363 which can conflict with char $ac_func (); below.
39364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39365 <limits.h> exists even on freestanding compilers. */
39368 # include <limits.h>
39370 # include <assert.h>
39375 /* Override any GCC internal prototype to avoid an error.
39376 Use char because int might match the return type of a GCC
39377 builtin and then its argument prototype would still apply. */
39382 /* The GNU C library defines this for functions which it implements
39383 to always fail with ENOSYS. Some functions are actually named
39384 something starting with __ and the normal name is an alias. */
39385 #if defined __stub_$ac_func || defined __stub___$ac_func
39392 return $ac_func ();
39397 rm -f conftest.
$ac_objext conftest
$ac_exeext
39398 if { (ac_try
="$ac_link"
39399 case "(($ac_try" in
39400 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39401 *) ac_try_echo=$ac_try;;
39403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39404 (eval "$ac_link") 2>conftest.er1
39406 grep -v '^ *+' conftest.er1 >conftest.err
39408 cat conftest.err >&5
39409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39410 (exit $ac_status); } && {
39411 test -z "$ac_c_werror_flag" ||
39412 test ! -s conftest.err
39413 } && test -s conftest$ac_exeext &&
39414 $as_test_x conftest$ac_exeext; then
39415 eval "$as_ac_var=yes"
39417 echo "$as_me: failed program was:" >&5
39418 sed 's/^/| /' conftest.$ac_ext >&5
39420 eval "$as_ac_var=no"
39423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39424 conftest$ac_exeext conftest.$ac_ext
39426 ac_res=`eval echo '${'$as_ac_var'}'`
39427 { echo "$as_me:$LINENO: result: $ac_res" >&5
39428 echo "${ECHO_T}$ac_res" >&6; }
39429 if test `eval echo '${'$as_ac_var'}'` = yes; then
39430 cat >>confdefs.h <<_ACEOF
39431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39438 { echo "$as_me:$LINENO: checking for statfs" >&5
39439 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39440 if test "${wx_cv_func_statfs+set}" = set; then
39441 echo $ECHO_N "(cached) $ECHO_C" >&6
39443 cat >conftest.$ac_ext <<_ACEOF
39446 cat confdefs.h >>conftest.$ac_ext
39447 cat >>conftest.$ac_ext <<_ACEOF
39448 /* end confdefs.h. */
39450 #if defined(__BSD__)
39451 #include <sys/param.h>
39452 #include <sys/mount.h>
39454 #include <sys/vfs.h>
39472 rm -f conftest.$ac_objext
39473 if { (ac_try="$ac_compile"
39474 case "(($ac_try" in
39475 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39476 *) ac_try_echo
=$ac_try;;
39478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39479 (eval "$ac_compile") 2>conftest.er1
39481 grep -v '^ *+' conftest.er1
>conftest.err
39483 cat conftest.err
>&5
39484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39485 (exit $ac_status); } && {
39486 test -z "$ac_c_werror_flag" ||
39487 test ! -s conftest.err
39488 } && test -s conftest.
$ac_objext; then
39489 wx_cv_func_statfs
=yes
39491 echo "$as_me: failed program was:" >&5
39492 sed 's/^/| /' conftest.
$ac_ext >&5
39494 wx_cv_func_statfs
=no
39498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39501 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39502 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39504 if test "$wx_cv_func_statfs" = "yes"; then
39505 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39506 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39507 if test "${wx_cv_func_statfs_decl+set}" = set; then
39508 echo $ECHO_N "(cached) $ECHO_C" >&6
39511 ac_cpp
='$CXXCPP $CPPFLAGS'
39512 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39513 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39514 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39516 cat >conftest.
$ac_ext <<_ACEOF
39519 cat confdefs.h
>>conftest.
$ac_ext
39520 cat >>conftest.
$ac_ext <<_ACEOF
39521 /* end confdefs.h. */
39523 #if defined(__BSD__)
39524 #include <sys/param.h>
39525 #include <sys/mount.h>
39527 #include <sys/vfs.h>
39541 rm -f conftest.
$ac_objext
39542 if { (ac_try
="$ac_compile"
39543 case "(($ac_try" in
39544 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39545 *) ac_try_echo=$ac_try;;
39547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39548 (eval "$ac_compile") 2>conftest.er1
39550 grep -v '^ *+' conftest.er1 >conftest.err
39552 cat conftest.err >&5
39553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39554 (exit $ac_status); } && {
39555 test -z "$ac_cxx_werror_flag" ||
39556 test ! -s conftest.err
39557 } && test -s conftest.$ac_objext; then
39558 wx_cv_func_statfs_decl=yes
39560 echo "$as_me: failed program was:" >&5
39561 sed 's/^/| /' conftest.$ac_ext >&5
39563 wx_cv_func_statfs_decl=no
39567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39569 ac_cpp='$CPP $CPPFLAGS'
39570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39576 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39577 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39579 if test "$wx_cv_func_statfs_decl" = "yes"; then
39580 cat >>confdefs.h <<\_ACEOF
39581 #define HAVE_STATFS_DECL 1
39586 wx_cv_type_statvfs_t="struct statfs"
39587 cat >>confdefs.h <<\_ACEOF
39588 #define HAVE_STATFS 1
39592 { echo "$as_me:$LINENO: checking for statvfs" >&5
39593 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39594 if test "${wx_cv_func_statvfs+set}" = set; then
39595 echo $ECHO_N "(cached) $ECHO_C" >&6
39597 cat >conftest.$ac_ext <<_ACEOF
39600 cat confdefs.h >>conftest.$ac_ext
39601 cat >>conftest.$ac_ext <<_ACEOF
39602 /* end confdefs.h. */
39604 #include <stddef.h>
39605 #include <sys/statvfs.h>
39611 statvfs("/", NULL);
39617 rm -f conftest.$ac_objext
39618 if { (ac_try="$ac_compile"
39619 case "(($ac_try" in
39620 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39621 *) ac_try_echo
=$ac_try;;
39623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39624 (eval "$ac_compile") 2>conftest.er1
39626 grep -v '^ *+' conftest.er1
>conftest.err
39628 cat conftest.err
>&5
39629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39630 (exit $ac_status); } && {
39631 test -z "$ac_c_werror_flag" ||
39632 test ! -s conftest.err
39633 } && test -s conftest.
$ac_objext; then
39634 wx_cv_func_statvfs
=yes
39636 echo "$as_me: failed program was:" >&5
39637 sed 's/^/| /' conftest.
$ac_ext >&5
39639 wx_cv_func_statvfs
=no
39643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39646 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39647 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39649 if test "$wx_cv_func_statvfs" = "yes"; then
39650 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39651 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39652 if test "${wx_cv_type_statvfs_t+set}" = set; then
39653 echo $ECHO_N "(cached) $ECHO_C" >&6
39656 ac_cpp
='$CXXCPP $CPPFLAGS'
39657 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39658 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39659 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39661 cat >conftest.
$ac_ext <<_ACEOF
39664 cat confdefs.h
>>conftest.
$ac_ext
39665 cat >>conftest.
$ac_ext <<_ACEOF
39666 /* end confdefs.h. */
39668 #include <sys/statvfs.h>
39685 rm -f conftest.
$ac_objext
39686 if { (ac_try
="$ac_compile"
39687 case "(($ac_try" in
39688 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39689 *) ac_try_echo=$ac_try;;
39691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39692 (eval "$ac_compile") 2>conftest.er1
39694 grep -v '^ *+' conftest.er1 >conftest.err
39696 cat conftest.err >&5
39697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39698 (exit $ac_status); } && {
39699 test -z "$ac_cxx_werror_flag" ||
39700 test ! -s conftest.err
39701 } && test -s conftest.$ac_objext; then
39702 wx_cv_type_statvfs_t=statvfs_t
39704 echo "$as_me: failed program was:" >&5
39705 sed 's/^/| /' conftest.$ac_ext >&5
39708 cat >conftest.$ac_ext <<_ACEOF
39711 cat confdefs.h >>conftest.$ac_ext
39712 cat >>conftest.$ac_ext <<_ACEOF
39713 /* end confdefs.h. */
39715 #include <sys/statvfs.h>
39732 rm -f conftest.$ac_objext
39733 if { (ac_try="$ac_compile"
39734 case "(($ac_try" in
39735 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39736 *) ac_try_echo
=$ac_try;;
39738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39739 (eval "$ac_compile") 2>conftest.er1
39741 grep -v '^ *+' conftest.er1
>conftest.err
39743 cat conftest.err
>&5
39744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39745 (exit $ac_status); } && {
39746 test -z "$ac_cxx_werror_flag" ||
39747 test ! -s conftest.err
39748 } && test -s conftest.
$ac_objext; then
39749 wx_cv_type_statvfs_t
="struct statvfs"
39751 echo "$as_me: failed program was:" >&5
39752 sed 's/^/| /' conftest.
$ac_ext >&5
39754 wx_cv_type_statvfs_t
="unknown"
39758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39765 ac_cpp
='$CPP $CPPFLAGS'
39766 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39767 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39768 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39772 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39773 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39775 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39776 cat >>confdefs.h
<<\_ACEOF
39777 #define HAVE_STATVFS 1
39782 wx_cv_type_statvfs_t
="unknown"
39786 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39787 cat >>confdefs.h
<<_ACEOF
39788 #define WX_STATFS_T $wx_cv_type_statvfs_t
39792 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39793 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39796 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39799 for ac_func
in fcntl flock
39801 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39802 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39804 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39805 echo $ECHO_N "(cached) $ECHO_C" >&6
39807 cat >conftest.
$ac_ext <<_ACEOF
39810 cat confdefs.h
>>conftest.
$ac_ext
39811 cat >>conftest.
$ac_ext <<_ACEOF
39812 /* end confdefs.h. */
39813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39815 #define $ac_func innocuous_$ac_func
39817 /* System header to define __stub macros and hopefully few prototypes,
39818 which can conflict with char $ac_func (); below.
39819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39820 <limits.h> exists even on freestanding compilers. */
39823 # include <limits.h>
39825 # include <assert.h>
39830 /* Override any GCC internal prototype to avoid an error.
39831 Use char because int might match the return type of a GCC
39832 builtin and then its argument prototype would still apply. */
39837 /* The GNU C library defines this for functions which it implements
39838 to always fail with ENOSYS. Some functions are actually named
39839 something starting with __ and the normal name is an alias. */
39840 #if defined __stub_$ac_func || defined __stub___$ac_func
39847 return $ac_func ();
39852 rm -f conftest.
$ac_objext conftest
$ac_exeext
39853 if { (ac_try
="$ac_link"
39854 case "(($ac_try" in
39855 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39856 *) ac_try_echo=$ac_try;;
39858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39859 (eval "$ac_link") 2>conftest.er1
39861 grep -v '^ *+' conftest.er1 >conftest.err
39863 cat conftest.err >&5
39864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39865 (exit $ac_status); } && {
39866 test -z "$ac_c_werror_flag" ||
39867 test ! -s conftest.err
39868 } && test -s conftest$ac_exeext &&
39869 $as_test_x conftest$ac_exeext; then
39870 eval "$as_ac_var=yes"
39872 echo "$as_me: failed program was:" >&5
39873 sed 's/^/| /' conftest.$ac_ext >&5
39875 eval "$as_ac_var=no"
39878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39879 conftest$ac_exeext conftest.$ac_ext
39881 ac_res=`eval echo '${'$as_ac_var'}'`
39882 { echo "$as_me:$LINENO: result: $ac_res" >&5
39883 echo "${ECHO_T}$ac_res" >&6; }
39884 if test `eval echo '${'$as_ac_var'}'` = yes; then
39885 cat >>confdefs.h <<_ACEOF
39886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39893 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39894 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39895 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39896 wxUSE_SNGLINST_CHECKER=no
39902 for ac_func in setenv putenv
39904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39905 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39907 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39908 echo $ECHO_N "(cached) $ECHO_C" >&6
39910 cat >conftest.$ac_ext <<_ACEOF
39913 cat confdefs.h >>conftest.$ac_ext
39914 cat >>conftest.$ac_ext <<_ACEOF
39915 /* end confdefs.h. */
39916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39918 #define $ac_func innocuous_$ac_func
39920 /* System header to define __stub macros and hopefully few prototypes,
39921 which can conflict with char $ac_func (); below.
39922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39923 <limits.h> exists even on freestanding compilers. */
39926 # include <limits.h>
39928 # include <assert.h>
39933 /* Override any GCC internal prototype to avoid an error.
39934 Use char because int might match the return type of a GCC
39935 builtin and then its argument prototype would still apply. */
39940 /* The GNU C library defines this for functions which it implements
39941 to always fail with ENOSYS. Some functions are actually named
39942 something starting with __ and the normal name is an alias. */
39943 #if defined __stub_$ac_func || defined __stub___$ac_func
39950 return $ac_func ();
39955 rm -f conftest.$ac_objext conftest$ac_exeext
39956 if { (ac_try="$ac_link"
39957 case "(($ac_try" in
39958 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39959 *) ac_try_echo
=$ac_try;;
39961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39962 (eval "$ac_link") 2>conftest.er1
39964 grep -v '^ *+' conftest.er1
>conftest.err
39966 cat conftest.err
>&5
39967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39968 (exit $ac_status); } && {
39969 test -z "$ac_c_werror_flag" ||
39970 test ! -s conftest.err
39971 } && test -s conftest
$ac_exeext &&
39972 $as_test_x conftest
$ac_exeext; then
39973 eval "$as_ac_var=yes"
39975 echo "$as_me: failed program was:" >&5
39976 sed 's/^/| /' conftest.
$ac_ext >&5
39978 eval "$as_ac_var=no"
39981 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39982 conftest
$ac_exeext conftest.
$ac_ext
39984 ac_res
=`eval echo '${'$as_ac_var'}'`
39985 { echo "$as_me:$LINENO: result: $ac_res" >&5
39986 echo "${ECHO_T}$ac_res" >&6; }
39987 if test `eval echo '${'$as_ac_var'}'` = yes; then
39988 cat >>confdefs.h
<<_ACEOF
39989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39995 if test "$ac_cv_func_setenv" = "yes"; then
39997 for ac_func
in unsetenv
39999 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40000 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40002 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40003 echo $ECHO_N "(cached) $ECHO_C" >&6
40005 cat >conftest.
$ac_ext <<_ACEOF
40008 cat confdefs.h
>>conftest.
$ac_ext
40009 cat >>conftest.
$ac_ext <<_ACEOF
40010 /* end confdefs.h. */
40011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40013 #define $ac_func innocuous_$ac_func
40015 /* System header to define __stub macros and hopefully few prototypes,
40016 which can conflict with char $ac_func (); below.
40017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40018 <limits.h> exists even on freestanding compilers. */
40021 # include <limits.h>
40023 # include <assert.h>
40028 /* Override any GCC internal prototype to avoid an error.
40029 Use char because int might match the return type of a GCC
40030 builtin and then its argument prototype would still apply. */
40035 /* The GNU C library defines this for functions which it implements
40036 to always fail with ENOSYS. Some functions are actually named
40037 something starting with __ and the normal name is an alias. */
40038 #if defined __stub_$ac_func || defined __stub___$ac_func
40045 return $ac_func ();
40050 rm -f conftest.
$ac_objext conftest
$ac_exeext
40051 if { (ac_try
="$ac_link"
40052 case "(($ac_try" in
40053 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40054 *) ac_try_echo=$ac_try;;
40056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40057 (eval "$ac_link") 2>conftest.er1
40059 grep -v '^ *+' conftest.er1 >conftest.err
40061 cat conftest.err >&5
40062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40063 (exit $ac_status); } && {
40064 test -z "$ac_c_werror_flag" ||
40065 test ! -s conftest.err
40066 } && test -s conftest$ac_exeext &&
40067 $as_test_x conftest$ac_exeext; then
40068 eval "$as_ac_var=yes"
40070 echo "$as_me: failed program was:" >&5
40071 sed 's/^/| /' conftest.$ac_ext >&5
40073 eval "$as_ac_var=no"
40076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40077 conftest$ac_exeext conftest.$ac_ext
40079 ac_res=`eval echo '${'$as_ac_var'}'`
40080 { echo "$as_me:$LINENO: result: $ac_res" >&5
40081 echo "${ECHO_T}$ac_res" >&6; }
40082 if test `eval echo '${'$as_ac_var'}'` = yes; then
40083 cat >>confdefs.h <<_ACEOF
40084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40092 HAVE_SOME_SLEEP_FUNC=0
40093 if test "$USE_BEOS" = 1; then
40094 cat >>confdefs.h <<\_ACEOF
40095 #define HAVE_SLEEP 1
40098 HAVE_SOME_SLEEP_FUNC=1
40101 if test "$USE_DARWIN" = 1; then
40102 cat >>confdefs.h <<\_ACEOF
40103 #define HAVE_USLEEP 1
40106 HAVE_SOME_SLEEP_FUNC=1
40109 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40112 for ac_func in nanosleep
40114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40115 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40117 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40118 echo $ECHO_N "(cached) $ECHO_C" >&6
40120 cat >conftest.$ac_ext <<_ACEOF
40123 cat confdefs.h >>conftest.$ac_ext
40124 cat >>conftest.$ac_ext <<_ACEOF
40125 /* end confdefs.h. */
40126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40128 #define $ac_func innocuous_$ac_func
40130 /* System header to define __stub macros and hopefully few prototypes,
40131 which can conflict with char $ac_func (); below.
40132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40133 <limits.h> exists even on freestanding compilers. */
40136 # include <limits.h>
40138 # include <assert.h>
40143 /* Override any GCC internal prototype to avoid an error.
40144 Use char because int might match the return type of a GCC
40145 builtin and then its argument prototype would still apply. */
40150 /* The GNU C library defines this for functions which it implements
40151 to always fail with ENOSYS. Some functions are actually named
40152 something starting with __ and the normal name is an alias. */
40153 #if defined __stub_$ac_func || defined __stub___$ac_func
40160 return $ac_func ();
40165 rm -f conftest.$ac_objext conftest$ac_exeext
40166 if { (ac_try="$ac_link"
40167 case "(($ac_try" in
40168 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40169 *) ac_try_echo
=$ac_try;;
40171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40172 (eval "$ac_link") 2>conftest.er1
40174 grep -v '^ *+' conftest.er1
>conftest.err
40176 cat conftest.err
>&5
40177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40178 (exit $ac_status); } && {
40179 test -z "$ac_c_werror_flag" ||
40180 test ! -s conftest.err
40181 } && test -s conftest
$ac_exeext &&
40182 $as_test_x conftest
$ac_exeext; then
40183 eval "$as_ac_var=yes"
40185 echo "$as_me: failed program was:" >&5
40186 sed 's/^/| /' conftest.
$ac_ext >&5
40188 eval "$as_ac_var=no"
40191 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40192 conftest
$ac_exeext conftest.
$ac_ext
40194 ac_res
=`eval echo '${'$as_ac_var'}'`
40195 { echo "$as_me:$LINENO: result: $ac_res" >&5
40196 echo "${ECHO_T}$ac_res" >&6; }
40197 if test `eval echo '${'$as_ac_var'}'` = yes; then
40198 cat >>confdefs.h
<<_ACEOF
40199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40201 cat >>confdefs.h
<<\_ACEOF
40202 #define HAVE_NANOSLEEP 1
40207 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40208 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40209 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40210 echo $ECHO_N "(cached) $ECHO_C" >&6
40212 ac_check_lib_save_LIBS
=$LIBS
40213 LIBS
="-lposix4 $LIBS"
40214 cat >conftest.
$ac_ext <<_ACEOF
40217 cat confdefs.h
>>conftest.
$ac_ext
40218 cat >>conftest.
$ac_ext <<_ACEOF
40219 /* end confdefs.h. */
40221 /* Override any GCC internal prototype to avoid an error.
40222 Use char because int might match the return type of a GCC
40223 builtin and then its argument prototype would still apply. */
40231 return nanosleep ();
40236 rm -f conftest.
$ac_objext conftest
$ac_exeext
40237 if { (ac_try
="$ac_link"
40238 case "(($ac_try" in
40239 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40240 *) ac_try_echo=$ac_try;;
40242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40243 (eval "$ac_link") 2>conftest.er1
40245 grep -v '^ *+' conftest.er1 >conftest.err
40247 cat conftest.err >&5
40248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40249 (exit $ac_status); } && {
40250 test -z "$ac_c_werror_flag" ||
40251 test ! -s conftest.err
40252 } && test -s conftest$ac_exeext &&
40253 $as_test_x conftest$ac_exeext; then
40254 ac_cv_lib_posix4_nanosleep=yes
40256 echo "$as_me: failed program was:" >&5
40257 sed 's/^/| /' conftest.$ac_ext >&5
40259 ac_cv_lib_posix4_nanosleep=no
40262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40263 conftest$ac_exeext conftest.$ac_ext
40264 LIBS=$ac_check_lib_save_LIBS
40266 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40267 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40268 if test $ac_cv_lib_posix4_nanosleep = yes; then
40270 cat >>confdefs.h <<\_ACEOF
40271 #define HAVE_NANOSLEEP 1
40274 POSIX4_LINK=" -lposix4"
40279 for wx_func in usleep
40281 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40282 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40283 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40284 echo $ECHO_N "(cached) $ECHO_C" >&6
40287 cat >conftest.$ac_ext <<_ACEOF
40291 cat confdefs.h >>conftest.$ac_ext
40292 cat >>conftest.$ac_ext <<_ACEOF
40293 /* end confdefs.h. */
40296 $ac_includes_default
40312 rm -f conftest.$ac_objext conftest$ac_exeext
40313 if { (ac_try="$ac_link"
40314 case "(($ac_try" in
40315 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40316 *) ac_try_echo
=$ac_try;;
40318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40319 (eval "$ac_link") 2>conftest.er1
40321 grep -v '^ *+' conftest.er1
>conftest.err
40323 cat conftest.err
>&5
40324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40325 (exit $ac_status); } && {
40326 test -z "$ac_c_werror_flag" ||
40327 test ! -s conftest.err
40328 } && test -s conftest
$ac_exeext &&
40329 $as_test_x conftest
$ac_exeext; then
40330 eval wx_cv_func_
$wx_func=yes
40332 echo "$as_me: failed program was:" >&5
40333 sed 's/^/| /' conftest.
$ac_ext >&5
40335 eval wx_cv_func_
$wx_func=no
40338 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40339 conftest
$ac_exeext conftest.
$ac_ext
40342 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40343 { echo "$as_me:$LINENO: result: $ac_res" >&5
40344 echo "${ECHO_T}$ac_res" >&6; }
40346 if eval test \
$wx_cv_func_$wx_func = yes
40348 cat >>confdefs.h
<<_ACEOF
40349 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40355 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40356 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40373 for wx_func
in uname
40375 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40376 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40377 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40378 echo $ECHO_N "(cached) $ECHO_C" >&6
40381 cat >conftest.
$ac_ext <<_ACEOF
40385 cat confdefs.h
>>conftest.
$ac_ext
40386 cat >>conftest.
$ac_ext <<_ACEOF
40387 /* end confdefs.h. */
40389 #include <sys/utsname.h>
40390 $ac_includes_default
40406 rm -f conftest.
$ac_objext conftest
$ac_exeext
40407 if { (ac_try
="$ac_link"
40408 case "(($ac_try" in
40409 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40410 *) ac_try_echo=$ac_try;;
40412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40413 (eval "$ac_link") 2>conftest.er1
40415 grep -v '^ *+' conftest.er1 >conftest.err
40417 cat conftest.err >&5
40418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40419 (exit $ac_status); } && {
40420 test -z "$ac_c_werror_flag" ||
40421 test ! -s conftest.err
40422 } && test -s conftest$ac_exeext &&
40423 $as_test_x conftest$ac_exeext; then
40424 eval wx_cv_func_$wx_func=yes
40426 echo "$as_me: failed program was:" >&5
40427 sed 's/^/| /' conftest.$ac_ext >&5
40429 eval wx_cv_func_$wx_func=no
40432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40433 conftest$ac_exeext conftest.$ac_ext
40436 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40437 { echo "$as_me:$LINENO: result: $ac_res" >&5
40438 echo "${ECHO_T}$ac_res" >&6; }
40440 if eval test \$wx_cv_func_$wx_func = yes
40442 cat >>confdefs.h <<_ACEOF
40443 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40453 if test "$wx_cv_func_uname" != yes; then
40455 for wx_func in gethostname
40457 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40458 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40459 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40460 echo $ECHO_N "(cached) $ECHO_C" >&6
40463 cat >conftest.$ac_ext <<_ACEOF
40467 cat confdefs.h >>conftest.$ac_ext
40468 cat >>conftest.$ac_ext <<_ACEOF
40469 /* end confdefs.h. */
40472 $ac_includes_default
40488 rm -f conftest.$ac_objext conftest$ac_exeext
40489 if { (ac_try="$ac_link"
40490 case "(($ac_try" in
40491 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40492 *) ac_try_echo
=$ac_try;;
40494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40495 (eval "$ac_link") 2>conftest.er1
40497 grep -v '^ *+' conftest.er1
>conftest.err
40499 cat conftest.err
>&5
40500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40501 (exit $ac_status); } && {
40502 test -z "$ac_c_werror_flag" ||
40503 test ! -s conftest.err
40504 } && test -s conftest
$ac_exeext &&
40505 $as_test_x conftest
$ac_exeext; then
40506 eval wx_cv_func_
$wx_func=yes
40508 echo "$as_me: failed program was:" >&5
40509 sed 's/^/| /' conftest.
$ac_ext >&5
40511 eval wx_cv_func_
$wx_func=no
40514 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40515 conftest
$ac_exeext conftest.
$ac_ext
40518 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40519 { echo "$as_me:$LINENO: result: $ac_res" >&5
40520 echo "${ECHO_T}$ac_res" >&6; }
40522 if eval test \
$wx_cv_func_$wx_func = yes
40524 cat >>confdefs.h
<<_ACEOF
40525 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40538 for wx_func
in strtok_r
40540 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40541 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40542 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40543 echo $ECHO_N "(cached) $ECHO_C" >&6
40546 cat >conftest.
$ac_ext <<_ACEOF
40550 cat confdefs.h
>>conftest.
$ac_ext
40551 cat >>conftest.
$ac_ext <<_ACEOF
40552 /* end confdefs.h. */
40555 $ac_includes_default
40571 rm -f conftest.
$ac_objext conftest
$ac_exeext
40572 if { (ac_try
="$ac_link"
40573 case "(($ac_try" in
40574 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40575 *) ac_try_echo=$ac_try;;
40577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40578 (eval "$ac_link") 2>conftest.er1
40580 grep -v '^ *+' conftest.er1 >conftest.err
40582 cat conftest.err >&5
40583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40584 (exit $ac_status); } && {
40585 test -z "$ac_c_werror_flag" ||
40586 test ! -s conftest.err
40587 } && test -s conftest$ac_exeext &&
40588 $as_test_x conftest$ac_exeext; then
40589 eval wx_cv_func_$wx_func=yes
40591 echo "$as_me: failed program was:" >&5
40592 sed 's/^/| /' conftest.$ac_ext >&5
40594 eval wx_cv_func_$wx_func=no
40597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40598 conftest$ac_exeext conftest.$ac_ext
40601 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40602 { echo "$as_me:$LINENO: result: $ac_res" >&5
40603 echo "${ECHO_T}$ac_res" >&6; }
40605 if eval test \$wx_cv_func_$wx_func = yes
40607 cat >>confdefs.h <<_ACEOF
40608 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40621 for ac_func in inet_addr
40623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40624 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40626 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40627 echo $ECHO_N "(cached) $ECHO_C" >&6
40629 cat >conftest.$ac_ext <<_ACEOF
40632 cat confdefs.h >>conftest.$ac_ext
40633 cat >>conftest.$ac_ext <<_ACEOF
40634 /* end confdefs.h. */
40635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40637 #define $ac_func innocuous_$ac_func
40639 /* System header to define __stub macros and hopefully few prototypes,
40640 which can conflict with char $ac_func (); below.
40641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40642 <limits.h> exists even on freestanding compilers. */
40645 # include <limits.h>
40647 # include <assert.h>
40652 /* Override any GCC internal prototype to avoid an error.
40653 Use char because int might match the return type of a GCC
40654 builtin and then its argument prototype would still apply. */
40659 /* The GNU C library defines this for functions which it implements
40660 to always fail with ENOSYS. Some functions are actually named
40661 something starting with __ and the normal name is an alias. */
40662 #if defined __stub_$ac_func || defined __stub___$ac_func
40669 return $ac_func ();
40674 rm -f conftest.$ac_objext conftest$ac_exeext
40675 if { (ac_try="$ac_link"
40676 case "(($ac_try" in
40677 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40678 *) ac_try_echo
=$ac_try;;
40680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40681 (eval "$ac_link") 2>conftest.er1
40683 grep -v '^ *+' conftest.er1
>conftest.err
40685 cat conftest.err
>&5
40686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40687 (exit $ac_status); } && {
40688 test -z "$ac_c_werror_flag" ||
40689 test ! -s conftest.err
40690 } && test -s conftest
$ac_exeext &&
40691 $as_test_x conftest
$ac_exeext; then
40692 eval "$as_ac_var=yes"
40694 echo "$as_me: failed program was:" >&5
40695 sed 's/^/| /' conftest.
$ac_ext >&5
40697 eval "$as_ac_var=no"
40700 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40701 conftest
$ac_exeext conftest.
$ac_ext
40703 ac_res
=`eval echo '${'$as_ac_var'}'`
40704 { echo "$as_me:$LINENO: result: $ac_res" >&5
40705 echo "${ECHO_T}$ac_res" >&6; }
40706 if test `eval echo '${'$as_ac_var'}'` = yes; then
40707 cat >>confdefs.h
<<_ACEOF
40708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40710 cat >>confdefs.h
<<\_ACEOF
40711 #define HAVE_INET_ADDR 1
40716 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40717 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40718 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40719 echo $ECHO_N "(cached) $ECHO_C" >&6
40721 ac_check_lib_save_LIBS
=$LIBS
40723 cat >conftest.
$ac_ext <<_ACEOF
40726 cat confdefs.h
>>conftest.
$ac_ext
40727 cat >>conftest.
$ac_ext <<_ACEOF
40728 /* end confdefs.h. */
40730 /* Override any GCC internal prototype to avoid an error.
40731 Use char because int might match the return type of a GCC
40732 builtin and then its argument prototype would still apply. */
40740 return inet_addr ();
40745 rm -f conftest.
$ac_objext conftest
$ac_exeext
40746 if { (ac_try
="$ac_link"
40747 case "(($ac_try" in
40748 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40749 *) ac_try_echo=$ac_try;;
40751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40752 (eval "$ac_link") 2>conftest.er1
40754 grep -v '^ *+' conftest.er1 >conftest.err
40756 cat conftest.err >&5
40757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40758 (exit $ac_status); } && {
40759 test -z "$ac_c_werror_flag" ||
40760 test ! -s conftest.err
40761 } && test -s conftest$ac_exeext &&
40762 $as_test_x conftest$ac_exeext; then
40763 ac_cv_lib_nsl_inet_addr=yes
40765 echo "$as_me: failed program was:" >&5
40766 sed 's/^/| /' conftest.$ac_ext >&5
40768 ac_cv_lib_nsl_inet_addr=no
40771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40772 conftest$ac_exeext conftest.$ac_ext
40773 LIBS=$ac_check_lib_save_LIBS
40775 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40776 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40777 if test $ac_cv_lib_nsl_inet_addr = yes; then
40781 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40782 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40783 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40784 echo $ECHO_N "(cached) $ECHO_C" >&6
40786 ac_check_lib_save_LIBS=$LIBS
40787 LIBS="-lresolv $LIBS"
40788 cat >conftest.$ac_ext <<_ACEOF
40791 cat confdefs.h >>conftest.$ac_ext
40792 cat >>conftest.$ac_ext <<_ACEOF
40793 /* end confdefs.h. */
40795 /* Override any GCC internal prototype to avoid an error.
40796 Use char because int might match the return type of a GCC
40797 builtin and then its argument prototype would still apply. */
40805 return inet_addr ();
40810 rm -f conftest.$ac_objext conftest$ac_exeext
40811 if { (ac_try="$ac_link"
40812 case "(($ac_try" in
40813 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40814 *) ac_try_echo
=$ac_try;;
40816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40817 (eval "$ac_link") 2>conftest.er1
40819 grep -v '^ *+' conftest.er1
>conftest.err
40821 cat conftest.err
>&5
40822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40823 (exit $ac_status); } && {
40824 test -z "$ac_c_werror_flag" ||
40825 test ! -s conftest.err
40826 } && test -s conftest
$ac_exeext &&
40827 $as_test_x conftest
$ac_exeext; then
40828 ac_cv_lib_resolv_inet_addr
=yes
40830 echo "$as_me: failed program was:" >&5
40831 sed 's/^/| /' conftest.
$ac_ext >&5
40833 ac_cv_lib_resolv_inet_addr
=no
40836 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40837 conftest
$ac_exeext conftest.
$ac_ext
40838 LIBS
=$ac_check_lib_save_LIBS
40840 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40841 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40842 if test $ac_cv_lib_resolv_inet_addr = yes; then
40846 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40847 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40848 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40849 echo $ECHO_N "(cached) $ECHO_C" >&6
40851 ac_check_lib_save_LIBS
=$LIBS
40852 LIBS
="-lsocket $LIBS"
40853 cat >conftest.
$ac_ext <<_ACEOF
40856 cat confdefs.h
>>conftest.
$ac_ext
40857 cat >>conftest.
$ac_ext <<_ACEOF
40858 /* end confdefs.h. */
40860 /* Override any GCC internal prototype to avoid an error.
40861 Use char because int might match the return type of a GCC
40862 builtin and then its argument prototype would still apply. */
40870 return inet_addr ();
40875 rm -f conftest.
$ac_objext conftest
$ac_exeext
40876 if { (ac_try
="$ac_link"
40877 case "(($ac_try" in
40878 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40879 *) ac_try_echo=$ac_try;;
40881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40882 (eval "$ac_link") 2>conftest.er1
40884 grep -v '^ *+' conftest.er1 >conftest.err
40886 cat conftest.err >&5
40887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40888 (exit $ac_status); } && {
40889 test -z "$ac_c_werror_flag" ||
40890 test ! -s conftest.err
40891 } && test -s conftest$ac_exeext &&
40892 $as_test_x conftest$ac_exeext; then
40893 ac_cv_lib_socket_inet_addr=yes
40895 echo "$as_me: failed program was:" >&5
40896 sed 's/^/| /' conftest.$ac_ext >&5
40898 ac_cv_lib_socket_inet_addr=no
40901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40902 conftest$ac_exeext conftest.$ac_ext
40903 LIBS=$ac_check_lib_save_LIBS
40905 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40906 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40907 if test $ac_cv_lib_socket_inet_addr = yes; then
40927 for ac_func in inet_aton
40929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40930 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40932 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40933 echo $ECHO_N "(cached) $ECHO_C" >&6
40935 cat >conftest.$ac_ext <<_ACEOF
40938 cat confdefs.h >>conftest.$ac_ext
40939 cat >>conftest.$ac_ext <<_ACEOF
40940 /* end confdefs.h. */
40941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40943 #define $ac_func innocuous_$ac_func
40945 /* System header to define __stub macros and hopefully few prototypes,
40946 which can conflict with char $ac_func (); below.
40947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40948 <limits.h> exists even on freestanding compilers. */
40951 # include <limits.h>
40953 # include <assert.h>
40958 /* Override any GCC internal prototype to avoid an error.
40959 Use char because int might match the return type of a GCC
40960 builtin and then its argument prototype would still apply. */
40965 /* The GNU C library defines this for functions which it implements
40966 to always fail with ENOSYS. Some functions are actually named
40967 something starting with __ and the normal name is an alias. */
40968 #if defined __stub_$ac_func || defined __stub___$ac_func
40975 return $ac_func ();
40980 rm -f conftest.$ac_objext conftest$ac_exeext
40981 if { (ac_try="$ac_link"
40982 case "(($ac_try" in
40983 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40984 *) ac_try_echo
=$ac_try;;
40986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40987 (eval "$ac_link") 2>conftest.er1
40989 grep -v '^ *+' conftest.er1
>conftest.err
40991 cat conftest.err
>&5
40992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40993 (exit $ac_status); } && {
40994 test -z "$ac_c_werror_flag" ||
40995 test ! -s conftest.err
40996 } && test -s conftest
$ac_exeext &&
40997 $as_test_x conftest
$ac_exeext; then
40998 eval "$as_ac_var=yes"
41000 echo "$as_me: failed program was:" >&5
41001 sed 's/^/| /' conftest.
$ac_ext >&5
41003 eval "$as_ac_var=no"
41006 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41007 conftest
$ac_exeext conftest.
$ac_ext
41009 ac_res
=`eval echo '${'$as_ac_var'}'`
41010 { echo "$as_me:$LINENO: result: $ac_res" >&5
41011 echo "${ECHO_T}$ac_res" >&6; }
41012 if test `eval echo '${'$as_ac_var'}'` = yes; then
41013 cat >>confdefs.h
<<_ACEOF
41014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41016 cat >>confdefs.h
<<\_ACEOF
41017 #define HAVE_INET_ATON 1
41022 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41023 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41024 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41025 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41026 echo $ECHO_N "(cached) $ECHO_C" >&6
41028 ac_check_lib_save_LIBS
=$LIBS
41029 LIBS
="-l$INET_LINK $LIBS"
41030 cat >conftest.
$ac_ext <<_ACEOF
41033 cat confdefs.h
>>conftest.
$ac_ext
41034 cat >>conftest.
$ac_ext <<_ACEOF
41035 /* end confdefs.h. */
41037 /* Override any GCC internal prototype to avoid an error.
41038 Use char because int might match the return type of a GCC
41039 builtin and then its argument prototype would still apply. */
41047 return inet_aton ();
41052 rm -f conftest.
$ac_objext conftest
$ac_exeext
41053 if { (ac_try
="$ac_link"
41054 case "(($ac_try" in
41055 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41056 *) ac_try_echo=$ac_try;;
41058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41059 (eval "$ac_link") 2>conftest.er1
41061 grep -v '^ *+' conftest.er1 >conftest.err
41063 cat conftest.err >&5
41064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41065 (exit $ac_status); } && {
41066 test -z "$ac_c_werror_flag" ||
41067 test ! -s conftest.err
41068 } && test -s conftest$ac_exeext &&
41069 $as_test_x conftest$ac_exeext; then
41070 eval "$as_ac_Lib=yes"
41072 echo "$as_me: failed program was:" >&5
41073 sed 's/^/| /' conftest.$ac_ext >&5
41075 eval "$as_ac_Lib=no"
41078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41079 conftest$ac_exeext conftest.$ac_ext
41080 LIBS=$ac_check_lib_save_LIBS
41082 ac_res=`eval echo '${'$as_ac_Lib'}'`
41083 { echo "$as_me:$LINENO: result: $ac_res" >&5
41084 echo "${ECHO_T}$ac_res" >&6; }
41085 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41086 cat >>confdefs.h <<\_ACEOF
41087 #define HAVE_INET_ATON 1
41097 if test "x$INET_LINK" != "x"; then
41098 cat >>confdefs.h <<\_ACEOF
41099 #define HAVE_INET_ADDR 1
41102 INET_LINK=" -l$INET_LINK"
41106 for wx_func in fdopen
41108 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41109 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41110 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41111 echo $ECHO_N "(cached) $ECHO_C" >&6
41114 cat >conftest.$ac_ext <<_ACEOF
41118 cat confdefs.h >>conftest.$ac_ext
41119 cat >>conftest.$ac_ext <<_ACEOF
41120 /* end confdefs.h. */
41123 $ac_includes_default
41139 rm -f conftest.$ac_objext conftest$ac_exeext
41140 if { (ac_try="$ac_link"
41141 case "(($ac_try" in
41142 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41143 *) ac_try_echo
=$ac_try;;
41145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41146 (eval "$ac_link") 2>conftest.er1
41148 grep -v '^ *+' conftest.er1
>conftest.err
41150 cat conftest.err
>&5
41151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41152 (exit $ac_status); } && {
41153 test -z "$ac_c_werror_flag" ||
41154 test ! -s conftest.err
41155 } && test -s conftest
$ac_exeext &&
41156 $as_test_x conftest
$ac_exeext; then
41157 eval wx_cv_func_
$wx_func=yes
41159 echo "$as_me: failed program was:" >&5
41160 sed 's/^/| /' conftest.
$ac_ext >&5
41162 eval wx_cv_func_
$wx_func=no
41165 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41166 conftest
$ac_exeext conftest.
$ac_ext
41169 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41170 { echo "$as_me:$LINENO: result: $ac_res" >&5
41171 echo "${ECHO_T}$ac_res" >&6; }
41173 if eval test \
$wx_cv_func_$wx_func = yes
41175 cat >>confdefs.h
<<_ACEOF
41176 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41191 cat >confcache
<<\_ACEOF
41192 # This file is a shell script that caches the results of configure
41193 # tests run on this system so they can be shared between configure
41194 # scripts and configure runs, see configure's option --config-cache.
41195 # It is not useful on other systems. If it contains results you don't
41196 # want to keep, you may remove or edit it.
41198 # config.status only pays attention to the cache file if you give it
41199 # the --recheck option to rerun configure.
41201 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41202 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41203 # following values.
41207 # The following way of writing the cache mishandles newlines in values,
41208 # but we know of no workaround that is simple, portable, and efficient.
41209 # So, we kill variables containing newlines.
41210 # Ultrix sh set writes to stderr and can't be redirected directly,
41211 # and sets the high bit in the cache file unless we assign to the vars.
41213 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41214 eval ac_val
=\$
$ac_var
41218 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41219 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41222 _
| IFS
| as_nl
) ;; #(
41223 *) $as_unset $ac_var ;;
41229 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41230 *${as_nl}ac_space
=\
*)
41231 # `set' does not quote correctly, so add quotes (double-quote
41232 # substitution turns \\\\ into \\, and sed turns \\ into \).
41235 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41238 # `set' quotes correctly as required by POSIX, so do not add quotes.
41239 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41248 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41250 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41252 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41253 if test -w "$cache_file"; then
41254 test "x$cache_file" != "x/dev/null" &&
41255 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41256 echo "$as_me: updating cache $cache_file" >&6;}
41257 cat confcache
>$cache_file
41259 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41260 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41266 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41272 if test "$wxUSE_THREADS" = "yes" ; then
41273 if test "$USE_BEOS" = 1; then
41274 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41275 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41280 if test "$wxUSE_THREADS" = "yes" ; then
41283 THREAD_OPTS
="-pthread"
41284 if test "x$SUNCXX" = xyes
; then
41285 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
41289 *-*-solaris2* | *-*-sunos4* )
41290 if test "x$GCC" = "xyes"; then
41291 THREAD_OPTS
="-pthreads $THREAD_OPTS"
41295 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
41297 *-*-darwin* | *-*-cygwin* )
41301 THREAD_OPTS
="pthreads"
41304 if test "x$GCC" = "xyes"; then
41305 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
41313 if test "x$GCC" = "xyes"; then
41319 if test "x$GCC" != "xyes"; then
41320 THREAD_OPTS
="-Ethread"
41325 THREAD_OPTS
="$THREAD_OPTS pthread none"
41328 for flag
in $THREAD_OPTS; do
41331 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41332 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41336 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41337 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41338 THREADS_CFLAGS
="$flag"
41342 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41343 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41344 THREADS_LINK
="-l$flag"
41349 save_CFLAGS
="$CFLAGS"
41350 LIBS
="$THREADS_LINK $LIBS"
41351 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
41353 cat >conftest.
$ac_ext <<_ACEOF
41356 cat confdefs.h
>>conftest.
$ac_ext
41357 cat >>conftest.
$ac_ext <<_ACEOF
41358 /* end confdefs.h. */
41359 #include <pthread.h>
41363 pthread_create(0,0,0,0);
41368 rm -f conftest.
$ac_objext conftest
$ac_exeext
41369 if { (ac_try
="$ac_link"
41370 case "(($ac_try" in
41371 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41372 *) ac_try_echo=$ac_try;;
41374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41375 (eval "$ac_link") 2>conftest.er1
41377 grep -v '^ *+' conftest.er1 >conftest.err
41379 cat conftest.err >&5
41380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41381 (exit $ac_status); } && {
41382 test -z "$ac_c_werror_flag" ||
41383 test ! -s conftest.err
41384 } && test -s conftest$ac_exeext &&
41385 $as_test_x conftest$ac_exeext; then
41388 echo "$as_me: failed program was:" >&5
41389 sed 's/^/| /' conftest.$ac_ext >&5
41394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41395 conftest$ac_exeext conftest.$ac_ext
41398 CFLAGS="$save_CFLAGS"
41400 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41401 echo "${ECHO_T}$THREADS_OK" >&6; }
41402 if test "x$THREADS_OK" = "xyes"; then
41410 if test "x$THREADS_OK" != "xyes"; then
41412 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41413 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41415 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41416 LIBS="$THREADS_LINK $LIBS"
41418 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41419 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41423 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41424 flag="-D_THREAD_SAFE"
41427 flag="-D_THREAD_SAFE"
41430 flag="-D_REENTRANT"
41431 if test "x$GCC" != "xyes"; then
41432 flag="$flag -D_RWSTD_MULTI_THREAD"
41435 *solaris* | alpha*-osf*)
41436 flag="-D_REENTRANT"
41439 { echo "$as_me:$LINENO: result: ${flag}" >&5
41440 echo "${ECHO_T}${flag}" >&6; }
41441 if test "x$flag" != xno; then
41442 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41445 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41449 if test "$wxUSE_THREADS" = "yes" ; then
41451 for ac_func in thr_setconcurrency
41453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41454 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41456 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41457 echo $ECHO_N "(cached) $ECHO_C" >&6
41459 cat >conftest.$ac_ext <<_ACEOF
41462 cat confdefs.h >>conftest.$ac_ext
41463 cat >>conftest.$ac_ext <<_ACEOF
41464 /* end confdefs.h. */
41465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41467 #define $ac_func innocuous_$ac_func
41469 /* System header to define __stub macros and hopefully few prototypes,
41470 which can conflict with char $ac_func (); below.
41471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41472 <limits.h> exists even on freestanding compilers. */
41475 # include <limits.h>
41477 # include <assert.h>
41482 /* Override any GCC internal prototype to avoid an error.
41483 Use char because int might match the return type of a GCC
41484 builtin and then its argument prototype would still apply. */
41489 /* The GNU C library defines this for functions which it implements
41490 to always fail with ENOSYS. Some functions are actually named
41491 something starting with __ and the normal name is an alias. */
41492 #if defined __stub_$ac_func || defined __stub___$ac_func
41499 return $ac_func ();
41504 rm -f conftest.$ac_objext conftest$ac_exeext
41505 if { (ac_try="$ac_link"
41506 case "(($ac_try" in
41507 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41508 *) ac_try_echo
=$ac_try;;
41510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41511 (eval "$ac_link") 2>conftest.er1
41513 grep -v '^ *+' conftest.er1
>conftest.err
41515 cat conftest.err
>&5
41516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41517 (exit $ac_status); } && {
41518 test -z "$ac_c_werror_flag" ||
41519 test ! -s conftest.err
41520 } && test -s conftest
$ac_exeext &&
41521 $as_test_x conftest
$ac_exeext; then
41522 eval "$as_ac_var=yes"
41524 echo "$as_me: failed program was:" >&5
41525 sed 's/^/| /' conftest.
$ac_ext >&5
41527 eval "$as_ac_var=no"
41530 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41531 conftest
$ac_exeext conftest.
$ac_ext
41533 ac_res
=`eval echo '${'$as_ac_var'}'`
41534 { echo "$as_me:$LINENO: result: $ac_res" >&5
41535 echo "${ECHO_T}$ac_res" >&6; }
41536 if test `eval echo '${'$as_ac_var'}'` = yes; then
41537 cat >>confdefs.h
<<_ACEOF
41538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41545 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41546 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41547 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41548 echo $ECHO_N "(cached) $ECHO_C" >&6
41552 ac_cpp
='$CXXCPP $CPPFLAGS'
41553 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41554 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41555 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41557 cat >conftest.
$ac_ext <<_ACEOF
41560 cat confdefs.h
>>conftest.
$ac_ext
41561 cat >>conftest.
$ac_ext <<_ACEOF
41562 /* end confdefs.h. */
41563 #include <pthread.h>
41564 void ThreadCleanupFunc(void *p);
41571 pthread_cleanup_push(ThreadCleanupFunc, p);
41572 pthread_cleanup_pop(0);
41578 rm -f conftest.
$ac_objext
41579 if { (ac_try
="$ac_compile"
41580 case "(($ac_try" in
41581 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41582 *) ac_try_echo=$ac_try;;
41584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41585 (eval "$ac_compile") 2>conftest.er1
41587 grep -v '^ *+' conftest.er1 >conftest.err
41589 cat conftest.err >&5
41590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41591 (exit $ac_status); } && {
41592 test -z "$ac_cxx_werror_flag" ||
41593 test ! -s conftest.err
41594 } && test -s conftest.$ac_objext; then
41596 wx_cv_func_pthread_cleanup=yes
41599 echo "$as_me: failed program was:" >&5
41600 sed 's/^/| /' conftest.$ac_ext >&5
41603 wx_cv_func_pthread_cleanup=no
41608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41610 ac_cpp='$CPP $CPPFLAGS'
41611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41617 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41618 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41619 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41620 cat >>confdefs.h <<\_ACEOF
41621 #define wxHAVE_PTHREAD_CLEANUP 1
41627 for ac_header in sched.h
41629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41630 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41632 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41633 echo $ECHO_N "(cached) $ECHO_C" >&6
41635 cat >conftest.$ac_ext <<_ACEOF
41638 cat confdefs.h >>conftest.$ac_ext
41639 cat >>conftest.$ac_ext <<_ACEOF
41640 /* end confdefs.h. */
41641 $ac_includes_default
41643 #include <$ac_header>
41645 rm -f conftest.$ac_objext
41646 if { (ac_try="$ac_compile"
41647 case "(($ac_try" in
41648 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41649 *) ac_try_echo
=$ac_try;;
41651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41652 (eval "$ac_compile") 2>conftest.er1
41654 grep -v '^ *+' conftest.er1
>conftest.err
41656 cat conftest.err
>&5
41657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41658 (exit $ac_status); } && {
41659 test -z "$ac_c_werror_flag" ||
41660 test ! -s conftest.err
41661 } && test -s conftest.
$ac_objext; then
41662 eval "$as_ac_Header=yes"
41664 echo "$as_me: failed program was:" >&5
41665 sed 's/^/| /' conftest.
$ac_ext >&5
41667 eval "$as_ac_Header=no"
41670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41672 ac_res
=`eval echo '${'$as_ac_Header'}'`
41673 { echo "$as_me:$LINENO: result: $ac_res" >&5
41674 echo "${ECHO_T}$ac_res" >&6; }
41675 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41676 cat >>confdefs.h
<<_ACEOF
41677 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41684 if test "$ac_cv_header_sched_h" = "yes"; then
41685 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41686 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41687 if test "${ac_cv_func_sched_yield+set}" = set; then
41688 echo $ECHO_N "(cached) $ECHO_C" >&6
41690 cat >conftest.
$ac_ext <<_ACEOF
41693 cat confdefs.h
>>conftest.
$ac_ext
41694 cat >>conftest.
$ac_ext <<_ACEOF
41695 /* end confdefs.h. */
41696 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41698 #define sched_yield innocuous_sched_yield
41700 /* System header to define __stub macros and hopefully few prototypes,
41701 which can conflict with char sched_yield (); below.
41702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41703 <limits.h> exists even on freestanding compilers. */
41706 # include <limits.h>
41708 # include <assert.h>
41713 /* Override any GCC internal prototype to avoid an error.
41714 Use char because int might match the return type of a GCC
41715 builtin and then its argument prototype would still apply. */
41719 char sched_yield ();
41720 /* The GNU C library defines this for functions which it implements
41721 to always fail with ENOSYS. Some functions are actually named
41722 something starting with __ and the normal name is an alias. */
41723 #if defined __stub_sched_yield || defined __stub___sched_yield
41730 return sched_yield ();
41735 rm -f conftest.
$ac_objext conftest
$ac_exeext
41736 if { (ac_try
="$ac_link"
41737 case "(($ac_try" in
41738 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41739 *) ac_try_echo=$ac_try;;
41741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41742 (eval "$ac_link") 2>conftest.er1
41744 grep -v '^ *+' conftest.er1 >conftest.err
41746 cat conftest.err >&5
41747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41748 (exit $ac_status); } && {
41749 test -z "$ac_c_werror_flag" ||
41750 test ! -s conftest.err
41751 } && test -s conftest$ac_exeext &&
41752 $as_test_x conftest$ac_exeext; then
41753 ac_cv_func_sched_yield=yes
41755 echo "$as_me: failed program was:" >&5
41756 sed 's/^/| /' conftest.$ac_ext >&5
41758 ac_cv_func_sched_yield=no
41761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41762 conftest$ac_exeext conftest.$ac_ext
41764 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41765 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41766 if test $ac_cv_func_sched_yield = yes; then
41767 cat >>confdefs.h <<\_ACEOF
41768 #define HAVE_SCHED_YIELD 1
41773 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41774 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41775 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41776 echo $ECHO_N "(cached) $ECHO_C" >&6
41778 ac_check_lib_save_LIBS=$LIBS
41779 LIBS="-lposix4 $LIBS"
41780 cat >conftest.$ac_ext <<_ACEOF
41783 cat confdefs.h >>conftest.$ac_ext
41784 cat >>conftest.$ac_ext <<_ACEOF
41785 /* end confdefs.h. */
41787 /* Override any GCC internal prototype to avoid an error.
41788 Use char because int might match the return type of a GCC
41789 builtin and then its argument prototype would still apply. */
41793 char sched_yield ();
41797 return sched_yield ();
41802 rm -f conftest.$ac_objext conftest$ac_exeext
41803 if { (ac_try="$ac_link"
41804 case "(($ac_try" in
41805 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41806 *) ac_try_echo
=$ac_try;;
41808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41809 (eval "$ac_link") 2>conftest.er1
41811 grep -v '^ *+' conftest.er1
>conftest.err
41813 cat conftest.err
>&5
41814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41815 (exit $ac_status); } && {
41816 test -z "$ac_c_werror_flag" ||
41817 test ! -s conftest.err
41818 } && test -s conftest
$ac_exeext &&
41819 $as_test_x conftest
$ac_exeext; then
41820 ac_cv_lib_posix4_sched_yield
=yes
41822 echo "$as_me: failed program was:" >&5
41823 sed 's/^/| /' conftest.
$ac_ext >&5
41825 ac_cv_lib_posix4_sched_yield
=no
41828 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41829 conftest
$ac_exeext conftest.
$ac_ext
41830 LIBS
=$ac_check_lib_save_LIBS
41832 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41833 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41834 if test $ac_cv_lib_posix4_sched_yield = yes; then
41835 cat >>confdefs.h
<<\_ACEOF
41836 #define HAVE_SCHED_YIELD 1
41838 POSIX4_LINK
=" -lposix4"
41840 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41841 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41852 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41853 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41854 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41855 echo $ECHO_N "(cached) $ECHO_C" >&6
41857 cat >conftest.
$ac_ext <<_ACEOF
41860 cat confdefs.h
>>conftest.
$ac_ext
41861 cat >>conftest.
$ac_ext <<_ACEOF
41862 /* end confdefs.h. */
41863 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41865 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41867 /* System header to define __stub macros and hopefully few prototypes,
41868 which can conflict with char pthread_attr_getschedpolicy (); below.
41869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41870 <limits.h> exists even on freestanding compilers. */
41873 # include <limits.h>
41875 # include <assert.h>
41878 #undef pthread_attr_getschedpolicy
41880 /* Override any GCC internal prototype to avoid an error.
41881 Use char because int might match the return type of a GCC
41882 builtin and then its argument prototype would still apply. */
41886 char pthread_attr_getschedpolicy ();
41887 /* The GNU C library defines this for functions which it implements
41888 to always fail with ENOSYS. Some functions are actually named
41889 something starting with __ and the normal name is an alias. */
41890 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41897 return pthread_attr_getschedpolicy ();
41902 rm -f conftest.
$ac_objext conftest
$ac_exeext
41903 if { (ac_try
="$ac_link"
41904 case "(($ac_try" in
41905 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41906 *) ac_try_echo=$ac_try;;
41908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41909 (eval "$ac_link") 2>conftest.er1
41911 grep -v '^ *+' conftest.er1 >conftest.err
41913 cat conftest.err >&5
41914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41915 (exit $ac_status); } && {
41916 test -z "$ac_c_werror_flag" ||
41917 test ! -s conftest.err
41918 } && test -s conftest$ac_exeext &&
41919 $as_test_x conftest$ac_exeext; then
41920 ac_cv_func_pthread_attr_getschedpolicy=yes
41922 echo "$as_me: failed program was:" >&5
41923 sed 's/^/| /' conftest.$ac_ext >&5
41925 ac_cv_func_pthread_attr_getschedpolicy=no
41928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41929 conftest$ac_exeext conftest.$ac_ext
41931 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41932 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41933 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41934 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41935 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41936 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41937 echo $ECHO_N "(cached) $ECHO_C" >&6
41939 cat >conftest.$ac_ext <<_ACEOF
41942 cat confdefs.h >>conftest.$ac_ext
41943 cat >>conftest.$ac_ext <<_ACEOF
41944 /* end confdefs.h. */
41945 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41947 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41949 /* System header to define __stub macros and hopefully few prototypes,
41950 which can conflict with char pthread_attr_setschedparam (); below.
41951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41952 <limits.h> exists even on freestanding compilers. */
41955 # include <limits.h>
41957 # include <assert.h>
41960 #undef pthread_attr_setschedparam
41962 /* Override any GCC internal prototype to avoid an error.
41963 Use char because int might match the return type of a GCC
41964 builtin and then its argument prototype would still apply. */
41968 char pthread_attr_setschedparam ();
41969 /* The GNU C library defines this for functions which it implements
41970 to always fail with ENOSYS. Some functions are actually named
41971 something starting with __ and the normal name is an alias. */
41972 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41979 return pthread_attr_setschedparam ();
41984 rm -f conftest.$ac_objext conftest$ac_exeext
41985 if { (ac_try="$ac_link"
41986 case "(($ac_try" in
41987 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41988 *) ac_try_echo
=$ac_try;;
41990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41991 (eval "$ac_link") 2>conftest.er1
41993 grep -v '^ *+' conftest.er1
>conftest.err
41995 cat conftest.err
>&5
41996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41997 (exit $ac_status); } && {
41998 test -z "$ac_c_werror_flag" ||
41999 test ! -s conftest.err
42000 } && test -s conftest
$ac_exeext &&
42001 $as_test_x conftest
$ac_exeext; then
42002 ac_cv_func_pthread_attr_setschedparam
=yes
42004 echo "$as_me: failed program was:" >&5
42005 sed 's/^/| /' conftest.
$ac_ext >&5
42007 ac_cv_func_pthread_attr_setschedparam
=no
42010 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42011 conftest
$ac_exeext conftest.
$ac_ext
42013 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42014 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42015 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42016 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42017 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42018 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42019 echo $ECHO_N "(cached) $ECHO_C" >&6
42021 cat >conftest.
$ac_ext <<_ACEOF
42024 cat confdefs.h
>>conftest.
$ac_ext
42025 cat >>conftest.
$ac_ext <<_ACEOF
42026 /* end confdefs.h. */
42027 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42029 #define sched_get_priority_max innocuous_sched_get_priority_max
42031 /* System header to define __stub macros and hopefully few prototypes,
42032 which can conflict with char sched_get_priority_max (); below.
42033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42034 <limits.h> exists even on freestanding compilers. */
42037 # include <limits.h>
42039 # include <assert.h>
42042 #undef sched_get_priority_max
42044 /* Override any GCC internal prototype to avoid an error.
42045 Use char because int might match the return type of a GCC
42046 builtin and then its argument prototype would still apply. */
42050 char sched_get_priority_max ();
42051 /* The GNU C library defines this for functions which it implements
42052 to always fail with ENOSYS. Some functions are actually named
42053 something starting with __ and the normal name is an alias. */
42054 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42061 return sched_get_priority_max ();
42066 rm -f conftest.
$ac_objext conftest
$ac_exeext
42067 if { (ac_try
="$ac_link"
42068 case "(($ac_try" in
42069 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42070 *) ac_try_echo=$ac_try;;
42072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42073 (eval "$ac_link") 2>conftest.er1
42075 grep -v '^ *+' conftest.er1 >conftest.err
42077 cat conftest.err >&5
42078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42079 (exit $ac_status); } && {
42080 test -z "$ac_c_werror_flag" ||
42081 test ! -s conftest.err
42082 } && test -s conftest$ac_exeext &&
42083 $as_test_x conftest$ac_exeext; then
42084 ac_cv_func_sched_get_priority_max=yes
42086 echo "$as_me: failed program was:" >&5
42087 sed 's/^/| /' conftest.$ac_ext >&5
42089 ac_cv_func_sched_get_priority_max=no
42092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42093 conftest$ac_exeext conftest.$ac_ext
42095 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42096 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42097 if test $ac_cv_func_sched_get_priority_max = yes; then
42100 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42101 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42102 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42103 echo $ECHO_N "(cached) $ECHO_C" >&6
42105 ac_check_lib_save_LIBS=$LIBS
42106 LIBS="-lposix4 $LIBS"
42107 cat >conftest.$ac_ext <<_ACEOF
42110 cat confdefs.h >>conftest.$ac_ext
42111 cat >>conftest.$ac_ext <<_ACEOF
42112 /* end confdefs.h. */
42114 /* Override any GCC internal prototype to avoid an error.
42115 Use char because int might match the return type of a GCC
42116 builtin and then its argument prototype would still apply. */
42120 char sched_get_priority_max ();
42124 return sched_get_priority_max ();
42129 rm -f conftest.$ac_objext conftest$ac_exeext
42130 if { (ac_try="$ac_link"
42131 case "(($ac_try" in
42132 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42133 *) ac_try_echo
=$ac_try;;
42135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42136 (eval "$ac_link") 2>conftest.er1
42138 grep -v '^ *+' conftest.er1
>conftest.err
42140 cat conftest.err
>&5
42141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42142 (exit $ac_status); } && {
42143 test -z "$ac_c_werror_flag" ||
42144 test ! -s conftest.err
42145 } && test -s conftest
$ac_exeext &&
42146 $as_test_x conftest
$ac_exeext; then
42147 ac_cv_lib_posix4_sched_get_priority_max
=yes
42149 echo "$as_me: failed program was:" >&5
42150 sed 's/^/| /' conftest.
$ac_ext >&5
42152 ac_cv_lib_posix4_sched_get_priority_max
=no
42155 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42156 conftest
$ac_exeext conftest.
$ac_ext
42157 LIBS
=$ac_check_lib_save_LIBS
42159 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42160 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42161 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42164 POSIX4_LINK
=" -lposix4"
42178 if test "$HAVE_PRIOR_FUNCS" = 1; then
42179 cat >>confdefs.h
<<\_ACEOF
42180 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42184 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42185 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42188 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42189 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42190 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42191 echo $ECHO_N "(cached) $ECHO_C" >&6
42193 cat >conftest.
$ac_ext <<_ACEOF
42196 cat confdefs.h
>>conftest.
$ac_ext
42197 cat >>conftest.
$ac_ext <<_ACEOF
42198 /* end confdefs.h. */
42199 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42201 #define pthread_cancel innocuous_pthread_cancel
42203 /* System header to define __stub macros and hopefully few prototypes,
42204 which can conflict with char pthread_cancel (); below.
42205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42206 <limits.h> exists even on freestanding compilers. */
42209 # include <limits.h>
42211 # include <assert.h>
42214 #undef pthread_cancel
42216 /* Override any GCC internal prototype to avoid an error.
42217 Use char because int might match the return type of a GCC
42218 builtin and then its argument prototype would still apply. */
42222 char pthread_cancel ();
42223 /* The GNU C library defines this for functions which it implements
42224 to always fail with ENOSYS. Some functions are actually named
42225 something starting with __ and the normal name is an alias. */
42226 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42233 return pthread_cancel ();
42238 rm -f conftest.
$ac_objext conftest
$ac_exeext
42239 if { (ac_try
="$ac_link"
42240 case "(($ac_try" in
42241 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42242 *) ac_try_echo=$ac_try;;
42244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42245 (eval "$ac_link") 2>conftest.er1
42247 grep -v '^ *+' conftest.er1 >conftest.err
42249 cat conftest.err >&5
42250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42251 (exit $ac_status); } && {
42252 test -z "$ac_c_werror_flag" ||
42253 test ! -s conftest.err
42254 } && test -s conftest$ac_exeext &&
42255 $as_test_x conftest$ac_exeext; then
42256 ac_cv_func_pthread_cancel=yes
42258 echo "$as_me: failed program was:" >&5
42259 sed 's/^/| /' conftest.$ac_ext >&5
42261 ac_cv_func_pthread_cancel=no
42264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42265 conftest$ac_exeext conftest.$ac_ext
42267 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42268 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42269 if test $ac_cv_func_pthread_cancel = yes; then
42270 cat >>confdefs.h <<\_ACEOF
42271 #define HAVE_PTHREAD_CANCEL 1
42275 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42276 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42280 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42281 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42282 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42283 echo $ECHO_N "(cached) $ECHO_C" >&6
42285 cat >conftest.$ac_ext <<_ACEOF
42288 cat confdefs.h >>conftest.$ac_ext
42289 cat >>conftest.$ac_ext <<_ACEOF
42290 /* end confdefs.h. */
42291 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42293 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42295 /* System header to define __stub macros and hopefully few prototypes,
42296 which can conflict with char pthread_mutex_timedlock (); below.
42297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42298 <limits.h> exists even on freestanding compilers. */
42301 # include <limits.h>
42303 # include <assert.h>
42306 #undef pthread_mutex_timedlock
42308 /* Override any GCC internal prototype to avoid an error.
42309 Use char because int might match the return type of a GCC
42310 builtin and then its argument prototype would still apply. */
42314 char pthread_mutex_timedlock ();
42315 /* The GNU C library defines this for functions which it implements
42316 to always fail with ENOSYS. Some functions are actually named
42317 something starting with __ and the normal name is an alias. */
42318 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42325 return pthread_mutex_timedlock ();
42330 rm -f conftest.$ac_objext conftest$ac_exeext
42331 if { (ac_try="$ac_link"
42332 case "(($ac_try" in
42333 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42334 *) ac_try_echo
=$ac_try;;
42336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42337 (eval "$ac_link") 2>conftest.er1
42339 grep -v '^ *+' conftest.er1
>conftest.err
42341 cat conftest.err
>&5
42342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42343 (exit $ac_status); } && {
42344 test -z "$ac_c_werror_flag" ||
42345 test ! -s conftest.err
42346 } && test -s conftest
$ac_exeext &&
42347 $as_test_x conftest
$ac_exeext; then
42348 ac_cv_func_pthread_mutex_timedlock
=yes
42350 echo "$as_me: failed program was:" >&5
42351 sed 's/^/| /' conftest.
$ac_ext >&5
42353 ac_cv_func_pthread_mutex_timedlock
=no
42356 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42357 conftest
$ac_exeext conftest.
$ac_ext
42359 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42360 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42361 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42362 cat >>confdefs.h
<<\_ACEOF
42363 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42367 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42368 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42372 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42373 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42374 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42375 echo $ECHO_N "(cached) $ECHO_C" >&6
42377 cat >conftest.
$ac_ext <<_ACEOF
42380 cat confdefs.h
>>conftest.
$ac_ext
42381 cat >>conftest.
$ac_ext <<_ACEOF
42382 /* end confdefs.h. */
42383 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42385 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42387 /* System header to define __stub macros and hopefully few prototypes,
42388 which can conflict with char pthread_attr_setstacksize (); below.
42389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42390 <limits.h> exists even on freestanding compilers. */
42393 # include <limits.h>
42395 # include <assert.h>
42398 #undef pthread_attr_setstacksize
42400 /* Override any GCC internal prototype to avoid an error.
42401 Use char because int might match the return type of a GCC
42402 builtin and then its argument prototype would still apply. */
42406 char pthread_attr_setstacksize ();
42407 /* The GNU C library defines this for functions which it implements
42408 to always fail with ENOSYS. Some functions are actually named
42409 something starting with __ and the normal name is an alias. */
42410 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42417 return pthread_attr_setstacksize ();
42422 rm -f conftest.
$ac_objext conftest
$ac_exeext
42423 if { (ac_try
="$ac_link"
42424 case "(($ac_try" in
42425 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42426 *) ac_try_echo=$ac_try;;
42428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42429 (eval "$ac_link") 2>conftest.er1
42431 grep -v '^ *+' conftest.er1 >conftest.err
42433 cat conftest.err >&5
42434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42435 (exit $ac_status); } && {
42436 test -z "$ac_c_werror_flag" ||
42437 test ! -s conftest.err
42438 } && test -s conftest$ac_exeext &&
42439 $as_test_x conftest$ac_exeext; then
42440 ac_cv_func_pthread_attr_setstacksize=yes
42442 echo "$as_me: failed program was:" >&5
42443 sed 's/^/| /' conftest.$ac_ext >&5
42445 ac_cv_func_pthread_attr_setstacksize=no
42448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42449 conftest$ac_exeext conftest.$ac_ext
42451 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42452 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42453 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42454 cat >>confdefs.h <<\_ACEOF
42455 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42462 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42463 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42464 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42465 echo $ECHO_N "(cached) $ECHO_C" >&6
42468 cat >conftest.$ac_ext <<_ACEOF
42471 cat confdefs.h >>conftest.$ac_ext
42472 cat >>conftest.$ac_ext <<_ACEOF
42473 /* end confdefs.h. */
42474 #include <pthread.h>
42479 pthread_mutexattr_t attr;
42480 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42486 rm -f conftest.$ac_objext
42487 if { (ac_try="$ac_compile"
42488 case "(($ac_try" in
42489 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42490 *) ac_try_echo
=$ac_try;;
42492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42493 (eval "$ac_compile") 2>conftest.er1
42495 grep -v '^ *+' conftest.er1
>conftest.err
42497 cat conftest.err
>&5
42498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42499 (exit $ac_status); } && {
42500 test -z "$ac_c_werror_flag" ||
42501 test ! -s conftest.err
42502 } && test -s conftest.
$ac_objext; then
42503 wx_cv_type_pthread_mutexattr_t
=yes
42505 echo "$as_me: failed program was:" >&5
42506 sed 's/^/| /' conftest.
$ac_ext >&5
42508 wx_cv_type_pthread_mutexattr_t
=no
42512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42515 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42516 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42518 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42519 cat >>confdefs.h
<<\_ACEOF
42520 #define HAVE_PTHREAD_MUTEXATTR_T 1
42524 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42525 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42526 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42527 echo $ECHO_N "(cached) $ECHO_C" >&6
42530 cat >conftest.
$ac_ext <<_ACEOF
42533 cat confdefs.h
>>conftest.
$ac_ext
42534 cat >>conftest.
$ac_ext <<_ACEOF
42535 /* end confdefs.h. */
42536 #include <pthread.h>
42541 pthread_mutexattr_t attr;
42542 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42548 rm -f conftest.
$ac_objext
42549 if { (ac_try
="$ac_compile"
42550 case "(($ac_try" in
42551 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42552 *) ac_try_echo=$ac_try;;
42554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42555 (eval "$ac_compile") 2>conftest.er1
42557 grep -v '^ *+' conftest.er1 >conftest.err
42559 cat conftest.err >&5
42560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42561 (exit $ac_status); } && {
42562 test -z "$ac_c_werror_flag" ||
42563 test ! -s conftest.err
42564 } && test -s conftest.$ac_objext; then
42565 wx_cv_func_pthread_mutexattr_settype_decl=yes
42567 echo "$as_me: failed program was:" >&5
42568 sed 's/^/| /' conftest.$ac_ext >&5
42570 wx_cv_func_pthread_mutexattr_settype_decl=no
42574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42577 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42578 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42579 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42580 cat >>confdefs.h <<\_ACEOF
42581 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42586 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42587 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42588 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42589 echo $ECHO_N "(cached) $ECHO_C" >&6
42592 cat >conftest.$ac_ext <<_ACEOF
42595 cat confdefs.h >>conftest.$ac_ext
42596 cat >>conftest.$ac_ext <<_ACEOF
42597 /* end confdefs.h. */
42598 #include <pthread.h>
42603 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42609 rm -f conftest.$ac_objext
42610 if { (ac_try="$ac_compile"
42611 case "(($ac_try" in
42612 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42613 *) ac_try_echo
=$ac_try;;
42615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42616 (eval "$ac_compile") 2>conftest.er1
42618 grep -v '^ *+' conftest.er1
>conftest.err
42620 cat conftest.err
>&5
42621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42622 (exit $ac_status); } && {
42623 test -z "$ac_c_werror_flag" ||
42624 test ! -s conftest.err
42625 } && test -s conftest.
$ac_objext; then
42627 wx_cv_type_pthread_rec_mutex_init
=yes
42630 echo "$as_me: failed program was:" >&5
42631 sed 's/^/| /' conftest.
$ac_ext >&5
42634 wx_cv_type_pthread_rec_mutex_init
=no
42639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42642 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42643 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42644 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42645 cat >>confdefs.h
<<\_ACEOF
42646 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42650 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42651 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42657 if test "$wxUSE_THREADS" = "yes" ; then
42660 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42661 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42662 if test "${wx_cv_cflags_mthread+set}" = set; then
42663 echo $ECHO_N "(cached) $ECHO_C" >&6
42666 CFLAGS_OLD
="$CFLAGS"
42667 CFLAGS
="-mthreads $CFLAGS"
42668 cat >conftest.
$ac_ext <<_ACEOF
42671 cat confdefs.h
>>conftest.
$ac_ext
42672 cat >>conftest.
$ac_ext <<_ACEOF
42673 /* end confdefs.h. */
42683 rm -f conftest.
$ac_objext
42684 if { (ac_try
="$ac_compile"
42685 case "(($ac_try" in
42686 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42687 *) ac_try_echo=$ac_try;;
42689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42690 (eval "$ac_compile") 2>conftest.er1
42692 grep -v '^ *+' conftest.er1 >conftest.err
42694 cat conftest.err >&5
42695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42696 (exit $ac_status); } && {
42697 test -z "$ac_c_werror_flag" ||
42698 test ! -s conftest.err
42699 } && test -s conftest.$ac_objext; then
42700 wx_cv_cflags_mthread=yes
42702 echo "$as_me: failed program was:" >&5
42703 sed 's/^/| /' conftest.$ac_ext >&5
42705 wx_cv_cflags_mthread=no
42709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42713 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42714 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42716 if test "$wx_cv_cflags_mthread" = "yes"; then
42717 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42718 LDFLAGS="$LDFLAGS -mthreads"
42720 CFLAGS="$CFLAGS_OLD"
42724 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42725 LDFLAGS="$LDFLAGS -Zmt"
42731 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42732 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42733 if test "${ac_cv_func_localtime_r+set}" = set; then
42734 echo $ECHO_N "(cached) $ECHO_C" >&6
42736 cat >conftest.$ac_ext <<_ACEOF
42739 cat confdefs.h >>conftest.$ac_ext
42740 cat >>conftest.$ac_ext <<_ACEOF
42741 /* end confdefs.h. */
42742 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42744 #define localtime_r innocuous_localtime_r
42746 /* System header to define __stub macros and hopefully few prototypes,
42747 which can conflict with char localtime_r (); below.
42748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42749 <limits.h> exists even on freestanding compilers. */
42752 # include <limits.h>
42754 # include <assert.h>
42759 /* Override any GCC internal prototype to avoid an error.
42760 Use char because int might match the return type of a GCC
42761 builtin and then its argument prototype would still apply. */
42765 char localtime_r ();
42766 /* The GNU C library defines this for functions which it implements
42767 to always fail with ENOSYS. Some functions are actually named
42768 something starting with __ and the normal name is an alias. */
42769 #if defined __stub_localtime_r || defined __stub___localtime_r
42776 return localtime_r ();
42781 rm -f conftest.$ac_objext conftest$ac_exeext
42782 if { (ac_try="$ac_link"
42783 case "(($ac_try" in
42784 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42785 *) ac_try_echo
=$ac_try;;
42787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42788 (eval "$ac_link") 2>conftest.er1
42790 grep -v '^ *+' conftest.er1
>conftest.err
42792 cat conftest.err
>&5
42793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42794 (exit $ac_status); } && {
42795 test -z "$ac_c_werror_flag" ||
42796 test ! -s conftest.err
42797 } && test -s conftest
$ac_exeext &&
42798 $as_test_x conftest
$ac_exeext; then
42799 ac_cv_func_localtime_r
=yes
42801 echo "$as_me: failed program was:" >&5
42802 sed 's/^/| /' conftest.
$ac_ext >&5
42804 ac_cv_func_localtime_r
=no
42807 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42808 conftest
$ac_exeext conftest.
$ac_ext
42810 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42811 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42812 if test $ac_cv_func_localtime_r = yes; then
42813 cat >>confdefs.h
<<\_ACEOF
42814 #define HAVE_LOCALTIME_R 1
42819 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42820 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42821 if test "${ac_cv_func_gmtime_r+set}" = set; then
42822 echo $ECHO_N "(cached) $ECHO_C" >&6
42824 cat >conftest.
$ac_ext <<_ACEOF
42827 cat confdefs.h
>>conftest.
$ac_ext
42828 cat >>conftest.
$ac_ext <<_ACEOF
42829 /* end confdefs.h. */
42830 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42832 #define gmtime_r innocuous_gmtime_r
42834 /* System header to define __stub macros and hopefully few prototypes,
42835 which can conflict with char gmtime_r (); below.
42836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42837 <limits.h> exists even on freestanding compilers. */
42840 # include <limits.h>
42842 # include <assert.h>
42847 /* Override any GCC internal prototype to avoid an error.
42848 Use char because int might match the return type of a GCC
42849 builtin and then its argument prototype would still apply. */
42854 /* The GNU C library defines this for functions which it implements
42855 to always fail with ENOSYS. Some functions are actually named
42856 something starting with __ and the normal name is an alias. */
42857 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42864 return gmtime_r ();
42869 rm -f conftest.
$ac_objext conftest
$ac_exeext
42870 if { (ac_try
="$ac_link"
42871 case "(($ac_try" in
42872 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42873 *) ac_try_echo=$ac_try;;
42875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42876 (eval "$ac_link") 2>conftest.er1
42878 grep -v '^ *+' conftest.er1 >conftest.err
42880 cat conftest.err >&5
42881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42882 (exit $ac_status); } && {
42883 test -z "$ac_c_werror_flag" ||
42884 test ! -s conftest.err
42885 } && test -s conftest$ac_exeext &&
42886 $as_test_x conftest$ac_exeext; then
42887 ac_cv_func_gmtime_r=yes
42889 echo "$as_me: failed program was:" >&5
42890 sed 's/^/| /' conftest.$ac_ext >&5
42892 ac_cv_func_gmtime_r=no
42895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42896 conftest$ac_exeext conftest.$ac_ext
42898 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42899 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42900 if test $ac_cv_func_gmtime_r = yes; then
42901 cat >>confdefs.h <<\_ACEOF
42902 #define HAVE_GMTIME_R 1
42911 ac_cpp='$CPP $CPPFLAGS'
42912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42916 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42917 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42919 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42920 echo $ECHO_N "(cached) $ECHO_C" >&6
42924 ################################################################
42926 ac_cv_func_which_gethostbyname_r=unknown
42929 # ONE ARGUMENT (sanity check)
42932 # This should fail, as there is no variant of gethostbyname_r() that takes
42933 # a single argument. If it actually compiles, then we can assume that
42934 # netdb.h is not declaring the function, and the compiler is thereby
42935 # assuming an implicit prototype. In which case, we're out of luck.
42937 cat >conftest.$ac_ext <<_ACEOF
42940 cat confdefs.h >>conftest.$ac_ext
42941 cat >>conftest.$ac_ext <<_ACEOF
42942 /* end confdefs.h. */
42948 char *name = "www.gnu.org";
42949 (void)gethostbyname_r(name) /* ; */
42955 rm -f conftest.$ac_objext
42956 if { (ac_try="$ac_compile"
42957 case "(($ac_try" in
42958 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42959 *) ac_try_echo
=$ac_try;;
42961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42962 (eval "$ac_compile") 2>conftest.er1
42964 grep -v '^ *+' conftest.er1
>conftest.err
42966 cat conftest.err
>&5
42967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42968 (exit $ac_status); } && {
42969 test -z "$ac_c_werror_flag" ||
42970 test ! -s conftest.err
42971 } && test -s conftest.
$ac_objext; then
42972 ac_cv_func_which_gethostbyname_r
=no
42974 echo "$as_me: failed program was:" >&5
42975 sed 's/^/| /' conftest.
$ac_ext >&5
42980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42987 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42989 cat >conftest.
$ac_ext <<_ACEOF
42992 cat confdefs.h
>>conftest.
$ac_ext
42993 cat >>conftest.
$ac_ext <<_ACEOF
42994 /* end confdefs.h. */
43000 char *name = "www.gnu.org";
43001 struct hostent ret, *retp;
43005 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43011 rm -f conftest.
$ac_objext
43012 if { (ac_try
="$ac_compile"
43013 case "(($ac_try" in
43014 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43015 *) ac_try_echo=$ac_try;;
43017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43018 (eval "$ac_compile") 2>conftest.er1
43020 grep -v '^ *+' conftest.er1 >conftest.err
43022 cat conftest.err >&5
43023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43024 (exit $ac_status); } && {
43025 test -z "$ac_c_werror_flag" ||
43026 test ! -s conftest.err
43027 } && test -s conftest.$ac_objext; then
43028 ac_cv_func_which_gethostbyname_r=six
43030 echo "$as_me: failed program was:" >&5
43031 sed 's/^/| /' conftest.$ac_ext >&5
43036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43045 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43047 cat >conftest.$ac_ext <<_ACEOF
43050 cat confdefs.h >>conftest.$ac_ext
43051 cat >>conftest.$ac_ext <<_ACEOF
43052 /* end confdefs.h. */
43058 char *name = "www.gnu.org";
43059 struct hostent ret;
43063 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43069 rm -f conftest.$ac_objext
43070 if { (ac_try="$ac_compile"
43071 case "(($ac_try" in
43072 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43073 *) ac_try_echo
=$ac_try;;
43075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43076 (eval "$ac_compile") 2>conftest.er1
43078 grep -v '^ *+' conftest.er1
>conftest.err
43080 cat conftest.err
>&5
43081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43082 (exit $ac_status); } && {
43083 test -z "$ac_c_werror_flag" ||
43084 test ! -s conftest.err
43085 } && test -s conftest.
$ac_objext; then
43086 ac_cv_func_which_gethostbyname_r
=five
43088 echo "$as_me: failed program was:" >&5
43089 sed 's/^/| /' conftest.
$ac_ext >&5
43094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43100 # (e.g. AIX, HP-UX, Tru64)
43103 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43105 cat >conftest.
$ac_ext <<_ACEOF
43108 cat confdefs.h
>>conftest.
$ac_ext
43109 cat >>conftest.
$ac_ext <<_ACEOF
43110 /* end confdefs.h. */
43116 char *name = "www.gnu.org";
43117 struct hostent ret;
43118 struct hostent_data data;
43119 (void)gethostbyname_r(name, &ret, &data) /* ; */
43125 rm -f conftest.
$ac_objext
43126 if { (ac_try
="$ac_compile"
43127 case "(($ac_try" in
43128 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43129 *) ac_try_echo=$ac_try;;
43131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43132 (eval "$ac_compile") 2>conftest.er1
43134 grep -v '^ *+' conftest.er1 >conftest.err
43136 cat conftest.err >&5
43137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43138 (exit $ac_status); } && {
43139 test -z "$ac_c_werror_flag" ||
43140 test ! -s conftest.err
43141 } && test -s conftest.$ac_objext; then
43142 ac_cv_func_which_gethostbyname_r=three
43144 echo "$as_me: failed program was:" >&5
43145 sed 's/^/| /' conftest.$ac_ext >&5
43150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43154 ################################################################
43159 case "$ac_cv_func_which_gethostbyname_r" in
43161 { echo "$as_me:$LINENO: result: three" >&5
43162 echo "${ECHO_T}three" >&6; }
43163 cat >>confdefs.h <<\_ACEOF
43164 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43170 { echo "$as_me:$LINENO: result: five" >&5
43171 echo "${ECHO_T}five" >&6; }
43172 cat >>confdefs.h <<\_ACEOF
43173 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43179 { echo "$as_me:$LINENO: result: six" >&5
43180 echo "${ECHO_T}six" >&6; }
43181 cat >>confdefs.h <<\_ACEOF
43182 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43188 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43189 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43193 { echo "$as_me:$LINENO: result: can't tell" >&5
43194 echo "${ECHO_T}can't tell" >&6; }
43198 { { echo "$as_me:$LINENO: error: internal error" >&5
43199 echo "$as_me: error: internal error" >&2;}
43200 { (exit 1); exit 1; }; }
43205 ac_cpp='$CPP $CPPFLAGS'
43206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43212 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43213 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43214 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43215 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43216 if test "${ac_cv_func_gethostbyname+set}" = set; then
43217 echo $ECHO_N "(cached) $ECHO_C" >&6
43219 cat >conftest.$ac_ext <<_ACEOF
43222 cat confdefs.h >>conftest.$ac_ext
43223 cat >>conftest.$ac_ext <<_ACEOF
43224 /* end confdefs.h. */
43225 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43227 #define gethostbyname innocuous_gethostbyname
43229 /* System header to define __stub macros and hopefully few prototypes,
43230 which can conflict with char gethostbyname (); below.
43231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43232 <limits.h> exists even on freestanding compilers. */
43235 # include <limits.h>
43237 # include <assert.h>
43240 #undef gethostbyname
43242 /* Override any GCC internal prototype to avoid an error.
43243 Use char because int might match the return type of a GCC
43244 builtin and then its argument prototype would still apply. */
43248 char gethostbyname ();
43249 /* The GNU C library defines this for functions which it implements
43250 to always fail with ENOSYS. Some functions are actually named
43251 something starting with __ and the normal name is an alias. */
43252 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43259 return gethostbyname ();
43264 rm -f conftest.$ac_objext conftest$ac_exeext
43265 if { (ac_try="$ac_link"
43266 case "(($ac_try" in
43267 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43268 *) ac_try_echo
=$ac_try;;
43270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43271 (eval "$ac_link") 2>conftest.er1
43273 grep -v '^ *+' conftest.er1
>conftest.err
43275 cat conftest.err
>&5
43276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43277 (exit $ac_status); } && {
43278 test -z "$ac_c_werror_flag" ||
43279 test ! -s conftest.err
43280 } && test -s conftest
$ac_exeext &&
43281 $as_test_x conftest
$ac_exeext; then
43282 ac_cv_func_gethostbyname
=yes
43284 echo "$as_me: failed program was:" >&5
43285 sed 's/^/| /' conftest.
$ac_ext >&5
43287 ac_cv_func_gethostbyname
=no
43290 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43291 conftest
$ac_exeext conftest.
$ac_ext
43293 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43294 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43295 if test $ac_cv_func_gethostbyname = yes; then
43296 cat >>confdefs.h
<<\_ACEOF
43297 #define HAVE_GETHOSTBYNAME 1
43304 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43305 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43306 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43307 echo $ECHO_N "(cached) $ECHO_C" >&6
43311 ac_cpp
='$CXXCPP $CPPFLAGS'
43312 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43313 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43314 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43317 cat >conftest.
$ac_ext <<_ACEOF
43320 cat confdefs.h
>>conftest.
$ac_ext
43321 cat >>conftest.
$ac_ext <<_ACEOF
43322 /* end confdefs.h. */
43330 struct servent *se, *res;
43333 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43339 rm -f conftest.
$ac_objext
43340 if { (ac_try
="$ac_compile"
43341 case "(($ac_try" in
43342 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43343 *) ac_try_echo=$ac_try;;
43345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43346 (eval "$ac_compile") 2>conftest.er1
43348 grep -v '^ *+' conftest.er1 >conftest.err
43350 cat conftest.err >&5
43351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43352 (exit $ac_status); } && {
43353 test -z "$ac_cxx_werror_flag" ||
43354 test ! -s conftest.err
43355 } && test -s conftest.$ac_objext; then
43356 ac_cv_func_which_getservbyname_r=six
43358 echo "$as_me: failed program was:" >&5
43359 sed 's/^/| /' conftest.$ac_ext >&5
43362 cat >conftest.$ac_ext <<_ACEOF
43365 cat confdefs.h >>conftest.$ac_ext
43366 cat >>conftest.$ac_ext <<_ACEOF
43367 /* end confdefs.h. */
43375 struct servent *se;
43378 (void) getservbyname_r(name, proto, se, buffer, buflen)
43384 rm -f conftest.$ac_objext
43385 if { (ac_try="$ac_compile"
43386 case "(($ac_try" in
43387 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43388 *) ac_try_echo
=$ac_try;;
43390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43391 (eval "$ac_compile") 2>conftest.er1
43393 grep -v '^ *+' conftest.er1
>conftest.err
43395 cat conftest.err
>&5
43396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43397 (exit $ac_status); } && {
43398 test -z "$ac_cxx_werror_flag" ||
43399 test ! -s conftest.err
43400 } && test -s conftest.
$ac_objext; then
43401 ac_cv_func_which_getservbyname_r
=five
43403 echo "$as_me: failed program was:" >&5
43404 sed 's/^/| /' conftest.
$ac_ext >&5
43407 cat >conftest.
$ac_ext <<_ACEOF
43410 cat confdefs.h
>>conftest.
$ac_ext
43411 cat >>conftest.
$ac_ext <<_ACEOF
43412 /* end confdefs.h. */
43420 struct servent *se;
43421 struct servent_data data;
43422 (void) getservbyname_r(name, proto, se, &data);
43428 rm -f conftest.
$ac_objext
43429 if { (ac_try
="$ac_compile"
43430 case "(($ac_try" in
43431 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43432 *) ac_try_echo=$ac_try;;
43434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43435 (eval "$ac_compile") 2>conftest.er1
43437 grep -v '^ *+' conftest.er1 >conftest.err
43439 cat conftest.err >&5
43440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43441 (exit $ac_status); } && {
43442 test -z "$ac_cxx_werror_flag" ||
43443 test ! -s conftest.err
43444 } && test -s conftest.$ac_objext; then
43445 ac_cv_func_which_getservbyname_r=four
43447 echo "$as_me: failed program was:" >&5
43448 sed 's/^/| /' conftest.$ac_ext >&5
43450 ac_cv_func_which_getservbyname_r=no
43454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43466 ac_cpp='$CPP $CPPFLAGS'
43467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43474 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43475 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43477 if test $ac_cv_func_which_getservbyname_r = six; then
43478 cat >>confdefs.h <<\_ACEOF
43479 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43482 elif test $ac_cv_func_which_getservbyname_r = five; then
43483 cat >>confdefs.h <<\_ACEOF
43484 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43487 elif test $ac_cv_func_which_getservbyname_r = four; then
43488 cat >>confdefs.h <<\_ACEOF
43489 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43495 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43496 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43498 for ac_func in getservbyname
43500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43501 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43503 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43504 echo $ECHO_N "(cached) $ECHO_C" >&6
43506 cat >conftest.$ac_ext <<_ACEOF
43509 cat confdefs.h >>conftest.$ac_ext
43510 cat >>conftest.$ac_ext <<_ACEOF
43511 /* end confdefs.h. */
43512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43514 #define $ac_func innocuous_$ac_func
43516 /* System header to define __stub macros and hopefully few prototypes,
43517 which can conflict with char $ac_func (); below.
43518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43519 <limits.h> exists even on freestanding compilers. */
43522 # include <limits.h>
43524 # include <assert.h>
43529 /* Override any GCC internal prototype to avoid an error.
43530 Use char because int might match the return type of a GCC
43531 builtin and then its argument prototype would still apply. */
43536 /* The GNU C library defines this for functions which it implements
43537 to always fail with ENOSYS. Some functions are actually named
43538 something starting with __ and the normal name is an alias. */
43539 #if defined __stub_$ac_func || defined __stub___$ac_func
43546 return $ac_func ();
43551 rm -f conftest.$ac_objext conftest$ac_exeext
43552 if { (ac_try="$ac_link"
43553 case "(($ac_try" in
43554 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43555 *) ac_try_echo
=$ac_try;;
43557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43558 (eval "$ac_link") 2>conftest.er1
43560 grep -v '^ *+' conftest.er1
>conftest.err
43562 cat conftest.err
>&5
43563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43564 (exit $ac_status); } && {
43565 test -z "$ac_c_werror_flag" ||
43566 test ! -s conftest.err
43567 } && test -s conftest
$ac_exeext &&
43568 $as_test_x conftest
$ac_exeext; then
43569 eval "$as_ac_var=yes"
43571 echo "$as_me: failed program was:" >&5
43572 sed 's/^/| /' conftest.
$ac_ext >&5
43574 eval "$as_ac_var=no"
43577 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43578 conftest
$ac_exeext conftest.
$ac_ext
43580 ac_res
=`eval echo '${'$as_ac_var'}'`
43581 { echo "$as_me:$LINENO: result: $ac_res" >&5
43582 echo "${ECHO_T}$ac_res" >&6; }
43583 if test `eval echo '${'$as_ac_var'}'` = yes; then
43584 cat >>confdefs.h
<<_ACEOF
43585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43587 cat >>confdefs.h
<<\_ACEOF
43588 #define HAVE_GETSERVBYNAME 1
43596 if test "$wxUSE_THREADS" = "yes"; then
43597 cat >>confdefs.h
<<\_ACEOF
43598 #define wxUSE_THREADS 1
43602 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
43604 if test "$wx_cv_func_strtok_r" = "yes"; then
43605 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43606 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43607 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43608 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43609 { echo "$as_me:$LINENO: result: yes" >&5
43610 echo "${ECHO_T}yes" >&6; }
43612 { echo "$as_me:$LINENO: result: no" >&5
43613 echo "${ECHO_T}no" >&6; }
43618 if test "$WXGTK20" = 1 ; then
43619 cat >>confdefs.h
<<_ACEOF
43620 #define __WXGTK20__ $WXGTK20
43626 if test "$WXGTK12" = 1 ; then
43627 cat >>confdefs.h
<<_ACEOF
43628 #define __WXGTK12__ $WXGTK12
43633 if test "$WXGTK127" = 1 ; then
43634 cat >>confdefs.h
<<_ACEOF
43635 #define __WXGTK127__ $WXGTK127
43640 if test "$WXGPE" = 1 ; then
43641 cat >>confdefs.h
<<_ACEOF
43642 #define __WXGPE__ $WXGPE
43648 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43653 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43654 wxUSE_DEBUG_INFO
=yes
43655 if test "$GCC" = yes; then
43656 DEBUG_CFLAGS
="-ggdb"
43660 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43661 cat >>confdefs.h
<<\_ACEOF
43665 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43667 if test "$wxUSE_GTK" = 1 ; then
43668 if test "x$wxGTK_VERSION" = "x1" ; then
43669 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43674 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43675 cat >>confdefs.h
<<\_ACEOF
43676 #define wxUSE_MEMORY_TRACING 1
43679 cat >>confdefs.h
<<\_ACEOF
43680 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43683 cat >>confdefs.h
<<\_ACEOF
43684 #define wxUSE_DEBUG_NEW_ALWAYS 1
43687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
43690 if test "$wxUSE_DMALLOC" = "yes" ; then
43691 DMALLOC_LIBS
="-ldmallocthcxx"
43695 if test "$wxUSE_PROFILE" = "yes" ; then
43696 PROFILE_FLAGS
=" -pg"
43699 if test "$GCC" = "yes" ; then
43700 if test "$wxUSE_NO_RTTI" = "yes" ; then
43701 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
43703 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43704 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
43706 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43707 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
43712 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
43715 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
43721 if test "$wxUSE_OPTIMISE" = "no" ; then
43722 if test "$GCC" = yes ; then
43723 OPTIMISE_CFLAGS
="-O0"
43726 if test "$GCC" = yes ; then
43728 *-pc-os2_emx | *-pc-os2-emx )
43729 OPTIMISE_CFLAGS
="-O2"
43732 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
43736 OPTIMISE_CFLAGS
="-O"
43741 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43742 cat >>confdefs.h
<<\_ACEOF
43743 #define WXWIN_COMPATIBILITY_2_6 1
43747 WXWIN_COMPATIBILITY_2_8
="yes"
43750 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43751 cat >>confdefs.h
<<\_ACEOF
43752 #define WXWIN_COMPATIBILITY_2_8 1
43758 if test "$wxUSE_GUI" = "yes"; then
43759 cat >>confdefs.h
<<\_ACEOF
43760 #define wxUSE_GUI 1
43767 if test "$wxUSE_UNIX" = "yes"; then
43768 cat >>confdefs.h
<<\_ACEOF
43769 #define wxUSE_UNIX 1
43775 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43779 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43780 if test "$USE_DARWIN" = 1; then
43782 elif test "$USE_DOS" = 1; then
43786 for ac_func
in dlopen
43788 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43789 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43791 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43792 echo $ECHO_N "(cached) $ECHO_C" >&6
43794 cat >conftest.
$ac_ext <<_ACEOF
43797 cat confdefs.h
>>conftest.
$ac_ext
43798 cat >>conftest.
$ac_ext <<_ACEOF
43799 /* end confdefs.h. */
43800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43802 #define $ac_func innocuous_$ac_func
43804 /* System header to define __stub macros and hopefully few prototypes,
43805 which can conflict with char $ac_func (); below.
43806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43807 <limits.h> exists even on freestanding compilers. */
43810 # include <limits.h>
43812 # include <assert.h>
43817 /* Override any GCC internal prototype to avoid an error.
43818 Use char because int might match the return type of a GCC
43819 builtin and then its argument prototype would still apply. */
43824 /* The GNU C library defines this for functions which it implements
43825 to always fail with ENOSYS. Some functions are actually named
43826 something starting with __ and the normal name is an alias. */
43827 #if defined __stub_$ac_func || defined __stub___$ac_func
43834 return $ac_func ();
43839 rm -f conftest.
$ac_objext conftest
$ac_exeext
43840 if { (ac_try
="$ac_link"
43841 case "(($ac_try" in
43842 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43843 *) ac_try_echo=$ac_try;;
43845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43846 (eval "$ac_link") 2>conftest.er1
43848 grep -v '^ *+' conftest.er1 >conftest.err
43850 cat conftest.err >&5
43851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43852 (exit $ac_status); } && {
43853 test -z "$ac_c_werror_flag" ||
43854 test ! -s conftest.err
43855 } && test -s conftest$ac_exeext &&
43856 $as_test_x conftest$ac_exeext; then
43857 eval "$as_ac_var=yes"
43859 echo "$as_me: failed program was:" >&5
43860 sed 's/^/| /' conftest.$ac_ext >&5
43862 eval "$as_ac_var=no"
43865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43866 conftest$ac_exeext conftest.$ac_ext
43868 ac_res=`eval echo '${'$as_ac_var'}'`
43869 { echo "$as_me:$LINENO: result: $ac_res" >&5
43870 echo "${ECHO_T}$ac_res" >&6; }
43871 if test `eval echo '${'$as_ac_var'}'` = yes; then
43872 cat >>confdefs.h <<_ACEOF
43873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43876 cat >>confdefs.h <<\_ACEOF
43877 #define HAVE_DLOPEN 1
43884 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43885 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43886 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43887 echo $ECHO_N "(cached) $ECHO_C" >&6
43889 ac_check_lib_save_LIBS=$LIBS
43891 cat >conftest.$ac_ext <<_ACEOF
43894 cat confdefs.h >>conftest.$ac_ext
43895 cat >>conftest.$ac_ext <<_ACEOF
43896 /* end confdefs.h. */
43898 /* Override any GCC internal prototype to avoid an error.
43899 Use char because int might match the return type of a GCC
43900 builtin and then its argument prototype would still apply. */
43913 rm -f conftest.$ac_objext conftest$ac_exeext
43914 if { (ac_try="$ac_link"
43915 case "(($ac_try" in
43916 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43917 *) ac_try_echo
=$ac_try;;
43919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43920 (eval "$ac_link") 2>conftest.er1
43922 grep -v '^ *+' conftest.er1
>conftest.err
43924 cat conftest.err
>&5
43925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43926 (exit $ac_status); } && {
43927 test -z "$ac_c_werror_flag" ||
43928 test ! -s conftest.err
43929 } && test -s conftest
$ac_exeext &&
43930 $as_test_x conftest
$ac_exeext; then
43931 ac_cv_lib_dl_dlopen
=yes
43933 echo "$as_me: failed program was:" >&5
43934 sed 's/^/| /' conftest.
$ac_ext >&5
43936 ac_cv_lib_dl_dlopen
=no
43939 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43940 conftest
$ac_exeext conftest.
$ac_ext
43941 LIBS
=$ac_check_lib_save_LIBS
43943 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43944 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43945 if test $ac_cv_lib_dl_dlopen = yes; then
43947 cat >>confdefs.h
<<\_ACEOF
43948 #define HAVE_DLOPEN 1
43952 DL_LINK
=" -ldl$DL_LINK"
43957 for ac_func
in shl_load
43959 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43960 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43962 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43963 echo $ECHO_N "(cached) $ECHO_C" >&6
43965 cat >conftest.
$ac_ext <<_ACEOF
43968 cat confdefs.h
>>conftest.
$ac_ext
43969 cat >>conftest.
$ac_ext <<_ACEOF
43970 /* end confdefs.h. */
43971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43973 #define $ac_func innocuous_$ac_func
43975 /* System header to define __stub macros and hopefully few prototypes,
43976 which can conflict with char $ac_func (); below.
43977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43978 <limits.h> exists even on freestanding compilers. */
43981 # include <limits.h>
43983 # include <assert.h>
43988 /* Override any GCC internal prototype to avoid an error.
43989 Use char because int might match the return type of a GCC
43990 builtin and then its argument prototype would still apply. */
43995 /* The GNU C library defines this for functions which it implements
43996 to always fail with ENOSYS. Some functions are actually named
43997 something starting with __ and the normal name is an alias. */
43998 #if defined __stub_$ac_func || defined __stub___$ac_func
44005 return $ac_func ();
44010 rm -f conftest.
$ac_objext conftest
$ac_exeext
44011 if { (ac_try
="$ac_link"
44012 case "(($ac_try" in
44013 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44014 *) ac_try_echo=$ac_try;;
44016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44017 (eval "$ac_link") 2>conftest.er1
44019 grep -v '^ *+' conftest.er1 >conftest.err
44021 cat conftest.err >&5
44022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44023 (exit $ac_status); } && {
44024 test -z "$ac_c_werror_flag" ||
44025 test ! -s conftest.err
44026 } && test -s conftest$ac_exeext &&
44027 $as_test_x conftest$ac_exeext; then
44028 eval "$as_ac_var=yes"
44030 echo "$as_me: failed program was:" >&5
44031 sed 's/^/| /' conftest.$ac_ext >&5
44033 eval "$as_ac_var=no"
44036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44037 conftest$ac_exeext conftest.$ac_ext
44039 ac_res=`eval echo '${'$as_ac_var'}'`
44040 { echo "$as_me:$LINENO: result: $ac_res" >&5
44041 echo "${ECHO_T}$ac_res" >&6; }
44042 if test `eval echo '${'$as_ac_var'}'` = yes; then
44043 cat >>confdefs.h <<_ACEOF
44044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44047 cat >>confdefs.h <<\_ACEOF
44048 #define HAVE_SHL_LOAD 1
44055 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44056 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44057 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44058 echo $ECHO_N "(cached) $ECHO_C" >&6
44060 ac_check_lib_save_LIBS=$LIBS
44061 LIBS="-lshl_load $LIBS"
44062 cat >conftest.$ac_ext <<_ACEOF
44065 cat confdefs.h >>conftest.$ac_ext
44066 cat >>conftest.$ac_ext <<_ACEOF
44067 /* end confdefs.h. */
44069 /* Override any GCC internal prototype to avoid an error.
44070 Use char because int might match the return type of a GCC
44071 builtin and then its argument prototype would still apply. */
44084 rm -f conftest.$ac_objext conftest$ac_exeext
44085 if { (ac_try="$ac_link"
44086 case "(($ac_try" in
44087 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44088 *) ac_try_echo
=$ac_try;;
44090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44091 (eval "$ac_link") 2>conftest.er1
44093 grep -v '^ *+' conftest.er1
>conftest.err
44095 cat conftest.err
>&5
44096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44097 (exit $ac_status); } && {
44098 test -z "$ac_c_werror_flag" ||
44099 test ! -s conftest.err
44100 } && test -s conftest
$ac_exeext &&
44101 $as_test_x conftest
$ac_exeext; then
44102 ac_cv_lib_shl_load_dld
=yes
44104 echo "$as_me: failed program was:" >&5
44105 sed 's/^/| /' conftest.
$ac_ext >&5
44107 ac_cv_lib_shl_load_dld
=no
44110 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44111 conftest
$ac_exeext conftest.
$ac_ext
44112 LIBS
=$ac_check_lib_save_LIBS
44114 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44115 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44116 if test $ac_cv_lib_shl_load_dld = yes; then
44119 DL_LINK
=" -ldld$DL_LINK"
44135 if test "$HAVE_DL_FUNCS" = 1; then
44137 for ac_func
in dlerror
44139 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44140 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44142 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44143 echo $ECHO_N "(cached) $ECHO_C" >&6
44145 cat >conftest.
$ac_ext <<_ACEOF
44148 cat confdefs.h
>>conftest.
$ac_ext
44149 cat >>conftest.
$ac_ext <<_ACEOF
44150 /* end confdefs.h. */
44151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44153 #define $ac_func innocuous_$ac_func
44155 /* System header to define __stub macros and hopefully few prototypes,
44156 which can conflict with char $ac_func (); below.
44157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44158 <limits.h> exists even on freestanding compilers. */
44161 # include <limits.h>
44163 # include <assert.h>
44168 /* Override any GCC internal prototype to avoid an error.
44169 Use char because int might match the return type of a GCC
44170 builtin and then its argument prototype would still apply. */
44175 /* The GNU C library defines this for functions which it implements
44176 to always fail with ENOSYS. Some functions are actually named
44177 something starting with __ and the normal name is an alias. */
44178 #if defined __stub_$ac_func || defined __stub___$ac_func
44185 return $ac_func ();
44190 rm -f conftest.
$ac_objext conftest
$ac_exeext
44191 if { (ac_try
="$ac_link"
44192 case "(($ac_try" in
44193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44194 *) ac_try_echo=$ac_try;;
44196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44197 (eval "$ac_link") 2>conftest.er1
44199 grep -v '^ *+' conftest.er1 >conftest.err
44201 cat conftest.err >&5
44202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44203 (exit $ac_status); } && {
44204 test -z "$ac_c_werror_flag" ||
44205 test ! -s conftest.err
44206 } && test -s conftest$ac_exeext &&
44207 $as_test_x conftest$ac_exeext; then
44208 eval "$as_ac_var=yes"
44210 echo "$as_me: failed program was:" >&5
44211 sed 's/^/| /' conftest.$ac_ext >&5
44213 eval "$as_ac_var=no"
44216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44217 conftest$ac_exeext conftest.$ac_ext
44219 ac_res=`eval echo '${'$as_ac_var'}'`
44220 { echo "$as_me:$LINENO: result: $ac_res" >&5
44221 echo "${ECHO_T}$ac_res" >&6; }
44222 if test `eval echo '${'$as_ac_var'}'` = yes; then
44223 cat >>confdefs.h <<_ACEOF
44224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44226 cat >>confdefs.h <<\_ACEOF
44227 #define HAVE_DLERROR 1
44232 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44233 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44234 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44235 echo $ECHO_N "(cached) $ECHO_C" >&6
44237 ac_check_lib_save_LIBS=$LIBS
44239 cat >conftest.$ac_ext <<_ACEOF
44242 cat confdefs.h >>conftest.$ac_ext
44243 cat >>conftest.$ac_ext <<_ACEOF
44244 /* end confdefs.h. */
44246 /* Override any GCC internal prototype to avoid an error.
44247 Use char because int might match the return type of a GCC
44248 builtin and then its argument prototype would still apply. */
44261 rm -f conftest.$ac_objext conftest$ac_exeext
44262 if { (ac_try="$ac_link"
44263 case "(($ac_try" in
44264 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44265 *) ac_try_echo
=$ac_try;;
44267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44268 (eval "$ac_link") 2>conftest.er1
44270 grep -v '^ *+' conftest.er1
>conftest.err
44272 cat conftest.err
>&5
44273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44274 (exit $ac_status); } && {
44275 test -z "$ac_c_werror_flag" ||
44276 test ! -s conftest.err
44277 } && test -s conftest
$ac_exeext &&
44278 $as_test_x conftest
$ac_exeext; then
44279 ac_cv_lib_dl_dlerror
=yes
44281 echo "$as_me: failed program was:" >&5
44282 sed 's/^/| /' conftest.
$ac_ext >&5
44284 ac_cv_lib_dl_dlerror
=no
44287 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44288 conftest
$ac_exeext conftest.
$ac_ext
44289 LIBS
=$ac_check_lib_save_LIBS
44291 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44292 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44293 if test $ac_cv_lib_dl_dlerror = yes; then
44294 cat >>confdefs.h
<<\_ACEOF
44295 #define HAVE_DLERROR 1
44308 if test "$HAVE_DL_FUNCS" = 0; then
44309 if test "$HAVE_SHL_FUNCS" = 0; then
44310 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44311 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44312 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44313 wxUSE_DYNAMIC_LOADER
=no
44314 wxUSE_DYNLIB_CLASS
=no
44316 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44317 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44324 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44325 cat >>confdefs.h
<<\_ACEOF
44326 #define wxUSE_DYNAMIC_LOADER 1
44330 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44331 cat >>confdefs.h
<<\_ACEOF
44332 #define wxUSE_DYNLIB_CLASS 1
44339 if test "$wxUSE_PLUGINS" = "yes" ; then
44340 if test "$wxUSE_SHARED" = "no" ; then
44341 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44342 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44345 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44346 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44347 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44350 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44351 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44352 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44355 if test "$wxUSE_PLUGINS" = "yes" ; then
44356 cat >>confdefs.h
<<\_ACEOF
44357 #define wxUSE_PLUGINS 1
44364 if test "$wxUSE_STL" = "yes"; then
44365 cat >>confdefs.h
<<\_ACEOF
44366 #define wxUSE_STL 1
44371 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44372 cat >>confdefs.h
<<\_ACEOF
44373 #define wxUSE_EXTENDED_RTTI 1
44378 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44379 cat >>confdefs.h
<<\_ACEOF
44380 #define wxUSE_APPLE_IEEE 1
44385 if test "$wxUSE_TIMER" = "yes"; then
44386 cat >>confdefs.h
<<\_ACEOF
44387 #define wxUSE_TIMER 1
44392 if test "$USE_UNIX" = "1" ; then
44393 if test "$wxUSE_MGL" != 1; then
44394 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44395 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44396 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44397 echo $ECHO_N "(cached) $ECHO_C" >&6
44400 cat >conftest.
$ac_ext <<_ACEOF
44403 cat confdefs.h
>>conftest.
$ac_ext
44404 cat >>conftest.
$ac_ext <<_ACEOF
44405 /* end confdefs.h. */
44407 #include <sys/ioctl.h>
44408 #include <sys/soundcard.h>
44414 ioctl(0, SNDCTL_DSP_SPEED, 0);
44420 rm -f conftest.
$ac_objext conftest
$ac_exeext
44421 if { (ac_try
="$ac_link"
44422 case "(($ac_try" in
44423 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44424 *) ac_try_echo=$ac_try;;
44426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44427 (eval "$ac_link") 2>conftest.er1
44429 grep -v '^ *+' conftest.er1 >conftest.err
44431 cat conftest.err >&5
44432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44433 (exit $ac_status); } && {
44434 test -z "$ac_c_werror_flag" ||
44435 test ! -s conftest.err
44436 } && test -s conftest$ac_exeext &&
44437 $as_test_x conftest$ac_exeext; then
44438 ac_cv_header_sys_soundcard=yes
44440 echo "$as_me: failed program was:" >&5
44441 sed 's/^/| /' conftest.$ac_ext >&5
44445 LIBS="$saveLibs -lossaudio"
44446 cat >conftest.$ac_ext <<_ACEOF
44449 cat confdefs.h >>conftest.$ac_ext
44450 cat >>conftest.$ac_ext <<_ACEOF
44451 /* end confdefs.h. */
44453 #include <sys/ioctl.h>
44454 #include <sys/soundcard.h>
44460 ioctl(0, SNDCTL_DSP_SPEED, 0);
44466 rm -f conftest.$ac_objext conftest$ac_exeext
44467 if { (ac_try="$ac_link"
44468 case "(($ac_try" in
44469 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44470 *) ac_try_echo
=$ac_try;;
44472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44473 (eval "$ac_link") 2>conftest.er1
44475 grep -v '^ *+' conftest.er1
>conftest.err
44477 cat conftest.err
>&5
44478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44479 (exit $ac_status); } && {
44480 test -z "$ac_c_werror_flag" ||
44481 test ! -s conftest.err
44482 } && test -s conftest
$ac_exeext &&
44483 $as_test_x conftest
$ac_exeext; then
44484 ac_cv_header_sys_soundcard
=yes
44486 echo "$as_me: failed program was:" >&5
44487 sed 's/^/| /' conftest.
$ac_ext >&5
44491 ac_cv_header_sys_soundcard
=no
44496 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44497 conftest
$ac_exeext conftest.
$ac_ext
44502 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44503 conftest
$ac_exeext conftest.
$ac_ext
44506 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44507 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44510 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44511 cat >>confdefs.h
<<\_ACEOF
44512 #define HAVE_SYS_SOUNDCARD_H 1
44519 if test "$wxUSE_SOUND" = "yes"; then
44520 if test "$USE_UNIX" = "1" ; then
44521 if test "$wxUSE_LIBSDL" != "no"; then
44523 # Check whether --with-sdl-prefix was given.
44524 if test "${with_sdl_prefix+set}" = set; then
44525 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
44531 # Check whether --with-sdl-exec-prefix was given.
44532 if test "${with_sdl_exec_prefix+set}" = set; then
44533 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
44538 # Check whether --enable-sdltest was given.
44539 if test "${enable_sdltest+set}" = set; then
44540 enableval
=$enable_sdltest;
44546 if test x
$sdl_exec_prefix != x
; then
44547 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
44548 if test x
${SDL_CONFIG+set} != xset
; then
44549 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
44552 if test x
$sdl_prefix != x
; then
44553 sdl_args
="$sdl_args --prefix=$sdl_prefix"
44554 if test x
${SDL_CONFIG+set} != xset
; then
44555 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
44559 if test "x$prefix" != xNONE
; then
44560 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
44562 # Extract the first word of "sdl-config", so it can be a program name with args.
44563 set dummy sdl
-config; ac_word
=$2
44564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44566 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44567 echo $ECHO_N "(cached) $ECHO_C" >&6
44569 case $SDL_CONFIG in
44571 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
44574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44575 for as_dir
in $PATH
44578 test -z "$as_dir" && as_dir
=.
44579 for ac_exec_ext
in '' $ac_executable_extensions; do
44580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44581 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44589 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
44593 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
44594 if test -n "$SDL_CONFIG"; then
44595 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44596 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44598 { echo "$as_me:$LINENO: result: no" >&5
44599 echo "${ECHO_T}no" >&6; }
44603 min_sdl_version
=1.2.0
44604 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44605 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44607 if test "$SDL_CONFIG" = "no" ; then
44610 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
44611 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
44613 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
44614 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44615 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
44616 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44617 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
44618 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44619 if test "x$enable_sdltest" = "xyes" ; then
44620 ac_save_CFLAGS
="$CFLAGS"
44621 ac_save_CXXFLAGS
="$CXXFLAGS"
44622 ac_save_LIBS
="$LIBS"
44623 CFLAGS
="$CFLAGS $SDL_CFLAGS"
44624 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
44625 LIBS
="$LIBS $SDL_LIBS"
44627 if test "$cross_compiling" = yes; then
44628 echo $ac_n "cross compiling; assumed OK... $ac_c"
44630 cat >conftest.
$ac_ext <<_ACEOF
44633 cat confdefs.h
>>conftest.
$ac_ext
44634 cat >>conftest.
$ac_ext <<_ACEOF
44635 /* end confdefs.h. */
44638 #include <stdlib.h>
44639 #include <string.h>
44643 my_strdup (char *str)
44649 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44650 strcpy (new_str, str);
44658 int main (int argc, char *argv[])
44660 int major, minor, micro;
44663 /* This hangs on some systems (?)
44664 system ("touch conf.sdltest");
44666 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44668 /* HP/UX 9 (%@#!) writes to sscanf strings */
44669 tmp_version = my_strdup("$min_sdl_version");
44670 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44671 printf("%s, bad version string\n", "$min_sdl_version");
44675 if (($sdl_major_version > major) ||
44676 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44677 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44683 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44684 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44685 printf("*** best to upgrade to the required version.\n");
44686 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44687 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44688 printf("*** config.cache before re-running configure\n");
44695 rm -f conftest
$ac_exeext
44696 if { (ac_try
="$ac_link"
44697 case "(($ac_try" in
44698 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44699 *) ac_try_echo=$ac_try;;
44701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44702 (eval "$ac_link") 2>&5
44704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44705 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44706 { (case "(($ac_try" in
44707 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44708 *) ac_try_echo
=$ac_try;;
44710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44711 (eval "$ac_try") 2>&5
44713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44714 (exit $ac_status); }; }; then
44717 echo "$as_me: program exited with status $ac_status" >&5
44718 echo "$as_me: failed program was:" >&5
44719 sed 's/^/| /' conftest.
$ac_ext >&5
44721 ( exit $ac_status )
44724 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
44728 CFLAGS
="$ac_save_CFLAGS"
44729 CXXFLAGS
="$ac_save_CXXFLAGS"
44730 LIBS
="$ac_save_LIBS"
44733 if test "x$no_sdl" = x
; then
44734 { echo "$as_me:$LINENO: result: yes" >&5
44735 echo "${ECHO_T}yes" >&6; }
44737 EXTRALIBS_SDL
="$SDL_LIBS"
44738 CFLAGS
="$SDL_CFLAGS $CFLAGS"
44739 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
44740 cat >>confdefs.h
<<\_ACEOF
44741 #define wxUSE_LIBSDL 1
44746 { echo "$as_me:$LINENO: result: no" >&5
44747 echo "${ECHO_T}no" >&6; }
44748 if test "$SDL_CONFIG" = "no" ; then
44749 echo "*** The sdl-config script installed by SDL could not be found"
44750 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44751 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44752 echo "*** full path to sdl-config."
44754 if test -f conf.sdltest
; then
44757 echo "*** Could not run SDL test program, checking why..."
44758 CFLAGS
="$CFLAGS $SDL_CFLAGS"
44759 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
44760 LIBS
="$LIBS $SDL_LIBS"
44761 cat >conftest.
$ac_ext <<_ACEOF
44764 cat confdefs.h
>>conftest.
$ac_ext
44765 cat >>conftest.
$ac_ext <<_ACEOF
44766 /* end confdefs.h. */
44771 int main(int argc, char *argv[])
44774 #define main K_and_R_C_main
44784 rm -f conftest.
$ac_objext conftest
$ac_exeext
44785 if { (ac_try
="$ac_link"
44786 case "(($ac_try" in
44787 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44788 *) ac_try_echo=$ac_try;;
44790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44791 (eval "$ac_link") 2>conftest.er1
44793 grep -v '^ *+' conftest.er1 >conftest.err
44795 cat conftest.err >&5
44796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44797 (exit $ac_status); } && {
44798 test -z "$ac_c_werror_flag" ||
44799 test ! -s conftest.err
44800 } && test -s conftest$ac_exeext &&
44801 $as_test_x conftest$ac_exeext; then
44802 echo "*** The test program compiled, but did not run. This usually means"
44803 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44804 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44805 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44806 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44807 echo "*** is required on your system"
44809 echo "*** If you have an old version installed, it is best to remove it, although"
44810 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44812 echo "$as_me: failed program was:" >&5
44813 sed 's/^/| /' conftest.$ac_ext >&5
44815 echo "*** The test program failed to compile or link. See the file config.log for the"
44816 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44817 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44818 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44822 conftest$ac_exeext conftest.$ac_ext
44823 CFLAGS="$ac_save_CFLAGS"
44824 CXXFLAGS="$ac_save_CXXFLAGS"
44825 LIBS="$ac_save_LIBS"
44836 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44841 if test "$wxUSE_MGL" = 1; then
44842 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44843 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44849 if test "$wxUSE_SOUND" = "yes"; then
44850 cat >>confdefs.h <<\_ACEOF
44851 #define wxUSE_SOUND 1
44854 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44857 if test "$WXGTK20" = 1; then
44860 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44861 if test -n "$ac_tool_prefix"; then
44862 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44863 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44864 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44866 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44867 echo $ECHO_N "(cached) $ECHO_C" >&6
44869 case $PKG_CONFIG in
44871 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44875 for as_dir in $PATH
44878 test -z "$as_dir" && as_dir=.
44879 for ac_exec_ext in '' $ac_executable_extensions; do
44880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44881 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44892 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44893 if test -n "$PKG_CONFIG"; then
44894 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44895 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44897 { echo "$as_me:$LINENO: result: no" >&5
44898 echo "${ECHO_T}no" >&6; }
44903 if test -z "$ac_cv_path_PKG_CONFIG"; then
44904 ac_pt_PKG_CONFIG=$PKG_CONFIG
44905 # Extract the first word of "pkg-config", so it can be a program name with args.
44906 set dummy pkg-config; ac_word=$2
44907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44909 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44910 echo $ECHO_N "(cached) $ECHO_C" >&6
44912 case $ac_pt_PKG_CONFIG in
44914 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44918 for as_dir in $PATH
44921 test -z "$as_dir" && as_dir=.
44922 for ac_exec_ext in '' $ac_executable_extensions; do
44923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44924 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44935 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44936 if test -n "$ac_pt_PKG_CONFIG"; then
44937 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44938 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44940 { echo "$as_me:$LINENO: result: no" >&5
44941 echo "${ECHO_T}no" >&6; }
44944 if test "x$ac_pt_PKG_CONFIG" = x; then
44947 case $cross_compiling:$ac_tool_warned in
44949 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44950 whose name does not start with the host triplet. If you think this
44951 configuration is useful to you, please write to autoconf@gnu.org." >&5
44952 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44953 whose name does not start with the host triplet. If you think this
44954 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44955 ac_tool_warned=yes ;;
44957 PKG_CONFIG=$ac_pt_PKG_CONFIG
44960 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44964 if test -n "$PKG_CONFIG"; then
44965 _pkg_min_version=0.9.0
44966 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44967 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44968 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44969 { echo "$as_me:$LINENO: result: yes" >&5
44970 echo "${ECHO_T}yes" >&6; }
44972 { echo "$as_me:$LINENO: result: no" >&5
44973 echo "${ECHO_T}no" >&6; }
44979 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44981 if test "$wxUSE_GTKPRINT" = "yes" ; then
44985 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44986 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44988 if test -n "$PKG_CONFIG"; then
44989 if test -n "$GTKPRINT_CFLAGS"; then
44990 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44992 if test -n "$PKG_CONFIG" && \
44993 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44994 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44997 (exit $ac_status); }; then
44998 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
45006 if test -n "$PKG_CONFIG"; then
45007 if test -n "$GTKPRINT_LIBS"; then
45008 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
45010 if test -n "$PKG_CONFIG" && \
45011 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
45012 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
45014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45015 (exit $ac_status); }; then
45016 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
45027 if test $pkg_failed = yes; then
45029 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45030 _pkg_short_errors_supported=yes
45032 _pkg_short_errors_supported=no
45034 if test $_pkg_short_errors_supported = yes; then
45035 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45037 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45039 # Put the nasty error message in config.log where it belongs
45040 echo "$GTKPRINT_PKG_ERRORS" >&5
45043 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45044 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45045 wxUSE_GTKPRINT="no"
45048 elif test $pkg_failed = untried; then
45050 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45051 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45052 wxUSE_GTKPRINT="no"
45056 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
45057 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
45058 { echo "$as_me:$LINENO: result: yes" >&5
45059 echo "${ECHO_T}yes" >&6; }
45061 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
45062 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
45063 cat >>confdefs.h <<\_ACEOF
45064 #define wxUSE_GTKPRINT 1
45071 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45075 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45076 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45078 if test -n "$PKG_CONFIG"; then
45079 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45080 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45082 if test -n "$PKG_CONFIG" && \
45083 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45084 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45087 (exit $ac_status); }; then
45088 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
45096 if test -n "$PKG_CONFIG"; then
45097 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45098 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45100 if test -n "$PKG_CONFIG" && \
45101 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45102 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45105 (exit $ac_status); }; then
45106 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
45117 if test $pkg_failed = yes; then
45119 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45120 _pkg_short_errors_supported=yes
45122 _pkg_short_errors_supported=no
45124 if test $_pkg_short_errors_supported = yes; then
45125 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45127 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45129 # Put the nasty error message in config.log where it belongs
45130 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45133 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45134 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45135 wxUSE_LIBGNOMEPRINT="no"
45138 elif test $pkg_failed = untried; then
45140 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45141 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45142 wxUSE_LIBGNOMEPRINT="no"
45146 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45147 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45148 { echo "$as_me:$LINENO: result: yes" >&5
45149 echo "${ECHO_T}yes" >&6; }
45151 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45152 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45153 cat >>confdefs.h <<\_ACEOF
45154 #define wxUSE_LIBGNOMEPRINT 1
45162 if test "$wxUSE_MIMETYPE" = "yes" ; then
45163 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45167 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45168 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45170 if test -n "$PKG_CONFIG"; then
45171 if test -n "$GNOMEVFS_CFLAGS"; then
45172 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45174 if test -n "$PKG_CONFIG" && \
45175 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45176 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45179 (exit $ac_status); }; then
45180 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
45188 if test -n "$PKG_CONFIG"; then
45189 if test -n "$GNOMEVFS_LIBS"; then
45190 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45192 if test -n "$PKG_CONFIG" && \
45193 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45194 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45197 (exit $ac_status); }; then
45198 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
45209 if test $pkg_failed = yes; then
45211 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45212 _pkg_short_errors_supported=yes
45214 _pkg_short_errors_supported=no
45216 if test $_pkg_short_errors_supported = yes; then
45217 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45219 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45221 # Put the nasty error message in config.log where it belongs
45222 echo "$GNOMEVFS_PKG_ERRORS" >&5
45225 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45226 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45227 wxUSE_LIBGNOMEVFS="no"
45230 elif test $pkg_failed = untried; then
45232 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45233 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45234 wxUSE_LIBGNOMEVFS="no"
45238 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45239 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45240 { echo "$as_me:$LINENO: result: yes" >&5
45241 echo "${ECHO_T}yes" >&6; }
45243 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45244 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45245 cat >>confdefs.h <<\_ACEOF
45246 #define wxUSE_LIBGNOMEVFS 1
45254 if test "$wxUSE_LIBHILDON" = "yes" ; then
45257 { echo "$as_me:$LINENO: checking for HILDON" >&5
45258 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45260 if test -n "$PKG_CONFIG"; then
45261 if test -n "$HILDON_CFLAGS"; then
45262 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45264 if test -n "$PKG_CONFIG" && \
45265 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45266 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45269 (exit $ac_status); }; then
45270 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev
/null
`
45278 if test -n "$PKG_CONFIG"; then
45279 if test -n "$HILDON_LIBS"; then
45280 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45282 if test -n "$PKG_CONFIG" && \
45283 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45284 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45287 (exit $ac_status); }; then
45288 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev
/null
`
45299 if test $pkg_failed = yes; then
45301 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45302 _pkg_short_errors_supported=yes
45304 _pkg_short_errors_supported=no
45306 if test $_pkg_short_errors_supported = yes; then
45307 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45309 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45311 # Put the nasty error message in config.log where it belongs
45312 echo "$HILDON_PKG_ERRORS" >&5
45315 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45316 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45317 wxUSE_LIBHILDON="no"
45320 elif test $pkg_failed = untried; then
45322 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45323 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45324 wxUSE_LIBHILDON="no"
45328 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45329 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45330 { echo "$as_me:$LINENO: result: yes" >&5
45331 echo "${ECHO_T}yes" >&6; }
45333 EXTRALIBS_HILDON="$HILDON_LIBS"
45334 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45335 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45336 cat >>confdefs.h <<\_ACEOF
45337 #define wxUSE_LIBHILDON 1
45345 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45346 cat >>confdefs.h <<\_ACEOF
45347 #define wxUSE_CMDLINE_PARSER 1
45352 if test "$wxUSE_STOPWATCH" = "yes"; then
45353 cat >>confdefs.h <<\_ACEOF
45354 #define wxUSE_STOPWATCH 1
45359 if test "$wxUSE_DATETIME" = "yes"; then
45360 cat >>confdefs.h <<\_ACEOF
45361 #define wxUSE_DATETIME 1
45366 if test "$wxUSE_FILE" = "yes"; then
45367 cat >>confdefs.h <<\_ACEOF
45368 #define wxUSE_FILE 1
45373 if test "$wxUSE_FFILE" = "yes"; then
45374 cat >>confdefs.h <<\_ACEOF
45375 #define wxUSE_FFILE 1
45380 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45381 if test "$wxUSE_STREAMS" != yes; then
45382 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45383 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45384 wxUSE_ARCHIVE_STREAMS=no
45386 cat >>confdefs.h <<\_ACEOF
45387 #define wxUSE_ARCHIVE_STREAMS 1
45393 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45394 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45395 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45396 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45397 elif test "$wxUSE_ZLIB" = "no"; then
45398 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45399 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45401 cat >>confdefs.h <<\_ACEOF
45402 #define wxUSE_ZIPSTREAM 1
45408 if test "$wxUSE_TARSTREAM" = "yes"; then
45409 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45410 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45411 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45413 cat >>confdefs.h <<\_ACEOF
45414 #define wxUSE_TARSTREAM 1
45420 if test "$wxUSE_FILESYSTEM" = "yes"; then
45421 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45422 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45423 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45424 wxUSE_FILESYSTEM=no
45426 cat >>confdefs.h <<\_ACEOF
45427 #define wxUSE_FILESYSTEM 1
45433 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45434 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45435 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45436 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45438 cat >>confdefs.h <<\_ACEOF
45439 #define wxUSE_FS_ARCHIVE 1
45445 if test "$wxUSE_FS_ZIP" = "yes"; then
45446 if test "$wxUSE_FS_ARCHIVE" != yes; then
45447 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45448 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45450 cat >>confdefs.h <<\_ACEOF
45451 #define wxUSE_FS_ZIP 1
45457 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45458 if test "$USE_UNIX" != 1; then
45459 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45460 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45461 wxUSE_ON_FATAL_EXCEPTION=no
45463 cat >>confdefs.h <<\_ACEOF
45464 #define wxUSE_ON_FATAL_EXCEPTION 1
45470 if test "$wxUSE_STACKWALKER" = "yes"; then
45471 cat >>confdefs.h <<\_ACEOF
45472 #define wxUSE_STACKWALKER 1
45477 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45478 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45479 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45480 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45481 wxUSE_DEBUGREPORT=no
45483 cat >>confdefs.h <<\_ACEOF
45484 #define wxUSE_DEBUGREPORT 1
45487 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45488 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45493 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45494 cat >>confdefs.h <<\_ACEOF
45495 #define wxUSE_SNGLINST_CHECKER 1
45500 if test "$wxUSE_BUSYINFO" = "yes"; then
45501 cat >>confdefs.h <<\_ACEOF
45502 #define wxUSE_BUSYINFO 1
45507 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45508 cat >>confdefs.h <<\_ACEOF
45509 #define wxUSE_STD_IOSTREAM 1
45514 if test "$wxUSE_STD_STRING" = "yes"; then
45515 cat >>confdefs.h <<\_ACEOF
45516 #define wxUSE_STD_STRING 1
45521 if test "$wxUSE_STDPATHS" = "yes"; then
45522 cat >>confdefs.h <<\_ACEOF
45523 #define wxUSE_STDPATHS 1
45528 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45529 cat >>confdefs.h <<\_ACEOF
45530 #define wxUSE_TEXTBUFFER 1
45535 if test "$wxUSE_TEXTFILE" = "yes"; then
45536 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45537 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45538 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45540 cat >>confdefs.h <<\_ACEOF
45541 #define wxUSE_TEXTFILE 1
45547 if test "$wxUSE_CONFIG" = "yes" ; then
45548 if test "$wxUSE_TEXTFILE" != "yes"; then
45549 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45550 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45552 cat >>confdefs.h <<\_ACEOF
45553 #define wxUSE_CONFIG 1
45556 cat >>confdefs.h <<\_ACEOF
45557 #define wxUSE_CONFIG_NATIVE 1
45560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45564 if test "$wxUSE_INTL" = "yes" ; then
45565 if test "$wxUSE_FILE" != "yes"; then
45566 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45567 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45569 cat >>confdefs.h <<\_ACEOF
45570 #define wxUSE_INTL 1
45573 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45574 GUIDIST="$GUIDIST INTL_DIST"
45578 if test "$wxUSE_LOG" = "yes"; then
45579 cat >>confdefs.h <<\_ACEOF
45580 #define wxUSE_LOG 1
45584 if test "$wxUSE_LOGGUI" = "yes"; then
45585 cat >>confdefs.h <<\_ACEOF
45586 #define wxUSE_LOGGUI 1
45591 if test "$wxUSE_LOGWINDOW" = "yes"; then
45592 cat >>confdefs.h <<\_ACEOF
45593 #define wxUSE_LOGWINDOW 1
45598 if test "$wxUSE_LOGDIALOG" = "yes"; then
45599 cat >>confdefs.h <<\_ACEOF
45600 #define wxUSE_LOG_DIALOG 1
45605 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45608 if test "$wxUSE_LONGLONG" = "yes"; then
45609 cat >>confdefs.h <<\_ACEOF
45610 #define wxUSE_LONGLONG 1
45615 if test "$wxUSE_GEOMETRY" = "yes"; then
45616 cat >>confdefs.h <<\_ACEOF
45617 #define wxUSE_GEOMETRY 1
45622 if test "$wxUSE_BASE64" = "yes"; then
45623 cat >>confdefs.h <<\_ACEOF
45624 #define wxUSE_BASE64 1
45629 if test "$wxUSE_STREAMS" = "yes" ; then
45630 cat >>confdefs.h <<\_ACEOF
45631 #define wxUSE_STREAMS 1
45636 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45637 cat >>confdefs.h <<\_ACEOF
45638 #define wxUSE_PRINTF_POS_PARAMS 1
45643 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45644 cat >>confdefs.h <<\_ACEOF
45645 #define wxUSE_OBJC_UNIQUIFYING 1
45651 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45652 cat >>confdefs.h <<\_ACEOF
45653 #define wxUSE_CONSOLE_EVENTLOOP 1
45657 if test "$wxUSE_UNIX" = "yes"; then
45658 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45659 cat >>confdefs.h <<\_ACEOF
45660 #define wxUSE_SELECT_DISPATCHER 1
45665 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45667 for ac_header in sys/epoll.h
45669 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45670 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45673 echo $ECHO_N "(cached) $ECHO_C" >&6
45675 cat >conftest.$ac_ext <<_ACEOF
45678 cat confdefs.h >>conftest.$ac_ext
45679 cat >>conftest.$ac_ext <<_ACEOF
45680 /* end confdefs.h. */
45681 $ac_includes_default
45683 #include <$ac_header>
45685 rm -f conftest.$ac_objext
45686 if { (ac_try="$ac_compile"
45687 case "(($ac_try" in
45688 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45689 *) ac_try_echo
=$ac_try;;
45691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45692 (eval "$ac_compile") 2>conftest.er1
45694 grep -v '^ *+' conftest.er1
>conftest.err
45696 cat conftest.err
>&5
45697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45698 (exit $ac_status); } && {
45699 test -z "$ac_c_werror_flag" ||
45700 test ! -s conftest.err
45701 } && test -s conftest.
$ac_objext; then
45702 eval "$as_ac_Header=yes"
45704 echo "$as_me: failed program was:" >&5
45705 sed 's/^/| /' conftest.
$ac_ext >&5
45707 eval "$as_ac_Header=no"
45710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45712 ac_res
=`eval echo '${'$as_ac_Header'}'`
45713 { echo "$as_me:$LINENO: result: $ac_res" >&5
45714 echo "${ECHO_T}$ac_res" >&6; }
45715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45716 cat >>confdefs.h
<<_ACEOF
45717 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45724 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45725 cat >>confdefs.h
<<\_ACEOF
45726 #define wxUSE_EPOLL_DISPATCHER 1
45730 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45731 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45740 for ac_func
in gettimeofday ftime
45742 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45743 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45745 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45746 echo $ECHO_N "(cached) $ECHO_C" >&6
45748 cat >conftest.
$ac_ext <<_ACEOF
45751 cat confdefs.h
>>conftest.
$ac_ext
45752 cat >>conftest.
$ac_ext <<_ACEOF
45753 /* end confdefs.h. */
45754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45756 #define $ac_func innocuous_$ac_func
45758 /* System header to define __stub macros and hopefully few prototypes,
45759 which can conflict with char $ac_func (); below.
45760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45761 <limits.h> exists even on freestanding compilers. */
45764 # include <limits.h>
45766 # include <assert.h>
45771 /* Override any GCC internal prototype to avoid an error.
45772 Use char because int might match the return type of a GCC
45773 builtin and then its argument prototype would still apply. */
45778 /* The GNU C library defines this for functions which it implements
45779 to always fail with ENOSYS. Some functions are actually named
45780 something starting with __ and the normal name is an alias. */
45781 #if defined __stub_$ac_func || defined __stub___$ac_func
45788 return $ac_func ();
45793 rm -f conftest.
$ac_objext conftest
$ac_exeext
45794 if { (ac_try
="$ac_link"
45795 case "(($ac_try" in
45796 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45797 *) ac_try_echo=$ac_try;;
45799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45800 (eval "$ac_link") 2>conftest.er1
45802 grep -v '^ *+' conftest.er1 >conftest.err
45804 cat conftest.err >&5
45805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45806 (exit $ac_status); } && {
45807 test -z "$ac_c_werror_flag" ||
45808 test ! -s conftest.err
45809 } && test -s conftest$ac_exeext &&
45810 $as_test_x conftest$ac_exeext; then
45811 eval "$as_ac_var=yes"
45813 echo "$as_me: failed program was:" >&5
45814 sed 's/^/| /' conftest.$ac_ext >&5
45816 eval "$as_ac_var=no"
45819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45820 conftest$ac_exeext conftest.$ac_ext
45822 ac_res=`eval echo '${'$as_ac_var'}'`
45823 { echo "$as_me:$LINENO: result: $ac_res" >&5
45824 echo "${ECHO_T}$ac_res" >&6; }
45825 if test `eval echo '${'$as_ac_var'}'` = yes; then
45826 cat >>confdefs.h <<_ACEOF
45827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45834 if test "$ac_cv_func_gettimeofday" = "yes"; then
45835 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45836 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45837 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45838 echo $ECHO_N "(cached) $ECHO_C" >&6
45841 cat >conftest.$ac_ext <<_ACEOF
45844 cat confdefs.h >>conftest.$ac_ext
45845 cat >>conftest.$ac_ext <<_ACEOF
45846 /* end confdefs.h. */
45848 #include <sys/time.h>
45849 #include <unistd.h>
45856 gettimeofday(&tv, NULL);
45862 rm -f conftest.$ac_objext
45863 if { (ac_try="$ac_compile"
45864 case "(($ac_try" in
45865 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45866 *) ac_try_echo
=$ac_try;;
45868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45869 (eval "$ac_compile") 2>conftest.er1
45871 grep -v '^ *+' conftest.er1
>conftest.err
45873 cat conftest.err
>&5
45874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45875 (exit $ac_status); } && {
45876 test -z "$ac_c_werror_flag" ||
45877 test ! -s conftest.err
45878 } && test -s conftest.
$ac_objext; then
45879 wx_cv_func_gettimeofday_has_2_args
=yes
45881 echo "$as_me: failed program was:" >&5
45882 sed 's/^/| /' conftest.
$ac_ext >&5
45884 cat >conftest.
$ac_ext <<_ACEOF
45887 cat confdefs.h
>>conftest.
$ac_ext
45888 cat >>conftest.
$ac_ext <<_ACEOF
45889 /* end confdefs.h. */
45891 #include <sys/time.h>
45892 #include <unistd.h>
45905 rm -f conftest.
$ac_objext
45906 if { (ac_try
="$ac_compile"
45907 case "(($ac_try" in
45908 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45909 *) ac_try_echo=$ac_try;;
45911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45912 (eval "$ac_compile") 2>conftest.er1
45914 grep -v '^ *+' conftest.er1 >conftest.err
45916 cat conftest.err >&5
45917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45918 (exit $ac_status); } && {
45919 test -z "$ac_c_werror_flag" ||
45920 test ! -s conftest.err
45921 } && test -s conftest.$ac_objext; then
45922 wx_cv_func_gettimeofday_has_2_args=no
45924 echo "$as_me: failed program was:" >&5
45925 sed 's/^/| /' conftest.$ac_ext >&5
45928 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45929 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45930 wx_cv_func_gettimeofday_has_2_args=unknown
45935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45942 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45943 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45945 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45946 cat >>confdefs.h <<\_ACEOF
45947 #define WX_GETTIMEOFDAY_NO_TZ 1
45953 if test "$wxUSE_DATETIME" = "yes"; then
45954 { echo "$as_me:$LINENO: checking for strptime" >&5
45955 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45956 if test "${ac_cv_func_strptime+set}" = set; then
45957 echo $ECHO_N "(cached) $ECHO_C" >&6
45959 cat >conftest.$ac_ext <<_ACEOF
45962 cat confdefs.h >>conftest.$ac_ext
45963 cat >>conftest.$ac_ext <<_ACEOF
45964 /* end confdefs.h. */
45965 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45967 #define strptime innocuous_strptime
45969 /* System header to define __stub macros and hopefully few prototypes,
45970 which can conflict with char strptime (); below.
45971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45972 <limits.h> exists even on freestanding compilers. */
45975 # include <limits.h>
45977 # include <assert.h>
45982 /* Override any GCC internal prototype to avoid an error.
45983 Use char because int might match the return type of a GCC
45984 builtin and then its argument prototype would still apply. */
45989 /* The GNU C library defines this for functions which it implements
45990 to always fail with ENOSYS. Some functions are actually named
45991 something starting with __ and the normal name is an alias. */
45992 #if defined __stub_strptime || defined __stub___strptime
45999 return strptime ();
46004 rm -f conftest.$ac_objext conftest$ac_exeext
46005 if { (ac_try="$ac_link"
46006 case "(($ac_try" in
46007 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46008 *) ac_try_echo
=$ac_try;;
46010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46011 (eval "$ac_link") 2>conftest.er1
46013 grep -v '^ *+' conftest.er1
>conftest.err
46015 cat conftest.err
>&5
46016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46017 (exit $ac_status); } && {
46018 test -z "$ac_c_werror_flag" ||
46019 test ! -s conftest.err
46020 } && test -s conftest
$ac_exeext &&
46021 $as_test_x conftest
$ac_exeext; then
46022 ac_cv_func_strptime
=yes
46024 echo "$as_me: failed program was:" >&5
46025 sed 's/^/| /' conftest.
$ac_ext >&5
46027 ac_cv_func_strptime
=no
46030 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46031 conftest
$ac_exeext conftest.
$ac_ext
46033 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46034 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46036 if test "$ac_cv_func_strptime" = "yes"; then
46037 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46038 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46039 if test "${wx_cv_func_strptime_decl+set}" = set; then
46040 echo $ECHO_N "(cached) $ECHO_C" >&6
46044 ac_cpp
='$CXXCPP $CPPFLAGS'
46045 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46046 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46047 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46049 cat >conftest.
$ac_ext <<_ACEOF
46052 cat confdefs.h
>>conftest.
$ac_ext
46053 cat >>conftest.
$ac_ext <<_ACEOF
46054 /* end confdefs.h. */
46063 strptime("foo", "bar", &t);
46069 rm -f conftest.
$ac_objext
46070 if { (ac_try
="$ac_compile"
46071 case "(($ac_try" in
46072 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46073 *) ac_try_echo=$ac_try;;
46075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46076 (eval "$ac_compile") 2>conftest.er1
46078 grep -v '^ *+' conftest.er1 >conftest.err
46080 cat conftest.err >&5
46081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46082 (exit $ac_status); } && {
46083 test -z "$ac_cxx_werror_flag" ||
46084 test ! -s conftest.err
46085 } && test -s conftest.$ac_objext; then
46086 wx_cv_func_strptime_decl=yes
46088 echo "$as_me: failed program was:" >&5
46089 sed 's/^/| /' conftest.$ac_ext >&5
46091 wx_cv_func_strptime_decl=no
46095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46097 ac_cpp='$CPP $CPPFLAGS'
46098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46105 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46106 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46108 if test "$wx_cv_func_strptime_decl" = "yes"; then
46109 cat >>confdefs.h <<\_ACEOF
46110 #define HAVE_STRPTIME_DECL 1
46114 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46116 if test "$ac_cv_func_strptime" = "yes"; then
46117 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46118 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46119 if test "${wx_cv_func_strptime_ok+set}" = set; then
46120 echo $ECHO_N "(cached) $ECHO_C" >&6
46122 if test "$cross_compiling" = yes; then
46123 wx_cv_func_strptime_ok=no
46126 cat >conftest.$ac_ext <<_ACEOF
46128 #include <stdlib.h>
46130 #include "confdefs.h"
46137 return !!strptime("", "%x", &t);
46141 rm -f conftest$ac_exeext
46142 if { (ac_try="$ac_link"
46143 case "(($ac_try" in
46144 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46145 *) ac_try_echo
=$ac_try;;
46147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46148 (eval "$ac_link") 2>&5
46150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46151 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
46152 { (case "(($ac_try" in
46153 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46154 *) ac_try_echo=$ac_try;;
46156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46157 (eval "$ac_try") 2>&5
46159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46160 (exit $ac_status); }; }; then
46161 wx_cv_func_strptime_ok=yes
46163 echo "$as_me: program exited with status $ac_status" >&5
46164 echo "$as_me: failed program was:" >&5
46165 sed 's/^/| /' conftest.$ac_ext >&5
46167 ( exit $ac_status )
46168 wx_cv_func_strptime_ok=no
46170 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46176 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46177 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46179 if test "$wx_cv_func_strptime_ok" = "yes"; then
46180 cat >>confdefs.h <<\_ACEOF
46181 #define HAVE_STRPTIME 1
46187 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46188 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46189 if test "${wx_cv_var_timezone+set}" = set; then
46190 echo $ECHO_N "(cached) $ECHO_C" >&6
46194 ac_cpp='$CXXCPP $CPPFLAGS'
46195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46199 cat >conftest.$ac_ext <<_ACEOF
46202 cat confdefs.h >>conftest.$ac_ext
46203 cat >>conftest.$ac_ext <<_ACEOF
46204 /* end confdefs.h. */
46219 rm -f conftest.$ac_objext
46220 if { (ac_try="$ac_compile"
46221 case "(($ac_try" in
46222 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46223 *) ac_try_echo
=$ac_try;;
46225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46226 (eval "$ac_compile") 2>conftest.er1
46228 grep -v '^ *+' conftest.er1
>conftest.err
46230 cat conftest.err
>&5
46231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46232 (exit $ac_status); } && {
46233 test -z "$ac_cxx_werror_flag" ||
46234 test ! -s conftest.err
46235 } && test -s conftest.
$ac_objext; then
46237 wx_cv_var_timezone
=timezone
46240 echo "$as_me: failed program was:" >&5
46241 sed 's/^/| /' conftest.
$ac_ext >&5
46244 cat >conftest.
$ac_ext <<_ACEOF
46247 cat confdefs.h
>>conftest.
$ac_ext
46248 cat >>conftest.
$ac_ext <<_ACEOF
46249 /* end confdefs.h. */
46264 rm -f conftest.
$ac_objext
46265 if { (ac_try
="$ac_compile"
46266 case "(($ac_try" in
46267 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46268 *) ac_try_echo=$ac_try;;
46270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46271 (eval "$ac_compile") 2>conftest.er1
46273 grep -v '^ *+' conftest.er1 >conftest.err
46275 cat conftest.err >&5
46276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46277 (exit $ac_status); } && {
46278 test -z "$ac_cxx_werror_flag" ||
46279 test ! -s conftest.err
46280 } && test -s conftest.$ac_objext; then
46282 wx_cv_var_timezone=_timezone
46285 echo "$as_me: failed program was:" >&5
46286 sed 's/^/| /' conftest.$ac_ext >&5
46289 cat >conftest.$ac_ext <<_ACEOF
46292 cat confdefs.h >>conftest.$ac_ext
46293 cat >>conftest.$ac_ext <<_ACEOF
46294 /* end confdefs.h. */
46309 rm -f conftest.$ac_objext
46310 if { (ac_try="$ac_compile"
46311 case "(($ac_try" in
46312 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46313 *) ac_try_echo
=$ac_try;;
46315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46316 (eval "$ac_compile") 2>conftest.er1
46318 grep -v '^ *+' conftest.er1
>conftest.err
46320 cat conftest.err
>&5
46321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46322 (exit $ac_status); } && {
46323 test -z "$ac_cxx_werror_flag" ||
46324 test ! -s conftest.err
46325 } && test -s conftest.
$ac_objext; then
46327 wx_cv_var_timezone
=__timezone
46330 echo "$as_me: failed program was:" >&5
46331 sed 's/^/| /' conftest.
$ac_ext >&5
46334 if test "$USE_DOS" = 0 ; then
46335 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46336 echo "$as_me: WARNING: no timezone variable" >&2;}
46342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46354 ac_cpp
='$CPP $CPPFLAGS'
46355 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46356 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46357 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46362 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46363 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46365 if test "x$wx_cv_var_timezone" != x
; then
46366 cat >>confdefs.h
<<_ACEOF
46367 #define WX_TIMEZONE $wx_cv_var_timezone
46373 for ac_func
in localtime
46375 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46376 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46378 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46379 echo $ECHO_N "(cached) $ECHO_C" >&6
46381 cat >conftest.
$ac_ext <<_ACEOF
46384 cat confdefs.h
>>conftest.
$ac_ext
46385 cat >>conftest.
$ac_ext <<_ACEOF
46386 /* end confdefs.h. */
46387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46389 #define $ac_func innocuous_$ac_func
46391 /* System header to define __stub macros and hopefully few prototypes,
46392 which can conflict with char $ac_func (); below.
46393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46394 <limits.h> exists even on freestanding compilers. */
46397 # include <limits.h>
46399 # include <assert.h>
46404 /* Override any GCC internal prototype to avoid an error.
46405 Use char because int might match the return type of a GCC
46406 builtin and then its argument prototype would still apply. */
46411 /* The GNU C library defines this for functions which it implements
46412 to always fail with ENOSYS. Some functions are actually named
46413 something starting with __ and the normal name is an alias. */
46414 #if defined __stub_$ac_func || defined __stub___$ac_func
46421 return $ac_func ();
46426 rm -f conftest.
$ac_objext conftest
$ac_exeext
46427 if { (ac_try
="$ac_link"
46428 case "(($ac_try" in
46429 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46430 *) ac_try_echo=$ac_try;;
46432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46433 (eval "$ac_link") 2>conftest.er1
46435 grep -v '^ *+' conftest.er1 >conftest.err
46437 cat conftest.err >&5
46438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46439 (exit $ac_status); } && {
46440 test -z "$ac_c_werror_flag" ||
46441 test ! -s conftest.err
46442 } && test -s conftest$ac_exeext &&
46443 $as_test_x conftest$ac_exeext; then
46444 eval "$as_ac_var=yes"
46446 echo "$as_me: failed program was:" >&5
46447 sed 's/^/| /' conftest.$ac_ext >&5
46449 eval "$as_ac_var=no"
46452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46453 conftest$ac_exeext conftest.$ac_ext
46455 ac_res=`eval echo '${'$as_ac_var'}'`
46456 { echo "$as_me:$LINENO: result: $ac_res" >&5
46457 echo "${ECHO_T}$ac_res" >&6; }
46458 if test `eval echo '${'$as_ac_var'}'` = yes; then
46459 cat >>confdefs.h <<_ACEOF
46460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46467 if test "$ac_cv_func_localtime" = "yes"; then
46468 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46469 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46470 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46471 echo $ECHO_N "(cached) $ECHO_C" >&6
46474 cat >conftest.$ac_ext <<_ACEOF
46477 cat confdefs.h >>conftest.$ac_ext
46478 cat >>conftest.$ac_ext <<_ACEOF
46479 /* end confdefs.h. */
46494 rm -f conftest.$ac_objext
46495 if { (ac_try="$ac_compile"
46496 case "(($ac_try" in
46497 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46498 *) ac_try_echo
=$ac_try;;
46500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46501 (eval "$ac_compile") 2>conftest.er1
46503 grep -v '^ *+' conftest.er1
>conftest.err
46505 cat conftest.err
>&5
46506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46507 (exit $ac_status); } && {
46508 test -z "$ac_c_werror_flag" ||
46509 test ! -s conftest.err
46510 } && test -s conftest.
$ac_objext; then
46512 wx_cv_struct_tm_has_gmtoff
=yes
46515 echo "$as_me: failed program was:" >&5
46516 sed 's/^/| /' conftest.
$ac_ext >&5
46518 wx_cv_struct_tm_has_gmtoff
=no
46522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46525 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46526 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46529 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46530 cat >>confdefs.h
<<\_ACEOF
46531 #define WX_GMTOFF_IN_TM 1
46536 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
46540 if test "$wxUSE_SOCKETS" = "yes"; then
46541 if test "$wxUSE_MGL" = "1"; then
46542 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46543 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46548 if test "$wxUSE_SOCKETS" = "yes"; then
46549 if test "$TOOLKIT" != "MSW"; then
46550 { echo "$as_me:$LINENO: checking for socket" >&5
46551 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46552 if test "${ac_cv_func_socket+set}" = set; then
46553 echo $ECHO_N "(cached) $ECHO_C" >&6
46555 cat >conftest.
$ac_ext <<_ACEOF
46558 cat confdefs.h
>>conftest.
$ac_ext
46559 cat >>conftest.
$ac_ext <<_ACEOF
46560 /* end confdefs.h. */
46561 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46563 #define socket innocuous_socket
46565 /* System header to define __stub macros and hopefully few prototypes,
46566 which can conflict with char socket (); below.
46567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46568 <limits.h> exists even on freestanding compilers. */
46571 # include <limits.h>
46573 # include <assert.h>
46578 /* Override any GCC internal prototype to avoid an error.
46579 Use char because int might match the return type of a GCC
46580 builtin and then its argument prototype would still apply. */
46585 /* The GNU C library defines this for functions which it implements
46586 to always fail with ENOSYS. Some functions are actually named
46587 something starting with __ and the normal name is an alias. */
46588 #if defined __stub_socket || defined __stub___socket
46600 rm -f conftest.
$ac_objext conftest
$ac_exeext
46601 if { (ac_try
="$ac_link"
46602 case "(($ac_try" in
46603 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46604 *) ac_try_echo=$ac_try;;
46606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46607 (eval "$ac_link") 2>conftest.er1
46609 grep -v '^ *+' conftest.er1 >conftest.err
46611 cat conftest.err >&5
46612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46613 (exit $ac_status); } && {
46614 test -z "$ac_c_werror_flag" ||
46615 test ! -s conftest.err
46616 } && test -s conftest$ac_exeext &&
46617 $as_test_x conftest$ac_exeext; then
46618 ac_cv_func_socket=yes
46620 echo "$as_me: failed program was:" >&5
46621 sed 's/^/| /' conftest.$ac_ext >&5
46623 ac_cv_func_socket=no
46626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46627 conftest$ac_exeext conftest.$ac_ext
46629 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46630 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46631 if test $ac_cv_func_socket = yes; then
46635 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46636 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46637 if test "${ac_cv_lib_socket_socket+set}" = set; then
46638 echo $ECHO_N "(cached) $ECHO_C" >&6
46640 ac_check_lib_save_LIBS=$LIBS
46641 LIBS="-lsocket $LIBS"
46642 cat >conftest.$ac_ext <<_ACEOF
46645 cat confdefs.h >>conftest.$ac_ext
46646 cat >>conftest.$ac_ext <<_ACEOF
46647 /* end confdefs.h. */
46649 /* Override any GCC internal prototype to avoid an error.
46650 Use char because int might match the return type of a GCC
46651 builtin and then its argument prototype would still apply. */
46664 rm -f conftest.$ac_objext conftest$ac_exeext
46665 if { (ac_try="$ac_link"
46666 case "(($ac_try" in
46667 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46668 *) ac_try_echo
=$ac_try;;
46670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46671 (eval "$ac_link") 2>conftest.er1
46673 grep -v '^ *+' conftest.er1
>conftest.err
46675 cat conftest.err
>&5
46676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46677 (exit $ac_status); } && {
46678 test -z "$ac_c_werror_flag" ||
46679 test ! -s conftest.err
46680 } && test -s conftest
$ac_exeext &&
46681 $as_test_x conftest
$ac_exeext; then
46682 ac_cv_lib_socket_socket
=yes
46684 echo "$as_me: failed program was:" >&5
46685 sed 's/^/| /' conftest.
$ac_ext >&5
46687 ac_cv_lib_socket_socket
=no
46690 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46691 conftest
$ac_exeext conftest.
$ac_ext
46692 LIBS
=$ac_check_lib_save_LIBS
46694 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46695 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46696 if test $ac_cv_lib_socket_socket = yes; then
46697 if test "$INET_LINK" != " -lsocket"; then
46698 INET_LINK
="$INET_LINK -lsocket"
46702 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46703 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46716 if test "$wxUSE_SOCKETS" = "yes" ; then
46717 if test "$TOOLKIT" != "MSW"; then
46718 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46719 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46720 if test "${wx_cv_type_getsockname3+set}" = set; then
46721 echo $ECHO_N "(cached) $ECHO_C" >&6
46725 ac_cpp
='$CXXCPP $CPPFLAGS'
46726 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46727 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46728 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46730 cat >conftest.
$ac_ext <<_ACEOF
46733 cat confdefs.h
>>conftest.
$ac_ext
46734 cat >>conftest.
$ac_ext <<_ACEOF
46735 /* end confdefs.h. */
46737 #include <sys/types.h>
46738 #include <sys/socket.h>
46745 getsockname(0, 0, &len);
46751 rm -f conftest.
$ac_objext
46752 if { (ac_try
="$ac_compile"
46753 case "(($ac_try" in
46754 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46755 *) ac_try_echo=$ac_try;;
46757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46758 (eval "$ac_compile") 2>conftest.er1
46760 grep -v '^ *+' conftest.er1 >conftest.err
46762 cat conftest.err >&5
46763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46764 (exit $ac_status); } && {
46765 test -z "$ac_cxx_werror_flag" ||
46766 test ! -s conftest.err
46767 } && test -s conftest.$ac_objext; then
46768 wx_cv_type_getsockname3=socklen_t
46770 echo "$as_me: failed program was:" >&5
46771 sed 's/^/| /' conftest.$ac_ext >&5
46774 CFLAGS_OLD="$CFLAGS"
46775 if test "$GCC" = yes ; then
46776 CFLAGS="-Werror $CFLAGS"
46779 cat >conftest.$ac_ext <<_ACEOF
46782 cat confdefs.h >>conftest.$ac_ext
46783 cat >>conftest.$ac_ext <<_ACEOF
46784 /* end confdefs.h. */
46786 #include <sys/types.h>
46787 #include <sys/socket.h>
46794 getsockname(0, 0, &len);
46800 rm -f conftest.$ac_objext
46801 if { (ac_try="$ac_compile"
46802 case "(($ac_try" in
46803 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46804 *) ac_try_echo
=$ac_try;;
46806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46807 (eval "$ac_compile") 2>conftest.er1
46809 grep -v '^ *+' conftest.er1
>conftest.err
46811 cat conftest.err
>&5
46812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46813 (exit $ac_status); } && {
46814 test -z "$ac_cxx_werror_flag" ||
46815 test ! -s conftest.err
46816 } && test -s conftest.
$ac_objext; then
46817 wx_cv_type_getsockname3
=size_t
46819 echo "$as_me: failed program was:" >&5
46820 sed 's/^/| /' conftest.
$ac_ext >&5
46822 cat >conftest.
$ac_ext <<_ACEOF
46825 cat confdefs.h
>>conftest.
$ac_ext
46826 cat >>conftest.
$ac_ext <<_ACEOF
46827 /* end confdefs.h. */
46829 #include <sys/types.h>
46830 #include <sys/socket.h>
46837 getsockname(0, 0, &len);
46843 rm -f conftest.
$ac_objext
46844 if { (ac_try
="$ac_compile"
46845 case "(($ac_try" in
46846 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46847 *) ac_try_echo=$ac_try;;
46849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46850 (eval "$ac_compile") 2>conftest.er1
46852 grep -v '^ *+' conftest.er1 >conftest.err
46854 cat conftest.err >&5
46855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46856 (exit $ac_status); } && {
46857 test -z "$ac_cxx_werror_flag" ||
46858 test ! -s conftest.err
46859 } && test -s conftest.$ac_objext; then
46860 wx_cv_type_getsockname3=int
46862 echo "$as_me: failed program was:" >&5
46863 sed 's/^/| /' conftest.$ac_ext >&5
46865 wx_cv_type_getsockname3=unknown
46869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46875 CFLAGS="$CFLAGS_OLD"
46880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46882 ac_cpp='$CPP $CPPFLAGS'
46883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46889 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46890 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46892 if test "$wx_cv_type_getsockname3" = "unknown"; then
46894 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46895 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46897 cat >>confdefs.h <<_ACEOF
46898 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46902 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46903 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46904 if test "${wx_cv_type_getsockopt5+set}" = set; then
46905 echo $ECHO_N "(cached) $ECHO_C" >&6
46909 ac_cpp='$CXXCPP $CPPFLAGS'
46910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46914 cat >conftest.$ac_ext <<_ACEOF
46917 cat confdefs.h >>conftest.$ac_ext
46918 cat >>conftest.$ac_ext <<_ACEOF
46919 /* end confdefs.h. */
46921 #include <sys/types.h>
46922 #include <sys/socket.h>
46929 getsockopt(0, 0, 0, 0, &len);
46935 rm -f conftest.$ac_objext
46936 if { (ac_try="$ac_compile"
46937 case "(($ac_try" in
46938 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46939 *) ac_try_echo
=$ac_try;;
46941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46942 (eval "$ac_compile") 2>conftest.er1
46944 grep -v '^ *+' conftest.er1
>conftest.err
46946 cat conftest.err
>&5
46947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46948 (exit $ac_status); } && {
46949 test -z "$ac_cxx_werror_flag" ||
46950 test ! -s conftest.err
46951 } && test -s conftest.
$ac_objext; then
46952 wx_cv_type_getsockopt5
=socklen_t
46954 echo "$as_me: failed program was:" >&5
46955 sed 's/^/| /' conftest.
$ac_ext >&5
46958 cat >conftest.
$ac_ext <<_ACEOF
46961 cat confdefs.h
>>conftest.
$ac_ext
46962 cat >>conftest.
$ac_ext <<_ACEOF
46963 /* end confdefs.h. */
46965 #include <sys/types.h>
46966 #include <sys/socket.h>
46973 getsockopt(0, 0, 0, 0, &len);
46979 rm -f conftest.
$ac_objext
46980 if { (ac_try
="$ac_compile"
46981 case "(($ac_try" in
46982 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46983 *) ac_try_echo=$ac_try;;
46985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46986 (eval "$ac_compile") 2>conftest.er1
46988 grep -v '^ *+' conftest.er1 >conftest.err
46990 cat conftest.err >&5
46991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46992 (exit $ac_status); } && {
46993 test -z "$ac_cxx_werror_flag" ||
46994 test ! -s conftest.err
46995 } && test -s conftest.$ac_objext; then
46996 wx_cv_type_getsockopt5=size_t
46998 echo "$as_me: failed program was:" >&5
46999 sed 's/^/| /' conftest.$ac_ext >&5
47001 cat >conftest.$ac_ext <<_ACEOF
47004 cat confdefs.h >>conftest.$ac_ext
47005 cat >>conftest.$ac_ext <<_ACEOF
47006 /* end confdefs.h. */
47008 #include <sys/types.h>
47009 #include <sys/socket.h>
47016 getsockopt(0, 0, 0, 0, &len);
47022 rm -f conftest.$ac_objext
47023 if { (ac_try="$ac_compile"
47024 case "(($ac_try" in
47025 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47026 *) ac_try_echo
=$ac_try;;
47028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47029 (eval "$ac_compile") 2>conftest.er1
47031 grep -v '^ *+' conftest.er1
>conftest.err
47033 cat conftest.err
>&5
47034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47035 (exit $ac_status); } && {
47036 test -z "$ac_cxx_werror_flag" ||
47037 test ! -s conftest.err
47038 } && test -s conftest.
$ac_objext; then
47039 wx_cv_type_getsockopt5
=int
47041 echo "$as_me: failed program was:" >&5
47042 sed 's/^/| /' conftest.
$ac_ext >&5
47044 wx_cv_type_getsockopt5
=unknown
47048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47059 ac_cpp
='$CPP $CPPFLAGS'
47060 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47061 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47062 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47066 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47067 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47069 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47071 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47072 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47074 cat >>confdefs.h
<<_ACEOF
47075 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47082 if test "$wxUSE_SOCKETS" = "yes" ; then
47083 cat >>confdefs.h
<<\_ACEOF
47084 #define wxUSE_SOCKETS 1
47087 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
47090 if test "$wxUSE_PROTOCOL" = "yes"; then
47091 if test "$wxUSE_SOCKETS" != "yes"; then
47092 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47093 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47098 if test "$wxUSE_PROTOCOL" = "yes"; then
47099 cat >>confdefs.h
<<\_ACEOF
47100 #define wxUSE_PROTOCOL 1
47104 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47105 cat >>confdefs.h
<<\_ACEOF
47106 #define wxUSE_PROTOCOL_HTTP 1
47110 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47111 cat >>confdefs.h
<<\_ACEOF
47112 #define wxUSE_PROTOCOL_FTP 1
47116 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47117 cat >>confdefs.h
<<\_ACEOF
47118 #define wxUSE_PROTOCOL_FILE 1
47123 if test "$wxUSE_FS_INET" = "yes"; then
47124 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47125 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47130 if test "$wxUSE_URL" = "yes"; then
47131 if test "$wxUSE_PROTOCOL" != "yes"; then
47132 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47133 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47136 if test "$wxUSE_URL" = "yes"; then
47137 cat >>confdefs.h
<<\_ACEOF
47138 #define wxUSE_URL 1
47144 if test "$wxUSE_VARIANT" = "yes"; then
47145 cat >>confdefs.h
<<\_ACEOF
47146 #define wxUSE_VARIANT 1
47151 if test "$wxUSE_FS_INET" = "yes"; then
47152 cat >>confdefs.h
<<\_ACEOF
47153 #define wxUSE_FS_INET 1
47159 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47162 if test "$TOOLKIT" = "MSW"; then
47165 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47166 if test "$USE_DARWIN" = 1; then
47167 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47168 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47170 ac_cpp
='$CXXCPP $CPPFLAGS'
47171 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47172 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47173 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47175 cat >conftest.
$ac_ext <<_ACEOF
47178 cat confdefs.h
>>conftest.
$ac_ext
47179 cat >>conftest.
$ac_ext <<_ACEOF
47180 /* end confdefs.h. */
47181 #include <IOKit/hid/IOHIDLib.h>
47185 IOHIDQueueInterface *qi = NULL;
47186 IOHIDCallbackFunction cb = NULL;
47187 qi->setEventCallout(NULL, cb, NULL, NULL);
47192 rm -f conftest.
$ac_objext
47193 if { (ac_try
="$ac_compile"
47194 case "(($ac_try" in
47195 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47196 *) ac_try_echo=$ac_try;;
47198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47199 (eval "$ac_compile") 2>conftest.er1
47201 grep -v '^ *+' conftest.er1 >conftest.err
47203 cat conftest.err >&5
47204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47205 (exit $ac_status); } && {
47206 test -z "$ac_cxx_werror_flag" ||
47207 test ! -s conftest.err
47208 } && test -s conftest.$ac_objext; then
47212 echo "$as_me: failed program was:" >&5
47213 sed 's/^/| /' conftest.$ac_ext >&5
47218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47220 ac_cpp='$CPP $CPPFLAGS'
47221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47225 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47226 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47230 if test "$wxUSE_MGL" != "1"; then
47232 for ac_header in linux/joystick.h
47234 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47235 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47237 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47238 echo $ECHO_N "(cached) $ECHO_C" >&6
47240 cat >conftest.$ac_ext <<_ACEOF
47243 cat confdefs.h >>conftest.$ac_ext
47244 cat >>conftest.$ac_ext <<_ACEOF
47245 /* end confdefs.h. */
47246 $ac_includes_default
47248 #include <$ac_header>
47250 rm -f conftest.$ac_objext
47251 if { (ac_try="$ac_compile"
47252 case "(($ac_try" in
47253 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47254 *) ac_try_echo
=$ac_try;;
47256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47257 (eval "$ac_compile") 2>conftest.er1
47259 grep -v '^ *+' conftest.er1
>conftest.err
47261 cat conftest.err
>&5
47262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47263 (exit $ac_status); } && {
47264 test -z "$ac_c_werror_flag" ||
47265 test ! -s conftest.err
47266 } && test -s conftest.
$ac_objext; then
47267 eval "$as_ac_Header=yes"
47269 echo "$as_me: failed program was:" >&5
47270 sed 's/^/| /' conftest.
$ac_ext >&5
47272 eval "$as_ac_Header=no"
47275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47277 ac_res
=`eval echo '${'$as_ac_Header'}'`
47278 { echo "$as_me:$LINENO: result: $ac_res" >&5
47279 echo "${ECHO_T}$ac_res" >&6; }
47280 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47281 cat >>confdefs.h
<<_ACEOF
47282 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47292 if test "$wxUSE_JOYSTICK" = "yes"; then
47293 cat >>confdefs.h
<<\_ACEOF
47294 #define wxUSE_JOYSTICK 1
47297 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
47299 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47300 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47306 if test "$wxUSE_FONTENUM" = "yes" ; then
47307 cat >>confdefs.h
<<\_ACEOF
47308 #define wxUSE_FONTENUM 1
47313 if test "$wxUSE_FONTMAP" = "yes" ; then
47314 cat >>confdefs.h
<<\_ACEOF
47315 #define wxUSE_FONTMAP 1
47320 if test "$wxUSE_UNICODE" = "yes" ; then
47321 cat >>confdefs.h
<<\_ACEOF
47322 #define wxUSE_UNICODE 1
47326 if test "$USE_WIN32" != 1; then
47327 wxUSE_UNICODE_MSLU
=no
47330 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47331 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47332 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47333 if test "${ac_cv_lib_unicows_main+set}" = set; then
47334 echo $ECHO_N "(cached) $ECHO_C" >&6
47336 ac_check_lib_save_LIBS
=$LIBS
47337 LIBS
="-lunicows $LIBS"
47338 cat >conftest.
$ac_ext <<_ACEOF
47341 cat confdefs.h
>>conftest.
$ac_ext
47342 cat >>conftest.
$ac_ext <<_ACEOF
47343 /* end confdefs.h. */
47354 rm -f conftest.
$ac_objext conftest
$ac_exeext
47355 if { (ac_try
="$ac_link"
47356 case "(($ac_try" in
47357 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47358 *) ac_try_echo=$ac_try;;
47360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47361 (eval "$ac_link") 2>conftest.er1
47363 grep -v '^ *+' conftest.er1 >conftest.err
47365 cat conftest.err >&5
47366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47367 (exit $ac_status); } && {
47368 test -z "$ac_c_werror_flag" ||
47369 test ! -s conftest.err
47370 } && test -s conftest$ac_exeext &&
47371 $as_test_x conftest$ac_exeext; then
47372 ac_cv_lib_unicows_main=yes
47374 echo "$as_me: failed program was:" >&5
47375 sed 's/^/| /' conftest.$ac_ext >&5
47377 ac_cv_lib_unicows_main=no
47380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47381 conftest$ac_exeext conftest.$ac_ext
47382 LIBS=$ac_check_lib_save_LIBS
47384 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47385 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47386 if test $ac_cv_lib_unicows_main = yes; then
47388 cat >>confdefs.h <<\_ACEOF
47389 #define wxUSE_UNICODE_MSLU 1
47395 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47396 Applications will only run on Windows NT/2000/XP!" >&5
47397 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47398 Applications will only run on Windows NT/2000/XP!" >&2;}
47399 wxUSE_UNICODE_MSLU=no
47406 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47407 cat >>confdefs.h <<\_ACEOF
47408 #define wxUSE_UNICODE_UTF8 1
47412 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47413 cat >>confdefs.h <<\_ACEOF
47414 #define wxUSE_UTF8_LOCALE_ONLY 1
47421 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47422 cat >>confdefs.h <<\_ACEOF
47423 #define wxUSE_CONSTRAINTS 1
47426 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47429 if test "$wxUSE_MDI" = "yes"; then
47430 cat >>confdefs.h <<\_ACEOF
47431 #define wxUSE_MDI 1
47435 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47436 cat >>confdefs.h <<\_ACEOF
47437 #define wxUSE_MDI_ARCHITECTURE 1
47440 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47444 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47445 cat >>confdefs.h <<\_ACEOF
47446 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47449 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47450 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47451 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47455 if test "$wxUSE_HELP" = "yes"; then
47456 cat >>confdefs.h <<\_ACEOF
47457 #define wxUSE_HELP 1
47460 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47462 if test "$wxUSE_MSW" = 1; then
47463 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47464 cat >>confdefs.h <<\_ACEOF
47465 #define wxUSE_MS_HTML_HELP 1
47471 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47472 if test "$wxUSE_HTML" = "yes"; then
47473 cat >>confdefs.h <<\_ACEOF
47474 #define wxUSE_WXHTML_HELP 1
47478 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47479 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47480 wxUSE_WXHTML_HELP=no
47485 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47486 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47487 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47488 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47490 cat >>confdefs.h <<\_ACEOF
47491 #define wxUSE_PRINTING_ARCHITECTURE 1
47495 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47498 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47499 cat >>confdefs.h <<\_ACEOF
47500 #define wxUSE_POSTSCRIPT 1
47505 cat >>confdefs.h <<\_ACEOF
47506 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47510 if test "$wxUSE_SVG" = "yes"; then
47511 cat >>confdefs.h <<\_ACEOF
47512 #define wxUSE_SVG 1
47518 if test "$wxUSE_METAFILE" = "yes"; then
47519 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47520 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47521 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47527 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47528 -o "$wxUSE_CLIPBOARD" = "yes" \
47529 -o "$wxUSE_OLE" = "yes" \
47530 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47531 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47532 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47533 if test "${ac_cv_header_ole2_h+set}" = set; then
47534 echo $ECHO_N "(cached) $ECHO_C" >&6
47536 cat >conftest.$ac_ext <<_ACEOF
47539 cat confdefs.h >>conftest.$ac_ext
47540 cat >>conftest.$ac_ext <<_ACEOF
47541 /* end confdefs.h. */
47546 rm -f conftest.$ac_objext
47547 if { (ac_try="$ac_compile"
47548 case "(($ac_try" in
47549 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47550 *) ac_try_echo
=$ac_try;;
47552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47553 (eval "$ac_compile") 2>conftest.er1
47555 grep -v '^ *+' conftest.er1
>conftest.err
47557 cat conftest.err
>&5
47558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47559 (exit $ac_status); } && {
47560 test -z "$ac_c_werror_flag" ||
47561 test ! -s conftest.err
47562 } && test -s conftest.
$ac_objext; then
47563 ac_cv_header_ole2_h
=yes
47565 echo "$as_me: failed program was:" >&5
47566 sed 's/^/| /' conftest.
$ac_ext >&5
47568 ac_cv_header_ole2_h
=no
47571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47573 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47574 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47578 if test "$ac_cv_header_ole2_h" = "yes" ; then
47579 if test "$GCC" = yes ; then
47580 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47581 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47582 cat >conftest.
$ac_ext <<_ACEOF
47585 cat confdefs.h
>>conftest.
$ac_ext
47586 cat >>conftest.
$ac_ext <<_ACEOF
47587 /* end confdefs.h. */
47588 #include <windows.h>
47598 rm -f conftest.
$ac_objext
47599 if { (ac_try
="$ac_compile"
47600 case "(($ac_try" in
47601 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47602 *) ac_try_echo=$ac_try;;
47604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47605 (eval "$ac_compile") 2>conftest.er1
47607 grep -v '^ *+' conftest.er1 >conftest.err
47609 cat conftest.err >&5
47610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47611 (exit $ac_status); } && {
47612 test -z "$ac_c_werror_flag" ||
47613 test ! -s conftest.err
47614 } && test -s conftest.$ac_objext; then
47615 { echo "$as_me:$LINENO: result: no" >&5
47616 echo "${ECHO_T}no" >&6; }
47618 echo "$as_me: failed program was:" >&5
47619 sed 's/^/| /' conftest.$ac_ext >&5
47621 { echo "$as_me:$LINENO: result: yes" >&5
47622 echo "${ECHO_T}yes" >&6; }
47623 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47627 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47628 if test "$wxUSE_OLE" = "yes" ; then
47629 cat >>confdefs.h <<\_ACEOF
47630 #define wxUSE_OLE 1
47633 cat >>confdefs.h <<\_ACEOF
47634 #define wxUSE_OLE_AUTOMATION 1
47637 cat >>confdefs.h <<\_ACEOF
47638 #define wxUSE_ACTIVEX 1
47641 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47645 if test "$wxUSE_DATAOBJ" = "yes" ; then
47646 cat >>confdefs.h <<\_ACEOF
47647 #define wxUSE_DATAOBJ 1
47652 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47653 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47656 wxUSE_DRAG_AND_DROP=no
47661 if test "$wxUSE_METAFILE" = "yes"; then
47662 cat >>confdefs.h <<\_ACEOF
47663 #define wxUSE_METAFILE 1
47667 cat >>confdefs.h <<\_ACEOF
47668 #define wxUSE_ENH_METAFILE 1
47674 if test "$wxUSE_IPC" = "yes"; then
47675 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47676 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47677 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47681 if test "$wxUSE_IPC" = "yes"; then
47682 cat >>confdefs.h <<\_ACEOF
47683 #define wxUSE_IPC 1
47686 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47690 if test "$wxUSE_DATAOBJ" = "yes"; then
47691 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47692 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47693 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47696 cat >>confdefs.h <<\_ACEOF
47697 #define wxUSE_DATAOBJ 1
47702 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47703 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47705 wxUSE_DRAG_AND_DROP=no
47708 if test "$wxUSE_CLIPBOARD" = "yes"; then
47709 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47710 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47711 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47715 if test "$wxUSE_CLIPBOARD" = "yes"; then
47716 cat >>confdefs.h <<\_ACEOF
47717 #define wxUSE_CLIPBOARD 1
47723 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47724 if test "$wxUSE_GTK" = 1; then
47725 if test "$WXGTK12" != 1; then
47726 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47727 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47728 wxUSE_DRAG_AND_DROP=no
47732 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47733 "$wxUSE_DFB" = 1; then
47734 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47735 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47736 wxUSE_DRAG_AND_DROP=no
47739 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47740 cat >>confdefs.h <<\_ACEOF
47741 #define wxUSE_DRAG_AND_DROP 1
47748 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47749 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47752 if test "$wxUSE_SPLINES" = "yes" ; then
47753 cat >>confdefs.h <<\_ACEOF
47754 #define wxUSE_SPLINES 1
47759 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47760 cat >>confdefs.h <<\_ACEOF
47761 #define wxUSE_MOUSEWHEEL 1
47768 if test "$wxUSE_CONTROLS" = "yes"; then
47772 if test "$wxUSE_ACCEL" = "yes"; then
47773 cat >>confdefs.h <<\_ACEOF
47774 #define wxUSE_ACCEL 1
47780 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47781 cat >>confdefs.h <<\_ACEOF
47782 #define wxUSE_ANIMATIONCTRL 1
47786 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47789 if test "$wxUSE_BUTTON" = "yes"; then
47790 cat >>confdefs.h <<\_ACEOF
47791 #define wxUSE_BUTTON 1
47797 if test "$wxUSE_BMPBUTTON" = "yes"; then
47798 cat >>confdefs.h <<\_ACEOF
47799 #define wxUSE_BMPBUTTON 1
47805 if test "$wxUSE_CALCTRL" = "yes"; then
47806 cat >>confdefs.h <<\_ACEOF
47807 #define wxUSE_CALENDARCTRL 1
47811 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47814 if test "$wxUSE_CARET" = "yes"; then
47815 cat >>confdefs.h <<\_ACEOF
47816 #define wxUSE_CARET 1
47820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47823 if test "$wxUSE_COLLPANE" = "yes"; then
47824 cat >>confdefs.h <<\_ACEOF
47825 #define wxUSE_COLLPANE 1
47829 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47832 if test "$wxUSE_COMBOBOX" = "yes"; then
47833 cat >>confdefs.h <<\_ACEOF
47834 #define wxUSE_COMBOBOX 1
47840 if test "$wxUSE_COMBOCTRL" = "yes"; then
47841 cat >>confdefs.h <<\_ACEOF
47842 #define wxUSE_COMBOCTRL 1
47848 if test "$wxUSE_CHOICE" = "yes"; then
47849 cat >>confdefs.h <<\_ACEOF
47850 #define wxUSE_CHOICE 1
47856 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47857 cat >>confdefs.h <<\_ACEOF
47858 #define wxUSE_CHOICEBOOK 1
47864 if test "$wxUSE_CHECKBOX" = "yes"; then
47865 cat >>confdefs.h <<\_ACEOF
47866 #define wxUSE_CHECKBOX 1
47872 if test "$wxUSE_CHECKLST" = "yes"; then
47873 cat >>confdefs.h <<\_ACEOF
47874 #define wxUSE_CHECKLISTBOX 1
47880 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47881 cat >>confdefs.h <<\_ACEOF
47882 #define wxUSE_COLOURPICKERCTRL 1
47888 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47889 cat >>confdefs.h <<\_ACEOF
47890 #define wxUSE_DATEPICKCTRL 1
47896 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47897 cat >>confdefs.h <<\_ACEOF
47898 #define wxUSE_DIRPICKERCTRL 1
47904 if test "$wxUSE_FILECTRL" = "yes"; then
47905 cat >>confdefs.h <<\_ACEOF
47906 #define wxUSE_FILECTRL 1
47912 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47913 cat >>confdefs.h <<\_ACEOF
47914 #define wxUSE_FILEPICKERCTRL 1
47920 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47921 cat >>confdefs.h <<\_ACEOF
47922 #define wxUSE_FONTPICKERCTRL 1
47928 if test "$wxUSE_DISPLAY" = "yes"; then
47929 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47930 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47931 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47934 cat >>confdefs.h <<\_ACEOF
47935 #define wxUSE_DISPLAY 1
47938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47942 if test "$wxUSE_DETECT_SM" = "yes"; then
47943 cat >>confdefs.h <<\_ACEOF
47944 #define wxUSE_DETECT_SM 1
47949 if test "$wxUSE_GAUGE" = "yes"; then
47950 cat >>confdefs.h <<\_ACEOF
47951 #define wxUSE_GAUGE 1
47957 if test "$wxUSE_GRID" = "yes"; then
47958 cat >>confdefs.h <<\_ACEOF
47959 #define wxUSE_GRID 1
47963 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47966 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47967 cat >>confdefs.h <<\_ACEOF
47968 #define wxUSE_HYPERLINKCTRL 1
47974 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47975 cat >>confdefs.h <<\_ACEOF
47976 #define wxUSE_BITMAPCOMBOBOX 1
47982 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47983 cat >>confdefs.h <<\_ACEOF
47984 #define wxUSE_DATAVIEWCTRL 1
47988 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47991 if test "$wxUSE_IMAGLIST" = "yes"; then
47992 cat >>confdefs.h <<\_ACEOF
47993 #define wxUSE_IMAGLIST 1
47998 if test "$wxUSE_LISTBOOK" = "yes"; then
47999 cat >>confdefs.h <<\_ACEOF
48000 #define wxUSE_LISTBOOK 1
48006 if test "$wxUSE_LISTBOX" = "yes"; then
48007 cat >>confdefs.h <<\_ACEOF
48008 #define wxUSE_LISTBOX 1
48014 if test "$wxUSE_LISTCTRL" = "yes"; then
48015 if test "$wxUSE_IMAGLIST" = "yes"; then
48016 cat >>confdefs.h <<\_ACEOF
48017 #define wxUSE_LISTCTRL 1
48021 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48023 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48024 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48028 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48029 cat >>confdefs.h <<\_ACEOF
48030 #define wxUSE_EDITABLELISTBOX 1
48034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48037 if test "$wxUSE_NOTEBOOK" = "yes"; then
48038 cat >>confdefs.h <<\_ACEOF
48039 #define wxUSE_NOTEBOOK 1
48043 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48046 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48047 cat >>confdefs.h <<\_ACEOF
48048 #define wxUSE_ODCOMBOBOX 1
48052 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48055 if test "$wxUSE_RADIOBOX" = "yes"; then
48056 cat >>confdefs.h <<\_ACEOF
48057 #define wxUSE_RADIOBOX 1
48063 if test "$wxUSE_RADIOBTN" = "yes"; then
48064 cat >>confdefs.h <<\_ACEOF
48065 #define wxUSE_RADIOBTN 1
48071 if test "$wxUSE_SASH" = "yes"; then
48072 cat >>confdefs.h <<\_ACEOF
48073 #define wxUSE_SASH 1
48076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48079 if test "$wxUSE_SCROLLBAR" = "yes"; then
48080 cat >>confdefs.h <<\_ACEOF
48081 #define wxUSE_SCROLLBAR 1
48085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48088 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48089 cat >>confdefs.h <<\_ACEOF
48090 #define wxUSE_SEARCHCTRL 1
48096 if test "$wxUSE_SLIDER" = "yes"; then
48097 cat >>confdefs.h <<\_ACEOF
48098 #define wxUSE_SLIDER 1
48104 if test "$wxUSE_SPINBTN" = "yes"; then
48105 cat >>confdefs.h <<\_ACEOF
48106 #define wxUSE_SPINBTN 1
48112 if test "$wxUSE_SPINCTRL" = "yes"; then
48113 cat >>confdefs.h <<\_ACEOF
48114 #define wxUSE_SPINCTRL 1
48120 if test "$wxUSE_SPLITTER" = "yes"; then
48121 cat >>confdefs.h <<\_ACEOF
48122 #define wxUSE_SPLITTER 1
48125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48128 if test "$wxUSE_STATBMP" = "yes"; then
48129 cat >>confdefs.h <<\_ACEOF
48130 #define wxUSE_STATBMP 1
48136 if test "$wxUSE_STATBOX" = "yes"; then
48137 cat >>confdefs.h <<\_ACEOF
48138 #define wxUSE_STATBOX 1
48144 if test "$wxUSE_STATTEXT" = "yes"; then
48145 cat >>confdefs.h <<\_ACEOF
48146 #define wxUSE_STATTEXT 1
48152 if test "$wxUSE_STATLINE" = "yes"; then
48153 cat >>confdefs.h <<\_ACEOF
48154 #define wxUSE_STATLINE 1
48160 if test "$wxUSE_STATUSBAR" = "yes"; then
48161 cat >>confdefs.h <<\_ACEOF
48162 #define wxUSE_NATIVE_STATUSBAR 1
48165 cat >>confdefs.h <<\_ACEOF
48166 #define wxUSE_STATUSBAR 1
48171 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48174 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48175 cat >>confdefs.h <<\_ACEOF
48176 #define wxUSE_TAB_DIALOG 1
48181 if test "$wxUSE_TEXTCTRL" = "yes"; then
48182 cat >>confdefs.h <<\_ACEOF
48183 #define wxUSE_TEXTCTRL 1
48187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48190 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48191 if test "$wxUSE_COCOA" = 1 ; then
48192 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48193 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48197 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48198 cat >>confdefs.h <<\_ACEOF
48199 #define wxUSE_TOGGLEBTN 1
48206 if test "$wxUSE_TOOLBAR" = "yes"; then
48207 cat >>confdefs.h <<\_ACEOF
48208 #define wxUSE_TOOLBAR 1
48213 if test "$wxUSE_UNIVERSAL" = "yes"; then
48214 wxUSE_TOOLBAR_NATIVE="no"
48216 wxUSE_TOOLBAR_NATIVE="yes"
48217 cat >>confdefs.h <<\_ACEOF
48218 #define wxUSE_TOOLBAR_NATIVE 1
48223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48226 if test "$wxUSE_TOOLTIPS" = "yes"; then
48227 if test "$wxUSE_MOTIF" = 1; then
48228 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48229 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48231 if test "$wxUSE_UNIVERSAL" = "yes"; then
48232 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48233 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48235 cat >>confdefs.h <<\_ACEOF
48236 #define wxUSE_TOOLTIPS 1
48243 if test "$wxUSE_TREEBOOK" = "yes"; then
48244 cat >>confdefs.h <<\_ACEOF
48245 #define wxUSE_TREEBOOK 1
48251 if test "$wxUSE_TOOLBOOK" = "yes"; then
48252 cat >>confdefs.h <<\_ACEOF
48253 #define wxUSE_TOOLBOOK 1
48259 if test "$wxUSE_TREECTRL" = "yes"; then
48260 if test "$wxUSE_IMAGLIST" = "yes"; then
48261 cat >>confdefs.h <<\_ACEOF
48262 #define wxUSE_TREECTRL 1
48266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48268 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48269 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48273 if test "$wxUSE_POPUPWIN" = "yes"; then
48274 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48275 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48276 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48278 if test "$wxUSE_PM" = 1; then
48279 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48280 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48282 cat >>confdefs.h <<\_ACEOF
48283 #define wxUSE_POPUPWIN 1
48286 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48293 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48294 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48295 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48296 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48298 cat >>confdefs.h <<\_ACEOF
48299 #define wxUSE_DIALUP_MANAGER 1
48302 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48306 if test "$wxUSE_TIPWINDOW" = "yes"; then
48307 if test "$wxUSE_PM" = 1; then
48308 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48309 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48311 cat >>confdefs.h <<\_ACEOF
48312 #define wxUSE_TIPWINDOW 1
48318 if test "$USES_CONTROLS" = 1; then
48319 cat >>confdefs.h <<\_ACEOF
48320 #define wxUSE_CONTROLS 1
48326 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48327 cat >>confdefs.h <<\_ACEOF
48328 #define wxUSE_ACCESSIBILITY 1
48331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48334 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48335 cat >>confdefs.h <<\_ACEOF
48336 #define wxUSE_DRAGIMAGE 1
48339 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48342 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48343 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48344 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48345 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48347 cat >>confdefs.h <<\_ACEOF
48348 #define wxUSE_EXCEPTIONS 1
48351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48356 if test "$wxUSE_HTML" = "yes"; then
48357 cat >>confdefs.h <<\_ACEOF
48358 #define wxUSE_HTML 1
48362 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48363 if test "$wxUSE_MAC" = 1; then
48364 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48367 if test "$wxUSE_WEBKIT" = "yes"; then
48368 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48369 old_CPPFLAGS="$CPPFLAGS"
48370 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48371 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48372 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48373 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48374 echo $ECHO_N "(cached) $ECHO_C" >&6
48376 cat >conftest.$ac_ext <<_ACEOF
48379 cat confdefs.h >>conftest.$ac_ext
48380 cat >>conftest.$ac_ext <<_ACEOF
48381 /* end confdefs.h. */
48383 #include <Carbon/Carbon.h>
48384 #include <WebKit/WebKit.h>
48387 #include <WebKit/HIWebView.h>
48389 rm -f conftest.$ac_objext
48390 if { (ac_try="$ac_compile"
48391 case "(($ac_try" in
48392 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48393 *) ac_try_echo
=$ac_try;;
48395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48396 (eval "$ac_compile") 2>conftest.er1
48398 grep -v '^ *+' conftest.er1
>conftest.err
48400 cat conftest.err
>&5
48401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48402 (exit $ac_status); } && {
48403 test -z "$ac_c_werror_flag" ||
48404 test ! -s conftest.err
48405 } && test -s conftest.
$ac_objext; then
48406 ac_cv_header_WebKit_HIWebView_h
=yes
48408 echo "$as_me: failed program was:" >&5
48409 sed 's/^/| /' conftest.
$ac_ext >&5
48411 ac_cv_header_WebKit_HIWebView_h
=no
48414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48416 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48417 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48418 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48420 cat >>confdefs.h
<<\_ACEOF
48421 #define wxUSE_WEBKIT 1
48424 WEBKIT_LINK
="-framework WebKit"
48428 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48429 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48435 CPPFLAGS
="$old_CPPFLAGS"
48436 elif test "$wxUSE_COCOA" = 1; then
48437 cat >>confdefs.h
<<\_ACEOF
48438 #define wxUSE_WEBKIT 1
48447 if test "$wxUSE_XRC" = "yes"; then
48448 if test "$wxUSE_XML" != "yes"; then
48449 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48450 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48453 cat >>confdefs.h
<<\_ACEOF
48454 #define wxUSE_XRC 1
48458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
48463 if test "$wxUSE_AUI" = "yes"; then
48464 cat >>confdefs.h
<<\_ACEOF
48465 #define wxUSE_AUI 1
48469 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
48473 if test "$wxUSE_STC" = "yes"; then
48474 cat >>confdefs.h
<<\_ACEOF
48475 #define wxUSE_STC 1
48479 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
48482 if test "$wxUSE_MENUS" = "yes"; then
48483 cat >>confdefs.h
<<\_ACEOF
48484 #define wxUSE_MENUS 1
48487 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
48490 if test "$wxUSE_METAFILE" = "yes"; then
48491 cat >>confdefs.h
<<\_ACEOF
48492 #define wxUSE_METAFILE 1
48497 if test "$wxUSE_MIMETYPE" = "yes"; then
48498 cat >>confdefs.h
<<\_ACEOF
48499 #define wxUSE_MIMETYPE 1
48504 if test "$wxUSE_MINIFRAME" = "yes"; then
48505 cat >>confdefs.h
<<\_ACEOF
48506 #define wxUSE_MINIFRAME 1
48511 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48512 cat >>confdefs.h
<<\_ACEOF
48513 #define wxUSE_SYSTEM_OPTIONS 1
48518 if test "$wxUSE_TASKBARICON" = "yes"; then
48519 cat >>confdefs.h
<<\_ACEOF
48520 #define wxUSE_TASKBARICON 1
48523 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
48527 if test "$wxUSE_VALIDATORS" = "yes"; then
48528 cat >>confdefs.h
<<\_ACEOF
48529 #define wxUSE_VALIDATORS 1
48532 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
48535 if test "$wxUSE_PALETTE" = "yes" ; then
48536 if test "$wxUSE_DFB" = 1; then
48537 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48538 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48541 cat >>confdefs.h
<<\_ACEOF
48542 #define wxUSE_PALETTE 1
48548 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48549 LIBS
=" -lunicows $LIBS"
48553 if test "$wxUSE_RICHTEXT" = "yes"; then
48554 cat >>confdefs.h
<<\_ACEOF
48555 #define wxUSE_RICHTEXT 1
48559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
48563 if test "$wxUSE_IMAGE" = "yes" ; then
48564 cat >>confdefs.h
<<\_ACEOF
48565 #define wxUSE_IMAGE 1
48569 if test "$wxUSE_GIF" = "yes" ; then
48570 cat >>confdefs.h
<<\_ACEOF
48571 #define wxUSE_GIF 1
48576 if test "$wxUSE_PCX" = "yes" ; then
48577 cat >>confdefs.h
<<\_ACEOF
48578 #define wxUSE_PCX 1
48583 if test "$wxUSE_TGA" = "yes" ; then
48584 cat >>confdefs.h
<<\_ACEOF
48585 #define wxUSE_TGA 1
48590 if test "$wxUSE_IFF" = "yes" ; then
48591 cat >>confdefs.h
<<\_ACEOF
48592 #define wxUSE_IFF 1
48597 if test "$wxUSE_PNM" = "yes" ; then
48598 cat >>confdefs.h
<<\_ACEOF
48599 #define wxUSE_PNM 1
48604 if test "$wxUSE_XPM" = "yes" ; then
48605 cat >>confdefs.h
<<\_ACEOF
48606 #define wxUSE_XPM 1
48611 if test "$wxUSE_ICO_CUR" = "yes" ; then
48612 cat >>confdefs.h
<<\_ACEOF
48613 #define wxUSE_ICO_CUR 1
48620 if test "$wxUSE_ABOUTDLG" = "yes"; then
48621 cat >>confdefs.h
<<\_ACEOF
48622 #define wxUSE_ABOUTDLG 1
48627 if test "$wxUSE_CHOICEDLG" = "yes"; then
48628 cat >>confdefs.h
<<\_ACEOF
48629 #define wxUSE_CHOICEDLG 1
48634 if test "$wxUSE_COLOURDLG" = "yes"; then
48635 cat >>confdefs.h
<<\_ACEOF
48636 #define wxUSE_COLOURDLG 1
48641 if test "$wxUSE_FILEDLG" = "yes"; then
48642 cat >>confdefs.h
<<\_ACEOF
48643 #define wxUSE_FILEDLG 1
48648 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48649 cat >>confdefs.h
<<\_ACEOF
48650 #define wxUSE_FINDREPLDLG 1
48655 if test "$wxUSE_FONTDLG" = "yes"; then
48656 cat >>confdefs.h
<<\_ACEOF
48657 #define wxUSE_FONTDLG 1
48662 if test "$wxUSE_DIRDLG" = "yes"; then
48663 if test "$wxUSE_TREECTRL" != "yes"; then
48664 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48665 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48667 cat >>confdefs.h
<<\_ACEOF
48668 #define wxUSE_DIRDLG 1
48674 if test "$wxUSE_MSGDLG" = "yes"; then
48675 cat >>confdefs.h
<<\_ACEOF
48676 #define wxUSE_MSGDLG 1
48681 if test "$wxUSE_NUMBERDLG" = "yes"; then
48682 cat >>confdefs.h
<<\_ACEOF
48683 #define wxUSE_NUMBERDLG 1
48688 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48689 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48690 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48691 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48693 cat >>confdefs.h
<<\_ACEOF
48694 #define wxUSE_PROGRESSDLG 1
48700 if test "$wxUSE_SPLASH" = "yes"; then
48701 cat >>confdefs.h
<<\_ACEOF
48702 #define wxUSE_SPLASH 1
48705 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
48708 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48709 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48710 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48711 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48713 cat >>confdefs.h
<<\_ACEOF
48714 #define wxUSE_STARTUP_TIPS 1
48720 if test "$wxUSE_TEXTDLG" = "yes"; then
48721 cat >>confdefs.h
<<\_ACEOF
48722 #define wxUSE_TEXTDLG 1
48727 if test "$wxUSE_WIZARDDLG" = "yes"; then
48728 cat >>confdefs.h
<<\_ACEOF
48729 #define wxUSE_WIZARDDLG 1
48732 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
48736 if test "$wxUSE_MSW" = 1 ; then
48738 if test "$wxUSE_DC_CACHEING" = "yes"; then
48739 cat >>confdefs.h
<<\_ACEOF
48740 #define wxUSE_DC_CACHEING 1
48745 if test "$wxUSE_DIB" = "yes"; then
48746 cat >>confdefs.h
<<\_ACEOF
48747 #define wxUSE_WXDIB 1
48752 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48753 cat >>confdefs.h
<<\_ACEOF
48754 #define wxUSE_OWNER_DRAWN 1
48759 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48760 cat >>confdefs.h
<<\_ACEOF
48761 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48766 if test "$wxUSE_UXTHEME" = "yes"; then
48767 cat >>confdefs.h
<<\_ACEOF
48768 #define wxUSE_UXTHEME 1
48776 if test "$USE_WIN32" = 1 ; then
48777 if test "$wxUSE_INICONF" = "yes"; then
48778 cat >>confdefs.h
<<\_ACEOF
48779 #define wxUSE_INICONF 1
48784 if test "$wxUSE_REGKEY" = "yes"; then
48785 cat >>confdefs.h
<<\_ACEOF
48786 #define wxUSE_REGKEY 1
48793 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48794 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48795 cat >>confdefs.h
<<\_ACEOF
48796 #define wxUSE_GRAPHICS_CONTEXT 1
48799 elif test "$wxUSE_GTK" != 1; then
48800 cat >>confdefs.h
<<\_ACEOF
48801 #define wxUSE_GRAPHICS_CONTEXT 1
48807 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48808 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48810 if test -n "$PKG_CONFIG"; then
48811 if test -n "$CAIRO_CFLAGS"; then
48812 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
48814 if test -n "$PKG_CONFIG" && \
48815 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48816 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48819 (exit $ac_status); }; then
48820 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48828 if test -n "$PKG_CONFIG"; then
48829 if test -n "$CAIRO_LIBS"; then
48830 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
48832 if test -n "$PKG_CONFIG" && \
48833 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48834 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48837 (exit $ac_status); }; then
48838 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48849 if test $pkg_failed = yes; then
48851 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48852 _pkg_short_errors_supported
=yes
48854 _pkg_short_errors_supported
=no
48856 if test $_pkg_short_errors_supported = yes; then
48857 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48859 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48861 # Put the nasty error message in config.log where it belongs
48862 echo "$CAIRO_PKG_ERRORS" >&5
48864 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48865 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48867 elif test $pkg_failed = untried
; then
48868 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48869 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48872 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
48873 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
48874 { echo "$as_me:$LINENO: result: yes" >&5
48875 echo "${ECHO_T}yes" >&6; }
48876 cat >>confdefs.h
<<\_ACEOF
48877 #define wxUSE_GRAPHICS_CONTEXT 1
48887 if test "$wxUSE_MEDIACTRL" = "yes"; then
48890 if test "$wxUSE_GTK" = 1; then
48891 wxUSE_GSTREAMER
="no"
48893 GST_VERSION_MAJOR
=0
48894 GST_VERSION_MINOR
=10
48895 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48897 if test "$wxUSE_GSTREAMER8" = "no"; then
48900 { echo "$as_me:$LINENO: checking for GST" >&5
48901 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48903 if test -n "$PKG_CONFIG"; then
48904 if test -n "$GST_CFLAGS"; then
48905 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48907 if test -n "$PKG_CONFIG" && \
48908 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48909 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48912 (exit $ac_status); }; then
48913 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48921 if test -n "$PKG_CONFIG"; then
48922 if test -n "$GST_LIBS"; then
48923 pkg_cv_GST_LIBS
="$GST_LIBS"
48925 if test -n "$PKG_CONFIG" && \
48926 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48927 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48930 (exit $ac_status); }; then
48931 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48942 if test $pkg_failed = yes; then
48944 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48945 _pkg_short_errors_supported
=yes
48947 _pkg_short_errors_supported
=no
48949 if test $_pkg_short_errors_supported = yes; then
48950 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48952 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48954 # Put the nasty error message in config.log where it belongs
48955 echo "$GST_PKG_ERRORS" >&5
48958 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48959 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48960 GST_VERSION_MINOR
=8
48963 elif test $pkg_failed = untried
; then
48965 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48966 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48967 GST_VERSION_MINOR
=8
48971 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48972 GST_LIBS
=$pkg_cv_GST_LIBS
48973 { echo "$as_me:$LINENO: result: yes" >&5
48974 echo "${ECHO_T}yes" >&6; }
48976 wxUSE_GSTREAMER
="yes"
48977 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48981 GST_VERSION_MINOR
=8
48984 if test $GST_VERSION_MINOR = "8"; then
48985 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48988 { echo "$as_me:$LINENO: checking for GST" >&5
48989 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48991 if test -n "$PKG_CONFIG"; then
48992 if test -n "$GST_CFLAGS"; then
48993 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48995 if test -n "$PKG_CONFIG" && \
48996 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48997 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49000 (exit $ac_status); }; then
49001 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49009 if test -n "$PKG_CONFIG"; then
49010 if test -n "$GST_LIBS"; then
49011 pkg_cv_GST_LIBS
="$GST_LIBS"
49013 if test -n "$PKG_CONFIG" && \
49014 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49015 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49018 (exit $ac_status); }; then
49019 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49030 if test $pkg_failed = yes; then
49032 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49033 _pkg_short_errors_supported
=yes
49035 _pkg_short_errors_supported
=no
49037 if test $_pkg_short_errors_supported = yes; then
49038 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49040 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49042 # Put the nasty error message in config.log where it belongs
49043 echo "$GST_PKG_ERRORS" >&5
49046 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49047 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49049 elif test $pkg_failed = untried
; then
49051 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49052 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49055 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
49056 GST_LIBS
=$pkg_cv_GST_LIBS
49057 { echo "$as_me:$LINENO: result: yes" >&5
49058 echo "${ECHO_T}yes" >&6; }
49059 wxUSE_GSTREAMER
="yes"
49064 if test "$wxUSE_GSTREAMER" = "yes"; then
49065 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
49066 LIBS
="$GST_LIBS $LIBS"
49068 cat >>confdefs.h
<<\_ACEOF
49069 #define wxUSE_GSTREAMER 1
49077 if test $USE_MEDIA = 1; then
49078 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
49079 cat >>confdefs.h
<<\_ACEOF
49080 #define wxUSE_MEDIACTRL 1
49087 if test "$cross_compiling" = "yes"; then
49090 OSINFO
=`uname -s -r -m`
49091 OSINFO
="\"$OSINFO\""
49094 cat >>confdefs.h
<<_ACEOF
49095 #define WXWIN_OS_DESCRIPTION $OSINFO
49100 if test "x$prefix" != "xNONE"; then
49103 wxPREFIX
=$ac_default_prefix
49106 cat >>confdefs.h
<<_ACEOF
49107 #define wxINSTALL_PREFIX "$wxPREFIX"
49113 STD_BASE_LIBS
="base"
49115 BUILT_WX_LIBS
="base"
49116 ALL_WX_LIBS
="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49118 if test "$wxUSE_SOCKETS" = "yes" ; then
49119 STD_BASE_LIBS
="net $STD_BASE_LIBS"
49120 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
49122 if test "$wxUSE_ODBC" != "no" ; then
49123 BUILT_WX_LIBS
="odbc $BUILT_WX_LIBS"
49125 if test "$wxUSE_XML" = "yes" ; then
49126 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
49127 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
49130 if test "$wxUSE_GUI" = "yes"; then
49131 STD_GUI_LIBS
="adv core"
49132 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
49134 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49135 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
49136 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
49138 if test "$wxUSE_ODBC" != "no" ; then
49139 BUILT_WX_LIBS
="dbgrid $BUILT_WX_LIBS"
49141 if test "$wxUSE_HTML" = "yes" ; then
49142 STD_GUI_LIBS
="html $STD_GUI_LIBS"
49143 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
49145 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49146 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
49148 if test "$wxUSE_OPENGL" = "yes" ; then
49149 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
49151 if test "$wxUSE_AUI" = "yes" ; then
49152 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
49154 if test "$wxUSE_STC" = "yes" ; then
49155 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
49157 if test "$wxUSE_XRC" = "yes" ; then
49158 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
49159 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
49170 if test "$wxUSE_MAC" = 1 ; then
49171 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49172 if test "$USE_DARWIN" = 1; then
49173 LDFLAGS
="$LDFLAGS -framework QuickTime"
49175 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
49178 if test "$USE_DARWIN" = 1; then
49179 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49181 LDFLAGS
="$LDFLAGS -lCarbonLib"
49184 if test "$wxUSE_COCOA" = 1 ; then
49185 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
49186 if test "$wxUSE_MEDIACTRL" = "yes"; then
49187 LDFLAGS
="$LDFLAGS -framework QuickTime"
49190 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49191 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49194 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49196 if test "$wxUSE_GUI" = "yes"; then
49199 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49200 erase event exec font image minimal mobile \
49201 mobile/wxedit mobile/styles render \
49202 shaped svg taborder vscroll widgets"
49204 if test "$wxUSE_MONOLITHIC" != "yes"; then
49205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
49207 if test "$TOOLKIT" = "MSW"; then
49208 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
49209 if test "$wxUSE_UNIVERSAL" != "yes"; then
49210 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49213 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49214 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
49217 SAMPLES_SUBDIRS
="console"
49221 if test "x$INTELCC" = "xyes" ; then
49222 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
49223 elif test "$GCC" = yes ; then
49224 CWARNINGS
="-Wall -Wundef"
49227 if test "x$INTELCXX" = "xyes" ; then
49228 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
49229 elif test "$GXX" = yes ; then
49230 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
49234 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
49235 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49238 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
49239 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49240 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49243 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49244 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49245 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49247 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49250 if test "x$MWCC" = "xyes"; then
49252 CC
="$CC -cwd source -I-"
49253 CXX
="$CXX -cwd source -I-"
49258 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49259 EXTRALIBS_XML
="$EXPAT_LINK"
49260 EXTRALIBS_HTML
="$MSPACK_LINK"
49261 EXTRALIBS_ODBC
="$ODBC_LINK"
49262 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49263 if test "$wxUSE_GUI" = "yes"; then
49264 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49266 if test "$wxUSE_OPENGL" = "yes"; then
49267 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
49270 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
49272 WXCONFIG_LIBS
="$LIBS"
49274 if test "$wxUSE_REGEX" = "builtin" ; then
49275 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49277 if test "$wxUSE_EXPAT" = "builtin" ; then
49278 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
49280 if test "$wxUSE_ODBC" = "builtin" ; then
49281 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
49283 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49284 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
49286 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49287 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
49289 if test "$wxUSE_LIBPNG" = "builtin" ; then
49290 wxconfig_3rdparty
="png $wxconfig_3rdparty"
49292 if test "$wxUSE_ZLIB" = "builtin" ; then
49293 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
49296 for i
in $wxconfig_3rdparty ; do
49297 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49301 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49304 case "$wxUNIV_THEMES" in
49306 cat >>confdefs.h
<<\_ACEOF
49307 #define wxUSE_ALL_THEMES 1
49313 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49314 cat >>confdefs.h
<<_ACEOF
49315 #define wxUSE_THEME_$t 1
49332 if test $wxUSE_MONOLITHIC = "yes" ; then
49338 if test $wxUSE_PLUGINS = "yes" ; then
49344 if test $wxUSE_ODBC != "no" ; then
49350 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49356 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49388 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49399 TOOLKIT_DESC
="GTK+"
49400 if test "$WXGTK20" = 1; then
49401 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
49402 if test "$wxUSE_GTKPRINT" = "yes" ; then
49403 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
49405 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49406 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
49408 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49409 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
49411 if test "$wxUSE_LIBHILDON" = "yes"; then
49412 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
49415 if test "$TOOLKIT_EXTRA" != ""; then
49416 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49422 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
49426 TOOLKIT_DESC
="base only"
49430 if test "$wxUSE_WINE" = "yes"; then
49431 BAKEFILE_FORCE_PLATFORM
=win32
49434 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49436 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49437 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49438 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49439 echo $ECHO_N "(cached) $ECHO_C" >&6
49442 echo '#include <stdio.h>
49443 const wchar_t test_var[] = L"awidetest";' > conftest.h
49445 echo '#include "conftest.h"
49448 printf("%ls", test_var);
49452 wx_cv_gcc_pch_bug
="pch not supported"
49454 if $CXX conftest.h
>/dev
/null
2>&1
49458 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
49460 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
49461 grep awidetest
>/dev
/null
49463 wx_cv_gcc_pch_bug
=no
49465 wx_cv_gcc_pch_bug
=yes
49470 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
49473 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49474 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49476 if test "$wx_cv_gcc_pch_bug" = yes; then
49484 if test "x$BAKEFILE_HOST" = "x"; then
49485 if test "x${host}" = "x" ; then
49486 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49487 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49488 { (exit 1); exit 1; }; }
49491 BAKEFILE_HOST
="${host}"
49494 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49496 if test -n "$ac_tool_prefix"; then
49497 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49498 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
49499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49501 if test "${ac_cv_prog_RANLIB+set}" = set; then
49502 echo $ECHO_N "(cached) $ECHO_C" >&6
49504 if test -n "$RANLIB"; then
49505 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
49507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49508 for as_dir
in $PATH
49511 test -z "$as_dir" && as_dir
=.
49512 for ac_exec_ext
in '' $ac_executable_extensions; do
49513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49514 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
49515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49524 RANLIB
=$ac_cv_prog_RANLIB
49525 if test -n "$RANLIB"; then
49526 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49527 echo "${ECHO_T}$RANLIB" >&6; }
49529 { echo "$as_me:$LINENO: result: no" >&5
49530 echo "${ECHO_T}no" >&6; }
49535 if test -z "$ac_cv_prog_RANLIB"; then
49536 ac_ct_RANLIB
=$RANLIB
49537 # Extract the first word of "ranlib", so it can be a program name with args.
49538 set dummy ranlib
; ac_word
=$2
49539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49541 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49542 echo $ECHO_N "(cached) $ECHO_C" >&6
49544 if test -n "$ac_ct_RANLIB"; then
49545 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
49547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49548 for as_dir
in $PATH
49551 test -z "$as_dir" && as_dir
=.
49552 for ac_exec_ext
in '' $ac_executable_extensions; do
49553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49554 ac_cv_prog_ac_ct_RANLIB
="ranlib"
49555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49564 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
49565 if test -n "$ac_ct_RANLIB"; then
49566 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49567 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49569 { echo "$as_me:$LINENO: result: no" >&5
49570 echo "${ECHO_T}no" >&6; }
49573 if test "x$ac_ct_RANLIB" = x
; then
49576 case $cross_compiling:$ac_tool_warned in
49578 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49579 whose name does not start with the host triplet. If you think this
49580 configuration is useful to you, please write to autoconf@gnu.org." >&5
49581 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49582 whose name does not start with the host triplet. If you think this
49583 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49584 ac_tool_warned
=yes ;;
49586 RANLIB
=$ac_ct_RANLIB
49589 RANLIB
="$ac_cv_prog_RANLIB"
49592 # Find a good install program. We prefer a C program (faster),
49593 # so one script is as good as another. But avoid the broken or
49594 # incompatible versions:
49595 # SysV /etc/install, /usr/sbin/install
49596 # SunOS /usr/etc/install
49597 # IRIX /sbin/install
49599 # AmigaOS /C/install, which installs bootblocks on floppy discs
49600 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49601 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49602 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49603 # OS/2's system install, which has a completely different semantic
49604 # ./install, which can be erroneously created by make from ./install.sh.
49605 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49606 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49607 if test -z "$INSTALL"; then
49608 if test "${ac_cv_path_install+set}" = set; then
49609 echo $ECHO_N "(cached) $ECHO_C" >&6
49611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49612 for as_dir
in $PATH
49615 test -z "$as_dir" && as_dir
=.
49616 # Account for people who put trailing slashes in PATH elements.
49618 .
/ | .
// | /cC
/* | \
49619 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
49620 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
49623 # OSF1 and SCO ODT 3.0 have their own names for install.
49624 # Don't use installbsd from OSF since it installs stuff as root
49626 for ac_prog
in ginstall scoinst
install; do
49627 for ac_exec_ext
in '' $ac_executable_extensions; do
49628 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49629 if test $ac_prog = install &&
49630 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49631 # AIX install. It has an incompatible calling convention.
49633 elif test $ac_prog = install &&
49634 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49635 # program-specific install script used by HP pwplus--don't use.
49638 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
49651 if test "${ac_cv_path_install+set}" = set; then
49652 INSTALL
=$ac_cv_path_install
49654 # As a last resort, use the slow shell script. Don't cache a
49655 # value for INSTALL within a source directory, because that will
49656 # break other packages using the cache if that directory is
49657 # removed, or if the value is a relative name.
49658 INSTALL
=$ac_install_sh
49661 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49662 echo "${ECHO_T}$INSTALL" >&6; }
49664 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49665 # It thinks the first close brace ends the variable substitution.
49666 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
49668 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
49670 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
49672 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49673 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49675 if test "$LN_S" = "ln -s"; then
49676 { echo "$as_me:$LINENO: result: yes" >&5
49677 echo "${ECHO_T}yes" >&6; }
49679 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49680 echo "${ECHO_T}no, using $LN_S" >&6; }
49684 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49685 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49686 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49687 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49688 echo $ECHO_N "(cached) $ECHO_C" >&6
49690 cat >conftest.
make <<\_ACEOF
49693 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49695 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49696 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49697 *@@@
%%%=?
*=@@@
%%%*)
49698 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49700 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49702 rm -f conftest.
make
49704 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49705 { echo "$as_me:$LINENO: result: yes" >&5
49706 echo "${ECHO_T}yes" >&6; }
49709 { echo "$as_me:$LINENO: result: no" >&5
49710 echo "${ECHO_T}no" >&6; }
49711 SET_MAKE
="MAKE=${MAKE-make}"
49716 if test "x$SUNCXX" = "xyes"; then
49718 AROPTIONS
="-xar -o"
49720 elif test "x$SGICC" = "xyes"; then
49725 if test -n "$ac_tool_prefix"; then
49726 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49727 set dummy
${ac_tool_prefix}ar; ac_word
=$2
49728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49730 if test "${ac_cv_prog_AR+set}" = set; then
49731 echo $ECHO_N "(cached) $ECHO_C" >&6
49733 if test -n "$AR"; then
49734 ac_cv_prog_AR
="$AR" # Let the user override the test.
49736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49737 for as_dir
in $PATH
49740 test -z "$as_dir" && as_dir
=.
49741 for ac_exec_ext
in '' $ac_executable_extensions; do
49742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49743 ac_cv_prog_AR
="${ac_tool_prefix}ar"
49744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49754 if test -n "$AR"; then
49755 { echo "$as_me:$LINENO: result: $AR" >&5
49756 echo "${ECHO_T}$AR" >&6; }
49758 { echo "$as_me:$LINENO: result: no" >&5
49759 echo "${ECHO_T}no" >&6; }
49764 if test -z "$ac_cv_prog_AR"; then
49766 # Extract the first word of "ar", so it can be a program name with args.
49767 set dummy
ar; ac_word
=$2
49768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49770 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49771 echo $ECHO_N "(cached) $ECHO_C" >&6
49773 if test -n "$ac_ct_AR"; then
49774 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
49776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49777 for as_dir
in $PATH
49780 test -z "$as_dir" && as_dir
=.
49781 for ac_exec_ext
in '' $ac_executable_extensions; do
49782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49783 ac_cv_prog_ac_ct_AR
="ar"
49784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49793 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
49794 if test -n "$ac_ct_AR"; then
49795 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49796 echo "${ECHO_T}$ac_ct_AR" >&6; }
49798 { echo "$as_me:$LINENO: result: no" >&5
49799 echo "${ECHO_T}no" >&6; }
49802 if test "x$ac_ct_AR" = x
; then
49805 case $cross_compiling:$ac_tool_warned in
49807 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49808 whose name does not start with the host triplet. If you think this
49809 configuration is useful to you, please write to autoconf@gnu.org." >&5
49810 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49811 whose name does not start with the host triplet. If you think this
49812 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49813 ac_tool_warned
=yes ;;
49818 AR
="$ac_cv_prog_AR"
49825 if test -n "$ac_tool_prefix"; then
49826 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49827 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
49828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49830 if test "${ac_cv_prog_STRIP+set}" = set; then
49831 echo $ECHO_N "(cached) $ECHO_C" >&6
49833 if test -n "$STRIP"; then
49834 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
49836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49837 for as_dir
in $PATH
49840 test -z "$as_dir" && as_dir
=.
49841 for ac_exec_ext
in '' $ac_executable_extensions; do
49842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49843 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
49844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49853 STRIP
=$ac_cv_prog_STRIP
49854 if test -n "$STRIP"; then
49855 { echo "$as_me:$LINENO: result: $STRIP" >&5
49856 echo "${ECHO_T}$STRIP" >&6; }
49858 { echo "$as_me:$LINENO: result: no" >&5
49859 echo "${ECHO_T}no" >&6; }
49864 if test -z "$ac_cv_prog_STRIP"; then
49866 # Extract the first word of "strip", so it can be a program name with args.
49867 set dummy strip
; ac_word
=$2
49868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49870 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49871 echo $ECHO_N "(cached) $ECHO_C" >&6
49873 if test -n "$ac_ct_STRIP"; then
49874 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
49876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49877 for as_dir
in $PATH
49880 test -z "$as_dir" && as_dir
=.
49881 for ac_exec_ext
in '' $ac_executable_extensions; do
49882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49883 ac_cv_prog_ac_ct_STRIP
="strip"
49884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49893 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
49894 if test -n "$ac_ct_STRIP"; then
49895 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49896 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49898 { echo "$as_me:$LINENO: result: no" >&5
49899 echo "${ECHO_T}no" >&6; }
49902 if test "x$ac_ct_STRIP" = x
; then
49905 case $cross_compiling:$ac_tool_warned in
49907 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49908 whose name does not start with the host triplet. If you think this
49909 configuration is useful to you, please write to autoconf@gnu.org." >&5
49910 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49911 whose name does not start with the host triplet. If you think this
49912 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49913 ac_tool_warned
=yes ;;
49918 STRIP
="$ac_cv_prog_STRIP"
49921 if test -n "$ac_tool_prefix"; then
49922 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49923 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
49924 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49926 if test "${ac_cv_prog_NM+set}" = set; then
49927 echo $ECHO_N "(cached) $ECHO_C" >&6
49929 if test -n "$NM"; then
49930 ac_cv_prog_NM
="$NM" # Let the user override the test.
49932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49933 for as_dir
in $PATH
49936 test -z "$as_dir" && as_dir
=.
49937 for ac_exec_ext
in '' $ac_executable_extensions; do
49938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49939 ac_cv_prog_NM
="${ac_tool_prefix}nm"
49940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49950 if test -n "$NM"; then
49951 { echo "$as_me:$LINENO: result: $NM" >&5
49952 echo "${ECHO_T}$NM" >&6; }
49954 { echo "$as_me:$LINENO: result: no" >&5
49955 echo "${ECHO_T}no" >&6; }
49960 if test -z "$ac_cv_prog_NM"; then
49962 # Extract the first word of "nm", so it can be a program name with args.
49963 set dummy nm
; ac_word
=$2
49964 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49966 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49967 echo $ECHO_N "(cached) $ECHO_C" >&6
49969 if test -n "$ac_ct_NM"; then
49970 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
49972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49973 for as_dir
in $PATH
49976 test -z "$as_dir" && as_dir
=.
49977 for ac_exec_ext
in '' $ac_executable_extensions; do
49978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49979 ac_cv_prog_ac_ct_NM
="nm"
49980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49989 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
49990 if test -n "$ac_ct_NM"; then
49991 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49992 echo "${ECHO_T}$ac_ct_NM" >&6; }
49994 { echo "$as_me:$LINENO: result: no" >&5
49995 echo "${ECHO_T}no" >&6; }
49998 if test "x$ac_ct_NM" = x
; then
50001 case $cross_compiling:$ac_tool_warned in
50003 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50004 whose name does not start with the host triplet. If you think this
50005 configuration is useful to you, please write to autoconf@gnu.org." >&5
50006 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50007 whose name does not start with the host triplet. If you think this
50008 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50009 ac_tool_warned
=yes ;;
50014 NM
="$ac_cv_prog_NM"
50018 case ${BAKEFILE_HOST} in
50020 INSTALL_DIR
="mkdir -p"
50023 INSTALL_DIR
='$(INSTALL) -d'
50029 case ${BAKEFILE_HOST} in
50030 *-*-cygwin* | *-*-mingw32* )
50031 LDFLAGS_GUI
="-mwindows"
50037 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50038 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50039 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50040 echo $ECHO_N "(cached) $ECHO_C" >&6
50043 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
50044 egrep -s GNU
> /dev
/null
); then
50045 bakefile_cv_prog_makeisgnu
="yes"
50047 bakefile_cv_prog_makeisgnu
="no"
50051 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50052 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50054 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50071 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50072 case "${BAKEFILE_HOST}" in
50079 *-pc-os2_emx | *-pc-os2-emx )
50089 powerpc
-apple-macos* )
50098 case "$BAKEFILE_FORCE_PLATFORM" in
50133 # Check whether --enable-omf was given.
50134 if test "${enable_omf+set}" = set; then
50135 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
50139 case "${BAKEFILE_HOST}" in
50141 if test "x$GCC" = "xyes"; then
50142 CFLAGS
="$CFLAGS -fno-common"
50143 CXXFLAGS
="$CXXFLAGS -fno-common"
50145 if test "x$XLCC" = "xyes"; then
50146 CFLAGS
="$CFLAGS -qnocommon"
50147 CXXFLAGS
="$CXXFLAGS -qnocommon"
50151 *-pc-os2_emx | *-pc-os2-emx )
50152 if test "x$bk_os2_use_omf" = "xyes" ; then
50155 LDFLAGS
="-Zomf $LDFLAGS"
50156 CFLAGS
="-Zomf $CFLAGS"
50157 CXXFLAGS
="-Zomf $CXXFLAGS"
50165 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
50171 SO_SUFFIX_MODULE
="so"
50176 DLLPREFIX_MODULE
=""
50180 case "${BAKEFILE_HOST}" in
50183 SO_SUFFIX_MODULE
="sl"
50187 SO_SUFFIX_MODULE
="a"
50191 SO_SUFFIX_MODULE
="dll"
50192 DLLIMP_SUFFIX
="dll.a"
50199 SO_SUFFIX_MODULE
="dll"
50200 DLLIMP_SUFFIX
="dll.a"
50210 *-pc-os2_emx | *-pc-os2-emx )
50212 SO_SUFFIX_MODULE
="dll"
50213 DLLIMP_SUFFIX
=$OS2_LIBEXT
50217 LIBEXT
=".$OS2_LIBEXT"
50222 SO_SUFFIX_MODULE
="bundle"
50226 if test "x$DLLIMP_SUFFIX" = "x" ; then
50227 DLLIMP_SUFFIX
="$SO_SUFFIX"
50242 if test "x$GCC" = "xyes"; then
50246 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
50247 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
50250 case "${BAKEFILE_HOST}" in
50252 if test "x$GCC" != "xyes"; then
50253 LDFLAGS
="$LDFLAGS -L/usr/lib"
50255 SHARED_LD_CC
="${CC} -b -o"
50256 SHARED_LD_CXX
="${CXX} -b -o"
50262 if test "$INTELCC" = "yes"; then
50264 elif test "x$SUNCXX" = "xyes"; then
50265 SHARED_LD_CC
="${CC} -G -o"
50266 SHARED_LD_CXX
="${CXX} -G -o"
50272 if test "x$SUNCXX" = xyes
; then
50273 SHARED_LD_CC
="${CC} -G -o"
50274 SHARED_LD_CXX
="${CXX} -G -o"
50282 cat <<EOF >shared-ld-sh
50284 #-----------------------------------------------------------------------------
50285 #-- Name: distrib/mac/shared-ld-sh
50286 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50287 #-- Author: Gilles Depeyrot
50288 #-- Copyright: (c) 2002 Gilles Depeyrot
50289 #-- Licence: any use permitted
50290 #-----------------------------------------------------------------------------
50295 linking_flag="-dynamiclib"
50296 ldargs="-r -keep_private_externs -nostdlib"
50298 while test ${D}# -gt 0; do
50305 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50306 # collect these options and values
50307 args="${D}{args} ${D}1 ${D}2"
50312 # collect these load args
50313 ldargs="${D}{ldargs} ${D}1"
50316 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50317 # collect these options
50318 args="${D}{args} ${D}1"
50321 -dynamiclib|-bundle)
50322 linking_flag="${D}1"
50326 echo "shared-ld: unhandled option '${D}1'"
50330 *.o | *.a | *.dylib)
50331 # collect object files
50332 objects="${D}{objects} ${D}1"
50336 echo "shared-ld: unhandled argument '${D}1'"
50347 # Link one module containing all the others
50349 if test ${D}{verbose} = 1; then
50350 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50352 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50356 # Link the shared library from the single module created, but only if the
50357 # previous command didn't fail:
50359 if test ${D}{status} = 0; then
50360 if test ${D}{verbose} = 1; then
50361 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50363 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50368 # Remove intermediate module
50370 rm -f master.${D}${D}.o
50375 chmod +x shared
-ld-sh
50377 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50378 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
50381 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50382 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50383 if test "${bakefile_cv_gcc31+set}" = set; then
50384 echo $ECHO_N "(cached) $ECHO_C" >&6
50387 cat >conftest.
$ac_ext <<_ACEOF
50390 cat confdefs.h
>>conftest.
$ac_ext
50391 cat >>conftest.
$ac_ext <<_ACEOF
50392 /* end confdefs.h. */
50398 #if (__GNUC__ < 3) || \
50399 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50407 rm -f conftest.
$ac_objext
50408 if { (ac_try
="$ac_compile"
50409 case "(($ac_try" in
50410 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50411 *) ac_try_echo=$ac_try;;
50413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50414 (eval "$ac_compile") 2>conftest.er1
50416 grep -v '^ *+' conftest.er1 >conftest.err
50418 cat conftest.err >&5
50419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50420 (exit $ac_status); } && {
50421 test -z "$ac_c_werror_flag" ||
50422 test ! -s conftest.err
50423 } && test -s conftest.$ac_objext; then
50425 bakefile_cv_gcc31=yes
50428 echo "$as_me: failed program was:" >&5
50429 sed 's/^/| /' conftest.$ac_ext >&5
50432 bakefile_cv_gcc31=no
50437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50440 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50441 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50442 if test "$bakefile_cv_gcc31" = "no"; then
50443 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50444 SHARED_LD_CXX="$SHARED_LD_CC"
50446 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50447 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50450 if test "x$GCC" == "xyes"; then
50451 PIC_FLAG="-dynamic -fPIC"
50453 if test "x$XLCC" = "xyes"; then
50454 PIC_FLAG="-dynamic -DPIC"
50459 if test "x$GCC" = "xyes"; then
50462 case "${BAKEFILE_HOST}" in
50464 LD_EXPFULL="-Wl,-bexpfull"
50468 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50469 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50471 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50472 set dummy makeC++SharedLib; ac_word=$2
50473 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50475 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50476 echo $ECHO_N "(cached) $ECHO_C" >&6
50478 if test -n "$AIX_CXX_LD"; then
50479 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50482 for as_dir in $PATH
50485 test -z "$as_dir" && as_dir=.
50486 for ac_exec_ext in '' $ac_executable_extensions; do
50487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50488 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50496 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50499 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50500 if test -n "$AIX_CXX_LD"; then
50501 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50502 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50504 { echo "$as_me:$LINENO: result: no" >&5
50505 echo "${ECHO_T}no" >&6; }
50509 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50510 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50515 SHARED_LD_CC="${LD} -nostart -o"
50516 SHARED_LD_CXX="${LD} -nostart -o"
50520 if test "x$GCC" != "xyes"; then
50525 *-*-cygwin* | *-*-mingw32* )
50527 SHARED_LD_CC="\$(CC) -shared -o"
50528 SHARED_LD_CXX="\$(CXX) -shared -o"
50532 *-pc-os2_emx | *-pc-os2-emx )
50533 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50534 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50538 cat <<EOF >dllar.sh
50541 # dllar - a tool to build both a .dll and an .a file
50542 # from a set of object (.o) files for EMX/OS2.
50544 # Written by Andrew Zabolotny, bit@freya.etu.ru
50545 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50547 # This script will accept a set of files on the command line.
50548 # All the public symbols from the .o files will be exported into
50549 # a .DEF file, then linker will be run (through gcc) against them to
50550 # build a shared library consisting of all given .o files. All libraries
50551 # (.a) will be first decompressed into component .o files then act as
50552 # described above. You can optionally give a description (-d "description")
50553 # which will be put into .DLL. To see the list of accepted options (as well
50554 # as command-line format) simply run this program without options. The .DLL
50555 # is built to be imported by name (there is no guarantee that new versions
50556 # of the library you build will have same ordinals for same symbols).
50558 # dllar is free software; you can redistribute it and/or modify
50559 # it under the terms of the GNU General Public License as published by
50560 # the Free Software Foundation; either version 2, or (at your option)
50561 # any later version.
50563 # dllar is distributed in the hope that it will be useful,
50564 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50565 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50566 # GNU General Public License for more details.
50568 # You should have received a copy of the GNU General Public License
50569 # along with dllar; see the file COPYING. If not, write to the Free
50570 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50573 # To successfuly run this program you will need:
50574 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50575 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50577 # (used to build the .dll)
50579 # (used to create .def file from .o files)
50581 # (used to create .a file from .def file)
50582 # - GNU text utilites (cat, sort, uniq)
50583 # used to process emxexp output
50584 # - GNU file utilities (mv, rm)
50586 # - lxlite (optional, see flag below)
50587 # (used for general .dll cleanup)
50594 # basnam, variant of basename, which does _not_ remove the path, _iff_
50595 # second argument (suffix to remove) is given
50599 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50602 echo ${D}1 | sed 's/'${D}2'${D}//'
50605 echo "error in basnam ${D}*"
50611 # Cleanup temporary files and output
50614 for i in ${D}inputFiles ; do
50617 rm -rf \`basnam
${D}i
!\
`
50624 # Kill result in case of failure as there is just to many stupid make/nmake
50625 # things out there which doesn't do this.
50626 if [ ${D}# -eq 0 ]; then
50627 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50631 # Print usage and exit script with rc=1.
50633 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50634 echo ' [-name-mangler-script script.sh]'
50635 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50636 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50637 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50638 echo ' [*.o] [*.a]'
50639 echo '*> "output_file" should have no extension.'
50640 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50641 echo ' The import library name is derived from this and is set to "name".a,'
50642 echo ' unless overridden by -import'
50643 echo '*> "importlib_name" should have no extension.'
50644 echo ' If it has the .o, or .a extension, it is automatically removed.'
50645 echo ' This name is used as the import library name and may be longer and'
50646 echo ' more descriptive than the DLL name which has to follow the old '
50647 echo ' 8.3 convention of FAT.'
50648 echo '*> "script.sh may be given to override the output_file name by a'
50649 echo ' different name. It is mainly useful if the regular make process'
50650 echo ' of some package does not take into account OS/2 restriction of'
50651 echo ' DLL name lengths. It takes the importlib name as input and is'
50652 echo ' supposed to procude a shorter name as output. The script should'
50653 echo ' expect to get importlib_name without extension and should produce'
50654 echo ' a (max.) 8 letter name without extension.'
50655 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50656 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50657 echo ' These flags will be put at the start of GCC command line.'
50658 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50659 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50660 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50661 echo ' If the last character of a symbol is "*", all symbols beginning'
50662 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50663 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50664 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50665 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50666 echo ' C runtime DLLs.'
50667 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50668 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50669 echo ' unchanged to GCC at the end of command line.'
50670 echo '*> If you create a DLL from a library and you do not specify -o,'
50671 echo ' the basename for DLL and import library will be set to library name,'
50672 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50673 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50674 echo ' library will be renamed into gcc_s.a.'
50677 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50678 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50683 # Execute a command.
50684 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50685 # @Uses Whatever CleanUp() uses.
50691 if [ ${D}rcCmd -ne 0 ]; then
50692 echo "command failed, exit code="${D}rcCmd
50707 CFLAGS="-s -Zcrtdll"
50709 EXPORT_BY_ORDINALS=0
50714 case ${D}curDirS in
50718 curDirS=${D}{curDirS}"/"
50721 # Parse commandline
50724 while [ ${D}1 ]; do
50727 EXPORT_BY_ORDINALS=1;
50737 -name-mangler-script)
50758 exclude_symbols=${D}{exclude_symbols}${D}1" "
50762 library_flags=${D}{library_flags}${D}1" "
50781 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50784 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
50785 if [ ${D}omfLinking -eq 1 ]; then
50786 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50788 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50793 if [ ${D}libsToLink -ne 0 ]; then
50794 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50796 for file in ${D}1 ; do
50797 if [ -f ${D}file ]; then
50798 inputFiles="${D}{inputFiles} ${D}file"
50802 if [ ${D}found -eq 0 ]; then
50803 echo "ERROR: No file(s) found: "${D}1
50810 done # iterate cmdline words
50813 if [ -z "${D}inputFiles" ]; then
50814 echo "dllar: no input files"
50818 # Now extract all .o files from .a files
50820 for file in ${D}inputFiles ; do
50831 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50836 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
50838 if [ ${D}? -ne 0 ]; then
50839 echo "Failed to create subdirectory ./${D}dirname"
50843 # Append '!' to indicate archive
50844 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50845 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50848 for subfile in ${D}dirname/*.o* ; do
50849 if [ -f ${D}subfile ]; then
50851 if [ -s ${D}subfile ]; then
50852 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50853 newInputFiles="${D}newInputFiles ${D}subfile"
50857 if [ ${D}found -eq 0 ]; then
50858 echo "WARNING: there are no files in archive \\'${D}file\\'"
50862 newInputFiles="${D}{newInputFiles} ${D}file"
50866 inputFiles="${D}newInputFiles"
50868 # Output filename(s).
50870 if [ -z ${D}outFile ]; then
50872 set outFile ${D}inputFiles; outFile=${D}2
50875 # If it is an archive, remove the '!' and the '_%' suffixes
50876 case ${D}outFile in
50878 outFile=\`basnam
${D}outFile _
%!\
`
50883 case ${D}outFile in
50885 outFile=\`basnam
${D}outFile .dll\
`
50888 outFile=\`basnam
${D}outFile .DLL\
`
50891 outFile=\`basnam
${D}outFile .o\
`
50894 outFile=\`basnam
${D}outFile .obj\
`
50897 outFile=\`basnam
${D}outFile .a\
`
50900 outFile=\`basnam
${D}outFile .lib\
`
50905 case ${D}outimpFile in
50907 outimpFile=\`basnam
${D}outimpFile .a\
`
50910 outimpFile=\`basnam
${D}outimpFile .lib\
`
50915 if [ -z ${D}outimpFile ]; then
50916 outimpFile=${D}outFile
50918 defFile="${D}{outFile}.def"
50919 arcFile="${D}{outimpFile}.a"
50920 arcFile2="${D}{outimpFile}.lib"
50922 #create ${D}dllFile as something matching 8.3 restrictions,
50923 if [ -z ${D}renameScript ] ; then
50924 dllFile="${D}outFile"
50926 dllFile=\`${D}renameScript
${D}outimpFile\
`
50929 if [ ${D}do_backup -ne 0 ] ; then
50930 if [ -f ${D}arcFile ] ; then
50931 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50933 if [ -f ${D}arcFile2 ] ; then
50934 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50938 # Extract public symbols from all the object files.
50939 tmpdefFile=${D}{defFile}_%
50940 rm -f ${D}tmpdefFile
50941 for file in ${D}inputFiles ; do
50946 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50951 # Create the def file.
50953 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
50954 dllFile="${D}{dllFile}.dll"
50955 if [ ! -z ${D}description ]; then
50956 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50958 echo "EXPORTS" >> ${D}defFile
50960 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50961 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50963 # Checks if the export is ok or not.
50964 for word in ${D}exclude_symbols; do
50965 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50966 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50970 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50971 sed "=" < ${D}tmpdefFile | \\
50975 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50977 ' > ${D}{tmpdefFile}%
50978 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50980 rm -f ${D}{tmpdefFile}%
50982 cat ${D}tmpdefFile >> ${D}defFile
50983 rm -f ${D}tmpdefFile
50985 # Do linking, create implib, and apply lxlite.
50987 for file in ${D}inputFiles ; do
50992 gccCmdl="${D}gccCmdl ${D}file"
50996 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50997 touch "${D}{outFile}.dll"
50999 doCommand "emximp -o ${D}arcFile ${D}defFile"
51000 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51002 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51005 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51007 doCommand "emxomf -s -l ${D}arcFile"
51017 powerpc-apple-macos* | \
51018 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51028 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51029 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51030 { (exit 1); exit 1; }; }
51033 if test "x$PIC_FLAG" != "x" ; then
51034 PIC_FLAG="$PIC_FLAG -DPIC"
51037 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51038 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51040 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51041 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51060 case "${BAKEFILE_HOST}" in
51061 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51062 if test "x$SUNCXX" = "xyes"; then
51065 SONAME_FLAG="-Wl,-soname,"
51100 # Check whether --enable-dependency-tracking was given.
51101 if test "${enable_dependency_tracking+set}" = set; then
51102 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51106 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51107 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51110 if test "x$bk_use_trackdeps" = "xno" ; then
51112 { echo "$as_me:$LINENO: result: disabled" >&5
51113 echo "${ECHO_T}disabled" >&6; }
51117 if test "x$GCC" = "xyes"; then
51119 case "${BAKEFILE_HOST}" in
51121 DEPSFLAG="-no-cpp-precomp -MMD"
51127 { echo "$as_me:$LINENO: result: gcc" >&5
51128 echo "${ECHO_T}gcc" >&6; }
51129 elif test "x$MWCC" = "xyes"; then
51132 { echo "$as_me:$LINENO: result: mwcc" >&5
51133 echo "${ECHO_T}mwcc" >&6; }
51134 elif test "x$SUNCC" = "xyes"; then
51137 { echo "$as_me:$LINENO: result: Sun cc" >&5
51138 echo "${ECHO_T}Sun cc" >&6; }
51139 elif test "x$SGICC" = "xyes"; then
51142 { echo "$as_me:$LINENO: result: SGI cc" >&5
51143 echo "${ECHO_T}SGI cc" >&6; }
51144 elif test "x$HPCC" = "xyes"; then
51147 { echo "$as_me:$LINENO: result: HP cc" >&5
51148 echo "${ECHO_T}HP cc" >&6; }
51149 elif test "x$COMPAQCC" = "xyes"; then
51152 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51153 echo "${ECHO_T}Compaq cc" >&6; }
51156 { echo "$as_me:$LINENO: result: none" >&5
51157 echo "${ECHO_T}none" >&6; }
51160 if test $DEPS_TRACKING = 1 ; then
51166 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51167 # script. It is used to track C/C++ files dependencies in portable way.
51169 # Permission is given to use this file in any way.
51171 DEPSMODE=${DEPSMODE}
51173 DEPSFLAG="${DEPSFLAG}"
51175 mkdir -p ${D}DEPSDIR
51177 if test ${D}DEPSMODE = gcc ; then
51178 ${D}* ${D}{DEPSFLAG}
51180 if test ${D}{status} != 0 ; then
51183 # move created file to the location we want it in:
51184 while test ${D}# -gt 0; do
51198 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
51199 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
51200 if test -f ${D}depfile ; then
51201 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51204 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51205 depfile=\`basename ${D}objfile
| sed -e 's/\\..*${D}/.d/g'\
`
51206 if test ! -f ${D}depfile ; then
51207 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51208 depfile="${D}objfile.d"
51210 if test -f ${D}depfile ; then
51211 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51216 elif test ${D}DEPSMODE = mwcc ; then
51217 ${D}* || exit ${D}?
51218 # Run mwcc again with -MM and redirect into the dep file we want
51219 # NOTE: We can't use shift here because we need ${D}* to be valid
51221 for arg in ${D}* ; do
51222 if test "${D}prevarg" = "-o"; then
51235 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51237 elif test ${D}DEPSMODE = unixcc; then
51238 ${D}* || exit ${D}?
51239 # Run compiler again with deps flag and redirect into the dep file.
51240 # It doesn't work if the '-o FILE' option is used, but without it the
51241 # dependency file will contain the wrong name for the object. So it is
51242 # removed from the command line, and the dep file is fixed with sed.
51244 while test ${D}# -gt 0; do
51251 eval arg${D}#=\\${D}1
51252 cmd="${D}cmd \\${D}arg${D}#"
51257 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51266 BK_DEPS="`pwd`/bk-deps"
51274 case ${BAKEFILE_HOST} in
51275 *-*-cygwin* | *-*-mingw32* )
51276 if test -n "$ac_tool_prefix"; then
51277 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51278 set dummy ${ac_tool_prefix}windres; ac_word=$2
51279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51281 if test "${ac_cv_prog_WINDRES+set}" = set; then
51282 echo $ECHO_N "(cached) $ECHO_C" >&6
51284 if test -n "$WINDRES"; then
51285 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51288 for as_dir in $PATH
51291 test -z "$as_dir" && as_dir=.
51292 for ac_exec_ext in '' $ac_executable_extensions; do
51293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51294 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51304 WINDRES=$ac_cv_prog_WINDRES
51305 if test -n "$WINDRES"; then
51306 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51307 echo "${ECHO_T}$WINDRES" >&6; }
51309 { echo "$as_me:$LINENO: result: no" >&5
51310 echo "${ECHO_T}no" >&6; }
51315 if test -z "$ac_cv_prog_WINDRES"; then
51316 ac_ct_WINDRES=$WINDRES
51317 # Extract the first word of "windres", so it can be a program name with args.
51318 set dummy windres; ac_word=$2
51319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51321 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51322 echo $ECHO_N "(cached) $ECHO_C" >&6
51324 if test -n "$ac_ct_WINDRES"; then
51325 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51328 for as_dir in $PATH
51331 test -z "$as_dir" && as_dir=.
51332 for ac_exec_ext in '' $ac_executable_extensions; do
51333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51334 ac_cv_prog_ac_ct_WINDRES="windres"
51335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51344 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51345 if test -n "$ac_ct_WINDRES"; then
51346 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51347 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51349 { echo "$as_me:$LINENO: result: no" >&5
51350 echo "${ECHO_T}no" >&6; }
51353 if test "x$ac_ct_WINDRES" = x; then
51356 case $cross_compiling:$ac_tool_warned in
51358 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51359 whose name does not start with the host triplet. If you think this
51360 configuration is useful to you, please write to autoconf@gnu.org." >&5
51361 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51362 whose name does not start with the host triplet. If you think this
51363 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51364 ac_tool_warned=yes ;;
51366 WINDRES=$ac_ct_WINDRES
51369 WINDRES="$ac_cv_prog_WINDRES"
51374 *-*-darwin* | powerpc-apple-macos* )
51375 # Extract the first word of "Rez", so it can be a program name with args.
51376 set dummy Rez; ac_word=$2
51377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51379 if test "${ac_cv_prog_REZ+set}" = set; then
51380 echo $ECHO_N "(cached) $ECHO_C" >&6
51382 if test -n "$REZ"; then
51383 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51386 for as_dir in $PATH
51389 test -z "$as_dir" && as_dir=.
51390 for ac_exec_ext in '' $ac_executable_extensions; do
51391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51392 ac_cv_prog_REZ="Rez"
51393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51400 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51403 REZ=$ac_cv_prog_REZ
51404 if test -n "$REZ"; then
51405 { echo "$as_me:$LINENO: result: $REZ" >&5
51406 echo "${ECHO_T}$REZ" >&6; }
51408 { echo "$as_me:$LINENO: result: no" >&5
51409 echo "${ECHO_T}no" >&6; }
51413 # Extract the first word of "SetFile", so it can be a program name with args.
51414 set dummy SetFile; ac_word=$2
51415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51417 if test "${ac_cv_prog_SETFILE+set}" = set; then
51418 echo $ECHO_N "(cached) $ECHO_C" >&6
51420 if test -n "$SETFILE"; then
51421 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51424 for as_dir in $PATH
51427 test -z "$as_dir" && as_dir=.
51428 for ac_exec_ext in '' $ac_executable_extensions; do
51429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51430 ac_cv_prog_SETFILE="SetFile"
51431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51438 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51441 SETFILE=$ac_cv_prog_SETFILE
51442 if test -n "$SETFILE"; then
51443 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51444 echo "${ECHO_T}$SETFILE" >&6; }
51446 { echo "$as_me:$LINENO: result: no" >&5
51447 echo "${ECHO_T}no" >&6; }
51459 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51462 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51466 # Check whether --enable-precomp-headers was given.
51467 if test "${enable_precomp_headers+set}" = set; then
51468 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51477 case ${BAKEFILE_HOST} in
51483 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51484 if test "x$GCC" = "xyes"; then
51485 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51486 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51487 cat >conftest.$ac_ext <<_ACEOF
51490 cat confdefs.h >>conftest.$ac_ext
51491 cat >>conftest.$ac_ext <<_ACEOF
51492 /* end confdefs.h. */
51498 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51499 There is no PCH support
51502 There is no PCH support
51504 #if (__GNUC__ == 3) && \
51505 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51506 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51507 ( defined(__INTEL_COMPILER) )
51508 There is no PCH support
51515 rm -f conftest.$ac_objext
51516 if { (ac_try="$ac_compile"
51517 case "(($ac_try" in
51518 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51519 *) ac_try_echo
=$ac_try;;
51521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51522 (eval "$ac_compile") 2>conftest.er1
51524 grep -v '^ *+' conftest.er1
>conftest.err
51526 cat conftest.err
>&5
51527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51528 (exit $ac_status); } && {
51529 test -z "$ac_c_werror_flag" ||
51530 test ! -s conftest.err
51531 } && test -s conftest.
$ac_objext; then
51533 { echo "$as_me:$LINENO: result: yes" >&5
51534 echo "${ECHO_T}yes" >&6; }
51538 echo "$as_me: failed program was:" >&5
51539 sed 's/^/| /' conftest.
$ac_ext >&5
51542 cat >conftest.
$ac_ext <<_ACEOF
51545 cat confdefs.h
>>conftest.
$ac_ext
51546 cat >>conftest.
$ac_ext <<_ACEOF
51547 /* end confdefs.h. */
51553 #if !defined(__INTEL_COMPILER) || \
51554 (__INTEL_COMPILER < 800)
51555 There is no PCH support
51562 rm -f conftest.
$ac_objext
51563 if { (ac_try
="$ac_compile"
51564 case "(($ac_try" in
51565 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51566 *) ac_try_echo=$ac_try;;
51568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51569 (eval "$ac_compile") 2>conftest.er1
51571 grep -v '^ *+' conftest.er1 >conftest.err
51573 cat conftest.err >&5
51574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51575 (exit $ac_status); } && {
51576 test -z "$ac_c_werror_flag" ||
51577 test ! -s conftest.err
51578 } && test -s conftest.$ac_objext; then
51580 { echo "$as_me:$LINENO: result: yes" >&5
51581 echo "${ECHO_T}yes" >&6; }
51585 echo "$as_me: failed program was:" >&5
51586 sed 's/^/| /' conftest.$ac_ext >&5
51589 { echo "$as_me:$LINENO: result: no" >&5
51590 echo "${ECHO_T}no" >&6; }
51594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51599 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51603 cat <<EOF >bk-make-pch
51606 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51607 # script. It is used to generated precompiled headers.
51609 # Permission is given to use this file in any way.
51619 while test ${D}{#} -gt 0; do
51623 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
51624 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51625 headerfile="${D}{incdir}/${D}{header}"
51628 -use-pch|-use_pch )
51633 if test ${D}add_to_cmdline = 1 ; then
51634 compiler="${D}{compiler} ${D}{1}"
51639 if test "x${D}{headerfile}" = "x" ; then
51640 echo "error: can't find header ${D}{header} in include paths" >&2
51642 if test -f ${D}{outfile} ; then
51643 rm -f ${D}{outfile}
51645 mkdir -p \`dirname ${D}{outfile
}\
`
51647 depsfile=".deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
51649 if test "x${GCC_PCH}" = "x1" ; then
51650 # can do this because gcc is >= 3.4:
51651 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51652 elif test "x${ICC_PCH}" = "x1" ; then
51653 filename=pch_gen-${D}${D}
51654 file=${D}{filename}.c
51655 dfile=${D}{filename}.d
51656 cat > ${D}file <<EOT
51657 #include "${D}header"
51659 # using -MF icc complains about differing command lines in creation/use
51660 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51661 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51662 rm -f ${D}file ${D}dfile ${D}{filename}.o
51668 chmod +x bk-make-pch
51669 BK_MAKE_PCH="`pwd`/bk-make-pch"
51678 COND_BUILD_DEBUG="#"
51679 if test "x$BUILD" = "xdebug" ; then
51680 COND_BUILD_DEBUG=""
51683 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51684 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51685 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51688 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51689 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51690 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51693 COND_BUILD_DEBUG_UNICODE_0="#"
51694 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51695 COND_BUILD_DEBUG_UNICODE_0=""
51698 COND_BUILD_DEBUG_UNICODE_1="#"
51699 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51700 COND_BUILD_DEBUG_UNICODE_1=""
51703 COND_BUILD_RELEASE="#"
51704 if test "x$BUILD" = "xrelease" ; then
51705 COND_BUILD_RELEASE=""
51708 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51709 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51710 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51713 COND_BUILD_RELEASE_UNICODE_0="#"
51714 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51715 COND_BUILD_RELEASE_UNICODE_0=""
51718 COND_BUILD_RELEASE_UNICODE_1="#"
51719 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51720 COND_BUILD_RELEASE_UNICODE_1=""
51723 COND_DEBUG_FLAG_1="#"
51724 if test "x$DEBUG_FLAG" = "x1" ; then
51725 COND_DEBUG_FLAG_1=""
51728 COND_DEBUG_INFO_0="#"
51729 if test "x$DEBUG_INFO" = "x0" ; then
51730 COND_DEBUG_INFO_0=""
51733 COND_DEBUG_INFO_1="#"
51734 if test "x$DEBUG_INFO" = "x1" ; then
51735 COND_DEBUG_INFO_1=""
51738 COND_DEPS_TRACKING_0="#"
51739 if test "x$DEPS_TRACKING" = "x0" ; then
51740 COND_DEPS_TRACKING_0=""
51743 COND_DEPS_TRACKING_1="#"
51744 if test "x$DEPS_TRACKING" = "x1" ; then
51745 COND_DEPS_TRACKING_1=""
51749 if test "x$GCC_PCH" = "x1" ; then
51754 if test "x$ICC_PCH" = "x1" ; then
51758 COND_MONOLITHIC_0="#"
51759 if test "x$MONOLITHIC" = "x0" ; then
51760 COND_MONOLITHIC_0=""
51763 COND_MONOLITHIC_0_SHARED_0="#"
51764 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51765 COND_MONOLITHIC_0_SHARED_0=""
51768 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51769 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51770 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51773 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51774 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51775 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51778 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51779 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51780 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51783 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51784 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51785 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51788 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51789 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51790 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51793 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51794 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51795 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51798 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51799 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51800 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51803 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51804 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51805 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51808 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51809 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51810 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51813 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51814 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51815 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51818 COND_MONOLITHIC_0_SHARED_1="#"
51819 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51820 COND_MONOLITHIC_0_SHARED_1=""
51823 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51824 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51825 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51829 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51834 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51835 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51839 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51844 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51848 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51849 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51850 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51853 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51854 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51855 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51858 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51859 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51860 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51863 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51864 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51865 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51868 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51869 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51870 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51873 COND_MONOLITHIC_0_USE_AUI_1="#"
51874 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51875 COND_MONOLITHIC_0_USE_AUI_1=""
51878 COND_MONOLITHIC_0_USE_GUI_1="#"
51879 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51880 COND_MONOLITHIC_0_USE_GUI_1=""
51883 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51884 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51885 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51888 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51889 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51890 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51893 COND_MONOLITHIC_0_USE_HTML_1="#"
51894 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51895 COND_MONOLITHIC_0_USE_HTML_1=""
51898 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51899 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51900 COND_MONOLITHIC_0_USE_MEDIA_1=""
51903 COND_MONOLITHIC_0_USE_ODBC_1="#"
51904 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51905 COND_MONOLITHIC_0_USE_ODBC_1=""
51908 COND_MONOLITHIC_0_USE_QA_1="#"
51909 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51910 COND_MONOLITHIC_0_USE_QA_1=""
51913 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51914 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51915 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51918 COND_MONOLITHIC_0_USE_STC_1="#"
51919 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51920 COND_MONOLITHIC_0_USE_STC_1=""
51923 COND_MONOLITHIC_0_USE_XRC_1="#"
51924 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51925 COND_MONOLITHIC_0_USE_XRC_1=""
51928 COND_MONOLITHIC_1="#"
51929 if test "x$MONOLITHIC" = "x1" ; then
51930 COND_MONOLITHIC_1=""
51933 COND_MONOLITHIC_1_SHARED_0="#"
51934 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51935 COND_MONOLITHIC_1_SHARED_0=""
51938 COND_MONOLITHIC_1_SHARED_1="#"
51939 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51940 COND_MONOLITHIC_1_SHARED_1=""
51943 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51944 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51945 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51948 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51949 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51950 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51953 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51954 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51955 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51958 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51959 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51960 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51963 COND_PLATFORM_MACOSX_1="#"
51964 if test "x$PLATFORM_MACOSX" = "x1" ; then
51965 COND_PLATFORM_MACOSX_1=""
51968 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51969 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51970 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51973 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51974 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51975 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51978 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51979 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51980 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51983 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51984 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51985 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51988 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51989 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51990 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51993 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51994 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51995 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51998 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51999 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52000 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52003 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52004 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52005 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52008 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52009 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52010 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52013 COND_PLATFORM_MACOS_1="#"
52014 if test "x$PLATFORM_MACOS" = "x1" ; then
52015 COND_PLATFORM_MACOS_1=""
52018 COND_PLATFORM_MAC_1="#"
52019 if test "x$PLATFORM_MAC" = "x1" ; then
52020 COND_PLATFORM_MAC_1=""
52023 COND_PLATFORM_MSDOS_0="#"
52024 if test "x$PLATFORM_MSDOS" = "x0" ; then
52025 COND_PLATFORM_MSDOS_0=""
52028 COND_PLATFORM_MSDOS_1="#"
52029 if test "x$PLATFORM_MSDOS" = "x1" ; then
52030 COND_PLATFORM_MSDOS_1=""
52033 COND_PLATFORM_OS2_1="#"
52034 if test "x$PLATFORM_OS2" = "x1" ; then
52035 COND_PLATFORM_OS2_1=""
52038 COND_PLATFORM_UNIX_0="#"
52039 if test "x$PLATFORM_UNIX" = "x0" ; then
52040 COND_PLATFORM_UNIX_0=""
52043 COND_PLATFORM_UNIX_1="#"
52044 if test "x$PLATFORM_UNIX" = "x1" ; then
52045 COND_PLATFORM_UNIX_1=""
52048 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52049 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52050 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52053 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52054 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52055 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52058 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52059 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52060 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52063 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52064 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52065 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52068 COND_PLATFORM_WIN32_0="#"
52069 if test "x$PLATFORM_WIN32" = "x0" ; then
52070 COND_PLATFORM_WIN32_0=""
52073 COND_PLATFORM_WIN32_1="#"
52074 if test "x$PLATFORM_WIN32" = "x1" ; then
52075 COND_PLATFORM_WIN32_1=""
52079 if test "x$SHARED" = "x0" ; then
52083 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52084 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52085 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52088 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52089 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52090 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52093 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52094 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52095 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52098 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52099 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52100 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52103 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52104 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52105 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52108 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52109 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52110 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52113 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52114 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52115 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52118 COND_SHARED_0_USE_STC_1="#"
52119 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52120 COND_SHARED_0_USE_STC_1=""
52123 COND_SHARED_0_USE_XRC_1="#"
52124 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52125 COND_SHARED_0_USE_XRC_1=""
52128 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52129 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52130 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52133 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52134 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52135 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52138 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52139 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52140 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52143 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52144 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52145 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52149 if test "x$SHARED" = "x1" ; then
52153 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52154 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52155 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52158 COND_SHARED_1_USE_XRC_1="#"
52159 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52160 COND_SHARED_1_USE_XRC_1=""
52164 if test "x$TOOLKIT" = "x" ; then
52168 COND_TOOLKIT_COCOA="#"
52169 if test "x$TOOLKIT" = "xCOCOA" ; then
52170 COND_TOOLKIT_COCOA=""
52173 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52174 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52175 COND_TOOLKIT_COCOA_USE_GUI_1=""
52178 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52179 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52180 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52183 COND_TOOLKIT_DFB="#"
52184 if test "x$TOOLKIT" = "xDFB" ; then
52185 COND_TOOLKIT_DFB=""
52188 COND_TOOLKIT_DFB_USE_GUI_1="#"
52189 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52190 COND_TOOLKIT_DFB_USE_GUI_1=""
52193 COND_TOOLKIT_GTK="#"
52194 if test "x$TOOLKIT" = "xGTK" ; then
52195 COND_TOOLKIT_GTK=""
52198 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52199 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52200 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52203 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52204 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52205 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52208 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52209 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52210 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52213 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52214 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52215 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52218 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52219 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52220 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52223 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52224 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52225 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52228 COND_TOOLKIT_GTK_USE_GUI_1="#"
52229 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52230 COND_TOOLKIT_GTK_USE_GUI_1=""
52233 COND_TOOLKIT_MAC="#"
52234 if test "x$TOOLKIT" = "xMAC" ; then
52235 COND_TOOLKIT_MAC=""
52238 COND_TOOLKIT_MAC_USE_GUI_1="#"
52239 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52240 COND_TOOLKIT_MAC_USE_GUI_1=""
52243 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52244 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52245 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52248 COND_TOOLKIT_MGL="#"
52249 if test "x$TOOLKIT" = "xMGL" ; then
52250 COND_TOOLKIT_MGL=""
52253 COND_TOOLKIT_MGL_USE_GUI_1="#"
52254 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52255 COND_TOOLKIT_MGL_USE_GUI_1=""
52258 COND_TOOLKIT_MOTIF="#"
52259 if test "x$TOOLKIT" = "xMOTIF" ; then
52260 COND_TOOLKIT_MOTIF=""
52263 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52264 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52265 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52268 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52269 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52270 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52273 COND_TOOLKIT_MSW="#"
52274 if test "x$TOOLKIT" = "xMSW" ; then
52275 COND_TOOLKIT_MSW=""
52278 COND_TOOLKIT_MSW_USE_GUI_1="#"
52279 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52280 COND_TOOLKIT_MSW_USE_GUI_1=""
52283 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52284 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52285 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52288 COND_TOOLKIT_MSW_WXUNIV_0="#"
52289 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52290 COND_TOOLKIT_MSW_WXUNIV_0=""
52293 COND_TOOLKIT_PM="#"
52294 if test "x$TOOLKIT" = "xPM" ; then
52298 COND_TOOLKIT_PM_USE_GUI_1="#"
52299 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52300 COND_TOOLKIT_PM_USE_GUI_1=""
52303 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52304 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52305 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52308 COND_TOOLKIT_WINCE="#"
52309 if test "x$TOOLKIT" = "xWINCE" ; then
52310 COND_TOOLKIT_WINCE=""
52313 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52314 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52315 COND_TOOLKIT_WINCE_USE_GUI_1=""
52318 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52319 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52320 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52323 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52324 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52325 COND_TOOLKIT_WINCE_WXUNIV_0=""
52328 COND_TOOLKIT_X11="#"
52329 if test "x$TOOLKIT" = "xX11" ; then
52330 COND_TOOLKIT_X11=""
52333 COND_TOOLKIT_X11_USE_GUI_1="#"
52334 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52335 COND_TOOLKIT_X11_USE_GUI_1=""
52339 if test "x$UNICODE" = "x1" ; then
52343 COND_USE_EXCEPTIONS_0="#"
52344 if test "x$USE_EXCEPTIONS" = "x0" ; then
52345 COND_USE_EXCEPTIONS_0=""
52348 COND_USE_EXCEPTIONS_1="#"
52349 if test "x$USE_EXCEPTIONS" = "x1" ; then
52350 COND_USE_EXCEPTIONS_1=""
52354 if test "x$USE_GUI" = "x0" ; then
52359 if test "x$USE_GUI" = "x1" ; then
52363 COND_USE_GUI_1_USE_OPENGL_1="#"
52364 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52365 COND_USE_GUI_1_USE_OPENGL_1=""
52368 COND_USE_GUI_1_WXUNIV_0="#"
52369 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52370 COND_USE_GUI_1_WXUNIV_0=""
52373 COND_USE_GUI_1_WXUNIV_1="#"
52374 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52375 COND_USE_GUI_1_WXUNIV_1=""
52378 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52379 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52380 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52383 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52384 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52385 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52388 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52389 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52390 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52393 COND_USE_ODBC_1="#"
52394 if test "x$USE_ODBC" = "x1" ; then
52398 COND_USE_OPENGL_1="#"
52399 if test "x$USE_OPENGL" = "x1" ; then
52400 COND_USE_OPENGL_1=""
52404 if test "x$USE_PCH" = "x1" ; then
52408 COND_USE_PLUGINS_0="#"
52409 if test "x$USE_PLUGINS" = "x0" ; then
52410 COND_USE_PLUGINS_0=""
52413 COND_USE_RTTI_0="#"
52414 if test "x$USE_RTTI" = "x0" ; then
52418 COND_USE_RTTI_1="#"
52419 if test "x$USE_RTTI" = "x1" ; then
52423 COND_USE_SOSYMLINKS_1="#"
52424 if test "x$USE_SOSYMLINKS" = "x1" ; then
52425 COND_USE_SOSYMLINKS_1=""
52428 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52429 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52430 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52433 COND_USE_SOVERLINUX_1="#"
52434 if test "x$USE_SOVERLINUX" = "x1" ; then
52435 COND_USE_SOVERLINUX_1=""
52438 COND_USE_SOVERSION_0="#"
52439 if test "x$USE_SOVERSION" = "x0" ; then
52440 COND_USE_SOVERSION_0=""
52443 COND_USE_SOVERSOLARIS_1="#"
52444 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52445 COND_USE_SOVERSOLARIS_1=""
52449 if test "x$USE_STC" = "x1" ; then
52453 COND_USE_THREADS_0="#"
52454 if test "x$USE_THREADS" = "x0" ; then
52455 COND_USE_THREADS_0=""
52458 COND_USE_THREADS_1="#"
52459 if test "x$USE_THREADS" = "x1" ; then
52460 COND_USE_THREADS_1=""
52464 if test "x$USE_XRC" = "x1" ; then
52468 COND_WINDOWS_IMPLIB_1="#"
52469 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52470 COND_WINDOWS_IMPLIB_1=""
52473 COND_WITH_PLUGIN_SDL_1="#"
52474 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52475 COND_WITH_PLUGIN_SDL_1=""
52479 if test "x$WXUNIV" = "x0" ; then
52484 if test "x$WXUNIV" = "x1" ; then
52488 COND_WXUSE_EXPAT_BUILTIN="#"
52489 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52490 COND_WXUSE_EXPAT_BUILTIN=""
52493 COND_WXUSE_LIBJPEG_BUILTIN="#"
52494 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52495 COND_WXUSE_LIBJPEG_BUILTIN=""
52498 COND_WXUSE_LIBPNG_BUILTIN="#"
52499 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52500 COND_WXUSE_LIBPNG_BUILTIN=""
52503 COND_WXUSE_LIBTIFF_BUILTIN="#"
52504 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52505 COND_WXUSE_LIBTIFF_BUILTIN=""
52508 COND_WXUSE_ODBC_BUILTIN="#"
52509 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52510 COND_WXUSE_ODBC_BUILTIN=""
52513 COND_WXUSE_REGEX_BUILTIN="#"
52514 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52515 COND_WXUSE_REGEX_BUILTIN=""
52518 COND_WXUSE_ZLIB_BUILTIN="#"
52519 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52520 COND_WXUSE_ZLIB_BUILTIN=""
52525 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52526 { { 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
52527 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;}
52528 { (exit 1); exit 1; }; }
52531 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52532 { { 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
52533 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;}
52534 { (exit 1); exit 1; }; }
52541 ?:* ) # Drive letter, considered as absolute.
52544 INSTALL=`pwd`/${INSTALL} ;;
52547 if test "$wxUSE_GUI" = "yes"; then
52549 if test "$wxUSE_MSW" = 1 ; then
52550 if test "x$WINDRES" = "x"; then
52551 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52552 echo "$as_me: error: Required windres program not found" >&2;}
52553 { (exit 1); exit 1; }; }
52559 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52560 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52561 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52563 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52565 # Extract the first word of "DeRez", so it can be a program name with args.
52566 set dummy DeRez; ac_word=$2
52567 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52569 if test "${ac_cv_prog_DEREZ+set}" = set; then
52570 echo $ECHO_N "(cached) $ECHO_C" >&6
52572 if test -n "$DEREZ"; then
52573 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52576 for as_dir in $PATH
52579 test -z "$as_dir" && as_dir=.
52580 for ac_exec_ext in '' $ac_executable_extensions; do
52581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52582 ac_cv_prog_DEREZ="DeRez"
52583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52590 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52593 DEREZ=$ac_cv_prog_DEREZ
52594 if test -n "$DEREZ"; then
52595 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52596 echo "${ECHO_T}$DEREZ" >&6; }
52598 { echo "$as_me:$LINENO: result: no" >&5
52599 echo "${ECHO_T}no" >&6; }
52604 MACSETFILE="\$(SETFILE)"
52606 if test "$wxUSE_MAC" = 1; then
52607 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52609 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52611 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52612 RESCOMP="cat /dev/null \| $REZ"
52613 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52619 if test "$wxUSE_PM" = 1; then
52621 WXCONFIG_RESFLAGS="-ep"
52623 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52625 POSTLINK_COMMAND="@true"
52632 if test $GCC_PCH = 1
52634 if test "$wx_cv_gcc_pch_bug" = yes; then
52635 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52636 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52637 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52638 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52639 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52640 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52643 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52647 if test "$wxUSE_MAC" = 1 ; then
52648 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52649 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52655 if test "$wxUSE_SHARED" = "yes"; then
52657 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52658 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52661 *-pc-os2_emx | *-pc-os2-emx )
52662 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52663 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52664 cp -p ${srcdir}/src/os2/dllnames.sh .
52665 cp -p ${srcdir}/src/os2/dllar.sh .
52670 EXE_LINKER="$CXX -o"
52673 if test "$wxUSE_OMF" = "yes"; then
52675 *-pc-os2_emx | *-pc-os2-emx )
52676 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52677 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52678 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52683 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52688 if "$GCC" = yes; then
52689 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52690 LIBS=`echo $LIBS | sed 's/-mt//'`
52691 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52696 if test "x$SUNCXX" = xyes; then
52697 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52698 LIBS=`echo $LIBS | sed 's/-pthread//'`
52699 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52704 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52705 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52707 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52769 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52770 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52771 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52772 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52773 echo $ECHO_N "(cached) $ECHO_C" >&6
52775 cat >conftest.make <<\_ACEOF
52778 @echo '@@@%%%=$(MAKE)=@@@%%%'
52780 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52781 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
52782 *@@@%%%=?*=@@@%%%*)
52783 eval ac_cv_prog_make_${ac_make}_set=yes;;
52785 eval ac_cv_prog_make_${ac_make}_set=no;;
52787 rm -f conftest.make
52789 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52790 { echo "$as_me:$LINENO: result: yes" >&5
52791 echo "${ECHO_T}yes" >&6; }
52794 { echo "$as_me:$LINENO: result: no" >&5
52795 echo "${ECHO_T}no" >&6; }
52796 SET_MAKE="MAKE=${MAKE-make}"
52801 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52804 if test "$USE_WIN32" = 1; then
52805 ac_config_commands="$ac_config_commands
52811 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52814 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52817 if test "$wx_cv_version_script" = "yes"; then
52818 ac_config_files="$ac_config_files version-script"
52821 ac_config_files="$ac_config_files Makefile"
52824 ac_config_commands="$ac_config_commands wx-config"
52828 if test "$wxWITH_SUBDIRS" != "no"; then
52829 if test "$wxUSE_GUI" = "yes"; then
52830 SUBDIRS="samples demos utils"
52831 else SUBDIRS="samples utils"
52836 # Check whether --with-cppunit-prefix was given.
52837 if test "${with_cppunit_prefix+set}" = set; then
52838 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52840 cppunit_config_prefix=""
52844 # Check whether --with-cppunit-exec-prefix was given.
52845 if test "${with_cppunit_exec_prefix+set}" = set; then
52846 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52848 cppunit_config_exec_prefix=""
52852 if test x$cppunit_config_exec_prefix != x ; then
52853 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52854 if test x${CPPUNIT_CONFIG+set} != xset ; then
52855 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52858 if test x$cppunit_config_prefix != x ; then
52859 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52860 if test x${CPPUNIT_CONFIG+set} != xset ; then
52861 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52865 # Extract the first word of "cppunit-config", so it can be a program name with args.
52866 set dummy cppunit-config; ac_word=$2
52867 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52869 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52870 echo $ECHO_N "(cached) $ECHO_C" >&6
52872 case $CPPUNIT_CONFIG in
52874 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52878 for as_dir in $PATH
52881 test -z "$as_dir" && as_dir=.
52882 for ac_exec_ext in '' $ac_executable_extensions; do
52883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52884 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52892 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52896 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52897 if test -n "$CPPUNIT_CONFIG"; then
52898 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52899 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52901 { echo "$as_me:$LINENO: result: no" >&5
52902 echo "${ECHO_T}no" >&6; }
52906 cppunit_version_min=1.8.0
52908 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52909 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52911 if test "$CPPUNIT_CONFIG" = "no" ; then
52912 { echo "$as_me:$LINENO: result: no" >&5
52913 echo "${ECHO_T}no" >&6; }
52916 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52917 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52918 cppunit_version=`$CPPUNIT_CONFIG --version`
52920 cppunit_major_version=`echo $cppunit_version | \
52921 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52922 cppunit_minor_version=`echo $cppunit_version | \
52923 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52924 cppunit_micro_version=`echo $cppunit_version | \
52925 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52927 cppunit_major_min=`echo $cppunit_version_min | \
52928 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52929 cppunit_minor_min=`echo $cppunit_version_min | \
52930 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52931 cppunit_micro_min=`echo $cppunit_version_min | \
52932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52934 cppunit_version_proper=`expr \
52935 $cppunit_major_version \
> $cppunit_major_min \
| \
52936 $cppunit_major_version \
= $cppunit_major_min \
& \
52937 $cppunit_minor_version \
> $cppunit_minor_min \
| \
52938 $cppunit_major_version \
= $cppunit_major_min \
& \
52939 $cppunit_minor_version \
= $cppunit_minor_min \
& \
52940 $cppunit_micro_version \
>= $cppunit_micro_min `
52942 if test "$cppunit_version_proper" = "1" ; then
52943 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52944 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52946 { echo "$as_me:$LINENO: result: no" >&5
52947 echo "${ECHO_T}no" >&6; }
52952 if test "x$no_cppunit" = x ; then
52953 SUBDIRS="$SUBDIRS tests"
52964 for subdir in `echo $SUBDIRS`; do
52965 if test -d ${srcdir}/${subdir} ; then
52966 if test "$wxUSE_GUI" = "yes"; then
52967 if test ${subdir} = "samples"; then
52968 makefiles="samples/Makefile.in $makefiles"
52969 for sample in `echo $SAMPLES_SUBDIRS`; do
52970 if test -d $srcdir/samples/$sample; then
52971 makefiles="samples/$sample/Makefile.in $makefiles"
52975 disabled_var=DISABLED_`echo $subdir | tr [a
-z] [A
-Z]`;
52976 eval "disabled=\$$disabled_var"
52977 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
52978 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
52980 else if test ${subdir} = "samples"; then
52981 makefiles="samples/Makefile.in samples/console/Makefile.in"
52982 elif test ${subdir} = "utils"; then
52984 for util in HelpGen tex2rtf ; do
52985 if test -d $srcdir/utils/$util ; then
52986 makefiles="utils/$util/Makefile.in \
52987 utils/$util/src/Makefile.in \
52991 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
52995 for mkin in $makefiles ; do
52996 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52997 ac_config_files="$ac_config_files $mk"
53003 cat >confcache <<\_ACEOF
53004 # This file is a shell script that caches the results of configure
53005 # tests run on this system so they can be shared between configure
53006 # scripts and configure runs, see configure's option --config-cache.
53007 # It is not useful on other systems. If it contains results you don't
53008 # want to keep, you may remove or edit it.
53010 # config.status only pays attention to the cache file if you give it
53011 # the --recheck option to rerun configure.
53013 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
53014 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53015 # following values.
53019 # The following way of writing the cache mishandles newlines in values,
53020 # but we know of no workaround that is simple, portable, and efficient.
53021 # So, we kill variables containing newlines.
53022 # Ultrix sh set writes to stderr and can't be redirected directly,
53023 # and sets the high bit in the cache file unless we assign to the vars.
53025 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53026 eval ac_val
=\$
$ac_var
53030 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53031 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53034 _
| IFS
| as_nl
) ;; #(
53035 *) $as_unset $ac_var ;;
53041 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53042 *${as_nl}ac_space
=\
*)
53043 # `set' does not quote correctly, so add quotes (double-quote
53044 # substitution turns \\\\ into \\, and sed turns \\ into \).
53047 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53050 # `set' quotes correctly as required by POSIX, so do not add quotes.
53051 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53060 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53062 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53064 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
53065 if test -w "$cache_file"; then
53066 test "x$cache_file" != "x/dev/null" &&
53067 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53068 echo "$as_me: updating cache $cache_file" >&6;}
53069 cat confcache
>$cache_file
53071 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53072 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53077 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
53078 # Let make expand exec_prefix.
53079 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
53081 DEFS
=-DHAVE_CONFIG_H
53085 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
53086 # 1. Remove the extension, and $U if already installed.
53087 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
53088 ac_i
=`echo "$ac_i" | sed "$ac_script"`
53089 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53090 # will be set to the directory where LIBOBJS objects are built.
53091 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53092 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53094 LIBOBJS
=$ac_libobjs
53096 LTLIBOBJS
=$ac_ltlibobjs
53100 : ${CONFIG_STATUS=./config.status}
53101 ac_clean_files_save
=$ac_clean_files
53102 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
53103 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53104 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53105 cat >$CONFIG_STATUS <<_ACEOF
53107 # Generated by $as_me.
53108 # Run this file to recreate the current configuration.
53109 # Compiler output produced by configure, useful for debugging
53110 # configure, is in config.log if it exists.
53113 ac_cs_recheck=false
53115 SHELL=\${CONFIG_SHELL-$SHELL}
53118 cat >>$CONFIG_STATUS <<\_ACEOF
53119 ## --------------------- ##
53120 ## M4sh Initialization. ##
53121 ## --------------------- ##
53123 # Be more Bourne compatible
53124 DUALCASE
=1; export DUALCASE
# for MKS sh
53125 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
53128 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53129 # is contrary to our usage. Disable this feature.
53130 alias -g '${1+"$@"}'='"$@"'
53131 setopt NO_GLOB_SUBST
53133 case `(set -o) 2>/dev/null` in
53134 *posix
*) set -o posix
;;
53143 # Avoid depending upon Character Ranges.
53144 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
53145 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53146 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
53147 as_cr_digits
='0123456789'
53148 as_cr_alnum
=$as_cr_Letters$as_cr_digits
53150 # The user is always right.
53151 if test "${PATH_SEPARATOR+set}" != set; then
53152 echo "#! /bin/sh" >conf$$.sh
53153 echo "exit 0" >>conf$$.sh
53155 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53163 # Support unset when possible.
53164 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
53172 # We need space, tab and new line, in precisely that order. Quoting is
53173 # there to prevent editors from complaining about space-tab.
53174 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53175 # splitting by setting IFS to empty value.)
53180 # Find who we are. Look in the path if we contain no directory separator.
53182 *[\\/]* ) as_myself
=$0 ;;
53183 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53184 for as_dir
in $PATH
53187 test -z "$as_dir" && as_dir
=.
53188 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
53194 # We did not find ourselves, most probably we were run as `sh COMMAND'
53195 # in which case we are not to be found in the path.
53196 if test "x$as_myself" = x
; then
53199 if test ! -f "$as_myself"; then
53200 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53201 { (exit 1); exit 1; }
53204 # Work around bugs in pre-3.0 UWIN ksh.
53205 for as_var
in ENV MAIL MAILPATH
53206 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53214 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53215 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53216 LC_TELEPHONE LC_TIME
53218 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53219 eval $as_var=C
; export $as_var
53221 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53225 # Required to use basename.
53226 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53227 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53233 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53234 as_basename
=basename
53240 # Name of the executable.
53241 as_me
=`$as_basename -- "$0" ||
53242 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53243 X"$0" : 'X\(//\)$' \| \
53244 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53246 sed '/^.*\/\([^/][^/]*\)\/*$/{
53265 as_lineno_1
=$LINENO
53266 as_lineno_2
=$LINENO
53267 test "x$as_lineno_1" != "x$as_lineno_2" &&
53268 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53270 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53271 # uniformly replaced by the line number. The first 'sed' inserts a
53272 # line-number line after each line using $LINENO; the second 'sed'
53273 # does the real work. The second script uses 'N' to pair each
53274 # line-number line with the line containing $LINENO, and appends
53275 # trailing '-' during substitution so that $LINENO is not a special
53276 # case at line end.
53277 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53278 # scripts with optimization help from Paolo Bonzini. Blame Lee
53279 # E. McMahon (1931-1989) for sed's syntax. :-)
53291 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53294 ' >$as_me.lineno
&&
53295 chmod +x
"$as_me.lineno" ||
53296 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53297 { (exit 1); exit 1; }; }
53299 # Don't try to exec as it changes $[0], causing all sort of problems
53300 # (the dirname of $[0] is not the place where we might find the
53301 # original and so on. Autoconf is especially sensitive to this).
53302 .
"./$as_me.lineno"
53303 # Exit status is that of the last command.
53308 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
53314 ECHO_C
= ECHO_N
= ECHO_T
=
53315 case `echo -n x` in
53317 case `echo 'x\c'` in
53318 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
53325 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53326 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53332 rm -f conf$$ conf$$.exe conf$$.
file
53333 if test -d conf$$.dir
; then
53334 rm -f conf$$.dir
/conf$$.
file
53340 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
53342 # ... but there are two gotchas:
53343 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53344 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53345 # In both cases, we have to default to `cp -p'.
53346 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
53348 elif ln conf$$.
file conf$$
2>/dev
/null
; then
53353 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
53354 rmdir conf$$.dir
2>/dev
/null
53356 if mkdir -p .
2>/dev
/null
; then
53359 test -d .
/-p && rmdir .
/-p
53363 if test -x / >/dev
/null
2>&1; then
53364 as_test_x
='test -x'
53366 if ls -dL / >/dev
/null
2>&1; then
53373 if test -d "$1"; then
53379 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53380 ???[sx]*):;;*)false;;esac;fi
53384 as_executable_p
=$as_test_x
53386 # Sed expression to map a string onto a valid CPP name.
53387 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53389 # Sed expression to map a string onto a valid variable name.
53390 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53395 # Save the log message, to keep $[0] and so on meaningful, and to
53396 # report actual input values of CONFIG_FILES etc. instead of their
53397 # values after options handling.
53399 This file was extended by wxWidgets $as_me 2.9.0, which was
53400 generated by GNU Autoconf 2.61. Invocation command line was
53402 CONFIG_FILES = $CONFIG_FILES
53403 CONFIG_HEADERS = $CONFIG_HEADERS
53404 CONFIG_LINKS = $CONFIG_LINKS
53405 CONFIG_COMMANDS = $CONFIG_COMMANDS
53408 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53413 cat >>$CONFIG_STATUS <<_ACEOF
53414 # Files that config.status was made for.
53415 config_files="$ac_config_files"
53416 config_headers="$ac_config_headers"
53417 config_commands="$ac_config_commands"
53421 cat >>$CONFIG_STATUS <<\_ACEOF
53423 \`$as_me' instantiates files from templates according to the
53424 current configuration.
53426 Usage: $0 [OPTIONS] [FILE]...
53428 -h, --help print this help, then exit
53429 -V, --version print version number and configuration settings, then exit
53430 -q, --quiet do not print progress messages
53431 -d, --debug don't remove temporary files
53432 --recheck update $as_me by reconfiguring in the same conditions
53433 --file=FILE[:TEMPLATE]
53434 instantiate the configuration file FILE
53435 --header=FILE[:TEMPLATE]
53436 instantiate the configuration header FILE
53438 Configuration files:
53441 Configuration headers:
53444 Configuration commands:
53447 Report bugs to <bug-autoconf@gnu.org>."
53450 cat >>$CONFIG_STATUS <<_ACEOF
53452 wxWidgets config.status 2.9.0
53453 configured by $0, generated by GNU Autoconf 2.61,
53454 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53456 Copyright (C) 2006 Free Software Foundation, Inc.
53457 This config.status script is free software; the Free Software Foundation
53458 gives unlimited permission to copy, distribute and modify it."
53465 cat >>$CONFIG_STATUS <<\_ACEOF
53466 # If no file are specified by the user, then we need to provide default
53467 # value. By we need to know if files were specified by the user.
53473 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53474 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
53485 # Handling of the options.
53486 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53488 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53489 echo "$ac_cs_version"; exit ;;
53490 --debug | --debu | --deb | --de | --d | -d )
53492 --file | --fil | --fi | --f )
53494 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53495 ac_need_defaults
=false
;;
53496 --header | --heade | --head | --hea )
53498 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53499 ac_need_defaults
=false
;;
53501 # Conflict between --help and --header
53502 { echo "$as_me: error: ambiguous option: $1
53503 Try \`$0 --help' for more information." >&2
53504 { (exit 1); exit 1; }; };;
53505 --help | --hel | -h )
53506 echo "$ac_cs_usage"; exit ;;
53507 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53508 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53511 # This is an error.
53512 -*) { echo "$as_me: error: unrecognized option: $1
53513 Try \`$0 --help' for more information." >&2
53514 { (exit 1); exit 1; }; } ;;
53516 *) ac_config_targets
="$ac_config_targets $1"
53517 ac_need_defaults
=false
;;
53523 ac_configure_extra_args
=
53525 if $ac_cs_silent; then
53527 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53531 cat >>$CONFIG_STATUS <<_ACEOF
53532 if \$ac_cs_recheck; then
53533 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53534 CONFIG_SHELL=$SHELL
53535 export CONFIG_SHELL
53536 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53540 cat >>$CONFIG_STATUS <<\_ACEOF
53544 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53545 ## Running $as_me. ##
53551 cat >>$CONFIG_STATUS <<_ACEOF
53557 infile="$srcdir/include/wx/msw/genrcdefs.h"
53558 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53561 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53562 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53563 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53569 cat >>$CONFIG_STATUS <<\_ACEOF
53571 # Handling of arguments.
53572 for ac_config_target
in $ac_config_targets
53574 case $ac_config_target in
53575 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53576 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53577 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53578 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53579 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53580 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53581 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53582 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53584 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53585 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53586 { (exit 1); exit 1; }; };;
53591 # If the user did not use the arguments to specify the items to instantiate,
53592 # then the envvar interface is used. Set only those that are not.
53593 # We use the long form for the default assignment because of an extremely
53594 # bizarre bug on SunOS 4.1.3.
53595 if $ac_need_defaults; then
53596 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53597 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53598 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53601 # Have a temporary directory for convenience. Make it in the build tree
53602 # simply because there is no reason against having it here, and in addition,
53603 # creating and moving files from /tmp can sometimes cause problems.
53604 # Hook for its removal unless debugging.
53605 # Note that there is a small window in which the directory will not be cleaned:
53606 # after its creation but before its name has been assigned to `$tmp'.
53610 trap 'exit_status=$?
53611 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53613 trap '{ (exit 1); exit 1; }' 1 2 13 15
53615 # Create a (secure) tmp directory for tmp files.
53618 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53619 test -n "$tmp" && test -d "$tmp"
53622 tmp
=.
/conf$$
-$RANDOM
53623 (umask 077 && mkdir "$tmp")
53626 echo "$me: cannot create a temporary directory in ." >&2
53627 { (exit 1); exit 1; }
53631 # Set up the sed scripts for CONFIG_FILES section.
53634 # No need to generate the scripts if there are no CONFIG_FILES.
53635 # This happens for instance when ./config.status config.h
53636 if test -n "$CONFIG_FILES"; then
53643 for ac_last_try
in false false false false false
:; do
53644 cat >conf$
$subs.
sed <<_ACEOF
53645 SHELL!$SHELL$ac_delim
53646 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53647 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53648 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53649 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53650 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53651 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53652 exec_prefix!$exec_prefix$ac_delim
53653 prefix!$prefix$ac_delim
53654 program_transform_name!$program_transform_name$ac_delim
53655 bindir!$bindir$ac_delim
53656 sbindir!$sbindir$ac_delim
53657 libexecdir!$libexecdir$ac_delim
53658 datarootdir!$datarootdir$ac_delim
53659 datadir!$datadir$ac_delim
53660 sysconfdir!$sysconfdir$ac_delim
53661 sharedstatedir!$sharedstatedir$ac_delim
53662 localstatedir!$localstatedir$ac_delim
53663 includedir!$includedir$ac_delim
53664 oldincludedir!$oldincludedir$ac_delim
53665 docdir!$docdir$ac_delim
53666 infodir!$infodir$ac_delim
53667 htmldir!$htmldir$ac_delim
53668 dvidir!$dvidir$ac_delim
53669 pdfdir!$pdfdir$ac_delim
53670 psdir!$psdir$ac_delim
53671 libdir!$libdir$ac_delim
53672 localedir!$localedir$ac_delim
53673 mandir!$mandir$ac_delim
53674 DEFS!$DEFS$ac_delim
53675 ECHO_C!$ECHO_C$ac_delim
53676 ECHO_N!$ECHO_N$ac_delim
53677 ECHO_T!$ECHO_T$ac_delim
53678 LIBS!$LIBS$ac_delim
53679 build_alias!$build_alias$ac_delim
53680 host_alias!$host_alias$ac_delim
53681 target_alias!$target_alias$ac_delim
53682 build!$build$ac_delim
53683 build_cpu!$build_cpu$ac_delim
53684 build_vendor!$build_vendor$ac_delim
53685 build_os!$build_os$ac_delim
53686 host!$host$ac_delim
53687 host_cpu!$host_cpu$ac_delim
53688 host_vendor!$host_vendor$ac_delim
53689 host_os!$host_os$ac_delim
53690 target!$target$ac_delim
53691 target_cpu!$target_cpu$ac_delim
53692 target_vendor!$target_vendor$ac_delim
53693 target_os!$target_os$ac_delim
53694 wx_top_builddir!$wx_top_builddir$ac_delim
53696 CFLAGS!$CFLAGS$ac_delim
53697 LDFLAGS!$LDFLAGS$ac_delim
53698 CPPFLAGS!$CPPFLAGS$ac_delim
53699 ac_ct_CC!$ac_ct_CC$ac_delim
53700 EXEEXT!$EXEEXT$ac_delim
53701 OBJEXT!$OBJEXT$ac_delim
53703 GREP!$GREP$ac_delim
53704 EGREP!$EGREP$ac_delim
53706 CXXFLAGS!$CXXFLAGS$ac_delim
53707 ac_ct_CXX!$ac_ct_CXX$ac_delim
53709 subdirs!$subdirs$ac_delim
53710 PKG_CONFIG!$PKG_CONFIG$ac_delim
53711 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53712 GTK_LIBS!$GTK_LIBS$ac_delim
53713 GTK_CONFIG!$GTK_CONFIG$ac_delim
53714 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53715 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53716 XMKMF!$XMKMF$ac_delim
53717 X_CFLAGS!$X_CFLAGS$ac_delim
53718 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53719 X_LIBS!$X_LIBS$ac_delim
53720 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53721 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53722 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53723 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53724 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53725 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53726 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53727 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53728 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53729 LIBICONV!$LIBICONV$ac_delim
53730 SDL_CONFIG!$SDL_CONFIG$ac_delim
53731 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53732 SDL_LIBS!$SDL_LIBS$ac_delim
53733 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53734 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53735 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53736 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53737 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53738 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53739 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53740 HILDON_LIBS!$HILDON_LIBS$ac_delim
53741 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53744 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53746 elif $ac_last_try; then
53747 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53748 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53749 { (exit 1); exit 1; }; }
53751 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53755 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53756 if test -n "$ac_eof"; then
53757 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53758 ac_eof
=`expr $ac_eof + 1`
53761 cat >>$CONFIG_STATUS <<_ACEOF
53762 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53763 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53766 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53767 s/^/s,@/; s/!/@,|#_!!_#|/
53770 s/'"$ac_delim"'$/,g/; t
53772 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53773 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53774 rm -f conf$
$subs.
sed
53775 cat >>$CONFIG_STATUS <<_ACEOF
53781 for ac_last_try
in false false false false false
:; do
53782 cat >conf$
$subs.
sed <<_ACEOF
53783 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53784 GST_CFLAGS!$GST_CFLAGS$ac_delim
53785 GST_LIBS!$GST_LIBS$ac_delim
53786 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53787 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53788 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53789 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53790 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53791 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53792 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53793 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53794 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53795 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53796 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53797 VENDOR!$VENDOR$ac_delim
53798 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53799 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53800 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53801 WXUNIV!$WXUNIV$ac_delim
53802 MONOLITHIC!$MONOLITHIC$ac_delim
53803 USE_PLUGINS!$USE_PLUGINS$ac_delim
53804 CXXWARNINGS!$CXXWARNINGS$ac_delim
53805 EXTRALIBS!$EXTRALIBS$ac_delim
53806 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53807 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53808 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53809 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53810 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53811 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53812 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53813 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53814 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53815 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53816 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53817 UNICODE!$UNICODE$ac_delim
53818 BUILD!$BUILD$ac_delim
53819 DEBUG_INFO!$DEBUG_INFO$ac_delim
53820 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53821 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53822 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53823 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53824 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53825 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53826 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53827 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53828 RANLIB!$RANLIB$ac_delim
53829 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53830 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53831 INSTALL_DATA!$INSTALL_DATA$ac_delim
53832 LN_S!$LN_S$ac_delim
53833 SET_MAKE!$SET_MAKE$ac_delim
53834 MAKE_SET!$MAKE_SET$ac_delim
53835 AROPTIONS!$AROPTIONS$ac_delim
53836 STRIP!$STRIP$ac_delim
53838 INSTALL_DIR!$INSTALL_DIR$ac_delim
53839 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53840 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53841 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53842 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53843 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53844 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53845 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53846 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53847 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53848 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53849 SO_SUFFIX!$SO_SUFFIX$ac_delim
53850 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53851 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53852 LIBPREFIX!$LIBPREFIX$ac_delim
53853 LIBEXT!$LIBEXT$ac_delim
53854 DLLPREFIX!$DLLPREFIX$ac_delim
53855 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53856 dlldir!$dlldir$ac_delim
53857 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53858 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53859 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53860 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53861 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53862 PIC_FLAG!$PIC_FLAG$ac_delim
53863 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53864 USE_SOVERSION!$USE_SOVERSION$ac_delim
53865 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53866 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53867 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53868 USE_MACVERSION!$USE_MACVERSION$ac_delim
53869 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53870 SONAME_FLAG!$SONAME_FLAG$ac_delim
53871 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53872 BK_DEPS!$BK_DEPS$ac_delim
53873 WINDRES!$WINDRES$ac_delim
53875 SETFILE!$SETFILE$ac_delim
53876 GCC_PCH!$GCC_PCH$ac_delim
53877 ICC_PCH!$ICC_PCH$ac_delim
53878 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53879 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53882 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53884 elif $ac_last_try; then
53885 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53886 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53887 { (exit 1); exit 1; }; }
53889 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53893 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53894 if test -n "$ac_eof"; then
53895 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53896 ac_eof
=`expr $ac_eof + 1`
53899 cat >>$CONFIG_STATUS <<_ACEOF
53900 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53901 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53904 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53905 s/^/s,@/; s/!/@,|#_!!_#|/
53908 s/'"$ac_delim"'$/,g/; t
53910 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53911 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53912 rm -f conf$
$subs.
sed
53913 cat >>$CONFIG_STATUS <<_ACEOF
53919 for ac_last_try
in false false false false false
:; do
53920 cat >conf$
$subs.
sed <<_ACEOF
53921 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53922 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53923 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53924 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53925 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53926 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53927 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53928 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53929 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53930 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53931 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53932 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53933 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53934 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53935 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53936 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53937 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53938 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53939 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53940 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53941 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53942 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53943 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53944 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53945 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53946 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53947 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53948 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53949 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53950 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53951 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53952 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53953 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53954 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53955 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53956 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53957 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53958 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53959 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53960 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53961 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53962 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53963 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53964 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53965 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53966 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53967 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53968 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53969 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53970 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53971 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53972 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53973 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53974 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53975 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53976 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53977 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53978 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53979 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53980 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53981 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53982 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53983 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53984 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53985 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53986 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53987 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53988 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53989 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53990 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53991 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53992 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53993 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53994 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53995 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53996 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53997 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53998 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53999 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54000 COND_SHARED_0!$COND_SHARED_0$ac_delim
54001 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54002 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54003 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54004 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54005 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54006 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54007 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54008 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54009 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
54010 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
54011 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
54012 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
54013 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
54014 COND_SHARED_1!$COND_SHARED_1$ac_delim
54015 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54016 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
54017 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54020 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54022 elif $ac_last_try; then
54023 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54024 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54025 { (exit 1); exit 1; }; }
54027 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54031 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54032 if test -n "$ac_eof"; then
54033 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54034 ac_eof
=`expr $ac_eof + 1`
54037 cat >>$CONFIG_STATUS <<_ACEOF
54038 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54039 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54042 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54043 s/^/s,@/; s/!/@,|#_!!_#|/
54046 s/'"$ac_delim"'$/,g/; t
54048 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54049 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54050 rm -f conf$
$subs.
sed
54051 cat >>$CONFIG_STATUS <<_ACEOF
54057 for ac_last_try
in false false false false false
:; do
54058 cat >conf$
$subs.
sed <<_ACEOF
54059 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54060 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54061 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54062 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54063 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54064 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54065 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54066 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54067 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54068 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54069 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54070 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54071 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54072 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54073 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54074 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54075 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54076 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54077 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54078 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54079 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54080 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54081 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54082 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54083 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54084 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54085 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54086 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54087 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54088 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54089 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54090 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54091 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54092 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54093 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54094 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54095 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54096 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54097 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54098 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54099 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54100 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54101 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54102 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54103 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54104 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54105 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54106 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54107 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54108 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54109 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54110 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54111 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54112 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54113 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54114 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54115 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54116 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54117 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54118 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54119 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54120 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54121 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54122 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54123 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54124 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54125 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54126 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54127 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54128 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54129 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54130 DEREZ!$DEREZ$ac_delim
54131 SHARED!$SHARED$ac_delim
54132 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54133 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54134 USE_GUI!$USE_GUI$ac_delim
54135 AFMINSTALL!$AFMINSTALL$ac_delim
54136 WIN32INSTALL!$WIN32INSTALL$ac_delim
54137 TOOLKIT!$TOOLKIT$ac_delim
54138 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54139 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54140 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54141 cross_compiling!$cross_compiling$ac_delim
54142 WIDGET_SET!$WIDGET_SET$ac_delim
54143 WX_RELEASE!$WX_RELEASE$ac_delim
54144 WX_VERSION!$WX_VERSION$ac_delim
54145 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54146 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54147 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54148 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54149 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54150 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54151 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54152 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54153 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54154 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54155 EXE_LINKER!$EXE_LINKER$ac_delim
54158 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54160 elif $ac_last_try; then
54161 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54162 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54163 { (exit 1); exit 1; }; }
54165 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54169 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54170 if test -n "$ac_eof"; then
54171 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54172 ac_eof
=`expr $ac_eof + 1`
54175 cat >>$CONFIG_STATUS <<_ACEOF
54176 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54177 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54180 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54181 s/^/s,@/; s/!/@,|#_!!_#|/
54184 s/'"$ac_delim"'$/,g/; t
54186 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54187 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54188 rm -f conf$
$subs.
sed
54189 cat >>$CONFIG_STATUS <<_ACEOF
54195 for ac_last_try
in false false false false false
:; do
54196 cat >conf$
$subs.
sed <<_ACEOF
54197 GUIDIST!$GUIDIST$ac_delim
54198 DISTDIR!$DISTDIR$ac_delim
54199 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54200 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54201 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54202 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54203 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54204 RESCOMP!$RESCOMP$ac_delim
54205 RESFLAGS!$RESFLAGS$ac_delim
54206 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54207 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54208 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54209 LIBWXMACRES!$LIBWXMACRES$ac_delim
54210 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54211 MACSETFILE!$MACSETFILE$ac_delim
54213 DLLTOOL!$DLLTOOL$ac_delim
54214 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54215 LIBOBJS!$LIBOBJS$ac_delim
54216 LTLIBOBJS!$LTLIBOBJS$ac_delim
54219 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 20; then
54221 elif $ac_last_try; then
54222 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54223 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54224 { (exit 1); exit 1; }; }
54226 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54230 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54231 if test -n "$ac_eof"; then
54232 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54233 ac_eof
=`expr $ac_eof + 1`
54236 cat >>$CONFIG_STATUS <<_ACEOF
54237 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54238 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54241 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54242 s/^/s,@/; s/!/@,|#_!!_#|/
54245 s/'"$ac_delim"'$/,g/; t
54247 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54248 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54249 rm -f conf$
$subs.
sed
54250 cat >>$CONFIG_STATUS <<_ACEOF
54257 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54258 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54259 # trailing colons and then remove the whole line if VPATH becomes empty
54260 # (actually we leave an empty line to preserve line numbers).
54261 if test "x$srcdir" = x.
; then
54262 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
54263 s/:*\$(srcdir):*/:/
54264 s/:*\${srcdir}:*/:/
54266 s/^\([^=]*=[ ]*\):*/\1/
54272 cat >>$CONFIG_STATUS <<\_ACEOF
54273 fi # test -n "$CONFIG_FILES"
54276 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
54279 :[FHLC
]) ac_mode
=$ac_tag; continue;;
54281 case $ac_mode$ac_tag in
54283 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54284 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54285 { (exit 1); exit 1; }; };;
54286 :[FH
]-) ac_tag
=-:-;;
54287 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
54304 -) ac_f
="$tmp/stdin";;
54305 *) # Look for the file first in the build tree, then in the source tree
54306 # (if the path is not absolute). The absolute path cannot be DOS-style,
54307 # because $ac_f cannot contain `:'.
54311 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
54313 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54314 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54315 { (exit 1); exit 1; }; };;
54317 ac_file_inputs
="$ac_file_inputs $ac_f"
54320 # Let's still pretend it is `configure' which instantiates (i.e., don't
54321 # use $as_me), people would be surprised to read:
54322 # /* config.h. Generated by config.status. */
54323 configure_input
="Generated from "`IFS=:
54324 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54325 if test x
"$ac_file" != x
-; then
54326 configure_input
="$ac_file. $configure_input"
54327 { echo "$as_me:$LINENO: creating $ac_file" >&5
54328 echo "$as_me: creating $ac_file" >&6;}
54332 *:-:* | *:-) cat >"$tmp/stdin";;
54337 ac_dir
=`$as_dirname -- "$ac_file" ||
54338 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54339 X"$ac_file" : 'X\(//\)[^/]' \| \
54340 X"$ac_file" : 'X\(//\)$' \| \
54341 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54347 /^X\(\/\/\)[^/].*/{
54362 -*) as_dir
=.
/$as_dir;;
54364 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54368 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54369 *) as_qdir
=$as_dir;;
54371 as_dirs
="'$as_qdir' $as_dirs"
54372 as_dir
=`$as_dirname -- "$as_dir" ||
54373 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54374 X"$as_dir" : 'X\(//\)[^/]' \| \
54375 X"$as_dir" : 'X\(//\)$' \| \
54376 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54382 /^X\(\/\/\)[^/].*/{
54395 test -d "$as_dir" && break
54397 test -z "$as_dirs" || eval "mkdir $as_dirs"
54398 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54399 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54400 { (exit 1); exit 1; }; }; }
54404 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54406 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54407 # A ".." for each directory in $ac_dir_suffix.
54408 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54409 case $ac_top_builddir_sub in
54410 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54411 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54414 ac_abs_top_builddir
=$ac_pwd
54415 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54416 # for backward compatibility:
54417 ac_top_builddir
=$ac_top_build_prefix
54420 .
) # We are building in place.
54422 ac_top_srcdir
=$ac_top_builddir_sub
54423 ac_abs_top_srcdir
=$ac_pwd ;;
54424 [\\/]* | ?
:[\\/]* ) # Absolute name.
54425 ac_srcdir
=$srcdir$ac_dir_suffix;
54426 ac_top_srcdir
=$srcdir
54427 ac_abs_top_srcdir
=$srcdir ;;
54428 *) # Relative name.
54429 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54430 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54431 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54433 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54443 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54444 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
54448 cat >>$CONFIG_STATUS <<\_ACEOF
54449 # If the template does not know about datarootdir, expand it.
54450 # FIXME: This hack should be removed a few years after 2.60.
54451 ac_datarootdir_hack
=; ac_datarootdir_seen
=
54453 case `sed -n '/datarootdir/ {
54462 ' $ac_file_inputs` in
54463 *datarootdir
*) ac_datarootdir_seen
=yes;;
54464 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
54465 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54466 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54468 cat >>$CONFIG_STATUS <<_ACEOF
54469 ac_datarootdir_hack='
54470 s&@datadir@&$datadir&g
54471 s&@docdir@&$docdir&g
54472 s&@infodir@&$infodir&g
54473 s&@localedir@&$localedir&g
54474 s&@mandir@&$mandir&g
54475 s&\\\${datarootdir}&$datarootdir&g' ;;
54479 # Neutralize VPATH when `$srcdir' = `.'.
54480 # Shell code in configure.ac might set extrasub.
54481 # FIXME: do we really want to maintain this feature?
54482 cat >>$CONFIG_STATUS <<_ACEOF
54486 cat >>$CONFIG_STATUS <<\_ACEOF
54488 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54489 s
&@configure_input@
&$configure_input&;t t
54490 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
54491 s
&@srcdir@
&$ac_srcdir&;t t
54492 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
54493 s
&@top_srcdir@
&$ac_top_srcdir&;t t
54494 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
54495 s
&@builddir@
&$ac_builddir&;t t
54496 s
&@abs_builddir@
&$ac_abs_builddir&;t t
54497 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
54498 s
&@INSTALL@
&$ac_INSTALL&;t t
54499 $ac_datarootdir_hack
54500 " $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
54502 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54503 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54504 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54505 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54506 which seems to be undefined. Please make sure it is defined." >&5
54507 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54508 which seems to be undefined. Please make sure it is defined." >&2;}
54512 -) cat "$tmp/out"; rm -f "$tmp/out";;
54513 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54522 # Transform confdefs.h into a sed script `conftest.defines', that
54523 # substitutes the proper values into config.h.in to produce config.h.
54524 rm -f conftest.defines conftest.
tail
54525 # First, append a space to every undef/define line, to ease matching.
54526 echo 's/$/ /' >conftest.defines
54527 # Then, protect against being on the right side of a sed subst, or in
54528 # an unquoted here document, in config.status. If some macros were
54529 # called several times there might be several #defines for the same
54530 # symbol, which is useless. But do not sort them, since the last
54531 # AC_DEFINE must be honored.
54532 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54533 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54534 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54535 # PARAMS is the parameter list in the macro definition--in most cases, it's
54536 # just an empty string.
54537 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54538 ac_dB
='\\)[ (].*,\\1define\\2'
54546 s/^[ ]*#[ ]*define[ ][ ]*//
54551 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54552 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54553 ' >>conftest.defines
54555 # Remove the space that was appended to ease matching.
54556 # Then replace #undef with comments. This is necessary, for
54557 # example, in the case of _POSIX_SOURCE, which is predefined and required
54558 # on some systems where configure will not decide to define it.
54559 # (The regexp can be short, since the line contains either #define or #undef.)
54561 s,^[ #]*u.*,/* & */,' >>conftest.defines
54563 # Break up conftest.defines:
54564 ac_max_sed_lines
=50
54566 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54567 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54568 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54570 ac_in
='$ac_file_inputs'
54571 ac_out
='"$tmp/out1"'
54572 ac_nxt
='"$tmp/out2"'
54576 # Write a here document:
54577 cat >>$CONFIG_STATUS <<_ACEOF
54578 # First, check the format of the line:
54579 cat >"\$tmp/defines.sed" <<\\CEOF
54580 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54581 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54585 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54587 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54588 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54589 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54590 grep . conftest.
tail >/dev
/null
|| break
54591 rm -f conftest.defines
54592 mv conftest.
tail conftest.defines
54594 rm -f conftest.defines conftest.
tail
54596 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54597 cat >>$CONFIG_STATUS <<\_ACEOF
54598 if test x
"$ac_file" != x
-; then
54599 echo "/* $configure_input */" >"$tmp/config.h"
54600 cat "$ac_result" >>"$tmp/config.h"
54601 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54602 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54603 echo "$as_me: $ac_file is unchanged" >&6;}
54606 mv "$tmp/config.h" $ac_file
54609 echo "/* $configure_input */"
54615 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54616 echo "$as_me: executing $ac_file commands" >&6;}
54621 case $ac_file$ac_mode in
54623 mkdir -p $outdir &&
54624 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54626 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54627 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54628 "wx-config":C
) rm -f wx
-config
54629 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54636 { (exit 0); exit 0; }
54638 chmod +x
$CONFIG_STATUS
54639 ac_clean_files
=$ac_clean_files_save
54642 # configure is writing to config.log, and then calls config.status.
54643 # config.status does its own redirection, appending to config.log.
54644 # Unfortunately, on DOS this fails, as config.log is still kept open
54645 # by configure, so config.status won't be able to write to it; its
54646 # output is simply discarded. So we exec the FD to /dev/null,
54647 # effectively closing config.log, so it can be properly (re)opened and
54648 # appended to by config.status. When coming back to configure, we
54649 # need to make the FD available again.
54650 if test "$no_create" != yes; then
54652 ac_config_status_args
=
54653 test "$silent" = yes &&
54654 ac_config_status_args
="$ac_config_status_args --quiet"
54656 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54658 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54659 # would make configure fail if this is the last instruction.
54660 $ac_cs_success || { (exit 1); exit 1; }
54664 # CONFIG_SUBDIRS section.
54666 if test "$no_recursion" != yes; then
54668 # Remove --cache-file and --srcdir arguments so they do not pile up.
54669 ac_sub_configure_args
=
54671 eval "set x $ac_configure_args"
54675 if test -n "$ac_prev"; then
54680 -cache-file | --cache-file | --cache-fil | --cache-fi \
54681 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54682 ac_prev
=cache_file
;;
54683 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54684 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54687 --config-cache | -C)
54689 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54691 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54693 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54695 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54699 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54701 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54705 # Always prepend --prefix to ensure using the same prefix
54706 # in subdir configurations.
54707 ac_arg
="--prefix=$prefix"
54709 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54711 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54714 if test "$silent" = yes; then
54715 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54719 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54721 # Do not complain, so a configure script can configure whichever
54722 # parts of a large source tree are present.
54723 test -d "$srcdir/$ac_dir" || continue
54725 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54726 echo "$as_me:$LINENO: $ac_msg" >&5
54730 -*) as_dir
=.
/$as_dir;;
54732 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54736 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54737 *) as_qdir
=$as_dir;;
54739 as_dirs
="'$as_qdir' $as_dirs"
54740 as_dir
=`$as_dirname -- "$as_dir" ||
54741 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54742 X"$as_dir" : 'X\(//\)[^/]' \| \
54743 X"$as_dir" : 'X\(//\)$' \| \
54744 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54746 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54750 /^X\(\/\/\)[^/].*/{
54763 test -d "$as_dir" && break
54765 test -z "$as_dirs" || eval "mkdir $as_dirs"
54766 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54767 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54768 { (exit 1); exit 1; }; }; }
54772 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54774 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54775 # A ".." for each directory in $ac_dir_suffix.
54776 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54777 case $ac_top_builddir_sub in
54778 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54779 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54782 ac_abs_top_builddir
=$ac_pwd
54783 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54784 # for backward compatibility:
54785 ac_top_builddir
=$ac_top_build_prefix
54788 .
) # We are building in place.
54790 ac_top_srcdir
=$ac_top_builddir_sub
54791 ac_abs_top_srcdir
=$ac_pwd ;;
54792 [\\/]* | ?
:[\\/]* ) # Absolute name.
54793 ac_srcdir
=$srcdir$ac_dir_suffix;
54794 ac_top_srcdir
=$srcdir
54795 ac_abs_top_srcdir
=$srcdir ;;
54796 *) # Relative name.
54797 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54798 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54799 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54801 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54806 # Check for guested configure; otherwise get Cygnus style configure.
54807 if test -f "$ac_srcdir/configure.gnu"; then
54808 ac_sub_configure
=$ac_srcdir/configure.gnu
54809 elif test -f "$ac_srcdir/configure"; then
54810 ac_sub_configure
=$ac_srcdir/configure
54811 elif test -f "$ac_srcdir/configure.in"; then
54812 # This should be Cygnus configure.
54813 ac_sub_configure
=$ac_aux_dir/configure
54815 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54816 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54820 # The recursion is here.
54821 if test -n "$ac_sub_configure"; then
54822 # Make the cache file name correct relative to the subdirectory.
54823 case $cache_file in
54824 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
54825 *) # Relative name.
54826 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
54829 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54830 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54831 # The eval makes quoting arguments work.
54832 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54833 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54834 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54835 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54836 { (exit 1); exit 1; }; }
54845 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54847 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54848 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54850 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54851 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54852 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54853 if test "$wxUSE_UNICODE" = "yes"; then
54854 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54855 echo " (using UTF-8)"
54857 echo " (using wchar_t)"
54863 echo " What level of wxWidgets compatibility should be enabled?"
54864 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54865 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54867 echo " Which libraries should wxWidgets use?"
54868 echo " STL ${wxUSE_STL}"
54869 echo " jpeg ${wxUSE_LIBJPEG-none}"
54870 echo " png ${wxUSE_LIBPNG-none}"
54871 echo " regex ${wxUSE_REGEX}"
54872 echo " tiff ${wxUSE_LIBTIFF-none}"
54873 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54874 echo " xpm ${wxUSE_LIBXPM-none}"
54876 echo " zlib ${wxUSE_ZLIB}"
54877 echo " odbc ${wxUSE_ODBC}"
54878 echo " expat ${wxUSE_EXPAT}"
54879 echo " libmspack ${wxUSE_LIBMSPACK}"
54880 echo " sdl ${wxUSE_LIBSDL}"