2 # From configure.in Id: configure.in 47631 2007-07-21 23:22:56Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.0'
579 PACKAGE_STRING
='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
719 LIBGNOMEPRINTUI_CFLAGS
766 SAMPLES_RPATH_POSTLINK
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
837 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
838 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
839 COND_MONOLITHIC_0_SHARED_1
840 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
847 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
848 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
849 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
850 COND_MONOLITHIC_0_USE_AUI_1
851 COND_MONOLITHIC_0_USE_GUI_1
852 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
853 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
854 COND_MONOLITHIC_0_USE_HTML_1
855 COND_MONOLITHIC_0_USE_MEDIA_1
856 COND_MONOLITHIC_0_USE_ODBC_1
857 COND_MONOLITHIC_0_USE_QA_1
858 COND_MONOLITHIC_0_USE_RICHTEXT_1
859 COND_MONOLITHIC_0_USE_STC_1
860 COND_MONOLITHIC_0_USE_XRC_1
862 COND_MONOLITHIC_1_SHARED_0
863 COND_MONOLITHIC_1_SHARED_1
864 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
865 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
866 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
867 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
868 COND_PLATFORM_MACOSX_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_
870 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
871 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
874 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
875 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
876 COND_PLATFORM_MACOSX_1_USE_GUI_1
877 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
878 COND_PLATFORM_MACOS_1
880 COND_PLATFORM_MSDOS_0
881 COND_PLATFORM_MSDOS_1
885 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
886 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
887 COND_PLATFORM_UNIX_1_USE_GUI_1
888 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
889 COND_PLATFORM_WIN32_0
890 COND_PLATFORM_WIN32_1
892 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
893 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
894 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
895 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
898 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
899 COND_SHARED_0_USE_STC_1
900 COND_SHARED_0_USE_XRC_1
901 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
902 COND_SHARED_0_WXUSE_ODBC_BUILTIN
903 COND_SHARED_0_WXUSE_REGEX_BUILTIN
904 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
906 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_1_USE_XRC_1
910 COND_TOOLKIT_COCOA_USE_GUI_1
911 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
913 COND_TOOLKIT_DFB_USE_GUI_1
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_GTK_USE_GUI_1
923 COND_TOOLKIT_MAC_USE_GUI_1
924 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MGL_USE_GUI_1
928 COND_TOOLKIT_MOTIF_USE_GUI_1
929 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_MSW_USE_GUI_1
932 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_MSW_WXUNIV_0
935 COND_TOOLKIT_PM_USE_GUI_1
936 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_WINCE_USE_GUI_1
939 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_WINCE_WXUNIV_0
942 COND_TOOLKIT_X11_USE_GUI_1
944 COND_USE_EXCEPTIONS_0
945 COND_USE_EXCEPTIONS_1
948 COND_USE_GUI_1_USE_OPENGL_1
949 COND_USE_GUI_1_WXUNIV_0
950 COND_USE_GUI_1_WXUNIV_1
951 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
952 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
953 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
960 COND_USE_SOSYMLINKS_1
961 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
962 COND_USE_SOVERLINUX_1
964 COND_USE_SOVERSOLARIS_1
969 COND_WINDOWS_IMPLIB_1
970 COND_WITH_PLUGIN_SDL_1
973 COND_WXUSE_EXPAT_BUILTIN
974 COND_WXUSE_LIBJPEG_BUILTIN
975 COND_WXUSE_LIBPNG_BUILTIN
976 COND_WXUSE_LIBTIFF_BUILTIN
977 COND_WXUSE_ODBC_BUILTIN
978 COND_WXUSE_REGEX_BUILTIN
979 COND_WXUSE_ZLIB_BUILTIN
981 WX_LIBRARY_BASENAME_NOGUI
982 WX_LIBRARY_BASENAME_GUI
1002 WXCONFIG_LDFLAGS_GUI
1015 WX_RESOURCES_MACOSX_ASCII
1016 WX_RESOURCES_MACOSX_DATA
1025 ac_precious_vars
='build_alias
1047 LIBGNOMEPRINTUI_CFLAGS
1048 LIBGNOMEPRINTUI_LIBS
1057 ac_subdirs_all
='src/expat'
1059 # Initialize some variables set by options.
1061 ac_init_version
=false
1062 # The variables have the same names as the options, with
1063 # dashes changed to underlines.
1064 cache_file
=/dev
/null
1071 program_transform_name
=s
,x
,x
,
1079 # Installation directory options.
1080 # These are left unexpanded so users can "make install exec_prefix=/foo"
1081 # and all the variables that are supposed to be based on exec_prefix
1082 # by default will actually change.
1083 # Use braces instead of parens because sh, perl, etc. also accept them.
1084 # (The list follows the same order as the GNU Coding Standards.)
1085 bindir
='${exec_prefix}/bin'
1086 sbindir
='${exec_prefix}/sbin'
1087 libexecdir
='${exec_prefix}/libexec'
1088 datarootdir
='${prefix}/share'
1089 datadir
='${datarootdir}'
1090 sysconfdir
='${prefix}/etc'
1091 sharedstatedir
='${prefix}/com'
1092 localstatedir
='${prefix}/var'
1093 includedir
='${prefix}/include'
1094 oldincludedir
='/usr/include'
1095 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1096 infodir
='${datarootdir}/info'
1101 libdir
='${exec_prefix}/lib'
1102 localedir
='${datarootdir}/locale'
1103 mandir
='${datarootdir}/man'
1109 # If the previous option needs an argument, assign it.
1110 if test -n "$ac_prev"; then
1111 eval $ac_prev=\
$ac_option
1117 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1121 # Accept the important Cygnus configure options, so we can diagnose typos.
1123 case $ac_dashdash$ac_option in
1127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1130 bindir
=$ac_optarg ;;
1132 -build | --build | --buil | --bui | --bu)
1133 ac_prev
=build_alias
;;
1134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1135 build_alias
=$ac_optarg ;;
1137 -cache-file | --cache-file | --cache-fil | --cache-fi \
1138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1139 ac_prev
=cache_file
;;
1140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1142 cache_file
=$ac_optarg ;;
1144 --config-cache | -C)
1145 cache_file
=config.cache
;;
1147 -datadir | --datadir | --datadi | --datad)
1149 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1150 datadir
=$ac_optarg ;;
1152 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1153 | --dataroo | --dataro | --datar)
1154 ac_prev
=datarootdir
;;
1155 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1156 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1157 datarootdir
=$ac_optarg ;;
1159 -disable-* | --disable-*)
1160 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1163 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1164 { (exit 1); exit 1; }; }
1165 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1166 eval enable_
$ac_feature=no
;;
1168 -docdir | --docdir | --docdi | --doc | --do)
1170 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1171 docdir
=$ac_optarg ;;
1173 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1175 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1176 dvidir
=$ac_optarg ;;
1178 -enable-* | --enable-*)
1179 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1182 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1183 { (exit 1); exit 1; }; }
1184 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1185 eval enable_
$ac_feature=\
$ac_optarg ;;
1187 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1188 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1189 | --exec | --exe | --ex)
1190 ac_prev
=exec_prefix
;;
1191 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1192 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1193 | --exec=* | --exe=* | --ex=*)
1194 exec_prefix
=$ac_optarg ;;
1196 -gas | --gas | --ga | --g)
1197 # Obsolete; use --with-gas.
1200 -help | --help | --hel | --he | -h)
1201 ac_init_help
=long
;;
1202 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1203 ac_init_help
=recursive
;;
1204 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1205 ac_init_help
=short
;;
1207 -host | --host | --hos | --ho)
1208 ac_prev
=host_alias
;;
1209 -host=* | --host=* | --hos=* | --ho=*)
1210 host_alias
=$ac_optarg ;;
1212 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1214 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1216 htmldir
=$ac_optarg ;;
1218 -includedir | --includedir | --includedi | --included | --include \
1219 | --includ | --inclu | --incl | --inc)
1220 ac_prev
=includedir
;;
1221 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1222 | --includ=* | --inclu=* | --incl=* | --inc=*)
1223 includedir
=$ac_optarg ;;
1225 -infodir | --infodir | --infodi | --infod | --info | --inf)
1227 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1228 infodir
=$ac_optarg ;;
1230 -libdir | --libdir | --libdi | --libd)
1232 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1233 libdir
=$ac_optarg ;;
1235 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1236 | --libexe | --libex | --libe)
1237 ac_prev
=libexecdir
;;
1238 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1239 | --libexe=* | --libex=* | --libe=*)
1240 libexecdir
=$ac_optarg ;;
1242 -localedir | --localedir | --localedi | --localed | --locale)
1243 ac_prev
=localedir
;;
1244 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1245 localedir
=$ac_optarg ;;
1247 -localstatedir | --localstatedir | --localstatedi | --localstated \
1248 | --localstate | --localstat | --localsta | --localst | --locals)
1249 ac_prev
=localstatedir
;;
1250 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1251 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1252 localstatedir
=$ac_optarg ;;
1254 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1256 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1257 mandir
=$ac_optarg ;;
1259 -nfp | --nfp | --nf)
1260 # Obsolete; use --without-fp.
1263 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1264 | --no-cr | --no-c | -n)
1267 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1268 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1271 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1272 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1273 | --oldin | --oldi | --old | --ol | --o)
1274 ac_prev
=oldincludedir
;;
1275 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1276 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1277 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1278 oldincludedir
=$ac_optarg ;;
1280 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1282 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1283 prefix
=$ac_optarg ;;
1285 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1286 | --program-pre | --program-pr | --program-p)
1287 ac_prev
=program_prefix
;;
1288 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1289 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1290 program_prefix
=$ac_optarg ;;
1292 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1293 | --program-suf | --program-su | --program-s)
1294 ac_prev
=program_suffix
;;
1295 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1296 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1297 program_suffix
=$ac_optarg ;;
1299 -program-transform-name | --program-transform-name \
1300 | --program-transform-nam | --program-transform-na \
1301 | --program-transform-n | --program-transform- \
1302 | --program-transform | --program-transfor \
1303 | --program-transfo | --program-transf \
1304 | --program-trans | --program-tran \
1305 | --progr-tra | --program-tr | --program-t)
1306 ac_prev
=program_transform_name
;;
1307 -program-transform-name=* | --program-transform-name=* \
1308 | --program-transform-nam=* | --program-transform-na=* \
1309 | --program-transform-n=* | --program-transform-=* \
1310 | --program-transform=* | --program-transfor=* \
1311 | --program-transfo=* | --program-transf=* \
1312 | --program-trans=* | --program-tran=* \
1313 | --progr-tra=* | --program-tr=* | --program-t=*)
1314 program_transform_name
=$ac_optarg ;;
1316 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1318 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1319 pdfdir
=$ac_optarg ;;
1321 -psdir | --psdir | --psdi | --psd | --ps)
1323 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1327 | -silent | --silent | --silen | --sile | --sil)
1330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1334 sbindir
=$ac_optarg ;;
1336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1338 | --sharedst | --shareds | --shared | --share | --shar \
1340 ac_prev
=sharedstatedir
;;
1341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1345 sharedstatedir
=$ac_optarg ;;
1347 -site | --site | --sit)
1349 -site=* | --site=* | --sit=*)
1352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1355 srcdir
=$ac_optarg ;;
1357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1358 | --syscon | --sysco | --sysc | --sys | --sy)
1359 ac_prev
=sysconfdir
;;
1360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1362 sysconfdir
=$ac_optarg ;;
1364 -target | --target | --targe | --targ | --tar | --ta | --t)
1365 ac_prev
=target_alias
;;
1366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1367 target_alias
=$ac_optarg ;;
1369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1372 -version | --version | --versio | --versi | --vers | -V)
1373 ac_init_version
=: ;;
1376 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_
$ac_package=\
$ac_optarg ;;
1384 -without-* | --without-*)
1385 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1388 { echo "$as_me: error: invalid package name: $ac_package" >&2
1389 { (exit 1); exit 1; }; }
1390 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1391 eval with_
$ac_package=no
;;
1394 # Obsolete; use --with-x.
1397 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1398 | --x-incl | --x-inc | --x-in | --x-i)
1399 ac_prev
=x_includes
;;
1400 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1401 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1402 x_includes
=$ac_optarg ;;
1404 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1405 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1406 ac_prev
=x_libraries
;;
1407 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1408 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1409 x_libraries
=$ac_optarg ;;
1411 -*) { echo "$as_me: error: unrecognized option: $ac_option
1412 Try \`$0 --help' for more information." >&2
1413 { (exit 1); exit 1; }; }
1417 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1418 # Reject names that are not valid shell variable names.
1419 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1420 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1421 { (exit 1); exit 1; }; }
1422 eval $ac_envvar=\
$ac_optarg
1423 export $ac_envvar ;;
1426 # FIXME: should be removed in autoconf 3.0.
1427 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1428 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1429 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1430 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1436 if test -n "$ac_prev"; then
1437 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1438 { echo "$as_me: error: missing argument to $ac_option" >&2
1439 { (exit 1); exit 1; }; }
1442 # Be sure to have absolute directory names.
1443 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1444 datadir sysconfdir sharedstatedir localstatedir includedir \
1445 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1446 libdir localedir mandir
1448 eval ac_val
=\$
$ac_var
1450 [\\/$
]* | ?
:[\\/]* ) continue;;
1451 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1453 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1454 { (exit 1); exit 1; }; }
1457 # There might be people who depend on the old broken behavior: `$host'
1458 # used to hold the argument of --host etc.
1459 # FIXME: To remove some day.
1462 target
=$target_alias
1464 # FIXME: To remove some day.
1465 if test "x$host_alias" != x
; then
1466 if test "x$build_alias" = x
; then
1467 cross_compiling
=maybe
1468 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1469 If a cross compiler is detected then cross compile mode will be used." >&2
1470 elif test "x$build_alias" != "x$host_alias"; then
1476 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1478 test "$silent" = yes && exec 6>/dev
/null
1481 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1482 ac_ls_di
=`ls -di .` &&
1483 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1484 { echo "$as_me: error: Working directory cannot be determined" >&2
1485 { (exit 1); exit 1; }; }
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 { echo "$as_me: error: pwd does not report name of working directory" >&2
1488 { (exit 1); exit 1; }; }
1491 # Find the source files, if location was not specified.
1492 if test -z "$srcdir"; then
1493 ac_srcdir_defaulted
=yes
1494 # Try the directory containing this script, then the parent directory.
1495 ac_confdir
=`$as_dirname -- "$0" ||
1496 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1497 X"$0" : 'X\(//\)[^/]' \| \
1498 X"$0" : 'X\(//\)$' \| \
1499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1523 ac_srcdir_defaulted
=no
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1526 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1527 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1528 { (exit 1); exit 1; }; }
1530 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1532 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1533 { (exit 1); exit 1; }; }
1535 # When building in place, set srcdir=.
1536 if test "$ac_abs_confdir" = "$ac_pwd"; then
1539 # Remove unnecessary trailing slashes from srcdir.
1540 # Double slashes in file names in object file debugging info
1541 # mess up M-x gdb in Emacs.
1543 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1545 for ac_var
in $ac_precious_vars; do
1546 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1547 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1548 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1549 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1553 # Report the --help message.
1555 if test "$ac_init_help" = "long"; then
1556 # Omit some internal or obsolete options to make the list less imposing.
1557 # This message is too long to be a string in the A/UX 3.1 sh.
1559 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1561 Usage: $0 [OPTION]... [VAR=VALUE]...
1563 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1564 VAR=VALUE. See below for descriptions of some of the useful variables.
1566 Defaults for the options are specified in brackets.
1569 -h, --help display this help and exit
1570 --help=short display options specific to this package
1571 --help=recursive display the short help of all the included packages
1572 -V, --version display version information and exit
1573 -q, --quiet, --silent do not print \`checking...' messages
1574 --cache-file=FILE cache test results in FILE [disabled]
1575 -C, --config-cache alias for \`--cache-file=config.cache'
1576 -n, --no-create do not create output files
1577 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1579 Installation directories:
1580 --prefix=PREFIX install architecture-independent files in PREFIX
1581 [$ac_default_prefix]
1582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1585 By default, \`make install' will install all the files in
1586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1588 for instance \`--prefix=\$HOME'.
1590 For better control, use the options below.
1592 Fine tuning of the installation directories:
1593 --bindir=DIR user executables [EPREFIX/bin]
1594 --sbindir=DIR system admin executables [EPREFIX/sbin]
1595 --libexecdir=DIR program executables [EPREFIX/libexec]
1596 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1597 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1598 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1617 --x-includes=DIR X include files are
in DIR
1618 --x-libraries=DIR X library files are
in DIR
1621 --build=BUILD configure
for building on BUILD
[guessed
]
1622 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1623 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1627 if test -n "$ac_init_help"; then
1628 case $ac_init_help in
1629 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1634 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1635 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1636 --disable-gui don
't build GUI parts of the library
1637 --enable-monolithic build wxWidgets as single library
1638 --enable-plugins build parts of wxWidgets as loadable components
1639 --enable-official_build official build of wxWidgets (win32 DLL only)
1640 --enable-vendor=VENDOR vendor name (win32 DLL only)
1641 --disable-all-features disable all optional features to build minimal library
1642 --enable-universal use wxWidgets GUI controls instead of native ones
1643 --enable-nanox use NanoX
1644 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1645 --enable-gpe use GNOME PDA Environment features if possible
1646 --disable-shared create static library instead of shared
1647 --disable-optimise create optimised code
1648 --enable-debug same as debug_flag and debug_info
1649 --enable-stl use STL for containers
1650 --enable-std_iostreams use standard C++ stream classes
1651 --enable-std_string use standard C++ string classes
1652 --disable-unicode compile without Unicode support
1653 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1654 --enable-utf8 use UTF-8 representation for strings (Unix only)
1655 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1656 --enable-extended_rtti use extended RTTI (XTI)
1657 --enable-omf use OMF object format
1658 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1659 --enable-debug_info create code with debugging information
1660 --enable-debug_gdb create code with extra GDB debugging information
1661 --enable-debug_cntxt use wxDebugContext
1662 --enable-mem_tracing create code with memory tracing
1663 --enable-profile create code with profiling information
1664 --enable-no_rtti create code without RTTI information
1665 --enable-no_exceptions create code without C++ exceptions handling
1666 --enable-permissive compile code disregarding strict ANSI
1667 --enable-no_deps create code without dependency information
1668 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1669 --enable-universal_binary[=SDK
] create Mac PowerPC and Intel Universal binary
(not yet working
)
1670 --enable-compat26 enable wxWidgets
2.6 compatibility
1671 --disable-compat28 disable wxWidgets
2.8 compatibility
1672 --disable-rpath disable use of rpath
for uninstalled builds
1673 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1674 --disable-visibility disable use of ELF symbols visibility even
if supported
1675 --enable-intl use internationalization system
1676 --enable-config use wxConfig
(and derived
) classes
1677 --enable-protocols use wxProtocol and derived classes
1678 --enable-ftp use wxFTP
(requires wxProtocol
1679 --enable-http use wxHTTP
(requires wxProtocol
1680 --enable-fileproto use wxFileProto class
(requires wxProtocol
1681 --enable-sockets use socket
/network classes
1682 --enable-ole use OLE classes
(Win32 only
)
1683 --enable-dataobj use data object classes
1684 --enable-ipc use interprocess communication
(wxSocket etc.
)
1685 --enable-baseevtloop use event loop
in console programs too
1686 --enable-epoolloop use wxEpollDispatcher class
(Linux only
)
1687 --enable-selectloop use wxSelectDispatcher class
1688 --enable-apple_ieee use the Apple IEEE codec
1689 --enable-arcstream use wxArchive streams
1690 --enable-base64 use base64 encoding
/decoding functions
1691 --enable-backtrace use wxStackWalker class
for getting backtraces
1692 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1693 --enable-cmdline use wxCmdLineParser class
1694 --enable-datetime use wxDateTime class
1695 --enable-debugreport use wxDebugReport class
1696 --enable-dialupman use dialup network classes
1697 --enable-dynlib use wxLibrary class
for DLL loading
1698 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1699 --enable-exceptions build exception
-safe library
1700 --enable-ffile use wxFFile class
1701 --enable-file use wxFile class
1702 --enable-filesystem use virtual
file systems classes
1703 --enable-fontenum use wxFontEnumerator class
1704 --enable-fontmap use font encodings conversion classes
1705 --enable-fs_archive use virtual archive filesystems
1706 --enable-fs_inet use virtual HTTP
/FTP filesystems
1707 --enable-fs_zip now replaced by fs_archive
1708 --enable-geometry use geometry class
1709 --enable-log use logging system
1710 --enable-longlong use wxLongLong class
1711 --enable-mimetype use wxMimeTypesManager
1712 --enable-snglinst use wxSingleInstanceChecker class
1713 --enable-stdpaths use wxStandardPaths class
1714 --enable-stopwatch use wxStopWatch class
1715 --enable-streams use wxStream etc classes
1716 --enable-sysoptions use wxSystemOptions
1717 --enable-tarstream use wxTar streams
1718 --enable-textbuf use wxTextBuffer class
1719 --enable-textfile use wxTextFile class
1720 --enable-timer use wxTimer class
1721 --enable-sound use wxSound class
1722 --enable-mediactrl use wxMediaCtrl class
1723 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1724 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1725 --enable-zipstream use wxZip streams
1726 --enable-url use wxURL class
1727 --enable-variant use wxVariant class
1728 --enable-protocol use wxProtocol class
1729 --enable-protocol-http HTTP support
in wxProtocol
1730 --enable-protocol-ftp FTP support
in wxProtocol
1731 --enable-protocol-file FILE support
in wxProtocol
1732 --enable-threads use threads
1733 --enable-docview use document view architecture
1734 --enable-help use
help subsystem
1735 --enable-mshtmlhelp use MS HTML Help
(win32
)
1736 --enable-html use wxHTML sub
-library
1737 --enable-htmlhelp use wxHTML
-based help
1738 --enable-xrc use XRC resources sub
-library
1739 --enable-aui use AUI docking library
1740 --enable-stc use wxStyledTextCtrl library
1741 --enable-constraints use layout
-constraints system
1742 --enable-printarch use printing architecture
1743 --enable-mdi use multiple document interface architecture
1744 --enable-mdidoc use docview architecture with MDI
1745 --enable-loggui use standard GUI logger
1746 --enable-logwin use wxLogWindow
1747 --enable-logdialog use wxLogDialog
1748 --enable-webkit use wxWebKitCtrl
(Mac
)
1749 --enable-richtext use wxRichTextCtrl
1750 --enable-graphics_ctx use graphics context
2D drawing API
1751 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1752 --enable-svg use wxSVGFileDC device context
1753 --enable-clipboard use wxClipboard class
1754 --enable-dnd use Drag
'n'Drop classes
1755 --enable-metafile use win32 metafiles
1756 --disable-controls disable compilation of all standard controls
1757 --enable-accel use accelerators
1758 --enable-animatectrl use wxAnimationCtrl class
1759 --enable-button use wxButton class
1760 --enable-bmpbutton use wxBitmapButton class
1761 --enable-bmpcombobox use wxBitmapComboBox class
1762 --enable-calendar use wxCalendarCtrl class
1763 --enable-caret use wxCaret class
1764 --enable-checkbox use wxCheckBox class
1765 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1766 --enable-choice use wxChoice class
1767 --enable-choicebook use wxChoicebook class
1768 --enable-collpane use wxCollapsiblePane class
1769 --enable-colourpicker use wxColourPickerCtrl class
1770 --enable-combobox use wxComboBox class
1771 --enable-comboctrl use wxComboCtrl class
1772 --enable-datepick use wxDatePickerCtrl class
1773 --enable-dirpicker use wxDirPickerCtrl class
1774 --enable-display use wxDisplay class
1775 --enable-detect_sm use code to detect X11 session manager
1776 --enable-editablebox use wxEditableListBox class
1777 --enable-filepicker use wxFilePickerCtrl class
1778 --enable-fontpicker use wxFontPickerCtrl class
1779 --enable-gauge use wxGauge class
1780 --enable-grid use wxGrid class
1781 --enable-dataviewctrl use wxDataViewCtrl class
1782 --enable-hyperlink use wxHyperlinkCtrl class
1783 --enable-imaglist use wxImageList class
1784 --enable-listbook use wxListbook class
1785 --enable-listbox use wxListBox class
1786 --enable-listctrl use wxListCtrl class
1787 --enable-notebook use wxNotebook class
1788 --enable-odcombobox use wxOwnerDrawnComboBox class
1789 --enable-radiobox use wxRadioBox class
1790 --enable-radiobtn use wxRadioButton class
1791 --enable-sash use wxSashWindow class
1792 --enable-scrollbar use wxScrollBar class and scrollable windows
1793 --enable-searchctrl use wxSearchCtrl class
1794 --enable-slider use wxSlider class
1795 --enable-spinbtn use wxSpinButton class
1796 --enable-spinctrl use wxSpinCtrl class
1797 --enable-splitter use wxSplitterWindow class
1798 --enable-statbmp use wxStaticBitmap class
1799 --enable-statbox use wxStaticBox class
1800 --enable-statline use wxStaticLine class
1801 --enable-stattext use wxStaticText class
1802 --enable-statusbar use wxStatusBar class
1803 --enable-tabdialog use wxTabControl class
1804 --enable-taskbaricon use wxTaskBarIcon class
1805 --enable-textctrl use wxTextCtrl class
1806 --enable-togglebtn use wxToggleButton class
1807 --enable-toolbar use wxToolBar class
1808 --enable-tbarnative use native wxToolBar class
1809 --enable-treebook use wxTreebook class
1810 --enable-toolbook use wxToolbook class
1811 --enable-treectrl use wxTreeCtrl class
1812 --enable-tipwindow use wxTipWindow class
1813 --enable-popupwin use wxPopUpWindow class
1814 --enable-commondlg use all common dialogs
1815 --enable-aboutdlg use wxAboutBox
1816 --enable-choicedlg use wxChoiceDialog
1817 --enable-coldlg use wxColourDialog
1818 --enable-filedlg use wxFileDialog
1819 --enable-finddlg use wxFindReplaceDialog
1820 --enable-fontdlg use wxFontDialog
1821 --enable-dirdlg use wxDirDialog
1822 --enable-msgdlg use wxMessageDialog
1823 --enable-numberdlg use wxNumberEntryDialog
1824 --enable-splash use wxSplashScreen
1825 --enable-textdlg use wxTextDialog
1826 --enable-tipdlg use startup tips
1827 --enable-progressdlg use wxProgressDialog
1828 --enable-wizarddlg use wxWizard
1829 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1830 --enable-miniframe use wxMiniFrame class
1831 --enable-tooltips use wxToolTip class
1832 --enable-splines use spline drawing code
1833 --enable-mousewheel use mousewheel
1834 --enable-validators use wxValidator and derived classes
1835 --enable-busyinfo use wxBusyInfo
1836 --enable-joystick use wxJoystick
1837 --enable-metafiles use wxMetaFile
(Win32 only
)
1838 --enable-dragimage use wxDragImage
1839 --enable-accessibility enable accessibility support
1840 --enable-palette use wxPalette class
1841 --enable-image use wxImage class
1842 --enable-gif use gif images
(GIF
file format
)
1843 --enable-pcx use pcx images
(PCX
file format
)
1844 --enable-tga use tga images
(TGA
file format
)
1845 --enable-iff use iff images
(IFF
file format
)
1846 --enable-pnm use pnm images
(PNM
file format
)
1847 --enable-xpm use xpm images
(XPM
file format
)
1848 --enable-icocur use Windows ICO and CUR formats
1849 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1850 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1851 --enable-ownerdrawn use owner drawn controls
(Win32 only
)
1852 --enable-regkey use wxRegKey class
(Win32 only
)
1853 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1854 --enable-wxdib use wxDIB class
(Win32 only
)
1855 --disable-largefile omit support
for large files
1856 --disable-gtktest do not try to compile and run a
test GTK
+ program
1857 --disable-gtktest Do not try to compile and run a
test GTK program
1858 --disable-sdltest Do not try to compile and run a
test SDL program
1859 --enable-omf use OMF object format
(OS
/2)
1860 --disable-dependency-tracking
1861 don
't use dependency tracking even if the compiler
1863 --disable-precomp-headers
1864 don't use precompiled headers even
if compiler can
1867 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1868 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1869 --without-subdirs don
't generate makefiles for samples/demos/...
1870 --with-flavour=NAME specify a name to identify this build
1871 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1872 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1873 --with-motif use Motif/Lesstif
1874 --with-mac use Mac OS X
1875 --with-cocoa use Cocoa
1876 --with-wine use Wine
1877 --with-msw use MS-Windows
1878 --with-pm use OS/2 Presentation Manager
1879 --with-mgl use SciTech MGL
1880 --with-directfb use DirectFB
1881 --with-microwin use MicroWindows
1883 --with-libpng use libpng (PNG image format)
1884 --with-libjpeg use libjpeg (JPEG file format)
1885 --with-libtiff use libtiff (TIFF file format)
1886 --with-libxpm use libxpm (XPM file format)
1887 --with-libmspack use libmspack (CHM help files loading)
1888 --without-gnomeprint don't use GNOME printing libraries
1889 --with-gnomevfs use GNOME VFS
for associating MIME types
1890 --with-hildon use Hildon framework
for Nokia
770
1891 --with-opengl use OpenGL
(or Mesa
)
1892 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1893 --with-sdl use SDL
for audio on Unix
1894 --with-regex enable support
for wxRegEx class
1895 --with-zlib use zlib
for LZW compression
1896 --with-odbc use the IODBC and wxODBC classes
1897 --with-expat enable XML support using expat parser
1898 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1899 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1900 --with-x use the X Window System
1901 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1902 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1903 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1904 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1905 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1907 Some influential environment variables
:
1908 CC C compiler
command
1909 CFLAGS C compiler flags
1910 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1911 nonstandard directory
<lib dir
>
1912 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1913 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1914 you have headers
in a nonstandard directory
<include dir
>
1916 CXX C
++ compiler
command
1917 CXXFLAGS C
++ compiler flags
1918 PKG_CONFIG path to pkg
-config utility
1920 C compiler flags
for DIRECTFB
, overriding pkg
-config
1922 linker flags
for DIRECTFB
, overriding pkg
-config
1923 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1925 C compiler flags
for PANGOX
, overriding pkg
-config
1926 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1928 C compiler flags
for PANGOFT2
, overriding pkg
-config
1930 linker flags
for PANGOFT2
, overriding pkg
-config
1932 C compiler flags
for PANGOXFT
, overriding pkg
-config
1934 linker flags
for PANGOXFT
, overriding pkg
-config
1935 LIBGNOMEPRINTUI_CFLAGS
1936 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1937 LIBGNOMEPRINTUI_LIBS
1938 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1940 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1942 linker flags
for GNOMEVFS
, overriding pkg
-config
1944 C compiler flags
for HILDON
, overriding pkg
-config
1945 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1947 C compiler flags
for CAIRO
, overriding pkg
-config
1948 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1949 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1950 GST_LIBS linker flags
for GST
, overriding pkg
-config
1952 Use these variables to override the choices made by
`configure' or to help
1953 it to find libraries and programs with nonstandard names/locations.
1955 Report bugs to <wx-dev@lists.wxwidgets.org>.
1960 if test "$ac_init_help" = "recursive"; then
1961 # If there are subdirs, report their specific --help.
1962 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1963 test -d "$ac_dir" || continue
1967 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1969 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1970 # A ".." for each directory in $ac_dir_suffix.
1971 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1972 case $ac_top_builddir_sub in
1973 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1974 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1977 ac_abs_top_builddir=$ac_pwd
1978 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1979 # for backward compatibility:
1980 ac_top_builddir=$ac_top_build_prefix
1983 .) # We are building in place.
1985 ac_top_srcdir=$ac_top_builddir_sub
1986 ac_abs_top_srcdir=$ac_pwd ;;
1987 [\\/]* | ?:[\\/]* ) # Absolute name.
1988 ac_srcdir=$srcdir$ac_dir_suffix;
1989 ac_top_srcdir=$srcdir
1990 ac_abs_top_srcdir=$srcdir ;;
1992 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1993 ac_top_srcdir=$ac_top_build_prefix$srcdir
1994 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1996 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1998 cd "$ac_dir" || { ac_status=$?; continue; }
1999 # Check for guested configure.
2000 if test -f "$ac_srcdir/configure.gnu"; then
2002 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2003 elif test -f "$ac_srcdir/configure"; then
2005 $SHELL "$ac_srcdir/configure" --help=recursive
2007 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2009 cd "$ac_pwd" || { ac_status=$?; break; }
2013 test -n "$ac_init_help" && exit $ac_status
2014 if $ac_init_version; then
2016 wxWidgets configure 2.9.0
2017 generated by GNU Autoconf 2.61
2019 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2020 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2021 This configure script is free software; the Free Software Foundation
2022 gives unlimited permission to copy, distribute and modify it.
2026 cat >config.log <<_ACEOF
2027 This file contains any messages produced by compilers while
2028 running configure, to aid debugging if configure makes a mistake.
2030 It was created by wxWidgets $as_me 2.9.0, which was
2031 generated by GNU Autoconf 2.61. Invocation command line was
2043 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2044 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2045 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2046 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2047 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2049 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2050 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2052 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2053 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2054 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2055 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2056 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2057 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2058 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2066 test -z "$as_dir" && as_dir=.
2067 echo "PATH: $as_dir"
2083 # Keep a trace of the command line.
2084 # Strip out --no-create and --no-recursion so they do not pile up.
2085 # Strip out --silent because we don't want to record it for future runs.
2086 # Also quote any args containing shell meta-characters.
2087 # Make two passes to allow for proper duplicate-argument suppression.
2091 ac_must_keep_next=false
2097 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2098 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2099 | -silent | --silent | --silen | --sile | --sil)
2102 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2105 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2107 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2108 if test $ac_must_keep_next = true; then
2109 ac_must_keep_next=false # Got value, back to normal.
2112 *=* | --config-cache | -C | -disable-* | --disable-* \
2113 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2114 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2115 | -with-* | --with-* | -without-* | --without-* | --x)
2116 case "$ac_configure_args0 " in
2117 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2120 -* ) ac_must_keep_next=true ;;
2123 ac_configure_args="$ac_configure_args '$ac_arg'"
2128 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2129 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2131 # When interrupted or exit'd, cleanup temporary files, and complete
2132 # config.log. We remove comments because anyway the quotes in there
2133 # would cause problems or look ugly.
2134 # WARNING: Use '\'' to represent an apostrophe within the trap.
2135 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2136 trap 'exit_status=$?
2137 # Save into config.log some information that might help in debugging.
2142 ## ---------------- ##
2143 ## Cache variables. ##
2144 ## ---------------- ##
2147 # The following way of writing the cache mishandles newlines in values,
2149 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2150 eval ac_val=\$$ac_var
2154 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2155 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2158 _ | IFS | as_nl) ;; #(
2159 *) $as_unset $ac_var ;;
2164 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2165 *${as_nl}ac_space=\ *)
2167 "s/'\''/'\''\\\\'\'''\''/g;
2168 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2171 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2179 ## ----------------- ##
2180 ## Output variables. ##
2181 ## ----------------- ##
2184 for ac_var in $ac_subst_vars
2186 eval ac_val=\$$ac_var
2188 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2190 echo "$ac_var='\''$ac_val'\''"
2194 if test -n "$ac_subst_files"; then
2196 ## ------------------- ##
2197 ## File substitutions. ##
2198 ## ------------------- ##
2201 for ac_var in $ac_subst_files
2203 eval ac_val=\$$ac_var
2205 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2207 echo "$ac_var='\''$ac_val'\''"
2212 if test -s confdefs.h; then
2222 test "$ac_signal" != 0 &&
2223 echo "$as_me: caught signal $ac_signal"
2224 echo "$as_me: exit $exit_status"
2226 rm -f core *.core core.conftest.* &&
2227 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2230 for ac_signal in 1 2 13 15; do
2231 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2235 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2236 rm -f -r conftest* confdefs.h
2238 # Predefined preprocessor variables.
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_NAME "$PACKAGE_NAME"
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2250 cat >>confdefs.h <<_ACEOF
2251 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_STRING "$PACKAGE_STRING"
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2265 # Let the site file select an alternate cache file if it wants to.
2266 # Prefer explicitly selected file to automatically selected ones.
2267 if test -n "$CONFIG_SITE"; then
2268 set x "$CONFIG_SITE"
2269 elif test "x$prefix" != xNONE; then
2270 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2272 set x "$ac_default_prefix/share/config.site" \
2273 "$ac_default_prefix/etc/config.site"
2278 if test -r "$ac_site_file"; then
2279 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2280 echo "$as_me: loading site script $ac_site_file" >&6;}
2281 sed 's/^/| /' "$ac_site_file" >&5
2286 if test -r "$cache_file"; then
2287 # Some versions of bash will fail to source /dev/null (special
2288 # files actually), so we avoid doing that.
2289 if test -f "$cache_file"; then
2290 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2291 echo "$as_me: loading cache $cache_file" >&6;}
2293 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2294 *) . "./$cache_file";;
2298 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2299 echo "$as_me: creating cache $cache_file" >&6;}
2303 # Check that the precious variables saved in the cache have kept the same
2305 ac_cache_corrupted=false
2306 for ac_var in $ac_precious_vars; do
2307 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2308 eval ac_new_set=\$ac_env_${ac_var}_set
2309 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2310 eval ac_new_val=\$ac_env_${ac_var}_value
2311 case $ac_old_set,$ac_new_set in
2313 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2314 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2315 ac_cache_corrupted=: ;;
2317 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2318 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2319 ac_cache_corrupted=: ;;
2322 if test "x$ac_old_val" != "x$ac_new_val"; then
2323 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2324 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2325 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
2326 echo "$as_me: former value
: $ac_old_val" >&2;}
2327 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
2328 echo "$as_me: current value
: $ac_new_val" >&2;}
2329 ac_cache_corrupted=:
2332 # Pass precious variables to config.status.
2333 if test "$ac_new_set" = set; then
2335 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2336 *) ac_arg=$ac_var=$ac_new_val ;;
2338 case " $ac_configure_args " in
2339 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2340 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2344 if $ac_cache_corrupted; then
2345 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2346 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2347 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2348 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2349 { (exit 1); exit 1; }; }
2377 ac_cpp='$CPP $CPPFLAGS'
2378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2387 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2388 if test -f "$ac_dir/install-sh"; then
2390 ac_install_sh="$ac_aux_dir/install-sh -c"
2392 elif test -f "$ac_dir/install.sh"; then
2394 ac_install_sh="$ac_aux_dir/install.sh -c"
2396 elif test -f "$ac_dir/shtool"; then
2398 ac_install_sh="$ac_aux_dir/shtool install -c"
2402 if test -z "$ac_aux_dir"; then
2403 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2404 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2405 { (exit 1); exit 1; }; }
2408 # These three variables are undocumented and unsupported,
2409 # and are intended to be withdrawn in a future Autoconf release.
2410 # They can cause serious problems if a builder's source tree is in a directory
2411 # whose full name contains unusual characters.
2412 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2413 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2414 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2417 # Make sure we can run config.sub.
2418 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2419 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2420 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2421 { (exit 1); exit 1; }; }
2423 { echo "$as_me:$LINENO: checking build system type" >&5
2424 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2425 if test "${ac_cv_build+set}" = set; then
2426 echo $ECHO_N "(cached) $ECHO_C" >&6
2428 ac_build_alias=$build_alias
2429 test "x$ac_build_alias" = x &&
2430 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2431 test "x$ac_build_alias" = x &&
2432 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2433 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2434 { (exit 1); exit 1; }; }
2435 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2436 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2437 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2438 { (exit 1); exit 1; }; }
2441 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2442 echo "${ECHO_T}$ac_cv_build" >&6; }
2443 case $ac_cv_build in
2445 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2446 echo "$as_me: error: invalid value of canonical build" >&2;}
2447 { (exit 1); exit 1; }; };;
2450 ac_save_IFS=$IFS; IFS='-'
2456 # Remember, the first character of IFS is used to create $*,
2457 # except with old shells:
2460 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2463 { echo "$as_me:$LINENO: checking host system type" >&5
2464 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2465 if test "${ac_cv_host+set}" = set; then
2466 echo $ECHO_N "(cached) $ECHO_C" >&6
2468 if test "x$host_alias" = x; then
2469 ac_cv_host=$ac_cv_build
2471 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2472 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2473 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2474 { (exit 1); exit 1; }; }
2478 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2479 echo "${ECHO_T}$ac_cv_host" >&6; }
2482 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2483 echo "$as_me: error: invalid value of canonical host" >&2;}
2484 { (exit 1); exit 1; }; };;
2487 ac_save_IFS=$IFS; IFS='-'
2493 # Remember, the first character of IFS is used to create $*,
2494 # except with old shells:
2497 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2500 { echo "$as_me:$LINENO: checking target system type" >&5
2501 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2502 if test "${ac_cv_target+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 if test "x$target_alias" = x; then
2506 ac_cv_target=$ac_cv_host
2508 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2509 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2510 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2511 { (exit 1); exit 1; }; }
2515 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2516 echo "${ECHO_T}$ac_cv_target" >&6; }
2517 case $ac_cv_target in
2519 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2520 echo "$as_me: error: invalid value of canonical target" >&2;}
2521 { (exit 1); exit 1; }; };;
2523 target=$ac_cv_target
2524 ac_save_IFS=$IFS; IFS='-'
2530 # Remember, the first character of IFS is used to create $*,
2531 # except with old shells:
2534 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2537 # The aliases save the names the user supplied, while $host etc.
2538 # will get canonicalized.
2539 test -n "$target_alias" &&
2540 test "$program_prefix$program_suffix$program_transform_name" = \
2542 program_prefix=${target_alias}-
2546 wx_major_version_number=2
2547 wx_minor_version_number=9
2549 wx_subrelease_number=0
2551 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2552 WX_VERSION=$WX_RELEASE.$wx_release_number
2553 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2555 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2558 wx_top_builddir="`pwd`"
2571 USE_BSD= USE_DARWIN= USE_FREEBSD=
2577 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2583 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2585 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2587 DEFAULT_wxUSE_COCOA=0
2591 DEFAULT_wxUSE_MICROWIN=0
2592 DEFAULT_wxUSE_MOTIF=0
2598 DEFAULT_DEFAULT_wxUSE_COCOA=0
2599 DEFAULT_DEFAULT_wxUSE_GTK=0
2600 DEFAULT_DEFAULT_wxUSE_MAC=0
2601 DEFAULT_DEFAULT_wxUSE_MGL=0
2602 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2603 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2604 DEFAULT_DEFAULT_wxUSE_MSW=0
2605 DEFAULT_DEFAULT_wxUSE_PM=0
2606 DEFAULT_DEFAULT_wxUSE_X11=0
2607 DEFAULT_DEFAULT_wxUSE_DFB=0
2612 SAMPLES_RPATH_POSTLINK=
2614 DEFAULT_STD_FLAG=yes
2619 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2620 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2622 cat >>confdefs.h <<\_ACEOF
2627 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2631 cat >>confdefs.h <<\_ACEOF
2636 if test "x$TMP" = "xalpha"; then
2638 cat >>confdefs.h <<\_ACEOF
2643 DEFAULT_DEFAULT_wxUSE_GTK=1
2645 *-*-gnu* | *-*-k*bsd*-gnu )
2648 if test "x$TMP" = "xalpha"; then
2650 cat >>confdefs.h <<\_ACEOF
2655 DEFAULT_DEFAULT_wxUSE_GTK=1
2657 *-*-irix5* | *-*-irix6* )
2660 cat >>confdefs.h <<\_ACEOF
2664 cat >>confdefs.h <<\_ACEOF
2668 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2674 cat >>confdefs.h <<\_ACEOF
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __SOLARIS__ 1
2682 cat >>confdefs.h <<\_ACEOF
2686 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2687 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2693 cat >>confdefs.h <<\_ACEOF
2697 cat >>confdefs.h <<\_ACEOF
2701 cat >>confdefs.h <<\_ACEOF
2705 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2710 cat >>confdefs.h <<\_ACEOF
2711 #define __FREEBSD__ 1
2714 cat >>confdefs.h <<\_ACEOF
2718 DEFAULT_DEFAULT_wxUSE_GTK=1
2720 *-*-openbsd*|*-*-mirbsd*)
2723 cat >>confdefs.h <<\_ACEOF
2724 #define __OPENBSD__ 1
2727 cat >>confdefs.h <<\_ACEOF
2731 DEFAULT_DEFAULT_wxUSE_GTK=1
2736 cat >>confdefs.h <<\_ACEOF
2737 #define __NETBSD__ 1
2740 cat >>confdefs.h <<\_ACEOF
2744 DEFAULT_DEFAULT_wxUSE_GTK=1
2745 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2747 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2752 cat >>confdefs.h <<\_ACEOF
2756 cat >>confdefs.h <<\_ACEOF
2760 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2761 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2766 cat >>confdefs.h <<\_ACEOF
2770 cat >>confdefs.h <<\_ACEOF
2774 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2779 cat >>confdefs.h <<\_ACEOF
2783 cat >>confdefs.h <<\_ACEOF
2787 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2794 cat >>confdefs.h <<\_ACEOF
2798 cat >>confdefs.h <<\_ACEOF
2802 cat >>confdefs.h <<\_ACEOF
2806 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2813 cat >>confdefs.h <<\_ACEOF
2814 #define __UNIXWARE__ 1
2819 *-*-cygwin* | *-*-mingw32* )
2822 DEFAULT_DEFAULT_wxUSE_MSW=1
2828 cat >>confdefs.h <<\_ACEOF
2833 DEFAULT_DEFAULT_wxUSE_MGL=1
2836 *-pc-os2_emx | *-pc-os2-emx )
2837 cat >>confdefs.h <<\_ACEOF
2842 cat >>confdefs.h <<\_ACEOF
2847 DEFAULT_DEFAULT_wxUSE_PM=1
2849 LDFLAGS="$LDFLAGS -Zcrtdll"
2850 ac_executable_extensions=".exe"
2851 export ac_executable_extensions
2855 for ac_dir in $PATH; do
2857 if test -z "$ac_TEMP_PATH"; then
2858 ac_TEMP_PATH="$ac_dir"
2860 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2863 export PATH="$ac_TEMP_PATH"
2872 cat >>confdefs.h <<\_ACEOF
2876 cat >>confdefs.h <<\_ACEOF
2877 #define __DARWIN__ 1
2880 cat >>confdefs.h <<\_ACEOF
2881 #define TARGET_CARBON 1
2884 DEFAULT_DEFAULT_wxUSE_MAC=1
2887 powerpc-apple-macos* )
2889 ac_cv_c_bigendian=yes
2891 DEFAULT_DEFAULT_wxUSE_MAC=1
2897 cat >>confdefs.h <<\_ACEOF
2904 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2905 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2906 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2907 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2909 DEFAULT_DEFAULT_wxUSE_X11=1
2910 DEFAULT_wxUSE_SHARED=no
2916 wx_arg_cache_file="configarg.cache"
2917 echo "loading argument cache $wx_arg_cache_file"
2918 rm -f ${wx_arg_cache_file}.tmp
2919 touch ${wx_arg_cache_file}.tmp
2920 touch ${wx_arg_cache_file}
2923 DEFAULT_wxUSE_ALL_FEATURES=yes
2925 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2926 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2928 DEFAULT_wxUSE_DMALLOC=no
2929 DEFAULT_wxUSE_LIBGNOMEVFS=no
2930 DEFAULT_wxUSE_LIBHILDON=no
2931 DEFAULT_wxUSE_LIBMSPACK=no
2932 DEFAULT_wxUSE_LIBSDL=no
2933 DEFAULT_wxUSE_ODBC=no
2934 DEFAULT_wxUSE_OPENGL=no
2936 DEFAULT_wxUSE_ACCESSIBILITY=no
2937 DEFAULT_wxUSE_DATAVIEWCTRL=no
2938 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2939 DEFAULT_wxUSE_MEDIACTRL=no
2940 DEFAULT_wxUSE_TAB_DIALOG=no
2942 DEFAULT_wxUSE_UNICODE_UTF8=auto
2943 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2945 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2947 DEFAULT_wxUSE_GTK2=yes
2949 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2952 for toolkit in `echo $ALL_TOOLKITS`; do
2953 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2954 if test "x$LINE" != "x" ; then
2955 has_toolkit_in_cache=1
2956 eval "DEFAULT_$LINE"
2957 eval "CACHE_$toolkit=1"
2959 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2960 if test "x$LINE" != "x" ; then
2961 eval "DEFAULT_$LINE"
2970 enablestring=disable
2972 if test -z "$defaultval"; then
2973 if test x"$enablestring" = xdisable; then
2980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2981 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2982 # Check whether --enable-gui was given.
2983 if test "${enable_gui+set}" = set; then
2984 enableval=$enable_gui;
2985 if test "$enableval" = yes; then
2986 wx_cv_use_gui='wxUSE_GUI=yes'
2988 wx_cv_use_gui='wxUSE_GUI=no'
2995 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2996 if test "x$LINE" != x ; then
2997 eval "DEFAULT_$LINE"
3000 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3005 eval "$wx_cv_use_gui"
3006 if test "x$cache" = xyes; then
3007 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3010 if test x"$enablestring" = xdisable; then
3011 if test $wxUSE_GUI = yes; then
3020 { echo "$as_me:$LINENO: result: $result" >&5
3021 echo "${ECHO_T}$result" >&6; }
3026 if test -z "$defaultval"; then
3027 if test x"$enablestring" = xdisable; then
3034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3035 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3036 # Check whether --enable-monolithic was given.
3037 if test "${enable_monolithic+set}" = set; then
3038 enableval=$enable_monolithic;
3039 if test "$enableval" = yes; then
3040 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3042 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3049 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3050 if test "x$LINE" != x ; then
3051 eval "DEFAULT_$LINE"
3054 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3059 eval "$wx_cv_use_monolithic"
3060 if test "x$cache" = xyes; then
3061 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3064 if test x"$enablestring" = xdisable; then
3065 if test $wxUSE_MONOLITHIC = yes; then
3071 result=$wxUSE_MONOLITHIC
3074 { echo "$as_me:$LINENO: result: $result" >&5
3075 echo "${ECHO_T}$result" >&6; }
3080 if test -z "$defaultval"; then
3081 if test x"$enablestring" = xdisable; then
3088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3089 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3090 # Check whether --enable-plugins was given.
3091 if test "${enable_plugins+set}" = set; then
3092 enableval=$enable_plugins;
3093 if test "$enableval" = yes; then
3094 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3096 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3103 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3104 if test "x$LINE" != x ; then
3105 eval "DEFAULT_$LINE"
3108 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3113 eval "$wx_cv_use_plugins"
3114 if test "x$cache" = xyes; then
3115 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3118 if test x"$enablestring" = xdisable; then
3119 if test $wxUSE_PLUGINS = yes; then
3125 result=$wxUSE_PLUGINS
3128 { echo "$as_me:$LINENO: result: $result" >&5
3129 echo "${ECHO_T}$result" >&6; }
3133 defaultval=$wxUSE_ALL_FEATURES
3134 if test -z "$defaultval"; then
3135 if test x"$withstring" = xwithout; then
3141 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3142 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3144 # Check whether --with-subdirs was given.
3145 if test "${with_subdirs+set}" = set; then
3146 withval=$with_subdirs;
3147 if test "$withval" = yes; then
3148 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3150 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3157 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3158 if test "x$LINE" != x ; then
3159 eval "DEFAULT_$LINE"
3162 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3167 eval "$wx_cv_use_subdirs"
3168 if test "x$cache" = xyes; then
3169 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3172 if test x"$withstring" = xwithout; then
3173 if test $wxWITH_SUBDIRS = yes; then
3179 result=$wxWITH_SUBDIRS
3182 { echo "$as_me:$LINENO: result: $result" >&5
3183 echo "${ECHO_T}$result" >&6; }
3186 # Check whether --with-flavour was given.
3187 if test "${with_flavour+set}" = set; then
3188 withval=$with_flavour; WX_FLAVOUR="$withval"
3194 if test -z "$defaultval"; then
3195 if test x"$enablestring" = xdisable; then
3202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3203 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3204 # Check whether --enable-official_build was given.
3205 if test "${enable_official_build+set}" = set; then
3206 enableval=$enable_official_build;
3207 if test "$enableval" = yes; then
3208 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3210 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3217 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3218 if test "x$LINE" != x ; then
3219 eval "DEFAULT_$LINE"
3222 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3227 eval "$wx_cv_use_official_build"
3228 if test "x$cache" = xyes; then
3229 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3232 if test x"$enablestring" = xdisable; then
3233 if test $wxUSE_OFFICIAL_BUILD = yes; then
3239 result=$wxUSE_OFFICIAL_BUILD
3242 { echo "$as_me:$LINENO: result: $result" >&5
3243 echo "${ECHO_T}$result" >&6; }
3245 # Check whether --enable-vendor was given.
3246 if test "${enable_vendor+set}" = set; then
3247 enableval=$enable_vendor; VENDOR="$enableval"
3250 if test "x$VENDOR" = "x"; then
3255 enablestring=disable
3257 if test -z "$defaultval"; then
3258 if test x"$enablestring" = xdisable; then
3265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3266 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3267 # Check whether --enable-all-features was given.
3268 if test "${enable_all_features+set}" = set; then
3269 enableval=$enable_all_features;
3270 if test "$enableval" = yes; then
3271 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3273 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3280 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3281 if test "x$LINE" != x ; then
3282 eval "DEFAULT_$LINE"
3285 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3290 eval "$wx_cv_use_all_features"
3291 if test "x$cache" = xyes; then
3292 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3295 if test x"$enablestring" = xdisable; then
3296 if test $wxUSE_ALL_FEATURES = yes; then
3302 result=$wxUSE_ALL_FEATURES
3305 { echo "$as_me:$LINENO: result: $result" >&5
3306 echo "${ECHO_T}$result" >&6; }
3310 if test "$wxUSE_GUI" = "yes"; then
3315 if test -z "$defaultval"; then
3316 if test x"$enablestring" = xdisable; then
3323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3324 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3325 # Check whether --enable-universal was given.
3326 if test "${enable_universal+set}" = set; then
3327 enableval=$enable_universal;
3328 if test "$enableval" = yes; then
3329 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3331 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3338 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3339 if test "x$LINE" != x ; then
3340 eval "DEFAULT_$LINE"
3343 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3348 eval "$wx_cv_use_universal"
3349 if test "x$cache" = xyes; then
3350 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3353 if test x"$enablestring" = xdisable; then
3354 if test $wxUSE_UNIVERSAL = yes; then
3360 result=$wxUSE_UNIVERSAL
3363 { echo "$as_me:$LINENO: result: $result" >&5
3364 echo "${ECHO_T}$result" >&6; }
3366 if test "$wxUSE_UNIVERSAL" = "yes"; then
3368 # Check whether --with-themes was given.
3369 if test "${with_themes+set}" = set; then
3370 withval=$with_themes; wxUNIV_THEMES="$withval"
3376 # Check whether --with-gtk was given.
3377 if test "${with_gtk+set}" = set; then
3378 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3382 # Check whether --with-motif was given.
3383 if test "${with_motif+set}" = set; then
3384 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3388 # Check whether --with-mac was given.
3389 if test "${with_mac+set}" = set; then
3390 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3394 # Check whether --with-cocoa was given.
3395 if test "${with_cocoa+set}" = set; then
3396 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3400 # Check whether --with-wine was given.
3401 if test "${with_wine+set}" = set; then
3402 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3406 # Check whether --with-msw was given.
3407 if test "${with_msw+set}" = set; then
3408 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3412 # Check whether --with-pm was given.
3413 if test "${with_pm+set}" = set; then
3414 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3418 # Check whether --with-mgl was given.
3419 if test "${with_mgl+set}" = set; then
3420 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3424 # Check whether --with-directfb was given.
3425 if test "${with_directfb+set}" = set; then
3426 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3430 # Check whether --with-microwin was given.
3431 if test "${with_microwin+set}" = set; then
3432 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3436 # Check whether --with-x11 was given.
3437 if test "${with_x11+set}" = set; then
3438 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3444 if test -z "$defaultval"; then
3445 if test x"$enablestring" = xdisable; then
3452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3453 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3454 # Check whether --enable-nanox was given.
3455 if test "${enable_nanox+set}" = set; then
3456 enableval=$enable_nanox;
3457 if test "$enableval" = yes; then
3458 wx_cv_use_nanox='wxUSE_NANOX=yes'
3460 wx_cv_use_nanox='wxUSE_NANOX=no'
3467 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3468 if test "x$LINE" != x ; then
3469 eval "DEFAULT_$LINE"
3472 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3477 eval "$wx_cv_use_nanox"
3478 if test "x$cache" = xyes; then
3479 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3482 if test x"$enablestring" = xdisable; then
3483 if test $wxUSE_NANOX = yes; then
3492 { echo "$as_me:$LINENO: result: $result" >&5
3493 echo "${ECHO_T}$result" >&6; }
3496 # Check whether --enable-gtk2 was given.
3497 if test "${enable_gtk2+set}" = set; then
3498 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3504 if test -z "$defaultval"; then
3505 if test x"$enablestring" = xdisable; then
3512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3513 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3514 # Check whether --enable-gpe was given.
3515 if test "${enable_gpe+set}" = set; then
3516 enableval=$enable_gpe;
3517 if test "$enableval" = yes; then
3518 wx_cv_use_gpe='wxUSE_GPE=yes'
3520 wx_cv_use_gpe='wxUSE_GPE=no'
3527 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3528 if test "x$LINE" != x ; then
3529 eval "DEFAULT_$LINE"
3532 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3537 eval "$wx_cv_use_gpe"
3538 if test "x$cache" = xyes; then
3539 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3542 if test x"$enablestring" = xdisable; then
3543 if test $wxUSE_GPE = yes; then
3552 { echo "$as_me:$LINENO: result: $result" >&5
3553 echo "${ECHO_T}$result" >&6; }
3558 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3559 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3561 # Check whether --with-libpng was given.
3562 if test "${with_libpng+set}" = set; then
3563 withval=$with_libpng;
3564 if test "$withval" = yes; then
3565 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3566 elif test "$withval" = no; then
3567 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3568 elif test "$withval" = sys; then
3569 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3570 elif test "$withval" = builtin; then
3571 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3573 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3574 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3575 { (exit 1); exit 1; }; }
3582 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3583 if test "x$LINE" != x ; then
3584 eval "DEFAULT_$LINE"
3587 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3592 eval "$wx_cv_use_libpng"
3593 if test "x$cache" = xyes; then
3594 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3597 if test "$wxUSE_LIBPNG" = yes; then
3598 { echo "$as_me:$LINENO: result: yes" >&5
3599 echo "${ECHO_T}yes" >&6; }
3600 elif test "$wxUSE_LIBPNG" = no; then
3601 { echo "$as_me:$LINENO: result: no" >&5
3602 echo "${ECHO_T}no" >&6; }
3603 elif test "$wxUSE_LIBPNG" = sys; then
3604 { echo "$as_me:$LINENO: result: system version" >&5
3605 echo "${ECHO_T}system version" >&6; }
3606 elif test "$wxUSE_LIBPNG" = builtin; then
3607 { echo "$as_me:$LINENO: result: builtin version" >&5
3608 echo "${ECHO_T}builtin version" >&6; }
3610 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3611 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3612 { (exit 1); exit 1; }; }
3616 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3617 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3619 # Check whether --with-libjpeg was given.
3620 if test "${with_libjpeg+set}" = set; then
3621 withval=$with_libjpeg;
3622 if test "$withval" = yes; then
3623 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3624 elif test "$withval" = no; then
3625 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3626 elif test "$withval" = sys; then
3627 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3628 elif test "$withval" = builtin; then
3629 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3631 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3632 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3633 { (exit 1); exit 1; }; }
3640 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3641 if test "x$LINE" != x ; then
3642 eval "DEFAULT_$LINE"
3645 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3650 eval "$wx_cv_use_libjpeg"
3651 if test "x$cache" = xyes; then
3652 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3655 if test "$wxUSE_LIBJPEG" = yes; then
3656 { echo "$as_me:$LINENO: result: yes" >&5
3657 echo "${ECHO_T}yes" >&6; }
3658 elif test "$wxUSE_LIBJPEG" = no; then
3659 { echo "$as_me:$LINENO: result: no" >&5
3660 echo "${ECHO_T}no" >&6; }
3661 elif test "$wxUSE_LIBJPEG" = sys; then
3662 { echo "$as_me:$LINENO: result: system version" >&5
3663 echo "${ECHO_T}system version" >&6; }
3664 elif test "$wxUSE_LIBJPEG" = builtin; then
3665 { echo "$as_me:$LINENO: result: builtin version" >&5
3666 echo "${ECHO_T}builtin version" >&6; }
3668 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3669 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3670 { (exit 1); exit 1; }; }
3674 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3675 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3677 # Check whether --with-libtiff was given.
3678 if test "${with_libtiff+set}" = set; then
3679 withval=$with_libtiff;
3680 if test "$withval" = yes; then
3681 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3682 elif test "$withval" = no; then
3683 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3684 elif test "$withval" = sys; then
3685 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3686 elif test "$withval" = builtin; then
3687 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3689 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3690 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3691 { (exit 1); exit 1; }; }
3698 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3699 if test "x$LINE" != x ; then
3700 eval "DEFAULT_$LINE"
3703 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3708 eval "$wx_cv_use_libtiff"
3709 if test "x$cache" = xyes; then
3710 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3713 if test "$wxUSE_LIBTIFF" = yes; then
3714 { echo "$as_me:$LINENO: result: yes" >&5
3715 echo "${ECHO_T}yes" >&6; }
3716 elif test "$wxUSE_LIBTIFF" = no; then
3717 { echo "$as_me:$LINENO: result: no" >&5
3718 echo "${ECHO_T}no" >&6; }
3719 elif test "$wxUSE_LIBTIFF" = sys; then
3720 { echo "$as_me:$LINENO: result: system version" >&5
3721 echo "${ECHO_T}system version" >&6; }
3722 elif test "$wxUSE_LIBTIFF" = builtin; then
3723 { echo "$as_me:$LINENO: result: builtin version" >&5
3724 echo "${ECHO_T}builtin version" >&6; }
3726 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3727 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3728 { (exit 1); exit 1; }; }
3732 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3733 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3735 # Check whether --with-libxpm was given.
3736 if test "${with_libxpm+set}" = set; then
3737 withval=$with_libxpm;
3738 if test "$withval" = yes; then
3739 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3740 elif test "$withval" = no; then
3741 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3742 elif test "$withval" = sys; then
3743 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3744 elif test "$withval" = builtin; then
3745 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3747 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3748 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3749 { (exit 1); exit 1; }; }
3756 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3757 if test "x$LINE" != x ; then
3758 eval "DEFAULT_$LINE"
3761 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3766 eval "$wx_cv_use_libxpm"
3767 if test "x$cache" = xyes; then
3768 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3771 if test "$wxUSE_LIBXPM" = yes; then
3772 { echo "$as_me:$LINENO: result: yes" >&5
3773 echo "${ECHO_T}yes" >&6; }
3774 elif test "$wxUSE_LIBXPM" = no; then
3775 { echo "$as_me:$LINENO: result: no" >&5
3776 echo "${ECHO_T}no" >&6; }
3777 elif test "$wxUSE_LIBXPM" = sys; then
3778 { echo "$as_me:$LINENO: result: system version" >&5
3779 echo "${ECHO_T}system version" >&6; }
3780 elif test "$wxUSE_LIBXPM" = builtin; then
3781 { echo "$as_me:$LINENO: result: builtin version" >&5
3782 echo "${ECHO_T}builtin version" >&6; }
3784 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3785 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3786 { (exit 1); exit 1; }; }
3791 defaultval=$wxUSE_ALL_FEATURES
3792 if test -z "$defaultval"; then
3793 if test x"$withstring" = xwithout; then
3799 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3800 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3802 # Check whether --with-libmspack was given.
3803 if test "${with_libmspack+set}" = set; then
3804 withval=$with_libmspack;
3805 if test "$withval" = yes; then
3806 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3808 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3815 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3816 if test "x$LINE" != x ; then
3817 eval "DEFAULT_$LINE"
3820 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3825 eval "$wx_cv_use_libmspack"
3826 if test "x$cache" = xyes; then
3827 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3830 if test x"$withstring" = xwithout; then
3831 if test $wxUSE_LIBMSPACK = yes; then
3837 result=$wxUSE_LIBMSPACK
3840 { echo "$as_me:$LINENO: result: $result" >&5
3841 echo "${ECHO_T}$result" >&6; }
3845 defaultval=$wxUSE_ALL_FEATURES
3846 if test -z "$defaultval"; then
3847 if test x"$withstring" = xwithout; then
3853 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3854 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3856 # Check whether --with-gnomeprint was given.
3857 if test "${with_gnomeprint+set}" = set; then
3858 withval=$with_gnomeprint;
3859 if test "$withval" = yes; then
3860 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3862 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3869 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3870 if test "x$LINE" != x ; then
3871 eval "DEFAULT_$LINE"
3874 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3879 eval "$wx_cv_use_gnomeprint"
3880 if test "x$cache" = xyes; then
3881 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3884 if test x"$withstring" = xwithout; then
3885 if test $wxUSE_LIBGNOMEPRINT = yes; then
3891 result=$wxUSE_LIBGNOMEPRINT
3894 { echo "$as_me:$LINENO: result: $result" >&5
3895 echo "${ECHO_T}$result" >&6; }
3899 defaultval=$wxUSE_ALL_FEATURES
3900 if test -z "$defaultval"; then
3901 if test x"$withstring" = xwithout; then
3907 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3908 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3910 # Check whether --with-gnomevfs was given.
3911 if test "${with_gnomevfs+set}" = set; then
3912 withval=$with_gnomevfs;
3913 if test "$withval" = yes; then
3914 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3916 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3923 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3924 if test "x$LINE" != x ; then
3925 eval "DEFAULT_$LINE"
3928 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3933 eval "$wx_cv_use_gnomevfs"
3934 if test "x$cache" = xyes; then
3935 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
3938 if test x"$withstring" = xwithout; then
3939 if test $wxUSE_LIBGNOMEVFS = yes; then
3945 result=$wxUSE_LIBGNOMEVFS
3948 { echo "$as_me:$LINENO: result: $result" >&5
3949 echo "${ECHO_T}$result" >&6; }
3953 defaultval=$wxUSE_ALL_FEATURES
3954 if test -z "$defaultval"; then
3955 if test x"$withstring" = xwithout; then
3961 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3962 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3964 # Check whether --with-hildon was given.
3965 if test "${with_hildon+set}" = set; then
3966 withval=$with_hildon;
3967 if test "$withval" = yes; then
3968 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3970 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3977 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3978 if test "x$LINE" != x ; then
3979 eval "DEFAULT_$LINE"
3982 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3987 eval "$wx_cv_use_hildon"
3988 if test "x$cache" = xyes; then
3989 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
3992 if test x"$withstring" = xwithout; then
3993 if test $wxUSE_LIBHILDON = yes; then
3999 result=$wxUSE_LIBHILDON
4002 { echo "$as_me:$LINENO: result: $result" >&5
4003 echo "${ECHO_T}$result" >&6; }
4007 defaultval=$wxUSE_ALL_FEATURES
4008 if test -z "$defaultval"; then
4009 if test x"$withstring" = xwithout; then
4015 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4016 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4018 # Check whether --with-opengl was given.
4019 if test "${with_opengl+set}" = set; then
4020 withval=$with_opengl;
4021 if test "$withval" = yes; then
4022 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4024 wx_cv_use_opengl='wxUSE_OPENGL=no'
4031 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4032 if test "x$LINE" != x ; then
4033 eval "DEFAULT_$LINE"
4036 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4041 eval "$wx_cv_use_opengl"
4042 if test "x$cache" = xyes; then
4043 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4046 if test x"$withstring" = xwithout; then
4047 if test $wxUSE_OPENGL = yes; then
4053 result=$wxUSE_OPENGL
4056 { echo "$as_me:$LINENO: result: $result" >&5
4057 echo "${ECHO_T}$result" >&6; }
4064 defaultval=$wxUSE_ALL_FEATURES
4065 if test -z "$defaultval"; then
4066 if test x"$withstring" = xwithout; then
4072 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4073 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4075 # Check whether --with-dmalloc was given.
4076 if test "${with_dmalloc+set}" = set; then
4077 withval=$with_dmalloc;
4078 if test "$withval" = yes; then
4079 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4081 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4088 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4089 if test "x$LINE" != x ; then
4090 eval "DEFAULT_$LINE"
4093 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4098 eval "$wx_cv_use_dmalloc"
4099 if test "x$cache" = xyes; then
4100 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4103 if test x"$withstring" = xwithout; then
4104 if test $wxUSE_DMALLOC = yes; then
4110 result=$wxUSE_DMALLOC
4113 { echo "$as_me:$LINENO: result: $result" >&5
4114 echo "${ECHO_T}$result" >&6; }
4118 defaultval=$wxUSE_ALL_FEATURES
4119 if test -z "$defaultval"; then
4120 if test x"$withstring" = xwithout; then
4126 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4127 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4129 # Check whether --with-sdl was given.
4130 if test "${with_sdl+set}" = set; then
4132 if test "$withval" = yes; then
4133 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4135 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4142 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4143 if test "x$LINE" != x ; then
4144 eval "DEFAULT_$LINE"
4147 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4152 eval "$wx_cv_use_sdl"
4153 if test "x$cache" = xyes; then
4154 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4157 if test x"$withstring" = xwithout; then
4158 if test $wxUSE_LIBSDL = yes; then
4164 result=$wxUSE_LIBSDL
4167 { echo "$as_me:$LINENO: result: $result" >&5
4168 echo "${ECHO_T}$result" >&6; }
4171 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4172 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4174 # Check whether --with-regex was given.
4175 if test "${with_regex+set}" = set; then
4176 withval=$with_regex;
4177 if test "$withval" = yes; then
4178 wx_cv_use_regex='wxUSE_REGEX=yes'
4179 elif test "$withval" = no; then
4180 wx_cv_use_regex='wxUSE_REGEX=no'
4181 elif test "$withval" = sys; then
4182 wx_cv_use_regex='wxUSE_REGEX=sys'
4183 elif test "$withval" = builtin; then
4184 wx_cv_use_regex='wxUSE_REGEX=builtin'
4186 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4187 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4188 { (exit 1); exit 1; }; }
4195 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4196 if test "x$LINE" != x ; then
4197 eval "DEFAULT_$LINE"
4200 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4205 eval "$wx_cv_use_regex"
4206 if test "x$cache" = xyes; then
4207 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4210 if test "$wxUSE_REGEX" = yes; then
4211 { echo "$as_me:$LINENO: result: yes" >&5
4212 echo "${ECHO_T}yes" >&6; }
4213 elif test "$wxUSE_REGEX" = no; then
4214 { echo "$as_me:$LINENO: result: no" >&5
4215 echo "${ECHO_T}no" >&6; }
4216 elif test "$wxUSE_REGEX" = sys; then
4217 { echo "$as_me:$LINENO: result: system version" >&5
4218 echo "${ECHO_T}system version" >&6; }
4219 elif test "$wxUSE_REGEX" = builtin; then
4220 { echo "$as_me:$LINENO: result: builtin version" >&5
4221 echo "${ECHO_T}builtin version" >&6; }
4223 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4224 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4225 { (exit 1); exit 1; }; }
4229 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4230 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4232 # Check whether --with-zlib was given.
4233 if test "${with_zlib+set}" = set; then
4235 if test "$withval" = yes; then
4236 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4237 elif test "$withval" = no; then
4238 wx_cv_use_zlib='wxUSE_ZLIB=no'
4239 elif test "$withval" = sys; then
4240 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4241 elif test "$withval" = builtin; then
4242 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4244 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4245 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4246 { (exit 1); exit 1; }; }
4253 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4254 if test "x$LINE" != x ; then
4255 eval "DEFAULT_$LINE"
4258 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4263 eval "$wx_cv_use_zlib"
4264 if test "x$cache" = xyes; then
4265 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4268 if test "$wxUSE_ZLIB" = yes; then
4269 { echo "$as_me:$LINENO: result: yes" >&5
4270 echo "${ECHO_T}yes" >&6; }
4271 elif test "$wxUSE_ZLIB" = no; then
4272 { echo "$as_me:$LINENO: result: no" >&5
4273 echo "${ECHO_T}no" >&6; }
4274 elif test "$wxUSE_ZLIB" = sys; then
4275 { echo "$as_me:$LINENO: result: system version" >&5
4276 echo "${ECHO_T}system version" >&6; }
4277 elif test "$wxUSE_ZLIB" = builtin; then
4278 { echo "$as_me:$LINENO: result: builtin version" >&5
4279 echo "${ECHO_T}builtin version" >&6; }
4281 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4282 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4283 { (exit 1); exit 1; }; }
4287 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4288 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4290 # Check whether --with-odbc was given.
4291 if test "${with_odbc+set}" = set; then
4293 if test "$withval" = yes; then
4294 wx_cv_use_odbc='wxUSE_ODBC=yes'
4295 elif test "$withval" = no; then
4296 wx_cv_use_odbc='wxUSE_ODBC=no'
4297 elif test "$withval" = sys; then
4298 wx_cv_use_odbc='wxUSE_ODBC=sys'
4299 elif test "$withval" = builtin; then
4300 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4302 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4303 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4304 { (exit 1); exit 1; }; }
4311 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4312 if test "x$LINE" != x ; then
4313 eval "DEFAULT_$LINE"
4316 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4321 eval "$wx_cv_use_odbc"
4322 if test "x$cache" = xyes; then
4323 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4326 if test "$wxUSE_ODBC" = yes; then
4327 { echo "$as_me:$LINENO: result: yes" >&5
4328 echo "${ECHO_T}yes" >&6; }
4329 elif test "$wxUSE_ODBC" = no; then
4330 { echo "$as_me:$LINENO: result: no" >&5
4331 echo "${ECHO_T}no" >&6; }
4332 elif test "$wxUSE_ODBC" = sys; then
4333 { echo "$as_me:$LINENO: result: system version" >&5
4334 echo "${ECHO_T}system version" >&6; }
4335 elif test "$wxUSE_ODBC" = builtin; then
4336 { echo "$as_me:$LINENO: result: builtin version" >&5
4337 echo "${ECHO_T}builtin version" >&6; }
4339 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4340 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4341 { (exit 1); exit 1; }; }
4345 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4346 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4348 # Check whether --with-expat was given.
4349 if test "${with_expat+set}" = set; then
4350 withval=$with_expat;
4351 if test "$withval" = yes; then
4352 wx_cv_use_expat='wxUSE_EXPAT=yes'
4353 elif test "$withval" = no; then
4354 wx_cv_use_expat='wxUSE_EXPAT=no'
4355 elif test "$withval" = sys; then
4356 wx_cv_use_expat='wxUSE_EXPAT=sys'
4357 elif test "$withval" = builtin; then
4358 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4360 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4361 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4362 { (exit 1); exit 1; }; }
4369 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4370 if test "x$LINE" != x ; then
4371 eval "DEFAULT_$LINE"
4374 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4379 eval "$wx_cv_use_expat"
4380 if test "x$cache" = xyes; then
4381 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4384 if test "$wxUSE_EXPAT" = yes; then
4385 { echo "$as_me:$LINENO: result: yes" >&5
4386 echo "${ECHO_T}yes" >&6; }
4387 elif test "$wxUSE_EXPAT" = no; then
4388 { echo "$as_me:$LINENO: result: no" >&5
4389 echo "${ECHO_T}no" >&6; }
4390 elif test "$wxUSE_EXPAT" = sys; then
4391 { echo "$as_me:$LINENO: result: system version" >&5
4392 echo "${ECHO_T}system version" >&6; }
4393 elif test "$wxUSE_EXPAT" = 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-expat: should be yes, no, sys, or builtin" >&5
4398 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4399 { (exit 1); exit 1; }; }
4405 enablestring=disable
4407 if test -z "$defaultval"; then
4408 if test x"$enablestring" = xdisable; then
4415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4416 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4417 # Check whether --enable-shared was given.
4418 if test "${enable_shared+set}" = set; then
4419 enableval=$enable_shared;
4420 if test "$enableval" = yes; then
4421 wx_cv_use_shared='wxUSE_SHARED=yes'
4423 wx_cv_use_shared='wxUSE_SHARED=no'
4430 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4431 if test "x$LINE" != x ; then
4432 eval "DEFAULT_$LINE"
4435 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4440 eval "$wx_cv_use_shared"
4441 if test "x$cache" = xyes; then
4442 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4445 if test x"$enablestring" = xdisable; then
4446 if test $wxUSE_SHARED = yes; then
4452 result=$wxUSE_SHARED
4455 { echo "$as_me:$LINENO: result: $result" >&5
4456 echo "${ECHO_T}$result" >&6; }
4459 enablestring=disable
4461 if test -z "$defaultval"; then
4462 if test x"$enablestring" = xdisable; then
4469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4470 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4471 # Check whether --enable-optimise was given.
4472 if test "${enable_optimise+set}" = set; then
4473 enableval=$enable_optimise;
4474 if test "$enableval" = yes; then
4475 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4477 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4484 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4485 if test "x$LINE" != x ; then
4486 eval "DEFAULT_$LINE"
4489 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4494 eval "$wx_cv_use_optimise"
4495 if test "x$cache" = xyes; then
4496 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4499 if test x"$enablestring" = xdisable; then
4500 if test $wxUSE_OPTIMISE = yes; then
4506 result=$wxUSE_OPTIMISE
4509 { echo "$as_me:$LINENO: result: $result" >&5
4510 echo "${ECHO_T}$result" >&6; }
4515 if test -z "$defaultval"; then
4516 if test x"$enablestring" = xdisable; then
4523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4524 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4525 # Check whether --enable-debug was given.
4526 if test "${enable_debug+set}" = set; then
4527 enableval=$enable_debug;
4528 if test "$enableval" = yes; then
4529 wx_cv_use_debug='wxUSE_DEBUG=yes'
4531 wx_cv_use_debug='wxUSE_DEBUG=no'
4538 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4539 if test "x$LINE" != x ; then
4540 eval "DEFAULT_$LINE"
4543 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4548 eval "$wx_cv_use_debug"
4549 if test "x$cache" = xyes; then
4550 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4553 if test x"$enablestring" = xdisable; then
4554 if test $wxUSE_DEBUG = yes; then
4563 { echo "$as_me:$LINENO: result: $result" >&5
4564 echo "${ECHO_T}$result" >&6; }
4569 if test -z "$defaultval"; then
4570 if test x"$enablestring" = xdisable; then
4577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4578 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4579 # Check whether --enable-stl was given.
4580 if test "${enable_stl+set}" = set; then
4581 enableval=$enable_stl;
4582 if test "$enableval" = yes; then
4583 wx_cv_use_stl='wxUSE_STL=yes'
4585 wx_cv_use_stl='wxUSE_STL=no'
4592 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4593 if test "x$LINE" != x ; then
4594 eval "DEFAULT_$LINE"
4597 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4602 eval "$wx_cv_use_stl"
4603 if test "x$cache" = xyes; then
4604 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4607 if test x"$enablestring" = xdisable; then
4608 if test $wxUSE_STL = yes; then
4617 { echo "$as_me:$LINENO: result: $result" >&5
4618 echo "${ECHO_T}$result" >&6; }
4623 if test -z "$defaultval"; then
4624 if test x"$enablestring" = xdisable; then
4631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4632 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4633 # Check whether --enable-std_iostreams was given.
4634 if test "${enable_std_iostreams+set}" = set; then
4635 enableval=$enable_std_iostreams;
4636 if test "$enableval" = yes; then
4637 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4639 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4646 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4647 if test "x$LINE" != x ; then
4648 eval "DEFAULT_$LINE"
4651 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4656 eval "$wx_cv_use_std_iostreams"
4657 if test "x$cache" = xyes; then
4658 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4661 if test x"$enablestring" = xdisable; then
4662 if test $wxUSE_STD_IOSTREAM = yes; then
4668 result=$wxUSE_STD_IOSTREAM
4671 { echo "$as_me:$LINENO: result: $result" >&5
4672 echo "${ECHO_T}$result" >&6; }
4677 if test -z "$defaultval"; then
4678 if test x"$enablestring" = xdisable; then
4685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4686 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4687 # Check whether --enable-std_string was given.
4688 if test "${enable_std_string+set}" = set; then
4689 enableval=$enable_std_string;
4690 if test "$enableval" = yes; then
4691 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4693 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4700 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4701 if test "x$LINE" != x ; then
4702 eval "DEFAULT_$LINE"
4705 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4710 eval "$wx_cv_use_std_string"
4711 if test "x$cache" = xyes; then
4712 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4715 if test x"$enablestring" = xdisable; then
4716 if test $wxUSE_STD_STRING = yes; then
4722 result=$wxUSE_STD_STRING
4725 { echo "$as_me:$LINENO: result: $result" >&5
4726 echo "${ECHO_T}$result" >&6; }
4729 enablestring=disable
4731 if test -z "$defaultval"; then
4732 if test x"$enablestring" = xdisable; then
4739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4740 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4741 # Check whether --enable-unicode was given.
4742 if test "${enable_unicode+set}" = set; then
4743 enableval=$enable_unicode;
4744 if test "$enableval" = yes; then
4745 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4747 wx_cv_use_unicode='wxUSE_UNICODE=no'
4754 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4755 if test "x$LINE" != x ; then
4756 eval "DEFAULT_$LINE"
4759 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4764 eval "$wx_cv_use_unicode"
4765 if test "x$cache" = xyes; then
4766 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4769 if test x"$enablestring" = xdisable; then
4770 if test $wxUSE_UNICODE = yes; then
4776 result=$wxUSE_UNICODE
4779 { echo "$as_me:$LINENO: result: $result" >&5
4780 echo "${ECHO_T}$result" >&6; }
4785 if test -z "$defaultval"; then
4786 if test x"$enablestring" = xdisable; then
4793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4794 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4795 # Check whether --enable-mslu was given.
4796 if test "${enable_mslu+set}" = set; then
4797 enableval=$enable_mslu;
4798 if test "$enableval" = yes; then
4799 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4801 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4808 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4809 if test "x$LINE" != x ; then
4810 eval "DEFAULT_$LINE"
4813 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4818 eval "$wx_cv_use_mslu"
4819 if test "x$cache" = xyes; then
4820 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4823 if test x"$enablestring" = xdisable; then
4824 if test $wxUSE_UNICODE_MSLU = yes; then
4830 result=$wxUSE_UNICODE_MSLU
4833 { echo "$as_me:$LINENO: result: $result" >&5
4834 echo "${ECHO_T}$result" >&6; }
4838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4839 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4840 # Check whether --enable-utf8 was given.
4841 if test "${enable_utf8+set}" = set; then
4842 enableval=$enable_utf8;
4843 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4849 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4850 if test "x$LINE" != x ; then
4851 eval "DEFAULT_$LINE"
4854 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4859 eval "$wx_cv_use_utf8"
4860 if test "x$cache" = xyes; then
4861 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4864 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4865 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4870 if test -z "$defaultval"; then
4871 if test x"$enablestring" = xdisable; then
4878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4879 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4880 # Check whether --enable-utf8only was given.
4881 if test "${enable_utf8only+set}" = set; then
4882 enableval=$enable_utf8only;
4883 if test "$enableval" = yes; then
4884 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4886 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4893 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4894 if test "x$LINE" != x ; then
4895 eval "DEFAULT_$LINE"
4898 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4903 eval "$wx_cv_use_utf8only"
4904 if test "x$cache" = xyes; then
4905 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
4908 if test x"$enablestring" = xdisable; then
4909 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4915 result=$wxUSE_UNICODE_UTF8_LOCALE
4918 { echo "$as_me:$LINENO: result: $result" >&5
4919 echo "${ECHO_T}$result" >&6; }
4924 if test -z "$defaultval"; then
4925 if test x"$enablestring" = xdisable; then
4932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4933 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4934 # Check whether --enable-extended_rtti was given.
4935 if test "${enable_extended_rtti+set}" = set; then
4936 enableval=$enable_extended_rtti;
4937 if test "$enableval" = yes; then
4938 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4940 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4947 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4948 if test "x$LINE" != x ; then
4949 eval "DEFAULT_$LINE"
4952 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4957 eval "$wx_cv_use_extended_rtti"
4958 if test "x$cache" = xyes; then
4959 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
4962 if test x"$enablestring" = xdisable; then
4963 if test $wxUSE_EXTENDED_RTTI = yes; then
4969 result=$wxUSE_EXTENDED_RTTI
4972 { echo "$as_me:$LINENO: result: $result" >&5
4973 echo "${ECHO_T}$result" >&6; }
4975 if test "$USE_OS2" = "1"; then
4976 DEFAULT_wxUSE_OMF=no
4980 if test -z "$defaultval"; then
4981 if test x"$enablestring" = xdisable; then
4988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4989 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4990 # Check whether --enable-omf was given.
4991 if test "${enable_omf+set}" = set; then
4992 enableval=$enable_omf;
4993 if test "$enableval" = yes; then
4994 wx_cv_use_omf='wxUSE_OMF=yes'
4996 wx_cv_use_omf='wxUSE_OMF=no'
5003 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5004 if test "x$LINE" != x ; then
5005 eval "DEFAULT_$LINE"
5008 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5013 eval "$wx_cv_use_omf"
5014 if test "x$cache" = xyes; then
5015 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5018 if test x"$enablestring" = xdisable; then
5019 if test $wxUSE_OMF = yes; then
5028 { echo "$as_me:$LINENO: result: $result" >&5
5029 echo "${ECHO_T}$result" >&6; }
5033 if test "$wxUSE_DEBUG" = "yes"; then
5034 DEFAULT_wxUSE_DEBUG_FLAG=yes
5035 DEFAULT_wxUSE_DEBUG_INFO=yes
5037 elif test "$wxUSE_DEBUG" = "no"; then
5038 DEFAULT_wxUSE_DEBUG_FLAG=no
5039 DEFAULT_wxUSE_DEBUG_INFO=no
5046 if test -z "$defaultval"; then
5047 if test x"$enablestring" = xdisable; then
5054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5055 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5056 # Check whether --enable-debug_flag was given.
5057 if test "${enable_debug_flag+set}" = set; then
5058 enableval=$enable_debug_flag;
5059 if test "$enableval" = yes; then
5060 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5062 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5069 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5070 if test "x$LINE" != x ; then
5071 eval "DEFAULT_$LINE"
5074 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5079 eval "$wx_cv_use_debug_flag"
5080 if test "x$cache" = xyes; then
5081 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5084 if test x"$enablestring" = xdisable; then
5085 if test $wxUSE_DEBUG_FLAG = yes; then
5091 result=$wxUSE_DEBUG_FLAG
5094 { echo "$as_me:$LINENO: result: $result" >&5
5095 echo "${ECHO_T}$result" >&6; }
5100 if test -z "$defaultval"; then
5101 if test x"$enablestring" = xdisable; then
5108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5109 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5110 # Check whether --enable-debug_info was given.
5111 if test "${enable_debug_info+set}" = set; then
5112 enableval=$enable_debug_info;
5113 if test "$enableval" = yes; then
5114 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5116 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5123 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5124 if test "x$LINE" != x ; then
5125 eval "DEFAULT_$LINE"
5128 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5133 eval "$wx_cv_use_debug_info"
5134 if test "x$cache" = xyes; then
5135 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5138 if test x"$enablestring" = xdisable; then
5139 if test $wxUSE_DEBUG_INFO = yes; then
5145 result=$wxUSE_DEBUG_INFO
5148 { echo "$as_me:$LINENO: result: $result" >&5
5149 echo "${ECHO_T}$result" >&6; }
5154 if test -z "$defaultval"; then
5155 if test x"$enablestring" = xdisable; then
5162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5163 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5164 # Check whether --enable-debug_gdb was given.
5165 if test "${enable_debug_gdb+set}" = set; then
5166 enableval=$enable_debug_gdb;
5167 if test "$enableval" = yes; then
5168 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5170 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5177 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5178 if test "x$LINE" != x ; then
5179 eval "DEFAULT_$LINE"
5182 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5187 eval "$wx_cv_use_debug_gdb"
5188 if test "x$cache" = xyes; then
5189 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5192 if test x"$enablestring" = xdisable; then
5193 if test $wxUSE_DEBUG_GDB = yes; then
5199 result=$wxUSE_DEBUG_GDB
5202 { echo "$as_me:$LINENO: result: $result" >&5
5203 echo "${ECHO_T}$result" >&6; }
5208 if test -z "$defaultval"; then
5209 if test x"$enablestring" = xdisable; then
5216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5217 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5218 # Check whether --enable-debug_cntxt was given.
5219 if test "${enable_debug_cntxt+set}" = set; then
5220 enableval=$enable_debug_cntxt;
5221 if test "$enableval" = yes; then
5222 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5224 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5231 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5232 if test "x$LINE" != x ; then
5233 eval "DEFAULT_$LINE"
5236 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5241 eval "$wx_cv_use_debug_cntxt"
5242 if test "x$cache" = xyes; then
5243 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5246 if test x"$enablestring" = xdisable; then
5247 if test $wxUSE_DEBUG_CONTEXT = yes; then
5253 result=$wxUSE_DEBUG_CONTEXT
5256 { echo "$as_me:$LINENO: result: $result" >&5
5257 echo "${ECHO_T}$result" >&6; }
5262 if test -z "$defaultval"; then
5263 if test x"$enablestring" = xdisable; then
5270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5271 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5272 # Check whether --enable-mem_tracing was given.
5273 if test "${enable_mem_tracing+set}" = set; then
5274 enableval=$enable_mem_tracing;
5275 if test "$enableval" = yes; then
5276 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5278 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5285 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5286 if test "x$LINE" != x ; then
5287 eval "DEFAULT_$LINE"
5290 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5295 eval "$wx_cv_use_mem_tracing"
5296 if test "x$cache" = xyes; then
5297 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5300 if test x"$enablestring" = xdisable; then
5301 if test $wxUSE_MEM_TRACING = yes; then
5307 result=$wxUSE_MEM_TRACING
5310 { echo "$as_me:$LINENO: result: $result" >&5
5311 echo "${ECHO_T}$result" >&6; }
5316 if test -z "$defaultval"; then
5317 if test x"$enablestring" = xdisable; then
5324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5325 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5326 # Check whether --enable-profile was given.
5327 if test "${enable_profile+set}" = set; then
5328 enableval=$enable_profile;
5329 if test "$enableval" = yes; then
5330 wx_cv_use_profile='wxUSE_PROFILE=yes'
5332 wx_cv_use_profile='wxUSE_PROFILE=no'
5339 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5340 if test "x$LINE" != x ; then
5341 eval "DEFAULT_$LINE"
5344 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5349 eval "$wx_cv_use_profile"
5350 if test "x$cache" = xyes; then
5351 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5354 if test x"$enablestring" = xdisable; then
5355 if test $wxUSE_PROFILE = yes; then
5361 result=$wxUSE_PROFILE
5364 { echo "$as_me:$LINENO: result: $result" >&5
5365 echo "${ECHO_T}$result" >&6; }
5370 if test -z "$defaultval"; then
5371 if test x"$enablestring" = xdisable; then
5378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5379 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5380 # Check whether --enable-no_rtti was given.
5381 if test "${enable_no_rtti+set}" = set; then
5382 enableval=$enable_no_rtti;
5383 if test "$enableval" = yes; then
5384 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5386 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5393 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5394 if test "x$LINE" != x ; then
5395 eval "DEFAULT_$LINE"
5398 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5403 eval "$wx_cv_use_no_rtti"
5404 if test "x$cache" = xyes; then
5405 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5408 if test x"$enablestring" = xdisable; then
5409 if test $wxUSE_NO_RTTI = yes; then
5415 result=$wxUSE_NO_RTTI
5418 { echo "$as_me:$LINENO: result: $result" >&5
5419 echo "${ECHO_T}$result" >&6; }
5424 if test -z "$defaultval"; then
5425 if test x"$enablestring" = xdisable; then
5432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5433 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5434 # Check whether --enable-no_exceptions was given.
5435 if test "${enable_no_exceptions+set}" = set; then
5436 enableval=$enable_no_exceptions;
5437 if test "$enableval" = yes; then
5438 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5440 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5447 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5448 if test "x$LINE" != x ; then
5449 eval "DEFAULT_$LINE"
5452 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5457 eval "$wx_cv_use_no_exceptions"
5458 if test "x$cache" = xyes; then
5459 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5462 if test x"$enablestring" = xdisable; then
5463 if test $wxUSE_NO_EXCEPTIONS = yes; then
5469 result=$wxUSE_NO_EXCEPTIONS
5472 { echo "$as_me:$LINENO: result: $result" >&5
5473 echo "${ECHO_T}$result" >&6; }
5478 if test -z "$defaultval"; then
5479 if test x"$enablestring" = xdisable; then
5486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5487 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5488 # Check whether --enable-permissive was given.
5489 if test "${enable_permissive+set}" = set; then
5490 enableval=$enable_permissive;
5491 if test "$enableval" = yes; then
5492 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5494 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5501 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5502 if test "x$LINE" != x ; then
5503 eval "DEFAULT_$LINE"
5506 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5511 eval "$wx_cv_use_permissive"
5512 if test "x$cache" = xyes; then
5513 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5516 if test x"$enablestring" = xdisable; then
5517 if test $wxUSE_PERMISSIVE = yes; then
5523 result=$wxUSE_PERMISSIVE
5526 { echo "$as_me:$LINENO: result: $result" >&5
5527 echo "${ECHO_T}$result" >&6; }
5532 if test -z "$defaultval"; then
5533 if test x"$enablestring" = xdisable; then
5540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5541 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5542 # Check whether --enable-no_deps was given.
5543 if test "${enable_no_deps+set}" = set; then
5544 enableval=$enable_no_deps;
5545 if test "$enableval" = yes; then
5546 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5548 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5555 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5556 if test "x$LINE" != x ; then
5557 eval "DEFAULT_$LINE"
5560 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5565 eval "$wx_cv_use_no_deps"
5566 if test "x$cache" = xyes; then
5567 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5570 if test x"$enablestring" = xdisable; then
5571 if test $wxUSE_NO_DEPS = yes; then
5577 result=$wxUSE_NO_DEPS
5580 { echo "$as_me:$LINENO: result: $result" >&5
5581 echo "${ECHO_T}$result" >&6; }
5584 enablestring=disable
5586 if test -z "$defaultval"; then
5587 if test x"$enablestring" = xdisable; then
5594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5595 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5596 # Check whether --enable-vararg_macros was given.
5597 if test "${enable_vararg_macros+set}" = set; then
5598 enableval=$enable_vararg_macros;
5599 if test "$enableval" = yes; then
5600 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5602 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5609 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5610 if test "x$LINE" != x ; then
5611 eval "DEFAULT_$LINE"
5614 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5619 eval "$wx_cv_use_vararg_macros"
5620 if test "x$cache" = xyes; then
5621 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5624 if test x"$enablestring" = xdisable; then
5625 if test $wxUSE_VARARG_MACROS = yes; then
5631 result=$wxUSE_VARARG_MACROS
5634 { echo "$as_me:$LINENO: result: $result" >&5
5635 echo "${ECHO_T}$result" >&6; }
5639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5640 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5641 # Check whether --enable-universal_binary was given.
5642 if test "${enable_universal_binary+set}" = set; then
5643 enableval=$enable_universal_binary;
5644 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5650 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5651 if test "x$LINE" != x ; then
5652 eval "DEFAULT_$LINE"
5655 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5660 eval "$wx_cv_use_universal_binary"
5661 if test "x$cache" = xyes; then
5662 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5665 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5666 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5672 if test -z "$defaultval"; then
5673 if test x"$enablestring" = xdisable; then
5680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5681 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5682 # Check whether --enable-compat26 was given.
5683 if test "${enable_compat26+set}" = set; then
5684 enableval=$enable_compat26;
5685 if test "$enableval" = yes; then
5686 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5688 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5695 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5696 if test "x$LINE" != x ; then
5697 eval "DEFAULT_$LINE"
5700 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5705 eval "$wx_cv_use_compat26"
5706 if test "x$cache" = xyes; then
5707 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5710 if test x"$enablestring" = xdisable; then
5711 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5717 result=$WXWIN_COMPATIBILITY_2_6
5720 { echo "$as_me:$LINENO: result: $result" >&5
5721 echo "${ECHO_T}$result" >&6; }
5724 enablestring=disable
5726 if test -z "$defaultval"; then
5727 if test x"$enablestring" = xdisable; then
5734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5735 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5736 # Check whether --enable-compat28 was given.
5737 if test "${enable_compat28+set}" = set; then
5738 enableval=$enable_compat28;
5739 if test "$enableval" = yes; then
5740 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5742 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5749 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5750 if test "x$LINE" != x ; then
5751 eval "DEFAULT_$LINE"
5754 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5759 eval "$wx_cv_use_compat28"
5760 if test "x$cache" = xyes; then
5761 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5764 if test x"$enablestring" = xdisable; then
5765 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5771 result=$WXWIN_COMPATIBILITY_2_8
5774 { echo "$as_me:$LINENO: result: $result" >&5
5775 echo "${ECHO_T}$result" >&6; }
5779 enablestring=disable
5781 if test -z "$defaultval"; then
5782 if test x"$enablestring" = xdisable; then
5789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5790 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5791 # Check whether --enable-rpath was given.
5792 if test "${enable_rpath+set}" = set; then
5793 enableval=$enable_rpath;
5794 if test "$enableval" = yes; then
5795 wx_cv_use_rpath='wxUSE_RPATH=yes'
5797 wx_cv_use_rpath='wxUSE_RPATH=no'
5804 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5805 if test "x$LINE" != x ; then
5806 eval "DEFAULT_$LINE"
5809 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5814 eval "$wx_cv_use_rpath"
5815 if test "x$cache" = xyes; then
5816 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5819 if test x"$enablestring" = xdisable; then
5820 if test $wxUSE_RPATH = yes; then
5829 { echo "$as_me:$LINENO: result: $result" >&5
5830 echo "${ECHO_T}$result" >&6; }
5836 if test -z "$defaultval"; then
5837 if test x"$enablestring" = xdisable; then
5844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5845 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5846 # Check whether --enable-objc_uniquifying was given.
5847 if test "${enable_objc_uniquifying+set}" = set; then
5848 enableval=$enable_objc_uniquifying;
5849 if test "$enableval" = yes; then
5850 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5852 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5859 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5860 if test "x$LINE" != x ; then
5861 eval "DEFAULT_$LINE"
5864 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5869 eval "$wx_cv_use_objc_uniquifying"
5870 if test "x$cache" = xyes; then
5871 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
5874 if test x"$enablestring" = xdisable; then
5875 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5881 result=$wxUSE_OBJC_UNIQUIFYING
5884 { echo "$as_me:$LINENO: result: $result" >&5
5885 echo "${ECHO_T}$result" >&6; }
5889 enablestring=disable
5891 if test -z "$defaultval"; then
5892 if test x"$enablestring" = xdisable; then
5899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5900 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5901 # Check whether --enable-visibility was given.
5902 if test "${enable_visibility+set}" = set; then
5903 enableval=$enable_visibility;
5904 if test "$enableval" = yes; then
5905 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5907 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5914 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5915 if test "x$LINE" != x ; then
5916 eval "DEFAULT_$LINE"
5919 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5924 eval "$wx_cv_use_visibility"
5925 if test "x$cache" = xyes; then
5926 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
5929 if test x"$enablestring" = xdisable; then
5930 if test $wxUSE_VISIBILITY = yes; then
5936 result=$wxUSE_VISIBILITY
5939 { echo "$as_me:$LINENO: result: $result" >&5
5940 echo "${ECHO_T}$result" >&6; }
5946 defaultval=$wxUSE_ALL_FEATURES
5947 if test -z "$defaultval"; then
5948 if test x"$enablestring" = xdisable; then
5955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5956 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5957 # Check whether --enable-intl was given.
5958 if test "${enable_intl+set}" = set; then
5959 enableval=$enable_intl;
5960 if test "$enableval" = yes; then
5961 wx_cv_use_intl='wxUSE_INTL=yes'
5963 wx_cv_use_intl='wxUSE_INTL=no'
5970 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5971 if test "x$LINE" != x ; then
5972 eval "DEFAULT_$LINE"
5975 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5980 eval "$wx_cv_use_intl"
5981 if test "x$cache" = xyes; then
5982 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
5985 if test x"$enablestring" = xdisable; then
5986 if test $wxUSE_INTL = yes; then
5995 { echo "$as_me:$LINENO: result: $result" >&5
5996 echo "${ECHO_T}$result" >&6; }
6000 defaultval=$wxUSE_ALL_FEATURES
6001 if test -z "$defaultval"; then
6002 if test x"$enablestring" = xdisable; then
6009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6010 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6011 # Check whether --enable-config was given.
6012 if test "${enable_config+set}" = set; then
6013 enableval=$enable_config;
6014 if test "$enableval" = yes; then
6015 wx_cv_use_config='wxUSE_CONFIG=yes'
6017 wx_cv_use_config='wxUSE_CONFIG=no'
6024 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6025 if test "x$LINE" != x ; then
6026 eval "DEFAULT_$LINE"
6029 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6034 eval "$wx_cv_use_config"
6035 if test "x$cache" = xyes; then
6036 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6039 if test x"$enablestring" = xdisable; then
6040 if test $wxUSE_CONFIG = yes; then
6046 result=$wxUSE_CONFIG
6049 { echo "$as_me:$LINENO: result: $result" >&5
6050 echo "${ECHO_T}$result" >&6; }
6055 defaultval=$wxUSE_ALL_FEATURES
6056 if test -z "$defaultval"; then
6057 if test x"$enablestring" = xdisable; then
6064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6065 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6066 # Check whether --enable-protocols was given.
6067 if test "${enable_protocols+set}" = set; then
6068 enableval=$enable_protocols;
6069 if test "$enableval" = yes; then
6070 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6072 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6079 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6080 if test "x$LINE" != x ; then
6081 eval "DEFAULT_$LINE"
6084 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6089 eval "$wx_cv_use_protocols"
6090 if test "x$cache" = xyes; then
6091 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6094 if test x"$enablestring" = xdisable; then
6095 if test $wxUSE_PROTOCOL = yes; then
6101 result=$wxUSE_PROTOCOL
6104 { echo "$as_me:$LINENO: result: $result" >&5
6105 echo "${ECHO_T}$result" >&6; }
6109 defaultval=$wxUSE_ALL_FEATURES
6110 if test -z "$defaultval"; then
6111 if test x"$enablestring" = xdisable; then
6118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6119 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6120 # Check whether --enable-ftp was given.
6121 if test "${enable_ftp+set}" = set; then
6122 enableval=$enable_ftp;
6123 if test "$enableval" = yes; then
6124 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6126 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6133 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6134 if test "x$LINE" != x ; then
6135 eval "DEFAULT_$LINE"
6138 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6143 eval "$wx_cv_use_ftp"
6144 if test "x$cache" = xyes; then
6145 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6148 if test x"$enablestring" = xdisable; then
6149 if test $wxUSE_PROTOCOL_FTP = yes; then
6155 result=$wxUSE_PROTOCOL_FTP
6158 { echo "$as_me:$LINENO: result: $result" >&5
6159 echo "${ECHO_T}$result" >&6; }
6163 defaultval=$wxUSE_ALL_FEATURES
6164 if test -z "$defaultval"; then
6165 if test x"$enablestring" = xdisable; then
6172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6173 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6174 # Check whether --enable-http was given.
6175 if test "${enable_http+set}" = set; then
6176 enableval=$enable_http;
6177 if test "$enableval" = yes; then
6178 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6180 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6187 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6188 if test "x$LINE" != x ; then
6189 eval "DEFAULT_$LINE"
6192 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6197 eval "$wx_cv_use_http"
6198 if test "x$cache" = xyes; then
6199 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6202 if test x"$enablestring" = xdisable; then
6203 if test $wxUSE_PROTOCOL_HTTP = yes; then
6209 result=$wxUSE_PROTOCOL_HTTP
6212 { echo "$as_me:$LINENO: result: $result" >&5
6213 echo "${ECHO_T}$result" >&6; }
6217 defaultval=$wxUSE_ALL_FEATURES
6218 if test -z "$defaultval"; then
6219 if test x"$enablestring" = xdisable; then
6226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6227 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6228 # Check whether --enable-fileproto was given.
6229 if test "${enable_fileproto+set}" = set; then
6230 enableval=$enable_fileproto;
6231 if test "$enableval" = yes; then
6232 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6234 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6241 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6242 if test "x$LINE" != x ; then
6243 eval "DEFAULT_$LINE"
6246 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6251 eval "$wx_cv_use_fileproto"
6252 if test "x$cache" = xyes; then
6253 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6256 if test x"$enablestring" = xdisable; then
6257 if test $wxUSE_PROTOCOL_FILE = yes; then
6263 result=$wxUSE_PROTOCOL_FILE
6266 { echo "$as_me:$LINENO: result: $result" >&5
6267 echo "${ECHO_T}$result" >&6; }
6271 defaultval=$wxUSE_ALL_FEATURES
6272 if test -z "$defaultval"; then
6273 if test x"$enablestring" = xdisable; then
6280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6281 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6282 # Check whether --enable-sockets was given.
6283 if test "${enable_sockets+set}" = set; then
6284 enableval=$enable_sockets;
6285 if test "$enableval" = yes; then
6286 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6288 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6295 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6296 if test "x$LINE" != x ; then
6297 eval "DEFAULT_$LINE"
6300 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6305 eval "$wx_cv_use_sockets"
6306 if test "x$cache" = xyes; then
6307 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6310 if test x"$enablestring" = xdisable; then
6311 if test $wxUSE_SOCKETS = yes; then
6317 result=$wxUSE_SOCKETS
6320 { echo "$as_me:$LINENO: result: $result" >&5
6321 echo "${ECHO_T}$result" >&6; }
6325 defaultval=$wxUSE_ALL_FEATURES
6326 if test -z "$defaultval"; then
6327 if test x"$enablestring" = xdisable; then
6334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6335 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6336 # Check whether --enable-ole was given.
6337 if test "${enable_ole+set}" = set; then
6338 enableval=$enable_ole;
6339 if test "$enableval" = yes; then
6340 wx_cv_use_ole='wxUSE_OLE=yes'
6342 wx_cv_use_ole='wxUSE_OLE=no'
6349 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6350 if test "x$LINE" != x ; then
6351 eval "DEFAULT_$LINE"
6354 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6359 eval "$wx_cv_use_ole"
6360 if test "x$cache" = xyes; then
6361 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6364 if test x"$enablestring" = xdisable; then
6365 if test $wxUSE_OLE = yes; then
6374 { echo "$as_me:$LINENO: result: $result" >&5
6375 echo "${ECHO_T}$result" >&6; }
6379 defaultval=$wxUSE_ALL_FEATURES
6380 if test -z "$defaultval"; then
6381 if test x"$enablestring" = xdisable; then
6388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6389 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6390 # Check whether --enable-dataobj was given.
6391 if test "${enable_dataobj+set}" = set; then
6392 enableval=$enable_dataobj;
6393 if test "$enableval" = yes; then
6394 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6396 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6403 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6404 if test "x$LINE" != x ; then
6405 eval "DEFAULT_$LINE"
6408 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6413 eval "$wx_cv_use_dataobj"
6414 if test "x$cache" = xyes; then
6415 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6418 if test x"$enablestring" = xdisable; then
6419 if test $wxUSE_DATAOBJ = yes; then
6425 result=$wxUSE_DATAOBJ
6428 { echo "$as_me:$LINENO: result: $result" >&5
6429 echo "${ECHO_T}$result" >&6; }
6434 defaultval=$wxUSE_ALL_FEATURES
6435 if test -z "$defaultval"; then
6436 if test x"$enablestring" = xdisable; then
6443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6444 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6445 # Check whether --enable-ipc was given.
6446 if test "${enable_ipc+set}" = set; then
6447 enableval=$enable_ipc;
6448 if test "$enableval" = yes; then
6449 wx_cv_use_ipc='wxUSE_IPC=yes'
6451 wx_cv_use_ipc='wxUSE_IPC=no'
6458 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6459 if test "x$LINE" != x ; then
6460 eval "DEFAULT_$LINE"
6463 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6468 eval "$wx_cv_use_ipc"
6469 if test "x$cache" = xyes; then
6470 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6473 if test x"$enablestring" = xdisable; then
6474 if test $wxUSE_IPC = yes; then
6483 { echo "$as_me:$LINENO: result: $result" >&5
6484 echo "${ECHO_T}$result" >&6; }
6489 defaultval=$wxUSE_ALL_FEATURES
6490 if test -z "$defaultval"; then
6491 if test x"$enablestring" = xdisable; then
6498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6499 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6500 # Check whether --enable-baseevtloop was given.
6501 if test "${enable_baseevtloop+set}" = set; then
6502 enableval=$enable_baseevtloop;
6503 if test "$enableval" = yes; then
6504 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6506 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6513 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6514 if test "x$LINE" != x ; then
6515 eval "DEFAULT_$LINE"
6518 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6523 eval "$wx_cv_use_baseevtloop"
6524 if test "x$cache" = xyes; then
6525 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6528 if test x"$enablestring" = xdisable; then
6529 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6535 result=$wxUSE_CONSOLE_EVENTLOOP
6538 { echo "$as_me:$LINENO: result: $result" >&5
6539 echo "${ECHO_T}$result" >&6; }
6543 defaultval=$wxUSE_ALL_FEATURES
6544 if test -z "$defaultval"; then
6545 if test x"$enablestring" = xdisable; then
6552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6553 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6554 # Check whether --enable-epoolloop was given.
6555 if test "${enable_epoolloop+set}" = set; then
6556 enableval=$enable_epoolloop;
6557 if test "$enableval" = yes; then
6558 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6560 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6567 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6568 if test "x$LINE" != x ; then
6569 eval "DEFAULT_$LINE"
6572 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6577 eval "$wx_cv_use_epoolloop"
6578 if test "x$cache" = xyes; then
6579 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6582 if test x"$enablestring" = xdisable; then
6583 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6589 result=$wxUSE_EPOLL_DISPATCHER
6592 { echo "$as_me:$LINENO: result: $result" >&5
6593 echo "${ECHO_T}$result" >&6; }
6597 defaultval=$wxUSE_ALL_FEATURES
6598 if test -z "$defaultval"; then
6599 if test x"$enablestring" = xdisable; then
6606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6607 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6608 # Check whether --enable-selectloop was given.
6609 if test "${enable_selectloop+set}" = set; then
6610 enableval=$enable_selectloop;
6611 if test "$enableval" = yes; then
6612 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6614 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6621 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6622 if test "x$LINE" != x ; then
6623 eval "DEFAULT_$LINE"
6626 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6631 eval "$wx_cv_use_selectloop"
6632 if test "x$cache" = xyes; then
6633 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6636 if test x"$enablestring" = xdisable; then
6637 if test $wxUSE_SELECT_DISPATCHER = yes; then
6643 result=$wxUSE_SELECT_DISPATCHER
6646 { echo "$as_me:$LINENO: result: $result" >&5
6647 echo "${ECHO_T}$result" >&6; }
6652 defaultval=$wxUSE_ALL_FEATURES
6653 if test -z "$defaultval"; then
6654 if test x"$enablestring" = xdisable; then
6661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6662 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6663 # Check whether --enable-apple_ieee was given.
6664 if test "${enable_apple_ieee+set}" = set; then
6665 enableval=$enable_apple_ieee;
6666 if test "$enableval" = yes; then
6667 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6669 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6676 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6677 if test "x$LINE" != x ; then
6678 eval "DEFAULT_$LINE"
6681 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6686 eval "$wx_cv_use_apple_ieee"
6687 if test "x$cache" = xyes; then
6688 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6691 if test x"$enablestring" = xdisable; then
6692 if test $wxUSE_APPLE_IEEE = yes; then
6698 result=$wxUSE_APPLE_IEEE
6701 { echo "$as_me:$LINENO: result: $result" >&5
6702 echo "${ECHO_T}$result" >&6; }
6706 defaultval=$wxUSE_ALL_FEATURES
6707 if test -z "$defaultval"; then
6708 if test x"$enablestring" = xdisable; then
6715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6717 # Check whether --enable-arcstream was given.
6718 if test "${enable_arcstream+set}" = set; then
6719 enableval=$enable_arcstream;
6720 if test "$enableval" = yes; then
6721 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6723 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6730 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6731 if test "x$LINE" != x ; then
6732 eval "DEFAULT_$LINE"
6735 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6740 eval "$wx_cv_use_arcstream"
6741 if test "x$cache" = xyes; then
6742 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6745 if test x"$enablestring" = xdisable; then
6746 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6752 result=$wxUSE_ARCHIVE_STREAMS
6755 { echo "$as_me:$LINENO: result: $result" >&5
6756 echo "${ECHO_T}$result" >&6; }
6760 defaultval=$wxUSE_ALL_FEATURES
6761 if test -z "$defaultval"; then
6762 if test x"$enablestring" = xdisable; then
6769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6770 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6771 # Check whether --enable-base64 was given.
6772 if test "${enable_base64+set}" = set; then
6773 enableval=$enable_base64;
6774 if test "$enableval" = yes; then
6775 wx_cv_use_base64='wxUSE_BASE64=yes'
6777 wx_cv_use_base64='wxUSE_BASE64=no'
6784 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6785 if test "x$LINE" != x ; then
6786 eval "DEFAULT_$LINE"
6789 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6794 eval "$wx_cv_use_base64"
6795 if test "x$cache" = xyes; then
6796 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6799 if test x"$enablestring" = xdisable; then
6800 if test $wxUSE_BASE64 = yes; then
6806 result=$wxUSE_BASE64
6809 { echo "$as_me:$LINENO: result: $result" >&5
6810 echo "${ECHO_T}$result" >&6; }
6814 defaultval=$wxUSE_ALL_FEATURES
6815 if test -z "$defaultval"; then
6816 if test x"$enablestring" = xdisable; then
6823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6824 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6825 # Check whether --enable-backtrace was given.
6826 if test "${enable_backtrace+set}" = set; then
6827 enableval=$enable_backtrace;
6828 if test "$enableval" = yes; then
6829 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6831 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6838 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6839 if test "x$LINE" != x ; then
6840 eval "DEFAULT_$LINE"
6843 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6848 eval "$wx_cv_use_backtrace"
6849 if test "x$cache" = xyes; then
6850 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
6853 if test x"$enablestring" = xdisable; then
6854 if test $wxUSE_STACKWALKER = yes; then
6860 result=$wxUSE_STACKWALKER
6863 { echo "$as_me:$LINENO: result: $result" >&5
6864 echo "${ECHO_T}$result" >&6; }
6868 defaultval=$wxUSE_ALL_FEATURES
6869 if test -z "$defaultval"; then
6870 if test x"$enablestring" = xdisable; then
6877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6878 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6879 # Check whether --enable-catch_segvs was given.
6880 if test "${enable_catch_segvs+set}" = set; then
6881 enableval=$enable_catch_segvs;
6882 if test "$enableval" = yes; then
6883 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6885 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6892 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6893 if test "x$LINE" != x ; then
6894 eval "DEFAULT_$LINE"
6897 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6902 eval "$wx_cv_use_catch_segvs"
6903 if test "x$cache" = xyes; then
6904 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
6907 if test x"$enablestring" = xdisable; then
6908 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6914 result=$wxUSE_ON_FATAL_EXCEPTION
6917 { echo "$as_me:$LINENO: result: $result" >&5
6918 echo "${ECHO_T}$result" >&6; }
6922 defaultval=$wxUSE_ALL_FEATURES
6923 if test -z "$defaultval"; then
6924 if test x"$enablestring" = xdisable; then
6931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6932 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6933 # Check whether --enable-cmdline was given.
6934 if test "${enable_cmdline+set}" = set; then
6935 enableval=$enable_cmdline;
6936 if test "$enableval" = yes; then
6937 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6939 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6946 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6947 if test "x$LINE" != x ; then
6948 eval "DEFAULT_$LINE"
6951 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6956 eval "$wx_cv_use_cmdline"
6957 if test "x$cache" = xyes; then
6958 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
6961 if test x"$enablestring" = xdisable; then
6962 if test $wxUSE_CMDLINE_PARSER = yes; then
6968 result=$wxUSE_CMDLINE_PARSER
6971 { echo "$as_me:$LINENO: result: $result" >&5
6972 echo "${ECHO_T}$result" >&6; }
6976 defaultval=$wxUSE_ALL_FEATURES
6977 if test -z "$defaultval"; then
6978 if test x"$enablestring" = xdisable; then
6985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6986 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6987 # Check whether --enable-datetime was given.
6988 if test "${enable_datetime+set}" = set; then
6989 enableval=$enable_datetime;
6990 if test "$enableval" = yes; then
6991 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6993 wx_cv_use_datetime='wxUSE_DATETIME=no'
7000 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7001 if test "x$LINE" != x ; then
7002 eval "DEFAULT_$LINE"
7005 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7010 eval "$wx_cv_use_datetime"
7011 if test "x$cache" = xyes; then
7012 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7015 if test x"$enablestring" = xdisable; then
7016 if test $wxUSE_DATETIME = yes; then
7022 result=$wxUSE_DATETIME
7025 { echo "$as_me:$LINENO: result: $result" >&5
7026 echo "${ECHO_T}$result" >&6; }
7030 defaultval=$wxUSE_ALL_FEATURES
7031 if test -z "$defaultval"; then
7032 if test x"$enablestring" = xdisable; then
7039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7040 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7041 # Check whether --enable-debugreport was given.
7042 if test "${enable_debugreport+set}" = set; then
7043 enableval=$enable_debugreport;
7044 if test "$enableval" = yes; then
7045 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7047 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7054 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7055 if test "x$LINE" != x ; then
7056 eval "DEFAULT_$LINE"
7059 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7064 eval "$wx_cv_use_debugreport"
7065 if test "x$cache" = xyes; then
7066 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7069 if test x"$enablestring" = xdisable; then
7070 if test $wxUSE_DEBUGREPORT = yes; then
7076 result=$wxUSE_DEBUGREPORT
7079 { echo "$as_me:$LINENO: result: $result" >&5
7080 echo "${ECHO_T}$result" >&6; }
7084 defaultval=$wxUSE_ALL_FEATURES
7085 if test -z "$defaultval"; then
7086 if test x"$enablestring" = xdisable; then
7093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7094 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7095 # Check whether --enable-dialupman was given.
7096 if test "${enable_dialupman+set}" = set; then
7097 enableval=$enable_dialupman;
7098 if test "$enableval" = yes; then
7099 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7101 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7108 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7109 if test "x$LINE" != x ; then
7110 eval "DEFAULT_$LINE"
7113 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7118 eval "$wx_cv_use_dialupman"
7119 if test "x$cache" = xyes; then
7120 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7123 if test x"$enablestring" = xdisable; then
7124 if test $wxUSE_DIALUP_MANAGER = yes; then
7130 result=$wxUSE_DIALUP_MANAGER
7133 { echo "$as_me:$LINENO: result: $result" >&5
7134 echo "${ECHO_T}$result" >&6; }
7138 defaultval=$wxUSE_ALL_FEATURES
7139 if test -z "$defaultval"; then
7140 if test x"$enablestring" = xdisable; then
7147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7148 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7149 # Check whether --enable-dynlib was given.
7150 if test "${enable_dynlib+set}" = set; then
7151 enableval=$enable_dynlib;
7152 if test "$enableval" = yes; then
7153 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7155 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7162 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7163 if test "x$LINE" != x ; then
7164 eval "DEFAULT_$LINE"
7167 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7172 eval "$wx_cv_use_dynlib"
7173 if test "x$cache" = xyes; then
7174 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7177 if test x"$enablestring" = xdisable; then
7178 if test $wxUSE_DYNLIB_CLASS = yes; then
7184 result=$wxUSE_DYNLIB_CLASS
7187 { echo "$as_me:$LINENO: result: $result" >&5
7188 echo "${ECHO_T}$result" >&6; }
7192 defaultval=$wxUSE_ALL_FEATURES
7193 if test -z "$defaultval"; then
7194 if test x"$enablestring" = xdisable; then
7201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7202 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7203 # Check whether --enable-dynamicloader was given.
7204 if test "${enable_dynamicloader+set}" = set; then
7205 enableval=$enable_dynamicloader;
7206 if test "$enableval" = yes; then
7207 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7209 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7216 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7217 if test "x$LINE" != x ; then
7218 eval "DEFAULT_$LINE"
7221 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7226 eval "$wx_cv_use_dynamicloader"
7227 if test "x$cache" = xyes; then
7228 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7231 if test x"$enablestring" = xdisable; then
7232 if test $wxUSE_DYNAMIC_LOADER = yes; then
7238 result=$wxUSE_DYNAMIC_LOADER
7241 { echo "$as_me:$LINENO: result: $result" >&5
7242 echo "${ECHO_T}$result" >&6; }
7246 defaultval=$wxUSE_ALL_FEATURES
7247 if test -z "$defaultval"; then
7248 if test x"$enablestring" = xdisable; then
7255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7256 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7257 # Check whether --enable-exceptions was given.
7258 if test "${enable_exceptions+set}" = set; then
7259 enableval=$enable_exceptions;
7260 if test "$enableval" = yes; then
7261 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7263 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7270 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7271 if test "x$LINE" != x ; then
7272 eval "DEFAULT_$LINE"
7275 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7280 eval "$wx_cv_use_exceptions"
7281 if test "x$cache" = xyes; then
7282 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7285 if test x"$enablestring" = xdisable; then
7286 if test $wxUSE_EXCEPTIONS = yes; then
7292 result=$wxUSE_EXCEPTIONS
7295 { echo "$as_me:$LINENO: result: $result" >&5
7296 echo "${ECHO_T}$result" >&6; }
7300 defaultval=$wxUSE_ALL_FEATURES
7301 if test -z "$defaultval"; then
7302 if test x"$enablestring" = xdisable; then
7309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7310 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7311 # Check whether --enable-ffile was given.
7312 if test "${enable_ffile+set}" = set; then
7313 enableval=$enable_ffile;
7314 if test "$enableval" = yes; then
7315 wx_cv_use_ffile='wxUSE_FFILE=yes'
7317 wx_cv_use_ffile='wxUSE_FFILE=no'
7324 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7325 if test "x$LINE" != x ; then
7326 eval "DEFAULT_$LINE"
7329 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7334 eval "$wx_cv_use_ffile"
7335 if test "x$cache" = xyes; then
7336 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7339 if test x"$enablestring" = xdisable; then
7340 if test $wxUSE_FFILE = yes; then
7349 { echo "$as_me:$LINENO: result: $result" >&5
7350 echo "${ECHO_T}$result" >&6; }
7354 defaultval=$wxUSE_ALL_FEATURES
7355 if test -z "$defaultval"; then
7356 if test x"$enablestring" = xdisable; then
7363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7364 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7365 # Check whether --enable-file was given.
7366 if test "${enable_file+set}" = set; then
7367 enableval=$enable_file;
7368 if test "$enableval" = yes; then
7369 wx_cv_use_file='wxUSE_FILE=yes'
7371 wx_cv_use_file='wxUSE_FILE=no'
7378 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7379 if test "x$LINE" != x ; then
7380 eval "DEFAULT_$LINE"
7383 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7388 eval "$wx_cv_use_file"
7389 if test "x$cache" = xyes; then
7390 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7393 if test x"$enablestring" = xdisable; then
7394 if test $wxUSE_FILE = yes; then
7403 { echo "$as_me:$LINENO: result: $result" >&5
7404 echo "${ECHO_T}$result" >&6; }
7408 defaultval=$wxUSE_ALL_FEATURES
7409 if test -z "$defaultval"; then
7410 if test x"$enablestring" = xdisable; then
7417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7418 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7419 # Check whether --enable-filesystem was given.
7420 if test "${enable_filesystem+set}" = set; then
7421 enableval=$enable_filesystem;
7422 if test "$enableval" = yes; then
7423 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7425 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7432 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7433 if test "x$LINE" != x ; then
7434 eval "DEFAULT_$LINE"
7437 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7442 eval "$wx_cv_use_filesystem"
7443 if test "x$cache" = xyes; then
7444 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7447 if test x"$enablestring" = xdisable; then
7448 if test $wxUSE_FILESYSTEM = yes; then
7454 result=$wxUSE_FILESYSTEM
7457 { echo "$as_me:$LINENO: result: $result" >&5
7458 echo "${ECHO_T}$result" >&6; }
7462 defaultval=$wxUSE_ALL_FEATURES
7463 if test -z "$defaultval"; then
7464 if test x"$enablestring" = xdisable; then
7471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7472 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7473 # Check whether --enable-fontenum was given.
7474 if test "${enable_fontenum+set}" = set; then
7475 enableval=$enable_fontenum;
7476 if test "$enableval" = yes; then
7477 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7479 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7486 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7487 if test "x$LINE" != x ; then
7488 eval "DEFAULT_$LINE"
7491 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7496 eval "$wx_cv_use_fontenum"
7497 if test "x$cache" = xyes; then
7498 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7501 if test x"$enablestring" = xdisable; then
7502 if test $wxUSE_FONTENUM = yes; then
7508 result=$wxUSE_FONTENUM
7511 { echo "$as_me:$LINENO: result: $result" >&5
7512 echo "${ECHO_T}$result" >&6; }
7516 defaultval=$wxUSE_ALL_FEATURES
7517 if test -z "$defaultval"; then
7518 if test x"$enablestring" = xdisable; then
7525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7526 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7527 # Check whether --enable-fontmap was given.
7528 if test "${enable_fontmap+set}" = set; then
7529 enableval=$enable_fontmap;
7530 if test "$enableval" = yes; then
7531 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7533 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7540 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7541 if test "x$LINE" != x ; then
7542 eval "DEFAULT_$LINE"
7545 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7550 eval "$wx_cv_use_fontmap"
7551 if test "x$cache" = xyes; then
7552 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7555 if test x"$enablestring" = xdisable; then
7556 if test $wxUSE_FONTMAP = yes; then
7562 result=$wxUSE_FONTMAP
7565 { echo "$as_me:$LINENO: result: $result" >&5
7566 echo "${ECHO_T}$result" >&6; }
7570 defaultval=$wxUSE_ALL_FEATURES
7571 if test -z "$defaultval"; then
7572 if test x"$enablestring" = xdisable; then
7579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7580 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7581 # Check whether --enable-fs_archive was given.
7582 if test "${enable_fs_archive+set}" = set; then
7583 enableval=$enable_fs_archive;
7584 if test "$enableval" = yes; then
7585 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7587 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7594 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7595 if test "x$LINE" != x ; then
7596 eval "DEFAULT_$LINE"
7599 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7604 eval "$wx_cv_use_fs_archive"
7605 if test "x$cache" = xyes; then
7606 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7609 if test x"$enablestring" = xdisable; then
7610 if test $wxUSE_FS_ARCHIVE = yes; then
7616 result=$wxUSE_FS_ARCHIVE
7619 { echo "$as_me:$LINENO: result: $result" >&5
7620 echo "${ECHO_T}$result" >&6; }
7624 defaultval=$wxUSE_ALL_FEATURES
7625 if test -z "$defaultval"; then
7626 if test x"$enablestring" = xdisable; then
7633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7634 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7635 # Check whether --enable-fs_inet was given.
7636 if test "${enable_fs_inet+set}" = set; then
7637 enableval=$enable_fs_inet;
7638 if test "$enableval" = yes; then
7639 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7641 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7648 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7649 if test "x$LINE" != x ; then
7650 eval "DEFAULT_$LINE"
7653 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7658 eval "$wx_cv_use_fs_inet"
7659 if test "x$cache" = xyes; then
7660 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7663 if test x"$enablestring" = xdisable; then
7664 if test $wxUSE_FS_INET = yes; then
7670 result=$wxUSE_FS_INET
7673 { echo "$as_me:$LINENO: result: $result" >&5
7674 echo "${ECHO_T}$result" >&6; }
7678 defaultval=$wxUSE_ALL_FEATURES
7679 if test -z "$defaultval"; then
7680 if test x"$enablestring" = xdisable; then
7687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7688 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7689 # Check whether --enable-fs_zip was given.
7690 if test "${enable_fs_zip+set}" = set; then
7691 enableval=$enable_fs_zip;
7692 if test "$enableval" = yes; then
7693 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7695 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7702 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7703 if test "x$LINE" != x ; then
7704 eval "DEFAULT_$LINE"
7707 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7712 eval "$wx_cv_use_fs_zip"
7713 if test "x$cache" = xyes; then
7714 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7717 if test x"$enablestring" = xdisable; then
7718 if test $wxUSE_FS_ZIP = yes; then
7724 result=$wxUSE_FS_ZIP
7727 { echo "$as_me:$LINENO: result: $result" >&5
7728 echo "${ECHO_T}$result" >&6; }
7732 defaultval=$wxUSE_ALL_FEATURES
7733 if test -z "$defaultval"; then
7734 if test x"$enablestring" = xdisable; then
7741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7742 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7743 # Check whether --enable-geometry was given.
7744 if test "${enable_geometry+set}" = set; then
7745 enableval=$enable_geometry;
7746 if test "$enableval" = yes; then
7747 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7749 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7756 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7757 if test "x$LINE" != x ; then
7758 eval "DEFAULT_$LINE"
7761 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7766 eval "$wx_cv_use_geometry"
7767 if test "x$cache" = xyes; then
7768 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
7771 if test x"$enablestring" = xdisable; then
7772 if test $wxUSE_GEOMETRY = yes; then
7778 result=$wxUSE_GEOMETRY
7781 { echo "$as_me:$LINENO: result: $result" >&5
7782 echo "${ECHO_T}$result" >&6; }
7786 defaultval=$wxUSE_ALL_FEATURES
7787 if test -z "$defaultval"; then
7788 if test x"$enablestring" = xdisable; then
7795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7796 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7797 # Check whether --enable-log was given.
7798 if test "${enable_log+set}" = set; then
7799 enableval=$enable_log;
7800 if test "$enableval" = yes; then
7801 wx_cv_use_log='wxUSE_LOG=yes'
7803 wx_cv_use_log='wxUSE_LOG=no'
7810 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7811 if test "x$LINE" != x ; then
7812 eval "DEFAULT_$LINE"
7815 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7820 eval "$wx_cv_use_log"
7821 if test "x$cache" = xyes; then
7822 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
7825 if test x"$enablestring" = xdisable; then
7826 if test $wxUSE_LOG = yes; then
7835 { echo "$as_me:$LINENO: result: $result" >&5
7836 echo "${ECHO_T}$result" >&6; }
7840 defaultval=$wxUSE_ALL_FEATURES
7841 if test -z "$defaultval"; then
7842 if test x"$enablestring" = xdisable; then
7849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7850 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7851 # Check whether --enable-longlong was given.
7852 if test "${enable_longlong+set}" = set; then
7853 enableval=$enable_longlong;
7854 if test "$enableval" = yes; then
7855 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7857 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7864 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7865 if test "x$LINE" != x ; then
7866 eval "DEFAULT_$LINE"
7869 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7874 eval "$wx_cv_use_longlong"
7875 if test "x$cache" = xyes; then
7876 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
7879 if test x"$enablestring" = xdisable; then
7880 if test $wxUSE_LONGLONG = yes; then
7886 result=$wxUSE_LONGLONG
7889 { echo "$as_me:$LINENO: result: $result" >&5
7890 echo "${ECHO_T}$result" >&6; }
7894 defaultval=$wxUSE_ALL_FEATURES
7895 if test -z "$defaultval"; then
7896 if test x"$enablestring" = xdisable; then
7903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7904 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7905 # Check whether --enable-mimetype was given.
7906 if test "${enable_mimetype+set}" = set; then
7907 enableval=$enable_mimetype;
7908 if test "$enableval" = yes; then
7909 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7911 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7918 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7919 if test "x$LINE" != x ; then
7920 eval "DEFAULT_$LINE"
7923 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7928 eval "$wx_cv_use_mimetype"
7929 if test "x$cache" = xyes; then
7930 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
7933 if test x"$enablestring" = xdisable; then
7934 if test $wxUSE_MIMETYPE = yes; then
7940 result=$wxUSE_MIMETYPE
7943 { echo "$as_me:$LINENO: result: $result" >&5
7944 echo "${ECHO_T}$result" >&6; }
7948 defaultval=$wxUSE_ALL_FEATURES
7949 if test -z "$defaultval"; then
7950 if test x"$enablestring" = xdisable; then
7957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7958 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7959 # Check whether --enable-snglinst was given.
7960 if test "${enable_snglinst+set}" = set; then
7961 enableval=$enable_snglinst;
7962 if test "$enableval" = yes; then
7963 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7965 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7972 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
7973 if test "x$LINE" != x ; then
7974 eval "DEFAULT_$LINE"
7977 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7982 eval "$wx_cv_use_snglinst"
7983 if test "x$cache" = xyes; then
7984 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
7987 if test x"$enablestring" = xdisable; then
7988 if test $wxUSE_SNGLINST_CHECKER = yes; then
7994 result=$wxUSE_SNGLINST_CHECKER
7997 { echo "$as_me:$LINENO: result: $result" >&5
7998 echo "${ECHO_T}$result" >&6; }
8002 defaultval=$wxUSE_ALL_FEATURES
8003 if test -z "$defaultval"; then
8004 if test x"$enablestring" = xdisable; then
8011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8012 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8013 # Check whether --enable-stdpaths was given.
8014 if test "${enable_stdpaths+set}" = set; then
8015 enableval=$enable_stdpaths;
8016 if test "$enableval" = yes; then
8017 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8019 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8026 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8027 if test "x$LINE" != x ; then
8028 eval "DEFAULT_$LINE"
8031 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8036 eval "$wx_cv_use_stdpaths"
8037 if test "x$cache" = xyes; then
8038 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8041 if test x"$enablestring" = xdisable; then
8042 if test $wxUSE_STDPATHS = yes; then
8048 result=$wxUSE_STDPATHS
8051 { echo "$as_me:$LINENO: result: $result" >&5
8052 echo "${ECHO_T}$result" >&6; }
8056 defaultval=$wxUSE_ALL_FEATURES
8057 if test -z "$defaultval"; then
8058 if test x"$enablestring" = xdisable; then
8065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8066 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8067 # Check whether --enable-stopwatch was given.
8068 if test "${enable_stopwatch+set}" = set; then
8069 enableval=$enable_stopwatch;
8070 if test "$enableval" = yes; then
8071 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8073 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8080 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8081 if test "x$LINE" != x ; then
8082 eval "DEFAULT_$LINE"
8085 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8090 eval "$wx_cv_use_stopwatch"
8091 if test "x$cache" = xyes; then
8092 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8095 if test x"$enablestring" = xdisable; then
8096 if test $wxUSE_STOPWATCH = yes; then
8102 result=$wxUSE_STOPWATCH
8105 { echo "$as_me:$LINENO: result: $result" >&5
8106 echo "${ECHO_T}$result" >&6; }
8110 defaultval=$wxUSE_ALL_FEATURES
8111 if test -z "$defaultval"; then
8112 if test x"$enablestring" = xdisable; then
8119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8120 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8121 # Check whether --enable-streams was given.
8122 if test "${enable_streams+set}" = set; then
8123 enableval=$enable_streams;
8124 if test "$enableval" = yes; then
8125 wx_cv_use_streams='wxUSE_STREAMS=yes'
8127 wx_cv_use_streams='wxUSE_STREAMS=no'
8134 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8135 if test "x$LINE" != x ; then
8136 eval "DEFAULT_$LINE"
8139 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8144 eval "$wx_cv_use_streams"
8145 if test "x$cache" = xyes; then
8146 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8149 if test x"$enablestring" = xdisable; then
8150 if test $wxUSE_STREAMS = yes; then
8156 result=$wxUSE_STREAMS
8159 { echo "$as_me:$LINENO: result: $result" >&5
8160 echo "${ECHO_T}$result" >&6; }
8164 defaultval=$wxUSE_ALL_FEATURES
8165 if test -z "$defaultval"; then
8166 if test x"$enablestring" = xdisable; then
8173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8174 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8175 # Check whether --enable-system_options was given.
8176 if test "${enable_system_options+set}" = set; then
8177 enableval=$enable_system_options;
8178 if test "$enableval" = yes; then
8179 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8181 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8188 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8189 if test "x$LINE" != x ; then
8190 eval "DEFAULT_$LINE"
8193 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8198 eval "$wx_cv_use_system_options"
8199 if test "x$cache" = xyes; then
8200 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8203 if test x"$enablestring" = xdisable; then
8204 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8210 result=$wxUSE_SYSTEM_OPTIONS
8213 { echo "$as_me:$LINENO: result: $result" >&5
8214 echo "${ECHO_T}$result" >&6; }
8218 defaultval=$wxUSE_ALL_FEATURES
8219 if test -z "$defaultval"; then
8220 if test x"$enablestring" = xdisable; then
8227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8228 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8229 # Check whether --enable-tarstream was given.
8230 if test "${enable_tarstream+set}" = set; then
8231 enableval=$enable_tarstream;
8232 if test "$enableval" = yes; then
8233 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8235 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8242 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8243 if test "x$LINE" != x ; then
8244 eval "DEFAULT_$LINE"
8247 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8252 eval "$wx_cv_use_tarstream"
8253 if test "x$cache" = xyes; then
8254 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8257 if test x"$enablestring" = xdisable; then
8258 if test $wxUSE_TARSTREAM = yes; then
8264 result=$wxUSE_TARSTREAM
8267 { echo "$as_me:$LINENO: result: $result" >&5
8268 echo "${ECHO_T}$result" >&6; }
8272 defaultval=$wxUSE_ALL_FEATURES
8273 if test -z "$defaultval"; then
8274 if test x"$enablestring" = xdisable; then
8281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8282 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8283 # Check whether --enable-textbuf was given.
8284 if test "${enable_textbuf+set}" = set; then
8285 enableval=$enable_textbuf;
8286 if test "$enableval" = yes; then
8287 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8289 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8296 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8297 if test "x$LINE" != x ; then
8298 eval "DEFAULT_$LINE"
8301 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8306 eval "$wx_cv_use_textbuf"
8307 if test "x$cache" = xyes; then
8308 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8311 if test x"$enablestring" = xdisable; then
8312 if test $wxUSE_TEXTBUFFER = yes; then
8318 result=$wxUSE_TEXTBUFFER
8321 { echo "$as_me:$LINENO: result: $result" >&5
8322 echo "${ECHO_T}$result" >&6; }
8326 defaultval=$wxUSE_ALL_FEATURES
8327 if test -z "$defaultval"; then
8328 if test x"$enablestring" = xdisable; then
8335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8336 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8337 # Check whether --enable-textfile was given.
8338 if test "${enable_textfile+set}" = set; then
8339 enableval=$enable_textfile;
8340 if test "$enableval" = yes; then
8341 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8343 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8350 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8351 if test "x$LINE" != x ; then
8352 eval "DEFAULT_$LINE"
8355 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8360 eval "$wx_cv_use_textfile"
8361 if test "x$cache" = xyes; then
8362 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8365 if test x"$enablestring" = xdisable; then
8366 if test $wxUSE_TEXTFILE = yes; then
8372 result=$wxUSE_TEXTFILE
8375 { echo "$as_me:$LINENO: result: $result" >&5
8376 echo "${ECHO_T}$result" >&6; }
8380 defaultval=$wxUSE_ALL_FEATURES
8381 if test -z "$defaultval"; then
8382 if test x"$enablestring" = xdisable; then
8389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8390 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8391 # Check whether --enable-timer was given.
8392 if test "${enable_timer+set}" = set; then
8393 enableval=$enable_timer;
8394 if test "$enableval" = yes; then
8395 wx_cv_use_timer='wxUSE_TIMER=yes'
8397 wx_cv_use_timer='wxUSE_TIMER=no'
8404 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8405 if test "x$LINE" != x ; then
8406 eval "DEFAULT_$LINE"
8409 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8414 eval "$wx_cv_use_timer"
8415 if test "x$cache" = xyes; then
8416 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8419 if test x"$enablestring" = xdisable; then
8420 if test $wxUSE_TIMER = yes; then
8429 { echo "$as_me:$LINENO: result: $result" >&5
8430 echo "${ECHO_T}$result" >&6; }
8434 defaultval=$wxUSE_ALL_FEATURES
8435 if test -z "$defaultval"; then
8436 if test x"$enablestring" = xdisable; then
8443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8444 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8445 # Check whether --enable-sound was given.
8446 if test "${enable_sound+set}" = set; then
8447 enableval=$enable_sound;
8448 if test "$enableval" = yes; then
8449 wx_cv_use_sound='wxUSE_SOUND=yes'
8451 wx_cv_use_sound='wxUSE_SOUND=no'
8458 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8459 if test "x$LINE" != x ; then
8460 eval "DEFAULT_$LINE"
8463 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8468 eval "$wx_cv_use_sound"
8469 if test "x$cache" = xyes; then
8470 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8473 if test x"$enablestring" = xdisable; then
8474 if test $wxUSE_SOUND = yes; then
8483 { echo "$as_me:$LINENO: result: $result" >&5
8484 echo "${ECHO_T}$result" >&6; }
8488 defaultval=$wxUSE_ALL_FEATURES
8489 if test -z "$defaultval"; then
8490 if test x"$enablestring" = xdisable; then
8497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8498 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8499 # Check whether --enable-mediactrl was given.
8500 if test "${enable_mediactrl+set}" = set; then
8501 enableval=$enable_mediactrl;
8502 if test "$enableval" = yes; then
8503 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8505 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8512 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8513 if test "x$LINE" != x ; then
8514 eval "DEFAULT_$LINE"
8517 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8522 eval "$wx_cv_use_mediactrl"
8523 if test "x$cache" = xyes; then
8524 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8527 if test x"$enablestring" = xdisable; then
8528 if test $wxUSE_MEDIACTRL = yes; then
8534 result=$wxUSE_MEDIACTRL
8537 { echo "$as_me:$LINENO: result: $result" >&5
8538 echo "${ECHO_T}$result" >&6; }
8542 defaultval=$wxUSE_ALL_FEATURES
8543 if test -z "$defaultval"; then
8544 if test x"$enablestring" = xdisable; then
8551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8552 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8553 # Check whether --enable-gstreamer8 was given.
8554 if test "${enable_gstreamer8+set}" = set; then
8555 enableval=$enable_gstreamer8;
8556 if test "$enableval" = yes; then
8557 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8559 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8566 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8567 if test "x$LINE" != x ; then
8568 eval "DEFAULT_$LINE"
8571 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8576 eval "$wx_cv_use_gstreamer8"
8577 if test "x$cache" = xyes; then
8578 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8581 if test x"$enablestring" = xdisable; then
8582 if test $wxUSE_GSTREAMER8 = yes; then
8588 result=$wxUSE_GSTREAMER8
8591 { echo "$as_me:$LINENO: result: $result" >&5
8592 echo "${ECHO_T}$result" >&6; }
8596 defaultval=$wxUSE_ALL_FEATURES
8597 if test -z "$defaultval"; then
8598 if test x"$enablestring" = xdisable; then
8605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8606 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8607 # Check whether --enable-printfposparam was given.
8608 if test "${enable_printfposparam+set}" = set; then
8609 enableval=$enable_printfposparam;
8610 if test "$enableval" = yes; then
8611 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8613 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8620 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8621 if test "x$LINE" != x ; then
8622 eval "DEFAULT_$LINE"
8625 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8630 eval "$wx_cv_use_printfposparam"
8631 if test "x$cache" = xyes; then
8632 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8635 if test x"$enablestring" = xdisable; then
8636 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8642 result=$wxUSE_PRINTF_POS_PARAMS
8645 { echo "$as_me:$LINENO: result: $result" >&5
8646 echo "${ECHO_T}$result" >&6; }
8650 defaultval=$wxUSE_ALL_FEATURES
8651 if test -z "$defaultval"; then
8652 if test x"$enablestring" = xdisable; then
8659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8660 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8661 # Check whether --enable-zipstream was given.
8662 if test "${enable_zipstream+set}" = set; then
8663 enableval=$enable_zipstream;
8664 if test "$enableval" = yes; then
8665 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8667 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8674 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8675 if test "x$LINE" != x ; then
8676 eval "DEFAULT_$LINE"
8679 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8684 eval "$wx_cv_use_zipstream"
8685 if test "x$cache" = xyes; then
8686 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8689 if test x"$enablestring" = xdisable; then
8690 if test $wxUSE_ZIPSTREAM = yes; then
8696 result=$wxUSE_ZIPSTREAM
8699 { echo "$as_me:$LINENO: result: $result" >&5
8700 echo "${ECHO_T}$result" >&6; }
8705 defaultval=$wxUSE_ALL_FEATURES
8706 if test -z "$defaultval"; then
8707 if test x"$enablestring" = xdisable; then
8714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8715 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8716 # Check whether --enable-url was given.
8717 if test "${enable_url+set}" = set; then
8718 enableval=$enable_url;
8719 if test "$enableval" = yes; then
8720 wx_cv_use_url='wxUSE_URL=yes'
8722 wx_cv_use_url='wxUSE_URL=no'
8729 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8730 if test "x$LINE" != x ; then
8731 eval "DEFAULT_$LINE"
8734 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8739 eval "$wx_cv_use_url"
8740 if test "x$cache" = xyes; then
8741 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
8744 if test x"$enablestring" = xdisable; then
8745 if test $wxUSE_URL = yes; then
8754 { echo "$as_me:$LINENO: result: $result" >&5
8755 echo "${ECHO_T}$result" >&6; }
8759 defaultval=$wxUSE_ALL_FEATURES
8760 if test -z "$defaultval"; then
8761 if test x"$enablestring" = xdisable; then
8768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8769 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8770 # Check whether --enable-variant was given.
8771 if test "${enable_variant+set}" = set; then
8772 enableval=$enable_variant;
8773 if test "$enableval" = yes; then
8774 wx_cv_use_variant='wxUSE_VARIANT=yes'
8776 wx_cv_use_variant='wxUSE_VARIANT=no'
8783 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8784 if test "x$LINE" != x ; then
8785 eval "DEFAULT_$LINE"
8788 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8793 eval "$wx_cv_use_variant"
8794 if test "x$cache" = xyes; then
8795 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
8798 if test x"$enablestring" = xdisable; then
8799 if test $wxUSE_VARIANT = yes; then
8805 result=$wxUSE_VARIANT
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}-protocol" >&5
8823 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8824 # Check whether --enable-protocol was given.
8825 if test "${enable_protocol+set}" = set; then
8826 enableval=$enable_protocol;
8827 if test "$enableval" = yes; then
8828 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8830 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8837 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8838 if test "x$LINE" != x ; then
8839 eval "DEFAULT_$LINE"
8842 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8847 eval "$wx_cv_use_protocol"
8848 if test "x$cache" = xyes; then
8849 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
8852 if test x"$enablestring" = xdisable; then
8853 if test $wxUSE_PROTOCOL = yes; then
8859 result=$wxUSE_PROTOCOL
8862 { echo "$as_me:$LINENO: result: $result" >&5
8863 echo "${ECHO_T}$result" >&6; }
8867 defaultval=$wxUSE_ALL_FEATURES
8868 if test -z "$defaultval"; then
8869 if test x"$enablestring" = xdisable; then
8876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8877 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8878 # Check whether --enable-protocol_http was given.
8879 if test "${enable_protocol_http+set}" = set; then
8880 enableval=$enable_protocol_http;
8881 if test "$enableval" = yes; then
8882 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8884 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8891 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8892 if test "x$LINE" != x ; then
8893 eval "DEFAULT_$LINE"
8896 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8901 eval "$wx_cv_use_protocol_http"
8902 if test "x$cache" = xyes; then
8903 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
8906 if test x"$enablestring" = xdisable; then
8907 if test $wxUSE_PROTOCOL_HTTP = yes; then
8913 result=$wxUSE_PROTOCOL_HTTP
8916 { echo "$as_me:$LINENO: result: $result" >&5
8917 echo "${ECHO_T}$result" >&6; }
8921 defaultval=$wxUSE_ALL_FEATURES
8922 if test -z "$defaultval"; then
8923 if test x"$enablestring" = xdisable; then
8930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8931 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8932 # Check whether --enable-protocol_ftp was given.
8933 if test "${enable_protocol_ftp+set}" = set; then
8934 enableval=$enable_protocol_ftp;
8935 if test "$enableval" = yes; then
8936 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8938 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8945 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8946 if test "x$LINE" != x ; then
8947 eval "DEFAULT_$LINE"
8950 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8955 eval "$wx_cv_use_protocol_ftp"
8956 if test "x$cache" = xyes; then
8957 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
8960 if test x"$enablestring" = xdisable; then
8961 if test $wxUSE_PROTOCOL_FTP = yes; then
8967 result=$wxUSE_PROTOCOL_FTP
8970 { echo "$as_me:$LINENO: result: $result" >&5
8971 echo "${ECHO_T}$result" >&6; }
8975 defaultval=$wxUSE_ALL_FEATURES
8976 if test -z "$defaultval"; then
8977 if test x"$enablestring" = xdisable; then
8984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8985 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8986 # Check whether --enable-protocol_file was given.
8987 if test "${enable_protocol_file+set}" = set; then
8988 enableval=$enable_protocol_file;
8989 if test "$enableval" = yes; then
8990 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8992 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8999 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9000 if test "x$LINE" != x ; then
9001 eval "DEFAULT_$LINE"
9004 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9009 eval "$wx_cv_use_protocol_file"
9010 if test "x$cache" = xyes; then
9011 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9014 if test x"$enablestring" = xdisable; then
9015 if test $wxUSE_PROTOCOL_FILE = yes; then
9021 result=$wxUSE_PROTOCOL_FILE
9024 { echo "$as_me:$LINENO: result: $result" >&5
9025 echo "${ECHO_T}$result" >&6; }
9030 defaultval=$wxUSE_ALL_FEATURES
9031 if test -z "$defaultval"; then
9032 if test x"$enablestring" = xdisable; then
9039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9040 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9041 # Check whether --enable-threads was given.
9042 if test "${enable_threads+set}" = set; then
9043 enableval=$enable_threads;
9044 if test "$enableval" = yes; then
9045 wx_cv_use_threads='wxUSE_THREADS=yes'
9047 wx_cv_use_threads='wxUSE_THREADS=no'
9054 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9055 if test "x$LINE" != x ; then
9056 eval "DEFAULT_$LINE"
9059 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9064 eval "$wx_cv_use_threads"
9065 if test "x$cache" = xyes; then
9066 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9069 if test x"$enablestring" = xdisable; then
9070 if test $wxUSE_THREADS = yes; then
9076 result=$wxUSE_THREADS
9079 { echo "$as_me:$LINENO: result: $result" >&5
9080 echo "${ECHO_T}$result" >&6; }
9083 if test "$wxUSE_GUI" = "yes"; then
9088 defaultval=$wxUSE_ALL_FEATURES
9089 if test -z "$defaultval"; then
9090 if test x"$enablestring" = xdisable; then
9097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9098 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9099 # Check whether --enable-docview was given.
9100 if test "${enable_docview+set}" = set; then
9101 enableval=$enable_docview;
9102 if test "$enableval" = yes; then
9103 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9105 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9112 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9113 if test "x$LINE" != x ; then
9114 eval "DEFAULT_$LINE"
9117 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9122 eval "$wx_cv_use_docview"
9123 if test "x$cache" = xyes; then
9124 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9127 if test x"$enablestring" = xdisable; then
9128 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9134 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9137 { echo "$as_me:$LINENO: result: $result" >&5
9138 echo "${ECHO_T}$result" >&6; }
9142 defaultval=$wxUSE_ALL_FEATURES
9143 if test -z "$defaultval"; then
9144 if test x"$enablestring" = xdisable; then
9151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9152 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9153 # Check whether --enable-help was given.
9154 if test "${enable_help+set}" = set; then
9155 enableval=$enable_help;
9156 if test "$enableval" = yes; then
9157 wx_cv_use_help='wxUSE_HELP=yes'
9159 wx_cv_use_help='wxUSE_HELP=no'
9166 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9167 if test "x$LINE" != x ; then
9168 eval "DEFAULT_$LINE"
9171 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9176 eval "$wx_cv_use_help"
9177 if test "x$cache" = xyes; then
9178 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9181 if test x"$enablestring" = xdisable; then
9182 if test $wxUSE_HELP = yes; then
9191 { echo "$as_me:$LINENO: result: $result" >&5
9192 echo "${ECHO_T}$result" >&6; }
9196 defaultval=$wxUSE_ALL_FEATURES
9197 if test -z "$defaultval"; then
9198 if test x"$enablestring" = xdisable; then
9205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9206 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9207 # Check whether --enable-mshtmlhelp was given.
9208 if test "${enable_mshtmlhelp+set}" = set; then
9209 enableval=$enable_mshtmlhelp;
9210 if test "$enableval" = yes; then
9211 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9213 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9220 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9221 if test "x$LINE" != x ; then
9222 eval "DEFAULT_$LINE"
9225 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9230 eval "$wx_cv_use_mshtmlhelp"
9231 if test "x$cache" = xyes; then
9232 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9235 if test x"$enablestring" = xdisable; then
9236 if test $wxUSE_MS_HTML_HELP = yes; then
9242 result=$wxUSE_MS_HTML_HELP
9245 { echo "$as_me:$LINENO: result: $result" >&5
9246 echo "${ECHO_T}$result" >&6; }
9250 defaultval=$wxUSE_ALL_FEATURES
9251 if test -z "$defaultval"; then
9252 if test x"$enablestring" = xdisable; then
9259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9260 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9261 # Check whether --enable-html was given.
9262 if test "${enable_html+set}" = set; then
9263 enableval=$enable_html;
9264 if test "$enableval" = yes; then
9265 wx_cv_use_html='wxUSE_HTML=yes'
9267 wx_cv_use_html='wxUSE_HTML=no'
9274 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9275 if test "x$LINE" != x ; then
9276 eval "DEFAULT_$LINE"
9279 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9284 eval "$wx_cv_use_html"
9285 if test "x$cache" = xyes; then
9286 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9289 if test x"$enablestring" = xdisable; then
9290 if test $wxUSE_HTML = yes; then
9299 { echo "$as_me:$LINENO: result: $result" >&5
9300 echo "${ECHO_T}$result" >&6; }
9304 defaultval=$wxUSE_ALL_FEATURES
9305 if test -z "$defaultval"; then
9306 if test x"$enablestring" = xdisable; then
9313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9314 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9315 # Check whether --enable-htmlhelp was given.
9316 if test "${enable_htmlhelp+set}" = set; then
9317 enableval=$enable_htmlhelp;
9318 if test "$enableval" = yes; then
9319 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9321 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9328 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9329 if test "x$LINE" != x ; then
9330 eval "DEFAULT_$LINE"
9333 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9338 eval "$wx_cv_use_htmlhelp"
9339 if test "x$cache" = xyes; then
9340 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9343 if test x"$enablestring" = xdisable; then
9344 if test $wxUSE_WXHTML_HELP = yes; then
9350 result=$wxUSE_WXHTML_HELP
9353 { echo "$as_me:$LINENO: result: $result" >&5
9354 echo "${ECHO_T}$result" >&6; }
9358 defaultval=$wxUSE_ALL_FEATURES
9359 if test -z "$defaultval"; then
9360 if test x"$enablestring" = xdisable; then
9367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9368 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9369 # Check whether --enable-xrc was given.
9370 if test "${enable_xrc+set}" = set; then
9371 enableval=$enable_xrc;
9372 if test "$enableval" = yes; then
9373 wx_cv_use_xrc='wxUSE_XRC=yes'
9375 wx_cv_use_xrc='wxUSE_XRC=no'
9382 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9383 if test "x$LINE" != x ; then
9384 eval "DEFAULT_$LINE"
9387 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9392 eval "$wx_cv_use_xrc"
9393 if test "x$cache" = xyes; then
9394 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9397 if test x"$enablestring" = xdisable; then
9398 if test $wxUSE_XRC = yes; then
9407 { echo "$as_me:$LINENO: result: $result" >&5
9408 echo "${ECHO_T}$result" >&6; }
9412 defaultval=$wxUSE_ALL_FEATURES
9413 if test -z "$defaultval"; then
9414 if test x"$enablestring" = xdisable; then
9421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9422 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9423 # Check whether --enable-aui was given.
9424 if test "${enable_aui+set}" = set; then
9425 enableval=$enable_aui;
9426 if test "$enableval" = yes; then
9427 wx_cv_use_aui='wxUSE_AUI=yes'
9429 wx_cv_use_aui='wxUSE_AUI=no'
9436 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9437 if test "x$LINE" != x ; then
9438 eval "DEFAULT_$LINE"
9441 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9446 eval "$wx_cv_use_aui"
9447 if test "x$cache" = xyes; then
9448 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9451 if test x"$enablestring" = xdisable; then
9452 if test $wxUSE_AUI = yes; then
9461 { echo "$as_me:$LINENO: result: $result" >&5
9462 echo "${ECHO_T}$result" >&6; }
9466 defaultval=$wxUSE_ALL_FEATURES
9467 if test -z "$defaultval"; then
9468 if test x"$enablestring" = xdisable; then
9475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9476 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9477 # Check whether --enable-stc was given.
9478 if test "${enable_stc+set}" = set; then
9479 enableval=$enable_stc;
9480 if test "$enableval" = yes; then
9481 wx_cv_use_stc='wxUSE_STC=yes'
9483 wx_cv_use_stc='wxUSE_STC=no'
9490 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9491 if test "x$LINE" != x ; then
9492 eval "DEFAULT_$LINE"
9495 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9500 eval "$wx_cv_use_stc"
9501 if test "x$cache" = xyes; then
9502 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9505 if test x"$enablestring" = xdisable; then
9506 if test $wxUSE_STC = yes; then
9515 { echo "$as_me:$LINENO: result: $result" >&5
9516 echo "${ECHO_T}$result" >&6; }
9520 defaultval=$wxUSE_ALL_FEATURES
9521 if test -z "$defaultval"; then
9522 if test x"$enablestring" = xdisable; then
9529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9530 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9531 # Check whether --enable-constraints was given.
9532 if test "${enable_constraints+set}" = set; then
9533 enableval=$enable_constraints;
9534 if test "$enableval" = yes; then
9535 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9537 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9544 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9545 if test "x$LINE" != x ; then
9546 eval "DEFAULT_$LINE"
9549 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9554 eval "$wx_cv_use_constraints"
9555 if test "x$cache" = xyes; then
9556 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9559 if test x"$enablestring" = xdisable; then
9560 if test $wxUSE_CONSTRAINTS = yes; then
9566 result=$wxUSE_CONSTRAINTS
9569 { echo "$as_me:$LINENO: result: $result" >&5
9570 echo "${ECHO_T}$result" >&6; }
9574 defaultval=$wxUSE_ALL_FEATURES
9575 if test -z "$defaultval"; then
9576 if test x"$enablestring" = xdisable; then
9583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9584 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9585 # Check whether --enable-printarch was given.
9586 if test "${enable_printarch+set}" = set; then
9587 enableval=$enable_printarch;
9588 if test "$enableval" = yes; then
9589 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9591 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9598 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9599 if test "x$LINE" != x ; then
9600 eval "DEFAULT_$LINE"
9603 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9608 eval "$wx_cv_use_printarch"
9609 if test "x$cache" = xyes; then
9610 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9613 if test x"$enablestring" = xdisable; then
9614 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9620 result=$wxUSE_PRINTING_ARCHITECTURE
9623 { echo "$as_me:$LINENO: result: $result" >&5
9624 echo "${ECHO_T}$result" >&6; }
9628 defaultval=$wxUSE_ALL_FEATURES
9629 if test -z "$defaultval"; then
9630 if test x"$enablestring" = xdisable; then
9637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9638 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9639 # Check whether --enable-mdi was given.
9640 if test "${enable_mdi+set}" = set; then
9641 enableval=$enable_mdi;
9642 if test "$enableval" = yes; then
9643 wx_cv_use_mdi='wxUSE_MDI=yes'
9645 wx_cv_use_mdi='wxUSE_MDI=no'
9652 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9653 if test "x$LINE" != x ; then
9654 eval "DEFAULT_$LINE"
9657 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9662 eval "$wx_cv_use_mdi"
9663 if test "x$cache" = xyes; then
9664 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
9667 if test x"$enablestring" = xdisable; then
9668 if test $wxUSE_MDI = yes; then
9677 { echo "$as_me:$LINENO: result: $result" >&5
9678 echo "${ECHO_T}$result" >&6; }
9682 defaultval=$wxUSE_ALL_FEATURES
9683 if test -z "$defaultval"; then
9684 if test x"$enablestring" = xdisable; then
9691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9692 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9693 # Check whether --enable-mdidoc was given.
9694 if test "${enable_mdidoc+set}" = set; then
9695 enableval=$enable_mdidoc;
9696 if test "$enableval" = yes; then
9697 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9699 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9706 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9707 if test "x$LINE" != x ; then
9708 eval "DEFAULT_$LINE"
9711 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9716 eval "$wx_cv_use_mdidoc"
9717 if test "x$cache" = xyes; then
9718 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9721 if test x"$enablestring" = xdisable; then
9722 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9728 result=$wxUSE_MDI_ARCHITECTURE
9731 { echo "$as_me:$LINENO: result: $result" >&5
9732 echo "${ECHO_T}$result" >&6; }
9736 defaultval=$wxUSE_ALL_FEATURES
9737 if test -z "$defaultval"; then
9738 if test x"$enablestring" = xdisable; then
9745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9746 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9747 # Check whether --enable-loggui was given.
9748 if test "${enable_loggui+set}" = set; then
9749 enableval=$enable_loggui;
9750 if test "$enableval" = yes; then
9751 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9753 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9760 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9761 if test "x$LINE" != x ; then
9762 eval "DEFAULT_$LINE"
9765 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9770 eval "$wx_cv_use_loggui"
9771 if test "x$cache" = xyes; then
9772 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
9775 if test x"$enablestring" = xdisable; then
9776 if test $wxUSE_LOGGUI = yes; then
9782 result=$wxUSE_LOGGUI
9785 { echo "$as_me:$LINENO: result: $result" >&5
9786 echo "${ECHO_T}$result" >&6; }
9790 defaultval=$wxUSE_ALL_FEATURES
9791 if test -z "$defaultval"; then
9792 if test x"$enablestring" = xdisable; then
9799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9800 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9801 # Check whether --enable-logwin was given.
9802 if test "${enable_logwin+set}" = set; then
9803 enableval=$enable_logwin;
9804 if test "$enableval" = yes; then
9805 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9807 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9814 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9815 if test "x$LINE" != x ; then
9816 eval "DEFAULT_$LINE"
9819 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9824 eval "$wx_cv_use_logwin"
9825 if test "x$cache" = xyes; then
9826 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
9829 if test x"$enablestring" = xdisable; then
9830 if test $wxUSE_LOGWINDOW = yes; then
9836 result=$wxUSE_LOGWINDOW
9839 { echo "$as_me:$LINENO: result: $result" >&5
9840 echo "${ECHO_T}$result" >&6; }
9844 defaultval=$wxUSE_ALL_FEATURES
9845 if test -z "$defaultval"; then
9846 if test x"$enablestring" = xdisable; then
9853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9854 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9855 # Check whether --enable-logdialog was given.
9856 if test "${enable_logdialog+set}" = set; then
9857 enableval=$enable_logdialog;
9858 if test "$enableval" = yes; then
9859 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9861 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9868 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9869 if test "x$LINE" != x ; then
9870 eval "DEFAULT_$LINE"
9873 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9878 eval "$wx_cv_use_logdialog"
9879 if test "x$cache" = xyes; then
9880 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
9883 if test x"$enablestring" = xdisable; then
9884 if test $wxUSE_LOGDIALOG = yes; then
9890 result=$wxUSE_LOGDIALOG
9893 { echo "$as_me:$LINENO: result: $result" >&5
9894 echo "${ECHO_T}$result" >&6; }
9898 defaultval=$wxUSE_ALL_FEATURES
9899 if test -z "$defaultval"; then
9900 if test x"$enablestring" = xdisable; then
9907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9908 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9909 # Check whether --enable-webkit was given.
9910 if test "${enable_webkit+set}" = set; then
9911 enableval=$enable_webkit;
9912 if test "$enableval" = yes; then
9913 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9915 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9922 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9923 if test "x$LINE" != x ; then
9924 eval "DEFAULT_$LINE"
9927 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9932 eval "$wx_cv_use_webkit"
9933 if test "x$cache" = xyes; then
9934 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
9937 if test x"$enablestring" = xdisable; then
9938 if test $wxUSE_WEBKIT = yes; then
9944 result=$wxUSE_WEBKIT
9947 { echo "$as_me:$LINENO: result: $result" >&5
9948 echo "${ECHO_T}$result" >&6; }
9952 defaultval=$wxUSE_ALL_FEATURES
9953 if test -z "$defaultval"; then
9954 if test x"$enablestring" = xdisable; then
9961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9962 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9963 # Check whether --enable-richtext was given.
9964 if test "${enable_richtext+set}" = set; then
9965 enableval=$enable_richtext;
9966 if test "$enableval" = yes; then
9967 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9969 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9976 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
9977 if test "x$LINE" != x ; then
9978 eval "DEFAULT_$LINE"
9981 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9986 eval "$wx_cv_use_richtext"
9987 if test "x$cache" = xyes; then
9988 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
9991 if test x"$enablestring" = xdisable; then
9992 if test $wxUSE_RICHTEXT = yes; then
9998 result=$wxUSE_RICHTEXT
10001 { echo "$as_me:$LINENO: result: $result" >&5
10002 echo "${ECHO_T}$result" >&6; }
10006 defaultval=$wxUSE_ALL_FEATURES
10007 if test -z "$defaultval"; then
10008 if test x"$enablestring" = xdisable; then
10015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10016 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10017 # Check whether --enable-graphics_ctx was given.
10018 if test "${enable_graphics_ctx+set}" = set; then
10019 enableval=$enable_graphics_ctx;
10020 if test "$enableval" = yes; then
10021 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10023 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10030 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10031 if test "x$LINE" != x ; then
10032 eval "DEFAULT_$LINE"
10035 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10040 eval "$wx_cv_use_graphics_ctx"
10041 if test "x$cache" = xyes; then
10042 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10045 if test x"$enablestring" = xdisable; then
10046 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10052 result=$wxUSE_GRAPHICS_CONTEXT
10055 { echo "$as_me:$LINENO: result: $result" >&5
10056 echo "${ECHO_T}$result" >&6; }
10060 defaultval=$wxUSE_ALL_FEATURES
10061 if test -z "$defaultval"; then
10062 if test x"$enablestring" = xdisable; then
10069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10070 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10071 # Check whether --enable-postscript was given.
10072 if test "${enable_postscript+set}" = set; then
10073 enableval=$enable_postscript;
10074 if test "$enableval" = yes; then
10075 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10077 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10084 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10085 if test "x$LINE" != x ; then
10086 eval "DEFAULT_$LINE"
10089 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10094 eval "$wx_cv_use_postscript"
10095 if test "x$cache" = xyes; then
10096 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10099 if test x"$enablestring" = xdisable; then
10100 if test $wxUSE_POSTSCRIPT = yes; then
10106 result=$wxUSE_POSTSCRIPT
10109 { echo "$as_me:$LINENO: result: $result" >&5
10110 echo "${ECHO_T}$result" >&6; }
10114 defaultval=$wxUSE_ALL_FEATURES
10115 if test -z "$defaultval"; then
10116 if test x"$enablestring" = xdisable; then
10123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10124 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10125 # Check whether --enable-svg was given.
10126 if test "${enable_svg+set}" = set; then
10127 enableval=$enable_svg;
10128 if test "$enableval" = yes; then
10129 wx_cv_use_svg='wxUSE_SVG=yes'
10131 wx_cv_use_svg='wxUSE_SVG=no'
10138 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10139 if test "x$LINE" != x ; then
10140 eval "DEFAULT_$LINE"
10143 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10148 eval "$wx_cv_use_svg"
10149 if test "x$cache" = xyes; then
10150 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10153 if test x"$enablestring" = xdisable; then
10154 if test $wxUSE_SVG = yes; then
10163 { echo "$as_me:$LINENO: result: $result" >&5
10164 echo "${ECHO_T}$result" >&6; }
10170 defaultval=$wxUSE_ALL_FEATURES
10171 if test -z "$defaultval"; then
10172 if test x"$enablestring" = xdisable; then
10179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10180 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10181 # Check whether --enable-clipboard was given.
10182 if test "${enable_clipboard+set}" = set; then
10183 enableval=$enable_clipboard;
10184 if test "$enableval" = yes; then
10185 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10187 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10194 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10195 if test "x$LINE" != x ; then
10196 eval "DEFAULT_$LINE"
10199 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10204 eval "$wx_cv_use_clipboard"
10205 if test "x$cache" = xyes; then
10206 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10209 if test x"$enablestring" = xdisable; then
10210 if test $wxUSE_CLIPBOARD = yes; then
10216 result=$wxUSE_CLIPBOARD
10219 { echo "$as_me:$LINENO: result: $result" >&5
10220 echo "${ECHO_T}$result" >&6; }
10224 defaultval=$wxUSE_ALL_FEATURES
10225 if test -z "$defaultval"; then
10226 if test x"$enablestring" = xdisable; then
10233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10234 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10235 # Check whether --enable-dnd was given.
10236 if test "${enable_dnd+set}" = set; then
10237 enableval=$enable_dnd;
10238 if test "$enableval" = yes; then
10239 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10241 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10248 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10249 if test "x$LINE" != x ; then
10250 eval "DEFAULT_$LINE"
10253 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10258 eval "$wx_cv_use_dnd"
10259 if test "x$cache" = xyes; then
10260 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10263 if test x"$enablestring" = xdisable; then
10264 if test $wxUSE_DRAG_AND_DROP = yes; then
10270 result=$wxUSE_DRAG_AND_DROP
10273 { echo "$as_me:$LINENO: result: $result" >&5
10274 echo "${ECHO_T}$result" >&6; }
10278 defaultval=$wxUSE_ALL_FEATURES
10279 if test -z "$defaultval"; then
10280 if test x"$enablestring" = xdisable; then
10287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10289 # Check whether --enable-metafile was given.
10290 if test "${enable_metafile+set}" = set; then
10291 enableval=$enable_metafile;
10292 if test "$enableval" = yes; then
10293 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10295 wx_cv_use_metafile='wxUSE_METAFILE=no'
10302 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10303 if test "x$LINE" != x ; then
10304 eval "DEFAULT_$LINE"
10307 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10312 eval "$wx_cv_use_metafile"
10313 if test "x$cache" = xyes; then
10314 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10317 if test x"$enablestring" = xdisable; then
10318 if test $wxUSE_METAFILE = yes; then
10324 result=$wxUSE_METAFILE
10327 { echo "$as_me:$LINENO: result: $result" >&5
10328 echo "${ECHO_T}$result" >&6; }
10332 DEFAULT_wxUSE_CONTROLS=none
10334 enablestring=disable
10336 if test -z "$defaultval"; then
10337 if test x"$enablestring" = xdisable; then
10344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10345 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10346 # Check whether --enable-controls was given.
10347 if test "${enable_controls+set}" = set; then
10348 enableval=$enable_controls;
10349 if test "$enableval" = yes; then
10350 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10352 wx_cv_use_controls='wxUSE_CONTROLS=no'
10359 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10360 if test "x$LINE" != x ; then
10361 eval "DEFAULT_$LINE"
10364 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10369 eval "$wx_cv_use_controls"
10370 if test "x$cache" = xyes; then
10371 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10374 if test x"$enablestring" = xdisable; then
10375 if test $wxUSE_CONTROLS = yes; then
10381 result=$wxUSE_CONTROLS
10384 { echo "$as_me:$LINENO: result: $result" >&5
10385 echo "${ECHO_T}$result" >&6; }
10388 if test "$wxUSE_CONTROLS" = "yes"; then
10389 DEFAULT_wxUSE_ACCEL=yes
10390 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10391 DEFAULT_wxUSE_BMPBUTTON=yes
10392 DEFAULT_wxUSE_BUTTON=yes
10393 DEFAULT_wxUSE_CALCTRL=yes
10394 DEFAULT_wxUSE_CARET=yes
10395 DEFAULT_wxUSE_COMBOBOX=yes
10396 DEFAULT_wxUSE_CHECKBOX=yes
10397 DEFAULT_wxUSE_CHECKLISTBOX=yes
10398 DEFAULT_wxUSE_CHOICE=yes
10399 DEFAULT_wxUSE_CHOICEBOOK=yes
10400 DEFAULT_wxUSE_COLLPANE=yes
10401 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10402 DEFAULT_wxUSE_COMBOBOX=yes
10403 DEFAULT_wxUSE_DATEPICKCTRL=yes
10404 DEFAULT_wxUSE_DISPLAY=yes
10405 DEFAULT_wxUSE_DETECT_SM=yes
10406 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10407 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10408 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10409 DEFAULT_wxUSE_GAUGE=yes
10410 DEFAULT_wxUSE_GRID=yes
10411 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10412 DEFAULT_wxUSE_DATAVIEWCTRL=no
10413 DEFAULT_wxUSE_IMAGLIST=yes
10414 DEFAULT_wxUSE_LISTBOOK=yes
10415 DEFAULT_wxUSE_LISTBOX=yes
10416 DEFAULT_wxUSE_LISTCTRL=yes
10417 DEFAULT_wxUSE_NOTEBOOK=yes
10418 DEFAULT_wxUSE_RADIOBOX=yes
10419 DEFAULT_wxUSE_RADIOBTN=yes
10420 DEFAULT_wxUSE_SASH=yes
10421 DEFAULT_wxUSE_SCROLLBAR=yes
10422 DEFAULT_wxUSE_SEARCHCTRL=yes
10423 DEFAULT_wxUSE_SLIDER=yes
10424 DEFAULT_wxUSE_SPINBTN=yes
10425 DEFAULT_wxUSE_SPINCTRL=yes
10426 DEFAULT_wxUSE_SPLITTER=yes
10427 DEFAULT_wxUSE_STATBMP=yes
10428 DEFAULT_wxUSE_STATBOX=yes
10429 DEFAULT_wxUSE_STATLINE=yes
10430 DEFAULT_wxUSE_STATUSBAR=yes
10431 DEFAULT_wxUSE_TAB_DIALOG=yes
10432 DEFAULT_wxUSE_TOGGLEBTN=yes
10433 DEFAULT_wxUSE_TOOLBAR=yes
10434 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10435 DEFAULT_wxUSE_TOOLTIPS=yes
10436 DEFAULT_wxUSE_TREEBOOK=yes
10437 DEFAULT_wxUSE_TOOLBOOK=yes
10438 DEFAULT_wxUSE_TREECTRL=yes
10439 DEFAULT_wxUSE_POPUPWIN=yes
10440 DEFAULT_wxUSE_TIPWINDOW=yes
10441 elif test "$wxUSE_CONTROLS" = "no"; then
10442 DEFAULT_wxUSE_ACCEL=no
10443 DEFAULT_wxUSE_ANIMATIONCTRL=no
10444 DEFAULT_wxUSE_BMPBUTTON=no
10445 DEFAULT_wxUSE_BUTTON=no
10446 DEFAULT_wxUSE_CALCTRL=no
10447 DEFAULT_wxUSE_CARET=no
10448 DEFAULT_wxUSE_COLLPANE=no
10449 DEFAULT_wxUSE_COMBOBOX=no
10450 DEFAULT_wxUSE_CHECKBOX=no
10451 DEFAULT_wxUSE_CHECKLISTBOX=no
10452 DEFAULT_wxUSE_CHOICE=no
10453 DEFAULT_wxUSE_CHOICEBOOK=no
10454 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10455 DEFAULT_wxUSE_COMBOBOX=no
10456 DEFAULT_wxUSE_DATEPICKCTRL=no
10457 DEFAULT_wxUSE_DISPLAY=no
10458 DEFAULT_wxUSE_DETECT_SM=no
10459 DEFAULT_wxUSE_DIRPICKERCTRL=no
10460 DEFAULT_wxUSE_FILEPICKERCTRL=no
10461 DEFAULT_wxUSE_FONTPICKERCTRL=no
10462 DEFAULT_wxUSE_GAUGE=no
10463 DEFAULT_wxUSE_GRID=no
10464 DEFAULT_wxUSE_HYPERLINKCTRL=no
10465 DEFAULT_wxUSE_DATAVIEWCTRL=no
10466 DEFAULT_wxUSE_IMAGLIST=no
10467 DEFAULT_wxUSE_LISTBOOK=no
10468 DEFAULT_wxUSE_LISTBOX=no
10469 DEFAULT_wxUSE_LISTCTRL=no
10470 DEFAULT_wxUSE_NOTEBOOK=no
10471 DEFAULT_wxUSE_RADIOBOX=no
10472 DEFAULT_wxUSE_RADIOBTN=no
10473 DEFAULT_wxUSE_SASH=no
10474 DEFAULT_wxUSE_SCROLLBAR=no
10475 DEFAULT_wxUSE_SEARCHCTRL=no
10476 DEFAULT_wxUSE_SLIDER=no
10477 DEFAULT_wxUSE_SPINBTN=no
10478 DEFAULT_wxUSE_SPINCTRL=no
10479 DEFAULT_wxUSE_SPLITTER=no
10480 DEFAULT_wxUSE_STATBMP=no
10481 DEFAULT_wxUSE_STATBOX=no
10482 DEFAULT_wxUSE_STATLINE=no
10483 DEFAULT_wxUSE_STATUSBAR=no
10484 DEFAULT_wxUSE_TAB_DIALOG=no
10485 DEFAULT_wxUSE_TOGGLEBTN=no
10486 DEFAULT_wxUSE_TOOLBAR=no
10487 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10488 DEFAULT_wxUSE_TOOLTIPS=no
10489 DEFAULT_wxUSE_TREEBOOK=no
10490 DEFAULT_wxUSE_TOOLBOOK=no
10491 DEFAULT_wxUSE_TREECTRL=no
10492 DEFAULT_wxUSE_POPUPWIN=no
10493 DEFAULT_wxUSE_TIPWINDOW=no
10498 defaultval=$wxUSE_ALL_FEATURES
10499 if test -z "$defaultval"; then
10500 if test x"$enablestring" = xdisable; then
10507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10508 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10509 # Check whether --enable-accel was given.
10510 if test "${enable_accel+set}" = set; then
10511 enableval=$enable_accel;
10512 if test "$enableval" = yes; then
10513 wx_cv_use_accel='wxUSE_ACCEL=yes'
10515 wx_cv_use_accel='wxUSE_ACCEL=no'
10522 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10523 if test "x$LINE" != x ; then
10524 eval "DEFAULT_$LINE"
10527 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10532 eval "$wx_cv_use_accel"
10533 if test "x$cache" = xyes; then
10534 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10537 if test x"$enablestring" = xdisable; then
10538 if test $wxUSE_ACCEL = yes; then
10544 result=$wxUSE_ACCEL
10547 { echo "$as_me:$LINENO: result: $result" >&5
10548 echo "${ECHO_T}$result" >&6; }
10552 defaultval=$wxUSE_ALL_FEATURES
10553 if test -z "$defaultval"; then
10554 if test x"$enablestring" = xdisable; then
10561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10562 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10563 # Check whether --enable-animatectrl was given.
10564 if test "${enable_animatectrl+set}" = set; then
10565 enableval=$enable_animatectrl;
10566 if test "$enableval" = yes; then
10567 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10569 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10576 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10577 if test "x$LINE" != x ; then
10578 eval "DEFAULT_$LINE"
10581 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10586 eval "$wx_cv_use_animatectrl"
10587 if test "x$cache" = xyes; then
10588 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
10591 if test x"$enablestring" = xdisable; then
10592 if test $wxUSE_ANIMATIONCTRL = yes; then
10598 result=$wxUSE_ANIMATIONCTRL
10601 { echo "$as_me:$LINENO: result: $result" >&5
10602 echo "${ECHO_T}$result" >&6; }
10606 defaultval=$wxUSE_ALL_FEATURES
10607 if test -z "$defaultval"; then
10608 if test x"$enablestring" = xdisable; then
10615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10616 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10617 # Check whether --enable-button was given.
10618 if test "${enable_button+set}" = set; then
10619 enableval=$enable_button;
10620 if test "$enableval" = yes; then
10621 wx_cv_use_button='wxUSE_BUTTON=yes'
10623 wx_cv_use_button='wxUSE_BUTTON=no'
10630 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10631 if test "x$LINE" != x ; then
10632 eval "DEFAULT_$LINE"
10635 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10640 eval "$wx_cv_use_button"
10641 if test "x$cache" = xyes; then
10642 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
10645 if test x"$enablestring" = xdisable; then
10646 if test $wxUSE_BUTTON = yes; then
10652 result=$wxUSE_BUTTON
10655 { echo "$as_me:$LINENO: result: $result" >&5
10656 echo "${ECHO_T}$result" >&6; }
10660 defaultval=$wxUSE_ALL_FEATURES
10661 if test -z "$defaultval"; then
10662 if test x"$enablestring" = xdisable; then
10669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10670 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10671 # Check whether --enable-bmpbutton was given.
10672 if test "${enable_bmpbutton+set}" = set; then
10673 enableval=$enable_bmpbutton;
10674 if test "$enableval" = yes; then
10675 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10677 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10684 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10685 if test "x$LINE" != x ; then
10686 eval "DEFAULT_$LINE"
10689 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10694 eval "$wx_cv_use_bmpbutton"
10695 if test "x$cache" = xyes; then
10696 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
10699 if test x"$enablestring" = xdisable; then
10700 if test $wxUSE_BMPBUTTON = yes; then
10706 result=$wxUSE_BMPBUTTON
10709 { echo "$as_me:$LINENO: result: $result" >&5
10710 echo "${ECHO_T}$result" >&6; }
10714 defaultval=$wxUSE_ALL_FEATURES
10715 if test -z "$defaultval"; then
10716 if test x"$enablestring" = xdisable; then
10723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10724 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10725 # Check whether --enable-bmpcombobox was given.
10726 if test "${enable_bmpcombobox+set}" = set; then
10727 enableval=$enable_bmpcombobox;
10728 if test "$enableval" = yes; then
10729 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10731 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10738 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10739 if test "x$LINE" != x ; then
10740 eval "DEFAULT_$LINE"
10743 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10748 eval "$wx_cv_use_bmpcombobox"
10749 if test "x$cache" = xyes; then
10750 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
10753 if test x"$enablestring" = xdisable; then
10754 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10760 result=$wxUSE_BITMAPCOMBOBOX
10763 { echo "$as_me:$LINENO: result: $result" >&5
10764 echo "${ECHO_T}$result" >&6; }
10768 defaultval=$wxUSE_ALL_FEATURES
10769 if test -z "$defaultval"; then
10770 if test x"$enablestring" = xdisable; then
10777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10778 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10779 # Check whether --enable-calendar was given.
10780 if test "${enable_calendar+set}" = set; then
10781 enableval=$enable_calendar;
10782 if test "$enableval" = yes; then
10783 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10785 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10792 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10793 if test "x$LINE" != x ; then
10794 eval "DEFAULT_$LINE"
10797 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10802 eval "$wx_cv_use_calendar"
10803 if test "x$cache" = xyes; then
10804 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
10807 if test x"$enablestring" = xdisable; then
10808 if test $wxUSE_CALCTRL = yes; then
10814 result=$wxUSE_CALCTRL
10817 { echo "$as_me:$LINENO: result: $result" >&5
10818 echo "${ECHO_T}$result" >&6; }
10822 defaultval=$wxUSE_ALL_FEATURES
10823 if test -z "$defaultval"; then
10824 if test x"$enablestring" = xdisable; then
10831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10832 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10833 # Check whether --enable-caret was given.
10834 if test "${enable_caret+set}" = set; then
10835 enableval=$enable_caret;
10836 if test "$enableval" = yes; then
10837 wx_cv_use_caret='wxUSE_CARET=yes'
10839 wx_cv_use_caret='wxUSE_CARET=no'
10846 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10847 if test "x$LINE" != x ; then
10848 eval "DEFAULT_$LINE"
10851 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10856 eval "$wx_cv_use_caret"
10857 if test "x$cache" = xyes; then
10858 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
10861 if test x"$enablestring" = xdisable; then
10862 if test $wxUSE_CARET = yes; then
10868 result=$wxUSE_CARET
10871 { echo "$as_me:$LINENO: result: $result" >&5
10872 echo "${ECHO_T}$result" >&6; }
10876 defaultval=$wxUSE_ALL_FEATURES
10877 if test -z "$defaultval"; then
10878 if test x"$enablestring" = xdisable; then
10885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10886 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10887 # Check whether --enable-checkbox was given.
10888 if test "${enable_checkbox+set}" = set; then
10889 enableval=$enable_checkbox;
10890 if test "$enableval" = yes; then
10891 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10893 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10900 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10901 if test "x$LINE" != x ; then
10902 eval "DEFAULT_$LINE"
10905 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10910 eval "$wx_cv_use_checkbox"
10911 if test "x$cache" = xyes; then
10912 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
10915 if test x"$enablestring" = xdisable; then
10916 if test $wxUSE_CHECKBOX = yes; then
10922 result=$wxUSE_CHECKBOX
10925 { echo "$as_me:$LINENO: result: $result" >&5
10926 echo "${ECHO_T}$result" >&6; }
10930 defaultval=$wxUSE_ALL_FEATURES
10931 if test -z "$defaultval"; then
10932 if test x"$enablestring" = xdisable; then
10939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10940 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10941 # Check whether --enable-checklst was given.
10942 if test "${enable_checklst+set}" = set; then
10943 enableval=$enable_checklst;
10944 if test "$enableval" = yes; then
10945 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10947 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10954 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
10955 if test "x$LINE" != x ; then
10956 eval "DEFAULT_$LINE"
10959 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10964 eval "$wx_cv_use_checklst"
10965 if test "x$cache" = xyes; then
10966 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
10969 if test x"$enablestring" = xdisable; then
10970 if test $wxUSE_CHECKLST = yes; then
10976 result=$wxUSE_CHECKLST
10979 { echo "$as_me:$LINENO: result: $result" >&5
10980 echo "${ECHO_T}$result" >&6; }
10984 defaultval=$wxUSE_ALL_FEATURES
10985 if test -z "$defaultval"; then
10986 if test x"$enablestring" = xdisable; then
10993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10994 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10995 # Check whether --enable-choice was given.
10996 if test "${enable_choice+set}" = set; then
10997 enableval=$enable_choice;
10998 if test "$enableval" = yes; then
10999 wx_cv_use_choice='wxUSE_CHOICE=yes'
11001 wx_cv_use_choice='wxUSE_CHOICE=no'
11008 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11009 if test "x$LINE" != x ; then
11010 eval "DEFAULT_$LINE"
11013 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11018 eval "$wx_cv_use_choice"
11019 if test "x$cache" = xyes; then
11020 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11023 if test x"$enablestring" = xdisable; then
11024 if test $wxUSE_CHOICE = yes; then
11030 result=$wxUSE_CHOICE
11033 { echo "$as_me:$LINENO: result: $result" >&5
11034 echo "${ECHO_T}$result" >&6; }
11038 defaultval=$wxUSE_ALL_FEATURES
11039 if test -z "$defaultval"; then
11040 if test x"$enablestring" = xdisable; then
11047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11048 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11049 # Check whether --enable-choicebook was given.
11050 if test "${enable_choicebook+set}" = set; then
11051 enableval=$enable_choicebook;
11052 if test "$enableval" = yes; then
11053 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11055 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11062 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11063 if test "x$LINE" != x ; then
11064 eval "DEFAULT_$LINE"
11067 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11072 eval "$wx_cv_use_choicebook"
11073 if test "x$cache" = xyes; then
11074 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11077 if test x"$enablestring" = xdisable; then
11078 if test $wxUSE_CHOICEBOOK = yes; then
11084 result=$wxUSE_CHOICEBOOK
11087 { echo "$as_me:$LINENO: result: $result" >&5
11088 echo "${ECHO_T}$result" >&6; }
11092 defaultval=$wxUSE_ALL_FEATURES
11093 if test -z "$defaultval"; then
11094 if test x"$enablestring" = xdisable; then
11101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11102 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11103 # Check whether --enable-collpane was given.
11104 if test "${enable_collpane+set}" = set; then
11105 enableval=$enable_collpane;
11106 if test "$enableval" = yes; then
11107 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11109 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11116 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11117 if test "x$LINE" != x ; then
11118 eval "DEFAULT_$LINE"
11121 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11126 eval "$wx_cv_use_collpane"
11127 if test "x$cache" = xyes; then
11128 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11131 if test x"$enablestring" = xdisable; then
11132 if test $wxUSE_COLLPANE = yes; then
11138 result=$wxUSE_COLLPANE
11141 { echo "$as_me:$LINENO: result: $result" >&5
11142 echo "${ECHO_T}$result" >&6; }
11146 defaultval=$wxUSE_ALL_FEATURES
11147 if test -z "$defaultval"; then
11148 if test x"$enablestring" = xdisable; then
11155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11156 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11157 # Check whether --enable-colourpicker was given.
11158 if test "${enable_colourpicker+set}" = set; then
11159 enableval=$enable_colourpicker;
11160 if test "$enableval" = yes; then
11161 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11163 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11170 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11171 if test "x$LINE" != x ; then
11172 eval "DEFAULT_$LINE"
11175 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11180 eval "$wx_cv_use_colourpicker"
11181 if test "x$cache" = xyes; then
11182 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11185 if test x"$enablestring" = xdisable; then
11186 if test $wxUSE_COLOURPICKERCTRL = yes; then
11192 result=$wxUSE_COLOURPICKERCTRL
11195 { echo "$as_me:$LINENO: result: $result" >&5
11196 echo "${ECHO_T}$result" >&6; }
11200 defaultval=$wxUSE_ALL_FEATURES
11201 if test -z "$defaultval"; then
11202 if test x"$enablestring" = xdisable; then
11209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11210 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11211 # Check whether --enable-combobox was given.
11212 if test "${enable_combobox+set}" = set; then
11213 enableval=$enable_combobox;
11214 if test "$enableval" = yes; then
11215 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11217 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11224 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11225 if test "x$LINE" != x ; then
11226 eval "DEFAULT_$LINE"
11229 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11234 eval "$wx_cv_use_combobox"
11235 if test "x$cache" = xyes; then
11236 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11239 if test x"$enablestring" = xdisable; then
11240 if test $wxUSE_COMBOBOX = yes; then
11246 result=$wxUSE_COMBOBOX
11249 { echo "$as_me:$LINENO: result: $result" >&5
11250 echo "${ECHO_T}$result" >&6; }
11254 defaultval=$wxUSE_ALL_FEATURES
11255 if test -z "$defaultval"; then
11256 if test x"$enablestring" = xdisable; then
11263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11264 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11265 # Check whether --enable-comboctrl was given.
11266 if test "${enable_comboctrl+set}" = set; then
11267 enableval=$enable_comboctrl;
11268 if test "$enableval" = yes; then
11269 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11271 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11278 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11279 if test "x$LINE" != x ; then
11280 eval "DEFAULT_$LINE"
11283 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11288 eval "$wx_cv_use_comboctrl"
11289 if test "x$cache" = xyes; then
11290 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11293 if test x"$enablestring" = xdisable; then
11294 if test $wxUSE_COMBOCTRL = yes; then
11300 result=$wxUSE_COMBOCTRL
11303 { echo "$as_me:$LINENO: result: $result" >&5
11304 echo "${ECHO_T}$result" >&6; }
11308 defaultval=$wxUSE_ALL_FEATURES
11309 if test -z "$defaultval"; then
11310 if test x"$enablestring" = xdisable; then
11317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11318 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11319 # Check whether --enable-datepick was given.
11320 if test "${enable_datepick+set}" = set; then
11321 enableval=$enable_datepick;
11322 if test "$enableval" = yes; then
11323 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11325 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11332 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11333 if test "x$LINE" != x ; then
11334 eval "DEFAULT_$LINE"
11337 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11342 eval "$wx_cv_use_datepick"
11343 if test "x$cache" = xyes; then
11344 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11347 if test x"$enablestring" = xdisable; then
11348 if test $wxUSE_DATEPICKCTRL = yes; then
11354 result=$wxUSE_DATEPICKCTRL
11357 { echo "$as_me:$LINENO: result: $result" >&5
11358 echo "${ECHO_T}$result" >&6; }
11362 defaultval=$wxUSE_ALL_FEATURES
11363 if test -z "$defaultval"; then
11364 if test x"$enablestring" = xdisable; then
11371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11372 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11373 # Check whether --enable-dirpicker was given.
11374 if test "${enable_dirpicker+set}" = set; then
11375 enableval=$enable_dirpicker;
11376 if test "$enableval" = yes; then
11377 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11379 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11386 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11387 if test "x$LINE" != x ; then
11388 eval "DEFAULT_$LINE"
11391 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11396 eval "$wx_cv_use_dirpicker"
11397 if test "x$cache" = xyes; then
11398 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11401 if test x"$enablestring" = xdisable; then
11402 if test $wxUSE_DIRPICKERCTRL = yes; then
11408 result=$wxUSE_DIRPICKERCTRL
11411 { echo "$as_me:$LINENO: result: $result" >&5
11412 echo "${ECHO_T}$result" >&6; }
11416 defaultval=$wxUSE_ALL_FEATURES
11417 if test -z "$defaultval"; then
11418 if test x"$enablestring" = xdisable; then
11425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11426 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11427 # Check whether --enable-display was given.
11428 if test "${enable_display+set}" = set; then
11429 enableval=$enable_display;
11430 if test "$enableval" = yes; then
11431 wx_cv_use_display='wxUSE_DISPLAY=yes'
11433 wx_cv_use_display='wxUSE_DISPLAY=no'
11440 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11441 if test "x$LINE" != x ; then
11442 eval "DEFAULT_$LINE"
11445 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11450 eval "$wx_cv_use_display"
11451 if test "x$cache" = xyes; then
11452 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11455 if test x"$enablestring" = xdisable; then
11456 if test $wxUSE_DISPLAY = yes; then
11462 result=$wxUSE_DISPLAY
11465 { echo "$as_me:$LINENO: result: $result" >&5
11466 echo "${ECHO_T}$result" >&6; }
11470 defaultval=$wxUSE_ALL_FEATURES
11471 if test -z "$defaultval"; then
11472 if test x"$enablestring" = xdisable; then
11479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11480 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11481 # Check whether --enable-detect_sm was given.
11482 if test "${enable_detect_sm+set}" = set; then
11483 enableval=$enable_detect_sm;
11484 if test "$enableval" = yes; then
11485 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11487 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11494 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11495 if test "x$LINE" != x ; then
11496 eval "DEFAULT_$LINE"
11499 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11504 eval "$wx_cv_use_detect_sm"
11505 if test "x$cache" = xyes; then
11506 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11509 if test x"$enablestring" = xdisable; then
11510 if test $wxUSE_DETECT_SM = yes; then
11516 result=$wxUSE_DETECT_SM
11519 { echo "$as_me:$LINENO: result: $result" >&5
11520 echo "${ECHO_T}$result" >&6; }
11524 defaultval=$wxUSE_ALL_FEATURES
11525 if test -z "$defaultval"; then
11526 if test x"$enablestring" = xdisable; then
11533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11534 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11535 # Check whether --enable-editablebox was given.
11536 if test "${enable_editablebox+set}" = set; then
11537 enableval=$enable_editablebox;
11538 if test "$enableval" = yes; then
11539 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11541 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11548 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11549 if test "x$LINE" != x ; then
11550 eval "DEFAULT_$LINE"
11553 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11558 eval "$wx_cv_use_editablebox"
11559 if test "x$cache" = xyes; then
11560 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
11563 if test x"$enablestring" = xdisable; then
11564 if test $wxUSE_EDITABLELISTBOX = yes; then
11570 result=$wxUSE_EDITABLELISTBOX
11573 { echo "$as_me:$LINENO: result: $result" >&5
11574 echo "${ECHO_T}$result" >&6; }
11578 defaultval=$wxUSE_ALL_FEATURES
11579 if test -z "$defaultval"; then
11580 if test x"$enablestring" = xdisable; then
11587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11588 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11589 # Check whether --enable-filepicker was given.
11590 if test "${enable_filepicker+set}" = set; then
11591 enableval=$enable_filepicker;
11592 if test "$enableval" = yes; then
11593 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11595 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11602 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11603 if test "x$LINE" != x ; then
11604 eval "DEFAULT_$LINE"
11607 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11612 eval "$wx_cv_use_filepicker"
11613 if test "x$cache" = xyes; then
11614 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11617 if test x"$enablestring" = xdisable; then
11618 if test $wxUSE_FILEPICKERCTRL = yes; then
11624 result=$wxUSE_FILEPICKERCTRL
11627 { echo "$as_me:$LINENO: result: $result" >&5
11628 echo "${ECHO_T}$result" >&6; }
11632 defaultval=$wxUSE_ALL_FEATURES
11633 if test -z "$defaultval"; then
11634 if test x"$enablestring" = xdisable; then
11641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11642 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11643 # Check whether --enable-fontpicker was given.
11644 if test "${enable_fontpicker+set}" = set; then
11645 enableval=$enable_fontpicker;
11646 if test "$enableval" = yes; then
11647 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11649 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11656 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11657 if test "x$LINE" != x ; then
11658 eval "DEFAULT_$LINE"
11661 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11666 eval "$wx_cv_use_fontpicker"
11667 if test "x$cache" = xyes; then
11668 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11671 if test x"$enablestring" = xdisable; then
11672 if test $wxUSE_FONTPICKERCTRL = yes; then
11678 result=$wxUSE_FONTPICKERCTRL
11681 { echo "$as_me:$LINENO: result: $result" >&5
11682 echo "${ECHO_T}$result" >&6; }
11686 defaultval=$wxUSE_ALL_FEATURES
11687 if test -z "$defaultval"; then
11688 if test x"$enablestring" = xdisable; then
11695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11696 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11697 # Check whether --enable-gauge was given.
11698 if test "${enable_gauge+set}" = set; then
11699 enableval=$enable_gauge;
11700 if test "$enableval" = yes; then
11701 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11703 wx_cv_use_gauge='wxUSE_GAUGE=no'
11710 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11711 if test "x$LINE" != x ; then
11712 eval "DEFAULT_$LINE"
11715 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11720 eval "$wx_cv_use_gauge"
11721 if test "x$cache" = xyes; then
11722 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
11725 if test x"$enablestring" = xdisable; then
11726 if test $wxUSE_GAUGE = yes; then
11732 result=$wxUSE_GAUGE
11735 { echo "$as_me:$LINENO: result: $result" >&5
11736 echo "${ECHO_T}$result" >&6; }
11740 defaultval=$wxUSE_ALL_FEATURES
11741 if test -z "$defaultval"; then
11742 if test x"$enablestring" = xdisable; then
11749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11750 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11751 # Check whether --enable-grid was given.
11752 if test "${enable_grid+set}" = set; then
11753 enableval=$enable_grid;
11754 if test "$enableval" = yes; then
11755 wx_cv_use_grid='wxUSE_GRID=yes'
11757 wx_cv_use_grid='wxUSE_GRID=no'
11764 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11765 if test "x$LINE" != x ; then
11766 eval "DEFAULT_$LINE"
11769 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11774 eval "$wx_cv_use_grid"
11775 if test "x$cache" = xyes; then
11776 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
11779 if test x"$enablestring" = xdisable; then
11780 if test $wxUSE_GRID = yes; then
11789 { echo "$as_me:$LINENO: result: $result" >&5
11790 echo "${ECHO_T}$result" >&6; }
11794 defaultval=$wxUSE_ALL_FEATURES
11795 if test -z "$defaultval"; then
11796 if test x"$enablestring" = xdisable; then
11803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11804 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11805 # Check whether --enable-dataviewctrl was given.
11806 if test "${enable_dataviewctrl+set}" = set; then
11807 enableval=$enable_dataviewctrl;
11808 if test "$enableval" = yes; then
11809 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11811 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11818 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11819 if test "x$LINE" != x ; then
11820 eval "DEFAULT_$LINE"
11823 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11828 eval "$wx_cv_use_dataviewctrl"
11829 if test "x$cache" = xyes; then
11830 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
11833 if test x"$enablestring" = xdisable; then
11834 if test $wxUSE_DATAVIEWCTRL = yes; then
11840 result=$wxUSE_DATAVIEWCTRL
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}-hyperlink" >&5
11858 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11859 # Check whether --enable-hyperlink was given.
11860 if test "${enable_hyperlink+set}" = set; then
11861 enableval=$enable_hyperlink;
11862 if test "$enableval" = yes; then
11863 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11865 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11872 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11873 if test "x$LINE" != x ; then
11874 eval "DEFAULT_$LINE"
11877 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11882 eval "$wx_cv_use_hyperlink"
11883 if test "x$cache" = xyes; then
11884 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
11887 if test x"$enablestring" = xdisable; then
11888 if test $wxUSE_HYPERLINKCTRL = yes; then
11894 result=$wxUSE_HYPERLINKCTRL
11897 { echo "$as_me:$LINENO: result: $result" >&5
11898 echo "${ECHO_T}$result" >&6; }
11902 defaultval=$wxUSE_ALL_FEATURES
11903 if test -z "$defaultval"; then
11904 if test x"$enablestring" = xdisable; then
11911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11912 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11913 # Check whether --enable-imaglist was given.
11914 if test "${enable_imaglist+set}" = set; then
11915 enableval=$enable_imaglist;
11916 if test "$enableval" = yes; then
11917 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11919 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11926 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
11927 if test "x$LINE" != x ; then
11928 eval "DEFAULT_$LINE"
11931 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11936 eval "$wx_cv_use_imaglist"
11937 if test "x$cache" = xyes; then
11938 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
11941 if test x"$enablestring" = xdisable; then
11942 if test $wxUSE_IMAGLIST = yes; then
11948 result=$wxUSE_IMAGLIST
11951 { echo "$as_me:$LINENO: result: $result" >&5
11952 echo "${ECHO_T}$result" >&6; }
11956 defaultval=$wxUSE_ALL_FEATURES
11957 if test -z "$defaultval"; then
11958 if test x"$enablestring" = xdisable; then
11965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11966 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11967 # Check whether --enable-listbook was given.
11968 if test "${enable_listbook+set}" = set; then
11969 enableval=$enable_listbook;
11970 if test "$enableval" = yes; then
11971 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11973 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11980 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
11981 if test "x$LINE" != x ; then
11982 eval "DEFAULT_$LINE"
11985 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11990 eval "$wx_cv_use_listbook"
11991 if test "x$cache" = xyes; then
11992 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
11995 if test x"$enablestring" = xdisable; then
11996 if test $wxUSE_LISTBOOK = yes; then
12002 result=$wxUSE_LISTBOOK
12005 { echo "$as_me:$LINENO: result: $result" >&5
12006 echo "${ECHO_T}$result" >&6; }
12010 defaultval=$wxUSE_ALL_FEATURES
12011 if test -z "$defaultval"; then
12012 if test x"$enablestring" = xdisable; then
12019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12020 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12021 # Check whether --enable-listbox was given.
12022 if test "${enable_listbox+set}" = set; then
12023 enableval=$enable_listbox;
12024 if test "$enableval" = yes; then
12025 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12027 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12034 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12035 if test "x$LINE" != x ; then
12036 eval "DEFAULT_$LINE"
12039 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12044 eval "$wx_cv_use_listbox"
12045 if test "x$cache" = xyes; then
12046 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12049 if test x"$enablestring" = xdisable; then
12050 if test $wxUSE_LISTBOX = yes; then
12056 result=$wxUSE_LISTBOX
12059 { echo "$as_me:$LINENO: result: $result" >&5
12060 echo "${ECHO_T}$result" >&6; }
12064 defaultval=$wxUSE_ALL_FEATURES
12065 if test -z "$defaultval"; then
12066 if test x"$enablestring" = xdisable; then
12073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12074 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12075 # Check whether --enable-listctrl was given.
12076 if test "${enable_listctrl+set}" = set; then
12077 enableval=$enable_listctrl;
12078 if test "$enableval" = yes; then
12079 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12081 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12088 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12089 if test "x$LINE" != x ; then
12090 eval "DEFAULT_$LINE"
12093 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12098 eval "$wx_cv_use_listctrl"
12099 if test "x$cache" = xyes; then
12100 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12103 if test x"$enablestring" = xdisable; then
12104 if test $wxUSE_LISTCTRL = yes; then
12110 result=$wxUSE_LISTCTRL
12113 { echo "$as_me:$LINENO: result: $result" >&5
12114 echo "${ECHO_T}$result" >&6; }
12118 defaultval=$wxUSE_ALL_FEATURES
12119 if test -z "$defaultval"; then
12120 if test x"$enablestring" = xdisable; then
12127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12128 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12129 # Check whether --enable-notebook was given.
12130 if test "${enable_notebook+set}" = set; then
12131 enableval=$enable_notebook;
12132 if test "$enableval" = yes; then
12133 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12135 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12142 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12143 if test "x$LINE" != x ; then
12144 eval "DEFAULT_$LINE"
12147 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12152 eval "$wx_cv_use_notebook"
12153 if test "x$cache" = xyes; then
12154 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12157 if test x"$enablestring" = xdisable; then
12158 if test $wxUSE_NOTEBOOK = yes; then
12164 result=$wxUSE_NOTEBOOK
12167 { echo "$as_me:$LINENO: result: $result" >&5
12168 echo "${ECHO_T}$result" >&6; }
12172 defaultval=$wxUSE_ALL_FEATURES
12173 if test -z "$defaultval"; then
12174 if test x"$enablestring" = xdisable; then
12181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12182 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12183 # Check whether --enable-odcombobox was given.
12184 if test "${enable_odcombobox+set}" = set; then
12185 enableval=$enable_odcombobox;
12186 if test "$enableval" = yes; then
12187 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12189 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12196 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12197 if test "x$LINE" != x ; then
12198 eval "DEFAULT_$LINE"
12201 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12206 eval "$wx_cv_use_odcombobox"
12207 if test "x$cache" = xyes; then
12208 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12211 if test x"$enablestring" = xdisable; then
12212 if test $wxUSE_ODCOMBOBOX = yes; then
12218 result=$wxUSE_ODCOMBOBOX
12221 { echo "$as_me:$LINENO: result: $result" >&5
12222 echo "${ECHO_T}$result" >&6; }
12226 defaultval=$wxUSE_ALL_FEATURES
12227 if test -z "$defaultval"; then
12228 if test x"$enablestring" = xdisable; then
12235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12236 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12237 # Check whether --enable-radiobox was given.
12238 if test "${enable_radiobox+set}" = set; then
12239 enableval=$enable_radiobox;
12240 if test "$enableval" = yes; then
12241 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12243 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12250 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12251 if test "x$LINE" != x ; then
12252 eval "DEFAULT_$LINE"
12255 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12260 eval "$wx_cv_use_radiobox"
12261 if test "x$cache" = xyes; then
12262 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12265 if test x"$enablestring" = xdisable; then
12266 if test $wxUSE_RADIOBOX = yes; then
12272 result=$wxUSE_RADIOBOX
12275 { echo "$as_me:$LINENO: result: $result" >&5
12276 echo "${ECHO_T}$result" >&6; }
12280 defaultval=$wxUSE_ALL_FEATURES
12281 if test -z "$defaultval"; then
12282 if test x"$enablestring" = xdisable; then
12289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12290 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12291 # Check whether --enable-radiobtn was given.
12292 if test "${enable_radiobtn+set}" = set; then
12293 enableval=$enable_radiobtn;
12294 if test "$enableval" = yes; then
12295 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12297 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12304 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12305 if test "x$LINE" != x ; then
12306 eval "DEFAULT_$LINE"
12309 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12314 eval "$wx_cv_use_radiobtn"
12315 if test "x$cache" = xyes; then
12316 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12319 if test x"$enablestring" = xdisable; then
12320 if test $wxUSE_RADIOBTN = yes; then
12326 result=$wxUSE_RADIOBTN
12329 { echo "$as_me:$LINENO: result: $result" >&5
12330 echo "${ECHO_T}$result" >&6; }
12334 defaultval=$wxUSE_ALL_FEATURES
12335 if test -z "$defaultval"; then
12336 if test x"$enablestring" = xdisable; then
12343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12344 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12345 # Check whether --enable-sash was given.
12346 if test "${enable_sash+set}" = set; then
12347 enableval=$enable_sash;
12348 if test "$enableval" = yes; then
12349 wx_cv_use_sash='wxUSE_SASH=yes'
12351 wx_cv_use_sash='wxUSE_SASH=no'
12358 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12359 if test "x$LINE" != x ; then
12360 eval "DEFAULT_$LINE"
12363 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12368 eval "$wx_cv_use_sash"
12369 if test "x$cache" = xyes; then
12370 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12373 if test x"$enablestring" = xdisable; then
12374 if test $wxUSE_SASH = yes; then
12383 { echo "$as_me:$LINENO: result: $result" >&5
12384 echo "${ECHO_T}$result" >&6; }
12388 defaultval=$wxUSE_ALL_FEATURES
12389 if test -z "$defaultval"; then
12390 if test x"$enablestring" = xdisable; then
12397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12398 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12399 # Check whether --enable-scrollbar was given.
12400 if test "${enable_scrollbar+set}" = set; then
12401 enableval=$enable_scrollbar;
12402 if test "$enableval" = yes; then
12403 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12405 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12412 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12413 if test "x$LINE" != x ; then
12414 eval "DEFAULT_$LINE"
12417 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12422 eval "$wx_cv_use_scrollbar"
12423 if test "x$cache" = xyes; then
12424 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12427 if test x"$enablestring" = xdisable; then
12428 if test $wxUSE_SCROLLBAR = yes; then
12434 result=$wxUSE_SCROLLBAR
12437 { echo "$as_me:$LINENO: result: $result" >&5
12438 echo "${ECHO_T}$result" >&6; }
12442 defaultval=$wxUSE_ALL_FEATURES
12443 if test -z "$defaultval"; then
12444 if test x"$enablestring" = xdisable; then
12451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12452 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12453 # Check whether --enable-searchctrl was given.
12454 if test "${enable_searchctrl+set}" = set; then
12455 enableval=$enable_searchctrl;
12456 if test "$enableval" = yes; then
12457 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12459 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12466 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12467 if test "x$LINE" != x ; then
12468 eval "DEFAULT_$LINE"
12471 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12476 eval "$wx_cv_use_searchctrl"
12477 if test "x$cache" = xyes; then
12478 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
12481 if test x"$enablestring" = xdisable; then
12482 if test $wxUSE_SEARCHCTRL = yes; then
12488 result=$wxUSE_SEARCHCTRL
12491 { echo "$as_me:$LINENO: result: $result" >&5
12492 echo "${ECHO_T}$result" >&6; }
12496 defaultval=$wxUSE_ALL_FEATURES
12497 if test -z "$defaultval"; then
12498 if test x"$enablestring" = xdisable; then
12505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12506 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12507 # Check whether --enable-slider was given.
12508 if test "${enable_slider+set}" = set; then
12509 enableval=$enable_slider;
12510 if test "$enableval" = yes; then
12511 wx_cv_use_slider='wxUSE_SLIDER=yes'
12513 wx_cv_use_slider='wxUSE_SLIDER=no'
12520 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12521 if test "x$LINE" != x ; then
12522 eval "DEFAULT_$LINE"
12525 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12530 eval "$wx_cv_use_slider"
12531 if test "x$cache" = xyes; then
12532 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
12535 if test x"$enablestring" = xdisable; then
12536 if test $wxUSE_SLIDER = yes; then
12542 result=$wxUSE_SLIDER
12545 { echo "$as_me:$LINENO: result: $result" >&5
12546 echo "${ECHO_T}$result" >&6; }
12550 defaultval=$wxUSE_ALL_FEATURES
12551 if test -z "$defaultval"; then
12552 if test x"$enablestring" = xdisable; then
12559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12560 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12561 # Check whether --enable-spinbtn was given.
12562 if test "${enable_spinbtn+set}" = set; then
12563 enableval=$enable_spinbtn;
12564 if test "$enableval" = yes; then
12565 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12567 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12574 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12575 if test "x$LINE" != x ; then
12576 eval "DEFAULT_$LINE"
12579 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12584 eval "$wx_cv_use_spinbtn"
12585 if test "x$cache" = xyes; then
12586 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
12589 if test x"$enablestring" = xdisable; then
12590 if test $wxUSE_SPINBTN = yes; then
12596 result=$wxUSE_SPINBTN
12599 { echo "$as_me:$LINENO: result: $result" >&5
12600 echo "${ECHO_T}$result" >&6; }
12604 defaultval=$wxUSE_ALL_FEATURES
12605 if test -z "$defaultval"; then
12606 if test x"$enablestring" = xdisable; then
12613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12614 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12615 # Check whether --enable-spinctrl was given.
12616 if test "${enable_spinctrl+set}" = set; then
12617 enableval=$enable_spinctrl;
12618 if test "$enableval" = yes; then
12619 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12621 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12628 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12629 if test "x$LINE" != x ; then
12630 eval "DEFAULT_$LINE"
12633 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12638 eval "$wx_cv_use_spinctrl"
12639 if test "x$cache" = xyes; then
12640 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
12643 if test x"$enablestring" = xdisable; then
12644 if test $wxUSE_SPINCTRL = yes; then
12650 result=$wxUSE_SPINCTRL
12653 { echo "$as_me:$LINENO: result: $result" >&5
12654 echo "${ECHO_T}$result" >&6; }
12658 defaultval=$wxUSE_ALL_FEATURES
12659 if test -z "$defaultval"; then
12660 if test x"$enablestring" = xdisable; then
12667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12668 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12669 # Check whether --enable-splitter was given.
12670 if test "${enable_splitter+set}" = set; then
12671 enableval=$enable_splitter;
12672 if test "$enableval" = yes; then
12673 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12675 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12682 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12683 if test "x$LINE" != x ; then
12684 eval "DEFAULT_$LINE"
12687 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12692 eval "$wx_cv_use_splitter"
12693 if test "x$cache" = xyes; then
12694 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
12697 if test x"$enablestring" = xdisable; then
12698 if test $wxUSE_SPLITTER = yes; then
12704 result=$wxUSE_SPLITTER
12707 { echo "$as_me:$LINENO: result: $result" >&5
12708 echo "${ECHO_T}$result" >&6; }
12712 defaultval=$wxUSE_ALL_FEATURES
12713 if test -z "$defaultval"; then
12714 if test x"$enablestring" = xdisable; then
12721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12722 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12723 # Check whether --enable-statbmp was given.
12724 if test "${enable_statbmp+set}" = set; then
12725 enableval=$enable_statbmp;
12726 if test "$enableval" = yes; then
12727 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12729 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12736 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12737 if test "x$LINE" != x ; then
12738 eval "DEFAULT_$LINE"
12741 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12746 eval "$wx_cv_use_statbmp"
12747 if test "x$cache" = xyes; then
12748 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
12751 if test x"$enablestring" = xdisable; then
12752 if test $wxUSE_STATBMP = yes; then
12758 result=$wxUSE_STATBMP
12761 { echo "$as_me:$LINENO: result: $result" >&5
12762 echo "${ECHO_T}$result" >&6; }
12766 defaultval=$wxUSE_ALL_FEATURES
12767 if test -z "$defaultval"; then
12768 if test x"$enablestring" = xdisable; then
12775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12776 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12777 # Check whether --enable-statbox was given.
12778 if test "${enable_statbox+set}" = set; then
12779 enableval=$enable_statbox;
12780 if test "$enableval" = yes; then
12781 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12783 wx_cv_use_statbox='wxUSE_STATBOX=no'
12790 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12791 if test "x$LINE" != x ; then
12792 eval "DEFAULT_$LINE"
12795 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12800 eval "$wx_cv_use_statbox"
12801 if test "x$cache" = xyes; then
12802 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
12805 if test x"$enablestring" = xdisable; then
12806 if test $wxUSE_STATBOX = yes; then
12812 result=$wxUSE_STATBOX
12815 { echo "$as_me:$LINENO: result: $result" >&5
12816 echo "${ECHO_T}$result" >&6; }
12820 defaultval=$wxUSE_ALL_FEATURES
12821 if test -z "$defaultval"; then
12822 if test x"$enablestring" = xdisable; then
12829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12830 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12831 # Check whether --enable-statline was given.
12832 if test "${enable_statline+set}" = set; then
12833 enableval=$enable_statline;
12834 if test "$enableval" = yes; then
12835 wx_cv_use_statline='wxUSE_STATLINE=yes'
12837 wx_cv_use_statline='wxUSE_STATLINE=no'
12844 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12845 if test "x$LINE" != x ; then
12846 eval "DEFAULT_$LINE"
12849 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12854 eval "$wx_cv_use_statline"
12855 if test "x$cache" = xyes; then
12856 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
12859 if test x"$enablestring" = xdisable; then
12860 if test $wxUSE_STATLINE = yes; then
12866 result=$wxUSE_STATLINE
12869 { echo "$as_me:$LINENO: result: $result" >&5
12870 echo "${ECHO_T}$result" >&6; }
12874 defaultval=$wxUSE_ALL_FEATURES
12875 if test -z "$defaultval"; then
12876 if test x"$enablestring" = xdisable; then
12883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12884 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12885 # Check whether --enable-stattext was given.
12886 if test "${enable_stattext+set}" = set; then
12887 enableval=$enable_stattext;
12888 if test "$enableval" = yes; then
12889 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12891 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12898 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
12899 if test "x$LINE" != x ; then
12900 eval "DEFAULT_$LINE"
12903 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12908 eval "$wx_cv_use_stattext"
12909 if test "x$cache" = xyes; then
12910 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
12913 if test x"$enablestring" = xdisable; then
12914 if test $wxUSE_STATTEXT = yes; then
12920 result=$wxUSE_STATTEXT
12923 { echo "$as_me:$LINENO: result: $result" >&5
12924 echo "${ECHO_T}$result" >&6; }
12928 defaultval=$wxUSE_ALL_FEATURES
12929 if test -z "$defaultval"; then
12930 if test x"$enablestring" = xdisable; then
12937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12938 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12939 # Check whether --enable-statusbar was given.
12940 if test "${enable_statusbar+set}" = set; then
12941 enableval=$enable_statusbar;
12942 if test "$enableval" = yes; then
12943 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12945 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12952 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
12953 if test "x$LINE" != x ; then
12954 eval "DEFAULT_$LINE"
12957 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12962 eval "$wx_cv_use_statusbar"
12963 if test "x$cache" = xyes; then
12964 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
12967 if test x"$enablestring" = xdisable; then
12968 if test $wxUSE_STATUSBAR = yes; then
12974 result=$wxUSE_STATUSBAR
12977 { echo "$as_me:$LINENO: result: $result" >&5
12978 echo "${ECHO_T}$result" >&6; }
12982 defaultval=$wxUSE_ALL_FEATURES
12983 if test -z "$defaultval"; then
12984 if test x"$enablestring" = xdisable; then
12991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
12992 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
12993 # Check whether --enable-tabdialog was given.
12994 if test "${enable_tabdialog+set}" = set; then
12995 enableval=$enable_tabdialog;
12996 if test "$enableval" = yes; then
12997 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
12999 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13006 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13007 if test "x$LINE" != x ; then
13008 eval "DEFAULT_$LINE"
13011 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13016 eval "$wx_cv_use_tabdialog"
13017 if test "x$cache" = xyes; then
13018 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13021 if test x"$enablestring" = xdisable; then
13022 if test $wxUSE_TAB_DIALOG = yes; then
13028 result=$wxUSE_TAB_DIALOG
13031 { echo "$as_me:$LINENO: result: $result" >&5
13032 echo "${ECHO_T}$result" >&6; }
13036 defaultval=$wxUSE_ALL_FEATURES
13037 if test -z "$defaultval"; then
13038 if test x"$enablestring" = xdisable; then
13045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13046 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13047 # Check whether --enable-taskbaricon was given.
13048 if test "${enable_taskbaricon+set}" = set; then
13049 enableval=$enable_taskbaricon;
13050 if test "$enableval" = yes; then
13051 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13053 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13060 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13061 if test "x$LINE" != x ; then
13062 eval "DEFAULT_$LINE"
13065 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13070 eval "$wx_cv_use_taskbaricon"
13071 if test "x$cache" = xyes; then
13072 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13075 if test x"$enablestring" = xdisable; then
13076 if test $wxUSE_TASKBARICON = yes; then
13082 result=$wxUSE_TASKBARICON
13085 { echo "$as_me:$LINENO: result: $result" >&5
13086 echo "${ECHO_T}$result" >&6; }
13090 defaultval=$wxUSE_ALL_FEATURES
13091 if test -z "$defaultval"; then
13092 if test x"$enablestring" = xdisable; then
13099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13100 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13101 # Check whether --enable-textctrl was given.
13102 if test "${enable_textctrl+set}" = set; then
13103 enableval=$enable_textctrl;
13104 if test "$enableval" = yes; then
13105 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13107 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13114 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13115 if test "x$LINE" != x ; then
13116 eval "DEFAULT_$LINE"
13119 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13124 eval "$wx_cv_use_textctrl"
13125 if test "x$cache" = xyes; then
13126 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13129 if test x"$enablestring" = xdisable; then
13130 if test $wxUSE_TEXTCTRL = yes; then
13136 result=$wxUSE_TEXTCTRL
13139 { echo "$as_me:$LINENO: result: $result" >&5
13140 echo "${ECHO_T}$result" >&6; }
13144 defaultval=$wxUSE_ALL_FEATURES
13145 if test -z "$defaultval"; then
13146 if test x"$enablestring" = xdisable; then
13153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13154 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13155 # Check whether --enable-togglebtn was given.
13156 if test "${enable_togglebtn+set}" = set; then
13157 enableval=$enable_togglebtn;
13158 if test "$enableval" = yes; then
13159 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13161 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13168 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13169 if test "x$LINE" != x ; then
13170 eval "DEFAULT_$LINE"
13173 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13178 eval "$wx_cv_use_togglebtn"
13179 if test "x$cache" = xyes; then
13180 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13183 if test x"$enablestring" = xdisable; then
13184 if test $wxUSE_TOGGLEBTN = yes; then
13190 result=$wxUSE_TOGGLEBTN
13193 { echo "$as_me:$LINENO: result: $result" >&5
13194 echo "${ECHO_T}$result" >&6; }
13198 defaultval=$wxUSE_ALL_FEATURES
13199 if test -z "$defaultval"; then
13200 if test x"$enablestring" = xdisable; then
13207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13208 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13209 # Check whether --enable-toolbar was given.
13210 if test "${enable_toolbar+set}" = set; then
13211 enableval=$enable_toolbar;
13212 if test "$enableval" = yes; then
13213 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13215 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13222 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13223 if test "x$LINE" != x ; then
13224 eval "DEFAULT_$LINE"
13227 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13232 eval "$wx_cv_use_toolbar"
13233 if test "x$cache" = xyes; then
13234 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13237 if test x"$enablestring" = xdisable; then
13238 if test $wxUSE_TOOLBAR = yes; then
13244 result=$wxUSE_TOOLBAR
13247 { echo "$as_me:$LINENO: result: $result" >&5
13248 echo "${ECHO_T}$result" >&6; }
13252 defaultval=$wxUSE_ALL_FEATURES
13253 if test -z "$defaultval"; then
13254 if test x"$enablestring" = xdisable; then
13261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13262 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13263 # Check whether --enable-tbarnative was given.
13264 if test "${enable_tbarnative+set}" = set; then
13265 enableval=$enable_tbarnative;
13266 if test "$enableval" = yes; then
13267 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13269 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13276 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13277 if test "x$LINE" != x ; then
13278 eval "DEFAULT_$LINE"
13281 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13286 eval "$wx_cv_use_tbarnative"
13287 if test "x$cache" = xyes; then
13288 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13291 if test x"$enablestring" = xdisable; then
13292 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13298 result=$wxUSE_TOOLBAR_NATIVE
13301 { echo "$as_me:$LINENO: result: $result" >&5
13302 echo "${ECHO_T}$result" >&6; }
13306 defaultval=$wxUSE_ALL_FEATURES
13307 if test -z "$defaultval"; then
13308 if test x"$enablestring" = xdisable; then
13315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13316 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13317 # Check whether --enable-treebook was given.
13318 if test "${enable_treebook+set}" = set; then
13319 enableval=$enable_treebook;
13320 if test "$enableval" = yes; then
13321 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13323 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13330 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13331 if test "x$LINE" != x ; then
13332 eval "DEFAULT_$LINE"
13335 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13340 eval "$wx_cv_use_treebook"
13341 if test "x$cache" = xyes; then
13342 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13345 if test x"$enablestring" = xdisable; then
13346 if test $wxUSE_TREEBOOK = yes; then
13352 result=$wxUSE_TREEBOOK
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}-toolbook" >&5
13370 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13371 # Check whether --enable-toolbook was given.
13372 if test "${enable_toolbook+set}" = set; then
13373 enableval=$enable_toolbook;
13374 if test "$enableval" = yes; then
13375 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13377 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13384 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13385 if test "x$LINE" != x ; then
13386 eval "DEFAULT_$LINE"
13389 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13394 eval "$wx_cv_use_toolbook"
13395 if test "x$cache" = xyes; then
13396 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13399 if test x"$enablestring" = xdisable; then
13400 if test $wxUSE_TOOLBOOK = yes; then
13406 result=$wxUSE_TOOLBOOK
13409 { echo "$as_me:$LINENO: result: $result" >&5
13410 echo "${ECHO_T}$result" >&6; }
13414 defaultval=$wxUSE_ALL_FEATURES
13415 if test -z "$defaultval"; then
13416 if test x"$enablestring" = xdisable; then
13423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13424 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13425 # Check whether --enable-treectrl was given.
13426 if test "${enable_treectrl+set}" = set; then
13427 enableval=$enable_treectrl;
13428 if test "$enableval" = yes; then
13429 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13431 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13438 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13439 if test "x$LINE" != x ; then
13440 eval "DEFAULT_$LINE"
13443 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13448 eval "$wx_cv_use_treectrl"
13449 if test "x$cache" = xyes; then
13450 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
13453 if test x"$enablestring" = xdisable; then
13454 if test $wxUSE_TREECTRL = yes; then
13460 result=$wxUSE_TREECTRL
13463 { echo "$as_me:$LINENO: result: $result" >&5
13464 echo "${ECHO_T}$result" >&6; }
13468 defaultval=$wxUSE_ALL_FEATURES
13469 if test -z "$defaultval"; then
13470 if test x"$enablestring" = xdisable; then
13477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13478 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13479 # Check whether --enable-tipwindow was given.
13480 if test "${enable_tipwindow+set}" = set; then
13481 enableval=$enable_tipwindow;
13482 if test "$enableval" = yes; then
13483 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13485 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13492 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13493 if test "x$LINE" != x ; then
13494 eval "DEFAULT_$LINE"
13497 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13502 eval "$wx_cv_use_tipwindow"
13503 if test "x$cache" = xyes; then
13504 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
13507 if test x"$enablestring" = xdisable; then
13508 if test $wxUSE_TIPWINDOW = yes; then
13514 result=$wxUSE_TIPWINDOW
13517 { echo "$as_me:$LINENO: result: $result" >&5
13518 echo "${ECHO_T}$result" >&6; }
13522 defaultval=$wxUSE_ALL_FEATURES
13523 if test -z "$defaultval"; then
13524 if test x"$enablestring" = xdisable; then
13531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13532 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13533 # Check whether --enable-popupwin was given.
13534 if test "${enable_popupwin+set}" = set; then
13535 enableval=$enable_popupwin;
13536 if test "$enableval" = yes; then
13537 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13539 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13546 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13547 if test "x$LINE" != x ; then
13548 eval "DEFAULT_$LINE"
13551 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13556 eval "$wx_cv_use_popupwin"
13557 if test "x$cache" = xyes; then
13558 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
13561 if test x"$enablestring" = xdisable; then
13562 if test $wxUSE_POPUPWIN = yes; then
13568 result=$wxUSE_POPUPWIN
13571 { echo "$as_me:$LINENO: result: $result" >&5
13572 echo "${ECHO_T}$result" >&6; }
13578 defaultval=$wxUSE_ALL_FEATURES
13579 if test -z "$defaultval"; then
13580 if test x"$enablestring" = xdisable; then
13587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13588 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13589 # Check whether --enable-commondlg was given.
13590 if test "${enable_commondlg+set}" = set; then
13591 enableval=$enable_commondlg;
13592 if test "$enableval" = yes; then
13593 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13595 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13602 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13603 if test "x$LINE" != x ; then
13604 eval "DEFAULT_$LINE"
13607 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13612 eval "$wx_cv_use_commondlg"
13613 if test "x$cache" = xyes; then
13614 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
13617 if test x"$enablestring" = xdisable; then
13618 if test $wxUSE_COMMONDLGS = yes; then
13624 result=$wxUSE_COMMONDLGS
13627 { echo "$as_me:$LINENO: result: $result" >&5
13628 echo "${ECHO_T}$result" >&6; }
13632 defaultval=$wxUSE_ALL_FEATURES
13633 if test -z "$defaultval"; then
13634 if test x"$enablestring" = xdisable; then
13641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13642 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13643 # Check whether --enable-aboutdlg was given.
13644 if test "${enable_aboutdlg+set}" = set; then
13645 enableval=$enable_aboutdlg;
13646 if test "$enableval" = yes; then
13647 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13649 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13656 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13657 if test "x$LINE" != x ; then
13658 eval "DEFAULT_$LINE"
13661 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13666 eval "$wx_cv_use_aboutdlg"
13667 if test "x$cache" = xyes; then
13668 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
13671 if test x"$enablestring" = xdisable; then
13672 if test $wxUSE_ABOUTDLG = yes; then
13678 result=$wxUSE_ABOUTDLG
13681 { echo "$as_me:$LINENO: result: $result" >&5
13682 echo "${ECHO_T}$result" >&6; }
13686 defaultval=$wxUSE_ALL_FEATURES
13687 if test -z "$defaultval"; then
13688 if test x"$enablestring" = xdisable; then
13695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13696 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13697 # Check whether --enable-choicedlg was given.
13698 if test "${enable_choicedlg+set}" = set; then
13699 enableval=$enable_choicedlg;
13700 if test "$enableval" = yes; then
13701 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13703 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13710 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13711 if test "x$LINE" != x ; then
13712 eval "DEFAULT_$LINE"
13715 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13720 eval "$wx_cv_use_choicedlg"
13721 if test "x$cache" = xyes; then
13722 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
13725 if test x"$enablestring" = xdisable; then
13726 if test $wxUSE_CHOICEDLG = yes; then
13732 result=$wxUSE_CHOICEDLG
13735 { echo "$as_me:$LINENO: result: $result" >&5
13736 echo "${ECHO_T}$result" >&6; }
13740 defaultval=$wxUSE_ALL_FEATURES
13741 if test -z "$defaultval"; then
13742 if test x"$enablestring" = xdisable; then
13749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13750 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13751 # Check whether --enable-coldlg was given.
13752 if test "${enable_coldlg+set}" = set; then
13753 enableval=$enable_coldlg;
13754 if test "$enableval" = yes; then
13755 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13757 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13764 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13765 if test "x$LINE" != x ; then
13766 eval "DEFAULT_$LINE"
13769 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13774 eval "$wx_cv_use_coldlg"
13775 if test "x$cache" = xyes; then
13776 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
13779 if test x"$enablestring" = xdisable; then
13780 if test $wxUSE_COLOURDLG = yes; then
13786 result=$wxUSE_COLOURDLG
13789 { echo "$as_me:$LINENO: result: $result" >&5
13790 echo "${ECHO_T}$result" >&6; }
13794 defaultval=$wxUSE_ALL_FEATURES
13795 if test -z "$defaultval"; then
13796 if test x"$enablestring" = xdisable; then
13803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13804 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13805 # Check whether --enable-filedlg was given.
13806 if test "${enable_filedlg+set}" = set; then
13807 enableval=$enable_filedlg;
13808 if test "$enableval" = yes; then
13809 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13811 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13818 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13819 if test "x$LINE" != x ; then
13820 eval "DEFAULT_$LINE"
13823 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13828 eval "$wx_cv_use_filedlg"
13829 if test "x$cache" = xyes; then
13830 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
13833 if test x"$enablestring" = xdisable; then
13834 if test $wxUSE_FILEDLG = yes; then
13840 result=$wxUSE_FILEDLG
13843 { echo "$as_me:$LINENO: result: $result" >&5
13844 echo "${ECHO_T}$result" >&6; }
13848 defaultval=$wxUSE_ALL_FEATURES
13849 if test -z "$defaultval"; then
13850 if test x"$enablestring" = xdisable; then
13857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13858 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13859 # Check whether --enable-finddlg was given.
13860 if test "${enable_finddlg+set}" = set; then
13861 enableval=$enable_finddlg;
13862 if test "$enableval" = yes; then
13863 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13865 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13872 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
13873 if test "x$LINE" != x ; then
13874 eval "DEFAULT_$LINE"
13877 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13882 eval "$wx_cv_use_finddlg"
13883 if test "x$cache" = xyes; then
13884 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
13887 if test x"$enablestring" = xdisable; then
13888 if test $wxUSE_FINDREPLDLG = yes; then
13894 result=$wxUSE_FINDREPLDLG
13897 { echo "$as_me:$LINENO: result: $result" >&5
13898 echo "${ECHO_T}$result" >&6; }
13902 defaultval=$wxUSE_ALL_FEATURES
13903 if test -z "$defaultval"; then
13904 if test x"$enablestring" = xdisable; then
13911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13912 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13913 # Check whether --enable-fontdlg was given.
13914 if test "${enable_fontdlg+set}" = set; then
13915 enableval=$enable_fontdlg;
13916 if test "$enableval" = yes; then
13917 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13919 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13926 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
13927 if test "x$LINE" != x ; then
13928 eval "DEFAULT_$LINE"
13931 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13936 eval "$wx_cv_use_fontdlg"
13937 if test "x$cache" = xyes; then
13938 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
13941 if test x"$enablestring" = xdisable; then
13942 if test $wxUSE_FONTDLG = yes; then
13948 result=$wxUSE_FONTDLG
13951 { echo "$as_me:$LINENO: result: $result" >&5
13952 echo "${ECHO_T}$result" >&6; }
13956 defaultval=$wxUSE_ALL_FEATURES
13957 if test -z "$defaultval"; then
13958 if test x"$enablestring" = xdisable; then
13965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13966 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13967 # Check whether --enable-dirdlg was given.
13968 if test "${enable_dirdlg+set}" = set; then
13969 enableval=$enable_dirdlg;
13970 if test "$enableval" = yes; then
13971 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13973 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13980 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
13981 if test "x$LINE" != x ; then
13982 eval "DEFAULT_$LINE"
13985 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13990 eval "$wx_cv_use_dirdlg"
13991 if test "x$cache" = xyes; then
13992 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
13995 if test x"$enablestring" = xdisable; then
13996 if test $wxUSE_DIRDLG = yes; then
14002 result=$wxUSE_DIRDLG
14005 { echo "$as_me:$LINENO: result: $result" >&5
14006 echo "${ECHO_T}$result" >&6; }
14010 defaultval=$wxUSE_ALL_FEATURES
14011 if test -z "$defaultval"; then
14012 if test x"$enablestring" = xdisable; then
14019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14020 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14021 # Check whether --enable-msgdlg was given.
14022 if test "${enable_msgdlg+set}" = set; then
14023 enableval=$enable_msgdlg;
14024 if test "$enableval" = yes; then
14025 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14027 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14034 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14035 if test "x$LINE" != x ; then
14036 eval "DEFAULT_$LINE"
14039 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14044 eval "$wx_cv_use_msgdlg"
14045 if test "x$cache" = xyes; then
14046 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14049 if test x"$enablestring" = xdisable; then
14050 if test $wxUSE_MSGDLG = yes; then
14056 result=$wxUSE_MSGDLG
14059 { echo "$as_me:$LINENO: result: $result" >&5
14060 echo "${ECHO_T}$result" >&6; }
14064 defaultval=$wxUSE_ALL_FEATURES
14065 if test -z "$defaultval"; then
14066 if test x"$enablestring" = xdisable; then
14073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14074 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14075 # Check whether --enable-numberdlg was given.
14076 if test "${enable_numberdlg+set}" = set; then
14077 enableval=$enable_numberdlg;
14078 if test "$enableval" = yes; then
14079 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14081 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14088 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14089 if test "x$LINE" != x ; then
14090 eval "DEFAULT_$LINE"
14093 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14098 eval "$wx_cv_use_numberdlg"
14099 if test "x$cache" = xyes; then
14100 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14103 if test x"$enablestring" = xdisable; then
14104 if test $wxUSE_NUMBERDLG = yes; then
14110 result=$wxUSE_NUMBERDLG
14113 { echo "$as_me:$LINENO: result: $result" >&5
14114 echo "${ECHO_T}$result" >&6; }
14118 defaultval=$wxUSE_ALL_FEATURES
14119 if test -z "$defaultval"; then
14120 if test x"$enablestring" = xdisable; then
14127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14128 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14129 # Check whether --enable-splash was given.
14130 if test "${enable_splash+set}" = set; then
14131 enableval=$enable_splash;
14132 if test "$enableval" = yes; then
14133 wx_cv_use_splash='wxUSE_SPLASH=yes'
14135 wx_cv_use_splash='wxUSE_SPLASH=no'
14142 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14143 if test "x$LINE" != x ; then
14144 eval "DEFAULT_$LINE"
14147 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14152 eval "$wx_cv_use_splash"
14153 if test "x$cache" = xyes; then
14154 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14157 if test x"$enablestring" = xdisable; then
14158 if test $wxUSE_SPLASH = yes; then
14164 result=$wxUSE_SPLASH
14167 { echo "$as_me:$LINENO: result: $result" >&5
14168 echo "${ECHO_T}$result" >&6; }
14172 defaultval=$wxUSE_ALL_FEATURES
14173 if test -z "$defaultval"; then
14174 if test x"$enablestring" = xdisable; then
14181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14182 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14183 # Check whether --enable-textdlg was given.
14184 if test "${enable_textdlg+set}" = set; then
14185 enableval=$enable_textdlg;
14186 if test "$enableval" = yes; then
14187 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14189 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14196 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14197 if test "x$LINE" != x ; then
14198 eval "DEFAULT_$LINE"
14201 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14206 eval "$wx_cv_use_textdlg"
14207 if test "x$cache" = xyes; then
14208 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14211 if test x"$enablestring" = xdisable; then
14212 if test $wxUSE_TEXTDLG = yes; then
14218 result=$wxUSE_TEXTDLG
14221 { echo "$as_me:$LINENO: result: $result" >&5
14222 echo "${ECHO_T}$result" >&6; }
14226 defaultval=$wxUSE_ALL_FEATURES
14227 if test -z "$defaultval"; then
14228 if test x"$enablestring" = xdisable; then
14235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14236 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14237 # Check whether --enable-tipdlg was given.
14238 if test "${enable_tipdlg+set}" = set; then
14239 enableval=$enable_tipdlg;
14240 if test "$enableval" = yes; then
14241 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14243 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14250 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14251 if test "x$LINE" != x ; then
14252 eval "DEFAULT_$LINE"
14255 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14260 eval "$wx_cv_use_tipdlg"
14261 if test "x$cache" = xyes; then
14262 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14265 if test x"$enablestring" = xdisable; then
14266 if test $wxUSE_STARTUP_TIPS = yes; then
14272 result=$wxUSE_STARTUP_TIPS
14275 { echo "$as_me:$LINENO: result: $result" >&5
14276 echo "${ECHO_T}$result" >&6; }
14280 defaultval=$wxUSE_ALL_FEATURES
14281 if test -z "$defaultval"; then
14282 if test x"$enablestring" = xdisable; then
14289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14290 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14291 # Check whether --enable-progressdlg was given.
14292 if test "${enable_progressdlg+set}" = set; then
14293 enableval=$enable_progressdlg;
14294 if test "$enableval" = yes; then
14295 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14297 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14304 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14305 if test "x$LINE" != x ; then
14306 eval "DEFAULT_$LINE"
14309 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14314 eval "$wx_cv_use_progressdlg"
14315 if test "x$cache" = xyes; then
14316 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14319 if test x"$enablestring" = xdisable; then
14320 if test $wxUSE_PROGRESSDLG = yes; then
14326 result=$wxUSE_PROGRESSDLG
14329 { echo "$as_me:$LINENO: result: $result" >&5
14330 echo "${ECHO_T}$result" >&6; }
14334 defaultval=$wxUSE_ALL_FEATURES
14335 if test -z "$defaultval"; then
14336 if test x"$enablestring" = xdisable; then
14343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14344 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14345 # Check whether --enable-wizarddlg was given.
14346 if test "${enable_wizarddlg+set}" = set; then
14347 enableval=$enable_wizarddlg;
14348 if test "$enableval" = yes; then
14349 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14351 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14358 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14359 if test "x$LINE" != x ; then
14360 eval "DEFAULT_$LINE"
14363 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14368 eval "$wx_cv_use_wizarddlg"
14369 if test "x$cache" = xyes; then
14370 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
14373 if test x"$enablestring" = xdisable; then
14374 if test $wxUSE_WIZARDDLG = yes; then
14380 result=$wxUSE_WIZARDDLG
14383 { echo "$as_me:$LINENO: result: $result" >&5
14384 echo "${ECHO_T}$result" >&6; }
14390 defaultval=$wxUSE_ALL_FEATURES
14391 if test -z "$defaultval"; then
14392 if test x"$enablestring" = xdisable; then
14399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14400 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14401 # Check whether --enable-menus was given.
14402 if test "${enable_menus+set}" = set; then
14403 enableval=$enable_menus;
14404 if test "$enableval" = yes; then
14405 wx_cv_use_menus='wxUSE_MENUS=yes'
14407 wx_cv_use_menus='wxUSE_MENUS=no'
14414 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14415 if test "x$LINE" != x ; then
14416 eval "DEFAULT_$LINE"
14419 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14424 eval "$wx_cv_use_menus"
14425 if test "x$cache" = xyes; then
14426 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
14429 if test x"$enablestring" = xdisable; then
14430 if test $wxUSE_MENUS = yes; then
14436 result=$wxUSE_MENUS
14439 { echo "$as_me:$LINENO: result: $result" >&5
14440 echo "${ECHO_T}$result" >&6; }
14444 defaultval=$wxUSE_ALL_FEATURES
14445 if test -z "$defaultval"; then
14446 if test x"$enablestring" = xdisable; then
14453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14454 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14455 # Check whether --enable-miniframe was given.
14456 if test "${enable_miniframe+set}" = set; then
14457 enableval=$enable_miniframe;
14458 if test "$enableval" = yes; then
14459 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14461 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14468 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14469 if test "x$LINE" != x ; then
14470 eval "DEFAULT_$LINE"
14473 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14478 eval "$wx_cv_use_miniframe"
14479 if test "x$cache" = xyes; then
14480 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
14483 if test x"$enablestring" = xdisable; then
14484 if test $wxUSE_MINIFRAME = yes; then
14490 result=$wxUSE_MINIFRAME
14493 { echo "$as_me:$LINENO: result: $result" >&5
14494 echo "${ECHO_T}$result" >&6; }
14498 defaultval=$wxUSE_ALL_FEATURES
14499 if test -z "$defaultval"; then
14500 if test x"$enablestring" = xdisable; then
14507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14508 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14509 # Check whether --enable-tooltips was given.
14510 if test "${enable_tooltips+set}" = set; then
14511 enableval=$enable_tooltips;
14512 if test "$enableval" = yes; then
14513 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14515 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14522 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14523 if test "x$LINE" != x ; then
14524 eval "DEFAULT_$LINE"
14527 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14532 eval "$wx_cv_use_tooltips"
14533 if test "x$cache" = xyes; then
14534 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
14537 if test x"$enablestring" = xdisable; then
14538 if test $wxUSE_TOOLTIPS = yes; then
14544 result=$wxUSE_TOOLTIPS
14547 { echo "$as_me:$LINENO: result: $result" >&5
14548 echo "${ECHO_T}$result" >&6; }
14552 defaultval=$wxUSE_ALL_FEATURES
14553 if test -z "$defaultval"; then
14554 if test x"$enablestring" = xdisable; then
14561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14562 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14563 # Check whether --enable-splines was given.
14564 if test "${enable_splines+set}" = set; then
14565 enableval=$enable_splines;
14566 if test "$enableval" = yes; then
14567 wx_cv_use_splines='wxUSE_SPLINES=yes'
14569 wx_cv_use_splines='wxUSE_SPLINES=no'
14576 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14577 if test "x$LINE" != x ; then
14578 eval "DEFAULT_$LINE"
14581 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14586 eval "$wx_cv_use_splines"
14587 if test "x$cache" = xyes; then
14588 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
14591 if test x"$enablestring" = xdisable; then
14592 if test $wxUSE_SPLINES = yes; then
14598 result=$wxUSE_SPLINES
14601 { echo "$as_me:$LINENO: result: $result" >&5
14602 echo "${ECHO_T}$result" >&6; }
14606 defaultval=$wxUSE_ALL_FEATURES
14607 if test -z "$defaultval"; then
14608 if test x"$enablestring" = xdisable; then
14615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14616 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14617 # Check whether --enable-mousewheel was given.
14618 if test "${enable_mousewheel+set}" = set; then
14619 enableval=$enable_mousewheel;
14620 if test "$enableval" = yes; then
14621 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14623 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14630 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14631 if test "x$LINE" != x ; then
14632 eval "DEFAULT_$LINE"
14635 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14640 eval "$wx_cv_use_mousewheel"
14641 if test "x$cache" = xyes; then
14642 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
14645 if test x"$enablestring" = xdisable; then
14646 if test $wxUSE_MOUSEWHEEL = yes; then
14652 result=$wxUSE_MOUSEWHEEL
14655 { echo "$as_me:$LINENO: result: $result" >&5
14656 echo "${ECHO_T}$result" >&6; }
14660 defaultval=$wxUSE_ALL_FEATURES
14661 if test -z "$defaultval"; then
14662 if test x"$enablestring" = xdisable; then
14669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14670 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14671 # Check whether --enable-validators was given.
14672 if test "${enable_validators+set}" = set; then
14673 enableval=$enable_validators;
14674 if test "$enableval" = yes; then
14675 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14677 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14684 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14685 if test "x$LINE" != x ; then
14686 eval "DEFAULT_$LINE"
14689 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14694 eval "$wx_cv_use_validators"
14695 if test "x$cache" = xyes; then
14696 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
14699 if test x"$enablestring" = xdisable; then
14700 if test $wxUSE_VALIDATORS = yes; then
14706 result=$wxUSE_VALIDATORS
14709 { echo "$as_me:$LINENO: result: $result" >&5
14710 echo "${ECHO_T}$result" >&6; }
14714 defaultval=$wxUSE_ALL_FEATURES
14715 if test -z "$defaultval"; then
14716 if test x"$enablestring" = xdisable; then
14723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14724 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14725 # Check whether --enable-busyinfo was given.
14726 if test "${enable_busyinfo+set}" = set; then
14727 enableval=$enable_busyinfo;
14728 if test "$enableval" = yes; then
14729 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14731 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14738 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14739 if test "x$LINE" != x ; then
14740 eval "DEFAULT_$LINE"
14743 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14748 eval "$wx_cv_use_busyinfo"
14749 if test "x$cache" = xyes; then
14750 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
14753 if test x"$enablestring" = xdisable; then
14754 if test $wxUSE_BUSYINFO = yes; then
14760 result=$wxUSE_BUSYINFO
14763 { echo "$as_me:$LINENO: result: $result" >&5
14764 echo "${ECHO_T}$result" >&6; }
14768 defaultval=$wxUSE_ALL_FEATURES
14769 if test -z "$defaultval"; then
14770 if test x"$enablestring" = xdisable; then
14777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14778 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14779 # Check whether --enable-joystick was given.
14780 if test "${enable_joystick+set}" = set; then
14781 enableval=$enable_joystick;
14782 if test "$enableval" = yes; then
14783 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14785 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14792 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14793 if test "x$LINE" != x ; then
14794 eval "DEFAULT_$LINE"
14797 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14802 eval "$wx_cv_use_joystick"
14803 if test "x$cache" = xyes; then
14804 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
14807 if test x"$enablestring" = xdisable; then
14808 if test $wxUSE_JOYSTICK = yes; then
14814 result=$wxUSE_JOYSTICK
14817 { echo "$as_me:$LINENO: result: $result" >&5
14818 echo "${ECHO_T}$result" >&6; }
14822 defaultval=$wxUSE_ALL_FEATURES
14823 if test -z "$defaultval"; then
14824 if test x"$enablestring" = xdisable; then
14831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14832 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14833 # Check whether --enable-metafile was given.
14834 if test "${enable_metafile+set}" = set; then
14835 enableval=$enable_metafile;
14836 if test "$enableval" = yes; then
14837 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14839 wx_cv_use_metafile='wxUSE_METAFILE=no'
14846 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
14847 if test "x$LINE" != x ; then
14848 eval "DEFAULT_$LINE"
14851 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14856 eval "$wx_cv_use_metafile"
14857 if test "x$cache" = xyes; then
14858 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
14861 if test x"$enablestring" = xdisable; then
14862 if test $wxUSE_METAFILE = yes; then
14868 result=$wxUSE_METAFILE
14871 { echo "$as_me:$LINENO: result: $result" >&5
14872 echo "${ECHO_T}$result" >&6; }
14876 defaultval=$wxUSE_ALL_FEATURES
14877 if test -z "$defaultval"; then
14878 if test x"$enablestring" = xdisable; then
14885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14886 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14887 # Check whether --enable-dragimage was given.
14888 if test "${enable_dragimage+set}" = set; then
14889 enableval=$enable_dragimage;
14890 if test "$enableval" = yes; then
14891 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14893 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14900 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
14901 if test "x$LINE" != x ; then
14902 eval "DEFAULT_$LINE"
14905 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14910 eval "$wx_cv_use_dragimage"
14911 if test "x$cache" = xyes; then
14912 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
14915 if test x"$enablestring" = xdisable; then
14916 if test $wxUSE_DRAGIMAGE = yes; then
14922 result=$wxUSE_DRAGIMAGE
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}-accessibility" >&5
14940 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14941 # Check whether --enable-accessibility was given.
14942 if test "${enable_accessibility+set}" = set; then
14943 enableval=$enable_accessibility;
14944 if test "$enableval" = yes; then
14945 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14947 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14954 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
14955 if test "x$LINE" != x ; then
14956 eval "DEFAULT_$LINE"
14959 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14964 eval "$wx_cv_use_accessibility"
14965 if test "x$cache" = xyes; then
14966 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
14969 if test x"$enablestring" = xdisable; then
14970 if test $wxUSE_ACCESSIBILITY = yes; then
14976 result=$wxUSE_ACCESSIBILITY
14979 { echo "$as_me:$LINENO: result: $result" >&5
14980 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}-palette" >&5
14996 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14997 # Check whether --enable-palette was given.
14998 if test "${enable_palette+set}" = set; then
14999 enableval=$enable_palette;
15000 if test "$enableval" = yes; then
15001 wx_cv_use_palette='wxUSE_PALETTE=yes'
15003 wx_cv_use_palette='wxUSE_PALETTE=no'
15010 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15011 if test "x$LINE" != x ; then
15012 eval "DEFAULT_$LINE"
15015 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15020 eval "$wx_cv_use_palette"
15021 if test "x$cache" = xyes; then
15022 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15025 if test x"$enablestring" = xdisable; then
15026 if test $wxUSE_PALETTE = yes; then
15032 result=$wxUSE_PALETTE
15035 { echo "$as_me:$LINENO: result: $result" >&5
15036 echo "${ECHO_T}$result" >&6; }
15040 defaultval=$wxUSE_ALL_FEATURES
15041 if test -z "$defaultval"; then
15042 if test x"$enablestring" = xdisable; then
15049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15050 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15051 # Check whether --enable-image was given.
15052 if test "${enable_image+set}" = set; then
15053 enableval=$enable_image;
15054 if test "$enableval" = yes; then
15055 wx_cv_use_image='wxUSE_IMAGE=yes'
15057 wx_cv_use_image='wxUSE_IMAGE=no'
15064 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15065 if test "x$LINE" != x ; then
15066 eval "DEFAULT_$LINE"
15069 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15074 eval "$wx_cv_use_image"
15075 if test "x$cache" = xyes; then
15076 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15079 if test x"$enablestring" = xdisable; then
15080 if test $wxUSE_IMAGE = yes; then
15086 result=$wxUSE_IMAGE
15089 { echo "$as_me:$LINENO: result: $result" >&5
15090 echo "${ECHO_T}$result" >&6; }
15094 defaultval=$wxUSE_ALL_FEATURES
15095 if test -z "$defaultval"; then
15096 if test x"$enablestring" = xdisable; then
15103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15104 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15105 # Check whether --enable-gif was given.
15106 if test "${enable_gif+set}" = set; then
15107 enableval=$enable_gif;
15108 if test "$enableval" = yes; then
15109 wx_cv_use_gif='wxUSE_GIF=yes'
15111 wx_cv_use_gif='wxUSE_GIF=no'
15118 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15119 if test "x$LINE" != x ; then
15120 eval "DEFAULT_$LINE"
15123 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15128 eval "$wx_cv_use_gif"
15129 if test "x$cache" = xyes; then
15130 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15133 if test x"$enablestring" = xdisable; then
15134 if test $wxUSE_GIF = yes; then
15143 { echo "$as_me:$LINENO: result: $result" >&5
15144 echo "${ECHO_T}$result" >&6; }
15148 defaultval=$wxUSE_ALL_FEATURES
15149 if test -z "$defaultval"; then
15150 if test x"$enablestring" = xdisable; then
15157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15158 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15159 # Check whether --enable-pcx was given.
15160 if test "${enable_pcx+set}" = set; then
15161 enableval=$enable_pcx;
15162 if test "$enableval" = yes; then
15163 wx_cv_use_pcx='wxUSE_PCX=yes'
15165 wx_cv_use_pcx='wxUSE_PCX=no'
15172 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15173 if test "x$LINE" != x ; then
15174 eval "DEFAULT_$LINE"
15177 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15182 eval "$wx_cv_use_pcx"
15183 if test "x$cache" = xyes; then
15184 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15187 if test x"$enablestring" = xdisable; then
15188 if test $wxUSE_PCX = yes; then
15197 { echo "$as_me:$LINENO: result: $result" >&5
15198 echo "${ECHO_T}$result" >&6; }
15202 defaultval=$wxUSE_ALL_FEATURES
15203 if test -z "$defaultval"; then
15204 if test x"$enablestring" = xdisable; then
15211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15212 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15213 # Check whether --enable-tga was given.
15214 if test "${enable_tga+set}" = set; then
15215 enableval=$enable_tga;
15216 if test "$enableval" = yes; then
15217 wx_cv_use_tga='wxUSE_TGA=yes'
15219 wx_cv_use_tga='wxUSE_TGA=no'
15226 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15227 if test "x$LINE" != x ; then
15228 eval "DEFAULT_$LINE"
15231 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15236 eval "$wx_cv_use_tga"
15237 if test "x$cache" = xyes; then
15238 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15241 if test x"$enablestring" = xdisable; then
15242 if test $wxUSE_TGA = yes; then
15251 { echo "$as_me:$LINENO: result: $result" >&5
15252 echo "${ECHO_T}$result" >&6; }
15256 defaultval=$wxUSE_ALL_FEATURES
15257 if test -z "$defaultval"; then
15258 if test x"$enablestring" = xdisable; then
15265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15266 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15267 # Check whether --enable-iff was given.
15268 if test "${enable_iff+set}" = set; then
15269 enableval=$enable_iff;
15270 if test "$enableval" = yes; then
15271 wx_cv_use_iff='wxUSE_IFF=yes'
15273 wx_cv_use_iff='wxUSE_IFF=no'
15280 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15281 if test "x$LINE" != x ; then
15282 eval "DEFAULT_$LINE"
15285 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15290 eval "$wx_cv_use_iff"
15291 if test "x$cache" = xyes; then
15292 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15295 if test x"$enablestring" = xdisable; then
15296 if test $wxUSE_IFF = yes; then
15305 { echo "$as_me:$LINENO: result: $result" >&5
15306 echo "${ECHO_T}$result" >&6; }
15310 defaultval=$wxUSE_ALL_FEATURES
15311 if test -z "$defaultval"; then
15312 if test x"$enablestring" = xdisable; then
15319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15320 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15321 # Check whether --enable-pnm was given.
15322 if test "${enable_pnm+set}" = set; then
15323 enableval=$enable_pnm;
15324 if test "$enableval" = yes; then
15325 wx_cv_use_pnm='wxUSE_PNM=yes'
15327 wx_cv_use_pnm='wxUSE_PNM=no'
15334 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15335 if test "x$LINE" != x ; then
15336 eval "DEFAULT_$LINE"
15339 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15344 eval "$wx_cv_use_pnm"
15345 if test "x$cache" = xyes; then
15346 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
15349 if test x"$enablestring" = xdisable; then
15350 if test $wxUSE_PNM = yes; then
15359 { echo "$as_me:$LINENO: result: $result" >&5
15360 echo "${ECHO_T}$result" >&6; }
15364 defaultval=$wxUSE_ALL_FEATURES
15365 if test -z "$defaultval"; then
15366 if test x"$enablestring" = xdisable; then
15373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15374 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15375 # Check whether --enable-xpm was given.
15376 if test "${enable_xpm+set}" = set; then
15377 enableval=$enable_xpm;
15378 if test "$enableval" = yes; then
15379 wx_cv_use_xpm='wxUSE_XPM=yes'
15381 wx_cv_use_xpm='wxUSE_XPM=no'
15388 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15389 if test "x$LINE" != x ; then
15390 eval "DEFAULT_$LINE"
15393 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15398 eval "$wx_cv_use_xpm"
15399 if test "x$cache" = xyes; then
15400 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
15403 if test x"$enablestring" = xdisable; then
15404 if test $wxUSE_XPM = yes; then
15413 { echo "$as_me:$LINENO: result: $result" >&5
15414 echo "${ECHO_T}$result" >&6; }
15418 defaultval=$wxUSE_ALL_FEATURES
15419 if test -z "$defaultval"; then
15420 if test x"$enablestring" = xdisable; then
15427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15428 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15429 # Check whether --enable-ico_cur was given.
15430 if test "${enable_ico_cur+set}" = set; then
15431 enableval=$enable_ico_cur;
15432 if test "$enableval" = yes; then
15433 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15435 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15442 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15443 if test "x$LINE" != x ; then
15444 eval "DEFAULT_$LINE"
15447 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15452 eval "$wx_cv_use_ico_cur"
15453 if test "x$cache" = xyes; then
15454 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
15457 if test x"$enablestring" = xdisable; then
15458 if test $wxUSE_ICO_CUR = yes; then
15464 result=$wxUSE_ICO_CUR
15467 { echo "$as_me:$LINENO: result: $result" >&5
15468 echo "${ECHO_T}$result" >&6; }
15474 defaultval=$wxUSE_ALL_FEATURES
15475 if test -z "$defaultval"; then
15476 if test x"$enablestring" = xdisable; then
15483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15484 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15485 # Check whether --enable-dccache was given.
15486 if test "${enable_dccache+set}" = set; then
15487 enableval=$enable_dccache;
15488 if test "$enableval" = yes; then
15489 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15491 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15498 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
15499 if test "x$LINE" != x ; then
15500 eval "DEFAULT_$LINE"
15503 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15508 eval "$wx_cv_use_dccache"
15509 if test "x$cache" = xyes; then
15510 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
15513 if test x"$enablestring" = xdisable; then
15514 if test $wxUSE_DC_CACHEING = yes; then
15520 result=$wxUSE_DC_CACHEING
15523 { echo "$as_me:$LINENO: result: $result" >&5
15524 echo "${ECHO_T}$result" >&6; }
15528 defaultval=$wxUSE_ALL_FEATURES
15529 if test -z "$defaultval"; then
15530 if test x"$enablestring" = xdisable; then
15537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
15538 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
15539 # Check whether --enable-ps-in-msw was given.
15540 if test "${enable_ps_in_msw+set}" = set; then
15541 enableval=$enable_ps_in_msw;
15542 if test "$enableval" = yes; then
15543 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15545 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15552 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
15553 if test "x$LINE" != x ; then
15554 eval "DEFAULT_$LINE"
15557 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15562 eval "$wx_cv_use_ps_in_msw"
15563 if test "x$cache" = xyes; then
15564 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
15567 if test x"$enablestring" = xdisable; then
15568 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
15574 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15577 { echo "$as_me:$LINENO: result: $result" >&5
15578 echo "${ECHO_T}$result" >&6; }
15582 defaultval=$wxUSE_ALL_FEATURES
15583 if test -z "$defaultval"; then
15584 if test x"$enablestring" = xdisable; then
15591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
15592 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
15593 # Check whether --enable-ownerdrawn was given.
15594 if test "${enable_ownerdrawn+set}" = set; then
15595 enableval=$enable_ownerdrawn;
15596 if test "$enableval" = yes; then
15597 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15599 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15606 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
15607 if test "x$LINE" != x ; then
15608 eval "DEFAULT_$LINE"
15611 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15616 eval "$wx_cv_use_ownerdrawn"
15617 if test "x$cache" = xyes; then
15618 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
15621 if test x"$enablestring" = xdisable; then
15622 if test $wxUSE_OWNER_DRAWN = yes; then
15628 result=$wxUSE_OWNER_DRAWN
15631 { echo "$as_me:$LINENO: result: $result" >&5
15632 echo "${ECHO_T}$result" >&6; }
15636 defaultval=$wxUSE_ALL_FEATURES
15637 if test -z "$defaultval"; then
15638 if test x"$enablestring" = xdisable; then
15645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
15646 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
15647 # Check whether --enable-regkey was given.
15648 if test "${enable_regkey+set}" = set; then
15649 enableval=$enable_regkey;
15650 if test "$enableval" = yes; then
15651 wx_cv_use_regkey='wxUSE_REGKEY=yes'
15653 wx_cv_use_regkey='wxUSE_REGKEY=no'
15660 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
15661 if test "x$LINE" != x ; then
15662 eval "DEFAULT_$LINE"
15665 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
15670 eval "$wx_cv_use_regkey"
15671 if test "x$cache" = xyes; then
15672 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
15675 if test x"$enablestring" = xdisable; then
15676 if test $wxUSE_REGKEY = yes; then
15682 result=$wxUSE_REGKEY
15685 { echo "$as_me:$LINENO: result: $result" >&5
15686 echo "${ECHO_T}$result" >&6; }
15690 defaultval=$wxUSE_ALL_FEATURES
15691 if test -z "$defaultval"; then
15692 if test x"$enablestring" = xdisable; then
15699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
15700 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
15701 # Check whether --enable-uxtheme was given.
15702 if test "${enable_uxtheme+set}" = set; then
15703 enableval=$enable_uxtheme;
15704 if test "$enableval" = yes; then
15705 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15707 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15714 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
15715 if test "x$LINE" != x ; then
15716 eval "DEFAULT_$LINE"
15719 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15724 eval "$wx_cv_use_uxtheme"
15725 if test "x$cache" = xyes; then
15726 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
15729 if test x"$enablestring" = xdisable; then
15730 if test $wxUSE_UXTHEME = yes; then
15736 result=$wxUSE_UXTHEME
15739 { echo "$as_me:$LINENO: result: $result" >&5
15740 echo "${ECHO_T}$result" >&6; }
15744 defaultval=$wxUSE_ALL_FEATURES
15745 if test -z "$defaultval"; then
15746 if test x"$enablestring" = xdisable; then
15753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
15754 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
15755 # Check whether --enable-wxdib was given.
15756 if test "${enable_wxdib+set}" = set; then
15757 enableval=$enable_wxdib;
15758 if test "$enableval" = yes; then
15759 wx_cv_use_wxdib='wxUSE_DIB=yes'
15761 wx_cv_use_wxdib='wxUSE_DIB=no'
15768 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
15769 if test "x$LINE" != x ; then
15770 eval "DEFAULT_$LINE"
15773 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
15778 eval "$wx_cv_use_wxdib"
15779 if test "x$cache" = xyes; then
15780 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
15783 if test x"$enablestring" = xdisable; then
15784 if test $wxUSE_DIB = yes; then
15793 { echo "$as_me:$LINENO: result: $result" >&5
15794 echo "${ECHO_T}$result" >&6; }
15800 echo "saving argument cache $wx_arg_cache_file"
15801 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15805 { echo "$as_me:$LINENO: checking for toolkit" >&5
15806 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15808 # In Wine, we need to default to MSW, not GTK or MOTIF
15809 if test "$wxUSE_WINE" = "yes"; then
15810 DEFAULT_DEFAULT_wxUSE_GTK=0
15811 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15812 DEFAULT_DEFAULT_wxUSE_MSW=1
15815 CXX=${CXX:-wineg++}
15819 if test "$wxUSE_GUI" = "yes"; then
15821 if test "$USE_BEOS" = 1; then
15822 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15823 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15824 { (exit 1); exit 1; }; }
15827 if test "$TOOLKIT_GIVEN" = 1; then
15828 for toolkit in `echo $ALL_TOOLKITS`; do
15830 eval "value=\$${var}"
15831 if test "x$value" = "xno"; then
15833 elif test "x$value" != "x"; then
15837 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15838 eval "wx${toolkit}_VERSION=$value"
15842 for toolkit in `echo $ALL_TOOLKITS`; do
15843 if test "$has_toolkit_in_cache" != 1; then
15844 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15846 var=DEFAULT_wxUSE_$toolkit
15848 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15849 if test "x$version" != "x"; then
15850 eval "wx${toolkit}_VERSION=$version"
15853 eval "wxUSE_$toolkit=\$${var}"
15857 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15858 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15859 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15862 *-pc-os2_emx | *-pc-os2-emx )
15863 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15866 case "$NUM_TOOLKITS" in
15870 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15871 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15872 { (exit 1); exit 1; }; }
15875 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15876 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15877 { (exit 1); exit 1; }; }
15880 # to be removed when --disable-gtk2 isn't needed
15881 if test "x$wxUSE_GTK2" = "xyes"; then
15883 elif test "x$wxUSE_GTK2" = "xno"; then
15887 for toolkit in `echo $ALL_TOOLKITS`; do
15889 eval "value=\$${var}"
15890 if test "x$value" != x; then
15891 cache_var=CACHE_$toolkit
15892 eval "cache=\$${cache_var}"
15893 if test "$cache" = 1; then
15894 echo "$var=$value" >> ${wx_arg_cache_file}
15895 eval "version=\$wx${toolkit}_VERSION"
15896 if test "x$version" != "x"; then
15897 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15900 if test "$value" = 1; then
15901 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15902 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15903 echo "${ECHO_T}$toolkit_echo" >&6; }
15908 if test "x$host_alias" != "x"; then
15909 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15910 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15912 { echo "$as_me:$LINENO: result: base only" >&5
15913 echo "${ECHO_T}base only" >&6; }
15918 cat >confcache <<\_ACEOF
15919 # This file is a shell script that caches the results of configure
15920 # tests run on this system so they can be shared between configure
15921 # scripts and configure runs, see configure's option --config-cache.
15922 # It is not useful on other systems. If it contains results you don't
15923 # want to keep, you may remove or edit it.
15925 # config.status only pays attention to the cache file if you give it
15926 # the --recheck option to rerun configure.
15928 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
15929 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15930 # following values.
15934 # The following way of writing the cache mishandles newlines in values,
15935 # but we know of no workaround that is simple, portable, and efficient.
15936 # So, we kill variables containing newlines.
15937 # Ultrix sh set writes to stderr and can't be redirected directly,
15938 # and sets the high bit in the cache file unless we assign to the vars.
15940 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15941 eval ac_val
=\$
$ac_var
15945 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15946 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15949 _
| IFS
| as_nl
) ;; #(
15950 *) $as_unset $ac_var ;;
15956 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15957 *${as_nl}ac_space
=\
*)
15958 # `set' does not quote correctly, so add quotes (double-quote
15959 # substitution turns \\\\ into \\, and sed turns \\ into \).
15962 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15965 # `set' quotes correctly as required by POSIX, so do not add quotes.
15966 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15975 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15977 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15979 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15980 if test -w "$cache_file"; then
15981 test "x$cache_file" != "x/dev/null" &&
15982 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15983 echo "$as_me: updating cache $cache_file" >&6;}
15984 cat confcache
>$cache_file
15986 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15987 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15997 ac_cpp
='$CPP $CPPFLAGS'
15998 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15999 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16000 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16001 if test -n "$ac_tool_prefix"; then
16002 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16003 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
16004 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16006 if test "${ac_cv_prog_CC+set}" = set; then
16007 echo $ECHO_N "(cached) $ECHO_C" >&6
16009 if test -n "$CC"; then
16010 ac_cv_prog_CC
="$CC" # Let the user override the test.
16012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16013 for as_dir
in $PATH
16016 test -z "$as_dir" && as_dir
=.
16017 for ac_exec_ext
in '' $ac_executable_extensions; do
16018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16019 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
16020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16030 if test -n "$CC"; then
16031 { echo "$as_me:$LINENO: result: $CC" >&5
16032 echo "${ECHO_T}$CC" >&6; }
16034 { echo "$as_me:$LINENO: result: no" >&5
16035 echo "${ECHO_T}no" >&6; }
16040 if test -z "$ac_cv_prog_CC"; then
16042 # Extract the first word of "gcc", so it can be a program name with args.
16043 set dummy gcc
; ac_word
=$2
16044 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16046 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16047 echo $ECHO_N "(cached) $ECHO_C" >&6
16049 if test -n "$ac_ct_CC"; then
16050 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16053 for as_dir
in $PATH
16056 test -z "$as_dir" && as_dir
=.
16057 for ac_exec_ext
in '' $ac_executable_extensions; do
16058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16059 ac_cv_prog_ac_ct_CC
="gcc"
16060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16069 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16070 if test -n "$ac_ct_CC"; then
16071 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16072 echo "${ECHO_T}$ac_ct_CC" >&6; }
16074 { echo "$as_me:$LINENO: result: no" >&5
16075 echo "${ECHO_T}no" >&6; }
16078 if test "x$ac_ct_CC" = x
; then
16081 case $cross_compiling:$ac_tool_warned in
16083 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16084 whose name does not start with the host triplet. If you think this
16085 configuration is useful to you, please write to autoconf@gnu.org." >&5
16086 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16087 whose name does not start with the host triplet. If you think this
16088 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16089 ac_tool_warned
=yes ;;
16094 CC
="$ac_cv_prog_CC"
16097 if test -z "$CC"; then
16098 if test -n "$ac_tool_prefix"; then
16099 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16100 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
16101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16103 if test "${ac_cv_prog_CC+set}" = set; then
16104 echo $ECHO_N "(cached) $ECHO_C" >&6
16106 if test -n "$CC"; then
16107 ac_cv_prog_CC
="$CC" # Let the user override the test.
16109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16110 for as_dir
in $PATH
16113 test -z "$as_dir" && as_dir
=.
16114 for ac_exec_ext
in '' $ac_executable_extensions; do
16115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16116 ac_cv_prog_CC
="${ac_tool_prefix}cc"
16117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16127 if test -n "$CC"; then
16128 { echo "$as_me:$LINENO: result: $CC" >&5
16129 echo "${ECHO_T}$CC" >&6; }
16131 { echo "$as_me:$LINENO: result: no" >&5
16132 echo "${ECHO_T}no" >&6; }
16138 if test -z "$CC"; then
16139 # Extract the first word of "cc", so it can be a program name with args.
16140 set dummy cc
; ac_word
=$2
16141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16143 if test "${ac_cv_prog_CC+set}" = set; then
16144 echo $ECHO_N "(cached) $ECHO_C" >&6
16146 if test -n "$CC"; then
16147 ac_cv_prog_CC
="$CC" # Let the user override the test.
16149 ac_prog_rejected
=no
16150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16151 for as_dir
in $PATH
16154 test -z "$as_dir" && as_dir
=.
16155 for ac_exec_ext
in '' $ac_executable_extensions; do
16156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16157 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16158 ac_prog_rejected
=yes
16162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16169 if test $ac_prog_rejected = yes; then
16170 # We found a bogon in the path, so make sure we never use it.
16171 set dummy
$ac_cv_prog_CC
16173 if test $# != 0; then
16174 # We chose a different compiler from the bogus one.
16175 # However, it has the same basename, so the bogon will be chosen
16176 # first if we set CC to just the basename; use the full file name.
16178 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16184 if test -n "$CC"; then
16185 { echo "$as_me:$LINENO: result: $CC" >&5
16186 echo "${ECHO_T}$CC" >&6; }
16188 { echo "$as_me:$LINENO: result: no" >&5
16189 echo "${ECHO_T}no" >&6; }
16194 if test -z "$CC"; then
16195 if test -n "$ac_tool_prefix"; then
16196 for ac_prog
in cl.exe
16198 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16199 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16202 if test "${ac_cv_prog_CC+set}" = set; then
16203 echo $ECHO_N "(cached) $ECHO_C" >&6
16205 if test -n "$CC"; then
16206 ac_cv_prog_CC
="$CC" # Let the user override the test.
16208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16209 for as_dir
in $PATH
16212 test -z "$as_dir" && as_dir
=.
16213 for ac_exec_ext
in '' $ac_executable_extensions; do
16214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16215 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
16216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16226 if test -n "$CC"; then
16227 { echo "$as_me:$LINENO: result: $CC" >&5
16228 echo "${ECHO_T}$CC" >&6; }
16230 { echo "$as_me:$LINENO: result: no" >&5
16231 echo "${ECHO_T}no" >&6; }
16235 test -n "$CC" && break
16238 if test -z "$CC"; then
16240 for ac_prog
in cl.exe
16242 # Extract the first word of "$ac_prog", so it can be a program name with args.
16243 set dummy
$ac_prog; ac_word
=$2
16244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16246 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16247 echo $ECHO_N "(cached) $ECHO_C" >&6
16249 if test -n "$ac_ct_CC"; then
16250 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16253 for as_dir
in $PATH
16256 test -z "$as_dir" && as_dir
=.
16257 for ac_exec_ext
in '' $ac_executable_extensions; do
16258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16259 ac_cv_prog_ac_ct_CC
="$ac_prog"
16260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16269 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16270 if test -n "$ac_ct_CC"; then
16271 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16272 echo "${ECHO_T}$ac_ct_CC" >&6; }
16274 { echo "$as_me:$LINENO: result: no" >&5
16275 echo "${ECHO_T}no" >&6; }
16279 test -n "$ac_ct_CC" && break
16282 if test "x$ac_ct_CC" = x
; then
16285 case $cross_compiling:$ac_tool_warned in
16287 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16288 whose name does not start with the host triplet. If you think this
16289 configuration is useful to you, please write to autoconf@gnu.org." >&5
16290 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16291 whose name does not start with the host triplet. If you think this
16292 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16293 ac_tool_warned
=yes ;;
16302 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16303 See \`config.log' for more details." >&5
16304 echo "$as_me: error: no acceptable C compiler found in \$PATH
16305 See \`config.log' for more details." >&2;}
16306 { (exit 1); exit 1; }; }
16308 # Provide some information about the compiler.
16309 echo "$as_me:$LINENO: checking for C compiler version" >&5
16310 ac_compiler
=`set X $ac_compile; echo $2`
16311 { (ac_try
="$ac_compiler --version >&5"
16312 case "(($ac_try" in
16313 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16314 *) ac_try_echo=$ac_try;;
16316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16317 (eval "$ac_compiler --version >&5") 2>&5
16319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16320 (exit $ac_status); }
16321 { (ac_try="$ac_compiler -v >&5"
16322 case "(($ac_try" in
16323 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16324 *) ac_try_echo
=$ac_try;;
16326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16327 (eval "$ac_compiler -v >&5") 2>&5
16329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16330 (exit $ac_status); }
16331 { (ac_try
="$ac_compiler -V >&5"
16332 case "(($ac_try" in
16333 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16334 *) ac_try_echo=$ac_try;;
16336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16337 (eval "$ac_compiler -V >&5") 2>&5
16339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16340 (exit $ac_status); }
16342 cat >conftest.$ac_ext <<_ACEOF
16345 cat confdefs.h >>conftest.$ac_ext
16346 cat >>conftest.$ac_ext <<_ACEOF
16347 /* end confdefs.h. */
16357 ac_clean_files_save=$ac_clean_files
16358 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16359 # Try to create an executable without -o first, disregard a.out.
16360 # It will help us diagnose broken compilers, and finding out an intuition
16362 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16363 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16364 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16366 # List of possible output files, starting from the most likely.
16367 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
16368 # only as a last resort. b.out is created by i960 compilers.
16369 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
16371 # The IRIX 6 linker writes into existing files which may not be
16372 # executable, retaining their permissions. Remove them first so a
16373 # subsequent execution test works.
16375 for ac_file in $ac_files
16378 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16379 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16384 if { (ac_try="$ac_link_default"
16385 case "(($ac_try" in
16386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16387 *) ac_try_echo=$ac_try;;
16389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16390 (eval "$ac_link_default") 2>&5
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); }; then
16394 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16395 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16396 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16397 # so that the user can short-circuit this test for compilers unknown to
16399 for ac_file
in $ac_files ''
16401 test -f "$ac_file" || continue
16403 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
16406 # We found the default executable, but exeext='' is most
16410 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
16412 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16414 # We set ac_cv_exeext here because the later test for it is not
16415 # safe: cross compilers may not add the suffix if given an `-o'
16416 # argument, so we may need to know it at that point already.
16417 # Even if this section looks crufty: it has the advantage of
16418 # actually working.
16424 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
16430 { echo "$as_me:$LINENO: result: $ac_file" >&5
16431 echo "${ECHO_T}$ac_file" >&6; }
16432 if test -z "$ac_file"; then
16433 echo "$as_me: failed program was:" >&5
16434 sed 's/^/| /' conftest.
$ac_ext >&5
16436 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16437 See \`config.log' for more details." >&5
16438 echo "$as_me: error: C compiler cannot create executables
16439 See \`config.log' for more details." >&2;}
16440 { (exit 77); exit 77; }; }
16443 ac_exeext
=$ac_cv_exeext
16445 # Check that the compiler produces executables we can run. If not, either
16446 # the compiler is broken, or we cross compile.
16447 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16448 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16449 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16450 # If not cross compiling, check that we can run a simple program.
16451 if test "$cross_compiling" != yes; then
16452 if { ac_try
='./$ac_file'
16453 { (case "(($ac_try" in
16454 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16455 *) ac_try_echo=$ac_try;;
16457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16458 (eval "$ac_try") 2>&5
16460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461 (exit $ac_status); }; }; then
16464 if test "$cross_compiling" = maybe; then
16465 cross_compiling=yes
16467 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16468 If you meant to cross compile, use \`--host'.
16469 See \`config.log' for more details.
" >&5
16470 echo "$as_me: error
: cannot run C compiled programs.
16471 If you meant to cross compile
, use \
`--host'.
16472 See \`config.log
' for more details." >&2;}
16473 { (exit 1); exit 1; }; }
16477 { echo "$as_me:$LINENO: result: yes" >&5
16478 echo "${ECHO_T}yes" >&6; }
16480 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16481 ac_clean_files=$ac_clean_files_save
16482 # Check that the compiler produces executables we can run. If not, either
16483 # the compiler is broken, or we cross compile.
16484 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16485 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16486 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16487 echo "${ECHO_T}$cross_compiling" >&6; }
16489 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16490 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16491 if { (ac_try="$ac_link"
16492 case "(($ac_try" in
16493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16494 *) ac_try_echo=$ac_try;;
16496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16497 (eval "$ac_link") 2>&5
16499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16500 (exit $ac_status); }; then
16501 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
16502 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
16503 # work properly (i.e., refer to `conftest.exe
'), while it won't with
16505 for ac_file
in conftest.exe conftest conftest.
*; do
16506 test -f "$ac_file" || continue
16508 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
16509 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16515 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16516 See \`config.log' for more details." >&5
16517 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16518 See \`config.log' for more details." >&2;}
16519 { (exit 1); exit 1; }; }
16522 rm -f conftest
$ac_cv_exeext
16523 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16524 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16526 rm -f conftest.
$ac_ext
16527 EXEEXT
=$ac_cv_exeext
16529 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16530 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16531 if test "${ac_cv_objext+set}" = set; then
16532 echo $ECHO_N "(cached) $ECHO_C" >&6
16534 cat >conftest.
$ac_ext <<_ACEOF
16537 cat confdefs.h
>>conftest.
$ac_ext
16538 cat >>conftest.
$ac_ext <<_ACEOF
16539 /* end confdefs.h. */
16549 rm -f conftest.o conftest.obj
16550 if { (ac_try
="$ac_compile"
16551 case "(($ac_try" in
16552 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16553 *) ac_try_echo=$ac_try;;
16555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16556 (eval "$ac_compile") 2>&5
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); }; then
16560 for ac_file in conftest.o conftest.obj conftest.*; do
16561 test -f "$ac_file" || continue;
16563 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16564 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16569 echo "$as_me: failed program was:" >&5
16570 sed 's/^/| /' conftest.$ac_ext >&5
16572 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16573 See \`config.log
' for more details." >&5
16574 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16575 See \`config.log' for more details.
" >&2;}
16576 { (exit 1); exit 1; }; }
16579 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16581 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
16582 echo "${ECHO_T}$ac_cv_objext" >&6; }
16583 OBJEXT=$ac_cv_objext
16585 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
16586 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
16587 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16588 echo $ECHO_N "(cached
) $ECHO_C" >&6
16590 cat >conftest.$ac_ext <<_ACEOF
16593 cat confdefs.h >>conftest.$ac_ext
16594 cat >>conftest.$ac_ext <<_ACEOF
16595 /* end confdefs.h. */
16608 rm -f conftest.$ac_objext
16609 if { (ac_try="$ac_compile"
16610 case "(($ac_try" in
16611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16612 *) ac_try_echo=$ac_try;;
16614 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16615 (eval "$ac_compile") 2>conftest.er1
16617 grep -v '^ *+' conftest.er1 >conftest.err
16619 cat conftest.err >&5
16620 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16621 (exit $ac_status); } && {
16622 test -z "$ac_c_werror_flag" ||
16623 test ! -s conftest.err
16624 } && test -s conftest.$ac_objext; then
16625 ac_compiler_gnu=yes
16627 echo "$as_me: failed program was
:" >&5
16628 sed 's/^/| /' conftest.$ac_ext >&5
16633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16634 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16637 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
16638 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16639 GCC=`test $ac_compiler_gnu = yes && echo yes`
16640 ac_test_CFLAGS=${CFLAGS+set}
16641 ac_save_CFLAGS=$CFLAGS
16642 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
16643 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
16644 if test "${ac_cv_prog_cc_g+set}" = set; then
16645 echo $ECHO_N "(cached
) $ECHO_C" >&6
16647 ac_save_c_werror_flag=$ac_c_werror_flag
16648 ac_c_werror_flag=yes
16651 cat >conftest.$ac_ext <<_ACEOF
16654 cat confdefs.h >>conftest.$ac_ext
16655 cat >>conftest.$ac_ext <<_ACEOF
16656 /* end confdefs.h. */
16666 rm -f conftest.$ac_objext
16667 if { (ac_try="$ac_compile"
16668 case "(($ac_try" in
16669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16670 *) ac_try_echo=$ac_try;;
16672 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16673 (eval "$ac_compile") 2>conftest.er1
16675 grep -v '^ *+' conftest.er1 >conftest.err
16677 cat conftest.err >&5
16678 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16679 (exit $ac_status); } && {
16680 test -z "$ac_c_werror_flag" ||
16681 test ! -s conftest.err
16682 } && test -s conftest.$ac_objext; then
16683 ac_cv_prog_cc_g=yes
16685 echo "$as_me: failed program was
:" >&5
16686 sed 's/^/| /' conftest.$ac_ext >&5
16689 cat >conftest.$ac_ext <<_ACEOF
16692 cat confdefs.h >>conftest.$ac_ext
16693 cat >>conftest.$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16704 rm -f conftest.$ac_objext
16705 if { (ac_try="$ac_compile"
16706 case "(($ac_try" in
16707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16708 *) ac_try_echo=$ac_try;;
16710 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16711 (eval "$ac_compile") 2>conftest.er1
16713 grep -v '^ *+' conftest.er1 >conftest.err
16715 cat conftest.err >&5
16716 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16717 (exit $ac_status); } && {
16718 test -z "$ac_c_werror_flag" ||
16719 test ! -s conftest.err
16720 } && test -s conftest.$ac_objext; then
16723 echo "$as_me: failed program was
:" >&5
16724 sed 's/^/| /' conftest.$ac_ext >&5
16726 ac_c_werror_flag=$ac_save_c_werror_flag
16728 cat >conftest.$ac_ext <<_ACEOF
16731 cat confdefs.h >>conftest.$ac_ext
16732 cat >>conftest.$ac_ext <<_ACEOF
16733 /* end confdefs.h. */
16743 rm -f conftest.$ac_objext
16744 if { (ac_try="$ac_compile"
16745 case "(($ac_try" in
16746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16747 *) ac_try_echo=$ac_try;;
16749 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16750 (eval "$ac_compile") 2>conftest.er1
16752 grep -v '^ *+' conftest.er1 >conftest.err
16754 cat conftest.err >&5
16755 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16756 (exit $ac_status); } && {
16757 test -z "$ac_c_werror_flag" ||
16758 test ! -s conftest.err
16759 } && test -s conftest.$ac_objext; then
16760 ac_cv_prog_cc_g=yes
16762 echo "$as_me: failed program was
:" >&5
16763 sed 's/^/| /' conftest.$ac_ext >&5
16768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16775 ac_c_werror_flag=$ac_save_c_werror_flag
16777 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
16778 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16779 if test "$ac_test_CFLAGS" = set; then
16780 CFLAGS=$ac_save_CFLAGS
16781 elif test $ac_cv_prog_cc_g = yes; then
16782 if test "$GCC" = yes; then
16788 if test "$GCC" = yes; then
16794 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
16795 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
16796 if test "${ac_cv_prog_cc_c89+set}" = set; then
16797 echo $ECHO_N "(cached
) $ECHO_C" >&6
16799 ac_cv_prog_cc_c89=no
16801 cat >conftest.$ac_ext <<_ACEOF
16804 cat confdefs.h >>conftest.$ac_ext
16805 cat >>conftest.$ac_ext <<_ACEOF
16806 /* end confdefs.h. */
16807 #include <stdarg.h>
16809 #include <sys/types.h>
16810 #include <sys/stat.h>
16811 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16812 struct buf { int x; };
16813 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16814 static char *e (p, i)
16820 static char *f (char * (*g) (char **, int), char **p, ...)
16825 s = g (p, va_arg (v,int));
16830 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16831 function prototypes and stuff, but not '\xHH' hex character constants.
16832 These don't provoke an error unfortunately, instead are silently treated
16833 as 'x'. The following induces an error, until -std is added to get
16834 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16835 array size at least. It's necessary to write '\x00'==0 to get something
16836 that's true only with -std. */
16837 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16839 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16840 inside strings and character constants. */
16842 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16844 int test (int i, double x);
16845 struct s1 {int (*f) (int a);};
16846 struct s2 {int (*f) (double a);};
16847 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16853 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16858 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16859 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16861 CC="$ac_save_CC $ac_arg"
16862 rm -f conftest.$ac_objext
16863 if { (ac_try="$ac_compile"
16864 case "(($ac_try" in
16865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16866 *) ac_try_echo=$ac_try;;
16868 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16869 (eval "$ac_compile") 2>conftest.er1
16871 grep -v '^ *+' conftest.er1 >conftest.err
16873 cat conftest.err >&5
16874 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16875 (exit $ac_status); } && {
16876 test -z "$ac_c_werror_flag" ||
16877 test ! -s conftest.err
16878 } && test -s conftest.$ac_objext; then
16879 ac_cv_prog_cc_c89=$ac_arg
16881 echo "$as_me: failed program was
:" >&5
16882 sed 's/^/| /' conftest.$ac_ext >&5
16887 rm -f core conftest.err conftest.$ac_objext
16888 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
16890 rm -f conftest.$ac_ext
16895 case "x
$ac_cv_prog_cc_c89" in
16897 { echo "$as_me:$LINENO: result
: none needed
" >&5
16898 echo "${ECHO_T}none needed
" >&6; } ;;
16900 { echo "$as_me:$LINENO: result
: unsupported
" >&5
16901 echo "${ECHO_T}unsupported
" >&6; } ;;
16903 CC="$CC $ac_cv_prog_cc_c89"
16904 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
16905 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16910 ac_cpp='$CPP $CPPFLAGS'
16911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16919 ac_cpp='$CPP $CPPFLAGS'
16920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16924 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
16925 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
16926 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16927 echo $ECHO_N "(cached
) $ECHO_C" >&6
16929 cat >conftest.$ac_ext <<_ACEOF
16932 cat confdefs.h >>conftest.$ac_ext
16933 cat >>conftest.$ac_ext <<_ACEOF
16934 /* end confdefs.h. */
16940 #ifndef __INTEL_COMPILER
16948 rm -f conftest.$ac_objext
16949 if { (ac_try="$ac_compile"
16950 case "(($ac_try" in
16951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16952 *) ac_try_echo=$ac_try;;
16954 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16955 (eval "$ac_compile") 2>conftest.er1
16957 grep -v '^ *+' conftest.er1 >conftest.err
16959 cat conftest.err >&5
16960 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16961 (exit $ac_status); } && {
16962 test -z "$ac_c_werror_flag" ||
16963 test ! -s conftest.err
16964 } && test -s conftest.$ac_objext; then
16965 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16967 echo "$as_me: failed program was
:" >&5
16968 sed 's/^/| /' conftest.$ac_ext >&5
16970 bakefile_cv_c_compiler___INTEL_COMPILER=no
16974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16978 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16979 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16980 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
16986 ac_cpp='$CPP $CPPFLAGS'
16987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16994 if test "x
$GCC" != "xyes
"; then
16995 if test "xCC
" = "xC
"; then
16996 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
16997 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
16998 if test "${bakefile_cv_c_exto+set}" = set; then
16999 echo $ECHO_N "(cached
) $ECHO_C" >&6
17001 cat >conftest.$ac_ext <<_ACEOF
17004 cat confdefs.h >>conftest.$ac_ext
17005 cat >>conftest.$ac_ext <<_ACEOF
17006 /* end confdefs.h. */
17016 rm -f conftest.$ac_objext conftest.$ac_ext.o
17017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17018 (eval $ac_compile) 2>&5
17020 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17021 (exit $ac_status); }; then
17022 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17024 conftest.$ac_ext.o)
17025 bakefile_cv_c_exto="-ext o
"
17032 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
17033 See \
`config.log' for more details." >&5
17034 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17035 See \`config.log
' for more details." >&2;}
17036 { (exit 1); exit 1; }; }
17040 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17043 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17044 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17045 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17046 if test "c" = "c"; then
17047 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17049 if test "c" = "cxx"; then
17050 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17054 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17055 unset ac_cv_prog_cc_g
17056 ac_test_CFLAGS=${CFLAGS+set}
17057 ac_save_CFLAGS=$CFLAGS
17058 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17059 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17060 if test "${ac_cv_prog_cc_g+set}" = set; then
17061 echo $ECHO_N "(cached) $ECHO_C" >&6
17063 ac_save_c_werror_flag=$ac_c_werror_flag
17064 ac_c_werror_flag=yes
17067 cat >conftest.$ac_ext <<_ACEOF
17070 cat confdefs.h >>conftest.$ac_ext
17071 cat >>conftest.$ac_ext <<_ACEOF
17072 /* end confdefs.h. */
17082 rm -f conftest.$ac_objext
17083 if { (ac_try="$ac_compile"
17084 case "(($ac_try" in
17085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17086 *) ac_try_echo=$ac_try;;
17088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17089 (eval "$ac_compile") 2>conftest.er1
17091 grep -v '^
*+' conftest.er1 >conftest.err
17093 cat conftest.err >&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); } && {
17096 test -z "$ac_c_werror_flag" ||
17097 test ! -s conftest.err
17098 } && test -s conftest.$ac_objext; then
17099 ac_cv_prog_cc_g=yes
17101 echo "$as_me: failed program was:" >&5
17102 sed 's
/^
/| /' conftest.$ac_ext >&5
17105 cat >conftest.$ac_ext <<_ACEOF
17108 cat confdefs.h >>conftest.$ac_ext
17109 cat >>conftest.$ac_ext <<_ACEOF
17110 /* end confdefs.h. */
17120 rm -f conftest.$ac_objext
17121 if { (ac_try="$ac_compile"
17122 case "(($ac_try" in
17123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17124 *) ac_try_echo=$ac_try;;
17126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17127 (eval "$ac_compile") 2>conftest.er1
17129 grep -v '^
*+' conftest.er1 >conftest.err
17131 cat conftest.err >&5
17132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133 (exit $ac_status); } && {
17134 test -z "$ac_c_werror_flag" ||
17135 test ! -s conftest.err
17136 } && test -s conftest.$ac_objext; then
17139 echo "$as_me: failed program was:" >&5
17140 sed 's
/^
/| /' conftest.$ac_ext >&5
17142 ac_c_werror_flag=$ac_save_c_werror_flag
17144 cat >conftest.$ac_ext <<_ACEOF
17147 cat confdefs.h >>conftest.$ac_ext
17148 cat >>conftest.$ac_ext <<_ACEOF
17149 /* end confdefs.h. */
17159 rm -f conftest.$ac_objext
17160 if { (ac_try="$ac_compile"
17161 case "(($ac_try" in
17162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17163 *) ac_try_echo=$ac_try;;
17165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17166 (eval "$ac_compile") 2>conftest.er1
17168 grep -v '^
*+' conftest.er1 >conftest.err
17170 cat conftest.err >&5
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); } && {
17173 test -z "$ac_c_werror_flag" ||
17174 test ! -s conftest.err
17175 } && test -s conftest.$ac_objext; then
17176 ac_cv_prog_cc_g=yes
17178 echo "$as_me: failed program was:" >&5
17179 sed 's
/^
/| /' conftest.$ac_ext >&5
17184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17191 ac_c_werror_flag=$ac_save_c_werror_flag
17193 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17194 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17195 if test "$ac_test_CFLAGS" = set; then
17196 CFLAGS=$ac_save_CFLAGS
17197 elif test $ac_cv_prog_cc_g = yes; then
17198 if test "$GCC" = yes; then
17204 if test "$GCC" = yes; then
17218 ac_cpp='$CPP $CPPFLAGS'
17219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17220 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17223 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17224 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17225 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17226 echo $ECHO_N "(cached) $ECHO_C" >&6
17228 cat >conftest.$ac_ext <<_ACEOF
17231 cat confdefs.h >>conftest.$ac_ext
17232 cat >>conftest.$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17247 rm -f conftest.$ac_objext
17248 if { (ac_try="$ac_compile"
17249 case "(($ac_try" in
17250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17251 *) ac_try_echo=$ac_try;;
17253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17254 (eval "$ac_compile") 2>conftest.er1
17256 grep -v '^
*+' conftest.er1 >conftest.err
17258 cat conftest.err >&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } && {
17261 test -z "$ac_c_werror_flag" ||
17262 test ! -s conftest.err
17263 } && test -s conftest.$ac_objext; then
17264 bakefile_cv_c_compiler___xlC__=yes
17266 echo "$as_me: failed program was:" >&5
17267 sed 's
/^
/| /' conftest.$ac_ext >&5
17269 bakefile_cv_c_compiler___xlC__=no
17273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17277 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17278 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17279 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17285 ac_cpp='$CPP $CPPFLAGS'
17286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17287 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17298 ac_cpp='$CPP $CPPFLAGS'
17299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17300 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17303 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17304 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17305 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17306 echo $ECHO_N "(cached) $ECHO_C" >&6
17308 cat >conftest.$ac_ext <<_ACEOF
17311 cat confdefs.h >>conftest.$ac_ext
17312 cat >>conftest.$ac_ext <<_ACEOF
17313 /* end confdefs.h. */
17327 rm -f conftest.$ac_objext
17328 if { (ac_try="$ac_compile"
17329 case "(($ac_try" in
17330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17331 *) ac_try_echo=$ac_try;;
17333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17334 (eval "$ac_compile") 2>conftest.er1
17336 grep -v '^
*+' conftest.er1 >conftest.err
17338 cat conftest.err >&5
17339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17340 (exit $ac_status); } && {
17341 test -z "$ac_c_werror_flag" ||
17342 test ! -s conftest.err
17343 } && test -s conftest.$ac_objext; then
17344 bakefile_cv_c_compiler___MWERKS__=yes
17346 echo "$as_me: failed program was:" >&5
17347 sed 's
/^
/| /' conftest.$ac_ext >&5
17349 bakefile_cv_c_compiler___MWERKS__=no
17353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17357 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17358 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17359 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17365 ac_cpp='$CPP $CPPFLAGS'
17366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17367 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17375 ac_cpp='$CPP $CPPFLAGS'
17376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17377 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17380 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17381 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17382 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17383 echo $ECHO_N "(cached) $ECHO_C" >&6
17385 cat >conftest.$ac_ext <<_ACEOF
17388 cat confdefs.h >>conftest.$ac_ext
17389 cat >>conftest.$ac_ext <<_ACEOF
17390 /* end confdefs.h. */
17404 rm -f conftest.$ac_objext
17405 if { (ac_try="$ac_compile"
17406 case "(($ac_try" in
17407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17408 *) ac_try_echo=$ac_try;;
17410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17411 (eval "$ac_compile") 2>conftest.er1
17413 grep -v '^
*+' conftest.er1 >conftest.err
17415 cat conftest.err >&5
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); } && {
17418 test -z "$ac_c_werror_flag" ||
17419 test ! -s conftest.err
17420 } && test -s conftest.$ac_objext; then
17421 bakefile_cv_c_compiler___xlC__=yes
17423 echo "$as_me: failed program was:" >&5
17424 sed 's
/^
/| /' conftest.$ac_ext >&5
17426 bakefile_cv_c_compiler___xlC__=no
17430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17434 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17435 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17436 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17442 ac_cpp='$CPP $CPPFLAGS'
17443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17444 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17455 ac_cpp='$CPP $CPPFLAGS'
17456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17457 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17460 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17461 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17462 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17463 echo $ECHO_N "(cached) $ECHO_C" >&6
17465 cat >conftest.$ac_ext <<_ACEOF
17468 cat confdefs.h >>conftest.$ac_ext
17469 cat >>conftest.$ac_ext <<_ACEOF
17470 /* end confdefs.h. */
17476 #ifndef _SGI_COMPILER_VERSION
17484 rm -f conftest.$ac_objext
17485 if { (ac_try="$ac_compile"
17486 case "(($ac_try" in
17487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17488 *) ac_try_echo=$ac_try;;
17490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17491 (eval "$ac_compile") 2>conftest.er1
17493 grep -v '^
*+' conftest.er1 >conftest.err
17495 cat conftest.err >&5
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); } && {
17498 test -z "$ac_c_werror_flag" ||
17499 test ! -s conftest.err
17500 } && test -s conftest.$ac_objext; then
17501 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17503 echo "$as_me: failed program was:" >&5
17504 sed 's
/^
/| /' conftest.$ac_ext >&5
17506 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17514 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17515 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17516 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17522 ac_cpp='$CPP $CPPFLAGS'
17523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17524 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17535 ac_cpp='$CPP $CPPFLAGS'
17536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17537 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17540 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17541 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17542 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17543 echo $ECHO_N "(cached) $ECHO_C" >&6
17545 cat >conftest.$ac_ext <<_ACEOF
17548 cat confdefs.h >>conftest.$ac_ext
17549 cat >>conftest.$ac_ext <<_ACEOF
17550 /* end confdefs.h. */
17564 rm -f conftest.$ac_objext
17565 if { (ac_try="$ac_compile"
17566 case "(($ac_try" in
17567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17568 *) ac_try_echo=$ac_try;;
17570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17571 (eval "$ac_compile") 2>conftest.er1
17573 grep -v '^
*+' conftest.er1 >conftest.err
17575 cat conftest.err >&5
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); } && {
17578 test -z "$ac_c_werror_flag" ||
17579 test ! -s conftest.err
17580 } && test -s conftest.$ac_objext; then
17581 bakefile_cv_c_compiler___SUNPRO_C=yes
17583 echo "$as_me: failed program was:" >&5
17584 sed 's
/^
/| /' conftest.$ac_ext >&5
17586 bakefile_cv_c_compiler___SUNPRO_C=no
17590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17594 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17595 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17596 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17602 ac_cpp='$CPP $CPPFLAGS'
17603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17604 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17615 ac_cpp='$CPP $CPPFLAGS'
17616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17617 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17620 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17621 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17622 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17623 echo $ECHO_N "(cached) $ECHO_C" >&6
17625 cat >conftest.$ac_ext <<_ACEOF
17628 cat confdefs.h >>conftest.$ac_ext
17629 cat >>conftest.$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17644 rm -f conftest.$ac_objext
17645 if { (ac_try="$ac_compile"
17646 case "(($ac_try" in
17647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17648 *) ac_try_echo=$ac_try;;
17650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17651 (eval "$ac_compile") 2>conftest.er1
17653 grep -v '^
*+' conftest.er1 >conftest.err
17655 cat conftest.err >&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } && {
17658 test -z "$ac_c_werror_flag" ||
17659 test ! -s conftest.err
17660 } && test -s conftest.$ac_objext; then
17661 bakefile_cv_c_compiler___HP_cc=yes
17663 echo "$as_me: failed program was:" >&5
17664 sed 's
/^
/| /' conftest.$ac_ext >&5
17666 bakefile_cv_c_compiler___HP_cc=no
17670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17674 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17675 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17676 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17682 ac_cpp='$CPP $CPPFLAGS'
17683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17684 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17695 ac_cpp='$CPP $CPPFLAGS'
17696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17697 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17700 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17701 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17702 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17703 echo $ECHO_N "(cached) $ECHO_C" >&6
17705 cat >conftest.$ac_ext <<_ACEOF
17708 cat confdefs.h >>conftest.$ac_ext
17709 cat >>conftest.$ac_ext <<_ACEOF
17710 /* end confdefs.h. */
17724 rm -f conftest.$ac_objext
17725 if { (ac_try="$ac_compile"
17726 case "(($ac_try" in
17727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17728 *) ac_try_echo=$ac_try;;
17730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17731 (eval "$ac_compile") 2>conftest.er1
17733 grep -v '^
*+' conftest.er1 >conftest.err
17735 cat conftest.err >&5
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); } && {
17738 test -z "$ac_c_werror_flag" ||
17739 test ! -s conftest.err
17740 } && test -s conftest.$ac_objext; then
17741 bakefile_cv_c_compiler___DECC=yes
17743 echo "$as_me: failed program was:" >&5
17744 sed 's
/^
/| /' conftest.$ac_ext >&5
17746 bakefile_cv_c_compiler___DECC=no
17750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17754 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17755 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17756 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17762 ac_cpp='$CPP $CPPFLAGS'
17763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17764 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17775 ac_cpp='$CPP $CPPFLAGS'
17776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17777 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17780 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17781 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17782 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17783 echo $ECHO_N "(cached) $ECHO_C" >&6
17785 cat >conftest.$ac_ext <<_ACEOF
17788 cat confdefs.h >>conftest.$ac_ext
17789 cat >>conftest.$ac_ext <<_ACEOF
17790 /* end confdefs.h. */
17804 rm -f conftest.$ac_objext
17805 if { (ac_try="$ac_compile"
17806 case "(($ac_try" in
17807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17808 *) ac_try_echo=$ac_try;;
17810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17811 (eval "$ac_compile") 2>conftest.er1
17813 grep -v '^
*+' conftest.er1 >conftest.err
17815 cat conftest.err >&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); } && {
17818 test -z "$ac_c_werror_flag" ||
17819 test ! -s conftest.err
17820 } && test -s conftest.$ac_objext; then
17821 bakefile_cv_c_compiler___SUNPRO_C=yes
17823 echo "$as_me: failed program was:" >&5
17824 sed 's
/^
/| /' conftest.$ac_ext >&5
17826 bakefile_cv_c_compiler___SUNPRO_C=no
17830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17834 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17835 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17836 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17842 ac_cpp='$CPP $CPPFLAGS'
17843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17844 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17856 ac_cpp='$CPP $CPPFLAGS'
17857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17858 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17860 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17861 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17862 # On Suns, sometimes $CPP names a directory.
17863 if test -n "$CPP" && test -d "$CPP"; then
17866 if test -z "$CPP"; then
17867 if test "${ac_cv_prog_CPP+set}" = set; then
17868 echo $ECHO_N "(cached) $ECHO_C" >&6
17870 # Double quotes because CPP needs to be expanded
17871 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17873 ac_preproc_ok=false
17874 for ac_c_preproc_warn_flag in '' yes
17876 # Use a header file that comes with gcc, so configuring glibc
17877 # with a fresh cross-compiler works.
17878 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17879 # <limits.h> exists even on freestanding compilers.
17880 # On the NeXT, cc -E runs the code through the compiler's parser
,
17881 # not just through cpp. "Syntax error" is here to catch this case.
17882 cat >conftest.
$ac_ext <<_ACEOF
17885 cat confdefs.h
>>conftest.
$ac_ext
17886 cat >>conftest.
$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17889 # include <limits.h>
17891 # include <assert.h>
17895 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17896 case "(($ac_try" in
17897 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17898 *) ac_try_echo=$ac_try;;
17900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17901 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17903 grep -v '^ *+' conftest.er1 >conftest.err
17905 cat conftest.err >&5
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); } >/dev/null && {
17908 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17909 test ! -s conftest.err
17913 echo "$as_me: failed program was:" >&5
17914 sed 's/^/| /' conftest.$ac_ext >&5
17916 # Broken: fails on valid input.
17920 rm -f conftest.err conftest.$ac_ext
17922 # OK, works on sane cases. Now check whether nonexistent headers
17923 # can be detected and how.
17924 cat >conftest.$ac_ext <<_ACEOF
17927 cat confdefs.h >>conftest.$ac_ext
17928 cat >>conftest.$ac_ext <<_ACEOF
17929 /* end confdefs.h. */
17930 #include <ac_nonexistent.h>
17932 if { (ac_try="$ac_cpp conftest.$ac_ext"
17933 case "(($ac_try" in
17934 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17935 *) ac_try_echo
=$ac_try;;
17937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17938 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17940 grep -v '^ *+' conftest.er1
>conftest.err
17942 cat conftest.err
>&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); } >/dev
/null
&& {
17945 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17946 test ! -s conftest.err
17948 # Broken: success on invalid input.
17951 echo "$as_me: failed program was:" >&5
17952 sed 's/^/| /' conftest.
$ac_ext >&5
17954 # Passes both tests.
17959 rm -f conftest.err conftest.
$ac_ext
17962 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17963 rm -f conftest.err conftest.
$ac_ext
17964 if $ac_preproc_ok; then
17969 ac_cv_prog_CPP
=$CPP
17972 CPP
=$ac_cv_prog_CPP
17974 ac_cv_prog_CPP
=$CPP
17976 { echo "$as_me:$LINENO: result: $CPP" >&5
17977 echo "${ECHO_T}$CPP" >&6; }
17978 ac_preproc_ok
=false
17979 for ac_c_preproc_warn_flag
in '' yes
17981 # Use a header file that comes with gcc, so configuring glibc
17982 # with a fresh cross-compiler works.
17983 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17984 # <limits.h> exists even on freestanding compilers.
17985 # On the NeXT, cc -E runs the code through the compiler's parser,
17986 # not just through cpp. "Syntax error" is here to catch this case.
17987 cat >conftest.
$ac_ext <<_ACEOF
17990 cat confdefs.h
>>conftest.
$ac_ext
17991 cat >>conftest.
$ac_ext <<_ACEOF
17992 /* end confdefs.h. */
17994 # include <limits.h>
17996 # include <assert.h>
18000 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18001 case "(($ac_try" in
18002 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18003 *) ac_try_echo=$ac_try;;
18005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18008 grep -v '^ *+' conftest.er1 >conftest.err
18010 cat conftest.err >&5
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); } >/dev/null && {
18013 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18014 test ! -s conftest.err
18018 echo "$as_me: failed program was:" >&5
18019 sed 's/^/| /' conftest.$ac_ext >&5
18021 # Broken: fails on valid input.
18025 rm -f conftest.err conftest.$ac_ext
18027 # OK, works on sane cases. Now check whether nonexistent headers
18028 # can be detected and how.
18029 cat >conftest.$ac_ext <<_ACEOF
18032 cat confdefs.h >>conftest.$ac_ext
18033 cat >>conftest.$ac_ext <<_ACEOF
18034 /* end confdefs.h. */
18035 #include <ac_nonexistent.h>
18037 if { (ac_try="$ac_cpp conftest.$ac_ext"
18038 case "(($ac_try" in
18039 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18040 *) ac_try_echo
=$ac_try;;
18042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18043 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18045 grep -v '^ *+' conftest.er1
>conftest.err
18047 cat conftest.err
>&5
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049 (exit $ac_status); } >/dev
/null
&& {
18050 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18051 test ! -s conftest.err
18053 # Broken: success on invalid input.
18056 echo "$as_me: failed program was:" >&5
18057 sed 's/^/| /' conftest.
$ac_ext >&5
18059 # Passes both tests.
18064 rm -f conftest.err conftest.
$ac_ext
18067 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18068 rm -f conftest.err conftest.
$ac_ext
18069 if $ac_preproc_ok; then
18072 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18073 See \`config.log' for more details." >&5
18074 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18075 See \`config.log' for more details." >&2;}
18076 { (exit 1); exit 1; }; }
18080 ac_cpp
='$CPP $CPPFLAGS'
18081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18086 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18087 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18088 if test "${ac_cv_path_GREP+set}" = set; then
18089 echo $ECHO_N "(cached) $ECHO_C" >&6
18091 # Extract the first word of "grep ggrep" to use in msg output
18092 if test -z "$GREP"; then
18093 set dummy
grep ggrep
; ac_prog_name
=$2
18094 if test "${ac_cv_path_GREP+set}" = set; then
18095 echo $ECHO_N "(cached) $ECHO_C" >&6
18097 ac_path_GREP_found
=false
18098 # Loop through the user's path and test for each of PROGNAME-LIST
18099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18100 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18103 test -z "$as_dir" && as_dir
=.
18104 for ac_prog
in grep ggrep
; do
18105 for ac_exec_ext
in '' $ac_executable_extensions; do
18106 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
18107 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18108 # Check for GNU ac_path_GREP and select it if it is found.
18109 # Check for GNU $ac_path_GREP
18110 case `"$ac_path_GREP" --version 2>&1` in
18112 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
18115 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18118 cat "conftest.in" "conftest.in" >"conftest.tmp"
18119 mv "conftest.tmp" "conftest.in"
18120 cp "conftest.in" "conftest.nl"
18121 echo 'GREP' >> "conftest.nl"
18122 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18123 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18124 ac_count
=`expr $ac_count + 1`
18125 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18126 # Best one so far, save it but keep looking for a better one
18127 ac_cv_path_GREP
="$ac_path_GREP"
18128 ac_path_GREP_max
=$ac_count
18130 # 10*(2^10) chars as input seems more than enough
18131 test $ac_count -gt 10 && break
18133 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18137 $ac_path_GREP_found && break 3
18147 GREP
="$ac_cv_path_GREP"
18148 if test -z "$GREP"; then
18149 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18150 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18151 { (exit 1); exit 1; }; }
18155 ac_cv_path_GREP
=$GREP
18160 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18161 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18162 GREP
="$ac_cv_path_GREP"
18165 { echo "$as_me:$LINENO: checking for egrep" >&5
18166 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18167 if test "${ac_cv_path_EGREP+set}" = set; then
18168 echo $ECHO_N "(cached) $ECHO_C" >&6
18170 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18171 then ac_cv_path_EGREP
="$GREP -E"
18173 # Extract the first word of "egrep" to use in msg output
18174 if test -z "$EGREP"; then
18175 set dummy
egrep; ac_prog_name
=$2
18176 if test "${ac_cv_path_EGREP+set}" = set; then
18177 echo $ECHO_N "(cached) $ECHO_C" >&6
18179 ac_path_EGREP_found
=false
18180 # Loop through the user's path and test for each of PROGNAME-LIST
18181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18182 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18185 test -z "$as_dir" && as_dir
=.
18186 for ac_prog
in egrep; do
18187 for ac_exec_ext
in '' $ac_executable_extensions; do
18188 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
18189 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18190 # Check for GNU ac_path_EGREP and select it if it is found.
18191 # Check for GNU $ac_path_EGREP
18192 case `"$ac_path_EGREP" --version 2>&1` in
18194 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18197 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18200 cat "conftest.in" "conftest.in" >"conftest.tmp"
18201 mv "conftest.tmp" "conftest.in"
18202 cp "conftest.in" "conftest.nl"
18203 echo 'EGREP' >> "conftest.nl"
18204 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18205 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18206 ac_count
=`expr $ac_count + 1`
18207 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18208 # Best one so far, save it but keep looking for a better one
18209 ac_cv_path_EGREP
="$ac_path_EGREP"
18210 ac_path_EGREP_max
=$ac_count
18212 # 10*(2^10) chars as input seems more than enough
18213 test $ac_count -gt 10 && break
18215 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18219 $ac_path_EGREP_found && break 3
18229 EGREP
="$ac_cv_path_EGREP"
18230 if test -z "$EGREP"; then
18231 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18232 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18233 { (exit 1); exit 1; }; }
18237 ac_cv_path_EGREP
=$EGREP
18243 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18244 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18245 EGREP
="$ac_cv_path_EGREP"
18248 if test $ac_cv_c_compiler_gnu = yes; then
18249 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18250 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18251 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18252 echo $ECHO_N "(cached) $ECHO_C" >&6
18254 ac_pattern
="Autoconf.*'x'"
18255 cat >conftest.
$ac_ext <<_ACEOF
18258 cat confdefs.h
>>conftest.
$ac_ext
18259 cat >>conftest.
$ac_ext <<_ACEOF
18260 /* end confdefs.h. */
18264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18265 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18266 ac_cv_prog_gcc_traditional
=yes
18268 ac_cv_prog_gcc_traditional
=no
18273 if test $ac_cv_prog_gcc_traditional = no
; then
18274 cat >conftest.
$ac_ext <<_ACEOF
18277 cat confdefs.h
>>conftest.
$ac_ext
18278 cat >>conftest.
$ac_ext <<_ACEOF
18279 /* end confdefs.h. */
18280 #include <termio.h>
18283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18284 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18285 ac_cv_prog_gcc_traditional
=yes
18291 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18292 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18293 if test $ac_cv_prog_gcc_traditional = yes; then
18294 CC
="$CC -traditional"
18299 CXXFLAGS
=${CXXFLAGS:=}
18304 ac_cpp
='$CXXCPP $CPPFLAGS'
18305 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18306 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18307 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18308 if test -z "$CXX"; then
18309 if test -n "$CCC"; then
18312 if test -n "$ac_tool_prefix"; then
18313 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18315 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18316 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18317 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18319 if test "${ac_cv_prog_CXX+set}" = set; then
18320 echo $ECHO_N "(cached) $ECHO_C" >&6
18322 if test -n "$CXX"; then
18323 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18326 for as_dir
in $PATH
18329 test -z "$as_dir" && as_dir
=.
18330 for ac_exec_ext
in '' $ac_executable_extensions; do
18331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18332 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18342 CXX
=$ac_cv_prog_CXX
18343 if test -n "$CXX"; then
18344 { echo "$as_me:$LINENO: result: $CXX" >&5
18345 echo "${ECHO_T}$CXX" >&6; }
18347 { echo "$as_me:$LINENO: result: no" >&5
18348 echo "${ECHO_T}no" >&6; }
18352 test -n "$CXX" && break
18355 if test -z "$CXX"; then
18357 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18359 # Extract the first word of "$ac_prog", so it can be a program name with args.
18360 set dummy
$ac_prog; ac_word
=$2
18361 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18363 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18364 echo $ECHO_N "(cached) $ECHO_C" >&6
18366 if test -n "$ac_ct_CXX"; then
18367 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18370 for as_dir
in $PATH
18373 test -z "$as_dir" && as_dir
=.
18374 for ac_exec_ext
in '' $ac_executable_extensions; do
18375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18376 ac_cv_prog_ac_ct_CXX
="$ac_prog"
18377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18386 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
18387 if test -n "$ac_ct_CXX"; then
18388 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18389 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18391 { echo "$as_me:$LINENO: result: no" >&5
18392 echo "${ECHO_T}no" >&6; }
18396 test -n "$ac_ct_CXX" && break
18399 if test "x$ac_ct_CXX" = x
; then
18402 case $cross_compiling:$ac_tool_warned in
18404 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18405 whose name does not start with the host triplet. If you think this
18406 configuration is useful to you, please write to autoconf@gnu.org." >&5
18407 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18408 whose name does not start with the host triplet. If you think this
18409 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18410 ac_tool_warned
=yes ;;
18418 # Provide some information about the compiler.
18419 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
18420 ac_compiler
=`set X $ac_compile; echo $2`
18421 { (ac_try
="$ac_compiler --version >&5"
18422 case "(($ac_try" in
18423 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18424 *) ac_try_echo=$ac_try;;
18426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18427 (eval "$ac_compiler --version >&5") 2>&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); }
18431 { (ac_try="$ac_compiler -v >&5"
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_compiler -v >&5") 2>&5
18439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18440 (exit $ac_status); }
18441 { (ac_try
="$ac_compiler -V >&5"
18442 case "(($ac_try" in
18443 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18444 *) ac_try_echo=$ac_try;;
18446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18447 (eval "$ac_compiler -V >&5") 2>&5
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); }
18452 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18453 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18454 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18455 echo $ECHO_N "(cached) $ECHO_C" >&6
18457 cat >conftest.$ac_ext <<_ACEOF
18460 cat confdefs.h >>conftest.$ac_ext
18461 cat >>conftest.$ac_ext <<_ACEOF
18462 /* end confdefs.h. */
18475 rm -f conftest.$ac_objext
18476 if { (ac_try="$ac_compile"
18477 case "(($ac_try" in
18478 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18479 *) ac_try_echo
=$ac_try;;
18481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18482 (eval "$ac_compile") 2>conftest.er1
18484 grep -v '^ *+' conftest.er1
>conftest.err
18486 cat conftest.err
>&5
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); } && {
18489 test -z "$ac_cxx_werror_flag" ||
18490 test ! -s conftest.err
18491 } && test -s conftest.
$ac_objext; then
18492 ac_compiler_gnu
=yes
18494 echo "$as_me: failed program was:" >&5
18495 sed 's/^/| /' conftest.
$ac_ext >&5
18500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18501 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
18504 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18505 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18506 GXX
=`test $ac_compiler_gnu = yes && echo yes`
18507 ac_test_CXXFLAGS
=${CXXFLAGS+set}
18508 ac_save_CXXFLAGS
=$CXXFLAGS
18509 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18510 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18511 if test "${ac_cv_prog_cxx_g+set}" = set; then
18512 echo $ECHO_N "(cached) $ECHO_C" >&6
18514 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
18515 ac_cxx_werror_flag
=yes
18516 ac_cv_prog_cxx_g
=no
18518 cat >conftest.
$ac_ext <<_ACEOF
18521 cat confdefs.h
>>conftest.
$ac_ext
18522 cat >>conftest.
$ac_ext <<_ACEOF
18523 /* end confdefs.h. */
18533 rm -f conftest.
$ac_objext
18534 if { (ac_try
="$ac_compile"
18535 case "(($ac_try" in
18536 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18537 *) ac_try_echo=$ac_try;;
18539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18540 (eval "$ac_compile") 2>conftest.er1
18542 grep -v '^ *+' conftest.er1 >conftest.err
18544 cat conftest.err >&5
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); } && {
18547 test -z "$ac_cxx_werror_flag" ||
18548 test ! -s conftest.err
18549 } && test -s conftest.$ac_objext; then
18550 ac_cv_prog_cxx_g=yes
18552 echo "$as_me: failed program was:" >&5
18553 sed 's/^/| /' conftest.$ac_ext >&5
18556 cat >conftest.$ac_ext <<_ACEOF
18559 cat confdefs.h >>conftest.$ac_ext
18560 cat >>conftest.$ac_ext <<_ACEOF
18561 /* end confdefs.h. */
18571 rm -f conftest.$ac_objext
18572 if { (ac_try="$ac_compile"
18573 case "(($ac_try" in
18574 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18575 *) ac_try_echo
=$ac_try;;
18577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18578 (eval "$ac_compile") 2>conftest.er1
18580 grep -v '^ *+' conftest.er1
>conftest.err
18582 cat conftest.err
>&5
18583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); } && {
18585 test -z "$ac_cxx_werror_flag" ||
18586 test ! -s conftest.err
18587 } && test -s conftest.
$ac_objext; then
18590 echo "$as_me: failed program was:" >&5
18591 sed 's/^/| /' conftest.
$ac_ext >&5
18593 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
18595 cat >conftest.
$ac_ext <<_ACEOF
18598 cat confdefs.h
>>conftest.
$ac_ext
18599 cat >>conftest.
$ac_ext <<_ACEOF
18600 /* end confdefs.h. */
18610 rm -f conftest.
$ac_objext
18611 if { (ac_try
="$ac_compile"
18612 case "(($ac_try" in
18613 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18614 *) ac_try_echo=$ac_try;;
18616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18617 (eval "$ac_compile") 2>conftest.er1
18619 grep -v '^ *+' conftest.er1 >conftest.err
18621 cat conftest.err >&5
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); } && {
18624 test -z "$ac_cxx_werror_flag" ||
18625 test ! -s conftest.err
18626 } && test -s conftest.$ac_objext; then
18627 ac_cv_prog_cxx_g=yes
18629 echo "$as_me: failed program was:" >&5
18630 sed 's/^/| /' conftest.$ac_ext >&5
18635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18642 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18644 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18645 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18646 if test "$ac_test_CXXFLAGS" = set; then
18647 CXXFLAGS=$ac_save_CXXFLAGS
18648 elif test $ac_cv_prog_cxx_g = yes; then
18649 if test "$GXX" = yes; then
18655 if test "$GXX" = yes; then
18662 ac_cpp='$CPP $CPPFLAGS'
18663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18671 ac_cpp='$CXXCPP $CPPFLAGS'
18672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18676 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18677 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18678 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18679 echo $ECHO_N "(cached) $ECHO_C" >&6
18681 cat >conftest.$ac_ext <<_ACEOF
18684 cat confdefs.h >>conftest.$ac_ext
18685 cat >>conftest.$ac_ext <<_ACEOF
18686 /* end confdefs.h. */
18692 #ifndef __INTEL_COMPILER
18700 rm -f conftest.$ac_objext
18701 if { (ac_try="$ac_compile"
18702 case "(($ac_try" in
18703 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18704 *) ac_try_echo
=$ac_try;;
18706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18707 (eval "$ac_compile") 2>conftest.er1
18709 grep -v '^ *+' conftest.er1
>conftest.err
18711 cat conftest.err
>&5
18712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713 (exit $ac_status); } && {
18714 test -z "$ac_cxx_werror_flag" ||
18715 test ! -s conftest.err
18716 } && test -s conftest.
$ac_objext; then
18717 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
18719 echo "$as_me: failed program was:" >&5
18720 sed 's/^/| /' conftest.
$ac_ext >&5
18722 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
18726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18730 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18731 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18732 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18738 ac_cpp
='$CPP $CPPFLAGS'
18739 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18740 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18741 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18746 if test "x$GCXX" != "xyes"; then
18747 if test "xCXX" = "xC"; then
18748 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18749 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18750 if test "${bakefile_cv_c_exto+set}" = set; then
18751 echo $ECHO_N "(cached) $ECHO_C" >&6
18753 cat >conftest.
$ac_ext <<_ACEOF
18756 cat confdefs.h
>>conftest.
$ac_ext
18757 cat >>conftest.
$ac_ext <<_ACEOF
18758 /* end confdefs.h. */
18768 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
18769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18770 (eval $ac_compile) 2>&5
18772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18773 (exit $ac_status); }; then
18774 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
18776 conftest.
$ac_ext.o
)
18777 bakefile_cv_c_exto
="-ext o"
18784 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18785 See \`config.log' for more details." >&5
18786 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18787 See \`config.log' for more details." >&2;}
18788 { (exit 1); exit 1; }; }
18792 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
18795 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18796 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18797 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18798 if test "c" = "c"; then
18799 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
18801 if test "c" = "cxx"; then
18802 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
18806 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18807 unset ac_cv_prog_cc_g
18808 ac_test_CFLAGS
=${CFLAGS+set}
18809 ac_save_CFLAGS
=$CFLAGS
18810 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18811 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18812 if test "${ac_cv_prog_cc_g+set}" = set; then
18813 echo $ECHO_N "(cached) $ECHO_C" >&6
18815 ac_save_c_werror_flag
=$ac_c_werror_flag
18816 ac_c_werror_flag
=yes
18819 cat >conftest.
$ac_ext <<_ACEOF
18822 cat confdefs.h
>>conftest.
$ac_ext
18823 cat >>conftest.
$ac_ext <<_ACEOF
18824 /* end confdefs.h. */
18834 rm -f conftest.
$ac_objext
18835 if { (ac_try
="$ac_compile"
18836 case "(($ac_try" in
18837 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18838 *) ac_try_echo=$ac_try;;
18840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18841 (eval "$ac_compile") 2>conftest.er1
18843 grep -v '^ *+' conftest.er1 >conftest.err
18845 cat conftest.err >&5
18846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847 (exit $ac_status); } && {
18848 test -z "$ac_c_werror_flag" ||
18849 test ! -s conftest.err
18850 } && test -s conftest.$ac_objext; then
18851 ac_cv_prog_cc_g=yes
18853 echo "$as_me: failed program was:" >&5
18854 sed 's/^/| /' conftest.$ac_ext >&5
18857 cat >conftest.$ac_ext <<_ACEOF
18860 cat confdefs.h >>conftest.$ac_ext
18861 cat >>conftest.$ac_ext <<_ACEOF
18862 /* end confdefs.h. */
18872 rm -f conftest.$ac_objext
18873 if { (ac_try="$ac_compile"
18874 case "(($ac_try" in
18875 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18876 *) ac_try_echo
=$ac_try;;
18878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18879 (eval "$ac_compile") 2>conftest.er1
18881 grep -v '^ *+' conftest.er1
>conftest.err
18883 cat conftest.err
>&5
18884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18885 (exit $ac_status); } && {
18886 test -z "$ac_c_werror_flag" ||
18887 test ! -s conftest.err
18888 } && test -s conftest.
$ac_objext; then
18891 echo "$as_me: failed program was:" >&5
18892 sed 's/^/| /' conftest.
$ac_ext >&5
18894 ac_c_werror_flag
=$ac_save_c_werror_flag
18896 cat >conftest.
$ac_ext <<_ACEOF
18899 cat confdefs.h
>>conftest.
$ac_ext
18900 cat >>conftest.
$ac_ext <<_ACEOF
18901 /* end confdefs.h. */
18911 rm -f conftest.
$ac_objext
18912 if { (ac_try
="$ac_compile"
18913 case "(($ac_try" in
18914 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18915 *) ac_try_echo=$ac_try;;
18917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18918 (eval "$ac_compile") 2>conftest.er1
18920 grep -v '^ *+' conftest.er1 >conftest.err
18922 cat conftest.err >&5
18923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18924 (exit $ac_status); } && {
18925 test -z "$ac_c_werror_flag" ||
18926 test ! -s conftest.err
18927 } && test -s conftest.$ac_objext; then
18928 ac_cv_prog_cc_g=yes
18930 echo "$as_me: failed program was:" >&5
18931 sed 's/^/| /' conftest.$ac_ext >&5
18936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18943 ac_c_werror_flag=$ac_save_c_werror_flag
18945 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18946 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18947 if test "$ac_test_CFLAGS" = set; then
18948 CFLAGS=$ac_save_CFLAGS
18949 elif test $ac_cv_prog_cc_g = yes; then
18950 if test "$GCC" = yes; then
18956 if test "$GCC" = yes; then
18970 ac_cpp='$CXXCPP $CPPFLAGS'
18971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18975 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18976 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18977 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18978 echo $ECHO_N "(cached) $ECHO_C" >&6
18980 cat >conftest.$ac_ext <<_ACEOF
18983 cat confdefs.h >>conftest.$ac_ext
18984 cat >>conftest.$ac_ext <<_ACEOF
18985 /* end confdefs.h. */
18999 rm -f conftest.$ac_objext
19000 if { (ac_try="$ac_compile"
19001 case "(($ac_try" in
19002 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19003 *) ac_try_echo
=$ac_try;;
19005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19006 (eval "$ac_compile") 2>conftest.er1
19008 grep -v '^ *+' conftest.er1
>conftest.err
19010 cat conftest.err
>&5
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); } && {
19013 test -z "$ac_cxx_werror_flag" ||
19014 test ! -s conftest.err
19015 } && test -s conftest.
$ac_objext; then
19016 bakefile_cv_cxx_compiler___xlC__
=yes
19018 echo "$as_me: failed program was:" >&5
19019 sed 's/^/| /' conftest.
$ac_ext >&5
19021 bakefile_cv_cxx_compiler___xlC__
=no
19025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19029 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19030 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19031 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19037 ac_cpp
='$CPP $CPPFLAGS'
19038 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19039 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19040 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19050 ac_cpp
='$CXXCPP $CPPFLAGS'
19051 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19052 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19053 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19055 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19056 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19057 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19058 echo $ECHO_N "(cached) $ECHO_C" >&6
19060 cat >conftest.
$ac_ext <<_ACEOF
19063 cat confdefs.h
>>conftest.
$ac_ext
19064 cat >>conftest.
$ac_ext <<_ACEOF
19065 /* end confdefs.h. */
19079 rm -f conftest.
$ac_objext
19080 if { (ac_try
="$ac_compile"
19081 case "(($ac_try" in
19082 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19083 *) ac_try_echo=$ac_try;;
19085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19086 (eval "$ac_compile") 2>conftest.er1
19088 grep -v '^ *+' conftest.er1 >conftest.err
19090 cat conftest.err >&5
19091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092 (exit $ac_status); } && {
19093 test -z "$ac_cxx_werror_flag" ||
19094 test ! -s conftest.err
19095 } && test -s conftest.$ac_objext; then
19096 bakefile_cv_cxx_compiler___MWERKS__=yes
19098 echo "$as_me: failed program was:" >&5
19099 sed 's/^/| /' conftest.$ac_ext >&5
19101 bakefile_cv_cxx_compiler___MWERKS__=no
19105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19109 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19110 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19111 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19117 ac_cpp='$CPP $CPPFLAGS'
19118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19127 ac_cpp='$CXXCPP $CPPFLAGS'
19128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19132 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19133 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19134 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19135 echo $ECHO_N "(cached) $ECHO_C" >&6
19137 cat >conftest.$ac_ext <<_ACEOF
19140 cat confdefs.h >>conftest.$ac_ext
19141 cat >>conftest.$ac_ext <<_ACEOF
19142 /* end confdefs.h. */
19156 rm -f conftest.$ac_objext
19157 if { (ac_try="$ac_compile"
19158 case "(($ac_try" in
19159 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19160 *) ac_try_echo
=$ac_try;;
19162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19163 (eval "$ac_compile") 2>conftest.er1
19165 grep -v '^ *+' conftest.er1
>conftest.err
19167 cat conftest.err
>&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); } && {
19170 test -z "$ac_cxx_werror_flag" ||
19171 test ! -s conftest.err
19172 } && test -s conftest.
$ac_objext; then
19173 bakefile_cv_cxx_compiler___xlC__
=yes
19175 echo "$as_me: failed program was:" >&5
19176 sed 's/^/| /' conftest.
$ac_ext >&5
19178 bakefile_cv_cxx_compiler___xlC__
=no
19182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19186 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19187 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19188 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19194 ac_cpp
='$CPP $CPPFLAGS'
19195 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19196 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19197 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19207 ac_cpp
='$CXXCPP $CPPFLAGS'
19208 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19209 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19210 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19212 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19213 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19214 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19215 echo $ECHO_N "(cached) $ECHO_C" >&6
19217 cat >conftest.
$ac_ext <<_ACEOF
19220 cat confdefs.h
>>conftest.
$ac_ext
19221 cat >>conftest.
$ac_ext <<_ACEOF
19222 /* end confdefs.h. */
19228 #ifndef _SGI_COMPILER_VERSION
19236 rm -f conftest.
$ac_objext
19237 if { (ac_try
="$ac_compile"
19238 case "(($ac_try" in
19239 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19240 *) ac_try_echo=$ac_try;;
19242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19243 (eval "$ac_compile") 2>conftest.er1
19245 grep -v '^ *+' conftest.er1 >conftest.err
19247 cat conftest.err >&5
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); } && {
19250 test -z "$ac_cxx_werror_flag" ||
19251 test ! -s conftest.err
19252 } && test -s conftest.$ac_objext; then
19253 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19255 echo "$as_me: failed program was:" >&5
19256 sed 's/^/| /' conftest.$ac_ext >&5
19258 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19266 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19267 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19268 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19274 ac_cpp='$CPP $CPPFLAGS'
19275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19287 ac_cpp='$CXXCPP $CPPFLAGS'
19288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19292 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19293 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19294 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19295 echo $ECHO_N "(cached) $ECHO_C" >&6
19297 cat >conftest.$ac_ext <<_ACEOF
19300 cat confdefs.h >>conftest.$ac_ext
19301 cat >>conftest.$ac_ext <<_ACEOF
19302 /* end confdefs.h. */
19308 #ifndef __SUNPRO_CC
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 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
19335 echo "$as_me: failed program was:" >&5
19336 sed 's/^/| /' conftest.
$ac_ext >&5
19338 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
19342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19346 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19347 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19348 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19354 ac_cpp
='$CPP $CPPFLAGS'
19355 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19356 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19357 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19367 ac_cpp
='$CXXCPP $CPPFLAGS'
19368 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19369 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19370 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19372 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19373 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19374 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19375 echo $ECHO_N "(cached) $ECHO_C" >&6
19377 cat >conftest.
$ac_ext <<_ACEOF
19380 cat confdefs.h
>>conftest.
$ac_ext
19381 cat >>conftest.
$ac_ext <<_ACEOF
19382 /* end confdefs.h. */
19396 rm -f conftest.
$ac_objext
19397 if { (ac_try
="$ac_compile"
19398 case "(($ac_try" in
19399 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19400 *) ac_try_echo=$ac_try;;
19402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19403 (eval "$ac_compile") 2>conftest.er1
19405 grep -v '^ *+' conftest.er1 >conftest.err
19407 cat conftest.err >&5
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); } && {
19410 test -z "$ac_cxx_werror_flag" ||
19411 test ! -s conftest.err
19412 } && test -s conftest.$ac_objext; then
19413 bakefile_cv_cxx_compiler___HP_aCC=yes
19415 echo "$as_me: failed program was:" >&5
19416 sed 's/^/| /' conftest.$ac_ext >&5
19418 bakefile_cv_cxx_compiler___HP_aCC=no
19422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19426 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19427 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19428 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19434 ac_cpp='$CPP $CPPFLAGS'
19435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19447 ac_cpp='$CXXCPP $CPPFLAGS'
19448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19452 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19453 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19454 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19455 echo $ECHO_N "(cached) $ECHO_C" >&6
19457 cat >conftest.$ac_ext <<_ACEOF
19460 cat confdefs.h >>conftest.$ac_ext
19461 cat >>conftest.$ac_ext <<_ACEOF
19462 /* end confdefs.h. */
19476 rm -f conftest.$ac_objext
19477 if { (ac_try="$ac_compile"
19478 case "(($ac_try" in
19479 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19480 *) ac_try_echo
=$ac_try;;
19482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19483 (eval "$ac_compile") 2>conftest.er1
19485 grep -v '^ *+' conftest.er1
>conftest.err
19487 cat conftest.err
>&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); } && {
19490 test -z "$ac_cxx_werror_flag" ||
19491 test ! -s conftest.err
19492 } && test -s conftest.
$ac_objext; then
19493 bakefile_cv_cxx_compiler___DECCXX
=yes
19495 echo "$as_me: failed program was:" >&5
19496 sed 's/^/| /' conftest.
$ac_ext >&5
19498 bakefile_cv_cxx_compiler___DECCXX
=no
19502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19506 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19507 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19508 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19514 ac_cpp
='$CPP $CPPFLAGS'
19515 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19516 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19517 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19527 ac_cpp
='$CXXCPP $CPPFLAGS'
19528 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19529 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19530 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19532 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19533 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19534 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19535 echo $ECHO_N "(cached) $ECHO_C" >&6
19537 cat >conftest.
$ac_ext <<_ACEOF
19540 cat confdefs.h
>>conftest.
$ac_ext
19541 cat >>conftest.
$ac_ext <<_ACEOF
19542 /* end confdefs.h. */
19548 #ifndef __SUNPRO_CC
19556 rm -f conftest.
$ac_objext
19557 if { (ac_try
="$ac_compile"
19558 case "(($ac_try" in
19559 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19560 *) ac_try_echo=$ac_try;;
19562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19563 (eval "$ac_compile") 2>conftest.er1
19565 grep -v '^ *+' conftest.er1 >conftest.err
19567 cat conftest.err >&5
19568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 (exit $ac_status); } && {
19570 test -z "$ac_cxx_werror_flag" ||
19571 test ! -s conftest.err
19572 } && test -s conftest.$ac_objext; then
19573 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19575 echo "$as_me: failed program was:" >&5
19576 sed 's/^/| /' conftest.$ac_ext >&5
19578 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19586 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19587 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19588 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19594 ac_cpp='$CPP $CPPFLAGS'
19595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19607 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19608 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19609 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19610 { (exit 1); exit 1; }; }
19613 if test -n "$ac_tool_prefix"; then
19614 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19615 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19616 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19618 if test "${ac_cv_prog_RANLIB+set}" = set; then
19619 echo $ECHO_N "(cached) $ECHO_C" >&6
19621 if test -n "$RANLIB"; then
19622 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19625 for as_dir in $PATH
19628 test -z "$as_dir" && as_dir=.
19629 for ac_exec_ext in '' $ac_executable_extensions; do
19630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19631 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19641 RANLIB=$ac_cv_prog_RANLIB
19642 if test -n "$RANLIB"; then
19643 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19644 echo "${ECHO_T}$RANLIB" >&6; }
19646 { echo "$as_me:$LINENO: result: no" >&5
19647 echo "${ECHO_T}no" >&6; }
19652 if test -z "$ac_cv_prog_RANLIB"; then
19653 ac_ct_RANLIB=$RANLIB
19654 # Extract the first word of "ranlib", so it can be a program name with args.
19655 set dummy ranlib; ac_word=$2
19656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19658 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19659 echo $ECHO_N "(cached) $ECHO_C" >&6
19661 if test -n "$ac_ct_RANLIB"; then
19662 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19665 for as_dir in $PATH
19668 test -z "$as_dir" && as_dir=.
19669 for ac_exec_ext in '' $ac_executable_extensions; do
19670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19671 ac_cv_prog_ac_ct_RANLIB="ranlib"
19672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19681 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19682 if test -n "$ac_ct_RANLIB"; then
19683 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19684 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19686 { echo "$as_me:$LINENO: result: no" >&5
19687 echo "${ECHO_T}no" >&6; }
19690 if test "x$ac_ct_RANLIB" = x; then
19693 case $cross_compiling:$ac_tool_warned in
19695 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19696 whose name does not start with the host triplet. If you think this
19697 configuration is useful to you, please write to autoconf@gnu.org." >&5
19698 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19699 whose name does not start with the host triplet. If you think this
19700 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19701 ac_tool_warned=yes ;;
19703 RANLIB=$ac_ct_RANLIB
19706 RANLIB="$ac_cv_prog_RANLIB"
19710 if test "x$SUNCXX" != xyes; then
19711 if test -n "$ac_tool_prefix"; then
19712 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19713 set dummy ${ac_tool_prefix}ar; ac_word=$2
19714 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19716 if test "${ac_cv_prog_AR+set}" = set; then
19717 echo $ECHO_N "(cached) $ECHO_C" >&6
19719 if test -n "$AR"; then
19720 ac_cv_prog_AR="$AR" # Let the user override the test.
19722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19723 for as_dir in $PATH
19726 test -z "$as_dir" && as_dir=.
19727 for ac_exec_ext in '' $ac_executable_extensions; do
19728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19729 ac_cv_prog_AR="${ac_tool_prefix}ar"
19730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19740 if test -n "$AR"; then
19741 { echo "$as_me:$LINENO: result: $AR" >&5
19742 echo "${ECHO_T}$AR" >&6; }
19744 { echo "$as_me:$LINENO: result: no" >&5
19745 echo "${ECHO_T}no" >&6; }
19750 if test -z "$ac_cv_prog_AR"; then
19752 # Extract the first word of "ar", so it can be a program name with args.
19753 set dummy ar; ac_word=$2
19754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19756 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19757 echo $ECHO_N "(cached) $ECHO_C" >&6
19759 if test -n "$ac_ct_AR"; then
19760 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19763 for as_dir in $PATH
19766 test -z "$as_dir" && as_dir=.
19767 for ac_exec_ext in '' $ac_executable_extensions; do
19768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19769 ac_cv_prog_ac_ct_AR="ar"
19770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19779 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19780 if test -n "$ac_ct_AR"; then
19781 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19782 echo "${ECHO_T}$ac_ct_AR" >&6; }
19784 { echo "$as_me:$LINENO: result: no" >&5
19785 echo "${ECHO_T}no" >&6; }
19788 if test "x$ac_ct_AR" = x; then
19791 case $cross_compiling:$ac_tool_warned in
19793 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19794 whose name does not start with the host triplet. If you think this
19795 configuration is useful to you, please write to autoconf@gnu.org." >&5
19796 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19797 whose name does not start with the host triplet. If you think this
19798 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19799 ac_tool_warned=yes ;;
19804 AR="$ac_cv_prog_AR"
19807 if test "x$AR" = "x" ; then
19808 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19809 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19810 { (exit 1); exit 1; }; }
19814 # Find a good install program. We prefer a C program (faster),
19815 # so one script is as good as another. But avoid the broken or
19816 # incompatible versions:
19817 # SysV /etc/install, /usr/sbin/install
19818 # SunOS /usr/etc/install
19819 # IRIX /sbin/install
19821 # AmigaOS /C/install, which installs bootblocks on floppy discs
19822 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19823 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19824 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19825 # OS/2's system install, which has a completely different semantic
19826 # ./install, which can be erroneously created by make from ./install.sh.
19827 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19828 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19829 if test -z "$INSTALL"; then
19830 if test "${ac_cv_path_install+set}" = set; then
19831 echo $ECHO_N "(cached) $ECHO_C" >&6
19833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19834 for as_dir in $PATH
19837 test -z "$as_dir" && as_dir=.
19838 # Account for people who put trailing slashes in PATH elements.
19840 ./ | .// | /cC/* | \
19841 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19842 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19845 # OSF1 and SCO ODT 3.0 have their own names for install.
19846 # Don't use installbsd from OSF since it installs stuff as root
19848 for ac_prog in ginstall scoinst install; do
19849 for ac_exec_ext in '' $ac_executable_extensions; do
19850 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19851 if test $ac_prog = install &&
19852 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19853 # AIX install. It has an incompatible calling convention.
19855 elif test $ac_prog = install &&
19856 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19857 # program-specific install script used by HP pwplus--don't use.
19860 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19873 if test "${ac_cv_path_install+set}" = set; then
19874 INSTALL=$ac_cv_path_install
19876 # As a last resort, use the slow shell script. Don't cache a
19877 # value for INSTALL within a source directory, because that will
19878 # break other packages using the cache if that directory is
19879 # removed, or if the value is a relative name.
19880 INSTALL=$ac_install_sh
19883 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19884 echo "${ECHO_T}$INSTALL" >&6; }
19886 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19887 # It thinks the first close brace ends the variable substitution.
19888 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19890 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19892 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19898 ?:* ) # Drive letter, considered as absolute.
19901 INSTALL=`pwd`/${INSTALL} ;;
19908 INSTALL_PROGRAM="cp -fp"
19909 INSTALL_DATA="cp -fp"
19915 if test -n "$ac_tool_prefix"; then
19916 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19917 set dummy ${ac_tool_prefix}strip; ac_word=$2
19918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19920 if test "${ac_cv_prog_STRIP+set}" = set; then
19921 echo $ECHO_N "(cached) $ECHO_C" >&6
19923 if test -n "$STRIP"; then
19924 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19927 for as_dir in $PATH
19930 test -z "$as_dir" && as_dir=.
19931 for ac_exec_ext in '' $ac_executable_extensions; do
19932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19933 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19943 STRIP=$ac_cv_prog_STRIP
19944 if test -n "$STRIP"; then
19945 { echo "$as_me:$LINENO: result: $STRIP" >&5
19946 echo "${ECHO_T}$STRIP" >&6; }
19948 { echo "$as_me:$LINENO: result: no" >&5
19949 echo "${ECHO_T}no" >&6; }
19954 if test -z "$ac_cv_prog_STRIP"; then
19956 # Extract the first word of "strip", so it can be a program name with args.
19957 set dummy strip; ac_word=$2
19958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19960 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19961 echo $ECHO_N "(cached) $ECHO_C" >&6
19963 if test -n "$ac_ct_STRIP"; then
19964 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19967 for as_dir in $PATH
19970 test -z "$as_dir" && as_dir=.
19971 for ac_exec_ext in '' $ac_executable_extensions; do
19972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19973 ac_cv_prog_ac_ct_STRIP="strip"
19974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19983 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19984 if test -n "$ac_ct_STRIP"; then
19985 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19986 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19988 { echo "$as_me:$LINENO: result: no" >&5
19989 echo "${ECHO_T}no" >&6; }
19992 if test "x$ac_ct_STRIP" = x; then
19995 case $cross_compiling:$ac_tool_warned in
19997 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19998 whose name does not start with the host triplet. If you think this
19999 configuration is useful to you, please write to autoconf@gnu.org." >&5
20000 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20001 whose name does not start with the host triplet. If you think this
20002 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20003 ac_tool_warned=yes ;;
20008 STRIP="$ac_cv_prog_STRIP"
20012 if test "$wxUSE_WINE" = "yes"; then
20013 if test -n "$ac_tool_prefix"; then
20014 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
20015 set dummy ${ac_tool_prefix}wrc; ac_word=$2
20016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20018 if test "${ac_cv_prog_WINDRES+set}" = set; then
20019 echo $ECHO_N "(cached) $ECHO_C" >&6
20021 if test -n "$WINDRES"; then
20022 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
20024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20025 for as_dir in $PATH
20028 test -z "$as_dir" && as_dir=.
20029 for ac_exec_ext in '' $ac_executable_extensions; do
20030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20031 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
20032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20041 WINDRES=$ac_cv_prog_WINDRES
20042 if test -n "$WINDRES"; then
20043 { echo "$as_me:$LINENO: result: $WINDRES" >&5
20044 echo "${ECHO_T}$WINDRES" >&6; }
20046 { echo "$as_me:$LINENO: result: no" >&5
20047 echo "${ECHO_T}no" >&6; }
20052 if test -z "$ac_cv_prog_WINDRES"; then
20053 ac_ct_WINDRES=$WINDRES
20054 # Extract the first word of "wrc", so it can be a program name with args.
20055 set dummy wrc; ac_word=$2
20056 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20058 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
20059 echo $ECHO_N "(cached) $ECHO_C" >&6
20061 if test -n "$ac_ct_WINDRES"; then
20062 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
20064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20065 for as_dir in $PATH
20068 test -z "$as_dir" && as_dir=.
20069 for ac_exec_ext in '' $ac_executable_extensions; do
20070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20071 ac_cv_prog_ac_ct_WINDRES="wrc"
20072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20081 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
20082 if test -n "$ac_ct_WINDRES"; then
20083 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
20084 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
20086 { echo "$as_me:$LINENO: result: no" >&5
20087 echo "${ECHO_T}no" >&6; }
20090 if test "x$ac_ct_WINDRES" = x; then
20093 case $cross_compiling:$ac_tool_warned in
20095 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20096 whose name does not start with the host triplet. If you think this
20097 configuration is useful to you, please write to autoconf@gnu.org." >&5
20098 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20099 whose name does not start with the host triplet. If you think this
20100 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20101 ac_tool_warned=yes ;;
20103 WINDRES=$ac_ct_WINDRES
20106 WINDRES="$ac_cv_prog_WINDRES"
20112 *-*-cygwin* | *-*-mingw32* )
20113 if test -n "$ac_tool_prefix"; then
20114 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
20115 set dummy ${ac_tool_prefix}windres; ac_word=$2
20116 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20118 if test "${ac_cv_prog_WINDRES+set}" = set; then
20119 echo $ECHO_N "(cached) $ECHO_C" >&6
20121 if test -n "$WINDRES"; then
20122 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
20124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20125 for as_dir in $PATH
20128 test -z "$as_dir" && as_dir=.
20129 for ac_exec_ext in '' $ac_executable_extensions; do
20130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20131 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
20132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20141 WINDRES=$ac_cv_prog_WINDRES
20142 if test -n "$WINDRES"; then
20143 { echo "$as_me:$LINENO: result: $WINDRES" >&5
20144 echo "${ECHO_T}$WINDRES" >&6; }
20146 { echo "$as_me:$LINENO: result: no" >&5
20147 echo "${ECHO_T}no" >&6; }
20152 if test -z "$ac_cv_prog_WINDRES"; then
20153 ac_ct_WINDRES=$WINDRES
20154 # Extract the first word of "windres", so it can be a program name with args.
20155 set dummy windres; ac_word=$2
20156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20158 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
20159 echo $ECHO_N "(cached) $ECHO_C" >&6
20161 if test -n "$ac_ct_WINDRES"; then
20162 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
20164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20165 for as_dir in $PATH
20168 test -z "$as_dir" && as_dir=.
20169 for ac_exec_ext in '' $ac_executable_extensions; do
20170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20171 ac_cv_prog_ac_ct_WINDRES="windres"
20172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20181 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
20182 if test -n "$ac_ct_WINDRES"; then
20183 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
20184 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
20186 { echo "$as_me:$LINENO: result: no" >&5
20187 echo "${ECHO_T}no" >&6; }
20190 if test "x$ac_ct_WINDRES" = x; then
20193 case $cross_compiling:$ac_tool_warned in
20195 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20196 whose name does not start with the host triplet. If you think this
20197 configuration is useful to you, please write to autoconf@gnu.org." >&5
20198 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20199 whose name does not start with the host triplet. If you think this
20200 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20201 ac_tool_warned=yes ;;
20203 WINDRES=$ac_ct_WINDRES
20206 WINDRES="$ac_cv_prog_WINDRES"
20210 if test -n "$ac_tool_prefix"; then
20211 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
20212 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
20213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20215 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
20216 echo $ECHO_N "(cached) $ECHO_C" >&6
20218 if test -n "$DLLTOOL"; then
20219 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
20221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20222 for as_dir in $PATH
20225 test -z "$as_dir" && as_dir=.
20226 for ac_exec_ext in '' $ac_executable_extensions; do
20227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20228 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
20229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20238 DLLTOOL=$ac_cv_prog_DLLTOOL
20239 if test -n "$DLLTOOL"; then
20240 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
20241 echo "${ECHO_T}$DLLTOOL" >&6; }
20243 { echo "$as_me:$LINENO: result: no" >&5
20244 echo "${ECHO_T}no" >&6; }
20249 if test -z "$ac_cv_prog_DLLTOOL"; then
20250 ac_ct_DLLTOOL=$DLLTOOL
20251 # Extract the first word of "dlltool", so it can be a program name with args.
20252 set dummy dlltool; ac_word=$2
20253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20255 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
20256 echo $ECHO_N "(cached) $ECHO_C" >&6
20258 if test -n "$ac_ct_DLLTOOL"; then
20259 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
20261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20262 for as_dir in $PATH
20265 test -z "$as_dir" && as_dir=.
20266 for ac_exec_ext in '' $ac_executable_extensions; do
20267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20268 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
20269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20278 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
20279 if test -n "$ac_ct_DLLTOOL"; then
20280 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
20281 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
20283 { echo "$as_me:$LINENO: result: no" >&5
20284 echo "${ECHO_T}no" >&6; }
20287 if test "x$ac_ct_DLLTOOL" = x; then
20290 case $cross_compiling:$ac_tool_warned in
20292 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20293 whose name does not start with the host triplet. If you think this
20294 configuration is useful to you, please write to autoconf@gnu.org." >&5
20295 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20296 whose name does not start with the host triplet. If you think this
20297 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20298 ac_tool_warned=yes ;;
20300 DLLTOOL=$ac_ct_DLLTOOL
20303 DLLTOOL="$ac_cv_prog_DLLTOOL"
20310 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
20311 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
20312 if test "${wx_cv_prog_makeisgnu+set}" = set; then
20313 echo $ECHO_N "(cached) $ECHO_C" >&6
20316 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
20317 $EGREP -s GNU > /dev/null); then
20318 wx_cv_prog_makeisgnu="yes"
20320 wx_cv_prog_makeisgnu="no"
20324 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
20325 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
20327 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
20335 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
20336 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
20337 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
20338 if test "${wx_cv_prog_makevpath+set}" = set; then
20339 echo $ECHO_N "(cached) $ECHO_C" >&6
20342 cat - << EOF > confMake
20348 if test ! -d sub ; then
20351 echo dummy > sub/file
20352 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
20354 rm -f sub/file check final_file confMake
20356 if test "$RESULT" = 0; then
20357 wx_cv_prog_makevpath="yes"
20359 wx_cv_prog_makevpath="no"
20363 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
20364 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
20366 if test "x$wx_cv_prog_makevpath" != "xyes"; then
20367 { { echo "$as_me:$LINENO: error:
20368 You need a make-utility that is able to use the variable
20370 If your version of make does not support VPATH correctly,
20371 please install GNU-make (possibly as gmake), and start
20372 configure with the following command:
20373 export MAKE=gmake; ./configure for sh-type shells
20374 setenv MAKE gmake; ./configure for csh-type shells
20375 Also please do remember to use gmake in this case every time
20376 you are trying to compile.
20378 echo "$as_me: error:
20379 You need a make-utility that is able to use the variable
20381 If your version of make does not support VPATH correctly,
20382 please install GNU-make (possibly as gmake), and start
20383 configure with the following command:
20384 export MAKE=gmake; ./configure for sh-type shells
20385 setenv MAKE gmake; ./configure for csh-type shells
20386 Also please do remember to use gmake in this case every time
20387 you are trying to compile.
20389 { (exit 1); exit 1; }; }
20391 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
20392 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
20394 if test "$LN_S" = "ln -s"; then
20395 { echo "$as_me:$LINENO: result: yes" >&5
20396 echo "${ECHO_T}yes" >&6; }
20398 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20399 echo "${ECHO_T}no, using $LN_S" >&6; }
20405 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20406 CXXFLAGS="-qunique $CXXFLAGS"
20410 powerpc-*-darwin* )
20411 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20412 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20413 cat >conftest.$ac_ext <<_ACEOF
20416 cat confdefs.h >>conftest.$ac_ext
20417 cat >>conftest.$ac_ext <<_ACEOF
20418 /* end confdefs.h. */
20423 #ifndef __POWERPC__
20424 choke me for lack of PowerPC
20431 rm -f conftest.$ac_objext
20432 if { (ac_try="$ac_compile"
20433 case "(($ac_try" in
20434 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20435 *) ac_try_echo
=$ac_try;;
20437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20438 (eval "$ac_compile") 2>conftest.er1
20440 grep -v '^ *+' conftest.er1
>conftest.err
20442 cat conftest.err
>&5
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); } && {
20445 test -z "$ac_c_werror_flag" ||
20446 test ! -s conftest.err
20447 } && test -s conftest.
$ac_objext; then
20448 { echo "$as_me:$LINENO: result: yes" >&5
20449 echo "${ECHO_T}yes" >&6; }
20451 echo "$as_me: failed program was:" >&5
20452 sed 's/^/| /' conftest.
$ac_ext >&5
20454 { echo "$as_me:$LINENO: result: no" >&5
20455 echo "${ECHO_T}no" >&6; }
20456 cat >>confdefs.h
<<\_ACEOF
20457 #define __POWERPC__ 1
20463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20469 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20470 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20471 cat >conftest.
$ac_ext <<_ACEOF
20474 cat confdefs.h
>>conftest.
$ac_ext
20475 cat >>conftest.
$ac_ext <<_ACEOF
20476 /* end confdefs.h. */
20477 #include <CoreFoundation/CFBase.h>
20487 rm -f conftest.
$ac_objext
20488 if { (ac_try
="$ac_compile"
20489 case "(($ac_try" in
20490 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20491 *) ac_try_echo=$ac_try;;
20493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20494 (eval "$ac_compile") 2>conftest.er1
20496 grep -v '^ *+' conftest.er1 >conftest.err
20498 cat conftest.err >&5
20499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500 (exit $ac_status); } && {
20501 test -z "$ac_c_werror_flag" ||
20502 test ! -s conftest.err
20503 } && test -s conftest.$ac_objext; then
20504 { echo "$as_me:$LINENO: result: yes" >&5
20505 echo "${ECHO_T}yes" >&6; }
20507 echo "$as_me: failed program was:" >&5
20508 sed 's/^/| /' conftest.$ac_ext >&5
20510 { echo "$as_me:$LINENO: result: no" >&5
20511 echo "${ECHO_T}no" >&6; }
20512 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20513 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20514 cat >conftest.$ac_ext <<_ACEOF
20517 cat confdefs.h >>conftest.$ac_ext
20518 cat >>conftest.$ac_ext <<_ACEOF
20519 /* end confdefs.h. */
20520 #define __CF_USE_FRAMEWORK_INCLUDES__
20521 #include <CoreFoundation/CFBase.h>
20531 rm -f conftest.$ac_objext
20532 if { (ac_try="$ac_compile"
20533 case "(($ac_try" in
20534 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20535 *) ac_try_echo
=$ac_try;;
20537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20538 (eval "$ac_compile") 2>conftest.er1
20540 grep -v '^ *+' conftest.er1
>conftest.err
20542 cat conftest.err
>&5
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); } && {
20545 test -z "$ac_c_werror_flag" ||
20546 test ! -s conftest.err
20547 } && test -s conftest.
$ac_objext; then
20548 { echo "$as_me:$LINENO: result: yes" >&5
20549 echo "${ECHO_T}yes" >&6; }
20550 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20552 echo "$as_me: failed program was:" >&5
20553 sed 's/^/| /' conftest.
$ac_ext >&5
20555 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20556 See \`config.log' for more details." >&5
20557 echo "$as_me: error: no. CoreFoundation not available.
20558 See \`config.log' for more details." >&2;}
20559 { (exit 1); exit 1; }; }
20563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20573 doesnt_want_win32
=0
20576 if test "$wxUSE_MSW" = 1 ; then
20579 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20580 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20581 if test "${wx_cv_nocygwin+set}" = set; then
20582 echo $ECHO_N "(cached) $ECHO_C" >&6
20585 cat >conftest.
$ac_ext <<_ACEOF
20588 cat confdefs.h
>>conftest.
$ac_ext
20589 cat >>conftest.
$ac_ext <<_ACEOF
20590 /* end confdefs.h. */
20604 rm -f conftest.
$ac_objext
20605 if { (ac_try
="$ac_compile"
20606 case "(($ac_try" in
20607 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20608 *) ac_try_echo=$ac_try;;
20610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20611 (eval "$ac_compile") 2>conftest.er1
20613 grep -v '^ *+' conftest.er1 >conftest.err
20615 cat conftest.err >&5
20616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); } && {
20618 test -z "$ac_c_werror_flag" ||
20619 test ! -s conftest.err
20620 } && test -s conftest.$ac_objext; then
20623 echo "$as_me: failed program was:" >&5
20624 sed 's/^/| /' conftest.$ac_ext >&5
20630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20634 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20635 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20637 if test "$wx_cv_nocygwin" = "yes"; then
20640 doesnt_want_win32=1
20643 if test "$wants_win32" = 1 ; then
20644 BAKEFILE_FORCE_PLATFORM=win32
20652 if test "$wxUSE_WINE" = "yes"; then
20654 LDFLAGS_GUI="-mwindows"
20657 if test "$wants_win32" = 1 ; then
20660 cat >>confdefs.h <<\_ACEOF
20661 #define __WIN32__ 1
20664 cat >>confdefs.h <<\_ACEOF
20665 #define __WIN95__ 1
20668 cat >>confdefs.h <<\_ACEOF
20669 #define __WINDOWS__ 1
20672 cat >>confdefs.h <<\_ACEOF
20673 #define __GNUWIN32__ 1
20676 cat >>confdefs.h <<\_ACEOF
20681 if test "$doesnt_want_win32" = 1 ; then
20686 if test "$USE_UNIX" = 1 ; then
20688 cat >>confdefs.h <<\_ACEOF
20695 *-pc-os2_emx | *-pc-os2-emx )
20696 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20697 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20698 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20699 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20700 echo $ECHO_N "(cached) $ECHO_C" >&6
20702 ac_check_lib_save_LIBS=$LIBS
20703 LIBS="-lcExt $LIBS"
20704 cat >conftest.$ac_ext <<_ACEOF
20707 cat confdefs.h >>conftest.$ac_ext
20708 cat >>conftest.$ac_ext <<_ACEOF
20709 /* end confdefs.h. */
20711 /* Override any GCC internal prototype to avoid an error.
20712 Use char because int might match the return type of a GCC
20713 builtin and then its argument prototype would still apply. */
20726 rm -f conftest.$ac_objext conftest$ac_exeext
20727 if { (ac_try="$ac_link"
20728 case "(($ac_try" in
20729 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20730 *) ac_try_echo
=$ac_try;;
20732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20733 (eval "$ac_link") 2>conftest.er1
20735 grep -v '^ *+' conftest.er1
>conftest.err
20737 cat conftest.err
>&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); } && {
20740 test -z "$ac_c_werror_flag" ||
20741 test ! -s conftest.err
20742 } && test -s conftest
$ac_exeext &&
20743 $as_test_x conftest
$ac_exeext; then
20744 ac_cv_lib_cExt_drand48
=yes
20746 echo "$as_me: failed program was:" >&5
20747 sed 's/^/| /' conftest.
$ac_ext >&5
20749 ac_cv_lib_cExt_drand48
=no
20752 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20753 conftest
$ac_exeext conftest.
$ac_ext
20754 LIBS
=$ac_check_lib_save_LIBS
20756 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20757 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20758 if test $ac_cv_lib_cExt_drand48 = yes; then
20759 LIBS
="$LIBS -lcExt"
20763 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
20765 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20766 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20767 if test "${wx_cv_gccversion+set}" = set; then
20768 echo $ECHO_N "(cached) $ECHO_C" >&6
20771 if test "$cross_compiling" = yes; then
20772 wx_cv_gccversion
="EMX2"
20775 cat >conftest.
$ac_ext <<_ACEOF
20778 cat confdefs.h
>>conftest.
$ac_ext
20779 cat >>conftest.
$ac_ext <<_ACEOF
20780 /* end confdefs.h. */
20786 FILE *f=fopen("conftestval", "w");
20791 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20793 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20803 rm -f conftest
$ac_exeext
20804 if { (ac_try
="$ac_link"
20805 case "(($ac_try" in
20806 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20807 *) ac_try_echo=$ac_try;;
20809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20810 (eval "$ac_link") 2>&5
20812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20813 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20814 { (case "(($ac_try" in
20815 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20816 *) ac_try_echo
=$ac_try;;
20818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20819 (eval "$ac_try") 2>&5
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); }; }; then
20823 wx_cv_gccversion
=`cat conftestval`
20825 echo "$as_me: program exited with status $ac_status" >&5
20826 echo "$as_me: failed program was:" >&5
20827 sed 's/^/| /' conftest.
$ac_ext >&5
20829 ( exit $ac_status )
20830 wx_cv_gccversion
="EMX2"
20832 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20838 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20839 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20840 if test "$wx_cv_gccversion" = "EMX2"; then
20841 LIBS
="$LIBS -lstdcpp"
20842 LDFLAGS
="$LDFLAGS -Zsysv-signals"
20844 if test "$wx_cv_gccversion" = "EMX3"; then
20845 LIBS
="$LIBS -lstdcxx -lgcc"
20846 LDFLAGS
="$LDFLAGS -Zsysv-signals"
20848 LIBS
="$LIBS -lstdc++"
20851 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20852 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20853 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20860 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20861 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20862 if test "${ac_cv_string_strcasecmp+set}" = set; then
20863 echo $ECHO_N "(cached) $ECHO_C" >&6
20866 cat >conftest.
$ac_ext <<_ACEOF
20869 cat confdefs.h
>>conftest.
$ac_ext
20870 cat >>conftest.
$ac_ext <<_ACEOF
20871 /* end confdefs.h. */
20873 #include <string.h>
20879 strcasecmp("foo", "bar");
20885 rm -f conftest.
$ac_objext conftest
$ac_exeext
20886 if { (ac_try
="$ac_link"
20887 case "(($ac_try" in
20888 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20889 *) ac_try_echo=$ac_try;;
20891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20892 (eval "$ac_link") 2>conftest.er1
20894 grep -v '^ *+' conftest.er1 >conftest.err
20896 cat conftest.err >&5
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); } && {
20899 test -z "$ac_c_werror_flag" ||
20900 test ! -s conftest.err
20901 } && test -s conftest$ac_exeext &&
20902 $as_test_x conftest$ac_exeext; then
20903 ac_cv_string_strcasecmp=yes
20905 echo "$as_me: failed program was:" >&5
20906 sed 's/^/| /' conftest.$ac_ext >&5
20908 ac_cv_string_strcasecmp=no
20912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20913 conftest$ac_exeext conftest.$ac_ext
20916 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20917 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20919 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20920 cat >>confdefs.h <<\_ACEOF
20921 #define HAVE_STRCASECMP_IN_STRING_H 1
20925 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20926 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20927 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20928 echo $ECHO_N "(cached) $ECHO_C" >&6
20931 cat >conftest.$ac_ext <<_ACEOF
20934 cat confdefs.h >>conftest.$ac_ext
20935 cat >>conftest.$ac_ext <<_ACEOF
20936 /* end confdefs.h. */
20938 #include <strings.h>
20944 strcasecmp("foo", "bar");
20950 rm -f conftest.$ac_objext conftest$ac_exeext
20951 if { (ac_try="$ac_link"
20952 case "(($ac_try" in
20953 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20954 *) ac_try_echo
=$ac_try;;
20956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20957 (eval "$ac_link") 2>conftest.er1
20959 grep -v '^ *+' conftest.er1
>conftest.err
20961 cat conftest.err
>&5
20962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20963 (exit $ac_status); } && {
20964 test -z "$ac_c_werror_flag" ||
20965 test ! -s conftest.err
20966 } && test -s conftest
$ac_exeext &&
20967 $as_test_x conftest
$ac_exeext; then
20968 ac_cv_strings_strcasecmp
=yes
20970 echo "$as_me: failed program was:" >&5
20971 sed 's/^/| /' conftest.
$ac_ext >&5
20973 ac_cv_strings_strcasecmp
=no
20977 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20978 conftest
$ac_exeext conftest.
$ac_ext
20981 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20982 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20984 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
20985 cat >>confdefs.h
<<\_ACEOF
20986 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20990 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20991 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20992 { (exit 1); exit 1; }; }
21000 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21001 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21002 if test "${ac_cv_header_stdc+set}" = set; then
21003 echo $ECHO_N "(cached) $ECHO_C" >&6
21005 cat >conftest.
$ac_ext <<_ACEOF
21008 cat confdefs.h
>>conftest.
$ac_ext
21009 cat >>conftest.
$ac_ext <<_ACEOF
21010 /* end confdefs.h. */
21011 #include <stdlib.h>
21012 #include <stdarg.h>
21013 #include <string.h>
21024 rm -f conftest.
$ac_objext
21025 if { (ac_try
="$ac_compile"
21026 case "(($ac_try" in
21027 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21028 *) ac_try_echo=$ac_try;;
21030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21031 (eval "$ac_compile") 2>conftest.er1
21033 grep -v '^ *+' conftest.er1 >conftest.err
21035 cat conftest.err >&5
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); } && {
21038 test -z "$ac_c_werror_flag" ||
21039 test ! -s conftest.err
21040 } && test -s conftest.$ac_objext; then
21041 ac_cv_header_stdc=yes
21043 echo "$as_me: failed program was:" >&5
21044 sed 's/^/| /' conftest.$ac_ext >&5
21046 ac_cv_header_stdc=no
21049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21051 if test $ac_cv_header_stdc = yes; then
21052 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21053 cat >conftest.$ac_ext <<_ACEOF
21056 cat confdefs.h >>conftest.$ac_ext
21057 cat >>conftest.$ac_ext <<_ACEOF
21058 /* end confdefs.h. */
21059 #include <string.h>
21062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21063 $EGREP "memchr" >/dev/null 2>&1; then
21066 ac_cv_header_stdc=no
21072 if test $ac_cv_header_stdc = yes; then
21073 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21074 cat >conftest.$ac_ext <<_ACEOF
21077 cat confdefs.h >>conftest.$ac_ext
21078 cat >>conftest.$ac_ext <<_ACEOF
21079 /* end confdefs.h. */
21080 #include <stdlib.h>
21083 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21084 $EGREP "free" >/dev/null 2>&1; then
21087 ac_cv_header_stdc=no
21093 if test $ac_cv_header_stdc = yes; then
21094 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21095 if test "$cross_compiling" = yes; then
21098 cat >conftest.$ac_ext <<_ACEOF
21101 cat confdefs.h >>conftest.$ac_ext
21102 cat >>conftest.$ac_ext <<_ACEOF
21103 /* end confdefs.h. */
21105 #include <stdlib.h>
21106 #if ((' ' & 0x0FF) == 0x020)
21107 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21108 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21110 # define ISLOWER(c) \
21111 (('a' <= (c) && (c) <= 'i') \
21112 || ('j' <= (c) && (c) <= 'r') \
21113 || ('s' <= (c) && (c) <= 'z'))
21114 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21117 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21122 for (i = 0; i < 256; i++)
21123 if (XOR (islower (i), ISLOWER (i))
21124 || toupper (i) != TOUPPER (i))
21129 rm -f conftest$ac_exeext
21130 if { (ac_try="$ac_link"
21131 case "(($ac_try" in
21132 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21133 *) ac_try_echo
=$ac_try;;
21135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21136 (eval "$ac_link") 2>&5
21138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21140 { (case "(($ac_try" in
21141 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21142 *) ac_try_echo=$ac_try;;
21144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21145 (eval "$ac_try") 2>&5
21147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148 (exit $ac_status); }; }; then
21151 echo "$as_me: program exited with status $ac_status" >&5
21152 echo "$as_me: failed program was:" >&5
21153 sed 's/^/| /' conftest.$ac_ext >&5
21155 ( exit $ac_status )
21156 ac_cv_header_stdc=no
21158 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21164 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21165 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21166 if test $ac_cv_header_stdc = yes; then
21168 cat >>confdefs.h <<\_ACEOF
21169 #define STDC_HEADERS 1
21174 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21184 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21185 inttypes.h stdint.h unistd.h
21187 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21188 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21190 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21191 echo $ECHO_N "(cached) $ECHO_C" >&6
21193 cat >conftest.$ac_ext <<_ACEOF
21196 cat confdefs.h >>conftest.$ac_ext
21197 cat >>conftest.$ac_ext <<_ACEOF
21198 /* end confdefs.h. */
21199 $ac_includes_default
21201 #include <$ac_header>
21203 rm -f conftest.$ac_objext
21204 if { (ac_try="$ac_compile"
21205 case "(($ac_try" in
21206 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21207 *) ac_try_echo
=$ac_try;;
21209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21210 (eval "$ac_compile") 2>conftest.er1
21212 grep -v '^ *+' conftest.er1
>conftest.err
21214 cat conftest.err
>&5
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); } && {
21217 test -z "$ac_c_werror_flag" ||
21218 test ! -s conftest.err
21219 } && test -s conftest.
$ac_objext; then
21220 eval "$as_ac_Header=yes"
21222 echo "$as_me: failed program was:" >&5
21223 sed 's/^/| /' conftest.
$ac_ext >&5
21225 eval "$as_ac_Header=no"
21228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21230 ac_res
=`eval echo '${'$as_ac_Header'}'`
21231 { echo "$as_me:$LINENO: result: $ac_res" >&5
21232 echo "${ECHO_T}$ac_res" >&6; }
21233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21234 cat >>confdefs.h
<<_ACEOF
21235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21249 for ac_header
in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
21251 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21252 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21254 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21255 echo $ECHO_N "(cached) $ECHO_C" >&6
21257 cat >conftest.
$ac_ext <<_ACEOF
21260 cat confdefs.h
>>conftest.
$ac_ext
21261 cat >>conftest.
$ac_ext <<_ACEOF
21262 /* end confdefs.h. */
21263 $ac_includes_default
21265 #include <$ac_header>
21267 rm -f conftest.
$ac_objext
21268 if { (ac_try
="$ac_compile"
21269 case "(($ac_try" in
21270 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21271 *) ac_try_echo=$ac_try;;
21273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21274 (eval "$ac_compile") 2>conftest.er1
21276 grep -v '^ *+' conftest.er1 >conftest.err
21278 cat conftest.err >&5
21279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280 (exit $ac_status); } && {
21281 test -z "$ac_c_werror_flag" ||
21282 test ! -s conftest.err
21283 } && test -s conftest.$ac_objext; then
21284 eval "$as_ac_Header=yes"
21286 echo "$as_me: failed program was:" >&5
21287 sed 's/^/| /' conftest.$ac_ext >&5
21289 eval "$as_ac_Header=no"
21292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21294 ac_res=`eval echo '${'$as_ac_Header'}'`
21295 { echo "$as_me:$LINENO: result: $ac_res" >&5
21296 echo "${ECHO_T}$ac_res" >&6; }
21297 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21298 cat >>confdefs.h <<_ACEOF
21299 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21307 if test "$ac_cv_header_wchar_h" != "yes"; then
21309 for ac_header in wcstr.h
21311 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21312 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21314 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21315 echo $ECHO_N "(cached) $ECHO_C" >&6
21317 cat >conftest.$ac_ext <<_ACEOF
21320 cat confdefs.h >>conftest.$ac_ext
21321 cat >>conftest.$ac_ext <<_ACEOF
21322 /* end confdefs.h. */
21323 $ac_includes_default
21325 #include <$ac_header>
21327 rm -f conftest.$ac_objext
21328 if { (ac_try="$ac_compile"
21329 case "(($ac_try" in
21330 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21331 *) ac_try_echo
=$ac_try;;
21333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21334 (eval "$ac_compile") 2>conftest.er1
21336 grep -v '^ *+' conftest.er1
>conftest.err
21338 cat conftest.err
>&5
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); } && {
21341 test -z "$ac_c_werror_flag" ||
21342 test ! -s conftest.err
21343 } && test -s conftest.
$ac_objext; then
21344 eval "$as_ac_Header=yes"
21346 echo "$as_me: failed program was:" >&5
21347 sed 's/^/| /' conftest.
$ac_ext >&5
21349 eval "$as_ac_Header=no"
21352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21354 ac_res
=`eval echo '${'$as_ac_Header'}'`
21355 { echo "$as_me:$LINENO: result: $ac_res" >&5
21356 echo "${ECHO_T}$ac_res" >&6; }
21357 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21358 cat >>confdefs.h
<<_ACEOF
21359 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21369 *-pc-os2_emx | *-pc-os2-emx )
21370 if test $ac_cv_header_langinfo_h = "yes" \
21371 -a \
( "$wx_cv_gccversion" = "EMX2" \
21372 -o "$wx_cv_gccversion" = "EMX3" \
21373 -o "$wx_cv_gccversion" = "Innotek5" \
); then
21374 LIBS
="$LIBS -lintl"
21379 if test "$USE_UNIX" = 1 ; then
21381 for ac_header
in sys
/select.h
21383 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21384 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21386 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21387 echo $ECHO_N "(cached) $ECHO_C" >&6
21389 cat >conftest.
$ac_ext <<_ACEOF
21392 cat confdefs.h
>>conftest.
$ac_ext
21393 cat >>conftest.
$ac_ext <<_ACEOF
21394 /* end confdefs.h. */
21395 $ac_includes_default
21397 #include <$ac_header>
21399 rm -f conftest.
$ac_objext
21400 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
21408 grep -v '^ *+' conftest.er1 >conftest.err
21410 cat conftest.err >&5
21411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21412 (exit $ac_status); } && {
21413 test -z "$ac_c_werror_flag" ||
21414 test ! -s conftest.err
21415 } && test -s conftest.$ac_objext; then
21416 eval "$as_ac_Header=yes"
21418 echo "$as_me: failed program was:" >&5
21419 sed 's/^/| /' conftest.$ac_ext >&5
21421 eval "$as_ac_Header=no"
21424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21426 ac_res=`eval echo '${'$as_ac_Header'}'`
21427 { echo "$as_me:$LINENO: result: $ac_res" >&5
21428 echo "${ECHO_T}$ac_res" >&6; }
21429 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21430 cat >>confdefs.h <<_ACEOF
21431 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21441 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21442 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21443 if test "${ac_cv_c_const+set}" = set; then
21444 echo $ECHO_N "(cached) $ECHO_C" >&6
21446 cat >conftest.$ac_ext <<_ACEOF
21449 cat confdefs.h >>conftest.$ac_ext
21450 cat >>conftest.$ac_ext <<_ACEOF
21451 /* end confdefs.h. */
21456 /* FIXME: Include the comments suggested by Paul. */
21457 #ifndef __cplusplus
21458 /* Ultrix mips cc rejects this. */
21459 typedef int charset[2];
21461 /* SunOS 4.1.1 cc rejects this. */
21462 char const *const *pcpcc;
21464 /* NEC SVR4.0.2 mips cc rejects this. */
21465 struct point {int x, y;};
21466 static struct point const zero = {0,0};
21467 /* AIX XL C 1.02.0.0 rejects this.
21468 It does not let you subtract one const X* pointer from another in
21469 an arm of an if-expression whose if-part is not a constant
21471 const char *g = "string";
21472 pcpcc = &g + (g ? g-g : 0);
21473 /* HPUX 7.0 cc rejects these. */
21475 ppc = (char**) pcpcc;
21476 pcpcc = (char const *const *) ppc;
21477 { /* SCO 3.2v4 cc rejects this. */
21479 char const *s = 0 ? (char *) 0 : (char const *) 0;
21484 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21485 int x[] = {25, 17};
21486 const int *foo = &x[0];
21489 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21490 typedef const int *iptr;
21494 { /* AIX XL C 1.02.0.0 rejects this saying
21495 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21496 struct s { int j; const int *ap[3]; };
21497 struct s *b; b->j = 5;
21499 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21500 const int foo = 10;
21501 if (!foo) return 0;
21503 return !cs[0] && !zero.x;
21510 rm -f conftest.$ac_objext
21511 if { (ac_try="$ac_compile"
21512 case "(($ac_try" in
21513 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21514 *) ac_try_echo
=$ac_try;;
21516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21517 (eval "$ac_compile") 2>conftest.er1
21519 grep -v '^ *+' conftest.er1
>conftest.err
21521 cat conftest.err
>&5
21522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523 (exit $ac_status); } && {
21524 test -z "$ac_c_werror_flag" ||
21525 test ! -s conftest.err
21526 } && test -s conftest.
$ac_objext; then
21529 echo "$as_me: failed program was:" >&5
21530 sed 's/^/| /' conftest.
$ac_ext >&5
21535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21537 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21538 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21539 if test $ac_cv_c_const = no
; then
21541 cat >>confdefs.h
<<\_ACEOF
21547 { echo "$as_me:$LINENO: checking for inline" >&5
21548 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21549 if test "${ac_cv_c_inline+set}" = set; then
21550 echo $ECHO_N "(cached) $ECHO_C" >&6
21553 for ac_kw
in inline __inline__ __inline
; do
21554 cat >conftest.
$ac_ext <<_ACEOF
21557 cat confdefs.h
>>conftest.
$ac_ext
21558 cat >>conftest.
$ac_ext <<_ACEOF
21559 /* end confdefs.h. */
21560 #ifndef __cplusplus
21562 static $ac_kw foo_t static_foo () {return 0; }
21563 $ac_kw foo_t foo () {return 0; }
21567 rm -f conftest.
$ac_objext
21568 if { (ac_try
="$ac_compile"
21569 case "(($ac_try" in
21570 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21571 *) ac_try_echo=$ac_try;;
21573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21574 (eval "$ac_compile") 2>conftest.er1
21576 grep -v '^ *+' conftest.er1 >conftest.err
21578 cat conftest.err >&5
21579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21580 (exit $ac_status); } && {
21581 test -z "$ac_c_werror_flag" ||
21582 test ! -s conftest.err
21583 } && test -s conftest.$ac_objext; then
21584 ac_cv_c_inline=$ac_kw
21586 echo "$as_me: failed program was:" >&5
21587 sed 's/^/| /' conftest.$ac_ext >&5
21592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21593 test "$ac_cv_c_inline" != no && break
21597 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21598 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21601 case $ac_cv_c_inline in
21604 case $ac_cv_c_inline in
21606 *) ac_val=$ac_cv_c_inline;;
21608 cat >>confdefs.h <<_ACEOF
21609 #ifndef __cplusplus
21610 #define inline $ac_val
21617 { echo "$as_me:$LINENO: checking for short" >&5
21618 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21619 if test "${ac_cv_type_short+set}" = set; then
21620 echo $ECHO_N "(cached) $ECHO_C" >&6
21622 cat >conftest.$ac_ext <<_ACEOF
21625 cat confdefs.h >>conftest.$ac_ext
21626 cat >>conftest.$ac_ext <<_ACEOF
21627 /* end confdefs.h. */
21628 $ac_includes_default
21629 typedef short ac__type_new_;
21633 if ((ac__type_new_ *) 0)
21635 if (sizeof (ac__type_new_))
21641 rm -f conftest.$ac_objext
21642 if { (ac_try="$ac_compile"
21643 case "(($ac_try" in
21644 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21645 *) ac_try_echo
=$ac_try;;
21647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21648 (eval "$ac_compile") 2>conftest.er1
21650 grep -v '^ *+' conftest.er1
>conftest.err
21652 cat conftest.err
>&5
21653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21654 (exit $ac_status); } && {
21655 test -z "$ac_c_werror_flag" ||
21656 test ! -s conftest.err
21657 } && test -s conftest.
$ac_objext; then
21658 ac_cv_type_short
=yes
21660 echo "$as_me: failed program was:" >&5
21661 sed 's/^/| /' conftest.
$ac_ext >&5
21663 ac_cv_type_short
=no
21666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21668 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21669 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21671 # The cast to long int works around a bug in the HP C Compiler
21672 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21673 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21674 # This bug is HP SR number 8606223364.
21675 { echo "$as_me:$LINENO: checking size of short" >&5
21676 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21677 if test "${ac_cv_sizeof_short+set}" = set; then
21678 echo $ECHO_N "(cached) $ECHO_C" >&6
21680 if test "$cross_compiling" = yes; then
21681 # Depending upon the size, compute the lo and hi bounds.
21682 cat >conftest.
$ac_ext <<_ACEOF
21685 cat confdefs.h
>>conftest.
$ac_ext
21686 cat >>conftest.
$ac_ext <<_ACEOF
21687 /* end confdefs.h. */
21688 $ac_includes_default
21689 typedef short ac__type_sizeof_;
21693 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21700 rm -f conftest.
$ac_objext
21701 if { (ac_try
="$ac_compile"
21702 case "(($ac_try" in
21703 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21704 *) ac_try_echo=$ac_try;;
21706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21707 (eval "$ac_compile") 2>conftest.er1
21709 grep -v '^ *+' conftest.er1 >conftest.err
21711 cat conftest.err >&5
21712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21713 (exit $ac_status); } && {
21714 test -z "$ac_c_werror_flag" ||
21715 test ! -s conftest.err
21716 } && test -s conftest.$ac_objext; then
21719 cat >conftest.$ac_ext <<_ACEOF
21722 cat confdefs.h >>conftest.$ac_ext
21723 cat >>conftest.$ac_ext <<_ACEOF
21724 /* end confdefs.h. */
21725 $ac_includes_default
21726 typedef short ac__type_sizeof_;
21730 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21737 rm -f conftest.$ac_objext
21738 if { (ac_try="$ac_compile"
21739 case "(($ac_try" in
21740 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21741 *) ac_try_echo
=$ac_try;;
21743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21744 (eval "$ac_compile") 2>conftest.er1
21746 grep -v '^ *+' conftest.er1
>conftest.err
21748 cat conftest.err
>&5
21749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21750 (exit $ac_status); } && {
21751 test -z "$ac_c_werror_flag" ||
21752 test ! -s conftest.err
21753 } && test -s conftest.
$ac_objext; then
21754 ac_hi
=$ac_mid; break
21756 echo "$as_me: failed program was:" >&5
21757 sed 's/^/| /' conftest.
$ac_ext >&5
21759 ac_lo
=`expr $ac_mid + 1`
21760 if test $ac_lo -le $ac_mid; then
21764 ac_mid
=`expr 2 '*' $ac_mid + 1`
21767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21770 echo "$as_me: failed program was:" >&5
21771 sed 's/^/| /' conftest.
$ac_ext >&5
21773 cat >conftest.
$ac_ext <<_ACEOF
21776 cat confdefs.h
>>conftest.
$ac_ext
21777 cat >>conftest.
$ac_ext <<_ACEOF
21778 /* end confdefs.h. */
21779 $ac_includes_default
21780 typedef short ac__type_sizeof_;
21784 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21791 rm -f conftest.
$ac_objext
21792 if { (ac_try
="$ac_compile"
21793 case "(($ac_try" in
21794 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21795 *) ac_try_echo=$ac_try;;
21797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21798 (eval "$ac_compile") 2>conftest.er1
21800 grep -v '^ *+' conftest.er1 >conftest.err
21802 cat conftest.err >&5
21803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804 (exit $ac_status); } && {
21805 test -z "$ac_c_werror_flag" ||
21806 test ! -s conftest.err
21807 } && test -s conftest.$ac_objext; then
21810 cat >conftest.$ac_ext <<_ACEOF
21813 cat confdefs.h >>conftest.$ac_ext
21814 cat >>conftest.$ac_ext <<_ACEOF
21815 /* end confdefs.h. */
21816 $ac_includes_default
21817 typedef short ac__type_sizeof_;
21821 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21828 rm -f conftest.$ac_objext
21829 if { (ac_try="$ac_compile"
21830 case "(($ac_try" in
21831 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21832 *) ac_try_echo
=$ac_try;;
21834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21835 (eval "$ac_compile") 2>conftest.er1
21837 grep -v '^ *+' conftest.er1
>conftest.err
21839 cat conftest.err
>&5
21840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21841 (exit $ac_status); } && {
21842 test -z "$ac_c_werror_flag" ||
21843 test ! -s conftest.err
21844 } && test -s conftest.
$ac_objext; then
21845 ac_lo
=$ac_mid; break
21847 echo "$as_me: failed program was:" >&5
21848 sed 's/^/| /' conftest.
$ac_ext >&5
21850 ac_hi
=`expr '(' $ac_mid ')' - 1`
21851 if test $ac_mid -le $ac_hi; then
21855 ac_mid
=`expr 2 '*' $ac_mid`
21858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21861 echo "$as_me: failed program was:" >&5
21862 sed 's/^/| /' conftest.
$ac_ext >&5
21867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21871 # Binary search between lo and hi bounds.
21872 while test "x$ac_lo" != "x$ac_hi"; do
21873 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21874 cat >conftest.
$ac_ext <<_ACEOF
21877 cat confdefs.h
>>conftest.
$ac_ext
21878 cat >>conftest.
$ac_ext <<_ACEOF
21879 /* end confdefs.h. */
21880 $ac_includes_default
21881 typedef short ac__type_sizeof_;
21885 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21892 rm -f conftest.
$ac_objext
21893 if { (ac_try
="$ac_compile"
21894 case "(($ac_try" in
21895 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21896 *) ac_try_echo=$ac_try;;
21898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21899 (eval "$ac_compile") 2>conftest.er1
21901 grep -v '^ *+' conftest.er1 >conftest.err
21903 cat conftest.err >&5
21904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905 (exit $ac_status); } && {
21906 test -z "$ac_c_werror_flag" ||
21907 test ! -s conftest.err
21908 } && test -s conftest.$ac_objext; then
21911 echo "$as_me: failed program was:" >&5
21912 sed 's/^/| /' conftest.$ac_ext >&5
21914 ac_lo=`expr '(' $ac_mid ')' + 1`
21917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21920 ?*) ac_cv_sizeof_short=$ac_lo;;
21921 '') if test "$ac_cv_type_short" = yes; then
21922 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21923 See \`config.log
' for more details." >&5
21924 echo "$as_me: error: cannot compute sizeof (short)
21925 See \`config.log' for more details.
" >&2;}
21926 { (exit 77); exit 77; }; }
21928 ac_cv_sizeof_short=0
21932 cat >conftest.$ac_ext <<_ACEOF
21935 cat confdefs.h >>conftest.$ac_ext
21936 cat >>conftest.$ac_ext <<_ACEOF
21937 /* end confdefs.h. */
21938 $ac_includes_default
21939 typedef short ac__type_sizeof_;
21940 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21941 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21943 #include <stdlib.h>
21948 FILE *f = fopen ("conftest.val
", "w
");
21951 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21953 long int i = longval ();
21954 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21956 fprintf (f, "%ld
\n", i);
21960 unsigned long int i = ulongval ();
21961 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21963 fprintf (f, "%lu
\n", i);
21965 return ferror (f) || fclose (f) != 0;
21971 rm -f conftest$ac_exeext
21972 if { (ac_try="$ac_link"
21973 case "(($ac_try" in
21974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21975 *) ac_try_echo=$ac_try;;
21977 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21978 (eval "$ac_link") 2>&5
21980 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21981 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21982 { (case "(($ac_try" in
21983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21984 *) ac_try_echo=$ac_try;;
21986 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21987 (eval "$ac_try") 2>&5
21989 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21990 (exit $ac_status); }; }; then
21991 ac_cv_sizeof_short=`cat conftest.val`
21993 echo "$as_me: program exited with status
$ac_status" >&5
21994 echo "$as_me: failed program was
:" >&5
21995 sed 's/^/| /' conftest.$ac_ext >&5
21997 ( exit $ac_status )
21998 if test "$ac_cv_type_short" = yes; then
21999 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
22000 See \
`config.log' for more details." >&5
22001 echo "$as_me: error: cannot compute sizeof (short)
22002 See \`config.log
' for more details." >&2;}
22003 { (exit 77); exit 77; }; }
22005 ac_cv_sizeof_short=0
22008 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22012 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22013 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22017 cat >>confdefs.h <<_ACEOF
22018 #define SIZEOF_SHORT $ac_cv_sizeof_short
22022 { echo "$as_me:$LINENO: checking for void *" >&5
22023 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22024 if test "${ac_cv_type_void_p+set}" = set; then
22025 echo $ECHO_N "(cached) $ECHO_C" >&6
22027 cat >conftest.$ac_ext <<_ACEOF
22030 cat confdefs.h >>conftest.$ac_ext
22031 cat >>conftest.$ac_ext <<_ACEOF
22032 /* end confdefs.h. */
22033 $ac_includes_default
22034 typedef void * ac__type_new_;
22038 if ((ac__type_new_ *) 0)
22040 if (sizeof (ac__type_new_))
22046 rm -f conftest.$ac_objext
22047 if { (ac_try="$ac_compile"
22048 case "(($ac_try" in
22049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22050 *) ac_try_echo=$ac_try;;
22052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22053 (eval "$ac_compile") 2>conftest.er1
22055 grep -v '^
*+' conftest.er1 >conftest.err
22057 cat conftest.err >&5
22058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22059 (exit $ac_status); } && {
22060 test -z "$ac_c_werror_flag" ||
22061 test ! -s conftest.err
22062 } && test -s conftest.$ac_objext; then
22063 ac_cv_type_void_p=yes
22065 echo "$as_me: failed program was:" >&5
22066 sed 's
/^
/| /' conftest.$ac_ext >&5
22068 ac_cv_type_void_p=no
22071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22073 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22074 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22076 # The cast to long int works around a bug in the HP C Compiler
22077 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22078 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22079 # This bug is HP SR number 8606223364.
22080 { echo "$as_me:$LINENO: checking size of void *" >&5
22081 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22082 if test "${ac_cv_sizeof_void_p+set}" = set; then
22083 echo $ECHO_N "(cached) $ECHO_C" >&6
22085 if test "$cross_compiling" = yes; then
22086 # Depending upon the size, compute the lo and hi bounds.
22087 cat >conftest.
$ac_ext <<_ACEOF
22090 cat confdefs.h
>>conftest.
$ac_ext
22091 cat >>conftest.
$ac_ext <<_ACEOF
22092 /* end confdefs.h. */
22093 $ac_includes_default
22094 typedef void * ac__type_sizeof_;
22098 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22105 rm -f conftest.
$ac_objext
22106 if { (ac_try
="$ac_compile"
22107 case "(($ac_try" in
22108 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22109 *) ac_try_echo=$ac_try;;
22111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22112 (eval "$ac_compile") 2>conftest.er1
22114 grep -v '^ *+' conftest.er1 >conftest.err
22116 cat conftest.err >&5
22117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118 (exit $ac_status); } && {
22119 test -z "$ac_c_werror_flag" ||
22120 test ! -s conftest.err
22121 } && test -s conftest.$ac_objext; then
22124 cat >conftest.$ac_ext <<_ACEOF
22127 cat confdefs.h >>conftest.$ac_ext
22128 cat >>conftest.$ac_ext <<_ACEOF
22129 /* end confdefs.h. */
22130 $ac_includes_default
22131 typedef void * ac__type_sizeof_;
22135 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22142 rm -f conftest.$ac_objext
22143 if { (ac_try="$ac_compile"
22144 case "(($ac_try" in
22145 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22146 *) ac_try_echo
=$ac_try;;
22148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22149 (eval "$ac_compile") 2>conftest.er1
22151 grep -v '^ *+' conftest.er1
>conftest.err
22153 cat conftest.err
>&5
22154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155 (exit $ac_status); } && {
22156 test -z "$ac_c_werror_flag" ||
22157 test ! -s conftest.err
22158 } && test -s conftest.
$ac_objext; then
22159 ac_hi
=$ac_mid; break
22161 echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.
$ac_ext >&5
22164 ac_lo
=`expr $ac_mid + 1`
22165 if test $ac_lo -le $ac_mid; then
22169 ac_mid
=`expr 2 '*' $ac_mid + 1`
22172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22175 echo "$as_me: failed program was:" >&5
22176 sed 's/^/| /' conftest.
$ac_ext >&5
22178 cat >conftest.
$ac_ext <<_ACEOF
22181 cat confdefs.h
>>conftest.
$ac_ext
22182 cat >>conftest.
$ac_ext <<_ACEOF
22183 /* end confdefs.h. */
22184 $ac_includes_default
22185 typedef void * ac__type_sizeof_;
22189 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22196 rm -f conftest.
$ac_objext
22197 if { (ac_try
="$ac_compile"
22198 case "(($ac_try" in
22199 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22200 *) ac_try_echo=$ac_try;;
22202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22203 (eval "$ac_compile") 2>conftest.er1
22205 grep -v '^ *+' conftest.er1 >conftest.err
22207 cat conftest.err >&5
22208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22209 (exit $ac_status); } && {
22210 test -z "$ac_c_werror_flag" ||
22211 test ! -s conftest.err
22212 } && test -s conftest.$ac_objext; then
22215 cat >conftest.$ac_ext <<_ACEOF
22218 cat confdefs.h >>conftest.$ac_ext
22219 cat >>conftest.$ac_ext <<_ACEOF
22220 /* end confdefs.h. */
22221 $ac_includes_default
22222 typedef void * ac__type_sizeof_;
22226 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22233 rm -f conftest.$ac_objext
22234 if { (ac_try="$ac_compile"
22235 case "(($ac_try" in
22236 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22237 *) ac_try_echo
=$ac_try;;
22239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22240 (eval "$ac_compile") 2>conftest.er1
22242 grep -v '^ *+' conftest.er1
>conftest.err
22244 cat conftest.err
>&5
22245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22246 (exit $ac_status); } && {
22247 test -z "$ac_c_werror_flag" ||
22248 test ! -s conftest.err
22249 } && test -s conftest.
$ac_objext; then
22250 ac_lo
=$ac_mid; break
22252 echo "$as_me: failed program was:" >&5
22253 sed 's/^/| /' conftest.
$ac_ext >&5
22255 ac_hi
=`expr '(' $ac_mid ')' - 1`
22256 if test $ac_mid -le $ac_hi; then
22260 ac_mid
=`expr 2 '*' $ac_mid`
22263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22266 echo "$as_me: failed program was:" >&5
22267 sed 's/^/| /' conftest.
$ac_ext >&5
22272 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22276 # Binary search between lo and hi bounds.
22277 while test "x$ac_lo" != "x$ac_hi"; do
22278 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22279 cat >conftest.
$ac_ext <<_ACEOF
22282 cat confdefs.h
>>conftest.
$ac_ext
22283 cat >>conftest.
$ac_ext <<_ACEOF
22284 /* end confdefs.h. */
22285 $ac_includes_default
22286 typedef void * ac__type_sizeof_;
22290 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22297 rm -f conftest.
$ac_objext
22298 if { (ac_try
="$ac_compile"
22299 case "(($ac_try" in
22300 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22301 *) ac_try_echo=$ac_try;;
22303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22304 (eval "$ac_compile") 2>conftest.er1
22306 grep -v '^ *+' conftest.er1 >conftest.err
22308 cat conftest.err >&5
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); } && {
22311 test -z "$ac_c_werror_flag" ||
22312 test ! -s conftest.err
22313 } && test -s conftest.$ac_objext; then
22316 echo "$as_me: failed program was:" >&5
22317 sed 's/^/| /' conftest.$ac_ext >&5
22319 ac_lo=`expr '(' $ac_mid ')' + 1`
22322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22325 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22326 '') if test "$ac_cv_type_void_p" = yes; then
22327 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22328 See \`config.log
' for more details." >&5
22329 echo "$as_me: error: cannot compute sizeof (void *)
22330 See \`config.log' for more details.
" >&2;}
22331 { (exit 77); exit 77; }; }
22333 ac_cv_sizeof_void_p=0
22337 cat >conftest.$ac_ext <<_ACEOF
22340 cat confdefs.h >>conftest.$ac_ext
22341 cat >>conftest.$ac_ext <<_ACEOF
22342 /* end confdefs.h. */
22343 $ac_includes_default
22344 typedef void * ac__type_sizeof_;
22345 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22346 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22348 #include <stdlib.h>
22353 FILE *f = fopen ("conftest.val
", "w
");
22356 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22358 long int i = longval ();
22359 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22361 fprintf (f, "%ld
\n", i);
22365 unsigned long int i = ulongval ();
22366 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22368 fprintf (f, "%lu
\n", i);
22370 return ferror (f) || fclose (f) != 0;
22376 rm -f conftest$ac_exeext
22377 if { (ac_try="$ac_link"
22378 case "(($ac_try" in
22379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22380 *) ac_try_echo=$ac_try;;
22382 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22383 (eval "$ac_link") 2>&5
22385 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22386 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22387 { (case "(($ac_try" in
22388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22389 *) ac_try_echo=$ac_try;;
22391 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22392 (eval "$ac_try") 2>&5
22394 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22395 (exit $ac_status); }; }; then
22396 ac_cv_sizeof_void_p=`cat conftest.val`
22398 echo "$as_me: program exited with status
$ac_status" >&5
22399 echo "$as_me: failed program was
:" >&5
22400 sed 's/^/| /' conftest.$ac_ext >&5
22402 ( exit $ac_status )
22403 if test "$ac_cv_type_void_p" = yes; then
22404 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
22405 See \
`config.log' for more details." >&5
22406 echo "$as_me: error: cannot compute sizeof (void *)
22407 See \`config.log
' for more details." >&2;}
22408 { (exit 77); exit 77; }; }
22410 ac_cv_sizeof_void_p=0
22413 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22417 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22418 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22422 cat >>confdefs.h <<_ACEOF
22423 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22427 { echo "$as_me:$LINENO: checking for int" >&5
22428 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22429 if test "${ac_cv_type_int+set}" = set; then
22430 echo $ECHO_N "(cached) $ECHO_C" >&6
22432 cat >conftest.$ac_ext <<_ACEOF
22435 cat confdefs.h >>conftest.$ac_ext
22436 cat >>conftest.$ac_ext <<_ACEOF
22437 /* end confdefs.h. */
22438 $ac_includes_default
22439 typedef int ac__type_new_;
22443 if ((ac__type_new_ *) 0)
22445 if (sizeof (ac__type_new_))
22451 rm -f conftest.$ac_objext
22452 if { (ac_try="$ac_compile"
22453 case "(($ac_try" in
22454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22455 *) ac_try_echo=$ac_try;;
22457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22458 (eval "$ac_compile") 2>conftest.er1
22460 grep -v '^
*+' conftest.er1 >conftest.err
22462 cat conftest.err >&5
22463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22464 (exit $ac_status); } && {
22465 test -z "$ac_c_werror_flag" ||
22466 test ! -s conftest.err
22467 } && test -s conftest.$ac_objext; then
22470 echo "$as_me: failed program was:" >&5
22471 sed 's
/^
/| /' conftest.$ac_ext >&5
22476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22478 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22479 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22481 # The cast to long int works around a bug in the HP C Compiler
22482 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22483 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22484 # This bug is HP SR number 8606223364.
22485 { echo "$as_me:$LINENO: checking size of int" >&5
22486 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22487 if test "${ac_cv_sizeof_int+set}" = set; then
22488 echo $ECHO_N "(cached) $ECHO_C" >&6
22490 if test "$cross_compiling" = yes; then
22491 # Depending upon the size, compute the lo and hi bounds.
22492 cat >conftest.
$ac_ext <<_ACEOF
22495 cat confdefs.h
>>conftest.
$ac_ext
22496 cat >>conftest.
$ac_ext <<_ACEOF
22497 /* end confdefs.h. */
22498 $ac_includes_default
22499 typedef int ac__type_sizeof_;
22503 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22510 rm -f conftest.
$ac_objext
22511 if { (ac_try
="$ac_compile"
22512 case "(($ac_try" in
22513 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22514 *) ac_try_echo=$ac_try;;
22516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22517 (eval "$ac_compile") 2>conftest.er1
22519 grep -v '^ *+' conftest.er1 >conftest.err
22521 cat conftest.err >&5
22522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22523 (exit $ac_status); } && {
22524 test -z "$ac_c_werror_flag" ||
22525 test ! -s conftest.err
22526 } && test -s conftest.$ac_objext; then
22529 cat >conftest.$ac_ext <<_ACEOF
22532 cat confdefs.h >>conftest.$ac_ext
22533 cat >>conftest.$ac_ext <<_ACEOF
22534 /* end confdefs.h. */
22535 $ac_includes_default
22536 typedef int ac__type_sizeof_;
22540 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22547 rm -f conftest.$ac_objext
22548 if { (ac_try="$ac_compile"
22549 case "(($ac_try" in
22550 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22551 *) ac_try_echo
=$ac_try;;
22553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22554 (eval "$ac_compile") 2>conftest.er1
22556 grep -v '^ *+' conftest.er1
>conftest.err
22558 cat conftest.err
>&5
22559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560 (exit $ac_status); } && {
22561 test -z "$ac_c_werror_flag" ||
22562 test ! -s conftest.err
22563 } && test -s conftest.
$ac_objext; then
22564 ac_hi
=$ac_mid; break
22566 echo "$as_me: failed program was:" >&5
22567 sed 's/^/| /' conftest.
$ac_ext >&5
22569 ac_lo
=`expr $ac_mid + 1`
22570 if test $ac_lo -le $ac_mid; then
22574 ac_mid
=`expr 2 '*' $ac_mid + 1`
22577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22580 echo "$as_me: failed program was:" >&5
22581 sed 's/^/| /' conftest.
$ac_ext >&5
22583 cat >conftest.
$ac_ext <<_ACEOF
22586 cat confdefs.h
>>conftest.
$ac_ext
22587 cat >>conftest.
$ac_ext <<_ACEOF
22588 /* end confdefs.h. */
22589 $ac_includes_default
22590 typedef int ac__type_sizeof_;
22594 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22601 rm -f conftest.
$ac_objext
22602 if { (ac_try
="$ac_compile"
22603 case "(($ac_try" in
22604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22605 *) ac_try_echo=$ac_try;;
22607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22608 (eval "$ac_compile") 2>conftest.er1
22610 grep -v '^ *+' conftest.er1 >conftest.err
22612 cat conftest.err >&5
22613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22614 (exit $ac_status); } && {
22615 test -z "$ac_c_werror_flag" ||
22616 test ! -s conftest.err
22617 } && test -s conftest.$ac_objext; then
22620 cat >conftest.$ac_ext <<_ACEOF
22623 cat confdefs.h >>conftest.$ac_ext
22624 cat >>conftest.$ac_ext <<_ACEOF
22625 /* end confdefs.h. */
22626 $ac_includes_default
22627 typedef int ac__type_sizeof_;
22631 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22638 rm -f conftest.$ac_objext
22639 if { (ac_try="$ac_compile"
22640 case "(($ac_try" in
22641 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22642 *) ac_try_echo
=$ac_try;;
22644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22645 (eval "$ac_compile") 2>conftest.er1
22647 grep -v '^ *+' conftest.er1
>conftest.err
22649 cat conftest.err
>&5
22650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22651 (exit $ac_status); } && {
22652 test -z "$ac_c_werror_flag" ||
22653 test ! -s conftest.err
22654 } && test -s conftest.
$ac_objext; then
22655 ac_lo
=$ac_mid; break
22657 echo "$as_me: failed program was:" >&5
22658 sed 's/^/| /' conftest.
$ac_ext >&5
22660 ac_hi
=`expr '(' $ac_mid ')' - 1`
22661 if test $ac_mid -le $ac_hi; then
22665 ac_mid
=`expr 2 '*' $ac_mid`
22668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22671 echo "$as_me: failed program was:" >&5
22672 sed 's/^/| /' conftest.
$ac_ext >&5
22677 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22681 # Binary search between lo and hi bounds.
22682 while test "x$ac_lo" != "x$ac_hi"; do
22683 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22684 cat >conftest.
$ac_ext <<_ACEOF
22687 cat confdefs.h
>>conftest.
$ac_ext
22688 cat >>conftest.
$ac_ext <<_ACEOF
22689 /* end confdefs.h. */
22690 $ac_includes_default
22691 typedef int ac__type_sizeof_;
22695 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22702 rm -f conftest.
$ac_objext
22703 if { (ac_try
="$ac_compile"
22704 case "(($ac_try" in
22705 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22706 *) ac_try_echo=$ac_try;;
22708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22709 (eval "$ac_compile") 2>conftest.er1
22711 grep -v '^ *+' conftest.er1 >conftest.err
22713 cat conftest.err >&5
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); } && {
22716 test -z "$ac_c_werror_flag" ||
22717 test ! -s conftest.err
22718 } && test -s conftest.$ac_objext; then
22721 echo "$as_me: failed program was:" >&5
22722 sed 's/^/| /' conftest.$ac_ext >&5
22724 ac_lo=`expr '(' $ac_mid ')' + 1`
22727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22730 ?*) ac_cv_sizeof_int=$ac_lo;;
22731 '') if test "$ac_cv_type_int" = yes; then
22732 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22733 See \`config.log
' for more details." >&5
22734 echo "$as_me: error: cannot compute sizeof (int)
22735 See \`config.log' for more details.
" >&2;}
22736 { (exit 77); exit 77; }; }
22742 cat >conftest.$ac_ext <<_ACEOF
22745 cat confdefs.h >>conftest.$ac_ext
22746 cat >>conftest.$ac_ext <<_ACEOF
22747 /* end confdefs.h. */
22748 $ac_includes_default
22749 typedef int ac__type_sizeof_;
22750 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22751 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22753 #include <stdlib.h>
22758 FILE *f = fopen ("conftest.val
", "w
");
22761 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22763 long int i = longval ();
22764 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22766 fprintf (f, "%ld
\n", i);
22770 unsigned long int i = ulongval ();
22771 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22773 fprintf (f, "%lu
\n", i);
22775 return ferror (f) || fclose (f) != 0;
22781 rm -f conftest$ac_exeext
22782 if { (ac_try="$ac_link"
22783 case "(($ac_try" in
22784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22785 *) ac_try_echo=$ac_try;;
22787 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22788 (eval "$ac_link") 2>&5
22790 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22791 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22792 { (case "(($ac_try" in
22793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22794 *) ac_try_echo=$ac_try;;
22796 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22797 (eval "$ac_try") 2>&5
22799 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22800 (exit $ac_status); }; }; then
22801 ac_cv_sizeof_int=`cat conftest.val`
22803 echo "$as_me: program exited with status
$ac_status" >&5
22804 echo "$as_me: failed program was
:" >&5
22805 sed 's/^/| /' conftest.$ac_ext >&5
22807 ( exit $ac_status )
22808 if test "$ac_cv_type_int" = yes; then
22809 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
22810 See \
`config.log' for more details." >&5
22811 echo "$as_me: error: cannot compute sizeof (int)
22812 See \`config.log
' for more details." >&2;}
22813 { (exit 77); exit 77; }; }
22818 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22822 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22823 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22827 cat >>confdefs.h <<_ACEOF
22828 #define SIZEOF_INT $ac_cv_sizeof_int
22832 { echo "$as_me:$LINENO: checking for long" >&5
22833 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22834 if test "${ac_cv_type_long+set}" = set; then
22835 echo $ECHO_N "(cached) $ECHO_C" >&6
22837 cat >conftest.$ac_ext <<_ACEOF
22840 cat confdefs.h >>conftest.$ac_ext
22841 cat >>conftest.$ac_ext <<_ACEOF
22842 /* end confdefs.h. */
22843 $ac_includes_default
22844 typedef long ac__type_new_;
22848 if ((ac__type_new_ *) 0)
22850 if (sizeof (ac__type_new_))
22856 rm -f conftest.$ac_objext
22857 if { (ac_try="$ac_compile"
22858 case "(($ac_try" in
22859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22860 *) ac_try_echo=$ac_try;;
22862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22863 (eval "$ac_compile") 2>conftest.er1
22865 grep -v '^
*+' conftest.er1 >conftest.err
22867 cat conftest.err >&5
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); } && {
22870 test -z "$ac_c_werror_flag" ||
22871 test ! -s conftest.err
22872 } && test -s conftest.$ac_objext; then
22873 ac_cv_type_long=yes
22875 echo "$as_me: failed program was:" >&5
22876 sed 's
/^
/| /' conftest.$ac_ext >&5
22881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22883 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22884 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22886 # The cast to long int works around a bug in the HP C Compiler
22887 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22888 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22889 # This bug is HP SR number 8606223364.
22890 { echo "$as_me:$LINENO: checking size of long" >&5
22891 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22892 if test "${ac_cv_sizeof_long+set}" = set; then
22893 echo $ECHO_N "(cached) $ECHO_C" >&6
22895 if test "$cross_compiling" = yes; then
22896 # Depending upon the size, compute the lo and hi bounds.
22897 cat >conftest.
$ac_ext <<_ACEOF
22900 cat confdefs.h
>>conftest.
$ac_ext
22901 cat >>conftest.
$ac_ext <<_ACEOF
22902 /* end confdefs.h. */
22903 $ac_includes_default
22904 typedef long ac__type_sizeof_;
22908 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22915 rm -f conftest.
$ac_objext
22916 if { (ac_try
="$ac_compile"
22917 case "(($ac_try" in
22918 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22919 *) ac_try_echo=$ac_try;;
22921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22922 (eval "$ac_compile") 2>conftest.er1
22924 grep -v '^ *+' conftest.er1 >conftest.err
22926 cat conftest.err >&5
22927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22928 (exit $ac_status); } && {
22929 test -z "$ac_c_werror_flag" ||
22930 test ! -s conftest.err
22931 } && test -s conftest.$ac_objext; then
22934 cat >conftest.$ac_ext <<_ACEOF
22937 cat confdefs.h >>conftest.$ac_ext
22938 cat >>conftest.$ac_ext <<_ACEOF
22939 /* end confdefs.h. */
22940 $ac_includes_default
22941 typedef long ac__type_sizeof_;
22945 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22952 rm -f conftest.$ac_objext
22953 if { (ac_try="$ac_compile"
22954 case "(($ac_try" in
22955 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22956 *) ac_try_echo
=$ac_try;;
22958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22959 (eval "$ac_compile") 2>conftest.er1
22961 grep -v '^ *+' conftest.er1
>conftest.err
22963 cat conftest.err
>&5
22964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22965 (exit $ac_status); } && {
22966 test -z "$ac_c_werror_flag" ||
22967 test ! -s conftest.err
22968 } && test -s conftest.
$ac_objext; then
22969 ac_hi
=$ac_mid; break
22971 echo "$as_me: failed program was:" >&5
22972 sed 's/^/| /' conftest.
$ac_ext >&5
22974 ac_lo
=`expr $ac_mid + 1`
22975 if test $ac_lo -le $ac_mid; then
22979 ac_mid
=`expr 2 '*' $ac_mid + 1`
22982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22985 echo "$as_me: failed program was:" >&5
22986 sed 's/^/| /' conftest.
$ac_ext >&5
22988 cat >conftest.
$ac_ext <<_ACEOF
22991 cat confdefs.h
>>conftest.
$ac_ext
22992 cat >>conftest.
$ac_ext <<_ACEOF
22993 /* end confdefs.h. */
22994 $ac_includes_default
22995 typedef long ac__type_sizeof_;
22999 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23006 rm -f conftest.
$ac_objext
23007 if { (ac_try
="$ac_compile"
23008 case "(($ac_try" in
23009 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23010 *) ac_try_echo=$ac_try;;
23012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23013 (eval "$ac_compile") 2>conftest.er1
23015 grep -v '^ *+' conftest.er1 >conftest.err
23017 cat conftest.err >&5
23018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019 (exit $ac_status); } && {
23020 test -z "$ac_c_werror_flag" ||
23021 test ! -s conftest.err
23022 } && test -s conftest.$ac_objext; then
23025 cat >conftest.$ac_ext <<_ACEOF
23028 cat confdefs.h >>conftest.$ac_ext
23029 cat >>conftest.$ac_ext <<_ACEOF
23030 /* end confdefs.h. */
23031 $ac_includes_default
23032 typedef long ac__type_sizeof_;
23036 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23043 rm -f conftest.$ac_objext
23044 if { (ac_try="$ac_compile"
23045 case "(($ac_try" in
23046 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23047 *) ac_try_echo
=$ac_try;;
23049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23050 (eval "$ac_compile") 2>conftest.er1
23052 grep -v '^ *+' conftest.er1
>conftest.err
23054 cat conftest.err
>&5
23055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23056 (exit $ac_status); } && {
23057 test -z "$ac_c_werror_flag" ||
23058 test ! -s conftest.err
23059 } && test -s conftest.
$ac_objext; then
23060 ac_lo
=$ac_mid; break
23062 echo "$as_me: failed program was:" >&5
23063 sed 's/^/| /' conftest.
$ac_ext >&5
23065 ac_hi
=`expr '(' $ac_mid ')' - 1`
23066 if test $ac_mid -le $ac_hi; then
23070 ac_mid
=`expr 2 '*' $ac_mid`
23073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23076 echo "$as_me: failed program was:" >&5
23077 sed 's/^/| /' conftest.
$ac_ext >&5
23082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23086 # Binary search between lo and hi bounds.
23087 while test "x$ac_lo" != "x$ac_hi"; do
23088 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23089 cat >conftest.
$ac_ext <<_ACEOF
23092 cat confdefs.h
>>conftest.
$ac_ext
23093 cat >>conftest.
$ac_ext <<_ACEOF
23094 /* end confdefs.h. */
23095 $ac_includes_default
23096 typedef long ac__type_sizeof_;
23100 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23107 rm -f conftest.
$ac_objext
23108 if { (ac_try
="$ac_compile"
23109 case "(($ac_try" in
23110 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23111 *) ac_try_echo=$ac_try;;
23113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23114 (eval "$ac_compile") 2>conftest.er1
23116 grep -v '^ *+' conftest.er1 >conftest.err
23118 cat conftest.err >&5
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); } && {
23121 test -z "$ac_c_werror_flag" ||
23122 test ! -s conftest.err
23123 } && test -s conftest.$ac_objext; then
23126 echo "$as_me: failed program was:" >&5
23127 sed 's/^/| /' conftest.$ac_ext >&5
23129 ac_lo=`expr '(' $ac_mid ')' + 1`
23132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23135 ?*) ac_cv_sizeof_long=$ac_lo;;
23136 '') if test "$ac_cv_type_long" = yes; then
23137 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23138 See \`config.log
' for more details." >&5
23139 echo "$as_me: error: cannot compute sizeof (long)
23140 See \`config.log' for more details.
" >&2;}
23141 { (exit 77); exit 77; }; }
23143 ac_cv_sizeof_long=0
23147 cat >conftest.$ac_ext <<_ACEOF
23150 cat confdefs.h >>conftest.$ac_ext
23151 cat >>conftest.$ac_ext <<_ACEOF
23152 /* end confdefs.h. */
23153 $ac_includes_default
23154 typedef long ac__type_sizeof_;
23155 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23156 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23158 #include <stdlib.h>
23163 FILE *f = fopen ("conftest.val
", "w
");
23166 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23168 long int i = longval ();
23169 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23171 fprintf (f, "%ld
\n", i);
23175 unsigned long int i = ulongval ();
23176 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23178 fprintf (f, "%lu
\n", i);
23180 return ferror (f) || fclose (f) != 0;
23186 rm -f conftest$ac_exeext
23187 if { (ac_try="$ac_link"
23188 case "(($ac_try" in
23189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23190 *) ac_try_echo=$ac_try;;
23192 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23193 (eval "$ac_link") 2>&5
23195 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23196 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23197 { (case "(($ac_try" in
23198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23199 *) ac_try_echo=$ac_try;;
23201 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23202 (eval "$ac_try") 2>&5
23204 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23205 (exit $ac_status); }; }; then
23206 ac_cv_sizeof_long=`cat conftest.val`
23208 echo "$as_me: program exited with status
$ac_status" >&5
23209 echo "$as_me: failed program was
:" >&5
23210 sed 's/^/| /' conftest.$ac_ext >&5
23212 ( exit $ac_status )
23213 if test "$ac_cv_type_long" = yes; then
23214 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
23215 See \
`config.log' for more details." >&5
23216 echo "$as_me: error: cannot compute sizeof (long)
23217 See \`config.log
' for more details." >&2;}
23218 { (exit 77); exit 77; }; }
23220 ac_cv_sizeof_long=0
23223 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23227 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23228 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23232 cat >>confdefs.h <<_ACEOF
23233 #define SIZEOF_LONG $ac_cv_sizeof_long
23237 { echo "$as_me:$LINENO: checking for size_t" >&5
23238 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23239 if test "${ac_cv_type_size_t+set}" = set; then
23240 echo $ECHO_N "(cached) $ECHO_C" >&6
23242 cat >conftest.$ac_ext <<_ACEOF
23245 cat confdefs.h >>conftest.$ac_ext
23246 cat >>conftest.$ac_ext <<_ACEOF
23247 /* end confdefs.h. */
23248 $ac_includes_default
23249 typedef size_t ac__type_new_;
23253 if ((ac__type_new_ *) 0)
23255 if (sizeof (ac__type_new_))
23261 rm -f conftest.$ac_objext
23262 if { (ac_try="$ac_compile"
23263 case "(($ac_try" in
23264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23265 *) ac_try_echo=$ac_try;;
23267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23268 (eval "$ac_compile") 2>conftest.er1
23270 grep -v '^
*+' conftest.er1 >conftest.err
23272 cat conftest.err >&5
23273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23274 (exit $ac_status); } && {
23275 test -z "$ac_c_werror_flag" ||
23276 test ! -s conftest.err
23277 } && test -s conftest.$ac_objext; then
23278 ac_cv_type_size_t=yes
23280 echo "$as_me: failed program was:" >&5
23281 sed 's
/^
/| /' conftest.$ac_ext >&5
23283 ac_cv_type_size_t=no
23286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23288 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23289 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23291 # The cast to long int works around a bug in the HP C Compiler
23292 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23293 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23294 # This bug is HP SR number 8606223364.
23295 { echo "$as_me:$LINENO: checking size of size_t" >&5
23296 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23297 if test "${ac_cv_sizeof_size_t+set}" = set; then
23298 echo $ECHO_N "(cached) $ECHO_C" >&6
23300 if test "$cross_compiling" = yes; then
23301 # Depending upon the size, compute the lo and hi bounds.
23302 cat >conftest.
$ac_ext <<_ACEOF
23305 cat confdefs.h
>>conftest.
$ac_ext
23306 cat >>conftest.
$ac_ext <<_ACEOF
23307 /* end confdefs.h. */
23308 $ac_includes_default
23309 typedef size_t ac__type_sizeof_;
23313 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23320 rm -f conftest.
$ac_objext
23321 if { (ac_try
="$ac_compile"
23322 case "(($ac_try" in
23323 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23324 *) ac_try_echo=$ac_try;;
23326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23327 (eval "$ac_compile") 2>conftest.er1
23329 grep -v '^ *+' conftest.er1 >conftest.err
23331 cat conftest.err >&5
23332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23333 (exit $ac_status); } && {
23334 test -z "$ac_c_werror_flag" ||
23335 test ! -s conftest.err
23336 } && test -s conftest.$ac_objext; then
23339 cat >conftest.$ac_ext <<_ACEOF
23342 cat confdefs.h >>conftest.$ac_ext
23343 cat >>conftest.$ac_ext <<_ACEOF
23344 /* end confdefs.h. */
23345 $ac_includes_default
23346 typedef size_t ac__type_sizeof_;
23350 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23357 rm -f conftest.$ac_objext
23358 if { (ac_try="$ac_compile"
23359 case "(($ac_try" in
23360 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23361 *) ac_try_echo
=$ac_try;;
23363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23364 (eval "$ac_compile") 2>conftest.er1
23366 grep -v '^ *+' conftest.er1
>conftest.err
23368 cat conftest.err
>&5
23369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23370 (exit $ac_status); } && {
23371 test -z "$ac_c_werror_flag" ||
23372 test ! -s conftest.err
23373 } && test -s conftest.
$ac_objext; then
23374 ac_hi
=$ac_mid; break
23376 echo "$as_me: failed program was:" >&5
23377 sed 's/^/| /' conftest.
$ac_ext >&5
23379 ac_lo
=`expr $ac_mid + 1`
23380 if test $ac_lo -le $ac_mid; then
23384 ac_mid
=`expr 2 '*' $ac_mid + 1`
23387 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23390 echo "$as_me: failed program was:" >&5
23391 sed 's/^/| /' conftest.
$ac_ext >&5
23393 cat >conftest.
$ac_ext <<_ACEOF
23396 cat confdefs.h
>>conftest.
$ac_ext
23397 cat >>conftest.
$ac_ext <<_ACEOF
23398 /* end confdefs.h. */
23399 $ac_includes_default
23400 typedef size_t ac__type_sizeof_;
23404 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23411 rm -f conftest.
$ac_objext
23412 if { (ac_try
="$ac_compile"
23413 case "(($ac_try" in
23414 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23415 *) ac_try_echo=$ac_try;;
23417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23418 (eval "$ac_compile") 2>conftest.er1
23420 grep -v '^ *+' conftest.er1 >conftest.err
23422 cat conftest.err >&5
23423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23424 (exit $ac_status); } && {
23425 test -z "$ac_c_werror_flag" ||
23426 test ! -s conftest.err
23427 } && test -s conftest.$ac_objext; then
23430 cat >conftest.$ac_ext <<_ACEOF
23433 cat confdefs.h >>conftest.$ac_ext
23434 cat >>conftest.$ac_ext <<_ACEOF
23435 /* end confdefs.h. */
23436 $ac_includes_default
23437 typedef size_t ac__type_sizeof_;
23441 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23448 rm -f conftest.$ac_objext
23449 if { (ac_try="$ac_compile"
23450 case "(($ac_try" in
23451 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23452 *) ac_try_echo
=$ac_try;;
23454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23455 (eval "$ac_compile") 2>conftest.er1
23457 grep -v '^ *+' conftest.er1
>conftest.err
23459 cat conftest.err
>&5
23460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23461 (exit $ac_status); } && {
23462 test -z "$ac_c_werror_flag" ||
23463 test ! -s conftest.err
23464 } && test -s conftest.
$ac_objext; then
23465 ac_lo
=$ac_mid; break
23467 echo "$as_me: failed program was:" >&5
23468 sed 's/^/| /' conftest.
$ac_ext >&5
23470 ac_hi
=`expr '(' $ac_mid ')' - 1`
23471 if test $ac_mid -le $ac_hi; then
23475 ac_mid
=`expr 2 '*' $ac_mid`
23478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23481 echo "$as_me: failed program was:" >&5
23482 sed 's/^/| /' conftest.
$ac_ext >&5
23487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23491 # Binary search between lo and hi bounds.
23492 while test "x$ac_lo" != "x$ac_hi"; do
23493 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23494 cat >conftest.
$ac_ext <<_ACEOF
23497 cat confdefs.h
>>conftest.
$ac_ext
23498 cat >>conftest.
$ac_ext <<_ACEOF
23499 /* end confdefs.h. */
23500 $ac_includes_default
23501 typedef size_t ac__type_sizeof_;
23505 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23512 rm -f conftest.
$ac_objext
23513 if { (ac_try
="$ac_compile"
23514 case "(($ac_try" in
23515 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23516 *) ac_try_echo=$ac_try;;
23518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23519 (eval "$ac_compile") 2>conftest.er1
23521 grep -v '^ *+' conftest.er1 >conftest.err
23523 cat conftest.err >&5
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); } && {
23526 test -z "$ac_c_werror_flag" ||
23527 test ! -s conftest.err
23528 } && test -s conftest.$ac_objext; then
23531 echo "$as_me: failed program was:" >&5
23532 sed 's/^/| /' conftest.$ac_ext >&5
23534 ac_lo=`expr '(' $ac_mid ')' + 1`
23537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23540 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23541 '') if test "$ac_cv_type_size_t" = yes; then
23542 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23543 See \`config.log
' for more details." >&5
23544 echo "$as_me: error: cannot compute sizeof (size_t)
23545 See \`config.log' for more details.
" >&2;}
23546 { (exit 77); exit 77; }; }
23548 ac_cv_sizeof_size_t=0
23552 cat >conftest.$ac_ext <<_ACEOF
23555 cat confdefs.h >>conftest.$ac_ext
23556 cat >>conftest.$ac_ext <<_ACEOF
23557 /* end confdefs.h. */
23558 $ac_includes_default
23559 typedef size_t ac__type_sizeof_;
23560 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23561 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23563 #include <stdlib.h>
23568 FILE *f = fopen ("conftest.val
", "w
");
23571 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23573 long int i = longval ();
23574 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23576 fprintf (f, "%ld
\n", i);
23580 unsigned long int i = ulongval ();
23581 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23583 fprintf (f, "%lu
\n", i);
23585 return ferror (f) || fclose (f) != 0;
23591 rm -f conftest$ac_exeext
23592 if { (ac_try="$ac_link"
23593 case "(($ac_try" in
23594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23595 *) ac_try_echo=$ac_try;;
23597 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23598 (eval "$ac_link") 2>&5
23600 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23601 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23602 { (case "(($ac_try" in
23603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23604 *) ac_try_echo=$ac_try;;
23606 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23607 (eval "$ac_try") 2>&5
23609 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23610 (exit $ac_status); }; }; then
23611 ac_cv_sizeof_size_t=`cat conftest.val`
23613 echo "$as_me: program exited with status
$ac_status" >&5
23614 echo "$as_me: failed program was
:" >&5
23615 sed 's/^/| /' conftest.$ac_ext >&5
23617 ( exit $ac_status )
23618 if test "$ac_cv_type_size_t" = yes; then
23619 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
23620 See \
`config.log' for more details." >&5
23621 echo "$as_me: error: cannot compute sizeof (size_t)
23622 See \`config.log
' for more details." >&2;}
23623 { (exit 77); exit 77; }; }
23625 ac_cv_sizeof_size_t=0
23628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23632 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23633 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23637 cat >>confdefs.h <<_ACEOF
23638 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23645 { echo "$as_me:$LINENO: checking for long long" >&5
23646 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23647 if test "${ac_cv_type_long_long+set}" = set; then
23648 echo $ECHO_N "(cached) $ECHO_C" >&6
23650 cat >conftest.$ac_ext <<_ACEOF
23653 cat confdefs.h >>conftest.$ac_ext
23654 cat >>conftest.$ac_ext <<_ACEOF
23655 /* end confdefs.h. */
23656 $ac_includes_default
23657 typedef long long ac__type_new_;
23661 if ((ac__type_new_ *) 0)
23663 if (sizeof (ac__type_new_))
23669 rm -f conftest.$ac_objext
23670 if { (ac_try="$ac_compile"
23671 case "(($ac_try" in
23672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23673 *) ac_try_echo=$ac_try;;
23675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23676 (eval "$ac_compile") 2>conftest.er1
23678 grep -v '^
*+' conftest.er1 >conftest.err
23680 cat conftest.err >&5
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); } && {
23683 test -z "$ac_c_werror_flag" ||
23684 test ! -s conftest.err
23685 } && test -s conftest.$ac_objext; then
23686 ac_cv_type_long_long=yes
23688 echo "$as_me: failed program was:" >&5
23689 sed 's
/^
/| /' conftest.$ac_ext >&5
23691 ac_cv_type_long_long=no
23694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23696 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23697 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23699 # The cast to long int works around a bug in the HP C Compiler
23700 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23701 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23702 # This bug is HP SR number 8606223364.
23703 { echo "$as_me:$LINENO: checking size of long long" >&5
23704 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23705 if test "${ac_cv_sizeof_long_long+set}" = set; then
23706 echo $ECHO_N "(cached) $ECHO_C" >&6
23708 if test "$cross_compiling" = yes; then
23709 # Depending upon the size, compute the lo and hi bounds.
23710 cat >conftest.
$ac_ext <<_ACEOF
23713 cat confdefs.h
>>conftest.
$ac_ext
23714 cat >>conftest.
$ac_ext <<_ACEOF
23715 /* end confdefs.h. */
23716 $ac_includes_default
23717 typedef long long ac__type_sizeof_;
23721 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23728 rm -f conftest.
$ac_objext
23729 if { (ac_try
="$ac_compile"
23730 case "(($ac_try" in
23731 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23732 *) ac_try_echo=$ac_try;;
23734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23735 (eval "$ac_compile") 2>conftest.er1
23737 grep -v '^ *+' conftest.er1 >conftest.err
23739 cat conftest.err >&5
23740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23741 (exit $ac_status); } && {
23742 test -z "$ac_c_werror_flag" ||
23743 test ! -s conftest.err
23744 } && test -s conftest.$ac_objext; then
23747 cat >conftest.$ac_ext <<_ACEOF
23750 cat confdefs.h >>conftest.$ac_ext
23751 cat >>conftest.$ac_ext <<_ACEOF
23752 /* end confdefs.h. */
23753 $ac_includes_default
23754 typedef long long ac__type_sizeof_;
23758 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23765 rm -f conftest.$ac_objext
23766 if { (ac_try="$ac_compile"
23767 case "(($ac_try" in
23768 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23769 *) ac_try_echo
=$ac_try;;
23771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23772 (eval "$ac_compile") 2>conftest.er1
23774 grep -v '^ *+' conftest.er1
>conftest.err
23776 cat conftest.err
>&5
23777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23778 (exit $ac_status); } && {
23779 test -z "$ac_c_werror_flag" ||
23780 test ! -s conftest.err
23781 } && test -s conftest.
$ac_objext; then
23782 ac_hi
=$ac_mid; break
23784 echo "$as_me: failed program was:" >&5
23785 sed 's/^/| /' conftest.
$ac_ext >&5
23787 ac_lo
=`expr $ac_mid + 1`
23788 if test $ac_lo -le $ac_mid; then
23792 ac_mid
=`expr 2 '*' $ac_mid + 1`
23795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23798 echo "$as_me: failed program was:" >&5
23799 sed 's/^/| /' conftest.
$ac_ext >&5
23801 cat >conftest.
$ac_ext <<_ACEOF
23804 cat confdefs.h
>>conftest.
$ac_ext
23805 cat >>conftest.
$ac_ext <<_ACEOF
23806 /* end confdefs.h. */
23807 $ac_includes_default
23808 typedef long long ac__type_sizeof_;
23812 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23819 rm -f conftest.
$ac_objext
23820 if { (ac_try
="$ac_compile"
23821 case "(($ac_try" in
23822 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23823 *) ac_try_echo=$ac_try;;
23825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23826 (eval "$ac_compile") 2>conftest.er1
23828 grep -v '^ *+' conftest.er1 >conftest.err
23830 cat conftest.err >&5
23831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23832 (exit $ac_status); } && {
23833 test -z "$ac_c_werror_flag" ||
23834 test ! -s conftest.err
23835 } && test -s conftest.$ac_objext; then
23838 cat >conftest.$ac_ext <<_ACEOF
23841 cat confdefs.h >>conftest.$ac_ext
23842 cat >>conftest.$ac_ext <<_ACEOF
23843 /* end confdefs.h. */
23844 $ac_includes_default
23845 typedef long long ac__type_sizeof_;
23849 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23856 rm -f conftest.$ac_objext
23857 if { (ac_try="$ac_compile"
23858 case "(($ac_try" in
23859 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23860 *) ac_try_echo
=$ac_try;;
23862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23863 (eval "$ac_compile") 2>conftest.er1
23865 grep -v '^ *+' conftest.er1
>conftest.err
23867 cat conftest.err
>&5
23868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23869 (exit $ac_status); } && {
23870 test -z "$ac_c_werror_flag" ||
23871 test ! -s conftest.err
23872 } && test -s conftest.
$ac_objext; then
23873 ac_lo
=$ac_mid; break
23875 echo "$as_me: failed program was:" >&5
23876 sed 's/^/| /' conftest.
$ac_ext >&5
23878 ac_hi
=`expr '(' $ac_mid ')' - 1`
23879 if test $ac_mid -le $ac_hi; then
23883 ac_mid
=`expr 2 '*' $ac_mid`
23886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23889 echo "$as_me: failed program was:" >&5
23890 sed 's/^/| /' conftest.
$ac_ext >&5
23895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23899 # Binary search between lo and hi bounds.
23900 while test "x$ac_lo" != "x$ac_hi"; do
23901 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23902 cat >conftest.
$ac_ext <<_ACEOF
23905 cat confdefs.h
>>conftest.
$ac_ext
23906 cat >>conftest.
$ac_ext <<_ACEOF
23907 /* end confdefs.h. */
23908 $ac_includes_default
23909 typedef long long ac__type_sizeof_;
23913 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23920 rm -f conftest.
$ac_objext
23921 if { (ac_try
="$ac_compile"
23922 case "(($ac_try" in
23923 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23924 *) ac_try_echo=$ac_try;;
23926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23927 (eval "$ac_compile") 2>conftest.er1
23929 grep -v '^ *+' conftest.er1 >conftest.err
23931 cat conftest.err >&5
23932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23933 (exit $ac_status); } && {
23934 test -z "$ac_c_werror_flag" ||
23935 test ! -s conftest.err
23936 } && test -s conftest.$ac_objext; then
23939 echo "$as_me: failed program was:" >&5
23940 sed 's/^/| /' conftest.$ac_ext >&5
23942 ac_lo=`expr '(' $ac_mid ')' + 1`
23945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23948 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23949 '') if test "$ac_cv_type_long_long" = yes; then
23950 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23951 See \`config.log
' for more details." >&5
23952 echo "$as_me: error: cannot compute sizeof (long long)
23953 See \`config.log' for more details.
" >&2;}
23954 { (exit 77); exit 77; }; }
23956 ac_cv_sizeof_long_long=0
23960 cat >conftest.$ac_ext <<_ACEOF
23963 cat confdefs.h >>conftest.$ac_ext
23964 cat >>conftest.$ac_ext <<_ACEOF
23965 /* end confdefs.h. */
23966 $ac_includes_default
23967 typedef long long ac__type_sizeof_;
23968 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23969 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23971 #include <stdlib.h>
23976 FILE *f = fopen ("conftest.val
", "w
");
23979 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23981 long int i = longval ();
23982 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23984 fprintf (f, "%ld
\n", i);
23988 unsigned long int i = ulongval ();
23989 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23991 fprintf (f, "%lu
\n", i);
23993 return ferror (f) || fclose (f) != 0;
23999 rm -f conftest$ac_exeext
24000 if { (ac_try="$ac_link"
24001 case "(($ac_try" in
24002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24003 *) ac_try_echo=$ac_try;;
24005 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24006 (eval "$ac_link") 2>&5
24008 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24009 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24010 { (case "(($ac_try" in
24011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24012 *) ac_try_echo=$ac_try;;
24014 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24015 (eval "$ac_try") 2>&5
24017 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24018 (exit $ac_status); }; }; then
24019 ac_cv_sizeof_long_long=`cat conftest.val`
24021 echo "$as_me: program exited with status
$ac_status" >&5
24022 echo "$as_me: failed program was
:" >&5
24023 sed 's/^/| /' conftest.$ac_ext >&5
24025 ( exit $ac_status )
24026 if test "$ac_cv_type_long_long" = yes; then
24027 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24028 See \
`config.log' for more details." >&5
24029 echo "$as_me: error: cannot compute sizeof (long long)
24030 See \`config.log
' for more details." >&2;}
24031 { (exit 77); exit 77; }; }
24033 ac_cv_sizeof_long_long=0
24036 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24040 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24041 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24045 cat >>confdefs.h <<_ACEOF
24046 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24052 { echo "$as_me:$LINENO: checking for long long" >&5
24053 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24054 if test "${ac_cv_type_long_long+set}" = set; then
24055 echo $ECHO_N "(cached) $ECHO_C" >&6
24057 cat >conftest.$ac_ext <<_ACEOF
24060 cat confdefs.h >>conftest.$ac_ext
24061 cat >>conftest.$ac_ext <<_ACEOF
24062 /* end confdefs.h. */
24063 $ac_includes_default
24064 typedef long long ac__type_new_;
24068 if ((ac__type_new_ *) 0)
24070 if (sizeof (ac__type_new_))
24076 rm -f conftest.$ac_objext
24077 if { (ac_try="$ac_compile"
24078 case "(($ac_try" in
24079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24080 *) ac_try_echo=$ac_try;;
24082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24083 (eval "$ac_compile") 2>conftest.er1
24085 grep -v '^
*+' conftest.er1 >conftest.err
24087 cat conftest.err >&5
24088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24089 (exit $ac_status); } && {
24090 test -z "$ac_c_werror_flag" ||
24091 test ! -s conftest.err
24092 } && test -s conftest.$ac_objext; then
24093 ac_cv_type_long_long=yes
24095 echo "$as_me: failed program was:" >&5
24096 sed 's
/^
/| /' conftest.$ac_ext >&5
24098 ac_cv_type_long_long=no
24101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24103 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24104 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24106 # The cast to long int works around a bug in the HP C Compiler
24107 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24108 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24109 # This bug is HP SR number 8606223364.
24110 { echo "$as_me:$LINENO: checking size of long long" >&5
24111 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24112 if test "${ac_cv_sizeof_long_long+set}" = set; then
24113 echo $ECHO_N "(cached) $ECHO_C" >&6
24115 if test "$cross_compiling" = yes; then
24116 # Depending upon the size, compute the lo and hi bounds.
24117 cat >conftest.
$ac_ext <<_ACEOF
24120 cat confdefs.h
>>conftest.
$ac_ext
24121 cat >>conftest.
$ac_ext <<_ACEOF
24122 /* end confdefs.h. */
24123 $ac_includes_default
24124 typedef long long ac__type_sizeof_;
24128 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24135 rm -f conftest.
$ac_objext
24136 if { (ac_try
="$ac_compile"
24137 case "(($ac_try" in
24138 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24139 *) ac_try_echo=$ac_try;;
24141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24142 (eval "$ac_compile") 2>conftest.er1
24144 grep -v '^ *+' conftest.er1 >conftest.err
24146 cat conftest.err >&5
24147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24148 (exit $ac_status); } && {
24149 test -z "$ac_c_werror_flag" ||
24150 test ! -s conftest.err
24151 } && test -s conftest.$ac_objext; then
24154 cat >conftest.$ac_ext <<_ACEOF
24157 cat confdefs.h >>conftest.$ac_ext
24158 cat >>conftest.$ac_ext <<_ACEOF
24159 /* end confdefs.h. */
24160 $ac_includes_default
24161 typedef long long ac__type_sizeof_;
24165 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24172 rm -f conftest.$ac_objext
24173 if { (ac_try="$ac_compile"
24174 case "(($ac_try" in
24175 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24176 *) ac_try_echo
=$ac_try;;
24178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24179 (eval "$ac_compile") 2>conftest.er1
24181 grep -v '^ *+' conftest.er1
>conftest.err
24183 cat conftest.err
>&5
24184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24185 (exit $ac_status); } && {
24186 test -z "$ac_c_werror_flag" ||
24187 test ! -s conftest.err
24188 } && test -s conftest.
$ac_objext; then
24189 ac_hi
=$ac_mid; break
24191 echo "$as_me: failed program was:" >&5
24192 sed 's/^/| /' conftest.
$ac_ext >&5
24194 ac_lo
=`expr $ac_mid + 1`
24195 if test $ac_lo -le $ac_mid; then
24199 ac_mid
=`expr 2 '*' $ac_mid + 1`
24202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24205 echo "$as_me: failed program was:" >&5
24206 sed 's/^/| /' conftest.
$ac_ext >&5
24208 cat >conftest.
$ac_ext <<_ACEOF
24211 cat confdefs.h
>>conftest.
$ac_ext
24212 cat >>conftest.
$ac_ext <<_ACEOF
24213 /* end confdefs.h. */
24214 $ac_includes_default
24215 typedef long long ac__type_sizeof_;
24219 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24226 rm -f conftest.
$ac_objext
24227 if { (ac_try
="$ac_compile"
24228 case "(($ac_try" in
24229 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24230 *) ac_try_echo=$ac_try;;
24232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24233 (eval "$ac_compile") 2>conftest.er1
24235 grep -v '^ *+' conftest.er1 >conftest.err
24237 cat conftest.err >&5
24238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239 (exit $ac_status); } && {
24240 test -z "$ac_c_werror_flag" ||
24241 test ! -s conftest.err
24242 } && test -s conftest.$ac_objext; then
24245 cat >conftest.$ac_ext <<_ACEOF
24248 cat confdefs.h >>conftest.$ac_ext
24249 cat >>conftest.$ac_ext <<_ACEOF
24250 /* end confdefs.h. */
24251 $ac_includes_default
24252 typedef long long ac__type_sizeof_;
24256 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24263 rm -f conftest.$ac_objext
24264 if { (ac_try="$ac_compile"
24265 case "(($ac_try" in
24266 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24267 *) ac_try_echo
=$ac_try;;
24269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24270 (eval "$ac_compile") 2>conftest.er1
24272 grep -v '^ *+' conftest.er1
>conftest.err
24274 cat conftest.err
>&5
24275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24276 (exit $ac_status); } && {
24277 test -z "$ac_c_werror_flag" ||
24278 test ! -s conftest.err
24279 } && test -s conftest.
$ac_objext; then
24280 ac_lo
=$ac_mid; break
24282 echo "$as_me: failed program was:" >&5
24283 sed 's/^/| /' conftest.
$ac_ext >&5
24285 ac_hi
=`expr '(' $ac_mid ')' - 1`
24286 if test $ac_mid -le $ac_hi; then
24290 ac_mid
=`expr 2 '*' $ac_mid`
24293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24296 echo "$as_me: failed program was:" >&5
24297 sed 's/^/| /' conftest.
$ac_ext >&5
24302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24306 # Binary search between lo and hi bounds.
24307 while test "x$ac_lo" != "x$ac_hi"; do
24308 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24309 cat >conftest.
$ac_ext <<_ACEOF
24312 cat confdefs.h
>>conftest.
$ac_ext
24313 cat >>conftest.
$ac_ext <<_ACEOF
24314 /* end confdefs.h. */
24315 $ac_includes_default
24316 typedef long long ac__type_sizeof_;
24320 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24327 rm -f conftest.
$ac_objext
24328 if { (ac_try
="$ac_compile"
24329 case "(($ac_try" in
24330 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24331 *) ac_try_echo=$ac_try;;
24333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24334 (eval "$ac_compile") 2>conftest.er1
24336 grep -v '^ *+' conftest.er1 >conftest.err
24338 cat conftest.err >&5
24339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24340 (exit $ac_status); } && {
24341 test -z "$ac_c_werror_flag" ||
24342 test ! -s conftest.err
24343 } && test -s conftest.$ac_objext; then
24346 echo "$as_me: failed program was:" >&5
24347 sed 's/^/| /' conftest.$ac_ext >&5
24349 ac_lo=`expr '(' $ac_mid ')' + 1`
24352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24355 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24356 '') if test "$ac_cv_type_long_long" = yes; then
24357 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24358 See \`config.log
' for more details." >&5
24359 echo "$as_me: error: cannot compute sizeof (long long)
24360 See \`config.log' for more details.
" >&2;}
24361 { (exit 77); exit 77; }; }
24363 ac_cv_sizeof_long_long=0
24367 cat >conftest.$ac_ext <<_ACEOF
24370 cat confdefs.h >>conftest.$ac_ext
24371 cat >>conftest.$ac_ext <<_ACEOF
24372 /* end confdefs.h. */
24373 $ac_includes_default
24374 typedef long long ac__type_sizeof_;
24375 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24376 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24378 #include <stdlib.h>
24383 FILE *f = fopen ("conftest.val
", "w
");
24386 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24388 long int i = longval ();
24389 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24391 fprintf (f, "%ld
\n", i);
24395 unsigned long int i = ulongval ();
24396 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24398 fprintf (f, "%lu
\n", i);
24400 return ferror (f) || fclose (f) != 0;
24406 rm -f conftest$ac_exeext
24407 if { (ac_try="$ac_link"
24408 case "(($ac_try" in
24409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24410 *) ac_try_echo=$ac_try;;
24412 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24413 (eval "$ac_link") 2>&5
24415 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24416 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24417 { (case "(($ac_try" in
24418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24419 *) ac_try_echo=$ac_try;;
24421 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24422 (eval "$ac_try") 2>&5
24424 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24425 (exit $ac_status); }; }; then
24426 ac_cv_sizeof_long_long=`cat conftest.val`
24428 echo "$as_me: program exited with status
$ac_status" >&5
24429 echo "$as_me: failed program was
:" >&5
24430 sed 's/^/| /' conftest.$ac_ext >&5
24432 ( exit $ac_status )
24433 if test "$ac_cv_type_long_long" = yes; then
24434 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24435 See \
`config.log' for more details." >&5
24436 echo "$as_me: error: cannot compute sizeof (long long)
24437 See \`config.log
' for more details." >&2;}
24438 { (exit 77); exit 77; }; }
24440 ac_cv_sizeof_long_long=0
24443 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24447 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24448 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24452 cat >>confdefs.h <<_ACEOF
24453 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24457 if test "$ac_cv_sizeof_long_long" != "0"; then
24458 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24462 { echo "$as_me:$LINENO: checking for long long" >&5
24463 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24464 if test "${ac_cv_type_long_long+set}" = set; then
24465 echo $ECHO_N "(cached) $ECHO_C" >&6
24467 cat >conftest.$ac_ext <<_ACEOF
24470 cat confdefs.h >>conftest.$ac_ext
24471 cat >>conftest.$ac_ext <<_ACEOF
24472 /* end confdefs.h. */
24473 $ac_includes_default
24474 typedef long long ac__type_new_;
24478 if ((ac__type_new_ *) 0)
24480 if (sizeof (ac__type_new_))
24486 rm -f conftest.$ac_objext
24487 if { (ac_try="$ac_compile"
24488 case "(($ac_try" in
24489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24490 *) ac_try_echo=$ac_try;;
24492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24493 (eval "$ac_compile") 2>conftest.er1
24495 grep -v '^
*+' conftest.er1 >conftest.err
24497 cat conftest.err >&5
24498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24499 (exit $ac_status); } && {
24500 test -z "$ac_c_werror_flag" ||
24501 test ! -s conftest.err
24502 } && test -s conftest.$ac_objext; then
24503 ac_cv_type_long_long=yes
24505 echo "$as_me: failed program was:" >&5
24506 sed 's
/^
/| /' conftest.$ac_ext >&5
24508 ac_cv_type_long_long=no
24511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24513 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24514 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24516 # The cast to long int works around a bug in the HP C Compiler
24517 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24518 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24519 # This bug is HP SR number 8606223364.
24520 { echo "$as_me:$LINENO: checking size of long long" >&5
24521 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24522 if test "${ac_cv_sizeof_long_long+set}" = set; then
24523 echo $ECHO_N "(cached) $ECHO_C" >&6
24525 if test "$cross_compiling" = yes; then
24526 # Depending upon the size, compute the lo and hi bounds.
24527 cat >conftest.
$ac_ext <<_ACEOF
24530 cat confdefs.h
>>conftest.
$ac_ext
24531 cat >>conftest.
$ac_ext <<_ACEOF
24532 /* end confdefs.h. */
24533 $ac_includes_default
24534 typedef long long ac__type_sizeof_;
24538 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24545 rm -f conftest.
$ac_objext
24546 if { (ac_try
="$ac_compile"
24547 case "(($ac_try" in
24548 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24549 *) ac_try_echo=$ac_try;;
24551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24552 (eval "$ac_compile") 2>conftest.er1
24554 grep -v '^ *+' conftest.er1 >conftest.err
24556 cat conftest.err >&5
24557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24558 (exit $ac_status); } && {
24559 test -z "$ac_c_werror_flag" ||
24560 test ! -s conftest.err
24561 } && test -s conftest.$ac_objext; then
24564 cat >conftest.$ac_ext <<_ACEOF
24567 cat confdefs.h >>conftest.$ac_ext
24568 cat >>conftest.$ac_ext <<_ACEOF
24569 /* end confdefs.h. */
24570 $ac_includes_default
24571 typedef long long ac__type_sizeof_;
24575 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24582 rm -f conftest.$ac_objext
24583 if { (ac_try="$ac_compile"
24584 case "(($ac_try" in
24585 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24586 *) ac_try_echo
=$ac_try;;
24588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24589 (eval "$ac_compile") 2>conftest.er1
24591 grep -v '^ *+' conftest.er1
>conftest.err
24593 cat conftest.err
>&5
24594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24595 (exit $ac_status); } && {
24596 test -z "$ac_c_werror_flag" ||
24597 test ! -s conftest.err
24598 } && test -s conftest.
$ac_objext; then
24599 ac_hi
=$ac_mid; break
24601 echo "$as_me: failed program was:" >&5
24602 sed 's/^/| /' conftest.
$ac_ext >&5
24604 ac_lo
=`expr $ac_mid + 1`
24605 if test $ac_lo -le $ac_mid; then
24609 ac_mid
=`expr 2 '*' $ac_mid + 1`
24612 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24615 echo "$as_me: failed program was:" >&5
24616 sed 's/^/| /' conftest.
$ac_ext >&5
24618 cat >conftest.
$ac_ext <<_ACEOF
24621 cat confdefs.h
>>conftest.
$ac_ext
24622 cat >>conftest.
$ac_ext <<_ACEOF
24623 /* end confdefs.h. */
24624 $ac_includes_default
24625 typedef long long ac__type_sizeof_;
24629 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24636 rm -f conftest.
$ac_objext
24637 if { (ac_try
="$ac_compile"
24638 case "(($ac_try" in
24639 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24640 *) ac_try_echo=$ac_try;;
24642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24643 (eval "$ac_compile") 2>conftest.er1
24645 grep -v '^ *+' conftest.er1 >conftest.err
24647 cat conftest.err >&5
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); } && {
24650 test -z "$ac_c_werror_flag" ||
24651 test ! -s conftest.err
24652 } && test -s conftest.$ac_objext; then
24655 cat >conftest.$ac_ext <<_ACEOF
24658 cat confdefs.h >>conftest.$ac_ext
24659 cat >>conftest.$ac_ext <<_ACEOF
24660 /* end confdefs.h. */
24661 $ac_includes_default
24662 typedef long long ac__type_sizeof_;
24666 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24673 rm -f conftest.$ac_objext
24674 if { (ac_try="$ac_compile"
24675 case "(($ac_try" in
24676 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24677 *) ac_try_echo
=$ac_try;;
24679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24680 (eval "$ac_compile") 2>conftest.er1
24682 grep -v '^ *+' conftest.er1
>conftest.err
24684 cat conftest.err
>&5
24685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686 (exit $ac_status); } && {
24687 test -z "$ac_c_werror_flag" ||
24688 test ! -s conftest.err
24689 } && test -s conftest.
$ac_objext; then
24690 ac_lo
=$ac_mid; break
24692 echo "$as_me: failed program was:" >&5
24693 sed 's/^/| /' conftest.
$ac_ext >&5
24695 ac_hi
=`expr '(' $ac_mid ')' - 1`
24696 if test $ac_mid -le $ac_hi; then
24700 ac_mid
=`expr 2 '*' $ac_mid`
24703 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24706 echo "$as_me: failed program was:" >&5
24707 sed 's/^/| /' conftest.
$ac_ext >&5
24712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24716 # Binary search between lo and hi bounds.
24717 while test "x$ac_lo" != "x$ac_hi"; do
24718 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24719 cat >conftest.
$ac_ext <<_ACEOF
24722 cat confdefs.h
>>conftest.
$ac_ext
24723 cat >>conftest.
$ac_ext <<_ACEOF
24724 /* end confdefs.h. */
24725 $ac_includes_default
24726 typedef long long ac__type_sizeof_;
24730 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24737 rm -f conftest.
$ac_objext
24738 if { (ac_try
="$ac_compile"
24739 case "(($ac_try" in
24740 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24741 *) ac_try_echo=$ac_try;;
24743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24744 (eval "$ac_compile") 2>conftest.er1
24746 grep -v '^ *+' conftest.er1 >conftest.err
24748 cat conftest.err >&5
24749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24750 (exit $ac_status); } && {
24751 test -z "$ac_c_werror_flag" ||
24752 test ! -s conftest.err
24753 } && test -s conftest.$ac_objext; then
24756 echo "$as_me: failed program was:" >&5
24757 sed 's/^/| /' conftest.$ac_ext >&5
24759 ac_lo=`expr '(' $ac_mid ')' + 1`
24762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24765 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24766 '') if test "$ac_cv_type_long_long" = yes; then
24767 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24768 See \`config.log
' for more details." >&5
24769 echo "$as_me: error: cannot compute sizeof (long long)
24770 See \`config.log' for more details.
" >&2;}
24771 { (exit 77); exit 77; }; }
24773 ac_cv_sizeof_long_long=0
24777 cat >conftest.$ac_ext <<_ACEOF
24780 cat confdefs.h >>conftest.$ac_ext
24781 cat >>conftest.$ac_ext <<_ACEOF
24782 /* end confdefs.h. */
24783 $ac_includes_default
24784 typedef long long ac__type_sizeof_;
24785 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24786 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24788 #include <stdlib.h>
24793 FILE *f = fopen ("conftest.val
", "w
");
24796 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24798 long int i = longval ();
24799 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24801 fprintf (f, "%ld
\n", i);
24805 unsigned long int i = ulongval ();
24806 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24808 fprintf (f, "%lu
\n", i);
24810 return ferror (f) || fclose (f) != 0;
24816 rm -f conftest$ac_exeext
24817 if { (ac_try="$ac_link"
24818 case "(($ac_try" in
24819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24820 *) ac_try_echo=$ac_try;;
24822 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24823 (eval "$ac_link") 2>&5
24825 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24826 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24827 { (case "(($ac_try" in
24828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24829 *) ac_try_echo=$ac_try;;
24831 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24832 (eval "$ac_try") 2>&5
24834 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24835 (exit $ac_status); }; }; then
24836 ac_cv_sizeof_long_long=`cat conftest.val`
24838 echo "$as_me: program exited with status
$ac_status" >&5
24839 echo "$as_me: failed program was
:" >&5
24840 sed 's/^/| /' conftest.$ac_ext >&5
24842 ( exit $ac_status )
24843 if test "$ac_cv_type_long_long" = yes; then
24844 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24845 See \
`config.log' for more details." >&5
24846 echo "$as_me: error: cannot compute sizeof (long long)
24847 See \`config.log
' for more details." >&2;}
24848 { (exit 77); exit 77; }; }
24850 ac_cv_sizeof_long_long=0
24853 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24857 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24858 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24862 cat >>confdefs.h <<_ACEOF
24863 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24869 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24870 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24871 if test "${ac_cv_type_wchar_t+set}" = set; then
24872 echo $ECHO_N "(cached) $ECHO_C" >&6
24874 cat >conftest.$ac_ext <<_ACEOF
24877 cat confdefs.h >>conftest.$ac_ext
24878 cat >>conftest.$ac_ext <<_ACEOF
24879 /* end confdefs.h. */
24881 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
24882 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24883 # error "fake wchar_t"
24885 #ifdef HAVE_WCHAR_H
24887 # include <stddef.h>
24889 # include <wchar.h>
24891 #ifdef HAVE_STDLIB_H
24892 # include <stdlib.h>
24898 typedef wchar_t ac__type_new_
;
24902 if ((ac__type_new_
*) 0)
24904 if (sizeof
(ac__type_new_
))
24910 rm -f conftest.
$ac_objext
24911 if { (ac_try
="$ac_compile"
24912 case "(($ac_try" in
24913 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24914 *) ac_try_echo=$ac_try;;
24916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24917 (eval "$ac_compile") 2>conftest.er1
24919 grep -v '^ *+' conftest.er1 >conftest.err
24921 cat conftest.err >&5
24922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24923 (exit $ac_status); } && {
24924 test -z "$ac_c_werror_flag" ||
24925 test ! -s conftest.err
24926 } && test -s conftest.$ac_objext; then
24927 ac_cv_type_wchar_t=yes
24929 echo "$as_me: failed program was:" >&5
24930 sed 's/^/| /' conftest.$ac_ext >&5
24932 ac_cv_type_wchar_t=no
24935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24937 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24938 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24940 # The cast to long int works around a bug in the HP C Compiler
24941 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24942 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
24943 # This bug is HP SR number 8606223364.
24944 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24945 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24946 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24947 echo $ECHO_N "(cached) $ECHO_C" >&6
24949 if test "$cross_compiling" = yes; then
24950 # Depending upon the size, compute the lo and hi bounds.
24951 cat >conftest.$ac_ext <<_ACEOF
24954 cat confdefs.h >>conftest.$ac_ext
24955 cat >>conftest.$ac_ext <<_ACEOF
24956 /* end confdefs.h. */
24958 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
24959 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24960 # error "fake wchar_t"
24962 #ifdef HAVE_WCHAR_H
24964 # include <stddef.h>
24966 # include <wchar.h>
24968 #ifdef HAVE_STDLIB_H
24969 # include <stdlib.h>
24975 typedef wchar_t ac__type_sizeof_
;
24979 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
24986 rm -f conftest.
$ac_objext
24987 if { (ac_try
="$ac_compile"
24988 case "(($ac_try" in
24989 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24990 *) ac_try_echo=$ac_try;;
24992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24993 (eval "$ac_compile") 2>conftest.er1
24995 grep -v '^ *+' conftest.er1 >conftest.err
24997 cat conftest.err >&5
24998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24999 (exit $ac_status); } && {
25000 test -z "$ac_c_werror_flag" ||
25001 test ! -s conftest.err
25002 } && test -s conftest.$ac_objext; then
25005 cat >conftest.$ac_ext <<_ACEOF
25008 cat confdefs.h >>conftest.$ac_ext
25009 cat >>conftest.$ac_ext <<_ACEOF
25010 /* end confdefs.h. */
25012 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25013 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25014 # error "fake wchar_t"
25016 #ifdef HAVE_WCHAR_H
25018 # include <stddef.h>
25020 # include <wchar.h>
25022 #ifdef HAVE_STDLIB_H
25023 # include <stdlib.h>
25029 typedef wchar_t ac__type_sizeof_;
25033 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25040 rm -f conftest.$ac_objext
25041 if { (ac_try="$ac_compile"
25042 case "(($ac_try" in
25043 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25044 *) ac_try_echo
=$ac_try;;
25046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25047 (eval "$ac_compile") 2>conftest.er1
25049 grep -v '^ *+' conftest.er1
>conftest.err
25051 cat conftest.err
>&5
25052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25053 (exit $ac_status); } && {
25054 test -z "$ac_c_werror_flag" ||
25055 test ! -s conftest.err
25056 } && test -s conftest.
$ac_objext; then
25057 ac_hi
=$ac_mid; break
25059 echo "$as_me: failed program was:" >&5
25060 sed 's/^/| /' conftest.
$ac_ext >&5
25062 ac_lo
=`expr $ac_mid + 1`
25063 if test $ac_lo -le $ac_mid; then
25067 ac_mid
=`expr 2 '*' $ac_mid + 1`
25070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25073 echo "$as_me: failed program was:" >&5
25074 sed 's/^/| /' conftest.
$ac_ext >&5
25076 cat >conftest.
$ac_ext <<_ACEOF
25079 cat confdefs.h
>>conftest.
$ac_ext
25080 cat >>conftest.
$ac_ext <<_ACEOF
25081 /* end confdefs.h. */
25083 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25084 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25085 # error "fake wchar_t"
25087 #ifdef HAVE_WCHAR_H
25089 # include <stddef.h>
25091 # include <wchar.h>
25093 #ifdef HAVE_STDLIB_H
25094 # include <stdlib.h>
25100 typedef wchar_t ac__type_sizeof_;
25104 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25111 rm -f conftest.
$ac_objext
25112 if { (ac_try
="$ac_compile"
25113 case "(($ac_try" in
25114 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25115 *) ac_try_echo=$ac_try;;
25117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25118 (eval "$ac_compile") 2>conftest.er1
25120 grep -v '^ *+' conftest.er1 >conftest.err
25122 cat conftest.err >&5
25123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25124 (exit $ac_status); } && {
25125 test -z "$ac_c_werror_flag" ||
25126 test ! -s conftest.err
25127 } && test -s conftest.$ac_objext; then
25130 cat >conftest.$ac_ext <<_ACEOF
25133 cat confdefs.h >>conftest.$ac_ext
25134 cat >>conftest.$ac_ext <<_ACEOF
25135 /* end confdefs.h. */
25137 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25138 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25139 # error "fake wchar_t"
25141 #ifdef HAVE_WCHAR_H
25143 # include <stddef.h>
25145 # include <wchar.h>
25147 #ifdef HAVE_STDLIB_H
25148 # include <stdlib.h>
25154 typedef wchar_t ac__type_sizeof_;
25158 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25165 rm -f conftest.$ac_objext
25166 if { (ac_try="$ac_compile"
25167 case "(($ac_try" in
25168 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25169 *) ac_try_echo
=$ac_try;;
25171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25172 (eval "$ac_compile") 2>conftest.er1
25174 grep -v '^ *+' conftest.er1
>conftest.err
25176 cat conftest.err
>&5
25177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25178 (exit $ac_status); } && {
25179 test -z "$ac_c_werror_flag" ||
25180 test ! -s conftest.err
25181 } && test -s conftest.
$ac_objext; then
25182 ac_lo
=$ac_mid; break
25184 echo "$as_me: failed program was:" >&5
25185 sed 's/^/| /' conftest.
$ac_ext >&5
25187 ac_hi
=`expr '(' $ac_mid ')' - 1`
25188 if test $ac_mid -le $ac_hi; then
25192 ac_mid
=`expr 2 '*' $ac_mid`
25195 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25198 echo "$as_me: failed program was:" >&5
25199 sed 's/^/| /' conftest.
$ac_ext >&5
25204 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25208 # Binary search between lo and hi bounds.
25209 while test "x$ac_lo" != "x$ac_hi"; do
25210 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25211 cat >conftest.
$ac_ext <<_ACEOF
25214 cat confdefs.h
>>conftest.
$ac_ext
25215 cat >>conftest.
$ac_ext <<_ACEOF
25216 /* end confdefs.h. */
25218 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25219 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25220 # error "fake wchar_t"
25222 #ifdef HAVE_WCHAR_H
25224 # include <stddef.h>
25226 # include <wchar.h>
25228 #ifdef HAVE_STDLIB_H
25229 # include <stdlib.h>
25235 typedef wchar_t ac__type_sizeof_;
25239 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25246 rm -f conftest.
$ac_objext
25247 if { (ac_try
="$ac_compile"
25248 case "(($ac_try" in
25249 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25250 *) ac_try_echo=$ac_try;;
25252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25253 (eval "$ac_compile") 2>conftest.er1
25255 grep -v '^ *+' conftest.er1 >conftest.err
25257 cat conftest.err >&5
25258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25259 (exit $ac_status); } && {
25260 test -z "$ac_c_werror_flag" ||
25261 test ! -s conftest.err
25262 } && test -s conftest.$ac_objext; then
25265 echo "$as_me: failed program was:" >&5
25266 sed 's/^/| /' conftest.$ac_ext >&5
25268 ac_lo=`expr '(' $ac_mid ')' + 1`
25271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25274 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25275 '') if test "$ac_cv_type_wchar_t" = yes; then
25276 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25277 See \`config.log
' for more details." >&5
25278 echo "$as_me: error: cannot compute sizeof (wchar_t)
25279 See \`config.log' for more details.
" >&2;}
25280 { (exit 77); exit 77; }; }
25282 ac_cv_sizeof_wchar_t=0
25286 cat >conftest.$ac_ext <<_ACEOF
25289 cat confdefs.h >>conftest.$ac_ext
25290 cat >>conftest.$ac_ext <<_ACEOF
25291 /* end confdefs.h. */
25293 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25294 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25295 # error "fake wchar_t
"
25297 #ifdef HAVE_WCHAR_H
25299 # include <stddef.h>
25301 # include <wchar.h>
25303 #ifdef HAVE_STDLIB_H
25304 # include <stdlib.h>
25310 typedef wchar_t ac__type_sizeof_;
25311 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25312 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25314 #include <stdlib.h>
25319 FILE *f = fopen ("conftest.val
", "w
");
25322 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25324 long int i = longval ();
25325 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25327 fprintf (f, "%ld
\n", i);
25331 unsigned long int i = ulongval ();
25332 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25334 fprintf (f, "%lu
\n", i);
25336 return ferror (f) || fclose (f) != 0;
25342 rm -f conftest$ac_exeext
25343 if { (ac_try="$ac_link"
25344 case "(($ac_try" in
25345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25346 *) ac_try_echo=$ac_try;;
25348 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25349 (eval "$ac_link") 2>&5
25351 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25352 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25353 { (case "(($ac_try" in
25354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25355 *) ac_try_echo=$ac_try;;
25357 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25358 (eval "$ac_try") 2>&5
25360 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25361 (exit $ac_status); }; }; then
25362 ac_cv_sizeof_wchar_t=`cat conftest.val`
25364 echo "$as_me: program exited with status
$ac_status" >&5
25365 echo "$as_me: failed program was
:" >&5
25366 sed 's/^/| /' conftest.$ac_ext >&5
25368 ( exit $ac_status )
25369 if test "$ac_cv_type_wchar_t" = yes; then
25370 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
25371 See \
`config.log' for more details." >&5
25372 echo "$as_me: error: cannot compute sizeof (wchar_t)
25373 See \`config.log
' for more details." >&2;}
25374 { (exit 77); exit 77; }; }
25376 ac_cv_sizeof_wchar_t=0
25379 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25383 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25384 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25388 cat >>confdefs.h <<_ACEOF
25389 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25393 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25399 { echo "$as_me:$LINENO: checking for va_copy" >&5
25400 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25401 if test "${wx_cv_func_va_copy+set}" = set; then
25402 echo $ECHO_N "(cached) $ECHO_C" >&6
25406 ac_cpp='$CXXCPP $CPPFLAGS'
25407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25408 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25411 cat >conftest.$ac_ext <<_ACEOF
25413 #include <stdarg.h>
25414 void foo(char *f, ...)
25428 rm -f conftest.$ac_objext conftest$ac_exeext
25429 if { (ac_try="$ac_link"
25430 case "(($ac_try" in
25431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25432 *) ac_try_echo=$ac_try;;
25434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25435 (eval "$ac_link") 2>conftest.er1
25437 grep -v '^
*+' conftest.er1 >conftest.err
25439 cat conftest.err >&5
25440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25441 (exit $ac_status); } && {
25442 test -z "$ac_cxx_werror_flag" ||
25443 test ! -s conftest.err
25444 } && test -s conftest$ac_exeext &&
25445 $as_test_x conftest$ac_exeext; then
25446 wx_cv_func_va_copy=yes
25448 echo "$as_me: failed program was:" >&5
25449 sed 's
/^
/| /' conftest.$ac_ext >&5
25451 wx_cv_func_va_copy=no
25455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25456 conftest$ac_exeext conftest.$ac_ext
25458 ac_cpp='$CPP $CPPFLAGS'
25459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25460 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25466 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25467 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25469 if test $wx_cv_func_va_copy = "yes"; then
25470 cat >>confdefs.h <<\_ACEOF
25471 #define HAVE_VA_COPY 1
25475 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25476 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25477 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25478 echo $ECHO_N "(cached) $ECHO_C" >&6
25481 if test "$cross_compiling" = yes; then
25482 wx_cv_type_va_list_lvalue=yes
25485 cat >conftest.$ac_ext <<_ACEOF
25487 #include <stdarg.h>
25488 int foo(char *f, ...)
25493 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25501 return foo("hi", 17);
25504 rm -f conftest$ac_exeext
25505 if { (ac_try="$ac_link"
25506 case "(($ac_try" in
25507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25508 *) ac_try_echo=$ac_try;;
25510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25511 (eval "$ac_link") 2>&5
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25515 { (case "(($ac_try" in
25516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25517 *) ac_try_echo=$ac_try;;
25519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25520 (eval "$ac_try") 2>&5
25522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25523 (exit $ac_status); }; }; then
25524 wx_cv_type_va_list_lvalue=yes
25526 echo "$as_me: program exited with status $ac_status" >&5
25527 echo "$as_me: failed program was:" >&5
25528 sed 's
/^
/| /' conftest.$ac_ext >&5
25530 ( exit $ac_status )
25531 wx_cv_type_va_list_lvalue=no
25533 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25540 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25541 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25543 if test $wx_cv_type_va_list_lvalue != "yes"; then
25544 cat >>confdefs.h <<\_ACEOF
25545 #define VA_LIST_IS_ARRAY 1
25551 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25553 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25554 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25555 if test "${wx_cv_have_variadic_macros+set}" = set; then
25556 echo $ECHO_N "(cached) $ECHO_C" >&6
25560 ac_cpp='$CXXCPP $CPPFLAGS'
25561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25562 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25565 cat >conftest.$ac_ext <<_ACEOF
25568 cat confdefs.h >>conftest.$ac_ext
25569 cat >>conftest.$ac_ext <<_ACEOF
25570 /* end confdefs.h. */
25573 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25579 test("%s %d %p", "test", 1, 0);
25586 rm -f conftest.$ac_objext
25587 if { (ac_try="$ac_compile"
25588 case "(($ac_try" in
25589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25590 *) ac_try_echo=$ac_try;;
25592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25593 (eval "$ac_compile") 2>conftest.er1
25595 grep -v '^
*+' conftest.er1 >conftest.err
25597 cat conftest.err >&5
25598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25599 (exit $ac_status); } && {
25600 test -z "$ac_cxx_werror_flag" ||
25601 test ! -s conftest.err
25602 } && test -s conftest.$ac_objext; then
25603 wx_cv_have_variadic_macros=yes
25605 echo "$as_me: failed program was:" >&5
25606 sed 's
/^
/| /' conftest.$ac_ext >&5
25608 wx_cv_have_variadic_macros=no
25612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25614 ac_cpp='$CPP $CPPFLAGS'
25615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25616 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25622 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25623 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25625 if test $wx_cv_have_variadic_macros = "yes"; then
25626 cat >>confdefs.h <<\_ACEOF
25627 #define HAVE_VARIADIC_MACROS 1
25633 # Check whether --enable-largefile was given.
25634 if test "${enable_largefile+set}" = set; then
25635 enableval=$enable_largefile;
25638 if test "$enable_largefile" != no; then
25641 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25642 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25643 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25644 echo $ECHO_N "(cached) $ECHO_C" >&6
25647 cat >conftest.$ac_ext <<_ACEOF
25650 cat confdefs.h >>conftest.$ac_ext
25651 cat >>conftest.$ac_ext <<_ACEOF
25652 /* end confdefs.h. */
25653 #define _FILE_OFFSET_BITS 64
25654 #include <sys/types.h>
25659 unsigned int field: sizeof(off_t) == 8;
25666 rm -f conftest.$ac_objext
25667 if { (ac_try="$ac_compile"
25668 case "(($ac_try" in
25669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25670 *) ac_try_echo=$ac_try;;
25672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25673 (eval "$ac_compile") 2>conftest.er1
25675 grep -v '^
*+' conftest.er1 >conftest.err
25677 cat conftest.err >&5
25678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25679 (exit $ac_status); } && {
25680 test -z "$ac_c_werror_flag" ||
25681 test ! -s conftest.err
25682 } && test -s conftest.$ac_objext; then
25683 ac_cv_sys_file_offset_bits=64
25685 echo "$as_me: failed program was:" >&5
25686 sed 's
/^
/| /' conftest.$ac_ext >&5
25688 ac_cv_sys_file_offset_bits=no
25691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25695 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25696 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25698 if test "$ac_cv_sys_file_offset_bits" != no; then
25700 cat >>confdefs.h <<_ACEOF
25701 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25706 if test "x$wx_largefile" != "xyes"; then
25708 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25709 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25710 if test "${ac_cv_sys_large_files+set}" = set; then
25711 echo $ECHO_N "(cached) $ECHO_C" >&6
25714 cat >conftest.$ac_ext <<_ACEOF
25717 cat confdefs.h >>conftest.$ac_ext
25718 cat >>conftest.$ac_ext <<_ACEOF
25719 /* end confdefs.h. */
25720 #define _LARGE_FILES 1
25721 #include <sys/types.h>
25726 unsigned int field: sizeof(off_t) == 8;
25733 rm -f conftest.$ac_objext
25734 if { (ac_try="$ac_compile"
25735 case "(($ac_try" in
25736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25737 *) ac_try_echo=$ac_try;;
25739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25740 (eval "$ac_compile") 2>conftest.er1
25742 grep -v '^
*+' conftest.er1 >conftest.err
25744 cat conftest.err >&5
25745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25746 (exit $ac_status); } && {
25747 test -z "$ac_c_werror_flag" ||
25748 test ! -s conftest.err
25749 } && test -s conftest.$ac_objext; then
25750 ac_cv_sys_large_files=1
25752 echo "$as_me: failed program was:" >&5
25753 sed 's
/^
/| /' conftest.$ac_ext >&5
25755 ac_cv_sys_large_files=no
25758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25762 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25763 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25765 if test "$ac_cv_sys_large_files" != no; then
25767 cat >>confdefs.h <<_ACEOF
25768 #define _LARGE_FILES $ac_cv_sys_large_files
25775 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25776 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25777 if test "x$wx_largefile" = "xyes"; then
25778 cat >>confdefs.h <<\_ACEOF
25779 #define HAVE_LARGEFILE_SUPPORT 1
25783 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25784 echo "${ECHO_T}$wx_largefile" >&6; }
25788 if test "x$wx_largefile" = "xyes"; then
25789 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25790 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25792 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25793 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25794 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25795 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25796 echo $ECHO_N "(cached) $ECHO_C" >&6
25800 ac_cpp='$CXXCPP $CPPFLAGS'
25801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25802 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25805 cat >conftest.$ac_ext <<_ACEOF
25808 cat confdefs.h >>conftest.$ac_ext
25809 cat >>conftest.$ac_ext <<_ACEOF
25810 /* end confdefs.h. */
25816 #ifndef __STDC_EXT__
25824 rm -f conftest.$ac_objext
25825 if { (ac_try="$ac_compile"
25826 case "(($ac_try" in
25827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25828 *) ac_try_echo=$ac_try;;
25830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25831 (eval "$ac_compile") 2>conftest.er1
25833 grep -v '^
*+' conftest.er1 >conftest.err
25835 cat conftest.err >&5
25836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25837 (exit $ac_status); } && {
25838 test -z "$ac_cxx_werror_flag" ||
25839 test ! -s conftest.err
25840 } && test -s conftest.$ac_objext; then
25841 wx_cv_STDC_EXT_required=no
25843 echo "$as_me: failed program was:" >&5
25844 sed 's
/^
/| /' conftest.$ac_ext >&5
25846 wx_cv_STDC_EXT_required=yes
25850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25852 ac_cpp='$CPP $CPPFLAGS'
25853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25854 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25860 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25861 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25862 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25863 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25867 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25869 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25870 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25871 if test "${ac_cv_sys_largefile_source+set}" = set; then
25872 echo $ECHO_N "(cached) $ECHO_C" >&6
25875 cat >conftest.$ac_ext <<_ACEOF
25878 cat confdefs.h >>conftest.$ac_ext
25879 cat >>conftest.$ac_ext <<_ACEOF
25880 /* end confdefs.h. */
25881 #include <sys/types.h> /* for off_t */
25886 int (*fp) (FILE *, off_t, int) = fseeko;
25887 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25892 rm -f conftest.$ac_objext conftest$ac_exeext
25893 if { (ac_try="$ac_link"
25894 case "(($ac_try" in
25895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25896 *) ac_try_echo=$ac_try;;
25898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25899 (eval "$ac_link") 2>conftest.er1
25901 grep -v '^
*+' conftest.er1 >conftest.err
25903 cat conftest.err >&5
25904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25905 (exit $ac_status); } && {
25906 test -z "$ac_c_werror_flag" ||
25907 test ! -s conftest.err
25908 } && test -s conftest$ac_exeext &&
25909 $as_test_x conftest$ac_exeext; then
25910 ac_cv_sys_largefile_source=no; break
25912 echo "$as_me: failed program was:" >&5
25913 sed 's
/^
/| /' conftest.$ac_ext >&5
25918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25919 conftest$ac_exeext conftest.$ac_ext
25920 cat >conftest.$ac_ext <<_ACEOF
25923 cat confdefs.h >>conftest.$ac_ext
25924 cat >>conftest.$ac_ext <<_ACEOF
25925 /* end confdefs.h. */
25926 #define _LARGEFILE_SOURCE 1
25927 #include <sys/types.h> /* for off_t */
25932 int (*fp) (FILE *, off_t, int) = fseeko;
25933 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25938 rm -f conftest.$ac_objext conftest$ac_exeext
25939 if { (ac_try="$ac_link"
25940 case "(($ac_try" in
25941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25942 *) ac_try_echo=$ac_try;;
25944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25945 (eval "$ac_link") 2>conftest.er1
25947 grep -v '^
*+' conftest.er1 >conftest.err
25949 cat conftest.err >&5
25950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25951 (exit $ac_status); } && {
25952 test -z "$ac_c_werror_flag" ||
25953 test ! -s conftest.err
25954 } && test -s conftest$ac_exeext &&
25955 $as_test_x conftest$ac_exeext; then
25956 ac_cv_sys_largefile_source=1; break
25958 echo "$as_me: failed program was:" >&5
25959 sed 's
/^
/| /' conftest.$ac_ext >&5
25964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25965 conftest$ac_exeext conftest.$ac_ext
25966 ac_cv_sys_largefile_source=unknown
25970 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25971 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25972 case $ac_cv_sys_largefile_source in #(
25975 cat >>confdefs.h <<_ACEOF
25976 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25982 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25983 # in glibc 2.1.3, but that breaks too many other things.
25984 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25985 if test $ac_cv_sys_largefile_source != unknown; then
25987 cat >>confdefs.h <<\_ACEOF
25988 #define HAVE_FSEEKO 1
25993 if test "$ac_cv_sys_largefile_source" != no; then
25994 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25998 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25999 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26000 if test "${ac_cv_c_bigendian+set}" = set; then
26001 echo $ECHO_N "(cached) $ECHO_C" >&6
26003 ac_cv_c_bigendian=unknown
26004 # See if sys/param.h defines the BYTE_ORDER macro.
26005 cat >conftest.$ac_ext <<_ACEOF
26008 cat confdefs.h >>conftest.$ac_ext
26009 cat >>conftest.$ac_ext <<_ACEOF
26010 /* end confdefs.h. */
26011 #include <sys/types.h>
26012 #include <sys/param.h>
26017 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26018 bogus endian macros
26024 rm -f conftest.$ac_objext
26025 if { (ac_try="$ac_compile"
26026 case "(($ac_try" in
26027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26028 *) ac_try_echo=$ac_try;;
26030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26031 (eval "$ac_compile") 2>conftest.er1
26033 grep -v '^
*+' conftest.er1 >conftest.err
26035 cat conftest.err >&5
26036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26037 (exit $ac_status); } && {
26038 test -z "$ac_c_werror_flag" ||
26039 test ! -s conftest.err
26040 } && test -s conftest.$ac_objext; then
26041 # It does; now see whether it defined to BIG_ENDIAN or not.
26042 cat >conftest.$ac_ext <<_ACEOF
26045 cat confdefs.h >>conftest.$ac_ext
26046 cat >>conftest.$ac_ext <<_ACEOF
26047 /* end confdefs.h. */
26048 #include <sys/types.h>
26049 #include <sys/param.h>
26054 #if BYTE_ORDER != BIG_ENDIAN
26061 rm -f conftest.$ac_objext
26062 if { (ac_try="$ac_compile"
26063 case "(($ac_try" in
26064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26065 *) ac_try_echo=$ac_try;;
26067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26068 (eval "$ac_compile") 2>conftest.er1
26070 grep -v '^
*+' conftest.er1 >conftest.err
26072 cat conftest.err >&5
26073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26074 (exit $ac_status); } && {
26075 test -z "$ac_c_werror_flag" ||
26076 test ! -s conftest.err
26077 } && test -s conftest.$ac_objext; then
26078 ac_cv_c_bigendian=yes
26080 echo "$as_me: failed program was:" >&5
26081 sed 's
/^
/| /' conftest.$ac_ext >&5
26083 ac_cv_c_bigendian=no
26086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26088 echo "$as_me: failed program was:" >&5
26089 sed 's
/^
/| /' conftest.$ac_ext >&5
26094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26095 if test $ac_cv_c_bigendian = unknown; then
26096 if test "$cross_compiling" = yes; then
26097 ac_cv_c_bigendian=unknown
26099 cat >conftest.$ac_ext <<_ACEOF
26102 cat confdefs.h >>conftest.$ac_ext
26103 cat >>conftest.$ac_ext <<_ACEOF
26104 /* end confdefs.h. */
26106 /* Are we little or big endian? From Harbison&Steele. */
26110 char c[sizeof (long)];
26113 exit (u.c[sizeof (long) - 1] == 1);
26116 rm -f conftest$ac_exeext
26117 if { (ac_try="$ac_link"
26118 case "(($ac_try" in
26119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26120 *) ac_try_echo=$ac_try;;
26122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26123 (eval "$ac_link") 2>&5
26125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26126 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
26127 { (case "(($ac_try" in
26128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26129 *) ac_try_echo=$ac_try;;
26131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26132 (eval "$ac_try") 2>&5
26134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135 (exit $ac_status); }; }; then
26136 ac_cv_c_bigendian=no
26138 echo "$as_me: program exited with status $ac_status" >&5
26139 echo "$as_me: failed program was:" >&5
26140 sed 's
/^
/| /' conftest.$ac_ext >&5
26142 ( exit $ac_status )
26143 ac_cv_c_bigendian=yes
26145 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26151 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26152 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26153 if test $ac_cv_c_bigendian = unknown; then
26154 { 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
26155 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;}
26157 if test $ac_cv_c_bigendian = yes; then
26158 cat >>confdefs.h <<\_ACEOF
26159 #define WORDS_BIGENDIAN 1
26168 ac_cpp='$CXXCPP $CPPFLAGS'
26169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26170 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26175 for ac_header in iostream
26177 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26178 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26180 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26181 echo $ECHO_N "(cached) $ECHO_C" >&6
26183 cat >conftest.$ac_ext <<_ACEOF
26186 cat confdefs.h >>conftest.$ac_ext
26187 cat >>conftest.$ac_ext <<_ACEOF
26188 /* end confdefs.h. */
26191 #include <$ac_header>
26193 rm -f conftest.$ac_objext
26194 if { (ac_try="$ac_compile"
26195 case "(($ac_try" in
26196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26197 *) ac_try_echo=$ac_try;;
26199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26200 (eval "$ac_compile") 2>conftest.er1
26202 grep -v '^
*+' conftest.er1 >conftest.err
26204 cat conftest.err >&5
26205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26206 (exit $ac_status); } && {
26207 test -z "$ac_cxx_werror_flag" ||
26208 test ! -s conftest.err
26209 } && test -s conftest.$ac_objext; then
26210 eval "$as_ac_Header=yes"
26212 echo "$as_me: failed program was:" >&5
26213 sed 's
/^
/| /' conftest.$ac_ext >&5
26215 eval "$as_ac_Header=no"
26218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26220 ac_res=`eval echo '${'$as_ac_Header'}'`
26221 { echo "$as_me:$LINENO: result: $ac_res" >&5
26222 echo "${ECHO_T}$ac_res" >&6; }
26223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26224 cat >>confdefs.h <<_ACEOF
26225 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26233 if test "$ac_cv_header_iostream" = "yes" ; then
26236 cat >>confdefs.h <<\_ACEOF
26237 #define wxUSE_IOSTREAMH 1
26243 ac_cpp='$CPP $CPPFLAGS'
26244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26245 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26251 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26252 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26253 if test "${wx_cv_cpp_bool+set}" = set; then
26254 echo $ECHO_N "(cached) $ECHO_C" >&6
26259 ac_cpp='$CXXCPP $CPPFLAGS'
26260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26261 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26265 cat >conftest.$ac_ext <<_ACEOF
26268 cat confdefs.h >>conftest.$ac_ext
26269 cat >>conftest.$ac_ext <<_ACEOF
26270 /* end confdefs.h. */
26285 rm -f conftest.$ac_objext
26286 if { (ac_try="$ac_compile"
26287 case "(($ac_try" in
26288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26289 *) ac_try_echo=$ac_try;;
26291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26292 (eval "$ac_compile") 2>conftest.er1
26294 grep -v '^
*+' conftest.er1 >conftest.err
26296 cat conftest.err >&5
26297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26298 (exit $ac_status); } && {
26299 test -z "$ac_cxx_werror_flag" ||
26300 test ! -s conftest.err
26301 } && test -s conftest.$ac_objext; then
26306 echo "$as_me: failed program was:" >&5
26307 sed 's
/^
/| /' conftest.$ac_ext >&5
26315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26318 ac_cpp='$CPP $CPPFLAGS'
26319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26320 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26325 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26326 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26328 if test "$wx_cv_cpp_bool" = "yes"; then
26329 cat >>confdefs.h <<\_ACEOF
26330 #define HAVE_BOOL 1
26337 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26338 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26339 if test "${wx_cv_explicit+set}" = set; then
26340 echo $ECHO_N "(cached) $ECHO_C" >&6
26345 ac_cpp='$CXXCPP $CPPFLAGS'
26346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26347 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26351 cat >conftest.$ac_ext <<_ACEOF
26354 cat confdefs.h >>conftest.$ac_ext
26355 cat >>conftest.$ac_ext <<_ACEOF
26356 /* end confdefs.h. */
26358 class Foo { public: explicit Foo(int) {} };
26370 rm -f conftest.$ac_objext
26371 if { (ac_try="$ac_compile"
26372 case "(($ac_try" in
26373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26374 *) ac_try_echo=$ac_try;;
26376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26377 (eval "$ac_compile") 2>conftest.er1
26379 grep -v '^
*+' conftest.er1 >conftest.err
26381 cat conftest.err >&5
26382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26383 (exit $ac_status); } && {
26384 test -z "$ac_cxx_werror_flag" ||
26385 test ! -s conftest.err
26386 } && test -s conftest.$ac_objext; then
26388 cat >conftest.$ac_ext <<_ACEOF
26391 cat confdefs.h >>conftest.$ac_ext
26392 cat >>conftest.$ac_ext <<_ACEOF
26393 /* end confdefs.h. */
26395 class Foo { public: explicit Foo(int) {} };
26396 static void TakeFoo(const Foo& foo) { }
26409 rm -f conftest.$ac_objext
26410 if { (ac_try="$ac_compile"
26411 case "(($ac_try" in
26412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26413 *) ac_try_echo=$ac_try;;
26415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26416 (eval "$ac_compile") 2>conftest.er1
26418 grep -v '^
*+' conftest.er1 >conftest.err
26420 cat conftest.err >&5
26421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26422 (exit $ac_status); } && {
26423 test -z "$ac_cxx_werror_flag" ||
26424 test ! -s conftest.err
26425 } && test -s conftest.$ac_objext; then
26428 echo "$as_me: failed program was:" >&5
26429 sed 's
/^
/| /' conftest.$ac_ext >&5
26435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26438 echo "$as_me: failed program was:" >&5
26439 sed 's
/^
/| /' conftest.$ac_ext >&5
26445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26448 ac_cpp='$CPP $CPPFLAGS'
26449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26450 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26455 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26456 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26458 if test "$wx_cv_explicit" = "yes"; then
26459 cat >>confdefs.h <<\_ACEOF
26460 #define HAVE_EXPLICIT 1
26466 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26467 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26468 if test "${ac_cv_cxx_const_cast+set}" = set; then
26469 echo $ECHO_N "(cached) $ECHO_C" >&6
26473 ac_cpp='$CXXCPP $CPPFLAGS'
26474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26475 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26478 cat >conftest.$ac_ext <<_ACEOF
26481 cat confdefs.h >>conftest.$ac_ext
26482 cat >>conftest.$ac_ext <<_ACEOF
26483 /* end confdefs.h. */
26488 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26493 rm -f conftest.$ac_objext
26494 if { (ac_try="$ac_compile"
26495 case "(($ac_try" in
26496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26497 *) ac_try_echo=$ac_try;;
26499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26500 (eval "$ac_compile") 2>conftest.er1
26502 grep -v '^
*+' conftest.er1 >conftest.err
26504 cat conftest.err >&5
26505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26506 (exit $ac_status); } && {
26507 test -z "$ac_cxx_werror_flag" ||
26508 test ! -s conftest.err
26509 } && test -s conftest.$ac_objext; then
26510 ac_cv_cxx_const_cast=yes
26512 echo "$as_me: failed program was:" >&5
26513 sed 's
/^
/| /' conftest.$ac_ext >&5
26515 ac_cv_cxx_const_cast=no
26518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26520 ac_cpp='$CPP $CPPFLAGS'
26521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26522 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26527 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26528 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26529 if test "$ac_cv_cxx_const_cast" = yes; then
26531 cat >>confdefs.h <<\_ACEOF
26532 #define HAVE_CONST_CAST
26537 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26538 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26539 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26540 echo $ECHO_N "(cached) $ECHO_C" >&6
26544 ac_cpp='$CXXCPP $CPPFLAGS'
26545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26546 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26549 cat >conftest.$ac_ext <<_ACEOF
26552 cat confdefs.h >>conftest.$ac_ext
26553 cat >>conftest.$ac_ext <<_ACEOF
26554 /* end confdefs.h. */
26555 #include <typeinfo>
26556 class Base { public : Base () {} virtual void f () = 0;};
26557 class Derived : public Base { public : Derived () {} virtual void f () {} };
26558 class Unrelated { public : Unrelated () {} };
26559 int g (Unrelated&) { return 0; }
26564 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26569 rm -f conftest.$ac_objext
26570 if { (ac_try="$ac_compile"
26571 case "(($ac_try" in
26572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26573 *) ac_try_echo=$ac_try;;
26575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26576 (eval "$ac_compile") 2>conftest.er1
26578 grep -v '^
*+' conftest.er1 >conftest.err
26580 cat conftest.err >&5
26581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26582 (exit $ac_status); } && {
26583 test -z "$ac_cxx_werror_flag" ||
26584 test ! -s conftest.err
26585 } && test -s conftest.$ac_objext; then
26586 ac_cv_cxx_reinterpret_cast=yes
26588 echo "$as_me: failed program was:" >&5
26589 sed 's
/^
/| /' conftest.$ac_ext >&5
26591 ac_cv_cxx_reinterpret_cast=no
26594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26596 ac_cpp='$CPP $CPPFLAGS'
26597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26598 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26603 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26604 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26605 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26607 cat >>confdefs.h <<\_ACEOF
26608 #define HAVE_REINTERPRET_CAST
26613 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26614 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26615 if test "${ac_cv_cxx_static_cast+set}" = set; then
26616 echo $ECHO_N "(cached) $ECHO_C" >&6
26620 ac_cpp='$CXXCPP $CPPFLAGS'
26621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26622 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26625 cat >conftest.$ac_ext <<_ACEOF
26628 cat confdefs.h >>conftest.$ac_ext
26629 cat >>conftest.$ac_ext <<_ACEOF
26630 /* end confdefs.h. */
26631 #include <typeinfo>
26632 class Base { public : Base () {} virtual void f () = 0; };
26633 class Derived : public Base { public : Derived () {} virtual void f () {} };
26634 int g (Derived&) { return 0; }
26639 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26644 rm -f conftest.$ac_objext
26645 if { (ac_try="$ac_compile"
26646 case "(($ac_try" in
26647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26648 *) ac_try_echo=$ac_try;;
26650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26651 (eval "$ac_compile") 2>conftest.er1
26653 grep -v '^
*+' conftest.er1 >conftest.err
26655 cat conftest.err >&5
26656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26657 (exit $ac_status); } && {
26658 test -z "$ac_cxx_werror_flag" ||
26659 test ! -s conftest.err
26660 } && test -s conftest.$ac_objext; then
26661 ac_cv_cxx_static_cast=yes
26663 echo "$as_me: failed program was:" >&5
26664 sed 's
/^
/| /' conftest.$ac_ext >&5
26666 ac_cv_cxx_static_cast=no
26669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26671 ac_cpp='$CPP $CPPFLAGS'
26672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26673 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26678 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26679 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26680 if test "$ac_cv_cxx_static_cast" = yes; then
26682 cat >>confdefs.h <<\_ACEOF
26683 #define HAVE_STATIC_CAST
26689 if test "x$SUNCXX" = xyes; then
26690 CXXFLAGS="-features=tmplife $CXXFLAGS"
26693 if test "x$SUNCC" = xyes; then
26694 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26697 if test "x$SGICC" = "xyes"; then
26698 CFLAGS="-woff 3970 $CFLAGS"
26700 if test "x$SGICXX" = "xyes"; then
26701 CXXFLAGS="-woff 3970 $CXXFLAGS"
26704 if test "x$HPCC" = "xyes"; then
26705 CFLAGS="+W 2011,2450 $CFLAGS"
26707 if test "x$HPCXX" = "xyes"; then
26708 CXXFLAGS="+W 2340 $CXXFLAGS"
26711 if test "x$COMPAQCXX" = "xyes"; then
26712 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26716 ac_cpp='$CXXCPP $CPPFLAGS'
26717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26718 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26722 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26723 if test "$wxUSE_UNICODE" = "yes"; then
26724 std_string="std::wstring"
26725 char_type="wchar_t"
26727 std_string="std::string"
26731 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26732 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26733 if test "${wx_cv_class_stdstring+set}" = set; then
26734 echo $ECHO_N "(cached) $ECHO_C" >&6
26737 cat >conftest.$ac_ext <<_ACEOF
26740 cat confdefs.h >>conftest.$ac_ext
26741 cat >>conftest.$ac_ext <<_ACEOF
26742 /* end confdefs.h. */
26752 rm -f conftest.$ac_objext
26753 if { (ac_try="$ac_compile"
26754 case "(($ac_try" in
26755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26756 *) ac_try_echo=$ac_try;;
26758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26759 (eval "$ac_compile") 2>conftest.er1
26761 grep -v '^
*+' conftest.er1 >conftest.err
26763 cat conftest.err >&5
26764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26765 (exit $ac_status); } && {
26766 test -z "$ac_cxx_werror_flag" ||
26767 test ! -s conftest.err
26768 } && test -s conftest.$ac_objext; then
26769 wx_cv_class_stdstring=yes
26771 echo "$as_me: failed program was:" >&5
26772 sed 's
/^
/| /' conftest.$ac_ext >&5
26774 wx_cv_class_stdstring=no
26778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26782 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26783 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26785 if test "$wx_cv_class_stdstring" = yes; then
26786 if test "$wxUSE_UNICODE" = "yes"; then
26787 cat >>confdefs.h <<\_ACEOF
26788 #define HAVE_STD_WSTRING 1
26793 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26794 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26795 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26796 echo $ECHO_N "(cached) $ECHO_C" >&6
26799 cat >conftest.$ac_ext <<_ACEOF
26802 cat confdefs.h >>conftest.$ac_ext
26803 cat >>conftest.$ac_ext <<_ACEOF
26804 /* end confdefs.h. */
26806 #ifdef HAVE_WCHAR_H
26808 # include <stddef.h>
26810 # include <wchar.h>
26812 #ifdef HAVE_STDLIB_H
26813 # include <stdlib.h>
26821 std::basic_string<$char_type> foo;
26822 const $char_type* dummy = foo.c_str();
26827 rm -f conftest.$ac_objext
26828 if { (ac_try="$ac_compile"
26829 case "(($ac_try" in
26830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26831 *) ac_try_echo=$ac_try;;
26833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26834 (eval "$ac_compile") 2>conftest.er1
26836 grep -v '^
*+' conftest.er1 >conftest.err
26838 cat conftest.err >&5
26839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26840 (exit $ac_status); } && {
26841 test -z "$ac_cxx_werror_flag" ||
26842 test ! -s conftest.err
26843 } && test -s conftest.$ac_objext; then
26844 wx_cv_class_stdbasicstring=yes
26846 echo "$as_me: failed program was:" >&5
26847 sed 's
/^
/| /' conftest.$ac_ext >&5
26849 wx_cv_class_stdbasicstring=no
26853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26857 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26858 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26860 if test "$wx_cv_class_stdbasicstring" != yes; then
26861 if test "$wxUSE_STL" = "yes"; then
26862 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
26863 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26864 { (exit 1); exit 1; }; }
26865 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26866 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
26867 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26868 { (exit 1); exit 1; }; }
26870 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26871 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26872 wxUSE_STD_STRING=no
26878 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26879 { echo "$as_me:$LINENO: checking for std::istream" >&5
26880 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26881 if test "${ac_cv_type_std__istream+set}" = set; then
26882 echo $ECHO_N "(cached) $ECHO_C" >&6
26884 cat >conftest.$ac_ext <<_ACEOF
26887 cat confdefs.h >>conftest.$ac_ext
26888 cat >>conftest.$ac_ext <<_ACEOF
26889 /* end confdefs.h. */
26890 #include <iostream>
26892 typedef std::istream ac__type_new_;
26896 if ((ac__type_new_ *) 0)
26898 if (sizeof (ac__type_new_))
26904 rm -f conftest.$ac_objext
26905 if { (ac_try="$ac_compile"
26906 case "(($ac_try" in
26907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26908 *) ac_try_echo=$ac_try;;
26910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26911 (eval "$ac_compile") 2>conftest.er1
26913 grep -v '^
*+' conftest.er1 >conftest.err
26915 cat conftest.err >&5
26916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26917 (exit $ac_status); } && {
26918 test -z "$ac_cxx_werror_flag" ||
26919 test ! -s conftest.err
26920 } && test -s conftest.$ac_objext; then
26921 ac_cv_type_std__istream=yes
26923 echo "$as_me: failed program was:" >&5
26924 sed 's
/^
/| /' conftest.$ac_ext >&5
26926 ac_cv_type_std__istream=no
26929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26931 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26932 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26933 if test $ac_cv_type_std__istream = yes; then
26935 cat >>confdefs.h <<_ACEOF
26936 #define HAVE_STD__ISTREAM 1
26941 wxUSE_STD_IOSTREAM=no
26943 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26944 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26945 if test "${ac_cv_type_std__ostream+set}" = set; then
26946 echo $ECHO_N "(cached) $ECHO_C" >&6
26948 cat >conftest.$ac_ext <<_ACEOF
26951 cat confdefs.h >>conftest.$ac_ext
26952 cat >>conftest.$ac_ext <<_ACEOF
26953 /* end confdefs.h. */
26954 #include <iostream>
26956 typedef std::ostream ac__type_new_;
26960 if ((ac__type_new_ *) 0)
26962 if (sizeof (ac__type_new_))
26968 rm -f conftest.$ac_objext
26969 if { (ac_try="$ac_compile"
26970 case "(($ac_try" in
26971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26972 *) ac_try_echo=$ac_try;;
26974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26975 (eval "$ac_compile") 2>conftest.er1
26977 grep -v '^
*+' conftest.er1 >conftest.err
26979 cat conftest.err >&5
26980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26981 (exit $ac_status); } && {
26982 test -z "$ac_cxx_werror_flag" ||
26983 test ! -s conftest.err
26984 } && test -s conftest.$ac_objext; then
26985 ac_cv_type_std__ostream=yes
26987 echo "$as_me: failed program was:" >&5
26988 sed 's
/^
/| /' conftest.$ac_ext >&5
26990 ac_cv_type_std__ostream=no
26993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26995 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26996 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26997 if test $ac_cv_type_std__ostream = yes; then
26999 cat >>confdefs.h <<_ACEOF
27000 #define HAVE_STD__OSTREAM 1
27005 wxUSE_STD_IOSTREAM=no
27009 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27010 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27011 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
27012 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27013 { (exit 1); exit 1; }; }
27015 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27016 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27021 if test "$wxUSE_STL" = "yes"; then
27022 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27023 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27024 if test "${wx_cv_lib_stl+set}" = set; then
27025 echo $ECHO_N "(cached) $ECHO_C" >&6
27027 cat >conftest.$ac_ext <<_ACEOF
27030 cat confdefs.h >>conftest.$ac_ext
27031 cat >>conftest.$ac_ext <<_ACEOF
27032 /* end confdefs.h. */
27034 #include <functional>
27035 #include <algorithm>
27041 std::vector<int> moo;
27042 std::list<int> foo;
27043 std::vector<int>::iterator it =
27044 std::find_if(moo.begin(), moo.end(),
27045 std::bind2nd(std::less<int>(), 3));
27050 rm -f conftest.$ac_objext
27051 if { (ac_try="$ac_compile"
27052 case "(($ac_try" in
27053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27054 *) ac_try_echo=$ac_try;;
27056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27057 (eval "$ac_compile") 2>conftest.er1
27059 grep -v '^
*+' conftest.er1 >conftest.err
27061 cat conftest.err >&5
27062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063 (exit $ac_status); } && {
27064 test -z "$ac_cxx_werror_flag" ||
27065 test ! -s conftest.err
27066 } && test -s conftest.$ac_objext; then
27069 echo "$as_me: failed program was:" >&5
27070 sed 's
/^
/| /' conftest.$ac_ext >&5
27076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27079 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27080 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27082 if test "$wx_cv_lib_stl" != yes; then
27083 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
27084 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
27085 { (exit 1); exit 1; }; }
27088 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27089 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27090 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27091 echo $ECHO_N "(cached) $ECHO_C" >&6
27093 cat >conftest.$ac_ext <<_ACEOF
27096 cat confdefs.h >>conftest.$ac_ext
27097 cat >>conftest.$ac_ext <<_ACEOF
27098 /* end confdefs.h. */
27103 std::string foo, bar;
27105 foo.compare(1, 1, bar);
27106 foo.compare(1, 1, bar, 1, 1);
27108 foo.compare(1, 1, "");
27109 foo.compare(1, 1, "", 2);
27114 rm -f conftest.$ac_objext
27115 if { (ac_try="$ac_compile"
27116 case "(($ac_try" in
27117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27118 *) ac_try_echo=$ac_try;;
27120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27121 (eval "$ac_compile") 2>conftest.er1
27123 grep -v '^
*+' conftest.er1 >conftest.err
27125 cat conftest.err >&5
27126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27127 (exit $ac_status); } && {
27128 test -z "$ac_cxx_werror_flag" ||
27129 test ! -s conftest.err
27130 } && test -s conftest.$ac_objext; then
27131 wx_cv_func_stdstring_compare=yes
27133 echo "$as_me: failed program was:" >&5
27134 sed 's
/^
/| /' conftest.$ac_ext >&5
27136 wx_cv_func_stdstring_compare=no
27140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27143 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27144 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27146 if test "$wx_cv_func_stdstring_compare" = yes; then
27147 cat >>confdefs.h <<\_ACEOF
27148 #define HAVE_STD_STRING_COMPARE 1
27153 { echo "$as_me:$LINENO: checking for hash_map" >&5
27154 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27155 if test "${ac_cv_header_hash_map+set}" = set; then
27156 echo $ECHO_N "(cached) $ECHO_C" >&6
27158 cat >conftest.$ac_ext <<_ACEOF
27161 cat confdefs.h >>conftest.$ac_ext
27162 cat >>conftest.$ac_ext <<_ACEOF
27163 /* end confdefs.h. */
27167 #include <hash_map>
27169 rm -f conftest.$ac_objext
27170 if { (ac_try="$ac_compile"
27171 case "(($ac_try" in
27172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27173 *) ac_try_echo=$ac_try;;
27175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27176 (eval "$ac_compile") 2>conftest.er1
27178 grep -v '^
*+' conftest.er1 >conftest.err
27180 cat conftest.err >&5
27181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27182 (exit $ac_status); } && {
27183 test -z "$ac_cxx_werror_flag" ||
27184 test ! -s conftest.err
27185 } && test -s conftest.$ac_objext; then
27186 ac_cv_header_hash_map=yes
27188 echo "$as_me: failed program was:" >&5
27189 sed 's
/^
/| /' conftest.$ac_ext >&5
27191 ac_cv_header_hash_map=no
27194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27196 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27197 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27198 if test $ac_cv_header_hash_map = yes; then
27199 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27200 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27201 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27202 echo $ECHO_N "(cached) $ECHO_C" >&6
27204 cat >conftest.$ac_ext <<_ACEOF
27207 cat confdefs.h >>conftest.$ac_ext
27208 cat >>conftest.$ac_ext <<_ACEOF
27209 /* end confdefs.h. */
27210 #include <hash_map>
27211 #include <hash_set>
27215 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27216 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27221 rm -f conftest.$ac_objext
27222 if { (ac_try="$ac_compile"
27223 case "(($ac_try" in
27224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27225 *) ac_try_echo=$ac_try;;
27227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27228 (eval "$ac_compile") 2>conftest.er1
27230 grep -v '^
*+' conftest.er1 >conftest.err
27232 cat conftest.err >&5
27233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27234 (exit $ac_status); } && {
27235 test -z "$ac_cxx_werror_flag" ||
27236 test ! -s conftest.err
27237 } && test -s conftest.$ac_objext; then
27238 wx_cv_class_stdhashmapset=yes
27240 echo "$as_me: failed program was:" >&5
27241 sed 's
/^
/| /' conftest.$ac_ext >&5
27243 wx_cv_class_stdhashmapset=no
27246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27250 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27251 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27256 if test "$wx_cv_class_stdhashmapset" = yes; then
27257 cat >>confdefs.h <<\_ACEOF
27258 #define HAVE_HASH_MAP 1
27261 cat >>confdefs.h <<\_ACEOF
27262 #define HAVE_STD_HASH_MAP 1
27267 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27268 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27269 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27270 echo $ECHO_N "(cached) $ECHO_C" >&6
27272 cat >conftest.$ac_ext <<_ACEOF
27275 cat confdefs.h >>conftest.$ac_ext
27276 cat >>conftest.$ac_ext <<_ACEOF
27277 /* end confdefs.h. */
27281 #include <ext/hash_map>
27283 rm -f conftest.$ac_objext
27284 if { (ac_try="$ac_compile"
27285 case "(($ac_try" in
27286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27287 *) ac_try_echo=$ac_try;;
27289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27290 (eval "$ac_compile") 2>conftest.er1
27292 grep -v '^
*+' conftest.er1 >conftest.err
27294 cat conftest.err >&5
27295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27296 (exit $ac_status); } && {
27297 test -z "$ac_cxx_werror_flag" ||
27298 test ! -s conftest.err
27299 } && test -s conftest.$ac_objext; then
27300 ac_cv_header_ext_hash_map=yes
27302 echo "$as_me: failed program was:" >&5
27303 sed 's
/^
/| /' conftest.$ac_ext >&5
27305 ac_cv_header_ext_hash_map=no
27308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27310 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27311 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27312 if test $ac_cv_header_ext_hash_map = yes; then
27313 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27314 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27315 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27316 echo $ECHO_N "(cached) $ECHO_C" >&6
27318 cat >conftest.$ac_ext <<_ACEOF
27321 cat confdefs.h >>conftest.$ac_ext
27322 cat >>conftest.$ac_ext <<_ACEOF
27323 /* end confdefs.h. */
27324 #include <ext/hash_map>
27325 #include <ext/hash_set>
27329 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27330 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27335 rm -f conftest.$ac_objext
27336 if { (ac_try="$ac_compile"
27337 case "(($ac_try" in
27338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27339 *) ac_try_echo=$ac_try;;
27341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27342 (eval "$ac_compile") 2>conftest.er1
27344 grep -v '^
*+' conftest.er1 >conftest.err
27346 cat conftest.err >&5
27347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27348 (exit $ac_status); } && {
27349 test -z "$ac_cxx_werror_flag" ||
27350 test ! -s conftest.err
27351 } && test -s conftest.$ac_objext; then
27352 wx_cv_class_gnuhashmapset=yes
27354 echo "$as_me: failed program was:" >&5
27355 sed 's
/^
/| /' conftest.$ac_ext >&5
27357 wx_cv_class_gnuhashmapset=no
27360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27364 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27365 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27370 if test "$wx_cv_class_gnuhashmapset" = yes; then
27371 cat >>confdefs.h <<\_ACEOF
27372 #define HAVE_EXT_HASH_MAP 1
27375 cat >>confdefs.h <<\_ACEOF
27376 #define HAVE_GNU_CXX_HASH_MAP 1
27383 ac_cpp='$CPP $CPPFLAGS'
27384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27385 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27391 /usr/local/include \
27393 /usr/Motif-2.1/include \
27394 /usr/Motif-1.2/include \
27395 /usr/include/Motif1.2 \
27398 /usr/openwin/include \
27402 /usr/X11R6/include \
27403 /usr/X11R6.4/include \
27404 /usr/X11R5/include \
27405 /usr/X11R4/include \
27407 /usr/include/X11R6 \
27408 /usr/include/X11R5 \
27409 /usr/include/X11R4 \
27411 /usr/local/X11R6/include \
27412 /usr/local/X11R5/include \
27413 /usr/local/X11R4/include \
27415 /usr/local/include/X11R6 \
27416 /usr/local/include/X11R5 \
27417 /usr/local/include/X11R4 \
27421 /usr/local/X11/include \
27422 /usr/local/include/X11 \
27424 /usr/XFree86/include/X11 \
27427 /usr/openwin/share/include"
27429 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27430 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27434 if test "${wx_cv_std_libpath+set}" = set; then
27435 echo $ECHO_N "(cached) $ECHO_C" >&6
27438 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27439 for e in a so sl dylib dll.a; do
27441 if test -f $libc; then
27444 cat >conftest.$ac_ext <<_ACEOF
27445 int main() { return 0; }
27447 rm -f conftest.$ac_objext conftest$ac_exeext
27448 if { (ac_try="$ac_link"
27449 case "(($ac_try" in
27450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27451 *) ac_try_echo=$ac_try;;
27453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27454 (eval "$ac_link") 2>conftest.er1
27456 grep -v '^
*+' conftest.er1 >conftest.err
27458 cat conftest.err >&5
27459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27460 (exit $ac_status); } && {
27461 test -z "$ac_c_werror_flag" ||
27462 test ! -s conftest.err
27463 } && test -s conftest$ac_exeext &&
27464 $as_test_x conftest$ac_exeext; then
27465 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27467 echo "$as_me: failed program was:" >&5
27468 sed 's
/^
/| /' conftest.$ac_ext >&5
27473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27474 conftest$ac_exeext conftest.$ac_ext
27476 if test "x$wx_cv_std_libpath" != "x"; then
27482 if test "x$wx_cv_std_libpath" = "x"; then
27483 wx_cv_std_libpath="lib"
27492 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27493 wx_cv_std_libpath="lib/64"
27495 wx_cv_std_libpath="lib"
27500 if test "$ac_cv_sizeof_void_p" = 8 -a \
27501 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27502 wx_cv_std_libpath="lib64"
27504 wx_cv_std_libpath="lib"
27509 wx_cv_std_libpath="lib";
27513 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27514 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27516 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27518 if test "$build" != "$host" -a "$GCC" = yes; then
27519 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27520 cross_root=`dirname $cross_root`
27521 cross_root=`dirname $cross_root`
27523 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27524 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27525 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27527 if test -z "$PKG_CONFIG_PATH"; then
27528 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27529 export PKG_CONFIG_PATH
27532 if test -z "$x_includes" -o "$x_includes" = NONE; then
27535 for ac_dir in $SEARCH_INCLUDE /usr/include;
27537 if test -f "$ac_dir/X11/Intrinsic.h"; then
27538 ac_find_includes=$ac_dir
27543 x_includes=$ac_find_includes
27545 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27548 for ac_dir in $SEARCH_LIB;
27550 for ac_extension in a so sl dylib dll.a; do
27551 if test -f "$ac_dir/libXt.$ac_extension"; then
27552 ac_find_libraries=$ac_dir
27558 x_libraries=$ac_find_libraries
27564 cat >confcache <<\_ACEOF
27565 # This file is a shell script that caches the results of configure
27566 # tests run on this system so they can be shared between configure
27567 # scripts and configure runs, see configure's option
--config-cache.
27568 # It is not useful on other systems. If it contains results you don't
27569 # want to keep, you may remove or edit it.
27571 # config.status only pays attention to the cache file if you give it
27572 # the --recheck option to rerun configure.
27574 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27575 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27576 # following values.
27580 # The following way of writing the cache mishandles newlines in values,
27581 # but we know of no workaround that is simple, portable, and efficient.
27582 # So, we kill variables containing newlines.
27583 # Ultrix sh set writes to stderr and can't be redirected directly,
27584 # and sets the high bit in the cache file unless we assign to the vars.
27586 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27587 eval ac_val
=\$
$ac_var
27591 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27592 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27595 _
| IFS
| as_nl
) ;; #(
27596 *) $as_unset $ac_var ;;
27602 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27603 *${as_nl}ac_space
=\
*)
27604 # `set' does not quote correctly, so add quotes (double-quote
27605 # substitution turns \\\\ into \\, and sed turns \\ into \).
27608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27611 # `set' quotes correctly as required by POSIX, so do not add quotes.
27612 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27621 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27623 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27625 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27626 if test -w "$cache_file"; then
27627 test "x$cache_file" != "x/dev/null" &&
27628 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27629 echo "$as_me: updating cache $cache_file" >&6;}
27630 cat confcache
>$cache_file
27632 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27633 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27638 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27639 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27640 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27641 if test "${wx_cv_lib_glibc21+set}" = set; then
27642 echo $ECHO_N "(cached) $ECHO_C" >&6
27645 cat >conftest.
$ac_ext <<_ACEOF
27648 cat confdefs.h
>>conftest.
$ac_ext
27649 cat >>conftest.
$ac_ext <<_ACEOF
27650 /* end confdefs.h. */
27651 #include <features.h>
27656 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27664 rm -f conftest.
$ac_objext
27665 if { (ac_try
="$ac_compile"
27666 case "(($ac_try" in
27667 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27668 *) ac_try_echo=$ac_try;;
27670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27671 (eval "$ac_compile") 2>conftest.er1
27673 grep -v '^ *+' conftest.er1 >conftest.err
27675 cat conftest.err >&5
27676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27677 (exit $ac_status); } && {
27678 test -z "$ac_c_werror_flag" ||
27679 test ! -s conftest.err
27680 } && test -s conftest.$ac_objext; then
27682 wx_cv_lib_glibc21=yes
27685 echo "$as_me: failed program was:" >&5
27686 sed 's/^/| /' conftest.$ac_ext >&5
27689 wx_cv_lib_glibc21=no
27694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27697 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27698 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27699 if test "$wx_cv_lib_glibc21" = "yes"; then
27700 cat >>confdefs.h <<\_ACEOF
27701 #define wxHAVE_GLIBC2 1
27707 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27708 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27709 cat >>confdefs.h <<\_ACEOF
27710 #define _GNU_SOURCE 1
27721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27722 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27724 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27725 echo $ECHO_N "(cached) $ECHO_C" >&6
27727 cat >conftest.$ac_ext <<_ACEOF
27730 cat confdefs.h >>conftest.$ac_ext
27731 cat >>conftest.$ac_ext <<_ACEOF
27732 /* end confdefs.h. */
27733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27735 #define $ac_func innocuous_$ac_func
27737 /* System header to define __stub macros and hopefully few prototypes,
27738 which can conflict with char $ac_func (); below.
27739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27740 <limits.h> exists even on freestanding compilers. */
27743 # include <limits.h>
27745 # include <assert.h>
27750 /* Override any GCC internal prototype to avoid an error.
27751 Use char because int might match the return type of a GCC
27752 builtin and then its argument prototype would still apply. */
27757 /* The GNU C library defines this for functions which it implements
27758 to always fail with ENOSYS. Some functions are actually named
27759 something starting with __ and the normal name is an alias. */
27760 #if defined __stub_$ac_func || defined __stub___$ac_func
27767 return $ac_func ();
27772 rm -f conftest.$ac_objext conftest$ac_exeext
27773 if { (ac_try="$ac_link"
27774 case "(($ac_try" in
27775 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27776 *) ac_try_echo
=$ac_try;;
27778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27779 (eval "$ac_link") 2>conftest.er1
27781 grep -v '^ *+' conftest.er1
>conftest.err
27783 cat conftest.err
>&5
27784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27785 (exit $ac_status); } && {
27786 test -z "$ac_c_werror_flag" ||
27787 test ! -s conftest.err
27788 } && test -s conftest
$ac_exeext &&
27789 $as_test_x conftest
$ac_exeext; then
27790 eval "$as_ac_var=yes"
27792 echo "$as_me: failed program was:" >&5
27793 sed 's/^/| /' conftest.
$ac_ext >&5
27795 eval "$as_ac_var=no"
27798 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27799 conftest
$ac_exeext conftest.
$ac_ext
27801 ac_res
=`eval echo '${'$as_ac_var'}'`
27802 { echo "$as_me:$LINENO: result: $ac_res" >&5
27803 echo "${ECHO_T}$ac_res" >&6; }
27804 if test `eval echo '${'$as_ac_var'}'` = yes; then
27805 cat >>confdefs.h
<<_ACEOF
27806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27813 for ac_func
in floor
27815 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27816 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27818 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27819 echo $ECHO_N "(cached) $ECHO_C" >&6
27821 cat >conftest.
$ac_ext <<_ACEOF
27824 cat confdefs.h
>>conftest.
$ac_ext
27825 cat >>conftest.
$ac_ext <<_ACEOF
27826 /* end confdefs.h. */
27827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27829 #define $ac_func innocuous_$ac_func
27831 /* System header to define __stub macros and hopefully few prototypes,
27832 which can conflict with char $ac_func (); below.
27833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27834 <limits.h> exists even on freestanding compilers. */
27837 # include <limits.h>
27839 # include <assert.h>
27844 /* Override any GCC internal prototype to avoid an error.
27845 Use char because int might match the return type of a GCC
27846 builtin and then its argument prototype would still apply. */
27851 /* The GNU C library defines this for functions which it implements
27852 to always fail with ENOSYS. Some functions are actually named
27853 something starting with __ and the normal name is an alias. */
27854 #if defined __stub_$ac_func || defined __stub___$ac_func
27861 return $ac_func ();
27866 rm -f conftest.
$ac_objext conftest
$ac_exeext
27867 if { (ac_try
="$ac_link"
27868 case "(($ac_try" in
27869 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27870 *) ac_try_echo=$ac_try;;
27872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27873 (eval "$ac_link") 2>conftest.er1
27875 grep -v '^ *+' conftest.er1 >conftest.err
27877 cat conftest.err >&5
27878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27879 (exit $ac_status); } && {
27880 test -z "$ac_c_werror_flag" ||
27881 test ! -s conftest.err
27882 } && test -s conftest$ac_exeext &&
27883 $as_test_x conftest$ac_exeext; then
27884 eval "$as_ac_var=yes"
27886 echo "$as_me: failed program was:" >&5
27887 sed 's/^/| /' conftest.$ac_ext >&5
27889 eval "$as_ac_var=no"
27892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27893 conftest$ac_exeext conftest.$ac_ext
27895 ac_res=`eval echo '${'$as_ac_var'}'`
27896 { echo "$as_me:$LINENO: result: $ac_res" >&5
27897 echo "${ECHO_T}$ac_res" >&6; }
27898 if test `eval echo '${'$as_ac_var'}'` = yes; then
27899 cat >>confdefs.h <<_ACEOF
27900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27906 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27907 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27908 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27909 { echo "$as_me:$LINENO: result: yes" >&5
27910 echo "${ECHO_T}yes" >&6; }
27912 { echo "$as_me:$LINENO: result: no" >&5
27913 echo "${ECHO_T}no" >&6; }
27915 # use different functions to avoid configure caching
27921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27922 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27924 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27925 echo $ECHO_N "(cached) $ECHO_C" >&6
27927 cat >conftest.$ac_ext <<_ACEOF
27930 cat confdefs.h >>conftest.$ac_ext
27931 cat >>conftest.$ac_ext <<_ACEOF
27932 /* end confdefs.h. */
27933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27935 #define $ac_func innocuous_$ac_func
27937 /* System header to define __stub macros and hopefully few prototypes,
27938 which can conflict with char $ac_func (); below.
27939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27940 <limits.h> exists even on freestanding compilers. */
27943 # include <limits.h>
27945 # include <assert.h>
27950 /* Override any GCC internal prototype to avoid an error.
27951 Use char because int might match the return type of a GCC
27952 builtin and then its argument prototype would still apply. */
27957 /* The GNU C library defines this for functions which it implements
27958 to always fail with ENOSYS. Some functions are actually named
27959 something starting with __ and the normal name is an alias. */
27960 #if defined __stub_$ac_func || defined __stub___$ac_func
27967 return $ac_func ();
27972 rm -f conftest.$ac_objext conftest$ac_exeext
27973 if { (ac_try="$ac_link"
27974 case "(($ac_try" in
27975 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27976 *) ac_try_echo
=$ac_try;;
27978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27979 (eval "$ac_link") 2>conftest.er1
27981 grep -v '^ *+' conftest.er1
>conftest.err
27983 cat conftest.err
>&5
27984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27985 (exit $ac_status); } && {
27986 test -z "$ac_c_werror_flag" ||
27987 test ! -s conftest.err
27988 } && test -s conftest
$ac_exeext &&
27989 $as_test_x conftest
$ac_exeext; then
27990 eval "$as_ac_var=yes"
27992 echo "$as_me: failed program was:" >&5
27993 sed 's/^/| /' conftest.
$ac_ext >&5
27995 eval "$as_ac_var=no"
27998 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27999 conftest
$ac_exeext conftest.
$ac_ext
28001 ac_res
=`eval echo '${'$as_ac_var'}'`
28002 { echo "$as_me:$LINENO: result: $ac_res" >&5
28003 echo "${ECHO_T}$ac_res" >&6; }
28004 if test `eval echo '${'$as_ac_var'}'` = yes; then
28005 cat >>confdefs.h
<<_ACEOF
28006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28013 for ac_func
in ceil
28015 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28016 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28018 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28019 echo $ECHO_N "(cached) $ECHO_C" >&6
28021 cat >conftest.
$ac_ext <<_ACEOF
28024 cat confdefs.h
>>conftest.
$ac_ext
28025 cat >>conftest.
$ac_ext <<_ACEOF
28026 /* end confdefs.h. */
28027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28029 #define $ac_func innocuous_$ac_func
28031 /* System header to define __stub macros and hopefully few prototypes,
28032 which can conflict with char $ac_func (); below.
28033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28034 <limits.h> exists even on freestanding compilers. */
28037 # include <limits.h>
28039 # include <assert.h>
28044 /* Override any GCC internal prototype to avoid an error.
28045 Use char because int might match the return type of a GCC
28046 builtin and then its argument prototype would still apply. */
28051 /* The GNU C library defines this for functions which it implements
28052 to always fail with ENOSYS. Some functions are actually named
28053 something starting with __ and the normal name is an alias. */
28054 #if defined __stub_$ac_func || defined __stub___$ac_func
28061 return $ac_func ();
28066 rm -f conftest.
$ac_objext conftest
$ac_exeext
28067 if { (ac_try
="$ac_link"
28068 case "(($ac_try" in
28069 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28070 *) ac_try_echo=$ac_try;;
28072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28073 (eval "$ac_link") 2>conftest.er1
28075 grep -v '^ *+' conftest.er1 >conftest.err
28077 cat conftest.err >&5
28078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28079 (exit $ac_status); } && {
28080 test -z "$ac_c_werror_flag" ||
28081 test ! -s conftest.err
28082 } && test -s conftest$ac_exeext &&
28083 $as_test_x conftest$ac_exeext; then
28084 eval "$as_ac_var=yes"
28086 echo "$as_me: failed program was:" >&5
28087 sed 's/^/| /' conftest.$ac_ext >&5
28089 eval "$as_ac_var=no"
28092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28093 conftest$ac_exeext conftest.$ac_ext
28095 ac_res=`eval echo '${'$as_ac_var'}'`
28096 { echo "$as_me:$LINENO: result: $ac_res" >&5
28097 echo "${ECHO_T}$ac_res" >&6; }
28098 if test `eval echo '${'$as_ac_var'}'` = yes; then
28099 cat >>confdefs.h <<_ACEOF
28100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28106 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28107 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28108 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28109 { echo "$as_me:$LINENO: result: yes" >&5
28110 echo "${ECHO_T}yes" >&6; }
28112 { echo "$as_me:$LINENO: result: no" >&5
28113 echo "${ECHO_T}no" >&6; }
28114 # not sure we should warn the user, crash, etc.
28119 ac_cpp='$CXXCPP $CPPFLAGS'
28120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28124 if test "wxUSE_UNICODE" = "yes"; then
28126 for wx_func in wcstoull
28128 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28129 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28130 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28131 echo $ECHO_N "(cached) $ECHO_C" >&6
28134 cat >conftest.$ac_ext <<_ACEOF
28138 cat confdefs.h >>conftest.$ac_ext
28139 cat >>conftest.$ac_ext <<_ACEOF
28140 /* end confdefs.h. */
28143 $ac_includes_default
28159 rm -f conftest.$ac_objext conftest$ac_exeext
28160 if { (ac_try="$ac_link"
28161 case "(($ac_try" in
28162 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28163 *) ac_try_echo
=$ac_try;;
28165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28166 (eval "$ac_link") 2>conftest.er1
28168 grep -v '^ *+' conftest.er1
>conftest.err
28170 cat conftest.err
>&5
28171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28172 (exit $ac_status); } && {
28173 test -z "$ac_cxx_werror_flag" ||
28174 test ! -s conftest.err
28175 } && test -s conftest
$ac_exeext &&
28176 $as_test_x conftest
$ac_exeext; then
28177 eval wx_cv_func_
$wx_func=yes
28179 echo "$as_me: failed program was:" >&5
28180 sed 's/^/| /' conftest.
$ac_ext >&5
28182 eval wx_cv_func_
$wx_func=no
28185 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28186 conftest
$ac_exeext conftest.
$ac_ext
28189 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
28190 { echo "$as_me:$LINENO: result: $ac_res" >&5
28191 echo "${ECHO_T}$ac_res" >&6; }
28193 if eval test \
$wx_cv_func_$wx_func = yes
28195 cat >>confdefs.h
<<_ACEOF
28196 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28208 for wx_func
in strtoull
28210 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28211 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28212 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28213 echo $ECHO_N "(cached) $ECHO_C" >&6
28216 cat >conftest.
$ac_ext <<_ACEOF
28220 cat confdefs.h
>>conftest.
$ac_ext
28221 cat >>conftest.
$ac_ext <<_ACEOF
28222 /* end confdefs.h. */
28225 $ac_includes_default
28241 rm -f conftest.
$ac_objext conftest
$ac_exeext
28242 if { (ac_try
="$ac_link"
28243 case "(($ac_try" in
28244 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28245 *) ac_try_echo=$ac_try;;
28247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28248 (eval "$ac_link") 2>conftest.er1
28250 grep -v '^ *+' conftest.er1 >conftest.err
28252 cat conftest.err >&5
28253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28254 (exit $ac_status); } && {
28255 test -z "$ac_cxx_werror_flag" ||
28256 test ! -s conftest.err
28257 } && test -s conftest$ac_exeext &&
28258 $as_test_x conftest$ac_exeext; then
28259 eval wx_cv_func_$wx_func=yes
28261 echo "$as_me: failed program was:" >&5
28262 sed 's/^/| /' conftest.$ac_ext >&5
28264 eval wx_cv_func_$wx_func=no
28267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28268 conftest$ac_exeext conftest.$ac_ext
28271 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28272 { echo "$as_me:$LINENO: result: $ac_res" >&5
28273 echo "${ECHO_T}$ac_res" >&6; }
28275 if eval test \$wx_cv_func_$wx_func = yes
28277 cat >>confdefs.h <<_ACEOF
28278 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28290 ac_cpp='$CPP $CPPFLAGS'
28291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28298 if test "$wxUSE_REGEX" != "no"; then
28299 cat >>confdefs.h <<\_ACEOF
28300 #define wxUSE_REGEX 1
28304 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28305 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28306 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28307 wxUSE_REGEX=builtin
28310 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28311 { echo "$as_me:$LINENO: checking for regex.h" >&5
28312 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28313 if test "${ac_cv_header_regex_h+set}" = set; then
28314 echo $ECHO_N "(cached) $ECHO_C" >&6
28316 cat >conftest.$ac_ext <<_ACEOF
28319 cat confdefs.h >>conftest.$ac_ext
28320 cat >>conftest.$ac_ext <<_ACEOF
28321 /* end confdefs.h. */
28326 rm -f conftest.$ac_objext
28327 if { (ac_try="$ac_compile"
28328 case "(($ac_try" in
28329 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28330 *) ac_try_echo
=$ac_try;;
28332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28333 (eval "$ac_compile") 2>conftest.er1
28335 grep -v '^ *+' conftest.er1
>conftest.err
28337 cat conftest.err
>&5
28338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28339 (exit $ac_status); } && {
28340 test -z "$ac_c_werror_flag" ||
28341 test ! -s conftest.err
28342 } && test -s conftest.
$ac_objext; then
28343 ac_cv_header_regex_h
=yes
28345 echo "$as_me: failed program was:" >&5
28346 sed 's/^/| /' conftest.
$ac_ext >&5
28348 ac_cv_header_regex_h
=no
28351 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28353 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28354 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28355 if test $ac_cv_header_regex_h = yes; then
28358 for ac_func
in regcomp re_search
28360 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28361 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28363 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28364 echo $ECHO_N "(cached) $ECHO_C" >&6
28366 cat >conftest.
$ac_ext <<_ACEOF
28369 cat confdefs.h
>>conftest.
$ac_ext
28370 cat >>conftest.
$ac_ext <<_ACEOF
28371 /* end confdefs.h. */
28372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28374 #define $ac_func innocuous_$ac_func
28376 /* System header to define __stub macros and hopefully few prototypes,
28377 which can conflict with char $ac_func (); below.
28378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28379 <limits.h> exists even on freestanding compilers. */
28382 # include <limits.h>
28384 # include <assert.h>
28389 /* Override any GCC internal prototype to avoid an error.
28390 Use char because int might match the return type of a GCC
28391 builtin and then its argument prototype would still apply. */
28396 /* The GNU C library defines this for functions which it implements
28397 to always fail with ENOSYS. Some functions are actually named
28398 something starting with __ and the normal name is an alias. */
28399 #if defined __stub_$ac_func || defined __stub___$ac_func
28406 return $ac_func ();
28411 rm -f conftest.
$ac_objext conftest
$ac_exeext
28412 if { (ac_try
="$ac_link"
28413 case "(($ac_try" in
28414 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28415 *) ac_try_echo=$ac_try;;
28417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28418 (eval "$ac_link") 2>conftest.er1
28420 grep -v '^ *+' conftest.er1 >conftest.err
28422 cat conftest.err >&5
28423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28424 (exit $ac_status); } && {
28425 test -z "$ac_c_werror_flag" ||
28426 test ! -s conftest.err
28427 } && test -s conftest$ac_exeext &&
28428 $as_test_x conftest$ac_exeext; then
28429 eval "$as_ac_var=yes"
28431 echo "$as_me: failed program was:" >&5
28432 sed 's/^/| /' conftest.$ac_ext >&5
28434 eval "$as_ac_var=no"
28437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28438 conftest$ac_exeext conftest.$ac_ext
28440 ac_res=`eval echo '${'$as_ac_var'}'`
28441 { echo "$as_me:$LINENO: result: $ac_res" >&5
28442 echo "${ECHO_T}$ac_res" >&6; }
28443 if test `eval echo '${'$as_ac_var'}'` = yes; then
28444 cat >>confdefs.h <<_ACEOF
28445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28455 if test "x$ac_cv_func_regcomp" != "xyes"; then
28456 if test "$wxUSE_REGEX" = "sys" ; then
28457 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28458 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28459 { (exit 1); exit 1; }; }
28461 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28462 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28463 wxUSE_REGEX=builtin
28467 cat >>confdefs.h <<\_ACEOF
28468 #define WX_NO_REGEX_ADVANCED 1
28477 if test "$wxUSE_ZLIB" != "no" ; then
28478 cat >>confdefs.h <<\_ACEOF
28479 #define wxUSE_ZLIB 1
28483 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28484 if test "$USE_DARWIN" = 1; then
28485 system_zlib_h_ok="yes"
28487 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28488 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28489 if test "${ac_cv_header_zlib_h+set}" = set; then
28490 echo $ECHO_N "(cached) $ECHO_C" >&6
28492 if test "$cross_compiling" = yes; then
28493 unset ac_cv_header_zlib_h
28496 cat >conftest.$ac_ext <<_ACEOF
28499 cat confdefs.h >>conftest.$ac_ext
28500 cat >>conftest.$ac_ext <<_ACEOF
28501 /* end confdefs.h. */
28508 FILE *f=fopen("conftestval", "w");
28511 ZLIB_VERSION[0] == '1' &&
28512 (ZLIB_VERSION[2] > '1' ||
28513 (ZLIB_VERSION[2] == '1' &&
28514 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28519 rm -f conftest$ac_exeext
28520 if { (ac_try="$ac_link"
28521 case "(($ac_try" in
28522 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28523 *) ac_try_echo
=$ac_try;;
28525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28526 (eval "$ac_link") 2>&5
28528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28529 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28530 { (case "(($ac_try" in
28531 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28532 *) ac_try_echo=$ac_try;;
28534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28535 (eval "$ac_try") 2>&5
28537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28538 (exit $ac_status); }; }; then
28539 ac_cv_header_zlib_h=`cat conftestval
`
28541 echo "$as_me: program exited with status $ac_status" >&5
28542 echo "$as_me: failed program was:" >&5
28543 sed 's/^/| /' conftest.$ac_ext >&5
28545 ( exit $ac_status )
28546 ac_cv_header_zlib_h=no
28548 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28554 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28555 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28556 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28557 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28558 if test "${ac_cv_header_zlib_h+set}" = set; then
28559 echo $ECHO_N "(cached) $ECHO_C" >&6
28561 cat >conftest.$ac_ext <<_ACEOF
28564 cat confdefs.h >>conftest.$ac_ext
28565 cat >>conftest.$ac_ext <<_ACEOF
28566 /* end confdefs.h. */
28571 rm -f conftest.$ac_objext
28572 if { (ac_try="$ac_compile"
28573 case "(($ac_try" in
28574 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28575 *) ac_try_echo
=$ac_try;;
28577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28578 (eval "$ac_compile") 2>conftest.er1
28580 grep -v '^ *+' conftest.er1
>conftest.err
28582 cat conftest.err
>&5
28583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28584 (exit $ac_status); } && {
28585 test -z "$ac_c_werror_flag" ||
28586 test ! -s conftest.err
28587 } && test -s conftest.
$ac_objext; then
28588 ac_cv_header_zlib_h
=yes
28590 echo "$as_me: failed program was:" >&5
28591 sed 's/^/| /' conftest.
$ac_ext >&5
28593 ac_cv_header_zlib_h
=no
28596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28598 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28599 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28603 system_zlib_h_ok
=$ac_cv_header_zlib_h
28606 if test "$system_zlib_h_ok" = "yes"; then
28607 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28608 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28609 if test "${ac_cv_lib_z_deflate+set}" = set; then
28610 echo $ECHO_N "(cached) $ECHO_C" >&6
28612 ac_check_lib_save_LIBS
=$LIBS
28614 cat >conftest.
$ac_ext <<_ACEOF
28617 cat confdefs.h
>>conftest.
$ac_ext
28618 cat >>conftest.
$ac_ext <<_ACEOF
28619 /* end confdefs.h. */
28621 /* Override any GCC internal prototype to avoid an error.
28622 Use char because int might match the return type of a GCC
28623 builtin and then its argument prototype would still apply. */
28636 rm -f conftest.
$ac_objext conftest
$ac_exeext
28637 if { (ac_try
="$ac_link"
28638 case "(($ac_try" in
28639 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28640 *) ac_try_echo=$ac_try;;
28642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28643 (eval "$ac_link") 2>conftest.er1
28645 grep -v '^ *+' conftest.er1 >conftest.err
28647 cat conftest.err >&5
28648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28649 (exit $ac_status); } && {
28650 test -z "$ac_c_werror_flag" ||
28651 test ! -s conftest.err
28652 } && test -s conftest$ac_exeext &&
28653 $as_test_x conftest$ac_exeext; then
28654 ac_cv_lib_z_deflate=yes
28656 echo "$as_me: failed program was:" >&5
28657 sed 's/^/| /' conftest.$ac_ext >&5
28659 ac_cv_lib_z_deflate=no
28662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28663 conftest$ac_exeext conftest.$ac_ext
28664 LIBS=$ac_check_lib_save_LIBS
28666 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28667 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28668 if test $ac_cv_lib_z_deflate = yes; then
28674 if test "x$ZLIB_LINK" = "x" ; then
28675 if test "$wxUSE_ZLIB" = "sys" ; then
28676 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28677 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28678 { (exit 1); exit 1; }; }
28680 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28681 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28692 if test "$wxUSE_LIBPNG" != "no" ; then
28693 cat >>confdefs.h <<\_ACEOF
28694 #define wxUSE_LIBPNG 1
28698 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28699 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28700 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28704 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28705 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28706 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28707 wxUSE_LIBPNG=builtin
28710 if test "$wxUSE_MGL" != 1 ; then
28711 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28712 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28713 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28714 if test "${ac_cv_header_png_h+set}" = set; then
28715 echo $ECHO_N "(cached) $ECHO_C" >&6
28717 if test "$cross_compiling" = yes; then
28718 unset ac_cv_header_png_h
28721 cat >conftest.$ac_ext <<_ACEOF
28724 cat confdefs.h >>conftest.$ac_ext
28725 cat >>conftest.$ac_ext <<_ACEOF
28726 /* end confdefs.h. */
28733 FILE *f=fopen("conftestval", "w");
28736 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28741 rm -f conftest$ac_exeext
28742 if { (ac_try="$ac_link"
28743 case "(($ac_try" in
28744 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28745 *) ac_try_echo
=$ac_try;;
28747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28748 (eval "$ac_link") 2>&5
28750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28751 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28752 { (case "(($ac_try" in
28753 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28754 *) ac_try_echo=$ac_try;;
28756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28757 (eval "$ac_try") 2>&5
28759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28760 (exit $ac_status); }; }; then
28761 ac_cv_header_png_h=`cat conftestval
`
28763 echo "$as_me: program exited with status $ac_status" >&5
28764 echo "$as_me: failed program was:" >&5
28765 sed 's/^/| /' conftest.$ac_ext >&5
28767 ( exit $ac_status )
28768 ac_cv_header_png_h=no
28770 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28776 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28777 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28778 { echo "$as_me:$LINENO: checking for png.h" >&5
28779 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28780 if test "${ac_cv_header_png_h+set}" = set; then
28781 echo $ECHO_N "(cached) $ECHO_C" >&6
28783 cat >conftest.$ac_ext <<_ACEOF
28786 cat confdefs.h >>conftest.$ac_ext
28787 cat >>conftest.$ac_ext <<_ACEOF
28788 /* end confdefs.h. */
28793 rm -f conftest.$ac_objext
28794 if { (ac_try="$ac_compile"
28795 case "(($ac_try" in
28796 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28797 *) ac_try_echo
=$ac_try;;
28799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28800 (eval "$ac_compile") 2>conftest.er1
28802 grep -v '^ *+' conftest.er1
>conftest.err
28804 cat conftest.err
>&5
28805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28806 (exit $ac_status); } && {
28807 test -z "$ac_c_werror_flag" ||
28808 test ! -s conftest.err
28809 } && test -s conftest.
$ac_objext; then
28810 ac_cv_header_png_h
=yes
28812 echo "$as_me: failed program was:" >&5
28813 sed 's/^/| /' conftest.
$ac_ext >&5
28815 ac_cv_header_png_h
=no
28818 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28820 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28821 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28825 if test "$ac_cv_header_png_h" = "yes"; then
28826 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28827 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28828 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28829 echo $ECHO_N "(cached) $ECHO_C" >&6
28831 ac_check_lib_save_LIBS
=$LIBS
28832 LIBS
="-lpng -lz -lm $LIBS"
28833 cat >conftest.
$ac_ext <<_ACEOF
28836 cat confdefs.h
>>conftest.
$ac_ext
28837 cat >>conftest.
$ac_ext <<_ACEOF
28838 /* end confdefs.h. */
28840 /* Override any GCC internal prototype to avoid an error.
28841 Use char because int might match the return type of a GCC
28842 builtin and then its argument prototype would still apply. */
28846 char png_check_sig ();
28850 return png_check_sig ();
28855 rm -f conftest.
$ac_objext conftest
$ac_exeext
28856 if { (ac_try
="$ac_link"
28857 case "(($ac_try" in
28858 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28859 *) ac_try_echo=$ac_try;;
28861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28862 (eval "$ac_link") 2>conftest.er1
28864 grep -v '^ *+' conftest.er1 >conftest.err
28866 cat conftest.err >&5
28867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28868 (exit $ac_status); } && {
28869 test -z "$ac_c_werror_flag" ||
28870 test ! -s conftest.err
28871 } && test -s conftest$ac_exeext &&
28872 $as_test_x conftest$ac_exeext; then
28873 ac_cv_lib_png_png_check_sig=yes
28875 echo "$as_me: failed program was:" >&5
28876 sed 's/^/| /' conftest.$ac_ext >&5
28878 ac_cv_lib_png_png_check_sig=no
28881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28882 conftest$ac_exeext conftest.$ac_ext
28883 LIBS=$ac_check_lib_save_LIBS
28885 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28886 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28887 if test $ac_cv_lib_png_png_check_sig = yes; then
28888 PNG_LINK=" -lpng -lz"
28893 if test "x$PNG_LINK" = "x" ; then
28894 if test "$wxUSE_LIBPNG" = "sys" ; then
28895 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28896 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28897 { (exit 1); exit 1; }; }
28899 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28900 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28901 wxUSE_LIBPNG=builtin
28909 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28914 if test "$wxUSE_LIBJPEG" != "no" ; then
28915 cat >>confdefs.h <<\_ACEOF
28916 #define wxUSE_LIBJPEG 1
28920 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28921 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28922 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28926 if test "$wxUSE_MGL" != 1 ; then
28927 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28928 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28929 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28930 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28931 echo $ECHO_N "(cached) $ECHO_C" >&6
28933 cat >conftest.$ac_ext <<_ACEOF
28936 cat confdefs.h >>conftest.$ac_ext
28937 cat >>conftest.$ac_ext <<_ACEOF
28938 /* end confdefs.h. */
28940 #undef HAVE_STDLIB_H
28942 #include <jpeglib.h>
28953 rm -f conftest.$ac_objext
28954 if { (ac_try="$ac_compile"
28955 case "(($ac_try" in
28956 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28957 *) ac_try_echo
=$ac_try;;
28959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28960 (eval "$ac_compile") 2>conftest.er1
28962 grep -v '^ *+' conftest.er1
>conftest.err
28964 cat conftest.err
>&5
28965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28966 (exit $ac_status); } && {
28967 test -z "$ac_c_werror_flag" ||
28968 test ! -s conftest.err
28969 } && test -s conftest.
$ac_objext; then
28970 ac_cv_header_jpeglib_h
=yes
28972 echo "$as_me: failed program was:" >&5
28973 sed 's/^/| /' conftest.
$ac_ext >&5
28975 ac_cv_header_jpeglib_h
=no
28979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28983 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28984 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28986 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28987 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28988 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28989 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28990 echo $ECHO_N "(cached) $ECHO_C" >&6
28992 ac_check_lib_save_LIBS
=$LIBS
28993 LIBS
="-ljpeg $LIBS"
28994 cat >conftest.
$ac_ext <<_ACEOF
28997 cat confdefs.h
>>conftest.
$ac_ext
28998 cat >>conftest.
$ac_ext <<_ACEOF
28999 /* end confdefs.h. */
29001 /* Override any GCC internal prototype to avoid an error.
29002 Use char because int might match the return type of a GCC
29003 builtin and then its argument prototype would still apply. */
29007 char jpeg_read_header ();
29011 return jpeg_read_header ();
29016 rm -f conftest.
$ac_objext conftest
$ac_exeext
29017 if { (ac_try
="$ac_link"
29018 case "(($ac_try" in
29019 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29020 *) ac_try_echo=$ac_try;;
29022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29023 (eval "$ac_link") 2>conftest.er1
29025 grep -v '^ *+' conftest.er1 >conftest.err
29027 cat conftest.err >&5
29028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29029 (exit $ac_status); } && {
29030 test -z "$ac_c_werror_flag" ||
29031 test ! -s conftest.err
29032 } && test -s conftest$ac_exeext &&
29033 $as_test_x conftest$ac_exeext; then
29034 ac_cv_lib_jpeg_jpeg_read_header=yes
29036 echo "$as_me: failed program was:" >&5
29037 sed 's/^/| /' conftest.$ac_ext >&5
29039 ac_cv_lib_jpeg_jpeg_read_header=no
29042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29043 conftest$ac_exeext conftest.$ac_ext
29044 LIBS=$ac_check_lib_save_LIBS
29046 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29047 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29048 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29049 JPEG_LINK=" -ljpeg"
29054 if test "x$JPEG_LINK" = "x" ; then
29055 if test "$wxUSE_LIBJPEG" = "sys" ; then
29056 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29057 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29058 { (exit 1); exit 1; }; }
29060 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29061 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29062 wxUSE_LIBJPEG=builtin
29067 if test "$wxUSE_MSW" = 1; then
29068 { echo "$as_me:$LINENO: checking for boolean" >&5
29069 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29070 if test "${ac_cv_type_boolean+set}" = set; then
29071 echo $ECHO_N "(cached) $ECHO_C" >&6
29073 cat >conftest.$ac_ext <<_ACEOF
29076 cat confdefs.h >>conftest.$ac_ext
29077 cat >>conftest.$ac_ext <<_ACEOF
29078 /* end confdefs.h. */
29079 #include <windows.h>
29081 typedef boolean ac__type_new_;
29085 if ((ac__type_new_ *) 0)
29087 if (sizeof (ac__type_new_))
29093 rm -f conftest.$ac_objext
29094 if { (ac_try="$ac_compile"
29095 case "(($ac_try" in
29096 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29097 *) ac_try_echo
=$ac_try;;
29099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29100 (eval "$ac_compile") 2>conftest.er1
29102 grep -v '^ *+' conftest.er1
>conftest.err
29104 cat conftest.err
>&5
29105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106 (exit $ac_status); } && {
29107 test -z "$ac_c_werror_flag" ||
29108 test ! -s conftest.err
29109 } && test -s conftest.
$ac_objext; then
29110 ac_cv_type_boolean
=yes
29112 echo "$as_me: failed program was:" >&5
29113 sed 's/^/| /' conftest.
$ac_ext >&5
29115 ac_cv_type_boolean
=no
29118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29120 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29121 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29122 if test $ac_cv_type_boolean = yes; then
29124 cat >>confdefs.h
<<_ACEOF
29125 #define HAVE_BOOLEAN 1
29129 { echo "$as_me:$LINENO: checking for boolean" >&5
29130 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29131 if test "${ac_cv_type_boolean+set}" = set; then
29132 echo $ECHO_N "(cached) $ECHO_C" >&6
29134 cat >conftest.
$ac_ext <<_ACEOF
29137 cat confdefs.h
>>conftest.
$ac_ext
29138 cat >>conftest.
$ac_ext <<_ACEOF
29139 /* end confdefs.h. */
29141 #undef HAVE_BOOLEAN
29143 #include <jpeglib.h>
29146 typedef boolean ac__type_new_;
29150 if ((ac__type_new_ *) 0)
29152 if (sizeof (ac__type_new_))
29158 rm -f conftest.
$ac_objext
29159 if { (ac_try
="$ac_compile"
29160 case "(($ac_try" in
29161 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29162 *) ac_try_echo=$ac_try;;
29164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29165 (eval "$ac_compile") 2>conftest.er1
29167 grep -v '^ *+' conftest.er1 >conftest.err
29169 cat conftest.err >&5
29170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29171 (exit $ac_status); } && {
29172 test -z "$ac_c_werror_flag" ||
29173 test ! -s conftest.err
29174 } && test -s conftest.$ac_objext; then
29175 ac_cv_type_boolean=yes
29177 echo "$as_me: failed program was:" >&5
29178 sed 's/^/| /' conftest.$ac_ext >&5
29180 ac_cv_type_boolean=no
29183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29185 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29186 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29188 # The cast to long int works around a bug in the HP C Compiler
29189 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29190 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
29191 # This bug is HP SR number 8606223364.
29192 { echo "$as_me:$LINENO: checking size of boolean" >&5
29193 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29194 if test "${ac_cv_sizeof_boolean+set}" = set; then
29195 echo $ECHO_N "(cached) $ECHO_C" >&6
29197 if test "$cross_compiling" = yes; then
29198 # Depending upon the size, compute the lo and hi bounds.
29199 cat >conftest.$ac_ext <<_ACEOF
29202 cat confdefs.h >>conftest.$ac_ext
29203 cat >>conftest.$ac_ext <<_ACEOF
29204 /* end confdefs.h. */
29206 #undef HAVE_BOOLEAN
29208 #include <jpeglib.h>
29211 typedef boolean ac__type_sizeof_;
29215 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29222 rm -f conftest.$ac_objext
29223 if { (ac_try="$ac_compile"
29224 case "(($ac_try" in
29225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29226 *) ac_try_echo=$ac_try;;
29228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29229 (eval "$ac_compile") 2>conftest.er1
29231 grep -v '^
*+' conftest.er1 >conftest.err
29233 cat conftest.err >&5
29234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29235 (exit $ac_status); } && {
29236 test -z "$ac_c_werror_flag" ||
29237 test ! -s conftest.err
29238 } && test -s conftest.$ac_objext; then
29241 cat >conftest.$ac_ext <<_ACEOF
29244 cat confdefs.h >>conftest.$ac_ext
29245 cat >>conftest.$ac_ext <<_ACEOF
29246 /* end confdefs.h. */
29248 #undef HAVE_BOOLEAN
29250 #include <jpeglib.h>
29253 typedef boolean ac__type_sizeof_;
29257 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29264 rm -f conftest.$ac_objext
29265 if { (ac_try="$ac_compile"
29266 case "(($ac_try" in
29267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29268 *) ac_try_echo=$ac_try;;
29270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29271 (eval "$ac_compile") 2>conftest.er1
29273 grep -v '^
*+' conftest.er1 >conftest.err
29275 cat conftest.err >&5
29276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29277 (exit $ac_status); } && {
29278 test -z "$ac_c_werror_flag" ||
29279 test ! -s conftest.err
29280 } && test -s conftest.$ac_objext; then
29281 ac_hi=$ac_mid; break
29283 echo "$as_me: failed program was:" >&5
29284 sed 's
/^
/| /' conftest.$ac_ext >&5
29286 ac_lo=`expr $ac_mid + 1`
29287 if test $ac_lo -le $ac_mid; then
29291 ac_mid=`expr 2 '*' $ac_mid + 1`
29294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29297 echo "$as_me: failed program was:" >&5
29298 sed 's
/^
/| /' conftest.$ac_ext >&5
29300 cat >conftest.$ac_ext <<_ACEOF
29303 cat confdefs.h >>conftest.$ac_ext
29304 cat >>conftest.$ac_ext <<_ACEOF
29305 /* end confdefs.h. */
29307 #undef HAVE_BOOLEAN
29309 #include <jpeglib.h>
29312 typedef boolean ac__type_sizeof_;
29316 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29323 rm -f conftest.$ac_objext
29324 if { (ac_try="$ac_compile"
29325 case "(($ac_try" in
29326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29327 *) ac_try_echo=$ac_try;;
29329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29330 (eval "$ac_compile") 2>conftest.er1
29332 grep -v '^
*+' conftest.er1 >conftest.err
29334 cat conftest.err >&5
29335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29336 (exit $ac_status); } && {
29337 test -z "$ac_c_werror_flag" ||
29338 test ! -s conftest.err
29339 } && test -s conftest.$ac_objext; then
29342 cat >conftest.$ac_ext <<_ACEOF
29345 cat confdefs.h >>conftest.$ac_ext
29346 cat >>conftest.$ac_ext <<_ACEOF
29347 /* end confdefs.h. */
29349 #undef HAVE_BOOLEAN
29351 #include <jpeglib.h>
29354 typedef boolean ac__type_sizeof_;
29358 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29365 rm -f conftest.$ac_objext
29366 if { (ac_try="$ac_compile"
29367 case "(($ac_try" in
29368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29369 *) ac_try_echo=$ac_try;;
29371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29372 (eval "$ac_compile") 2>conftest.er1
29374 grep -v '^
*+' conftest.er1 >conftest.err
29376 cat conftest.err >&5
29377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29378 (exit $ac_status); } && {
29379 test -z "$ac_c_werror_flag" ||
29380 test ! -s conftest.err
29381 } && test -s conftest.$ac_objext; then
29382 ac_lo=$ac_mid; break
29384 echo "$as_me: failed program was:" >&5
29385 sed 's
/^
/| /' conftest.$ac_ext >&5
29387 ac_hi=`expr '(' $ac_mid ')' - 1`
29388 if test $ac_mid -le $ac_hi; then
29392 ac_mid=`expr 2 '*' $ac_mid`
29395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29398 echo "$as_me: failed program was:" >&5
29399 sed 's
/^
/| /' conftest.$ac_ext >&5
29404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29408 # Binary search between lo and hi bounds.
29409 while test "x$ac_lo" != "x$ac_hi"; do
29410 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29411 cat >conftest.$ac_ext <<_ACEOF
29414 cat confdefs.h >>conftest.$ac_ext
29415 cat >>conftest.$ac_ext <<_ACEOF
29416 /* end confdefs.h. */
29418 #undef HAVE_BOOLEAN
29420 #include <jpeglib.h>
29423 typedef boolean ac__type_sizeof_;
29427 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29434 rm -f conftest.$ac_objext
29435 if { (ac_try="$ac_compile"
29436 case "(($ac_try" in
29437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29438 *) ac_try_echo=$ac_try;;
29440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29441 (eval "$ac_compile") 2>conftest.er1
29443 grep -v '^
*+' conftest.er1 >conftest.err
29445 cat conftest.err >&5
29446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29447 (exit $ac_status); } && {
29448 test -z "$ac_c_werror_flag" ||
29449 test ! -s conftest.err
29450 } && test -s conftest.$ac_objext; then
29453 echo "$as_me: failed program was:" >&5
29454 sed 's
/^
/| /' conftest.$ac_ext >&5
29456 ac_lo=`expr '(' $ac_mid ')' + 1`
29459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29462 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29463 '') if test "$ac_cv_type_boolean" = yes; then
29464 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29465 See \`config.log' for more details.
" >&5
29466 echo "$as_me: error
: cannot compute sizeof
(boolean
)
29467 See \
`config.log' for more details." >&2;}
29468 { (exit 77); exit 77; }; }
29470 ac_cv_sizeof_boolean=0
29474 cat >conftest.$ac_ext <<_ACEOF
29477 cat confdefs.h >>conftest.$ac_ext
29478 cat >>conftest.$ac_ext <<_ACEOF
29479 /* end confdefs.h. */
29481 #undef HAVE_BOOLEAN
29483 #include <jpeglib.h>
29486 typedef boolean ac__type_sizeof_;
29487 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29488 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29490 #include <stdlib.h>
29495 FILE *f = fopen ("conftest.val", "w");
29498 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29500 long int i = longval ();
29501 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29503 fprintf (f, "%ld\n", i);
29507 unsigned long int i = ulongval ();
29508 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29510 fprintf (f, "%lu\n", i);
29512 return ferror (f) || fclose (f) != 0;
29518 rm -f conftest$ac_exeext
29519 if { (ac_try="$ac_link"
29520 case "(($ac_try" in
29521 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29522 *) ac_try_echo
=$ac_try;;
29524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29525 (eval "$ac_link") 2>&5
29527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29528 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29529 { (case "(($ac_try" in
29530 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29531 *) ac_try_echo=$ac_try;;
29533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29534 (eval "$ac_try") 2>&5
29536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29537 (exit $ac_status); }; }; then
29538 ac_cv_sizeof_boolean=`cat conftest.val
`
29540 echo "$as_me: program exited with status $ac_status" >&5
29541 echo "$as_me: failed program was:" >&5
29542 sed 's/^/| /' conftest.$ac_ext >&5
29544 ( exit $ac_status )
29545 if test "$ac_cv_type_boolean" = yes; then
29546 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29547 See \`config.log
' for more details." >&5
29548 echo "$as_me: error: cannot compute sizeof (boolean)
29549 See \`config.log' for more details.
" >&2;}
29550 { (exit 77); exit 77; }; }
29552 ac_cv_sizeof_boolean=0
29555 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29559 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
29560 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29564 cat >>confdefs.h <<_ACEOF
29565 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29569 cat >>confdefs.h <<_ACEOF
29570 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29584 TIFF_PREREQ_LINKS=-lm
29585 if test "$wxUSE_LIBTIFF" != "no
" ; then
29586 cat >>confdefs.h <<\_ACEOF
29587 #define wxUSE_LIBTIFF 1
29591 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
29592 if test "$wxUSE_LIBJPEG" = "sys
"; then
29593 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29595 if test "$wxUSE_ZLIB" = "sys
"; then
29596 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29598 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
29599 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
29600 if test "${ac_cv_header_tiffio_h+set}" = set; then
29601 echo $ECHO_N "(cached
) $ECHO_C" >&6
29603 cat >conftest.$ac_ext <<_ACEOF
29606 cat confdefs.h >>conftest.$ac_ext
29607 cat >>conftest.$ac_ext <<_ACEOF
29608 /* end confdefs.h. */
29612 #include <tiffio.h>
29614 rm -f conftest.$ac_objext
29615 if { (ac_try="$ac_compile"
29616 case "(($ac_try" in
29617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29618 *) ac_try_echo=$ac_try;;
29620 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29621 (eval "$ac_compile") 2>conftest.er1
29623 grep -v '^ *+' conftest.er1 >conftest.err
29625 cat conftest.err >&5
29626 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29627 (exit $ac_status); } && {
29628 test -z "$ac_c_werror_flag" ||
29629 test ! -s conftest.err
29630 } && test -s conftest.$ac_objext; then
29631 ac_cv_header_tiffio_h=yes
29633 echo "$as_me: failed program was
:" >&5
29634 sed 's/^/| /' conftest.$ac_ext >&5
29636 ac_cv_header_tiffio_h=no
29639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29641 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
29642 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29643 if test $ac_cv_header_tiffio_h = yes; then
29645 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
29646 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
29647 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29648 echo $ECHO_N "(cached
) $ECHO_C" >&6
29650 ac_check_lib_save_LIBS=$LIBS
29651 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29652 cat >conftest.$ac_ext <<_ACEOF
29655 cat confdefs.h >>conftest.$ac_ext
29656 cat >>conftest.$ac_ext <<_ACEOF
29657 /* end confdefs.h. */
29659 /* Override any GCC internal prototype to avoid an error.
29660 Use char because int might match the return type of a GCC
29661 builtin and then its argument prototype would still apply. */
29669 return TIFFError ();
29674 rm -f conftest.$ac_objext conftest$ac_exeext
29675 if { (ac_try="$ac_link"
29676 case "(($ac_try" in
29677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29678 *) ac_try_echo=$ac_try;;
29680 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29681 (eval "$ac_link") 2>conftest.er1
29683 grep -v '^ *+' conftest.er1 >conftest.err
29685 cat conftest.err >&5
29686 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29687 (exit $ac_status); } && {
29688 test -z "$ac_c_werror_flag" ||
29689 test ! -s conftest.err
29690 } && test -s conftest$ac_exeext &&
29691 $as_test_x conftest$ac_exeext; then
29692 ac_cv_lib_tiff_TIFFError=yes
29694 echo "$as_me: failed program was
:" >&5
29695 sed 's/^/| /' conftest.$ac_ext >&5
29697 ac_cv_lib_tiff_TIFFError=no
29700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29701 conftest$ac_exeext conftest.$ac_ext
29702 LIBS=$ac_check_lib_save_LIBS
29704 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
29705 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29706 if test $ac_cv_lib_tiff_TIFFError = yes; then
29707 TIFF_LINK=" -ltiff"
29715 if test "x
$TIFF_LINK" = "x
" ; then
29716 if test "$wxUSE_LIBTIFF" = "sys
" ; then
29717 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
29718 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
29719 { (exit 1); exit 1; }; }
29721 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
29722 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
29723 wxUSE_LIBTIFF=builtin
29732 if test "$wxUSE_WCHAR_T" != "yes"; then
29733 if test "$wxUSE_EXPAT" != "no
"; then
29734 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
29735 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
29738 if test "$wxUSE_XML" != "no
"; then
29739 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
29740 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
29745 if test "$wxUSE_EXPAT" != "no
"; then
29747 cat >>confdefs.h <<\_ACEOF
29748 #define wxUSE_EXPAT 1
29751 cat >>confdefs.h <<\_ACEOF
29752 #define wxUSE_XML 1
29756 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
29757 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
29758 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
29759 if test "${ac_cv_header_expat_h+set}" = set; then
29760 echo $ECHO_N "(cached
) $ECHO_C" >&6
29762 cat >conftest.$ac_ext <<_ACEOF
29765 cat confdefs.h >>conftest.$ac_ext
29766 cat >>conftest.$ac_ext <<_ACEOF
29767 /* end confdefs.h. */
29772 rm -f conftest.$ac_objext
29773 if { (ac_try="$ac_compile"
29774 case "(($ac_try" in
29775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29776 *) ac_try_echo=$ac_try;;
29778 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29779 (eval "$ac_compile") 2>conftest.er1
29781 grep -v '^ *+' conftest.er1 >conftest.err
29783 cat conftest.err >&5
29784 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29785 (exit $ac_status); } && {
29786 test -z "$ac_c_werror_flag" ||
29787 test ! -s conftest.err
29788 } && test -s conftest.$ac_objext; then
29789 ac_cv_header_expat_h=yes
29791 echo "$as_me: failed program was
:" >&5
29792 sed 's/^/| /' conftest.$ac_ext >&5
29794 ac_cv_header_expat_h=no
29797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29799 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
29800 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29801 if test $ac_cv_header_expat_h = yes; then
29806 if test "x
$found_expat_h" = "x1
"; then
29807 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
29808 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
29809 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29810 echo $ECHO_N "(cached
) $ECHO_C" >&6
29814 ac_cpp='$CXXCPP $CPPFLAGS'
29815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29819 cat >conftest.$ac_ext <<_ACEOF
29822 cat confdefs.h >>conftest.$ac_ext
29823 cat >>conftest.$ac_ext <<_ACEOF
29824 /* end confdefs.h. */
29834 rm -f conftest.$ac_objext
29835 if { (ac_try="$ac_compile"
29836 case "(($ac_try" in
29837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29838 *) ac_try_echo=$ac_try;;
29840 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29841 (eval "$ac_compile") 2>conftest.er1
29843 grep -v '^ *+' conftest.er1 >conftest.err
29845 cat conftest.err >&5
29846 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29847 (exit $ac_status); } && {
29848 test -z "$ac_cxx_werror_flag" ||
29849 test ! -s conftest.err
29850 } && test -s conftest.$ac_objext; then
29851 wx_cv_expat_is_not_broken=yes
29853 echo "$as_me: failed program was
:" >&5
29854 sed 's/^/| /' conftest.$ac_ext >&5
29856 wx_cv_expat_is_not_broken=no
29860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29862 ac_cpp='$CPP $CPPFLAGS'
29863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29870 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
29871 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29872 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29873 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
29874 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
29875 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29876 echo $ECHO_N "(cached
) $ECHO_C" >&6
29878 ac_check_lib_save_LIBS=$LIBS
29879 LIBS="-lexpat $LIBS"
29880 cat >conftest.$ac_ext <<_ACEOF
29883 cat confdefs.h >>conftest.$ac_ext
29884 cat >>conftest.$ac_ext <<_ACEOF
29885 /* end confdefs.h. */
29887 /* Override any GCC internal prototype to avoid an error.
29888 Use char because int might match the return type of a GCC
29889 builtin and then its argument prototype would still apply. */
29893 char XML_ParserCreate ();
29897 return XML_ParserCreate ();
29902 rm -f conftest.$ac_objext conftest$ac_exeext
29903 if { (ac_try="$ac_link"
29904 case "(($ac_try" in
29905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29906 *) ac_try_echo=$ac_try;;
29908 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29909 (eval "$ac_link") 2>conftest.er1
29911 grep -v '^ *+' conftest.er1 >conftest.err
29913 cat conftest.err >&5
29914 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29915 (exit $ac_status); } && {
29916 test -z "$ac_c_werror_flag" ||
29917 test ! -s conftest.err
29918 } && test -s conftest$ac_exeext &&
29919 $as_test_x conftest$ac_exeext; then
29920 ac_cv_lib_expat_XML_ParserCreate=yes
29922 echo "$as_me: failed program was
:" >&5
29923 sed 's/^/| /' conftest.$ac_ext >&5
29925 ac_cv_lib_expat_XML_ParserCreate=no
29928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29929 conftest$ac_exeext conftest.$ac_ext
29930 LIBS=$ac_check_lib_save_LIBS
29932 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
29933 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29934 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29935 EXPAT_LINK=" -lexpat"
29940 if test "x
$EXPAT_LINK" = "x
" ; then
29941 if test "$wxUSE_EXPAT" = "sys
" ; then
29942 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
29943 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
29944 { (exit 1); exit 1; }; }
29946 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
29947 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
29948 wxUSE_EXPAT=builtin
29954 if test "$wxUSE_EXPAT" = "builtin" ; then
29955 subdirs="$subdirs src
/expat
"
29962 if test "$wxUSE_LIBMSPACK" != "no
"; then
29963 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
29964 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
29965 if test "${ac_cv_header_mspack_h+set}" = set; then
29966 echo $ECHO_N "(cached
) $ECHO_C" >&6
29968 cat >conftest.$ac_ext <<_ACEOF
29971 cat confdefs.h >>conftest.$ac_ext
29972 cat >>conftest.$ac_ext <<_ACEOF
29973 /* end confdefs.h. */
29976 #include <mspack.h>
29978 rm -f conftest.$ac_objext
29979 if { (ac_try="$ac_compile"
29980 case "(($ac_try" in
29981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29982 *) ac_try_echo=$ac_try;;
29984 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29985 (eval "$ac_compile") 2>conftest.er1
29987 grep -v '^ *+' conftest.er1 >conftest.err
29989 cat conftest.err >&5
29990 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29991 (exit $ac_status); } && {
29992 test -z "$ac_c_werror_flag" ||
29993 test ! -s conftest.err
29994 } && test -s conftest.$ac_objext; then
29995 ac_cv_header_mspack_h=yes
29997 echo "$as_me: failed program was
:" >&5
29998 sed 's/^/| /' conftest.$ac_ext >&5
30000 ac_cv_header_mspack_h=no
30003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30005 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
30006 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30007 if test $ac_cv_header_mspack_h = yes; then
30012 if test "x
$found_mspack_h" = "x1
"; then
30013 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
30014 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
30015 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30016 echo $ECHO_N "(cached
) $ECHO_C" >&6
30018 ac_check_lib_save_LIBS=$LIBS
30019 LIBS="-lmspack $LIBS"
30020 cat >conftest.$ac_ext <<_ACEOF
30023 cat confdefs.h >>conftest.$ac_ext
30024 cat >>conftest.$ac_ext <<_ACEOF
30025 /* end confdefs.h. */
30027 /* Override any GCC internal prototype to avoid an error.
30028 Use char because int might match the return type of a GCC
30029 builtin and then its argument prototype would still apply. */
30033 char mspack_create_chm_decompressor ();
30037 return mspack_create_chm_decompressor ();
30042 rm -f conftest.$ac_objext conftest$ac_exeext
30043 if { (ac_try="$ac_link"
30044 case "(($ac_try" in
30045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30046 *) ac_try_echo=$ac_try;;
30048 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30049 (eval "$ac_link") 2>conftest.er1
30051 grep -v '^ *+' conftest.er1 >conftest.err
30053 cat conftest.err >&5
30054 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30055 (exit $ac_status); } && {
30056 test -z "$ac_c_werror_flag" ||
30057 test ! -s conftest.err
30058 } && test -s conftest$ac_exeext &&
30059 $as_test_x conftest$ac_exeext; then
30060 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30062 echo "$as_me: failed program was
:" >&5
30063 sed 's/^/| /' conftest.$ac_ext >&5
30065 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30069 conftest$ac_exeext conftest.$ac_ext
30070 LIBS=$ac_check_lib_save_LIBS
30072 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30073 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30074 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30075 MSPACK_LINK=" -lmspack"
30079 if test "x
$MSPACK_LINK" = "x
" ; then
30084 if test "$wxUSE_LIBMSPACK" != "no
"; then
30085 cat >>confdefs.h <<\_ACEOF
30086 #define wxUSE_LIBMSPACK 1
30100 if test "$USE_WIN32" = 1 ; then
30102 for ac_header in w32api.h
30104 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
30105 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
30106 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
30107 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
30108 echo $ECHO_N "(cached
) $ECHO_C" >&6
30110 cat >conftest.$ac_ext <<_ACEOF
30113 cat confdefs.h >>conftest.$ac_ext
30114 cat >>conftest.$ac_ext <<_ACEOF
30115 /* end confdefs.h. */
30118 #include <$ac_header>
30120 rm -f conftest.$ac_objext
30121 if { (ac_try="$ac_compile"
30122 case "(($ac_try" in
30123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30124 *) ac_try_echo=$ac_try;;
30126 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30127 (eval "$ac_compile") 2>conftest.er1
30129 grep -v '^ *+' conftest.er1 >conftest.err
30131 cat conftest.err >&5
30132 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30133 (exit $ac_status); } && {
30134 test -z "$ac_c_werror_flag" ||
30135 test ! -s conftest.err
30136 } && test -s conftest.$ac_objext; then
30137 eval "$as_ac_Header=yes"
30139 echo "$as_me: failed program was
:" >&5
30140 sed 's/^/| /' conftest.$ac_ext >&5
30142 eval "$as_ac_Header=no
"
30145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30147 ac_res=`eval echo '${'$as_ac_Header'}'`
30148 { echo "$as_me:$LINENO: result
: $ac_res" >&5
30149 echo "${ECHO_T}$ac_res" >&6; }
30150 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30151 cat >>confdefs.h <<_ACEOF
30152 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
30159 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
30160 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
30161 if test "${ac_cv_header_windows_h+set}" = set; then
30162 echo $ECHO_N "(cached
) $ECHO_C" >&6
30164 cat >conftest.$ac_ext <<_ACEOF
30167 cat confdefs.h >>conftest.$ac_ext
30168 cat >>conftest.$ac_ext <<_ACEOF
30169 /* end confdefs.h. */
30172 #include <windows.h>
30174 rm -f conftest.$ac_objext
30175 if { (ac_try="$ac_compile"
30176 case "(($ac_try" in
30177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30178 *) ac_try_echo=$ac_try;;
30180 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30181 (eval "$ac_compile") 2>conftest.er1
30183 grep -v '^ *+' conftest.er1 >conftest.err
30185 cat conftest.err >&5
30186 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30187 (exit $ac_status); } && {
30188 test -z "$ac_c_werror_flag" ||
30189 test ! -s conftest.err
30190 } && test -s conftest.$ac_objext; then
30191 ac_cv_header_windows_h=yes
30193 echo "$as_me: failed program was
:" >&5
30194 sed 's/^/| /' conftest.$ac_ext >&5
30196 ac_cv_header_windows_h=no
30199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30201 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
30202 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30203 if test $ac_cv_header_windows_h = yes; then
30207 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
30208 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
30209 { (exit 1); exit 1; }; }
30215 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30217 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30218 LIBS="$LIBS -loleacc"
30223 LIBS="$LIBS -lkernel32 -luser32"
30226 if test "$wxUSE_ODBC" = "sys
" ; then
30229 if test "$wxUSE_ODBC" = "yes" ; then
30230 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30231 cat >>confdefs.h <<\_ACEOF
30232 #define wxUSE_ODBC 1
30237 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30238 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
30240 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30242 WIN32INSTALL=win32install
30244 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
30245 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
30246 if test "${ac_cv_header_pbt_h+set}" = set; then
30247 echo $ECHO_N "(cached
) $ECHO_C" >&6
30249 cat >conftest.$ac_ext <<_ACEOF
30252 cat confdefs.h >>conftest.$ac_ext
30253 cat >>conftest.$ac_ext <<_ACEOF
30254 /* end confdefs.h. */
30259 rm -f conftest.$ac_objext
30260 if { (ac_try="$ac_compile"
30261 case "(($ac_try" in
30262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30263 *) ac_try_echo=$ac_try;;
30265 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30266 (eval "$ac_compile") 2>conftest.er1
30268 grep -v '^ *+' conftest.er1 >conftest.err
30270 cat conftest.err >&5
30271 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30272 (exit $ac_status); } && {
30273 test -z "$ac_c_werror_flag" ||
30274 test ! -s conftest.err
30275 } && test -s conftest.$ac_objext; then
30276 ac_cv_header_pbt_h=yes
30278 echo "$as_me: failed program was
:" >&5
30279 sed 's/^/| /' conftest.$ac_ext >&5
30281 ac_cv_header_pbt_h=no
30284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30286 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
30287 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30288 if test $ac_cv_header_pbt_h = yes; then
30291 cat >>confdefs.h <<\_ACEOF
30292 #define NEED_PBT_H 1
30300 if test "$wxUSE_GUI" = "yes"; then
30310 if test "$wxUSE_COCOA" = 1 ; then
30311 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30312 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
30313 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
30314 wxUSE_PRINTING_ARCHITECTURE=no
30316 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30317 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
30318 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
30319 wxUSE_DRAG_AND_DROP=no
30321 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30322 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
30323 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
30328 if test "$wxUSE_MSW" = 1 ; then
30334 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
30338 if test "$wxUSE_GTK" = 1; then
30339 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
30340 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
30342 gtk_version_cached=1
30343 if test "${wx_cv_lib_gtk+set}" = set; then
30344 echo $ECHO_N "(cached
) $ECHO_C" >&6
30347 gtk_version_cached=0
30348 { echo "$as_me:$LINENO: result
: " >&5
30349 echo "${ECHO_T}" >&6; }
30352 if test "$wxUSE_THREADS" = "yes"; then
30353 GTK_MODULES=gthread
30357 if test "x
$wxGTK_VERSION" != "x1
"
30361 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30366 # Check whether --enable-gtktest was given.
30367 if test "${enable_gtktest+set}" = set; then
30368 enableval=$enable_gtktest;
30374 pkg_config_args=gtk+-2.0
30375 for module in . $GTK_MODULES
30379 pkg_config_args="$pkg_config_args gthread
-2.0
"
30386 # Extract the first word of "pkg
-config", so it can be a program name with args.
30387 set dummy pkg-config; ac_word=$2
30388 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30389 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30390 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30391 echo $ECHO_N "(cached
) $ECHO_C" >&6
30393 case $PKG_CONFIG in
30395 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30399 for as_dir in $PATH
30402 test -z "$as_dir" && as_dir=.
30403 for ac_exec_ext in '' $ac_executable_extensions; do
30404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30405 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30406 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30413 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
30417 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30418 if test -n "$PKG_CONFIG"; then
30419 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
30420 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30422 { echo "$as_me:$LINENO: result
: no
" >&5
30423 echo "${ECHO_T}no
" >&6; }
30428 if test x$PKG_CONFIG != xno ; then
30429 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30432 echo "*** pkg
-config too old
; version
0.7 or better required.
"
30440 min_gtk_version=2.0.0
30441 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
30442 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
30444 if test x$PKG_CONFIG != xno ; then
30445 ## don't try to run the test against uninstalled libtool libs
30446 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30447 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
30451 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30458 if test x"$no_gtk" = x ; then
30459 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30460 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30461 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30462 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30463 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30464 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30465 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30466 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30467 if test "x
$enable_gtktest" = "xyes
" ; then
30468 ac_save_CFLAGS="$CFLAGS"
30469 ac_save_LIBS="$LIBS"
30470 CFLAGS="$CFLAGS $GTK_CFLAGS"
30471 LIBS="$GTK_LIBS $LIBS"
30473 if test "$cross_compiling" = yes; then
30474 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30476 cat >conftest.$ac_ext <<_ACEOF
30479 cat confdefs.h >>conftest.$ac_ext
30480 cat >>conftest.$ac_ext <<_ACEOF
30481 /* end confdefs.h. */
30483 #include <gtk/gtk.h>
30485 #include <stdlib.h>
30490 int major, minor, micro;
30493 system ("touch conf.gtktest
");
30495 /* HP/UX 9 (%@#!) writes to sscanf strings */
30496 tmp_version = g_strdup("$min_gtk_version");
30497 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30498 printf("%s
, bad version string
\n", "$min_gtk_version");
30502 if ((gtk_major_version != $gtk_config_major_version) ||
30503 (gtk_minor_version != $gtk_config_minor_version) ||
30504 (gtk_micro_version != $gtk_config_micro_version))
30506 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30507 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30508 gtk_major_version, gtk_minor_version, gtk_micro_version);
30509 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
30510 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30511 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30512 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30513 printf("*** required on your system.
\n");
30514 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
30515 printf("*** to point to the correct configuration files
\n");
30517 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30518 (gtk_minor_version != GTK_MINOR_VERSION) ||
30519 (gtk_micro_version != GTK_MICRO_VERSION))
30521 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30522 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30523 printf("*** library
(version
%d.
%d.
%d
)\n",
30524 gtk_major_version, gtk_minor_version, gtk_micro_version);
30528 if ((gtk_major_version > major) ||
30529 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30530 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30536 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30537 gtk_major_version, gtk_minor_version, gtk_micro_version);
30538 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30539 major, minor, micro);
30540 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30542 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30543 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
30544 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30545 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
30546 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
30547 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30548 printf("*** so that the correct libraries are found
at run
-time))\n");
30555 rm -f conftest$ac_exeext
30556 if { (ac_try="$ac_link"
30557 case "(($ac_try" in
30558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30559 *) ac_try_echo=$ac_try;;
30561 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30562 (eval "$ac_link") 2>&5
30564 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30565 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30566 { (case "(($ac_try" in
30567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30568 *) ac_try_echo=$ac_try;;
30570 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30571 (eval "$ac_try") 2>&5
30573 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30574 (exit $ac_status); }; }; then
30577 echo "$as_me: program exited with status
$ac_status" >&5
30578 echo "$as_me: failed program was
:" >&5
30579 sed 's/^/| /' conftest.$ac_ext >&5
30581 ( exit $ac_status )
30584 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30588 CFLAGS="$ac_save_CFLAGS"
30589 LIBS="$ac_save_LIBS"
30592 if test "x
$no_gtk" = x ; then
30593 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
30594 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
30597 { echo "$as_me:$LINENO: result
: no
" >&5
30598 echo "${ECHO_T}no
" >&6; }
30599 if test "$PKG_CONFIG" = "no
" ; then
30600 echo "*** A new enough version of pkg
-config was not found.
"
30601 echo "*** See http
://pkgconfig.sourceforge.net
"
30603 if test -f conf.gtktest ; then
30606 echo "*** Could not run GTK
+ test program
, checking why...
"
30607 ac_save_CFLAGS="$CFLAGS"
30608 ac_save_LIBS="$LIBS"
30609 CFLAGS="$CFLAGS $GTK_CFLAGS"
30610 LIBS="$LIBS $GTK_LIBS"
30611 cat >conftest.$ac_ext <<_ACEOF
30614 cat confdefs.h >>conftest.$ac_ext
30615 cat >>conftest.$ac_ext <<_ACEOF
30616 /* end confdefs.h. */
30618 #include <gtk/gtk.h>
30624 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30629 rm -f conftest.$ac_objext conftest$ac_exeext
30630 if { (ac_try="$ac_link"
30631 case "(($ac_try" in
30632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30633 *) ac_try_echo=$ac_try;;
30635 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30636 (eval "$ac_link") 2>conftest.er1
30638 grep -v '^ *+' conftest.er1 >conftest.err
30640 cat conftest.err >&5
30641 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30642 (exit $ac_status); } && {
30643 test -z "$ac_c_werror_flag" ||
30644 test ! -s conftest.err
30645 } && test -s conftest$ac_exeext &&
30646 $as_test_x conftest$ac_exeext; then
30647 echo "*** The
test program compiled
, but did not run. This usually means
"
30648 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
30649 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
30650 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30651 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30652 echo "*** is required on your system"
30654 echo "*** If you have an old version installed, it is best to remove it, although"
30655 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30657 echo "$as_me: failed program was:" >&5
30658 sed 's
/^
/| /' conftest.$ac_ext >&5
30660 echo "*** The test program failed to compile or link. See the file config.log for the"
30661 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30665 conftest$ac_exeext conftest.$ac_ext
30666 CFLAGS="$ac_save_CFLAGS"
30667 LIBS="$ac_save_LIBS"
30681 if test "$wxUSE_SHARED" != "yes"; then
30682 GTK_LIBS="$GTK_LIBS -lX11"
30687 if test -z "$wx_cv_lib_gtk"; then
30688 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30690 # Check whether --with-gtk-prefix was given.
30691 if test "${with_gtk_prefix+set}" = set; then
30692 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30694 gtk_config_prefix=""
30698 # Check whether --with-gtk-exec-prefix was given.
30699 if test "${with_gtk_exec_prefix+set}" = set; then
30700 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30702 gtk_config_exec_prefix=""
30705 # Check whether --enable-gtktest was given.
30706 if test "${enable_gtktest+set}" = set; then
30707 enableval=$enable_gtktest;
30713 for module in . $GTK_MODULES
30717 gtk_config_args="$gtk_config_args gthread"
30722 if test x$gtk_config_exec_prefix != x ; then
30723 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30724 if test x${GTK_CONFIG+set} != xset ; then
30725 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30728 if test x$gtk_config_prefix != x ; then
30729 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30730 if test x${GTK_CONFIG+set} != xset ; then
30731 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30735 # Extract the first word of "gtk-config", so it can be a program name with args.
30736 set dummy gtk-config; ac_word=$2
30737 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30739 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30740 echo $ECHO_N "(cached) $ECHO_C" >&6
30742 case $GTK_CONFIG in
30744 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30748 for as_dir in $PATH
30751 test -z "$as_dir" && as_dir=.
30752 for ac_exec_ext in '' $ac_executable_extensions; do
30753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30754 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30762 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30766 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30767 if test -n "$GTK_CONFIG"; then
30768 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30769 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30771 { echo "$as_me:$LINENO: result: no" >&5
30772 echo "${ECHO_T}no" >&6; }
30776 min_gtk_version=1.2.7
30777 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30778 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30780 if test "$GTK_CONFIG" = "no" ; then
30783 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30784 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30785 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30786 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
30787 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30788 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
30789 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30790 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
30791 if test "x$enable_gtktest" = "xyes" ; then
30792 ac_save_CFLAGS="$CFLAGS"
30793 ac_save_LIBS="$LIBS"
30794 CFLAGS="$CFLAGS $GTK_CFLAGS"
30795 LIBS="$GTK_LIBS $LIBS"
30797 if test "$cross_compiling" = yes; then
30798 echo $ac_n "cross compiling; assumed OK... $ac_c"
30800 cat >conftest.$ac_ext <<_ACEOF
30803 cat confdefs.h >>conftest.$ac_ext
30804 cat >>conftest.$ac_ext <<_ACEOF
30805 /* end confdefs.h. */
30807 #include <gtk/gtk.h>
30809 #include <stdlib.h>
30814 int major, minor, micro;
30817 system ("touch conf.gtktest");
30819 /* HP/UX 9 (%@#!) writes to sscanf strings */
30820 tmp_version = g_strdup("$min_gtk_version");
30821 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30822 printf("%s, bad version string\n", "$min_gtk_version");
30826 if ((gtk_major_version != $gtk_config_major_version) ||
30827 (gtk_minor_version != $gtk_config_minor_version) ||
30828 (gtk_micro_version != $gtk_config_micro_version))
30830 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30831 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30832 gtk_major_version, gtk_minor_version, gtk_micro_version);
30833 printf ("*** was found! If gtk-config was correct, then it is best\n");
30834 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30835 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30836 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30837 printf("*** required on your system.\n");
30838 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30839 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30840 printf("*** before re-running configure\n");
30842 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30843 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30844 (gtk_minor_version != GTK_MINOR_VERSION) ||
30845 (gtk_micro_version != GTK_MICRO_VERSION))
30847 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30848 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30849 printf("*** library (version %d.%d.%d)\n",
30850 gtk_major_version, gtk_minor_version, gtk_micro_version);
30852 #endif /* defined (GTK_MAJOR_VERSION) ... */
30855 if ((gtk_major_version > major) ||
30856 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30857 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30863 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30864 gtk_major_version, gtk_minor_version, gtk_micro_version);
30865 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30866 major, minor, micro);
30867 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30869 printf("*** If you have already installed a sufficiently new version, this error\n");
30870 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30871 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30872 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30873 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30874 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30875 printf("*** so that the correct libraries are found at run-time))\n");
30882 rm -f conftest$ac_exeext
30883 if { (ac_try="$ac_link"
30884 case "(($ac_try" in
30885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30886 *) ac_try_echo=$ac_try;;
30888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30889 (eval "$ac_link") 2>&5
30891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30892 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
30893 { (case "(($ac_try" in
30894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30895 *) ac_try_echo=$ac_try;;
30897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30898 (eval "$ac_try") 2>&5
30900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30901 (exit $ac_status); }; }; then
30904 echo "$as_me: program exited with status $ac_status" >&5
30905 echo "$as_me: failed program was:" >&5
30906 sed 's
/^
/| /' conftest.$ac_ext >&5
30908 ( exit $ac_status )
30911 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30915 CFLAGS="$ac_save_CFLAGS"
30916 LIBS="$ac_save_LIBS"
30919 if test "x$no_gtk" = x ; then
30920 { echo "$as_me:$LINENO: result: yes" >&5
30921 echo "${ECHO_T}yes" >&6; }
30922 wx_cv_lib_gtk=1.2.7
30924 { echo "$as_me:$LINENO: result: no" >&5
30925 echo "${ECHO_T}no" >&6; }
30926 if test "$GTK_CONFIG" = "no" ; then
30927 echo "*** The gtk-config script installed by GTK could not be found"
30928 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30929 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30930 echo "*** full path to gtk-config."
30932 if test -f conf.gtktest ; then
30935 echo "*** Could not run GTK test program, checking why..."
30936 CFLAGS="$CFLAGS $GTK_CFLAGS"
30937 LIBS="$LIBS $GTK_LIBS"
30938 cat >conftest.$ac_ext <<_ACEOF
30941 cat confdefs.h >>conftest.$ac_ext
30942 cat >>conftest.$ac_ext <<_ACEOF
30943 /* end confdefs.h. */
30945 #include <gtk/gtk.h>
30951 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30956 rm -f conftest.$ac_objext conftest$ac_exeext
30957 if { (ac_try="$ac_link"
30958 case "(($ac_try" in
30959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30960 *) ac_try_echo=$ac_try;;
30962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30963 (eval "$ac_link") 2>conftest.er1
30965 grep -v '^
*+' conftest.er1 >conftest.err
30967 cat conftest.err >&5
30968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30969 (exit $ac_status); } && {
30970 test -z "$ac_c_werror_flag" ||
30971 test ! -s conftest.err
30972 } && test -s conftest$ac_exeext &&
30973 $as_test_x conftest$ac_exeext; then
30974 echo "*** The test program compiled, but did not run. This usually means"
30975 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30976 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
30977 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
30978 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
30979 echo "*** is required on your system
"
30981 echo "*** If you have an old version installed
, it is best to remove it
, although
"
30982 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
30984 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
30985 echo "*** came with the system with the
command"
30987 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
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 was incorrectly installed
"
30994 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
30995 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
30998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30999 conftest$ac_exeext conftest.$ac_ext
31000 CFLAGS="$ac_save_CFLAGS"
31001 LIBS="$ac_save_LIBS"
31013 if test -z "$wx_cv_lib_gtk"; then
31015 # Check whether --with-gtk-prefix was given.
31016 if test "${with_gtk_prefix+set}" = set; then
31017 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31019 gtk_config_prefix=""
31023 # Check whether --with-gtk-exec-prefix was given.
31024 if test "${with_gtk_exec_prefix+set}" = set; then
31025 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31027 gtk_config_exec_prefix=""
31030 # Check whether --enable-gtktest was given.
31031 if test "${enable_gtktest+set}" = set; then
31032 enableval=$enable_gtktest;
31038 for module in . $GTK_MODULES
31042 gtk_config_args="$gtk_config_args gthread
"
31047 if test x$gtk_config_exec_prefix != x ; then
31048 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31049 if test x${GTK_CONFIG+set} != xset ; then
31050 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31053 if test x$gtk_config_prefix != x ; then
31054 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31055 if test x${GTK_CONFIG+set} != xset ; then
31056 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31060 # Extract the first word of "gtk
-config", so it can be a program name with args.
31061 set dummy gtk-config; ac_word=$2
31062 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
31063 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
31064 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31065 echo $ECHO_N "(cached
) $ECHO_C" >&6
31067 case $GTK_CONFIG in
31069 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31073 for as_dir in $PATH
31076 test -z "$as_dir" && as_dir=.
31077 for ac_exec_ext in '' $ac_executable_extensions; do
31078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31079 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31080 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
31087 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
31091 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31092 if test -n "$GTK_CONFIG"; then
31093 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
31094 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31096 { echo "$as_me:$LINENO: result
: no
" >&5
31097 echo "${ECHO_T}no
" >&6; }
31101 min_gtk_version=1.2.3
31102 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
31103 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
31105 if test "$GTK_CONFIG" = "no
" ; then
31108 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31109 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31110 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31111 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31112 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31113 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31114 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31115 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31116 if test "x
$enable_gtktest" = "xyes
" ; then
31117 ac_save_CFLAGS="$CFLAGS"
31118 ac_save_LIBS="$LIBS"
31119 CFLAGS="$CFLAGS $GTK_CFLAGS"
31120 LIBS="$GTK_LIBS $LIBS"
31122 if test "$cross_compiling" = yes; then
31123 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
31125 cat >conftest.$ac_ext <<_ACEOF
31128 cat confdefs.h >>conftest.$ac_ext
31129 cat >>conftest.$ac_ext <<_ACEOF
31130 /* end confdefs.h. */
31132 #include <gtk/gtk.h>
31134 #include <stdlib.h>
31139 int major, minor, micro;
31142 system ("touch conf.gtktest
");
31144 /* HP/UX 9 (%@#!) writes to sscanf strings */
31145 tmp_version = g_strdup("$min_gtk_version");
31146 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
31147 printf("%s
, bad version string
\n", "$min_gtk_version");
31151 if ((gtk_major_version != $gtk_config_major_version) ||
31152 (gtk_minor_version != $gtk_config_minor_version) ||
31153 (gtk_micro_version != $gtk_config_micro_version))
31155 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
31156 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31157 gtk_major_version, gtk_minor_version, gtk_micro_version);
31158 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
31159 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
31160 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
31161 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
31162 printf("*** required on your system.
\n");
31163 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
31164 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
31165 printf("*** before re
-running configure
\n");
31167 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31168 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31169 (gtk_minor_version != GTK_MINOR_VERSION) ||
31170 (gtk_micro_version != GTK_MICRO_VERSION))
31172 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
31173 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31174 printf("*** library
(version
%d.
%d.
%d
)\n",
31175 gtk_major_version, gtk_minor_version, gtk_micro_version);
31177 #endif /* defined (GTK_MAJOR_VERSION) ... */
31180 if ((gtk_major_version > major) ||
31181 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31182 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31188 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
31189 gtk_major_version, gtk_minor_version, gtk_micro_version);
31190 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
31191 major, minor, micro);
31192 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
31194 printf("*** If you have already installed a sufficiently new version
, this error
\n");
31195 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
31196 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
31197 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
31198 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
31199 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
31200 printf("*** so that the correct libraries are found
at run
-time))\n");
31207 rm -f conftest$ac_exeext
31208 if { (ac_try="$ac_link"
31209 case "(($ac_try" in
31210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31211 *) ac_try_echo=$ac_try;;
31213 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31214 (eval "$ac_link") 2>&5
31216 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31217 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31218 { (case "(($ac_try" in
31219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31220 *) ac_try_echo=$ac_try;;
31222 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31223 (eval "$ac_try") 2>&5
31225 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31226 (exit $ac_status); }; }; then
31229 echo "$as_me: program exited with status
$ac_status" >&5
31230 echo "$as_me: failed program was
:" >&5
31231 sed 's/^/| /' conftest.$ac_ext >&5
31233 ( exit $ac_status )
31236 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31240 CFLAGS="$ac_save_CFLAGS"
31241 LIBS="$ac_save_LIBS"
31244 if test "x
$no_gtk" = x ; then
31245 { echo "$as_me:$LINENO: result
: yes" >&5
31246 echo "${ECHO_T}yes" >&6; }
31247 wx_cv_lib_gtk=1.2.3
31249 { echo "$as_me:$LINENO: result
: no
" >&5
31250 echo "${ECHO_T}no
" >&6; }
31251 if test "$GTK_CONFIG" = "no
" ; then
31252 echo "*** The gtk
-config script installed by GTK could not be found
"
31253 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
31254 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
31255 echo "*** full path to gtk
-config.
"
31257 if test -f conf.gtktest ; then
31260 echo "*** Could not run GTK
test program
, checking why...
"
31261 CFLAGS="$CFLAGS $GTK_CFLAGS"
31262 LIBS="$LIBS $GTK_LIBS"
31263 cat >conftest.$ac_ext <<_ACEOF
31266 cat confdefs.h >>conftest.$ac_ext
31267 cat >>conftest.$ac_ext <<_ACEOF
31268 /* end confdefs.h. */
31270 #include <gtk/gtk.h>
31276 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31281 rm -f conftest.$ac_objext conftest$ac_exeext
31282 if { (ac_try="$ac_link"
31283 case "(($ac_try" in
31284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31285 *) ac_try_echo=$ac_try;;
31287 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31288 (eval "$ac_link") 2>conftest.er1
31290 grep -v '^ *+' conftest.er1 >conftest.err
31292 cat conftest.err >&5
31293 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31294 (exit $ac_status); } && {
31295 test -z "$ac_c_werror_flag" ||
31296 test ! -s conftest.err
31297 } && test -s conftest$ac_exeext &&
31298 $as_test_x conftest$ac_exeext; then
31299 echo "*** The
test program compiled
, but did not run. This usually means
"
31300 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
31301 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
31302 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31303 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31304 echo "*** is required on your system"
31306 echo "*** If you have an old version installed, it is best to remove it, although"
31307 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31309 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31310 echo "*** came with the system with the command"
31312 echo "*** rpm --erase --nodeps gtk gtk-devel"
31314 echo "$as_me: failed program was:" >&5
31315 sed 's
/^
/| /' conftest.$ac_ext >&5
31317 echo "*** The test program failed to compile or link. See the file config.log for the"
31318 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31319 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31320 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31324 conftest$ac_exeext conftest.$ac_ext
31325 CFLAGS="$ac_save_CFLAGS"
31326 LIBS="$ac_save_LIBS"
31341 if test -z "$wx_cv_lib_gtk"; then
31344 wx_cv_cflags_gtk=$GTK_CFLAGS
31345 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
31352 if test "$gtk_version_cached" = 1; then
31353 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31354 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31357 case "$wx_cv_lib_gtk" in
31366 *) { { echo "$as_me:$LINENO: error:
31367 The development files for GTK+ were not found. For GTK+ 2, please
31368 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31369 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31370 and that the version is 1.2.3 or above. Also check that the
31371 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31372 --libs' are in the LD_LIBRARY_PATH or equivalent.
31374 echo "$as_me: error:
31375 The development files for GTK+ were not found. For GTK+ 2, please
31376 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31377 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31378 and that the version is 1.2.3 or above. Also check that the
31379 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31380 --libs' are in the LD_LIBRARY_PATH or equivalent.
31382 { (exit 1); exit 1; }; }
31386 if test "$WXGTK20" = 1; then
31387 save_CFLAGS="$CFLAGS"
31389 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31390 LIBS="$LIBS $wx_cv_libs_gtk"
31392 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31393 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31394 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31395 echo $ECHO_N "(cached) $ECHO_C" >&6
31397 cat >conftest.$ac_ext <<_ACEOF
31400 cat confdefs.h >>conftest.$ac_ext
31401 cat >>conftest.$ac_ext <<_ACEOF
31402 /* end confdefs.h. */
31403 #include <gtk/gtk.h>
31408 #ifndef gtk_icon_size_lookup
31409 (void) gtk_icon_size_lookup;
31416 rm -f conftest.$ac_objext
31417 if { (ac_try="$ac_compile"
31418 case "(($ac_try" in
31419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31420 *) ac_try_echo=$ac_try;;
31422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31423 (eval "$ac_compile") 2>conftest.er1
31425 grep -v '^
*+' conftest.er1 >conftest.err
31427 cat conftest.err >&5
31428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31429 (exit $ac_status); } && {
31430 test -z "$ac_c_werror_flag" ||
31431 test ! -s conftest.err
31432 } && test -s conftest.$ac_objext; then
31433 ac_cv_have_decl_gtk_icon_size_lookup=yes
31435 echo "$as_me: failed program was:" >&5
31436 sed 's
/^
/| /' conftest.$ac_ext >&5
31438 ac_cv_have_decl_gtk_icon_size_lookup=no
31441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31443 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31444 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31445 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31447 cat >>confdefs.h <<_ACEOF
31448 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31453 cat >>confdefs.h <<_ACEOF
31454 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31457 cat >>confdefs.h <<\_ACEOF
31458 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31466 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31467 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31468 cat >conftest.$ac_ext <<_ACEOF
31471 cat confdefs.h >>conftest.$ac_ext
31472 cat >>conftest.$ac_ext <<_ACEOF
31473 /* end confdefs.h. */
31475 #include <gtk/gtk.h>
31481 #if !GTK_CHECK_VERSION(2,10,0)
31489 rm -f conftest.$ac_objext
31490 if { (ac_try="$ac_compile"
31491 case "(($ac_try" in
31492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31493 *) ac_try_echo=$ac_try;;
31495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31496 (eval "$ac_compile") 2>conftest.er1
31498 grep -v '^
*+' conftest.er1 >conftest.err
31500 cat conftest.err >&5
31501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31502 (exit $ac_status); } && {
31503 test -z "$ac_c_werror_flag" ||
31504 test ! -s conftest.err
31505 } && test -s conftest.$ac_objext; then
31507 cat >>confdefs.h <<\_ACEOF
31508 #define __WXGTK210__ 1
31511 cat >>confdefs.h <<\_ACEOF
31512 #define __WXGTK26__ 1
31515 cat >>confdefs.h <<\_ACEOF
31516 #define __WXGTK24__ 1
31519 { echo "$as_me:$LINENO: result: yes" >&5
31520 echo "${ECHO_T}yes" >&6; }
31524 echo "$as_me: failed program was:" >&5
31525 sed 's
/^
/| /' conftest.$ac_ext >&5
31528 { echo "$as_me:$LINENO: result: no" >&5
31529 echo "${ECHO_T}no" >&6; }
31534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31536 if test "$ac_wxgtk210" = 0; then
31537 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31538 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31539 cat >conftest.$ac_ext <<_ACEOF
31542 cat confdefs.h >>conftest.$ac_ext
31543 cat >>conftest.$ac_ext <<_ACEOF
31544 /* end confdefs.h. */
31546 #include <gtk/gtk.h>
31552 #if !GTK_CHECK_VERSION(2,6,0)
31560 rm -f conftest.$ac_objext
31561 if { (ac_try="$ac_compile"
31562 case "(($ac_try" in
31563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31564 *) ac_try_echo=$ac_try;;
31566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31567 (eval "$ac_compile") 2>conftest.er1
31569 grep -v '^
*+' conftest.er1 >conftest.err
31571 cat conftest.err >&5
31572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31573 (exit $ac_status); } && {
31574 test -z "$ac_c_werror_flag" ||
31575 test ! -s conftest.err
31576 } && test -s conftest.$ac_objext; then
31578 cat >>confdefs.h <<\_ACEOF
31579 #define __WXGTK26__ 1
31582 cat >>confdefs.h <<\_ACEOF
31583 #define __WXGTK24__ 1
31586 { echo "$as_me:$LINENO: result: yes" >&5
31587 echo "${ECHO_T}yes" >&6; }
31591 echo "$as_me: failed program was:" >&5
31592 sed 's
/^
/| /' conftest.$ac_ext >&5
31595 { echo "$as_me:$LINENO: result: no" >&5
31596 echo "${ECHO_T}no" >&6; }
31601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31604 if test "$ac_wxgtk26" = 0; then
31605 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31606 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31607 cat >conftest.$ac_ext <<_ACEOF
31610 cat confdefs.h >>conftest.$ac_ext
31611 cat >>conftest.$ac_ext <<_ACEOF
31612 /* end confdefs.h. */
31614 #include <gtk/gtk.h>
31620 #if !GTK_CHECK_VERSION(2,4,0)
31628 rm -f conftest.$ac_objext
31629 if { (ac_try="$ac_compile"
31630 case "(($ac_try" in
31631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31632 *) ac_try_echo=$ac_try;;
31634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31635 (eval "$ac_compile") 2>conftest.er1
31637 grep -v '^
*+' conftest.er1 >conftest.err
31639 cat conftest.err >&5
31640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31641 (exit $ac_status); } && {
31642 test -z "$ac_c_werror_flag" ||
31643 test ! -s conftest.err
31644 } && test -s conftest.$ac_objext; then
31646 cat >>confdefs.h <<\_ACEOF
31647 #define __WXGTK24__ 1
31650 { echo "$as_me:$LINENO: result: yes" >&5
31651 echo "${ECHO_T}yes" >&6; }
31654 echo "$as_me: failed program was:" >&5
31655 sed 's
/^
/| /' conftest.$ac_ext >&5
31658 { echo "$as_me:$LINENO: result: no" >&5
31659 echo "${ECHO_T}no" >&6; }
31663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31666 CFLAGS="$save_CFLAGS"
31669 if test "$wxUSE_UNICODE" = "yes"; then
31670 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31671 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31675 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31676 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31677 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31678 echo $ECHO_N "(cached) $ECHO_C" >&6
31680 ac_check_lib_save_LIBS=$LIBS
31682 cat >conftest.$ac_ext <<_ACEOF
31685 cat confdefs.h >>conftest.$ac_ext
31686 cat >>conftest.$ac_ext <<_ACEOF
31687 /* end confdefs.h. */
31689 /* Override any GCC internal prototype to avoid an error.
31690 Use char because int might match the return type of a GCC
31691 builtin and then its argument prototype would still apply. */
31695 char gdk_im_open ();
31699 return gdk_im_open ();
31704 rm -f conftest.$ac_objext conftest$ac_exeext
31705 if { (ac_try="$ac_link"
31706 case "(($ac_try" in
31707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31708 *) ac_try_echo=$ac_try;;
31710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31711 (eval "$ac_link") 2>conftest.er1
31713 grep -v '^
*+' conftest.er1 >conftest.err
31715 cat conftest.err >&5
31716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31717 (exit $ac_status); } && {
31718 test -z "$ac_c_werror_flag" ||
31719 test ! -s conftest.err
31720 } && test -s conftest$ac_exeext &&
31721 $as_test_x conftest$ac_exeext; then
31722 ac_cv_lib_gdk_gdk_im_open=yes
31724 echo "$as_me: failed program was:" >&5
31725 sed 's
/^
/| /' conftest.$ac_ext >&5
31727 ac_cv_lib_gdk_gdk_im_open=no
31730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31731 conftest$ac_exeext conftest.$ac_ext
31732 LIBS=$ac_check_lib_save_LIBS
31734 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31735 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31736 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31737 cat >>confdefs.h <<\_ACEOF
31744 if test "$USE_DARWIN" != 1; then
31746 for ac_func in poll
31748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31749 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31751 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31752 echo $ECHO_N "(cached) $ECHO_C" >&6
31754 cat >conftest.$ac_ext <<_ACEOF
31757 cat confdefs.h >>conftest.$ac_ext
31758 cat >>conftest.$ac_ext <<_ACEOF
31759 /* end confdefs.h. */
31760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31762 #define $ac_func innocuous_$ac_func
31764 /* System header to define __stub macros and hopefully few prototypes,
31765 which can conflict with char $ac_func (); below.
31766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31767 <limits.h> exists even on freestanding compilers. */
31770 # include <limits.h>
31772 # include <assert.h>
31777 /* Override any GCC internal prototype to avoid an error.
31778 Use char because int might match the return type of a GCC
31779 builtin and then its argument prototype would still apply. */
31784 /* The GNU C library defines this for functions which it implements
31785 to always fail with ENOSYS. Some functions are actually named
31786 something starting with __ and the normal name is an alias. */
31787 #if defined __stub_$ac_func || defined __stub___$ac_func
31794 return $ac_func ();
31799 rm -f conftest.$ac_objext conftest$ac_exeext
31800 if { (ac_try="$ac_link"
31801 case "(($ac_try" in
31802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31803 *) ac_try_echo=$ac_try;;
31805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31806 (eval "$ac_link") 2>conftest.er1
31808 grep -v '^
*+' conftest.er1 >conftest.err
31810 cat conftest.err >&5
31811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31812 (exit $ac_status); } && {
31813 test -z "$ac_c_werror_flag" ||
31814 test ! -s conftest.err
31815 } && test -s conftest$ac_exeext &&
31816 $as_test_x conftest$ac_exeext; then
31817 eval "$as_ac_var=yes"
31819 echo "$as_me: failed program was:" >&5
31820 sed 's
/^
/| /' conftest.$ac_ext >&5
31822 eval "$as_ac_var=no"
31825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31826 conftest$ac_exeext conftest.$ac_ext
31828 ac_res=`eval echo '${'$as_ac_var'}'`
31829 { echo "$as_me:$LINENO: result: $ac_res" >&5
31830 echo "${ECHO_T}$ac_res" >&6; }
31831 if test `eval echo '${'$as_ac_var'}'` = yes; then
31832 cat >>confdefs.h <<_ACEOF
31833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31842 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31843 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31845 AFMINSTALL=afminstall
31849 if test "$wxUSE_GPE" = "yes"; then
31850 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31851 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31854 for ac_dir in $SEARCH_LIB;
31856 for ac_extension in a so sl dylib dll.a; do
31857 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31858 ac_find_libraries=$ac_dir
31864 if test "$ac_find_libraries" != "" ; then
31866 if test "$ac_find_libraries" = "default location"; then
31869 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31871 if test $result = 0; then
31874 ac_path_to_link=" -L$ac_find_libraries"
31878 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31880 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31881 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31883 { echo "$as_me:$LINENO: result: not found" >&5
31884 echo "${ECHO_T}not found" >&6; }
31890 if test "$wxUSE_MGL" = 1; then
31891 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31892 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31893 if test "x$MGL_ROOT" = x ; then
31894 { echo "$as_me:$LINENO: result: not found" >&5
31895 echo "${ECHO_T}not found" >&6; }
31896 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31897 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31898 { (exit 1); exit 1; }; }
31900 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31901 echo "${ECHO_T}$MGL_ROOT" >&6; }
31904 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31905 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31908 if test "x$wxUSE_SHARED" = xyes ; then
31909 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31911 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31915 mgl_os_candidates="dos32/dj2"
31918 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31919 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31920 { (exit 1); exit 1; }; }
31926 for mgl_os_i in $mgl_os_candidates ; do
31927 if test "x$mgl_os" = x ; then
31928 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31929 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31930 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31935 if test "x$mgl_lib_type" = x ; then
31936 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31937 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31938 mgl_lib_type=release
31945 if test "x$mgl_os" = x ; then
31946 { echo "$as_me:$LINENO: result: not found" >&5
31947 echo "${ECHO_T}not found" >&6; }
31948 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31949 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31950 { (exit 1); exit 1; }; }
31952 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31953 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31955 wxUSE_UNIVERSAL="yes"
31957 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31958 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31960 AFMINSTALL=afminstall
31965 if test "$wxUSE_DFB" = 1; then
31968 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31969 if test -n "$ac_tool_prefix"; then
31970 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31971 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31974 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31975 echo $ECHO_N "(cached) $ECHO_C" >&6
31977 case $PKG_CONFIG in
31979 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31983 for as_dir in $PATH
31986 test -z "$as_dir" && as_dir=.
31987 for ac_exec_ext in '' $ac_executable_extensions; do
31988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31989 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32000 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32001 if test -n "$PKG_CONFIG"; then
32002 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32003 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32005 { echo "$as_me:$LINENO: result: no" >&5
32006 echo "${ECHO_T}no" >&6; }
32011 if test -z "$ac_cv_path_PKG_CONFIG"; then
32012 ac_pt_PKG_CONFIG=$PKG_CONFIG
32013 # Extract the first word of "pkg-config", so it can be a program name with args.
32014 set dummy pkg-config; ac_word=$2
32015 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32017 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32018 echo $ECHO_N "(cached) $ECHO_C" >&6
32020 case $ac_pt_PKG_CONFIG in
32022 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32026 for as_dir in $PATH
32029 test -z "$as_dir" && as_dir=.
32030 for ac_exec_ext in '' $ac_executable_extensions; do
32031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32032 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32043 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32044 if test -n "$ac_pt_PKG_CONFIG"; then
32045 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32046 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32048 { echo "$as_me:$LINENO: result: no" >&5
32049 echo "${ECHO_T}no" >&6; }
32052 if test "x$ac_pt_PKG_CONFIG" = x; then
32055 case $cross_compiling:$ac_tool_warned in
32057 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32058 whose name does not start with the host triplet. If you think this
32059 configuration is useful to you, please write to autoconf@gnu.org." >&5
32060 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32061 whose name does not start with the host triplet. If you think this
32062 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32063 ac_tool_warned=yes ;;
32065 PKG_CONFIG=$ac_pt_PKG_CONFIG
32068 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32072 if test -n "$PKG_CONFIG"; then
32073 _pkg_min_version=0.9.0
32074 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32075 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32076 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32077 { echo "$as_me:$LINENO: result: yes" >&5
32078 echo "${ECHO_T}yes" >&6; }
32080 { echo "$as_me:$LINENO: result: no" >&5
32081 echo "${ECHO_T}no" >&6; }
32089 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32090 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32092 if test -n "$PKG_CONFIG"; then
32093 if test -n "$DIRECTFB_CFLAGS"; then
32094 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32096 if test -n "$PKG_CONFIG" && \
32097 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32098 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32101 (exit $ac_status); }; then
32102 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32110 if test -n "$PKG_CONFIG"; then
32111 if test -n "$DIRECTFB_LIBS"; then
32112 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32114 if test -n "$PKG_CONFIG" && \
32115 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32116 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32119 (exit $ac_status); }; then
32120 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32131 if test $pkg_failed = yes; then
32133 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32134 _pkg_short_errors_supported=yes
32136 _pkg_short_errors_supported=no
32138 if test $_pkg_short_errors_supported = yes; then
32139 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32141 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32143 # Put the nasty error message in config.log where it belongs
32144 echo "$DIRECTFB_PKG_ERRORS" >&5
32147 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32148 echo "$as_me: error: DirectFB not found." >&2;}
32149 { (exit 1); exit 1; }; }
32152 elif test $pkg_failed = untried; then
32154 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32155 echo "$as_me: error: DirectFB not found." >&2;}
32156 { (exit 1); exit 1; }; }
32160 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32161 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32162 { echo "$as_me:$LINENO: result: yes" >&5
32163 echo "${ECHO_T}yes" >&6; }
32165 wxUSE_UNIVERSAL="yes"
32166 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32167 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32174 if test "$wxUSE_MICROWIN" = 1; then
32175 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32176 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32177 if test "x$MICROWINDOWS" = x ; then
32178 { echo "$as_me:$LINENO: result: not found" >&5
32179 echo "${ECHO_T}not found" >&6; }
32180 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32181 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32182 { (exit 1); exit 1; }; }
32184 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32185 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32188 if test -f $MICROWINDOWS/lib/libmwin.a; then
32189 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
32190 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
32192 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32193 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32194 { (exit 1); exit 1; }; }
32197 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32198 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32200 wxUSE_UNIVERSAL="yes"
32202 AFMINSTALL=afminstall
32204 GUIDIST=MICROWIN_DIST
32206 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32209 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32210 { echo "$as_me:$LINENO: checking for X" >&5
32211 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32214 # Check whether --with-x was given.
32215 if test "${with_x+set}" = set; then
32219 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
32220 if test "x$with_x" = xno; then
32221 # The user explicitly disabled X.
32224 case $x_includes,$x_libraries in #(
32225 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32226 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
32227 { (exit 1); exit 1; }; };; #(
32228 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32229 echo $ECHO_N "(cached) $ECHO_C" >&6
32231 # One or both of the vars are not set, and there is no cached value.
32232 ac_x_includes=no ac_x_libraries=no
32233 rm -f -r conftest.dir
32234 if mkdir conftest.dir; then
32236 cat >Imakefile <<'_ACEOF'
32238 @echo incroot='${INCROOT}'
32240 @echo usrlibdir='${USRLIBDIR}'
32242 @echo libdir='${LIBDIR}'
32244 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32245 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32246 for ac_var in incroot usrlibdir libdir; do
32247 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
32249 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32250 for ac_extension in a so sl; do
32251 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32252 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32253 ac_im_usrlibdir=$ac_im_libdir; break
32256 # Screen out bogus values from the imake configuration. They are
32257 # bogus both because they are the default anyway, and because
32258 # using them would break gcc on systems where it needs fixed includes.
32259 case $ac_im_incroot in
32260 /usr/include) ac_x_includes= ;;
32261 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32263 case $ac_im_usrlibdir in
32264 /usr/lib | /lib) ;;
32265 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32269 rm -f -r conftest.dir
32272 # Standard set of common directories for X headers.
32273 # Check X11 before X11Rn because it is often a symlink to the current release.
32285 /usr
/local
/X
11/include
32286 /usr
/local
/X
11R
6/include
32287 /usr
/local
/X
11R
5/include
32288 /usr
/local
/X
11R
4/include
32290 /usr
/local
/include
/X11
32291 /usr
/local
/include
/X11R6
32292 /usr
/local
/include
/X11R5
32293 /usr
/local
/include
/X11R4
32297 /usr
/XFree
86/include
/X11
32301 /usr
/unsupported
/include
32302 /usr
/athena
/include
32303 /usr
/local
/x
11r
5/include
32304 /usr
/lpp
/Xamples
/include
32306 /usr
/openwin
/include
32307 /usr
/openwin
/share
/include
'
32309 if test "$ac_x_includes" = no; then
32310 # Guess where to find include files, by looking for Xlib.h.
32311 # First, try using that file with no special directory specified.
32312 cat >conftest.$ac_ext <<_ACEOF
32315 cat confdefs.h >>conftest.$ac_ext
32316 cat >>conftest.$ac_ext <<_ACEOF
32317 /* end confdefs.h. */
32318 #include <X11/Xlib.h>
32320 if { (ac_try="$ac_cpp conftest.$ac_ext"
32321 case "(($ac_try" in
32322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32323 *) ac_try_echo=$ac_try;;
32325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32326 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32328 grep -v '^
*+' conftest.er1 >conftest.err
32330 cat conftest.err >&5
32331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32332 (exit $ac_status); } >/dev/null && {
32333 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32334 test ! -s conftest.err
32336 # We can compile using X headers with no special include directory.
32339 echo "$as_me: failed program was:" >&5
32340 sed 's
/^
/| /' conftest.$ac_ext >&5
32342 for ac_dir in $ac_x_header_dirs; do
32343 if test -r "$ac_dir/X11/Xlib.h"; then
32344 ac_x_includes=$ac_dir
32350 rm -f conftest.err conftest.$ac_ext
32351 fi # $ac_x_includes = no
32353 if test "$ac_x_libraries" = no; then
32354 # Check for the libraries.
32355 # See if we find them without any special options.
32356 # Don't add to
$LIBS permanently.
32359 cat >conftest.
$ac_ext <<_ACEOF
32362 cat confdefs.h
>>conftest.
$ac_ext
32363 cat >>conftest.
$ac_ext <<_ACEOF
32364 /* end confdefs.h. */
32365 #include <X11/Xlib.h>
32374 rm -f conftest.
$ac_objext conftest
$ac_exeext
32375 if { (ac_try
="$ac_link"
32376 case "(($ac_try" in
32377 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32378 *) ac_try_echo=$ac_try;;
32380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32381 (eval "$ac_link") 2>conftest.er1
32383 grep -v '^ *+' conftest.er1 >conftest.err
32385 cat conftest.err >&5
32386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32387 (exit $ac_status); } && {
32388 test -z "$ac_c_werror_flag" ||
32389 test ! -s conftest.err
32390 } && test -s conftest$ac_exeext &&
32391 $as_test_x conftest$ac_exeext; then
32393 # We can link X programs with no special library path.
32396 echo "$as_me: failed program was:" >&5
32397 sed 's/^/| /' conftest.$ac_ext >&5
32400 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
32402 # Don't even attempt the hair of trying to link an X program!
32403 for ac_extension in a so sl; do
32404 if test -r "$ac_dir/libX11.$ac_extension"; then
32405 ac_x_libraries=$ac_dir
32412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32413 conftest$ac_exeext conftest.$ac_ext
32414 fi # $ac_x_libraries = no
32416 case $ac_x_includes,$ac_x_libraries in #(
32417 no,* | *,no | *\'*)
32418 # Didn't find X, or a directory has "'" in its name.
32419 ac_cv_have_x="have_x=no";; #(
32421 # Record where we found X for the cache.
32422 ac_cv_have_x="have_x=yes\
32423 ac_x_includes='$ac_x_includes'\
32424 ac_x_libraries='$ac_x_libraries'"
32430 eval "$ac_cv_have_x"
32433 if test "$have_x" != yes; then
32434 { echo "$as_me:$LINENO: result: $have_x" >&5
32435 echo "${ECHO_T}$have_x" >&6; }
32438 # If each of the values was on the command line, it overrides each guess.
32439 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32440 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32441 # Update the cache value to reflect the command line values.
32442 ac_cv_have_x="have_x=yes\
32443 ac_x_includes='$x_includes'\
32444 ac_x_libraries='$x_libraries'"
32445 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32446 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32449 if test "$no_x" = yes; then
32450 # Not all programs may use this symbol, but it does not hurt to define it.
32452 cat >>confdefs.h <<\_ACEOF
32453 #define X_DISPLAY_MISSING 1
32456 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32458 if test -n "$x_includes"; then
32459 X_CFLAGS="$X_CFLAGS -I$x_includes"
32462 # It would also be nice to do this for all -L options, not just this one.
32463 if test -n "$x_libraries"; then
32464 X_LIBS="$X_LIBS -L$x_libraries"
32465 # For Solaris; some versions of Sun CC require a space after -R and
32466 # others require no space. Words are not sufficient . . . .
32467 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32468 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32469 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32470 ac_xsave_c_werror_flag=$ac_c_werror_flag
32471 ac_c_werror_flag=yes
32472 cat >conftest.$ac_ext <<_ACEOF
32475 cat confdefs.h >>conftest.$ac_ext
32476 cat >>conftest.$ac_ext <<_ACEOF
32477 /* end confdefs.h. */
32487 rm -f conftest.$ac_objext conftest$ac_exeext
32488 if { (ac_try="$ac_link"
32489 case "(($ac_try" in
32490 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32491 *) ac_try_echo
=$ac_try;;
32493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32494 (eval "$ac_link") 2>conftest.er1
32496 grep -v '^ *+' conftest.er1
>conftest.err
32498 cat conftest.err
>&5
32499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32500 (exit $ac_status); } && {
32501 test -z "$ac_c_werror_flag" ||
32502 test ! -s conftest.err
32503 } && test -s conftest
$ac_exeext &&
32504 $as_test_x conftest
$ac_exeext; then
32505 { echo "$as_me:$LINENO: result: no" >&5
32506 echo "${ECHO_T}no" >&6; }
32507 X_LIBS
="$X_LIBS -R$x_libraries"
32509 echo "$as_me: failed program was:" >&5
32510 sed 's/^/| /' conftest.
$ac_ext >&5
32512 LIBS
="$ac_xsave_LIBS -R $x_libraries"
32513 cat >conftest.
$ac_ext <<_ACEOF
32516 cat confdefs.h
>>conftest.
$ac_ext
32517 cat >>conftest.
$ac_ext <<_ACEOF
32518 /* end confdefs.h. */
32528 rm -f conftest.
$ac_objext conftest
$ac_exeext
32529 if { (ac_try
="$ac_link"
32530 case "(($ac_try" in
32531 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32532 *) ac_try_echo=$ac_try;;
32534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32535 (eval "$ac_link") 2>conftest.er1
32537 grep -v '^ *+' conftest.er1 >conftest.err
32539 cat conftest.err >&5
32540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32541 (exit $ac_status); } && {
32542 test -z "$ac_c_werror_flag" ||
32543 test ! -s conftest.err
32544 } && test -s conftest$ac_exeext &&
32545 $as_test_x conftest$ac_exeext; then
32546 { echo "$as_me:$LINENO: result: yes" >&5
32547 echo "${ECHO_T}yes" >&6; }
32548 X_LIBS="$X_LIBS -R $x_libraries"
32550 echo "$as_me: failed program was:" >&5
32551 sed 's/^/| /' conftest.$ac_ext >&5
32553 { echo "$as_me:$LINENO: result: neither works" >&5
32554 echo "${ECHO_T}neither works" >&6; }
32557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32558 conftest$ac_exeext conftest.$ac_ext
32561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32562 conftest$ac_exeext conftest.$ac_ext
32563 ac_c_werror_flag=$ac_xsave_c_werror_flag
32564 LIBS=$ac_xsave_LIBS
32567 # Check for system-dependent libraries X programs must link with.
32568 # Do this before checking for the system-independent R6 libraries
32569 # (-lICE), since we may need -lsocket or whatever for X linking.
32571 if test "$ISC" = yes; then
32572 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32574 # Martyn Johnson says this is needed for Ultrix, if the X
32575 # libraries were built with DECnet support. And Karl Berry says
32576 # the Alpha needs dnet_stub (dnet does not exist).
32577 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32578 cat >conftest.$ac_ext <<_ACEOF
32581 cat confdefs.h >>conftest.$ac_ext
32582 cat >>conftest.$ac_ext <<_ACEOF
32583 /* end confdefs.h. */
32585 /* Override any GCC internal prototype to avoid an error.
32586 Use char because int might match the return type of a GCC
32587 builtin and then its argument prototype would still apply. */
32591 char XOpenDisplay ();
32595 return XOpenDisplay ();
32600 rm -f conftest.$ac_objext conftest$ac_exeext
32601 if { (ac_try="$ac_link"
32602 case "(($ac_try" in
32603 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32604 *) ac_try_echo
=$ac_try;;
32606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32607 (eval "$ac_link") 2>conftest.er1
32609 grep -v '^ *+' conftest.er1
>conftest.err
32611 cat conftest.err
>&5
32612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32613 (exit $ac_status); } && {
32614 test -z "$ac_c_werror_flag" ||
32615 test ! -s conftest.err
32616 } && test -s conftest
$ac_exeext &&
32617 $as_test_x conftest
$ac_exeext; then
32620 echo "$as_me: failed program was:" >&5
32621 sed 's/^/| /' conftest.
$ac_ext >&5
32623 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32624 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32625 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32626 echo $ECHO_N "(cached) $ECHO_C" >&6
32628 ac_check_lib_save_LIBS
=$LIBS
32629 LIBS
="-ldnet $LIBS"
32630 cat >conftest.
$ac_ext <<_ACEOF
32633 cat confdefs.h
>>conftest.
$ac_ext
32634 cat >>conftest.
$ac_ext <<_ACEOF
32635 /* end confdefs.h. */
32637 /* Override any GCC internal prototype to avoid an error.
32638 Use char because int might match the return type of a GCC
32639 builtin and then its argument prototype would still apply. */
32647 return dnet_ntoa ();
32652 rm -f conftest.
$ac_objext conftest
$ac_exeext
32653 if { (ac_try
="$ac_link"
32654 case "(($ac_try" in
32655 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32656 *) ac_try_echo=$ac_try;;
32658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32659 (eval "$ac_link") 2>conftest.er1
32661 grep -v '^ *+' conftest.er1 >conftest.err
32663 cat conftest.err >&5
32664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32665 (exit $ac_status); } && {
32666 test -z "$ac_c_werror_flag" ||
32667 test ! -s conftest.err
32668 } && test -s conftest$ac_exeext &&
32669 $as_test_x conftest$ac_exeext; then
32670 ac_cv_lib_dnet_dnet_ntoa=yes
32672 echo "$as_me: failed program was:" >&5
32673 sed 's/^/| /' conftest.$ac_ext >&5
32675 ac_cv_lib_dnet_dnet_ntoa=no
32678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32679 conftest$ac_exeext conftest.$ac_ext
32680 LIBS=$ac_check_lib_save_LIBS
32682 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32683 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32684 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32685 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32688 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32689 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32690 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32691 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32692 echo $ECHO_N "(cached) $ECHO_C" >&6
32694 ac_check_lib_save_LIBS=$LIBS
32695 LIBS="-ldnet_stub $LIBS"
32696 cat >conftest.$ac_ext <<_ACEOF
32699 cat confdefs.h >>conftest.$ac_ext
32700 cat >>conftest.$ac_ext <<_ACEOF
32701 /* end confdefs.h. */
32703 /* Override any GCC internal prototype to avoid an error.
32704 Use char because int might match the return type of a GCC
32705 builtin and then its argument prototype would still apply. */
32713 return dnet_ntoa ();
32718 rm -f conftest.$ac_objext conftest$ac_exeext
32719 if { (ac_try="$ac_link"
32720 case "(($ac_try" in
32721 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32722 *) ac_try_echo
=$ac_try;;
32724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32725 (eval "$ac_link") 2>conftest.er1
32727 grep -v '^ *+' conftest.er1
>conftest.err
32729 cat conftest.err
>&5
32730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32731 (exit $ac_status); } && {
32732 test -z "$ac_c_werror_flag" ||
32733 test ! -s conftest.err
32734 } && test -s conftest
$ac_exeext &&
32735 $as_test_x conftest
$ac_exeext; then
32736 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
32738 echo "$as_me: failed program was:" >&5
32739 sed 's/^/| /' conftest.
$ac_ext >&5
32741 ac_cv_lib_dnet_stub_dnet_ntoa
=no
32744 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32745 conftest
$ac_exeext conftest.
$ac_ext
32746 LIBS
=$ac_check_lib_save_LIBS
32748 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32749 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32750 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32751 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
32757 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32758 conftest
$ac_exeext conftest.
$ac_ext
32759 LIBS
="$ac_xsave_LIBS"
32761 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32762 # to get the SysV transport functions.
32763 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32765 # The nsl library prevents programs from opening the X display
32766 # on Irix 5.2, according to T.E. Dickey.
32767 # The functions gethostbyname, getservbyname, and inet_addr are
32768 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32769 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32770 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32771 if test "${ac_cv_func_gethostbyname+set}" = set; then
32772 echo $ECHO_N "(cached) $ECHO_C" >&6
32774 cat >conftest.
$ac_ext <<_ACEOF
32777 cat confdefs.h
>>conftest.
$ac_ext
32778 cat >>conftest.
$ac_ext <<_ACEOF
32779 /* end confdefs.h. */
32780 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32782 #define gethostbyname innocuous_gethostbyname
32784 /* System header to define __stub macros and hopefully few prototypes,
32785 which can conflict with char gethostbyname (); below.
32786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32787 <limits.h> exists even on freestanding compilers. */
32790 # include <limits.h>
32792 # include <assert.h>
32795 #undef gethostbyname
32797 /* Override any GCC internal prototype to avoid an error.
32798 Use char because int might match the return type of a GCC
32799 builtin and then its argument prototype would still apply. */
32803 char gethostbyname ();
32804 /* The GNU C library defines this for functions which it implements
32805 to always fail with ENOSYS. Some functions are actually named
32806 something starting with __ and the normal name is an alias. */
32807 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32814 return gethostbyname ();
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 ac_cv_func_gethostbyname=yes
32839 echo "$as_me: failed program was:" >&5
32840 sed 's/^/| /' conftest.$ac_ext >&5
32842 ac_cv_func_gethostbyname=no
32845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32846 conftest$ac_exeext conftest.$ac_ext
32848 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32849 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32851 if test $ac_cv_func_gethostbyname = no; then
32852 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32853 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32854 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32855 echo $ECHO_N "(cached) $ECHO_C" >&6
32857 ac_check_lib_save_LIBS=$LIBS
32859 cat >conftest.$ac_ext <<_ACEOF
32862 cat confdefs.h >>conftest.$ac_ext
32863 cat >>conftest.$ac_ext <<_ACEOF
32864 /* end confdefs.h. */
32866 /* Override any GCC internal prototype to avoid an error.
32867 Use char because int might match the return type of a GCC
32868 builtin and then its argument prototype would still apply. */
32872 char gethostbyname ();
32876 return gethostbyname ();
32881 rm -f conftest.$ac_objext conftest$ac_exeext
32882 if { (ac_try="$ac_link"
32883 case "(($ac_try" in
32884 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32885 *) ac_try_echo
=$ac_try;;
32887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32888 (eval "$ac_link") 2>conftest.er1
32890 grep -v '^ *+' conftest.er1
>conftest.err
32892 cat conftest.err
>&5
32893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32894 (exit $ac_status); } && {
32895 test -z "$ac_c_werror_flag" ||
32896 test ! -s conftest.err
32897 } && test -s conftest
$ac_exeext &&
32898 $as_test_x conftest
$ac_exeext; then
32899 ac_cv_lib_nsl_gethostbyname
=yes
32901 echo "$as_me: failed program was:" >&5
32902 sed 's/^/| /' conftest.
$ac_ext >&5
32904 ac_cv_lib_nsl_gethostbyname
=no
32907 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32908 conftest
$ac_exeext conftest.
$ac_ext
32909 LIBS
=$ac_check_lib_save_LIBS
32911 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32912 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32913 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32914 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
32917 if test $ac_cv_lib_nsl_gethostbyname = no
; then
32918 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32919 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32920 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32921 echo $ECHO_N "(cached) $ECHO_C" >&6
32923 ac_check_lib_save_LIBS
=$LIBS
32925 cat >conftest.
$ac_ext <<_ACEOF
32928 cat confdefs.h
>>conftest.
$ac_ext
32929 cat >>conftest.
$ac_ext <<_ACEOF
32930 /* end confdefs.h. */
32932 /* Override any GCC internal prototype to avoid an error.
32933 Use char because int might match the return type of a GCC
32934 builtin and then its argument prototype would still apply. */
32938 char gethostbyname ();
32942 return gethostbyname ();
32947 rm -f conftest.
$ac_objext conftest
$ac_exeext
32948 if { (ac_try
="$ac_link"
32949 case "(($ac_try" in
32950 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32951 *) ac_try_echo=$ac_try;;
32953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32954 (eval "$ac_link") 2>conftest.er1
32956 grep -v '^ *+' conftest.er1 >conftest.err
32958 cat conftest.err >&5
32959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32960 (exit $ac_status); } && {
32961 test -z "$ac_c_werror_flag" ||
32962 test ! -s conftest.err
32963 } && test -s conftest$ac_exeext &&
32964 $as_test_x conftest$ac_exeext; then
32965 ac_cv_lib_bsd_gethostbyname=yes
32967 echo "$as_me: failed program was:" >&5
32968 sed 's/^/| /' conftest.$ac_ext >&5
32970 ac_cv_lib_bsd_gethostbyname=no
32973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32974 conftest$ac_exeext conftest.$ac_ext
32975 LIBS=$ac_check_lib_save_LIBS
32977 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32978 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32979 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32980 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32986 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32987 # socket/setsockopt and other routines are undefined under SCO ODT
32988 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32989 # on later versions), says Simon Leinen: it contains gethostby*
32990 # variants that don't use the name server (or something). -lsocket
32991 # must be given before -lnsl if both are needed. We assume that
32992 # if connect needs -lnsl, so does gethostbyname.
32993 { echo "$as_me:$LINENO: checking for connect" >&5
32994 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32995 if test "${ac_cv_func_connect+set}" = set; then
32996 echo $ECHO_N "(cached) $ECHO_C" >&6
32998 cat >conftest.$ac_ext <<_ACEOF
33001 cat confdefs.h >>conftest.$ac_ext
33002 cat >>conftest.$ac_ext <<_ACEOF
33003 /* end confdefs.h. */
33004 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33006 #define connect innocuous_connect
33008 /* System header to define __stub macros and hopefully few prototypes,
33009 which can conflict with char connect (); below.
33010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33011 <limits.h> exists even on freestanding compilers. */
33014 # include <limits.h>
33016 # include <assert.h>
33021 /* Override any GCC internal prototype to avoid an error.
33022 Use char because int might match the return type of a GCC
33023 builtin and then its argument prototype would still apply. */
33028 /* The GNU C library defines this for functions which it implements
33029 to always fail with ENOSYS. Some functions are actually named
33030 something starting with __ and the normal name is an alias. */
33031 #if defined __stub_connect || defined __stub___connect
33043 rm -f conftest.$ac_objext conftest$ac_exeext
33044 if { (ac_try="$ac_link"
33045 case "(($ac_try" in
33046 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33047 *) ac_try_echo
=$ac_try;;
33049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33050 (eval "$ac_link") 2>conftest.er1
33052 grep -v '^ *+' conftest.er1
>conftest.err
33054 cat conftest.err
>&5
33055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33056 (exit $ac_status); } && {
33057 test -z "$ac_c_werror_flag" ||
33058 test ! -s conftest.err
33059 } && test -s conftest
$ac_exeext &&
33060 $as_test_x conftest
$ac_exeext; then
33061 ac_cv_func_connect
=yes
33063 echo "$as_me: failed program was:" >&5
33064 sed 's/^/| /' conftest.
$ac_ext >&5
33066 ac_cv_func_connect
=no
33069 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33070 conftest
$ac_exeext conftest.
$ac_ext
33072 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33073 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33075 if test $ac_cv_func_connect = no
; then
33076 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33077 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33078 if test "${ac_cv_lib_socket_connect+set}" = set; then
33079 echo $ECHO_N "(cached) $ECHO_C" >&6
33081 ac_check_lib_save_LIBS
=$LIBS
33082 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
33083 cat >conftest.
$ac_ext <<_ACEOF
33086 cat confdefs.h
>>conftest.
$ac_ext
33087 cat >>conftest.
$ac_ext <<_ACEOF
33088 /* end confdefs.h. */
33090 /* Override any GCC internal prototype to avoid an error.
33091 Use char because int might match the return type of a GCC
33092 builtin and then its argument prototype would still apply. */
33105 rm -f conftest.
$ac_objext conftest
$ac_exeext
33106 if { (ac_try
="$ac_link"
33107 case "(($ac_try" in
33108 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33109 *) ac_try_echo=$ac_try;;
33111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33112 (eval "$ac_link") 2>conftest.er1
33114 grep -v '^ *+' conftest.er1 >conftest.err
33116 cat conftest.err >&5
33117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33118 (exit $ac_status); } && {
33119 test -z "$ac_c_werror_flag" ||
33120 test ! -s conftest.err
33121 } && test -s conftest$ac_exeext &&
33122 $as_test_x conftest$ac_exeext; then
33123 ac_cv_lib_socket_connect=yes
33125 echo "$as_me: failed program was:" >&5
33126 sed 's/^/| /' conftest.$ac_ext >&5
33128 ac_cv_lib_socket_connect=no
33131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33132 conftest$ac_exeext conftest.$ac_ext
33133 LIBS=$ac_check_lib_save_LIBS
33135 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33136 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33137 if test $ac_cv_lib_socket_connect = yes; then
33138 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33143 # Guillermo Gomez says -lposix is necessary on A/UX.
33144 { echo "$as_me:$LINENO: checking for remove" >&5
33145 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33146 if test "${ac_cv_func_remove+set}" = set; then
33147 echo $ECHO_N "(cached) $ECHO_C" >&6
33149 cat >conftest.$ac_ext <<_ACEOF
33152 cat confdefs.h >>conftest.$ac_ext
33153 cat >>conftest.$ac_ext <<_ACEOF
33154 /* end confdefs.h. */
33155 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33157 #define remove innocuous_remove
33159 /* System header to define __stub macros and hopefully few prototypes,
33160 which can conflict with char remove (); below.
33161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33162 <limits.h> exists even on freestanding compilers. */
33165 # include <limits.h>
33167 # include <assert.h>
33172 /* Override any GCC internal prototype to avoid an error.
33173 Use char because int might match the return type of a GCC
33174 builtin and then its argument prototype would still apply. */
33179 /* The GNU C library defines this for functions which it implements
33180 to always fail with ENOSYS. Some functions are actually named
33181 something starting with __ and the normal name is an alias. */
33182 #if defined __stub_remove || defined __stub___remove
33194 rm -f conftest.$ac_objext conftest$ac_exeext
33195 if { (ac_try="$ac_link"
33196 case "(($ac_try" in
33197 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33198 *) ac_try_echo
=$ac_try;;
33200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33201 (eval "$ac_link") 2>conftest.er1
33203 grep -v '^ *+' conftest.er1
>conftest.err
33205 cat conftest.err
>&5
33206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33207 (exit $ac_status); } && {
33208 test -z "$ac_c_werror_flag" ||
33209 test ! -s conftest.err
33210 } && test -s conftest
$ac_exeext &&
33211 $as_test_x conftest
$ac_exeext; then
33212 ac_cv_func_remove
=yes
33214 echo "$as_me: failed program was:" >&5
33215 sed 's/^/| /' conftest.
$ac_ext >&5
33217 ac_cv_func_remove
=no
33220 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33221 conftest
$ac_exeext conftest.
$ac_ext
33223 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33224 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33226 if test $ac_cv_func_remove = no
; then
33227 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33228 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33229 if test "${ac_cv_lib_posix_remove+set}" = set; then
33230 echo $ECHO_N "(cached) $ECHO_C" >&6
33232 ac_check_lib_save_LIBS
=$LIBS
33233 LIBS
="-lposix $LIBS"
33234 cat >conftest.
$ac_ext <<_ACEOF
33237 cat confdefs.h
>>conftest.
$ac_ext
33238 cat >>conftest.
$ac_ext <<_ACEOF
33239 /* end confdefs.h. */
33241 /* Override any GCC internal prototype to avoid an error.
33242 Use char because int might match the return type of a GCC
33243 builtin and then its argument prototype would still apply. */
33256 rm -f conftest.
$ac_objext conftest
$ac_exeext
33257 if { (ac_try
="$ac_link"
33258 case "(($ac_try" in
33259 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33260 *) ac_try_echo=$ac_try;;
33262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33263 (eval "$ac_link") 2>conftest.er1
33265 grep -v '^ *+' conftest.er1 >conftest.err
33267 cat conftest.err >&5
33268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33269 (exit $ac_status); } && {
33270 test -z "$ac_c_werror_flag" ||
33271 test ! -s conftest.err
33272 } && test -s conftest$ac_exeext &&
33273 $as_test_x conftest$ac_exeext; then
33274 ac_cv_lib_posix_remove=yes
33276 echo "$as_me: failed program was:" >&5
33277 sed 's/^/| /' conftest.$ac_ext >&5
33279 ac_cv_lib_posix_remove=no
33282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33283 conftest$ac_exeext conftest.$ac_ext
33284 LIBS=$ac_check_lib_save_LIBS
33286 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33287 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33288 if test $ac_cv_lib_posix_remove = yes; then
33289 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33294 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33295 { echo "$as_me:$LINENO: checking for shmat" >&5
33296 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33297 if test "${ac_cv_func_shmat+set}" = set; then
33298 echo $ECHO_N "(cached) $ECHO_C" >&6
33300 cat >conftest.$ac_ext <<_ACEOF
33303 cat confdefs.h >>conftest.$ac_ext
33304 cat >>conftest.$ac_ext <<_ACEOF
33305 /* end confdefs.h. */
33306 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33308 #define shmat innocuous_shmat
33310 /* System header to define __stub macros and hopefully few prototypes,
33311 which can conflict with char shmat (); below.
33312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33313 <limits.h> exists even on freestanding compilers. */
33316 # include <limits.h>
33318 # include <assert.h>
33323 /* Override any GCC internal prototype to avoid an error.
33324 Use char because int might match the return type of a GCC
33325 builtin and then its argument prototype would still apply. */
33330 /* The GNU C library defines this for functions which it implements
33331 to always fail with ENOSYS. Some functions are actually named
33332 something starting with __ and the normal name is an alias. */
33333 #if defined __stub_shmat || defined __stub___shmat
33345 rm -f conftest.$ac_objext conftest$ac_exeext
33346 if { (ac_try="$ac_link"
33347 case "(($ac_try" in
33348 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33349 *) ac_try_echo
=$ac_try;;
33351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33352 (eval "$ac_link") 2>conftest.er1
33354 grep -v '^ *+' conftest.er1
>conftest.err
33356 cat conftest.err
>&5
33357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33358 (exit $ac_status); } && {
33359 test -z "$ac_c_werror_flag" ||
33360 test ! -s conftest.err
33361 } && test -s conftest
$ac_exeext &&
33362 $as_test_x conftest
$ac_exeext; then
33363 ac_cv_func_shmat
=yes
33365 echo "$as_me: failed program was:" >&5
33366 sed 's/^/| /' conftest.
$ac_ext >&5
33368 ac_cv_func_shmat
=no
33371 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33372 conftest
$ac_exeext conftest.
$ac_ext
33374 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33375 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33377 if test $ac_cv_func_shmat = no
; then
33378 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33379 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33380 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33381 echo $ECHO_N "(cached) $ECHO_C" >&6
33383 ac_check_lib_save_LIBS
=$LIBS
33385 cat >conftest.
$ac_ext <<_ACEOF
33388 cat confdefs.h
>>conftest.
$ac_ext
33389 cat >>conftest.
$ac_ext <<_ACEOF
33390 /* end confdefs.h. */
33392 /* Override any GCC internal prototype to avoid an error.
33393 Use char because int might match the return type of a GCC
33394 builtin and then its argument prototype would still apply. */
33407 rm -f conftest.
$ac_objext conftest
$ac_exeext
33408 if { (ac_try
="$ac_link"
33409 case "(($ac_try" in
33410 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33411 *) ac_try_echo=$ac_try;;
33413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33414 (eval "$ac_link") 2>conftest.er1
33416 grep -v '^ *+' conftest.er1 >conftest.err
33418 cat conftest.err >&5
33419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33420 (exit $ac_status); } && {
33421 test -z "$ac_c_werror_flag" ||
33422 test ! -s conftest.err
33423 } && test -s conftest$ac_exeext &&
33424 $as_test_x conftest$ac_exeext; then
33425 ac_cv_lib_ipc_shmat=yes
33427 echo "$as_me: failed program was:" >&5
33428 sed 's/^/| /' conftest.$ac_ext >&5
33430 ac_cv_lib_ipc_shmat=no
33433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33434 conftest$ac_exeext conftest.$ac_ext
33435 LIBS=$ac_check_lib_save_LIBS
33437 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33438 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33439 if test $ac_cv_lib_ipc_shmat = yes; then
33440 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33446 # Check for libraries that X11R6 Xt/Xaw programs need.
33447 ac_save_LDFLAGS=$LDFLAGS
33448 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33449 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33450 # check for ICE first), but we must link in the order -lSM -lICE or
33451 # we get undefined symbols. So assume we have SM if we have ICE.
33452 # These have to be linked with before -lX11, unlike the other
33453 # libraries we check for below, so use a different variable.
33454 # John Interrante, Karl Berry
33455 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33456 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33457 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33458 echo $ECHO_N "(cached) $ECHO_C" >&6
33460 ac_check_lib_save_LIBS=$LIBS
33461 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33462 cat >conftest.$ac_ext <<_ACEOF
33465 cat confdefs.h >>conftest.$ac_ext
33466 cat >>conftest.$ac_ext <<_ACEOF
33467 /* end confdefs.h. */
33469 /* Override any GCC internal prototype to avoid an error.
33470 Use char because int might match the return type of a GCC
33471 builtin and then its argument prototype would still apply. */
33475 char IceConnectionNumber ();
33479 return IceConnectionNumber ();
33484 rm -f conftest.$ac_objext conftest$ac_exeext
33485 if { (ac_try="$ac_link"
33486 case "(($ac_try" in
33487 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33488 *) ac_try_echo
=$ac_try;;
33490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33491 (eval "$ac_link") 2>conftest.er1
33493 grep -v '^ *+' conftest.er1
>conftest.err
33495 cat conftest.err
>&5
33496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33497 (exit $ac_status); } && {
33498 test -z "$ac_c_werror_flag" ||
33499 test ! -s conftest.err
33500 } && test -s conftest
$ac_exeext &&
33501 $as_test_x conftest
$ac_exeext; then
33502 ac_cv_lib_ICE_IceConnectionNumber
=yes
33504 echo "$as_me: failed program was:" >&5
33505 sed 's/^/| /' conftest.
$ac_ext >&5
33507 ac_cv_lib_ICE_IceConnectionNumber
=no
33510 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33511 conftest
$ac_exeext conftest.
$ac_ext
33512 LIBS
=$ac_check_lib_save_LIBS
33514 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33515 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33516 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33517 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
33520 LDFLAGS
=$ac_save_LDFLAGS
33525 if test "$no_x" = "yes"; then
33526 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33527 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33528 { (exit 1); exit 1; }; }
33531 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33532 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
33533 AFMINSTALL
=afminstall
33534 COMPILED_X_PROGRAM
=0
33538 if test "$wxUSE_X11" = 1; then
33539 if test "$wxUSE_NANOX" = "yes"; then
33540 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33541 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33542 if test "x$MICROWIN" = x
; then
33543 { echo "$as_me:$LINENO: result: not found" >&5
33544 echo "${ECHO_T}not found" >&6; }
33545 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33546 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33547 { (exit 1); exit 1; }; }
33549 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33550 echo "${ECHO_T}$MICROWIN" >&6; }
33551 cat >>confdefs.h
<<\_ACEOF
33552 #define wxUSE_NANOX 1
33558 if test "$wxUSE_UNICODE" = "yes"; then
33561 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33562 if test -n "$ac_tool_prefix"; then
33563 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33564 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33567 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33568 echo $ECHO_N "(cached) $ECHO_C" >&6
33570 case $PKG_CONFIG in
33572 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33576 for as_dir
in $PATH
33579 test -z "$as_dir" && as_dir
=.
33580 for ac_exec_ext
in '' $ac_executable_extensions; do
33581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33582 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33593 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33594 if test -n "$PKG_CONFIG"; then
33595 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33596 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33598 { echo "$as_me:$LINENO: result: no" >&5
33599 echo "${ECHO_T}no" >&6; }
33604 if test -z "$ac_cv_path_PKG_CONFIG"; then
33605 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33606 # Extract the first word of "pkg-config", so it can be a program name with args.
33607 set dummy pkg
-config; ac_word
=$2
33608 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33610 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33611 echo $ECHO_N "(cached) $ECHO_C" >&6
33613 case $ac_pt_PKG_CONFIG in
33615 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33619 for as_dir
in $PATH
33622 test -z "$as_dir" && as_dir
=.
33623 for ac_exec_ext
in '' $ac_executable_extensions; do
33624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33625 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33636 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33637 if test -n "$ac_pt_PKG_CONFIG"; then
33638 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33639 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33641 { echo "$as_me:$LINENO: result: no" >&5
33642 echo "${ECHO_T}no" >&6; }
33645 if test "x$ac_pt_PKG_CONFIG" = x
; then
33648 case $cross_compiling:$ac_tool_warned in
33650 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33651 whose name does not start with the host triplet. If you think this
33652 configuration is useful to you, please write to autoconf@gnu.org." >&5
33653 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33654 whose name does not start with the host triplet. If you think this
33655 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33656 ac_tool_warned
=yes ;;
33658 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33661 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33665 if test -n "$PKG_CONFIG"; then
33666 _pkg_min_version
=0.9.0
33667 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33668 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33669 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33670 { echo "$as_me:$LINENO: result: yes" >&5
33671 echo "${ECHO_T}yes" >&6; }
33673 { echo "$as_me:$LINENO: result: no" >&5
33674 echo "${ECHO_T}no" >&6; }
33682 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33683 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33685 if test -n "$PKG_CONFIG"; then
33686 if test -n "$PANGOX_CFLAGS"; then
33687 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
33689 if test -n "$PKG_CONFIG" && \
33690 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33691 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33694 (exit $ac_status); }; then
33695 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33703 if test -n "$PKG_CONFIG"; then
33704 if test -n "$PANGOX_LIBS"; then
33705 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
33707 if test -n "$PKG_CONFIG" && \
33708 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33709 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33712 (exit $ac_status); }; then
33713 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33724 if test $pkg_failed = yes; then
33726 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33727 _pkg_short_errors_supported
=yes
33729 _pkg_short_errors_supported
=no
33731 if test $_pkg_short_errors_supported = yes; then
33732 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33734 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33736 # Put the nasty error message in config.log where it belongs
33737 echo "$PANGOX_PKG_ERRORS" >&5
33740 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33741 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33742 { (exit 1); exit 1; }; }
33745 elif test $pkg_failed = untried
; then
33747 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33748 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33749 { (exit 1); exit 1; }; }
33753 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
33754 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
33755 { echo "$as_me:$LINENO: result: yes" >&5
33756 echo "${ECHO_T}yes" >&6; }
33758 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
33759 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
33760 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
33765 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33766 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33768 if test -n "$PKG_CONFIG"; then
33769 if test -n "$PANGOFT2_CFLAGS"; then
33770 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
33772 if test -n "$PKG_CONFIG" && \
33773 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33774 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33777 (exit $ac_status); }; then
33778 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33786 if test -n "$PKG_CONFIG"; then
33787 if test -n "$PANGOFT2_LIBS"; then
33788 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
33790 if test -n "$PKG_CONFIG" && \
33791 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33792 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33795 (exit $ac_status); }; then
33796 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33807 if test $pkg_failed = yes; then
33809 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33810 _pkg_short_errors_supported
=yes
33812 _pkg_short_errors_supported
=no
33814 if test $_pkg_short_errors_supported = yes; then
33815 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33817 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33819 # Put the nasty error message in config.log where it belongs
33820 echo "$PANGOFT2_PKG_ERRORS" >&5
33823 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33824 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33825 wxUSE_PRINTING_ARCHITECTURE
="no"
33828 elif test $pkg_failed = untried
; then
33830 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33831 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33832 wxUSE_PRINTING_ARCHITECTURE
="no"
33836 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
33837 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
33838 { echo "$as_me:$LINENO: result: yes" >&5
33839 echo "${ECHO_T}yes" >&6; }
33841 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
33842 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
33843 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33848 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33849 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33851 if test -n "$PKG_CONFIG"; then
33852 if test -n "$PANGOXFT_CFLAGS"; then
33853 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
33855 if test -n "$PKG_CONFIG" && \
33856 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33857 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33860 (exit $ac_status); }; then
33861 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33869 if test -n "$PKG_CONFIG"; then
33870 if test -n "$PANGOXFT_LIBS"; then
33871 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
33873 if test -n "$PKG_CONFIG" && \
33874 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33875 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33878 (exit $ac_status); }; then
33879 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33890 if test $pkg_failed = yes; then
33892 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33893 _pkg_short_errors_supported
=yes
33895 _pkg_short_errors_supported
=no
33897 if test $_pkg_short_errors_supported = yes; then
33898 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33900 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33902 # Put the nasty error message in config.log where it belongs
33903 echo "$PANGOXFT_PKG_ERRORS" >&5
33906 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33907 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33910 elif test $pkg_failed = untried
; then
33912 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33913 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33917 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
33918 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
33919 { echo "$as_me:$LINENO: result: yes" >&5
33920 echo "${ECHO_T}yes" >&6; }
33922 cat >>confdefs.h
<<\_ACEOF
33923 #define HAVE_PANGO_XFT 1
33926 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
33927 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
33928 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33932 LIBS
="$LIBS $PANGOX_LIBS"
33934 for ac_func
in pango_font_family_is_monospace
33936 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33937 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33939 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33940 echo $ECHO_N "(cached) $ECHO_C" >&6
33942 cat >conftest.
$ac_ext <<_ACEOF
33945 cat confdefs.h
>>conftest.
$ac_ext
33946 cat >>conftest.
$ac_ext <<_ACEOF
33947 /* end confdefs.h. */
33948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33950 #define $ac_func innocuous_$ac_func
33952 /* System header to define __stub macros and hopefully few prototypes,
33953 which can conflict with char $ac_func (); below.
33954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33955 <limits.h> exists even on freestanding compilers. */
33958 # include <limits.h>
33960 # include <assert.h>
33965 /* Override any GCC internal prototype to avoid an error.
33966 Use char because int might match the return type of a GCC
33967 builtin and then its argument prototype would still apply. */
33972 /* The GNU C library defines this for functions which it implements
33973 to always fail with ENOSYS. Some functions are actually named
33974 something starting with __ and the normal name is an alias. */
33975 #if defined __stub_$ac_func || defined __stub___$ac_func
33982 return $ac_func ();
33987 rm -f conftest.
$ac_objext conftest
$ac_exeext
33988 if { (ac_try
="$ac_link"
33989 case "(($ac_try" in
33990 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33991 *) ac_try_echo=$ac_try;;
33993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33994 (eval "$ac_link") 2>conftest.er1
33996 grep -v '^ *+' conftest.er1 >conftest.err
33998 cat conftest.err >&5
33999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34000 (exit $ac_status); } && {
34001 test -z "$ac_c_werror_flag" ||
34002 test ! -s conftest.err
34003 } && test -s conftest$ac_exeext &&
34004 $as_test_x conftest$ac_exeext; then
34005 eval "$as_ac_var=yes"
34007 echo "$as_me: failed program was:" >&5
34008 sed 's/^/| /' conftest.$ac_ext >&5
34010 eval "$as_ac_var=no"
34013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34014 conftest$ac_exeext conftest.$ac_ext
34016 ac_res=`eval echo '${'$as_ac_var'}'`
34017 { echo "$as_me:$LINENO: result: $ac_res" >&5
34018 echo "${ECHO_T}$ac_res" >&6; }
34019 if test `eval echo '${'$as_ac_var'}'` = yes; then
34020 cat >>confdefs.h <<_ACEOF
34021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34030 wxUSE_UNIVERSAL="yes"
34032 if test "$wxUSE_NANOX" = "yes"; then
34033 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34034 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"
34035 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34037 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34044 if test "$wxUSE_MOTIF" = 1; then
34045 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34046 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34049 for ac_dir in $SEARCH_INCLUDE /usr/include;
34051 if test -f "$ac_dir/Xm/Xm.h"; then
34052 ac_find_includes=$ac_dir
34057 if test "$ac_find_includes" != "" ; then
34058 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34059 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34061 if test "x$ac_find_includes" = "x/usr/include"; then
34062 ac_path_to_include=""
34064 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34066 if test $result = 0; then
34067 ac_path_to_include=""
34069 ac_path_to_include=" -I$ac_find_includes"
34073 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34075 save_CFLAGS=$CFLAGS
34076 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34078 cat >conftest.$ac_ext <<_ACEOF
34081 cat confdefs.h >>conftest.$ac_ext
34082 cat >>conftest.$ac_ext <<_ACEOF
34083 /* end confdefs.h. */
34092 version = xmUseVersion;
34098 rm -f conftest.$ac_objext
34099 if { (ac_try="$ac_compile"
34100 case "(($ac_try" in
34101 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34102 *) ac_try_echo
=$ac_try;;
34104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34105 (eval "$ac_compile") 2>conftest.er1
34107 grep -v '^ *+' conftest.er1
>conftest.err
34109 cat conftest.err
>&5
34110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34111 (exit $ac_status); } && {
34112 test -z "$ac_c_werror_flag" ||
34113 test ! -s conftest.err
34114 } && test -s conftest.
$ac_objext; then
34116 { echo "$as_me:$LINENO: result: found in default search path" >&5
34117 echo "${ECHO_T}found in default search path" >&6; }
34118 COMPILED_X_PROGRAM
=1
34121 echo "$as_me: failed program was:" >&5
34122 sed 's/^/| /' conftest.
$ac_ext >&5
34125 { echo "$as_me:$LINENO: result: no" >&5
34126 echo "${ECHO_T}no" >&6; }
34127 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34128 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34129 { (exit 1); exit 1; }; }
34134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34136 CFLAGS
=$save_CFLAGS
34140 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34141 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34144 for ac_dir
in $SEARCH_LIB;
34146 for ac_extension
in a so sl dylib dll.a
; do
34147 if test -f "$ac_dir/libXm.$ac_extension"; then
34148 ac_find_libraries
=$ac_dir
34155 if test "x$ac_find_libraries" != "x" ; then
34156 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34157 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34160 if test "$ac_find_libraries" = "default location"; then
34163 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
34165 if test $result = 0; then
34168 ac_path_to_link
=" -L$ac_find_libraries"
34172 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
34174 save_CFLAGS
=$CFLAGS
34175 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
34177 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34179 cat >conftest.
$ac_ext <<_ACEOF
34182 cat confdefs.h
>>conftest.
$ac_ext
34183 cat >>conftest.
$ac_ext <<_ACEOF
34184 /* end confdefs.h. */
34193 version = xmUseVersion;
34199 rm -f conftest.
$ac_objext conftest
$ac_exeext
34200 if { (ac_try
="$ac_link"
34201 case "(($ac_try" in
34202 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34203 *) ac_try_echo=$ac_try;;
34205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34206 (eval "$ac_link") 2>conftest.er1
34208 grep -v '^ *+' conftest.er1 >conftest.err
34210 cat conftest.err >&5
34211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34212 (exit $ac_status); } && {
34213 test -z "$ac_c_werror_flag" ||
34214 test ! -s conftest.err
34215 } && test -s conftest$ac_exeext &&
34216 $as_test_x conftest$ac_exeext; then
34218 { echo "$as_me:$LINENO: result: found in default search path" >&5
34219 echo "${ECHO_T}found in default search path" >&6; }
34220 COMPILED_X_PROGRAM=1
34223 echo "$as_me: failed program was:" >&5
34224 sed 's/^/| /' conftest.$ac_ext >&5
34227 { echo "$as_me:$LINENO: result: no" >&5
34228 echo "${ECHO_T}no" >&6; }
34229 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34230 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34231 { (exit 1); exit 1; }; }
34236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34237 conftest$ac_exeext conftest.$ac_ext
34239 CFLAGS=$save_CFLAGS
34243 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34244 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34248 for libp in "" " -lXp"; do
34249 if test "$libs_found" = "0"; then
34250 for libsm_ice in "" " -lSM -lICE"; do
34251 if test "$libs_found" = "0"; then
34253 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34254 save_CFLAGS=$CFLAGS
34255 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34257 cat >conftest.$ac_ext <<_ACEOF
34260 cat confdefs.h >>conftest.$ac_ext
34261 cat >>conftest.$ac_ext <<_ACEOF
34262 /* end confdefs.h. */
34265 #include <Xm/List.h>
34271 XmString string = NULL;
34274 XmListAddItem(w, string, position);
34280 rm -f conftest.$ac_objext conftest$ac_exeext
34281 if { (ac_try="$ac_link"
34282 case "(($ac_try" in
34283 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34284 *) ac_try_echo
=$ac_try;;
34286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34287 (eval "$ac_link") 2>conftest.er1
34289 grep -v '^ *+' conftest.er1
>conftest.err
34291 cat conftest.err
>&5
34292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34293 (exit $ac_status); } && {
34294 test -z "$ac_c_werror_flag" ||
34295 test ! -s conftest.err
34296 } && test -s conftest
$ac_exeext &&
34297 $as_test_x conftest
$ac_exeext; then
34300 libsm_ice_link
="$libsm_ice"
34301 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34302 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34306 echo "$as_me: failed program was:" >&5
34307 sed 's/^/| /' conftest.
$ac_ext >&5
34313 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34314 conftest
$ac_exeext conftest.
$ac_ext
34317 CFLAGS
=$save_CFLAGS
34323 if test "$libs_found" = "0"; then
34324 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34325 echo "${ECHO_T}can't find the right libraries" >&6; }
34326 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34327 echo "$as_me: error: can't link a simple motif program" >&2;}
34328 { (exit 1); exit 1; }; }
34331 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34332 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34333 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34334 echo $ECHO_N "(cached) $ECHO_C" >&6
34336 ac_check_lib_save_LIBS
=$LIBS
34338 cat >conftest.
$ac_ext <<_ACEOF
34341 cat confdefs.h
>>conftest.
$ac_ext
34342 cat >>conftest.
$ac_ext <<_ACEOF
34343 /* end confdefs.h. */
34345 /* Override any GCC internal prototype to avoid an error.
34346 Use char because int might match the return type of a GCC
34347 builtin and then its argument prototype would still apply. */
34351 char SgCreateList ();
34355 return SgCreateList ();
34360 rm -f conftest.
$ac_objext conftest
$ac_exeext
34361 if { (ac_try
="$ac_link"
34362 case "(($ac_try" in
34363 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34364 *) ac_try_echo=$ac_try;;
34366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34367 (eval "$ac_link") 2>conftest.er1
34369 grep -v '^ *+' conftest.er1 >conftest.err
34371 cat conftest.err >&5
34372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34373 (exit $ac_status); } && {
34374 test -z "$ac_c_werror_flag" ||
34375 test ! -s conftest.err
34376 } && test -s conftest$ac_exeext &&
34377 $as_test_x conftest$ac_exeext; then
34378 ac_cv_lib_Sgm_SgCreateList=yes
34380 echo "$as_me: failed program was:" >&5
34381 sed 's/^/| /' conftest.$ac_ext >&5
34383 ac_cv_lib_Sgm_SgCreateList=no
34386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34387 conftest$ac_exeext conftest.$ac_ext
34388 LIBS=$ac_check_lib_save_LIBS
34390 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34391 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34392 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34393 libsgm_link=" -lSgm"
34397 save_CFLAGS=$CFLAGS
34398 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34400 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34401 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34402 if test "${wx_cv_lib_motif2+set}" = set; then
34403 echo $ECHO_N "(cached) $ECHO_C" >&6
34405 cat >conftest.$ac_ext <<_ACEOF
34408 cat confdefs.h >>conftest.$ac_ext
34409 cat >>conftest.$ac_ext <<_ACEOF
34410 /* end confdefs.h. */
34418 #if XmVersion < 2000
34426 rm -f conftest.$ac_objext
34427 if { (ac_try="$ac_compile"
34428 case "(($ac_try" in
34429 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34430 *) ac_try_echo
=$ac_try;;
34432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34433 (eval "$ac_compile") 2>conftest.er1
34435 grep -v '^ *+' conftest.er1
>conftest.err
34437 cat conftest.err
>&5
34438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34439 (exit $ac_status); } && {
34440 test -z "$ac_c_werror_flag" ||
34441 test ! -s conftest.err
34442 } && test -s conftest.
$ac_objext; then
34443 wx_cv_lib_motif2
="yes"
34445 echo "$as_me: failed program was:" >&5
34446 sed 's/^/| /' conftest.
$ac_ext >&5
34448 wx_cv_lib_motif2
="no"
34451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34453 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34454 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34455 if test "$wx_cv_lib_motif2" = "yes"; then
34456 cat >>confdefs.h
<<\_ACEOF
34457 #define __WXMOTIF20__ 1
34461 cat >>confdefs.h
<<\_ACEOF
34462 #define __WXMOTIF20__ 0
34467 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34468 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34469 if test "${wx_cv_lib_lesstif+set}" = set; then
34470 echo $ECHO_N "(cached) $ECHO_C" >&6
34472 cat >conftest.
$ac_ext <<_ACEOF
34475 cat confdefs.h
>>conftest.
$ac_ext
34476 cat >>conftest.
$ac_ext <<_ACEOF
34477 /* end confdefs.h. */
34485 #if !defined(LesstifVersion) || LesstifVersion <= 0
34493 rm -f conftest.
$ac_objext
34494 if { (ac_try
="$ac_compile"
34495 case "(($ac_try" in
34496 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34497 *) ac_try_echo=$ac_try;;
34499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34500 (eval "$ac_compile") 2>conftest.er1
34502 grep -v '^ *+' conftest.er1 >conftest.err
34504 cat conftest.err >&5
34505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34506 (exit $ac_status); } && {
34507 test -z "$ac_c_werror_flag" ||
34508 test ! -s conftest.err
34509 } && test -s conftest.$ac_objext; then
34510 wx_cv_lib_lesstif="yes"
34512 echo "$as_me: failed program was:" >&5
34513 sed 's/^/| /' conftest.$ac_ext >&5
34515 wx_cv_lib_lesstif="no"
34518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34521 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34522 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34523 if test "$wx_cv_lib_lesstif" = "yes"; then
34524 cat >>confdefs.h <<\_ACEOF
34525 #define __WXLESSTIF__ 1
34529 cat >>confdefs.h <<\_ACEOF
34530 #define __WXLESSTIF__ 0
34535 CFLAGS=$save_CFLAGS
34537 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34542 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34543 if test "$wxUSE_LIBXPM" = "sys"; then
34544 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34545 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34548 for ac_dir in $SEARCH_LIB;
34550 for ac_extension in a so sl dylib dll.a; do
34551 if test -f "$ac_dir/libXpm.$ac_extension"; then
34552 ac_find_libraries=$ac_dir
34558 if test "$ac_find_libraries" != "" ; then
34560 if test "$ac_find_libraries" = "default location"; then
34563 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34565 if test $result = 0; then
34568 ac_path_to_link=" -L$ac_find_libraries"
34572 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34573 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34574 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34576 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34577 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34578 if test "${wx_cv_x11_xpm_h+set}" = set; then
34579 echo $ECHO_N "(cached) $ECHO_C" >&6
34582 save_CFLAGS=$CFLAGS
34583 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34585 cat >conftest.$ac_ext <<_ACEOF
34588 cat confdefs.h >>conftest.$ac_ext
34589 cat >>conftest.$ac_ext <<_ACEOF
34590 /* end confdefs.h. */
34592 #include <X11/xpm.h>
34599 version = XpmLibraryVersion();
34605 rm -f conftest.$ac_objext
34606 if { (ac_try="$ac_compile"
34607 case "(($ac_try" in
34608 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34609 *) ac_try_echo
=$ac_try;;
34611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34612 (eval "$ac_compile") 2>conftest.er1
34614 grep -v '^ *+' conftest.er1
>conftest.err
34616 cat conftest.err
>&5
34617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34618 (exit $ac_status); } && {
34619 test -z "$ac_c_werror_flag" ||
34620 test ! -s conftest.err
34621 } && test -s conftest.
$ac_objext; then
34622 wx_cv_x11_xpm_h
=yes
34624 echo "$as_me: failed program was:" >&5
34625 sed 's/^/| /' conftest.
$ac_ext >&5
34631 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34633 CFLAGS
=$save_CFLAGS
34637 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34638 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34640 if test $wx_cv_x11_xpm_h = "yes"; then
34641 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
34642 cat >>confdefs.h
<<\_ACEOF
34643 #define wxHAVE_LIB_XPM 1
34647 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34648 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34654 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34655 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34656 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34657 echo $ECHO_N "(cached) $ECHO_C" >&6
34659 ac_check_lib_save_LIBS
=$LIBS
34660 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34661 cat >conftest.
$ac_ext <<_ACEOF
34664 cat confdefs.h
>>conftest.
$ac_ext
34665 cat >>conftest.
$ac_ext <<_ACEOF
34666 /* end confdefs.h. */
34668 /* Override any GCC internal prototype to avoid an error.
34669 Use char because int might match the return type of a GCC
34670 builtin and then its argument prototype would still apply. */
34674 char XShapeQueryExtension ();
34678 return XShapeQueryExtension ();
34683 rm -f conftest.
$ac_objext conftest
$ac_exeext
34684 if { (ac_try
="$ac_link"
34685 case "(($ac_try" in
34686 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34687 *) ac_try_echo=$ac_try;;
34689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34690 (eval "$ac_link") 2>conftest.er1
34692 grep -v '^ *+' conftest.er1 >conftest.err
34694 cat conftest.err >&5
34695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34696 (exit $ac_status); } && {
34697 test -z "$ac_c_werror_flag" ||
34698 test ! -s conftest.err
34699 } && test -s conftest$ac_exeext &&
34700 $as_test_x conftest$ac_exeext; then
34701 ac_cv_lib_Xext_XShapeQueryExtension=yes
34703 echo "$as_me: failed program was:" >&5
34704 sed 's/^/| /' conftest.$ac_ext >&5
34706 ac_cv_lib_Xext_XShapeQueryExtension=no
34709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34710 conftest$ac_exeext conftest.$ac_ext
34711 LIBS=$ac_check_lib_save_LIBS
34713 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34714 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34715 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34717 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34723 if test "$wxHAVE_XEXT_LIB" = 1; then
34724 save_CFLAGS="$CFLAGS"
34725 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34727 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34728 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34729 cat >conftest.$ac_ext <<_ACEOF
34732 cat confdefs.h >>conftest.$ac_ext
34733 cat >>conftest.$ac_ext <<_ACEOF
34734 /* end confdefs.h. */
34736 #include <X11/Xlib.h>
34737 #include <X11/extensions/shape.h>
34743 int dummy1, dummy2;
34744 XShapeQueryExtension((Display*)NULL,
34745 (int*)NULL, (int*)NULL);
34751 rm -f conftest.$ac_objext
34752 if { (ac_try="$ac_compile"
34753 case "(($ac_try" in
34754 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34755 *) ac_try_echo
=$ac_try;;
34757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34758 (eval "$ac_compile") 2>conftest.er1
34760 grep -v '^ *+' conftest.er1
>conftest.err
34762 cat conftest.err
>&5
34763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34764 (exit $ac_status); } && {
34765 test -z "$ac_c_werror_flag" ||
34766 test ! -s conftest.err
34767 } && test -s conftest.
$ac_objext; then
34769 cat >>confdefs.h
<<\_ACEOF
34770 #define HAVE_XSHAPE 1
34773 { echo "$as_me:$LINENO: result: found" >&5
34774 echo "${ECHO_T}found" >&6; }
34777 echo "$as_me: failed program was:" >&5
34778 sed 's/^/| /' conftest.
$ac_ext >&5
34781 { echo "$as_me:$LINENO: result: not found" >&5
34782 echo "${ECHO_T}not found" >&6; }
34786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34787 CFLAGS
="$save_CFLAGS"
34792 if test "$wxUSE_MAC" = 1; then
34793 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34794 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34795 if test "$GCC" = yes; then
34796 { echo "$as_me:$LINENO: result: gcc" >&5
34797 echo "${ECHO_T}gcc" >&6; }
34798 CPPFLAGS_PASCAL
="-fpascal-strings"
34799 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34800 { echo "$as_me:$LINENO: result: xlc" >&5
34801 echo "${ECHO_T}xlc" >&6; }
34802 CPPFLAGS_PASCAL
="-qmacpstr"
34804 { echo "$as_me:$LINENO: result: none" >&5
34805 echo "${ECHO_T}none" >&6; }
34808 if test "x$wxUSE_UNIX" = "xyes"; then
34809 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34811 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34816 WXBASEPORT
="_carbon"
34819 if test "$wxUSE_COCOA" = 1; then
34824 if test "$wxUSE_PM" = 1; then
34827 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34828 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34829 if test "${wx_cv_spbcdata+set}" = set; then
34830 echo $ECHO_N "(cached) $ECHO_C" >&6
34833 cat >conftest.
$ac_ext <<_ACEOF
34836 cat confdefs.h
>>conftest.
$ac_ext
34837 cat >>conftest.
$ac_ext <<_ACEOF
34838 /* end confdefs.h. */
34853 rm -f conftest.
$ac_objext
34854 if { (ac_try
="$ac_compile"
34855 case "(($ac_try" in
34856 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34857 *) ac_try_echo=$ac_try;;
34859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34860 (eval "$ac_compile") 2>conftest.er1
34862 grep -v '^ *+' conftest.er1 >conftest.err
34864 cat conftest.err >&5
34865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34866 (exit $ac_status); } && {
34867 test -z "$ac_c_werror_flag" ||
34868 test ! -s conftest.err
34869 } && test -s conftest.$ac_objext; then
34872 echo "$as_me: failed program was:" >&5
34873 sed 's/^/| /' conftest.$ac_ext >&5
34879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34883 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34884 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34886 if test $wx_cv_spbcdata = "yes"; then
34887 cat >>confdefs.h <<\_ACEOF
34888 #define HAVE_SPBCDATA 1
34894 if test "$TOOLKIT" = "PM" ; then
34897 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34900 if test "$wxUSE_UNIVERSAL" = "yes"; then
34901 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34905 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34906 DISTDIR="wx\$(TOOLKIT)"
34912 if test "$USE_WIN32" = 1 ; then
34916 GUIDIST="BASE_DIST"
34922 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34923 if test "$TOOLKIT" = "DFB" ; then
34924 wxUSE_UNICODE_UTF8=yes
34925 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34926 wxUSE_UNICODE_UTF8=yes
34927 elif test "$USE_OS2" = "1" ; then
34928 wxUSE_UNICODE_UTF8=yes
34930 wxUSE_UNICODE_UTF8=no
34935 if test "$wxUSE_GUI" = "yes"; then
34936 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34938 for ac_header in X11/Xlib.h
34940 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34941 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34943 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34944 echo $ECHO_N "(cached) $ECHO_C" >&6
34946 cat >conftest.$ac_ext <<_ACEOF
34949 cat confdefs.h >>conftest.$ac_ext
34950 cat >>conftest.$ac_ext <<_ACEOF
34951 /* end confdefs.h. */
34954 #include <$ac_header>
34956 rm -f conftest.$ac_objext
34957 if { (ac_try="$ac_compile"
34958 case "(($ac_try" in
34959 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34960 *) ac_try_echo
=$ac_try;;
34962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34963 (eval "$ac_compile") 2>conftest.er1
34965 grep -v '^ *+' conftest.er1
>conftest.err
34967 cat conftest.err
>&5
34968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34969 (exit $ac_status); } && {
34970 test -z "$ac_c_werror_flag" ||
34971 test ! -s conftest.err
34972 } && test -s conftest.
$ac_objext; then
34973 eval "$as_ac_Header=yes"
34975 echo "$as_me: failed program was:" >&5
34976 sed 's/^/| /' conftest.
$ac_ext >&5
34978 eval "$as_ac_Header=no"
34981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34983 ac_res
=`eval echo '${'$as_ac_Header'}'`
34984 { echo "$as_me:$LINENO: result: $ac_res" >&5
34985 echo "${ECHO_T}$ac_res" >&6; }
34986 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34987 cat >>confdefs.h
<<_ACEOF
34988 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34996 for ac_header
in X
11/XKBlib.h
34998 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34999 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35001 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35002 echo $ECHO_N "(cached) $ECHO_C" >&6
35004 cat >conftest.
$ac_ext <<_ACEOF
35007 cat confdefs.h
>>conftest.
$ac_ext
35008 cat >>conftest.
$ac_ext <<_ACEOF
35009 /* end confdefs.h. */
35011 #if HAVE_X11_XLIB_H
35012 #include <X11/Xlib.h>
35016 #include <$ac_header>
35018 rm -f conftest.
$ac_objext
35019 if { (ac_try
="$ac_compile"
35020 case "(($ac_try" in
35021 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35022 *) ac_try_echo=$ac_try;;
35024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35025 (eval "$ac_compile") 2>conftest.er1
35027 grep -v '^ *+' conftest.er1 >conftest.err
35029 cat conftest.err >&5
35030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35031 (exit $ac_status); } && {
35032 test -z "$ac_c_werror_flag" ||
35033 test ! -s conftest.err
35034 } && test -s conftest.$ac_objext; then
35035 eval "$as_ac_Header=yes"
35037 echo "$as_me: failed program was:" >&5
35038 sed 's/^/| /' conftest.$ac_ext >&5
35040 eval "$as_ac_Header=no"
35043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35045 ac_res=`eval echo '${'$as_ac_Header'}'`
35046 { echo "$as_me:$LINENO: result: $ac_res" >&5
35047 echo "${ECHO_T}$ac_res" >&6; }
35048 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35049 cat >>confdefs.h <<_ACEOF
35050 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35065 if test "$TOOLKIT" != "MSW" ; then
35067 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35069 { echo "$as_me:$LINENO: checking for sql.h" >&5
35070 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35071 if test "${ac_cv_header_sql_h+set}" = set; then
35072 echo $ECHO_N "(cached) $ECHO_C" >&6
35074 cat >conftest.$ac_ext <<_ACEOF
35077 cat confdefs.h >>conftest.$ac_ext
35078 cat >>conftest.$ac_ext <<_ACEOF
35079 /* end confdefs.h. */
35084 rm -f conftest.$ac_objext
35085 if { (ac_try="$ac_compile"
35086 case "(($ac_try" in
35087 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35088 *) ac_try_echo
=$ac_try;;
35090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35091 (eval "$ac_compile") 2>conftest.er1
35093 grep -v '^ *+' conftest.er1
>conftest.err
35095 cat conftest.err
>&5
35096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35097 (exit $ac_status); } && {
35098 test -z "$ac_c_werror_flag" ||
35099 test ! -s conftest.err
35100 } && test -s conftest.
$ac_objext; then
35101 ac_cv_header_sql_h
=yes
35103 echo "$as_me: failed program was:" >&5
35104 sed 's/^/| /' conftest.
$ac_ext >&5
35106 ac_cv_header_sql_h
=no
35109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35111 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35112 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35113 if test $ac_cv_header_sql_h = yes; then
35118 if test "x$found_sql_h" = "x1" ; then
35119 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35120 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35121 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35122 echo $ECHO_N "(cached) $ECHO_C" >&6
35124 ac_check_lib_save_LIBS
=$LIBS
35125 LIBS
="-liodbc $LIBS"
35126 cat >conftest.
$ac_ext <<_ACEOF
35129 cat confdefs.h
>>conftest.
$ac_ext
35130 cat >>conftest.
$ac_ext <<_ACEOF
35131 /* end confdefs.h. */
35133 /* Override any GCC internal prototype to avoid an error.
35134 Use char because int might match the return type of a GCC
35135 builtin and then its argument prototype would still apply. */
35139 char SQLAllocEnv ();
35143 return SQLAllocEnv ();
35148 rm -f conftest.
$ac_objext conftest
$ac_exeext
35149 if { (ac_try
="$ac_link"
35150 case "(($ac_try" in
35151 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35152 *) ac_try_echo=$ac_try;;
35154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35155 (eval "$ac_link") 2>conftest.er1
35157 grep -v '^ *+' conftest.er1 >conftest.err
35159 cat conftest.err >&5
35160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35161 (exit $ac_status); } && {
35162 test -z "$ac_c_werror_flag" ||
35163 test ! -s conftest.err
35164 } && test -s conftest$ac_exeext &&
35165 $as_test_x conftest$ac_exeext; then
35166 ac_cv_lib_iodbc_SQLAllocEnv=yes
35168 echo "$as_me: failed program was:" >&5
35169 sed 's/^/| /' conftest.$ac_ext >&5
35171 ac_cv_lib_iodbc_SQLAllocEnv=no
35174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35175 conftest$ac_exeext conftest.$ac_ext
35176 LIBS=$ac_check_lib_save_LIBS
35178 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35179 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35180 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35181 ODBC_LINK=" -liodbc"
35184 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35185 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35186 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35187 echo $ECHO_N "(cached) $ECHO_C" >&6
35189 ac_check_lib_save_LIBS=$LIBS
35190 LIBS="-lunixodbc $LIBS"
35191 cat >conftest.$ac_ext <<_ACEOF
35194 cat confdefs.h >>conftest.$ac_ext
35195 cat >>conftest.$ac_ext <<_ACEOF
35196 /* end confdefs.h. */
35198 /* Override any GCC internal prototype to avoid an error.
35199 Use char because int might match the return type of a GCC
35200 builtin and then its argument prototype would still apply. */
35204 char SQLAllocEnv ();
35208 return SQLAllocEnv ();
35213 rm -f conftest.$ac_objext conftest$ac_exeext
35214 if { (ac_try="$ac_link"
35215 case "(($ac_try" in
35216 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35217 *) ac_try_echo
=$ac_try;;
35219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35220 (eval "$ac_link") 2>conftest.er1
35222 grep -v '^ *+' conftest.er1
>conftest.err
35224 cat conftest.err
>&5
35225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35226 (exit $ac_status); } && {
35227 test -z "$ac_c_werror_flag" ||
35228 test ! -s conftest.err
35229 } && test -s conftest
$ac_exeext &&
35230 $as_test_x conftest
$ac_exeext; then
35231 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
35233 echo "$as_me: failed program was:" >&5
35234 sed 's/^/| /' conftest.
$ac_ext >&5
35236 ac_cv_lib_unixodbc_SQLAllocEnv
=no
35239 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35240 conftest
$ac_exeext conftest.
$ac_ext
35241 LIBS
=$ac_check_lib_save_LIBS
35243 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35244 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35245 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35246 ODBC_LINK
=" -lunixodbc"
35249 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35250 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35251 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35252 echo $ECHO_N "(cached) $ECHO_C" >&6
35254 ac_check_lib_save_LIBS
=$LIBS
35255 LIBS
="-lodbc $LIBS"
35256 cat >conftest.
$ac_ext <<_ACEOF
35259 cat confdefs.h
>>conftest.
$ac_ext
35260 cat >>conftest.
$ac_ext <<_ACEOF
35261 /* end confdefs.h. */
35263 /* Override any GCC internal prototype to avoid an error.
35264 Use char because int might match the return type of a GCC
35265 builtin and then its argument prototype would still apply. */
35269 char SQLAllocEnv ();
35273 return SQLAllocEnv ();
35278 rm -f conftest.
$ac_objext conftest
$ac_exeext
35279 if { (ac_try
="$ac_link"
35280 case "(($ac_try" in
35281 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35282 *) ac_try_echo=$ac_try;;
35284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35285 (eval "$ac_link") 2>conftest.er1
35287 grep -v '^ *+' conftest.er1 >conftest.err
35289 cat conftest.err >&5
35290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35291 (exit $ac_status); } && {
35292 test -z "$ac_c_werror_flag" ||
35293 test ! -s conftest.err
35294 } && test -s conftest$ac_exeext &&
35295 $as_test_x conftest$ac_exeext; then
35296 ac_cv_lib_odbc_SQLAllocEnv=yes
35298 echo "$as_me: failed program was:" >&5
35299 sed 's/^/| /' conftest.$ac_ext >&5
35301 ac_cv_lib_odbc_SQLAllocEnv=no
35304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35305 conftest$ac_exeext conftest.$ac_ext
35306 LIBS=$ac_check_lib_save_LIBS
35308 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35309 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35310 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35311 ODBC_LINK=" -lodbc"
35321 if test "x$ODBC_LINK" = "x" ; then
35322 if test "$wxUSE_ODBC" = "sys" ; then
35323 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35324 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35325 { (exit 1); exit 1; }; }
35327 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35328 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35336 if test "$wxUSE_ODBC" = "builtin" ; then
35337 cat >>confdefs.h <<\_ACEOF
35338 #define wxUSE_BUILTIN_IODBC 1
35344 if test "$wxUSE_ODBC" != "no" ; then
35345 cat >>confdefs.h <<\_ACEOF
35346 #define wxUSE_ODBC 1
35349 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35351 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35355 if test "$wxUSE_DISPLAY" = "yes"; then
35356 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35357 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35358 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35361 for ac_dir in $SEARCH_LIB;
35363 for ac_extension in a so sl dylib dll.a; do
35364 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35365 ac_find_libraries=$ac_dir
35371 if test "$ac_find_libraries" != "" ; then
35373 if test "$ac_find_libraries" = "default location"; then
35376 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35378 if test $result = 0; then
35381 ac_path_to_link=" -L$ac_find_libraries"
35385 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35386 LDFLAGS="$LDFLAGS $ac_path_to_link"
35388 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35389 { echo "$as_me:$LINENO: result: yes" >&5
35390 echo "${ECHO_T}yes" >&6; }
35392 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35393 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35396 for ac_dir in $SEARCH_LIB;
35398 for ac_extension in a so sl dylib dll.a; do
35399 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35400 ac_find_libraries=$ac_dir
35406 if test "$ac_find_libraries" != "" ; then
35407 { echo "$as_me:$LINENO: result: yes" >&5
35408 echo "${ECHO_T}yes" >&6; }
35410 for ac_header in X11/extensions/xf86vmode.h
35412 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35413 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35415 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35416 echo $ECHO_N "(cached) $ECHO_C" >&6
35418 cat >conftest.$ac_ext <<_ACEOF
35421 cat confdefs.h >>conftest.$ac_ext
35422 cat >>conftest.$ac_ext <<_ACEOF
35423 /* end confdefs.h. */
35425 #if HAVE_X11_XLIB_H
35426 #include <X11/Xlib.h>
35430 #include <$ac_header>
35432 rm -f conftest.$ac_objext
35433 if { (ac_try="$ac_compile"
35434 case "(($ac_try" in
35435 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35436 *) ac_try_echo
=$ac_try;;
35438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35439 (eval "$ac_compile") 2>conftest.er1
35441 grep -v '^ *+' conftest.er1
>conftest.err
35443 cat conftest.err
>&5
35444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35445 (exit $ac_status); } && {
35446 test -z "$ac_c_werror_flag" ||
35447 test ! -s conftest.err
35448 } && test -s conftest.
$ac_objext; then
35449 eval "$as_ac_Header=yes"
35451 echo "$as_me: failed program was:" >&5
35452 sed 's/^/| /' conftest.
$ac_ext >&5
35454 eval "$as_ac_Header=no"
35457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35459 ac_res
=`eval echo '${'$as_ac_Header'}'`
35460 { echo "$as_me:$LINENO: result: $ac_res" >&5
35461 echo "${ECHO_T}$ac_res" >&6; }
35462 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35463 cat >>confdefs.h
<<_ACEOF
35464 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35467 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
35474 { echo "$as_me:$LINENO: result: no" >&5
35475 echo "${ECHO_T}no" >&6; }
35479 { echo "$as_me:$LINENO: result: no" >&5
35480 echo "${ECHO_T}no" >&6; }
35481 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35482 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35485 elif test "$wxUSE_MSW" = 1; then
35486 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35487 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35488 if test "${ac_cv_header_ddraw_h+set}" = set; then
35489 echo $ECHO_N "(cached) $ECHO_C" >&6
35491 cat >conftest.
$ac_ext <<_ACEOF
35494 cat confdefs.h
>>conftest.
$ac_ext
35495 cat >>conftest.
$ac_ext <<_ACEOF
35496 /* end confdefs.h. */
35497 #include <windows.h>
35501 rm -f conftest.
$ac_objext
35502 if { (ac_try
="$ac_compile"
35503 case "(($ac_try" in
35504 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35505 *) ac_try_echo=$ac_try;;
35507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35508 (eval "$ac_compile") 2>conftest.er1
35510 grep -v '^ *+' conftest.er1 >conftest.err
35512 cat conftest.err >&5
35513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35514 (exit $ac_status); } && {
35515 test -z "$ac_c_werror_flag" ||
35516 test ! -s conftest.err
35517 } && test -s conftest.$ac_objext; then
35518 ac_cv_header_ddraw_h=yes
35520 echo "$as_me: failed program was:" >&5
35521 sed 's/^/| /' conftest.$ac_ext >&5
35523 ac_cv_header_ddraw_h=no
35526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35528 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35529 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35535 if test "$wxUSE_DETECT_SM" = "yes"; then
35536 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35537 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35538 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35541 for ac_dir in $SEARCH_LIB;
35543 for ac_extension in a so sl dylib dll.a; do
35544 if test -f "$ac_dir/libSM.$ac_extension"; then
35545 ac_find_libraries=$ac_dir
35551 if test "$ac_find_libraries" != "" ; then
35553 if test "$ac_find_libraries" = "default location"; then
35556 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35558 if test $result = 0; then
35561 ac_path_to_link=" -L$ac_find_libraries"
35565 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35566 LDFLAGS="$LDFLAGS $ac_path_to_link"
35568 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35569 { echo "$as_me:$LINENO: result: yes" >&5
35570 echo "${ECHO_T}yes" >&6; }
35572 { echo "$as_me:$LINENO: result: no" >&5
35573 echo "${ECHO_T}no" >&6; }
35574 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35575 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35576 wxUSE_DETECT_SM="no"
35579 wxUSE_DETECT_SM="no"
35586 if test "$wxUSE_OPENGL" = "yes"; then
35587 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35588 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35589 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35591 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35592 OPENGL_LIBS="-framework OpenGL -framework AGL"
35593 elif test "$wxUSE_MSW" = 1; then
35594 OPENGL_LIBS="-lopengl32 -lglu32"
35596 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35597 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35600 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35602 if test -f "$ac_dir/GL/gl.h"; then
35603 ac_find_includes=$ac_dir
35608 if test "$ac_find_includes" != "" ; then
35609 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35610 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35612 if test "x$ac_find_includes" = "x/usr/include"; then
35613 ac_path_to_include=""
35615 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35617 if test $result = 0; then
35618 ac_path_to_include=""
35620 ac_path_to_include=" -I$ac_find_includes"
35624 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35626 { echo "$as_me:$LINENO: result: not found" >&5
35627 echo "${ECHO_T}not found" >&6; }
35630 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35631 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35632 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35633 echo $ECHO_N "(cached) $ECHO_C" >&6
35635 cat >conftest.$ac_ext <<_ACEOF
35638 cat confdefs.h >>conftest.$ac_ext
35639 cat >>conftest.$ac_ext <<_ACEOF
35640 /* end confdefs.h. */
35645 rm -f conftest.$ac_objext
35646 if { (ac_try="$ac_compile"
35647 case "(($ac_try" in
35648 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35649 *) ac_try_echo
=$ac_try;;
35651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35652 (eval "$ac_compile") 2>conftest.er1
35654 grep -v '^ *+' conftest.er1
>conftest.err
35656 cat conftest.err
>&5
35657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35658 (exit $ac_status); } && {
35659 test -z "$ac_c_werror_flag" ||
35660 test ! -s conftest.err
35661 } && test -s conftest.
$ac_objext; then
35662 ac_cv_header_GL_gl_h
=yes
35664 echo "$as_me: failed program was:" >&5
35665 sed 's/^/| /' conftest.
$ac_ext >&5
35667 ac_cv_header_GL_gl_h
=no
35670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35672 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35673 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35674 if test $ac_cv_header_GL_gl_h = yes; then
35676 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35677 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35678 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35679 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35680 echo $ECHO_N "(cached) $ECHO_C" >&6
35682 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35683 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35685 # Is the header compilable?
35686 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35687 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35688 cat >conftest.
$ac_ext <<_ACEOF
35691 cat confdefs.h
>>conftest.
$ac_ext
35692 cat >>conftest.
$ac_ext <<_ACEOF
35693 /* end confdefs.h. */
35694 $ac_includes_default
35695 #include <GL/glu.h>
35697 rm -f conftest.
$ac_objext
35698 if { (ac_try
="$ac_compile"
35699 case "(($ac_try" in
35700 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35701 *) ac_try_echo=$ac_try;;
35703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35704 (eval "$ac_compile") 2>conftest.er1
35706 grep -v '^ *+' conftest.er1 >conftest.err
35708 cat conftest.err >&5
35709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35710 (exit $ac_status); } && {
35711 test -z "$ac_c_werror_flag" ||
35712 test ! -s conftest.err
35713 } && test -s conftest.$ac_objext; then
35714 ac_header_compiler=yes
35716 echo "$as_me: failed program was:" >&5
35717 sed 's/^/| /' conftest.$ac_ext >&5
35719 ac_header_compiler=no
35722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35723 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35724 echo "${ECHO_T}$ac_header_compiler" >&6; }
35726 # Is the header present?
35727 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35728 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35729 cat >conftest.$ac_ext <<_ACEOF
35732 cat confdefs.h >>conftest.$ac_ext
35733 cat >>conftest.$ac_ext <<_ACEOF
35734 /* end confdefs.h. */
35735 #include <GL/glu.h>
35737 if { (ac_try="$ac_cpp conftest.$ac_ext"
35738 case "(($ac_try" in
35739 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35740 *) ac_try_echo
=$ac_try;;
35742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35743 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35745 grep -v '^ *+' conftest.er1
>conftest.err
35747 cat conftest.err
>&5
35748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35749 (exit $ac_status); } >/dev
/null
&& {
35750 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35751 test ! -s conftest.err
35753 ac_header_preproc
=yes
35755 echo "$as_me: failed program was:" >&5
35756 sed 's/^/| /' conftest.
$ac_ext >&5
35758 ac_header_preproc
=no
35761 rm -f conftest.err conftest.
$ac_ext
35762 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35763 echo "${ECHO_T}$ac_header_preproc" >&6; }
35765 # So? What about this header?
35766 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35768 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35769 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35770 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35771 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35772 ac_header_preproc
=yes
35775 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35776 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35777 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35778 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35779 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35780 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35781 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35782 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35783 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35784 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35785 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35786 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35788 ## ----------------------------------------- ##
35789 ## Report this to wx-dev@lists.wxwidgets.org ##
35790 ## ----------------------------------------- ##
35792 ) | sed "s/^/$as_me: WARNING: /" >&2
35795 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35796 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35797 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35798 echo $ECHO_N "(cached) $ECHO_C" >&6
35800 ac_cv_header_GL_glu_h
=$ac_header_preproc
35802 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35803 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35806 if test $ac_cv_header_GL_glu_h = yes; then
35810 { echo "$as_me:$LINENO: checking for -lGL" >&5
35811 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35814 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
35816 for ac_extension
in a so sl dylib dll.a
; do
35817 if test -f "$ac_dir/libGL.$ac_extension"; then
35818 ac_find_libraries
=$ac_dir
35824 if test "$ac_find_libraries" != "" ; then
35825 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35826 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35829 if test "$ac_find_libraries" = "default location"; then
35832 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35834 if test $result = 0; then
35837 ac_path_to_link
=" -L$ac_find_libraries"
35841 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35842 LDFLAGS_GL
="$ac_path_to_link"
35845 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35846 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35849 for ac_dir
in $SEARCH_LIB;
35851 for ac_extension
in a so sl dylib dll.a
; do
35852 if test -f "$ac_dir/libGLU.$ac_extension"; then
35853 ac_find_libraries
=$ac_dir
35859 if test "$ac_find_libraries" != "" ; then
35861 if test "$ac_find_libraries" = "default location"; then
35864 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35866 if test $result = 0; then
35869 ac_path_to_link
=" -L$ac_find_libraries"
35873 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35874 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35875 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
35879 OPENGL_LIBS
="-lGL -lGLU"
35880 { echo "$as_me:$LINENO: result: yes" >&5
35881 echo "${ECHO_T}yes" >&6; }
35883 { echo "$as_me:$LINENO: result: no" >&5
35884 echo "${ECHO_T}no" >&6; }
35887 { echo "$as_me:$LINENO: result: no" >&5
35888 echo "${ECHO_T}no" >&6; }
35891 if test "$found_gl" != 1; then
35892 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35893 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35896 for ac_dir
in $SEARCH_LIB;
35898 for ac_extension
in a so sl dylib dll.a
; do
35899 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35900 ac_find_libraries
=$ac_dir
35906 if test "$ac_find_libraries" != "" ; then
35908 if test "$ac_find_libraries" = "default location"; then
35911 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35913 if test $result = 0; then
35916 ac_path_to_link
=" -L$ac_find_libraries"
35920 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
35921 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
35922 { echo "$as_me:$LINENO: result: yes" >&5
35923 echo "${ECHO_T}yes" >&6; }
35925 { echo "$as_me:$LINENO: result: no" >&5
35926 echo "${ECHO_T}no" >&6; }
35938 if test "x$OPENGL_LIBS" = "x"; then
35939 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35940 echo "$as_me: error: OpenGL libraries not available" >&2;}
35941 { (exit 1); exit 1; }; }
35945 if test "$wxUSE_OPENGL" = "yes"; then
35947 cat >>confdefs.h
<<\_ACEOF
35948 #define wxUSE_OPENGL 1
35951 cat >>confdefs.h
<<\_ACEOF
35952 #define wxUSE_GLCANVAS 1
35955 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35960 if test -n "$TOOLKIT" ; then
35961 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35966 if test "$wxUSE_SHARED" = "yes"; then
35970 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35971 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35976 if test "$wxUSE_SHARED" = "yes"; then
35980 *-*-cygwin* | *-*-mingw* )
35981 wx_cv_version_script
=no
35985 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35986 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35987 if test "${wx_cv_version_script+set}" = set; then
35988 echo $ECHO_N "(cached) $ECHO_C" >&6
35991 echo "VER_1 { *; };" >conftest.sym
35992 echo "int main() { return 0; }" >conftest.cpp
35995 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35996 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35998 (eval $ac_try) 2>&5
36000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36001 (exit $ac_status); }; } ; then
36002 if test -s conftest.stderr
; then
36003 wx_cv_version_script
=no
36005 wx_cv_version_script
=yes
36008 wx_cv_version_script
=no
36011 if test $wx_cv_version_script = yes
36013 echo "struct B { virtual ~B() { } }; \
36014 struct D : public B { }; \
36015 void F() { D d; }" > conftest.cpp
36018 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36019 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
36020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36021 (eval $ac_try) 2>&5
36023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36024 (exit $ac_status); }; } &&
36026 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36027 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
36028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36029 (eval $ac_try) 2>&5
36031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36032 (exit $ac_status); }; }
36035 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36036 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36038 (eval $ac_try) 2>&5
36040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36041 (exit $ac_status); }; }
36043 wx_cv_version_script
=yes
36045 wx_cv_version_script
=no
36050 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36051 rm -f conftest1.output conftest2.output conftest3.output
36054 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36055 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36057 if test $wx_cv_version_script = yes ; then
36058 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36064 if test "$wxUSE_VISIBILITY" != "no"; then
36067 if test -n "$GCC"; then
36068 CFLAGS_VISIBILITY
="-fvisibility=hidden"
36069 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
36070 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36071 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36072 if test "${wx_cv_cc_visibility+set}" = set; then
36073 echo $ECHO_N "(cached) $ECHO_C" >&6
36076 wx_save_CXXFLAGS
="$CXXFLAGS"
36077 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36079 ac_cpp
='$CXXCPP $CPPFLAGS'
36080 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36081 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36082 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36084 cat >conftest.
$ac_ext <<_ACEOF
36087 cat confdefs.h
>>conftest.
$ac_ext
36088 cat >>conftest.
$ac_ext <<_ACEOF
36089 /* end confdefs.h. */
36091 /* we need gcc >= 4.0, older versions with visibility support
36092 didn't have class visibility: */
36093 #if defined(__GNUC__) && __GNUC__ < 4
36094 error this gcc is too old;
36097 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36098 extern __attribute__((__visibility__("default"))) int exportedvar;
36099 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36100 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36101 class __attribute__((__visibility__("default"))) Foo {
36113 rm -f conftest.
$ac_objext
36114 if { (ac_try
="$ac_compile"
36115 case "(($ac_try" in
36116 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36117 *) ac_try_echo=$ac_try;;
36119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36120 (eval "$ac_compile") 2>conftest.er1
36122 grep -v '^ *+' conftest.er1 >conftest.err
36124 cat conftest.err >&5
36125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36126 (exit $ac_status); } && {
36127 test -z "$ac_cxx_werror_flag" ||
36128 test ! -s conftest.err
36129 } && test -s conftest.$ac_objext; then
36130 wx_cv_cc_visibility=yes
36132 echo "$as_me: failed program was:" >&5
36133 sed 's/^/| /' conftest.$ac_ext >&5
36135 wx_cv_cc_visibility=no
36138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36140 ac_cpp='$CPP $CPPFLAGS'
36141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36145 CXXFLAGS="$wx_save_CXXFLAGS"
36148 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36149 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36150 if test $wx_cv_cc_visibility = yes; then
36151 cat >>confdefs.h <<\_ACEOF
36152 #define HAVE_VISIBILITY 1
36156 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36157 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36158 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36159 echo $ECHO_N "(cached) $ECHO_C" >&6
36162 wx_save_CXXFLAGS="$CXXFLAGS"
36163 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36165 ac_cpp='$CXXCPP $CPPFLAGS'
36166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36170 cat >conftest.$ac_ext <<_ACEOF
36173 cat confdefs.h >>conftest.$ac_ext
36174 cat >>conftest.$ac_ext <<_ACEOF
36175 /* end confdefs.h. */
36189 rm -f conftest.$ac_objext conftest$ac_exeext
36190 if { (ac_try="$ac_link"
36191 case "(($ac_try" in
36192 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36193 *) ac_try_echo
=$ac_try;;
36195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36196 (eval "$ac_link") 2>conftest.er1
36198 grep -v '^ *+' conftest.er1
>conftest.err
36200 cat conftest.err
>&5
36201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36202 (exit $ac_status); } && {
36203 test -z "$ac_cxx_werror_flag" ||
36204 test ! -s conftest.err
36205 } && test -s conftest
$ac_exeext &&
36206 $as_test_x conftest
$ac_exeext; then
36207 wx_cv_cc_broken_libstdcxx_visibility
=no
36209 echo "$as_me: failed program was:" >&5
36210 sed 's/^/| /' conftest.
$ac_ext >&5
36212 wx_cv_cc_broken_libstdcxx_visibility
=yes
36215 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36216 conftest
$ac_exeext conftest.
$ac_ext
36218 ac_cpp
='$CPP $CPPFLAGS'
36219 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36220 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36221 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36223 CXXFLAGS
="$wx_save_CXXFLAGS"
36226 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36227 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36228 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36229 cat >>confdefs.h
<<\_ACEOF
36230 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36236 CFLAGS_VISIBILITY
=""
36237 CXXFLAGS_VISIBILITY
=""
36245 if test "x$SUNCXX" = xyes
; then
36246 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
36247 WXCONFIG_RPATH
="-R\$libdir"
36250 *-*-linux* | *-*-gnu* )
36251 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
36252 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
36257 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
36259 saveLdflags
="$LDFLAGS"
36260 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
36261 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36262 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36263 cat >conftest.
$ac_ext <<_ACEOF
36266 cat confdefs.h
>>conftest.
$ac_ext
36267 cat >>conftest.
$ac_ext <<_ACEOF
36268 /* end confdefs.h. */
36278 rm -f conftest.
$ac_objext conftest
$ac_exeext
36279 if { (ac_try
="$ac_link"
36280 case "(($ac_try" in
36281 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36282 *) ac_try_echo=$ac_try;;
36284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36285 (eval "$ac_link") 2>conftest.er1
36287 grep -v '^ *+' conftest.er1 >conftest.err
36289 cat conftest.err >&5
36290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36291 (exit $ac_status); } && {
36292 test -z "$ac_c_werror_flag" ||
36293 test ! -s conftest.err
36294 } && test -s conftest$ac_exeext &&
36295 $as_test_x conftest$ac_exeext; then
36297 { echo "$as_me:$LINENO: result: yes" >&5
36298 echo "${ECHO_T}yes" >&6; }
36299 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36300 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36303 echo "$as_me: failed program was:" >&5
36304 sed 's/^/| /' conftest.$ac_ext >&5
36307 { echo "$as_me:$LINENO: result: no" >&5
36308 echo "${ECHO_T}no" >&6; }
36309 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36310 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36311 LDFLAGS="$saveLdflags -Wl,-R,/"
36312 cat >conftest.$ac_ext <<_ACEOF
36315 cat confdefs.h >>conftest.$ac_ext
36316 cat >>conftest.$ac_ext <<_ACEOF
36317 /* end confdefs.h. */
36327 rm -f conftest.$ac_objext conftest$ac_exeext
36328 if { (ac_try="$ac_link"
36329 case "(($ac_try" in
36330 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36331 *) ac_try_echo
=$ac_try;;
36333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36334 (eval "$ac_link") 2>conftest.er1
36336 grep -v '^ *+' conftest.er1
>conftest.err
36338 cat conftest.err
>&5
36339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36340 (exit $ac_status); } && {
36341 test -z "$ac_c_werror_flag" ||
36342 test ! -s conftest.err
36343 } && test -s conftest
$ac_exeext &&
36344 $as_test_x conftest
$ac_exeext; then
36346 { echo "$as_me:$LINENO: result: yes" >&5
36347 echo "${ECHO_T}yes" >&6; }
36348 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
36349 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
36352 echo "$as_me: failed program was:" >&5
36353 sed 's/^/| /' conftest.
$ac_ext >&5
36356 { echo "$as_me:$LINENO: result: no" >&5
36357 echo "${ECHO_T}no" >&6; }
36361 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36362 conftest
$ac_exeext conftest.
$ac_ext
36366 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36367 conftest
$ac_exeext conftest.
$ac_ext
36368 LDFLAGS
="$saveLdflags"
36372 install_name_tool
=`which install_name_tool`
36373 if test "$install_name_tool" -a -x "$install_name_tool"; then
36374 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36375 cat <<EOF >change-install-names
36377 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36378 inst_cmd="install_name_tool "
36379 for i in \${libnames} ; do
36380 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36384 chmod +x change
-install-names
36388 *-*-cygwin* | *-*-mingw32* )
36389 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36393 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
36394 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
36400 if test $wxUSE_RPATH = "no"; then
36401 SAMPLES_RPATH_FLAG
=''
36402 SAMPLES_RPATH_POSTLINK
=''
36410 config_linkage_component
="-static"
36417 lib_unicode_suffix
=
36419 if test "$wxUSE_UNICODE" = "yes"; then
36420 lib_unicode_suffix
=u
36421 WX_CHARTYPE
="unicode"
36426 WX_DEBUGTYPE
="release"
36428 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36430 WX_DEBUGTYPE
="debug"
36434 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
36435 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
36438 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36442 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36444 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36446 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36448 if test "$cross_compiling" = "yes"; then
36449 HOST_SUFFIX
="-$host_alias"
36450 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
36451 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
36454 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36455 if test "${TOOLKIT_DIR}" = "os2"; then
36456 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36458 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36463 if test "$wxUSE_COCOA" = 1; then
36466 ac_cpp
='$CPP $CPPFLAGS'
36467 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36468 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36469 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36473 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36474 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36475 cat >conftest.
$ac_ext <<_ACEOF
36478 cat confdefs.h
>>conftest.
$ac_ext
36479 cat >>conftest.
$ac_ext <<_ACEOF
36480 /* end confdefs.h. */
36481 #include <AppKit/NSEvent.h>
36482 #include <CoreFoundation/CoreFoundation.h>
36492 rm -f conftest.
$ac_objext
36493 if { (ac_try
="$ac_compile"
36494 case "(($ac_try" in
36495 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36496 *) ac_try_echo=$ac_try;;
36498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36499 (eval "$ac_compile") 2>conftest.er1
36501 grep -v '^ *+' conftest.er1 >conftest.err
36503 cat conftest.err >&5
36504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36505 (exit $ac_status); } && {
36506 test -z "$ac_c_werror_flag" ||
36507 test ! -s conftest.err
36508 } && test -s conftest.$ac_objext; then
36509 { echo "$as_me:$LINENO: result: no" >&5
36510 echo "${ECHO_T}no" >&6; }
36512 echo "$as_me: failed program was:" >&5
36513 sed 's/^/| /' conftest.$ac_ext >&5
36515 { echo "$as_me:$LINENO: result: yes" >&5
36516 echo "${ECHO_T}yes" >&6; }
36517 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36518 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36519 cat >conftest.$ac_ext <<_ACEOF
36522 cat confdefs.h >>conftest.$ac_ext
36523 cat >>conftest.$ac_ext <<_ACEOF
36524 /* end confdefs.h. */
36525 #define __Point__ 1
36526 #include <AppKit/NSEvent.h>
36527 #include <CoreFoundation/CoreFoundation.h>
36537 rm -f conftest.$ac_objext
36538 if { (ac_try="$ac_compile"
36539 case "(($ac_try" in
36540 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36541 *) ac_try_echo
=$ac_try;;
36543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36544 (eval "$ac_compile") 2>conftest.er1
36546 grep -v '^ *+' conftest.er1
>conftest.err
36548 cat conftest.err
>&5
36549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36550 (exit $ac_status); } && {
36551 test -z "$ac_c_werror_flag" ||
36552 test ! -s conftest.err
36553 } && test -s conftest.
$ac_objext; then
36554 { echo "$as_me:$LINENO: result: yes" >&5
36555 echo "${ECHO_T}yes" >&6; }
36556 cat >>confdefs.h
<<\_ACEOF
36557 #define __Point__ 1
36562 echo "$as_me: failed program was:" >&5
36563 sed 's/^/| /' conftest.
$ac_ext >&5
36565 { { echo "$as_me:$LINENO: error: no
36566 See \`config.log' for more details." >&5
36567 echo "$as_me: error: no
36568 See \`config.log' for more details." >&2;}
36569 { (exit 1); exit 1; }; }
36573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36579 ac_cpp
='$CPP $CPPFLAGS'
36580 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36581 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36582 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36586 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36587 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36588 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36590 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36592 # Extract the first word of "Rez", so it can be a program name with args.
36593 set dummy Rez
; ac_word
=$2
36594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36596 if test "${ac_cv_prog_REZ+set}" = set; then
36597 echo $ECHO_N "(cached) $ECHO_C" >&6
36599 if test -n "$REZ"; then
36600 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
36602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36603 for as_dir
in $PATH
36606 test -z "$as_dir" && as_dir
=.
36607 for ac_exec_ext
in '' $ac_executable_extensions; do
36608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36609 ac_cv_prog_REZ
="Rez"
36610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36617 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
36620 REZ
=$ac_cv_prog_REZ
36621 if test -n "$REZ"; then
36622 { echo "$as_me:$LINENO: result: $REZ" >&5
36623 echo "${ECHO_T}$REZ" >&6; }
36625 { echo "$as_me:$LINENO: result: no" >&5
36626 echo "${ECHO_T}no" >&6; }
36630 # Extract the first word of "DeRez", so it can be a program name with args.
36631 set dummy DeRez
; ac_word
=$2
36632 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36634 if test "${ac_cv_prog_DEREZ+set}" = set; then
36635 echo $ECHO_N "(cached) $ECHO_C" >&6
36637 if test -n "$DEREZ"; then
36638 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
36640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36641 for as_dir
in $PATH
36644 test -z "$as_dir" && as_dir
=.
36645 for ac_exec_ext
in '' $ac_executable_extensions; do
36646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36647 ac_cv_prog_DEREZ
="DeRez"
36648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36655 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
36658 DEREZ
=$ac_cv_prog_DEREZ
36659 if test -n "$DEREZ"; then
36660 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36661 echo "${ECHO_T}$DEREZ" >&6; }
36663 { echo "$as_me:$LINENO: result: no" >&5
36664 echo "${ECHO_T}no" >&6; }
36668 # Extract the first word of "SetFile", so it can be a program name with args.
36669 set dummy SetFile
; ac_word
=$2
36670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36672 if test "${ac_cv_prog_SETFILE+set}" = set; then
36673 echo $ECHO_N "(cached) $ECHO_C" >&6
36675 if test -n "$SETFILE"; then
36676 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
36678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36679 for as_dir
in $PATH
36682 test -z "$as_dir" && as_dir
=.
36683 for ac_exec_ext
in '' $ac_executable_extensions; do
36684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36685 ac_cv_prog_SETFILE
="SetFile"
36686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36693 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
36696 SETFILE
=$ac_cv_prog_SETFILE
36697 if test -n "$SETFILE"; then
36698 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36699 echo "${ECHO_T}$SETFILE" >&6; }
36701 { echo "$as_me:$LINENO: result: no" >&5
36702 echo "${ECHO_T}no" >&6; }
36707 MACSETFILE
="\$(SETFILE)"
36709 if test "$wxUSE_MAC" = 1; then
36710 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36712 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
36714 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36715 RESCOMP
="echo -n \| $REZ"
36716 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36722 if test "$wxUSE_PM" = 1; then
36724 WXCONFIG_RESFLAGS
="-ep"
36726 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
36728 POSTLINK_COMMAND
="@true"
36735 { echo "$as_me:$LINENO: checking for mode_t" >&5
36736 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36737 if test "${ac_cv_type_mode_t+set}" = set; then
36738 echo $ECHO_N "(cached) $ECHO_C" >&6
36740 cat >conftest.
$ac_ext <<_ACEOF
36743 cat confdefs.h
>>conftest.
$ac_ext
36744 cat >>conftest.
$ac_ext <<_ACEOF
36745 /* end confdefs.h. */
36746 $ac_includes_default
36747 typedef mode_t ac__type_new_;
36751 if ((ac__type_new_ *) 0)
36753 if (sizeof (ac__type_new_))
36759 rm -f conftest.
$ac_objext
36760 if { (ac_try
="$ac_compile"
36761 case "(($ac_try" in
36762 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36763 *) ac_try_echo=$ac_try;;
36765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36766 (eval "$ac_compile") 2>conftest.er1
36768 grep -v '^ *+' conftest.er1 >conftest.err
36770 cat conftest.err >&5
36771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36772 (exit $ac_status); } && {
36773 test -z "$ac_c_werror_flag" ||
36774 test ! -s conftest.err
36775 } && test -s conftest.$ac_objext; then
36776 ac_cv_type_mode_t=yes
36778 echo "$as_me: failed program was:" >&5
36779 sed 's/^/| /' conftest.$ac_ext >&5
36781 ac_cv_type_mode_t=no
36784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36786 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36787 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36788 if test $ac_cv_type_mode_t = yes; then
36792 cat >>confdefs.h <<_ACEOF
36798 { echo "$as_me:$LINENO: checking for off_t" >&5
36799 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36800 if test "${ac_cv_type_off_t+set}" = set; then
36801 echo $ECHO_N "(cached) $ECHO_C" >&6
36803 cat >conftest.$ac_ext <<_ACEOF
36806 cat confdefs.h >>conftest.$ac_ext
36807 cat >>conftest.$ac_ext <<_ACEOF
36808 /* end confdefs.h. */
36809 $ac_includes_default
36810 typedef off_t ac__type_new_;
36814 if ((ac__type_new_ *) 0)
36816 if (sizeof (ac__type_new_))
36822 rm -f conftest.$ac_objext
36823 if { (ac_try="$ac_compile"
36824 case "(($ac_try" in
36825 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36826 *) ac_try_echo
=$ac_try;;
36828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36829 (eval "$ac_compile") 2>conftest.er1
36831 grep -v '^ *+' conftest.er1
>conftest.err
36833 cat conftest.err
>&5
36834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36835 (exit $ac_status); } && {
36836 test -z "$ac_c_werror_flag" ||
36837 test ! -s conftest.err
36838 } && test -s conftest.
$ac_objext; then
36839 ac_cv_type_off_t
=yes
36841 echo "$as_me: failed program was:" >&5
36842 sed 's/^/| /' conftest.
$ac_ext >&5
36844 ac_cv_type_off_t
=no
36847 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36849 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36850 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36851 if test $ac_cv_type_off_t = yes; then
36855 cat >>confdefs.h
<<_ACEOF
36856 #define off_t long int
36861 { echo "$as_me:$LINENO: checking for pid_t" >&5
36862 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36863 if test "${ac_cv_type_pid_t+set}" = set; then
36864 echo $ECHO_N "(cached) $ECHO_C" >&6
36866 cat >conftest.
$ac_ext <<_ACEOF
36869 cat confdefs.h
>>conftest.
$ac_ext
36870 cat >>conftest.
$ac_ext <<_ACEOF
36871 /* end confdefs.h. */
36872 $ac_includes_default
36873 typedef pid_t ac__type_new_;
36877 if ((ac__type_new_ *) 0)
36879 if (sizeof (ac__type_new_))
36885 rm -f conftest.
$ac_objext
36886 if { (ac_try
="$ac_compile"
36887 case "(($ac_try" in
36888 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36889 *) ac_try_echo=$ac_try;;
36891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36892 (eval "$ac_compile") 2>conftest.er1
36894 grep -v '^ *+' conftest.er1 >conftest.err
36896 cat conftest.err >&5
36897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36898 (exit $ac_status); } && {
36899 test -z "$ac_c_werror_flag" ||
36900 test ! -s conftest.err
36901 } && test -s conftest.$ac_objext; then
36902 ac_cv_type_pid_t=yes
36904 echo "$as_me: failed program was:" >&5
36905 sed 's/^/| /' conftest.$ac_ext >&5
36907 ac_cv_type_pid_t=no
36910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36912 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36913 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36914 if test $ac_cv_type_pid_t = yes; then
36918 cat >>confdefs.h <<_ACEOF
36924 { echo "$as_me:$LINENO: checking for size_t" >&5
36925 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36926 if test "${ac_cv_type_size_t+set}" = set; then
36927 echo $ECHO_N "(cached) $ECHO_C" >&6
36929 cat >conftest.$ac_ext <<_ACEOF
36932 cat confdefs.h >>conftest.$ac_ext
36933 cat >>conftest.$ac_ext <<_ACEOF
36934 /* end confdefs.h. */
36935 $ac_includes_default
36936 typedef size_t ac__type_new_;
36940 if ((ac__type_new_ *) 0)
36942 if (sizeof (ac__type_new_))
36948 rm -f conftest.$ac_objext
36949 if { (ac_try="$ac_compile"
36950 case "(($ac_try" in
36951 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36952 *) ac_try_echo
=$ac_try;;
36954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36955 (eval "$ac_compile") 2>conftest.er1
36957 grep -v '^ *+' conftest.er1
>conftest.err
36959 cat conftest.err
>&5
36960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36961 (exit $ac_status); } && {
36962 test -z "$ac_c_werror_flag" ||
36963 test ! -s conftest.err
36964 } && test -s conftest.
$ac_objext; then
36965 ac_cv_type_size_t
=yes
36967 echo "$as_me: failed program was:" >&5
36968 sed 's/^/| /' conftest.
$ac_ext >&5
36970 ac_cv_type_size_t
=no
36973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36975 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36976 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36977 if test $ac_cv_type_size_t = yes; then
36981 cat >>confdefs.h
<<_ACEOF
36982 #define size_t unsigned int
36987 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36988 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36989 if test "${ac_cv_type_uid_t+set}" = set; then
36990 echo $ECHO_N "(cached) $ECHO_C" >&6
36992 cat >conftest.
$ac_ext <<_ACEOF
36995 cat confdefs.h
>>conftest.
$ac_ext
36996 cat >>conftest.
$ac_ext <<_ACEOF
36997 /* end confdefs.h. */
36998 #include <sys/types.h>
37001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
37002 $EGREP "uid_t" >/dev
/null
2>&1; then
37003 ac_cv_type_uid_t
=yes
37005 ac_cv_type_uid_t
=no
37010 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
37011 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
37012 if test $ac_cv_type_uid_t = no
; then
37014 cat >>confdefs.h
<<\_ACEOF
37019 cat >>confdefs.h
<<\_ACEOF
37026 { echo "$as_me:$LINENO: checking for ssize_t" >&5
37027 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
37028 if test "${ac_cv_type_ssize_t+set}" = set; then
37029 echo $ECHO_N "(cached) $ECHO_C" >&6
37031 cat >conftest.
$ac_ext <<_ACEOF
37034 cat confdefs.h
>>conftest.
$ac_ext
37035 cat >>conftest.
$ac_ext <<_ACEOF
37036 /* end confdefs.h. */
37037 $ac_includes_default
37038 typedef ssize_t ac__type_new_;
37042 if ((ac__type_new_ *) 0)
37044 if (sizeof (ac__type_new_))
37050 rm -f conftest.
$ac_objext
37051 if { (ac_try
="$ac_compile"
37052 case "(($ac_try" in
37053 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37054 *) ac_try_echo=$ac_try;;
37056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37057 (eval "$ac_compile") 2>conftest.er1
37059 grep -v '^ *+' conftest.er1 >conftest.err
37061 cat conftest.err >&5
37062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37063 (exit $ac_status); } && {
37064 test -z "$ac_c_werror_flag" ||
37065 test ! -s conftest.err
37066 } && test -s conftest.$ac_objext; then
37067 ac_cv_type_ssize_t=yes
37069 echo "$as_me: failed program was:" >&5
37070 sed 's/^/| /' conftest.$ac_ext >&5
37072 ac_cv_type_ssize_t=no
37075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37077 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
37078 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
37079 if test $ac_cv_type_ssize_t = yes; then
37081 cat >>confdefs.h <<_ACEOF
37082 #define HAVE_SSIZE_T 1
37090 ac_cpp='$CXXCPP $CPPFLAGS'
37091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37094 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
37095 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
37096 if test "${wx_cv_size_t_is_uint+set}" = set; then
37097 echo $ECHO_N "(cached) $ECHO_C" >&6
37100 cat >conftest.$ac_ext <<_ACEOF
37103 cat confdefs.h >>conftest.$ac_ext
37104 cat >>conftest.$ac_ext <<_ACEOF
37105 /* end confdefs.h. */
37106 #include <stddef.h>
37113 struct Foo { void foo(size_t); void foo(unsigned int); };
37121 rm -f conftest.$ac_objext
37122 if { (ac_try="$ac_compile"
37123 case "(($ac_try" in
37124 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37125 *) ac_try_echo
=$ac_try;;
37127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37128 (eval "$ac_compile") 2>conftest.er1
37130 grep -v '^ *+' conftest.er1
>conftest.err
37132 cat conftest.err
>&5
37133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37134 (exit $ac_status); } && {
37135 test -z "$ac_cxx_werror_flag" ||
37136 test ! -s conftest.err
37137 } && test -s conftest.
$ac_objext; then
37138 wx_cv_size_t_is_uint
=no
37140 echo "$as_me: failed program was:" >&5
37141 sed 's/^/| /' conftest.
$ac_ext >&5
37143 wx_cv_size_t_is_uint
=yes
37147 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37151 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
37152 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37154 if test "$wx_cv_size_t_is_uint" = "yes"; then
37155 cat >>confdefs.h
<<\_ACEOF
37156 #define wxSIZE_T_IS_UINT 1
37160 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
37161 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
37162 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37163 echo $ECHO_N "(cached) $ECHO_C" >&6
37165 cat >conftest.
$ac_ext <<_ACEOF
37168 cat confdefs.h
>>conftest.
$ac_ext
37169 cat >>conftest.
$ac_ext <<_ACEOF
37170 /* end confdefs.h. */
37171 #include <stddef.h>
37178 struct Foo { void foo(size_t); void foo(unsigned long); };
37186 rm -f conftest.
$ac_objext
37187 if { (ac_try
="$ac_compile"
37188 case "(($ac_try" in
37189 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37190 *) ac_try_echo=$ac_try;;
37192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37193 (eval "$ac_compile") 2>conftest.er1
37195 grep -v '^ *+' conftest.er1 >conftest.err
37197 cat conftest.err >&5
37198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37199 (exit $ac_status); } && {
37200 test -z "$ac_cxx_werror_flag" ||
37201 test ! -s conftest.err
37202 } && test -s conftest.$ac_objext; then
37203 wx_cv_size_t_is_ulong=no
37205 echo "$as_me: failed program was:" >&5
37206 sed 's/^/| /' conftest.$ac_ext >&5
37208 wx_cv_size_t_is_ulong=yes
37212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37215 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37216 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37218 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37219 cat >>confdefs.h <<\_ACEOF
37220 #define wxSIZE_T_IS_ULONG 1
37226 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37227 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37228 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37229 echo $ECHO_N "(cached) $ECHO_C" >&6
37231 cat >conftest.$ac_ext <<_ACEOF
37234 cat confdefs.h >>conftest.$ac_ext
37235 cat >>conftest.$ac_ext <<_ACEOF
37236 /* end confdefs.h. */
37244 struct Foo { void foo(wchar_t);
37245 void foo(unsigned short);
37246 void foo(unsigned int);
37247 void foo(unsigned long); };
37255 rm -f conftest.$ac_objext
37256 if { (ac_try="$ac_compile"
37257 case "(($ac_try" in
37258 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37259 *) ac_try_echo
=$ac_try;;
37261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37262 (eval "$ac_compile") 2>conftest.er1
37264 grep -v '^ *+' conftest.er1
>conftest.err
37266 cat conftest.err
>&5
37267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37268 (exit $ac_status); } && {
37269 test -z "$ac_cxx_werror_flag" ||
37270 test ! -s conftest.err
37271 } && test -s conftest.
$ac_objext; then
37272 wx_cv_wchar_t_is_separate_type
=yes
37274 echo "$as_me: failed program was:" >&5
37275 sed 's/^/| /' conftest.
$ac_ext >&5
37277 wx_cv_wchar_t_is_separate_type
=no
37281 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37284 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37285 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37287 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37288 cat >>confdefs.h
<<\_ACEOF
37289 #define wxWCHAR_T_IS_REAL_TYPE 1
37293 cat >>confdefs.h
<<\_ACEOF
37294 #define wxWCHAR_T_IS_REAL_TYPE 0
37300 ac_cpp
='$CPP $CPPFLAGS'
37301 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37302 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37303 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37306 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37307 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37308 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37309 echo $ECHO_N "(cached) $ECHO_C" >&6
37312 cat >conftest.
$ac_ext <<_ACEOF
37315 cat confdefs.h
>>conftest.
$ac_ext
37316 cat >>conftest.
$ac_ext <<_ACEOF
37317 /* end confdefs.h. */
37331 rm -f conftest.
$ac_objext
37332 if { (ac_try
="$ac_compile"
37333 case "(($ac_try" in
37334 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37335 *) ac_try_echo=$ac_try;;
37337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37338 (eval "$ac_compile") 2>conftest.er1
37340 grep -v '^ *+' conftest.er1 >conftest.err
37342 cat conftest.err >&5
37343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37344 (exit $ac_status); } && {
37345 test -z "$ac_c_werror_flag" ||
37346 test ! -s conftest.err
37347 } && test -s conftest.$ac_objext; then
37349 wx_cv_struct_pw_gecos=yes
37352 echo "$as_me: failed program was:" >&5
37353 sed 's/^/| /' conftest.$ac_ext >&5
37356 wx_cv_struct_pw_gecos=no
37361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37365 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37366 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37368 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37369 cat >>confdefs.h <<\_ACEOF
37370 #define HAVE_PW_GECOS 1
37376 if test "$wxUSE_WCHAR_T" = "yes"; then
37377 cat >>confdefs.h <<\_ACEOF
37378 #define wxUSE_WCHAR_T 1
37385 for ac_func in wcslen
37387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37388 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37390 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37391 echo $ECHO_N "(cached) $ECHO_C" >&6
37393 cat >conftest.$ac_ext <<_ACEOF
37396 cat confdefs.h >>conftest.$ac_ext
37397 cat >>conftest.$ac_ext <<_ACEOF
37398 /* end confdefs.h. */
37399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37401 #define $ac_func innocuous_$ac_func
37403 /* System header to define __stub macros and hopefully few prototypes,
37404 which can conflict with char $ac_func (); below.
37405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37406 <limits.h> exists even on freestanding compilers. */
37409 # include <limits.h>
37411 # include <assert.h>
37416 /* Override any GCC internal prototype to avoid an error.
37417 Use char because int might match the return type of a GCC
37418 builtin and then its argument prototype would still apply. */
37423 /* The GNU C library defines this for functions which it implements
37424 to always fail with ENOSYS. Some functions are actually named
37425 something starting with __ and the normal name is an alias. */
37426 #if defined __stub_$ac_func || defined __stub___$ac_func
37433 return $ac_func ();
37438 rm -f conftest.$ac_objext conftest$ac_exeext
37439 if { (ac_try="$ac_link"
37440 case "(($ac_try" in
37441 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37442 *) ac_try_echo
=$ac_try;;
37444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37445 (eval "$ac_link") 2>conftest.er1
37447 grep -v '^ *+' conftest.er1
>conftest.err
37449 cat conftest.err
>&5
37450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37451 (exit $ac_status); } && {
37452 test -z "$ac_c_werror_flag" ||
37453 test ! -s conftest.err
37454 } && test -s conftest
$ac_exeext &&
37455 $as_test_x conftest
$ac_exeext; then
37456 eval "$as_ac_var=yes"
37458 echo "$as_me: failed program was:" >&5
37459 sed 's/^/| /' conftest.
$ac_ext >&5
37461 eval "$as_ac_var=no"
37464 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37465 conftest
$ac_exeext conftest.
$ac_ext
37467 ac_res
=`eval echo '${'$as_ac_var'}'`
37468 { echo "$as_me:$LINENO: result: $ac_res" >&5
37469 echo "${ECHO_T}$ac_res" >&6; }
37470 if test `eval echo '${'$as_ac_var'}'` = yes; then
37471 cat >>confdefs.h
<<_ACEOF
37472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37479 if test "$WCSLEN_FOUND" = 0; then
37480 if test "$TOOLKIT" = "MSW"; then
37481 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37482 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37483 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37484 echo $ECHO_N "(cached) $ECHO_C" >&6
37486 ac_check_lib_save_LIBS
=$LIBS
37487 LIBS
="-lmsvcrt $LIBS"
37488 cat >conftest.
$ac_ext <<_ACEOF
37491 cat confdefs.h
>>conftest.
$ac_ext
37492 cat >>conftest.
$ac_ext <<_ACEOF
37493 /* end confdefs.h. */
37495 /* Override any GCC internal prototype to avoid an error.
37496 Use char because int might match the return type of a GCC
37497 builtin and then its argument prototype would still apply. */
37510 rm -f conftest.
$ac_objext conftest
$ac_exeext
37511 if { (ac_try
="$ac_link"
37512 case "(($ac_try" in
37513 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37514 *) ac_try_echo=$ac_try;;
37516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37517 (eval "$ac_link") 2>conftest.er1
37519 grep -v '^ *+' conftest.er1 >conftest.err
37521 cat conftest.err >&5
37522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37523 (exit $ac_status); } && {
37524 test -z "$ac_c_werror_flag" ||
37525 test ! -s conftest.err
37526 } && test -s conftest$ac_exeext &&
37527 $as_test_x conftest$ac_exeext; then
37528 ac_cv_lib_msvcrt_wcslen=yes
37530 echo "$as_me: failed program was:" >&5
37531 sed 's/^/| /' conftest.$ac_ext >&5
37533 ac_cv_lib_msvcrt_wcslen=no
37536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37537 conftest$ac_exeext conftest.$ac_ext
37538 LIBS=$ac_check_lib_save_LIBS
37540 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37541 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37542 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37547 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37548 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37549 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37550 echo $ECHO_N "(cached) $ECHO_C" >&6
37552 ac_check_lib_save_LIBS=$LIBS
37554 cat >conftest.$ac_ext <<_ACEOF
37557 cat confdefs.h >>conftest.$ac_ext
37558 cat >>conftest.$ac_ext <<_ACEOF
37559 /* end confdefs.h. */
37561 /* Override any GCC internal prototype to avoid an error.
37562 Use char because int might match the return type of a GCC
37563 builtin and then its argument prototype would still apply. */
37576 rm -f conftest.$ac_objext conftest$ac_exeext
37577 if { (ac_try="$ac_link"
37578 case "(($ac_try" in
37579 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37580 *) ac_try_echo
=$ac_try;;
37582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37583 (eval "$ac_link") 2>conftest.er1
37585 grep -v '^ *+' conftest.er1
>conftest.err
37587 cat conftest.err
>&5
37588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37589 (exit $ac_status); } && {
37590 test -z "$ac_c_werror_flag" ||
37591 test ! -s conftest.err
37592 } && test -s conftest
$ac_exeext &&
37593 $as_test_x conftest
$ac_exeext; then
37594 ac_cv_lib_w_wcslen
=yes
37596 echo "$as_me: failed program was:" >&5
37597 sed 's/^/| /' conftest.
$ac_ext >&5
37599 ac_cv_lib_w_wcslen
=no
37602 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37603 conftest
$ac_exeext conftest.
$ac_ext
37604 LIBS
=$ac_check_lib_save_LIBS
37606 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37607 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37608 if test $ac_cv_lib_w_wcslen = yes; then
37618 if test "$WCSLEN_FOUND" = 1; then
37619 cat >>confdefs.h
<<\_ACEOF
37620 #define HAVE_WCSLEN 1
37626 for ac_func
in wcsdup
37628 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37629 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37631 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37632 echo $ECHO_N "(cached) $ECHO_C" >&6
37634 cat >conftest.
$ac_ext <<_ACEOF
37637 cat confdefs.h
>>conftest.
$ac_ext
37638 cat >>conftest.
$ac_ext <<_ACEOF
37639 /* end confdefs.h. */
37640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37642 #define $ac_func innocuous_$ac_func
37644 /* System header to define __stub macros and hopefully few prototypes,
37645 which can conflict with char $ac_func (); below.
37646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37647 <limits.h> exists even on freestanding compilers. */
37650 # include <limits.h>
37652 # include <assert.h>
37657 /* Override any GCC internal prototype to avoid an error.
37658 Use char because int might match the return type of a GCC
37659 builtin and then its argument prototype would still apply. */
37664 /* The GNU C library defines this for functions which it implements
37665 to always fail with ENOSYS. Some functions are actually named
37666 something starting with __ and the normal name is an alias. */
37667 #if defined __stub_$ac_func || defined __stub___$ac_func
37674 return $ac_func ();
37679 rm -f conftest.
$ac_objext conftest
$ac_exeext
37680 if { (ac_try
="$ac_link"
37681 case "(($ac_try" in
37682 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37683 *) ac_try_echo=$ac_try;;
37685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37686 (eval "$ac_link") 2>conftest.er1
37688 grep -v '^ *+' conftest.er1 >conftest.err
37690 cat conftest.err >&5
37691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37692 (exit $ac_status); } && {
37693 test -z "$ac_c_werror_flag" ||
37694 test ! -s conftest.err
37695 } && test -s conftest$ac_exeext &&
37696 $as_test_x conftest$ac_exeext; then
37697 eval "$as_ac_var=yes"
37699 echo "$as_me: failed program was:" >&5
37700 sed 's/^/| /' conftest.$ac_ext >&5
37702 eval "$as_ac_var=no"
37705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37706 conftest$ac_exeext conftest.$ac_ext
37708 ac_res=`eval echo '${'$as_ac_var'}'`
37709 { echo "$as_me:$LINENO: result: $ac_res" >&5
37710 echo "${ECHO_T}$ac_res" >&6; }
37711 if test `eval echo '${'$as_ac_var'}'` = yes; then
37712 cat >>confdefs.h <<_ACEOF
37713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37720 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37721 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37724 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37725 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37726 if test "${ac_cv_type_mbstate_t+set}" = set; then
37727 echo $ECHO_N "(cached) $ECHO_C" >&6
37729 cat >conftest.$ac_ext <<_ACEOF
37732 cat confdefs.h >>conftest.$ac_ext
37733 cat >>conftest.$ac_ext <<_ACEOF
37734 /* end confdefs.h. */
37737 typedef mbstate_t ac__type_new_;
37741 if ((ac__type_new_ *) 0)
37743 if (sizeof (ac__type_new_))
37749 rm -f conftest.$ac_objext
37750 if { (ac_try="$ac_compile"
37751 case "(($ac_try" in
37752 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37753 *) ac_try_echo
=$ac_try;;
37755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37756 (eval "$ac_compile") 2>conftest.er1
37758 grep -v '^ *+' conftest.er1
>conftest.err
37760 cat conftest.err
>&5
37761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37762 (exit $ac_status); } && {
37763 test -z "$ac_c_werror_flag" ||
37764 test ! -s conftest.err
37765 } && test -s conftest.
$ac_objext; then
37766 ac_cv_type_mbstate_t
=yes
37768 echo "$as_me: failed program was:" >&5
37769 sed 's/^/| /' conftest.
$ac_ext >&5
37771 ac_cv_type_mbstate_t
=no
37774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37776 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37777 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37778 if test $ac_cv_type_mbstate_t = yes; then
37780 cat >>confdefs.h
<<_ACEOF
37781 #define HAVE_MBSTATE_T 1
37785 for ac_func
in wcsrtombs
37787 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37788 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37790 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37791 echo $ECHO_N "(cached) $ECHO_C" >&6
37793 cat >conftest.
$ac_ext <<_ACEOF
37796 cat confdefs.h
>>conftest.
$ac_ext
37797 cat >>conftest.
$ac_ext <<_ACEOF
37798 /* end confdefs.h. */
37799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37801 #define $ac_func innocuous_$ac_func
37803 /* System header to define __stub macros and hopefully few prototypes,
37804 which can conflict with char $ac_func (); below.
37805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37806 <limits.h> exists even on freestanding compilers. */
37809 # include <limits.h>
37811 # include <assert.h>
37816 /* Override any GCC internal prototype to avoid an error.
37817 Use char because int might match the return type of a GCC
37818 builtin and then its argument prototype would still apply. */
37823 /* The GNU C library defines this for functions which it implements
37824 to always fail with ENOSYS. Some functions are actually named
37825 something starting with __ and the normal name is an alias. */
37826 #if defined __stub_$ac_func || defined __stub___$ac_func
37833 return $ac_func ();
37838 rm -f conftest.
$ac_objext conftest
$ac_exeext
37839 if { (ac_try
="$ac_link"
37840 case "(($ac_try" in
37841 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37842 *) ac_try_echo=$ac_try;;
37844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37845 (eval "$ac_link") 2>conftest.er1
37847 grep -v '^ *+' conftest.er1 >conftest.err
37849 cat conftest.err >&5
37850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37851 (exit $ac_status); } && {
37852 test -z "$ac_c_werror_flag" ||
37853 test ! -s conftest.err
37854 } && test -s conftest$ac_exeext &&
37855 $as_test_x conftest$ac_exeext; then
37856 eval "$as_ac_var=yes"
37858 echo "$as_me: failed program was:" >&5
37859 sed 's/^/| /' conftest.$ac_ext >&5
37861 eval "$as_ac_var=no"
37864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37865 conftest$ac_exeext conftest.$ac_ext
37867 ac_res=`eval echo '${'$as_ac_var'}'`
37868 { echo "$as_me:$LINENO: result: $ac_res" >&5
37869 echo "${ECHO_T}$ac_res" >&6; }
37870 if test `eval echo '${'$as_ac_var'}'` = yes; then
37871 cat >>confdefs.h <<_ACEOF
37872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37881 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37882 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37887 for ac_func in snprintf vsnprintf
37889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37890 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37892 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37893 echo $ECHO_N "(cached) $ECHO_C" >&6
37895 cat >conftest.$ac_ext <<_ACEOF
37898 cat confdefs.h >>conftest.$ac_ext
37899 cat >>conftest.$ac_ext <<_ACEOF
37900 /* end confdefs.h. */
37901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37903 #define $ac_func innocuous_$ac_func
37905 /* System header to define __stub macros and hopefully few prototypes,
37906 which can conflict with char $ac_func (); below.
37907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37908 <limits.h> exists even on freestanding compilers. */
37911 # include <limits.h>
37913 # include <assert.h>
37918 /* Override any GCC internal prototype to avoid an error.
37919 Use char because int might match the return type of a GCC
37920 builtin and then its argument prototype would still apply. */
37925 /* The GNU C library defines this for functions which it implements
37926 to always fail with ENOSYS. Some functions are actually named
37927 something starting with __ and the normal name is an alias. */
37928 #if defined __stub_$ac_func || defined __stub___$ac_func
37935 return $ac_func ();
37940 rm -f conftest.$ac_objext conftest$ac_exeext
37941 if { (ac_try="$ac_link"
37942 case "(($ac_try" in
37943 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37944 *) ac_try_echo
=$ac_try;;
37946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37947 (eval "$ac_link") 2>conftest.er1
37949 grep -v '^ *+' conftest.er1
>conftest.err
37951 cat conftest.err
>&5
37952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953 (exit $ac_status); } && {
37954 test -z "$ac_c_werror_flag" ||
37955 test ! -s conftest.err
37956 } && test -s conftest
$ac_exeext &&
37957 $as_test_x conftest
$ac_exeext; then
37958 eval "$as_ac_var=yes"
37960 echo "$as_me: failed program was:" >&5
37961 sed 's/^/| /' conftest.
$ac_ext >&5
37963 eval "$as_ac_var=no"
37966 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37967 conftest
$ac_exeext conftest.
$ac_ext
37969 ac_res
=`eval echo '${'$as_ac_var'}'`
37970 { echo "$as_me:$LINENO: result: $ac_res" >&5
37971 echo "${ECHO_T}$ac_res" >&6; }
37972 if test `eval echo '${'$as_ac_var'}'` = yes; then
37973 cat >>confdefs.h
<<_ACEOF
37974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37981 if test "$ac_cv_func_vsnprintf" = "yes"; then
37982 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37983 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37984 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37985 echo $ECHO_N "(cached) $ECHO_C" >&6
37988 cat >conftest.
$ac_ext <<_ACEOF
37991 cat confdefs.h
>>conftest.
$ac_ext
37992 cat >>conftest.
$ac_ext <<_ACEOF
37993 /* end confdefs.h. */
37996 #include <stdarg.h>
37998 #if __MSL__ >= 0x6000
38000 using namespace std;
38010 vsnprintf(buf, 10u, "%s", ap);
38016 rm -f conftest.
$ac_objext
38017 if { (ac_try
="$ac_compile"
38018 case "(($ac_try" in
38019 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38020 *) ac_try_echo=$ac_try;;
38022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38023 (eval "$ac_compile") 2>conftest.er1
38025 grep -v '^ *+' conftest.er1 >conftest.err
38027 cat conftest.err >&5
38028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38029 (exit $ac_status); } && {
38030 test -z "$ac_c_werror_flag" ||
38031 test ! -s conftest.err
38032 } && test -s conftest.$ac_objext; then
38033 wx_cv_func_vsnprintf_decl=yes
38035 echo "$as_me: failed program was:" >&5
38036 sed 's/^/| /' conftest.$ac_ext >&5
38038 wx_cv_func_vsnprintf_decl=no
38042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38046 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
38047 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
38049 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
38050 cat >>confdefs.h <<\_ACEOF
38051 #define HAVE_VSNPRINTF_DECL 1
38055 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
38056 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
38057 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
38058 echo $ECHO_N "(cached) $ECHO_C" >&6
38061 cat >conftest.$ac_ext <<_ACEOF
38064 cat confdefs.h >>conftest.$ac_ext
38065 cat >>conftest.$ac_ext <<_ACEOF
38066 /* end confdefs.h. */
38069 #include <stdarg.h>
38071 #if __MSL__ >= 0x6000
38073 using namespace std;
38083 const char *fmt = "%s";
38084 vsnprintf(buf, 10u, fmt, ap);
38090 rm -f conftest.$ac_objext
38091 if { (ac_try="$ac_compile"
38092 case "(($ac_try" in
38093 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38094 *) ac_try_echo
=$ac_try;;
38096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38097 (eval "$ac_compile") 2>conftest.er1
38099 grep -v '^ *+' conftest.er1
>conftest.err
38101 cat conftest.err
>&5
38102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38103 (exit $ac_status); } && {
38104 test -z "$ac_c_werror_flag" ||
38105 test ! -s conftest.err
38106 } && test -s conftest.
$ac_objext; then
38107 wx_cv_func_broken_vsnprintf_decl
=no
38109 echo "$as_me: failed program was:" >&5
38110 sed 's/^/| /' conftest.
$ac_ext >&5
38112 wx_cv_func_broken_vsnprintf_decl
=yes
38116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38120 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
38121 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38123 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38124 cat >>confdefs.h
<<\_ACEOF
38125 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38132 if test "$ac_cv_func_snprintf" = "yes"; then
38133 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
38134 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
38135 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38136 echo $ECHO_N "(cached) $ECHO_C" >&6
38139 cat >conftest.
$ac_ext <<_ACEOF
38142 cat confdefs.h
>>conftest.
$ac_ext
38143 cat >>conftest.
$ac_ext <<_ACEOF
38144 /* end confdefs.h. */
38147 #include <stdarg.h>
38149 #if __MSL__ >= 0x6000
38151 using namespace std;
38160 snprintf(buf, 10u, "%s", "wx");
38166 rm -f conftest.
$ac_objext
38167 if { (ac_try
="$ac_compile"
38168 case "(($ac_try" in
38169 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38170 *) ac_try_echo=$ac_try;;
38172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38173 (eval "$ac_compile") 2>conftest.er1
38175 grep -v '^ *+' conftest.er1 >conftest.err
38177 cat conftest.err >&5
38178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38179 (exit $ac_status); } && {
38180 test -z "$ac_c_werror_flag" ||
38181 test ! -s conftest.err
38182 } && test -s conftest.$ac_objext; then
38183 wx_cv_func_snprintf_decl=yes
38185 echo "$as_me: failed program was:" >&5
38186 sed 's/^/| /' conftest.$ac_ext >&5
38188 wx_cv_func_snprintf_decl=no
38192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38196 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38197 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38199 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38200 cat >>confdefs.h <<\_ACEOF
38201 #define HAVE_SNPRINTF_DECL 1
38205 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
38206 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
38207 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
38208 echo $ECHO_N "(cached) $ECHO_C" >&6
38211 cat >conftest.$ac_ext <<_ACEOF
38214 cat confdefs.h >>conftest.$ac_ext
38215 cat >>conftest.$ac_ext <<_ACEOF
38216 /* end confdefs.h. */
38219 #include <stdarg.h>
38221 #if __MSL__ >= 0x6000
38223 using namespace std;
38232 const char *fmt = "%s";
38233 snprintf(buf, 10u, fmt, "wx");
38239 rm -f conftest.$ac_objext
38240 if { (ac_try="$ac_compile"
38241 case "(($ac_try" in
38242 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38243 *) ac_try_echo
=$ac_try;;
38245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38246 (eval "$ac_compile") 2>conftest.er1
38248 grep -v '^ *+' conftest.er1
>conftest.err
38250 cat conftest.err
>&5
38251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38252 (exit $ac_status); } && {
38253 test -z "$ac_c_werror_flag" ||
38254 test ! -s conftest.err
38255 } && test -s conftest.
$ac_objext; then
38256 wx_cv_func_broken_snprintf_decl
=no
38258 echo "$as_me: failed program was:" >&5
38259 sed 's/^/| /' conftest.
$ac_ext >&5
38261 wx_cv_func_broken_snprintf_decl
=yes
38265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38269 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
38270 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
38272 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
38273 cat >>confdefs.h
<<\_ACEOF
38274 #define HAVE_BROKEN_SNPRINTF_DECL 1
38280 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38282 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38283 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38284 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38285 echo $ECHO_N "(cached) $ECHO_C" >&6
38288 if test "$cross_compiling" = yes; then
38290 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38291 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38292 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38293 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38294 wx_cv_func_snprintf_pos_params
=no
38298 cat >conftest.
$ac_ext <<_ACEOF
38301 cat confdefs.h
>>conftest.
$ac_ext
38302 cat >>conftest.
$ac_ext <<_ACEOF
38303 /* end confdefs.h. */
38310 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38311 if (strcmp ("2 3 1", buffer) == 0)
38317 rm -f conftest
$ac_exeext
38318 if { (ac_try
="$ac_link"
38319 case "(($ac_try" in
38320 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38321 *) ac_try_echo=$ac_try;;
38323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38324 (eval "$ac_link") 2>&5
38326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38327 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38328 { (case "(($ac_try" in
38329 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38330 *) ac_try_echo
=$ac_try;;
38332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38333 (eval "$ac_try") 2>&5
38335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38336 (exit $ac_status); }; }; then
38337 wx_cv_func_snprintf_pos_params
=no
38339 echo "$as_me: program exited with status $ac_status" >&5
38340 echo "$as_me: failed program was:" >&5
38341 sed 's/^/| /' conftest.
$ac_ext >&5
38343 ( exit $ac_status )
38344 wx_cv_func_snprintf_pos_params
=yes
38346 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
38353 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38354 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38356 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38357 cat >>confdefs.h
<<\_ACEOF
38358 #define HAVE_UNIX98_PRINTF 1
38365 if test "$wxUSE_UNICODE" = yes; then
38368 for ac_func
in swprintf
38370 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38371 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38373 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38374 echo $ECHO_N "(cached) $ECHO_C" >&6
38376 cat >conftest.
$ac_ext <<_ACEOF
38379 cat confdefs.h
>>conftest.
$ac_ext
38380 cat >>conftest.
$ac_ext <<_ACEOF
38381 /* end confdefs.h. */
38382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38384 #define $ac_func innocuous_$ac_func
38386 /* System header to define __stub macros and hopefully few prototypes,
38387 which can conflict with char $ac_func (); below.
38388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38389 <limits.h> exists even on freestanding compilers. */
38392 # include <limits.h>
38394 # include <assert.h>
38399 /* Override any GCC internal prototype to avoid an error.
38400 Use char because int might match the return type of a GCC
38401 builtin and then its argument prototype would still apply. */
38406 /* The GNU C library defines this for functions which it implements
38407 to always fail with ENOSYS. Some functions are actually named
38408 something starting with __ and the normal name is an alias. */
38409 #if defined __stub_$ac_func || defined __stub___$ac_func
38416 return $ac_func ();
38421 rm -f conftest.
$ac_objext conftest
$ac_exeext
38422 if { (ac_try
="$ac_link"
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_link") 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_exeext &&
38438 $as_test_x conftest$ac_exeext; then
38439 eval "$as_ac_var=yes"
38441 echo "$as_me: failed program was:" >&5
38442 sed 's/^/| /' conftest.$ac_ext >&5
38444 eval "$as_ac_var=no"
38447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38448 conftest$ac_exeext conftest.$ac_ext
38450 ac_res=`eval echo '${'$as_ac_var'}'`
38451 { echo "$as_me:$LINENO: result: $ac_res" >&5
38452 echo "${ECHO_T}$ac_res" >&6; }
38453 if test `eval echo '${'$as_ac_var'}'` = yes; then
38454 cat >>confdefs.h <<_ACEOF
38455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38462 if test "$ac_cv_func_swprintf" = "yes"; then
38463 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38464 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38465 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38466 echo $ECHO_N "(cached) $ECHO_C" >&6
38469 cat >conftest.$ac_ext <<_ACEOF
38472 cat confdefs.h >>conftest.$ac_ext
38473 cat >>conftest.$ac_ext <<_ACEOF
38474 /* end confdefs.h. */
38477 #include <stdarg.h>
38485 const wchar_t *fmt = L"test";
38486 swprintf(buf, 10u, fmt);
38492 rm -f conftest.$ac_objext
38493 if { (ac_try="$ac_compile"
38494 case "(($ac_try" in
38495 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38496 *) ac_try_echo
=$ac_try;;
38498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38499 (eval "$ac_compile") 2>conftest.er1
38501 grep -v '^ *+' conftest.er1
>conftest.err
38503 cat conftest.err
>&5
38504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38505 (exit $ac_status); } && {
38506 test -z "$ac_c_werror_flag" ||
38507 test ! -s conftest.err
38508 } && test -s conftest.
$ac_objext; then
38509 wx_cv_func_broken_swprintf_decl
=no
38511 echo "$as_me: failed program was:" >&5
38512 sed 's/^/| /' conftest.
$ac_ext >&5
38514 wx_cv_func_broken_swprintf_decl
=yes
38518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38522 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38523 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38525 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38526 cat >>confdefs.h
<<\_ACEOF
38527 #define HAVE_BROKEN_SWPRINTF_DECL 1
38533 wchar_headers
="#include <stdio.h>
38534 #include <wchar.h>"
38538 for ac_header
in widec.h
38540 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38541 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38543 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38544 echo $ECHO_N "(cached) $ECHO_C" >&6
38546 cat >conftest.
$ac_ext <<_ACEOF
38549 cat confdefs.h
>>conftest.
$ac_ext
38550 cat >>conftest.
$ac_ext <<_ACEOF
38551 /* end confdefs.h. */
38552 $ac_includes_default
38554 #include <$ac_header>
38556 rm -f conftest.
$ac_objext
38557 if { (ac_try
="$ac_compile"
38558 case "(($ac_try" in
38559 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38560 *) ac_try_echo=$ac_try;;
38562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38563 (eval "$ac_compile") 2>conftest.er1
38565 grep -v '^ *+' conftest.er1 >conftest.err
38567 cat conftest.err >&5
38568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38569 (exit $ac_status); } && {
38570 test -z "$ac_c_werror_flag" ||
38571 test ! -s conftest.err
38572 } && test -s conftest.$ac_objext; then
38573 eval "$as_ac_Header=yes"
38575 echo "$as_me: failed program was:" >&5
38576 sed 's/^/| /' conftest.$ac_ext >&5
38578 eval "$as_ac_Header=no"
38581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38583 ac_res=`eval echo '${'$as_ac_Header'}'`
38584 { echo "$as_me:$LINENO: result: $ac_res" >&5
38585 echo "${ECHO_T}$ac_res" >&6; }
38586 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38587 cat >>confdefs.h <<_ACEOF
38588 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38595 if test "$ac_cv_header_widec_h" = "yes"; then
38596 wchar_headers="$wchar_headers
38597 #include <widec.h>"
38602 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38604 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38605 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38606 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38607 echo $ECHO_N "(cached) $ECHO_C" >&6
38610 cat >conftest.$ac_ext <<_ACEOF
38614 cat confdefs.h >>conftest.$ac_ext
38615 cat >>conftest.$ac_ext <<_ACEOF
38616 /* end confdefs.h. */
38619 $ac_includes_default
38635 rm -f conftest.$ac_objext conftest$ac_exeext
38636 if { (ac_try="$ac_link"
38637 case "(($ac_try" in
38638 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38639 *) ac_try_echo
=$ac_try;;
38641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38642 (eval "$ac_link") 2>conftest.er1
38644 grep -v '^ *+' conftest.er1
>conftest.err
38646 cat conftest.err
>&5
38647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38648 (exit $ac_status); } && {
38649 test -z "$ac_c_werror_flag" ||
38650 test ! -s conftest.err
38651 } && test -s conftest
$ac_exeext &&
38652 $as_test_x conftest
$ac_exeext; then
38653 eval wx_cv_func_
$wx_func=yes
38655 echo "$as_me: failed program was:" >&5
38656 sed 's/^/| /' conftest.
$ac_ext >&5
38658 eval wx_cv_func_
$wx_func=no
38661 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38662 conftest
$ac_exeext conftest.
$ac_ext
38665 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38666 { echo "$as_me:$LINENO: result: $ac_res" >&5
38667 echo "${ECHO_T}$ac_res" >&6; }
38669 if eval test \
$wx_cv_func_$wx_func = yes
38671 cat >>confdefs.h
<<_ACEOF
38672 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38683 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38684 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38685 cat >conftest.
$ac_ext <<_ACEOF
38688 cat confdefs.h
>>conftest.
$ac_ext
38689 cat >>conftest.
$ac_ext <<_ACEOF
38690 /* end confdefs.h. */
38700 rm -f conftest.
$ac_objext
38701 if { (ac_try
="$ac_compile"
38702 case "(($ac_try" in
38703 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38704 *) ac_try_echo=$ac_try;;
38706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38707 (eval "$ac_compile") 2>conftest.er1
38709 grep -v '^ *+' conftest.er1 >conftest.err
38711 cat conftest.err >&5
38712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38713 (exit $ac_status); } && {
38714 test -z "$ac_c_werror_flag" ||
38715 test ! -s conftest.err
38716 } && test -s conftest.$ac_objext; then
38717 { echo "$as_me:$LINENO: result: yes" >&5
38718 echo "${ECHO_T}yes" >&6; }
38719 cat >>confdefs.h <<\_ACEOF
38720 #define HAVE__VSNWPRINTF 1
38724 echo "$as_me: failed program was:" >&5
38725 sed 's/^/| /' conftest.$ac_ext >&5
38727 { echo "$as_me:$LINENO: result: no" >&5
38728 echo "${ECHO_T}no" >&6; }
38731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38734 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38736 for wx_func in fnmatch
38738 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38739 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38740 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38741 echo $ECHO_N "(cached) $ECHO_C" >&6
38744 cat >conftest.$ac_ext <<_ACEOF
38748 cat confdefs.h >>conftest.$ac_ext
38749 cat >>conftest.$ac_ext <<_ACEOF
38750 /* end confdefs.h. */
38752 #include <fnmatch.h>
38753 $ac_includes_default
38769 rm -f conftest.$ac_objext conftest$ac_exeext
38770 if { (ac_try="$ac_link"
38771 case "(($ac_try" in
38772 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38773 *) ac_try_echo
=$ac_try;;
38775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38776 (eval "$ac_link") 2>conftest.er1
38778 grep -v '^ *+' conftest.er1
>conftest.err
38780 cat conftest.err
>&5
38781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38782 (exit $ac_status); } && {
38783 test -z "$ac_c_werror_flag" ||
38784 test ! -s conftest.err
38785 } && test -s conftest
$ac_exeext &&
38786 $as_test_x conftest
$ac_exeext; then
38787 eval wx_cv_func_
$wx_func=yes
38789 echo "$as_me: failed program was:" >&5
38790 sed 's/^/| /' conftest.
$ac_ext >&5
38792 eval wx_cv_func_
$wx_func=no
38795 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38796 conftest
$ac_exeext conftest.
$ac_ext
38799 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38800 { echo "$as_me:$LINENO: result: $ac_res" >&5
38801 echo "${ECHO_T}$ac_res" >&6; }
38803 if eval test \
$wx_cv_func_$wx_func = yes
38805 cat >>confdefs.h
<<_ACEOF
38806 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38818 if test "$wxUSE_FILE" = "yes"; then
38820 for wx_func
in fsync
38822 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38823 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38824 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38825 echo $ECHO_N "(cached) $ECHO_C" >&6
38828 cat >conftest.
$ac_ext <<_ACEOF
38832 cat confdefs.h
>>conftest.
$ac_ext
38833 cat >>conftest.
$ac_ext <<_ACEOF
38834 /* end confdefs.h. */
38837 $ac_includes_default
38853 rm -f conftest.
$ac_objext conftest
$ac_exeext
38854 if { (ac_try
="$ac_link"
38855 case "(($ac_try" in
38856 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38857 *) ac_try_echo=$ac_try;;
38859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38860 (eval "$ac_link") 2>conftest.er1
38862 grep -v '^ *+' conftest.er1 >conftest.err
38864 cat conftest.err >&5
38865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38866 (exit $ac_status); } && {
38867 test -z "$ac_c_werror_flag" ||
38868 test ! -s conftest.err
38869 } && test -s conftest$ac_exeext &&
38870 $as_test_x conftest$ac_exeext; then
38871 eval wx_cv_func_$wx_func=yes
38873 echo "$as_me: failed program was:" >&5
38874 sed 's/^/| /' conftest.$ac_ext >&5
38876 eval wx_cv_func_$wx_func=no
38879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38880 conftest$ac_exeext conftest.$ac_ext
38883 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38884 { echo "$as_me:$LINENO: result: $ac_res" >&5
38885 echo "${ECHO_T}$ac_res" >&6; }
38887 if eval test \$wx_cv_func_$wx_func = yes
38889 cat >>confdefs.h <<_ACEOF
38890 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38903 ac_cpp='$CXXCPP $CPPFLAGS'
38904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38909 for wx_func in round
38911 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38912 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38913 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38914 echo $ECHO_N "(cached) $ECHO_C" >&6
38917 cat >conftest.$ac_ext <<_ACEOF
38921 cat confdefs.h >>conftest.$ac_ext
38922 cat >>conftest.$ac_ext <<_ACEOF
38923 /* end confdefs.h. */
38926 $ac_includes_default
38942 rm -f conftest.$ac_objext conftest$ac_exeext
38943 if { (ac_try="$ac_link"
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_link") 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_cxx_werror_flag" ||
38957 test ! -s conftest.err
38958 } && test -s conftest
$ac_exeext &&
38959 $as_test_x conftest
$ac_exeext; then
38960 eval wx_cv_func_
$wx_func=yes
38962 echo "$as_me: failed program was:" >&5
38963 sed 's/^/| /' conftest.
$ac_ext >&5
38965 eval wx_cv_func_
$wx_func=no
38968 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38969 conftest
$ac_exeext conftest.
$ac_ext
38972 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38973 { echo "$as_me:$LINENO: result: $ac_res" >&5
38974 echo "${ECHO_T}$ac_res" >&6; }
38976 if eval test \
$wx_cv_func_$wx_func = yes
38978 cat >>confdefs.h
<<_ACEOF
38979 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38990 ac_cpp
='$CPP $CPPFLAGS'
38991 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38992 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38993 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38996 if test "$TOOLKIT" != "MSW"; then
39002 # Check whether --with-libiconv-prefix was given.
39003 if test "${with_libiconv_prefix+set}" = set; then
39004 withval
=$with_libiconv_prefix;
39005 for dir
in `echo "$withval" | tr : ' '`; do
39006 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
39007 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
39013 { echo "$as_me:$LINENO: checking for iconv" >&5
39014 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
39015 if test "${am_cv_func_iconv+set}" = set; then
39016 echo $ECHO_N "(cached) $ECHO_C" >&6
39019 am_cv_func_iconv
="no, consider installing GNU libiconv"
39021 cat >conftest.
$ac_ext <<_ACEOF
39024 cat confdefs.h
>>conftest.
$ac_ext
39025 cat >>conftest.
$ac_ext <<_ACEOF
39026 /* end confdefs.h. */
39027 #include <stdlib.h>
39032 iconv_t cd = iconv_open("","");
39033 iconv(cd,NULL,NULL,NULL,NULL);
39039 rm -f conftest.
$ac_objext conftest
$ac_exeext
39040 if { (ac_try
="$ac_link"
39041 case "(($ac_try" in
39042 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39043 *) ac_try_echo=$ac_try;;
39045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39046 (eval "$ac_link") 2>conftest.er1
39048 grep -v '^ *+' conftest.er1 >conftest.err
39050 cat conftest.err >&5
39051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39052 (exit $ac_status); } && {
39053 test -z "$ac_c_werror_flag" ||
39054 test ! -s conftest.err
39055 } && test -s conftest$ac_exeext &&
39056 $as_test_x conftest$ac_exeext; then
39057 am_cv_func_iconv=yes
39059 echo "$as_me: failed program was:" >&5
39060 sed 's/^/| /' conftest.$ac_ext >&5
39065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39066 conftest$ac_exeext conftest.$ac_ext
39067 if test "$am_cv_func_iconv" != yes; then
39068 am_save_LIBS="$LIBS"
39069 LIBS="$LIBS -liconv"
39070 cat >conftest.$ac_ext <<_ACEOF
39073 cat confdefs.h >>conftest.$ac_ext
39074 cat >>conftest.$ac_ext <<_ACEOF
39075 /* end confdefs.h. */
39076 #include <stdlib.h>
39081 iconv_t cd = iconv_open("","");
39082 iconv(cd,NULL,NULL,NULL,NULL);
39088 rm -f conftest.$ac_objext conftest$ac_exeext
39089 if { (ac_try="$ac_link"
39090 case "(($ac_try" in
39091 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39092 *) ac_try_echo
=$ac_try;;
39094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39095 (eval "$ac_link") 2>conftest.er1
39097 grep -v '^ *+' conftest.er1
>conftest.err
39099 cat conftest.err
>&5
39100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39101 (exit $ac_status); } && {
39102 test -z "$ac_c_werror_flag" ||
39103 test ! -s conftest.err
39104 } && test -s conftest
$ac_exeext &&
39105 $as_test_x conftest
$ac_exeext; then
39106 am_cv_lib_iconv
=yes
39107 am_cv_func_iconv
=yes
39109 echo "$as_me: failed program was:" >&5
39110 sed 's/^/| /' conftest.
$ac_ext >&5
39115 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39116 conftest
$ac_exeext conftest.
$ac_ext
39117 LIBS
="$am_save_LIBS"
39121 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
39122 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
39123 if test "$am_cv_func_iconv" = yes; then
39125 cat >>confdefs.h
<<\_ACEOF
39126 #define HAVE_ICONV 1
39129 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
39130 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
39131 if test "${wx_cv_func_iconv_const+set}" = set; then
39132 echo $ECHO_N "(cached) $ECHO_C" >&6
39134 cat >conftest.
$ac_ext <<_ACEOF
39137 cat confdefs.h
>>conftest.
$ac_ext
39138 cat >>conftest.
$ac_ext <<_ACEOF
39139 /* end confdefs.h. */
39141 #include <stdlib.h>
39147 #if defined(__STDC__) || defined(__cplusplus)
39148 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39161 rm -f conftest.
$ac_objext
39162 if { (ac_try
="$ac_compile"
39163 case "(($ac_try" in
39164 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39165 *) ac_try_echo=$ac_try;;
39167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39168 (eval "$ac_compile") 2>conftest.er1
39170 grep -v '^ *+' conftest.er1 >conftest.err
39172 cat conftest.err >&5
39173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39174 (exit $ac_status); } && {
39175 test -z "$ac_c_werror_flag" ||
39176 test ! -s conftest.err
39177 } && test -s conftest.$ac_objext; then
39178 wx_cv_func_iconv_const="no"
39180 echo "$as_me: failed program was:" >&5
39181 sed 's/^/| /' conftest.$ac_ext >&5
39183 wx_cv_func_iconv_const="yes"
39187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39190 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39191 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39194 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39195 iconv_const="const"
39199 cat >>confdefs.h <<_ACEOF
39200 #define ICONV_CONST $iconv_const
39205 if test "$am_cv_lib_iconv" = yes; then
39210 LIBS="$LIBICONV $LIBS"
39212 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39214 for ac_func in sigaction
39216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39217 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39219 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39220 echo $ECHO_N "(cached) $ECHO_C" >&6
39222 cat >conftest.$ac_ext <<_ACEOF
39225 cat confdefs.h >>conftest.$ac_ext
39226 cat >>conftest.$ac_ext <<_ACEOF
39227 /* end confdefs.h. */
39228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39230 #define $ac_func innocuous_$ac_func
39232 /* System header to define __stub macros and hopefully few prototypes,
39233 which can conflict with char $ac_func (); below.
39234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39235 <limits.h> exists even on freestanding compilers. */
39238 # include <limits.h>
39240 # include <assert.h>
39245 /* Override any GCC internal prototype to avoid an error.
39246 Use char because int might match the return type of a GCC
39247 builtin and then its argument prototype would still apply. */
39252 /* The GNU C library defines this for functions which it implements
39253 to always fail with ENOSYS. Some functions are actually named
39254 something starting with __ and the normal name is an alias. */
39255 #if defined __stub_$ac_func || defined __stub___$ac_func
39262 return $ac_func ();
39267 rm -f conftest.$ac_objext conftest$ac_exeext
39268 if { (ac_try="$ac_link"
39269 case "(($ac_try" in
39270 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39271 *) ac_try_echo
=$ac_try;;
39273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39274 (eval "$ac_link") 2>conftest.er1
39276 grep -v '^ *+' conftest.er1
>conftest.err
39278 cat conftest.err
>&5
39279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39280 (exit $ac_status); } && {
39281 test -z "$ac_c_werror_flag" ||
39282 test ! -s conftest.err
39283 } && test -s conftest
$ac_exeext &&
39284 $as_test_x conftest
$ac_exeext; then
39285 eval "$as_ac_var=yes"
39287 echo "$as_me: failed program was:" >&5
39288 sed 's/^/| /' conftest.
$ac_ext >&5
39290 eval "$as_ac_var=no"
39293 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39294 conftest
$ac_exeext conftest.
$ac_ext
39296 ac_res
=`eval echo '${'$as_ac_var'}'`
39297 { echo "$as_me:$LINENO: result: $ac_res" >&5
39298 echo "${ECHO_T}$ac_res" >&6; }
39299 if test `eval echo '${'$as_ac_var'}'` = yes; then
39300 cat >>confdefs.h
<<_ACEOF
39301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39308 if test "$ac_cv_func_sigaction" = "no"; then
39309 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39310 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39311 wxUSE_ON_FATAL_EXCEPTION
=no
39314 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39315 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39316 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39317 if test "${wx_cv_type_sa_handler+set}" = set; then
39318 echo $ECHO_N "(cached) $ECHO_C" >&6
39322 ac_cpp
='$CXXCPP $CPPFLAGS'
39323 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39324 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39325 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39327 cat >conftest.
$ac_ext <<_ACEOF
39330 cat confdefs.h
>>conftest.
$ac_ext
39331 cat >>conftest.
$ac_ext <<_ACEOF
39332 /* end confdefs.h. */
39333 #include <signal.h>
39338 extern void testSigHandler(int);
39340 struct sigaction sa;
39341 sa.sa_handler = testSigHandler;
39347 rm -f conftest.
$ac_objext
39348 if { (ac_try
="$ac_compile"
39349 case "(($ac_try" in
39350 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39351 *) ac_try_echo=$ac_try;;
39353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39354 (eval "$ac_compile") 2>conftest.er1
39356 grep -v '^ *+' conftest.er1 >conftest.err
39358 cat conftest.err >&5
39359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39360 (exit $ac_status); } && {
39361 test -z "$ac_cxx_werror_flag" ||
39362 test ! -s conftest.err
39363 } && test -s conftest.$ac_objext; then
39365 wx_cv_type_sa_handler=int
39368 echo "$as_me: failed program was:" >&5
39369 sed 's/^/| /' conftest.$ac_ext >&5
39372 wx_cv_type_sa_handler=void
39376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39378 ac_cpp='$CPP $CPPFLAGS'
39379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39385 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39386 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39388 cat >>confdefs.h <<_ACEOF
39389 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39395 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39396 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39397 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39398 if test "${wx_cv_func_backtrace+set}" = set; then
39399 echo $ECHO_N "(cached) $ECHO_C" >&6
39403 ac_cpp='$CXXCPP $CPPFLAGS'
39404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39408 cat >conftest.$ac_ext <<_ACEOF
39411 cat confdefs.h >>conftest.$ac_ext
39412 cat >>conftest.$ac_ext <<_ACEOF
39413 /* end confdefs.h. */
39414 #include <execinfo.h>
39422 backtrace(trace, 1);
39423 messages = backtrace_symbols(trace, 1);
39429 rm -f conftest.$ac_objext
39430 if { (ac_try="$ac_compile"
39431 case "(($ac_try" in
39432 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39433 *) ac_try_echo
=$ac_try;;
39435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39436 (eval "$ac_compile") 2>conftest.er1
39438 grep -v '^ *+' conftest.er1
>conftest.err
39440 cat conftest.err
>&5
39441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39442 (exit $ac_status); } && {
39443 test -z "$ac_cxx_werror_flag" ||
39444 test ! -s conftest.err
39445 } && test -s conftest.
$ac_objext; then
39446 wx_cv_func_backtrace
=yes
39448 echo "$as_me: failed program was:" >&5
39449 sed 's/^/| /' conftest.
$ac_ext >&5
39451 wx_cv_func_backtrace
=no
39455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39457 ac_cpp
='$CPP $CPPFLAGS'
39458 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39459 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39460 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39465 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39466 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39469 if test "$wx_cv_func_backtrace" = "no"; then
39470 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39471 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39472 wxUSE_STACKWALKER
=no
39474 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39475 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39476 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39477 echo $ECHO_N "(cached) $ECHO_C" >&6
39481 ac_cpp
='$CXXCPP $CPPFLAGS'
39482 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39483 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39484 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39486 cat >conftest.
$ac_ext <<_ACEOF
39489 cat confdefs.h
>>conftest.
$ac_ext
39490 cat >>conftest.
$ac_ext <<_ACEOF
39491 /* end confdefs.h. */
39492 #include <cxxabi.h>
39498 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39504 rm -f conftest.
$ac_objext conftest
$ac_exeext
39505 if { (ac_try
="$ac_link"
39506 case "(($ac_try" in
39507 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39508 *) ac_try_echo=$ac_try;;
39510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39511 (eval "$ac_link") 2>conftest.er1
39513 grep -v '^ *+' conftest.er1 >conftest.err
39515 cat conftest.err >&5
39516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39517 (exit $ac_status); } && {
39518 test -z "$ac_cxx_werror_flag" ||
39519 test ! -s conftest.err
39520 } && test -s conftest$ac_exeext &&
39521 $as_test_x conftest$ac_exeext; then
39522 wx_cv_func_cxa_demangle=yes
39524 echo "$as_me: failed program was:" >&5
39525 sed 's/^/| /' conftest.$ac_ext >&5
39527 wx_cv_func_cxa_demangle=no
39531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39532 conftest$ac_exeext conftest.$ac_ext
39534 ac_cpp='$CPP $CPPFLAGS'
39535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39542 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39543 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39545 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39546 cat >>confdefs.h <<\_ACEOF
39547 #define HAVE_CXA_DEMANGLE 1
39554 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39555 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39556 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39557 wxUSE_STACKWALKER=no
39563 for ac_func in mkstemp mktemp
39565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39566 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39568 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39569 echo $ECHO_N "(cached) $ECHO_C" >&6
39571 cat >conftest.$ac_ext <<_ACEOF
39574 cat confdefs.h >>conftest.$ac_ext
39575 cat >>conftest.$ac_ext <<_ACEOF
39576 /* end confdefs.h. */
39577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39579 #define $ac_func innocuous_$ac_func
39581 /* System header to define __stub macros and hopefully few prototypes,
39582 which can conflict with char $ac_func (); below.
39583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39584 <limits.h> exists even on freestanding compilers. */
39587 # include <limits.h>
39589 # include <assert.h>
39594 /* Override any GCC internal prototype to avoid an error.
39595 Use char because int might match the return type of a GCC
39596 builtin and then its argument prototype would still apply. */
39601 /* The GNU C library defines this for functions which it implements
39602 to always fail with ENOSYS. Some functions are actually named
39603 something starting with __ and the normal name is an alias. */
39604 #if defined __stub_$ac_func || defined __stub___$ac_func
39611 return $ac_func ();
39616 rm -f conftest.$ac_objext conftest$ac_exeext
39617 if { (ac_try="$ac_link"
39618 case "(($ac_try" in
39619 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39620 *) ac_try_echo
=$ac_try;;
39622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39623 (eval "$ac_link") 2>conftest.er1
39625 grep -v '^ *+' conftest.er1
>conftest.err
39627 cat conftest.err
>&5
39628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39629 (exit $ac_status); } && {
39630 test -z "$ac_c_werror_flag" ||
39631 test ! -s conftest.err
39632 } && test -s conftest
$ac_exeext &&
39633 $as_test_x conftest
$ac_exeext; then
39634 eval "$as_ac_var=yes"
39636 echo "$as_me: failed program was:" >&5
39637 sed 's/^/| /' conftest.
$ac_ext >&5
39639 eval "$as_ac_var=no"
39642 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39643 conftest
$ac_exeext conftest.
$ac_ext
39645 ac_res
=`eval echo '${'$as_ac_var'}'`
39646 { echo "$as_me:$LINENO: result: $ac_res" >&5
39647 echo "${ECHO_T}$ac_res" >&6; }
39648 if test `eval echo '${'$as_ac_var'}'` = yes; then
39649 cat >>confdefs.h
<<_ACEOF
39650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39657 { echo "$as_me:$LINENO: checking for statfs" >&5
39658 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39659 if test "${wx_cv_func_statfs+set}" = set; then
39660 echo $ECHO_N "(cached) $ECHO_C" >&6
39662 cat >conftest.
$ac_ext <<_ACEOF
39665 cat confdefs.h
>>conftest.
$ac_ext
39666 cat >>conftest.
$ac_ext <<_ACEOF
39667 /* end confdefs.h. */
39669 #if defined(__BSD__)
39670 #include <sys/param.h>
39671 #include <sys/mount.h>
39673 #include <sys/vfs.h>
39691 rm -f conftest.
$ac_objext
39692 if { (ac_try
="$ac_compile"
39693 case "(($ac_try" in
39694 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39695 *) ac_try_echo=$ac_try;;
39697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39698 (eval "$ac_compile") 2>conftest.er1
39700 grep -v '^ *+' conftest.er1 >conftest.err
39702 cat conftest.err >&5
39703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39704 (exit $ac_status); } && {
39705 test -z "$ac_c_werror_flag" ||
39706 test ! -s conftest.err
39707 } && test -s conftest.$ac_objext; then
39708 wx_cv_func_statfs=yes
39710 echo "$as_me: failed program was:" >&5
39711 sed 's/^/| /' conftest.$ac_ext >&5
39713 wx_cv_func_statfs=no
39717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39720 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39721 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39723 if test "$wx_cv_func_statfs" = "yes"; then
39724 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39725 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39726 if test "${wx_cv_func_statfs_decl+set}" = set; then
39727 echo $ECHO_N "(cached) $ECHO_C" >&6
39730 ac_cpp='$CXXCPP $CPPFLAGS'
39731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39735 cat >conftest.$ac_ext <<_ACEOF
39738 cat confdefs.h >>conftest.$ac_ext
39739 cat >>conftest.$ac_ext <<_ACEOF
39740 /* end confdefs.h. */
39742 #if defined(__BSD__)
39743 #include <sys/param.h>
39744 #include <sys/mount.h>
39746 #include <sys/vfs.h>
39760 rm -f conftest.$ac_objext
39761 if { (ac_try="$ac_compile"
39762 case "(($ac_try" in
39763 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39764 *) ac_try_echo
=$ac_try;;
39766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39767 (eval "$ac_compile") 2>conftest.er1
39769 grep -v '^ *+' conftest.er1
>conftest.err
39771 cat conftest.err
>&5
39772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39773 (exit $ac_status); } && {
39774 test -z "$ac_cxx_werror_flag" ||
39775 test ! -s conftest.err
39776 } && test -s conftest.
$ac_objext; then
39777 wx_cv_func_statfs_decl
=yes
39779 echo "$as_me: failed program was:" >&5
39780 sed 's/^/| /' conftest.
$ac_ext >&5
39782 wx_cv_func_statfs_decl
=no
39786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39788 ac_cpp
='$CPP $CPPFLAGS'
39789 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39790 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39791 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39795 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39796 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39798 if test "$wx_cv_func_statfs_decl" = "yes"; then
39799 cat >>confdefs.h
<<\_ACEOF
39800 #define HAVE_STATFS_DECL 1
39805 wx_cv_type_statvfs_t
="struct statfs"
39806 cat >>confdefs.h
<<\_ACEOF
39807 #define HAVE_STATFS 1
39811 { echo "$as_me:$LINENO: checking for statvfs" >&5
39812 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39813 if test "${wx_cv_func_statvfs+set}" = set; then
39814 echo $ECHO_N "(cached) $ECHO_C" >&6
39816 cat >conftest.
$ac_ext <<_ACEOF
39819 cat confdefs.h
>>conftest.
$ac_ext
39820 cat >>conftest.
$ac_ext <<_ACEOF
39821 /* end confdefs.h. */
39823 #include <stddef.h>
39824 #include <sys/statvfs.h>
39830 statvfs("/", NULL);
39836 rm -f conftest.
$ac_objext
39837 if { (ac_try
="$ac_compile"
39838 case "(($ac_try" in
39839 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39840 *) ac_try_echo=$ac_try;;
39842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39843 (eval "$ac_compile") 2>conftest.er1
39845 grep -v '^ *+' conftest.er1 >conftest.err
39847 cat conftest.err >&5
39848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39849 (exit $ac_status); } && {
39850 test -z "$ac_c_werror_flag" ||
39851 test ! -s conftest.err
39852 } && test -s conftest.$ac_objext; then
39853 wx_cv_func_statvfs=yes
39855 echo "$as_me: failed program was:" >&5
39856 sed 's/^/| /' conftest.$ac_ext >&5
39858 wx_cv_func_statvfs=no
39862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39865 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39866 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39868 if test "$wx_cv_func_statvfs" = "yes"; then
39869 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39870 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39871 if test "${wx_cv_type_statvfs_t+set}" = set; then
39872 echo $ECHO_N "(cached) $ECHO_C" >&6
39875 ac_cpp='$CXXCPP $CPPFLAGS'
39876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39880 cat >conftest.$ac_ext <<_ACEOF
39883 cat confdefs.h >>conftest.$ac_ext
39884 cat >>conftest.$ac_ext <<_ACEOF
39885 /* end confdefs.h. */
39887 #include <sys/statvfs.h>
39904 rm -f conftest.$ac_objext
39905 if { (ac_try="$ac_compile"
39906 case "(($ac_try" in
39907 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39908 *) ac_try_echo
=$ac_try;;
39910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39911 (eval "$ac_compile") 2>conftest.er1
39913 grep -v '^ *+' conftest.er1
>conftest.err
39915 cat conftest.err
>&5
39916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39917 (exit $ac_status); } && {
39918 test -z "$ac_cxx_werror_flag" ||
39919 test ! -s conftest.err
39920 } && test -s conftest.
$ac_objext; then
39921 wx_cv_type_statvfs_t
=statvfs_t
39923 echo "$as_me: failed program was:" >&5
39924 sed 's/^/| /' conftest.
$ac_ext >&5
39927 cat >conftest.
$ac_ext <<_ACEOF
39930 cat confdefs.h
>>conftest.
$ac_ext
39931 cat >>conftest.
$ac_ext <<_ACEOF
39932 /* end confdefs.h. */
39934 #include <sys/statvfs.h>
39951 rm -f conftest.
$ac_objext
39952 if { (ac_try
="$ac_compile"
39953 case "(($ac_try" in
39954 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39955 *) ac_try_echo=$ac_try;;
39957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39958 (eval "$ac_compile") 2>conftest.er1
39960 grep -v '^ *+' conftest.er1 >conftest.err
39962 cat conftest.err >&5
39963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39964 (exit $ac_status); } && {
39965 test -z "$ac_cxx_werror_flag" ||
39966 test ! -s conftest.err
39967 } && test -s conftest.$ac_objext; then
39968 wx_cv_type_statvfs_t="struct statvfs"
39970 echo "$as_me: failed program was:" >&5
39971 sed 's/^/| /' conftest.$ac_ext >&5
39973 wx_cv_type_statvfs_t="unknown"
39977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39984 ac_cpp='$CPP $CPPFLAGS'
39985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39991 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39992 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39994 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39995 cat >>confdefs.h <<\_ACEOF
39996 #define HAVE_STATVFS 1
40001 wx_cv_type_statvfs_t="unknown"
40005 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40006 cat >>confdefs.h <<_ACEOF
40007 #define WX_STATFS_T $wx_cv_type_statvfs_t
40011 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
40012 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
40015 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
40018 for ac_func in fcntl flock
40020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40021 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40023 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40024 echo $ECHO_N "(cached) $ECHO_C" >&6
40026 cat >conftest.$ac_ext <<_ACEOF
40029 cat confdefs.h >>conftest.$ac_ext
40030 cat >>conftest.$ac_ext <<_ACEOF
40031 /* end confdefs.h. */
40032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40034 #define $ac_func innocuous_$ac_func
40036 /* System header to define __stub macros and hopefully few prototypes,
40037 which can conflict with char $ac_func (); below.
40038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40039 <limits.h> exists even on freestanding compilers. */
40042 # include <limits.h>
40044 # include <assert.h>
40049 /* Override any GCC internal prototype to avoid an error.
40050 Use char because int might match the return type of a GCC
40051 builtin and then its argument prototype would still apply. */
40056 /* The GNU C library defines this for functions which it implements
40057 to always fail with ENOSYS. Some functions are actually named
40058 something starting with __ and the normal name is an alias. */
40059 #if defined __stub_$ac_func || defined __stub___$ac_func
40066 return $ac_func ();
40071 rm -f conftest.$ac_objext conftest$ac_exeext
40072 if { (ac_try="$ac_link"
40073 case "(($ac_try" in
40074 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40075 *) ac_try_echo
=$ac_try;;
40077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40078 (eval "$ac_link") 2>conftest.er1
40080 grep -v '^ *+' conftest.er1
>conftest.err
40082 cat conftest.err
>&5
40083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40084 (exit $ac_status); } && {
40085 test -z "$ac_c_werror_flag" ||
40086 test ! -s conftest.err
40087 } && test -s conftest
$ac_exeext &&
40088 $as_test_x conftest
$ac_exeext; then
40089 eval "$as_ac_var=yes"
40091 echo "$as_me: failed program was:" >&5
40092 sed 's/^/| /' conftest.
$ac_ext >&5
40094 eval "$as_ac_var=no"
40097 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40098 conftest
$ac_exeext conftest.
$ac_ext
40100 ac_res
=`eval echo '${'$as_ac_var'}'`
40101 { echo "$as_me:$LINENO: result: $ac_res" >&5
40102 echo "${ECHO_T}$ac_res" >&6; }
40103 if test `eval echo '${'$as_ac_var'}'` = yes; then
40104 cat >>confdefs.h
<<_ACEOF
40105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40112 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
40113 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
40114 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
40115 wxUSE_SNGLINST_CHECKER
=no
40120 for ac_func
in timegm
40122 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40123 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40125 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40126 echo $ECHO_N "(cached) $ECHO_C" >&6
40128 cat >conftest.
$ac_ext <<_ACEOF
40131 cat confdefs.h
>>conftest.
$ac_ext
40132 cat >>conftest.
$ac_ext <<_ACEOF
40133 /* end confdefs.h. */
40134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40136 #define $ac_func innocuous_$ac_func
40138 /* System header to define __stub macros and hopefully few prototypes,
40139 which can conflict with char $ac_func (); below.
40140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40141 <limits.h> exists even on freestanding compilers. */
40144 # include <limits.h>
40146 # include <assert.h>
40151 /* Override any GCC internal prototype to avoid an error.
40152 Use char because int might match the return type of a GCC
40153 builtin and then its argument prototype would still apply. */
40158 /* The GNU C library defines this for functions which it implements
40159 to always fail with ENOSYS. Some functions are actually named
40160 something starting with __ and the normal name is an alias. */
40161 #if defined __stub_$ac_func || defined __stub___$ac_func
40168 return $ac_func ();
40173 rm -f conftest.
$ac_objext conftest
$ac_exeext
40174 if { (ac_try
="$ac_link"
40175 case "(($ac_try" in
40176 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40177 *) ac_try_echo=$ac_try;;
40179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40180 (eval "$ac_link") 2>conftest.er1
40182 grep -v '^ *+' conftest.er1 >conftest.err
40184 cat conftest.err >&5
40185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40186 (exit $ac_status); } && {
40187 test -z "$ac_c_werror_flag" ||
40188 test ! -s conftest.err
40189 } && test -s conftest$ac_exeext &&
40190 $as_test_x conftest$ac_exeext; then
40191 eval "$as_ac_var=yes"
40193 echo "$as_me: failed program was:" >&5
40194 sed 's/^/| /' conftest.$ac_ext >&5
40196 eval "$as_ac_var=no"
40199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40200 conftest$ac_exeext conftest.$ac_ext
40202 ac_res=`eval echo '${'$as_ac_var'}'`
40203 { echo "$as_me:$LINENO: result: $ac_res" >&5
40204 echo "${ECHO_T}$ac_res" >&6; }
40205 if test `eval echo '${'$as_ac_var'}'` = yes; then
40206 cat >>confdefs.h <<_ACEOF
40207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40216 for ac_func in setenv putenv
40218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40219 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40221 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40222 echo $ECHO_N "(cached) $ECHO_C" >&6
40224 cat >conftest.$ac_ext <<_ACEOF
40227 cat confdefs.h >>conftest.$ac_ext
40228 cat >>conftest.$ac_ext <<_ACEOF
40229 /* end confdefs.h. */
40230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40232 #define $ac_func innocuous_$ac_func
40234 /* System header to define __stub macros and hopefully few prototypes,
40235 which can conflict with char $ac_func (); below.
40236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40237 <limits.h> exists even on freestanding compilers. */
40240 # include <limits.h>
40242 # include <assert.h>
40247 /* Override any GCC internal prototype to avoid an error.
40248 Use char because int might match the return type of a GCC
40249 builtin and then its argument prototype would still apply. */
40254 /* The GNU C library defines this for functions which it implements
40255 to always fail with ENOSYS. Some functions are actually named
40256 something starting with __ and the normal name is an alias. */
40257 #if defined __stub_$ac_func || defined __stub___$ac_func
40264 return $ac_func ();
40269 rm -f conftest.$ac_objext conftest$ac_exeext
40270 if { (ac_try="$ac_link"
40271 case "(($ac_try" in
40272 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40273 *) ac_try_echo
=$ac_try;;
40275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40276 (eval "$ac_link") 2>conftest.er1
40278 grep -v '^ *+' conftest.er1
>conftest.err
40280 cat conftest.err
>&5
40281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40282 (exit $ac_status); } && {
40283 test -z "$ac_c_werror_flag" ||
40284 test ! -s conftest.err
40285 } && test -s conftest
$ac_exeext &&
40286 $as_test_x conftest
$ac_exeext; then
40287 eval "$as_ac_var=yes"
40289 echo "$as_me: failed program was:" >&5
40290 sed 's/^/| /' conftest.
$ac_ext >&5
40292 eval "$as_ac_var=no"
40295 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40296 conftest
$ac_exeext conftest.
$ac_ext
40298 ac_res
=`eval echo '${'$as_ac_var'}'`
40299 { echo "$as_me:$LINENO: result: $ac_res" >&5
40300 echo "${ECHO_T}$ac_res" >&6; }
40301 if test `eval echo '${'$as_ac_var'}'` = yes; then
40302 cat >>confdefs.h
<<_ACEOF
40303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40310 HAVE_SOME_SLEEP_FUNC
=0
40311 if test "$USE_BEOS" = 1; then
40312 cat >>confdefs.h
<<\_ACEOF
40313 #define HAVE_SLEEP 1
40316 HAVE_SOME_SLEEP_FUNC
=1
40319 if test "$USE_DARWIN" = 1; then
40320 cat >>confdefs.h
<<\_ACEOF
40321 #define HAVE_USLEEP 1
40324 HAVE_SOME_SLEEP_FUNC
=1
40327 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40330 for ac_func
in nanosleep
40332 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40333 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40335 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40336 echo $ECHO_N "(cached) $ECHO_C" >&6
40338 cat >conftest.
$ac_ext <<_ACEOF
40341 cat confdefs.h
>>conftest.
$ac_ext
40342 cat >>conftest.
$ac_ext <<_ACEOF
40343 /* end confdefs.h. */
40344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40346 #define $ac_func innocuous_$ac_func
40348 /* System header to define __stub macros and hopefully few prototypes,
40349 which can conflict with char $ac_func (); below.
40350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40351 <limits.h> exists even on freestanding compilers. */
40354 # include <limits.h>
40356 # include <assert.h>
40361 /* Override any GCC internal prototype to avoid an error.
40362 Use char because int might match the return type of a GCC
40363 builtin and then its argument prototype would still apply. */
40368 /* The GNU C library defines this for functions which it implements
40369 to always fail with ENOSYS. Some functions are actually named
40370 something starting with __ and the normal name is an alias. */
40371 #if defined __stub_$ac_func || defined __stub___$ac_func
40378 return $ac_func ();
40383 rm -f conftest.
$ac_objext conftest
$ac_exeext
40384 if { (ac_try
="$ac_link"
40385 case "(($ac_try" in
40386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40387 *) ac_try_echo=$ac_try;;
40389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40390 (eval "$ac_link") 2>conftest.er1
40392 grep -v '^ *+' conftest.er1 >conftest.err
40394 cat conftest.err >&5
40395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40396 (exit $ac_status); } && {
40397 test -z "$ac_c_werror_flag" ||
40398 test ! -s conftest.err
40399 } && test -s conftest$ac_exeext &&
40400 $as_test_x conftest$ac_exeext; then
40401 eval "$as_ac_var=yes"
40403 echo "$as_me: failed program was:" >&5
40404 sed 's/^/| /' conftest.$ac_ext >&5
40406 eval "$as_ac_var=no"
40409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40410 conftest$ac_exeext conftest.$ac_ext
40412 ac_res=`eval echo '${'$as_ac_var'}'`
40413 { echo "$as_me:$LINENO: result: $ac_res" >&5
40414 echo "${ECHO_T}$ac_res" >&6; }
40415 if test `eval echo '${'$as_ac_var'}'` = yes; then
40416 cat >>confdefs.h <<_ACEOF
40417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40419 cat >>confdefs.h <<\_ACEOF
40420 #define HAVE_NANOSLEEP 1
40425 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40426 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40427 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40428 echo $ECHO_N "(cached) $ECHO_C" >&6
40430 ac_check_lib_save_LIBS=$LIBS
40431 LIBS="-lposix4 $LIBS"
40432 cat >conftest.$ac_ext <<_ACEOF
40435 cat confdefs.h >>conftest.$ac_ext
40436 cat >>conftest.$ac_ext <<_ACEOF
40437 /* end confdefs.h. */
40439 /* Override any GCC internal prototype to avoid an error.
40440 Use char because int might match the return type of a GCC
40441 builtin and then its argument prototype would still apply. */
40449 return nanosleep ();
40454 rm -f conftest.$ac_objext conftest$ac_exeext
40455 if { (ac_try="$ac_link"
40456 case "(($ac_try" in
40457 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40458 *) ac_try_echo
=$ac_try;;
40460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40461 (eval "$ac_link") 2>conftest.er1
40463 grep -v '^ *+' conftest.er1
>conftest.err
40465 cat conftest.err
>&5
40466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40467 (exit $ac_status); } && {
40468 test -z "$ac_c_werror_flag" ||
40469 test ! -s conftest.err
40470 } && test -s conftest
$ac_exeext &&
40471 $as_test_x conftest
$ac_exeext; then
40472 ac_cv_lib_posix4_nanosleep
=yes
40474 echo "$as_me: failed program was:" >&5
40475 sed 's/^/| /' conftest.
$ac_ext >&5
40477 ac_cv_lib_posix4_nanosleep
=no
40480 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40481 conftest
$ac_exeext conftest.
$ac_ext
40482 LIBS
=$ac_check_lib_save_LIBS
40484 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40485 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40486 if test $ac_cv_lib_posix4_nanosleep = yes; then
40488 cat >>confdefs.h
<<\_ACEOF
40489 #define HAVE_NANOSLEEP 1
40492 POSIX4_LINK
=" -lposix4"
40497 for wx_func
in usleep
40499 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40500 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40501 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40502 echo $ECHO_N "(cached) $ECHO_C" >&6
40505 cat >conftest.
$ac_ext <<_ACEOF
40509 cat confdefs.h
>>conftest.
$ac_ext
40510 cat >>conftest.
$ac_ext <<_ACEOF
40511 /* end confdefs.h. */
40514 $ac_includes_default
40530 rm -f conftest.
$ac_objext conftest
$ac_exeext
40531 if { (ac_try
="$ac_link"
40532 case "(($ac_try" in
40533 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40534 *) ac_try_echo=$ac_try;;
40536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40537 (eval "$ac_link") 2>conftest.er1
40539 grep -v '^ *+' conftest.er1 >conftest.err
40541 cat conftest.err >&5
40542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40543 (exit $ac_status); } && {
40544 test -z "$ac_c_werror_flag" ||
40545 test ! -s conftest.err
40546 } && test -s conftest$ac_exeext &&
40547 $as_test_x conftest$ac_exeext; then
40548 eval wx_cv_func_$wx_func=yes
40550 echo "$as_me: failed program was:" >&5
40551 sed 's/^/| /' conftest.$ac_ext >&5
40553 eval wx_cv_func_$wx_func=no
40556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40557 conftest$ac_exeext conftest.$ac_ext
40560 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40561 { echo "$as_me:$LINENO: result: $ac_res" >&5
40562 echo "${ECHO_T}$ac_res" >&6; }
40564 if eval test \$wx_cv_func_$wx_func = yes
40566 cat >>confdefs.h <<_ACEOF
40567 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40573 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40574 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40591 for wx_func in uname
40593 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40594 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40595 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40596 echo $ECHO_N "(cached) $ECHO_C" >&6
40599 cat >conftest.$ac_ext <<_ACEOF
40603 cat confdefs.h >>conftest.$ac_ext
40604 cat >>conftest.$ac_ext <<_ACEOF
40605 /* end confdefs.h. */
40607 #include <sys/utsname.h>
40608 $ac_includes_default
40624 rm -f conftest.$ac_objext conftest$ac_exeext
40625 if { (ac_try="$ac_link"
40626 case "(($ac_try" in
40627 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40628 *) ac_try_echo
=$ac_try;;
40630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40631 (eval "$ac_link") 2>conftest.er1
40633 grep -v '^ *+' conftest.er1
>conftest.err
40635 cat conftest.err
>&5
40636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40637 (exit $ac_status); } && {
40638 test -z "$ac_c_werror_flag" ||
40639 test ! -s conftest.err
40640 } && test -s conftest
$ac_exeext &&
40641 $as_test_x conftest
$ac_exeext; then
40642 eval wx_cv_func_
$wx_func=yes
40644 echo "$as_me: failed program was:" >&5
40645 sed 's/^/| /' conftest.
$ac_ext >&5
40647 eval wx_cv_func_
$wx_func=no
40650 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40651 conftest
$ac_exeext conftest.
$ac_ext
40654 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40655 { echo "$as_me:$LINENO: result: $ac_res" >&5
40656 echo "${ECHO_T}$ac_res" >&6; }
40658 if eval test \
$wx_cv_func_$wx_func = yes
40660 cat >>confdefs.h
<<_ACEOF
40661 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40671 if test "$wx_cv_func_uname" != yes; then
40673 for wx_func
in gethostname
40675 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40676 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40677 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40678 echo $ECHO_N "(cached) $ECHO_C" >&6
40681 cat >conftest.
$ac_ext <<_ACEOF
40685 cat confdefs.h
>>conftest.
$ac_ext
40686 cat >>conftest.
$ac_ext <<_ACEOF
40687 /* end confdefs.h. */
40690 $ac_includes_default
40706 rm -f conftest.
$ac_objext conftest
$ac_exeext
40707 if { (ac_try
="$ac_link"
40708 case "(($ac_try" in
40709 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40710 *) ac_try_echo=$ac_try;;
40712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40713 (eval "$ac_link") 2>conftest.er1
40715 grep -v '^ *+' conftest.er1 >conftest.err
40717 cat conftest.err >&5
40718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40719 (exit $ac_status); } && {
40720 test -z "$ac_c_werror_flag" ||
40721 test ! -s conftest.err
40722 } && test -s conftest$ac_exeext &&
40723 $as_test_x conftest$ac_exeext; then
40724 eval wx_cv_func_$wx_func=yes
40726 echo "$as_me: failed program was:" >&5
40727 sed 's/^/| /' conftest.$ac_ext >&5
40729 eval wx_cv_func_$wx_func=no
40732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40733 conftest$ac_exeext conftest.$ac_ext
40736 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40737 { echo "$as_me:$LINENO: result: $ac_res" >&5
40738 echo "${ECHO_T}$ac_res" >&6; }
40740 if eval test \$wx_cv_func_$wx_func = yes
40742 cat >>confdefs.h <<_ACEOF
40743 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40756 for wx_func in strtok_r
40758 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40759 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40760 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40761 echo $ECHO_N "(cached) $ECHO_C" >&6
40764 cat >conftest.$ac_ext <<_ACEOF
40768 cat confdefs.h >>conftest.$ac_ext
40769 cat >>conftest.$ac_ext <<_ACEOF
40770 /* end confdefs.h. */
40773 $ac_includes_default
40789 rm -f conftest.$ac_objext conftest$ac_exeext
40790 if { (ac_try="$ac_link"
40791 case "(($ac_try" in
40792 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40793 *) ac_try_echo
=$ac_try;;
40795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40796 (eval "$ac_link") 2>conftest.er1
40798 grep -v '^ *+' conftest.er1
>conftest.err
40800 cat conftest.err
>&5
40801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40802 (exit $ac_status); } && {
40803 test -z "$ac_c_werror_flag" ||
40804 test ! -s conftest.err
40805 } && test -s conftest
$ac_exeext &&
40806 $as_test_x conftest
$ac_exeext; then
40807 eval wx_cv_func_
$wx_func=yes
40809 echo "$as_me: failed program was:" >&5
40810 sed 's/^/| /' conftest.
$ac_ext >&5
40812 eval wx_cv_func_
$wx_func=no
40815 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40816 conftest
$ac_exeext conftest.
$ac_ext
40819 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40820 { echo "$as_me:$LINENO: result: $ac_res" >&5
40821 echo "${ECHO_T}$ac_res" >&6; }
40823 if eval test \
$wx_cv_func_$wx_func = yes
40825 cat >>confdefs.h
<<_ACEOF
40826 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40839 for ac_func
in inet_addr
40841 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40842 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40844 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40845 echo $ECHO_N "(cached) $ECHO_C" >&6
40847 cat >conftest.
$ac_ext <<_ACEOF
40850 cat confdefs.h
>>conftest.
$ac_ext
40851 cat >>conftest.
$ac_ext <<_ACEOF
40852 /* end confdefs.h. */
40853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40855 #define $ac_func innocuous_$ac_func
40857 /* System header to define __stub macros and hopefully few prototypes,
40858 which can conflict with char $ac_func (); below.
40859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40860 <limits.h> exists even on freestanding compilers. */
40863 # include <limits.h>
40865 # include <assert.h>
40870 /* Override any GCC internal prototype to avoid an error.
40871 Use char because int might match the return type of a GCC
40872 builtin and then its argument prototype would still apply. */
40877 /* The GNU C library defines this for functions which it implements
40878 to always fail with ENOSYS. Some functions are actually named
40879 something starting with __ and the normal name is an alias. */
40880 #if defined __stub_$ac_func || defined __stub___$ac_func
40887 return $ac_func ();
40892 rm -f conftest.
$ac_objext conftest
$ac_exeext
40893 if { (ac_try
="$ac_link"
40894 case "(($ac_try" in
40895 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40896 *) ac_try_echo=$ac_try;;
40898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40899 (eval "$ac_link") 2>conftest.er1
40901 grep -v '^ *+' conftest.er1 >conftest.err
40903 cat conftest.err >&5
40904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40905 (exit $ac_status); } && {
40906 test -z "$ac_c_werror_flag" ||
40907 test ! -s conftest.err
40908 } && test -s conftest$ac_exeext &&
40909 $as_test_x conftest$ac_exeext; then
40910 eval "$as_ac_var=yes"
40912 echo "$as_me: failed program was:" >&5
40913 sed 's/^/| /' conftest.$ac_ext >&5
40915 eval "$as_ac_var=no"
40918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40919 conftest$ac_exeext conftest.$ac_ext
40921 ac_res=`eval echo '${'$as_ac_var'}'`
40922 { echo "$as_me:$LINENO: result: $ac_res" >&5
40923 echo "${ECHO_T}$ac_res" >&6; }
40924 if test `eval echo '${'$as_ac_var'}'` = yes; then
40925 cat >>confdefs.h <<_ACEOF
40926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40928 cat >>confdefs.h <<\_ACEOF
40929 #define HAVE_INET_ADDR 1
40934 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40935 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40936 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40937 echo $ECHO_N "(cached) $ECHO_C" >&6
40939 ac_check_lib_save_LIBS=$LIBS
40941 cat >conftest.$ac_ext <<_ACEOF
40944 cat confdefs.h >>conftest.$ac_ext
40945 cat >>conftest.$ac_ext <<_ACEOF
40946 /* end confdefs.h. */
40948 /* Override any GCC internal prototype to avoid an error.
40949 Use char because int might match the return type of a GCC
40950 builtin and then its argument prototype would still apply. */
40958 return inet_addr ();
40963 rm -f conftest.$ac_objext conftest$ac_exeext
40964 if { (ac_try="$ac_link"
40965 case "(($ac_try" in
40966 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40967 *) ac_try_echo
=$ac_try;;
40969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40970 (eval "$ac_link") 2>conftest.er1
40972 grep -v '^ *+' conftest.er1
>conftest.err
40974 cat conftest.err
>&5
40975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40976 (exit $ac_status); } && {
40977 test -z "$ac_c_werror_flag" ||
40978 test ! -s conftest.err
40979 } && test -s conftest
$ac_exeext &&
40980 $as_test_x conftest
$ac_exeext; then
40981 ac_cv_lib_nsl_inet_addr
=yes
40983 echo "$as_me: failed program was:" >&5
40984 sed 's/^/| /' conftest.
$ac_ext >&5
40986 ac_cv_lib_nsl_inet_addr
=no
40989 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40990 conftest
$ac_exeext conftest.
$ac_ext
40991 LIBS
=$ac_check_lib_save_LIBS
40993 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40994 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40995 if test $ac_cv_lib_nsl_inet_addr = yes; then
40999 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
41000 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
41001 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
41002 echo $ECHO_N "(cached) $ECHO_C" >&6
41004 ac_check_lib_save_LIBS
=$LIBS
41005 LIBS
="-lresolv $LIBS"
41006 cat >conftest.
$ac_ext <<_ACEOF
41009 cat confdefs.h
>>conftest.
$ac_ext
41010 cat >>conftest.
$ac_ext <<_ACEOF
41011 /* end confdefs.h. */
41013 /* Override any GCC internal prototype to avoid an error.
41014 Use char because int might match the return type of a GCC
41015 builtin and then its argument prototype would still apply. */
41023 return inet_addr ();
41028 rm -f conftest.
$ac_objext conftest
$ac_exeext
41029 if { (ac_try
="$ac_link"
41030 case "(($ac_try" in
41031 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41032 *) ac_try_echo=$ac_try;;
41034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41035 (eval "$ac_link") 2>conftest.er1
41037 grep -v '^ *+' conftest.er1 >conftest.err
41039 cat conftest.err >&5
41040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41041 (exit $ac_status); } && {
41042 test -z "$ac_c_werror_flag" ||
41043 test ! -s conftest.err
41044 } && test -s conftest$ac_exeext &&
41045 $as_test_x conftest$ac_exeext; then
41046 ac_cv_lib_resolv_inet_addr=yes
41048 echo "$as_me: failed program was:" >&5
41049 sed 's/^/| /' conftest.$ac_ext >&5
41051 ac_cv_lib_resolv_inet_addr=no
41054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41055 conftest$ac_exeext conftest.$ac_ext
41056 LIBS=$ac_check_lib_save_LIBS
41058 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
41059 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
41060 if test $ac_cv_lib_resolv_inet_addr = yes; then
41064 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
41065 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
41066 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
41067 echo $ECHO_N "(cached) $ECHO_C" >&6
41069 ac_check_lib_save_LIBS=$LIBS
41070 LIBS="-lsocket $LIBS"
41071 cat >conftest.$ac_ext <<_ACEOF
41074 cat confdefs.h >>conftest.$ac_ext
41075 cat >>conftest.$ac_ext <<_ACEOF
41076 /* end confdefs.h. */
41078 /* Override any GCC internal prototype to avoid an error.
41079 Use char because int might match the return type of a GCC
41080 builtin and then its argument prototype would still apply. */
41088 return inet_addr ();
41093 rm -f conftest.$ac_objext conftest$ac_exeext
41094 if { (ac_try="$ac_link"
41095 case "(($ac_try" in
41096 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41097 *) ac_try_echo
=$ac_try;;
41099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41100 (eval "$ac_link") 2>conftest.er1
41102 grep -v '^ *+' conftest.er1
>conftest.err
41104 cat conftest.err
>&5
41105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41106 (exit $ac_status); } && {
41107 test -z "$ac_c_werror_flag" ||
41108 test ! -s conftest.err
41109 } && test -s conftest
$ac_exeext &&
41110 $as_test_x conftest
$ac_exeext; then
41111 ac_cv_lib_socket_inet_addr
=yes
41113 echo "$as_me: failed program was:" >&5
41114 sed 's/^/| /' conftest.
$ac_ext >&5
41116 ac_cv_lib_socket_inet_addr
=no
41119 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41120 conftest
$ac_exeext conftest.
$ac_ext
41121 LIBS
=$ac_check_lib_save_LIBS
41123 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
41124 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
41125 if test $ac_cv_lib_socket_inet_addr = yes; then
41145 for ac_func
in inet_aton
41147 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41148 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41150 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41151 echo $ECHO_N "(cached) $ECHO_C" >&6
41153 cat >conftest.
$ac_ext <<_ACEOF
41156 cat confdefs.h
>>conftest.
$ac_ext
41157 cat >>conftest.
$ac_ext <<_ACEOF
41158 /* end confdefs.h. */
41159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41161 #define $ac_func innocuous_$ac_func
41163 /* System header to define __stub macros and hopefully few prototypes,
41164 which can conflict with char $ac_func (); below.
41165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41166 <limits.h> exists even on freestanding compilers. */
41169 # include <limits.h>
41171 # include <assert.h>
41176 /* Override any GCC internal prototype to avoid an error.
41177 Use char because int might match the return type of a GCC
41178 builtin and then its argument prototype would still apply. */
41183 /* The GNU C library defines this for functions which it implements
41184 to always fail with ENOSYS. Some functions are actually named
41185 something starting with __ and the normal name is an alias. */
41186 #if defined __stub_$ac_func || defined __stub___$ac_func
41193 return $ac_func ();
41198 rm -f conftest.
$ac_objext conftest
$ac_exeext
41199 if { (ac_try
="$ac_link"
41200 case "(($ac_try" in
41201 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41202 *) ac_try_echo=$ac_try;;
41204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41205 (eval "$ac_link") 2>conftest.er1
41207 grep -v '^ *+' conftest.er1 >conftest.err
41209 cat conftest.err >&5
41210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41211 (exit $ac_status); } && {
41212 test -z "$ac_c_werror_flag" ||
41213 test ! -s conftest.err
41214 } && test -s conftest$ac_exeext &&
41215 $as_test_x conftest$ac_exeext; then
41216 eval "$as_ac_var=yes"
41218 echo "$as_me: failed program was:" >&5
41219 sed 's/^/| /' conftest.$ac_ext >&5
41221 eval "$as_ac_var=no"
41224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41225 conftest$ac_exeext conftest.$ac_ext
41227 ac_res=`eval echo '${'$as_ac_var'}'`
41228 { echo "$as_me:$LINENO: result: $ac_res" >&5
41229 echo "${ECHO_T}$ac_res" >&6; }
41230 if test `eval echo '${'$as_ac_var'}'` = yes; then
41231 cat >>confdefs.h <<_ACEOF
41232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41234 cat >>confdefs.h <<\_ACEOF
41235 #define HAVE_INET_ATON 1
41240 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41241 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41242 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41243 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41244 echo $ECHO_N "(cached) $ECHO_C" >&6
41246 ac_check_lib_save_LIBS=$LIBS
41247 LIBS="-l$INET_LINK $LIBS"
41248 cat >conftest.$ac_ext <<_ACEOF
41251 cat confdefs.h >>conftest.$ac_ext
41252 cat >>conftest.$ac_ext <<_ACEOF
41253 /* end confdefs.h. */
41255 /* Override any GCC internal prototype to avoid an error.
41256 Use char because int might match the return type of a GCC
41257 builtin and then its argument prototype would still apply. */
41265 return inet_aton ();
41270 rm -f conftest.$ac_objext conftest$ac_exeext
41271 if { (ac_try="$ac_link"
41272 case "(($ac_try" in
41273 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41274 *) ac_try_echo
=$ac_try;;
41276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41277 (eval "$ac_link") 2>conftest.er1
41279 grep -v '^ *+' conftest.er1
>conftest.err
41281 cat conftest.err
>&5
41282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41283 (exit $ac_status); } && {
41284 test -z "$ac_c_werror_flag" ||
41285 test ! -s conftest.err
41286 } && test -s conftest
$ac_exeext &&
41287 $as_test_x conftest
$ac_exeext; then
41288 eval "$as_ac_Lib=yes"
41290 echo "$as_me: failed program was:" >&5
41291 sed 's/^/| /' conftest.
$ac_ext >&5
41293 eval "$as_ac_Lib=no"
41296 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41297 conftest
$ac_exeext conftest.
$ac_ext
41298 LIBS
=$ac_check_lib_save_LIBS
41300 ac_res
=`eval echo '${'$as_ac_Lib'}'`
41301 { echo "$as_me:$LINENO: result: $ac_res" >&5
41302 echo "${ECHO_T}$ac_res" >&6; }
41303 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41304 cat >>confdefs.h
<<\_ACEOF
41305 #define HAVE_INET_ATON 1
41315 if test "x$INET_LINK" != "x"; then
41316 cat >>confdefs.h
<<\_ACEOF
41317 #define HAVE_INET_ADDR 1
41320 INET_LINK
=" -l$INET_LINK"
41324 for wx_func
in fdopen
41326 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41327 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41328 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41329 echo $ECHO_N "(cached) $ECHO_C" >&6
41332 cat >conftest.
$ac_ext <<_ACEOF
41336 cat confdefs.h
>>conftest.
$ac_ext
41337 cat >>conftest.
$ac_ext <<_ACEOF
41338 /* end confdefs.h. */
41341 $ac_includes_default
41357 rm -f conftest.
$ac_objext conftest
$ac_exeext
41358 if { (ac_try
="$ac_link"
41359 case "(($ac_try" in
41360 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41361 *) ac_try_echo=$ac_try;;
41363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41364 (eval "$ac_link") 2>conftest.er1
41366 grep -v '^ *+' conftest.er1 >conftest.err
41368 cat conftest.err >&5
41369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41370 (exit $ac_status); } && {
41371 test -z "$ac_c_werror_flag" ||
41372 test ! -s conftest.err
41373 } && test -s conftest$ac_exeext &&
41374 $as_test_x conftest$ac_exeext; then
41375 eval wx_cv_func_$wx_func=yes
41377 echo "$as_me: failed program was:" >&5
41378 sed 's/^/| /' conftest.$ac_ext >&5
41380 eval wx_cv_func_$wx_func=no
41383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41384 conftest$ac_exeext conftest.$ac_ext
41387 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41388 { echo "$as_me:$LINENO: result: $ac_res" >&5
41389 echo "${ECHO_T}$ac_res" >&6; }
41391 if eval test \$wx_cv_func_$wx_func = yes
41393 cat >>confdefs.h <<_ACEOF
41394 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41409 cat >confcache <<\_ACEOF
41410 # This file is a shell script that caches the results of configure
41411 # tests run on this system so they can be shared between configure
41412 # scripts and configure runs, see configure's option --config-cache.
41413 # It is not useful on other systems. If it contains results you don't
41414 # want to keep, you may remove or edit it.
41416 # config.status only pays attention to the cache file if you give it
41417 # the --recheck option to rerun configure.
41419 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
41420 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41421 # following values.
41425 # The following way of writing the cache mishandles newlines in values,
41426 # but we know of no workaround that is simple, portable, and efficient.
41427 # So, we kill variables containing newlines.
41428 # Ultrix sh set writes to stderr and can't be redirected directly,
41429 # and sets the high bit in the cache file unless we assign to the vars.
41431 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41432 eval ac_val
=\$
$ac_var
41436 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41437 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41440 _
| IFS
| as_nl
) ;; #(
41441 *) $as_unset $ac_var ;;
41447 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41448 *${as_nl}ac_space
=\
*)
41449 # `set' does not quote correctly, so add quotes (double-quote
41450 # substitution turns \\\\ into \\, and sed turns \\ into \).
41453 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41456 # `set' quotes correctly as required by POSIX, so do not add quotes.
41457 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41466 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41468 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41470 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41471 if test -w "$cache_file"; then
41472 test "x$cache_file" != "x/dev/null" &&
41473 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41474 echo "$as_me: updating cache $cache_file" >&6;}
41475 cat confcache
>$cache_file
41477 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41478 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41484 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41490 if test "$wxUSE_THREADS" = "yes" ; then
41491 if test "$USE_BEOS" = 1; then
41492 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41493 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41498 if test "$wxUSE_THREADS" = "yes" ; then
41501 THREAD_OPTS
="-pthread"
41502 if test "x$SUNCXX" = xyes
; then
41503 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
41507 *-*-solaris2* | *-*-sunos4* )
41508 if test "x$GCC" = "xyes"; then
41509 THREAD_OPTS
="-pthreads $THREAD_OPTS"
41513 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
41515 *-*-darwin* | *-*-cygwin* )
41519 THREAD_OPTS
="pthreads"
41522 if test "x$GCC" = "xyes"; then
41523 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
41531 if test "x$GCC" = "xyes"; then
41537 if test "x$GCC" != "xyes"; then
41538 THREAD_OPTS
="-Ethread"
41543 THREAD_OPTS
="$THREAD_OPTS pthread none"
41546 for flag
in $THREAD_OPTS; do
41549 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41550 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41554 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41555 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41556 THREADS_CFLAGS
="$flag"
41560 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41561 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41562 THREADS_LINK
="-l$flag"
41567 save_CFLAGS
="$CFLAGS"
41568 LIBS
="$THREADS_LINK $LIBS"
41569 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
41571 cat >conftest.
$ac_ext <<_ACEOF
41574 cat confdefs.h
>>conftest.
$ac_ext
41575 cat >>conftest.
$ac_ext <<_ACEOF
41576 /* end confdefs.h. */
41577 #include <pthread.h>
41581 pthread_create(0,0,0,0);
41586 rm -f conftest.
$ac_objext conftest
$ac_exeext
41587 if { (ac_try
="$ac_link"
41588 case "(($ac_try" in
41589 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41590 *) ac_try_echo=$ac_try;;
41592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41593 (eval "$ac_link") 2>conftest.er1
41595 grep -v '^ *+' conftest.er1 >conftest.err
41597 cat conftest.err >&5
41598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41599 (exit $ac_status); } && {
41600 test -z "$ac_c_werror_flag" ||
41601 test ! -s conftest.err
41602 } && test -s conftest$ac_exeext &&
41603 $as_test_x conftest$ac_exeext; then
41606 echo "$as_me: failed program was:" >&5
41607 sed 's/^/| /' conftest.$ac_ext >&5
41612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41613 conftest$ac_exeext conftest.$ac_ext
41616 CFLAGS="$save_CFLAGS"
41618 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41619 echo "${ECHO_T}$THREADS_OK" >&6; }
41620 if test "x$THREADS_OK" = "xyes"; then
41628 if test "x$THREADS_OK" != "xyes"; then
41630 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41631 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41633 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41634 LIBS="$THREADS_LINK $LIBS"
41636 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41637 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41641 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41642 flag="-D_THREAD_SAFE"
41645 flag="-D_THREAD_SAFE"
41648 flag="-D_REENTRANT"
41649 if test "x$GCC" != "xyes"; then
41650 flag="$flag -D_RWSTD_MULTI_THREAD"
41653 *solaris* | alpha*-osf*)
41654 flag="-D_REENTRANT"
41657 { echo "$as_me:$LINENO: result: ${flag}" >&5
41658 echo "${ECHO_T}${flag}" >&6; }
41659 if test "x$flag" != xno; then
41660 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41663 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41667 if test "$wxUSE_THREADS" = "yes" ; then
41669 for ac_func in thr_setconcurrency
41671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41672 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41674 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41675 echo $ECHO_N "(cached) $ECHO_C" >&6
41677 cat >conftest.$ac_ext <<_ACEOF
41680 cat confdefs.h >>conftest.$ac_ext
41681 cat >>conftest.$ac_ext <<_ACEOF
41682 /* end confdefs.h. */
41683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41685 #define $ac_func innocuous_$ac_func
41687 /* System header to define __stub macros and hopefully few prototypes,
41688 which can conflict with char $ac_func (); below.
41689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41690 <limits.h> exists even on freestanding compilers. */
41693 # include <limits.h>
41695 # include <assert.h>
41700 /* Override any GCC internal prototype to avoid an error.
41701 Use char because int might match the return type of a GCC
41702 builtin and then its argument prototype would still apply. */
41707 /* The GNU C library defines this for functions which it implements
41708 to always fail with ENOSYS. Some functions are actually named
41709 something starting with __ and the normal name is an alias. */
41710 #if defined __stub_$ac_func || defined __stub___$ac_func
41717 return $ac_func ();
41722 rm -f conftest.$ac_objext conftest$ac_exeext
41723 if { (ac_try="$ac_link"
41724 case "(($ac_try" in
41725 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41726 *) ac_try_echo
=$ac_try;;
41728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41729 (eval "$ac_link") 2>conftest.er1
41731 grep -v '^ *+' conftest.er1
>conftest.err
41733 cat conftest.err
>&5
41734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41735 (exit $ac_status); } && {
41736 test -z "$ac_c_werror_flag" ||
41737 test ! -s conftest.err
41738 } && test -s conftest
$ac_exeext &&
41739 $as_test_x conftest
$ac_exeext; then
41740 eval "$as_ac_var=yes"
41742 echo "$as_me: failed program was:" >&5
41743 sed 's/^/| /' conftest.
$ac_ext >&5
41745 eval "$as_ac_var=no"
41748 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41749 conftest
$ac_exeext conftest.
$ac_ext
41751 ac_res
=`eval echo '${'$as_ac_var'}'`
41752 { echo "$as_me:$LINENO: result: $ac_res" >&5
41753 echo "${ECHO_T}$ac_res" >&6; }
41754 if test `eval echo '${'$as_ac_var'}'` = yes; then
41755 cat >>confdefs.h
<<_ACEOF
41756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41763 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41764 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41765 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41766 echo $ECHO_N "(cached) $ECHO_C" >&6
41770 ac_cpp
='$CXXCPP $CPPFLAGS'
41771 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41772 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41773 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41775 cat >conftest.
$ac_ext <<_ACEOF
41778 cat confdefs.h
>>conftest.
$ac_ext
41779 cat >>conftest.
$ac_ext <<_ACEOF
41780 /* end confdefs.h. */
41781 #include <pthread.h>
41782 void ThreadCleanupFunc(void *p);
41789 pthread_cleanup_push(ThreadCleanupFunc, p);
41790 pthread_cleanup_pop(0);
41796 rm -f conftest.
$ac_objext
41797 if { (ac_try
="$ac_compile"
41798 case "(($ac_try" in
41799 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41800 *) ac_try_echo=$ac_try;;
41802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41803 (eval "$ac_compile") 2>conftest.er1
41805 grep -v '^ *+' conftest.er1 >conftest.err
41807 cat conftest.err >&5
41808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41809 (exit $ac_status); } && {
41810 test -z "$ac_cxx_werror_flag" ||
41811 test ! -s conftest.err
41812 } && test -s conftest.$ac_objext; then
41814 wx_cv_func_pthread_cleanup=yes
41817 echo "$as_me: failed program was:" >&5
41818 sed 's/^/| /' conftest.$ac_ext >&5
41821 wx_cv_func_pthread_cleanup=no
41826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41828 ac_cpp='$CPP $CPPFLAGS'
41829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41835 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41836 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41837 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41838 cat >>confdefs.h <<\_ACEOF
41839 #define wxHAVE_PTHREAD_CLEANUP 1
41845 for ac_header in sched.h
41847 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41848 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41850 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41851 echo $ECHO_N "(cached) $ECHO_C" >&6
41853 cat >conftest.$ac_ext <<_ACEOF
41856 cat confdefs.h >>conftest.$ac_ext
41857 cat >>conftest.$ac_ext <<_ACEOF
41858 /* end confdefs.h. */
41859 $ac_includes_default
41861 #include <$ac_header>
41863 rm -f conftest.$ac_objext
41864 if { (ac_try="$ac_compile"
41865 case "(($ac_try" in
41866 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41867 *) ac_try_echo
=$ac_try;;
41869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41870 (eval "$ac_compile") 2>conftest.er1
41872 grep -v '^ *+' conftest.er1
>conftest.err
41874 cat conftest.err
>&5
41875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41876 (exit $ac_status); } && {
41877 test -z "$ac_c_werror_flag" ||
41878 test ! -s conftest.err
41879 } && test -s conftest.
$ac_objext; then
41880 eval "$as_ac_Header=yes"
41882 echo "$as_me: failed program was:" >&5
41883 sed 's/^/| /' conftest.
$ac_ext >&5
41885 eval "$as_ac_Header=no"
41888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41890 ac_res
=`eval echo '${'$as_ac_Header'}'`
41891 { echo "$as_me:$LINENO: result: $ac_res" >&5
41892 echo "${ECHO_T}$ac_res" >&6; }
41893 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41894 cat >>confdefs.h
<<_ACEOF
41895 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41902 if test "$ac_cv_header_sched_h" = "yes"; then
41903 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41904 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41905 if test "${ac_cv_func_sched_yield+set}" = set; then
41906 echo $ECHO_N "(cached) $ECHO_C" >&6
41908 cat >conftest.
$ac_ext <<_ACEOF
41911 cat confdefs.h
>>conftest.
$ac_ext
41912 cat >>conftest.
$ac_ext <<_ACEOF
41913 /* end confdefs.h. */
41914 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41916 #define sched_yield innocuous_sched_yield
41918 /* System header to define __stub macros and hopefully few prototypes,
41919 which can conflict with char sched_yield (); below.
41920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41921 <limits.h> exists even on freestanding compilers. */
41924 # include <limits.h>
41926 # include <assert.h>
41931 /* Override any GCC internal prototype to avoid an error.
41932 Use char because int might match the return type of a GCC
41933 builtin and then its argument prototype would still apply. */
41937 char sched_yield ();
41938 /* The GNU C library defines this for functions which it implements
41939 to always fail with ENOSYS. Some functions are actually named
41940 something starting with __ and the normal name is an alias. */
41941 #if defined __stub_sched_yield || defined __stub___sched_yield
41948 return sched_yield ();
41953 rm -f conftest.
$ac_objext conftest
$ac_exeext
41954 if { (ac_try
="$ac_link"
41955 case "(($ac_try" in
41956 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41957 *) ac_try_echo=$ac_try;;
41959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41960 (eval "$ac_link") 2>conftest.er1
41962 grep -v '^ *+' conftest.er1 >conftest.err
41964 cat conftest.err >&5
41965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41966 (exit $ac_status); } && {
41967 test -z "$ac_c_werror_flag" ||
41968 test ! -s conftest.err
41969 } && test -s conftest$ac_exeext &&
41970 $as_test_x conftest$ac_exeext; then
41971 ac_cv_func_sched_yield=yes
41973 echo "$as_me: failed program was:" >&5
41974 sed 's/^/| /' conftest.$ac_ext >&5
41976 ac_cv_func_sched_yield=no
41979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41980 conftest$ac_exeext conftest.$ac_ext
41982 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41983 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41984 if test $ac_cv_func_sched_yield = yes; then
41985 cat >>confdefs.h <<\_ACEOF
41986 #define HAVE_SCHED_YIELD 1
41991 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41992 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41993 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41994 echo $ECHO_N "(cached) $ECHO_C" >&6
41996 ac_check_lib_save_LIBS=$LIBS
41997 LIBS="-lposix4 $LIBS"
41998 cat >conftest.$ac_ext <<_ACEOF
42001 cat confdefs.h >>conftest.$ac_ext
42002 cat >>conftest.$ac_ext <<_ACEOF
42003 /* end confdefs.h. */
42005 /* Override any GCC internal prototype to avoid an error.
42006 Use char because int might match the return type of a GCC
42007 builtin and then its argument prototype would still apply. */
42011 char sched_yield ();
42015 return sched_yield ();
42020 rm -f conftest.$ac_objext conftest$ac_exeext
42021 if { (ac_try="$ac_link"
42022 case "(($ac_try" in
42023 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42024 *) ac_try_echo
=$ac_try;;
42026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42027 (eval "$ac_link") 2>conftest.er1
42029 grep -v '^ *+' conftest.er1
>conftest.err
42031 cat conftest.err
>&5
42032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42033 (exit $ac_status); } && {
42034 test -z "$ac_c_werror_flag" ||
42035 test ! -s conftest.err
42036 } && test -s conftest
$ac_exeext &&
42037 $as_test_x conftest
$ac_exeext; then
42038 ac_cv_lib_posix4_sched_yield
=yes
42040 echo "$as_me: failed program was:" >&5
42041 sed 's/^/| /' conftest.
$ac_ext >&5
42043 ac_cv_lib_posix4_sched_yield
=no
42046 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42047 conftest
$ac_exeext conftest.
$ac_ext
42048 LIBS
=$ac_check_lib_save_LIBS
42050 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
42051 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
42052 if test $ac_cv_lib_posix4_sched_yield = yes; then
42053 cat >>confdefs.h
<<\_ACEOF
42054 #define HAVE_SCHED_YIELD 1
42056 POSIX4_LINK
=" -lposix4"
42058 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
42059 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
42070 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
42071 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
42072 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
42073 echo $ECHO_N "(cached) $ECHO_C" >&6
42075 cat >conftest.
$ac_ext <<_ACEOF
42078 cat confdefs.h
>>conftest.
$ac_ext
42079 cat >>conftest.
$ac_ext <<_ACEOF
42080 /* end confdefs.h. */
42081 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
42082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42083 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
42085 /* System header to define __stub macros and hopefully few prototypes,
42086 which can conflict with char pthread_attr_getschedpolicy (); below.
42087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42088 <limits.h> exists even on freestanding compilers. */
42091 # include <limits.h>
42093 # include <assert.h>
42096 #undef pthread_attr_getschedpolicy
42098 /* Override any GCC internal prototype to avoid an error.
42099 Use char because int might match the return type of a GCC
42100 builtin and then its argument prototype would still apply. */
42104 char pthread_attr_getschedpolicy ();
42105 /* The GNU C library defines this for functions which it implements
42106 to always fail with ENOSYS. Some functions are actually named
42107 something starting with __ and the normal name is an alias. */
42108 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
42115 return pthread_attr_getschedpolicy ();
42120 rm -f conftest.
$ac_objext conftest
$ac_exeext
42121 if { (ac_try
="$ac_link"
42122 case "(($ac_try" in
42123 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42124 *) ac_try_echo=$ac_try;;
42126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42127 (eval "$ac_link") 2>conftest.er1
42129 grep -v '^ *+' conftest.er1 >conftest.err
42131 cat conftest.err >&5
42132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42133 (exit $ac_status); } && {
42134 test -z "$ac_c_werror_flag" ||
42135 test ! -s conftest.err
42136 } && test -s conftest$ac_exeext &&
42137 $as_test_x conftest$ac_exeext; then
42138 ac_cv_func_pthread_attr_getschedpolicy=yes
42140 echo "$as_me: failed program was:" >&5
42141 sed 's/^/| /' conftest.$ac_ext >&5
42143 ac_cv_func_pthread_attr_getschedpolicy=no
42146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42147 conftest$ac_exeext conftest.$ac_ext
42149 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
42150 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
42151 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
42152 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
42153 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
42154 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
42155 echo $ECHO_N "(cached) $ECHO_C" >&6
42157 cat >conftest.$ac_ext <<_ACEOF
42160 cat confdefs.h >>conftest.$ac_ext
42161 cat >>conftest.$ac_ext <<_ACEOF
42162 /* end confdefs.h. */
42163 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
42164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42165 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
42167 /* System header to define __stub macros and hopefully few prototypes,
42168 which can conflict with char pthread_attr_setschedparam (); below.
42169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42170 <limits.h> exists even on freestanding compilers. */
42173 # include <limits.h>
42175 # include <assert.h>
42178 #undef pthread_attr_setschedparam
42180 /* Override any GCC internal prototype to avoid an error.
42181 Use char because int might match the return type of a GCC
42182 builtin and then its argument prototype would still apply. */
42186 char pthread_attr_setschedparam ();
42187 /* The GNU C library defines this for functions which it implements
42188 to always fail with ENOSYS. Some functions are actually named
42189 something starting with __ and the normal name is an alias. */
42190 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
42197 return pthread_attr_setschedparam ();
42202 rm -f conftest.$ac_objext conftest$ac_exeext
42203 if { (ac_try="$ac_link"
42204 case "(($ac_try" in
42205 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42206 *) ac_try_echo
=$ac_try;;
42208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42209 (eval "$ac_link") 2>conftest.er1
42211 grep -v '^ *+' conftest.er1
>conftest.err
42213 cat conftest.err
>&5
42214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42215 (exit $ac_status); } && {
42216 test -z "$ac_c_werror_flag" ||
42217 test ! -s conftest.err
42218 } && test -s conftest
$ac_exeext &&
42219 $as_test_x conftest
$ac_exeext; then
42220 ac_cv_func_pthread_attr_setschedparam
=yes
42222 echo "$as_me: failed program was:" >&5
42223 sed 's/^/| /' conftest.
$ac_ext >&5
42225 ac_cv_func_pthread_attr_setschedparam
=no
42228 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42229 conftest
$ac_exeext conftest.
$ac_ext
42231 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42232 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42233 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42234 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42235 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42236 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42237 echo $ECHO_N "(cached) $ECHO_C" >&6
42239 cat >conftest.
$ac_ext <<_ACEOF
42242 cat confdefs.h
>>conftest.
$ac_ext
42243 cat >>conftest.
$ac_ext <<_ACEOF
42244 /* end confdefs.h. */
42245 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42247 #define sched_get_priority_max innocuous_sched_get_priority_max
42249 /* System header to define __stub macros and hopefully few prototypes,
42250 which can conflict with char sched_get_priority_max (); below.
42251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42252 <limits.h> exists even on freestanding compilers. */
42255 # include <limits.h>
42257 # include <assert.h>
42260 #undef sched_get_priority_max
42262 /* Override any GCC internal prototype to avoid an error.
42263 Use char because int might match the return type of a GCC
42264 builtin and then its argument prototype would still apply. */
42268 char sched_get_priority_max ();
42269 /* The GNU C library defines this for functions which it implements
42270 to always fail with ENOSYS. Some functions are actually named
42271 something starting with __ and the normal name is an alias. */
42272 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42279 return sched_get_priority_max ();
42284 rm -f conftest.
$ac_objext conftest
$ac_exeext
42285 if { (ac_try
="$ac_link"
42286 case "(($ac_try" in
42287 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42288 *) ac_try_echo=$ac_try;;
42290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42291 (eval "$ac_link") 2>conftest.er1
42293 grep -v '^ *+' conftest.er1 >conftest.err
42295 cat conftest.err >&5
42296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42297 (exit $ac_status); } && {
42298 test -z "$ac_c_werror_flag" ||
42299 test ! -s conftest.err
42300 } && test -s conftest$ac_exeext &&
42301 $as_test_x conftest$ac_exeext; then
42302 ac_cv_func_sched_get_priority_max=yes
42304 echo "$as_me: failed program was:" >&5
42305 sed 's/^/| /' conftest.$ac_ext >&5
42307 ac_cv_func_sched_get_priority_max=no
42310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42311 conftest$ac_exeext conftest.$ac_ext
42313 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42314 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42315 if test $ac_cv_func_sched_get_priority_max = yes; then
42318 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42319 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42320 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42321 echo $ECHO_N "(cached) $ECHO_C" >&6
42323 ac_check_lib_save_LIBS=$LIBS
42324 LIBS="-lposix4 $LIBS"
42325 cat >conftest.$ac_ext <<_ACEOF
42328 cat confdefs.h >>conftest.$ac_ext
42329 cat >>conftest.$ac_ext <<_ACEOF
42330 /* end confdefs.h. */
42332 /* Override any GCC internal prototype to avoid an error.
42333 Use char because int might match the return type of a GCC
42334 builtin and then its argument prototype would still apply. */
42338 char sched_get_priority_max ();
42342 return sched_get_priority_max ();
42347 rm -f conftest.$ac_objext conftest$ac_exeext
42348 if { (ac_try="$ac_link"
42349 case "(($ac_try" in
42350 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42351 *) ac_try_echo
=$ac_try;;
42353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42354 (eval "$ac_link") 2>conftest.er1
42356 grep -v '^ *+' conftest.er1
>conftest.err
42358 cat conftest.err
>&5
42359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42360 (exit $ac_status); } && {
42361 test -z "$ac_c_werror_flag" ||
42362 test ! -s conftest.err
42363 } && test -s conftest
$ac_exeext &&
42364 $as_test_x conftest
$ac_exeext; then
42365 ac_cv_lib_posix4_sched_get_priority_max
=yes
42367 echo "$as_me: failed program was:" >&5
42368 sed 's/^/| /' conftest.
$ac_ext >&5
42370 ac_cv_lib_posix4_sched_get_priority_max
=no
42373 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42374 conftest
$ac_exeext conftest.
$ac_ext
42375 LIBS
=$ac_check_lib_save_LIBS
42377 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42378 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42379 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42382 POSIX4_LINK
=" -lposix4"
42396 if test "$HAVE_PRIOR_FUNCS" = 1; then
42397 cat >>confdefs.h
<<\_ACEOF
42398 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42402 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42403 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42406 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42407 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42408 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42409 echo $ECHO_N "(cached) $ECHO_C" >&6
42411 cat >conftest.
$ac_ext <<_ACEOF
42414 cat confdefs.h
>>conftest.
$ac_ext
42415 cat >>conftest.
$ac_ext <<_ACEOF
42416 /* end confdefs.h. */
42417 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42419 #define pthread_cancel innocuous_pthread_cancel
42421 /* System header to define __stub macros and hopefully few prototypes,
42422 which can conflict with char pthread_cancel (); below.
42423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42424 <limits.h> exists even on freestanding compilers. */
42427 # include <limits.h>
42429 # include <assert.h>
42432 #undef pthread_cancel
42434 /* Override any GCC internal prototype to avoid an error.
42435 Use char because int might match the return type of a GCC
42436 builtin and then its argument prototype would still apply. */
42440 char pthread_cancel ();
42441 /* The GNU C library defines this for functions which it implements
42442 to always fail with ENOSYS. Some functions are actually named
42443 something starting with __ and the normal name is an alias. */
42444 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42451 return pthread_cancel ();
42456 rm -f conftest.
$ac_objext conftest
$ac_exeext
42457 if { (ac_try
="$ac_link"
42458 case "(($ac_try" in
42459 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42460 *) ac_try_echo=$ac_try;;
42462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42463 (eval "$ac_link") 2>conftest.er1
42465 grep -v '^ *+' conftest.er1 >conftest.err
42467 cat conftest.err >&5
42468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42469 (exit $ac_status); } && {
42470 test -z "$ac_c_werror_flag" ||
42471 test ! -s conftest.err
42472 } && test -s conftest$ac_exeext &&
42473 $as_test_x conftest$ac_exeext; then
42474 ac_cv_func_pthread_cancel=yes
42476 echo "$as_me: failed program was:" >&5
42477 sed 's/^/| /' conftest.$ac_ext >&5
42479 ac_cv_func_pthread_cancel=no
42482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42483 conftest$ac_exeext conftest.$ac_ext
42485 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42486 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42487 if test $ac_cv_func_pthread_cancel = yes; then
42488 cat >>confdefs.h <<\_ACEOF
42489 #define HAVE_PTHREAD_CANCEL 1
42493 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42494 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42498 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42499 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42500 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42501 echo $ECHO_N "(cached) $ECHO_C" >&6
42503 cat >conftest.$ac_ext <<_ACEOF
42506 cat confdefs.h >>conftest.$ac_ext
42507 cat >>conftest.$ac_ext <<_ACEOF
42508 /* end confdefs.h. */
42509 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42511 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42513 /* System header to define __stub macros and hopefully few prototypes,
42514 which can conflict with char pthread_mutex_timedlock (); below.
42515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42516 <limits.h> exists even on freestanding compilers. */
42519 # include <limits.h>
42521 # include <assert.h>
42524 #undef pthread_mutex_timedlock
42526 /* Override any GCC internal prototype to avoid an error.
42527 Use char because int might match the return type of a GCC
42528 builtin and then its argument prototype would still apply. */
42532 char pthread_mutex_timedlock ();
42533 /* The GNU C library defines this for functions which it implements
42534 to always fail with ENOSYS. Some functions are actually named
42535 something starting with __ and the normal name is an alias. */
42536 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42543 return pthread_mutex_timedlock ();
42548 rm -f conftest.$ac_objext conftest$ac_exeext
42549 if { (ac_try="$ac_link"
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_link") 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_exeext &&
42565 $as_test_x conftest
$ac_exeext; then
42566 ac_cv_func_pthread_mutex_timedlock
=yes
42568 echo "$as_me: failed program was:" >&5
42569 sed 's/^/| /' conftest.
$ac_ext >&5
42571 ac_cv_func_pthread_mutex_timedlock
=no
42574 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42575 conftest
$ac_exeext conftest.
$ac_ext
42577 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42578 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42579 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42580 cat >>confdefs.h
<<\_ACEOF
42581 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42585 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42586 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42590 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42591 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42592 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42593 echo $ECHO_N "(cached) $ECHO_C" >&6
42595 cat >conftest.
$ac_ext <<_ACEOF
42598 cat confdefs.h
>>conftest.
$ac_ext
42599 cat >>conftest.
$ac_ext <<_ACEOF
42600 /* end confdefs.h. */
42601 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42603 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42605 /* System header to define __stub macros and hopefully few prototypes,
42606 which can conflict with char pthread_attr_setstacksize (); below.
42607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42608 <limits.h> exists even on freestanding compilers. */
42611 # include <limits.h>
42613 # include <assert.h>
42616 #undef pthread_attr_setstacksize
42618 /* Override any GCC internal prototype to avoid an error.
42619 Use char because int might match the return type of a GCC
42620 builtin and then its argument prototype would still apply. */
42624 char pthread_attr_setstacksize ();
42625 /* The GNU C library defines this for functions which it implements
42626 to always fail with ENOSYS. Some functions are actually named
42627 something starting with __ and the normal name is an alias. */
42628 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42635 return pthread_attr_setstacksize ();
42640 rm -f conftest.
$ac_objext conftest
$ac_exeext
42641 if { (ac_try
="$ac_link"
42642 case "(($ac_try" in
42643 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42644 *) ac_try_echo=$ac_try;;
42646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42647 (eval "$ac_link") 2>conftest.er1
42649 grep -v '^ *+' conftest.er1 >conftest.err
42651 cat conftest.err >&5
42652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42653 (exit $ac_status); } && {
42654 test -z "$ac_c_werror_flag" ||
42655 test ! -s conftest.err
42656 } && test -s conftest$ac_exeext &&
42657 $as_test_x conftest$ac_exeext; then
42658 ac_cv_func_pthread_attr_setstacksize=yes
42660 echo "$as_me: failed program was:" >&5
42661 sed 's/^/| /' conftest.$ac_ext >&5
42663 ac_cv_func_pthread_attr_setstacksize=no
42666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42667 conftest$ac_exeext conftest.$ac_ext
42669 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42670 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42671 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42672 cat >>confdefs.h <<\_ACEOF
42673 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42680 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42681 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42682 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42683 echo $ECHO_N "(cached) $ECHO_C" >&6
42686 cat >conftest.$ac_ext <<_ACEOF
42689 cat confdefs.h >>conftest.$ac_ext
42690 cat >>conftest.$ac_ext <<_ACEOF
42691 /* end confdefs.h. */
42692 #include <pthread.h>
42697 pthread_mutexattr_t attr;
42698 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42704 rm -f conftest.$ac_objext
42705 if { (ac_try="$ac_compile"
42706 case "(($ac_try" in
42707 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42708 *) ac_try_echo
=$ac_try;;
42710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42711 (eval "$ac_compile") 2>conftest.er1
42713 grep -v '^ *+' conftest.er1
>conftest.err
42715 cat conftest.err
>&5
42716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42717 (exit $ac_status); } && {
42718 test -z "$ac_c_werror_flag" ||
42719 test ! -s conftest.err
42720 } && test -s conftest.
$ac_objext; then
42721 wx_cv_type_pthread_mutexattr_t
=yes
42723 echo "$as_me: failed program was:" >&5
42724 sed 's/^/| /' conftest.
$ac_ext >&5
42726 wx_cv_type_pthread_mutexattr_t
=no
42730 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42733 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42734 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42736 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42737 cat >>confdefs.h
<<\_ACEOF
42738 #define HAVE_PTHREAD_MUTEXATTR_T 1
42742 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42743 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42744 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42745 echo $ECHO_N "(cached) $ECHO_C" >&6
42748 cat >conftest.
$ac_ext <<_ACEOF
42751 cat confdefs.h
>>conftest.
$ac_ext
42752 cat >>conftest.
$ac_ext <<_ACEOF
42753 /* end confdefs.h. */
42754 #include <pthread.h>
42759 pthread_mutexattr_t attr;
42760 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42766 rm -f conftest.
$ac_objext
42767 if { (ac_try
="$ac_compile"
42768 case "(($ac_try" in
42769 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42770 *) ac_try_echo=$ac_try;;
42772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42773 (eval "$ac_compile") 2>conftest.er1
42775 grep -v '^ *+' conftest.er1 >conftest.err
42777 cat conftest.err >&5
42778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42779 (exit $ac_status); } && {
42780 test -z "$ac_c_werror_flag" ||
42781 test ! -s conftest.err
42782 } && test -s conftest.$ac_objext; then
42783 wx_cv_func_pthread_mutexattr_settype_decl=yes
42785 echo "$as_me: failed program was:" >&5
42786 sed 's/^/| /' conftest.$ac_ext >&5
42788 wx_cv_func_pthread_mutexattr_settype_decl=no
42792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42795 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42796 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42797 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42798 cat >>confdefs.h <<\_ACEOF
42799 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42804 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42805 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42806 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42807 echo $ECHO_N "(cached) $ECHO_C" >&6
42810 cat >conftest.$ac_ext <<_ACEOF
42813 cat confdefs.h >>conftest.$ac_ext
42814 cat >>conftest.$ac_ext <<_ACEOF
42815 /* end confdefs.h. */
42816 #include <pthread.h>
42821 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42827 rm -f conftest.$ac_objext
42828 if { (ac_try="$ac_compile"
42829 case "(($ac_try" in
42830 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42831 *) ac_try_echo
=$ac_try;;
42833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42834 (eval "$ac_compile") 2>conftest.er1
42836 grep -v '^ *+' conftest.er1
>conftest.err
42838 cat conftest.err
>&5
42839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42840 (exit $ac_status); } && {
42841 test -z "$ac_c_werror_flag" ||
42842 test ! -s conftest.err
42843 } && test -s conftest.
$ac_objext; then
42845 wx_cv_type_pthread_rec_mutex_init
=yes
42848 echo "$as_me: failed program was:" >&5
42849 sed 's/^/| /' conftest.
$ac_ext >&5
42852 wx_cv_type_pthread_rec_mutex_init
=no
42857 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42860 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42861 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42862 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42863 cat >>confdefs.h
<<\_ACEOF
42864 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42868 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42869 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42875 if test "$wxUSE_THREADS" = "yes" ; then
42878 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42879 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42880 if test "${wx_cv_cflags_mthread+set}" = set; then
42881 echo $ECHO_N "(cached) $ECHO_C" >&6
42884 CFLAGS_OLD
="$CFLAGS"
42885 CFLAGS
="-mthreads $CFLAGS"
42886 cat >conftest.
$ac_ext <<_ACEOF
42889 cat confdefs.h
>>conftest.
$ac_ext
42890 cat >>conftest.
$ac_ext <<_ACEOF
42891 /* end confdefs.h. */
42901 rm -f conftest.
$ac_objext
42902 if { (ac_try
="$ac_compile"
42903 case "(($ac_try" in
42904 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42905 *) ac_try_echo=$ac_try;;
42907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42908 (eval "$ac_compile") 2>conftest.er1
42910 grep -v '^ *+' conftest.er1 >conftest.err
42912 cat conftest.err >&5
42913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42914 (exit $ac_status); } && {
42915 test -z "$ac_c_werror_flag" ||
42916 test ! -s conftest.err
42917 } && test -s conftest.$ac_objext; then
42918 wx_cv_cflags_mthread=yes
42920 echo "$as_me: failed program was:" >&5
42921 sed 's/^/| /' conftest.$ac_ext >&5
42923 wx_cv_cflags_mthread=no
42927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42931 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42932 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42934 if test "$wx_cv_cflags_mthread" = "yes"; then
42935 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42936 LDFLAGS="$LDFLAGS -mthreads"
42938 CFLAGS="$CFLAGS_OLD"
42942 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42943 LDFLAGS="$LDFLAGS -Zmt"
42949 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42950 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42951 if test "${ac_cv_func_localtime_r+set}" = set; then
42952 echo $ECHO_N "(cached) $ECHO_C" >&6
42954 cat >conftest.$ac_ext <<_ACEOF
42957 cat confdefs.h >>conftest.$ac_ext
42958 cat >>conftest.$ac_ext <<_ACEOF
42959 /* end confdefs.h. */
42960 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42962 #define localtime_r innocuous_localtime_r
42964 /* System header to define __stub macros and hopefully few prototypes,
42965 which can conflict with char localtime_r (); below.
42966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42967 <limits.h> exists even on freestanding compilers. */
42970 # include <limits.h>
42972 # include <assert.h>
42977 /* Override any GCC internal prototype to avoid an error.
42978 Use char because int might match the return type of a GCC
42979 builtin and then its argument prototype would still apply. */
42983 char localtime_r ();
42984 /* The GNU C library defines this for functions which it implements
42985 to always fail with ENOSYS. Some functions are actually named
42986 something starting with __ and the normal name is an alias. */
42987 #if defined __stub_localtime_r || defined __stub___localtime_r
42994 return localtime_r ();
42999 rm -f conftest.$ac_objext conftest$ac_exeext
43000 if { (ac_try="$ac_link"
43001 case "(($ac_try" in
43002 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43003 *) ac_try_echo
=$ac_try;;
43005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43006 (eval "$ac_link") 2>conftest.er1
43008 grep -v '^ *+' conftest.er1
>conftest.err
43010 cat conftest.err
>&5
43011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43012 (exit $ac_status); } && {
43013 test -z "$ac_c_werror_flag" ||
43014 test ! -s conftest.err
43015 } && test -s conftest
$ac_exeext &&
43016 $as_test_x conftest
$ac_exeext; then
43017 ac_cv_func_localtime_r
=yes
43019 echo "$as_me: failed program was:" >&5
43020 sed 's/^/| /' conftest.
$ac_ext >&5
43022 ac_cv_func_localtime_r
=no
43025 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43026 conftest
$ac_exeext conftest.
$ac_ext
43028 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
43029 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
43030 if test $ac_cv_func_localtime_r = yes; then
43031 cat >>confdefs.h
<<\_ACEOF
43032 #define HAVE_LOCALTIME_R 1
43037 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
43038 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
43039 if test "${ac_cv_func_gmtime_r+set}" = set; then
43040 echo $ECHO_N "(cached) $ECHO_C" >&6
43042 cat >conftest.
$ac_ext <<_ACEOF
43045 cat confdefs.h
>>conftest.
$ac_ext
43046 cat >>conftest.
$ac_ext <<_ACEOF
43047 /* end confdefs.h. */
43048 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
43049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43050 #define gmtime_r innocuous_gmtime_r
43052 /* System header to define __stub macros and hopefully few prototypes,
43053 which can conflict with char gmtime_r (); below.
43054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43055 <limits.h> exists even on freestanding compilers. */
43058 # include <limits.h>
43060 # include <assert.h>
43065 /* Override any GCC internal prototype to avoid an error.
43066 Use char because int might match the return type of a GCC
43067 builtin and then its argument prototype would still apply. */
43072 /* The GNU C library defines this for functions which it implements
43073 to always fail with ENOSYS. Some functions are actually named
43074 something starting with __ and the normal name is an alias. */
43075 #if defined __stub_gmtime_r || defined __stub___gmtime_r
43082 return gmtime_r ();
43087 rm -f conftest.
$ac_objext conftest
$ac_exeext
43088 if { (ac_try
="$ac_link"
43089 case "(($ac_try" in
43090 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43091 *) ac_try_echo=$ac_try;;
43093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43094 (eval "$ac_link") 2>conftest.er1
43096 grep -v '^ *+' conftest.er1 >conftest.err
43098 cat conftest.err >&5
43099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43100 (exit $ac_status); } && {
43101 test -z "$ac_c_werror_flag" ||
43102 test ! -s conftest.err
43103 } && test -s conftest$ac_exeext &&
43104 $as_test_x conftest$ac_exeext; then
43105 ac_cv_func_gmtime_r=yes
43107 echo "$as_me: failed program was:" >&5
43108 sed 's/^/| /' conftest.$ac_ext >&5
43110 ac_cv_func_gmtime_r=no
43113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43114 conftest$ac_exeext conftest.$ac_ext
43116 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
43117 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
43118 if test $ac_cv_func_gmtime_r = yes; then
43119 cat >>confdefs.h <<\_ACEOF
43120 #define HAVE_GMTIME_R 1
43125 { echo "$as_me:$LINENO: checking for readdir_r" >&5
43126 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
43127 if test "${ac_cv_func_readdir_r+set}" = set; then
43128 echo $ECHO_N "(cached) $ECHO_C" >&6
43130 cat >conftest.$ac_ext <<_ACEOF
43133 cat confdefs.h >>conftest.$ac_ext
43134 cat >>conftest.$ac_ext <<_ACEOF
43135 /* end confdefs.h. */
43136 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
43137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43138 #define readdir_r innocuous_readdir_r
43140 /* System header to define __stub macros and hopefully few prototypes,
43141 which can conflict with char readdir_r (); below.
43142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43143 <limits.h> exists even on freestanding compilers. */
43146 # include <limits.h>
43148 # include <assert.h>
43153 /* Override any GCC internal prototype to avoid an error.
43154 Use char because int might match the return type of a GCC
43155 builtin and then its argument prototype would still apply. */
43160 /* The GNU C library defines this for functions which it implements
43161 to always fail with ENOSYS. Some functions are actually named
43162 something starting with __ and the normal name is an alias. */
43163 #if defined __stub_readdir_r || defined __stub___readdir_r
43170 return readdir_r ();
43175 rm -f conftest.$ac_objext conftest$ac_exeext
43176 if { (ac_try="$ac_link"
43177 case "(($ac_try" in
43178 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43179 *) ac_try_echo
=$ac_try;;
43181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43182 (eval "$ac_link") 2>conftest.er1
43184 grep -v '^ *+' conftest.er1
>conftest.err
43186 cat conftest.err
>&5
43187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43188 (exit $ac_status); } && {
43189 test -z "$ac_c_werror_flag" ||
43190 test ! -s conftest.err
43191 } && test -s conftest
$ac_exeext &&
43192 $as_test_x conftest
$ac_exeext; then
43193 ac_cv_func_readdir_r
=yes
43195 echo "$as_me: failed program was:" >&5
43196 sed 's/^/| /' conftest.
$ac_ext >&5
43198 ac_cv_func_readdir_r
=no
43201 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43202 conftest
$ac_exeext conftest.
$ac_ext
43204 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
43205 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
43206 if test $ac_cv_func_readdir_r = yes; then
43207 cat >>confdefs.h
<<\_ACEOF
43208 #define HAVE_READDIR_R 1
43217 ac_cpp
='$CPP $CPPFLAGS'
43218 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43219 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43220 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43222 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43223 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
43225 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
43226 echo $ECHO_N "(cached) $ECHO_C" >&6
43230 ################################################################
43232 ac_cv_func_which_gethostbyname_r
=unknown
43235 # ONE ARGUMENT (sanity check)
43238 # This should fail, as there is no variant of gethostbyname_r() that takes
43239 # a single argument. If it actually compiles, then we can assume that
43240 # netdb.h is not declaring the function, and the compiler is thereby
43241 # assuming an implicit prototype. In which case, we're out of luck.
43243 cat >conftest.
$ac_ext <<_ACEOF
43246 cat confdefs.h
>>conftest.
$ac_ext
43247 cat >>conftest.
$ac_ext <<_ACEOF
43248 /* end confdefs.h. */
43254 char *name = "www.gnu.org";
43255 (void)gethostbyname_r(name) /* ; */
43261 rm -f conftest.
$ac_objext
43262 if { (ac_try
="$ac_compile"
43263 case "(($ac_try" in
43264 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43265 *) ac_try_echo=$ac_try;;
43267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43268 (eval "$ac_compile") 2>conftest.er1
43270 grep -v '^ *+' conftest.er1 >conftest.err
43272 cat conftest.err >&5
43273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43274 (exit $ac_status); } && {
43275 test -z "$ac_c_werror_flag" ||
43276 test ! -s conftest.err
43277 } && test -s conftest.$ac_objext; then
43278 ac_cv_func_which_gethostbyname_r=no
43280 echo "$as_me: failed program was:" >&5
43281 sed 's/^/| /' conftest.$ac_ext >&5
43286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43293 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43295 cat >conftest.$ac_ext <<_ACEOF
43298 cat confdefs.h >>conftest.$ac_ext
43299 cat >>conftest.$ac_ext <<_ACEOF
43300 /* end confdefs.h. */
43306 char *name = "www.gnu.org";
43307 struct hostent ret, *retp;
43311 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43317 rm -f conftest.$ac_objext
43318 if { (ac_try="$ac_compile"
43319 case "(($ac_try" in
43320 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43321 *) ac_try_echo
=$ac_try;;
43323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43324 (eval "$ac_compile") 2>conftest.er1
43326 grep -v '^ *+' conftest.er1
>conftest.err
43328 cat conftest.err
>&5
43329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43330 (exit $ac_status); } && {
43331 test -z "$ac_c_werror_flag" ||
43332 test ! -s conftest.err
43333 } && test -s conftest.
$ac_objext; then
43334 ac_cv_func_which_gethostbyname_r
=six
43336 echo "$as_me: failed program was:" >&5
43337 sed 's/^/| /' conftest.
$ac_ext >&5
43342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43351 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43353 cat >conftest.
$ac_ext <<_ACEOF
43356 cat confdefs.h
>>conftest.
$ac_ext
43357 cat >>conftest.
$ac_ext <<_ACEOF
43358 /* end confdefs.h. */
43364 char *name = "www.gnu.org";
43365 struct hostent ret;
43369 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43375 rm -f conftest.
$ac_objext
43376 if { (ac_try
="$ac_compile"
43377 case "(($ac_try" in
43378 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43379 *) ac_try_echo=$ac_try;;
43381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43382 (eval "$ac_compile") 2>conftest.er1
43384 grep -v '^ *+' conftest.er1 >conftest.err
43386 cat conftest.err >&5
43387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43388 (exit $ac_status); } && {
43389 test -z "$ac_c_werror_flag" ||
43390 test ! -s conftest.err
43391 } && test -s conftest.$ac_objext; then
43392 ac_cv_func_which_gethostbyname_r=five
43394 echo "$as_me: failed program was:" >&5
43395 sed 's/^/| /' conftest.$ac_ext >&5
43400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43406 # (e.g. AIX, HP-UX, Tru64)
43409 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43411 cat >conftest.$ac_ext <<_ACEOF
43414 cat confdefs.h >>conftest.$ac_ext
43415 cat >>conftest.$ac_ext <<_ACEOF
43416 /* end confdefs.h. */
43422 char *name = "www.gnu.org";
43423 struct hostent ret;
43424 struct hostent_data data;
43425 (void)gethostbyname_r(name, &ret, &data) /* ; */
43431 rm -f conftest.$ac_objext
43432 if { (ac_try="$ac_compile"
43433 case "(($ac_try" in
43434 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43435 *) ac_try_echo
=$ac_try;;
43437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43438 (eval "$ac_compile") 2>conftest.er1
43440 grep -v '^ *+' conftest.er1
>conftest.err
43442 cat conftest.err
>&5
43443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43444 (exit $ac_status); } && {
43445 test -z "$ac_c_werror_flag" ||
43446 test ! -s conftest.err
43447 } && test -s conftest.
$ac_objext; then
43448 ac_cv_func_which_gethostbyname_r
=three
43450 echo "$as_me: failed program was:" >&5
43451 sed 's/^/| /' conftest.
$ac_ext >&5
43456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43460 ################################################################
43465 case "$ac_cv_func_which_gethostbyname_r" in
43467 { echo "$as_me:$LINENO: result: three" >&5
43468 echo "${ECHO_T}three" >&6; }
43469 cat >>confdefs.h
<<\_ACEOF
43470 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43476 { echo "$as_me:$LINENO: result: five" >&5
43477 echo "${ECHO_T}five" >&6; }
43478 cat >>confdefs.h
<<\_ACEOF
43479 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43485 { echo "$as_me:$LINENO: result: six" >&5
43486 echo "${ECHO_T}six" >&6; }
43487 cat >>confdefs.h
<<\_ACEOF
43488 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43494 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43495 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43499 { echo "$as_me:$LINENO: result: can't tell" >&5
43500 echo "${ECHO_T}can't tell" >&6; }
43504 { { echo "$as_me:$LINENO: error: internal error" >&5
43505 echo "$as_me: error: internal error" >&2;}
43506 { (exit 1); exit 1; }; }
43511 ac_cpp
='$CPP $CPPFLAGS'
43512 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43513 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43514 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43518 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43519 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43520 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43521 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43522 if test "${ac_cv_func_gethostbyname+set}" = set; then
43523 echo $ECHO_N "(cached) $ECHO_C" >&6
43525 cat >conftest.
$ac_ext <<_ACEOF
43528 cat confdefs.h
>>conftest.
$ac_ext
43529 cat >>conftest.
$ac_ext <<_ACEOF
43530 /* end confdefs.h. */
43531 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43533 #define gethostbyname innocuous_gethostbyname
43535 /* System header to define __stub macros and hopefully few prototypes,
43536 which can conflict with char gethostbyname (); below.
43537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43538 <limits.h> exists even on freestanding compilers. */
43541 # include <limits.h>
43543 # include <assert.h>
43546 #undef gethostbyname
43548 /* Override any GCC internal prototype to avoid an error.
43549 Use char because int might match the return type of a GCC
43550 builtin and then its argument prototype would still apply. */
43554 char gethostbyname ();
43555 /* The GNU C library defines this for functions which it implements
43556 to always fail with ENOSYS. Some functions are actually named
43557 something starting with __ and the normal name is an alias. */
43558 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43565 return gethostbyname ();
43570 rm -f conftest.
$ac_objext conftest
$ac_exeext
43571 if { (ac_try
="$ac_link"
43572 case "(($ac_try" in
43573 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43574 *) ac_try_echo=$ac_try;;
43576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43577 (eval "$ac_link") 2>conftest.er1
43579 grep -v '^ *+' conftest.er1 >conftest.err
43581 cat conftest.err >&5
43582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43583 (exit $ac_status); } && {
43584 test -z "$ac_c_werror_flag" ||
43585 test ! -s conftest.err
43586 } && test -s conftest$ac_exeext &&
43587 $as_test_x conftest$ac_exeext; then
43588 ac_cv_func_gethostbyname=yes
43590 echo "$as_me: failed program was:" >&5
43591 sed 's/^/| /' conftest.$ac_ext >&5
43593 ac_cv_func_gethostbyname=no
43596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43597 conftest$ac_exeext conftest.$ac_ext
43599 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43600 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43601 if test $ac_cv_func_gethostbyname = yes; then
43602 cat >>confdefs.h <<\_ACEOF
43603 #define HAVE_GETHOSTBYNAME 1
43610 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43611 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43612 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43613 echo $ECHO_N "(cached) $ECHO_C" >&6
43617 ac_cpp='$CXXCPP $CPPFLAGS'
43618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43623 cat >conftest.$ac_ext <<_ACEOF
43626 cat confdefs.h >>conftest.$ac_ext
43627 cat >>conftest.$ac_ext <<_ACEOF
43628 /* end confdefs.h. */
43636 struct servent *se, *res;
43639 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43645 rm -f conftest.$ac_objext
43646 if { (ac_try="$ac_compile"
43647 case "(($ac_try" in
43648 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43649 *) ac_try_echo
=$ac_try;;
43651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43652 (eval "$ac_compile") 2>conftest.er1
43654 grep -v '^ *+' conftest.er1
>conftest.err
43656 cat conftest.err
>&5
43657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43658 (exit $ac_status); } && {
43659 test -z "$ac_cxx_werror_flag" ||
43660 test ! -s conftest.err
43661 } && test -s conftest.
$ac_objext; then
43662 ac_cv_func_which_getservbyname_r
=six
43664 echo "$as_me: failed program was:" >&5
43665 sed 's/^/| /' conftest.
$ac_ext >&5
43668 cat >conftest.
$ac_ext <<_ACEOF
43671 cat confdefs.h
>>conftest.
$ac_ext
43672 cat >>conftest.
$ac_ext <<_ACEOF
43673 /* end confdefs.h. */
43681 struct servent *se;
43684 (void) getservbyname_r(name, proto, se, buffer, buflen)
43690 rm -f conftest.
$ac_objext
43691 if { (ac_try
="$ac_compile"
43692 case "(($ac_try" in
43693 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43694 *) ac_try_echo=$ac_try;;
43696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43697 (eval "$ac_compile") 2>conftest.er1
43699 grep -v '^ *+' conftest.er1 >conftest.err
43701 cat conftest.err >&5
43702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43703 (exit $ac_status); } && {
43704 test -z "$ac_cxx_werror_flag" ||
43705 test ! -s conftest.err
43706 } && test -s conftest.$ac_objext; then
43707 ac_cv_func_which_getservbyname_r=five
43709 echo "$as_me: failed program was:" >&5
43710 sed 's/^/| /' conftest.$ac_ext >&5
43713 cat >conftest.$ac_ext <<_ACEOF
43716 cat confdefs.h >>conftest.$ac_ext
43717 cat >>conftest.$ac_ext <<_ACEOF
43718 /* end confdefs.h. */
43726 struct servent *se;
43727 struct servent_data data;
43728 (void) getservbyname_r(name, proto, se, &data);
43734 rm -f conftest.$ac_objext
43735 if { (ac_try="$ac_compile"
43736 case "(($ac_try" in
43737 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43738 *) ac_try_echo
=$ac_try;;
43740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43741 (eval "$ac_compile") 2>conftest.er1
43743 grep -v '^ *+' conftest.er1
>conftest.err
43745 cat conftest.err
>&5
43746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43747 (exit $ac_status); } && {
43748 test -z "$ac_cxx_werror_flag" ||
43749 test ! -s conftest.err
43750 } && test -s conftest.
$ac_objext; then
43751 ac_cv_func_which_getservbyname_r
=four
43753 echo "$as_me: failed program was:" >&5
43754 sed 's/^/| /' conftest.
$ac_ext >&5
43756 ac_cv_func_which_getservbyname_r
=no
43760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43765 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43772 ac_cpp
='$CPP $CPPFLAGS'
43773 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43774 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43775 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43780 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43781 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43783 if test $ac_cv_func_which_getservbyname_r = six
; then
43784 cat >>confdefs.h
<<\_ACEOF
43785 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43788 elif test $ac_cv_func_which_getservbyname_r = five
; then
43789 cat >>confdefs.h
<<\_ACEOF
43790 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43793 elif test $ac_cv_func_which_getservbyname_r = four
; then
43794 cat >>confdefs.h
<<\_ACEOF
43795 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43801 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43802 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43804 for ac_func
in getservbyname
43806 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43807 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43809 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43810 echo $ECHO_N "(cached) $ECHO_C" >&6
43812 cat >conftest.
$ac_ext <<_ACEOF
43815 cat confdefs.h
>>conftest.
$ac_ext
43816 cat >>conftest.
$ac_ext <<_ACEOF
43817 /* end confdefs.h. */
43818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43820 #define $ac_func innocuous_$ac_func
43822 /* System header to define __stub macros and hopefully few prototypes,
43823 which can conflict with char $ac_func (); below.
43824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43825 <limits.h> exists even on freestanding compilers. */
43828 # include <limits.h>
43830 # include <assert.h>
43835 /* Override any GCC internal prototype to avoid an error.
43836 Use char because int might match the return type of a GCC
43837 builtin and then its argument prototype would still apply. */
43842 /* The GNU C library defines this for functions which it implements
43843 to always fail with ENOSYS. Some functions are actually named
43844 something starting with __ and the normal name is an alias. */
43845 #if defined __stub_$ac_func || defined __stub___$ac_func
43852 return $ac_func ();
43857 rm -f conftest.
$ac_objext conftest
$ac_exeext
43858 if { (ac_try
="$ac_link"
43859 case "(($ac_try" in
43860 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43861 *) ac_try_echo=$ac_try;;
43863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43864 (eval "$ac_link") 2>conftest.er1
43866 grep -v '^ *+' conftest.er1 >conftest.err
43868 cat conftest.err >&5
43869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43870 (exit $ac_status); } && {
43871 test -z "$ac_c_werror_flag" ||
43872 test ! -s conftest.err
43873 } && test -s conftest$ac_exeext &&
43874 $as_test_x conftest$ac_exeext; then
43875 eval "$as_ac_var=yes"
43877 echo "$as_me: failed program was:" >&5
43878 sed 's/^/| /' conftest.$ac_ext >&5
43880 eval "$as_ac_var=no"
43883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43884 conftest$ac_exeext conftest.$ac_ext
43886 ac_res=`eval echo '${'$as_ac_var'}'`
43887 { echo "$as_me:$LINENO: result: $ac_res" >&5
43888 echo "${ECHO_T}$ac_res" >&6; }
43889 if test `eval echo '${'$as_ac_var'}'` = yes; then
43890 cat >>confdefs.h <<_ACEOF
43891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43893 cat >>confdefs.h <<\_ACEOF
43894 #define HAVE_GETSERVBYNAME 1
43902 if test "$wxUSE_THREADS" = "yes"; then
43903 cat >>confdefs.h <<\_ACEOF
43904 #define wxUSE_THREADS 1
43908 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43910 if test "$wx_cv_func_strtok_r" = "yes"; then
43911 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43912 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43913 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43914 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43915 { echo "$as_me:$LINENO: result: yes" >&5
43916 echo "${ECHO_T}yes" >&6; }
43918 { echo "$as_me:$LINENO: result: no" >&5
43919 echo "${ECHO_T}no" >&6; }
43924 if test "$WXGTK20" = 1 ; then
43925 cat >>confdefs.h <<_ACEOF
43926 #define __WXGTK20__ $WXGTK20
43932 if test "$WXGTK12" = 1 ; then
43933 cat >>confdefs.h <<_ACEOF
43934 #define __WXGTK12__ $WXGTK12
43939 if test "$WXGTK127" = 1 ; then
43940 cat >>confdefs.h <<_ACEOF
43941 #define __WXGTK127__ $WXGTK127
43946 if test "$WXGPE" = 1 ; then
43947 cat >>confdefs.h <<_ACEOF
43948 #define __WXGPE__ $WXGPE
43954 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43959 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43960 wxUSE_DEBUG_INFO=yes
43961 if test "$GCC" = yes; then
43962 DEBUG_CFLAGS="-ggdb"
43966 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43967 cat >>confdefs.h <<\_ACEOF
43971 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43973 if test "$wxUSE_GTK" = 1 ; then
43974 if test "x$wxGTK_VERSION" = "x1" ; then
43975 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43980 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43981 cat >>confdefs.h <<\_ACEOF
43982 #define wxUSE_MEMORY_TRACING 1
43985 cat >>confdefs.h <<\_ACEOF
43986 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43989 cat >>confdefs.h <<\_ACEOF
43990 #define wxUSE_DEBUG_NEW_ALWAYS 1
43993 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43996 if test "$wxUSE_DMALLOC" = "yes" ; then
43997 DMALLOC_LIBS="-ldmallocthcxx"
44001 if test "$wxUSE_PROFILE" = "yes" ; then
44002 PROFILE_FLAGS=" -pg"
44005 if test "$GCC" = "yes" ; then
44006 if test "$wxUSE_NO_RTTI" = "yes" ; then
44007 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
44009 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44010 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
44012 if test "$wxUSE_PERMISSIVE" = "yes" ; then
44013 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
44018 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
44021 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
44027 if test "$wxUSE_OPTIMISE" = "no" ; then
44028 if test "$GCC" = yes ; then
44029 OPTIMISE_CFLAGS="-O0"
44032 if test "$GCC" = yes ; then
44034 *-pc-os2_emx | *-pc-os2-emx )
44035 OPTIMISE_CFLAGS="-O2"
44038 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
44042 OPTIMISE_CFLAGS="-O"
44047 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
44048 cat >>confdefs.h <<\_ACEOF
44049 #define WXWIN_COMPATIBILITY_2_6 1
44053 WXWIN_COMPATIBILITY_2_8="yes"
44056 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
44057 cat >>confdefs.h <<\_ACEOF
44058 #define WXWIN_COMPATIBILITY_2_8 1
44064 if test "$wxUSE_GUI" = "yes"; then
44065 cat >>confdefs.h <<\_ACEOF
44066 #define wxUSE_GUI 1
44073 if test "$wxUSE_UNIX" = "yes"; then
44074 cat >>confdefs.h <<\_ACEOF
44075 #define wxUSE_UNIX 1
44081 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
44085 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44086 if test "$USE_DARWIN" = 1; then
44088 elif test "$USE_DOS" = 1; then
44092 for ac_func in dlopen
44094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44095 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44097 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44098 echo $ECHO_N "(cached) $ECHO_C" >&6
44100 cat >conftest.$ac_ext <<_ACEOF
44103 cat confdefs.h >>conftest.$ac_ext
44104 cat >>conftest.$ac_ext <<_ACEOF
44105 /* end confdefs.h. */
44106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44108 #define $ac_func innocuous_$ac_func
44110 /* System header to define __stub macros and hopefully few prototypes,
44111 which can conflict with char $ac_func (); below.
44112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44113 <limits.h> exists even on freestanding compilers. */
44116 # include <limits.h>
44118 # include <assert.h>
44123 /* Override any GCC internal prototype to avoid an error.
44124 Use char because int might match the return type of a GCC
44125 builtin and then its argument prototype would still apply. */
44130 /* The GNU C library defines this for functions which it implements
44131 to always fail with ENOSYS. Some functions are actually named
44132 something starting with __ and the normal name is an alias. */
44133 #if defined __stub_$ac_func || defined __stub___$ac_func
44140 return $ac_func ();
44145 rm -f conftest.$ac_objext conftest$ac_exeext
44146 if { (ac_try="$ac_link"
44147 case "(($ac_try" in
44148 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44149 *) ac_try_echo
=$ac_try;;
44151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44152 (eval "$ac_link") 2>conftest.er1
44154 grep -v '^ *+' conftest.er1
>conftest.err
44156 cat conftest.err
>&5
44157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44158 (exit $ac_status); } && {
44159 test -z "$ac_c_werror_flag" ||
44160 test ! -s conftest.err
44161 } && test -s conftest
$ac_exeext &&
44162 $as_test_x conftest
$ac_exeext; then
44163 eval "$as_ac_var=yes"
44165 echo "$as_me: failed program was:" >&5
44166 sed 's/^/| /' conftest.
$ac_ext >&5
44168 eval "$as_ac_var=no"
44171 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44172 conftest
$ac_exeext conftest.
$ac_ext
44174 ac_res
=`eval echo '${'$as_ac_var'}'`
44175 { echo "$as_me:$LINENO: result: $ac_res" >&5
44176 echo "${ECHO_T}$ac_res" >&6; }
44177 if test `eval echo '${'$as_ac_var'}'` = yes; then
44178 cat >>confdefs.h
<<_ACEOF
44179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44182 cat >>confdefs.h
<<\_ACEOF
44183 #define HAVE_DLOPEN 1
44190 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
44191 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
44192 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
44193 echo $ECHO_N "(cached) $ECHO_C" >&6
44195 ac_check_lib_save_LIBS
=$LIBS
44197 cat >conftest.
$ac_ext <<_ACEOF
44200 cat confdefs.h
>>conftest.
$ac_ext
44201 cat >>conftest.
$ac_ext <<_ACEOF
44202 /* end confdefs.h. */
44204 /* Override any GCC internal prototype to avoid an error.
44205 Use char because int might match the return type of a GCC
44206 builtin and then its argument prototype would still apply. */
44219 rm -f conftest.
$ac_objext conftest
$ac_exeext
44220 if { (ac_try
="$ac_link"
44221 case "(($ac_try" in
44222 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44223 *) ac_try_echo=$ac_try;;
44225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44226 (eval "$ac_link") 2>conftest.er1
44228 grep -v '^ *+' conftest.er1 >conftest.err
44230 cat conftest.err >&5
44231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44232 (exit $ac_status); } && {
44233 test -z "$ac_c_werror_flag" ||
44234 test ! -s conftest.err
44235 } && test -s conftest$ac_exeext &&
44236 $as_test_x conftest$ac_exeext; then
44237 ac_cv_lib_dl_dlopen=yes
44239 echo "$as_me: failed program was:" >&5
44240 sed 's/^/| /' conftest.$ac_ext >&5
44242 ac_cv_lib_dl_dlopen=no
44245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44246 conftest$ac_exeext conftest.$ac_ext
44247 LIBS=$ac_check_lib_save_LIBS
44249 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
44250 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
44251 if test $ac_cv_lib_dl_dlopen = yes; then
44253 cat >>confdefs.h <<\_ACEOF
44254 #define HAVE_DLOPEN 1
44258 DL_LINK=" -ldl$DL_LINK"
44263 for ac_func in shl_load
44265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44266 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44268 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44269 echo $ECHO_N "(cached) $ECHO_C" >&6
44271 cat >conftest.$ac_ext <<_ACEOF
44274 cat confdefs.h >>conftest.$ac_ext
44275 cat >>conftest.$ac_ext <<_ACEOF
44276 /* end confdefs.h. */
44277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44279 #define $ac_func innocuous_$ac_func
44281 /* System header to define __stub macros and hopefully few prototypes,
44282 which can conflict with char $ac_func (); below.
44283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44284 <limits.h> exists even on freestanding compilers. */
44287 # include <limits.h>
44289 # include <assert.h>
44294 /* Override any GCC internal prototype to avoid an error.
44295 Use char because int might match the return type of a GCC
44296 builtin and then its argument prototype would still apply. */
44301 /* The GNU C library defines this for functions which it implements
44302 to always fail with ENOSYS. Some functions are actually named
44303 something starting with __ and the normal name is an alias. */
44304 #if defined __stub_$ac_func || defined __stub___$ac_func
44311 return $ac_func ();
44316 rm -f conftest.$ac_objext conftest$ac_exeext
44317 if { (ac_try="$ac_link"
44318 case "(($ac_try" in
44319 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44320 *) ac_try_echo
=$ac_try;;
44322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44323 (eval "$ac_link") 2>conftest.er1
44325 grep -v '^ *+' conftest.er1
>conftest.err
44327 cat conftest.err
>&5
44328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44329 (exit $ac_status); } && {
44330 test -z "$ac_c_werror_flag" ||
44331 test ! -s conftest.err
44332 } && test -s conftest
$ac_exeext &&
44333 $as_test_x conftest
$ac_exeext; then
44334 eval "$as_ac_var=yes"
44336 echo "$as_me: failed program was:" >&5
44337 sed 's/^/| /' conftest.
$ac_ext >&5
44339 eval "$as_ac_var=no"
44342 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44343 conftest
$ac_exeext conftest.
$ac_ext
44345 ac_res
=`eval echo '${'$as_ac_var'}'`
44346 { echo "$as_me:$LINENO: result: $ac_res" >&5
44347 echo "${ECHO_T}$ac_res" >&6; }
44348 if test `eval echo '${'$as_ac_var'}'` = yes; then
44349 cat >>confdefs.h
<<_ACEOF
44350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44353 cat >>confdefs.h
<<\_ACEOF
44354 #define HAVE_SHL_LOAD 1
44361 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44362 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44363 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44364 echo $ECHO_N "(cached) $ECHO_C" >&6
44366 ac_check_lib_save_LIBS
=$LIBS
44367 LIBS
="-lshl_load $LIBS"
44368 cat >conftest.
$ac_ext <<_ACEOF
44371 cat confdefs.h
>>conftest.
$ac_ext
44372 cat >>conftest.
$ac_ext <<_ACEOF
44373 /* end confdefs.h. */
44375 /* Override any GCC internal prototype to avoid an error.
44376 Use char because int might match the return type of a GCC
44377 builtin and then its argument prototype would still apply. */
44390 rm -f conftest.
$ac_objext conftest
$ac_exeext
44391 if { (ac_try
="$ac_link"
44392 case "(($ac_try" in
44393 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44394 *) ac_try_echo=$ac_try;;
44396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44397 (eval "$ac_link") 2>conftest.er1
44399 grep -v '^ *+' conftest.er1 >conftest.err
44401 cat conftest.err >&5
44402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44403 (exit $ac_status); } && {
44404 test -z "$ac_c_werror_flag" ||
44405 test ! -s conftest.err
44406 } && test -s conftest$ac_exeext &&
44407 $as_test_x conftest$ac_exeext; then
44408 ac_cv_lib_shl_load_dld=yes
44410 echo "$as_me: failed program was:" >&5
44411 sed 's/^/| /' conftest.$ac_ext >&5
44413 ac_cv_lib_shl_load_dld=no
44416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44417 conftest$ac_exeext conftest.$ac_ext
44418 LIBS=$ac_check_lib_save_LIBS
44420 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44421 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44422 if test $ac_cv_lib_shl_load_dld = yes; then
44425 DL_LINK=" -ldld$DL_LINK"
44441 if test "$HAVE_DL_FUNCS" = 1; then
44443 for ac_func in dlerror
44445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44446 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44448 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44449 echo $ECHO_N "(cached) $ECHO_C" >&6
44451 cat >conftest.$ac_ext <<_ACEOF
44454 cat confdefs.h >>conftest.$ac_ext
44455 cat >>conftest.$ac_ext <<_ACEOF
44456 /* end confdefs.h. */
44457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44459 #define $ac_func innocuous_$ac_func
44461 /* System header to define __stub macros and hopefully few prototypes,
44462 which can conflict with char $ac_func (); below.
44463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44464 <limits.h> exists even on freestanding compilers. */
44467 # include <limits.h>
44469 # include <assert.h>
44474 /* Override any GCC internal prototype to avoid an error.
44475 Use char because int might match the return type of a GCC
44476 builtin and then its argument prototype would still apply. */
44481 /* The GNU C library defines this for functions which it implements
44482 to always fail with ENOSYS. Some functions are actually named
44483 something starting with __ and the normal name is an alias. */
44484 #if defined __stub_$ac_func || defined __stub___$ac_func
44491 return $ac_func ();
44496 rm -f conftest.$ac_objext conftest$ac_exeext
44497 if { (ac_try="$ac_link"
44498 case "(($ac_try" in
44499 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44500 *) ac_try_echo
=$ac_try;;
44502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44503 (eval "$ac_link") 2>conftest.er1
44505 grep -v '^ *+' conftest.er1
>conftest.err
44507 cat conftest.err
>&5
44508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44509 (exit $ac_status); } && {
44510 test -z "$ac_c_werror_flag" ||
44511 test ! -s conftest.err
44512 } && test -s conftest
$ac_exeext &&
44513 $as_test_x conftest
$ac_exeext; then
44514 eval "$as_ac_var=yes"
44516 echo "$as_me: failed program was:" >&5
44517 sed 's/^/| /' conftest.
$ac_ext >&5
44519 eval "$as_ac_var=no"
44522 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44523 conftest
$ac_exeext conftest.
$ac_ext
44525 ac_res
=`eval echo '${'$as_ac_var'}'`
44526 { echo "$as_me:$LINENO: result: $ac_res" >&5
44527 echo "${ECHO_T}$ac_res" >&6; }
44528 if test `eval echo '${'$as_ac_var'}'` = yes; then
44529 cat >>confdefs.h
<<_ACEOF
44530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44532 cat >>confdefs.h
<<\_ACEOF
44533 #define HAVE_DLERROR 1
44538 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44539 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44540 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44541 echo $ECHO_N "(cached) $ECHO_C" >&6
44543 ac_check_lib_save_LIBS
=$LIBS
44545 cat >conftest.
$ac_ext <<_ACEOF
44548 cat confdefs.h
>>conftest.
$ac_ext
44549 cat >>conftest.
$ac_ext <<_ACEOF
44550 /* end confdefs.h. */
44552 /* Override any GCC internal prototype to avoid an error.
44553 Use char because int might match the return type of a GCC
44554 builtin and then its argument prototype would still apply. */
44567 rm -f conftest.
$ac_objext conftest
$ac_exeext
44568 if { (ac_try
="$ac_link"
44569 case "(($ac_try" in
44570 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44571 *) ac_try_echo=$ac_try;;
44573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44574 (eval "$ac_link") 2>conftest.er1
44576 grep -v '^ *+' conftest.er1 >conftest.err
44578 cat conftest.err >&5
44579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44580 (exit $ac_status); } && {
44581 test -z "$ac_c_werror_flag" ||
44582 test ! -s conftest.err
44583 } && test -s conftest$ac_exeext &&
44584 $as_test_x conftest$ac_exeext; then
44585 ac_cv_lib_dl_dlerror=yes
44587 echo "$as_me: failed program was:" >&5
44588 sed 's/^/| /' conftest.$ac_ext >&5
44590 ac_cv_lib_dl_dlerror=no
44593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44594 conftest$ac_exeext conftest.$ac_ext
44595 LIBS=$ac_check_lib_save_LIBS
44597 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44598 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44599 if test $ac_cv_lib_dl_dlerror = yes; then
44600 cat >>confdefs.h <<\_ACEOF
44601 #define HAVE_DLERROR 1
44614 if test "$HAVE_DL_FUNCS" = 0; then
44615 if test "$HAVE_SHL_FUNCS" = 0; then
44616 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44617 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44618 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44619 wxUSE_DYNAMIC_LOADER=no
44620 wxUSE_DYNLIB_CLASS=no
44622 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44623 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44630 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44631 cat >>confdefs.h <<\_ACEOF
44632 #define wxUSE_DYNAMIC_LOADER 1
44636 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44637 cat >>confdefs.h <<\_ACEOF
44638 #define wxUSE_DYNLIB_CLASS 1
44645 if test "$wxUSE_PLUGINS" = "yes" ; then
44646 if test "$wxUSE_SHARED" = "no" ; then
44647 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44648 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44651 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44652 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44653 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44656 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44657 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44658 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44661 if test "$wxUSE_PLUGINS" = "yes" ; then
44662 cat >>confdefs.h <<\_ACEOF
44663 #define wxUSE_PLUGINS 1
44670 if test "$wxUSE_STL" = "yes"; then
44671 cat >>confdefs.h <<\_ACEOF
44672 #define wxUSE_STL 1
44677 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44678 cat >>confdefs.h <<\_ACEOF
44679 #define wxUSE_EXTENDED_RTTI 1
44684 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44685 cat >>confdefs.h <<\_ACEOF
44686 #define wxUSE_APPLE_IEEE 1
44691 if test "$wxUSE_TIMER" = "yes"; then
44692 cat >>confdefs.h <<\_ACEOF
44693 #define wxUSE_TIMER 1
44698 if test "$USE_UNIX" = "1" ; then
44699 if test "$wxUSE_MGL" != 1; then
44700 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44701 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44702 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44703 echo $ECHO_N "(cached) $ECHO_C" >&6
44706 cat >conftest.$ac_ext <<_ACEOF
44709 cat confdefs.h >>conftest.$ac_ext
44710 cat >>conftest.$ac_ext <<_ACEOF
44711 /* end confdefs.h. */
44713 #include <sys/ioctl.h>
44714 #include <sys/soundcard.h>
44720 ioctl(0, SNDCTL_DSP_SPEED, 0);
44726 rm -f conftest.$ac_objext conftest$ac_exeext
44727 if { (ac_try="$ac_link"
44728 case "(($ac_try" in
44729 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44730 *) ac_try_echo
=$ac_try;;
44732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44733 (eval "$ac_link") 2>conftest.er1
44735 grep -v '^ *+' conftest.er1
>conftest.err
44737 cat conftest.err
>&5
44738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44739 (exit $ac_status); } && {
44740 test -z "$ac_c_werror_flag" ||
44741 test ! -s conftest.err
44742 } && test -s conftest
$ac_exeext &&
44743 $as_test_x conftest
$ac_exeext; then
44744 ac_cv_header_sys_soundcard
=yes
44746 echo "$as_me: failed program was:" >&5
44747 sed 's/^/| /' conftest.
$ac_ext >&5
44751 LIBS
="$saveLibs -lossaudio"
44752 cat >conftest.
$ac_ext <<_ACEOF
44755 cat confdefs.h
>>conftest.
$ac_ext
44756 cat >>conftest.
$ac_ext <<_ACEOF
44757 /* end confdefs.h. */
44759 #include <sys/ioctl.h>
44760 #include <sys/soundcard.h>
44766 ioctl(0, SNDCTL_DSP_SPEED, 0);
44772 rm -f conftest.
$ac_objext conftest
$ac_exeext
44773 if { (ac_try
="$ac_link"
44774 case "(($ac_try" in
44775 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44776 *) ac_try_echo=$ac_try;;
44778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44779 (eval "$ac_link") 2>conftest.er1
44781 grep -v '^ *+' conftest.er1 >conftest.err
44783 cat conftest.err >&5
44784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44785 (exit $ac_status); } && {
44786 test -z "$ac_c_werror_flag" ||
44787 test ! -s conftest.err
44788 } && test -s conftest$ac_exeext &&
44789 $as_test_x conftest$ac_exeext; then
44790 ac_cv_header_sys_soundcard=yes
44792 echo "$as_me: failed program was:" >&5
44793 sed 's/^/| /' conftest.$ac_ext >&5
44797 ac_cv_header_sys_soundcard=no
44802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44803 conftest$ac_exeext conftest.$ac_ext
44808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44809 conftest$ac_exeext conftest.$ac_ext
44812 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44813 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44816 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44817 cat >>confdefs.h <<\_ACEOF
44818 #define HAVE_SYS_SOUNDCARD_H 1
44825 if test "$wxUSE_SOUND" = "yes"; then
44826 if test "$USE_UNIX" = "1" ; then
44827 if test "$wxUSE_LIBSDL" != "no"; then
44829 # Check whether --with-sdl-prefix was given.
44830 if test "${with_sdl_prefix+set}" = set; then
44831 withval=$with_sdl_prefix; sdl_prefix="$withval"
44837 # Check whether --with-sdl-exec-prefix was given.
44838 if test "${with_sdl_exec_prefix+set}" = set; then
44839 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44844 # Check whether --enable-sdltest was given.
44845 if test "${enable_sdltest+set}" = set; then
44846 enableval=$enable_sdltest;
44852 if test x$sdl_exec_prefix != x ; then
44853 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44854 if test x${SDL_CONFIG+set} != xset ; then
44855 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44858 if test x$sdl_prefix != x ; then
44859 sdl_args="$sdl_args --prefix=$sdl_prefix"
44860 if test x${SDL_CONFIG+set} != xset ; then
44861 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44865 if test "x$prefix" != xNONE; then
44866 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44868 # Extract the first word of "sdl-config", so it can be a program name with args.
44869 set dummy sdl-config; ac_word=$2
44870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44872 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44873 echo $ECHO_N "(cached) $ECHO_C" >&6
44875 case $SDL_CONFIG in
44877 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44881 for as_dir in $PATH
44884 test -z "$as_dir" && as_dir=.
44885 for ac_exec_ext in '' $ac_executable_extensions; do
44886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44887 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44895 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44899 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44900 if test -n "$SDL_CONFIG"; then
44901 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44902 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44904 { echo "$as_me:$LINENO: result: no" >&5
44905 echo "${ECHO_T}no" >&6; }
44909 min_sdl_version=1.2.0
44910 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44911 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44913 if test "$SDL_CONFIG" = "no" ; then
44916 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44917 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44919 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44920 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44921 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44922 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44923 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44924 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44925 if test "x$enable_sdltest" = "xyes" ; then
44926 ac_save_CFLAGS="$CFLAGS"
44927 ac_save_CXXFLAGS="$CXXFLAGS"
44928 ac_save_LIBS="$LIBS"
44929 CFLAGS="$CFLAGS $SDL_CFLAGS"
44930 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44931 LIBS="$LIBS $SDL_LIBS"
44933 if test "$cross_compiling" = yes; then
44934 echo $ac_n "cross compiling; assumed OK... $ac_c"
44936 cat >conftest.$ac_ext <<_ACEOF
44939 cat confdefs.h >>conftest.$ac_ext
44940 cat >>conftest.$ac_ext <<_ACEOF
44941 /* end confdefs.h. */
44944 #include <stdlib.h>
44945 #include <string.h>
44949 my_strdup (char *str)
44955 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44956 strcpy (new_str, str);
44964 int main (int argc, char *argv[])
44966 int major, minor, micro;
44969 /* This hangs on some systems (?)
44970 system ("touch conf.sdltest");
44972 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44974 /* HP/UX 9 (%@#!) writes to sscanf strings */
44975 tmp_version = my_strdup("$min_sdl_version");
44976 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44977 printf("%s, bad version string\n", "$min_sdl_version");
44981 if (($sdl_major_version > major) ||
44982 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44983 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44989 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44990 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44991 printf("*** best to upgrade to the required version.\n");
44992 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44993 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44994 printf("*** config.cache before re-running configure\n");
45001 rm -f conftest$ac_exeext
45002 if { (ac_try="$ac_link"
45003 case "(($ac_try" in
45004 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45005 *) ac_try_echo
=$ac_try;;
45007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45008 (eval "$ac_link") 2>&5
45010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45011 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
45012 { (case "(($ac_try" in
45013 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45014 *) ac_try_echo=$ac_try;;
45016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45017 (eval "$ac_try") 2>&5
45019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45020 (exit $ac_status); }; }; then
45023 echo "$as_me: program exited with status $ac_status" >&5
45024 echo "$as_me: failed program was:" >&5
45025 sed 's/^/| /' conftest.$ac_ext >&5
45027 ( exit $ac_status )
45030 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45034 CFLAGS="$ac_save_CFLAGS"
45035 CXXFLAGS="$ac_save_CXXFLAGS"
45036 LIBS="$ac_save_LIBS"
45039 if test "x$no_sdl" = x ; then
45040 { echo "$as_me:$LINENO: result: yes" >&5
45041 echo "${ECHO_T}yes" >&6; }
45043 EXTRALIBS_SDL="$SDL_LIBS"
45044 CFLAGS="$SDL_CFLAGS $CFLAGS"
45045 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
45046 cat >>confdefs.h <<\_ACEOF
45047 #define wxUSE_LIBSDL 1
45052 { echo "$as_me:$LINENO: result: no" >&5
45053 echo "${ECHO_T}no" >&6; }
45054 if test "$SDL_CONFIG" = "no" ; then
45055 echo "*** The sdl-config script installed by SDL could not be found"
45056 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
45057 echo "*** your path, or set the SDL_CONFIG environment variable to the"
45058 echo "*** full path to sdl-config."
45060 if test -f conf.sdltest ; then
45063 echo "*** Could not run SDL test program, checking why..."
45064 CFLAGS="$CFLAGS $SDL_CFLAGS"
45065 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
45066 LIBS="$LIBS $SDL_LIBS"
45067 cat >conftest.$ac_ext <<_ACEOF
45070 cat confdefs.h >>conftest.$ac_ext
45071 cat >>conftest.$ac_ext <<_ACEOF
45072 /* end confdefs.h. */
45077 int main(int argc, char *argv[])
45080 #define main K_and_R_C_main
45090 rm -f conftest.$ac_objext conftest$ac_exeext
45091 if { (ac_try="$ac_link"
45092 case "(($ac_try" in
45093 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45094 *) ac_try_echo
=$ac_try;;
45096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45097 (eval "$ac_link") 2>conftest.er1
45099 grep -v '^ *+' conftest.er1
>conftest.err
45101 cat conftest.err
>&5
45102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45103 (exit $ac_status); } && {
45104 test -z "$ac_c_werror_flag" ||
45105 test ! -s conftest.err
45106 } && test -s conftest
$ac_exeext &&
45107 $as_test_x conftest
$ac_exeext; then
45108 echo "*** The test program compiled, but did not run. This usually means"
45109 echo "*** that the run-time linker is not finding SDL or finding the wrong"
45110 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
45111 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
45112 echo "*** to the installed location Also, make sure you have run ldconfig if that"
45113 echo "*** is required on your system"
45115 echo "*** If you have an old version installed, it is best to remove it, although"
45116 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
45118 echo "$as_me: failed program was:" >&5
45119 sed 's/^/| /' conftest.
$ac_ext >&5
45121 echo "*** The test program failed to compile or link. See the file config.log for the"
45122 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
45123 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
45124 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
45127 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45128 conftest
$ac_exeext conftest.
$ac_ext
45129 CFLAGS
="$ac_save_CFLAGS"
45130 CXXFLAGS
="$ac_save_CXXFLAGS"
45131 LIBS
="$ac_save_LIBS"
45142 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
45147 if test "$wxUSE_MGL" = 1; then
45148 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
45149 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
45155 if test "$wxUSE_SOUND" = "yes"; then
45156 cat >>confdefs.h
<<\_ACEOF
45157 #define wxUSE_SOUND 1
45160 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
45163 if test "$WXGTK20" = 1; then
45166 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
45167 if test -n "$ac_tool_prefix"; then
45168 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
45169 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
45170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45172 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45173 echo $ECHO_N "(cached) $ECHO_C" >&6
45175 case $PKG_CONFIG in
45177 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
45180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45181 for as_dir
in $PATH
45184 test -z "$as_dir" && as_dir
=.
45185 for ac_exec_ext
in '' $ac_executable_extensions; do
45186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45187 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
45188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45198 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
45199 if test -n "$PKG_CONFIG"; then
45200 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45201 echo "${ECHO_T}$PKG_CONFIG" >&6; }
45203 { echo "$as_me:$LINENO: result: no" >&5
45204 echo "${ECHO_T}no" >&6; }
45209 if test -z "$ac_cv_path_PKG_CONFIG"; then
45210 ac_pt_PKG_CONFIG
=$PKG_CONFIG
45211 # Extract the first word of "pkg-config", so it can be a program name with args.
45212 set dummy pkg
-config; ac_word
=$2
45213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45215 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
45216 echo $ECHO_N "(cached) $ECHO_C" >&6
45218 case $ac_pt_PKG_CONFIG in
45220 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45224 for as_dir
in $PATH
45227 test -z "$as_dir" && as_dir
=.
45228 for ac_exec_ext
in '' $ac_executable_extensions; do
45229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45230 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
45231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45241 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
45242 if test -n "$ac_pt_PKG_CONFIG"; then
45243 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
45244 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
45246 { echo "$as_me:$LINENO: result: no" >&5
45247 echo "${ECHO_T}no" >&6; }
45250 if test "x$ac_pt_PKG_CONFIG" = x
; then
45253 case $cross_compiling:$ac_tool_warned in
45255 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45256 whose name does not start with the host triplet. If you think this
45257 configuration is useful to you, please write to autoconf@gnu.org." >&5
45258 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45259 whose name does not start with the host triplet. If you think this
45260 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45261 ac_tool_warned
=yes ;;
45263 PKG_CONFIG
=$ac_pt_PKG_CONFIG
45266 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
45270 if test -n "$PKG_CONFIG"; then
45271 _pkg_min_version
=0.9.0
45272 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45273 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
45274 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45275 { echo "$as_me:$LINENO: result: yes" >&5
45276 echo "${ECHO_T}yes" >&6; }
45278 { echo "$as_me:$LINENO: result: no" >&5
45279 echo "${ECHO_T}no" >&6; }
45285 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45286 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45290 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45291 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45293 if test -n "$PKG_CONFIG"; then
45294 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45295 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
45297 if test -n "$PKG_CONFIG" && \
45298 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45299 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45302 (exit $ac_status); }; then
45303 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45311 if test -n "$PKG_CONFIG"; then
45312 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45313 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
45315 if test -n "$PKG_CONFIG" && \
45316 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45317 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45320 (exit $ac_status); }; then
45321 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45332 if test $pkg_failed = yes; then
45334 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45335 _pkg_short_errors_supported
=yes
45337 _pkg_short_errors_supported
=no
45339 if test $_pkg_short_errors_supported = yes; then
45340 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45342 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45344 # Put the nasty error message in config.log where it belongs
45345 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45348 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45349 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45350 wxUSE_LIBGNOMEPRINT
="no"
45353 elif test $pkg_failed = untried
; then
45355 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45356 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45357 wxUSE_LIBGNOMEPRINT
="no"
45361 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45362 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45363 { echo "$as_me:$LINENO: result: yes" >&5
45364 echo "${ECHO_T}yes" >&6; }
45366 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45367 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45368 cat >>confdefs.h
<<\_ACEOF
45369 #define wxUSE_LIBGNOMEPRINT 1
45377 if test "$wxUSE_MIMETYPE" = "yes" ; then
45378 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45382 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45383 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45385 if test -n "$PKG_CONFIG"; then
45386 if test -n "$GNOMEVFS_CFLAGS"; then
45387 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
45389 if test -n "$PKG_CONFIG" && \
45390 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45391 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45394 (exit $ac_status); }; then
45395 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45403 if test -n "$PKG_CONFIG"; then
45404 if test -n "$GNOMEVFS_LIBS"; then
45405 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
45407 if test -n "$PKG_CONFIG" && \
45408 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45409 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45412 (exit $ac_status); }; then
45413 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45424 if test $pkg_failed = yes; then
45426 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45427 _pkg_short_errors_supported
=yes
45429 _pkg_short_errors_supported
=no
45431 if test $_pkg_short_errors_supported = yes; then
45432 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45434 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45436 # Put the nasty error message in config.log where it belongs
45437 echo "$GNOMEVFS_PKG_ERRORS" >&5
45440 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45441 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45442 wxUSE_LIBGNOMEVFS
="no"
45445 elif test $pkg_failed = untried
; then
45447 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45448 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45449 wxUSE_LIBGNOMEVFS
="no"
45453 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
45454 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
45455 { echo "$as_me:$LINENO: result: yes" >&5
45456 echo "${ECHO_T}yes" >&6; }
45458 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
45459 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
45460 cat >>confdefs.h
<<\_ACEOF
45461 #define wxUSE_LIBGNOMEVFS 1
45469 if test "$wxUSE_LIBHILDON" = "yes" ; then
45472 { echo "$as_me:$LINENO: checking for HILDON" >&5
45473 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45475 if test -n "$PKG_CONFIG"; then
45476 if test -n "$HILDON_CFLAGS"; then
45477 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
45479 if test -n "$PKG_CONFIG" && \
45480 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45481 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45484 (exit $ac_status); }; then
45485 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45493 if test -n "$PKG_CONFIG"; then
45494 if test -n "$HILDON_LIBS"; then
45495 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
45497 if test -n "$PKG_CONFIG" && \
45498 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45499 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45502 (exit $ac_status); }; then
45503 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45514 if test $pkg_failed = yes; then
45516 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45517 _pkg_short_errors_supported
=yes
45519 _pkg_short_errors_supported
=no
45521 if test $_pkg_short_errors_supported = yes; then
45522 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45524 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45526 # Put the nasty error message in config.log where it belongs
45527 echo "$HILDON_PKG_ERRORS" >&5
45530 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45531 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45532 wxUSE_LIBHILDON
="no"
45535 elif test $pkg_failed = untried
; then
45537 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45538 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45539 wxUSE_LIBHILDON
="no"
45543 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
45544 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
45545 { echo "$as_me:$LINENO: result: yes" >&5
45546 echo "${ECHO_T}yes" >&6; }
45548 EXTRALIBS_HILDON
="$HILDON_LIBS"
45549 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
45550 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
45551 cat >>confdefs.h
<<\_ACEOF
45552 #define wxUSE_LIBHILDON 1
45560 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45561 cat >>confdefs.h
<<\_ACEOF
45562 #define wxUSE_CMDLINE_PARSER 1
45567 if test "$wxUSE_STOPWATCH" = "yes"; then
45568 cat >>confdefs.h
<<\_ACEOF
45569 #define wxUSE_STOPWATCH 1
45574 if test "$wxUSE_DATETIME" = "yes"; then
45575 cat >>confdefs.h
<<\_ACEOF
45576 #define wxUSE_DATETIME 1
45581 if test "$wxUSE_FILE" = "yes"; then
45582 cat >>confdefs.h
<<\_ACEOF
45583 #define wxUSE_FILE 1
45588 if test "$wxUSE_FFILE" = "yes"; then
45589 cat >>confdefs.h
<<\_ACEOF
45590 #define wxUSE_FFILE 1
45595 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45596 if test "$wxUSE_STREAMS" != yes; then
45597 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45598 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45599 wxUSE_ARCHIVE_STREAMS
=no
45601 cat >>confdefs.h
<<\_ACEOF
45602 #define wxUSE_ARCHIVE_STREAMS 1
45608 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45609 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45610 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45611 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45612 elif test "$wxUSE_ZLIB" = "no"; then
45613 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45614 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45616 cat >>confdefs.h
<<\_ACEOF
45617 #define wxUSE_ZIPSTREAM 1
45623 if test "$wxUSE_TARSTREAM" = "yes"; then
45624 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45625 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45626 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45628 cat >>confdefs.h
<<\_ACEOF
45629 #define wxUSE_TARSTREAM 1
45635 if test "$wxUSE_FILESYSTEM" = "yes"; then
45636 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
45637 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45638 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45639 wxUSE_FILESYSTEM
=no
45641 cat >>confdefs.h
<<\_ACEOF
45642 #define wxUSE_FILESYSTEM 1
45648 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45649 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45650 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45651 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45653 cat >>confdefs.h
<<\_ACEOF
45654 #define wxUSE_FS_ARCHIVE 1
45660 if test "$wxUSE_FS_ZIP" = "yes"; then
45661 if test "$wxUSE_FS_ARCHIVE" != yes; then
45662 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45663 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45665 cat >>confdefs.h
<<\_ACEOF
45666 #define wxUSE_FS_ZIP 1
45672 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45673 if test "$USE_UNIX" != 1; then
45674 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45675 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45676 wxUSE_ON_FATAL_EXCEPTION
=no
45678 cat >>confdefs.h
<<\_ACEOF
45679 #define wxUSE_ON_FATAL_EXCEPTION 1
45685 if test "$wxUSE_STACKWALKER" = "yes"; then
45686 cat >>confdefs.h
<<\_ACEOF
45687 #define wxUSE_STACKWALKER 1
45692 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45693 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45694 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45695 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45696 wxUSE_DEBUGREPORT
=no
45698 cat >>confdefs.h
<<\_ACEOF
45699 #define wxUSE_DEBUGREPORT 1
45702 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45703 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
45708 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45709 cat >>confdefs.h
<<\_ACEOF
45710 #define wxUSE_SNGLINST_CHECKER 1
45715 if test "$wxUSE_BUSYINFO" = "yes"; then
45716 cat >>confdefs.h
<<\_ACEOF
45717 #define wxUSE_BUSYINFO 1
45722 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45723 cat >>confdefs.h
<<\_ACEOF
45724 #define wxUSE_STD_IOSTREAM 1
45729 if test "$wxUSE_STD_STRING" = "yes"; then
45730 cat >>confdefs.h
<<\_ACEOF
45731 #define wxUSE_STD_STRING 1
45736 if test "$wxUSE_STDPATHS" = "yes"; then
45737 cat >>confdefs.h
<<\_ACEOF
45738 #define wxUSE_STDPATHS 1
45743 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45744 cat >>confdefs.h
<<\_ACEOF
45745 #define wxUSE_TEXTBUFFER 1
45750 if test "$wxUSE_TEXTFILE" = "yes"; then
45751 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45752 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45753 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45755 cat >>confdefs.h
<<\_ACEOF
45756 #define wxUSE_TEXTFILE 1
45762 if test "$wxUSE_CONFIG" = "yes" ; then
45763 if test "$wxUSE_TEXTFILE" != "yes"; then
45764 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45765 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45767 cat >>confdefs.h
<<\_ACEOF
45768 #define wxUSE_CONFIG 1
45771 cat >>confdefs.h
<<\_ACEOF
45772 #define wxUSE_CONFIG_NATIVE 1
45775 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
45779 if test "$wxUSE_INTL" = "yes" ; then
45780 if test "$wxUSE_FILE" != "yes"; then
45781 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45782 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45784 cat >>confdefs.h
<<\_ACEOF
45785 #define wxUSE_INTL 1
45788 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
45789 GUIDIST
="$GUIDIST INTL_DIST"
45793 if test "$wxUSE_LOG" = "yes"; then
45794 cat >>confdefs.h
<<\_ACEOF
45795 #define wxUSE_LOG 1
45799 if test "$wxUSE_LOGGUI" = "yes"; then
45800 cat >>confdefs.h
<<\_ACEOF
45801 #define wxUSE_LOGGUI 1
45806 if test "$wxUSE_LOGWINDOW" = "yes"; then
45807 cat >>confdefs.h
<<\_ACEOF
45808 #define wxUSE_LOGWINDOW 1
45813 if test "$wxUSE_LOGDIALOG" = "yes"; then
45814 cat >>confdefs.h
<<\_ACEOF
45815 #define wxUSE_LOG_DIALOG 1
45820 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
45823 if test "$wxUSE_LONGLONG" = "yes"; then
45824 cat >>confdefs.h
<<\_ACEOF
45825 #define wxUSE_LONGLONG 1
45830 if test "$wxUSE_GEOMETRY" = "yes"; then
45831 cat >>confdefs.h
<<\_ACEOF
45832 #define wxUSE_GEOMETRY 1
45837 if test "$wxUSE_BASE64" = "yes"; then
45838 cat >>confdefs.h
<<\_ACEOF
45839 #define wxUSE_BASE64 1
45844 if test "$wxUSE_STREAMS" = "yes" ; then
45845 cat >>confdefs.h
<<\_ACEOF
45846 #define wxUSE_STREAMS 1
45851 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45852 cat >>confdefs.h
<<\_ACEOF
45853 #define wxUSE_PRINTF_POS_PARAMS 1
45858 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45859 cat >>confdefs.h
<<\_ACEOF
45860 #define wxUSE_OBJC_UNIQUIFYING 1
45866 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45867 cat >>confdefs.h
<<\_ACEOF
45868 #define wxUSE_CONSOLE_EVENTLOOP 1
45872 if test "$wxUSE_UNIX" = "yes"; then
45873 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45874 cat >>confdefs.h
<<\_ACEOF
45875 #define wxUSE_SELECT_DISPATCHER 1
45880 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45882 for ac_header
in sys
/epoll.h
45884 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45885 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45886 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45888 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45889 echo $ECHO_N "(cached) $ECHO_C" >&6
45891 ac_res
=`eval echo '${'$as_ac_Header'}'`
45892 { echo "$as_me:$LINENO: result: $ac_res" >&5
45893 echo "${ECHO_T}$ac_res" >&6; }
45895 # Is the header compilable?
45896 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
45897 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
45898 cat >conftest.
$ac_ext <<_ACEOF
45901 cat confdefs.h
>>conftest.
$ac_ext
45902 cat >>conftest.
$ac_ext <<_ACEOF
45903 /* end confdefs.h. */
45904 $ac_includes_default
45905 #include <$ac_header>
45907 rm -f conftest.
$ac_objext
45908 if { (ac_try
="$ac_compile"
45909 case "(($ac_try" in
45910 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45911 *) ac_try_echo=$ac_try;;
45913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45914 (eval "$ac_compile") 2>conftest.er1
45916 grep -v '^ *+' conftest.er1 >conftest.err
45918 cat conftest.err >&5
45919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45920 (exit $ac_status); } && {
45921 test -z "$ac_c_werror_flag" ||
45922 test ! -s conftest.err
45923 } && test -s conftest.$ac_objext; then
45924 ac_header_compiler=yes
45926 echo "$as_me: failed program was:" >&5
45927 sed 's/^/| /' conftest.$ac_ext >&5
45929 ac_header_compiler=no
45932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45933 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45934 echo "${ECHO_T}$ac_header_compiler" >&6; }
45936 # Is the header present?
45937 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
45938 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
45939 cat >conftest.$ac_ext <<_ACEOF
45942 cat confdefs.h >>conftest.$ac_ext
45943 cat >>conftest.$ac_ext <<_ACEOF
45944 /* end confdefs.h. */
45945 #include <$ac_header>
45947 if { (ac_try="$ac_cpp conftest.$ac_ext"
45948 case "(($ac_try" in
45949 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45950 *) ac_try_echo
=$ac_try;;
45952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45953 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45955 grep -v '^ *+' conftest.er1
>conftest.err
45957 cat conftest.err
>&5
45958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45959 (exit $ac_status); } >/dev
/null
&& {
45960 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
45961 test ! -s conftest.err
45963 ac_header_preproc
=yes
45965 echo "$as_me: failed program was:" >&5
45966 sed 's/^/| /' conftest.
$ac_ext >&5
45968 ac_header_preproc
=no
45971 rm -f conftest.err conftest.
$ac_ext
45972 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45973 echo "${ECHO_T}$ac_header_preproc" >&6; }
45975 # So? What about this header?
45976 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45978 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45979 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45981 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45982 ac_header_preproc
=yes
45985 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45986 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45987 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45988 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45989 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45990 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45991 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45992 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45994 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45995 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45996 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45998 ## ----------------------------------------- ##
45999 ## Report this to wx-dev@lists.wxwidgets.org ##
46000 ## ----------------------------------------- ##
46002 ) | sed "s/^/$as_me: WARNING: /" >&2
46005 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46006 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46007 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46008 echo $ECHO_N "(cached) $ECHO_C" >&6
46010 eval "$as_ac_Header=\$ac_header_preproc"
46012 ac_res
=`eval echo '${'$as_ac_Header'}'`
46013 { echo "$as_me:$LINENO: result: $ac_res" >&5
46014 echo "${ECHO_T}$ac_res" >&6; }
46017 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46018 cat >>confdefs.h
<<_ACEOF
46019 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46026 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
46027 cat >>confdefs.h
<<\_ACEOF
46028 #define wxUSE_EPOLL_DISPATCHER 1
46032 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
46033 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
46042 for ac_func
in gettimeofday ftime
46044 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46045 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46047 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46048 echo $ECHO_N "(cached) $ECHO_C" >&6
46050 cat >conftest.
$ac_ext <<_ACEOF
46053 cat confdefs.h
>>conftest.
$ac_ext
46054 cat >>conftest.
$ac_ext <<_ACEOF
46055 /* end confdefs.h. */
46056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46058 #define $ac_func innocuous_$ac_func
46060 /* System header to define __stub macros and hopefully few prototypes,
46061 which can conflict with char $ac_func (); below.
46062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46063 <limits.h> exists even on freestanding compilers. */
46066 # include <limits.h>
46068 # include <assert.h>
46073 /* Override any GCC internal prototype to avoid an error.
46074 Use char because int might match the return type of a GCC
46075 builtin and then its argument prototype would still apply. */
46080 /* The GNU C library defines this for functions which it implements
46081 to always fail with ENOSYS. Some functions are actually named
46082 something starting with __ and the normal name is an alias. */
46083 #if defined __stub_$ac_func || defined __stub___$ac_func
46090 return $ac_func ();
46095 rm -f conftest.
$ac_objext conftest
$ac_exeext
46096 if { (ac_try
="$ac_link"
46097 case "(($ac_try" in
46098 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46099 *) ac_try_echo=$ac_try;;
46101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46102 (eval "$ac_link") 2>conftest.er1
46104 grep -v '^ *+' conftest.er1 >conftest.err
46106 cat conftest.err >&5
46107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46108 (exit $ac_status); } && {
46109 test -z "$ac_c_werror_flag" ||
46110 test ! -s conftest.err
46111 } && test -s conftest$ac_exeext &&
46112 $as_test_x conftest$ac_exeext; then
46113 eval "$as_ac_var=yes"
46115 echo "$as_me: failed program was:" >&5
46116 sed 's/^/| /' conftest.$ac_ext >&5
46118 eval "$as_ac_var=no"
46121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46122 conftest$ac_exeext conftest.$ac_ext
46124 ac_res=`eval echo '${'$as_ac_var'}'`
46125 { echo "$as_me:$LINENO: result: $ac_res" >&5
46126 echo "${ECHO_T}$ac_res" >&6; }
46127 if test `eval echo '${'$as_ac_var'}'` = yes; then
46128 cat >>confdefs.h <<_ACEOF
46129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46136 if test "$ac_cv_func_gettimeofday" = "yes"; then
46137 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46138 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
46139 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46140 echo $ECHO_N "(cached) $ECHO_C" >&6
46143 cat >conftest.$ac_ext <<_ACEOF
46146 cat confdefs.h >>conftest.$ac_ext
46147 cat >>conftest.$ac_ext <<_ACEOF
46148 /* end confdefs.h. */
46150 #include <sys/time.h>
46151 #include <unistd.h>
46158 gettimeofday(&tv, NULL);
46164 rm -f conftest.$ac_objext
46165 if { (ac_try="$ac_compile"
46166 case "(($ac_try" in
46167 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46168 *) ac_try_echo
=$ac_try;;
46170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46171 (eval "$ac_compile") 2>conftest.er1
46173 grep -v '^ *+' conftest.er1
>conftest.err
46175 cat conftest.err
>&5
46176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46177 (exit $ac_status); } && {
46178 test -z "$ac_c_werror_flag" ||
46179 test ! -s conftest.err
46180 } && test -s conftest.
$ac_objext; then
46181 wx_cv_func_gettimeofday_has_2_args
=yes
46183 echo "$as_me: failed program was:" >&5
46184 sed 's/^/| /' conftest.
$ac_ext >&5
46186 cat >conftest.
$ac_ext <<_ACEOF
46189 cat confdefs.h
>>conftest.
$ac_ext
46190 cat >>conftest.
$ac_ext <<_ACEOF
46191 /* end confdefs.h. */
46193 #include <sys/time.h>
46194 #include <unistd.h>
46207 rm -f conftest.
$ac_objext
46208 if { (ac_try
="$ac_compile"
46209 case "(($ac_try" in
46210 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46211 *) ac_try_echo=$ac_try;;
46213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46214 (eval "$ac_compile") 2>conftest.er1
46216 grep -v '^ *+' conftest.er1 >conftest.err
46218 cat conftest.err >&5
46219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46220 (exit $ac_status); } && {
46221 test -z "$ac_c_werror_flag" ||
46222 test ! -s conftest.err
46223 } && test -s conftest.$ac_objext; then
46224 wx_cv_func_gettimeofday_has_2_args=no
46226 echo "$as_me: failed program was:" >&5
46227 sed 's/^/| /' conftest.$ac_ext >&5
46230 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46231 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46232 wx_cv_func_gettimeofday_has_2_args=unknown
46237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46244 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46245 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46247 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46248 cat >>confdefs.h <<\_ACEOF
46249 #define WX_GETTIMEOFDAY_NO_TZ 1
46255 if test "$wxUSE_DATETIME" = "yes"; then
46256 { echo "$as_me:$LINENO: checking for strptime" >&5
46257 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
46258 if test "${ac_cv_func_strptime+set}" = set; then
46259 echo $ECHO_N "(cached) $ECHO_C" >&6
46261 cat >conftest.$ac_ext <<_ACEOF
46264 cat confdefs.h >>conftest.$ac_ext
46265 cat >>conftest.$ac_ext <<_ACEOF
46266 /* end confdefs.h. */
46267 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
46268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46269 #define strptime innocuous_strptime
46271 /* System header to define __stub macros and hopefully few prototypes,
46272 which can conflict with char strptime (); below.
46273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46274 <limits.h> exists even on freestanding compilers. */
46277 # include <limits.h>
46279 # include <assert.h>
46284 /* Override any GCC internal prototype to avoid an error.
46285 Use char because int might match the return type of a GCC
46286 builtin and then its argument prototype would still apply. */
46291 /* The GNU C library defines this for functions which it implements
46292 to always fail with ENOSYS. Some functions are actually named
46293 something starting with __ and the normal name is an alias. */
46294 #if defined __stub_strptime || defined __stub___strptime
46301 return strptime ();
46306 rm -f conftest.$ac_objext conftest$ac_exeext
46307 if { (ac_try="$ac_link"
46308 case "(($ac_try" in
46309 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46310 *) ac_try_echo
=$ac_try;;
46312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46313 (eval "$ac_link") 2>conftest.er1
46315 grep -v '^ *+' conftest.er1
>conftest.err
46317 cat conftest.err
>&5
46318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46319 (exit $ac_status); } && {
46320 test -z "$ac_c_werror_flag" ||
46321 test ! -s conftest.err
46322 } && test -s conftest
$ac_exeext &&
46323 $as_test_x conftest
$ac_exeext; then
46324 ac_cv_func_strptime
=yes
46326 echo "$as_me: failed program was:" >&5
46327 sed 's/^/| /' conftest.
$ac_ext >&5
46329 ac_cv_func_strptime
=no
46332 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46333 conftest
$ac_exeext conftest.
$ac_ext
46335 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46336 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46338 if test "$ac_cv_func_strptime" = "yes"; then
46339 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46340 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46341 if test "${wx_cv_func_strptime_decl+set}" = set; then
46342 echo $ECHO_N "(cached) $ECHO_C" >&6
46346 ac_cpp
='$CXXCPP $CPPFLAGS'
46347 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46348 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46349 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46351 cat >conftest.
$ac_ext <<_ACEOF
46354 cat confdefs.h
>>conftest.
$ac_ext
46355 cat >>conftest.
$ac_ext <<_ACEOF
46356 /* end confdefs.h. */
46365 strptime("foo", "bar", &t);
46371 rm -f conftest.
$ac_objext
46372 if { (ac_try
="$ac_compile"
46373 case "(($ac_try" in
46374 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46375 *) ac_try_echo=$ac_try;;
46377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46378 (eval "$ac_compile") 2>conftest.er1
46380 grep -v '^ *+' conftest.er1 >conftest.err
46382 cat conftest.err >&5
46383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46384 (exit $ac_status); } && {
46385 test -z "$ac_cxx_werror_flag" ||
46386 test ! -s conftest.err
46387 } && test -s conftest.$ac_objext; then
46388 wx_cv_func_strptime_decl=yes
46390 echo "$as_me: failed program was:" >&5
46391 sed 's/^/| /' conftest.$ac_ext >&5
46393 wx_cv_func_strptime_decl=no
46397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46399 ac_cpp='$CPP $CPPFLAGS'
46400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46407 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46408 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46410 if test "$wx_cv_func_strptime_decl" = "yes"; then
46411 cat >>confdefs.h <<\_ACEOF
46412 #define HAVE_STRPTIME_DECL 1
46416 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46418 if test "$ac_cv_func_strptime" = "yes"; then
46419 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46420 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46421 if test "${wx_cv_func_strptime_ok+set}" = set; then
46422 echo $ECHO_N "(cached) $ECHO_C" >&6
46424 if test "$cross_compiling" = yes; then
46425 wx_cv_func_strptime_ok=no
46428 cat >conftest.$ac_ext <<_ACEOF
46430 #include <stdlib.h>
46432 #include "confdefs.h"
46439 return !!strptime("", "%x", &t);
46443 rm -f conftest$ac_exeext
46444 if { (ac_try="$ac_link"
46445 case "(($ac_try" in
46446 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46447 *) ac_try_echo
=$ac_try;;
46449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46450 (eval "$ac_link") 2>&5
46452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46453 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
46454 { (case "(($ac_try" in
46455 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46456 *) ac_try_echo=$ac_try;;
46458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46459 (eval "$ac_try") 2>&5
46461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46462 (exit $ac_status); }; }; then
46463 wx_cv_func_strptime_ok=yes
46465 echo "$as_me: program exited with status $ac_status" >&5
46466 echo "$as_me: failed program was:" >&5
46467 sed 's/^/| /' conftest.$ac_ext >&5
46469 ( exit $ac_status )
46470 wx_cv_func_strptime_ok=no
46472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46478 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46479 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46481 if test "$wx_cv_func_strptime_ok" = "yes"; then
46482 cat >>confdefs.h <<\_ACEOF
46483 #define HAVE_STRPTIME 1
46489 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46490 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46491 if test "${wx_cv_var_timezone+set}" = set; then
46492 echo $ECHO_N "(cached) $ECHO_C" >&6
46496 ac_cpp='$CXXCPP $CPPFLAGS'
46497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46501 cat >conftest.$ac_ext <<_ACEOF
46504 cat confdefs.h >>conftest.$ac_ext
46505 cat >>conftest.$ac_ext <<_ACEOF
46506 /* end confdefs.h. */
46521 rm -f conftest.$ac_objext
46522 if { (ac_try="$ac_compile"
46523 case "(($ac_try" in
46524 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46525 *) ac_try_echo
=$ac_try;;
46527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46528 (eval "$ac_compile") 2>conftest.er1
46530 grep -v '^ *+' conftest.er1
>conftest.err
46532 cat conftest.err
>&5
46533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46534 (exit $ac_status); } && {
46535 test -z "$ac_cxx_werror_flag" ||
46536 test ! -s conftest.err
46537 } && test -s conftest.
$ac_objext; then
46539 wx_cv_var_timezone
=timezone
46542 echo "$as_me: failed program was:" >&5
46543 sed 's/^/| /' conftest.
$ac_ext >&5
46546 cat >conftest.
$ac_ext <<_ACEOF
46549 cat confdefs.h
>>conftest.
$ac_ext
46550 cat >>conftest.
$ac_ext <<_ACEOF
46551 /* end confdefs.h. */
46566 rm -f conftest.
$ac_objext
46567 if { (ac_try
="$ac_compile"
46568 case "(($ac_try" in
46569 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46570 *) ac_try_echo=$ac_try;;
46572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46573 (eval "$ac_compile") 2>conftest.er1
46575 grep -v '^ *+' conftest.er1 >conftest.err
46577 cat conftest.err >&5
46578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46579 (exit $ac_status); } && {
46580 test -z "$ac_cxx_werror_flag" ||
46581 test ! -s conftest.err
46582 } && test -s conftest.$ac_objext; then
46584 wx_cv_var_timezone=_timezone
46587 echo "$as_me: failed program was:" >&5
46588 sed 's/^/| /' conftest.$ac_ext >&5
46591 cat >conftest.$ac_ext <<_ACEOF
46594 cat confdefs.h >>conftest.$ac_ext
46595 cat >>conftest.$ac_ext <<_ACEOF
46596 /* end confdefs.h. */
46611 rm -f conftest.$ac_objext
46612 if { (ac_try="$ac_compile"
46613 case "(($ac_try" in
46614 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46615 *) ac_try_echo
=$ac_try;;
46617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46618 (eval "$ac_compile") 2>conftest.er1
46620 grep -v '^ *+' conftest.er1
>conftest.err
46622 cat conftest.err
>&5
46623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46624 (exit $ac_status); } && {
46625 test -z "$ac_cxx_werror_flag" ||
46626 test ! -s conftest.err
46627 } && test -s conftest.
$ac_objext; then
46629 wx_cv_var_timezone
=__timezone
46632 echo "$as_me: failed program was:" >&5
46633 sed 's/^/| /' conftest.
$ac_ext >&5
46636 if test "$USE_DOS" = 0 ; then
46637 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46638 echo "$as_me: WARNING: no timezone variable" >&2;}
46644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46656 ac_cpp
='$CPP $CPPFLAGS'
46657 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46658 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46659 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46664 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46665 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46667 if test "x$wx_cv_var_timezone" != x
; then
46668 cat >>confdefs.h
<<_ACEOF
46669 #define WX_TIMEZONE $wx_cv_var_timezone
46675 for ac_func
in localtime
46677 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46678 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46680 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46681 echo $ECHO_N "(cached) $ECHO_C" >&6
46683 cat >conftest.
$ac_ext <<_ACEOF
46686 cat confdefs.h
>>conftest.
$ac_ext
46687 cat >>conftest.
$ac_ext <<_ACEOF
46688 /* end confdefs.h. */
46689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46691 #define $ac_func innocuous_$ac_func
46693 /* System header to define __stub macros and hopefully few prototypes,
46694 which can conflict with char $ac_func (); below.
46695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46696 <limits.h> exists even on freestanding compilers. */
46699 # include <limits.h>
46701 # include <assert.h>
46706 /* Override any GCC internal prototype to avoid an error.
46707 Use char because int might match the return type of a GCC
46708 builtin and then its argument prototype would still apply. */
46713 /* The GNU C library defines this for functions which it implements
46714 to always fail with ENOSYS. Some functions are actually named
46715 something starting with __ and the normal name is an alias. */
46716 #if defined __stub_$ac_func || defined __stub___$ac_func
46723 return $ac_func ();
46728 rm -f conftest.
$ac_objext conftest
$ac_exeext
46729 if { (ac_try
="$ac_link"
46730 case "(($ac_try" in
46731 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46732 *) ac_try_echo=$ac_try;;
46734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46735 (eval "$ac_link") 2>conftest.er1
46737 grep -v '^ *+' conftest.er1 >conftest.err
46739 cat conftest.err >&5
46740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46741 (exit $ac_status); } && {
46742 test -z "$ac_c_werror_flag" ||
46743 test ! -s conftest.err
46744 } && test -s conftest$ac_exeext &&
46745 $as_test_x conftest$ac_exeext; then
46746 eval "$as_ac_var=yes"
46748 echo "$as_me: failed program was:" >&5
46749 sed 's/^/| /' conftest.$ac_ext >&5
46751 eval "$as_ac_var=no"
46754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46755 conftest$ac_exeext conftest.$ac_ext
46757 ac_res=`eval echo '${'$as_ac_var'}'`
46758 { echo "$as_me:$LINENO: result: $ac_res" >&5
46759 echo "${ECHO_T}$ac_res" >&6; }
46760 if test `eval echo '${'$as_ac_var'}'` = yes; then
46761 cat >>confdefs.h <<_ACEOF
46762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46769 if test "$ac_cv_func_localtime" = "yes"; then
46770 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46771 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46772 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46773 echo $ECHO_N "(cached) $ECHO_C" >&6
46776 cat >conftest.$ac_ext <<_ACEOF
46779 cat confdefs.h >>conftest.$ac_ext
46780 cat >>conftest.$ac_ext <<_ACEOF
46781 /* end confdefs.h. */
46796 rm -f conftest.$ac_objext
46797 if { (ac_try="$ac_compile"
46798 case "(($ac_try" in
46799 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46800 *) ac_try_echo
=$ac_try;;
46802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46803 (eval "$ac_compile") 2>conftest.er1
46805 grep -v '^ *+' conftest.er1
>conftest.err
46807 cat conftest.err
>&5
46808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46809 (exit $ac_status); } && {
46810 test -z "$ac_c_werror_flag" ||
46811 test ! -s conftest.err
46812 } && test -s conftest.
$ac_objext; then
46814 wx_cv_struct_tm_has_gmtoff
=yes
46817 echo "$as_me: failed program was:" >&5
46818 sed 's/^/| /' conftest.
$ac_ext >&5
46820 wx_cv_struct_tm_has_gmtoff
=no
46824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46827 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46828 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46831 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46832 cat >>confdefs.h
<<\_ACEOF
46833 #define WX_GMTOFF_IN_TM 1
46838 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
46842 if test "$wxUSE_SOCKETS" = "yes"; then
46843 if test "$wxUSE_MGL" = "1"; then
46844 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46845 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46850 if test "$wxUSE_SOCKETS" = "yes"; then
46851 if test "$TOOLKIT" != "MSW"; then
46852 { echo "$as_me:$LINENO: checking for socket" >&5
46853 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46854 if test "${ac_cv_func_socket+set}" = set; then
46855 echo $ECHO_N "(cached) $ECHO_C" >&6
46857 cat >conftest.
$ac_ext <<_ACEOF
46860 cat confdefs.h
>>conftest.
$ac_ext
46861 cat >>conftest.
$ac_ext <<_ACEOF
46862 /* end confdefs.h. */
46863 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46865 #define socket innocuous_socket
46867 /* System header to define __stub macros and hopefully few prototypes,
46868 which can conflict with char socket (); below.
46869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46870 <limits.h> exists even on freestanding compilers. */
46873 # include <limits.h>
46875 # include <assert.h>
46880 /* Override any GCC internal prototype to avoid an error.
46881 Use char because int might match the return type of a GCC
46882 builtin and then its argument prototype would still apply. */
46887 /* The GNU C library defines this for functions which it implements
46888 to always fail with ENOSYS. Some functions are actually named
46889 something starting with __ and the normal name is an alias. */
46890 #if defined __stub_socket || defined __stub___socket
46902 rm -f conftest.
$ac_objext conftest
$ac_exeext
46903 if { (ac_try
="$ac_link"
46904 case "(($ac_try" in
46905 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46906 *) ac_try_echo=$ac_try;;
46908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46909 (eval "$ac_link") 2>conftest.er1
46911 grep -v '^ *+' conftest.er1 >conftest.err
46913 cat conftest.err >&5
46914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46915 (exit $ac_status); } && {
46916 test -z "$ac_c_werror_flag" ||
46917 test ! -s conftest.err
46918 } && test -s conftest$ac_exeext &&
46919 $as_test_x conftest$ac_exeext; then
46920 ac_cv_func_socket=yes
46922 echo "$as_me: failed program was:" >&5
46923 sed 's/^/| /' conftest.$ac_ext >&5
46925 ac_cv_func_socket=no
46928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46929 conftest$ac_exeext conftest.$ac_ext
46931 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46932 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46933 if test $ac_cv_func_socket = yes; then
46937 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46938 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46939 if test "${ac_cv_lib_socket_socket+set}" = set; then
46940 echo $ECHO_N "(cached) $ECHO_C" >&6
46942 ac_check_lib_save_LIBS=$LIBS
46943 LIBS="-lsocket $LIBS"
46944 cat >conftest.$ac_ext <<_ACEOF
46947 cat confdefs.h >>conftest.$ac_ext
46948 cat >>conftest.$ac_ext <<_ACEOF
46949 /* end confdefs.h. */
46951 /* Override any GCC internal prototype to avoid an error.
46952 Use char because int might match the return type of a GCC
46953 builtin and then its argument prototype would still apply. */
46966 rm -f conftest.$ac_objext conftest$ac_exeext
46967 if { (ac_try="$ac_link"
46968 case "(($ac_try" in
46969 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46970 *) ac_try_echo
=$ac_try;;
46972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46973 (eval "$ac_link") 2>conftest.er1
46975 grep -v '^ *+' conftest.er1
>conftest.err
46977 cat conftest.err
>&5
46978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46979 (exit $ac_status); } && {
46980 test -z "$ac_c_werror_flag" ||
46981 test ! -s conftest.err
46982 } && test -s conftest
$ac_exeext &&
46983 $as_test_x conftest
$ac_exeext; then
46984 ac_cv_lib_socket_socket
=yes
46986 echo "$as_me: failed program was:" >&5
46987 sed 's/^/| /' conftest.
$ac_ext >&5
46989 ac_cv_lib_socket_socket
=no
46992 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46993 conftest
$ac_exeext conftest.
$ac_ext
46994 LIBS
=$ac_check_lib_save_LIBS
46996 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46997 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46998 if test $ac_cv_lib_socket_socket = yes; then
46999 if test "$INET_LINK" != " -lsocket"; then
47000 INET_LINK
="$INET_LINK -lsocket"
47004 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
47005 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
47018 if test "$wxUSE_SOCKETS" = "yes" ; then
47019 if test "$TOOLKIT" != "MSW"; then
47020 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
47021 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
47022 if test "${wx_cv_type_getsockname3+set}" = set; then
47023 echo $ECHO_N "(cached) $ECHO_C" >&6
47027 ac_cpp
='$CXXCPP $CPPFLAGS'
47028 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47029 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47030 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47032 cat >conftest.
$ac_ext <<_ACEOF
47035 cat confdefs.h
>>conftest.
$ac_ext
47036 cat >>conftest.
$ac_ext <<_ACEOF
47037 /* end confdefs.h. */
47039 #include <sys/types.h>
47040 #include <sys/socket.h>
47047 getsockname(0, 0, &len);
47053 rm -f conftest.
$ac_objext
47054 if { (ac_try
="$ac_compile"
47055 case "(($ac_try" in
47056 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47057 *) ac_try_echo=$ac_try;;
47059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47060 (eval "$ac_compile") 2>conftest.er1
47062 grep -v '^ *+' conftest.er1 >conftest.err
47064 cat conftest.err >&5
47065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47066 (exit $ac_status); } && {
47067 test -z "$ac_cxx_werror_flag" ||
47068 test ! -s conftest.err
47069 } && test -s conftest.$ac_objext; then
47070 wx_cv_type_getsockname3=socklen_t
47072 echo "$as_me: failed program was:" >&5
47073 sed 's/^/| /' conftest.$ac_ext >&5
47076 CFLAGS_OLD="$CFLAGS"
47077 if test "$GCC" = yes ; then
47078 CFLAGS="-Werror $CFLAGS"
47081 cat >conftest.$ac_ext <<_ACEOF
47084 cat confdefs.h >>conftest.$ac_ext
47085 cat >>conftest.$ac_ext <<_ACEOF
47086 /* end confdefs.h. */
47088 #include <sys/types.h>
47089 #include <sys/socket.h>
47096 getsockname(0, 0, &len);
47102 rm -f conftest.$ac_objext
47103 if { (ac_try="$ac_compile"
47104 case "(($ac_try" in
47105 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47106 *) ac_try_echo
=$ac_try;;
47108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47109 (eval "$ac_compile") 2>conftest.er1
47111 grep -v '^ *+' conftest.er1
>conftest.err
47113 cat conftest.err
>&5
47114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47115 (exit $ac_status); } && {
47116 test -z "$ac_cxx_werror_flag" ||
47117 test ! -s conftest.err
47118 } && test -s conftest.
$ac_objext; then
47119 wx_cv_type_getsockname3
=size_t
47121 echo "$as_me: failed program was:" >&5
47122 sed 's/^/| /' conftest.
$ac_ext >&5
47124 cat >conftest.
$ac_ext <<_ACEOF
47127 cat confdefs.h
>>conftest.
$ac_ext
47128 cat >>conftest.
$ac_ext <<_ACEOF
47129 /* end confdefs.h. */
47131 #include <sys/types.h>
47132 #include <sys/socket.h>
47139 getsockname(0, 0, &len);
47145 rm -f conftest.
$ac_objext
47146 if { (ac_try
="$ac_compile"
47147 case "(($ac_try" in
47148 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47149 *) ac_try_echo=$ac_try;;
47151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47152 (eval "$ac_compile") 2>conftest.er1
47154 grep -v '^ *+' conftest.er1 >conftest.err
47156 cat conftest.err >&5
47157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47158 (exit $ac_status); } && {
47159 test -z "$ac_cxx_werror_flag" ||
47160 test ! -s conftest.err
47161 } && test -s conftest.$ac_objext; then
47162 wx_cv_type_getsockname3=int
47164 echo "$as_me: failed program was:" >&5
47165 sed 's/^/| /' conftest.$ac_ext >&5
47167 wx_cv_type_getsockname3=unknown
47171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47177 CFLAGS="$CFLAGS_OLD"
47182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47184 ac_cpp='$CPP $CPPFLAGS'
47185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47191 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
47192 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
47194 if test "$wx_cv_type_getsockname3" = "unknown"; then
47196 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47197 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47199 cat >>confdefs.h <<_ACEOF
47200 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
47204 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
47205 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
47206 if test "${wx_cv_type_getsockopt5+set}" = set; then
47207 echo $ECHO_N "(cached) $ECHO_C" >&6
47211 ac_cpp='$CXXCPP $CPPFLAGS'
47212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47216 cat >conftest.$ac_ext <<_ACEOF
47219 cat confdefs.h >>conftest.$ac_ext
47220 cat >>conftest.$ac_ext <<_ACEOF
47221 /* end confdefs.h. */
47223 #include <sys/types.h>
47224 #include <sys/socket.h>
47231 getsockopt(0, 0, 0, 0, &len);
47237 rm -f conftest.$ac_objext
47238 if { (ac_try="$ac_compile"
47239 case "(($ac_try" in
47240 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47241 *) ac_try_echo
=$ac_try;;
47243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47244 (eval "$ac_compile") 2>conftest.er1
47246 grep -v '^ *+' conftest.er1
>conftest.err
47248 cat conftest.err
>&5
47249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47250 (exit $ac_status); } && {
47251 test -z "$ac_cxx_werror_flag" ||
47252 test ! -s conftest.err
47253 } && test -s conftest.
$ac_objext; then
47254 wx_cv_type_getsockopt5
=socklen_t
47256 echo "$as_me: failed program was:" >&5
47257 sed 's/^/| /' conftest.
$ac_ext >&5
47260 cat >conftest.
$ac_ext <<_ACEOF
47263 cat confdefs.h
>>conftest.
$ac_ext
47264 cat >>conftest.
$ac_ext <<_ACEOF
47265 /* end confdefs.h. */
47267 #include <sys/types.h>
47268 #include <sys/socket.h>
47275 getsockopt(0, 0, 0, 0, &len);
47281 rm -f conftest.
$ac_objext
47282 if { (ac_try
="$ac_compile"
47283 case "(($ac_try" in
47284 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47285 *) ac_try_echo=$ac_try;;
47287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47288 (eval "$ac_compile") 2>conftest.er1
47290 grep -v '^ *+' conftest.er1 >conftest.err
47292 cat conftest.err >&5
47293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47294 (exit $ac_status); } && {
47295 test -z "$ac_cxx_werror_flag" ||
47296 test ! -s conftest.err
47297 } && test -s conftest.$ac_objext; then
47298 wx_cv_type_getsockopt5=size_t
47300 echo "$as_me: failed program was:" >&5
47301 sed 's/^/| /' conftest.$ac_ext >&5
47303 cat >conftest.$ac_ext <<_ACEOF
47306 cat confdefs.h >>conftest.$ac_ext
47307 cat >>conftest.$ac_ext <<_ACEOF
47308 /* end confdefs.h. */
47310 #include <sys/types.h>
47311 #include <sys/socket.h>
47318 getsockopt(0, 0, 0, 0, &len);
47324 rm -f conftest.$ac_objext
47325 if { (ac_try="$ac_compile"
47326 case "(($ac_try" in
47327 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47328 *) ac_try_echo
=$ac_try;;
47330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47331 (eval "$ac_compile") 2>conftest.er1
47333 grep -v '^ *+' conftest.er1
>conftest.err
47335 cat conftest.err
>&5
47336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47337 (exit $ac_status); } && {
47338 test -z "$ac_cxx_werror_flag" ||
47339 test ! -s conftest.err
47340 } && test -s conftest.
$ac_objext; then
47341 wx_cv_type_getsockopt5
=int
47343 echo "$as_me: failed program was:" >&5
47344 sed 's/^/| /' conftest.
$ac_ext >&5
47346 wx_cv_type_getsockopt5
=unknown
47350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47361 ac_cpp
='$CPP $CPPFLAGS'
47362 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47363 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47364 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47368 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47369 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47371 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47373 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47374 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47376 cat >>confdefs.h
<<_ACEOF
47377 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47384 if test "$wxUSE_SOCKETS" = "yes" ; then
47385 cat >>confdefs.h
<<\_ACEOF
47386 #define wxUSE_SOCKETS 1
47389 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
47392 if test "$wxUSE_PROTOCOL" = "yes"; then
47393 if test "$wxUSE_SOCKETS" != "yes"; then
47394 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47395 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47400 if test "$wxUSE_PROTOCOL" = "yes"; then
47401 cat >>confdefs.h
<<\_ACEOF
47402 #define wxUSE_PROTOCOL 1
47406 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47407 cat >>confdefs.h
<<\_ACEOF
47408 #define wxUSE_PROTOCOL_HTTP 1
47412 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47413 cat >>confdefs.h
<<\_ACEOF
47414 #define wxUSE_PROTOCOL_FTP 1
47418 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47419 cat >>confdefs.h
<<\_ACEOF
47420 #define wxUSE_PROTOCOL_FILE 1
47425 if test "$wxUSE_FS_INET" = "yes"; then
47426 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47427 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47432 if test "$wxUSE_URL" = "yes"; then
47433 if test "$wxUSE_PROTOCOL" != "yes"; then
47434 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47435 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47438 if test "$wxUSE_URL" = "yes"; then
47439 cat >>confdefs.h
<<\_ACEOF
47440 #define wxUSE_URL 1
47446 if test "$wxUSE_VARIANT" = "yes"; then
47447 cat >>confdefs.h
<<\_ACEOF
47448 #define wxUSE_VARIANT 1
47453 if test "$wxUSE_FS_INET" = "yes"; then
47454 cat >>confdefs.h
<<\_ACEOF
47455 #define wxUSE_FS_INET 1
47461 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47464 if test "$TOOLKIT" = "MSW"; then
47467 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47468 if test "$USE_DARWIN" = 1; then
47469 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47470 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47472 ac_cpp
='$CXXCPP $CPPFLAGS'
47473 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47474 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47475 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47477 cat >conftest.
$ac_ext <<_ACEOF
47480 cat confdefs.h
>>conftest.
$ac_ext
47481 cat >>conftest.
$ac_ext <<_ACEOF
47482 /* end confdefs.h. */
47483 #include <IOKit/hid/IOHIDLib.h>
47487 IOHIDQueueInterface *qi = NULL;
47488 IOHIDCallbackFunction cb = NULL;
47489 qi->setEventCallout(NULL, cb, NULL, NULL);
47494 rm -f conftest.
$ac_objext
47495 if { (ac_try
="$ac_compile"
47496 case "(($ac_try" in
47497 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47498 *) ac_try_echo=$ac_try;;
47500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47501 (eval "$ac_compile") 2>conftest.er1
47503 grep -v '^ *+' conftest.er1 >conftest.err
47505 cat conftest.err >&5
47506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47507 (exit $ac_status); } && {
47508 test -z "$ac_cxx_werror_flag" ||
47509 test ! -s conftest.err
47510 } && test -s conftest.$ac_objext; then
47514 echo "$as_me: failed program was:" >&5
47515 sed 's/^/| /' conftest.$ac_ext >&5
47520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47522 ac_cpp='$CPP $CPPFLAGS'
47523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47527 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47528 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47532 if test "$wxUSE_MGL" != "1"; then
47534 for ac_header in linux/joystick.h
47536 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47537 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47539 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47540 echo $ECHO_N "(cached) $ECHO_C" >&6
47542 cat >conftest.$ac_ext <<_ACEOF
47545 cat confdefs.h >>conftest.$ac_ext
47546 cat >>conftest.$ac_ext <<_ACEOF
47547 /* end confdefs.h. */
47548 $ac_includes_default
47550 #include <$ac_header>
47552 rm -f conftest.$ac_objext
47553 if { (ac_try="$ac_compile"
47554 case "(($ac_try" in
47555 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47556 *) ac_try_echo
=$ac_try;;
47558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47559 (eval "$ac_compile") 2>conftest.er1
47561 grep -v '^ *+' conftest.er1
>conftest.err
47563 cat conftest.err
>&5
47564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47565 (exit $ac_status); } && {
47566 test -z "$ac_c_werror_flag" ||
47567 test ! -s conftest.err
47568 } && test -s conftest.
$ac_objext; then
47569 eval "$as_ac_Header=yes"
47571 echo "$as_me: failed program was:" >&5
47572 sed 's/^/| /' conftest.
$ac_ext >&5
47574 eval "$as_ac_Header=no"
47577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47579 ac_res
=`eval echo '${'$as_ac_Header'}'`
47580 { echo "$as_me:$LINENO: result: $ac_res" >&5
47581 echo "${ECHO_T}$ac_res" >&6; }
47582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47583 cat >>confdefs.h
<<_ACEOF
47584 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47594 if test "$wxUSE_JOYSTICK" = "yes"; then
47595 cat >>confdefs.h
<<\_ACEOF
47596 #define wxUSE_JOYSTICK 1
47599 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
47601 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47602 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47608 if test "$wxUSE_FONTENUM" = "yes" ; then
47609 cat >>confdefs.h
<<\_ACEOF
47610 #define wxUSE_FONTENUM 1
47615 if test "$wxUSE_FONTMAP" = "yes" ; then
47616 cat >>confdefs.h
<<\_ACEOF
47617 #define wxUSE_FONTMAP 1
47622 if test "$wxUSE_UNICODE" = "yes" ; then
47623 cat >>confdefs.h
<<\_ACEOF
47624 #define wxUSE_UNICODE 1
47628 if test "$USE_WIN32" != 1; then
47629 wxUSE_UNICODE_MSLU
=no
47632 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47633 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47634 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47635 if test "${ac_cv_lib_unicows_main+set}" = set; then
47636 echo $ECHO_N "(cached) $ECHO_C" >&6
47638 ac_check_lib_save_LIBS
=$LIBS
47639 LIBS
="-lunicows $LIBS"
47640 cat >conftest.
$ac_ext <<_ACEOF
47643 cat confdefs.h
>>conftest.
$ac_ext
47644 cat >>conftest.
$ac_ext <<_ACEOF
47645 /* end confdefs.h. */
47656 rm -f conftest.
$ac_objext conftest
$ac_exeext
47657 if { (ac_try
="$ac_link"
47658 case "(($ac_try" in
47659 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47660 *) ac_try_echo=$ac_try;;
47662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47663 (eval "$ac_link") 2>conftest.er1
47665 grep -v '^ *+' conftest.er1 >conftest.err
47667 cat conftest.err >&5
47668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47669 (exit $ac_status); } && {
47670 test -z "$ac_c_werror_flag" ||
47671 test ! -s conftest.err
47672 } && test -s conftest$ac_exeext &&
47673 $as_test_x conftest$ac_exeext; then
47674 ac_cv_lib_unicows_main=yes
47676 echo "$as_me: failed program was:" >&5
47677 sed 's/^/| /' conftest.$ac_ext >&5
47679 ac_cv_lib_unicows_main=no
47682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47683 conftest$ac_exeext conftest.$ac_ext
47684 LIBS=$ac_check_lib_save_LIBS
47686 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47687 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47688 if test $ac_cv_lib_unicows_main = yes; then
47690 cat >>confdefs.h <<\_ACEOF
47691 #define wxUSE_UNICODE_MSLU 1
47697 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47698 Applications will only run on Windows NT/2000/XP!" >&5
47699 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47700 Applications will only run on Windows NT/2000/XP!" >&2;}
47701 wxUSE_UNICODE_MSLU=no
47708 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47709 cat >>confdefs.h <<\_ACEOF
47710 #define wxUSE_UNICODE_UTF8 1
47714 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47715 cat >>confdefs.h <<\_ACEOF
47716 #define wxUSE_UTF8_LOCALE_ONLY 1
47722 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47723 cat >>confdefs.h <<\_ACEOF
47724 #define wxUSE_EXPERIMENTAL_PRINTF 1
47730 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47731 cat >>confdefs.h <<\_ACEOF
47732 #define wxUSE_CONSTRAINTS 1
47735 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47738 if test "$wxUSE_MDI" = "yes"; then
47739 cat >>confdefs.h <<\_ACEOF
47740 #define wxUSE_MDI 1
47744 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47745 cat >>confdefs.h <<\_ACEOF
47746 #define wxUSE_MDI_ARCHITECTURE 1
47749 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47753 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47754 cat >>confdefs.h <<\_ACEOF
47755 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47758 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47759 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47764 if test "$wxUSE_HELP" = "yes"; then
47765 cat >>confdefs.h <<\_ACEOF
47766 #define wxUSE_HELP 1
47769 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47771 if test "$wxUSE_MSW" = 1; then
47772 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47773 cat >>confdefs.h <<\_ACEOF
47774 #define wxUSE_MS_HTML_HELP 1
47780 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47781 if test "$wxUSE_HTML" = "yes"; then
47782 cat >>confdefs.h <<\_ACEOF
47783 #define wxUSE_WXHTML_HELP 1
47787 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47788 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47789 wxUSE_WXHTML_HELP=no
47794 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47795 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47796 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47797 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47799 cat >>confdefs.h <<\_ACEOF
47800 #define wxUSE_PRINTING_ARCHITECTURE 1
47804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47807 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47808 cat >>confdefs.h <<\_ACEOF
47809 #define wxUSE_POSTSCRIPT 1
47814 cat >>confdefs.h <<\_ACEOF
47815 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47819 cat >>confdefs.h <<\_ACEOF
47820 #define wxUSE_NORMALIZED_PS_FONTS 1
47824 if test "$wxUSE_SVG" = "yes"; then
47825 cat >>confdefs.h <<\_ACEOF
47826 #define wxUSE_SVG 1
47832 if test "$wxUSE_METAFILE" = "yes"; then
47833 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47834 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47835 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47841 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47842 -o "$wxUSE_CLIPBOARD" = "yes" \
47843 -o "$wxUSE_OLE" = "yes" \
47844 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47845 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47846 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47847 if test "${ac_cv_header_ole2_h+set}" = set; then
47848 echo $ECHO_N "(cached) $ECHO_C" >&6
47850 cat >conftest.$ac_ext <<_ACEOF
47853 cat confdefs.h >>conftest.$ac_ext
47854 cat >>conftest.$ac_ext <<_ACEOF
47855 /* end confdefs.h. */
47860 rm -f conftest.$ac_objext
47861 if { (ac_try="$ac_compile"
47862 case "(($ac_try" in
47863 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47864 *) ac_try_echo
=$ac_try;;
47866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47867 (eval "$ac_compile") 2>conftest.er1
47869 grep -v '^ *+' conftest.er1
>conftest.err
47871 cat conftest.err
>&5
47872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47873 (exit $ac_status); } && {
47874 test -z "$ac_c_werror_flag" ||
47875 test ! -s conftest.err
47876 } && test -s conftest.
$ac_objext; then
47877 ac_cv_header_ole2_h
=yes
47879 echo "$as_me: failed program was:" >&5
47880 sed 's/^/| /' conftest.
$ac_ext >&5
47882 ac_cv_header_ole2_h
=no
47885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47887 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47888 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47892 if test "$ac_cv_header_ole2_h" = "yes" ; then
47893 if test "$GCC" = yes ; then
47894 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47895 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47896 cat >conftest.
$ac_ext <<_ACEOF
47899 cat confdefs.h
>>conftest.
$ac_ext
47900 cat >>conftest.
$ac_ext <<_ACEOF
47901 /* end confdefs.h. */
47902 #include <windows.h>
47912 rm -f conftest.
$ac_objext
47913 if { (ac_try
="$ac_compile"
47914 case "(($ac_try" in
47915 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47916 *) ac_try_echo=$ac_try;;
47918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47919 (eval "$ac_compile") 2>conftest.er1
47921 grep -v '^ *+' conftest.er1 >conftest.err
47923 cat conftest.err >&5
47924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47925 (exit $ac_status); } && {
47926 test -z "$ac_c_werror_flag" ||
47927 test ! -s conftest.err
47928 } && test -s conftest.$ac_objext; then
47929 { echo "$as_me:$LINENO: result: no" >&5
47930 echo "${ECHO_T}no" >&6; }
47932 echo "$as_me: failed program was:" >&5
47933 sed 's/^/| /' conftest.$ac_ext >&5
47935 { echo "$as_me:$LINENO: result: yes" >&5
47936 echo "${ECHO_T}yes" >&6; }
47937 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47941 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47942 if test "$wxUSE_OLE" = "yes" ; then
47943 cat >>confdefs.h <<\_ACEOF
47944 #define wxUSE_OLE 1
47947 cat >>confdefs.h <<\_ACEOF
47948 #define wxUSE_OLE_AUTOMATION 1
47951 cat >>confdefs.h <<\_ACEOF
47952 #define wxUSE_ACTIVEX 1
47955 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47959 if test "$wxUSE_DATAOBJ" = "yes" ; then
47960 cat >>confdefs.h <<\_ACEOF
47961 #define wxUSE_DATAOBJ 1
47966 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47967 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47970 wxUSE_DRAG_AND_DROP=no
47975 if test "$wxUSE_METAFILE" = "yes"; then
47976 cat >>confdefs.h <<\_ACEOF
47977 #define wxUSE_METAFILE 1
47981 cat >>confdefs.h <<\_ACEOF
47982 #define wxUSE_ENH_METAFILE 1
47988 if test "$wxUSE_IPC" = "yes"; then
47989 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47990 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47991 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47995 if test "$wxUSE_IPC" = "yes"; then
47996 cat >>confdefs.h <<\_ACEOF
47997 #define wxUSE_IPC 1
48000 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48004 if test "$wxUSE_DATAOBJ" = "yes"; then
48005 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48006 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
48007 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
48010 cat >>confdefs.h <<\_ACEOF
48011 #define wxUSE_DATAOBJ 1
48016 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
48017 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
48019 wxUSE_DRAG_AND_DROP=no
48022 if test "$wxUSE_CLIPBOARD" = "yes"; then
48023 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48024 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
48025 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
48029 if test "$wxUSE_CLIPBOARD" = "yes"; then
48030 cat >>confdefs.h <<\_ACEOF
48031 #define wxUSE_CLIPBOARD 1
48037 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
48038 if test "$wxUSE_GTK" = 1; then
48039 if test "$WXGTK12" != 1; then
48040 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
48041 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
48042 wxUSE_DRAG_AND_DROP=no
48046 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
48047 "$wxUSE_DFB" = 1; then
48048 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
48049 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
48050 wxUSE_DRAG_AND_DROP=no
48053 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
48054 cat >>confdefs.h <<\_ACEOF
48055 #define wxUSE_DRAG_AND_DROP 1
48062 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
48063 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
48066 if test "$wxUSE_SPLINES" = "yes" ; then
48067 cat >>confdefs.h <<\_ACEOF
48068 #define wxUSE_SPLINES 1
48073 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
48074 cat >>confdefs.h <<\_ACEOF
48075 #define wxUSE_MOUSEWHEEL 1
48082 if test "$wxUSE_CONTROLS" = "yes"; then
48086 if test "$wxUSE_ACCEL" = "yes"; then
48087 cat >>confdefs.h <<\_ACEOF
48088 #define wxUSE_ACCEL 1
48094 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
48095 cat >>confdefs.h <<\_ACEOF
48096 #define wxUSE_ANIMATIONCTRL 1
48100 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
48103 if test "$wxUSE_BUTTON" = "yes"; then
48104 cat >>confdefs.h <<\_ACEOF
48105 #define wxUSE_BUTTON 1
48111 if test "$wxUSE_BMPBUTTON" = "yes"; then
48112 cat >>confdefs.h <<\_ACEOF
48113 #define wxUSE_BMPBUTTON 1
48119 if test "$wxUSE_CALCTRL" = "yes"; then
48120 cat >>confdefs.h <<\_ACEOF
48121 #define wxUSE_CALENDARCTRL 1
48125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
48128 if test "$wxUSE_CARET" = "yes"; then
48129 cat >>confdefs.h <<\_ACEOF
48130 #define wxUSE_CARET 1
48134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
48137 if test "$wxUSE_COLLPANE" = "yes"; then
48138 cat >>confdefs.h <<\_ACEOF
48139 #define wxUSE_COLLPANE 1
48143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
48146 if test "$wxUSE_COMBOBOX" = "yes"; then
48147 cat >>confdefs.h <<\_ACEOF
48148 #define wxUSE_COMBOBOX 1
48154 if test "$wxUSE_COMBOCTRL" = "yes"; then
48155 cat >>confdefs.h <<\_ACEOF
48156 #define wxUSE_COMBOCTRL 1
48162 if test "$wxUSE_CHOICE" = "yes"; then
48163 cat >>confdefs.h <<\_ACEOF
48164 #define wxUSE_CHOICE 1
48170 if test "$wxUSE_CHOICEBOOK" = "yes"; then
48171 cat >>confdefs.h <<\_ACEOF
48172 #define wxUSE_CHOICEBOOK 1
48178 if test "$wxUSE_CHECKBOX" = "yes"; then
48179 cat >>confdefs.h <<\_ACEOF
48180 #define wxUSE_CHECKBOX 1
48186 if test "$wxUSE_CHECKLST" = "yes"; then
48187 cat >>confdefs.h <<\_ACEOF
48188 #define wxUSE_CHECKLISTBOX 1
48192 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
48195 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
48196 cat >>confdefs.h <<\_ACEOF
48197 #define wxUSE_COLOURPICKERCTRL 1
48203 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
48204 cat >>confdefs.h <<\_ACEOF
48205 #define wxUSE_DATEPICKCTRL 1
48211 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
48212 cat >>confdefs.h <<\_ACEOF
48213 #define wxUSE_DIRPICKERCTRL 1
48219 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
48220 cat >>confdefs.h <<\_ACEOF
48221 #define wxUSE_FILEPICKERCTRL 1
48227 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
48228 cat >>confdefs.h <<\_ACEOF
48229 #define wxUSE_FONTPICKERCTRL 1
48235 if test "$wxUSE_DISPLAY" = "yes"; then
48236 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
48237 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
48238 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
48241 cat >>confdefs.h <<\_ACEOF
48242 #define wxUSE_DISPLAY 1
48245 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
48249 if test "$wxUSE_DETECT_SM" = "yes"; then
48250 cat >>confdefs.h <<\_ACEOF
48251 #define wxUSE_DETECT_SM 1
48256 if test "$wxUSE_GAUGE" = "yes"; then
48257 cat >>confdefs.h <<\_ACEOF
48258 #define wxUSE_GAUGE 1
48264 if test "$wxUSE_GRID" = "yes"; then
48265 cat >>confdefs.h <<\_ACEOF
48266 #define wxUSE_GRID 1
48270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
48273 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
48274 cat >>confdefs.h <<\_ACEOF
48275 #define wxUSE_HYPERLINKCTRL 1
48281 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48282 cat >>confdefs.h <<\_ACEOF
48283 #define wxUSE_BITMAPCOMBOBOX 1
48289 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48290 cat >>confdefs.h <<\_ACEOF
48291 #define wxUSE_DATAVIEWCTRL 1
48295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
48298 if test "$wxUSE_IMAGLIST" = "yes"; then
48299 cat >>confdefs.h <<\_ACEOF
48300 #define wxUSE_IMAGLIST 1
48305 if test "$wxUSE_LISTBOOK" = "yes"; then
48306 cat >>confdefs.h <<\_ACEOF
48307 #define wxUSE_LISTBOOK 1
48313 if test "$wxUSE_LISTBOX" = "yes"; then
48314 cat >>confdefs.h <<\_ACEOF
48315 #define wxUSE_LISTBOX 1
48319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
48322 if test "$wxUSE_LISTCTRL" = "yes"; then
48323 if test "$wxUSE_IMAGLIST" = "yes"; then
48324 cat >>confdefs.h <<\_ACEOF
48325 #define wxUSE_LISTCTRL 1
48329 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48331 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48332 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48336 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48337 cat >>confdefs.h <<\_ACEOF
48338 #define wxUSE_EDITABLELISTBOX 1
48342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48345 if test "$wxUSE_NOTEBOOK" = "yes"; then
48346 cat >>confdefs.h <<\_ACEOF
48347 #define wxUSE_NOTEBOOK 1
48351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48354 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48355 cat >>confdefs.h <<\_ACEOF
48356 #define wxUSE_ODCOMBOBOX 1
48360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48364 if test "$wxUSE_RADIOBOX" = "yes"; then
48365 cat >>confdefs.h <<\_ACEOF
48366 #define wxUSE_RADIOBOX 1
48372 if test "$wxUSE_RADIOBTN" = "yes"; then
48373 cat >>confdefs.h <<\_ACEOF
48374 #define wxUSE_RADIOBTN 1
48380 if test "$wxUSE_SASH" = "yes"; then
48381 cat >>confdefs.h <<\_ACEOF
48382 #define wxUSE_SASH 1
48385 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48388 if test "$wxUSE_SCROLLBAR" = "yes"; then
48389 cat >>confdefs.h <<\_ACEOF
48390 #define wxUSE_SCROLLBAR 1
48394 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48397 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48398 cat >>confdefs.h <<\_ACEOF
48399 #define wxUSE_SEARCHCTRL 1
48405 if test "$wxUSE_SLIDER" = "yes"; then
48406 cat >>confdefs.h <<\_ACEOF
48407 #define wxUSE_SLIDER 1
48413 if test "$wxUSE_SPINBTN" = "yes"; then
48414 cat >>confdefs.h <<\_ACEOF
48415 #define wxUSE_SPINBTN 1
48421 if test "$wxUSE_SPINCTRL" = "yes"; then
48422 cat >>confdefs.h <<\_ACEOF
48423 #define wxUSE_SPINCTRL 1
48429 if test "$wxUSE_SPLITTER" = "yes"; then
48430 cat >>confdefs.h <<\_ACEOF
48431 #define wxUSE_SPLITTER 1
48434 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48437 if test "$wxUSE_STATBMP" = "yes"; then
48438 cat >>confdefs.h <<\_ACEOF
48439 #define wxUSE_STATBMP 1
48445 if test "$wxUSE_STATBOX" = "yes"; then
48446 cat >>confdefs.h <<\_ACEOF
48447 #define wxUSE_STATBOX 1
48453 if test "$wxUSE_STATTEXT" = "yes"; then
48454 cat >>confdefs.h <<\_ACEOF
48455 #define wxUSE_STATTEXT 1
48461 if test "$wxUSE_STATLINE" = "yes"; then
48462 cat >>confdefs.h <<\_ACEOF
48463 #define wxUSE_STATLINE 1
48469 if test "$wxUSE_STATUSBAR" = "yes"; then
48470 cat >>confdefs.h <<\_ACEOF
48471 #define wxUSE_NATIVE_STATUSBAR 1
48474 cat >>confdefs.h <<\_ACEOF
48475 #define wxUSE_STATUSBAR 1
48480 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48483 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48484 cat >>confdefs.h <<\_ACEOF
48485 #define wxUSE_TAB_DIALOG 1
48490 if test "$wxUSE_TEXTCTRL" = "yes"; then
48491 cat >>confdefs.h <<\_ACEOF
48492 #define wxUSE_TEXTCTRL 1
48496 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48499 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48500 if test "$wxUSE_COCOA" = 1 ; then
48501 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48502 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48506 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48507 cat >>confdefs.h <<\_ACEOF
48508 #define wxUSE_TOGGLEBTN 1
48515 if test "$wxUSE_TOOLBAR" = "yes"; then
48516 cat >>confdefs.h <<\_ACEOF
48517 #define wxUSE_TOOLBAR 1
48522 if test "$wxUSE_UNIVERSAL" = "yes"; then
48523 wxUSE_TOOLBAR_NATIVE="no"
48525 wxUSE_TOOLBAR_NATIVE="yes"
48526 cat >>confdefs.h <<\_ACEOF
48527 #define wxUSE_TOOLBAR_NATIVE 1
48532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48535 if test "$wxUSE_TOOLTIPS" = "yes"; then
48536 if test "$wxUSE_MOTIF" = 1; then
48537 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48538 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48540 if test "$wxUSE_UNIVERSAL" = "yes"; then
48541 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48542 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48544 cat >>confdefs.h <<\_ACEOF
48545 #define wxUSE_TOOLTIPS 1
48552 if test "$wxUSE_TREEBOOK" = "yes"; then
48553 cat >>confdefs.h <<\_ACEOF
48554 #define wxUSE_TREEBOOK 1
48560 if test "$wxUSE_TOOLBOOK" = "yes"; then
48561 cat >>confdefs.h <<\_ACEOF
48562 #define wxUSE_TOOLBOOK 1
48568 if test "$wxUSE_TREECTRL" = "yes"; then
48569 if test "$wxUSE_IMAGLIST" = "yes"; then
48570 cat >>confdefs.h <<\_ACEOF
48571 #define wxUSE_TREECTRL 1
48575 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48577 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48578 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48582 if test "$wxUSE_POPUPWIN" = "yes"; then
48583 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48584 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48585 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48587 if test "$wxUSE_PM" = 1; then
48588 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48589 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48591 cat >>confdefs.h <<\_ACEOF
48592 #define wxUSE_POPUPWIN 1
48595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48602 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48603 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48604 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48605 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48607 cat >>confdefs.h <<\_ACEOF
48608 #define wxUSE_DIALUP_MANAGER 1
48611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48615 if test "$wxUSE_TIPWINDOW" = "yes"; then
48616 if test "$wxUSE_PM" = 1; then
48617 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48618 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48620 cat >>confdefs.h <<\_ACEOF
48621 #define wxUSE_TIPWINDOW 1
48627 if test "$USES_CONTROLS" = 1; then
48628 cat >>confdefs.h <<\_ACEOF
48629 #define wxUSE_CONTROLS 1
48635 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48636 cat >>confdefs.h <<\_ACEOF
48637 #define wxUSE_ACCESSIBILITY 1
48640 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48643 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48644 cat >>confdefs.h <<\_ACEOF
48645 #define wxUSE_DRAGIMAGE 1
48648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48651 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48652 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48653 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48654 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48656 cat >>confdefs.h <<\_ACEOF
48657 #define wxUSE_EXCEPTIONS 1
48660 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48665 if test "$wxUSE_HTML" = "yes"; then
48666 cat >>confdefs.h <<\_ACEOF
48667 #define wxUSE_HTML 1
48671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48672 if test "$wxUSE_MAC" = 1; then
48673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48676 if test "$wxUSE_WEBKIT" = "yes"; then
48677 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48678 old_CPPFLAGS="$CPPFLAGS"
48679 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48680 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48681 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48682 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48683 echo $ECHO_N "(cached) $ECHO_C" >&6
48685 cat >conftest.$ac_ext <<_ACEOF
48688 cat confdefs.h >>conftest.$ac_ext
48689 cat >>conftest.$ac_ext <<_ACEOF
48690 /* end confdefs.h. */
48692 #include <Carbon/Carbon.h>
48693 #include <WebKit/WebKit.h>
48696 #include <WebKit/HIWebView.h>
48698 rm -f conftest.$ac_objext
48699 if { (ac_try="$ac_compile"
48700 case "(($ac_try" in
48701 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48702 *) ac_try_echo
=$ac_try;;
48704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48705 (eval "$ac_compile") 2>conftest.er1
48707 grep -v '^ *+' conftest.er1
>conftest.err
48709 cat conftest.err
>&5
48710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48711 (exit $ac_status); } && {
48712 test -z "$ac_c_werror_flag" ||
48713 test ! -s conftest.err
48714 } && test -s conftest.
$ac_objext; then
48715 ac_cv_header_WebKit_HIWebView_h
=yes
48717 echo "$as_me: failed program was:" >&5
48718 sed 's/^/| /' conftest.
$ac_ext >&5
48720 ac_cv_header_WebKit_HIWebView_h
=no
48723 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48725 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48726 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48727 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48729 cat >>confdefs.h
<<\_ACEOF
48730 #define wxUSE_WEBKIT 1
48733 WEBKIT_LINK
="-framework WebKit"
48737 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48738 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48744 CPPFLAGS
="$old_CPPFLAGS"
48745 elif test "$wxUSE_COCOA" = 1; then
48746 cat >>confdefs.h
<<\_ACEOF
48747 #define wxUSE_WEBKIT 1
48756 if test "$wxUSE_XRC" = "yes"; then
48757 if test "$wxUSE_XML" != "yes"; then
48758 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48759 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48762 cat >>confdefs.h
<<\_ACEOF
48763 #define wxUSE_XRC 1
48767 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
48772 if test "$wxUSE_AUI" = "yes"; then
48773 cat >>confdefs.h
<<\_ACEOF
48774 #define wxUSE_AUI 1
48778 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
48782 if test "$wxUSE_STC" = "yes"; then
48783 cat >>confdefs.h
<<\_ACEOF
48784 #define wxUSE_STC 1
48788 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
48791 if test "$wxUSE_MENUS" = "yes"; then
48792 cat >>confdefs.h
<<\_ACEOF
48793 #define wxUSE_MENUS 1
48796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
48799 if test "$wxUSE_METAFILE" = "yes"; then
48800 cat >>confdefs.h
<<\_ACEOF
48801 #define wxUSE_METAFILE 1
48806 if test "$wxUSE_MIMETYPE" = "yes"; then
48807 cat >>confdefs.h
<<\_ACEOF
48808 #define wxUSE_MIMETYPE 1
48813 if test "$wxUSE_MINIFRAME" = "yes"; then
48814 cat >>confdefs.h
<<\_ACEOF
48815 #define wxUSE_MINIFRAME 1
48818 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
48821 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48822 cat >>confdefs.h
<<\_ACEOF
48823 #define wxUSE_SYSTEM_OPTIONS 1
48828 if test "$wxUSE_TASKBARICON" = "yes"; then
48829 cat >>confdefs.h
<<\_ACEOF
48830 #define wxUSE_TASKBARICON 1
48833 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
48837 if test "$wxUSE_VALIDATORS" = "yes"; then
48838 cat >>confdefs.h
<<\_ACEOF
48839 #define wxUSE_VALIDATORS 1
48842 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
48845 if test "$wxUSE_PALETTE" = "yes" ; then
48846 if test "$wxUSE_DFB" = 1; then
48847 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48848 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48851 cat >>confdefs.h
<<\_ACEOF
48852 #define wxUSE_PALETTE 1
48858 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48859 LIBS
=" -lunicows $LIBS"
48863 if test "$wxUSE_RICHTEXT" = "yes"; then
48864 cat >>confdefs.h
<<\_ACEOF
48865 #define wxUSE_RICHTEXT 1
48869 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
48873 if test "$wxUSE_IMAGE" = "yes" ; then
48874 cat >>confdefs.h
<<\_ACEOF
48875 #define wxUSE_IMAGE 1
48879 if test "$wxUSE_GIF" = "yes" ; then
48880 cat >>confdefs.h
<<\_ACEOF
48881 #define wxUSE_GIF 1
48886 if test "$wxUSE_PCX" = "yes" ; then
48887 cat >>confdefs.h
<<\_ACEOF
48888 #define wxUSE_PCX 1
48893 if test "$wxUSE_TGA" = "yes" ; then
48894 cat >>confdefs.h
<<\_ACEOF
48895 #define wxUSE_TGA 1
48900 if test "$wxUSE_IFF" = "yes" ; then
48901 cat >>confdefs.h
<<\_ACEOF
48902 #define wxUSE_IFF 1
48907 if test "$wxUSE_PNM" = "yes" ; then
48908 cat >>confdefs.h
<<\_ACEOF
48909 #define wxUSE_PNM 1
48914 if test "$wxUSE_XPM" = "yes" ; then
48915 cat >>confdefs.h
<<\_ACEOF
48916 #define wxUSE_XPM 1
48921 if test "$wxUSE_ICO_CUR" = "yes" ; then
48922 cat >>confdefs.h
<<\_ACEOF
48923 #define wxUSE_ICO_CUR 1
48930 if test "$wxUSE_ABOUTDLG" = "yes"; then
48931 cat >>confdefs.h
<<\_ACEOF
48932 #define wxUSE_ABOUTDLG 1
48937 if test "$wxUSE_CHOICEDLG" = "yes"; then
48938 cat >>confdefs.h
<<\_ACEOF
48939 #define wxUSE_CHOICEDLG 1
48944 if test "$wxUSE_COLOURDLG" = "yes"; then
48945 cat >>confdefs.h
<<\_ACEOF
48946 #define wxUSE_COLOURDLG 1
48951 if test "$wxUSE_FILEDLG" = "yes"; then
48952 cat >>confdefs.h
<<\_ACEOF
48953 #define wxUSE_FILEDLG 1
48958 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48959 cat >>confdefs.h
<<\_ACEOF
48960 #define wxUSE_FINDREPLDLG 1
48965 if test "$wxUSE_FONTDLG" = "yes"; then
48966 cat >>confdefs.h
<<\_ACEOF
48967 #define wxUSE_FONTDLG 1
48972 if test "$wxUSE_DIRDLG" = "yes"; then
48973 if test "$wxUSE_TREECTRL" != "yes"; then
48974 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48975 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48977 cat >>confdefs.h
<<\_ACEOF
48978 #define wxUSE_DIRDLG 1
48984 if test "$wxUSE_MSGDLG" = "yes"; then
48985 cat >>confdefs.h
<<\_ACEOF
48986 #define wxUSE_MSGDLG 1
48991 if test "$wxUSE_NUMBERDLG" = "yes"; then
48992 cat >>confdefs.h
<<\_ACEOF
48993 #define wxUSE_NUMBERDLG 1
48998 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48999 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49000 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
49001 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
49003 cat >>confdefs.h
<<\_ACEOF
49004 #define wxUSE_PROGRESSDLG 1
49010 if test "$wxUSE_SPLASH" = "yes"; then
49011 cat >>confdefs.h
<<\_ACEOF
49012 #define wxUSE_SPLASH 1
49015 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
49018 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
49019 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49020 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
49021 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
49023 cat >>confdefs.h
<<\_ACEOF
49024 #define wxUSE_STARTUP_TIPS 1
49030 if test "$wxUSE_TEXTDLG" = "yes"; then
49031 cat >>confdefs.h
<<\_ACEOF
49032 #define wxUSE_TEXTDLG 1
49037 if test "$wxUSE_WIZARDDLG" = "yes"; then
49038 cat >>confdefs.h
<<\_ACEOF
49039 #define wxUSE_WIZARDDLG 1
49042 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
49046 if test "$wxUSE_MSW" = 1 ; then
49048 if test "$wxUSE_DC_CACHEING" = "yes"; then
49049 cat >>confdefs.h
<<\_ACEOF
49050 #define wxUSE_DC_CACHEING 1
49055 if test "$wxUSE_DIB" = "yes"; then
49056 cat >>confdefs.h
<<\_ACEOF
49057 #define wxUSE_WXDIB 1
49062 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
49063 cat >>confdefs.h
<<\_ACEOF
49064 #define wxUSE_OWNER_DRAWN 1
49069 if test "$wxUSE_REGKEY" = "yes"; then
49070 cat >>confdefs.h
<<\_ACEOF
49071 #define wxUSE_REGKEY 1
49076 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
49077 cat >>confdefs.h
<<\_ACEOF
49078 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
49083 if test "$wxUSE_UXTHEME" = "yes"; then
49084 cat >>confdefs.h
<<\_ACEOF
49085 #define wxUSE_UXTHEME 1
49093 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
49094 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
49095 cat >>confdefs.h
<<\_ACEOF
49096 #define wxUSE_GRAPHICS_CONTEXT 1
49099 elif test "$wxUSE_GTK" != 1; then
49100 cat >>confdefs.h
<<\_ACEOF
49101 #define wxUSE_GRAPHICS_CONTEXT 1
49107 { echo "$as_me:$LINENO: checking for CAIRO" >&5
49108 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
49110 if test -n "$PKG_CONFIG"; then
49111 if test -n "$CAIRO_CFLAGS"; then
49112 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
49114 if test -n "$PKG_CONFIG" && \
49115 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49116 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49119 (exit $ac_status); }; then
49120 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
49128 if test -n "$PKG_CONFIG"; then
49129 if test -n "$CAIRO_LIBS"; then
49130 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
49132 if test -n "$PKG_CONFIG" && \
49133 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49134 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49137 (exit $ac_status); }; then
49138 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
49149 if test $pkg_failed = yes; then
49151 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49152 _pkg_short_errors_supported
=yes
49154 _pkg_short_errors_supported
=no
49156 if test $_pkg_short_errors_supported = yes; then
49157 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
49159 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
49161 # Put the nasty error message in config.log where it belongs
49162 echo "$CAIRO_PKG_ERRORS" >&5
49164 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49165 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49167 elif test $pkg_failed = untried
; then
49168 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49169 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49172 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
49173 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
49174 { echo "$as_me:$LINENO: result: yes" >&5
49175 echo "${ECHO_T}yes" >&6; }
49176 cat >>confdefs.h
<<\_ACEOF
49177 #define wxUSE_GRAPHICS_CONTEXT 1
49187 if test "$wxUSE_MEDIACTRL" = "yes"; then
49190 if test "$wxUSE_GTK" = 1; then
49191 wxUSE_GSTREAMER
="no"
49193 GST_VERSION_MAJOR
=0
49194 GST_VERSION_MINOR
=10
49195 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
49197 if test "$wxUSE_GSTREAMER8" = "no"; then
49200 { echo "$as_me:$LINENO: checking for GST" >&5
49201 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49203 if test -n "$PKG_CONFIG"; then
49204 if test -n "$GST_CFLAGS"; then
49205 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
49207 if test -n "$PKG_CONFIG" && \
49208 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49209 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49212 (exit $ac_status); }; then
49213 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49221 if test -n "$PKG_CONFIG"; then
49222 if test -n "$GST_LIBS"; then
49223 pkg_cv_GST_LIBS
="$GST_LIBS"
49225 if test -n "$PKG_CONFIG" && \
49226 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49227 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49230 (exit $ac_status); }; then
49231 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49242 if test $pkg_failed = yes; then
49244 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49245 _pkg_short_errors_supported
=yes
49247 _pkg_short_errors_supported
=no
49249 if test $_pkg_short_errors_supported = yes; then
49250 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49252 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49254 # Put the nasty error message in config.log where it belongs
49255 echo "$GST_PKG_ERRORS" >&5
49258 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49259 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49260 GST_VERSION_MINOR
=8
49263 elif test $pkg_failed = untried
; then
49265 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49266 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49267 GST_VERSION_MINOR
=8
49271 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
49272 GST_LIBS
=$pkg_cv_GST_LIBS
49273 { echo "$as_me:$LINENO: result: yes" >&5
49274 echo "${ECHO_T}yes" >&6; }
49276 wxUSE_GSTREAMER
="yes"
49277 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49281 GST_VERSION_MINOR
=8
49284 if test $GST_VERSION_MINOR = "8"; then
49285 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
49288 { echo "$as_me:$LINENO: checking for GST" >&5
49289 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49291 if test -n "$PKG_CONFIG"; then
49292 if test -n "$GST_CFLAGS"; then
49293 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
49295 if test -n "$PKG_CONFIG" && \
49296 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49297 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49300 (exit $ac_status); }; then
49301 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49309 if test -n "$PKG_CONFIG"; then
49310 if test -n "$GST_LIBS"; then
49311 pkg_cv_GST_LIBS
="$GST_LIBS"
49313 if test -n "$PKG_CONFIG" && \
49314 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49315 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49318 (exit $ac_status); }; then
49319 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49330 if test $pkg_failed = yes; then
49332 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49333 _pkg_short_errors_supported
=yes
49335 _pkg_short_errors_supported
=no
49337 if test $_pkg_short_errors_supported = yes; then
49338 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49340 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49342 # Put the nasty error message in config.log where it belongs
49343 echo "$GST_PKG_ERRORS" >&5
49346 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49347 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49349 elif test $pkg_failed = untried
; then
49351 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49352 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49355 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
49356 GST_LIBS
=$pkg_cv_GST_LIBS
49357 { echo "$as_me:$LINENO: result: yes" >&5
49358 echo "${ECHO_T}yes" >&6; }
49359 wxUSE_GSTREAMER
="yes"
49364 if test "$wxUSE_GSTREAMER" = "yes"; then
49365 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
49366 LIBS
="$GST_LIBS $LIBS"
49368 cat >>confdefs.h
<<\_ACEOF
49369 #define wxUSE_GSTREAMER 1
49377 if test $USE_MEDIA = 1; then
49378 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
49379 cat >>confdefs.h
<<\_ACEOF
49380 #define wxUSE_MEDIACTRL 1
49387 if test "$cross_compiling" = "yes"; then
49390 OSINFO
=`uname -s -r -m`
49391 OSINFO
="\"$OSINFO\""
49394 cat >>confdefs.h
<<_ACEOF
49395 #define WXWIN_OS_DESCRIPTION $OSINFO
49400 if test "x$prefix" != "xNONE"; then
49403 wxPREFIX
=$ac_default_prefix
49406 cat >>confdefs.h
<<_ACEOF
49407 #define wxINSTALL_PREFIX "$wxPREFIX"
49413 STD_BASE_LIBS
="base"
49415 BUILT_WX_LIBS
="base"
49416 ALL_WX_LIBS
="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49418 if test "$wxUSE_SOCKETS" = "yes" ; then
49419 STD_BASE_LIBS
="net $STD_BASE_LIBS"
49420 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
49422 if test "$wxUSE_ODBC" != "no" ; then
49423 BUILT_WX_LIBS
="odbc $BUILT_WX_LIBS"
49425 if test "$wxUSE_XML" = "yes" ; then
49426 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
49427 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
49430 if test "$wxUSE_GUI" = "yes"; then
49431 STD_GUI_LIBS
="adv core"
49432 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
49434 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49435 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
49436 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
49438 if test "$wxUSE_ODBC" != "no" ; then
49439 BUILT_WX_LIBS
="dbgrid $BUILT_WX_LIBS"
49441 if test "$wxUSE_HTML" = "yes" ; then
49442 STD_GUI_LIBS
="html $STD_GUI_LIBS"
49443 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
49445 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49446 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
49448 if test "$wxUSE_OPENGL" = "yes" ; then
49449 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
49451 if test "$wxUSE_AUI" = "yes" ; then
49452 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
49454 if test "$wxUSE_STC" = "yes" ; then
49455 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
49457 if test "$wxUSE_XRC" = "yes" ; then
49458 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
49459 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
49470 if test "$wxUSE_MAC" = 1 ; then
49471 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49472 if test "$USE_DARWIN" = 1; then
49473 LDFLAGS
="$LDFLAGS -framework QuickTime"
49475 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
49478 if test "$USE_DARWIN" = 1; then
49479 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49481 LDFLAGS
="$LDFLAGS -lCarbonLib"
49484 if test "$wxUSE_COCOA" = 1 ; then
49485 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
49486 if test "$wxUSE_MEDIACTRL" = "yes"; then
49487 LDFLAGS
="$LDFLAGS -framework QuickTime"
49490 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49491 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49494 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49496 if test "$wxUSE_GUI" = "yes"; then
49499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49500 dynamic erase event exec font image minimal mobile \
49501 mobile/wxedit mobile/styles propsize render \
49502 rotate shaped svg taborder vscroll widgets"
49504 if test "$wxUSE_MONOLITHIC" != "yes"; then
49505 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
49507 if test "$TOOLKIT" = "MSW"; then
49508 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
49509 if test "$wxUSE_UNIVERSAL" != "yes"; then
49510 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49513 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49514 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
49517 SAMPLES_SUBDIRS
="console"
49521 if test "x$INTELCC" = "xyes" ; then
49522 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
49523 elif test "$GCC" = yes ; then
49524 CWARNINGS
="-Wall -Wundef"
49527 if test "x$INTELCXX" = "xyes" ; then
49528 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
49529 elif test "$GXX" = yes ; then
49530 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
49534 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
49535 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49538 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
49539 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49540 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49543 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49544 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49545 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49547 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49550 if test "x$MWCC" = "xyes"; then
49552 CC
="$CC -cwd source -I-"
49553 CXX
="$CXX -cwd source -I-"
49558 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49559 EXTRALIBS_XML
="$EXPAT_LINK"
49560 EXTRALIBS_HTML
="$MSPACK_LINK"
49561 EXTRALIBS_ODBC
="$ODBC_LINK"
49562 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49563 if test "$wxUSE_GUI" = "yes"; then
49564 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49566 if test "$wxUSE_OPENGL" = "yes"; then
49567 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
49570 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
49572 WXCONFIG_LIBS
="$LIBS"
49574 if test "$wxUSE_REGEX" = "builtin" ; then
49575 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49577 if test "$wxUSE_EXPAT" = "builtin" ; then
49578 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
49580 if test "$wxUSE_ODBC" = "builtin" ; then
49581 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
49583 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49584 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
49586 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49587 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
49589 if test "$wxUSE_LIBPNG" = "builtin" ; then
49590 wxconfig_3rdparty
="png $wxconfig_3rdparty"
49592 if test "$wxUSE_ZLIB" = "builtin" ; then
49593 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
49596 for i
in $wxconfig_3rdparty ; do
49597 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49601 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49604 case "$wxUNIV_THEMES" in
49606 cat >>confdefs.h
<<\_ACEOF
49607 #define wxUSE_ALL_THEMES 1
49613 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49614 cat >>confdefs.h
<<_ACEOF
49615 #define wxUSE_THEME_$t 1
49632 if test $wxUSE_MONOLITHIC = "yes" ; then
49638 if test $wxUSE_PLUGINS = "yes" ; then
49644 if test $wxUSE_ODBC != "no" ; then
49650 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49656 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49687 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49698 TOOLKIT_DESC
="GTK+"
49699 if test "$WXGTK20" = 1; then
49700 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
49701 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49702 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
49704 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49705 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
49707 if test "$wxUSE_LIBHILDON" = "yes"; then
49708 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
49711 if test "$TOOLKIT_EXTRA" != ""; then
49712 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49718 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
49722 TOOLKIT_DESC
="base only"
49726 if test "$wxUSE_WINE" = "yes"; then
49727 BAKEFILE_FORCE_PLATFORM
=win32
49730 if test "$wxUSE_MAC" = 1 ; then
49731 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
49732 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
49733 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49735 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49737 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
49738 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
49739 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
49740 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
49743 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49744 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49747 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49749 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49750 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49751 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49752 echo $ECHO_N "(cached) $ECHO_C" >&6
49755 echo '#include <stdio.h>
49756 const wchar_t test_var[] = L"awidetest";' > conftest.h
49758 echo '#include "conftest.h"
49761 printf("%ls", test_var);
49765 wx_cv_gcc_pch_bug
="pch not supported"
49767 if $CXX conftest.h
>/dev
/null
2>&1
49771 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
49773 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
49774 grep awidetest
>/dev
/null
49776 wx_cv_gcc_pch_bug
=no
49778 wx_cv_gcc_pch_bug
=yes
49783 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
49786 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49787 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49789 if test "$wx_cv_gcc_pch_bug" = yes; then
49797 if test "x$BAKEFILE_HOST" = "x"; then
49798 if test "x${host}" = "x" ; then
49799 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49800 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49801 { (exit 1); exit 1; }; }
49804 BAKEFILE_HOST
="${host}"
49807 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49809 if test -n "$ac_tool_prefix"; then
49810 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49811 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
49812 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49814 if test "${ac_cv_prog_RANLIB+set}" = set; then
49815 echo $ECHO_N "(cached) $ECHO_C" >&6
49817 if test -n "$RANLIB"; then
49818 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
49820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49821 for as_dir
in $PATH
49824 test -z "$as_dir" && as_dir
=.
49825 for ac_exec_ext
in '' $ac_executable_extensions; do
49826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49827 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
49828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49837 RANLIB
=$ac_cv_prog_RANLIB
49838 if test -n "$RANLIB"; then
49839 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49840 echo "${ECHO_T}$RANLIB" >&6; }
49842 { echo "$as_me:$LINENO: result: no" >&5
49843 echo "${ECHO_T}no" >&6; }
49848 if test -z "$ac_cv_prog_RANLIB"; then
49849 ac_ct_RANLIB
=$RANLIB
49850 # Extract the first word of "ranlib", so it can be a program name with args.
49851 set dummy ranlib
; ac_word
=$2
49852 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49854 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49855 echo $ECHO_N "(cached) $ECHO_C" >&6
49857 if test -n "$ac_ct_RANLIB"; then
49858 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
49860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49861 for as_dir
in $PATH
49864 test -z "$as_dir" && as_dir
=.
49865 for ac_exec_ext
in '' $ac_executable_extensions; do
49866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49867 ac_cv_prog_ac_ct_RANLIB
="ranlib"
49868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49877 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
49878 if test -n "$ac_ct_RANLIB"; then
49879 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49880 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49882 { echo "$as_me:$LINENO: result: no" >&5
49883 echo "${ECHO_T}no" >&6; }
49886 if test "x$ac_ct_RANLIB" = x
; then
49889 case $cross_compiling:$ac_tool_warned in
49891 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49892 whose name does not start with the host triplet. If you think this
49893 configuration is useful to you, please write to autoconf@gnu.org." >&5
49894 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49895 whose name does not start with the host triplet. If you think this
49896 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49897 ac_tool_warned
=yes ;;
49899 RANLIB
=$ac_ct_RANLIB
49902 RANLIB
="$ac_cv_prog_RANLIB"
49905 # Find a good install program. We prefer a C program (faster),
49906 # so one script is as good as another. But avoid the broken or
49907 # incompatible versions:
49908 # SysV /etc/install, /usr/sbin/install
49909 # SunOS /usr/etc/install
49910 # IRIX /sbin/install
49912 # AmigaOS /C/install, which installs bootblocks on floppy discs
49913 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49914 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49915 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49916 # OS/2's system install, which has a completely different semantic
49917 # ./install, which can be erroneously created by make from ./install.sh.
49918 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49919 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49920 if test -z "$INSTALL"; then
49921 if test "${ac_cv_path_install+set}" = set; then
49922 echo $ECHO_N "(cached) $ECHO_C" >&6
49924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49925 for as_dir
in $PATH
49928 test -z "$as_dir" && as_dir
=.
49929 # Account for people who put trailing slashes in PATH elements.
49931 .
/ | .
// | /cC
/* | \
49932 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
49933 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
49936 # OSF1 and SCO ODT 3.0 have their own names for install.
49937 # Don't use installbsd from OSF since it installs stuff as root
49939 for ac_prog
in ginstall scoinst
install; do
49940 for ac_exec_ext
in '' $ac_executable_extensions; do
49941 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49942 if test $ac_prog = install &&
49943 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49944 # AIX install. It has an incompatible calling convention.
49946 elif test $ac_prog = install &&
49947 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49948 # program-specific install script used by HP pwplus--don't use.
49951 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
49964 if test "${ac_cv_path_install+set}" = set; then
49965 INSTALL
=$ac_cv_path_install
49967 # As a last resort, use the slow shell script. Don't cache a
49968 # value for INSTALL within a source directory, because that will
49969 # break other packages using the cache if that directory is
49970 # removed, or if the value is a relative name.
49971 INSTALL
=$ac_install_sh
49974 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49975 echo "${ECHO_T}$INSTALL" >&6; }
49977 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49978 # It thinks the first close brace ends the variable substitution.
49979 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
49981 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
49983 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
49985 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49986 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49988 if test "$LN_S" = "ln -s"; then
49989 { echo "$as_me:$LINENO: result: yes" >&5
49990 echo "${ECHO_T}yes" >&6; }
49992 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49993 echo "${ECHO_T}no, using $LN_S" >&6; }
49997 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49998 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49999 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50000 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
50001 echo $ECHO_N "(cached) $ECHO_C" >&6
50003 cat >conftest.
make <<\_ACEOF
50006 @
echo '@@@%%%=$(MAKE)=@@@%%%'
50008 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50009 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50010 *@@@
%%%=?
*=@@@
%%%*)
50011 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
50013 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
50015 rm -f conftest.
make
50017 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
50018 { echo "$as_me:$LINENO: result: yes" >&5
50019 echo "${ECHO_T}yes" >&6; }
50022 { echo "$as_me:$LINENO: result: no" >&5
50023 echo "${ECHO_T}no" >&6; }
50024 SET_MAKE
="MAKE=${MAKE-make}"
50029 if test "x$SUNCXX" = "xyes"; then
50031 AROPTIONS
="-xar -o"
50033 elif test "x$SGICC" = "xyes"; then
50038 if test -n "$ac_tool_prefix"; then
50039 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
50040 set dummy
${ac_tool_prefix}ar; ac_word
=$2
50041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50043 if test "${ac_cv_prog_AR+set}" = set; then
50044 echo $ECHO_N "(cached) $ECHO_C" >&6
50046 if test -n "$AR"; then
50047 ac_cv_prog_AR
="$AR" # Let the user override the test.
50049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50050 for as_dir
in $PATH
50053 test -z "$as_dir" && as_dir
=.
50054 for ac_exec_ext
in '' $ac_executable_extensions; do
50055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50056 ac_cv_prog_AR
="${ac_tool_prefix}ar"
50057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50067 if test -n "$AR"; then
50068 { echo "$as_me:$LINENO: result: $AR" >&5
50069 echo "${ECHO_T}$AR" >&6; }
50071 { echo "$as_me:$LINENO: result: no" >&5
50072 echo "${ECHO_T}no" >&6; }
50077 if test -z "$ac_cv_prog_AR"; then
50079 # Extract the first word of "ar", so it can be a program name with args.
50080 set dummy
ar; ac_word
=$2
50081 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50083 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
50084 echo $ECHO_N "(cached) $ECHO_C" >&6
50086 if test -n "$ac_ct_AR"; then
50087 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
50089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50090 for as_dir
in $PATH
50093 test -z "$as_dir" && as_dir
=.
50094 for ac_exec_ext
in '' $ac_executable_extensions; do
50095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50096 ac_cv_prog_ac_ct_AR
="ar"
50097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50106 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
50107 if test -n "$ac_ct_AR"; then
50108 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
50109 echo "${ECHO_T}$ac_ct_AR" >&6; }
50111 { echo "$as_me:$LINENO: result: no" >&5
50112 echo "${ECHO_T}no" >&6; }
50115 if test "x$ac_ct_AR" = x
; then
50118 case $cross_compiling:$ac_tool_warned in
50120 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50121 whose name does not start with the host triplet. If you think this
50122 configuration is useful to you, please write to autoconf@gnu.org." >&5
50123 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50124 whose name does not start with the host triplet. If you think this
50125 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50126 ac_tool_warned
=yes ;;
50131 AR
="$ac_cv_prog_AR"
50138 if test -n "$ac_tool_prefix"; then
50139 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
50140 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
50141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50143 if test "${ac_cv_prog_STRIP+set}" = set; then
50144 echo $ECHO_N "(cached) $ECHO_C" >&6
50146 if test -n "$STRIP"; then
50147 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
50149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50150 for as_dir
in $PATH
50153 test -z "$as_dir" && as_dir
=.
50154 for ac_exec_ext
in '' $ac_executable_extensions; do
50155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50156 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
50157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50166 STRIP
=$ac_cv_prog_STRIP
50167 if test -n "$STRIP"; then
50168 { echo "$as_me:$LINENO: result: $STRIP" >&5
50169 echo "${ECHO_T}$STRIP" >&6; }
50171 { echo "$as_me:$LINENO: result: no" >&5
50172 echo "${ECHO_T}no" >&6; }
50177 if test -z "$ac_cv_prog_STRIP"; then
50179 # Extract the first word of "strip", so it can be a program name with args.
50180 set dummy strip
; ac_word
=$2
50181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50183 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50184 echo $ECHO_N "(cached) $ECHO_C" >&6
50186 if test -n "$ac_ct_STRIP"; then
50187 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
50189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50190 for as_dir
in $PATH
50193 test -z "$as_dir" && as_dir
=.
50194 for ac_exec_ext
in '' $ac_executable_extensions; do
50195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50196 ac_cv_prog_ac_ct_STRIP
="strip"
50197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50206 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
50207 if test -n "$ac_ct_STRIP"; then
50208 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50209 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
50211 { echo "$as_me:$LINENO: result: no" >&5
50212 echo "${ECHO_T}no" >&6; }
50215 if test "x$ac_ct_STRIP" = x
; then
50218 case $cross_compiling:$ac_tool_warned in
50220 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50221 whose name does not start with the host triplet. If you think this
50222 configuration is useful to you, please write to autoconf@gnu.org." >&5
50223 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50224 whose name does not start with the host triplet. If you think this
50225 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50226 ac_tool_warned
=yes ;;
50231 STRIP
="$ac_cv_prog_STRIP"
50234 if test -n "$ac_tool_prefix"; then
50235 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50236 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
50237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50239 if test "${ac_cv_prog_NM+set}" = set; then
50240 echo $ECHO_N "(cached) $ECHO_C" >&6
50242 if test -n "$NM"; then
50243 ac_cv_prog_NM
="$NM" # Let the user override the test.
50245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50246 for as_dir
in $PATH
50249 test -z "$as_dir" && as_dir
=.
50250 for ac_exec_ext
in '' $ac_executable_extensions; do
50251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50252 ac_cv_prog_NM
="${ac_tool_prefix}nm"
50253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50263 if test -n "$NM"; then
50264 { echo "$as_me:$LINENO: result: $NM" >&5
50265 echo "${ECHO_T}$NM" >&6; }
50267 { echo "$as_me:$LINENO: result: no" >&5
50268 echo "${ECHO_T}no" >&6; }
50273 if test -z "$ac_cv_prog_NM"; then
50275 # Extract the first word of "nm", so it can be a program name with args.
50276 set dummy nm
; ac_word
=$2
50277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50279 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50280 echo $ECHO_N "(cached) $ECHO_C" >&6
50282 if test -n "$ac_ct_NM"; then
50283 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
50285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50286 for as_dir
in $PATH
50289 test -z "$as_dir" && as_dir
=.
50290 for ac_exec_ext
in '' $ac_executable_extensions; do
50291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50292 ac_cv_prog_ac_ct_NM
="nm"
50293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50302 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
50303 if test -n "$ac_ct_NM"; then
50304 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50305 echo "${ECHO_T}$ac_ct_NM" >&6; }
50307 { echo "$as_me:$LINENO: result: no" >&5
50308 echo "${ECHO_T}no" >&6; }
50311 if test "x$ac_ct_NM" = x
; then
50314 case $cross_compiling:$ac_tool_warned in
50316 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50317 whose name does not start with the host triplet. If you think this
50318 configuration is useful to you, please write to autoconf@gnu.org." >&5
50319 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50320 whose name does not start with the host triplet. If you think this
50321 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50322 ac_tool_warned
=yes ;;
50327 NM
="$ac_cv_prog_NM"
50331 case ${BAKEFILE_HOST} in
50333 INSTALL_DIR
="mkdir -p"
50336 INSTALL_DIR
='$(INSTALL) -d'
50342 case ${BAKEFILE_HOST} in
50343 *-*-cygwin* | *-*-mingw32* )
50344 LDFLAGS_GUI
="-mwindows"
50350 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50351 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50352 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50353 echo $ECHO_N "(cached) $ECHO_C" >&6
50356 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
50357 egrep -s GNU
> /dev
/null
); then
50358 bakefile_cv_prog_makeisgnu
="yes"
50360 bakefile_cv_prog_makeisgnu
="no"
50364 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50365 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50367 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50384 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50385 case "${BAKEFILE_HOST}" in
50392 *-pc-os2_emx | *-pc-os2-emx )
50402 powerpc
-apple-macos* )
50411 case "$BAKEFILE_FORCE_PLATFORM" in
50446 # Check whether --enable-omf was given.
50447 if test "${enable_omf+set}" = set; then
50448 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
50452 case "${BAKEFILE_HOST}" in
50454 if test "x$GCC" = "xyes"; then
50455 CFLAGS
="$CFLAGS -fno-common"
50456 CXXFLAGS
="$CXXFLAGS -fno-common"
50458 if test "x$XLCC" = "xyes"; then
50459 CFLAGS
="$CFLAGS -qnocommon"
50460 CXXFLAGS
="$CXXFLAGS -qnocommon"
50464 *-pc-os2_emx | *-pc-os2-emx )
50465 if test "x$bk_os2_use_omf" = "xyes" ; then
50468 LDFLAGS
="-Zomf $LDFLAGS"
50469 CFLAGS
="-Zomf $CFLAGS"
50470 CXXFLAGS
="-Zomf $CXXFLAGS"
50478 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
50484 SO_SUFFIX_MODULE
="so"
50489 DLLPREFIX_MODULE
=""
50493 case "${BAKEFILE_HOST}" in
50496 SO_SUFFIX_MODULE
="sl"
50500 SO_SUFFIX_MODULE
="a"
50504 SO_SUFFIX_MODULE
="dll"
50505 DLLIMP_SUFFIX
="dll.a"
50512 SO_SUFFIX_MODULE
="dll"
50513 DLLIMP_SUFFIX
="dll.a"
50523 *-pc-os2_emx | *-pc-os2-emx )
50525 SO_SUFFIX_MODULE
="dll"
50526 DLLIMP_SUFFIX
=$OS2_LIBEXT
50530 LIBEXT
=".$OS2_LIBEXT"
50535 SO_SUFFIX_MODULE
="bundle"
50539 if test "x$DLLIMP_SUFFIX" = "x" ; then
50540 DLLIMP_SUFFIX
="$SO_SUFFIX"
50555 if test "x$GCC" = "xyes"; then
50559 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
50560 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
50563 case "${BAKEFILE_HOST}" in
50565 if test "x$GCC" != "xyes"; then
50566 LDFLAGS
="$LDFLAGS -L/usr/lib"
50568 SHARED_LD_CC
="${CC} -b -o"
50569 SHARED_LD_CXX
="${CXX} -b -o"
50575 if test "$INTELCC" = "yes"; then
50577 elif test "x$SUNCXX" = "xyes"; then
50578 SHARED_LD_CC
="${CC} -G -o"
50579 SHARED_LD_CXX
="${CXX} -G -o"
50585 if test "x$SUNCXX" = xyes
; then
50586 SHARED_LD_CC
="${CC} -G -o"
50587 SHARED_LD_CXX
="${CXX} -G -o"
50595 cat <<EOF >shared-ld-sh
50597 #-----------------------------------------------------------------------------
50598 #-- Name: distrib/mac/shared-ld-sh
50599 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50600 #-- Author: Gilles Depeyrot
50601 #-- Copyright: (c) 2002 Gilles Depeyrot
50602 #-- Licence: any use permitted
50603 #-----------------------------------------------------------------------------
50608 linking_flag="-dynamiclib"
50609 ldargs="-r -keep_private_externs -nostdlib"
50611 while test ${D}# -gt 0; do
50618 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50619 # collect these options and values
50620 args="${D}{args} ${D}1 ${D}2"
50625 # collect these load args
50626 ldargs="${D}{ldargs} ${D}1"
50629 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50630 # collect these options
50631 args="${D}{args} ${D}1"
50634 -dynamiclib|-bundle)
50635 linking_flag="${D}1"
50639 echo "shared-ld: unhandled option '${D}1'"
50643 *.o | *.a | *.dylib)
50644 # collect object files
50645 objects="${D}{objects} ${D}1"
50649 echo "shared-ld: unhandled argument '${D}1'"
50660 # Link one module containing all the others
50662 if test ${D}{verbose} = 1; then
50663 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50665 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50669 # Link the shared library from the single module created, but only if the
50670 # previous command didn't fail:
50672 if test ${D}{status} = 0; then
50673 if test ${D}{verbose} = 1; then
50674 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50676 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50681 # Remove intermediate module
50683 rm -f master.${D}${D}.o
50688 chmod +x shared
-ld-sh
50690 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50691 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
50694 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50695 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50696 if test "${bakefile_cv_gcc31+set}" = set; then
50697 echo $ECHO_N "(cached) $ECHO_C" >&6
50700 cat >conftest.
$ac_ext <<_ACEOF
50703 cat confdefs.h
>>conftest.
$ac_ext
50704 cat >>conftest.
$ac_ext <<_ACEOF
50705 /* end confdefs.h. */
50711 #if (__GNUC__ < 3) || \
50712 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50720 rm -f conftest.
$ac_objext
50721 if { (ac_try
="$ac_compile"
50722 case "(($ac_try" in
50723 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50724 *) ac_try_echo=$ac_try;;
50726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50727 (eval "$ac_compile") 2>conftest.er1
50729 grep -v '^ *+' conftest.er1 >conftest.err
50731 cat conftest.err >&5
50732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50733 (exit $ac_status); } && {
50734 test -z "$ac_c_werror_flag" ||
50735 test ! -s conftest.err
50736 } && test -s conftest.$ac_objext; then
50738 bakefile_cv_gcc31=yes
50741 echo "$as_me: failed program was:" >&5
50742 sed 's/^/| /' conftest.$ac_ext >&5
50745 bakefile_cv_gcc31=no
50750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50753 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50754 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50755 if test "$bakefile_cv_gcc31" = "no"; then
50756 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50757 SHARED_LD_CXX="$SHARED_LD_CC"
50759 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50760 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50763 if test "x$GCC" == "xyes"; then
50764 PIC_FLAG="-dynamic -fPIC"
50766 if test "x$XLCC" = "xyes"; then
50767 PIC_FLAG="-dynamic -DPIC"
50772 if test "x$GCC" = "xyes"; then
50775 case "${BAKEFILE_HOST}" in
50777 LD_EXPFULL="-Wl,-bexpfull"
50781 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50782 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50784 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50785 set dummy makeC++SharedLib; ac_word=$2
50786 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50788 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50789 echo $ECHO_N "(cached) $ECHO_C" >&6
50791 if test -n "$AIX_CXX_LD"; then
50792 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50795 for as_dir in $PATH
50798 test -z "$as_dir" && as_dir=.
50799 for ac_exec_ext in '' $ac_executable_extensions; do
50800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50801 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50809 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50812 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50813 if test -n "$AIX_CXX_LD"; then
50814 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50815 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50817 { echo "$as_me:$LINENO: result: no" >&5
50818 echo "${ECHO_T}no" >&6; }
50822 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50823 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50828 SHARED_LD_CC="${LD} -nostart -o"
50829 SHARED_LD_CXX="${LD} -nostart -o"
50833 if test "x$GCC" != "xyes"; then
50838 *-*-cygwin* | *-*-mingw32* )
50840 SHARED_LD_CC="\$(CC) -shared -o"
50841 SHARED_LD_CXX="\$(CXX) -shared -o"
50845 *-pc-os2_emx | *-pc-os2-emx )
50846 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50847 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50851 cat <<EOF >dllar.sh
50854 # dllar - a tool to build both a .dll and an .a file
50855 # from a set of object (.o) files for EMX/OS2.
50857 # Written by Andrew Zabolotny, bit@freya.etu.ru
50858 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50860 # This script will accept a set of files on the command line.
50861 # All the public symbols from the .o files will be exported into
50862 # a .DEF file, then linker will be run (through gcc) against them to
50863 # build a shared library consisting of all given .o files. All libraries
50864 # (.a) will be first decompressed into component .o files then act as
50865 # described above. You can optionally give a description (-d "description")
50866 # which will be put into .DLL. To see the list of accepted options (as well
50867 # as command-line format) simply run this program without options. The .DLL
50868 # is built to be imported by name (there is no guarantee that new versions
50869 # of the library you build will have same ordinals for same symbols).
50871 # dllar is free software; you can redistribute it and/or modify
50872 # it under the terms of the GNU General Public License as published by
50873 # the Free Software Foundation; either version 2, or (at your option)
50874 # any later version.
50876 # dllar is distributed in the hope that it will be useful,
50877 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50878 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50879 # GNU General Public License for more details.
50881 # You should have received a copy of the GNU General Public License
50882 # along with dllar; see the file COPYING. If not, write to the Free
50883 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50886 # To successfuly run this program you will need:
50887 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50888 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50890 # (used to build the .dll)
50892 # (used to create .def file from .o files)
50894 # (used to create .a file from .def file)
50895 # - GNU text utilites (cat, sort, uniq)
50896 # used to process emxexp output
50897 # - GNU file utilities (mv, rm)
50899 # - lxlite (optional, see flag below)
50900 # (used for general .dll cleanup)
50907 # basnam, variant of basename, which does _not_ remove the path, _iff_
50908 # second argument (suffix to remove) is given
50912 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50915 echo ${D}1 | sed 's/'${D}2'${D}//'
50918 echo "error in basnam ${D}*"
50924 # Cleanup temporary files and output
50927 for i in ${D}inputFiles ; do
50930 rm -rf \`basnam
${D}i
!\
`
50937 # Kill result in case of failure as there is just to many stupid make/nmake
50938 # things out there which doesn't do this.
50939 if [ ${D}# -eq 0 ]; then
50940 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50944 # Print usage and exit script with rc=1.
50946 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50947 echo ' [-name-mangler-script script.sh]'
50948 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50949 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50950 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50951 echo ' [*.o] [*.a]'
50952 echo '*> "output_file" should have no extension.'
50953 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50954 echo ' The import library name is derived from this and is set to "name".a,'
50955 echo ' unless overridden by -import'
50956 echo '*> "importlib_name" should have no extension.'
50957 echo ' If it has the .o, or .a extension, it is automatically removed.'
50958 echo ' This name is used as the import library name and may be longer and'
50959 echo ' more descriptive than the DLL name which has to follow the old '
50960 echo ' 8.3 convention of FAT.'
50961 echo '*> "script.sh may be given to override the output_file name by a'
50962 echo ' different name. It is mainly useful if the regular make process'
50963 echo ' of some package does not take into account OS/2 restriction of'
50964 echo ' DLL name lengths. It takes the importlib name as input and is'
50965 echo ' supposed to procude a shorter name as output. The script should'
50966 echo ' expect to get importlib_name without extension and should produce'
50967 echo ' a (max.) 8 letter name without extension.'
50968 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50969 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50970 echo ' These flags will be put at the start of GCC command line.'
50971 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50972 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50973 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50974 echo ' If the last character of a symbol is "*", all symbols beginning'
50975 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50976 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50977 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50978 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50979 echo ' C runtime DLLs.'
50980 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50981 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50982 echo ' unchanged to GCC at the end of command line.'
50983 echo '*> If you create a DLL from a library and you do not specify -o,'
50984 echo ' the basename for DLL and import library will be set to library name,'
50985 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50986 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50987 echo ' library will be renamed into gcc_s.a.'
50990 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50991 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50996 # Execute a command.
50997 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50998 # @Uses Whatever CleanUp() uses.
51004 if [ ${D}rcCmd -ne 0 ]; then
51005 echo "command failed, exit code="${D}rcCmd
51020 CFLAGS="-s -Zcrtdll"
51022 EXPORT_BY_ORDINALS=0
51027 case ${D}curDirS in
51031 curDirS=${D}{curDirS}"/"
51034 # Parse commandline
51037 while [ ${D}1 ]; do
51040 EXPORT_BY_ORDINALS=1;
51050 -name-mangler-script)
51071 exclude_symbols=${D}{exclude_symbols}${D}1" "
51075 library_flags=${D}{library_flags}${D}1" "
51094 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51097 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
51098 if [ ${D}omfLinking -eq 1 ]; then
51099 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
51101 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
51106 if [ ${D}libsToLink -ne 0 ]; then
51107 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51109 for file in ${D}1 ; do
51110 if [ -f ${D}file ]; then
51111 inputFiles="${D}{inputFiles} ${D}file"
51115 if [ ${D}found -eq 0 ]; then
51116 echo "ERROR: No file(s) found: "${D}1
51123 done # iterate cmdline words
51126 if [ -z "${D}inputFiles" ]; then
51127 echo "dllar: no input files"
51131 # Now extract all .o files from .a files
51133 for file in ${D}inputFiles ; do
51144 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
51149 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
51151 if [ ${D}? -ne 0 ]; then
51152 echo "Failed to create subdirectory ./${D}dirname"
51156 # Append '!' to indicate archive
51157 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51158 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51161 for subfile in ${D}dirname/*.o* ; do
51162 if [ -f ${D}subfile ]; then
51164 if [ -s ${D}subfile ]; then
51165 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51166 newInputFiles="${D}newInputFiles ${D}subfile"
51170 if [ ${D}found -eq 0 ]; then
51171 echo "WARNING: there are no files in archive \\'${D}file\\'"
51175 newInputFiles="${D}{newInputFiles} ${D}file"
51179 inputFiles="${D}newInputFiles"
51181 # Output filename(s).
51183 if [ -z ${D}outFile ]; then
51185 set outFile ${D}inputFiles; outFile=${D}2
51188 # If it is an archive, remove the '!' and the '_%' suffixes
51189 case ${D}outFile in
51191 outFile=\`basnam
${D}outFile _
%!\
`
51196 case ${D}outFile in
51198 outFile=\`basnam
${D}outFile .dll\
`
51201 outFile=\`basnam
${D}outFile .DLL\
`
51204 outFile=\`basnam
${D}outFile .o\
`
51207 outFile=\`basnam
${D}outFile .obj\
`
51210 outFile=\`basnam
${D}outFile .a\
`
51213 outFile=\`basnam
${D}outFile .lib\
`
51218 case ${D}outimpFile in
51220 outimpFile=\`basnam
${D}outimpFile .a\
`
51223 outimpFile=\`basnam
${D}outimpFile .lib\
`
51228 if [ -z ${D}outimpFile ]; then
51229 outimpFile=${D}outFile
51231 defFile="${D}{outFile}.def"
51232 arcFile="${D}{outimpFile}.a"
51233 arcFile2="${D}{outimpFile}.lib"
51235 #create ${D}dllFile as something matching 8.3 restrictions,
51236 if [ -z ${D}renameScript ] ; then
51237 dllFile="${D}outFile"
51239 dllFile=\`${D}renameScript
${D}outimpFile\
`
51242 if [ ${D}do_backup -ne 0 ] ; then
51243 if [ -f ${D}arcFile ] ; then
51244 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51246 if [ -f ${D}arcFile2 ] ; then
51247 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51251 # Extract public symbols from all the object files.
51252 tmpdefFile=${D}{defFile}_%
51253 rm -f ${D}tmpdefFile
51254 for file in ${D}inputFiles ; do
51259 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51264 # Create the def file.
51266 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
51267 dllFile="${D}{dllFile}.dll"
51268 if [ ! -z ${D}description ]; then
51269 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51271 echo "EXPORTS" >> ${D}defFile
51273 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51274 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51276 # Checks if the export is ok or not.
51277 for word in ${D}exclude_symbols; do
51278 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51279 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51283 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51284 sed "=" < ${D}tmpdefFile | \\
51288 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51290 ' > ${D}{tmpdefFile}%
51291 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51293 rm -f ${D}{tmpdefFile}%
51295 cat ${D}tmpdefFile >> ${D}defFile
51296 rm -f ${D}tmpdefFile
51298 # Do linking, create implib, and apply lxlite.
51300 for file in ${D}inputFiles ; do
51305 gccCmdl="${D}gccCmdl ${D}file"
51309 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51310 touch "${D}{outFile}.dll"
51312 doCommand "emximp -o ${D}arcFile ${D}defFile"
51313 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51315 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51318 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51320 doCommand "emxomf -s -l ${D}arcFile"
51330 powerpc-apple-macos* | \
51331 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51341 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51342 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51343 { (exit 1); exit 1; }; }
51346 if test "x$PIC_FLAG" != "x" ; then
51347 PIC_FLAG="$PIC_FLAG -DPIC"
51350 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51351 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51353 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51354 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51373 case "${BAKEFILE_HOST}" in
51374 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51375 if test "x$SUNCXX" = "xyes"; then
51378 SONAME_FLAG="-Wl,-soname,"
51413 # Check whether --enable-dependency-tracking was given.
51414 if test "${enable_dependency_tracking+set}" = set; then
51415 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51419 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51420 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51423 if test "x$bk_use_trackdeps" = "xno" ; then
51425 { echo "$as_me:$LINENO: result: disabled" >&5
51426 echo "${ECHO_T}disabled" >&6; }
51430 if test "x$GCC" = "xyes"; then
51432 case "${BAKEFILE_HOST}" in
51434 DEPSFLAG="-no-cpp-precomp -MMD"
51440 { echo "$as_me:$LINENO: result: gcc" >&5
51441 echo "${ECHO_T}gcc" >&6; }
51442 elif test "x$MWCC" = "xyes"; then
51445 { echo "$as_me:$LINENO: result: mwcc" >&5
51446 echo "${ECHO_T}mwcc" >&6; }
51447 elif test "x$SUNCC" = "xyes"; then
51450 { echo "$as_me:$LINENO: result: Sun cc" >&5
51451 echo "${ECHO_T}Sun cc" >&6; }
51452 elif test "x$SGICC" = "xyes"; then
51455 { echo "$as_me:$LINENO: result: SGI cc" >&5
51456 echo "${ECHO_T}SGI cc" >&6; }
51457 elif test "x$HPCC" = "xyes"; then
51460 { echo "$as_me:$LINENO: result: HP cc" >&5
51461 echo "${ECHO_T}HP cc" >&6; }
51462 elif test "x$COMPAQCC" = "xyes"; then
51465 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51466 echo "${ECHO_T}Compaq cc" >&6; }
51469 { echo "$as_me:$LINENO: result: none" >&5
51470 echo "${ECHO_T}none" >&6; }
51473 if test $DEPS_TRACKING = 1 ; then
51479 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51480 # script. It is used to track C/C++ files dependencies in portable way.
51482 # Permission is given to use this file in any way.
51484 DEPSMODE=${DEPSMODE}
51486 DEPSFLAG="${DEPSFLAG}"
51488 mkdir -p ${D}DEPSDIR
51490 if test ${D}DEPSMODE = gcc ; then
51491 ${D}* ${D}{DEPSFLAG}
51493 if test ${D}{status} != 0 ; then
51496 # move created file to the location we want it in:
51497 while test ${D}# -gt 0; do
51511 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
51512 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
51513 if test -f ${D}depfile ; then
51514 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51517 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51518 depfile=\`basename ${D}objfile
| sed -e 's/\\..*${D}/.d/g'\
`
51519 if test ! -f ${D}depfile ; then
51520 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51521 depfile="${D}objfile.d"
51523 if test -f ${D}depfile ; then
51524 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51529 elif test ${D}DEPSMODE = mwcc ; then
51530 ${D}* || exit ${D}?
51531 # Run mwcc again with -MM and redirect into the dep file we want
51532 # NOTE: We can't use shift here because we need ${D}* to be valid
51534 for arg in ${D}* ; do
51535 if test "${D}prevarg" = "-o"; then
51548 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51550 elif test ${D}DEPSMODE = unixcc; then
51551 ${D}* || exit ${D}?
51552 # Run compiler again with deps flag and redirect into the dep file.
51553 # It doesn't work if the '-o FILE' option is used, but without it the
51554 # dependency file will contain the wrong name for the object. So it is
51555 # removed from the command line, and the dep file is fixed with sed.
51557 while test ${D}# -gt 0; do
51564 eval arg${D}#=\\${D}1
51565 cmd="${D}cmd \\${D}arg${D}#"
51570 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51579 BK_DEPS="`pwd`/bk-deps"
51587 case ${BAKEFILE_HOST} in
51588 *-*-cygwin* | *-*-mingw32* )
51589 if test -n "$ac_tool_prefix"; then
51590 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51591 set dummy ${ac_tool_prefix}windres; ac_word=$2
51592 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51594 if test "${ac_cv_prog_WINDRES+set}" = set; then
51595 echo $ECHO_N "(cached) $ECHO_C" >&6
51597 if test -n "$WINDRES"; then
51598 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51601 for as_dir in $PATH
51604 test -z "$as_dir" && as_dir=.
51605 for ac_exec_ext in '' $ac_executable_extensions; do
51606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51607 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51617 WINDRES=$ac_cv_prog_WINDRES
51618 if test -n "$WINDRES"; then
51619 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51620 echo "${ECHO_T}$WINDRES" >&6; }
51622 { echo "$as_me:$LINENO: result: no" >&5
51623 echo "${ECHO_T}no" >&6; }
51628 if test -z "$ac_cv_prog_WINDRES"; then
51629 ac_ct_WINDRES=$WINDRES
51630 # Extract the first word of "windres", so it can be a program name with args.
51631 set dummy windres; ac_word=$2
51632 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51634 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51635 echo $ECHO_N "(cached) $ECHO_C" >&6
51637 if test -n "$ac_ct_WINDRES"; then
51638 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51641 for as_dir in $PATH
51644 test -z "$as_dir" && as_dir=.
51645 for ac_exec_ext in '' $ac_executable_extensions; do
51646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51647 ac_cv_prog_ac_ct_WINDRES="windres"
51648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51657 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51658 if test -n "$ac_ct_WINDRES"; then
51659 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51660 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51662 { echo "$as_me:$LINENO: result: no" >&5
51663 echo "${ECHO_T}no" >&6; }
51666 if test "x$ac_ct_WINDRES" = x; then
51669 case $cross_compiling:$ac_tool_warned in
51671 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51672 whose name does not start with the host triplet. If you think this
51673 configuration is useful to you, please write to autoconf@gnu.org." >&5
51674 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51675 whose name does not start with the host triplet. If you think this
51676 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51677 ac_tool_warned=yes ;;
51679 WINDRES=$ac_ct_WINDRES
51682 WINDRES="$ac_cv_prog_WINDRES"
51687 *-*-darwin* | powerpc-apple-macos* )
51688 # Extract the first word of "Rez", so it can be a program name with args.
51689 set dummy Rez; ac_word=$2
51690 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51692 if test "${ac_cv_prog_REZ+set}" = set; then
51693 echo $ECHO_N "(cached) $ECHO_C" >&6
51695 if test -n "$REZ"; then
51696 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51699 for as_dir in $PATH
51702 test -z "$as_dir" && as_dir=.
51703 for ac_exec_ext in '' $ac_executable_extensions; do
51704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51705 ac_cv_prog_REZ="Rez"
51706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51713 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51716 REZ=$ac_cv_prog_REZ
51717 if test -n "$REZ"; then
51718 { echo "$as_me:$LINENO: result: $REZ" >&5
51719 echo "${ECHO_T}$REZ" >&6; }
51721 { echo "$as_me:$LINENO: result: no" >&5
51722 echo "${ECHO_T}no" >&6; }
51726 # Extract the first word of "SetFile", so it can be a program name with args.
51727 set dummy SetFile; ac_word=$2
51728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51730 if test "${ac_cv_prog_SETFILE+set}" = set; then
51731 echo $ECHO_N "(cached) $ECHO_C" >&6
51733 if test -n "$SETFILE"; then
51734 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51737 for as_dir in $PATH
51740 test -z "$as_dir" && as_dir=.
51741 for ac_exec_ext in '' $ac_executable_extensions; do
51742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51743 ac_cv_prog_SETFILE="SetFile"
51744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51751 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51754 SETFILE=$ac_cv_prog_SETFILE
51755 if test -n "$SETFILE"; then
51756 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51757 echo "${ECHO_T}$SETFILE" >&6; }
51759 { echo "$as_me:$LINENO: result: no" >&5
51760 echo "${ECHO_T}no" >&6; }
51772 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51775 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51779 # Check whether --enable-precomp-headers was given.
51780 if test "${enable_precomp_headers+set}" = set; then
51781 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51790 case ${BAKEFILE_HOST} in
51796 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51797 if test "x$GCC" = "xyes"; then
51798 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51799 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51800 cat >conftest.$ac_ext <<_ACEOF
51803 cat confdefs.h >>conftest.$ac_ext
51804 cat >>conftest.$ac_ext <<_ACEOF
51805 /* end confdefs.h. */
51811 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51812 There is no PCH support
51815 There is no PCH support
51817 #if (__GNUC__ == 3) && \
51818 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51819 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51820 ( defined(__INTEL_COMPILER) )
51821 There is no PCH support
51828 rm -f conftest.$ac_objext
51829 if { (ac_try="$ac_compile"
51830 case "(($ac_try" in
51831 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51832 *) ac_try_echo
=$ac_try;;
51834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51835 (eval "$ac_compile") 2>conftest.er1
51837 grep -v '^ *+' conftest.er1
>conftest.err
51839 cat conftest.err
>&5
51840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51841 (exit $ac_status); } && {
51842 test -z "$ac_c_werror_flag" ||
51843 test ! -s conftest.err
51844 } && test -s conftest.
$ac_objext; then
51846 { echo "$as_me:$LINENO: result: yes" >&5
51847 echo "${ECHO_T}yes" >&6; }
51851 echo "$as_me: failed program was:" >&5
51852 sed 's/^/| /' conftest.
$ac_ext >&5
51855 cat >conftest.
$ac_ext <<_ACEOF
51858 cat confdefs.h
>>conftest.
$ac_ext
51859 cat >>conftest.
$ac_ext <<_ACEOF
51860 /* end confdefs.h. */
51866 #if !defined(__INTEL_COMPILER) || \
51867 (__INTEL_COMPILER < 800)
51868 There is no PCH support
51875 rm -f conftest.
$ac_objext
51876 if { (ac_try
="$ac_compile"
51877 case "(($ac_try" in
51878 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51879 *) ac_try_echo=$ac_try;;
51881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51882 (eval "$ac_compile") 2>conftest.er1
51884 grep -v '^ *+' conftest.er1 >conftest.err
51886 cat conftest.err >&5
51887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51888 (exit $ac_status); } && {
51889 test -z "$ac_c_werror_flag" ||
51890 test ! -s conftest.err
51891 } && test -s conftest.$ac_objext; then
51893 { echo "$as_me:$LINENO: result: yes" >&5
51894 echo "${ECHO_T}yes" >&6; }
51898 echo "$as_me: failed program was:" >&5
51899 sed 's/^/| /' conftest.$ac_ext >&5
51902 { echo "$as_me:$LINENO: result: no" >&5
51903 echo "${ECHO_T}no" >&6; }
51907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51912 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51916 cat <<EOF >bk-make-pch
51919 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51920 # script. It is used to generated precompiled headers.
51922 # Permission is given to use this file in any way.
51932 while test ${D}{#} -gt 0; do
51936 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
51937 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51938 headerfile="${D}{incdir}/${D}{header}"
51941 -use-pch|-use_pch )
51946 if test ${D}add_to_cmdline = 1 ; then
51947 compiler="${D}{compiler} ${D}{1}"
51952 if test "x${D}{headerfile}" = "x" ; then
51953 echo "error: can't find header ${D}{header} in include paths" >&2
51955 if test -f ${D}{outfile} ; then
51956 rm -f ${D}{outfile}
51958 mkdir -p \`dirname ${D}{outfile
}\
`
51960 depsfile=".deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
51962 if test "x${GCC_PCH}" = "x1" ; then
51963 # can do this because gcc is >= 3.4:
51964 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51965 elif test "x${ICC_PCH}" = "x1" ; then
51966 filename=pch_gen-${D}${D}
51967 file=${D}{filename}.c
51968 dfile=${D}{filename}.d
51969 cat > ${D}file <<EOT
51970 #include "${D}header"
51972 # using -MF icc complains about differing command lines in creation/use
51973 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51974 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51975 rm -f ${D}file ${D}dfile ${D}{filename}.o
51981 chmod +x bk-make-pch
51982 BK_MAKE_PCH="`pwd`/bk-make-pch"
51991 COND_BUILD_DEBUG="#"
51992 if test "x$BUILD" = "xdebug" ; then
51993 COND_BUILD_DEBUG=""
51996 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51997 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51998 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
52001 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
52002 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
52003 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
52006 COND_BUILD_DEBUG_UNICODE_0="#"
52007 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
52008 COND_BUILD_DEBUG_UNICODE_0=""
52011 COND_BUILD_DEBUG_UNICODE_1="#"
52012 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
52013 COND_BUILD_DEBUG_UNICODE_1=""
52016 COND_BUILD_RELEASE="#"
52017 if test "x$BUILD" = "xrelease" ; then
52018 COND_BUILD_RELEASE=""
52021 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
52022 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
52023 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
52026 COND_BUILD_RELEASE_UNICODE_0="#"
52027 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
52028 COND_BUILD_RELEASE_UNICODE_0=""
52031 COND_BUILD_RELEASE_UNICODE_1="#"
52032 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
52033 COND_BUILD_RELEASE_UNICODE_1=""
52036 COND_DEBUG_FLAG_1="#"
52037 if test "x$DEBUG_FLAG" = "x1" ; then
52038 COND_DEBUG_FLAG_1=""
52041 COND_DEBUG_INFO_0="#"
52042 if test "x$DEBUG_INFO" = "x0" ; then
52043 COND_DEBUG_INFO_0=""
52046 COND_DEBUG_INFO_1="#"
52047 if test "x$DEBUG_INFO" = "x1" ; then
52048 COND_DEBUG_INFO_1=""
52051 COND_DEPS_TRACKING_0="#"
52052 if test "x$DEPS_TRACKING" = "x0" ; then
52053 COND_DEPS_TRACKING_0=""
52056 COND_DEPS_TRACKING_1="#"
52057 if test "x$DEPS_TRACKING" = "x1" ; then
52058 COND_DEPS_TRACKING_1=""
52062 if test "x$GCC_PCH" = "x1" ; then
52067 if test "x$ICC_PCH" = "x1" ; then
52071 COND_MONOLITHIC_0="#"
52072 if test "x$MONOLITHIC" = "x0" ; then
52073 COND_MONOLITHIC_0=""
52076 COND_MONOLITHIC_0_SHARED_0="#"
52077 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
52078 COND_MONOLITHIC_0_SHARED_0=""
52081 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
52082 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
52083 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
52086 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
52087 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
52088 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
52091 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
52092 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52093 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
52096 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
52097 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52098 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
52101 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
52102 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52103 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
52106 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
52107 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52108 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
52111 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
52112 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
52113 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
52116 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
52117 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52118 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
52121 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
52122 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52123 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
52126 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
52127 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52128 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
52131 COND_MONOLITHIC_0_SHARED_1="#"
52132 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
52133 COND_MONOLITHIC_0_SHARED_1=""
52136 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
52137 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
52138 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
52141 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
52142 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
52143 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
52146 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
52147 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52148 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
52151 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
52152 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52153 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
52156 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
52157 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52158 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
52161 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
52162 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52163 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
52166 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
52167 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
52168 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
52171 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
52172 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52173 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
52176 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
52177 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52178 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
52181 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
52182 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52183 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
52186 COND_MONOLITHIC_0_USE_AUI_1="#"
52187 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52188 COND_MONOLITHIC_0_USE_AUI_1=""
52191 COND_MONOLITHIC_0_USE_GUI_1="#"
52192 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52193 COND_MONOLITHIC_0_USE_GUI_1=""
52196 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
52197 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52198 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
52201 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
52202 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52203 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
52206 COND_MONOLITHIC_0_USE_HTML_1="#"
52207 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52208 COND_MONOLITHIC_0_USE_HTML_1=""
52211 COND_MONOLITHIC_0_USE_MEDIA_1="#"
52212 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52213 COND_MONOLITHIC_0_USE_MEDIA_1=""
52216 COND_MONOLITHIC_0_USE_ODBC_1="#"
52217 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
52218 COND_MONOLITHIC_0_USE_ODBC_1=""
52221 COND_MONOLITHIC_0_USE_QA_1="#"
52222 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52223 COND_MONOLITHIC_0_USE_QA_1=""
52226 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52227 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52228 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52231 COND_MONOLITHIC_0_USE_STC_1="#"
52232 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52233 COND_MONOLITHIC_0_USE_STC_1=""
52236 COND_MONOLITHIC_0_USE_XRC_1="#"
52237 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52238 COND_MONOLITHIC_0_USE_XRC_1=""
52241 COND_MONOLITHIC_1="#"
52242 if test "x$MONOLITHIC" = "x1" ; then
52243 COND_MONOLITHIC_1=""
52246 COND_MONOLITHIC_1_SHARED_0="#"
52247 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52248 COND_MONOLITHIC_1_SHARED_0=""
52251 COND_MONOLITHIC_1_SHARED_1="#"
52252 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52253 COND_MONOLITHIC_1_SHARED_1=""
52256 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52257 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52258 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52261 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52262 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52263 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52266 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52267 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52268 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52271 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52272 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52273 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52276 COND_PLATFORM_MACOSX_1="#"
52277 if test "x$PLATFORM_MACOSX" = "x1" ; then
52278 COND_PLATFORM_MACOSX_1=""
52281 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
52282 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
52283 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
52286 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
52287 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
52288 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
52291 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
52292 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
52293 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
52296 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
52297 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
52298 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
52301 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
52302 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52303 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
52306 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
52307 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52308 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
52311 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
52312 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52313 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52316 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52317 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52318 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52321 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52322 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52323 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52326 COND_PLATFORM_MACOS_1="#"
52327 if test "x$PLATFORM_MACOS" = "x1" ; then
52328 COND_PLATFORM_MACOS_1=""
52331 COND_PLATFORM_MAC_1="#"
52332 if test "x$PLATFORM_MAC" = "x1" ; then
52333 COND_PLATFORM_MAC_1=""
52336 COND_PLATFORM_MSDOS_0="#"
52337 if test "x$PLATFORM_MSDOS" = "x0" ; then
52338 COND_PLATFORM_MSDOS_0=""
52341 COND_PLATFORM_MSDOS_1="#"
52342 if test "x$PLATFORM_MSDOS" = "x1" ; then
52343 COND_PLATFORM_MSDOS_1=""
52346 COND_PLATFORM_OS2_1="#"
52347 if test "x$PLATFORM_OS2" = "x1" ; then
52348 COND_PLATFORM_OS2_1=""
52351 COND_PLATFORM_UNIX_0="#"
52352 if test "x$PLATFORM_UNIX" = "x0" ; then
52353 COND_PLATFORM_UNIX_0=""
52356 COND_PLATFORM_UNIX_1="#"
52357 if test "x$PLATFORM_UNIX" = "x1" ; then
52358 COND_PLATFORM_UNIX_1=""
52361 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52362 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52363 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52366 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52367 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52368 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52371 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52372 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52373 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52376 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52377 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52378 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52381 COND_PLATFORM_WIN32_0="#"
52382 if test "x$PLATFORM_WIN32" = "x0" ; then
52383 COND_PLATFORM_WIN32_0=""
52386 COND_PLATFORM_WIN32_1="#"
52387 if test "x$PLATFORM_WIN32" = "x1" ; then
52388 COND_PLATFORM_WIN32_1=""
52392 if test "x$SHARED" = "x0" ; then
52396 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52397 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52398 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52401 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52402 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52403 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52406 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52407 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52408 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52411 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52412 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52413 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52416 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52417 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52418 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52421 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52422 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52423 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52426 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52427 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52428 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52431 COND_SHARED_0_USE_STC_1="#"
52432 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52433 COND_SHARED_0_USE_STC_1=""
52436 COND_SHARED_0_USE_XRC_1="#"
52437 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52438 COND_SHARED_0_USE_XRC_1=""
52441 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52442 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52443 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52446 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52447 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52448 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52451 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52452 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52453 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52456 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52457 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52458 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52462 if test "x$SHARED" = "x1" ; then
52466 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52467 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52468 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52471 COND_SHARED_1_USE_XRC_1="#"
52472 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52473 COND_SHARED_1_USE_XRC_1=""
52477 if test "x$TOOLKIT" = "x" ; then
52481 COND_TOOLKIT_COCOA="#"
52482 if test "x$TOOLKIT" = "xCOCOA" ; then
52483 COND_TOOLKIT_COCOA=""
52486 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52487 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52488 COND_TOOLKIT_COCOA_USE_GUI_1=""
52491 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52492 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52493 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52496 COND_TOOLKIT_DFB="#"
52497 if test "x$TOOLKIT" = "xDFB" ; then
52498 COND_TOOLKIT_DFB=""
52501 COND_TOOLKIT_DFB_USE_GUI_1="#"
52502 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52503 COND_TOOLKIT_DFB_USE_GUI_1=""
52506 COND_TOOLKIT_GTK="#"
52507 if test "x$TOOLKIT" = "xGTK" ; then
52508 COND_TOOLKIT_GTK=""
52511 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52512 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52513 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52516 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52517 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52518 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52521 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52522 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52523 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52526 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52527 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52528 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52531 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52532 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52533 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52536 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52537 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52538 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52541 COND_TOOLKIT_GTK_USE_GUI_1="#"
52542 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52543 COND_TOOLKIT_GTK_USE_GUI_1=""
52546 COND_TOOLKIT_MAC="#"
52547 if test "x$TOOLKIT" = "xMAC" ; then
52548 COND_TOOLKIT_MAC=""
52551 COND_TOOLKIT_MAC_USE_GUI_1="#"
52552 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52553 COND_TOOLKIT_MAC_USE_GUI_1=""
52556 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52557 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52558 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52561 COND_TOOLKIT_MGL="#"
52562 if test "x$TOOLKIT" = "xMGL" ; then
52563 COND_TOOLKIT_MGL=""
52566 COND_TOOLKIT_MGL_USE_GUI_1="#"
52567 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52568 COND_TOOLKIT_MGL_USE_GUI_1=""
52571 COND_TOOLKIT_MOTIF="#"
52572 if test "x$TOOLKIT" = "xMOTIF" ; then
52573 COND_TOOLKIT_MOTIF=""
52576 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52577 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52578 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52581 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52582 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52583 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52586 COND_TOOLKIT_MSW="#"
52587 if test "x$TOOLKIT" = "xMSW" ; then
52588 COND_TOOLKIT_MSW=""
52591 COND_TOOLKIT_MSW_USE_GUI_1="#"
52592 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52593 COND_TOOLKIT_MSW_USE_GUI_1=""
52596 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52597 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52598 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52601 COND_TOOLKIT_MSW_WXUNIV_0="#"
52602 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52603 COND_TOOLKIT_MSW_WXUNIV_0=""
52606 COND_TOOLKIT_PM="#"
52607 if test "x$TOOLKIT" = "xPM" ; then
52611 COND_TOOLKIT_PM_USE_GUI_1="#"
52612 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52613 COND_TOOLKIT_PM_USE_GUI_1=""
52616 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52617 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52618 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52621 COND_TOOLKIT_WINCE="#"
52622 if test "x$TOOLKIT" = "xWINCE" ; then
52623 COND_TOOLKIT_WINCE=""
52626 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52627 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52628 COND_TOOLKIT_WINCE_USE_GUI_1=""
52631 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52632 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52633 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52636 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52637 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52638 COND_TOOLKIT_WINCE_WXUNIV_0=""
52641 COND_TOOLKIT_X11="#"
52642 if test "x$TOOLKIT" = "xX11" ; then
52643 COND_TOOLKIT_X11=""
52646 COND_TOOLKIT_X11_USE_GUI_1="#"
52647 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52648 COND_TOOLKIT_X11_USE_GUI_1=""
52652 if test "x$UNICODE" = "x1" ; then
52656 COND_USE_EXCEPTIONS_0="#"
52657 if test "x$USE_EXCEPTIONS" = "x0" ; then
52658 COND_USE_EXCEPTIONS_0=""
52661 COND_USE_EXCEPTIONS_1="#"
52662 if test "x$USE_EXCEPTIONS" = "x1" ; then
52663 COND_USE_EXCEPTIONS_1=""
52667 if test "x$USE_GUI" = "x0" ; then
52672 if test "x$USE_GUI" = "x1" ; then
52676 COND_USE_GUI_1_USE_OPENGL_1="#"
52677 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52678 COND_USE_GUI_1_USE_OPENGL_1=""
52681 COND_USE_GUI_1_WXUNIV_0="#"
52682 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52683 COND_USE_GUI_1_WXUNIV_0=""
52686 COND_USE_GUI_1_WXUNIV_1="#"
52687 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52688 COND_USE_GUI_1_WXUNIV_1=""
52691 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52692 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52693 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52696 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52697 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52698 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52701 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52702 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52703 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52706 COND_USE_ODBC_1="#"
52707 if test "x$USE_ODBC" = "x1" ; then
52711 COND_USE_OPENGL_1="#"
52712 if test "x$USE_OPENGL" = "x1" ; then
52713 COND_USE_OPENGL_1=""
52717 if test "x$USE_PCH" = "x1" ; then
52721 COND_USE_PLUGINS_0="#"
52722 if test "x$USE_PLUGINS" = "x0" ; then
52723 COND_USE_PLUGINS_0=""
52726 COND_USE_RTTI_0="#"
52727 if test "x$USE_RTTI" = "x0" ; then
52731 COND_USE_RTTI_1="#"
52732 if test "x$USE_RTTI" = "x1" ; then
52736 COND_USE_SOSYMLINKS_1="#"
52737 if test "x$USE_SOSYMLINKS" = "x1" ; then
52738 COND_USE_SOSYMLINKS_1=""
52741 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52742 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52743 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52746 COND_USE_SOVERLINUX_1="#"
52747 if test "x$USE_SOVERLINUX" = "x1" ; then
52748 COND_USE_SOVERLINUX_1=""
52751 COND_USE_SOVERSION_0="#"
52752 if test "x$USE_SOVERSION" = "x0" ; then
52753 COND_USE_SOVERSION_0=""
52756 COND_USE_SOVERSOLARIS_1="#"
52757 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52758 COND_USE_SOVERSOLARIS_1=""
52762 if test "x$USE_STC" = "x1" ; then
52766 COND_USE_THREADS_0="#"
52767 if test "x$USE_THREADS" = "x0" ; then
52768 COND_USE_THREADS_0=""
52771 COND_USE_THREADS_1="#"
52772 if test "x$USE_THREADS" = "x1" ; then
52773 COND_USE_THREADS_1=""
52777 if test "x$USE_XRC" = "x1" ; then
52781 COND_WINDOWS_IMPLIB_1="#"
52782 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52783 COND_WINDOWS_IMPLIB_1=""
52786 COND_WITH_PLUGIN_SDL_1="#"
52787 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52788 COND_WITH_PLUGIN_SDL_1=""
52792 if test "x$WXUNIV" = "x0" ; then
52797 if test "x$WXUNIV" = "x1" ; then
52801 COND_WXUSE_EXPAT_BUILTIN="#"
52802 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52803 COND_WXUSE_EXPAT_BUILTIN=""
52806 COND_WXUSE_LIBJPEG_BUILTIN="#"
52807 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52808 COND_WXUSE_LIBJPEG_BUILTIN=""
52811 COND_WXUSE_LIBPNG_BUILTIN="#"
52812 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52813 COND_WXUSE_LIBPNG_BUILTIN=""
52816 COND_WXUSE_LIBTIFF_BUILTIN="#"
52817 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52818 COND_WXUSE_LIBTIFF_BUILTIN=""
52821 COND_WXUSE_ODBC_BUILTIN="#"
52822 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52823 COND_WXUSE_ODBC_BUILTIN=""
52826 COND_WXUSE_REGEX_BUILTIN="#"
52827 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52828 COND_WXUSE_REGEX_BUILTIN=""
52831 COND_WXUSE_ZLIB_BUILTIN="#"
52832 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52833 COND_WXUSE_ZLIB_BUILTIN=""
52838 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52839 { { 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
52840 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;}
52841 { (exit 1); exit 1; }; }
52844 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52845 { { 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
52846 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;}
52847 { (exit 1); exit 1; }; }
52851 if test $GCC_PCH = 1
52853 if test "$wx_cv_gcc_pch_bug" = yes; then
52854 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52855 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52856 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52857 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52858 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52859 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52862 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52866 if test "$wxUSE_MAC" = 1 ; then
52867 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52868 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52874 if test "$wxUSE_SHARED" = "yes"; then
52876 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52877 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52880 *-pc-os2_emx | *-pc-os2-emx )
52881 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52882 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52883 cp -p ${srcdir}/src/os2/dllnames.sh .
52884 cp -p ${srcdir}/src/os2/dllar.sh .
52889 EXE_LINKER="$CXX -o"
52892 if test "$wxUSE_OMF" = "yes"; then
52894 *-pc-os2_emx | *-pc-os2-emx )
52895 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52896 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52897 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52902 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52907 if "$GCC" = yes; then
52908 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52909 LIBS=`echo $LIBS | sed 's/-mt//'`
52910 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52915 if test "x$SUNCXX" = xyes; then
52916 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52917 LIBS=`echo $LIBS | sed 's/-pthread//'`
52918 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52923 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52924 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52926 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52988 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52989 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52990 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52991 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52992 echo $ECHO_N "(cached) $ECHO_C" >&6
52994 cat >conftest.make <<\_ACEOF
52997 @echo '@@@%%%=$(MAKE)=@@@%%%'
52999 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
53000 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
53001 *@@@%%%=?*=@@@%%%*)
53002 eval ac_cv_prog_make_${ac_make}_set=yes;;
53004 eval ac_cv_prog_make_${ac_make}_set=no;;
53006 rm -f conftest.make
53008 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
53009 { echo "$as_me:$LINENO: result: yes" >&5
53010 echo "${ECHO_T}yes" >&6; }
53013 { echo "$as_me:$LINENO: result: no" >&5
53014 echo "${ECHO_T}no" >&6; }
53015 SET_MAKE="MAKE=${MAKE-make}"
53020 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53023 if test "$USE_WIN32" = 1; then
53024 ac_config_commands="$ac_config_commands
53030 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53033 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53036 if test "$wx_cv_version_script" = "yes"; then
53037 ac_config_files="$ac_config_files version-script"
53040 ac_config_files="$ac_config_files Makefile"
53043 ac_config_commands="$ac_config_commands wx-config"
53047 if test "$wxWITH_SUBDIRS" != "no"; then
53048 if test "$wxUSE_GUI" = "yes"; then
53049 SUBDIRS="samples demos utils"
53050 else SUBDIRS="samples utils"
53055 # Check whether --with-cppunit-prefix was given.
53056 if test "${with_cppunit_prefix+set}" = set; then
53057 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
53059 cppunit_config_prefix=""
53063 # Check whether --with-cppunit-exec-prefix was given.
53064 if test "${with_cppunit_exec_prefix+set}" = set; then
53065 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
53067 cppunit_config_exec_prefix=""
53071 if test x$cppunit_config_exec_prefix != x ; then
53072 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53073 if test x${CPPUNIT_CONFIG+set} != xset ; then
53074 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
53077 if test x$cppunit_config_prefix != x ; then
53078 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
53079 if test x${CPPUNIT_CONFIG+set} != xset ; then
53080 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
53084 # Extract the first word of "cppunit-config", so it can be a program name with args.
53085 set dummy cppunit-config; ac_word=$2
53086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53088 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53089 echo $ECHO_N "(cached) $ECHO_C" >&6
53091 case $CPPUNIT_CONFIG in
53093 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53097 for as_dir in $PATH
53100 test -z "$as_dir" && as_dir=.
53101 for ac_exec_ext in '' $ac_executable_extensions; do
53102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53103 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53111 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53115 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53116 if test -n "$CPPUNIT_CONFIG"; then
53117 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53118 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53120 { echo "$as_me:$LINENO: result: no" >&5
53121 echo "${ECHO_T}no" >&6; }
53125 cppunit_version_min=1.8.0
53127 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53128 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53130 if test "$CPPUNIT_CONFIG" = "no" ; then
53131 { echo "$as_me:$LINENO: result: no" >&5
53132 echo "${ECHO_T}no" >&6; }
53135 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53136 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53137 cppunit_version=`$CPPUNIT_CONFIG --version`
53139 cppunit_major_version=`echo $cppunit_version | \
53140 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53141 cppunit_minor_version=`echo $cppunit_version | \
53142 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53143 cppunit_micro_version=`echo $cppunit_version | \
53144 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53146 cppunit_major_min=`echo $cppunit_version_min | \
53147 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53148 cppunit_minor_min=`echo $cppunit_version_min | \
53149 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53150 cppunit_micro_min=`echo $cppunit_version_min | \
53151 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53153 cppunit_version_proper=`expr \
53154 $cppunit_major_version \
> $cppunit_major_min \
| \
53155 $cppunit_major_version \
= $cppunit_major_min \
& \
53156 $cppunit_minor_version \
> $cppunit_minor_min \
| \
53157 $cppunit_major_version \
= $cppunit_major_min \
& \
53158 $cppunit_minor_version \
= $cppunit_minor_min \
& \
53159 $cppunit_micro_version \
>= $cppunit_micro_min `
53161 if test "$cppunit_version_proper" = "1" ; then
53162 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53163 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53165 { echo "$as_me:$LINENO: result: no" >&5
53166 echo "${ECHO_T}no" >&6; }
53171 if test "x$no_cppunit" = x ; then
53172 SUBDIRS="$SUBDIRS tests"
53183 for subdir in `echo $SUBDIRS`; do
53184 if test -d ${srcdir}/${subdir} ; then
53185 if test "$wxUSE_GUI" = "yes"; then
53186 if test ${subdir} = "samples"; then
53187 makefiles="samples/Makefile.in $makefiles"
53188 for sample in `echo $SAMPLES_SUBDIRS`; do
53189 if test -d $srcdir/samples/$sample; then
53190 makefiles="samples/$sample/Makefile.in $makefiles"
53194 disabled_var=DISABLED_`echo $subdir | tr [a
-z] [A
-Z]`;
53195 eval "disabled=\$$disabled_var"
53196 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
53197 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
53199 else if test ${subdir} = "samples"; then
53200 makefiles="samples/Makefile.in samples/console/Makefile.in"
53201 elif test ${subdir} = "utils"; then
53203 for util in HelpGen tex2rtf ; do
53204 if test -d $srcdir/utils/$util ; then
53205 makefiles="utils/$util/Makefile.in \
53206 utils/$util/src/Makefile.in \
53210 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
53214 for mkin in $makefiles ; do
53215 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53216 ac_config_files="$ac_config_files $mk"
53222 cat >confcache <<\_ACEOF
53223 # This file is a shell script that caches the results of configure
53224 # tests run on this system so they can be shared between configure
53225 # scripts and configure runs, see configure's option --config-cache.
53226 # It is not useful on other systems. If it contains results you don't
53227 # want to keep, you may remove or edit it.
53229 # config.status only pays attention to the cache file if you give it
53230 # the --recheck option to rerun configure.
53232 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
53233 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53234 # following values.
53238 # The following way of writing the cache mishandles newlines in values,
53239 # but we know of no workaround that is simple, portable, and efficient.
53240 # So, we kill variables containing newlines.
53241 # Ultrix sh set writes to stderr and can't be redirected directly,
53242 # and sets the high bit in the cache file unless we assign to the vars.
53244 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53245 eval ac_val
=\$
$ac_var
53249 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53250 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53253 _
| IFS
| as_nl
) ;; #(
53254 *) $as_unset $ac_var ;;
53260 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53261 *${as_nl}ac_space
=\
*)
53262 # `set' does not quote correctly, so add quotes (double-quote
53263 # substitution turns \\\\ into \\, and sed turns \\ into \).
53266 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53269 # `set' quotes correctly as required by POSIX, so do not add quotes.
53270 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53279 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53281 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53283 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
53284 if test -w "$cache_file"; then
53285 test "x$cache_file" != "x/dev/null" &&
53286 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53287 echo "$as_me: updating cache $cache_file" >&6;}
53288 cat confcache
>$cache_file
53290 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53291 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53296 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
53297 # Let make expand exec_prefix.
53298 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
53300 DEFS
=-DHAVE_CONFIG_H
53304 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
53305 # 1. Remove the extension, and $U if already installed.
53306 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
53307 ac_i
=`echo "$ac_i" | sed "$ac_script"`
53308 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53309 # will be set to the directory where LIBOBJS objects are built.
53310 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53311 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53313 LIBOBJS
=$ac_libobjs
53315 LTLIBOBJS
=$ac_ltlibobjs
53319 : ${CONFIG_STATUS=./config.status}
53320 ac_clean_files_save
=$ac_clean_files
53321 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
53322 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53323 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53324 cat >$CONFIG_STATUS <<_ACEOF
53326 # Generated by $as_me.
53327 # Run this file to recreate the current configuration.
53328 # Compiler output produced by configure, useful for debugging
53329 # configure, is in config.log if it exists.
53332 ac_cs_recheck=false
53334 SHELL=\${CONFIG_SHELL-$SHELL}
53337 cat >>$CONFIG_STATUS <<\_ACEOF
53338 ## --------------------- ##
53339 ## M4sh Initialization. ##
53340 ## --------------------- ##
53342 # Be more Bourne compatible
53343 DUALCASE
=1; export DUALCASE
# for MKS sh
53344 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
53347 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53348 # is contrary to our usage. Disable this feature.
53349 alias -g '${1+"$@"}'='"$@"'
53350 setopt NO_GLOB_SUBST
53352 case `(set -o) 2>/dev/null` in
53353 *posix
*) set -o posix
;;
53362 # Avoid depending upon Character Ranges.
53363 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
53364 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53365 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
53366 as_cr_digits
='0123456789'
53367 as_cr_alnum
=$as_cr_Letters$as_cr_digits
53369 # The user is always right.
53370 if test "${PATH_SEPARATOR+set}" != set; then
53371 echo "#! /bin/sh" >conf$$.sh
53372 echo "exit 0" >>conf$$.sh
53374 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53382 # Support unset when possible.
53383 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
53391 # We need space, tab and new line, in precisely that order. Quoting is
53392 # there to prevent editors from complaining about space-tab.
53393 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53394 # splitting by setting IFS to empty value.)
53399 # Find who we are. Look in the path if we contain no directory separator.
53401 *[\\/]* ) as_myself
=$0 ;;
53402 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53403 for as_dir
in $PATH
53406 test -z "$as_dir" && as_dir
=.
53407 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
53413 # We did not find ourselves, most probably we were run as `sh COMMAND'
53414 # in which case we are not to be found in the path.
53415 if test "x$as_myself" = x
; then
53418 if test ! -f "$as_myself"; then
53419 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53420 { (exit 1); exit 1; }
53423 # Work around bugs in pre-3.0 UWIN ksh.
53424 for as_var
in ENV MAIL MAILPATH
53425 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53433 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53434 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53435 LC_TELEPHONE LC_TIME
53437 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53438 eval $as_var=C
; export $as_var
53440 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53444 # Required to use basename.
53445 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53446 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53452 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53453 as_basename
=basename
53459 # Name of the executable.
53460 as_me
=`$as_basename -- "$0" ||
53461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53462 X"$0" : 'X\(//\)$' \| \
53463 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53465 sed '/^.*\/\([^/][^/]*\)\/*$/{
53484 as_lineno_1
=$LINENO
53485 as_lineno_2
=$LINENO
53486 test "x$as_lineno_1" != "x$as_lineno_2" &&
53487 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53489 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53490 # uniformly replaced by the line number. The first 'sed' inserts a
53491 # line-number line after each line using $LINENO; the second 'sed'
53492 # does the real work. The second script uses 'N' to pair each
53493 # line-number line with the line containing $LINENO, and appends
53494 # trailing '-' during substitution so that $LINENO is not a special
53495 # case at line end.
53496 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53497 # scripts with optimization help from Paolo Bonzini. Blame Lee
53498 # E. McMahon (1931-1989) for sed's syntax. :-)
53510 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53513 ' >$as_me.lineno
&&
53514 chmod +x
"$as_me.lineno" ||
53515 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53516 { (exit 1); exit 1; }; }
53518 # Don't try to exec as it changes $[0], causing all sort of problems
53519 # (the dirname of $[0] is not the place where we might find the
53520 # original and so on. Autoconf is especially sensitive to this).
53521 .
"./$as_me.lineno"
53522 # Exit status is that of the last command.
53527 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
53533 ECHO_C
= ECHO_N
= ECHO_T
=
53534 case `echo -n x` in
53536 case `echo 'x\c'` in
53537 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
53544 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53545 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53551 rm -f conf$$ conf$$.exe conf$$.
file
53552 if test -d conf$$.dir
; then
53553 rm -f conf$$.dir
/conf$$.
file
53559 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
53561 # ... but there are two gotchas:
53562 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53563 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53564 # In both cases, we have to default to `cp -p'.
53565 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
53567 elif ln conf$$.
file conf$$
2>/dev
/null
; then
53572 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
53573 rmdir conf$$.dir
2>/dev
/null
53575 if mkdir -p .
2>/dev
/null
; then
53578 test -d .
/-p && rmdir .
/-p
53582 if test -x / >/dev
/null
2>&1; then
53583 as_test_x
='test -x'
53585 if ls -dL / >/dev
/null
2>&1; then
53592 if test -d "$1"; then
53598 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53599 ???[sx]*):;;*)false;;esac;fi
53603 as_executable_p
=$as_test_x
53605 # Sed expression to map a string onto a valid CPP name.
53606 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53608 # Sed expression to map a string onto a valid variable name.
53609 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53614 # Save the log message, to keep $[0] and so on meaningful, and to
53615 # report actual input values of CONFIG_FILES etc. instead of their
53616 # values after options handling.
53618 This file was extended by wxWidgets $as_me 2.9.0, which was
53619 generated by GNU Autoconf 2.61. Invocation command line was
53621 CONFIG_FILES = $CONFIG_FILES
53622 CONFIG_HEADERS = $CONFIG_HEADERS
53623 CONFIG_LINKS = $CONFIG_LINKS
53624 CONFIG_COMMANDS = $CONFIG_COMMANDS
53627 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53632 cat >>$CONFIG_STATUS <<_ACEOF
53633 # Files that config.status was made for.
53634 config_files="$ac_config_files"
53635 config_headers="$ac_config_headers"
53636 config_commands="$ac_config_commands"
53640 cat >>$CONFIG_STATUS <<\_ACEOF
53642 \`$as_me' instantiates files from templates according to the
53643 current configuration.
53645 Usage: $0 [OPTIONS] [FILE]...
53647 -h, --help print this help, then exit
53648 -V, --version print version number and configuration settings, then exit
53649 -q, --quiet do not print progress messages
53650 -d, --debug don't remove temporary files
53651 --recheck update $as_me by reconfiguring in the same conditions
53652 --file=FILE[:TEMPLATE]
53653 instantiate the configuration file FILE
53654 --header=FILE[:TEMPLATE]
53655 instantiate the configuration header FILE
53657 Configuration files:
53660 Configuration headers:
53663 Configuration commands:
53666 Report bugs to <bug-autoconf@gnu.org>."
53669 cat >>$CONFIG_STATUS <<_ACEOF
53671 wxWidgets config.status 2.9.0
53672 configured by $0, generated by GNU Autoconf 2.61,
53673 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53675 Copyright (C) 2006 Free Software Foundation, Inc.
53676 This config.status script is free software; the Free Software Foundation
53677 gives unlimited permission to copy, distribute and modify it."
53684 cat >>$CONFIG_STATUS <<\_ACEOF
53685 # If no file are specified by the user, then we need to provide default
53686 # value. By we need to know if files were specified by the user.
53692 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53693 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
53704 # Handling of the options.
53705 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53707 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53708 echo "$ac_cs_version"; exit ;;
53709 --debug | --debu | --deb | --de | --d | -d )
53711 --file | --fil | --fi | --f )
53713 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53714 ac_need_defaults
=false
;;
53715 --header | --heade | --head | --hea )
53717 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53718 ac_need_defaults
=false
;;
53720 # Conflict between --help and --header
53721 { echo "$as_me: error: ambiguous option: $1
53722 Try \`$0 --help' for more information." >&2
53723 { (exit 1); exit 1; }; };;
53724 --help | --hel | -h )
53725 echo "$ac_cs_usage"; exit ;;
53726 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53727 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53730 # This is an error.
53731 -*) { echo "$as_me: error: unrecognized option: $1
53732 Try \`$0 --help' for more information." >&2
53733 { (exit 1); exit 1; }; } ;;
53735 *) ac_config_targets
="$ac_config_targets $1"
53736 ac_need_defaults
=false
;;
53742 ac_configure_extra_args
=
53744 if $ac_cs_silent; then
53746 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53750 cat >>$CONFIG_STATUS <<_ACEOF
53751 if \$ac_cs_recheck; then
53752 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53753 CONFIG_SHELL=$SHELL
53754 export CONFIG_SHELL
53755 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53759 cat >>$CONFIG_STATUS <<\_ACEOF
53763 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53764 ## Running $as_me. ##
53770 cat >>$CONFIG_STATUS <<_ACEOF
53776 infile="$srcdir/include/wx/msw/genrcdefs.h"
53777 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53780 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53781 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53782 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53788 cat >>$CONFIG_STATUS <<\_ACEOF
53790 # Handling of arguments.
53791 for ac_config_target
in $ac_config_targets
53793 case $ac_config_target in
53794 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53795 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53796 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53797 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53798 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53799 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53800 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53801 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53803 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53804 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53805 { (exit 1); exit 1; }; };;
53810 # If the user did not use the arguments to specify the items to instantiate,
53811 # then the envvar interface is used. Set only those that are not.
53812 # We use the long form for the default assignment because of an extremely
53813 # bizarre bug on SunOS 4.1.3.
53814 if $ac_need_defaults; then
53815 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53816 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53817 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53820 # Have a temporary directory for convenience. Make it in the build tree
53821 # simply because there is no reason against having it here, and in addition,
53822 # creating and moving files from /tmp can sometimes cause problems.
53823 # Hook for its removal unless debugging.
53824 # Note that there is a small window in which the directory will not be cleaned:
53825 # after its creation but before its name has been assigned to `$tmp'.
53829 trap 'exit_status=$?
53830 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53832 trap '{ (exit 1); exit 1; }' 1 2 13 15
53834 # Create a (secure) tmp directory for tmp files.
53837 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53838 test -n "$tmp" && test -d "$tmp"
53841 tmp
=.
/conf$$
-$RANDOM
53842 (umask 077 && mkdir "$tmp")
53845 echo "$me: cannot create a temporary directory in ." >&2
53846 { (exit 1); exit 1; }
53850 # Set up the sed scripts for CONFIG_FILES section.
53853 # No need to generate the scripts if there are no CONFIG_FILES.
53854 # This happens for instance when ./config.status config.h
53855 if test -n "$CONFIG_FILES"; then
53862 for ac_last_try
in false false false false false
:; do
53863 cat >conf$
$subs.
sed <<_ACEOF
53864 SHELL!$SHELL$ac_delim
53865 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53866 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53867 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53868 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53869 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53870 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53871 exec_prefix!$exec_prefix$ac_delim
53872 prefix!$prefix$ac_delim
53873 program_transform_name!$program_transform_name$ac_delim
53874 bindir!$bindir$ac_delim
53875 sbindir!$sbindir$ac_delim
53876 libexecdir!$libexecdir$ac_delim
53877 datarootdir!$datarootdir$ac_delim
53878 datadir!$datadir$ac_delim
53879 sysconfdir!$sysconfdir$ac_delim
53880 sharedstatedir!$sharedstatedir$ac_delim
53881 localstatedir!$localstatedir$ac_delim
53882 includedir!$includedir$ac_delim
53883 oldincludedir!$oldincludedir$ac_delim
53884 docdir!$docdir$ac_delim
53885 infodir!$infodir$ac_delim
53886 htmldir!$htmldir$ac_delim
53887 dvidir!$dvidir$ac_delim
53888 pdfdir!$pdfdir$ac_delim
53889 psdir!$psdir$ac_delim
53890 libdir!$libdir$ac_delim
53891 localedir!$localedir$ac_delim
53892 mandir!$mandir$ac_delim
53893 DEFS!$DEFS$ac_delim
53894 ECHO_C!$ECHO_C$ac_delim
53895 ECHO_N!$ECHO_N$ac_delim
53896 ECHO_T!$ECHO_T$ac_delim
53897 LIBS!$LIBS$ac_delim
53898 build_alias!$build_alias$ac_delim
53899 host_alias!$host_alias$ac_delim
53900 target_alias!$target_alias$ac_delim
53901 build!$build$ac_delim
53902 build_cpu!$build_cpu$ac_delim
53903 build_vendor!$build_vendor$ac_delim
53904 build_os!$build_os$ac_delim
53905 host!$host$ac_delim
53906 host_cpu!$host_cpu$ac_delim
53907 host_vendor!$host_vendor$ac_delim
53908 host_os!$host_os$ac_delim
53909 target!$target$ac_delim
53910 target_cpu!$target_cpu$ac_delim
53911 target_vendor!$target_vendor$ac_delim
53912 target_os!$target_os$ac_delim
53913 wx_top_builddir!$wx_top_builddir$ac_delim
53915 CFLAGS!$CFLAGS$ac_delim
53916 LDFLAGS!$LDFLAGS$ac_delim
53917 CPPFLAGS!$CPPFLAGS$ac_delim
53918 ac_ct_CC!$ac_ct_CC$ac_delim
53919 EXEEXT!$EXEEXT$ac_delim
53920 OBJEXT!$OBJEXT$ac_delim
53922 GREP!$GREP$ac_delim
53923 EGREP!$EGREP$ac_delim
53925 CXXFLAGS!$CXXFLAGS$ac_delim
53926 ac_ct_CXX!$ac_ct_CXX$ac_delim
53927 RANLIB!$RANLIB$ac_delim
53929 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53930 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53931 INSTALL_DATA!$INSTALL_DATA$ac_delim
53932 STRIP!$STRIP$ac_delim
53933 WINDRES!$WINDRES$ac_delim
53934 DLLTOOL!$DLLTOOL$ac_delim
53935 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53936 LN_S!$LN_S$ac_delim
53937 subdirs!$subdirs$ac_delim
53938 PKG_CONFIG!$PKG_CONFIG$ac_delim
53939 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53940 GTK_LIBS!$GTK_LIBS$ac_delim
53941 GTK_CONFIG!$GTK_CONFIG$ac_delim
53942 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53943 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53944 XMKMF!$XMKMF$ac_delim
53945 X_CFLAGS!$X_CFLAGS$ac_delim
53946 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53947 X_LIBS!$X_LIBS$ac_delim
53948 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53949 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53950 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53951 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53952 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53953 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53954 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53955 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53956 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53958 DEREZ!$DEREZ$ac_delim
53959 SETFILE!$SETFILE$ac_delim
53960 LIBICONV!$LIBICONV$ac_delim
53963 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53965 elif $ac_last_try; then
53966 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53967 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53968 { (exit 1); exit 1; }; }
53970 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53974 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53975 if test -n "$ac_eof"; then
53976 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53977 ac_eof
=`expr $ac_eof + 1`
53980 cat >>$CONFIG_STATUS <<_ACEOF
53981 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53982 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53985 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53986 s/^/s,@/; s/!/@,|#_!!_#|/
53989 s/'"$ac_delim"'$/,g/; t
53991 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53992 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53993 rm -f conf$
$subs.
sed
53994 cat >>$CONFIG_STATUS <<_ACEOF
54000 for ac_last_try
in false false false false false
:; do
54001 cat >conf$
$subs.
sed <<_ACEOF
54002 SDL_CONFIG!$SDL_CONFIG$ac_delim
54003 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
54004 SDL_LIBS!$SDL_LIBS$ac_delim
54005 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
54006 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
54007 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
54008 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
54009 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
54010 HILDON_LIBS!$HILDON_LIBS$ac_delim
54011 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
54012 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
54013 GST_CFLAGS!$GST_CFLAGS$ac_delim
54014 GST_LIBS!$GST_LIBS$ac_delim
54015 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
54016 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
54017 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
54018 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
54019 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
54020 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
54021 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
54022 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
54023 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
54024 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
54025 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
54026 VENDOR!$VENDOR$ac_delim
54027 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
54028 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
54029 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
54030 WXUNIV!$WXUNIV$ac_delim
54031 MONOLITHIC!$MONOLITHIC$ac_delim
54032 USE_PLUGINS!$USE_PLUGINS$ac_delim
54033 CXXWARNINGS!$CXXWARNINGS$ac_delim
54034 EXTRALIBS!$EXTRALIBS$ac_delim
54035 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
54036 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
54037 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
54038 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
54039 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
54040 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
54041 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
54042 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
54043 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
54044 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
54045 UNICODE!$UNICODE$ac_delim
54046 BUILD!$BUILD$ac_delim
54047 DEBUG_INFO!$DEBUG_INFO$ac_delim
54048 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
54049 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
54050 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
54051 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
54052 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
54053 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
54054 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
54055 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
54056 SET_MAKE!$SET_MAKE$ac_delim
54057 MAKE_SET!$MAKE_SET$ac_delim
54058 AROPTIONS!$AROPTIONS$ac_delim
54060 INSTALL_DIR!$INSTALL_DIR$ac_delim
54061 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
54062 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
54063 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
54064 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
54065 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54066 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54067 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54068 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54069 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54070 SO_SUFFIX!$SO_SUFFIX$ac_delim
54071 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54072 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54073 LIBPREFIX!$LIBPREFIX$ac_delim
54074 LIBEXT!$LIBEXT$ac_delim
54075 DLLPREFIX!$DLLPREFIX$ac_delim
54076 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54077 dlldir!$dlldir$ac_delim
54078 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54079 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54080 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54081 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54082 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54083 PIC_FLAG!$PIC_FLAG$ac_delim
54084 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54085 USE_SOVERSION!$USE_SOVERSION$ac_delim
54086 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54087 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54088 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54089 USE_MACVERSION!$USE_MACVERSION$ac_delim
54090 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
54091 SONAME_FLAG!$SONAME_FLAG$ac_delim
54092 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54093 BK_DEPS!$BK_DEPS$ac_delim
54094 GCC_PCH!$GCC_PCH$ac_delim
54095 ICC_PCH!$ICC_PCH$ac_delim
54096 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54097 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54098 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54101 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54103 elif $ac_last_try; then
54104 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54105 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54106 { (exit 1); exit 1; }; }
54108 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54112 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54113 if test -n "$ac_eof"; then
54114 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54115 ac_eof
=`expr $ac_eof + 1`
54118 cat >>$CONFIG_STATUS <<_ACEOF
54119 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54120 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54123 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54124 s/^/s,@/; s/!/@,|#_!!_#|/
54127 s/'"$ac_delim"'$/,g/; t
54129 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54130 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54131 rm -f conf$
$subs.
sed
54132 cat >>$CONFIG_STATUS <<_ACEOF
54138 for ac_last_try
in false false false false false
:; do
54139 cat >conf$
$subs.
sed <<_ACEOF
54140 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54141 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54142 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54143 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54144 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54145 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54146 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54147 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54148 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54149 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54150 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54151 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54152 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54153 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54154 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54155 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54156 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54157 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54158 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54159 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54160 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
54161 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54162 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
54163 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54164 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54165 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54166 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54167 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54168 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54169 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54170 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54171 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
54172 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54173 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
54174 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54175 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54176 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54177 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54178 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54179 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54180 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
54181 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54182 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54183 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
54184 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54185 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54186 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54187 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54188 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54189 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54190 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54191 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54192 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54193 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54194 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54195 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54196 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
54197 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
54198 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
54199 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
54200 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
54201 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
54202 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
54203 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54204 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54205 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54206 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54207 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54208 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54209 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54210 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54211 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54212 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54213 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54214 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54215 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54216 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54217 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54218 COND_SHARED_0!$COND_SHARED_0$ac_delim
54219 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54220 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54221 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54222 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54223 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54224 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54225 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54226 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54227 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
54228 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
54229 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
54230 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
54231 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
54232 COND_SHARED_1!$COND_SHARED_1$ac_delim
54233 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54234 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
54235 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54236 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54239 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54241 elif $ac_last_try; then
54242 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54243 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54244 { (exit 1); exit 1; }; }
54246 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54250 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54251 if test -n "$ac_eof"; then
54252 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54253 ac_eof
=`expr $ac_eof + 1`
54256 cat >>$CONFIG_STATUS <<_ACEOF
54257 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54258 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54261 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54262 s/^/s,@/; s/!/@,|#_!!_#|/
54265 s/'"$ac_delim"'$/,g/; t
54267 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54268 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54269 rm -f conf$
$subs.
sed
54270 cat >>$CONFIG_STATUS <<_ACEOF
54276 for ac_last_try
in false false false false false
:; do
54277 cat >conf$
$subs.
sed <<_ACEOF
54278 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54279 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54280 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54281 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54282 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54283 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54284 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54285 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54286 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54287 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54288 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54289 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54290 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54291 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54292 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54293 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54294 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54295 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54296 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54297 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54298 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54299 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54300 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54301 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54302 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54303 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54304 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54305 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54306 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54307 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54308 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54309 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54310 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54311 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54312 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54313 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54314 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54315 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54316 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54317 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54318 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54319 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54320 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54321 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54322 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54323 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54324 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54325 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54326 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54327 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54328 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54329 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54330 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54331 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54332 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54333 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54334 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54335 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54336 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54337 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54338 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54339 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54340 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54341 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54342 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54343 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54344 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54345 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54346 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54347 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54348 SHARED!$SHARED$ac_delim
54349 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54350 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54351 USE_GUI!$USE_GUI$ac_delim
54352 AFMINSTALL!$AFMINSTALL$ac_delim
54353 WIN32INSTALL!$WIN32INSTALL$ac_delim
54354 TOOLKIT!$TOOLKIT$ac_delim
54355 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54356 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54357 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54358 cross_compiling!$cross_compiling$ac_delim
54359 WIDGET_SET!$WIDGET_SET$ac_delim
54360 WX_RELEASE!$WX_RELEASE$ac_delim
54361 WX_VERSION!$WX_VERSION$ac_delim
54362 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54363 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54364 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54365 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54366 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54367 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54368 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54369 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54370 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54371 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54372 EXE_LINKER!$EXE_LINKER$ac_delim
54373 GUIDIST!$GUIDIST$ac_delim
54374 DISTDIR!$DISTDIR$ac_delim
54377 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54379 elif $ac_last_try; then
54380 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54381 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54382 { (exit 1); exit 1; }; }
54384 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54388 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54389 if test -n "$ac_eof"; then
54390 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54391 ac_eof
=`expr $ac_eof + 1`
54394 cat >>$CONFIG_STATUS <<_ACEOF
54395 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54396 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54399 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54400 s/^/s,@/; s/!/@,|#_!!_#|/
54403 s/'"$ac_delim"'$/,g/; t
54405 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54406 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54407 rm -f conf$
$subs.
sed
54408 cat >>$CONFIG_STATUS <<_ACEOF
54414 for ac_last_try
in false false false false false
:; do
54415 cat >conf$
$subs.
sed <<_ACEOF
54416 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54417 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54418 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54419 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54420 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54421 RESCOMP!$RESCOMP$ac_delim
54422 RESFLAGS!$RESFLAGS$ac_delim
54423 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54424 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54425 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54426 LIBWXMACRES!$LIBWXMACRES$ac_delim
54427 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54428 MACSETFILE!$MACSETFILE$ac_delim
54430 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54431 LIBOBJS!$LIBOBJS$ac_delim
54432 LTLIBOBJS!$LTLIBOBJS$ac_delim
54435 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54437 elif $ac_last_try; then
54438 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54439 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54440 { (exit 1); exit 1; }; }
54442 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54446 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54447 if test -n "$ac_eof"; then
54448 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54449 ac_eof
=`expr $ac_eof + 1`
54452 cat >>$CONFIG_STATUS <<_ACEOF
54453 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54454 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54457 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54458 s/^/s,@/; s/!/@,|#_!!_#|/
54461 s/'"$ac_delim"'$/,g/; t
54463 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54464 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54465 rm -f conf$
$subs.
sed
54466 cat >>$CONFIG_STATUS <<_ACEOF
54473 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54474 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54475 # trailing colons and then remove the whole line if VPATH becomes empty
54476 # (actually we leave an empty line to preserve line numbers).
54477 if test "x$srcdir" = x.
; then
54478 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
54479 s/:*\$(srcdir):*/:/
54480 s/:*\${srcdir}:*/:/
54482 s/^\([^=]*=[ ]*\):*/\1/
54488 cat >>$CONFIG_STATUS <<\_ACEOF
54489 fi # test -n "$CONFIG_FILES"
54492 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
54495 :[FHLC
]) ac_mode
=$ac_tag; continue;;
54497 case $ac_mode$ac_tag in
54499 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54500 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54501 { (exit 1); exit 1; }; };;
54502 :[FH
]-) ac_tag
=-:-;;
54503 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
54520 -) ac_f
="$tmp/stdin";;
54521 *) # Look for the file first in the build tree, then in the source tree
54522 # (if the path is not absolute). The absolute path cannot be DOS-style,
54523 # because $ac_f cannot contain `:'.
54527 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
54529 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54530 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54531 { (exit 1); exit 1; }; };;
54533 ac_file_inputs
="$ac_file_inputs $ac_f"
54536 # Let's still pretend it is `configure' which instantiates (i.e., don't
54537 # use $as_me), people would be surprised to read:
54538 # /* config.h. Generated by config.status. */
54539 configure_input
="Generated from "`IFS=:
54540 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54541 if test x
"$ac_file" != x
-; then
54542 configure_input
="$ac_file. $configure_input"
54543 { echo "$as_me:$LINENO: creating $ac_file" >&5
54544 echo "$as_me: creating $ac_file" >&6;}
54548 *:-:* | *:-) cat >"$tmp/stdin";;
54553 ac_dir
=`$as_dirname -- "$ac_file" ||
54554 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54555 X"$ac_file" : 'X\(//\)[^/]' \| \
54556 X"$ac_file" : 'X\(//\)$' \| \
54557 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54559 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54563 /^X\(\/\/\)[^/].*/{
54578 -*) as_dir
=.
/$as_dir;;
54580 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54584 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54585 *) as_qdir
=$as_dir;;
54587 as_dirs
="'$as_qdir' $as_dirs"
54588 as_dir
=`$as_dirname -- "$as_dir" ||
54589 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54590 X"$as_dir" : 'X\(//\)[^/]' \| \
54591 X"$as_dir" : 'X\(//\)$' \| \
54592 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54594 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54598 /^X\(\/\/\)[^/].*/{
54611 test -d "$as_dir" && break
54613 test -z "$as_dirs" || eval "mkdir $as_dirs"
54614 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54615 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54616 { (exit 1); exit 1; }; }; }
54620 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54622 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54623 # A ".." for each directory in $ac_dir_suffix.
54624 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54625 case $ac_top_builddir_sub in
54626 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54627 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54630 ac_abs_top_builddir
=$ac_pwd
54631 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54632 # for backward compatibility:
54633 ac_top_builddir
=$ac_top_build_prefix
54636 .
) # We are building in place.
54638 ac_top_srcdir
=$ac_top_builddir_sub
54639 ac_abs_top_srcdir
=$ac_pwd ;;
54640 [\\/]* | ?
:[\\/]* ) # Absolute name.
54641 ac_srcdir
=$srcdir$ac_dir_suffix;
54642 ac_top_srcdir
=$srcdir
54643 ac_abs_top_srcdir
=$srcdir ;;
54644 *) # Relative name.
54645 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54646 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54647 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54649 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54659 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54660 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
54664 cat >>$CONFIG_STATUS <<\_ACEOF
54665 # If the template does not know about datarootdir, expand it.
54666 # FIXME: This hack should be removed a few years after 2.60.
54667 ac_datarootdir_hack
=; ac_datarootdir_seen
=
54669 case `sed -n '/datarootdir/ {
54678 ' $ac_file_inputs` in
54679 *datarootdir
*) ac_datarootdir_seen
=yes;;
54680 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
54681 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54682 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54684 cat >>$CONFIG_STATUS <<_ACEOF
54685 ac_datarootdir_hack='
54686 s&@datadir@&$datadir&g
54687 s&@docdir@&$docdir&g
54688 s&@infodir@&$infodir&g
54689 s&@localedir@&$localedir&g
54690 s&@mandir@&$mandir&g
54691 s&\\\${datarootdir}&$datarootdir&g' ;;
54695 # Neutralize VPATH when `$srcdir' = `.'.
54696 # Shell code in configure.ac might set extrasub.
54697 # FIXME: do we really want to maintain this feature?
54698 cat >>$CONFIG_STATUS <<_ACEOF
54702 cat >>$CONFIG_STATUS <<\_ACEOF
54704 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54705 s
&@configure_input@
&$configure_input&;t t
54706 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
54707 s
&@srcdir@
&$ac_srcdir&;t t
54708 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
54709 s
&@top_srcdir@
&$ac_top_srcdir&;t t
54710 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
54711 s
&@builddir@
&$ac_builddir&;t t
54712 s
&@abs_builddir@
&$ac_abs_builddir&;t t
54713 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
54714 s
&@INSTALL@
&$ac_INSTALL&;t t
54715 $ac_datarootdir_hack
54716 " $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
54718 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54719 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54720 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54721 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54722 which seems to be undefined. Please make sure it is defined." >&5
54723 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54724 which seems to be undefined. Please make sure it is defined." >&2;}
54728 -) cat "$tmp/out"; rm -f "$tmp/out";;
54729 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54738 # Transform confdefs.h into a sed script `conftest.defines', that
54739 # substitutes the proper values into config.h.in to produce config.h.
54740 rm -f conftest.defines conftest.
tail
54741 # First, append a space to every undef/define line, to ease matching.
54742 echo 's/$/ /' >conftest.defines
54743 # Then, protect against being on the right side of a sed subst, or in
54744 # an unquoted here document, in config.status. If some macros were
54745 # called several times there might be several #defines for the same
54746 # symbol, which is useless. But do not sort them, since the last
54747 # AC_DEFINE must be honored.
54748 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54749 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54750 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54751 # PARAMS is the parameter list in the macro definition--in most cases, it's
54752 # just an empty string.
54753 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54754 ac_dB
='\\)[ (].*,\\1define\\2'
54762 s/^[ ]*#[ ]*define[ ][ ]*//
54767 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54768 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54769 ' >>conftest.defines
54771 # Remove the space that was appended to ease matching.
54772 # Then replace #undef with comments. This is necessary, for
54773 # example, in the case of _POSIX_SOURCE, which is predefined and required
54774 # on some systems where configure will not decide to define it.
54775 # (The regexp can be short, since the line contains either #define or #undef.)
54777 s,^[ #]*u.*,/* & */,' >>conftest.defines
54779 # Break up conftest.defines:
54780 ac_max_sed_lines
=50
54782 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54783 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54784 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54786 ac_in
='$ac_file_inputs'
54787 ac_out
='"$tmp/out1"'
54788 ac_nxt
='"$tmp/out2"'
54792 # Write a here document:
54793 cat >>$CONFIG_STATUS <<_ACEOF
54794 # First, check the format of the line:
54795 cat >"\$tmp/defines.sed" <<\\CEOF
54796 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54797 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54801 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54803 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54804 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54805 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54806 grep . conftest.
tail >/dev
/null
|| break
54807 rm -f conftest.defines
54808 mv conftest.
tail conftest.defines
54810 rm -f conftest.defines conftest.
tail
54812 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54813 cat >>$CONFIG_STATUS <<\_ACEOF
54814 if test x
"$ac_file" != x
-; then
54815 echo "/* $configure_input */" >"$tmp/config.h"
54816 cat "$ac_result" >>"$tmp/config.h"
54817 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54818 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54819 echo "$as_me: $ac_file is unchanged" >&6;}
54822 mv "$tmp/config.h" $ac_file
54825 echo "/* $configure_input */"
54831 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54832 echo "$as_me: executing $ac_file commands" >&6;}
54837 case $ac_file$ac_mode in
54839 mkdir -p $outdir &&
54840 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54842 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54843 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54844 "wx-config":C
) rm -f wx
-config
54845 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54852 { (exit 0); exit 0; }
54854 chmod +x
$CONFIG_STATUS
54855 ac_clean_files
=$ac_clean_files_save
54858 # configure is writing to config.log, and then calls config.status.
54859 # config.status does its own redirection, appending to config.log.
54860 # Unfortunately, on DOS this fails, as config.log is still kept open
54861 # by configure, so config.status won't be able to write to it; its
54862 # output is simply discarded. So we exec the FD to /dev/null,
54863 # effectively closing config.log, so it can be properly (re)opened and
54864 # appended to by config.status. When coming back to configure, we
54865 # need to make the FD available again.
54866 if test "$no_create" != yes; then
54868 ac_config_status_args
=
54869 test "$silent" = yes &&
54870 ac_config_status_args
="$ac_config_status_args --quiet"
54872 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54874 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54875 # would make configure fail if this is the last instruction.
54876 $ac_cs_success || { (exit 1); exit 1; }
54880 # CONFIG_SUBDIRS section.
54882 if test "$no_recursion" != yes; then
54884 # Remove --cache-file and --srcdir arguments so they do not pile up.
54885 ac_sub_configure_args
=
54887 eval "set x $ac_configure_args"
54891 if test -n "$ac_prev"; then
54896 -cache-file | --cache-file | --cache-fil | --cache-fi \
54897 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54898 ac_prev
=cache_file
;;
54899 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54900 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54903 --config-cache | -C)
54905 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54907 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54909 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54911 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54915 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54917 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54921 # Always prepend --prefix to ensure using the same prefix
54922 # in subdir configurations.
54923 ac_arg
="--prefix=$prefix"
54925 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54927 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54930 if test "$silent" = yes; then
54931 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54935 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54937 # Do not complain, so a configure script can configure whichever
54938 # parts of a large source tree are present.
54939 test -d "$srcdir/$ac_dir" || continue
54941 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54942 echo "$as_me:$LINENO: $ac_msg" >&5
54946 -*) as_dir
=.
/$as_dir;;
54948 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54952 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54953 *) as_qdir
=$as_dir;;
54955 as_dirs
="'$as_qdir' $as_dirs"
54956 as_dir
=`$as_dirname -- "$as_dir" ||
54957 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54958 X"$as_dir" : 'X\(//\)[^/]' \| \
54959 X"$as_dir" : 'X\(//\)$' \| \
54960 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54962 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54966 /^X\(\/\/\)[^/].*/{
54979 test -d "$as_dir" && break
54981 test -z "$as_dirs" || eval "mkdir $as_dirs"
54982 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54983 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54984 { (exit 1); exit 1; }; }; }
54988 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54990 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54991 # A ".." for each directory in $ac_dir_suffix.
54992 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54993 case $ac_top_builddir_sub in
54994 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54995 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54998 ac_abs_top_builddir
=$ac_pwd
54999 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
55000 # for backward compatibility:
55001 ac_top_builddir
=$ac_top_build_prefix
55004 .
) # We are building in place.
55006 ac_top_srcdir
=$ac_top_builddir_sub
55007 ac_abs_top_srcdir
=$ac_pwd ;;
55008 [\\/]* | ?
:[\\/]* ) # Absolute name.
55009 ac_srcdir
=$srcdir$ac_dir_suffix;
55010 ac_top_srcdir
=$srcdir
55011 ac_abs_top_srcdir
=$srcdir ;;
55012 *) # Relative name.
55013 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
55014 ac_top_srcdir
=$ac_top_build_prefix$srcdir
55015 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
55017 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
55022 # Check for guested configure; otherwise get Cygnus style configure.
55023 if test -f "$ac_srcdir/configure.gnu"; then
55024 ac_sub_configure
=$ac_srcdir/configure.gnu
55025 elif test -f "$ac_srcdir/configure"; then
55026 ac_sub_configure
=$ac_srcdir/configure
55027 elif test -f "$ac_srcdir/configure.in"; then
55028 # This should be Cygnus configure.
55029 ac_sub_configure
=$ac_aux_dir/configure
55031 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55032 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55036 # The recursion is here.
55037 if test -n "$ac_sub_configure"; then
55038 # Make the cache file name correct relative to the subdirectory.
55039 case $cache_file in
55040 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
55041 *) # Relative name.
55042 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
55045 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55046 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55047 # The eval makes quoting arguments work.
55048 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55049 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55050 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55051 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55052 { (exit 1); exit 1; }; }
55061 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55063 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55064 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55066 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
55067 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55068 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
55069 if test "$wxUSE_UNICODE" = "yes"; then
55070 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55071 echo " (using UTF-8)"
55073 echo " (using wchar_t)"
55079 echo " What level of wxWidgets compatibility should be enabled?"
55080 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55081 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55083 echo " Which libraries should wxWidgets use?"
55084 echo " jpeg ${wxUSE_LIBJPEG-none}"
55085 echo " png ${wxUSE_LIBPNG-none}"
55086 echo " regex ${wxUSE_REGEX}"
55087 echo " tiff ${wxUSE_LIBTIFF-none}"
55088 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55089 echo " xpm ${wxUSE_LIBXPM-none}"
55091 echo " zlib ${wxUSE_ZLIB}"
55092 echo " odbc ${wxUSE_ODBC}"
55093 echo " expat ${wxUSE_EXPAT}"
55094 echo " libmspack ${wxUSE_LIBMSPACK}"
55095 echo " sdl ${wxUSE_LIBSDL}"