2 # From configure.in Id: configure.in 47623 2007-07-21 16:43:31Z VS .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.0'
579 PACKAGE_STRING
='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
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'
2994 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2995 if test "x$LINE" != x ; then
2996 eval "DEFAULT_$LINE"
2999 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3004 eval "$wx_cv_use_gui"
3005 if test "x$cache" = xyes; then
3006 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3009 if test x"$enablestring" = xdisable; then
3010 if test $wxUSE_GUI = yes; then
3019 { echo "$as_me:$LINENO: result: $result" >&5
3020 echo "${ECHO_T}$result" >&6; }
3025 if test -z "$defaultval"; then
3026 if test x"$enablestring" = xdisable; then
3033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3034 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3035 # Check whether --enable-monolithic was given.
3036 if test "${enable_monolithic+set}" = set; then
3037 enableval=$enable_monolithic;
3038 if test "$enableval" = yes; then
3039 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3041 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3047 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3048 if test "x$LINE" != x ; then
3049 eval "DEFAULT_$LINE"
3052 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3057 eval "$wx_cv_use_monolithic"
3058 if test "x$cache" = xyes; then
3059 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3062 if test x"$enablestring" = xdisable; then
3063 if test $wxUSE_MONOLITHIC = yes; then
3069 result=$wxUSE_MONOLITHIC
3072 { echo "$as_me:$LINENO: result: $result" >&5
3073 echo "${ECHO_T}$result" >&6; }
3078 if test -z "$defaultval"; then
3079 if test x"$enablestring" = xdisable; then
3086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3087 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3088 # Check whether --enable-plugins was given.
3089 if test "${enable_plugins+set}" = set; then
3090 enableval=$enable_plugins;
3091 if test "$enableval" = yes; then
3092 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3094 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3100 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3101 if test "x$LINE" != x ; then
3102 eval "DEFAULT_$LINE"
3105 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3110 eval "$wx_cv_use_plugins"
3111 if test "x$cache" = xyes; then
3112 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3115 if test x"$enablestring" = xdisable; then
3116 if test $wxUSE_PLUGINS = yes; then
3122 result=$wxUSE_PLUGINS
3125 { echo "$as_me:$LINENO: result: $result" >&5
3126 echo "${ECHO_T}$result" >&6; }
3130 defaultval=$wxUSE_ALL_FEATURES
3131 if test -z "$defaultval"; then
3132 if test x"$withstring" = xwithout; then
3138 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3139 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3141 # Check whether --with-subdirs was given.
3142 if test "${with_subdirs+set}" = set; then
3143 withval=$with_subdirs;
3144 if test "$withval" = yes; then
3145 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3147 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3153 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3154 if test "x$LINE" != x ; then
3155 eval "DEFAULT_$LINE"
3158 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3163 eval "$wx_cv_use_subdirs"
3164 if test "x$cache" != xyes; then
3165 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3168 if test x"$withstring" = xwithout; then
3169 if test $wxWITH_SUBDIRS = yes; then
3175 result=$wxWITH_SUBDIRS
3178 { echo "$as_me:$LINENO: result: $result" >&5
3179 echo "${ECHO_T}$result" >&6; }
3182 # Check whether --with-flavour was given.
3183 if test "${with_flavour+set}" = set; then
3184 withval=$with_flavour; WX_FLAVOUR="$withval"
3190 if test -z "$defaultval"; then
3191 if test x"$enablestring" = xdisable; then
3198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3199 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3200 # Check whether --enable-official_build was given.
3201 if test "${enable_official_build+set}" = set; then
3202 enableval=$enable_official_build;
3203 if test "$enableval" = yes; then
3204 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3206 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3212 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3213 if test "x$LINE" != x ; then
3214 eval "DEFAULT_$LINE"
3217 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3222 eval "$wx_cv_use_official_build"
3223 if test "x$cache" = xyes; then
3224 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3227 if test x"$enablestring" = xdisable; then
3228 if test $wxUSE_OFFICIAL_BUILD = yes; then
3234 result=$wxUSE_OFFICIAL_BUILD
3237 { echo "$as_me:$LINENO: result: $result" >&5
3238 echo "${ECHO_T}$result" >&6; }
3240 # Check whether --enable-vendor was given.
3241 if test "${enable_vendor+set}" = set; then
3242 enableval=$enable_vendor; VENDOR="$enableval"
3245 if test "x$VENDOR" = "x"; then
3250 enablestring=disable
3252 if test -z "$defaultval"; then
3253 if test x"$enablestring" = xdisable; then
3260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3261 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3262 # Check whether --enable-all-features was given.
3263 if test "${enable_all_features+set}" = set; then
3264 enableval=$enable_all_features;
3265 if test "$enableval" = yes; then
3266 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3268 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3274 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3275 if test "x$LINE" != x ; then
3276 eval "DEFAULT_$LINE"
3279 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3284 eval "$wx_cv_use_all_features"
3285 if test "x$cache" = xyes; then
3286 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3289 if test x"$enablestring" = xdisable; then
3290 if test $wxUSE_ALL_FEATURES = yes; then
3296 result=$wxUSE_ALL_FEATURES
3299 { echo "$as_me:$LINENO: result: $result" >&5
3300 echo "${ECHO_T}$result" >&6; }
3304 if test "$wxUSE_GUI" = "yes"; then
3309 if test -z "$defaultval"; then
3310 if test x"$enablestring" = xdisable; then
3317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3318 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3319 # Check whether --enable-universal was given.
3320 if test "${enable_universal+set}" = set; then
3321 enableval=$enable_universal;
3322 if test "$enableval" = yes; then
3323 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3325 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3331 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3332 if test "x$LINE" != x ; then
3333 eval "DEFAULT_$LINE"
3336 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3341 eval "$wx_cv_use_universal"
3342 if test "x$cache" = xyes; then
3343 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3346 if test x"$enablestring" = xdisable; then
3347 if test $wxUSE_UNIVERSAL = yes; then
3353 result=$wxUSE_UNIVERSAL
3356 { echo "$as_me:$LINENO: result: $result" >&5
3357 echo "${ECHO_T}$result" >&6; }
3359 if test "$wxUSE_UNIVERSAL" = "yes"; then
3361 # Check whether --with-themes was given.
3362 if test "${with_themes+set}" = set; then
3363 withval=$with_themes; wxUNIV_THEMES="$withval"
3369 # Check whether --with-gtk was given.
3370 if test "${with_gtk+set}" = set; then
3371 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3375 # Check whether --with-motif was given.
3376 if test "${with_motif+set}" = set; then
3377 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3381 # Check whether --with-mac was given.
3382 if test "${with_mac+set}" = set; then
3383 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3387 # Check whether --with-cocoa was given.
3388 if test "${with_cocoa+set}" = set; then
3389 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3393 # Check whether --with-wine was given.
3394 if test "${with_wine+set}" = set; then
3395 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3399 # Check whether --with-msw was given.
3400 if test "${with_msw+set}" = set; then
3401 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3405 # Check whether --with-pm was given.
3406 if test "${with_pm+set}" = set; then
3407 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3411 # Check whether --with-mgl was given.
3412 if test "${with_mgl+set}" = set; then
3413 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3417 # Check whether --with-directfb was given.
3418 if test "${with_directfb+set}" = set; then
3419 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3423 # Check whether --with-microwin was given.
3424 if test "${with_microwin+set}" = set; then
3425 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3429 # Check whether --with-x11 was given.
3430 if test "${with_x11+set}" = set; then
3431 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3437 if test -z "$defaultval"; then
3438 if test x"$enablestring" = xdisable; then
3445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3446 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3447 # Check whether --enable-nanox was given.
3448 if test "${enable_nanox+set}" = set; then
3449 enableval=$enable_nanox;
3450 if test "$enableval" = yes; then
3451 wx_cv_use_nanox='wxUSE_NANOX=yes'
3453 wx_cv_use_nanox='wxUSE_NANOX=no'
3459 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3460 if test "x$LINE" != x ; then
3461 eval "DEFAULT_$LINE"
3464 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3469 eval "$wx_cv_use_nanox"
3470 if test "x$cache" = xyes; then
3471 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3474 if test x"$enablestring" = xdisable; then
3475 if test $wxUSE_NANOX = yes; then
3484 { echo "$as_me:$LINENO: result: $result" >&5
3485 echo "${ECHO_T}$result" >&6; }
3488 # Check whether --enable-gtk2 was given.
3489 if test "${enable_gtk2+set}" = set; then
3490 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3496 if test -z "$defaultval"; then
3497 if test x"$enablestring" = xdisable; then
3504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3505 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3506 # Check whether --enable-gpe was given.
3507 if test "${enable_gpe+set}" = set; then
3508 enableval=$enable_gpe;
3509 if test "$enableval" = yes; then
3510 wx_cv_use_gpe='wxUSE_GPE=yes'
3512 wx_cv_use_gpe='wxUSE_GPE=no'
3518 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3519 if test "x$LINE" != x ; then
3520 eval "DEFAULT_$LINE"
3523 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3528 eval "$wx_cv_use_gpe"
3529 if test "x$cache" = xyes; then
3530 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3533 if test x"$enablestring" = xdisable; then
3534 if test $wxUSE_GPE = yes; then
3543 { echo "$as_me:$LINENO: result: $result" >&5
3544 echo "${ECHO_T}$result" >&6; }
3549 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3550 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3552 # Check whether --with-libpng was given.
3553 if test "${with_libpng+set}" = set; then
3554 withval=$with_libpng;
3555 if test "$withval" = yes; then
3556 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3557 elif test "$withval" = no; then
3558 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3559 elif test "$withval" = sys; then
3560 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3561 elif test "$withval" = builtin; then
3562 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3564 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3565 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3566 { (exit 1); exit 1; }; }
3572 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3573 if test "x$LINE" != x ; then
3574 eval "DEFAULT_$LINE"
3577 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3582 eval "$wx_cv_use_libpng"
3583 if test "x$cache" = xyes; then
3584 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3587 if test "$wxUSE_LIBPNG" = yes; then
3588 { echo "$as_me:$LINENO: result: yes" >&5
3589 echo "${ECHO_T}yes" >&6; }
3590 elif test "$wxUSE_LIBPNG" = no; then
3591 { echo "$as_me:$LINENO: result: no" >&5
3592 echo "${ECHO_T}no" >&6; }
3593 elif test "$wxUSE_LIBPNG" = sys; then
3594 { echo "$as_me:$LINENO: result: system version" >&5
3595 echo "${ECHO_T}system version" >&6; }
3596 elif test "$wxUSE_LIBPNG" = builtin; then
3597 { echo "$as_me:$LINENO: result: builtin version" >&5
3598 echo "${ECHO_T}builtin version" >&6; }
3600 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3601 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3602 { (exit 1); exit 1; }; }
3606 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3607 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3609 # Check whether --with-libjpeg was given.
3610 if test "${with_libjpeg+set}" = set; then
3611 withval=$with_libjpeg;
3612 if test "$withval" = yes; then
3613 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3614 elif test "$withval" = no; then
3615 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3616 elif test "$withval" = sys; then
3617 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3618 elif test "$withval" = builtin; then
3619 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3621 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3622 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3623 { (exit 1); exit 1; }; }
3629 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3630 if test "x$LINE" != x ; then
3631 eval "DEFAULT_$LINE"
3634 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3639 eval "$wx_cv_use_libjpeg"
3640 if test "x$cache" = xyes; then
3641 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3644 if test "$wxUSE_LIBJPEG" = yes; then
3645 { echo "$as_me:$LINENO: result: yes" >&5
3646 echo "${ECHO_T}yes" >&6; }
3647 elif test "$wxUSE_LIBJPEG" = no; then
3648 { echo "$as_me:$LINENO: result: no" >&5
3649 echo "${ECHO_T}no" >&6; }
3650 elif test "$wxUSE_LIBJPEG" = sys; then
3651 { echo "$as_me:$LINENO: result: system version" >&5
3652 echo "${ECHO_T}system version" >&6; }
3653 elif test "$wxUSE_LIBJPEG" = builtin; then
3654 { echo "$as_me:$LINENO: result: builtin version" >&5
3655 echo "${ECHO_T}builtin version" >&6; }
3657 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3658 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3659 { (exit 1); exit 1; }; }
3663 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3664 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3666 # Check whether --with-libtiff was given.
3667 if test "${with_libtiff+set}" = set; then
3668 withval=$with_libtiff;
3669 if test "$withval" = yes; then
3670 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3671 elif test "$withval" = no; then
3672 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3673 elif test "$withval" = sys; then
3674 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3675 elif test "$withval" = builtin; then
3676 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3678 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3679 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3680 { (exit 1); exit 1; }; }
3686 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3687 if test "x$LINE" != x ; then
3688 eval "DEFAULT_$LINE"
3691 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3696 eval "$wx_cv_use_libtiff"
3697 if test "x$cache" = xyes; then
3698 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3701 if test "$wxUSE_LIBTIFF" = yes; then
3702 { echo "$as_me:$LINENO: result: yes" >&5
3703 echo "${ECHO_T}yes" >&6; }
3704 elif test "$wxUSE_LIBTIFF" = no; then
3705 { echo "$as_me:$LINENO: result: no" >&5
3706 echo "${ECHO_T}no" >&6; }
3707 elif test "$wxUSE_LIBTIFF" = sys; then
3708 { echo "$as_me:$LINENO: result: system version" >&5
3709 echo "${ECHO_T}system version" >&6; }
3710 elif test "$wxUSE_LIBTIFF" = builtin; then
3711 { echo "$as_me:$LINENO: result: builtin version" >&5
3712 echo "${ECHO_T}builtin version" >&6; }
3714 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3715 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3716 { (exit 1); exit 1; }; }
3720 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3721 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3723 # Check whether --with-libxpm was given.
3724 if test "${with_libxpm+set}" = set; then
3725 withval=$with_libxpm;
3726 if test "$withval" = yes; then
3727 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3728 elif test "$withval" = no; then
3729 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3730 elif test "$withval" = sys; then
3731 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3732 elif test "$withval" = builtin; then
3733 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3735 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3736 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3737 { (exit 1); exit 1; }; }
3743 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3744 if test "x$LINE" != x ; then
3745 eval "DEFAULT_$LINE"
3748 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3753 eval "$wx_cv_use_libxpm"
3754 if test "x$cache" = xyes; then
3755 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3758 if test "$wxUSE_LIBXPM" = yes; then
3759 { echo "$as_me:$LINENO: result: yes" >&5
3760 echo "${ECHO_T}yes" >&6; }
3761 elif test "$wxUSE_LIBXPM" = no; then
3762 { echo "$as_me:$LINENO: result: no" >&5
3763 echo "${ECHO_T}no" >&6; }
3764 elif test "$wxUSE_LIBXPM" = sys; then
3765 { echo "$as_me:$LINENO: result: system version" >&5
3766 echo "${ECHO_T}system version" >&6; }
3767 elif test "$wxUSE_LIBXPM" = builtin; then
3768 { echo "$as_me:$LINENO: result: builtin version" >&5
3769 echo "${ECHO_T}builtin version" >&6; }
3771 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3772 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3773 { (exit 1); exit 1; }; }
3778 defaultval=$wxUSE_ALL_FEATURES
3779 if test -z "$defaultval"; then
3780 if test x"$withstring" = xwithout; then
3786 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3787 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3789 # Check whether --with-libmspack was given.
3790 if test "${with_libmspack+set}" = set; then
3791 withval=$with_libmspack;
3792 if test "$withval" = yes; then
3793 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3795 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3801 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3802 if test "x$LINE" != x ; then
3803 eval "DEFAULT_$LINE"
3806 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3811 eval "$wx_cv_use_libmspack"
3812 if test "x$cache" != xyes; then
3813 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3816 if test x"$withstring" = xwithout; then
3817 if test $wxUSE_LIBMSPACK = yes; then
3823 result=$wxUSE_LIBMSPACK
3826 { echo "$as_me:$LINENO: result: $result" >&5
3827 echo "${ECHO_T}$result" >&6; }
3831 defaultval=$wxUSE_ALL_FEATURES
3832 if test -z "$defaultval"; then
3833 if test x"$withstring" = xwithout; then
3839 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3840 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3842 # Check whether --with-gnomeprint was given.
3843 if test "${with_gnomeprint+set}" = set; then
3844 withval=$with_gnomeprint;
3845 if test "$withval" = yes; then
3846 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3848 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3854 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3855 if test "x$LINE" != x ; then
3856 eval "DEFAULT_$LINE"
3859 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3864 eval "$wx_cv_use_gnomeprint"
3865 if test "x$cache" != xyes; then
3866 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3869 if test x"$withstring" = xwithout; then
3870 if test $wxUSE_LIBGNOMEPRINT = yes; then
3876 result=$wxUSE_LIBGNOMEPRINT
3879 { echo "$as_me:$LINENO: result: $result" >&5
3880 echo "${ECHO_T}$result" >&6; }
3884 defaultval=$wxUSE_ALL_FEATURES
3885 if test -z "$defaultval"; then
3886 if test x"$withstring" = xwithout; then
3892 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3893 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3895 # Check whether --with-gnomevfs was given.
3896 if test "${with_gnomevfs+set}" = set; then
3897 withval=$with_gnomevfs;
3898 if test "$withval" = yes; then
3899 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3901 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3907 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3908 if test "x$LINE" != x ; then
3909 eval "DEFAULT_$LINE"
3912 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3917 eval "$wx_cv_use_gnomevfs"
3918 if test "x$cache" != xyes; then
3919 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
3922 if test x"$withstring" = xwithout; then
3923 if test $wxUSE_LIBGNOMEVFS = yes; then
3929 result=$wxUSE_LIBGNOMEVFS
3932 { echo "$as_me:$LINENO: result: $result" >&5
3933 echo "${ECHO_T}$result" >&6; }
3937 defaultval=$wxUSE_ALL_FEATURES
3938 if test -z "$defaultval"; then
3939 if test x"$withstring" = xwithout; then
3945 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3946 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3948 # Check whether --with-hildon was given.
3949 if test "${with_hildon+set}" = set; then
3950 withval=$with_hildon;
3951 if test "$withval" = yes; then
3952 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3954 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3960 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3961 if test "x$LINE" != x ; then
3962 eval "DEFAULT_$LINE"
3965 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3970 eval "$wx_cv_use_hildon"
3971 if test "x$cache" != xyes; then
3972 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
3975 if test x"$withstring" = xwithout; then
3976 if test $wxUSE_LIBHILDON = yes; then
3982 result=$wxUSE_LIBHILDON
3985 { echo "$as_me:$LINENO: result: $result" >&5
3986 echo "${ECHO_T}$result" >&6; }
3990 defaultval=$wxUSE_ALL_FEATURES
3991 if test -z "$defaultval"; then
3992 if test x"$withstring" = xwithout; then
3998 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3999 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4001 # Check whether --with-opengl was given.
4002 if test "${with_opengl+set}" = set; then
4003 withval=$with_opengl;
4004 if test "$withval" = yes; then
4005 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4007 wx_cv_use_opengl='wxUSE_OPENGL=no'
4013 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4014 if test "x$LINE" != x ; then
4015 eval "DEFAULT_$LINE"
4018 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4023 eval "$wx_cv_use_opengl"
4024 if test "x$cache" != xyes; then
4025 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4028 if test x"$withstring" = xwithout; then
4029 if test $wxUSE_OPENGL = yes; then
4035 result=$wxUSE_OPENGL
4038 { echo "$as_me:$LINENO: result: $result" >&5
4039 echo "${ECHO_T}$result" >&6; }
4046 defaultval=$wxUSE_ALL_FEATURES
4047 if test -z "$defaultval"; then
4048 if test x"$withstring" = xwithout; then
4054 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4055 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4057 # Check whether --with-dmalloc was given.
4058 if test "${with_dmalloc+set}" = set; then
4059 withval=$with_dmalloc;
4060 if test "$withval" = yes; then
4061 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4063 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4069 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4070 if test "x$LINE" != x ; then
4071 eval "DEFAULT_$LINE"
4074 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4079 eval "$wx_cv_use_dmalloc"
4080 if test "x$cache" != xyes; then
4081 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4084 if test x"$withstring" = xwithout; then
4085 if test $wxUSE_DMALLOC = yes; then
4091 result=$wxUSE_DMALLOC
4094 { echo "$as_me:$LINENO: result: $result" >&5
4095 echo "${ECHO_T}$result" >&6; }
4099 defaultval=$wxUSE_ALL_FEATURES
4100 if test -z "$defaultval"; then
4101 if test x"$withstring" = xwithout; then
4107 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4108 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4110 # Check whether --with-sdl was given.
4111 if test "${with_sdl+set}" = set; then
4113 if test "$withval" = yes; then
4114 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4116 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4122 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4123 if test "x$LINE" != x ; then
4124 eval "DEFAULT_$LINE"
4127 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4132 eval "$wx_cv_use_sdl"
4133 if test "x$cache" != xyes; then
4134 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4137 if test x"$withstring" = xwithout; then
4138 if test $wxUSE_LIBSDL = yes; then
4144 result=$wxUSE_LIBSDL
4147 { echo "$as_me:$LINENO: result: $result" >&5
4148 echo "${ECHO_T}$result" >&6; }
4151 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4152 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4154 # Check whether --with-regex was given.
4155 if test "${with_regex+set}" = set; then
4156 withval=$with_regex;
4157 if test "$withval" = yes; then
4158 wx_cv_use_regex='wxUSE_REGEX=yes'
4159 elif test "$withval" = no; then
4160 wx_cv_use_regex='wxUSE_REGEX=no'
4161 elif test "$withval" = sys; then
4162 wx_cv_use_regex='wxUSE_REGEX=sys'
4163 elif test "$withval" = builtin; then
4164 wx_cv_use_regex='wxUSE_REGEX=builtin'
4166 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4167 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4168 { (exit 1); exit 1; }; }
4174 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4175 if test "x$LINE" != x ; then
4176 eval "DEFAULT_$LINE"
4179 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4184 eval "$wx_cv_use_regex"
4185 if test "x$cache" = xyes; then
4186 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4189 if test "$wxUSE_REGEX" = yes; then
4190 { echo "$as_me:$LINENO: result: yes" >&5
4191 echo "${ECHO_T}yes" >&6; }
4192 elif test "$wxUSE_REGEX" = no; then
4193 { echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6; }
4195 elif test "$wxUSE_REGEX" = sys; then
4196 { echo "$as_me:$LINENO: result: system version" >&5
4197 echo "${ECHO_T}system version" >&6; }
4198 elif test "$wxUSE_REGEX" = builtin; then
4199 { echo "$as_me:$LINENO: result: builtin version" >&5
4200 echo "${ECHO_T}builtin version" >&6; }
4202 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4203 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4204 { (exit 1); exit 1; }; }
4208 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4209 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4211 # Check whether --with-zlib was given.
4212 if test "${with_zlib+set}" = set; then
4214 if test "$withval" = yes; then
4215 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4216 elif test "$withval" = no; then
4217 wx_cv_use_zlib='wxUSE_ZLIB=no'
4218 elif test "$withval" = sys; then
4219 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4220 elif test "$withval" = builtin; then
4221 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4223 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4224 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4225 { (exit 1); exit 1; }; }
4231 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4232 if test "x$LINE" != x ; then
4233 eval "DEFAULT_$LINE"
4236 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4241 eval "$wx_cv_use_zlib"
4242 if test "x$cache" = xyes; then
4243 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4246 if test "$wxUSE_ZLIB" = yes; then
4247 { echo "$as_me:$LINENO: result: yes" >&5
4248 echo "${ECHO_T}yes" >&6; }
4249 elif test "$wxUSE_ZLIB" = no; then
4250 { echo "$as_me:$LINENO: result: no" >&5
4251 echo "${ECHO_T}no" >&6; }
4252 elif test "$wxUSE_ZLIB" = sys; then
4253 { echo "$as_me:$LINENO: result: system version" >&5
4254 echo "${ECHO_T}system version" >&6; }
4255 elif test "$wxUSE_ZLIB" = builtin; then
4256 { echo "$as_me:$LINENO: result: builtin version" >&5
4257 echo "${ECHO_T}builtin version" >&6; }
4259 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4260 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4261 { (exit 1); exit 1; }; }
4265 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4266 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4268 # Check whether --with-odbc was given.
4269 if test "${with_odbc+set}" = set; then
4271 if test "$withval" = yes; then
4272 wx_cv_use_odbc='wxUSE_ODBC=yes'
4273 elif test "$withval" = no; then
4274 wx_cv_use_odbc='wxUSE_ODBC=no'
4275 elif test "$withval" = sys; then
4276 wx_cv_use_odbc='wxUSE_ODBC=sys'
4277 elif test "$withval" = builtin; then
4278 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4280 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4281 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4282 { (exit 1); exit 1; }; }
4288 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4289 if test "x$LINE" != x ; then
4290 eval "DEFAULT_$LINE"
4293 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4298 eval "$wx_cv_use_odbc"
4299 if test "x$cache" = xyes; then
4300 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4303 if test "$wxUSE_ODBC" = yes; then
4304 { echo "$as_me:$LINENO: result: yes" >&5
4305 echo "${ECHO_T}yes" >&6; }
4306 elif test "$wxUSE_ODBC" = no; then
4307 { echo "$as_me:$LINENO: result: no" >&5
4308 echo "${ECHO_T}no" >&6; }
4309 elif test "$wxUSE_ODBC" = sys; then
4310 { echo "$as_me:$LINENO: result: system version" >&5
4311 echo "${ECHO_T}system version" >&6; }
4312 elif test "$wxUSE_ODBC" = builtin; then
4313 { echo "$as_me:$LINENO: result: builtin version" >&5
4314 echo "${ECHO_T}builtin version" >&6; }
4316 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4317 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4318 { (exit 1); exit 1; }; }
4322 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4323 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4325 # Check whether --with-expat was given.
4326 if test "${with_expat+set}" = set; then
4327 withval=$with_expat;
4328 if test "$withval" = yes; then
4329 wx_cv_use_expat='wxUSE_EXPAT=yes'
4330 elif test "$withval" = no; then
4331 wx_cv_use_expat='wxUSE_EXPAT=no'
4332 elif test "$withval" = sys; then
4333 wx_cv_use_expat='wxUSE_EXPAT=sys'
4334 elif test "$withval" = builtin; then
4335 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4337 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4338 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4339 { (exit 1); exit 1; }; }
4345 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4346 if test "x$LINE" != x ; then
4347 eval "DEFAULT_$LINE"
4350 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4355 eval "$wx_cv_use_expat"
4356 if test "x$cache" = xyes; then
4357 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4360 if test "$wxUSE_EXPAT" = yes; then
4361 { echo "$as_me:$LINENO: result: yes" >&5
4362 echo "${ECHO_T}yes" >&6; }
4363 elif test "$wxUSE_EXPAT" = no; then
4364 { echo "$as_me:$LINENO: result: no" >&5
4365 echo "${ECHO_T}no" >&6; }
4366 elif test "$wxUSE_EXPAT" = sys; then
4367 { echo "$as_me:$LINENO: result: system version" >&5
4368 echo "${ECHO_T}system version" >&6; }
4369 elif test "$wxUSE_EXPAT" = builtin; then
4370 { echo "$as_me:$LINENO: result: builtin version" >&5
4371 echo "${ECHO_T}builtin version" >&6; }
4373 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4374 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4375 { (exit 1); exit 1; }; }
4381 enablestring=disable
4383 if test -z "$defaultval"; then
4384 if test x"$enablestring" = xdisable; then
4391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4392 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4393 # Check whether --enable-shared was given.
4394 if test "${enable_shared+set}" = set; then
4395 enableval=$enable_shared;
4396 if test "$enableval" = yes; then
4397 wx_cv_use_shared='wxUSE_SHARED=yes'
4399 wx_cv_use_shared='wxUSE_SHARED=no'
4405 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4406 if test "x$LINE" != x ; then
4407 eval "DEFAULT_$LINE"
4410 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4415 eval "$wx_cv_use_shared"
4416 if test "x$cache" = xyes; then
4417 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4420 if test x"$enablestring" = xdisable; then
4421 if test $wxUSE_SHARED = yes; then
4427 result=$wxUSE_SHARED
4430 { echo "$as_me:$LINENO: result: $result" >&5
4431 echo "${ECHO_T}$result" >&6; }
4434 enablestring=disable
4436 if test -z "$defaultval"; then
4437 if test x"$enablestring" = xdisable; then
4444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4445 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4446 # Check whether --enable-optimise was given.
4447 if test "${enable_optimise+set}" = set; then
4448 enableval=$enable_optimise;
4449 if test "$enableval" = yes; then
4450 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4452 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4458 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4459 if test "x$LINE" != x ; then
4460 eval "DEFAULT_$LINE"
4463 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4468 eval "$wx_cv_use_optimise"
4469 if test "x$cache" = xyes; then
4470 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4473 if test x"$enablestring" = xdisable; then
4474 if test $wxUSE_OPTIMISE = yes; then
4480 result=$wxUSE_OPTIMISE
4483 { echo "$as_me:$LINENO: result: $result" >&5
4484 echo "${ECHO_T}$result" >&6; }
4489 if test -z "$defaultval"; then
4490 if test x"$enablestring" = xdisable; then
4497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4498 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4499 # Check whether --enable-debug was given.
4500 if test "${enable_debug+set}" = set; then
4501 enableval=$enable_debug;
4502 if test "$enableval" = yes; then
4503 wx_cv_use_debug='wxUSE_DEBUG=yes'
4505 wx_cv_use_debug='wxUSE_DEBUG=no'
4511 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4512 if test "x$LINE" != x ; then
4513 eval "DEFAULT_$LINE"
4516 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4521 eval "$wx_cv_use_debug"
4522 if test "x$cache" = xyes; then
4523 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4526 if test x"$enablestring" = xdisable; then
4527 if test $wxUSE_DEBUG = yes; then
4536 { echo "$as_me:$LINENO: result: $result" >&5
4537 echo "${ECHO_T}$result" >&6; }
4542 if test -z "$defaultval"; then
4543 if test x"$enablestring" = xdisable; then
4550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4551 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4552 # Check whether --enable-stl was given.
4553 if test "${enable_stl+set}" = set; then
4554 enableval=$enable_stl;
4555 if test "$enableval" = yes; then
4556 wx_cv_use_stl='wxUSE_STL=yes'
4558 wx_cv_use_stl='wxUSE_STL=no'
4564 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4565 if test "x$LINE" != x ; then
4566 eval "DEFAULT_$LINE"
4569 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4574 eval "$wx_cv_use_stl"
4575 if test "x$cache" = xyes; then
4576 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4579 if test x"$enablestring" = xdisable; then
4580 if test $wxUSE_STL = yes; then
4589 { echo "$as_me:$LINENO: result: $result" >&5
4590 echo "${ECHO_T}$result" >&6; }
4595 if test -z "$defaultval"; then
4596 if test x"$enablestring" = xdisable; then
4603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4604 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4605 # Check whether --enable-std_iostreams was given.
4606 if test "${enable_std_iostreams+set}" = set; then
4607 enableval=$enable_std_iostreams;
4608 if test "$enableval" = yes; then
4609 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4611 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4617 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4618 if test "x$LINE" != x ; then
4619 eval "DEFAULT_$LINE"
4622 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4627 eval "$wx_cv_use_std_iostreams"
4628 if test "x$cache" = xyes; then
4629 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4632 if test x"$enablestring" = xdisable; then
4633 if test $wxUSE_STD_IOSTREAM = yes; then
4639 result=$wxUSE_STD_IOSTREAM
4642 { echo "$as_me:$LINENO: result: $result" >&5
4643 echo "${ECHO_T}$result" >&6; }
4648 if test -z "$defaultval"; then
4649 if test x"$enablestring" = xdisable; then
4656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4657 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4658 # Check whether --enable-std_string was given.
4659 if test "${enable_std_string+set}" = set; then
4660 enableval=$enable_std_string;
4661 if test "$enableval" = yes; then
4662 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4664 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4670 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4671 if test "x$LINE" != x ; then
4672 eval "DEFAULT_$LINE"
4675 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4680 eval "$wx_cv_use_std_string"
4681 if test "x$cache" = xyes; then
4682 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4685 if test x"$enablestring" = xdisable; then
4686 if test $wxUSE_STD_STRING = yes; then
4692 result=$wxUSE_STD_STRING
4695 { echo "$as_me:$LINENO: result: $result" >&5
4696 echo "${ECHO_T}$result" >&6; }
4699 enablestring=disable
4701 if test -z "$defaultval"; then
4702 if test x"$enablestring" = xdisable; then
4709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4710 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4711 # Check whether --enable-unicode was given.
4712 if test "${enable_unicode+set}" = set; then
4713 enableval=$enable_unicode;
4714 if test "$enableval" = yes; then
4715 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4717 wx_cv_use_unicode='wxUSE_UNICODE=no'
4723 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4724 if test "x$LINE" != x ; then
4725 eval "DEFAULT_$LINE"
4728 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4733 eval "$wx_cv_use_unicode"
4734 if test "x$cache" = xyes; then
4735 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4738 if test x"$enablestring" = xdisable; then
4739 if test $wxUSE_UNICODE = yes; then
4745 result=$wxUSE_UNICODE
4748 { echo "$as_me:$LINENO: result: $result" >&5
4749 echo "${ECHO_T}$result" >&6; }
4754 if test -z "$defaultval"; then
4755 if test x"$enablestring" = xdisable; then
4762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4763 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4764 # Check whether --enable-mslu was given.
4765 if test "${enable_mslu+set}" = set; then
4766 enableval=$enable_mslu;
4767 if test "$enableval" = yes; then
4768 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4770 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4776 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4777 if test "x$LINE" != x ; then
4778 eval "DEFAULT_$LINE"
4781 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4786 eval "$wx_cv_use_mslu"
4787 if test "x$cache" = xyes; then
4788 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4791 if test x"$enablestring" = xdisable; then
4792 if test $wxUSE_UNICODE_MSLU = yes; then
4798 result=$wxUSE_UNICODE_MSLU
4801 { echo "$as_me:$LINENO: result: $result" >&5
4802 echo "${ECHO_T}$result" >&6; }
4806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4807 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4808 # Check whether --enable-utf8 was given.
4809 if test "${enable_utf8+set}" = set; then
4810 enableval=$enable_utf8;
4811 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4816 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4817 if test "x$LINE" != x ; then
4818 eval "DEFAULT_$LINE"
4821 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4826 eval "$wx_cv_use_utf8"
4827 if test "x$cache" = xyes; then
4828 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4831 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4832 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4837 if test -z "$defaultval"; then
4838 if test x"$enablestring" = xdisable; then
4845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4846 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4847 # Check whether --enable-utf8only was given.
4848 if test "${enable_utf8only+set}" = set; then
4849 enableval=$enable_utf8only;
4850 if test "$enableval" = yes; then
4851 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4853 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4859 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4860 if test "x$LINE" != x ; then
4861 eval "DEFAULT_$LINE"
4864 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4869 eval "$wx_cv_use_utf8only"
4870 if test "x$cache" = xyes; then
4871 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
4874 if test x"$enablestring" = xdisable; then
4875 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4881 result=$wxUSE_UNICODE_UTF8_LOCALE
4884 { echo "$as_me:$LINENO: result: $result" >&5
4885 echo "${ECHO_T}$result" >&6; }
4890 if test -z "$defaultval"; then
4891 if test x"$enablestring" = xdisable; then
4898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4899 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4900 # Check whether --enable-extended_rtti was given.
4901 if test "${enable_extended_rtti+set}" = set; then
4902 enableval=$enable_extended_rtti;
4903 if test "$enableval" = yes; then
4904 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4906 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4912 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4913 if test "x$LINE" != x ; then
4914 eval "DEFAULT_$LINE"
4917 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4922 eval "$wx_cv_use_extended_rtti"
4923 if test "x$cache" = xyes; then
4924 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
4927 if test x"$enablestring" = xdisable; then
4928 if test $wxUSE_EXTENDED_RTTI = yes; then
4934 result=$wxUSE_EXTENDED_RTTI
4937 { echo "$as_me:$LINENO: result: $result" >&5
4938 echo "${ECHO_T}$result" >&6; }
4940 if test "$USE_OS2" = "1"; then
4941 DEFAULT_wxUSE_OMF=no
4945 if test -z "$defaultval"; then
4946 if test x"$enablestring" = xdisable; then
4953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4954 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4955 # Check whether --enable-omf was given.
4956 if test "${enable_omf+set}" = set; then
4957 enableval=$enable_omf;
4958 if test "$enableval" = yes; then
4959 wx_cv_use_omf='wxUSE_OMF=yes'
4961 wx_cv_use_omf='wxUSE_OMF=no'
4967 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4968 if test "x$LINE" != x ; then
4969 eval "DEFAULT_$LINE"
4972 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4977 eval "$wx_cv_use_omf"
4978 if test "x$cache" = xyes; then
4979 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
4982 if test x"$enablestring" = xdisable; then
4983 if test $wxUSE_OMF = yes; then
4992 { echo "$as_me:$LINENO: result: $result" >&5
4993 echo "${ECHO_T}$result" >&6; }
4997 if test "$wxUSE_DEBUG" = "yes"; then
4998 DEFAULT_wxUSE_DEBUG_FLAG=yes
4999 DEFAULT_wxUSE_DEBUG_INFO=yes
5001 elif test "$wxUSE_DEBUG" = "no"; then
5002 DEFAULT_wxUSE_DEBUG_FLAG=no
5003 DEFAULT_wxUSE_DEBUG_INFO=no
5010 if test -z "$defaultval"; then
5011 if test x"$enablestring" = xdisable; then
5018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5019 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5020 # Check whether --enable-debug_flag was given.
5021 if test "${enable_debug_flag+set}" = set; then
5022 enableval=$enable_debug_flag;
5023 if test "$enableval" = yes; then
5024 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5026 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5032 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5033 if test "x$LINE" != x ; then
5034 eval "DEFAULT_$LINE"
5037 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5042 eval "$wx_cv_use_debug_flag"
5043 if test "x$cache" = xyes; then
5044 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5047 if test x"$enablestring" = xdisable; then
5048 if test $wxUSE_DEBUG_FLAG = yes; then
5054 result=$wxUSE_DEBUG_FLAG
5057 { echo "$as_me:$LINENO: result: $result" >&5
5058 echo "${ECHO_T}$result" >&6; }
5063 if test -z "$defaultval"; then
5064 if test x"$enablestring" = xdisable; then
5071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5072 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5073 # Check whether --enable-debug_info was given.
5074 if test "${enable_debug_info+set}" = set; then
5075 enableval=$enable_debug_info;
5076 if test "$enableval" = yes; then
5077 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5079 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5085 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5086 if test "x$LINE" != x ; then
5087 eval "DEFAULT_$LINE"
5090 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5095 eval "$wx_cv_use_debug_info"
5096 if test "x$cache" = xyes; then
5097 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5100 if test x"$enablestring" = xdisable; then
5101 if test $wxUSE_DEBUG_INFO = yes; then
5107 result=$wxUSE_DEBUG_INFO
5110 { echo "$as_me:$LINENO: result: $result" >&5
5111 echo "${ECHO_T}$result" >&6; }
5116 if test -z "$defaultval"; then
5117 if test x"$enablestring" = xdisable; then
5124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5125 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5126 # Check whether --enable-debug_gdb was given.
5127 if test "${enable_debug_gdb+set}" = set; then
5128 enableval=$enable_debug_gdb;
5129 if test "$enableval" = yes; then
5130 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5132 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5138 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5139 if test "x$LINE" != x ; then
5140 eval "DEFAULT_$LINE"
5143 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5148 eval "$wx_cv_use_debug_gdb"
5149 if test "x$cache" = xyes; then
5150 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5153 if test x"$enablestring" = xdisable; then
5154 if test $wxUSE_DEBUG_GDB = yes; then
5160 result=$wxUSE_DEBUG_GDB
5163 { echo "$as_me:$LINENO: result: $result" >&5
5164 echo "${ECHO_T}$result" >&6; }
5169 if test -z "$defaultval"; then
5170 if test x"$enablestring" = xdisable; then
5177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5178 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5179 # Check whether --enable-debug_cntxt was given.
5180 if test "${enable_debug_cntxt+set}" = set; then
5181 enableval=$enable_debug_cntxt;
5182 if test "$enableval" = yes; then
5183 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5185 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5191 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5192 if test "x$LINE" != x ; then
5193 eval "DEFAULT_$LINE"
5196 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5201 eval "$wx_cv_use_debug_cntxt"
5202 if test "x$cache" = xyes; then
5203 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5206 if test x"$enablestring" = xdisable; then
5207 if test $wxUSE_DEBUG_CONTEXT = yes; then
5213 result=$wxUSE_DEBUG_CONTEXT
5216 { echo "$as_me:$LINENO: result: $result" >&5
5217 echo "${ECHO_T}$result" >&6; }
5222 if test -z "$defaultval"; then
5223 if test x"$enablestring" = xdisable; then
5230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5231 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5232 # Check whether --enable-mem_tracing was given.
5233 if test "${enable_mem_tracing+set}" = set; then
5234 enableval=$enable_mem_tracing;
5235 if test "$enableval" = yes; then
5236 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5238 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5244 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5245 if test "x$LINE" != x ; then
5246 eval "DEFAULT_$LINE"
5249 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5254 eval "$wx_cv_use_mem_tracing"
5255 if test "x$cache" = xyes; then
5256 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5259 if test x"$enablestring" = xdisable; then
5260 if test $wxUSE_MEM_TRACING = yes; then
5266 result=$wxUSE_MEM_TRACING
5269 { echo "$as_me:$LINENO: result: $result" >&5
5270 echo "${ECHO_T}$result" >&6; }
5275 if test -z "$defaultval"; then
5276 if test x"$enablestring" = xdisable; then
5283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5284 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5285 # Check whether --enable-profile was given.
5286 if test "${enable_profile+set}" = set; then
5287 enableval=$enable_profile;
5288 if test "$enableval" = yes; then
5289 wx_cv_use_profile='wxUSE_PROFILE=yes'
5291 wx_cv_use_profile='wxUSE_PROFILE=no'
5297 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5298 if test "x$LINE" != x ; then
5299 eval "DEFAULT_$LINE"
5302 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5307 eval "$wx_cv_use_profile"
5308 if test "x$cache" = xyes; then
5309 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5312 if test x"$enablestring" = xdisable; then
5313 if test $wxUSE_PROFILE = yes; then
5319 result=$wxUSE_PROFILE
5322 { echo "$as_me:$LINENO: result: $result" >&5
5323 echo "${ECHO_T}$result" >&6; }
5328 if test -z "$defaultval"; then
5329 if test x"$enablestring" = xdisable; then
5336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5337 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5338 # Check whether --enable-no_rtti was given.
5339 if test "${enable_no_rtti+set}" = set; then
5340 enableval=$enable_no_rtti;
5341 if test "$enableval" = yes; then
5342 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5344 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5350 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5351 if test "x$LINE" != x ; then
5352 eval "DEFAULT_$LINE"
5355 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5360 eval "$wx_cv_use_no_rtti"
5361 if test "x$cache" = xyes; then
5362 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5365 if test x"$enablestring" = xdisable; then
5366 if test $wxUSE_NO_RTTI = yes; then
5372 result=$wxUSE_NO_RTTI
5375 { echo "$as_me:$LINENO: result: $result" >&5
5376 echo "${ECHO_T}$result" >&6; }
5381 if test -z "$defaultval"; then
5382 if test x"$enablestring" = xdisable; then
5389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5390 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5391 # Check whether --enable-no_exceptions was given.
5392 if test "${enable_no_exceptions+set}" = set; then
5393 enableval=$enable_no_exceptions;
5394 if test "$enableval" = yes; then
5395 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5397 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5403 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5404 if test "x$LINE" != x ; then
5405 eval "DEFAULT_$LINE"
5408 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5413 eval "$wx_cv_use_no_exceptions"
5414 if test "x$cache" = xyes; then
5415 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5418 if test x"$enablestring" = xdisable; then
5419 if test $wxUSE_NO_EXCEPTIONS = yes; then
5425 result=$wxUSE_NO_EXCEPTIONS
5428 { echo "$as_me:$LINENO: result: $result" >&5
5429 echo "${ECHO_T}$result" >&6; }
5434 if test -z "$defaultval"; then
5435 if test x"$enablestring" = xdisable; then
5442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5443 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5444 # Check whether --enable-permissive was given.
5445 if test "${enable_permissive+set}" = set; then
5446 enableval=$enable_permissive;
5447 if test "$enableval" = yes; then
5448 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5450 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5456 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5457 if test "x$LINE" != x ; then
5458 eval "DEFAULT_$LINE"
5461 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5466 eval "$wx_cv_use_permissive"
5467 if test "x$cache" = xyes; then
5468 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5471 if test x"$enablestring" = xdisable; then
5472 if test $wxUSE_PERMISSIVE = yes; then
5478 result=$wxUSE_PERMISSIVE
5481 { echo "$as_me:$LINENO: result: $result" >&5
5482 echo "${ECHO_T}$result" >&6; }
5487 if test -z "$defaultval"; then
5488 if test x"$enablestring" = xdisable; then
5495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5496 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5497 # Check whether --enable-no_deps was given.
5498 if test "${enable_no_deps+set}" = set; then
5499 enableval=$enable_no_deps;
5500 if test "$enableval" = yes; then
5501 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5503 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5509 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5510 if test "x$LINE" != x ; then
5511 eval "DEFAULT_$LINE"
5514 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5519 eval "$wx_cv_use_no_deps"
5520 if test "x$cache" = xyes; then
5521 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5524 if test x"$enablestring" = xdisable; then
5525 if test $wxUSE_NO_DEPS = yes; then
5531 result=$wxUSE_NO_DEPS
5534 { echo "$as_me:$LINENO: result: $result" >&5
5535 echo "${ECHO_T}$result" >&6; }
5538 enablestring=disable
5540 if test -z "$defaultval"; then
5541 if test x"$enablestring" = xdisable; then
5548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5549 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5550 # Check whether --enable-vararg_macros was given.
5551 if test "${enable_vararg_macros+set}" = set; then
5552 enableval=$enable_vararg_macros;
5553 if test "$enableval" = yes; then
5554 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5556 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5562 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5563 if test "x$LINE" != x ; then
5564 eval "DEFAULT_$LINE"
5567 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5572 eval "$wx_cv_use_vararg_macros"
5573 if test "x$cache" = xyes; then
5574 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5577 if test x"$enablestring" = xdisable; then
5578 if test $wxUSE_VARARG_MACROS = yes; then
5584 result=$wxUSE_VARARG_MACROS
5587 { echo "$as_me:$LINENO: result: $result" >&5
5588 echo "${ECHO_T}$result" >&6; }
5592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5593 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5594 # Check whether --enable-universal_binary was given.
5595 if test "${enable_universal_binary+set}" = set; then
5596 enableval=$enable_universal_binary;
5597 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5602 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5603 if test "x$LINE" != x ; then
5604 eval "DEFAULT_$LINE"
5607 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5612 eval "$wx_cv_use_universal_binary"
5613 if test "x$cache" = xyes; then
5614 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5617 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5618 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5624 if test -z "$defaultval"; then
5625 if test x"$enablestring" = xdisable; then
5632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5633 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5634 # Check whether --enable-compat26 was given.
5635 if test "${enable_compat26+set}" = set; then
5636 enableval=$enable_compat26;
5637 if test "$enableval" = yes; then
5638 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5640 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5646 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5647 if test "x$LINE" != x ; then
5648 eval "DEFAULT_$LINE"
5651 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5656 eval "$wx_cv_use_compat26"
5657 if test "x$cache" = xyes; then
5658 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5661 if test x"$enablestring" = xdisable; then
5662 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5668 result=$WXWIN_COMPATIBILITY_2_6
5671 { echo "$as_me:$LINENO: result: $result" >&5
5672 echo "${ECHO_T}$result" >&6; }
5675 enablestring=disable
5677 if test -z "$defaultval"; then
5678 if test x"$enablestring" = xdisable; then
5685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5686 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5687 # Check whether --enable-compat28 was given.
5688 if test "${enable_compat28+set}" = set; then
5689 enableval=$enable_compat28;
5690 if test "$enableval" = yes; then
5691 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5693 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5699 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5700 if test "x$LINE" != x ; then
5701 eval "DEFAULT_$LINE"
5704 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5709 eval "$wx_cv_use_compat28"
5710 if test "x$cache" = xyes; then
5711 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5714 if test x"$enablestring" = xdisable; then
5715 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5721 result=$WXWIN_COMPATIBILITY_2_8
5724 { echo "$as_me:$LINENO: result: $result" >&5
5725 echo "${ECHO_T}$result" >&6; }
5729 enablestring=disable
5731 if test -z "$defaultval"; then
5732 if test x"$enablestring" = xdisable; then
5739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5740 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5741 # Check whether --enable-rpath was given.
5742 if test "${enable_rpath+set}" = set; then
5743 enableval=$enable_rpath;
5744 if test "$enableval" = yes; then
5745 wx_cv_use_rpath='wxUSE_RPATH=yes'
5747 wx_cv_use_rpath='wxUSE_RPATH=no'
5753 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5754 if test "x$LINE" != x ; then
5755 eval "DEFAULT_$LINE"
5758 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5763 eval "$wx_cv_use_rpath"
5764 if test "x$cache" = xyes; then
5765 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5768 if test x"$enablestring" = xdisable; then
5769 if test $wxUSE_RPATH = yes; then
5778 { echo "$as_me:$LINENO: result: $result" >&5
5779 echo "${ECHO_T}$result" >&6; }
5785 if test -z "$defaultval"; then
5786 if test x"$enablestring" = xdisable; then
5793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5794 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5795 # Check whether --enable-objc_uniquifying was given.
5796 if test "${enable_objc_uniquifying+set}" = set; then
5797 enableval=$enable_objc_uniquifying;
5798 if test "$enableval" = yes; then
5799 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5801 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5807 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5808 if test "x$LINE" != x ; then
5809 eval "DEFAULT_$LINE"
5812 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5817 eval "$wx_cv_use_objc_uniquifying"
5818 if test "x$cache" = xyes; then
5819 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
5822 if test x"$enablestring" = xdisable; then
5823 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5829 result=$wxUSE_OBJC_UNIQUIFYING
5832 { echo "$as_me:$LINENO: result: $result" >&5
5833 echo "${ECHO_T}$result" >&6; }
5837 enablestring=disable
5839 if test -z "$defaultval"; then
5840 if test x"$enablestring" = xdisable; then
5847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5848 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5849 # Check whether --enable-visibility was given.
5850 if test "${enable_visibility+set}" = set; then
5851 enableval=$enable_visibility;
5852 if test "$enableval" = yes; then
5853 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5855 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5861 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5862 if test "x$LINE" != x ; then
5863 eval "DEFAULT_$LINE"
5866 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5871 eval "$wx_cv_use_visibility"
5872 if test "x$cache" = xyes; then
5873 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
5876 if test x"$enablestring" = xdisable; then
5877 if test $wxUSE_VISIBILITY = yes; then
5883 result=$wxUSE_VISIBILITY
5886 { echo "$as_me:$LINENO: result: $result" >&5
5887 echo "${ECHO_T}$result" >&6; }
5893 defaultval=$wxUSE_ALL_FEATURES
5894 if test -z "$defaultval"; then
5895 if test x"$enablestring" = xdisable; then
5902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5903 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5904 # Check whether --enable-intl was given.
5905 if test "${enable_intl+set}" = set; then
5906 enableval=$enable_intl;
5907 if test "$enableval" = yes; then
5908 wx_cv_use_intl='wxUSE_INTL=yes'
5910 wx_cv_use_intl='wxUSE_INTL=no'
5916 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5917 if test "x$LINE" != x ; then
5918 eval "DEFAULT_$LINE"
5921 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5926 eval "$wx_cv_use_intl"
5927 if test "x$cache" = xyes; then
5928 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
5931 if test x"$enablestring" = xdisable; then
5932 if test $wxUSE_INTL = yes; then
5941 { echo "$as_me:$LINENO: result: $result" >&5
5942 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}-config" >&5
5956 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5957 # Check whether --enable-config was given.
5958 if test "${enable_config+set}" = set; then
5959 enableval=$enable_config;
5960 if test "$enableval" = yes; then
5961 wx_cv_use_config='wxUSE_CONFIG=yes'
5963 wx_cv_use_config='wxUSE_CONFIG=no'
5969 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
5970 if test "x$LINE" != x ; then
5971 eval "DEFAULT_$LINE"
5974 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5979 eval "$wx_cv_use_config"
5980 if test "x$cache" = xyes; then
5981 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
5984 if test x"$enablestring" = xdisable; then
5985 if test $wxUSE_CONFIG = yes; then
5991 result=$wxUSE_CONFIG
5994 { echo "$as_me:$LINENO: result: $result" >&5
5995 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}-protocols" >&5
6010 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6011 # Check whether --enable-protocols was given.
6012 if test "${enable_protocols+set}" = set; then
6013 enableval=$enable_protocols;
6014 if test "$enableval" = yes; then
6015 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6017 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6023 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6024 if test "x$LINE" != x ; then
6025 eval "DEFAULT_$LINE"
6028 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6033 eval "$wx_cv_use_protocols"
6034 if test "x$cache" = xyes; then
6035 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6038 if test x"$enablestring" = xdisable; then
6039 if test $wxUSE_PROTOCOL = yes; then
6045 result=$wxUSE_PROTOCOL
6048 { echo "$as_me:$LINENO: result: $result" >&5
6049 echo "${ECHO_T}$result" >&6; }
6053 defaultval=$wxUSE_ALL_FEATURES
6054 if test -z "$defaultval"; then
6055 if test x"$enablestring" = xdisable; then
6062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6063 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6064 # Check whether --enable-ftp was given.
6065 if test "${enable_ftp+set}" = set; then
6066 enableval=$enable_ftp;
6067 if test "$enableval" = yes; then
6068 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6070 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6076 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6077 if test "x$LINE" != x ; then
6078 eval "DEFAULT_$LINE"
6081 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6086 eval "$wx_cv_use_ftp"
6087 if test "x$cache" = xyes; then
6088 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6091 if test x"$enablestring" = xdisable; then
6092 if test $wxUSE_PROTOCOL_FTP = yes; then
6098 result=$wxUSE_PROTOCOL_FTP
6101 { echo "$as_me:$LINENO: result: $result" >&5
6102 echo "${ECHO_T}$result" >&6; }
6106 defaultval=$wxUSE_ALL_FEATURES
6107 if test -z "$defaultval"; then
6108 if test x"$enablestring" = xdisable; then
6115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6116 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6117 # Check whether --enable-http was given.
6118 if test "${enable_http+set}" = set; then
6119 enableval=$enable_http;
6120 if test "$enableval" = yes; then
6121 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6123 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6129 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6130 if test "x$LINE" != x ; then
6131 eval "DEFAULT_$LINE"
6134 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6139 eval "$wx_cv_use_http"
6140 if test "x$cache" = xyes; then
6141 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6144 if test x"$enablestring" = xdisable; then
6145 if test $wxUSE_PROTOCOL_HTTP = yes; then
6151 result=$wxUSE_PROTOCOL_HTTP
6154 { echo "$as_me:$LINENO: result: $result" >&5
6155 echo "${ECHO_T}$result" >&6; }
6159 defaultval=$wxUSE_ALL_FEATURES
6160 if test -z "$defaultval"; then
6161 if test x"$enablestring" = xdisable; then
6168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6169 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6170 # Check whether --enable-fileproto was given.
6171 if test "${enable_fileproto+set}" = set; then
6172 enableval=$enable_fileproto;
6173 if test "$enableval" = yes; then
6174 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6176 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6182 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6183 if test "x$LINE" != x ; then
6184 eval "DEFAULT_$LINE"
6187 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6192 eval "$wx_cv_use_fileproto"
6193 if test "x$cache" = xyes; then
6194 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6197 if test x"$enablestring" = xdisable; then
6198 if test $wxUSE_PROTOCOL_FILE = yes; then
6204 result=$wxUSE_PROTOCOL_FILE
6207 { echo "$as_me:$LINENO: result: $result" >&5
6208 echo "${ECHO_T}$result" >&6; }
6212 defaultval=$wxUSE_ALL_FEATURES
6213 if test -z "$defaultval"; then
6214 if test x"$enablestring" = xdisable; then
6221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6222 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6223 # Check whether --enable-sockets was given.
6224 if test "${enable_sockets+set}" = set; then
6225 enableval=$enable_sockets;
6226 if test "$enableval" = yes; then
6227 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6229 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6235 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6236 if test "x$LINE" != x ; then
6237 eval "DEFAULT_$LINE"
6240 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6245 eval "$wx_cv_use_sockets"
6246 if test "x$cache" = xyes; then
6247 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6250 if test x"$enablestring" = xdisable; then
6251 if test $wxUSE_SOCKETS = yes; then
6257 result=$wxUSE_SOCKETS
6260 { echo "$as_me:$LINENO: result: $result" >&5
6261 echo "${ECHO_T}$result" >&6; }
6265 defaultval=$wxUSE_ALL_FEATURES
6266 if test -z "$defaultval"; then
6267 if test x"$enablestring" = xdisable; then
6274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6275 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6276 # Check whether --enable-ole was given.
6277 if test "${enable_ole+set}" = set; then
6278 enableval=$enable_ole;
6279 if test "$enableval" = yes; then
6280 wx_cv_use_ole='wxUSE_OLE=yes'
6282 wx_cv_use_ole='wxUSE_OLE=no'
6288 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6289 if test "x$LINE" != x ; then
6290 eval "DEFAULT_$LINE"
6293 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6298 eval "$wx_cv_use_ole"
6299 if test "x$cache" = xyes; then
6300 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6303 if test x"$enablestring" = xdisable; then
6304 if test $wxUSE_OLE = yes; then
6313 { echo "$as_me:$LINENO: result: $result" >&5
6314 echo "${ECHO_T}$result" >&6; }
6318 defaultval=$wxUSE_ALL_FEATURES
6319 if test -z "$defaultval"; then
6320 if test x"$enablestring" = xdisable; then
6327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6328 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6329 # Check whether --enable-dataobj was given.
6330 if test "${enable_dataobj+set}" = set; then
6331 enableval=$enable_dataobj;
6332 if test "$enableval" = yes; then
6333 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6335 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6341 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6342 if test "x$LINE" != x ; then
6343 eval "DEFAULT_$LINE"
6346 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6351 eval "$wx_cv_use_dataobj"
6352 if test "x$cache" = xyes; then
6353 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6356 if test x"$enablestring" = xdisable; then
6357 if test $wxUSE_DATAOBJ = yes; then
6363 result=$wxUSE_DATAOBJ
6366 { echo "$as_me:$LINENO: result: $result" >&5
6367 echo "${ECHO_T}$result" >&6; }
6372 defaultval=$wxUSE_ALL_FEATURES
6373 if test -z "$defaultval"; then
6374 if test x"$enablestring" = xdisable; then
6381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6382 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6383 # Check whether --enable-ipc was given.
6384 if test "${enable_ipc+set}" = set; then
6385 enableval=$enable_ipc;
6386 if test "$enableval" = yes; then
6387 wx_cv_use_ipc='wxUSE_IPC=yes'
6389 wx_cv_use_ipc='wxUSE_IPC=no'
6395 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6396 if test "x$LINE" != x ; then
6397 eval "DEFAULT_$LINE"
6400 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6405 eval "$wx_cv_use_ipc"
6406 if test "x$cache" = xyes; then
6407 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6410 if test x"$enablestring" = xdisable; then
6411 if test $wxUSE_IPC = yes; then
6420 { echo "$as_me:$LINENO: result: $result" >&5
6421 echo "${ECHO_T}$result" >&6; }
6426 defaultval=$wxUSE_ALL_FEATURES
6427 if test -z "$defaultval"; then
6428 if test x"$enablestring" = xdisable; then
6435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6436 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6437 # Check whether --enable-baseevtloop was given.
6438 if test "${enable_baseevtloop+set}" = set; then
6439 enableval=$enable_baseevtloop;
6440 if test "$enableval" = yes; then
6441 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6443 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6449 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6450 if test "x$LINE" != x ; then
6451 eval "DEFAULT_$LINE"
6454 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6459 eval "$wx_cv_use_baseevtloop"
6460 if test "x$cache" = xyes; then
6461 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6464 if test x"$enablestring" = xdisable; then
6465 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6471 result=$wxUSE_CONSOLE_EVENTLOOP
6474 { echo "$as_me:$LINENO: result: $result" >&5
6475 echo "${ECHO_T}$result" >&6; }
6479 defaultval=$wxUSE_ALL_FEATURES
6480 if test -z "$defaultval"; then
6481 if test x"$enablestring" = xdisable; then
6488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6489 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6490 # Check whether --enable-epoolloop was given.
6491 if test "${enable_epoolloop+set}" = set; then
6492 enableval=$enable_epoolloop;
6493 if test "$enableval" = yes; then
6494 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6496 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6502 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6503 if test "x$LINE" != x ; then
6504 eval "DEFAULT_$LINE"
6507 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6512 eval "$wx_cv_use_epoolloop"
6513 if test "x$cache" = xyes; then
6514 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6517 if test x"$enablestring" = xdisable; then
6518 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6524 result=$wxUSE_EPOLL_DISPATCHER
6527 { echo "$as_me:$LINENO: result: $result" >&5
6528 echo "${ECHO_T}$result" >&6; }
6532 defaultval=$wxUSE_ALL_FEATURES
6533 if test -z "$defaultval"; then
6534 if test x"$enablestring" = xdisable; then
6541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6542 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6543 # Check whether --enable-selectloop was given.
6544 if test "${enable_selectloop+set}" = set; then
6545 enableval=$enable_selectloop;
6546 if test "$enableval" = yes; then
6547 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6549 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6555 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6556 if test "x$LINE" != x ; then
6557 eval "DEFAULT_$LINE"
6560 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6565 eval "$wx_cv_use_selectloop"
6566 if test "x$cache" = xyes; then
6567 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6570 if test x"$enablestring" = xdisable; then
6571 if test $wxUSE_SELECT_DISPATCHER = yes; then
6577 result=$wxUSE_SELECT_DISPATCHER
6580 { echo "$as_me:$LINENO: result: $result" >&5
6581 echo "${ECHO_T}$result" >&6; }
6586 defaultval=$wxUSE_ALL_FEATURES
6587 if test -z "$defaultval"; then
6588 if test x"$enablestring" = xdisable; then
6595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6596 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6597 # Check whether --enable-apple_ieee was given.
6598 if test "${enable_apple_ieee+set}" = set; then
6599 enableval=$enable_apple_ieee;
6600 if test "$enableval" = yes; then
6601 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6603 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6609 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6610 if test "x$LINE" != x ; then
6611 eval "DEFAULT_$LINE"
6614 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6619 eval "$wx_cv_use_apple_ieee"
6620 if test "x$cache" = xyes; then
6621 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6624 if test x"$enablestring" = xdisable; then
6625 if test $wxUSE_APPLE_IEEE = yes; then
6631 result=$wxUSE_APPLE_IEEE
6634 { echo "$as_me:$LINENO: result: $result" >&5
6635 echo "${ECHO_T}$result" >&6; }
6639 defaultval=$wxUSE_ALL_FEATURES
6640 if test -z "$defaultval"; then
6641 if test x"$enablestring" = xdisable; then
6648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6649 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6650 # Check whether --enable-arcstream was given.
6651 if test "${enable_arcstream+set}" = set; then
6652 enableval=$enable_arcstream;
6653 if test "$enableval" = yes; then
6654 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6656 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6662 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6663 if test "x$LINE" != x ; then
6664 eval "DEFAULT_$LINE"
6667 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6672 eval "$wx_cv_use_arcstream"
6673 if test "x$cache" = xyes; then
6674 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6677 if test x"$enablestring" = xdisable; then
6678 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6684 result=$wxUSE_ARCHIVE_STREAMS
6687 { echo "$as_me:$LINENO: result: $result" >&5
6688 echo "${ECHO_T}$result" >&6; }
6692 defaultval=$wxUSE_ALL_FEATURES
6693 if test -z "$defaultval"; then
6694 if test x"$enablestring" = xdisable; then
6701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6702 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6703 # Check whether --enable-base64 was given.
6704 if test "${enable_base64+set}" = set; then
6705 enableval=$enable_base64;
6706 if test "$enableval" = yes; then
6707 wx_cv_use_base64='wxUSE_BASE64=yes'
6709 wx_cv_use_base64='wxUSE_BASE64=no'
6715 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6716 if test "x$LINE" != x ; then
6717 eval "DEFAULT_$LINE"
6720 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6725 eval "$wx_cv_use_base64"
6726 if test "x$cache" = xyes; then
6727 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6730 if test x"$enablestring" = xdisable; then
6731 if test $wxUSE_BASE64 = yes; then
6737 result=$wxUSE_BASE64
6740 { echo "$as_me:$LINENO: result: $result" >&5
6741 echo "${ECHO_T}$result" >&6; }
6745 defaultval=$wxUSE_ALL_FEATURES
6746 if test -z "$defaultval"; then
6747 if test x"$enablestring" = xdisable; then
6754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6755 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6756 # Check whether --enable-backtrace was given.
6757 if test "${enable_backtrace+set}" = set; then
6758 enableval=$enable_backtrace;
6759 if test "$enableval" = yes; then
6760 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6762 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6768 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6769 if test "x$LINE" != x ; then
6770 eval "DEFAULT_$LINE"
6773 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6778 eval "$wx_cv_use_backtrace"
6779 if test "x$cache" = xyes; then
6780 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
6783 if test x"$enablestring" = xdisable; then
6784 if test $wxUSE_STACKWALKER = yes; then
6790 result=$wxUSE_STACKWALKER
6793 { echo "$as_me:$LINENO: result: $result" >&5
6794 echo "${ECHO_T}$result" >&6; }
6798 defaultval=$wxUSE_ALL_FEATURES
6799 if test -z "$defaultval"; then
6800 if test x"$enablestring" = xdisable; then
6807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6808 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6809 # Check whether --enable-catch_segvs was given.
6810 if test "${enable_catch_segvs+set}" = set; then
6811 enableval=$enable_catch_segvs;
6812 if test "$enableval" = yes; then
6813 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6815 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6821 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6822 if test "x$LINE" != x ; then
6823 eval "DEFAULT_$LINE"
6826 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6831 eval "$wx_cv_use_catch_segvs"
6832 if test "x$cache" = xyes; then
6833 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
6836 if test x"$enablestring" = xdisable; then
6837 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6843 result=$wxUSE_ON_FATAL_EXCEPTION
6846 { echo "$as_me:$LINENO: result: $result" >&5
6847 echo "${ECHO_T}$result" >&6; }
6851 defaultval=$wxUSE_ALL_FEATURES
6852 if test -z "$defaultval"; then
6853 if test x"$enablestring" = xdisable; then
6860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6861 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6862 # Check whether --enable-cmdline was given.
6863 if test "${enable_cmdline+set}" = set; then
6864 enableval=$enable_cmdline;
6865 if test "$enableval" = yes; then
6866 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6868 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6874 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6875 if test "x$LINE" != x ; then
6876 eval "DEFAULT_$LINE"
6879 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6884 eval "$wx_cv_use_cmdline"
6885 if test "x$cache" = xyes; then
6886 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
6889 if test x"$enablestring" = xdisable; then
6890 if test $wxUSE_CMDLINE_PARSER = yes; then
6896 result=$wxUSE_CMDLINE_PARSER
6899 { echo "$as_me:$LINENO: result: $result" >&5
6900 echo "${ECHO_T}$result" >&6; }
6904 defaultval=$wxUSE_ALL_FEATURES
6905 if test -z "$defaultval"; then
6906 if test x"$enablestring" = xdisable; then
6913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6914 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6915 # Check whether --enable-datetime was given.
6916 if test "${enable_datetime+set}" = set; then
6917 enableval=$enable_datetime;
6918 if test "$enableval" = yes; then
6919 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6921 wx_cv_use_datetime='wxUSE_DATETIME=no'
6927 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6928 if test "x$LINE" != x ; then
6929 eval "DEFAULT_$LINE"
6932 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6937 eval "$wx_cv_use_datetime"
6938 if test "x$cache" = xyes; then
6939 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
6942 if test x"$enablestring" = xdisable; then
6943 if test $wxUSE_DATETIME = yes; then
6949 result=$wxUSE_DATETIME
6952 { echo "$as_me:$LINENO: result: $result" >&5
6953 echo "${ECHO_T}$result" >&6; }
6957 defaultval=$wxUSE_ALL_FEATURES
6958 if test -z "$defaultval"; then
6959 if test x"$enablestring" = xdisable; then
6966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6967 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6968 # Check whether --enable-debugreport was given.
6969 if test "${enable_debugreport+set}" = set; then
6970 enableval=$enable_debugreport;
6971 if test "$enableval" = yes; then
6972 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6974 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6980 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6981 if test "x$LINE" != x ; then
6982 eval "DEFAULT_$LINE"
6985 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6990 eval "$wx_cv_use_debugreport"
6991 if test "x$cache" = xyes; then
6992 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
6995 if test x"$enablestring" = xdisable; then
6996 if test $wxUSE_DEBUGREPORT = yes; then
7002 result=$wxUSE_DEBUGREPORT
7005 { echo "$as_me:$LINENO: result: $result" >&5
7006 echo "${ECHO_T}$result" >&6; }
7010 defaultval=$wxUSE_ALL_FEATURES
7011 if test -z "$defaultval"; then
7012 if test x"$enablestring" = xdisable; then
7019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7020 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7021 # Check whether --enable-dialupman was given.
7022 if test "${enable_dialupman+set}" = set; then
7023 enableval=$enable_dialupman;
7024 if test "$enableval" = yes; then
7025 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7027 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7033 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7034 if test "x$LINE" != x ; then
7035 eval "DEFAULT_$LINE"
7038 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7043 eval "$wx_cv_use_dialupman"
7044 if test "x$cache" = xyes; then
7045 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7048 if test x"$enablestring" = xdisable; then
7049 if test $wxUSE_DIALUP_MANAGER = yes; then
7055 result=$wxUSE_DIALUP_MANAGER
7058 { echo "$as_me:$LINENO: result: $result" >&5
7059 echo "${ECHO_T}$result" >&6; }
7063 defaultval=$wxUSE_ALL_FEATURES
7064 if test -z "$defaultval"; then
7065 if test x"$enablestring" = xdisable; then
7072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7073 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7074 # Check whether --enable-dynlib was given.
7075 if test "${enable_dynlib+set}" = set; then
7076 enableval=$enable_dynlib;
7077 if test "$enableval" = yes; then
7078 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7080 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7086 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7087 if test "x$LINE" != x ; then
7088 eval "DEFAULT_$LINE"
7091 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7096 eval "$wx_cv_use_dynlib"
7097 if test "x$cache" = xyes; then
7098 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7101 if test x"$enablestring" = xdisable; then
7102 if test $wxUSE_DYNLIB_CLASS = yes; then
7108 result=$wxUSE_DYNLIB_CLASS
7111 { echo "$as_me:$LINENO: result: $result" >&5
7112 echo "${ECHO_T}$result" >&6; }
7116 defaultval=$wxUSE_ALL_FEATURES
7117 if test -z "$defaultval"; then
7118 if test x"$enablestring" = xdisable; then
7125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7126 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7127 # Check whether --enable-dynamicloader was given.
7128 if test "${enable_dynamicloader+set}" = set; then
7129 enableval=$enable_dynamicloader;
7130 if test "$enableval" = yes; then
7131 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7133 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7139 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7140 if test "x$LINE" != x ; then
7141 eval "DEFAULT_$LINE"
7144 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7149 eval "$wx_cv_use_dynamicloader"
7150 if test "x$cache" = xyes; then
7151 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7154 if test x"$enablestring" = xdisable; then
7155 if test $wxUSE_DYNAMIC_LOADER = yes; then
7161 result=$wxUSE_DYNAMIC_LOADER
7164 { echo "$as_me:$LINENO: result: $result" >&5
7165 echo "${ECHO_T}$result" >&6; }
7169 defaultval=$wxUSE_ALL_FEATURES
7170 if test -z "$defaultval"; then
7171 if test x"$enablestring" = xdisable; then
7178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7179 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7180 # Check whether --enable-exceptions was given.
7181 if test "${enable_exceptions+set}" = set; then
7182 enableval=$enable_exceptions;
7183 if test "$enableval" = yes; then
7184 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7186 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7192 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7193 if test "x$LINE" != x ; then
7194 eval "DEFAULT_$LINE"
7197 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7202 eval "$wx_cv_use_exceptions"
7203 if test "x$cache" = xyes; then
7204 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7207 if test x"$enablestring" = xdisable; then
7208 if test $wxUSE_EXCEPTIONS = yes; then
7214 result=$wxUSE_EXCEPTIONS
7217 { echo "$as_me:$LINENO: result: $result" >&5
7218 echo "${ECHO_T}$result" >&6; }
7222 defaultval=$wxUSE_ALL_FEATURES
7223 if test -z "$defaultval"; then
7224 if test x"$enablestring" = xdisable; then
7231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7232 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7233 # Check whether --enable-ffile was given.
7234 if test "${enable_ffile+set}" = set; then
7235 enableval=$enable_ffile;
7236 if test "$enableval" = yes; then
7237 wx_cv_use_ffile='wxUSE_FFILE=yes'
7239 wx_cv_use_ffile='wxUSE_FFILE=no'
7245 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7246 if test "x$LINE" != x ; then
7247 eval "DEFAULT_$LINE"
7250 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7255 eval "$wx_cv_use_ffile"
7256 if test "x$cache" = xyes; then
7257 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7260 if test x"$enablestring" = xdisable; then
7261 if test $wxUSE_FFILE = yes; then
7270 { echo "$as_me:$LINENO: result: $result" >&5
7271 echo "${ECHO_T}$result" >&6; }
7275 defaultval=$wxUSE_ALL_FEATURES
7276 if test -z "$defaultval"; then
7277 if test x"$enablestring" = xdisable; then
7284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7285 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7286 # Check whether --enable-file was given.
7287 if test "${enable_file+set}" = set; then
7288 enableval=$enable_file;
7289 if test "$enableval" = yes; then
7290 wx_cv_use_file='wxUSE_FILE=yes'
7292 wx_cv_use_file='wxUSE_FILE=no'
7298 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7299 if test "x$LINE" != x ; then
7300 eval "DEFAULT_$LINE"
7303 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7308 eval "$wx_cv_use_file"
7309 if test "x$cache" = xyes; then
7310 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7313 if test x"$enablestring" = xdisable; then
7314 if test $wxUSE_FILE = yes; then
7323 { echo "$as_me:$LINENO: result: $result" >&5
7324 echo "${ECHO_T}$result" >&6; }
7328 defaultval=$wxUSE_ALL_FEATURES
7329 if test -z "$defaultval"; then
7330 if test x"$enablestring" = xdisable; then
7337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7338 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7339 # Check whether --enable-filesystem was given.
7340 if test "${enable_filesystem+set}" = set; then
7341 enableval=$enable_filesystem;
7342 if test "$enableval" = yes; then
7343 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7345 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7351 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7352 if test "x$LINE" != x ; then
7353 eval "DEFAULT_$LINE"
7356 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7361 eval "$wx_cv_use_filesystem"
7362 if test "x$cache" = xyes; then
7363 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7366 if test x"$enablestring" = xdisable; then
7367 if test $wxUSE_FILESYSTEM = yes; then
7373 result=$wxUSE_FILESYSTEM
7376 { echo "$as_me:$LINENO: result: $result" >&5
7377 echo "${ECHO_T}$result" >&6; }
7381 defaultval=$wxUSE_ALL_FEATURES
7382 if test -z "$defaultval"; then
7383 if test x"$enablestring" = xdisable; then
7390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7391 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7392 # Check whether --enable-fontenum was given.
7393 if test "${enable_fontenum+set}" = set; then
7394 enableval=$enable_fontenum;
7395 if test "$enableval" = yes; then
7396 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7398 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7404 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7405 if test "x$LINE" != x ; then
7406 eval "DEFAULT_$LINE"
7409 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7414 eval "$wx_cv_use_fontenum"
7415 if test "x$cache" = xyes; then
7416 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7419 if test x"$enablestring" = xdisable; then
7420 if test $wxUSE_FONTENUM = yes; then
7426 result=$wxUSE_FONTENUM
7429 { echo "$as_me:$LINENO: result: $result" >&5
7430 echo "${ECHO_T}$result" >&6; }
7434 defaultval=$wxUSE_ALL_FEATURES
7435 if test -z "$defaultval"; then
7436 if test x"$enablestring" = xdisable; then
7443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7444 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7445 # Check whether --enable-fontmap was given.
7446 if test "${enable_fontmap+set}" = set; then
7447 enableval=$enable_fontmap;
7448 if test "$enableval" = yes; then
7449 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7451 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7457 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7458 if test "x$LINE" != x ; then
7459 eval "DEFAULT_$LINE"
7462 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7467 eval "$wx_cv_use_fontmap"
7468 if test "x$cache" = xyes; then
7469 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7472 if test x"$enablestring" = xdisable; then
7473 if test $wxUSE_FONTMAP = yes; then
7479 result=$wxUSE_FONTMAP
7482 { echo "$as_me:$LINENO: result: $result" >&5
7483 echo "${ECHO_T}$result" >&6; }
7487 defaultval=$wxUSE_ALL_FEATURES
7488 if test -z "$defaultval"; then
7489 if test x"$enablestring" = xdisable; then
7496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7497 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7498 # Check whether --enable-fs_archive was given.
7499 if test "${enable_fs_archive+set}" = set; then
7500 enableval=$enable_fs_archive;
7501 if test "$enableval" = yes; then
7502 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7504 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7510 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7511 if test "x$LINE" != x ; then
7512 eval "DEFAULT_$LINE"
7515 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7520 eval "$wx_cv_use_fs_archive"
7521 if test "x$cache" = xyes; then
7522 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7525 if test x"$enablestring" = xdisable; then
7526 if test $wxUSE_FS_ARCHIVE = yes; then
7532 result=$wxUSE_FS_ARCHIVE
7535 { echo "$as_me:$LINENO: result: $result" >&5
7536 echo "${ECHO_T}$result" >&6; }
7540 defaultval=$wxUSE_ALL_FEATURES
7541 if test -z "$defaultval"; then
7542 if test x"$enablestring" = xdisable; then
7549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7550 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7551 # Check whether --enable-fs_inet was given.
7552 if test "${enable_fs_inet+set}" = set; then
7553 enableval=$enable_fs_inet;
7554 if test "$enableval" = yes; then
7555 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7557 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7563 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7564 if test "x$LINE" != x ; then
7565 eval "DEFAULT_$LINE"
7568 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7573 eval "$wx_cv_use_fs_inet"
7574 if test "x$cache" = xyes; then
7575 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7578 if test x"$enablestring" = xdisable; then
7579 if test $wxUSE_FS_INET = yes; then
7585 result=$wxUSE_FS_INET
7588 { echo "$as_me:$LINENO: result: $result" >&5
7589 echo "${ECHO_T}$result" >&6; }
7593 defaultval=$wxUSE_ALL_FEATURES
7594 if test -z "$defaultval"; then
7595 if test x"$enablestring" = xdisable; then
7602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7603 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7604 # Check whether --enable-fs_zip was given.
7605 if test "${enable_fs_zip+set}" = set; then
7606 enableval=$enable_fs_zip;
7607 if test "$enableval" = yes; then
7608 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7610 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7616 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7617 if test "x$LINE" != x ; then
7618 eval "DEFAULT_$LINE"
7621 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7626 eval "$wx_cv_use_fs_zip"
7627 if test "x$cache" = xyes; then
7628 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7631 if test x"$enablestring" = xdisable; then
7632 if test $wxUSE_FS_ZIP = yes; then
7638 result=$wxUSE_FS_ZIP
7641 { echo "$as_me:$LINENO: result: $result" >&5
7642 echo "${ECHO_T}$result" >&6; }
7646 defaultval=$wxUSE_ALL_FEATURES
7647 if test -z "$defaultval"; then
7648 if test x"$enablestring" = xdisable; then
7655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7656 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7657 # Check whether --enable-geometry was given.
7658 if test "${enable_geometry+set}" = set; then
7659 enableval=$enable_geometry;
7660 if test "$enableval" = yes; then
7661 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7663 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7669 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7670 if test "x$LINE" != x ; then
7671 eval "DEFAULT_$LINE"
7674 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7679 eval "$wx_cv_use_geometry"
7680 if test "x$cache" = xyes; then
7681 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
7684 if test x"$enablestring" = xdisable; then
7685 if test $wxUSE_GEOMETRY = yes; then
7691 result=$wxUSE_GEOMETRY
7694 { echo "$as_me:$LINENO: result: $result" >&5
7695 echo "${ECHO_T}$result" >&6; }
7699 defaultval=$wxUSE_ALL_FEATURES
7700 if test -z "$defaultval"; then
7701 if test x"$enablestring" = xdisable; then
7708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7709 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7710 # Check whether --enable-log was given.
7711 if test "${enable_log+set}" = set; then
7712 enableval=$enable_log;
7713 if test "$enableval" = yes; then
7714 wx_cv_use_log='wxUSE_LOG=yes'
7716 wx_cv_use_log='wxUSE_LOG=no'
7722 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7723 if test "x$LINE" != x ; then
7724 eval "DEFAULT_$LINE"
7727 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7732 eval "$wx_cv_use_log"
7733 if test "x$cache" = xyes; then
7734 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
7737 if test x"$enablestring" = xdisable; then
7738 if test $wxUSE_LOG = yes; then
7747 { echo "$as_me:$LINENO: result: $result" >&5
7748 echo "${ECHO_T}$result" >&6; }
7752 defaultval=$wxUSE_ALL_FEATURES
7753 if test -z "$defaultval"; then
7754 if test x"$enablestring" = xdisable; then
7761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7762 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7763 # Check whether --enable-longlong was given.
7764 if test "${enable_longlong+set}" = set; then
7765 enableval=$enable_longlong;
7766 if test "$enableval" = yes; then
7767 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7769 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7775 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7776 if test "x$LINE" != x ; then
7777 eval "DEFAULT_$LINE"
7780 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7785 eval "$wx_cv_use_longlong"
7786 if test "x$cache" = xyes; then
7787 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
7790 if test x"$enablestring" = xdisable; then
7791 if test $wxUSE_LONGLONG = yes; then
7797 result=$wxUSE_LONGLONG
7800 { echo "$as_me:$LINENO: result: $result" >&5
7801 echo "${ECHO_T}$result" >&6; }
7805 defaultval=$wxUSE_ALL_FEATURES
7806 if test -z "$defaultval"; then
7807 if test x"$enablestring" = xdisable; then
7814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7815 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7816 # Check whether --enable-mimetype was given.
7817 if test "${enable_mimetype+set}" = set; then
7818 enableval=$enable_mimetype;
7819 if test "$enableval" = yes; then
7820 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7822 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7828 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7829 if test "x$LINE" != x ; then
7830 eval "DEFAULT_$LINE"
7833 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7838 eval "$wx_cv_use_mimetype"
7839 if test "x$cache" = xyes; then
7840 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
7843 if test x"$enablestring" = xdisable; then
7844 if test $wxUSE_MIMETYPE = yes; then
7850 result=$wxUSE_MIMETYPE
7853 { echo "$as_me:$LINENO: result: $result" >&5
7854 echo "${ECHO_T}$result" >&6; }
7858 defaultval=$wxUSE_ALL_FEATURES
7859 if test -z "$defaultval"; then
7860 if test x"$enablestring" = xdisable; then
7867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7868 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7869 # Check whether --enable-snglinst was given.
7870 if test "${enable_snglinst+set}" = set; then
7871 enableval=$enable_snglinst;
7872 if test "$enableval" = yes; then
7873 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7875 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7881 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
7882 if test "x$LINE" != x ; then
7883 eval "DEFAULT_$LINE"
7886 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7891 eval "$wx_cv_use_snglinst"
7892 if test "x$cache" = xyes; then
7893 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
7896 if test x"$enablestring" = xdisable; then
7897 if test $wxUSE_SNGLINST_CHECKER = yes; then
7903 result=$wxUSE_SNGLINST_CHECKER
7906 { echo "$as_me:$LINENO: result: $result" >&5
7907 echo "${ECHO_T}$result" >&6; }
7911 defaultval=$wxUSE_ALL_FEATURES
7912 if test -z "$defaultval"; then
7913 if test x"$enablestring" = xdisable; then
7920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7921 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7922 # Check whether --enable-stdpaths was given.
7923 if test "${enable_stdpaths+set}" = set; then
7924 enableval=$enable_stdpaths;
7925 if test "$enableval" = yes; then
7926 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7928 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7934 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
7935 if test "x$LINE" != x ; then
7936 eval "DEFAULT_$LINE"
7939 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7944 eval "$wx_cv_use_stdpaths"
7945 if test "x$cache" = xyes; then
7946 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
7949 if test x"$enablestring" = xdisable; then
7950 if test $wxUSE_STDPATHS = yes; then
7956 result=$wxUSE_STDPATHS
7959 { echo "$as_me:$LINENO: result: $result" >&5
7960 echo "${ECHO_T}$result" >&6; }
7964 defaultval=$wxUSE_ALL_FEATURES
7965 if test -z "$defaultval"; then
7966 if test x"$enablestring" = xdisable; then
7973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7974 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7975 # Check whether --enable-stopwatch was given.
7976 if test "${enable_stopwatch+set}" = set; then
7977 enableval=$enable_stopwatch;
7978 if test "$enableval" = yes; then
7979 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7981 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7987 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7988 if test "x$LINE" != x ; then
7989 eval "DEFAULT_$LINE"
7992 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7997 eval "$wx_cv_use_stopwatch"
7998 if test "x$cache" = xyes; then
7999 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8002 if test x"$enablestring" = xdisable; then
8003 if test $wxUSE_STOPWATCH = yes; then
8009 result=$wxUSE_STOPWATCH
8012 { echo "$as_me:$LINENO: result: $result" >&5
8013 echo "${ECHO_T}$result" >&6; }
8017 defaultval=$wxUSE_ALL_FEATURES
8018 if test -z "$defaultval"; then
8019 if test x"$enablestring" = xdisable; then
8026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8027 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8028 # Check whether --enable-streams was given.
8029 if test "${enable_streams+set}" = set; then
8030 enableval=$enable_streams;
8031 if test "$enableval" = yes; then
8032 wx_cv_use_streams='wxUSE_STREAMS=yes'
8034 wx_cv_use_streams='wxUSE_STREAMS=no'
8040 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8041 if test "x$LINE" != x ; then
8042 eval "DEFAULT_$LINE"
8045 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8050 eval "$wx_cv_use_streams"
8051 if test "x$cache" = xyes; then
8052 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8055 if test x"$enablestring" = xdisable; then
8056 if test $wxUSE_STREAMS = yes; then
8062 result=$wxUSE_STREAMS
8065 { echo "$as_me:$LINENO: result: $result" >&5
8066 echo "${ECHO_T}$result" >&6; }
8070 defaultval=$wxUSE_ALL_FEATURES
8071 if test -z "$defaultval"; then
8072 if test x"$enablestring" = xdisable; then
8079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8080 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8081 # Check whether --enable-system_options was given.
8082 if test "${enable_system_options+set}" = set; then
8083 enableval=$enable_system_options;
8084 if test "$enableval" = yes; then
8085 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8087 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8093 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8094 if test "x$LINE" != x ; then
8095 eval "DEFAULT_$LINE"
8098 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8103 eval "$wx_cv_use_system_options"
8104 if test "x$cache" = xyes; then
8105 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8108 if test x"$enablestring" = xdisable; then
8109 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8115 result=$wxUSE_SYSTEM_OPTIONS
8118 { echo "$as_me:$LINENO: result: $result" >&5
8119 echo "${ECHO_T}$result" >&6; }
8123 defaultval=$wxUSE_ALL_FEATURES
8124 if test -z "$defaultval"; then
8125 if test x"$enablestring" = xdisable; then
8132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8133 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8134 # Check whether --enable-tarstream was given.
8135 if test "${enable_tarstream+set}" = set; then
8136 enableval=$enable_tarstream;
8137 if test "$enableval" = yes; then
8138 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8140 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8146 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8147 if test "x$LINE" != x ; then
8148 eval "DEFAULT_$LINE"
8151 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8156 eval "$wx_cv_use_tarstream"
8157 if test "x$cache" = xyes; then
8158 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8161 if test x"$enablestring" = xdisable; then
8162 if test $wxUSE_TARSTREAM = yes; then
8168 result=$wxUSE_TARSTREAM
8171 { echo "$as_me:$LINENO: result: $result" >&5
8172 echo "${ECHO_T}$result" >&6; }
8176 defaultval=$wxUSE_ALL_FEATURES
8177 if test -z "$defaultval"; then
8178 if test x"$enablestring" = xdisable; then
8185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8186 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8187 # Check whether --enable-textbuf was given.
8188 if test "${enable_textbuf+set}" = set; then
8189 enableval=$enable_textbuf;
8190 if test "$enableval" = yes; then
8191 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8193 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8199 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8200 if test "x$LINE" != x ; then
8201 eval "DEFAULT_$LINE"
8204 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8209 eval "$wx_cv_use_textbuf"
8210 if test "x$cache" = xyes; then
8211 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8214 if test x"$enablestring" = xdisable; then
8215 if test $wxUSE_TEXTBUFFER = yes; then
8221 result=$wxUSE_TEXTBUFFER
8224 { echo "$as_me:$LINENO: result: $result" >&5
8225 echo "${ECHO_T}$result" >&6; }
8229 defaultval=$wxUSE_ALL_FEATURES
8230 if test -z "$defaultval"; then
8231 if test x"$enablestring" = xdisable; then
8238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8239 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8240 # Check whether --enable-textfile was given.
8241 if test "${enable_textfile+set}" = set; then
8242 enableval=$enable_textfile;
8243 if test "$enableval" = yes; then
8244 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8246 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8252 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8253 if test "x$LINE" != x ; then
8254 eval "DEFAULT_$LINE"
8257 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8262 eval "$wx_cv_use_textfile"
8263 if test "x$cache" = xyes; then
8264 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8267 if test x"$enablestring" = xdisable; then
8268 if test $wxUSE_TEXTFILE = yes; then
8274 result=$wxUSE_TEXTFILE
8277 { echo "$as_me:$LINENO: result: $result" >&5
8278 echo "${ECHO_T}$result" >&6; }
8282 defaultval=$wxUSE_ALL_FEATURES
8283 if test -z "$defaultval"; then
8284 if test x"$enablestring" = xdisable; then
8291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8292 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8293 # Check whether --enable-timer was given.
8294 if test "${enable_timer+set}" = set; then
8295 enableval=$enable_timer;
8296 if test "$enableval" = yes; then
8297 wx_cv_use_timer='wxUSE_TIMER=yes'
8299 wx_cv_use_timer='wxUSE_TIMER=no'
8305 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8306 if test "x$LINE" != x ; then
8307 eval "DEFAULT_$LINE"
8310 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8315 eval "$wx_cv_use_timer"
8316 if test "x$cache" = xyes; then
8317 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8320 if test x"$enablestring" = xdisable; then
8321 if test $wxUSE_TIMER = yes; then
8330 { echo "$as_me:$LINENO: result: $result" >&5
8331 echo "${ECHO_T}$result" >&6; }
8335 defaultval=$wxUSE_ALL_FEATURES
8336 if test -z "$defaultval"; then
8337 if test x"$enablestring" = xdisable; then
8344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8345 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8346 # Check whether --enable-sound was given.
8347 if test "${enable_sound+set}" = set; then
8348 enableval=$enable_sound;
8349 if test "$enableval" = yes; then
8350 wx_cv_use_sound='wxUSE_SOUND=yes'
8352 wx_cv_use_sound='wxUSE_SOUND=no'
8358 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8359 if test "x$LINE" != x ; then
8360 eval "DEFAULT_$LINE"
8363 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8368 eval "$wx_cv_use_sound"
8369 if test "x$cache" = xyes; then
8370 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8373 if test x"$enablestring" = xdisable; then
8374 if test $wxUSE_SOUND = yes; then
8383 { echo "$as_me:$LINENO: result: $result" >&5
8384 echo "${ECHO_T}$result" >&6; }
8388 defaultval=$wxUSE_ALL_FEATURES
8389 if test -z "$defaultval"; then
8390 if test x"$enablestring" = xdisable; then
8397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8398 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8399 # Check whether --enable-mediactrl was given.
8400 if test "${enable_mediactrl+set}" = set; then
8401 enableval=$enable_mediactrl;
8402 if test "$enableval" = yes; then
8403 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8405 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8411 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8412 if test "x$LINE" != x ; then
8413 eval "DEFAULT_$LINE"
8416 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8421 eval "$wx_cv_use_mediactrl"
8422 if test "x$cache" = xyes; then
8423 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8426 if test x"$enablestring" = xdisable; then
8427 if test $wxUSE_MEDIACTRL = yes; then
8433 result=$wxUSE_MEDIACTRL
8436 { echo "$as_me:$LINENO: result: $result" >&5
8437 echo "${ECHO_T}$result" >&6; }
8441 defaultval=$wxUSE_ALL_FEATURES
8442 if test -z "$defaultval"; then
8443 if test x"$enablestring" = xdisable; then
8450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8451 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8452 # Check whether --enable-gstreamer8 was given.
8453 if test "${enable_gstreamer8+set}" = set; then
8454 enableval=$enable_gstreamer8;
8455 if test "$enableval" = yes; then
8456 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8458 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8464 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8465 if test "x$LINE" != x ; then
8466 eval "DEFAULT_$LINE"
8469 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8474 eval "$wx_cv_use_gstreamer8"
8475 if test "x$cache" = xyes; then
8476 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8479 if test x"$enablestring" = xdisable; then
8480 if test $wxUSE_GSTREAMER8 = yes; then
8486 result=$wxUSE_GSTREAMER8
8489 { echo "$as_me:$LINENO: result: $result" >&5
8490 echo "${ECHO_T}$result" >&6; }
8494 defaultval=$wxUSE_ALL_FEATURES
8495 if test -z "$defaultval"; then
8496 if test x"$enablestring" = xdisable; then
8503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8504 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8505 # Check whether --enable-printfposparam was given.
8506 if test "${enable_printfposparam+set}" = set; then
8507 enableval=$enable_printfposparam;
8508 if test "$enableval" = yes; then
8509 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8511 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8517 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8518 if test "x$LINE" != x ; then
8519 eval "DEFAULT_$LINE"
8522 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8527 eval "$wx_cv_use_printfposparam"
8528 if test "x$cache" = xyes; then
8529 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8532 if test x"$enablestring" = xdisable; then
8533 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8539 result=$wxUSE_PRINTF_POS_PARAMS
8542 { echo "$as_me:$LINENO: result: $result" >&5
8543 echo "${ECHO_T}$result" >&6; }
8547 defaultval=$wxUSE_ALL_FEATURES
8548 if test -z "$defaultval"; then
8549 if test x"$enablestring" = xdisable; then
8556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8557 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8558 # Check whether --enable-zipstream was given.
8559 if test "${enable_zipstream+set}" = set; then
8560 enableval=$enable_zipstream;
8561 if test "$enableval" = yes; then
8562 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8564 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8570 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8571 if test "x$LINE" != x ; then
8572 eval "DEFAULT_$LINE"
8575 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8580 eval "$wx_cv_use_zipstream"
8581 if test "x$cache" = xyes; then
8582 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8585 if test x"$enablestring" = xdisable; then
8586 if test $wxUSE_ZIPSTREAM = yes; then
8592 result=$wxUSE_ZIPSTREAM
8595 { echo "$as_me:$LINENO: result: $result" >&5
8596 echo "${ECHO_T}$result" >&6; }
8601 defaultval=$wxUSE_ALL_FEATURES
8602 if test -z "$defaultval"; then
8603 if test x"$enablestring" = xdisable; then
8610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8611 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8612 # Check whether --enable-url was given.
8613 if test "${enable_url+set}" = set; then
8614 enableval=$enable_url;
8615 if test "$enableval" = yes; then
8616 wx_cv_use_url='wxUSE_URL=yes'
8618 wx_cv_use_url='wxUSE_URL=no'
8624 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8625 if test "x$LINE" != x ; then
8626 eval "DEFAULT_$LINE"
8629 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8634 eval "$wx_cv_use_url"
8635 if test "x$cache" = xyes; then
8636 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
8639 if test x"$enablestring" = xdisable; then
8640 if test $wxUSE_URL = yes; then
8649 { echo "$as_me:$LINENO: result: $result" >&5
8650 echo "${ECHO_T}$result" >&6; }
8654 defaultval=$wxUSE_ALL_FEATURES
8655 if test -z "$defaultval"; then
8656 if test x"$enablestring" = xdisable; then
8663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8664 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8665 # Check whether --enable-variant was given.
8666 if test "${enable_variant+set}" = set; then
8667 enableval=$enable_variant;
8668 if test "$enableval" = yes; then
8669 wx_cv_use_variant='wxUSE_VARIANT=yes'
8671 wx_cv_use_variant='wxUSE_VARIANT=no'
8677 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8678 if test "x$LINE" != x ; then
8679 eval "DEFAULT_$LINE"
8682 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8687 eval "$wx_cv_use_variant"
8688 if test "x$cache" = xyes; then
8689 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
8692 if test x"$enablestring" = xdisable; then
8693 if test $wxUSE_VARIANT = yes; then
8699 result=$wxUSE_VARIANT
8702 { echo "$as_me:$LINENO: result: $result" >&5
8703 echo "${ECHO_T}$result" >&6; }
8707 defaultval=$wxUSE_ALL_FEATURES
8708 if test -z "$defaultval"; then
8709 if test x"$enablestring" = xdisable; then
8716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8717 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8718 # Check whether --enable-protocol was given.
8719 if test "${enable_protocol+set}" = set; then
8720 enableval=$enable_protocol;
8721 if test "$enableval" = yes; then
8722 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8724 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8730 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8731 if test "x$LINE" != x ; then
8732 eval "DEFAULT_$LINE"
8735 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8740 eval "$wx_cv_use_protocol"
8741 if test "x$cache" = xyes; then
8742 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
8745 if test x"$enablestring" = xdisable; then
8746 if test $wxUSE_PROTOCOL = yes; then
8752 result=$wxUSE_PROTOCOL
8755 { echo "$as_me:$LINENO: result: $result" >&5
8756 echo "${ECHO_T}$result" >&6; }
8760 defaultval=$wxUSE_ALL_FEATURES
8761 if test -z "$defaultval"; then
8762 if test x"$enablestring" = xdisable; then
8769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8770 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8771 # Check whether --enable-protocol_http was given.
8772 if test "${enable_protocol_http+set}" = set; then
8773 enableval=$enable_protocol_http;
8774 if test "$enableval" = yes; then
8775 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8777 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8783 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8784 if test "x$LINE" != x ; then
8785 eval "DEFAULT_$LINE"
8788 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8793 eval "$wx_cv_use_protocol_http"
8794 if test "x$cache" = xyes; then
8795 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
8798 if test x"$enablestring" = xdisable; then
8799 if test $wxUSE_PROTOCOL_HTTP = yes; then
8805 result=$wxUSE_PROTOCOL_HTTP
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_ftp" >&5
8823 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8824 # Check whether --enable-protocol_ftp was given.
8825 if test "${enable_protocol_ftp+set}" = set; then
8826 enableval=$enable_protocol_ftp;
8827 if test "$enableval" = yes; then
8828 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8830 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8836 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8837 if test "x$LINE" != x ; then
8838 eval "DEFAULT_$LINE"
8841 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8846 eval "$wx_cv_use_protocol_ftp"
8847 if test "x$cache" = xyes; then
8848 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
8851 if test x"$enablestring" = xdisable; then
8852 if test $wxUSE_PROTOCOL_FTP = yes; then
8858 result=$wxUSE_PROTOCOL_FTP
8861 { echo "$as_me:$LINENO: result: $result" >&5
8862 echo "${ECHO_T}$result" >&6; }
8866 defaultval=$wxUSE_ALL_FEATURES
8867 if test -z "$defaultval"; then
8868 if test x"$enablestring" = xdisable; then
8875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8876 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8877 # Check whether --enable-protocol_file was given.
8878 if test "${enable_protocol_file+set}" = set; then
8879 enableval=$enable_protocol_file;
8880 if test "$enableval" = yes; then
8881 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8883 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8889 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
8890 if test "x$LINE" != x ; then
8891 eval "DEFAULT_$LINE"
8894 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8899 eval "$wx_cv_use_protocol_file"
8900 if test "x$cache" = xyes; then
8901 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
8904 if test x"$enablestring" = xdisable; then
8905 if test $wxUSE_PROTOCOL_FILE = yes; then
8911 result=$wxUSE_PROTOCOL_FILE
8914 { echo "$as_me:$LINENO: result: $result" >&5
8915 echo "${ECHO_T}$result" >&6; }
8920 defaultval=$wxUSE_ALL_FEATURES
8921 if test -z "$defaultval"; then
8922 if test x"$enablestring" = xdisable; then
8929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8930 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8931 # Check whether --enable-threads was given.
8932 if test "${enable_threads+set}" = set; then
8933 enableval=$enable_threads;
8934 if test "$enableval" = yes; then
8935 wx_cv_use_threads='wxUSE_THREADS=yes'
8937 wx_cv_use_threads='wxUSE_THREADS=no'
8943 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
8944 if test "x$LINE" != x ; then
8945 eval "DEFAULT_$LINE"
8948 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8953 eval "$wx_cv_use_threads"
8954 if test "x$cache" = xyes; then
8955 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
8958 if test x"$enablestring" = xdisable; then
8959 if test $wxUSE_THREADS = yes; then
8965 result=$wxUSE_THREADS
8968 { echo "$as_me:$LINENO: result: $result" >&5
8969 echo "${ECHO_T}$result" >&6; }
8972 if test "$wxUSE_GUI" = "yes"; then
8977 defaultval=$wxUSE_ALL_FEATURES
8978 if test -z "$defaultval"; then
8979 if test x"$enablestring" = xdisable; then
8986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8987 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8988 # Check whether --enable-docview was given.
8989 if test "${enable_docview+set}" = set; then
8990 enableval=$enable_docview;
8991 if test "$enableval" = yes; then
8992 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8994 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9000 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9001 if test "x$LINE" != x ; then
9002 eval "DEFAULT_$LINE"
9005 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9010 eval "$wx_cv_use_docview"
9011 if test "x$cache" = xyes; then
9012 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9015 if test x"$enablestring" = xdisable; then
9016 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9022 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9025 { echo "$as_me:$LINENO: result: $result" >&5
9026 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}-help" >&5
9040 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9041 # Check whether --enable-help was given.
9042 if test "${enable_help+set}" = set; then
9043 enableval=$enable_help;
9044 if test "$enableval" = yes; then
9045 wx_cv_use_help='wxUSE_HELP=yes'
9047 wx_cv_use_help='wxUSE_HELP=no'
9053 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9054 if test "x$LINE" != x ; then
9055 eval "DEFAULT_$LINE"
9058 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9063 eval "$wx_cv_use_help"
9064 if test "x$cache" = xyes; then
9065 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9068 if test x"$enablestring" = xdisable; then
9069 if test $wxUSE_HELP = yes; then
9078 { echo "$as_me:$LINENO: result: $result" >&5
9079 echo "${ECHO_T}$result" >&6; }
9083 defaultval=$wxUSE_ALL_FEATURES
9084 if test -z "$defaultval"; then
9085 if test x"$enablestring" = xdisable; then
9092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9093 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9094 # Check whether --enable-mshtmlhelp was given.
9095 if test "${enable_mshtmlhelp+set}" = set; then
9096 enableval=$enable_mshtmlhelp;
9097 if test "$enableval" = yes; then
9098 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9100 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9106 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9107 if test "x$LINE" != x ; then
9108 eval "DEFAULT_$LINE"
9111 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9116 eval "$wx_cv_use_mshtmlhelp"
9117 if test "x$cache" = xyes; then
9118 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9121 if test x"$enablestring" = xdisable; then
9122 if test $wxUSE_MS_HTML_HELP = yes; then
9128 result=$wxUSE_MS_HTML_HELP
9131 { echo "$as_me:$LINENO: result: $result" >&5
9132 echo "${ECHO_T}$result" >&6; }
9136 defaultval=$wxUSE_ALL_FEATURES
9137 if test -z "$defaultval"; then
9138 if test x"$enablestring" = xdisable; then
9145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9146 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9147 # Check whether --enable-html was given.
9148 if test "${enable_html+set}" = set; then
9149 enableval=$enable_html;
9150 if test "$enableval" = yes; then
9151 wx_cv_use_html='wxUSE_HTML=yes'
9153 wx_cv_use_html='wxUSE_HTML=no'
9159 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9160 if test "x$LINE" != x ; then
9161 eval "DEFAULT_$LINE"
9164 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9169 eval "$wx_cv_use_html"
9170 if test "x$cache" = xyes; then
9171 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9174 if test x"$enablestring" = xdisable; then
9175 if test $wxUSE_HTML = yes; then
9184 { echo "$as_me:$LINENO: result: $result" >&5
9185 echo "${ECHO_T}$result" >&6; }
9189 defaultval=$wxUSE_ALL_FEATURES
9190 if test -z "$defaultval"; then
9191 if test x"$enablestring" = xdisable; then
9198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9199 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9200 # Check whether --enable-htmlhelp was given.
9201 if test "${enable_htmlhelp+set}" = set; then
9202 enableval=$enable_htmlhelp;
9203 if test "$enableval" = yes; then
9204 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9206 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9212 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9213 if test "x$LINE" != x ; then
9214 eval "DEFAULT_$LINE"
9217 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9222 eval "$wx_cv_use_htmlhelp"
9223 if test "x$cache" = xyes; then
9224 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9227 if test x"$enablestring" = xdisable; then
9228 if test $wxUSE_WXHTML_HELP = yes; then
9234 result=$wxUSE_WXHTML_HELP
9237 { echo "$as_me:$LINENO: result: $result" >&5
9238 echo "${ECHO_T}$result" >&6; }
9242 defaultval=$wxUSE_ALL_FEATURES
9243 if test -z "$defaultval"; then
9244 if test x"$enablestring" = xdisable; then
9251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9252 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9253 # Check whether --enable-xrc was given.
9254 if test "${enable_xrc+set}" = set; then
9255 enableval=$enable_xrc;
9256 if test "$enableval" = yes; then
9257 wx_cv_use_xrc='wxUSE_XRC=yes'
9259 wx_cv_use_xrc='wxUSE_XRC=no'
9265 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9266 if test "x$LINE" != x ; then
9267 eval "DEFAULT_$LINE"
9270 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9275 eval "$wx_cv_use_xrc"
9276 if test "x$cache" = xyes; then
9277 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9280 if test x"$enablestring" = xdisable; then
9281 if test $wxUSE_XRC = yes; then
9290 { echo "$as_me:$LINENO: result: $result" >&5
9291 echo "${ECHO_T}$result" >&6; }
9295 defaultval=$wxUSE_ALL_FEATURES
9296 if test -z "$defaultval"; then
9297 if test x"$enablestring" = xdisable; then
9304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9305 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9306 # Check whether --enable-aui was given.
9307 if test "${enable_aui+set}" = set; then
9308 enableval=$enable_aui;
9309 if test "$enableval" = yes; then
9310 wx_cv_use_aui='wxUSE_AUI=yes'
9312 wx_cv_use_aui='wxUSE_AUI=no'
9318 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9319 if test "x$LINE" != x ; then
9320 eval "DEFAULT_$LINE"
9323 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9328 eval "$wx_cv_use_aui"
9329 if test "x$cache" = xyes; then
9330 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9333 if test x"$enablestring" = xdisable; then
9334 if test $wxUSE_AUI = yes; then
9343 { echo "$as_me:$LINENO: result: $result" >&5
9344 echo "${ECHO_T}$result" >&6; }
9348 defaultval=$wxUSE_ALL_FEATURES
9349 if test -z "$defaultval"; then
9350 if test x"$enablestring" = xdisable; then
9357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9358 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9359 # Check whether --enable-stc was given.
9360 if test "${enable_stc+set}" = set; then
9361 enableval=$enable_stc;
9362 if test "$enableval" = yes; then
9363 wx_cv_use_stc='wxUSE_STC=yes'
9365 wx_cv_use_stc='wxUSE_STC=no'
9371 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9372 if test "x$LINE" != x ; then
9373 eval "DEFAULT_$LINE"
9376 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9381 eval "$wx_cv_use_stc"
9382 if test "x$cache" = xyes; then
9383 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9386 if test x"$enablestring" = xdisable; then
9387 if test $wxUSE_STC = yes; then
9396 { echo "$as_me:$LINENO: result: $result" >&5
9397 echo "${ECHO_T}$result" >&6; }
9401 defaultval=$wxUSE_ALL_FEATURES
9402 if test -z "$defaultval"; then
9403 if test x"$enablestring" = xdisable; then
9410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9411 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9412 # Check whether --enable-constraints was given.
9413 if test "${enable_constraints+set}" = set; then
9414 enableval=$enable_constraints;
9415 if test "$enableval" = yes; then
9416 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9418 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9424 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9425 if test "x$LINE" != x ; then
9426 eval "DEFAULT_$LINE"
9429 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9434 eval "$wx_cv_use_constraints"
9435 if test "x$cache" = xyes; then
9436 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9439 if test x"$enablestring" = xdisable; then
9440 if test $wxUSE_CONSTRAINTS = yes; then
9446 result=$wxUSE_CONSTRAINTS
9449 { echo "$as_me:$LINENO: result: $result" >&5
9450 echo "${ECHO_T}$result" >&6; }
9454 defaultval=$wxUSE_ALL_FEATURES
9455 if test -z "$defaultval"; then
9456 if test x"$enablestring" = xdisable; then
9463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9464 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9465 # Check whether --enable-printarch was given.
9466 if test "${enable_printarch+set}" = set; then
9467 enableval=$enable_printarch;
9468 if test "$enableval" = yes; then
9469 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9471 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9477 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9478 if test "x$LINE" != x ; then
9479 eval "DEFAULT_$LINE"
9482 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9487 eval "$wx_cv_use_printarch"
9488 if test "x$cache" = xyes; then
9489 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9492 if test x"$enablestring" = xdisable; then
9493 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9499 result=$wxUSE_PRINTING_ARCHITECTURE
9502 { echo "$as_me:$LINENO: result: $result" >&5
9503 echo "${ECHO_T}$result" >&6; }
9507 defaultval=$wxUSE_ALL_FEATURES
9508 if test -z "$defaultval"; then
9509 if test x"$enablestring" = xdisable; then
9516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9517 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9518 # Check whether --enable-mdi was given.
9519 if test "${enable_mdi+set}" = set; then
9520 enableval=$enable_mdi;
9521 if test "$enableval" = yes; then
9522 wx_cv_use_mdi='wxUSE_MDI=yes'
9524 wx_cv_use_mdi='wxUSE_MDI=no'
9530 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9531 if test "x$LINE" != x ; then
9532 eval "DEFAULT_$LINE"
9535 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9540 eval "$wx_cv_use_mdi"
9541 if test "x$cache" = xyes; then
9542 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
9545 if test x"$enablestring" = xdisable; then
9546 if test $wxUSE_MDI = yes; then
9555 { echo "$as_me:$LINENO: result: $result" >&5
9556 echo "${ECHO_T}$result" >&6; }
9560 defaultval=$wxUSE_ALL_FEATURES
9561 if test -z "$defaultval"; then
9562 if test x"$enablestring" = xdisable; then
9569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9570 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9571 # Check whether --enable-mdidoc was given.
9572 if test "${enable_mdidoc+set}" = set; then
9573 enableval=$enable_mdidoc;
9574 if test "$enableval" = yes; then
9575 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9577 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9583 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9584 if test "x$LINE" != x ; then
9585 eval "DEFAULT_$LINE"
9588 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9593 eval "$wx_cv_use_mdidoc"
9594 if test "x$cache" = xyes; then
9595 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9598 if test x"$enablestring" = xdisable; then
9599 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9605 result=$wxUSE_MDI_ARCHITECTURE
9608 { echo "$as_me:$LINENO: result: $result" >&5
9609 echo "${ECHO_T}$result" >&6; }
9613 defaultval=$wxUSE_ALL_FEATURES
9614 if test -z "$defaultval"; then
9615 if test x"$enablestring" = xdisable; then
9622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9623 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9624 # Check whether --enable-loggui was given.
9625 if test "${enable_loggui+set}" = set; then
9626 enableval=$enable_loggui;
9627 if test "$enableval" = yes; then
9628 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9630 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9636 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9637 if test "x$LINE" != x ; then
9638 eval "DEFAULT_$LINE"
9641 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9646 eval "$wx_cv_use_loggui"
9647 if test "x$cache" = xyes; then
9648 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
9651 if test x"$enablestring" = xdisable; then
9652 if test $wxUSE_LOGGUI = yes; then
9658 result=$wxUSE_LOGGUI
9661 { echo "$as_me:$LINENO: result: $result" >&5
9662 echo "${ECHO_T}$result" >&6; }
9666 defaultval=$wxUSE_ALL_FEATURES
9667 if test -z "$defaultval"; then
9668 if test x"$enablestring" = xdisable; then
9675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9676 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9677 # Check whether --enable-logwin was given.
9678 if test "${enable_logwin+set}" = set; then
9679 enableval=$enable_logwin;
9680 if test "$enableval" = yes; then
9681 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9683 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9689 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9690 if test "x$LINE" != x ; then
9691 eval "DEFAULT_$LINE"
9694 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9699 eval "$wx_cv_use_logwin"
9700 if test "x$cache" = xyes; then
9701 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
9704 if test x"$enablestring" = xdisable; then
9705 if test $wxUSE_LOGWINDOW = yes; then
9711 result=$wxUSE_LOGWINDOW
9714 { echo "$as_me:$LINENO: result: $result" >&5
9715 echo "${ECHO_T}$result" >&6; }
9719 defaultval=$wxUSE_ALL_FEATURES
9720 if test -z "$defaultval"; then
9721 if test x"$enablestring" = xdisable; then
9728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9729 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9730 # Check whether --enable-logdialog was given.
9731 if test "${enable_logdialog+set}" = set; then
9732 enableval=$enable_logdialog;
9733 if test "$enableval" = yes; then
9734 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9736 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9742 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9743 if test "x$LINE" != x ; then
9744 eval "DEFAULT_$LINE"
9747 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9752 eval "$wx_cv_use_logdialog"
9753 if test "x$cache" = xyes; then
9754 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
9757 if test x"$enablestring" = xdisable; then
9758 if test $wxUSE_LOGDIALOG = yes; then
9764 result=$wxUSE_LOGDIALOG
9767 { echo "$as_me:$LINENO: result: $result" >&5
9768 echo "${ECHO_T}$result" >&6; }
9772 defaultval=$wxUSE_ALL_FEATURES
9773 if test -z "$defaultval"; then
9774 if test x"$enablestring" = xdisable; then
9781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9782 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9783 # Check whether --enable-webkit was given.
9784 if test "${enable_webkit+set}" = set; then
9785 enableval=$enable_webkit;
9786 if test "$enableval" = yes; then
9787 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9789 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9795 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9796 if test "x$LINE" != x ; then
9797 eval "DEFAULT_$LINE"
9800 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9805 eval "$wx_cv_use_webkit"
9806 if test "x$cache" = xyes; then
9807 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
9810 if test x"$enablestring" = xdisable; then
9811 if test $wxUSE_WEBKIT = yes; then
9817 result=$wxUSE_WEBKIT
9820 { echo "$as_me:$LINENO: result: $result" >&5
9821 echo "${ECHO_T}$result" >&6; }
9825 defaultval=$wxUSE_ALL_FEATURES
9826 if test -z "$defaultval"; then
9827 if test x"$enablestring" = xdisable; then
9834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9835 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9836 # Check whether --enable-richtext was given.
9837 if test "${enable_richtext+set}" = set; then
9838 enableval=$enable_richtext;
9839 if test "$enableval" = yes; then
9840 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9842 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9848 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
9849 if test "x$LINE" != x ; then
9850 eval "DEFAULT_$LINE"
9853 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9858 eval "$wx_cv_use_richtext"
9859 if test "x$cache" = xyes; then
9860 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
9863 if test x"$enablestring" = xdisable; then
9864 if test $wxUSE_RICHTEXT = yes; then
9870 result=$wxUSE_RICHTEXT
9873 { echo "$as_me:$LINENO: result: $result" >&5
9874 echo "${ECHO_T}$result" >&6; }
9878 defaultval=$wxUSE_ALL_FEATURES
9879 if test -z "$defaultval"; then
9880 if test x"$enablestring" = xdisable; then
9887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9888 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9889 # Check whether --enable-graphics_ctx was given.
9890 if test "${enable_graphics_ctx+set}" = set; then
9891 enableval=$enable_graphics_ctx;
9892 if test "$enableval" = yes; then
9893 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9895 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9901 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
9902 if test "x$LINE" != x ; then
9903 eval "DEFAULT_$LINE"
9906 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9911 eval "$wx_cv_use_graphics_ctx"
9912 if test "x$cache" = xyes; then
9913 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
9916 if test x"$enablestring" = xdisable; then
9917 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9923 result=$wxUSE_GRAPHICS_CONTEXT
9926 { echo "$as_me:$LINENO: result: $result" >&5
9927 echo "${ECHO_T}$result" >&6; }
9931 defaultval=$wxUSE_ALL_FEATURES
9932 if test -z "$defaultval"; then
9933 if test x"$enablestring" = xdisable; then
9940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9941 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9942 # Check whether --enable-postscript was given.
9943 if test "${enable_postscript+set}" = set; then
9944 enableval=$enable_postscript;
9945 if test "$enableval" = yes; then
9946 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9948 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9954 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
9955 if test "x$LINE" != x ; then
9956 eval "DEFAULT_$LINE"
9959 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9964 eval "$wx_cv_use_postscript"
9965 if test "x$cache" = xyes; then
9966 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
9969 if test x"$enablestring" = xdisable; then
9970 if test $wxUSE_POSTSCRIPT = yes; then
9976 result=$wxUSE_POSTSCRIPT
9979 { echo "$as_me:$LINENO: result: $result" >&5
9980 echo "${ECHO_T}$result" >&6; }
9984 defaultval=$wxUSE_ALL_FEATURES
9985 if test -z "$defaultval"; then
9986 if test x"$enablestring" = xdisable; then
9993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9994 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9995 # Check whether --enable-svg was given.
9996 if test "${enable_svg+set}" = set; then
9997 enableval=$enable_svg;
9998 if test "$enableval" = yes; then
9999 wx_cv_use_svg='wxUSE_SVG=yes'
10001 wx_cv_use_svg='wxUSE_SVG=no'
10007 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10008 if test "x$LINE" != x ; then
10009 eval "DEFAULT_$LINE"
10012 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10017 eval "$wx_cv_use_svg"
10018 if test "x$cache" = xyes; then
10019 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10022 if test x"$enablestring" = xdisable; then
10023 if test $wxUSE_SVG = yes; then
10032 { echo "$as_me:$LINENO: result: $result" >&5
10033 echo "${ECHO_T}$result" >&6; }
10039 defaultval=$wxUSE_ALL_FEATURES
10040 if test -z "$defaultval"; then
10041 if test x"$enablestring" = xdisable; then
10048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10049 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10050 # Check whether --enable-clipboard was given.
10051 if test "${enable_clipboard+set}" = set; then
10052 enableval=$enable_clipboard;
10053 if test "$enableval" = yes; then
10054 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10056 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10062 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10063 if test "x$LINE" != x ; then
10064 eval "DEFAULT_$LINE"
10067 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10072 eval "$wx_cv_use_clipboard"
10073 if test "x$cache" = xyes; then
10074 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10077 if test x"$enablestring" = xdisable; then
10078 if test $wxUSE_CLIPBOARD = yes; then
10084 result=$wxUSE_CLIPBOARD
10087 { echo "$as_me:$LINENO: result: $result" >&5
10088 echo "${ECHO_T}$result" >&6; }
10092 defaultval=$wxUSE_ALL_FEATURES
10093 if test -z "$defaultval"; then
10094 if test x"$enablestring" = xdisable; then
10101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10102 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10103 # Check whether --enable-dnd was given.
10104 if test "${enable_dnd+set}" = set; then
10105 enableval=$enable_dnd;
10106 if test "$enableval" = yes; then
10107 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10109 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10115 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10116 if test "x$LINE" != x ; then
10117 eval "DEFAULT_$LINE"
10120 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10125 eval "$wx_cv_use_dnd"
10126 if test "x$cache" = xyes; then
10127 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10130 if test x"$enablestring" = xdisable; then
10131 if test $wxUSE_DRAG_AND_DROP = yes; then
10137 result=$wxUSE_DRAG_AND_DROP
10140 { echo "$as_me:$LINENO: result: $result" >&5
10141 echo "${ECHO_T}$result" >&6; }
10145 defaultval=$wxUSE_ALL_FEATURES
10146 if test -z "$defaultval"; then
10147 if test x"$enablestring" = xdisable; then
10154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10155 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10156 # Check whether --enable-metafile was given.
10157 if test "${enable_metafile+set}" = set; then
10158 enableval=$enable_metafile;
10159 if test "$enableval" = yes; then
10160 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10162 wx_cv_use_metafile='wxUSE_METAFILE=no'
10168 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10169 if test "x$LINE" != x ; then
10170 eval "DEFAULT_$LINE"
10173 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10178 eval "$wx_cv_use_metafile"
10179 if test "x$cache" = xyes; then
10180 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10183 if test x"$enablestring" = xdisable; then
10184 if test $wxUSE_METAFILE = yes; then
10190 result=$wxUSE_METAFILE
10193 { echo "$as_me:$LINENO: result: $result" >&5
10194 echo "${ECHO_T}$result" >&6; }
10198 DEFAULT_wxUSE_CONTROLS=none
10200 enablestring=disable
10202 if test -z "$defaultval"; then
10203 if test x"$enablestring" = xdisable; then
10210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10211 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10212 # Check whether --enable-controls was given.
10213 if test "${enable_controls+set}" = set; then
10214 enableval=$enable_controls;
10215 if test "$enableval" = yes; then
10216 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10218 wx_cv_use_controls='wxUSE_CONTROLS=no'
10224 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10225 if test "x$LINE" != x ; then
10226 eval "DEFAULT_$LINE"
10229 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10234 eval "$wx_cv_use_controls"
10235 if test "x$cache" = xyes; then
10236 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10239 if test x"$enablestring" = xdisable; then
10240 if test $wxUSE_CONTROLS = yes; then
10246 result=$wxUSE_CONTROLS
10249 { echo "$as_me:$LINENO: result: $result" >&5
10250 echo "${ECHO_T}$result" >&6; }
10253 if test "$wxUSE_CONTROLS" = "yes"; then
10254 DEFAULT_wxUSE_ACCEL=yes
10255 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10256 DEFAULT_wxUSE_BMPBUTTON=yes
10257 DEFAULT_wxUSE_BUTTON=yes
10258 DEFAULT_wxUSE_CALCTRL=yes
10259 DEFAULT_wxUSE_CARET=yes
10260 DEFAULT_wxUSE_COMBOBOX=yes
10261 DEFAULT_wxUSE_CHECKBOX=yes
10262 DEFAULT_wxUSE_CHECKLISTBOX=yes
10263 DEFAULT_wxUSE_CHOICE=yes
10264 DEFAULT_wxUSE_CHOICEBOOK=yes
10265 DEFAULT_wxUSE_COLLPANE=yes
10266 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10267 DEFAULT_wxUSE_COMBOBOX=yes
10268 DEFAULT_wxUSE_DATEPICKCTRL=yes
10269 DEFAULT_wxUSE_DISPLAY=yes
10270 DEFAULT_wxUSE_DETECT_SM=yes
10271 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10272 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10273 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10274 DEFAULT_wxUSE_GAUGE=yes
10275 DEFAULT_wxUSE_GRID=yes
10276 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10277 DEFAULT_wxUSE_DATAVIEWCTRL=no
10278 DEFAULT_wxUSE_IMAGLIST=yes
10279 DEFAULT_wxUSE_LISTBOOK=yes
10280 DEFAULT_wxUSE_LISTBOX=yes
10281 DEFAULT_wxUSE_LISTCTRL=yes
10282 DEFAULT_wxUSE_NOTEBOOK=yes
10283 DEFAULT_wxUSE_RADIOBOX=yes
10284 DEFAULT_wxUSE_RADIOBTN=yes
10285 DEFAULT_wxUSE_SASH=yes
10286 DEFAULT_wxUSE_SCROLLBAR=yes
10287 DEFAULT_wxUSE_SEARCHCTRL=yes
10288 DEFAULT_wxUSE_SLIDER=yes
10289 DEFAULT_wxUSE_SPINBTN=yes
10290 DEFAULT_wxUSE_SPINCTRL=yes
10291 DEFAULT_wxUSE_SPLITTER=yes
10292 DEFAULT_wxUSE_STATBMP=yes
10293 DEFAULT_wxUSE_STATBOX=yes
10294 DEFAULT_wxUSE_STATLINE=yes
10295 DEFAULT_wxUSE_STATUSBAR=yes
10296 DEFAULT_wxUSE_TAB_DIALOG=yes
10297 DEFAULT_wxUSE_TOGGLEBTN=yes
10298 DEFAULT_wxUSE_TOOLBAR=yes
10299 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10300 DEFAULT_wxUSE_TOOLTIPS=yes
10301 DEFAULT_wxUSE_TREEBOOK=yes
10302 DEFAULT_wxUSE_TOOLBOOK=yes
10303 DEFAULT_wxUSE_TREECTRL=yes
10304 DEFAULT_wxUSE_POPUPWIN=yes
10305 DEFAULT_wxUSE_TIPWINDOW=yes
10306 elif test "$wxUSE_CONTROLS" = "no"; then
10307 DEFAULT_wxUSE_ACCEL=no
10308 DEFAULT_wxUSE_ANIMATIONCTRL=no
10309 DEFAULT_wxUSE_BMPBUTTON=no
10310 DEFAULT_wxUSE_BUTTON=no
10311 DEFAULT_wxUSE_CALCTRL=no
10312 DEFAULT_wxUSE_CARET=no
10313 DEFAULT_wxUSE_COLLPANE=no
10314 DEFAULT_wxUSE_COMBOBOX=no
10315 DEFAULT_wxUSE_CHECKBOX=no
10316 DEFAULT_wxUSE_CHECKLISTBOX=no
10317 DEFAULT_wxUSE_CHOICE=no
10318 DEFAULT_wxUSE_CHOICEBOOK=no
10319 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10320 DEFAULT_wxUSE_COMBOBOX=no
10321 DEFAULT_wxUSE_DATEPICKCTRL=no
10322 DEFAULT_wxUSE_DISPLAY=no
10323 DEFAULT_wxUSE_DETECT_SM=no
10324 DEFAULT_wxUSE_DIRPICKERCTRL=no
10325 DEFAULT_wxUSE_FILEPICKERCTRL=no
10326 DEFAULT_wxUSE_FONTPICKERCTRL=no
10327 DEFAULT_wxUSE_GAUGE=no
10328 DEFAULT_wxUSE_GRID=no
10329 DEFAULT_wxUSE_HYPERLINKCTRL=no
10330 DEFAULT_wxUSE_DATAVIEWCTRL=no
10331 DEFAULT_wxUSE_IMAGLIST=no
10332 DEFAULT_wxUSE_LISTBOOK=no
10333 DEFAULT_wxUSE_LISTBOX=no
10334 DEFAULT_wxUSE_LISTCTRL=no
10335 DEFAULT_wxUSE_NOTEBOOK=no
10336 DEFAULT_wxUSE_RADIOBOX=no
10337 DEFAULT_wxUSE_RADIOBTN=no
10338 DEFAULT_wxUSE_SASH=no
10339 DEFAULT_wxUSE_SCROLLBAR=no
10340 DEFAULT_wxUSE_SEARCHCTRL=no
10341 DEFAULT_wxUSE_SLIDER=no
10342 DEFAULT_wxUSE_SPINBTN=no
10343 DEFAULT_wxUSE_SPINCTRL=no
10344 DEFAULT_wxUSE_SPLITTER=no
10345 DEFAULT_wxUSE_STATBMP=no
10346 DEFAULT_wxUSE_STATBOX=no
10347 DEFAULT_wxUSE_STATLINE=no
10348 DEFAULT_wxUSE_STATUSBAR=no
10349 DEFAULT_wxUSE_TAB_DIALOG=no
10350 DEFAULT_wxUSE_TOGGLEBTN=no
10351 DEFAULT_wxUSE_TOOLBAR=no
10352 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10353 DEFAULT_wxUSE_TOOLTIPS=no
10354 DEFAULT_wxUSE_TREEBOOK=no
10355 DEFAULT_wxUSE_TOOLBOOK=no
10356 DEFAULT_wxUSE_TREECTRL=no
10357 DEFAULT_wxUSE_POPUPWIN=no
10358 DEFAULT_wxUSE_TIPWINDOW=no
10363 defaultval=$wxUSE_ALL_FEATURES
10364 if test -z "$defaultval"; then
10365 if test x"$enablestring" = xdisable; then
10372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10373 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10374 # Check whether --enable-accel was given.
10375 if test "${enable_accel+set}" = set; then
10376 enableval=$enable_accel;
10377 if test "$enableval" = yes; then
10378 wx_cv_use_accel='wxUSE_ACCEL=yes'
10380 wx_cv_use_accel='wxUSE_ACCEL=no'
10386 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10387 if test "x$LINE" != x ; then
10388 eval "DEFAULT_$LINE"
10391 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10396 eval "$wx_cv_use_accel"
10397 if test "x$cache" = xyes; then
10398 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10401 if test x"$enablestring" = xdisable; then
10402 if test $wxUSE_ACCEL = yes; then
10408 result=$wxUSE_ACCEL
10411 { echo "$as_me:$LINENO: result: $result" >&5
10412 echo "${ECHO_T}$result" >&6; }
10416 defaultval=$wxUSE_ALL_FEATURES
10417 if test -z "$defaultval"; then
10418 if test x"$enablestring" = xdisable; then
10425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10426 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10427 # Check whether --enable-animatectrl was given.
10428 if test "${enable_animatectrl+set}" = set; then
10429 enableval=$enable_animatectrl;
10430 if test "$enableval" = yes; then
10431 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10433 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10439 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10440 if test "x$LINE" != x ; then
10441 eval "DEFAULT_$LINE"
10444 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10449 eval "$wx_cv_use_animatectrl"
10450 if test "x$cache" = xyes; then
10451 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
10454 if test x"$enablestring" = xdisable; then
10455 if test $wxUSE_ANIMATIONCTRL = yes; then
10461 result=$wxUSE_ANIMATIONCTRL
10464 { echo "$as_me:$LINENO: result: $result" >&5
10465 echo "${ECHO_T}$result" >&6; }
10469 defaultval=$wxUSE_ALL_FEATURES
10470 if test -z "$defaultval"; then
10471 if test x"$enablestring" = xdisable; then
10478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10479 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10480 # Check whether --enable-button was given.
10481 if test "${enable_button+set}" = set; then
10482 enableval=$enable_button;
10483 if test "$enableval" = yes; then
10484 wx_cv_use_button='wxUSE_BUTTON=yes'
10486 wx_cv_use_button='wxUSE_BUTTON=no'
10492 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10493 if test "x$LINE" != x ; then
10494 eval "DEFAULT_$LINE"
10497 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10502 eval "$wx_cv_use_button"
10503 if test "x$cache" = xyes; then
10504 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
10507 if test x"$enablestring" = xdisable; then
10508 if test $wxUSE_BUTTON = yes; then
10514 result=$wxUSE_BUTTON
10517 { echo "$as_me:$LINENO: result: $result" >&5
10518 echo "${ECHO_T}$result" >&6; }
10522 defaultval=$wxUSE_ALL_FEATURES
10523 if test -z "$defaultval"; then
10524 if test x"$enablestring" = xdisable; then
10531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10532 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10533 # Check whether --enable-bmpbutton was given.
10534 if test "${enable_bmpbutton+set}" = set; then
10535 enableval=$enable_bmpbutton;
10536 if test "$enableval" = yes; then
10537 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10539 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10545 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10546 if test "x$LINE" != x ; then
10547 eval "DEFAULT_$LINE"
10550 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10555 eval "$wx_cv_use_bmpbutton"
10556 if test "x$cache" = xyes; then
10557 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
10560 if test x"$enablestring" = xdisable; then
10561 if test $wxUSE_BMPBUTTON = yes; then
10567 result=$wxUSE_BMPBUTTON
10570 { echo "$as_me:$LINENO: result: $result" >&5
10571 echo "${ECHO_T}$result" >&6; }
10575 defaultval=$wxUSE_ALL_FEATURES
10576 if test -z "$defaultval"; then
10577 if test x"$enablestring" = xdisable; then
10584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10585 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10586 # Check whether --enable-bmpcombobox was given.
10587 if test "${enable_bmpcombobox+set}" = set; then
10588 enableval=$enable_bmpcombobox;
10589 if test "$enableval" = yes; then
10590 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10592 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10598 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10599 if test "x$LINE" != x ; then
10600 eval "DEFAULT_$LINE"
10603 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10608 eval "$wx_cv_use_bmpcombobox"
10609 if test "x$cache" = xyes; then
10610 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
10613 if test x"$enablestring" = xdisable; then
10614 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10620 result=$wxUSE_BITMAPCOMBOBOX
10623 { echo "$as_me:$LINENO: result: $result" >&5
10624 echo "${ECHO_T}$result" >&6; }
10628 defaultval=$wxUSE_ALL_FEATURES
10629 if test -z "$defaultval"; then
10630 if test x"$enablestring" = xdisable; then
10637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10638 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10639 # Check whether --enable-calendar was given.
10640 if test "${enable_calendar+set}" = set; then
10641 enableval=$enable_calendar;
10642 if test "$enableval" = yes; then
10643 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10645 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10651 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10652 if test "x$LINE" != x ; then
10653 eval "DEFAULT_$LINE"
10656 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10661 eval "$wx_cv_use_calendar"
10662 if test "x$cache" = xyes; then
10663 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
10666 if test x"$enablestring" = xdisable; then
10667 if test $wxUSE_CALCTRL = yes; then
10673 result=$wxUSE_CALCTRL
10676 { echo "$as_me:$LINENO: result: $result" >&5
10677 echo "${ECHO_T}$result" >&6; }
10681 defaultval=$wxUSE_ALL_FEATURES
10682 if test -z "$defaultval"; then
10683 if test x"$enablestring" = xdisable; then
10690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10691 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10692 # Check whether --enable-caret was given.
10693 if test "${enable_caret+set}" = set; then
10694 enableval=$enable_caret;
10695 if test "$enableval" = yes; then
10696 wx_cv_use_caret='wxUSE_CARET=yes'
10698 wx_cv_use_caret='wxUSE_CARET=no'
10704 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10705 if test "x$LINE" != x ; then
10706 eval "DEFAULT_$LINE"
10709 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10714 eval "$wx_cv_use_caret"
10715 if test "x$cache" = xyes; then
10716 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
10719 if test x"$enablestring" = xdisable; then
10720 if test $wxUSE_CARET = yes; then
10726 result=$wxUSE_CARET
10729 { echo "$as_me:$LINENO: result: $result" >&5
10730 echo "${ECHO_T}$result" >&6; }
10734 defaultval=$wxUSE_ALL_FEATURES
10735 if test -z "$defaultval"; then
10736 if test x"$enablestring" = xdisable; then
10743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10744 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10745 # Check whether --enable-checkbox was given.
10746 if test "${enable_checkbox+set}" = set; then
10747 enableval=$enable_checkbox;
10748 if test "$enableval" = yes; then
10749 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10751 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10757 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10758 if test "x$LINE" != x ; then
10759 eval "DEFAULT_$LINE"
10762 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10767 eval "$wx_cv_use_checkbox"
10768 if test "x$cache" = xyes; then
10769 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
10772 if test x"$enablestring" = xdisable; then
10773 if test $wxUSE_CHECKBOX = yes; then
10779 result=$wxUSE_CHECKBOX
10782 { echo "$as_me:$LINENO: result: $result" >&5
10783 echo "${ECHO_T}$result" >&6; }
10787 defaultval=$wxUSE_ALL_FEATURES
10788 if test -z "$defaultval"; then
10789 if test x"$enablestring" = xdisable; then
10796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10797 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10798 # Check whether --enable-checklst was given.
10799 if test "${enable_checklst+set}" = set; then
10800 enableval=$enable_checklst;
10801 if test "$enableval" = yes; then
10802 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10804 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10810 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
10811 if test "x$LINE" != x ; then
10812 eval "DEFAULT_$LINE"
10815 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10820 eval "$wx_cv_use_checklst"
10821 if test "x$cache" = xyes; then
10822 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
10825 if test x"$enablestring" = xdisable; then
10826 if test $wxUSE_CHECKLST = yes; then
10832 result=$wxUSE_CHECKLST
10835 { echo "$as_me:$LINENO: result: $result" >&5
10836 echo "${ECHO_T}$result" >&6; }
10840 defaultval=$wxUSE_ALL_FEATURES
10841 if test -z "$defaultval"; then
10842 if test x"$enablestring" = xdisable; then
10849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10850 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10851 # Check whether --enable-choice was given.
10852 if test "${enable_choice+set}" = set; then
10853 enableval=$enable_choice;
10854 if test "$enableval" = yes; then
10855 wx_cv_use_choice='wxUSE_CHOICE=yes'
10857 wx_cv_use_choice='wxUSE_CHOICE=no'
10863 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
10864 if test "x$LINE" != x ; then
10865 eval "DEFAULT_$LINE"
10868 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10873 eval "$wx_cv_use_choice"
10874 if test "x$cache" = xyes; then
10875 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
10878 if test x"$enablestring" = xdisable; then
10879 if test $wxUSE_CHOICE = yes; then
10885 result=$wxUSE_CHOICE
10888 { echo "$as_me:$LINENO: result: $result" >&5
10889 echo "${ECHO_T}$result" >&6; }
10893 defaultval=$wxUSE_ALL_FEATURES
10894 if test -z "$defaultval"; then
10895 if test x"$enablestring" = xdisable; then
10902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10903 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10904 # Check whether --enable-choicebook was given.
10905 if test "${enable_choicebook+set}" = set; then
10906 enableval=$enable_choicebook;
10907 if test "$enableval" = yes; then
10908 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10910 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10916 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
10917 if test "x$LINE" != x ; then
10918 eval "DEFAULT_$LINE"
10921 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10926 eval "$wx_cv_use_choicebook"
10927 if test "x$cache" = xyes; then
10928 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
10931 if test x"$enablestring" = xdisable; then
10932 if test $wxUSE_CHOICEBOOK = yes; then
10938 result=$wxUSE_CHOICEBOOK
10941 { echo "$as_me:$LINENO: result: $result" >&5
10942 echo "${ECHO_T}$result" >&6; }
10946 defaultval=$wxUSE_ALL_FEATURES
10947 if test -z "$defaultval"; then
10948 if test x"$enablestring" = xdisable; then
10955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10956 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10957 # Check whether --enable-collpane was given.
10958 if test "${enable_collpane+set}" = set; then
10959 enableval=$enable_collpane;
10960 if test "$enableval" = yes; then
10961 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10963 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10969 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
10970 if test "x$LINE" != x ; then
10971 eval "DEFAULT_$LINE"
10974 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10979 eval "$wx_cv_use_collpane"
10980 if test "x$cache" = xyes; then
10981 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
10984 if test x"$enablestring" = xdisable; then
10985 if test $wxUSE_COLLPANE = yes; then
10991 result=$wxUSE_COLLPANE
10994 { echo "$as_me:$LINENO: result: $result" >&5
10995 echo "${ECHO_T}$result" >&6; }
10999 defaultval=$wxUSE_ALL_FEATURES
11000 if test -z "$defaultval"; then
11001 if test x"$enablestring" = xdisable; then
11008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11009 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11010 # Check whether --enable-colourpicker was given.
11011 if test "${enable_colourpicker+set}" = set; then
11012 enableval=$enable_colourpicker;
11013 if test "$enableval" = yes; then
11014 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11016 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11022 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11023 if test "x$LINE" != x ; then
11024 eval "DEFAULT_$LINE"
11027 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11032 eval "$wx_cv_use_colourpicker"
11033 if test "x$cache" = xyes; then
11034 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11037 if test x"$enablestring" = xdisable; then
11038 if test $wxUSE_COLOURPICKERCTRL = yes; then
11044 result=$wxUSE_COLOURPICKERCTRL
11047 { echo "$as_me:$LINENO: result: $result" >&5
11048 echo "${ECHO_T}$result" >&6; }
11052 defaultval=$wxUSE_ALL_FEATURES
11053 if test -z "$defaultval"; then
11054 if test x"$enablestring" = xdisable; then
11061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11062 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11063 # Check whether --enable-combobox was given.
11064 if test "${enable_combobox+set}" = set; then
11065 enableval=$enable_combobox;
11066 if test "$enableval" = yes; then
11067 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11069 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11075 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11076 if test "x$LINE" != x ; then
11077 eval "DEFAULT_$LINE"
11080 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11085 eval "$wx_cv_use_combobox"
11086 if test "x$cache" = xyes; then
11087 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11090 if test x"$enablestring" = xdisable; then
11091 if test $wxUSE_COMBOBOX = yes; then
11097 result=$wxUSE_COMBOBOX
11100 { echo "$as_me:$LINENO: result: $result" >&5
11101 echo "${ECHO_T}$result" >&6; }
11105 defaultval=$wxUSE_ALL_FEATURES
11106 if test -z "$defaultval"; then
11107 if test x"$enablestring" = xdisable; then
11114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11115 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11116 # Check whether --enable-comboctrl was given.
11117 if test "${enable_comboctrl+set}" = set; then
11118 enableval=$enable_comboctrl;
11119 if test "$enableval" = yes; then
11120 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11122 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11128 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11129 if test "x$LINE" != x ; then
11130 eval "DEFAULT_$LINE"
11133 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11138 eval "$wx_cv_use_comboctrl"
11139 if test "x$cache" = xyes; then
11140 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11143 if test x"$enablestring" = xdisable; then
11144 if test $wxUSE_COMBOCTRL = yes; then
11150 result=$wxUSE_COMBOCTRL
11153 { echo "$as_me:$LINENO: result: $result" >&5
11154 echo "${ECHO_T}$result" >&6; }
11158 defaultval=$wxUSE_ALL_FEATURES
11159 if test -z "$defaultval"; then
11160 if test x"$enablestring" = xdisable; then
11167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11168 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11169 # Check whether --enable-datepick was given.
11170 if test "${enable_datepick+set}" = set; then
11171 enableval=$enable_datepick;
11172 if test "$enableval" = yes; then
11173 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11175 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11181 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11182 if test "x$LINE" != x ; then
11183 eval "DEFAULT_$LINE"
11186 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11191 eval "$wx_cv_use_datepick"
11192 if test "x$cache" = xyes; then
11193 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11196 if test x"$enablestring" = xdisable; then
11197 if test $wxUSE_DATEPICKCTRL = yes; then
11203 result=$wxUSE_DATEPICKCTRL
11206 { echo "$as_me:$LINENO: result: $result" >&5
11207 echo "${ECHO_T}$result" >&6; }
11211 defaultval=$wxUSE_ALL_FEATURES
11212 if test -z "$defaultval"; then
11213 if test x"$enablestring" = xdisable; then
11220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11221 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11222 # Check whether --enable-dirpicker was given.
11223 if test "${enable_dirpicker+set}" = set; then
11224 enableval=$enable_dirpicker;
11225 if test "$enableval" = yes; then
11226 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11228 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11234 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11235 if test "x$LINE" != x ; then
11236 eval "DEFAULT_$LINE"
11239 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11244 eval "$wx_cv_use_dirpicker"
11245 if test "x$cache" = xyes; then
11246 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11249 if test x"$enablestring" = xdisable; then
11250 if test $wxUSE_DIRPICKERCTRL = yes; then
11256 result=$wxUSE_DIRPICKERCTRL
11259 { echo "$as_me:$LINENO: result: $result" >&5
11260 echo "${ECHO_T}$result" >&6; }
11264 defaultval=$wxUSE_ALL_FEATURES
11265 if test -z "$defaultval"; then
11266 if test x"$enablestring" = xdisable; then
11273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11274 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11275 # Check whether --enable-display was given.
11276 if test "${enable_display+set}" = set; then
11277 enableval=$enable_display;
11278 if test "$enableval" = yes; then
11279 wx_cv_use_display='wxUSE_DISPLAY=yes'
11281 wx_cv_use_display='wxUSE_DISPLAY=no'
11287 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11288 if test "x$LINE" != x ; then
11289 eval "DEFAULT_$LINE"
11292 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11297 eval "$wx_cv_use_display"
11298 if test "x$cache" = xyes; then
11299 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11302 if test x"$enablestring" = xdisable; then
11303 if test $wxUSE_DISPLAY = yes; then
11309 result=$wxUSE_DISPLAY
11312 { echo "$as_me:$LINENO: result: $result" >&5
11313 echo "${ECHO_T}$result" >&6; }
11317 defaultval=$wxUSE_ALL_FEATURES
11318 if test -z "$defaultval"; then
11319 if test x"$enablestring" = xdisable; then
11326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11327 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11328 # Check whether --enable-detect_sm was given.
11329 if test "${enable_detect_sm+set}" = set; then
11330 enableval=$enable_detect_sm;
11331 if test "$enableval" = yes; then
11332 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11334 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11340 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11341 if test "x$LINE" != x ; then
11342 eval "DEFAULT_$LINE"
11345 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11350 eval "$wx_cv_use_detect_sm"
11351 if test "x$cache" = xyes; then
11352 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11355 if test x"$enablestring" = xdisable; then
11356 if test $wxUSE_DETECT_SM = yes; then
11362 result=$wxUSE_DETECT_SM
11365 { echo "$as_me:$LINENO: result: $result" >&5
11366 echo "${ECHO_T}$result" >&6; }
11370 defaultval=$wxUSE_ALL_FEATURES
11371 if test -z "$defaultval"; then
11372 if test x"$enablestring" = xdisable; then
11379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11380 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11381 # Check whether --enable-editablebox was given.
11382 if test "${enable_editablebox+set}" = set; then
11383 enableval=$enable_editablebox;
11384 if test "$enableval" = yes; then
11385 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11387 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11393 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11394 if test "x$LINE" != x ; then
11395 eval "DEFAULT_$LINE"
11398 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11403 eval "$wx_cv_use_editablebox"
11404 if test "x$cache" = xyes; then
11405 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
11408 if test x"$enablestring" = xdisable; then
11409 if test $wxUSE_EDITABLELISTBOX = yes; then
11415 result=$wxUSE_EDITABLELISTBOX
11418 { echo "$as_me:$LINENO: result: $result" >&5
11419 echo "${ECHO_T}$result" >&6; }
11423 defaultval=$wxUSE_ALL_FEATURES
11424 if test -z "$defaultval"; then
11425 if test x"$enablestring" = xdisable; then
11432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11433 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11434 # Check whether --enable-filepicker was given.
11435 if test "${enable_filepicker+set}" = set; then
11436 enableval=$enable_filepicker;
11437 if test "$enableval" = yes; then
11438 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11440 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11446 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11447 if test "x$LINE" != x ; then
11448 eval "DEFAULT_$LINE"
11451 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11456 eval "$wx_cv_use_filepicker"
11457 if test "x$cache" = xyes; then
11458 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11461 if test x"$enablestring" = xdisable; then
11462 if test $wxUSE_FILEPICKERCTRL = yes; then
11468 result=$wxUSE_FILEPICKERCTRL
11471 { echo "$as_me:$LINENO: result: $result" >&5
11472 echo "${ECHO_T}$result" >&6; }
11476 defaultval=$wxUSE_ALL_FEATURES
11477 if test -z "$defaultval"; then
11478 if test x"$enablestring" = xdisable; then
11485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11486 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11487 # Check whether --enable-fontpicker was given.
11488 if test "${enable_fontpicker+set}" = set; then
11489 enableval=$enable_fontpicker;
11490 if test "$enableval" = yes; then
11491 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11493 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11499 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11500 if test "x$LINE" != x ; then
11501 eval "DEFAULT_$LINE"
11504 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11509 eval "$wx_cv_use_fontpicker"
11510 if test "x$cache" = xyes; then
11511 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11514 if test x"$enablestring" = xdisable; then
11515 if test $wxUSE_FONTPICKERCTRL = yes; then
11521 result=$wxUSE_FONTPICKERCTRL
11524 { echo "$as_me:$LINENO: result: $result" >&5
11525 echo "${ECHO_T}$result" >&6; }
11529 defaultval=$wxUSE_ALL_FEATURES
11530 if test -z "$defaultval"; then
11531 if test x"$enablestring" = xdisable; then
11538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11539 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11540 # Check whether --enable-gauge was given.
11541 if test "${enable_gauge+set}" = set; then
11542 enableval=$enable_gauge;
11543 if test "$enableval" = yes; then
11544 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11546 wx_cv_use_gauge='wxUSE_GAUGE=no'
11552 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11553 if test "x$LINE" != x ; then
11554 eval "DEFAULT_$LINE"
11557 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11562 eval "$wx_cv_use_gauge"
11563 if test "x$cache" = xyes; then
11564 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
11567 if test x"$enablestring" = xdisable; then
11568 if test $wxUSE_GAUGE = yes; then
11574 result=$wxUSE_GAUGE
11577 { echo "$as_me:$LINENO: result: $result" >&5
11578 echo "${ECHO_T}$result" >&6; }
11582 defaultval=$wxUSE_ALL_FEATURES
11583 if test -z "$defaultval"; then
11584 if test x"$enablestring" = xdisable; then
11591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11592 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11593 # Check whether --enable-grid was given.
11594 if test "${enable_grid+set}" = set; then
11595 enableval=$enable_grid;
11596 if test "$enableval" = yes; then
11597 wx_cv_use_grid='wxUSE_GRID=yes'
11599 wx_cv_use_grid='wxUSE_GRID=no'
11605 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11606 if test "x$LINE" != x ; then
11607 eval "DEFAULT_$LINE"
11610 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11615 eval "$wx_cv_use_grid"
11616 if test "x$cache" = xyes; then
11617 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
11620 if test x"$enablestring" = xdisable; then
11621 if test $wxUSE_GRID = yes; then
11630 { echo "$as_me:$LINENO: result: $result" >&5
11631 echo "${ECHO_T}$result" >&6; }
11635 defaultval=$wxUSE_ALL_FEATURES
11636 if test -z "$defaultval"; then
11637 if test x"$enablestring" = xdisable; then
11644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11645 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11646 # Check whether --enable-dataviewctrl was given.
11647 if test "${enable_dataviewctrl+set}" = set; then
11648 enableval=$enable_dataviewctrl;
11649 if test "$enableval" = yes; then
11650 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11652 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11658 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11659 if test "x$LINE" != x ; then
11660 eval "DEFAULT_$LINE"
11663 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11668 eval "$wx_cv_use_dataviewctrl"
11669 if test "x$cache" = xyes; then
11670 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
11673 if test x"$enablestring" = xdisable; then
11674 if test $wxUSE_DATAVIEWCTRL = yes; then
11680 result=$wxUSE_DATAVIEWCTRL
11683 { echo "$as_me:$LINENO: result: $result" >&5
11684 echo "${ECHO_T}$result" >&6; }
11688 defaultval=$wxUSE_ALL_FEATURES
11689 if test -z "$defaultval"; then
11690 if test x"$enablestring" = xdisable; then
11697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11698 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11699 # Check whether --enable-hyperlink was given.
11700 if test "${enable_hyperlink+set}" = set; then
11701 enableval=$enable_hyperlink;
11702 if test "$enableval" = yes; then
11703 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11705 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11711 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11712 if test "x$LINE" != x ; then
11713 eval "DEFAULT_$LINE"
11716 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11721 eval "$wx_cv_use_hyperlink"
11722 if test "x$cache" = xyes; then
11723 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
11726 if test x"$enablestring" = xdisable; then
11727 if test $wxUSE_HYPERLINKCTRL = yes; then
11733 result=$wxUSE_HYPERLINKCTRL
11736 { echo "$as_me:$LINENO: result: $result" >&5
11737 echo "${ECHO_T}$result" >&6; }
11741 defaultval=$wxUSE_ALL_FEATURES
11742 if test -z "$defaultval"; then
11743 if test x"$enablestring" = xdisable; then
11750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11751 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11752 # Check whether --enable-imaglist was given.
11753 if test "${enable_imaglist+set}" = set; then
11754 enableval=$enable_imaglist;
11755 if test "$enableval" = yes; then
11756 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11758 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11764 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
11765 if test "x$LINE" != x ; then
11766 eval "DEFAULT_$LINE"
11769 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11774 eval "$wx_cv_use_imaglist"
11775 if test "x$cache" = xyes; then
11776 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
11779 if test x"$enablestring" = xdisable; then
11780 if test $wxUSE_IMAGLIST = yes; then
11786 result=$wxUSE_IMAGLIST
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}-listbook" >&5
11804 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11805 # Check whether --enable-listbook was given.
11806 if test "${enable_listbook+set}" = set; then
11807 enableval=$enable_listbook;
11808 if test "$enableval" = yes; then
11809 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11811 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11817 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
11818 if test "x$LINE" != x ; then
11819 eval "DEFAULT_$LINE"
11822 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11827 eval "$wx_cv_use_listbook"
11828 if test "x$cache" = xyes; then
11829 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
11832 if test x"$enablestring" = xdisable; then
11833 if test $wxUSE_LISTBOOK = yes; then
11839 result=$wxUSE_LISTBOOK
11842 { echo "$as_me:$LINENO: result: $result" >&5
11843 echo "${ECHO_T}$result" >&6; }
11847 defaultval=$wxUSE_ALL_FEATURES
11848 if test -z "$defaultval"; then
11849 if test x"$enablestring" = xdisable; then
11856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11857 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11858 # Check whether --enable-listbox was given.
11859 if test "${enable_listbox+set}" = set; then
11860 enableval=$enable_listbox;
11861 if test "$enableval" = yes; then
11862 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11864 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11870 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
11871 if test "x$LINE" != x ; then
11872 eval "DEFAULT_$LINE"
11875 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11880 eval "$wx_cv_use_listbox"
11881 if test "x$cache" = xyes; then
11882 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
11885 if test x"$enablestring" = xdisable; then
11886 if test $wxUSE_LISTBOX = yes; then
11892 result=$wxUSE_LISTBOX
11895 { echo "$as_me:$LINENO: result: $result" >&5
11896 echo "${ECHO_T}$result" >&6; }
11900 defaultval=$wxUSE_ALL_FEATURES
11901 if test -z "$defaultval"; then
11902 if test x"$enablestring" = xdisable; then
11909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11910 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11911 # Check whether --enable-listctrl was given.
11912 if test "${enable_listctrl+set}" = set; then
11913 enableval=$enable_listctrl;
11914 if test "$enableval" = yes; then
11915 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11917 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11923 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
11924 if test "x$LINE" != x ; then
11925 eval "DEFAULT_$LINE"
11928 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11933 eval "$wx_cv_use_listctrl"
11934 if test "x$cache" = xyes; then
11935 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
11938 if test x"$enablestring" = xdisable; then
11939 if test $wxUSE_LISTCTRL = yes; then
11945 result=$wxUSE_LISTCTRL
11948 { echo "$as_me:$LINENO: result: $result" >&5
11949 echo "${ECHO_T}$result" >&6; }
11953 defaultval=$wxUSE_ALL_FEATURES
11954 if test -z "$defaultval"; then
11955 if test x"$enablestring" = xdisable; then
11962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11963 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11964 # Check whether --enable-notebook was given.
11965 if test "${enable_notebook+set}" = set; then
11966 enableval=$enable_notebook;
11967 if test "$enableval" = yes; then
11968 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11970 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11976 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
11977 if test "x$LINE" != x ; then
11978 eval "DEFAULT_$LINE"
11981 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11986 eval "$wx_cv_use_notebook"
11987 if test "x$cache" = xyes; then
11988 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
11991 if test x"$enablestring" = xdisable; then
11992 if test $wxUSE_NOTEBOOK = yes; then
11998 result=$wxUSE_NOTEBOOK
12001 { echo "$as_me:$LINENO: result: $result" >&5
12002 echo "${ECHO_T}$result" >&6; }
12006 defaultval=$wxUSE_ALL_FEATURES
12007 if test -z "$defaultval"; then
12008 if test x"$enablestring" = xdisable; then
12015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12016 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12017 # Check whether --enable-odcombobox was given.
12018 if test "${enable_odcombobox+set}" = set; then
12019 enableval=$enable_odcombobox;
12020 if test "$enableval" = yes; then
12021 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12023 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12029 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12030 if test "x$LINE" != x ; then
12031 eval "DEFAULT_$LINE"
12034 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12039 eval "$wx_cv_use_odcombobox"
12040 if test "x$cache" = xyes; then
12041 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12044 if test x"$enablestring" = xdisable; then
12045 if test $wxUSE_ODCOMBOBOX = yes; then
12051 result=$wxUSE_ODCOMBOBOX
12054 { echo "$as_me:$LINENO: result: $result" >&5
12055 echo "${ECHO_T}$result" >&6; }
12059 defaultval=$wxUSE_ALL_FEATURES
12060 if test -z "$defaultval"; then
12061 if test x"$enablestring" = xdisable; then
12068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12069 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12070 # Check whether --enable-radiobox was given.
12071 if test "${enable_radiobox+set}" = set; then
12072 enableval=$enable_radiobox;
12073 if test "$enableval" = yes; then
12074 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12076 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12082 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12083 if test "x$LINE" != x ; then
12084 eval "DEFAULT_$LINE"
12087 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12092 eval "$wx_cv_use_radiobox"
12093 if test "x$cache" = xyes; then
12094 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12097 if test x"$enablestring" = xdisable; then
12098 if test $wxUSE_RADIOBOX = yes; then
12104 result=$wxUSE_RADIOBOX
12107 { echo "$as_me:$LINENO: result: $result" >&5
12108 echo "${ECHO_T}$result" >&6; }
12112 defaultval=$wxUSE_ALL_FEATURES
12113 if test -z "$defaultval"; then
12114 if test x"$enablestring" = xdisable; then
12121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12122 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12123 # Check whether --enable-radiobtn was given.
12124 if test "${enable_radiobtn+set}" = set; then
12125 enableval=$enable_radiobtn;
12126 if test "$enableval" = yes; then
12127 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12129 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12135 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12136 if test "x$LINE" != x ; then
12137 eval "DEFAULT_$LINE"
12140 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12145 eval "$wx_cv_use_radiobtn"
12146 if test "x$cache" = xyes; then
12147 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12150 if test x"$enablestring" = xdisable; then
12151 if test $wxUSE_RADIOBTN = yes; then
12157 result=$wxUSE_RADIOBTN
12160 { echo "$as_me:$LINENO: result: $result" >&5
12161 echo "${ECHO_T}$result" >&6; }
12165 defaultval=$wxUSE_ALL_FEATURES
12166 if test -z "$defaultval"; then
12167 if test x"$enablestring" = xdisable; then
12174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12175 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12176 # Check whether --enable-sash was given.
12177 if test "${enable_sash+set}" = set; then
12178 enableval=$enable_sash;
12179 if test "$enableval" = yes; then
12180 wx_cv_use_sash='wxUSE_SASH=yes'
12182 wx_cv_use_sash='wxUSE_SASH=no'
12188 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12189 if test "x$LINE" != x ; then
12190 eval "DEFAULT_$LINE"
12193 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12198 eval "$wx_cv_use_sash"
12199 if test "x$cache" = xyes; then
12200 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12203 if test x"$enablestring" = xdisable; then
12204 if test $wxUSE_SASH = yes; then
12213 { echo "$as_me:$LINENO: result: $result" >&5
12214 echo "${ECHO_T}$result" >&6; }
12218 defaultval=$wxUSE_ALL_FEATURES
12219 if test -z "$defaultval"; then
12220 if test x"$enablestring" = xdisable; then
12227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12228 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12229 # Check whether --enable-scrollbar was given.
12230 if test "${enable_scrollbar+set}" = set; then
12231 enableval=$enable_scrollbar;
12232 if test "$enableval" = yes; then
12233 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12235 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12241 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12242 if test "x$LINE" != x ; then
12243 eval "DEFAULT_$LINE"
12246 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12251 eval "$wx_cv_use_scrollbar"
12252 if test "x$cache" = xyes; then
12253 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12256 if test x"$enablestring" = xdisable; then
12257 if test $wxUSE_SCROLLBAR = yes; then
12263 result=$wxUSE_SCROLLBAR
12266 { echo "$as_me:$LINENO: result: $result" >&5
12267 echo "${ECHO_T}$result" >&6; }
12271 defaultval=$wxUSE_ALL_FEATURES
12272 if test -z "$defaultval"; then
12273 if test x"$enablestring" = xdisable; then
12280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12281 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12282 # Check whether --enable-searchctrl was given.
12283 if test "${enable_searchctrl+set}" = set; then
12284 enableval=$enable_searchctrl;
12285 if test "$enableval" = yes; then
12286 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12288 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12294 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12295 if test "x$LINE" != x ; then
12296 eval "DEFAULT_$LINE"
12299 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12304 eval "$wx_cv_use_searchctrl"
12305 if test "x$cache" = xyes; then
12306 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
12309 if test x"$enablestring" = xdisable; then
12310 if test $wxUSE_SEARCHCTRL = yes; then
12316 result=$wxUSE_SEARCHCTRL
12319 { echo "$as_me:$LINENO: result: $result" >&5
12320 echo "${ECHO_T}$result" >&6; }
12324 defaultval=$wxUSE_ALL_FEATURES
12325 if test -z "$defaultval"; then
12326 if test x"$enablestring" = xdisable; then
12333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12334 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12335 # Check whether --enable-slider was given.
12336 if test "${enable_slider+set}" = set; then
12337 enableval=$enable_slider;
12338 if test "$enableval" = yes; then
12339 wx_cv_use_slider='wxUSE_SLIDER=yes'
12341 wx_cv_use_slider='wxUSE_SLIDER=no'
12347 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12348 if test "x$LINE" != x ; then
12349 eval "DEFAULT_$LINE"
12352 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12357 eval "$wx_cv_use_slider"
12358 if test "x$cache" = xyes; then
12359 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
12362 if test x"$enablestring" = xdisable; then
12363 if test $wxUSE_SLIDER = yes; then
12369 result=$wxUSE_SLIDER
12372 { echo "$as_me:$LINENO: result: $result" >&5
12373 echo "${ECHO_T}$result" >&6; }
12377 defaultval=$wxUSE_ALL_FEATURES
12378 if test -z "$defaultval"; then
12379 if test x"$enablestring" = xdisable; then
12386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12387 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12388 # Check whether --enable-spinbtn was given.
12389 if test "${enable_spinbtn+set}" = set; then
12390 enableval=$enable_spinbtn;
12391 if test "$enableval" = yes; then
12392 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12394 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12400 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12401 if test "x$LINE" != x ; then
12402 eval "DEFAULT_$LINE"
12405 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12410 eval "$wx_cv_use_spinbtn"
12411 if test "x$cache" = xyes; then
12412 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
12415 if test x"$enablestring" = xdisable; then
12416 if test $wxUSE_SPINBTN = yes; then
12422 result=$wxUSE_SPINBTN
12425 { echo "$as_me:$LINENO: result: $result" >&5
12426 echo "${ECHO_T}$result" >&6; }
12430 defaultval=$wxUSE_ALL_FEATURES
12431 if test -z "$defaultval"; then
12432 if test x"$enablestring" = xdisable; then
12439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12440 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12441 # Check whether --enable-spinctrl was given.
12442 if test "${enable_spinctrl+set}" = set; then
12443 enableval=$enable_spinctrl;
12444 if test "$enableval" = yes; then
12445 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12447 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12453 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12454 if test "x$LINE" != x ; then
12455 eval "DEFAULT_$LINE"
12458 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12463 eval "$wx_cv_use_spinctrl"
12464 if test "x$cache" = xyes; then
12465 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
12468 if test x"$enablestring" = xdisable; then
12469 if test $wxUSE_SPINCTRL = yes; then
12475 result=$wxUSE_SPINCTRL
12478 { echo "$as_me:$LINENO: result: $result" >&5
12479 echo "${ECHO_T}$result" >&6; }
12483 defaultval=$wxUSE_ALL_FEATURES
12484 if test -z "$defaultval"; then
12485 if test x"$enablestring" = xdisable; then
12492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12493 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12494 # Check whether --enable-splitter was given.
12495 if test "${enable_splitter+set}" = set; then
12496 enableval=$enable_splitter;
12497 if test "$enableval" = yes; then
12498 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12500 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12506 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12507 if test "x$LINE" != x ; then
12508 eval "DEFAULT_$LINE"
12511 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12516 eval "$wx_cv_use_splitter"
12517 if test "x$cache" = xyes; then
12518 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
12521 if test x"$enablestring" = xdisable; then
12522 if test $wxUSE_SPLITTER = yes; then
12528 result=$wxUSE_SPLITTER
12531 { echo "$as_me:$LINENO: result: $result" >&5
12532 echo "${ECHO_T}$result" >&6; }
12536 defaultval=$wxUSE_ALL_FEATURES
12537 if test -z "$defaultval"; then
12538 if test x"$enablestring" = xdisable; then
12545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12546 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12547 # Check whether --enable-statbmp was given.
12548 if test "${enable_statbmp+set}" = set; then
12549 enableval=$enable_statbmp;
12550 if test "$enableval" = yes; then
12551 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12553 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12559 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12560 if test "x$LINE" != x ; then
12561 eval "DEFAULT_$LINE"
12564 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12569 eval "$wx_cv_use_statbmp"
12570 if test "x$cache" = xyes; then
12571 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
12574 if test x"$enablestring" = xdisable; then
12575 if test $wxUSE_STATBMP = yes; then
12581 result=$wxUSE_STATBMP
12584 { echo "$as_me:$LINENO: result: $result" >&5
12585 echo "${ECHO_T}$result" >&6; }
12589 defaultval=$wxUSE_ALL_FEATURES
12590 if test -z "$defaultval"; then
12591 if test x"$enablestring" = xdisable; then
12598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12599 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12600 # Check whether --enable-statbox was given.
12601 if test "${enable_statbox+set}" = set; then
12602 enableval=$enable_statbox;
12603 if test "$enableval" = yes; then
12604 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12606 wx_cv_use_statbox='wxUSE_STATBOX=no'
12612 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12613 if test "x$LINE" != x ; then
12614 eval "DEFAULT_$LINE"
12617 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12622 eval "$wx_cv_use_statbox"
12623 if test "x$cache" = xyes; then
12624 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
12627 if test x"$enablestring" = xdisable; then
12628 if test $wxUSE_STATBOX = yes; then
12634 result=$wxUSE_STATBOX
12637 { echo "$as_me:$LINENO: result: $result" >&5
12638 echo "${ECHO_T}$result" >&6; }
12642 defaultval=$wxUSE_ALL_FEATURES
12643 if test -z "$defaultval"; then
12644 if test x"$enablestring" = xdisable; then
12651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12652 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12653 # Check whether --enable-statline was given.
12654 if test "${enable_statline+set}" = set; then
12655 enableval=$enable_statline;
12656 if test "$enableval" = yes; then
12657 wx_cv_use_statline='wxUSE_STATLINE=yes'
12659 wx_cv_use_statline='wxUSE_STATLINE=no'
12665 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12666 if test "x$LINE" != x ; then
12667 eval "DEFAULT_$LINE"
12670 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12675 eval "$wx_cv_use_statline"
12676 if test "x$cache" = xyes; then
12677 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
12680 if test x"$enablestring" = xdisable; then
12681 if test $wxUSE_STATLINE = yes; then
12687 result=$wxUSE_STATLINE
12690 { echo "$as_me:$LINENO: result: $result" >&5
12691 echo "${ECHO_T}$result" >&6; }
12695 defaultval=$wxUSE_ALL_FEATURES
12696 if test -z "$defaultval"; then
12697 if test x"$enablestring" = xdisable; then
12704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12705 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12706 # Check whether --enable-stattext was given.
12707 if test "${enable_stattext+set}" = set; then
12708 enableval=$enable_stattext;
12709 if test "$enableval" = yes; then
12710 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12712 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12718 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
12719 if test "x$LINE" != x ; then
12720 eval "DEFAULT_$LINE"
12723 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12728 eval "$wx_cv_use_stattext"
12729 if test "x$cache" = xyes; then
12730 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
12733 if test x"$enablestring" = xdisable; then
12734 if test $wxUSE_STATTEXT = yes; then
12740 result=$wxUSE_STATTEXT
12743 { echo "$as_me:$LINENO: result: $result" >&5
12744 echo "${ECHO_T}$result" >&6; }
12748 defaultval=$wxUSE_ALL_FEATURES
12749 if test -z "$defaultval"; then
12750 if test x"$enablestring" = xdisable; then
12757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12758 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12759 # Check whether --enable-statusbar was given.
12760 if test "${enable_statusbar+set}" = set; then
12761 enableval=$enable_statusbar;
12762 if test "$enableval" = yes; then
12763 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12765 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12771 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
12772 if test "x$LINE" != x ; then
12773 eval "DEFAULT_$LINE"
12776 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12781 eval "$wx_cv_use_statusbar"
12782 if test "x$cache" = xyes; then
12783 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
12786 if test x"$enablestring" = xdisable; then
12787 if test $wxUSE_STATUSBAR = yes; then
12793 result=$wxUSE_STATUSBAR
12796 { echo "$as_me:$LINENO: result: $result" >&5
12797 echo "${ECHO_T}$result" >&6; }
12801 defaultval=$wxUSE_ALL_FEATURES
12802 if test -z "$defaultval"; then
12803 if test x"$enablestring" = xdisable; then
12810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
12811 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
12812 # Check whether --enable-tabdialog was given.
12813 if test "${enable_tabdialog+set}" = set; then
12814 enableval=$enable_tabdialog;
12815 if test "$enableval" = yes; then
12816 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
12818 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
12824 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
12825 if test "x$LINE" != x ; then
12826 eval "DEFAULT_$LINE"
12829 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
12834 eval "$wx_cv_use_tabdialog"
12835 if test "x$cache" = xyes; then
12836 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
12839 if test x"$enablestring" = xdisable; then
12840 if test $wxUSE_TAB_DIALOG = yes; then
12846 result=$wxUSE_TAB_DIALOG
12849 { echo "$as_me:$LINENO: result: $result" >&5
12850 echo "${ECHO_T}$result" >&6; }
12854 defaultval=$wxUSE_ALL_FEATURES
12855 if test -z "$defaultval"; then
12856 if test x"$enablestring" = xdisable; then
12863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12864 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12865 # Check whether --enable-taskbaricon was given.
12866 if test "${enable_taskbaricon+set}" = set; then
12867 enableval=$enable_taskbaricon;
12868 if test "$enableval" = yes; then
12869 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12871 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12877 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
12878 if test "x$LINE" != x ; then
12879 eval "DEFAULT_$LINE"
12882 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12887 eval "$wx_cv_use_taskbaricon"
12888 if test "x$cache" = xyes; then
12889 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
12892 if test x"$enablestring" = xdisable; then
12893 if test $wxUSE_TASKBARICON = yes; then
12899 result=$wxUSE_TASKBARICON
12902 { echo "$as_me:$LINENO: result: $result" >&5
12903 echo "${ECHO_T}$result" >&6; }
12907 defaultval=$wxUSE_ALL_FEATURES
12908 if test -z "$defaultval"; then
12909 if test x"$enablestring" = xdisable; then
12916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12917 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12918 # Check whether --enable-textctrl was given.
12919 if test "${enable_textctrl+set}" = set; then
12920 enableval=$enable_textctrl;
12921 if test "$enableval" = yes; then
12922 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12924 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12930 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
12931 if test "x$LINE" != x ; then
12932 eval "DEFAULT_$LINE"
12935 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12940 eval "$wx_cv_use_textctrl"
12941 if test "x$cache" = xyes; then
12942 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
12945 if test x"$enablestring" = xdisable; then
12946 if test $wxUSE_TEXTCTRL = yes; then
12952 result=$wxUSE_TEXTCTRL
12955 { echo "$as_me:$LINENO: result: $result" >&5
12956 echo "${ECHO_T}$result" >&6; }
12960 defaultval=$wxUSE_ALL_FEATURES
12961 if test -z "$defaultval"; then
12962 if test x"$enablestring" = xdisable; then
12969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12970 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12971 # Check whether --enable-togglebtn was given.
12972 if test "${enable_togglebtn+set}" = set; then
12973 enableval=$enable_togglebtn;
12974 if test "$enableval" = yes; then
12975 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12977 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12983 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
12984 if test "x$LINE" != x ; then
12985 eval "DEFAULT_$LINE"
12988 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12993 eval "$wx_cv_use_togglebtn"
12994 if test "x$cache" = xyes; then
12995 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
12998 if test x"$enablestring" = xdisable; then
12999 if test $wxUSE_TOGGLEBTN = yes; then
13005 result=$wxUSE_TOGGLEBTN
13008 { echo "$as_me:$LINENO: result: $result" >&5
13009 echo "${ECHO_T}$result" >&6; }
13013 defaultval=$wxUSE_ALL_FEATURES
13014 if test -z "$defaultval"; then
13015 if test x"$enablestring" = xdisable; then
13022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13023 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13024 # Check whether --enable-toolbar was given.
13025 if test "${enable_toolbar+set}" = set; then
13026 enableval=$enable_toolbar;
13027 if test "$enableval" = yes; then
13028 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13030 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13036 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13037 if test "x$LINE" != x ; then
13038 eval "DEFAULT_$LINE"
13041 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13046 eval "$wx_cv_use_toolbar"
13047 if test "x$cache" = xyes; then
13048 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13051 if test x"$enablestring" = xdisable; then
13052 if test $wxUSE_TOOLBAR = yes; then
13058 result=$wxUSE_TOOLBAR
13061 { echo "$as_me:$LINENO: result: $result" >&5
13062 echo "${ECHO_T}$result" >&6; }
13066 defaultval=$wxUSE_ALL_FEATURES
13067 if test -z "$defaultval"; then
13068 if test x"$enablestring" = xdisable; then
13075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13076 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13077 # Check whether --enable-tbarnative was given.
13078 if test "${enable_tbarnative+set}" = set; then
13079 enableval=$enable_tbarnative;
13080 if test "$enableval" = yes; then
13081 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13083 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13089 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13090 if test "x$LINE" != x ; then
13091 eval "DEFAULT_$LINE"
13094 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13099 eval "$wx_cv_use_tbarnative"
13100 if test "x$cache" = xyes; then
13101 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13104 if test x"$enablestring" = xdisable; then
13105 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13111 result=$wxUSE_TOOLBAR_NATIVE
13114 { echo "$as_me:$LINENO: result: $result" >&5
13115 echo "${ECHO_T}$result" >&6; }
13119 defaultval=$wxUSE_ALL_FEATURES
13120 if test -z "$defaultval"; then
13121 if test x"$enablestring" = xdisable; then
13128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13129 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13130 # Check whether --enable-treebook was given.
13131 if test "${enable_treebook+set}" = set; then
13132 enableval=$enable_treebook;
13133 if test "$enableval" = yes; then
13134 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13136 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13142 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13143 if test "x$LINE" != x ; then
13144 eval "DEFAULT_$LINE"
13147 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13152 eval "$wx_cv_use_treebook"
13153 if test "x$cache" = xyes; then
13154 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13157 if test x"$enablestring" = xdisable; then
13158 if test $wxUSE_TREEBOOK = yes; then
13164 result=$wxUSE_TREEBOOK
13167 { echo "$as_me:$LINENO: result: $result" >&5
13168 echo "${ECHO_T}$result" >&6; }
13172 defaultval=$wxUSE_ALL_FEATURES
13173 if test -z "$defaultval"; then
13174 if test x"$enablestring" = xdisable; then
13181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13182 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13183 # Check whether --enable-toolbook was given.
13184 if test "${enable_toolbook+set}" = set; then
13185 enableval=$enable_toolbook;
13186 if test "$enableval" = yes; then
13187 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13189 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13195 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13196 if test "x$LINE" != x ; then
13197 eval "DEFAULT_$LINE"
13200 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13205 eval "$wx_cv_use_toolbook"
13206 if test "x$cache" = xyes; then
13207 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13210 if test x"$enablestring" = xdisable; then
13211 if test $wxUSE_TOOLBOOK = yes; then
13217 result=$wxUSE_TOOLBOOK
13220 { echo "$as_me:$LINENO: result: $result" >&5
13221 echo "${ECHO_T}$result" >&6; }
13225 defaultval=$wxUSE_ALL_FEATURES
13226 if test -z "$defaultval"; then
13227 if test x"$enablestring" = xdisable; then
13234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13235 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13236 # Check whether --enable-treectrl was given.
13237 if test "${enable_treectrl+set}" = set; then
13238 enableval=$enable_treectrl;
13239 if test "$enableval" = yes; then
13240 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13242 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13248 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13249 if test "x$LINE" != x ; then
13250 eval "DEFAULT_$LINE"
13253 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13258 eval "$wx_cv_use_treectrl"
13259 if test "x$cache" = xyes; then
13260 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
13263 if test x"$enablestring" = xdisable; then
13264 if test $wxUSE_TREECTRL = yes; then
13270 result=$wxUSE_TREECTRL
13273 { echo "$as_me:$LINENO: result: $result" >&5
13274 echo "${ECHO_T}$result" >&6; }
13278 defaultval=$wxUSE_ALL_FEATURES
13279 if test -z "$defaultval"; then
13280 if test x"$enablestring" = xdisable; then
13287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13288 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13289 # Check whether --enable-tipwindow was given.
13290 if test "${enable_tipwindow+set}" = set; then
13291 enableval=$enable_tipwindow;
13292 if test "$enableval" = yes; then
13293 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13295 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13301 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13302 if test "x$LINE" != x ; then
13303 eval "DEFAULT_$LINE"
13306 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13311 eval "$wx_cv_use_tipwindow"
13312 if test "x$cache" = xyes; then
13313 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
13316 if test x"$enablestring" = xdisable; then
13317 if test $wxUSE_TIPWINDOW = yes; then
13323 result=$wxUSE_TIPWINDOW
13326 { echo "$as_me:$LINENO: result: $result" >&5
13327 echo "${ECHO_T}$result" >&6; }
13331 defaultval=$wxUSE_ALL_FEATURES
13332 if test -z "$defaultval"; then
13333 if test x"$enablestring" = xdisable; then
13340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13341 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13342 # Check whether --enable-popupwin was given.
13343 if test "${enable_popupwin+set}" = set; then
13344 enableval=$enable_popupwin;
13345 if test "$enableval" = yes; then
13346 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13348 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13354 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13355 if test "x$LINE" != x ; then
13356 eval "DEFAULT_$LINE"
13359 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13364 eval "$wx_cv_use_popupwin"
13365 if test "x$cache" = xyes; then
13366 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
13369 if test x"$enablestring" = xdisable; then
13370 if test $wxUSE_POPUPWIN = yes; then
13376 result=$wxUSE_POPUPWIN
13379 { echo "$as_me:$LINENO: result: $result" >&5
13380 echo "${ECHO_T}$result" >&6; }
13386 defaultval=$wxUSE_ALL_FEATURES
13387 if test -z "$defaultval"; then
13388 if test x"$enablestring" = xdisable; then
13395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13396 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13397 # Check whether --enable-commondlg was given.
13398 if test "${enable_commondlg+set}" = set; then
13399 enableval=$enable_commondlg;
13400 if test "$enableval" = yes; then
13401 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13403 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13409 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13410 if test "x$LINE" != x ; then
13411 eval "DEFAULT_$LINE"
13414 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13419 eval "$wx_cv_use_commondlg"
13420 if test "x$cache" = xyes; then
13421 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
13424 if test x"$enablestring" = xdisable; then
13425 if test $wxUSE_COMMONDLGS = yes; then
13431 result=$wxUSE_COMMONDLGS
13434 { echo "$as_me:$LINENO: result: $result" >&5
13435 echo "${ECHO_T}$result" >&6; }
13439 defaultval=$wxUSE_ALL_FEATURES
13440 if test -z "$defaultval"; then
13441 if test x"$enablestring" = xdisable; then
13448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13449 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13450 # Check whether --enable-aboutdlg was given.
13451 if test "${enable_aboutdlg+set}" = set; then
13452 enableval=$enable_aboutdlg;
13453 if test "$enableval" = yes; then
13454 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13456 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13462 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13463 if test "x$LINE" != x ; then
13464 eval "DEFAULT_$LINE"
13467 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13472 eval "$wx_cv_use_aboutdlg"
13473 if test "x$cache" = xyes; then
13474 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
13477 if test x"$enablestring" = xdisable; then
13478 if test $wxUSE_ABOUTDLG = yes; then
13484 result=$wxUSE_ABOUTDLG
13487 { echo "$as_me:$LINENO: result: $result" >&5
13488 echo "${ECHO_T}$result" >&6; }
13492 defaultval=$wxUSE_ALL_FEATURES
13493 if test -z "$defaultval"; then
13494 if test x"$enablestring" = xdisable; then
13501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13502 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13503 # Check whether --enable-choicedlg was given.
13504 if test "${enable_choicedlg+set}" = set; then
13505 enableval=$enable_choicedlg;
13506 if test "$enableval" = yes; then
13507 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13509 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13515 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13516 if test "x$LINE" != x ; then
13517 eval "DEFAULT_$LINE"
13520 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13525 eval "$wx_cv_use_choicedlg"
13526 if test "x$cache" = xyes; then
13527 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
13530 if test x"$enablestring" = xdisable; then
13531 if test $wxUSE_CHOICEDLG = yes; then
13537 result=$wxUSE_CHOICEDLG
13540 { echo "$as_me:$LINENO: result: $result" >&5
13541 echo "${ECHO_T}$result" >&6; }
13545 defaultval=$wxUSE_ALL_FEATURES
13546 if test -z "$defaultval"; then
13547 if test x"$enablestring" = xdisable; then
13554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13555 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13556 # Check whether --enable-coldlg was given.
13557 if test "${enable_coldlg+set}" = set; then
13558 enableval=$enable_coldlg;
13559 if test "$enableval" = yes; then
13560 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13562 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13568 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13569 if test "x$LINE" != x ; then
13570 eval "DEFAULT_$LINE"
13573 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13578 eval "$wx_cv_use_coldlg"
13579 if test "x$cache" = xyes; then
13580 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
13583 if test x"$enablestring" = xdisable; then
13584 if test $wxUSE_COLOURDLG = yes; then
13590 result=$wxUSE_COLOURDLG
13593 { echo "$as_me:$LINENO: result: $result" >&5
13594 echo "${ECHO_T}$result" >&6; }
13598 defaultval=$wxUSE_ALL_FEATURES
13599 if test -z "$defaultval"; then
13600 if test x"$enablestring" = xdisable; then
13607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13608 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13609 # Check whether --enable-filedlg was given.
13610 if test "${enable_filedlg+set}" = set; then
13611 enableval=$enable_filedlg;
13612 if test "$enableval" = yes; then
13613 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13615 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13621 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13622 if test "x$LINE" != x ; then
13623 eval "DEFAULT_$LINE"
13626 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13631 eval "$wx_cv_use_filedlg"
13632 if test "x$cache" = xyes; then
13633 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
13636 if test x"$enablestring" = xdisable; then
13637 if test $wxUSE_FILEDLG = yes; then
13643 result=$wxUSE_FILEDLG
13646 { echo "$as_me:$LINENO: result: $result" >&5
13647 echo "${ECHO_T}$result" >&6; }
13651 defaultval=$wxUSE_ALL_FEATURES
13652 if test -z "$defaultval"; then
13653 if test x"$enablestring" = xdisable; then
13660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13661 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13662 # Check whether --enable-finddlg was given.
13663 if test "${enable_finddlg+set}" = set; then
13664 enableval=$enable_finddlg;
13665 if test "$enableval" = yes; then
13666 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13668 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13674 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
13675 if test "x$LINE" != x ; then
13676 eval "DEFAULT_$LINE"
13679 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13684 eval "$wx_cv_use_finddlg"
13685 if test "x$cache" = xyes; then
13686 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
13689 if test x"$enablestring" = xdisable; then
13690 if test $wxUSE_FINDREPLDLG = yes; then
13696 result=$wxUSE_FINDREPLDLG
13699 { echo "$as_me:$LINENO: result: $result" >&5
13700 echo "${ECHO_T}$result" >&6; }
13704 defaultval=$wxUSE_ALL_FEATURES
13705 if test -z "$defaultval"; then
13706 if test x"$enablestring" = xdisable; then
13713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13714 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13715 # Check whether --enable-fontdlg was given.
13716 if test "${enable_fontdlg+set}" = set; then
13717 enableval=$enable_fontdlg;
13718 if test "$enableval" = yes; then
13719 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13721 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13727 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
13728 if test "x$LINE" != x ; then
13729 eval "DEFAULT_$LINE"
13732 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13737 eval "$wx_cv_use_fontdlg"
13738 if test "x$cache" = xyes; then
13739 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
13742 if test x"$enablestring" = xdisable; then
13743 if test $wxUSE_FONTDLG = yes; then
13749 result=$wxUSE_FONTDLG
13752 { echo "$as_me:$LINENO: result: $result" >&5
13753 echo "${ECHO_T}$result" >&6; }
13757 defaultval=$wxUSE_ALL_FEATURES
13758 if test -z "$defaultval"; then
13759 if test x"$enablestring" = xdisable; then
13766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13767 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13768 # Check whether --enable-dirdlg was given.
13769 if test "${enable_dirdlg+set}" = set; then
13770 enableval=$enable_dirdlg;
13771 if test "$enableval" = yes; then
13772 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13774 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13780 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
13781 if test "x$LINE" != x ; then
13782 eval "DEFAULT_$LINE"
13785 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13790 eval "$wx_cv_use_dirdlg"
13791 if test "x$cache" = xyes; then
13792 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
13795 if test x"$enablestring" = xdisable; then
13796 if test $wxUSE_DIRDLG = yes; then
13802 result=$wxUSE_DIRDLG
13805 { echo "$as_me:$LINENO: result: $result" >&5
13806 echo "${ECHO_T}$result" >&6; }
13810 defaultval=$wxUSE_ALL_FEATURES
13811 if test -z "$defaultval"; then
13812 if test x"$enablestring" = xdisable; then
13819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13820 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13821 # Check whether --enable-msgdlg was given.
13822 if test "${enable_msgdlg+set}" = set; then
13823 enableval=$enable_msgdlg;
13824 if test "$enableval" = yes; then
13825 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13827 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13833 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
13834 if test "x$LINE" != x ; then
13835 eval "DEFAULT_$LINE"
13838 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13843 eval "$wx_cv_use_msgdlg"
13844 if test "x$cache" = xyes; then
13845 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
13848 if test x"$enablestring" = xdisable; then
13849 if test $wxUSE_MSGDLG = yes; then
13855 result=$wxUSE_MSGDLG
13858 { echo "$as_me:$LINENO: result: $result" >&5
13859 echo "${ECHO_T}$result" >&6; }
13863 defaultval=$wxUSE_ALL_FEATURES
13864 if test -z "$defaultval"; then
13865 if test x"$enablestring" = xdisable; then
13872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13873 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13874 # Check whether --enable-numberdlg was given.
13875 if test "${enable_numberdlg+set}" = set; then
13876 enableval=$enable_numberdlg;
13877 if test "$enableval" = yes; then
13878 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13880 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13886 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
13887 if test "x$LINE" != x ; then
13888 eval "DEFAULT_$LINE"
13891 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13896 eval "$wx_cv_use_numberdlg"
13897 if test "x$cache" = xyes; then
13898 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
13901 if test x"$enablestring" = xdisable; then
13902 if test $wxUSE_NUMBERDLG = yes; then
13908 result=$wxUSE_NUMBERDLG
13911 { echo "$as_me:$LINENO: result: $result" >&5
13912 echo "${ECHO_T}$result" >&6; }
13916 defaultval=$wxUSE_ALL_FEATURES
13917 if test -z "$defaultval"; then
13918 if test x"$enablestring" = xdisable; then
13925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13926 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13927 # Check whether --enable-splash was given.
13928 if test "${enable_splash+set}" = set; then
13929 enableval=$enable_splash;
13930 if test "$enableval" = yes; then
13931 wx_cv_use_splash='wxUSE_SPLASH=yes'
13933 wx_cv_use_splash='wxUSE_SPLASH=no'
13939 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
13940 if test "x$LINE" != x ; then
13941 eval "DEFAULT_$LINE"
13944 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13949 eval "$wx_cv_use_splash"
13950 if test "x$cache" = xyes; then
13951 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
13954 if test x"$enablestring" = xdisable; then
13955 if test $wxUSE_SPLASH = yes; then
13961 result=$wxUSE_SPLASH
13964 { echo "$as_me:$LINENO: result: $result" >&5
13965 echo "${ECHO_T}$result" >&6; }
13969 defaultval=$wxUSE_ALL_FEATURES
13970 if test -z "$defaultval"; then
13971 if test x"$enablestring" = xdisable; then
13978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13979 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13980 # Check whether --enable-textdlg was given.
13981 if test "${enable_textdlg+set}" = set; then
13982 enableval=$enable_textdlg;
13983 if test "$enableval" = yes; then
13984 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13986 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13992 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
13993 if test "x$LINE" != x ; then
13994 eval "DEFAULT_$LINE"
13997 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14002 eval "$wx_cv_use_textdlg"
14003 if test "x$cache" = xyes; then
14004 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14007 if test x"$enablestring" = xdisable; then
14008 if test $wxUSE_TEXTDLG = yes; then
14014 result=$wxUSE_TEXTDLG
14017 { echo "$as_me:$LINENO: result: $result" >&5
14018 echo "${ECHO_T}$result" >&6; }
14022 defaultval=$wxUSE_ALL_FEATURES
14023 if test -z "$defaultval"; then
14024 if test x"$enablestring" = xdisable; then
14031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14032 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14033 # Check whether --enable-tipdlg was given.
14034 if test "${enable_tipdlg+set}" = set; then
14035 enableval=$enable_tipdlg;
14036 if test "$enableval" = yes; then
14037 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14039 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14045 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14046 if test "x$LINE" != x ; then
14047 eval "DEFAULT_$LINE"
14050 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14055 eval "$wx_cv_use_tipdlg"
14056 if test "x$cache" = xyes; then
14057 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14060 if test x"$enablestring" = xdisable; then
14061 if test $wxUSE_STARTUP_TIPS = yes; then
14067 result=$wxUSE_STARTUP_TIPS
14070 { echo "$as_me:$LINENO: result: $result" >&5
14071 echo "${ECHO_T}$result" >&6; }
14075 defaultval=$wxUSE_ALL_FEATURES
14076 if test -z "$defaultval"; then
14077 if test x"$enablestring" = xdisable; then
14084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14085 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14086 # Check whether --enable-progressdlg was given.
14087 if test "${enable_progressdlg+set}" = set; then
14088 enableval=$enable_progressdlg;
14089 if test "$enableval" = yes; then
14090 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14092 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14098 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14099 if test "x$LINE" != x ; then
14100 eval "DEFAULT_$LINE"
14103 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14108 eval "$wx_cv_use_progressdlg"
14109 if test "x$cache" = xyes; then
14110 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14113 if test x"$enablestring" = xdisable; then
14114 if test $wxUSE_PROGRESSDLG = yes; then
14120 result=$wxUSE_PROGRESSDLG
14123 { echo "$as_me:$LINENO: result: $result" >&5
14124 echo "${ECHO_T}$result" >&6; }
14128 defaultval=$wxUSE_ALL_FEATURES
14129 if test -z "$defaultval"; then
14130 if test x"$enablestring" = xdisable; then
14137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14138 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14139 # Check whether --enable-wizarddlg was given.
14140 if test "${enable_wizarddlg+set}" = set; then
14141 enableval=$enable_wizarddlg;
14142 if test "$enableval" = yes; then
14143 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14145 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14151 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14152 if test "x$LINE" != x ; then
14153 eval "DEFAULT_$LINE"
14156 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14161 eval "$wx_cv_use_wizarddlg"
14162 if test "x$cache" = xyes; then
14163 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
14166 if test x"$enablestring" = xdisable; then
14167 if test $wxUSE_WIZARDDLG = yes; then
14173 result=$wxUSE_WIZARDDLG
14176 { echo "$as_me:$LINENO: result: $result" >&5
14177 echo "${ECHO_T}$result" >&6; }
14183 defaultval=$wxUSE_ALL_FEATURES
14184 if test -z "$defaultval"; then
14185 if test x"$enablestring" = xdisable; then
14192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14193 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14194 # Check whether --enable-menus was given.
14195 if test "${enable_menus+set}" = set; then
14196 enableval=$enable_menus;
14197 if test "$enableval" = yes; then
14198 wx_cv_use_menus='wxUSE_MENUS=yes'
14200 wx_cv_use_menus='wxUSE_MENUS=no'
14206 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14207 if test "x$LINE" != x ; then
14208 eval "DEFAULT_$LINE"
14211 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14216 eval "$wx_cv_use_menus"
14217 if test "x$cache" = xyes; then
14218 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
14221 if test x"$enablestring" = xdisable; then
14222 if test $wxUSE_MENUS = yes; then
14228 result=$wxUSE_MENUS
14231 { echo "$as_me:$LINENO: result: $result" >&5
14232 echo "${ECHO_T}$result" >&6; }
14236 defaultval=$wxUSE_ALL_FEATURES
14237 if test -z "$defaultval"; then
14238 if test x"$enablestring" = xdisable; then
14245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14246 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14247 # Check whether --enable-miniframe was given.
14248 if test "${enable_miniframe+set}" = set; then
14249 enableval=$enable_miniframe;
14250 if test "$enableval" = yes; then
14251 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14253 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14259 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14260 if test "x$LINE" != x ; then
14261 eval "DEFAULT_$LINE"
14264 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14269 eval "$wx_cv_use_miniframe"
14270 if test "x$cache" = xyes; then
14271 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
14274 if test x"$enablestring" = xdisable; then
14275 if test $wxUSE_MINIFRAME = yes; then
14281 result=$wxUSE_MINIFRAME
14284 { echo "$as_me:$LINENO: result: $result" >&5
14285 echo "${ECHO_T}$result" >&6; }
14289 defaultval=$wxUSE_ALL_FEATURES
14290 if test -z "$defaultval"; then
14291 if test x"$enablestring" = xdisable; then
14298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14299 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14300 # Check whether --enable-tooltips was given.
14301 if test "${enable_tooltips+set}" = set; then
14302 enableval=$enable_tooltips;
14303 if test "$enableval" = yes; then
14304 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14306 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14312 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14313 if test "x$LINE" != x ; then
14314 eval "DEFAULT_$LINE"
14317 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14322 eval "$wx_cv_use_tooltips"
14323 if test "x$cache" = xyes; then
14324 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
14327 if test x"$enablestring" = xdisable; then
14328 if test $wxUSE_TOOLTIPS = yes; then
14334 result=$wxUSE_TOOLTIPS
14337 { echo "$as_me:$LINENO: result: $result" >&5
14338 echo "${ECHO_T}$result" >&6; }
14342 defaultval=$wxUSE_ALL_FEATURES
14343 if test -z "$defaultval"; then
14344 if test x"$enablestring" = xdisable; then
14351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14352 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14353 # Check whether --enable-splines was given.
14354 if test "${enable_splines+set}" = set; then
14355 enableval=$enable_splines;
14356 if test "$enableval" = yes; then
14357 wx_cv_use_splines='wxUSE_SPLINES=yes'
14359 wx_cv_use_splines='wxUSE_SPLINES=no'
14365 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14366 if test "x$LINE" != x ; then
14367 eval "DEFAULT_$LINE"
14370 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14375 eval "$wx_cv_use_splines"
14376 if test "x$cache" = xyes; then
14377 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
14380 if test x"$enablestring" = xdisable; then
14381 if test $wxUSE_SPLINES = yes; then
14387 result=$wxUSE_SPLINES
14390 { echo "$as_me:$LINENO: result: $result" >&5
14391 echo "${ECHO_T}$result" >&6; }
14395 defaultval=$wxUSE_ALL_FEATURES
14396 if test -z "$defaultval"; then
14397 if test x"$enablestring" = xdisable; then
14404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14405 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14406 # Check whether --enable-mousewheel was given.
14407 if test "${enable_mousewheel+set}" = set; then
14408 enableval=$enable_mousewheel;
14409 if test "$enableval" = yes; then
14410 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14412 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14418 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14419 if test "x$LINE" != x ; then
14420 eval "DEFAULT_$LINE"
14423 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14428 eval "$wx_cv_use_mousewheel"
14429 if test "x$cache" = xyes; then
14430 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
14433 if test x"$enablestring" = xdisable; then
14434 if test $wxUSE_MOUSEWHEEL = yes; then
14440 result=$wxUSE_MOUSEWHEEL
14443 { echo "$as_me:$LINENO: result: $result" >&5
14444 echo "${ECHO_T}$result" >&6; }
14448 defaultval=$wxUSE_ALL_FEATURES
14449 if test -z "$defaultval"; then
14450 if test x"$enablestring" = xdisable; then
14457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14458 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14459 # Check whether --enable-validators was given.
14460 if test "${enable_validators+set}" = set; then
14461 enableval=$enable_validators;
14462 if test "$enableval" = yes; then
14463 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14465 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14471 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14472 if test "x$LINE" != x ; then
14473 eval "DEFAULT_$LINE"
14476 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14481 eval "$wx_cv_use_validators"
14482 if test "x$cache" = xyes; then
14483 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
14486 if test x"$enablestring" = xdisable; then
14487 if test $wxUSE_VALIDATORS = yes; then
14493 result=$wxUSE_VALIDATORS
14496 { echo "$as_me:$LINENO: result: $result" >&5
14497 echo "${ECHO_T}$result" >&6; }
14501 defaultval=$wxUSE_ALL_FEATURES
14502 if test -z "$defaultval"; then
14503 if test x"$enablestring" = xdisable; then
14510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14511 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14512 # Check whether --enable-busyinfo was given.
14513 if test "${enable_busyinfo+set}" = set; then
14514 enableval=$enable_busyinfo;
14515 if test "$enableval" = yes; then
14516 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14518 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14524 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14525 if test "x$LINE" != x ; then
14526 eval "DEFAULT_$LINE"
14529 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14534 eval "$wx_cv_use_busyinfo"
14535 if test "x$cache" = xyes; then
14536 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
14539 if test x"$enablestring" = xdisable; then
14540 if test $wxUSE_BUSYINFO = yes; then
14546 result=$wxUSE_BUSYINFO
14549 { echo "$as_me:$LINENO: result: $result" >&5
14550 echo "${ECHO_T}$result" >&6; }
14554 defaultval=$wxUSE_ALL_FEATURES
14555 if test -z "$defaultval"; then
14556 if test x"$enablestring" = xdisable; then
14563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14564 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14565 # Check whether --enable-joystick was given.
14566 if test "${enable_joystick+set}" = set; then
14567 enableval=$enable_joystick;
14568 if test "$enableval" = yes; then
14569 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14571 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14577 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14578 if test "x$LINE" != x ; then
14579 eval "DEFAULT_$LINE"
14582 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14587 eval "$wx_cv_use_joystick"
14588 if test "x$cache" = xyes; then
14589 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
14592 if test x"$enablestring" = xdisable; then
14593 if test $wxUSE_JOYSTICK = yes; then
14599 result=$wxUSE_JOYSTICK
14602 { echo "$as_me:$LINENO: result: $result" >&5
14603 echo "${ECHO_T}$result" >&6; }
14607 defaultval=$wxUSE_ALL_FEATURES
14608 if test -z "$defaultval"; then
14609 if test x"$enablestring" = xdisable; then
14616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14617 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14618 # Check whether --enable-metafile was given.
14619 if test "${enable_metafile+set}" = set; then
14620 enableval=$enable_metafile;
14621 if test "$enableval" = yes; then
14622 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14624 wx_cv_use_metafile='wxUSE_METAFILE=no'
14630 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
14631 if test "x$LINE" != x ; then
14632 eval "DEFAULT_$LINE"
14635 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14640 eval "$wx_cv_use_metafile"
14641 if test "x$cache" = xyes; then
14642 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
14645 if test x"$enablestring" = xdisable; then
14646 if test $wxUSE_METAFILE = yes; then
14652 result=$wxUSE_METAFILE
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}-dragimage" >&5
14670 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14671 # Check whether --enable-dragimage was given.
14672 if test "${enable_dragimage+set}" = set; then
14673 enableval=$enable_dragimage;
14674 if test "$enableval" = yes; then
14675 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14677 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14683 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
14684 if test "x$LINE" != x ; then
14685 eval "DEFAULT_$LINE"
14688 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14693 eval "$wx_cv_use_dragimage"
14694 if test "x$cache" = xyes; then
14695 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
14698 if test x"$enablestring" = xdisable; then
14699 if test $wxUSE_DRAGIMAGE = yes; then
14705 result=$wxUSE_DRAGIMAGE
14708 { echo "$as_me:$LINENO: result: $result" >&5
14709 echo "${ECHO_T}$result" >&6; }
14713 defaultval=$wxUSE_ALL_FEATURES
14714 if test -z "$defaultval"; then
14715 if test x"$enablestring" = xdisable; then
14722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14723 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14724 # Check whether --enable-accessibility was given.
14725 if test "${enable_accessibility+set}" = set; then
14726 enableval=$enable_accessibility;
14727 if test "$enableval" = yes; then
14728 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14730 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14736 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
14737 if test "x$LINE" != x ; then
14738 eval "DEFAULT_$LINE"
14741 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14746 eval "$wx_cv_use_accessibility"
14747 if test "x$cache" = xyes; then
14748 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
14751 if test x"$enablestring" = xdisable; then
14752 if test $wxUSE_ACCESSIBILITY = yes; then
14758 result=$wxUSE_ACCESSIBILITY
14761 { echo "$as_me:$LINENO: result: $result" >&5
14762 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}-palette" >&5
14778 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14779 # Check whether --enable-palette was given.
14780 if test "${enable_palette+set}" = set; then
14781 enableval=$enable_palette;
14782 if test "$enableval" = yes; then
14783 wx_cv_use_palette='wxUSE_PALETTE=yes'
14785 wx_cv_use_palette='wxUSE_PALETTE=no'
14791 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
14792 if test "x$LINE" != x ; then
14793 eval "DEFAULT_$LINE"
14796 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14801 eval "$wx_cv_use_palette"
14802 if test "x$cache" = xyes; then
14803 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
14806 if test x"$enablestring" = xdisable; then
14807 if test $wxUSE_PALETTE = yes; then
14813 result=$wxUSE_PALETTE
14816 { echo "$as_me:$LINENO: result: $result" >&5
14817 echo "${ECHO_T}$result" >&6; }
14821 defaultval=$wxUSE_ALL_FEATURES
14822 if test -z "$defaultval"; then
14823 if test x"$enablestring" = xdisable; then
14830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14831 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14832 # Check whether --enable-image was given.
14833 if test "${enable_image+set}" = set; then
14834 enableval=$enable_image;
14835 if test "$enableval" = yes; then
14836 wx_cv_use_image='wxUSE_IMAGE=yes'
14838 wx_cv_use_image='wxUSE_IMAGE=no'
14844 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
14845 if test "x$LINE" != x ; then
14846 eval "DEFAULT_$LINE"
14849 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14854 eval "$wx_cv_use_image"
14855 if test "x$cache" = xyes; then
14856 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
14859 if test x"$enablestring" = xdisable; then
14860 if test $wxUSE_IMAGE = yes; then
14866 result=$wxUSE_IMAGE
14869 { echo "$as_me:$LINENO: result: $result" >&5
14870 echo "${ECHO_T}$result" >&6; }
14874 defaultval=$wxUSE_ALL_FEATURES
14875 if test -z "$defaultval"; then
14876 if test x"$enablestring" = xdisable; then
14883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14884 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14885 # Check whether --enable-gif was given.
14886 if test "${enable_gif+set}" = set; then
14887 enableval=$enable_gif;
14888 if test "$enableval" = yes; then
14889 wx_cv_use_gif='wxUSE_GIF=yes'
14891 wx_cv_use_gif='wxUSE_GIF=no'
14897 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
14898 if test "x$LINE" != x ; then
14899 eval "DEFAULT_$LINE"
14902 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14907 eval "$wx_cv_use_gif"
14908 if test "x$cache" = xyes; then
14909 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
14912 if test x"$enablestring" = xdisable; then
14913 if test $wxUSE_GIF = yes; then
14922 { echo "$as_me:$LINENO: result: $result" >&5
14923 echo "${ECHO_T}$result" >&6; }
14927 defaultval=$wxUSE_ALL_FEATURES
14928 if test -z "$defaultval"; then
14929 if test x"$enablestring" = xdisable; then
14936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14937 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14938 # Check whether --enable-pcx was given.
14939 if test "${enable_pcx+set}" = set; then
14940 enableval=$enable_pcx;
14941 if test "$enableval" = yes; then
14942 wx_cv_use_pcx='wxUSE_PCX=yes'
14944 wx_cv_use_pcx='wxUSE_PCX=no'
14950 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
14951 if test "x$LINE" != x ; then
14952 eval "DEFAULT_$LINE"
14955 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14960 eval "$wx_cv_use_pcx"
14961 if test "x$cache" = xyes; then
14962 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
14965 if test x"$enablestring" = xdisable; then
14966 if test $wxUSE_PCX = yes; then
14975 { echo "$as_me:$LINENO: result: $result" >&5
14976 echo "${ECHO_T}$result" >&6; }
14980 defaultval=$wxUSE_ALL_FEATURES
14981 if test -z "$defaultval"; then
14982 if test x"$enablestring" = xdisable; then
14989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14990 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14991 # Check whether --enable-tga was given.
14992 if test "${enable_tga+set}" = set; then
14993 enableval=$enable_tga;
14994 if test "$enableval" = yes; then
14995 wx_cv_use_tga='wxUSE_TGA=yes'
14997 wx_cv_use_tga='wxUSE_TGA=no'
15003 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15004 if test "x$LINE" != x ; then
15005 eval "DEFAULT_$LINE"
15008 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15013 eval "$wx_cv_use_tga"
15014 if test "x$cache" = xyes; then
15015 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15018 if test x"$enablestring" = xdisable; then
15019 if test $wxUSE_TGA = yes; then
15028 { echo "$as_me:$LINENO: result: $result" >&5
15029 echo "${ECHO_T}$result" >&6; }
15033 defaultval=$wxUSE_ALL_FEATURES
15034 if test -z "$defaultval"; then
15035 if test x"$enablestring" = xdisable; then
15042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15043 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15044 # Check whether --enable-iff was given.
15045 if test "${enable_iff+set}" = set; then
15046 enableval=$enable_iff;
15047 if test "$enableval" = yes; then
15048 wx_cv_use_iff='wxUSE_IFF=yes'
15050 wx_cv_use_iff='wxUSE_IFF=no'
15056 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15057 if test "x$LINE" != x ; then
15058 eval "DEFAULT_$LINE"
15061 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15066 eval "$wx_cv_use_iff"
15067 if test "x$cache" = xyes; then
15068 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15071 if test x"$enablestring" = xdisable; then
15072 if test $wxUSE_IFF = yes; then
15081 { echo "$as_me:$LINENO: result: $result" >&5
15082 echo "${ECHO_T}$result" >&6; }
15086 defaultval=$wxUSE_ALL_FEATURES
15087 if test -z "$defaultval"; then
15088 if test x"$enablestring" = xdisable; then
15095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15096 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15097 # Check whether --enable-pnm was given.
15098 if test "${enable_pnm+set}" = set; then
15099 enableval=$enable_pnm;
15100 if test "$enableval" = yes; then
15101 wx_cv_use_pnm='wxUSE_PNM=yes'
15103 wx_cv_use_pnm='wxUSE_PNM=no'
15109 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15110 if test "x$LINE" != x ; then
15111 eval "DEFAULT_$LINE"
15114 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15119 eval "$wx_cv_use_pnm"
15120 if test "x$cache" = xyes; then
15121 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
15124 if test x"$enablestring" = xdisable; then
15125 if test $wxUSE_PNM = yes; then
15134 { echo "$as_me:$LINENO: result: $result" >&5
15135 echo "${ECHO_T}$result" >&6; }
15139 defaultval=$wxUSE_ALL_FEATURES
15140 if test -z "$defaultval"; then
15141 if test x"$enablestring" = xdisable; then
15148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15149 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15150 # Check whether --enable-xpm was given.
15151 if test "${enable_xpm+set}" = set; then
15152 enableval=$enable_xpm;
15153 if test "$enableval" = yes; then
15154 wx_cv_use_xpm='wxUSE_XPM=yes'
15156 wx_cv_use_xpm='wxUSE_XPM=no'
15162 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15163 if test "x$LINE" != x ; then
15164 eval "DEFAULT_$LINE"
15167 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15172 eval "$wx_cv_use_xpm"
15173 if test "x$cache" = xyes; then
15174 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
15177 if test x"$enablestring" = xdisable; then
15178 if test $wxUSE_XPM = yes; then
15187 { echo "$as_me:$LINENO: result: $result" >&5
15188 echo "${ECHO_T}$result" >&6; }
15192 defaultval=$wxUSE_ALL_FEATURES
15193 if test -z "$defaultval"; then
15194 if test x"$enablestring" = xdisable; then
15201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15202 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15203 # Check whether --enable-ico_cur was given.
15204 if test "${enable_ico_cur+set}" = set; then
15205 enableval=$enable_ico_cur;
15206 if test "$enableval" = yes; then
15207 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15209 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15215 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15216 if test "x$LINE" != x ; then
15217 eval "DEFAULT_$LINE"
15220 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15225 eval "$wx_cv_use_ico_cur"
15226 if test "x$cache" = xyes; then
15227 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
15230 if test x"$enablestring" = xdisable; then
15231 if test $wxUSE_ICO_CUR = yes; then
15237 result=$wxUSE_ICO_CUR
15240 { echo "$as_me:$LINENO: result: $result" >&5
15241 echo "${ECHO_T}$result" >&6; }
15247 defaultval=$wxUSE_ALL_FEATURES
15248 if test -z "$defaultval"; then
15249 if test x"$enablestring" = xdisable; then
15256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15257 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15258 # Check whether --enable-dccache was given.
15259 if test "${enable_dccache+set}" = set; then
15260 enableval=$enable_dccache;
15261 if test "$enableval" = yes; then
15262 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15264 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15270 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
15271 if test "x$LINE" != x ; then
15272 eval "DEFAULT_$LINE"
15275 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15280 eval "$wx_cv_use_dccache"
15281 if test "x$cache" = xyes; then
15282 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
15285 if test x"$enablestring" = xdisable; then
15286 if test $wxUSE_DC_CACHEING = yes; then
15292 result=$wxUSE_DC_CACHEING
15295 { echo "$as_me:$LINENO: result: $result" >&5
15296 echo "${ECHO_T}$result" >&6; }
15300 defaultval=$wxUSE_ALL_FEATURES
15301 if test -z "$defaultval"; then
15302 if test x"$enablestring" = xdisable; then
15309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
15310 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
15311 # Check whether --enable-ps-in-msw was given.
15312 if test "${enable_ps_in_msw+set}" = set; then
15313 enableval=$enable_ps_in_msw;
15314 if test "$enableval" = yes; then
15315 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15317 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15323 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
15324 if test "x$LINE" != x ; then
15325 eval "DEFAULT_$LINE"
15328 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15333 eval "$wx_cv_use_ps_in_msw"
15334 if test "x$cache" = xyes; then
15335 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
15338 if test x"$enablestring" = xdisable; then
15339 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
15345 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15348 { echo "$as_me:$LINENO: result: $result" >&5
15349 echo "${ECHO_T}$result" >&6; }
15353 defaultval=$wxUSE_ALL_FEATURES
15354 if test -z "$defaultval"; then
15355 if test x"$enablestring" = xdisable; then
15362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
15363 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
15364 # Check whether --enable-ownerdrawn was given.
15365 if test "${enable_ownerdrawn+set}" = set; then
15366 enableval=$enable_ownerdrawn;
15367 if test "$enableval" = yes; then
15368 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15370 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15376 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
15377 if test "x$LINE" != x ; then
15378 eval "DEFAULT_$LINE"
15381 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15386 eval "$wx_cv_use_ownerdrawn"
15387 if test "x$cache" = xyes; then
15388 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
15391 if test x"$enablestring" = xdisable; then
15392 if test $wxUSE_OWNER_DRAWN = yes; then
15398 result=$wxUSE_OWNER_DRAWN
15401 { echo "$as_me:$LINENO: result: $result" >&5
15402 echo "${ECHO_T}$result" >&6; }
15406 defaultval=$wxUSE_ALL_FEATURES
15407 if test -z "$defaultval"; then
15408 if test x"$enablestring" = xdisable; then
15415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
15416 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
15417 # Check whether --enable-regkey was given.
15418 if test "${enable_regkey+set}" = set; then
15419 enableval=$enable_regkey;
15420 if test "$enableval" = yes; then
15421 wx_cv_use_regkey='wxUSE_REGKEY=yes'
15423 wx_cv_use_regkey='wxUSE_REGKEY=no'
15429 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
15430 if test "x$LINE" != x ; then
15431 eval "DEFAULT_$LINE"
15434 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
15439 eval "$wx_cv_use_regkey"
15440 if test "x$cache" = xyes; then
15441 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
15444 if test x"$enablestring" = xdisable; then
15445 if test $wxUSE_REGKEY = yes; then
15451 result=$wxUSE_REGKEY
15454 { echo "$as_me:$LINENO: result: $result" >&5
15455 echo "${ECHO_T}$result" >&6; }
15459 defaultval=$wxUSE_ALL_FEATURES
15460 if test -z "$defaultval"; then
15461 if test x"$enablestring" = xdisable; then
15468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
15469 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
15470 # Check whether --enable-uxtheme was given.
15471 if test "${enable_uxtheme+set}" = set; then
15472 enableval=$enable_uxtheme;
15473 if test "$enableval" = yes; then
15474 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15476 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15482 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
15483 if test "x$LINE" != x ; then
15484 eval "DEFAULT_$LINE"
15487 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15492 eval "$wx_cv_use_uxtheme"
15493 if test "x$cache" = xyes; then
15494 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
15497 if test x"$enablestring" = xdisable; then
15498 if test $wxUSE_UXTHEME = yes; then
15504 result=$wxUSE_UXTHEME
15507 { echo "$as_me:$LINENO: result: $result" >&5
15508 echo "${ECHO_T}$result" >&6; }
15512 defaultval=$wxUSE_ALL_FEATURES
15513 if test -z "$defaultval"; then
15514 if test x"$enablestring" = xdisable; then
15521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
15522 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
15523 # Check whether --enable-wxdib was given.
15524 if test "${enable_wxdib+set}" = set; then
15525 enableval=$enable_wxdib;
15526 if test "$enableval" = yes; then
15527 wx_cv_use_wxdib='wxUSE_DIB=yes'
15529 wx_cv_use_wxdib='wxUSE_DIB=no'
15535 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
15536 if test "x$LINE" != x ; then
15537 eval "DEFAULT_$LINE"
15540 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
15545 eval "$wx_cv_use_wxdib"
15546 if test "x$cache" = xyes; then
15547 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
15550 if test x"$enablestring" = xdisable; then
15551 if test $wxUSE_DIB = yes; then
15560 { echo "$as_me:$LINENO: result: $result" >&5
15561 echo "${ECHO_T}$result" >&6; }
15567 echo "saving argument cache $wx_arg_cache_file"
15568 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15572 { echo "$as_me:$LINENO: checking for toolkit" >&5
15573 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15575 # In Wine, we need to default to MSW, not GTK or MOTIF
15576 if test "$wxUSE_WINE" = "yes"; then
15577 DEFAULT_DEFAULT_wxUSE_GTK=0
15578 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15579 DEFAULT_DEFAULT_wxUSE_MSW=1
15582 CXX=${CXX:-wineg++}
15586 if test "$wxUSE_GUI" = "yes"; then
15588 if test "$USE_BEOS" = 1; then
15589 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15590 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15591 { (exit 1); exit 1; }; }
15594 if test "$TOOLKIT_GIVEN" = 1; then
15595 for toolkit in `echo $ALL_TOOLKITS`; do
15597 eval "value=\$${var}"
15598 if test "x$value" = "xno"; then
15600 elif test "x$value" != "x"; then
15604 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15605 eval "wx${toolkit}_VERSION=$value"
15609 for toolkit in `echo $ALL_TOOLKITS`; do
15610 if test "$has_toolkit_in_cache" != 1; then
15611 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15613 var=DEFAULT_wxUSE_$toolkit
15615 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15616 if test "x$version" != "x"; then
15617 eval "wx${toolkit}_VERSION=$version"
15620 eval "wxUSE_$toolkit=\$${var}"
15624 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15625 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15626 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15629 *-pc-os2_emx | *-pc-os2-emx )
15630 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15633 case "$NUM_TOOLKITS" in
15637 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15638 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15639 { (exit 1); exit 1; }; }
15642 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15643 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15644 { (exit 1); exit 1; }; }
15647 # to be removed when --disable-gtk2 isn't needed
15648 if test "x$wxUSE_GTK2" = "xyes"; then
15650 elif test "x$wxUSE_GTK2" = "xno"; then
15654 for toolkit in `echo $ALL_TOOLKITS`; do
15656 eval "value=\$${var}"
15657 if test "x$value" != x; then
15658 cache_var=CACHE_$toolkit
15659 eval "cache=\$${cache_var}"
15660 if test "$cache" = 1; then
15661 echo "$var=$value" >> ${wx_arg_cache_file}
15662 eval "version=\$wx${toolkit}_VERSION"
15663 if test "x$version" != "x"; then
15664 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15667 if test "$value" = 1; then
15668 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15669 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15670 echo "${ECHO_T}$toolkit_echo" >&6; }
15675 if test "x$host_alias" != "x"; then
15676 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15677 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15679 { echo "$as_me:$LINENO: result: base only" >&5
15680 echo "${ECHO_T}base only" >&6; }
15685 cat >confcache <<\_ACEOF
15686 # This file is a shell script that caches the results of configure
15687 # tests run on this system so they can be shared between configure
15688 # scripts and configure runs, see configure's option --config-cache.
15689 # It is not useful on other systems. If it contains results you don't
15690 # want to keep, you may remove or edit it.
15692 # config.status only pays attention to the cache file if you give it
15693 # the --recheck option to rerun configure.
15695 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
15696 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15697 # following values.
15701 # The following way of writing the cache mishandles newlines in values,
15702 # but we know of no workaround that is simple, portable, and efficient.
15703 # So, we kill variables containing newlines.
15704 # Ultrix sh set writes to stderr and can't be redirected directly,
15705 # and sets the high bit in the cache file unless we assign to the vars.
15707 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15708 eval ac_val
=\$
$ac_var
15712 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15713 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15716 _
| IFS
| as_nl
) ;; #(
15717 *) $as_unset $ac_var ;;
15723 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15724 *${as_nl}ac_space
=\
*)
15725 # `set' does not quote correctly, so add quotes (double-quote
15726 # substitution turns \\\\ into \\, and sed turns \\ into \).
15729 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15732 # `set' quotes correctly as required by POSIX, so do not add quotes.
15733 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15742 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15744 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15746 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15747 if test -w "$cache_file"; then
15748 test "x$cache_file" != "x/dev/null" &&
15749 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15750 echo "$as_me: updating cache $cache_file" >&6;}
15751 cat confcache
>$cache_file
15753 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15754 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15764 ac_cpp
='$CPP $CPPFLAGS'
15765 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15766 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15767 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15768 if test -n "$ac_tool_prefix"; then
15769 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15770 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
15771 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15773 if test "${ac_cv_prog_CC+set}" = set; then
15774 echo $ECHO_N "(cached) $ECHO_C" >&6
15776 if test -n "$CC"; then
15777 ac_cv_prog_CC
="$CC" # Let the user override the test.
15779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15780 for as_dir
in $PATH
15783 test -z "$as_dir" && as_dir
=.
15784 for ac_exec_ext
in '' $ac_executable_extensions; do
15785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15786 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
15787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15797 if test -n "$CC"; then
15798 { echo "$as_me:$LINENO: result: $CC" >&5
15799 echo "${ECHO_T}$CC" >&6; }
15801 { echo "$as_me:$LINENO: result: no" >&5
15802 echo "${ECHO_T}no" >&6; }
15807 if test -z "$ac_cv_prog_CC"; then
15809 # Extract the first word of "gcc", so it can be a program name with args.
15810 set dummy gcc
; ac_word
=$2
15811 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15813 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15814 echo $ECHO_N "(cached) $ECHO_C" >&6
15816 if test -n "$ac_ct_CC"; then
15817 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
15819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15820 for as_dir
in $PATH
15823 test -z "$as_dir" && as_dir
=.
15824 for ac_exec_ext
in '' $ac_executable_extensions; do
15825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15826 ac_cv_prog_ac_ct_CC
="gcc"
15827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15836 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
15837 if test -n "$ac_ct_CC"; then
15838 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15839 echo "${ECHO_T}$ac_ct_CC" >&6; }
15841 { echo "$as_me:$LINENO: result: no" >&5
15842 echo "${ECHO_T}no" >&6; }
15845 if test "x$ac_ct_CC" = x
; then
15848 case $cross_compiling:$ac_tool_warned in
15850 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15851 whose name does not start with the host triplet. If you think this
15852 configuration is useful to you, please write to autoconf@gnu.org." >&5
15853 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15854 whose name does not start with the host triplet. If you think this
15855 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15856 ac_tool_warned
=yes ;;
15861 CC
="$ac_cv_prog_CC"
15864 if test -z "$CC"; then
15865 if test -n "$ac_tool_prefix"; then
15866 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15867 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
15868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15870 if test "${ac_cv_prog_CC+set}" = set; then
15871 echo $ECHO_N "(cached) $ECHO_C" >&6
15873 if test -n "$CC"; then
15874 ac_cv_prog_CC
="$CC" # Let the user override the test.
15876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15877 for as_dir
in $PATH
15880 test -z "$as_dir" && as_dir
=.
15881 for ac_exec_ext
in '' $ac_executable_extensions; do
15882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15883 ac_cv_prog_CC
="${ac_tool_prefix}cc"
15884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15894 if test -n "$CC"; then
15895 { echo "$as_me:$LINENO: result: $CC" >&5
15896 echo "${ECHO_T}$CC" >&6; }
15898 { echo "$as_me:$LINENO: result: no" >&5
15899 echo "${ECHO_T}no" >&6; }
15905 if test -z "$CC"; then
15906 # Extract the first word of "cc", so it can be a program name with args.
15907 set dummy cc
; ac_word
=$2
15908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15910 if test "${ac_cv_prog_CC+set}" = set; then
15911 echo $ECHO_N "(cached) $ECHO_C" >&6
15913 if test -n "$CC"; then
15914 ac_cv_prog_CC
="$CC" # Let the user override the test.
15916 ac_prog_rejected
=no
15917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15918 for as_dir
in $PATH
15921 test -z "$as_dir" && as_dir
=.
15922 for ac_exec_ext
in '' $ac_executable_extensions; do
15923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15924 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15925 ac_prog_rejected
=yes
15929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15936 if test $ac_prog_rejected = yes; then
15937 # We found a bogon in the path, so make sure we never use it.
15938 set dummy
$ac_cv_prog_CC
15940 if test $# != 0; then
15941 # We chose a different compiler from the bogus one.
15942 # However, it has the same basename, so the bogon will be chosen
15943 # first if we set CC to just the basename; use the full file name.
15945 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
15951 if test -n "$CC"; then
15952 { echo "$as_me:$LINENO: result: $CC" >&5
15953 echo "${ECHO_T}$CC" >&6; }
15955 { echo "$as_me:$LINENO: result: no" >&5
15956 echo "${ECHO_T}no" >&6; }
15961 if test -z "$CC"; then
15962 if test -n "$ac_tool_prefix"; then
15963 for ac_prog
in cl.exe
15965 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15966 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15969 if test "${ac_cv_prog_CC+set}" = set; then
15970 echo $ECHO_N "(cached) $ECHO_C" >&6
15972 if test -n "$CC"; then
15973 ac_cv_prog_CC
="$CC" # Let the user override the test.
15975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15976 for as_dir
in $PATH
15979 test -z "$as_dir" && as_dir
=.
15980 for ac_exec_ext
in '' $ac_executable_extensions; do
15981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15982 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
15983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15993 if test -n "$CC"; then
15994 { echo "$as_me:$LINENO: result: $CC" >&5
15995 echo "${ECHO_T}$CC" >&6; }
15997 { echo "$as_me:$LINENO: result: no" >&5
15998 echo "${ECHO_T}no" >&6; }
16002 test -n "$CC" && break
16005 if test -z "$CC"; then
16007 for ac_prog
in cl.exe
16009 # Extract the first word of "$ac_prog", so it can be a program name with args.
16010 set dummy
$ac_prog; ac_word
=$2
16011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16013 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16014 echo $ECHO_N "(cached) $ECHO_C" >&6
16016 if test -n "$ac_ct_CC"; then
16017 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16020 for as_dir
in $PATH
16023 test -z "$as_dir" && as_dir
=.
16024 for ac_exec_ext
in '' $ac_executable_extensions; do
16025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16026 ac_cv_prog_ac_ct_CC
="$ac_prog"
16027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16036 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16037 if test -n "$ac_ct_CC"; then
16038 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16039 echo "${ECHO_T}$ac_ct_CC" >&6; }
16041 { echo "$as_me:$LINENO: result: no" >&5
16042 echo "${ECHO_T}no" >&6; }
16046 test -n "$ac_ct_CC" && break
16049 if test "x$ac_ct_CC" = x
; then
16052 case $cross_compiling:$ac_tool_warned in
16054 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16055 whose name does not start with the host triplet. If you think this
16056 configuration is useful to you, please write to autoconf@gnu.org." >&5
16057 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16058 whose name does not start with the host triplet. If you think this
16059 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16060 ac_tool_warned
=yes ;;
16069 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16070 See \`config.log' for more details." >&5
16071 echo "$as_me: error: no acceptable C compiler found in \$PATH
16072 See \`config.log' for more details." >&2;}
16073 { (exit 1); exit 1; }; }
16075 # Provide some information about the compiler.
16076 echo "$as_me:$LINENO: checking for C compiler version" >&5
16077 ac_compiler
=`set X $ac_compile; echo $2`
16078 { (ac_try
="$ac_compiler --version >&5"
16079 case "(($ac_try" in
16080 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16081 *) ac_try_echo=$ac_try;;
16083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16084 (eval "$ac_compiler --version >&5") 2>&5
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); }
16088 { (ac_try="$ac_compiler -v >&5"
16089 case "(($ac_try" in
16090 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16091 *) ac_try_echo
=$ac_try;;
16093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16094 (eval "$ac_compiler -v >&5") 2>&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); }
16098 { (ac_try
="$ac_compiler -V >&5"
16099 case "(($ac_try" in
16100 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16101 *) ac_try_echo=$ac_try;;
16103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16104 (eval "$ac_compiler -V >&5") 2>&5
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }
16109 cat >conftest.$ac_ext <<_ACEOF
16112 cat confdefs.h >>conftest.$ac_ext
16113 cat >>conftest.$ac_ext <<_ACEOF
16114 /* end confdefs.h. */
16124 ac_clean_files_save=$ac_clean_files
16125 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16126 # Try to create an executable without -o first, disregard a.out.
16127 # It will help us diagnose broken compilers, and finding out an intuition
16129 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16130 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16131 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16133 # List of possible output files, starting from the most likely.
16134 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
16135 # only as a last resort. b.out is created by i960 compilers.
16136 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
16138 # The IRIX 6 linker writes into existing files which may not be
16139 # executable, retaining their permissions. Remove them first so a
16140 # subsequent execution test works.
16142 for ac_file in $ac_files
16145 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16146 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16151 if { (ac_try="$ac_link_default"
16152 case "(($ac_try" in
16153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16154 *) ac_try_echo=$ac_try;;
16156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16157 (eval "$ac_link_default") 2>&5
16159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160 (exit $ac_status); }; then
16161 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16162 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16163 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16164 # so that the user can short-circuit this test for compilers unknown to
16166 for ac_file
in $ac_files ''
16168 test -f "$ac_file" || continue
16170 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
16173 # We found the default executable, but exeext='' is most
16177 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
16179 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16181 # We set ac_cv_exeext here because the later test for it is not
16182 # safe: cross compilers may not add the suffix if given an `-o'
16183 # argument, so we may need to know it at that point already.
16184 # Even if this section looks crufty: it has the advantage of
16185 # actually working.
16191 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
16197 { echo "$as_me:$LINENO: result: $ac_file" >&5
16198 echo "${ECHO_T}$ac_file" >&6; }
16199 if test -z "$ac_file"; then
16200 echo "$as_me: failed program was:" >&5
16201 sed 's/^/| /' conftest.
$ac_ext >&5
16203 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16204 See \`config.log' for more details." >&5
16205 echo "$as_me: error: C compiler cannot create executables
16206 See \`config.log' for more details." >&2;}
16207 { (exit 77); exit 77; }; }
16210 ac_exeext
=$ac_cv_exeext
16212 # Check that the compiler produces executables we can run. If not, either
16213 # the compiler is broken, or we cross compile.
16214 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16215 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16216 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16217 # If not cross compiling, check that we can run a simple program.
16218 if test "$cross_compiling" != yes; then
16219 if { ac_try
='./$ac_file'
16220 { (case "(($ac_try" in
16221 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16222 *) ac_try_echo=$ac_try;;
16224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16225 (eval "$ac_try") 2>&5
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); }; }; then
16231 if test "$cross_compiling" = maybe; then
16232 cross_compiling=yes
16234 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16235 If you meant to cross compile, use \`--host'.
16236 See \`config.log' for more details.
" >&5
16237 echo "$as_me: error
: cannot run C compiled programs.
16238 If you meant to cross compile
, use \
`--host'.
16239 See \`config.log
' for more details." >&2;}
16240 { (exit 1); exit 1; }; }
16244 { echo "$as_me:$LINENO: result: yes" >&5
16245 echo "${ECHO_T}yes" >&6; }
16247 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16248 ac_clean_files=$ac_clean_files_save
16249 # Check that the compiler produces executables we can run. If not, either
16250 # the compiler is broken, or we cross compile.
16251 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16252 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16253 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16254 echo "${ECHO_T}$cross_compiling" >&6; }
16256 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16257 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16258 if { (ac_try="$ac_link"
16259 case "(($ac_try" in
16260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16261 *) ac_try_echo=$ac_try;;
16263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16264 (eval "$ac_link") 2>&5
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); }; then
16268 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
16269 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
16270 # work properly (i.e., refer to `conftest.exe
'), while it won't with
16272 for ac_file
in conftest.exe conftest conftest.
*; do
16273 test -f "$ac_file" || continue
16275 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
16276 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16282 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16283 See \`config.log' for more details." >&5
16284 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16285 See \`config.log' for more details." >&2;}
16286 { (exit 1); exit 1; }; }
16289 rm -f conftest
$ac_cv_exeext
16290 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16291 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16293 rm -f conftest.
$ac_ext
16294 EXEEXT
=$ac_cv_exeext
16296 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16297 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16298 if test "${ac_cv_objext+set}" = set; then
16299 echo $ECHO_N "(cached) $ECHO_C" >&6
16301 cat >conftest.
$ac_ext <<_ACEOF
16304 cat confdefs.h
>>conftest.
$ac_ext
16305 cat >>conftest.
$ac_ext <<_ACEOF
16306 /* end confdefs.h. */
16316 rm -f conftest.o conftest.obj
16317 if { (ac_try
="$ac_compile"
16318 case "(($ac_try" in
16319 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16320 *) ac_try_echo=$ac_try;;
16322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16323 (eval "$ac_compile") 2>&5
16325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326 (exit $ac_status); }; then
16327 for ac_file in conftest.o conftest.obj conftest.*; do
16328 test -f "$ac_file" || continue;
16330 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16331 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16336 echo "$as_me: failed program was:" >&5
16337 sed 's/^/| /' conftest.$ac_ext >&5
16339 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16340 See \`config.log
' for more details." >&5
16341 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16342 See \`config.log' for more details.
" >&2;}
16343 { (exit 1); exit 1; }; }
16346 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16348 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
16349 echo "${ECHO_T}$ac_cv_objext" >&6; }
16350 OBJEXT=$ac_cv_objext
16352 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
16353 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
16354 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16355 echo $ECHO_N "(cached
) $ECHO_C" >&6
16357 cat >conftest.$ac_ext <<_ACEOF
16360 cat confdefs.h >>conftest.$ac_ext
16361 cat >>conftest.$ac_ext <<_ACEOF
16362 /* end confdefs.h. */
16375 rm -f conftest.$ac_objext
16376 if { (ac_try="$ac_compile"
16377 case "(($ac_try" in
16378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16379 *) ac_try_echo=$ac_try;;
16381 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16382 (eval "$ac_compile") 2>conftest.er1
16384 grep -v '^ *+' conftest.er1 >conftest.err
16386 cat conftest.err >&5
16387 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16388 (exit $ac_status); } && {
16389 test -z "$ac_c_werror_flag" ||
16390 test ! -s conftest.err
16391 } && test -s conftest.$ac_objext; then
16392 ac_compiler_gnu=yes
16394 echo "$as_me: failed program was
:" >&5
16395 sed 's/^/| /' conftest.$ac_ext >&5
16400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16401 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16404 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
16405 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16406 GCC=`test $ac_compiler_gnu = yes && echo yes`
16407 ac_test_CFLAGS=${CFLAGS+set}
16408 ac_save_CFLAGS=$CFLAGS
16409 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
16410 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
16411 if test "${ac_cv_prog_cc_g+set}" = set; then
16412 echo $ECHO_N "(cached
) $ECHO_C" >&6
16414 ac_save_c_werror_flag=$ac_c_werror_flag
16415 ac_c_werror_flag=yes
16418 cat >conftest.$ac_ext <<_ACEOF
16421 cat confdefs.h >>conftest.$ac_ext
16422 cat >>conftest.$ac_ext <<_ACEOF
16423 /* end confdefs.h. */
16433 rm -f conftest.$ac_objext
16434 if { (ac_try="$ac_compile"
16435 case "(($ac_try" in
16436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16437 *) ac_try_echo=$ac_try;;
16439 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16440 (eval "$ac_compile") 2>conftest.er1
16442 grep -v '^ *+' conftest.er1 >conftest.err
16444 cat conftest.err >&5
16445 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16446 (exit $ac_status); } && {
16447 test -z "$ac_c_werror_flag" ||
16448 test ! -s conftest.err
16449 } && test -s conftest.$ac_objext; then
16450 ac_cv_prog_cc_g=yes
16452 echo "$as_me: failed program was
:" >&5
16453 sed 's/^/| /' conftest.$ac_ext >&5
16456 cat >conftest.$ac_ext <<_ACEOF
16459 cat confdefs.h >>conftest.$ac_ext
16460 cat >>conftest.$ac_ext <<_ACEOF
16461 /* end confdefs.h. */
16471 rm -f conftest.$ac_objext
16472 if { (ac_try="$ac_compile"
16473 case "(($ac_try" in
16474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16475 *) ac_try_echo=$ac_try;;
16477 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16478 (eval "$ac_compile") 2>conftest.er1
16480 grep -v '^ *+' conftest.er1 >conftest.err
16482 cat conftest.err >&5
16483 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16484 (exit $ac_status); } && {
16485 test -z "$ac_c_werror_flag" ||
16486 test ! -s conftest.err
16487 } && test -s conftest.$ac_objext; then
16490 echo "$as_me: failed program was
:" >&5
16491 sed 's/^/| /' conftest.$ac_ext >&5
16493 ac_c_werror_flag=$ac_save_c_werror_flag
16495 cat >conftest.$ac_ext <<_ACEOF
16498 cat confdefs.h >>conftest.$ac_ext
16499 cat >>conftest.$ac_ext <<_ACEOF
16500 /* end confdefs.h. */
16510 rm -f conftest.$ac_objext
16511 if { (ac_try="$ac_compile"
16512 case "(($ac_try" in
16513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16514 *) ac_try_echo=$ac_try;;
16516 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16517 (eval "$ac_compile") 2>conftest.er1
16519 grep -v '^ *+' conftest.er1 >conftest.err
16521 cat conftest.err >&5
16522 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16523 (exit $ac_status); } && {
16524 test -z "$ac_c_werror_flag" ||
16525 test ! -s conftest.err
16526 } && test -s conftest.$ac_objext; then
16527 ac_cv_prog_cc_g=yes
16529 echo "$as_me: failed program was
:" >&5
16530 sed 's/^/| /' conftest.$ac_ext >&5
16535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16542 ac_c_werror_flag=$ac_save_c_werror_flag
16544 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
16545 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16546 if test "$ac_test_CFLAGS" = set; then
16547 CFLAGS=$ac_save_CFLAGS
16548 elif test $ac_cv_prog_cc_g = yes; then
16549 if test "$GCC" = yes; then
16555 if test "$GCC" = yes; then
16561 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
16562 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
16563 if test "${ac_cv_prog_cc_c89+set}" = set; then
16564 echo $ECHO_N "(cached
) $ECHO_C" >&6
16566 ac_cv_prog_cc_c89=no
16568 cat >conftest.$ac_ext <<_ACEOF
16571 cat confdefs.h >>conftest.$ac_ext
16572 cat >>conftest.$ac_ext <<_ACEOF
16573 /* end confdefs.h. */
16574 #include <stdarg.h>
16576 #include <sys/types.h>
16577 #include <sys/stat.h>
16578 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16579 struct buf { int x; };
16580 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16581 static char *e (p, i)
16587 static char *f (char * (*g) (char **, int), char **p, ...)
16592 s = g (p, va_arg (v,int));
16597 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16598 function prototypes and stuff, but not '\xHH' hex character constants.
16599 These don't provoke an error unfortunately, instead are silently treated
16600 as 'x'. The following induces an error, until -std is added to get
16601 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16602 array size at least. It's necessary to write '\x00'==0 to get something
16603 that's true only with -std. */
16604 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16606 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16607 inside strings and character constants. */
16609 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16611 int test (int i, double x);
16612 struct s1 {int (*f) (int a);};
16613 struct s2 {int (*f) (double a);};
16614 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16620 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16625 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16626 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16628 CC="$ac_save_CC $ac_arg"
16629 rm -f conftest.$ac_objext
16630 if { (ac_try="$ac_compile"
16631 case "(($ac_try" in
16632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16633 *) ac_try_echo=$ac_try;;
16635 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16636 (eval "$ac_compile") 2>conftest.er1
16638 grep -v '^ *+' conftest.er1 >conftest.err
16640 cat conftest.err >&5
16641 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16642 (exit $ac_status); } && {
16643 test -z "$ac_c_werror_flag" ||
16644 test ! -s conftest.err
16645 } && test -s conftest.$ac_objext; then
16646 ac_cv_prog_cc_c89=$ac_arg
16648 echo "$as_me: failed program was
:" >&5
16649 sed 's/^/| /' conftest.$ac_ext >&5
16654 rm -f core conftest.err conftest.$ac_objext
16655 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
16657 rm -f conftest.$ac_ext
16662 case "x
$ac_cv_prog_cc_c89" in
16664 { echo "$as_me:$LINENO: result
: none needed
" >&5
16665 echo "${ECHO_T}none needed
" >&6; } ;;
16667 { echo "$as_me:$LINENO: result
: unsupported
" >&5
16668 echo "${ECHO_T}unsupported
" >&6; } ;;
16670 CC="$CC $ac_cv_prog_cc_c89"
16671 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
16672 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16677 ac_cpp='$CPP $CPPFLAGS'
16678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16686 ac_cpp='$CPP $CPPFLAGS'
16687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16691 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
16692 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
16693 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16694 echo $ECHO_N "(cached
) $ECHO_C" >&6
16696 cat >conftest.$ac_ext <<_ACEOF
16699 cat confdefs.h >>conftest.$ac_ext
16700 cat >>conftest.$ac_ext <<_ACEOF
16701 /* end confdefs.h. */
16707 #ifndef __INTEL_COMPILER
16715 rm -f conftest.$ac_objext
16716 if { (ac_try="$ac_compile"
16717 case "(($ac_try" in
16718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16719 *) ac_try_echo=$ac_try;;
16721 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16722 (eval "$ac_compile") 2>conftest.er1
16724 grep -v '^ *+' conftest.er1 >conftest.err
16726 cat conftest.err >&5
16727 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16728 (exit $ac_status); } && {
16729 test -z "$ac_c_werror_flag" ||
16730 test ! -s conftest.err
16731 } && test -s conftest.$ac_objext; then
16732 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16734 echo "$as_me: failed program was
:" >&5
16735 sed 's/^/| /' conftest.$ac_ext >&5
16737 bakefile_cv_c_compiler___INTEL_COMPILER=no
16741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16745 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16746 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16747 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
16753 ac_cpp='$CPP $CPPFLAGS'
16754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16761 if test "x
$GCC" != "xyes
"; then
16762 if test "xCC
" = "xC
"; then
16763 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
16764 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
16765 if test "${bakefile_cv_c_exto+set}" = set; then
16766 echo $ECHO_N "(cached
) $ECHO_C" >&6
16768 cat >conftest.$ac_ext <<_ACEOF
16771 cat confdefs.h >>conftest.$ac_ext
16772 cat >>conftest.$ac_ext <<_ACEOF
16773 /* end confdefs.h. */
16783 rm -f conftest.$ac_objext conftest.$ac_ext.o
16784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16785 (eval $ac_compile) 2>&5
16787 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16788 (exit $ac_status); }; then
16789 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16791 conftest.$ac_ext.o)
16792 bakefile_cv_c_exto="-ext o
"
16799 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
16800 See \
`config.log' for more details." >&5
16801 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16802 See \`config.log
' for more details." >&2;}
16803 { (exit 1); exit 1; }; }
16807 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16810 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16811 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16812 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16813 if test "c" = "c"; then
16814 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16816 if test "c" = "cxx"; then
16817 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16821 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16822 unset ac_cv_prog_cc_g
16823 ac_test_CFLAGS=${CFLAGS+set}
16824 ac_save_CFLAGS=$CFLAGS
16825 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16826 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16827 if test "${ac_cv_prog_cc_g+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16830 ac_save_c_werror_flag=$ac_c_werror_flag
16831 ac_c_werror_flag=yes
16834 cat >conftest.$ac_ext <<_ACEOF
16837 cat confdefs.h >>conftest.$ac_ext
16838 cat >>conftest.$ac_ext <<_ACEOF
16839 /* end confdefs.h. */
16849 rm -f conftest.$ac_objext
16850 if { (ac_try="$ac_compile"
16851 case "(($ac_try" in
16852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16853 *) ac_try_echo=$ac_try;;
16855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16856 (eval "$ac_compile") 2>conftest.er1
16858 grep -v '^
*+' conftest.er1 >conftest.err
16860 cat conftest.err >&5
16861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16862 (exit $ac_status); } && {
16863 test -z "$ac_c_werror_flag" ||
16864 test ! -s conftest.err
16865 } && test -s conftest.$ac_objext; then
16866 ac_cv_prog_cc_g=yes
16868 echo "$as_me: failed program was:" >&5
16869 sed 's
/^
/| /' conftest.$ac_ext >&5
16872 cat >conftest.$ac_ext <<_ACEOF
16875 cat confdefs.h >>conftest.$ac_ext
16876 cat >>conftest.$ac_ext <<_ACEOF
16877 /* end confdefs.h. */
16887 rm -f conftest.$ac_objext
16888 if { (ac_try="$ac_compile"
16889 case "(($ac_try" in
16890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16891 *) ac_try_echo=$ac_try;;
16893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16894 (eval "$ac_compile") 2>conftest.er1
16896 grep -v '^
*+' conftest.er1 >conftest.err
16898 cat conftest.err >&5
16899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16900 (exit $ac_status); } && {
16901 test -z "$ac_c_werror_flag" ||
16902 test ! -s conftest.err
16903 } && test -s conftest.$ac_objext; then
16906 echo "$as_me: failed program was:" >&5
16907 sed 's
/^
/| /' conftest.$ac_ext >&5
16909 ac_c_werror_flag=$ac_save_c_werror_flag
16911 cat >conftest.$ac_ext <<_ACEOF
16914 cat confdefs.h >>conftest.$ac_ext
16915 cat >>conftest.$ac_ext <<_ACEOF
16916 /* end confdefs.h. */
16926 rm -f conftest.$ac_objext
16927 if { (ac_try="$ac_compile"
16928 case "(($ac_try" in
16929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16930 *) ac_try_echo=$ac_try;;
16932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16933 (eval "$ac_compile") 2>conftest.er1
16935 grep -v '^
*+' conftest.er1 >conftest.err
16937 cat conftest.err >&5
16938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939 (exit $ac_status); } && {
16940 test -z "$ac_c_werror_flag" ||
16941 test ! -s conftest.err
16942 } && test -s conftest.$ac_objext; then
16943 ac_cv_prog_cc_g=yes
16945 echo "$as_me: failed program was:" >&5
16946 sed 's
/^
/| /' conftest.$ac_ext >&5
16951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16958 ac_c_werror_flag=$ac_save_c_werror_flag
16960 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16961 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16962 if test "$ac_test_CFLAGS" = set; then
16963 CFLAGS=$ac_save_CFLAGS
16964 elif test $ac_cv_prog_cc_g = yes; then
16965 if test "$GCC" = yes; then
16971 if test "$GCC" = yes; then
16985 ac_cpp='$CPP $CPPFLAGS'
16986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16987 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16990 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16991 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16992 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16993 echo $ECHO_N "(cached) $ECHO_C" >&6
16995 cat >conftest.$ac_ext <<_ACEOF
16998 cat confdefs.h >>conftest.$ac_ext
16999 cat >>conftest.$ac_ext <<_ACEOF
17000 /* end confdefs.h. */
17014 rm -f conftest.$ac_objext
17015 if { (ac_try="$ac_compile"
17016 case "(($ac_try" in
17017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17018 *) ac_try_echo=$ac_try;;
17020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17021 (eval "$ac_compile") 2>conftest.er1
17023 grep -v '^
*+' conftest.er1 >conftest.err
17025 cat conftest.err >&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); } && {
17028 test -z "$ac_c_werror_flag" ||
17029 test ! -s conftest.err
17030 } && test -s conftest.$ac_objext; then
17031 bakefile_cv_c_compiler___xlC__=yes
17033 echo "$as_me: failed program was:" >&5
17034 sed 's
/^
/| /' conftest.$ac_ext >&5
17036 bakefile_cv_c_compiler___xlC__=no
17040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17044 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17045 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17046 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17052 ac_cpp='$CPP $CPPFLAGS'
17053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17054 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17065 ac_cpp='$CPP $CPPFLAGS'
17066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17067 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17070 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17071 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17072 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17073 echo $ECHO_N "(cached) $ECHO_C" >&6
17075 cat >conftest.$ac_ext <<_ACEOF
17078 cat confdefs.h >>conftest.$ac_ext
17079 cat >>conftest.$ac_ext <<_ACEOF
17080 /* end confdefs.h. */
17094 rm -f conftest.$ac_objext
17095 if { (ac_try="$ac_compile"
17096 case "(($ac_try" in
17097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17098 *) ac_try_echo=$ac_try;;
17100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17101 (eval "$ac_compile") 2>conftest.er1
17103 grep -v '^
*+' conftest.er1 >conftest.err
17105 cat conftest.err >&5
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); } && {
17108 test -z "$ac_c_werror_flag" ||
17109 test ! -s conftest.err
17110 } && test -s conftest.$ac_objext; then
17111 bakefile_cv_c_compiler___MWERKS__=yes
17113 echo "$as_me: failed program was:" >&5
17114 sed 's
/^
/| /' conftest.$ac_ext >&5
17116 bakefile_cv_c_compiler___MWERKS__=no
17120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17124 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17125 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17126 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17132 ac_cpp='$CPP $CPPFLAGS'
17133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17134 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17142 ac_cpp='$CPP $CPPFLAGS'
17143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17144 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17147 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17148 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17149 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17150 echo $ECHO_N "(cached) $ECHO_C" >&6
17152 cat >conftest.$ac_ext <<_ACEOF
17155 cat confdefs.h >>conftest.$ac_ext
17156 cat >>conftest.$ac_ext <<_ACEOF
17157 /* end confdefs.h. */
17171 rm -f conftest.$ac_objext
17172 if { (ac_try="$ac_compile"
17173 case "(($ac_try" in
17174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17175 *) ac_try_echo=$ac_try;;
17177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17178 (eval "$ac_compile") 2>conftest.er1
17180 grep -v '^
*+' conftest.er1 >conftest.err
17182 cat conftest.err >&5
17183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17184 (exit $ac_status); } && {
17185 test -z "$ac_c_werror_flag" ||
17186 test ! -s conftest.err
17187 } && test -s conftest.$ac_objext; then
17188 bakefile_cv_c_compiler___xlC__=yes
17190 echo "$as_me: failed program was:" >&5
17191 sed 's
/^
/| /' conftest.$ac_ext >&5
17193 bakefile_cv_c_compiler___xlC__=no
17197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17201 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17202 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17203 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17209 ac_cpp='$CPP $CPPFLAGS'
17210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17211 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17222 ac_cpp='$CPP $CPPFLAGS'
17223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17224 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17227 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17228 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17229 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17230 echo $ECHO_N "(cached) $ECHO_C" >&6
17232 cat >conftest.$ac_ext <<_ACEOF
17235 cat confdefs.h >>conftest.$ac_ext
17236 cat >>conftest.$ac_ext <<_ACEOF
17237 /* end confdefs.h. */
17243 #ifndef _SGI_COMPILER_VERSION
17251 rm -f conftest.$ac_objext
17252 if { (ac_try="$ac_compile"
17253 case "(($ac_try" in
17254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17255 *) ac_try_echo=$ac_try;;
17257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17258 (eval "$ac_compile") 2>conftest.er1
17260 grep -v '^
*+' conftest.er1 >conftest.err
17262 cat conftest.err >&5
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); } && {
17265 test -z "$ac_c_werror_flag" ||
17266 test ! -s conftest.err
17267 } && test -s conftest.$ac_objext; then
17268 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17270 echo "$as_me: failed program was:" >&5
17271 sed 's
/^
/| /' conftest.$ac_ext >&5
17273 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17281 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17282 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17283 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17289 ac_cpp='$CPP $CPPFLAGS'
17290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17291 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17302 ac_cpp='$CPP $CPPFLAGS'
17303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17304 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17307 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17308 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17309 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17310 echo $ECHO_N "(cached) $ECHO_C" >&6
17312 cat >conftest.$ac_ext <<_ACEOF
17315 cat confdefs.h >>conftest.$ac_ext
17316 cat >>conftest.$ac_ext <<_ACEOF
17317 /* end confdefs.h. */
17331 rm -f conftest.$ac_objext
17332 if { (ac_try="$ac_compile"
17333 case "(($ac_try" in
17334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17335 *) ac_try_echo=$ac_try;;
17337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17338 (eval "$ac_compile") 2>conftest.er1
17340 grep -v '^
*+' conftest.er1 >conftest.err
17342 cat conftest.err >&5
17343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17344 (exit $ac_status); } && {
17345 test -z "$ac_c_werror_flag" ||
17346 test ! -s conftest.err
17347 } && test -s conftest.$ac_objext; then
17348 bakefile_cv_c_compiler___SUNPRO_C=yes
17350 echo "$as_me: failed program was:" >&5
17351 sed 's
/^
/| /' conftest.$ac_ext >&5
17353 bakefile_cv_c_compiler___SUNPRO_C=no
17357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17361 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17362 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17363 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17369 ac_cpp='$CPP $CPPFLAGS'
17370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17371 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17382 ac_cpp='$CPP $CPPFLAGS'
17383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17384 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17387 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17388 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17389 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17390 echo $ECHO_N "(cached) $ECHO_C" >&6
17392 cat >conftest.$ac_ext <<_ACEOF
17395 cat confdefs.h >>conftest.$ac_ext
17396 cat >>conftest.$ac_ext <<_ACEOF
17397 /* end confdefs.h. */
17411 rm -f conftest.$ac_objext
17412 if { (ac_try="$ac_compile"
17413 case "(($ac_try" in
17414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17415 *) ac_try_echo=$ac_try;;
17417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17418 (eval "$ac_compile") 2>conftest.er1
17420 grep -v '^
*+' conftest.er1 >conftest.err
17422 cat conftest.err >&5
17423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17424 (exit $ac_status); } && {
17425 test -z "$ac_c_werror_flag" ||
17426 test ! -s conftest.err
17427 } && test -s conftest.$ac_objext; then
17428 bakefile_cv_c_compiler___HP_cc=yes
17430 echo "$as_me: failed program was:" >&5
17431 sed 's
/^
/| /' conftest.$ac_ext >&5
17433 bakefile_cv_c_compiler___HP_cc=no
17437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17441 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17442 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17443 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17449 ac_cpp='$CPP $CPPFLAGS'
17450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17451 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17462 ac_cpp='$CPP $CPPFLAGS'
17463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17464 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17467 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17468 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17469 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17470 echo $ECHO_N "(cached) $ECHO_C" >&6
17472 cat >conftest.$ac_ext <<_ACEOF
17475 cat confdefs.h >>conftest.$ac_ext
17476 cat >>conftest.$ac_ext <<_ACEOF
17477 /* end confdefs.h. */
17491 rm -f conftest.$ac_objext
17492 if { (ac_try="$ac_compile"
17493 case "(($ac_try" in
17494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17495 *) ac_try_echo=$ac_try;;
17497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17498 (eval "$ac_compile") 2>conftest.er1
17500 grep -v '^
*+' conftest.er1 >conftest.err
17502 cat conftest.err >&5
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); } && {
17505 test -z "$ac_c_werror_flag" ||
17506 test ! -s conftest.err
17507 } && test -s conftest.$ac_objext; then
17508 bakefile_cv_c_compiler___DECC=yes
17510 echo "$as_me: failed program was:" >&5
17511 sed 's
/^
/| /' conftest.$ac_ext >&5
17513 bakefile_cv_c_compiler___DECC=no
17517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17521 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17522 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17523 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17529 ac_cpp='$CPP $CPPFLAGS'
17530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17531 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17542 ac_cpp='$CPP $CPPFLAGS'
17543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17544 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17547 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17548 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17549 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17550 echo $ECHO_N "(cached) $ECHO_C" >&6
17552 cat >conftest.$ac_ext <<_ACEOF
17555 cat confdefs.h >>conftest.$ac_ext
17556 cat >>conftest.$ac_ext <<_ACEOF
17557 /* end confdefs.h. */
17571 rm -f conftest.$ac_objext
17572 if { (ac_try="$ac_compile"
17573 case "(($ac_try" in
17574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17575 *) ac_try_echo=$ac_try;;
17577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17578 (eval "$ac_compile") 2>conftest.er1
17580 grep -v '^
*+' conftest.er1 >conftest.err
17582 cat conftest.err >&5
17583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17584 (exit $ac_status); } && {
17585 test -z "$ac_c_werror_flag" ||
17586 test ! -s conftest.err
17587 } && test -s conftest.$ac_objext; then
17588 bakefile_cv_c_compiler___SUNPRO_C=yes
17590 echo "$as_me: failed program was:" >&5
17591 sed 's
/^
/| /' conftest.$ac_ext >&5
17593 bakefile_cv_c_compiler___SUNPRO_C=no
17597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17601 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17602 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17603 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17609 ac_cpp='$CPP $CPPFLAGS'
17610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17611 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17623 ac_cpp='$CPP $CPPFLAGS'
17624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17625 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17627 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17628 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17629 # On Suns, sometimes $CPP names a directory.
17630 if test -n "$CPP" && test -d "$CPP"; then
17633 if test -z "$CPP"; then
17634 if test "${ac_cv_prog_CPP+set}" = set; then
17635 echo $ECHO_N "(cached) $ECHO_C" >&6
17637 # Double quotes because CPP needs to be expanded
17638 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17640 ac_preproc_ok=false
17641 for ac_c_preproc_warn_flag in '' yes
17643 # Use a header file that comes with gcc, so configuring glibc
17644 # with a fresh cross-compiler works.
17645 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17646 # <limits.h> exists even on freestanding compilers.
17647 # On the NeXT, cc -E runs the code through the compiler's parser
,
17648 # not just through cpp. "Syntax error" is here to catch this case.
17649 cat >conftest.
$ac_ext <<_ACEOF
17652 cat confdefs.h
>>conftest.
$ac_ext
17653 cat >>conftest.
$ac_ext <<_ACEOF
17654 /* end confdefs.h. */
17656 # include <limits.h>
17658 # include <assert.h>
17662 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17663 case "(($ac_try" in
17664 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17665 *) ac_try_echo=$ac_try;;
17667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17668 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17670 grep -v '^ *+' conftest.er1 >conftest.err
17672 cat conftest.err >&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); } >/dev/null && {
17675 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17676 test ! -s conftest.err
17680 echo "$as_me: failed program was:" >&5
17681 sed 's/^/| /' conftest.$ac_ext >&5
17683 # Broken: fails on valid input.
17687 rm -f conftest.err conftest.$ac_ext
17689 # OK, works on sane cases. Now check whether nonexistent headers
17690 # can be detected and how.
17691 cat >conftest.$ac_ext <<_ACEOF
17694 cat confdefs.h >>conftest.$ac_ext
17695 cat >>conftest.$ac_ext <<_ACEOF
17696 /* end confdefs.h. */
17697 #include <ac_nonexistent.h>
17699 if { (ac_try="$ac_cpp conftest.$ac_ext"
17700 case "(($ac_try" in
17701 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17702 *) ac_try_echo
=$ac_try;;
17704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17705 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17707 grep -v '^ *+' conftest.er1
>conftest.err
17709 cat conftest.err
>&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); } >/dev
/null
&& {
17712 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17713 test ! -s conftest.err
17715 # Broken: success on invalid input.
17718 echo "$as_me: failed program was:" >&5
17719 sed 's/^/| /' conftest.
$ac_ext >&5
17721 # Passes both tests.
17726 rm -f conftest.err conftest.
$ac_ext
17729 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17730 rm -f conftest.err conftest.
$ac_ext
17731 if $ac_preproc_ok; then
17736 ac_cv_prog_CPP
=$CPP
17739 CPP
=$ac_cv_prog_CPP
17741 ac_cv_prog_CPP
=$CPP
17743 { echo "$as_me:$LINENO: result: $CPP" >&5
17744 echo "${ECHO_T}$CPP" >&6; }
17745 ac_preproc_ok
=false
17746 for ac_c_preproc_warn_flag
in '' yes
17748 # Use a header file that comes with gcc, so configuring glibc
17749 # with a fresh cross-compiler works.
17750 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17751 # <limits.h> exists even on freestanding compilers.
17752 # On the NeXT, cc -E runs the code through the compiler's parser,
17753 # not just through cpp. "Syntax error" is here to catch this case.
17754 cat >conftest.
$ac_ext <<_ACEOF
17757 cat confdefs.h
>>conftest.
$ac_ext
17758 cat >>conftest.
$ac_ext <<_ACEOF
17759 /* end confdefs.h. */
17761 # include <limits.h>
17763 # include <assert.h>
17767 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17768 case "(($ac_try" in
17769 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17770 *) ac_try_echo=$ac_try;;
17772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17773 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17775 grep -v '^ *+' conftest.er1 >conftest.err
17777 cat conftest.err >&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); } >/dev/null && {
17780 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17781 test ! -s conftest.err
17785 echo "$as_me: failed program was:" >&5
17786 sed 's/^/| /' conftest.$ac_ext >&5
17788 # Broken: fails on valid input.
17792 rm -f conftest.err conftest.$ac_ext
17794 # OK, works on sane cases. Now check whether nonexistent headers
17795 # can be detected and how.
17796 cat >conftest.$ac_ext <<_ACEOF
17799 cat confdefs.h >>conftest.$ac_ext
17800 cat >>conftest.$ac_ext <<_ACEOF
17801 /* end confdefs.h. */
17802 #include <ac_nonexistent.h>
17804 if { (ac_try="$ac_cpp conftest.$ac_ext"
17805 case "(($ac_try" in
17806 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17807 *) ac_try_echo
=$ac_try;;
17809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17810 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17812 grep -v '^ *+' conftest.er1
>conftest.err
17814 cat conftest.err
>&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); } >/dev
/null
&& {
17817 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17818 test ! -s conftest.err
17820 # Broken: success on invalid input.
17823 echo "$as_me: failed program was:" >&5
17824 sed 's/^/| /' conftest.
$ac_ext >&5
17826 # Passes both tests.
17831 rm -f conftest.err conftest.
$ac_ext
17834 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17835 rm -f conftest.err conftest.
$ac_ext
17836 if $ac_preproc_ok; then
17839 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17840 See \`config.log' for more details." >&5
17841 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17842 See \`config.log' for more details." >&2;}
17843 { (exit 1); exit 1; }; }
17847 ac_cpp
='$CPP $CPPFLAGS'
17848 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17849 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17850 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17853 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17854 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17855 if test "${ac_cv_path_GREP+set}" = set; then
17856 echo $ECHO_N "(cached) $ECHO_C" >&6
17858 # Extract the first word of "grep ggrep" to use in msg output
17859 if test -z "$GREP"; then
17860 set dummy
grep ggrep
; ac_prog_name
=$2
17861 if test "${ac_cv_path_GREP+set}" = set; then
17862 echo $ECHO_N "(cached) $ECHO_C" >&6
17864 ac_path_GREP_found
=false
17865 # Loop through the user's path and test for each of PROGNAME-LIST
17866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17867 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17870 test -z "$as_dir" && as_dir
=.
17871 for ac_prog
in grep ggrep
; do
17872 for ac_exec_ext
in '' $ac_executable_extensions; do
17873 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
17874 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17875 # Check for GNU ac_path_GREP and select it if it is found.
17876 # Check for GNU $ac_path_GREP
17877 case `"$ac_path_GREP" --version 2>&1` in
17879 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
17882 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17885 cat "conftest.in" "conftest.in" >"conftest.tmp"
17886 mv "conftest.tmp" "conftest.in"
17887 cp "conftest.in" "conftest.nl"
17888 echo 'GREP' >> "conftest.nl"
17889 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17890 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17891 ac_count
=`expr $ac_count + 1`
17892 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17893 # Best one so far, save it but keep looking for a better one
17894 ac_cv_path_GREP
="$ac_path_GREP"
17895 ac_path_GREP_max
=$ac_count
17897 # 10*(2^10) chars as input seems more than enough
17898 test $ac_count -gt 10 && break
17900 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17904 $ac_path_GREP_found && break 3
17914 GREP
="$ac_cv_path_GREP"
17915 if test -z "$GREP"; then
17916 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17917 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17918 { (exit 1); exit 1; }; }
17922 ac_cv_path_GREP
=$GREP
17927 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17928 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17929 GREP
="$ac_cv_path_GREP"
17932 { echo "$as_me:$LINENO: checking for egrep" >&5
17933 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17934 if test "${ac_cv_path_EGREP+set}" = set; then
17935 echo $ECHO_N "(cached) $ECHO_C" >&6
17937 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
17938 then ac_cv_path_EGREP
="$GREP -E"
17940 # Extract the first word of "egrep" to use in msg output
17941 if test -z "$EGREP"; then
17942 set dummy
egrep; ac_prog_name
=$2
17943 if test "${ac_cv_path_EGREP+set}" = set; then
17944 echo $ECHO_N "(cached) $ECHO_C" >&6
17946 ac_path_EGREP_found
=false
17947 # Loop through the user's path and test for each of PROGNAME-LIST
17948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17949 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17952 test -z "$as_dir" && as_dir
=.
17953 for ac_prog
in egrep; do
17954 for ac_exec_ext
in '' $ac_executable_extensions; do
17955 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
17956 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17957 # Check for GNU ac_path_EGREP and select it if it is found.
17958 # Check for GNU $ac_path_EGREP
17959 case `"$ac_path_EGREP" --version 2>&1` in
17961 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
17964 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17967 cat "conftest.in" "conftest.in" >"conftest.tmp"
17968 mv "conftest.tmp" "conftest.in"
17969 cp "conftest.in" "conftest.nl"
17970 echo 'EGREP' >> "conftest.nl"
17971 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17972 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17973 ac_count
=`expr $ac_count + 1`
17974 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17975 # Best one so far, save it but keep looking for a better one
17976 ac_cv_path_EGREP
="$ac_path_EGREP"
17977 ac_path_EGREP_max
=$ac_count
17979 # 10*(2^10) chars as input seems more than enough
17980 test $ac_count -gt 10 && break
17982 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17986 $ac_path_EGREP_found && break 3
17996 EGREP
="$ac_cv_path_EGREP"
17997 if test -z "$EGREP"; then
17998 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17999 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18000 { (exit 1); exit 1; }; }
18004 ac_cv_path_EGREP
=$EGREP
18010 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18011 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18012 EGREP
="$ac_cv_path_EGREP"
18015 if test $ac_cv_c_compiler_gnu = yes; then
18016 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18017 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18018 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18019 echo $ECHO_N "(cached) $ECHO_C" >&6
18021 ac_pattern
="Autoconf.*'x'"
18022 cat >conftest.
$ac_ext <<_ACEOF
18025 cat confdefs.h
>>conftest.
$ac_ext
18026 cat >>conftest.
$ac_ext <<_ACEOF
18027 /* end confdefs.h. */
18031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18032 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18033 ac_cv_prog_gcc_traditional
=yes
18035 ac_cv_prog_gcc_traditional
=no
18040 if test $ac_cv_prog_gcc_traditional = no
; then
18041 cat >conftest.
$ac_ext <<_ACEOF
18044 cat confdefs.h
>>conftest.
$ac_ext
18045 cat >>conftest.
$ac_ext <<_ACEOF
18046 /* end confdefs.h. */
18047 #include <termio.h>
18050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18051 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18052 ac_cv_prog_gcc_traditional
=yes
18058 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18059 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18060 if test $ac_cv_prog_gcc_traditional = yes; then
18061 CC
="$CC -traditional"
18066 CXXFLAGS
=${CXXFLAGS:=}
18071 ac_cpp
='$CXXCPP $CPPFLAGS'
18072 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18073 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18074 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18075 if test -z "$CXX"; then
18076 if test -n "$CCC"; then
18079 if test -n "$ac_tool_prefix"; then
18080 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18082 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18083 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18084 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18086 if test "${ac_cv_prog_CXX+set}" = set; then
18087 echo $ECHO_N "(cached) $ECHO_C" >&6
18089 if test -n "$CXX"; then
18090 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18093 for as_dir
in $PATH
18096 test -z "$as_dir" && as_dir
=.
18097 for ac_exec_ext
in '' $ac_executable_extensions; do
18098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18099 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18109 CXX
=$ac_cv_prog_CXX
18110 if test -n "$CXX"; then
18111 { echo "$as_me:$LINENO: result: $CXX" >&5
18112 echo "${ECHO_T}$CXX" >&6; }
18114 { echo "$as_me:$LINENO: result: no" >&5
18115 echo "${ECHO_T}no" >&6; }
18119 test -n "$CXX" && break
18122 if test -z "$CXX"; then
18124 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18126 # Extract the first word of "$ac_prog", so it can be a program name with args.
18127 set dummy
$ac_prog; ac_word
=$2
18128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18130 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18131 echo $ECHO_N "(cached) $ECHO_C" >&6
18133 if test -n "$ac_ct_CXX"; then
18134 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18137 for as_dir
in $PATH
18140 test -z "$as_dir" && as_dir
=.
18141 for ac_exec_ext
in '' $ac_executable_extensions; do
18142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18143 ac_cv_prog_ac_ct_CXX
="$ac_prog"
18144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18153 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
18154 if test -n "$ac_ct_CXX"; then
18155 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18156 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18158 { echo "$as_me:$LINENO: result: no" >&5
18159 echo "${ECHO_T}no" >&6; }
18163 test -n "$ac_ct_CXX" && break
18166 if test "x$ac_ct_CXX" = x
; then
18169 case $cross_compiling:$ac_tool_warned in
18171 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18172 whose name does not start with the host triplet. If you think this
18173 configuration is useful to you, please write to autoconf@gnu.org." >&5
18174 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18175 whose name does not start with the host triplet. If you think this
18176 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18177 ac_tool_warned
=yes ;;
18185 # Provide some information about the compiler.
18186 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
18187 ac_compiler
=`set X $ac_compile; echo $2`
18188 { (ac_try
="$ac_compiler --version >&5"
18189 case "(($ac_try" in
18190 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18191 *) ac_try_echo=$ac_try;;
18193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18194 (eval "$ac_compiler --version >&5") 2>&5
18196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18197 (exit $ac_status); }
18198 { (ac_try="$ac_compiler -v >&5"
18199 case "(($ac_try" in
18200 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18201 *) ac_try_echo
=$ac_try;;
18203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18204 (eval "$ac_compiler -v >&5") 2>&5
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); }
18208 { (ac_try
="$ac_compiler -V >&5"
18209 case "(($ac_try" in
18210 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18211 *) ac_try_echo=$ac_try;;
18213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18214 (eval "$ac_compiler -V >&5") 2>&5
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); }
18219 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18220 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18221 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18222 echo $ECHO_N "(cached) $ECHO_C" >&6
18224 cat >conftest.$ac_ext <<_ACEOF
18227 cat confdefs.h >>conftest.$ac_ext
18228 cat >>conftest.$ac_ext <<_ACEOF
18229 /* end confdefs.h. */
18242 rm -f conftest.$ac_objext
18243 if { (ac_try="$ac_compile"
18244 case "(($ac_try" in
18245 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18246 *) ac_try_echo
=$ac_try;;
18248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18249 (eval "$ac_compile") 2>conftest.er1
18251 grep -v '^ *+' conftest.er1
>conftest.err
18253 cat conftest.err
>&5
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); } && {
18256 test -z "$ac_cxx_werror_flag" ||
18257 test ! -s conftest.err
18258 } && test -s conftest.
$ac_objext; then
18259 ac_compiler_gnu
=yes
18261 echo "$as_me: failed program was:" >&5
18262 sed 's/^/| /' conftest.
$ac_ext >&5
18267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18268 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
18271 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18272 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18273 GXX
=`test $ac_compiler_gnu = yes && echo yes`
18274 ac_test_CXXFLAGS
=${CXXFLAGS+set}
18275 ac_save_CXXFLAGS
=$CXXFLAGS
18276 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18277 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18278 if test "${ac_cv_prog_cxx_g+set}" = set; then
18279 echo $ECHO_N "(cached) $ECHO_C" >&6
18281 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
18282 ac_cxx_werror_flag
=yes
18283 ac_cv_prog_cxx_g
=no
18285 cat >conftest.
$ac_ext <<_ACEOF
18288 cat confdefs.h
>>conftest.
$ac_ext
18289 cat >>conftest.
$ac_ext <<_ACEOF
18290 /* end confdefs.h. */
18300 rm -f conftest.
$ac_objext
18301 if { (ac_try
="$ac_compile"
18302 case "(($ac_try" in
18303 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18304 *) ac_try_echo=$ac_try;;
18306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18307 (eval "$ac_compile") 2>conftest.er1
18309 grep -v '^ *+' conftest.er1 >conftest.err
18311 cat conftest.err >&5
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); } && {
18314 test -z "$ac_cxx_werror_flag" ||
18315 test ! -s conftest.err
18316 } && test -s conftest.$ac_objext; then
18317 ac_cv_prog_cxx_g=yes
18319 echo "$as_me: failed program was:" >&5
18320 sed 's/^/| /' conftest.$ac_ext >&5
18323 cat >conftest.$ac_ext <<_ACEOF
18326 cat confdefs.h >>conftest.$ac_ext
18327 cat >>conftest.$ac_ext <<_ACEOF
18328 /* end confdefs.h. */
18338 rm -f conftest.$ac_objext
18339 if { (ac_try="$ac_compile"
18340 case "(($ac_try" in
18341 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18342 *) ac_try_echo
=$ac_try;;
18344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18345 (eval "$ac_compile") 2>conftest.er1
18347 grep -v '^ *+' conftest.er1
>conftest.err
18349 cat conftest.err
>&5
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); } && {
18352 test -z "$ac_cxx_werror_flag" ||
18353 test ! -s conftest.err
18354 } && test -s conftest.
$ac_objext; then
18357 echo "$as_me: failed program was:" >&5
18358 sed 's/^/| /' conftest.
$ac_ext >&5
18360 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
18362 cat >conftest.
$ac_ext <<_ACEOF
18365 cat confdefs.h
>>conftest.
$ac_ext
18366 cat >>conftest.
$ac_ext <<_ACEOF
18367 /* end confdefs.h. */
18377 rm -f conftest.
$ac_objext
18378 if { (ac_try
="$ac_compile"
18379 case "(($ac_try" in
18380 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18381 *) ac_try_echo=$ac_try;;
18383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18384 (eval "$ac_compile") 2>conftest.er1
18386 grep -v '^ *+' conftest.er1 >conftest.err
18388 cat conftest.err >&5
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); } && {
18391 test -z "$ac_cxx_werror_flag" ||
18392 test ! -s conftest.err
18393 } && test -s conftest.$ac_objext; then
18394 ac_cv_prog_cxx_g=yes
18396 echo "$as_me: failed program was:" >&5
18397 sed 's/^/| /' conftest.$ac_ext >&5
18402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18409 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18411 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18412 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18413 if test "$ac_test_CXXFLAGS" = set; then
18414 CXXFLAGS=$ac_save_CXXFLAGS
18415 elif test $ac_cv_prog_cxx_g = yes; then
18416 if test "$GXX" = yes; then
18422 if test "$GXX" = yes; then
18429 ac_cpp='$CPP $CPPFLAGS'
18430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18438 ac_cpp='$CXXCPP $CPPFLAGS'
18439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18443 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18444 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18445 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18446 echo $ECHO_N "(cached) $ECHO_C" >&6
18448 cat >conftest.$ac_ext <<_ACEOF
18451 cat confdefs.h >>conftest.$ac_ext
18452 cat >>conftest.$ac_ext <<_ACEOF
18453 /* end confdefs.h. */
18459 #ifndef __INTEL_COMPILER
18467 rm -f conftest.$ac_objext
18468 if { (ac_try="$ac_compile"
18469 case "(($ac_try" in
18470 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18471 *) ac_try_echo
=$ac_try;;
18473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18474 (eval "$ac_compile") 2>conftest.er1
18476 grep -v '^ *+' conftest.er1
>conftest.err
18478 cat conftest.err
>&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); } && {
18481 test -z "$ac_cxx_werror_flag" ||
18482 test ! -s conftest.err
18483 } && test -s conftest.
$ac_objext; then
18484 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
18486 echo "$as_me: failed program was:" >&5
18487 sed 's/^/| /' conftest.
$ac_ext >&5
18489 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
18493 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18497 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18498 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18499 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18505 ac_cpp
='$CPP $CPPFLAGS'
18506 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18507 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18508 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18513 if test "x$GCXX" != "xyes"; then
18514 if test "xCXX" = "xC"; then
18515 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18516 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18517 if test "${bakefile_cv_c_exto+set}" = set; then
18518 echo $ECHO_N "(cached) $ECHO_C" >&6
18520 cat >conftest.
$ac_ext <<_ACEOF
18523 cat confdefs.h
>>conftest.
$ac_ext
18524 cat >>conftest.
$ac_ext <<_ACEOF
18525 /* end confdefs.h. */
18535 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
18536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18537 (eval $ac_compile) 2>&5
18539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540 (exit $ac_status); }; then
18541 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
18543 conftest.
$ac_ext.o
)
18544 bakefile_cv_c_exto
="-ext o"
18551 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18552 See \`config.log' for more details." >&5
18553 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18554 See \`config.log' for more details." >&2;}
18555 { (exit 1); exit 1; }; }
18559 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
18562 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18563 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18564 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18565 if test "c" = "c"; then
18566 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
18568 if test "c" = "cxx"; then
18569 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
18573 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18574 unset ac_cv_prog_cc_g
18575 ac_test_CFLAGS
=${CFLAGS+set}
18576 ac_save_CFLAGS
=$CFLAGS
18577 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18578 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18579 if test "${ac_cv_prog_cc_g+set}" = set; then
18580 echo $ECHO_N "(cached) $ECHO_C" >&6
18582 ac_save_c_werror_flag
=$ac_c_werror_flag
18583 ac_c_werror_flag
=yes
18586 cat >conftest.
$ac_ext <<_ACEOF
18589 cat confdefs.h
>>conftest.
$ac_ext
18590 cat >>conftest.
$ac_ext <<_ACEOF
18591 /* end confdefs.h. */
18601 rm -f conftest.
$ac_objext
18602 if { (ac_try
="$ac_compile"
18603 case "(($ac_try" in
18604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18605 *) ac_try_echo=$ac_try;;
18607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18608 (eval "$ac_compile") 2>conftest.er1
18610 grep -v '^ *+' conftest.er1 >conftest.err
18612 cat conftest.err >&5
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); } && {
18615 test -z "$ac_c_werror_flag" ||
18616 test ! -s conftest.err
18617 } && test -s conftest.$ac_objext; then
18618 ac_cv_prog_cc_g=yes
18620 echo "$as_me: failed program was:" >&5
18621 sed 's/^/| /' conftest.$ac_ext >&5
18624 cat >conftest.$ac_ext <<_ACEOF
18627 cat confdefs.h >>conftest.$ac_ext
18628 cat >>conftest.$ac_ext <<_ACEOF
18629 /* end confdefs.h. */
18639 rm -f conftest.$ac_objext
18640 if { (ac_try="$ac_compile"
18641 case "(($ac_try" in
18642 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18643 *) ac_try_echo
=$ac_try;;
18645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18646 (eval "$ac_compile") 2>conftest.er1
18648 grep -v '^ *+' conftest.er1
>conftest.err
18650 cat conftest.err
>&5
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); } && {
18653 test -z "$ac_c_werror_flag" ||
18654 test ! -s conftest.err
18655 } && test -s conftest.
$ac_objext; then
18658 echo "$as_me: failed program was:" >&5
18659 sed 's/^/| /' conftest.
$ac_ext >&5
18661 ac_c_werror_flag
=$ac_save_c_werror_flag
18663 cat >conftest.
$ac_ext <<_ACEOF
18666 cat confdefs.h
>>conftest.
$ac_ext
18667 cat >>conftest.
$ac_ext <<_ACEOF
18668 /* end confdefs.h. */
18678 rm -f conftest.
$ac_objext
18679 if { (ac_try
="$ac_compile"
18680 case "(($ac_try" in
18681 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18682 *) ac_try_echo=$ac_try;;
18684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18685 (eval "$ac_compile") 2>conftest.er1
18687 grep -v '^ *+' conftest.er1 >conftest.err
18689 cat conftest.err >&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); } && {
18692 test -z "$ac_c_werror_flag" ||
18693 test ! -s conftest.err
18694 } && test -s conftest.$ac_objext; then
18695 ac_cv_prog_cc_g=yes
18697 echo "$as_me: failed program was:" >&5
18698 sed 's/^/| /' conftest.$ac_ext >&5
18703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18710 ac_c_werror_flag=$ac_save_c_werror_flag
18712 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18713 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18714 if test "$ac_test_CFLAGS" = set; then
18715 CFLAGS=$ac_save_CFLAGS
18716 elif test $ac_cv_prog_cc_g = yes; then
18717 if test "$GCC" = yes; then
18723 if test "$GCC" = yes; then
18737 ac_cpp='$CXXCPP $CPPFLAGS'
18738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18742 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18743 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18744 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18745 echo $ECHO_N "(cached) $ECHO_C" >&6
18747 cat >conftest.$ac_ext <<_ACEOF
18750 cat confdefs.h >>conftest.$ac_ext
18751 cat >>conftest.$ac_ext <<_ACEOF
18752 /* end confdefs.h. */
18766 rm -f conftest.$ac_objext
18767 if { (ac_try="$ac_compile"
18768 case "(($ac_try" in
18769 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18770 *) ac_try_echo
=$ac_try;;
18772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18773 (eval "$ac_compile") 2>conftest.er1
18775 grep -v '^ *+' conftest.er1
>conftest.err
18777 cat conftest.err
>&5
18778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18779 (exit $ac_status); } && {
18780 test -z "$ac_cxx_werror_flag" ||
18781 test ! -s conftest.err
18782 } && test -s conftest.
$ac_objext; then
18783 bakefile_cv_cxx_compiler___xlC__
=yes
18785 echo "$as_me: failed program was:" >&5
18786 sed 's/^/| /' conftest.
$ac_ext >&5
18788 bakefile_cv_cxx_compiler___xlC__
=no
18792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18796 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18797 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18798 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18804 ac_cpp
='$CPP $CPPFLAGS'
18805 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18806 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18807 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18817 ac_cpp
='$CXXCPP $CPPFLAGS'
18818 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18819 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18820 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18822 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18823 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18824 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18825 echo $ECHO_N "(cached) $ECHO_C" >&6
18827 cat >conftest.
$ac_ext <<_ACEOF
18830 cat confdefs.h
>>conftest.
$ac_ext
18831 cat >>conftest.
$ac_ext <<_ACEOF
18832 /* end confdefs.h. */
18846 rm -f conftest.
$ac_objext
18847 if { (ac_try
="$ac_compile"
18848 case "(($ac_try" in
18849 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18850 *) ac_try_echo=$ac_try;;
18852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18853 (eval "$ac_compile") 2>conftest.er1
18855 grep -v '^ *+' conftest.er1 >conftest.err
18857 cat conftest.err >&5
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); } && {
18860 test -z "$ac_cxx_werror_flag" ||
18861 test ! -s conftest.err
18862 } && test -s conftest.$ac_objext; then
18863 bakefile_cv_cxx_compiler___MWERKS__=yes
18865 echo "$as_me: failed program was:" >&5
18866 sed 's/^/| /' conftest.$ac_ext >&5
18868 bakefile_cv_cxx_compiler___MWERKS__=no
18872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18876 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18877 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18878 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18884 ac_cpp='$CPP $CPPFLAGS'
18885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18894 ac_cpp='$CXXCPP $CPPFLAGS'
18895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18899 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18900 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18901 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18902 echo $ECHO_N "(cached) $ECHO_C" >&6
18904 cat >conftest.$ac_ext <<_ACEOF
18907 cat confdefs.h >>conftest.$ac_ext
18908 cat >>conftest.$ac_ext <<_ACEOF
18909 /* end confdefs.h. */
18923 rm -f conftest.$ac_objext
18924 if { (ac_try="$ac_compile"
18925 case "(($ac_try" in
18926 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18927 *) ac_try_echo
=$ac_try;;
18929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18930 (eval "$ac_compile") 2>conftest.er1
18932 grep -v '^ *+' conftest.er1
>conftest.err
18934 cat conftest.err
>&5
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); } && {
18937 test -z "$ac_cxx_werror_flag" ||
18938 test ! -s conftest.err
18939 } && test -s conftest.
$ac_objext; then
18940 bakefile_cv_cxx_compiler___xlC__
=yes
18942 echo "$as_me: failed program was:" >&5
18943 sed 's/^/| /' conftest.
$ac_ext >&5
18945 bakefile_cv_cxx_compiler___xlC__
=no
18949 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18953 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18954 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18955 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18961 ac_cpp
='$CPP $CPPFLAGS'
18962 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18963 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18964 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18974 ac_cpp
='$CXXCPP $CPPFLAGS'
18975 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18976 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18977 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18979 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18980 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18981 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18982 echo $ECHO_N "(cached) $ECHO_C" >&6
18984 cat >conftest.
$ac_ext <<_ACEOF
18987 cat confdefs.h
>>conftest.
$ac_ext
18988 cat >>conftest.
$ac_ext <<_ACEOF
18989 /* end confdefs.h. */
18995 #ifndef _SGI_COMPILER_VERSION
19003 rm -f conftest.
$ac_objext
19004 if { (ac_try
="$ac_compile"
19005 case "(($ac_try" in
19006 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19007 *) ac_try_echo=$ac_try;;
19009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19010 (eval "$ac_compile") 2>conftest.er1
19012 grep -v '^ *+' conftest.er1 >conftest.err
19014 cat conftest.err >&5
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); } && {
19017 test -z "$ac_cxx_werror_flag" ||
19018 test ! -s conftest.err
19019 } && test -s conftest.$ac_objext; then
19020 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19022 echo "$as_me: failed program was:" >&5
19023 sed 's/^/| /' conftest.$ac_ext >&5
19025 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19033 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19034 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19035 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19041 ac_cpp='$CPP $CPPFLAGS'
19042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19054 ac_cpp='$CXXCPP $CPPFLAGS'
19055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19059 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19060 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19061 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19062 echo $ECHO_N "(cached) $ECHO_C" >&6
19064 cat >conftest.$ac_ext <<_ACEOF
19067 cat confdefs.h >>conftest.$ac_ext
19068 cat >>conftest.$ac_ext <<_ACEOF
19069 /* end confdefs.h. */
19075 #ifndef __SUNPRO_CC
19083 rm -f conftest.$ac_objext
19084 if { (ac_try="$ac_compile"
19085 case "(($ac_try" in
19086 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19087 *) ac_try_echo
=$ac_try;;
19089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19090 (eval "$ac_compile") 2>conftest.er1
19092 grep -v '^ *+' conftest.er1
>conftest.err
19094 cat conftest.err
>&5
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); } && {
19097 test -z "$ac_cxx_werror_flag" ||
19098 test ! -s conftest.err
19099 } && test -s conftest.
$ac_objext; then
19100 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
19102 echo "$as_me: failed program was:" >&5
19103 sed 's/^/| /' conftest.
$ac_ext >&5
19105 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
19109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19113 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19114 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19115 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19121 ac_cpp
='$CPP $CPPFLAGS'
19122 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19123 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19124 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19134 ac_cpp
='$CXXCPP $CPPFLAGS'
19135 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19136 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19137 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19139 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19140 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19141 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19142 echo $ECHO_N "(cached) $ECHO_C" >&6
19144 cat >conftest.
$ac_ext <<_ACEOF
19147 cat confdefs.h
>>conftest.
$ac_ext
19148 cat >>conftest.
$ac_ext <<_ACEOF
19149 /* end confdefs.h. */
19163 rm -f conftest.
$ac_objext
19164 if { (ac_try
="$ac_compile"
19165 case "(($ac_try" in
19166 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19167 *) ac_try_echo=$ac_try;;
19169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19170 (eval "$ac_compile") 2>conftest.er1
19172 grep -v '^ *+' conftest.er1 >conftest.err
19174 cat conftest.err >&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); } && {
19177 test -z "$ac_cxx_werror_flag" ||
19178 test ! -s conftest.err
19179 } && test -s conftest.$ac_objext; then
19180 bakefile_cv_cxx_compiler___HP_aCC=yes
19182 echo "$as_me: failed program was:" >&5
19183 sed 's/^/| /' conftest.$ac_ext >&5
19185 bakefile_cv_cxx_compiler___HP_aCC=no
19189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19193 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19194 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19195 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19201 ac_cpp='$CPP $CPPFLAGS'
19202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19214 ac_cpp='$CXXCPP $CPPFLAGS'
19215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19219 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19220 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19221 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19222 echo $ECHO_N "(cached) $ECHO_C" >&6
19224 cat >conftest.$ac_ext <<_ACEOF
19227 cat confdefs.h >>conftest.$ac_ext
19228 cat >>conftest.$ac_ext <<_ACEOF
19229 /* end confdefs.h. */
19243 rm -f conftest.$ac_objext
19244 if { (ac_try="$ac_compile"
19245 case "(($ac_try" in
19246 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19247 *) ac_try_echo
=$ac_try;;
19249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19250 (eval "$ac_compile") 2>conftest.er1
19252 grep -v '^ *+' conftest.er1
>conftest.err
19254 cat conftest.err
>&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); } && {
19257 test -z "$ac_cxx_werror_flag" ||
19258 test ! -s conftest.err
19259 } && test -s conftest.
$ac_objext; then
19260 bakefile_cv_cxx_compiler___DECCXX
=yes
19262 echo "$as_me: failed program was:" >&5
19263 sed 's/^/| /' conftest.
$ac_ext >&5
19265 bakefile_cv_cxx_compiler___DECCXX
=no
19269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19273 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19274 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19275 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19281 ac_cpp
='$CPP $CPPFLAGS'
19282 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19283 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19284 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19294 ac_cpp
='$CXXCPP $CPPFLAGS'
19295 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19296 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19297 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19299 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19300 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19301 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19302 echo $ECHO_N "(cached) $ECHO_C" >&6
19304 cat >conftest.
$ac_ext <<_ACEOF
19307 cat confdefs.h
>>conftest.
$ac_ext
19308 cat >>conftest.
$ac_ext <<_ACEOF
19309 /* end confdefs.h. */
19315 #ifndef __SUNPRO_CC
19323 rm -f conftest.
$ac_objext
19324 if { (ac_try
="$ac_compile"
19325 case "(($ac_try" in
19326 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19327 *) ac_try_echo=$ac_try;;
19329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19330 (eval "$ac_compile") 2>conftest.er1
19332 grep -v '^ *+' conftest.er1 >conftest.err
19334 cat conftest.err >&5
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); } && {
19337 test -z "$ac_cxx_werror_flag" ||
19338 test ! -s conftest.err
19339 } && test -s conftest.$ac_objext; then
19340 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19342 echo "$as_me: failed program was:" >&5
19343 sed 's/^/| /' conftest.$ac_ext >&5
19345 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19353 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19354 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19355 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19361 ac_cpp='$CPP $CPPFLAGS'
19362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19374 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19375 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19376 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19377 { (exit 1); exit 1; }; }
19380 if test -n "$ac_tool_prefix"; then
19381 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19382 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19385 if test "${ac_cv_prog_RANLIB+set}" = set; then
19386 echo $ECHO_N "(cached) $ECHO_C" >&6
19388 if test -n "$RANLIB"; then
19389 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19392 for as_dir in $PATH
19395 test -z "$as_dir" && as_dir=.
19396 for ac_exec_ext in '' $ac_executable_extensions; do
19397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19398 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19408 RANLIB=$ac_cv_prog_RANLIB
19409 if test -n "$RANLIB"; then
19410 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19411 echo "${ECHO_T}$RANLIB" >&6; }
19413 { echo "$as_me:$LINENO: result: no" >&5
19414 echo "${ECHO_T}no" >&6; }
19419 if test -z "$ac_cv_prog_RANLIB"; then
19420 ac_ct_RANLIB=$RANLIB
19421 # Extract the first word of "ranlib", so it can be a program name with args.
19422 set dummy ranlib; ac_word=$2
19423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19425 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19426 echo $ECHO_N "(cached) $ECHO_C" >&6
19428 if test -n "$ac_ct_RANLIB"; then
19429 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19432 for as_dir in $PATH
19435 test -z "$as_dir" && as_dir=.
19436 for ac_exec_ext in '' $ac_executable_extensions; do
19437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19438 ac_cv_prog_ac_ct_RANLIB="ranlib"
19439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19448 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19449 if test -n "$ac_ct_RANLIB"; then
19450 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19451 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19453 { echo "$as_me:$LINENO: result: no" >&5
19454 echo "${ECHO_T}no" >&6; }
19457 if test "x$ac_ct_RANLIB" = x; then
19460 case $cross_compiling:$ac_tool_warned in
19462 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19463 whose name does not start with the host triplet. If you think this
19464 configuration is useful to you, please write to autoconf@gnu.org." >&5
19465 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19466 whose name does not start with the host triplet. If you think this
19467 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19468 ac_tool_warned=yes ;;
19470 RANLIB=$ac_ct_RANLIB
19473 RANLIB="$ac_cv_prog_RANLIB"
19477 if test "x$SUNCXX" != xyes; then
19478 if test -n "$ac_tool_prefix"; then
19479 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19480 set dummy ${ac_tool_prefix}ar; ac_word=$2
19481 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19483 if test "${ac_cv_prog_AR+set}" = set; then
19484 echo $ECHO_N "(cached) $ECHO_C" >&6
19486 if test -n "$AR"; then
19487 ac_cv_prog_AR="$AR" # Let the user override the test.
19489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19490 for as_dir in $PATH
19493 test -z "$as_dir" && as_dir=.
19494 for ac_exec_ext in '' $ac_executable_extensions; do
19495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19496 ac_cv_prog_AR="${ac_tool_prefix}ar"
19497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19507 if test -n "$AR"; then
19508 { echo "$as_me:$LINENO: result: $AR" >&5
19509 echo "${ECHO_T}$AR" >&6; }
19511 { echo "$as_me:$LINENO: result: no" >&5
19512 echo "${ECHO_T}no" >&6; }
19517 if test -z "$ac_cv_prog_AR"; then
19519 # Extract the first word of "ar", so it can be a program name with args.
19520 set dummy ar; ac_word=$2
19521 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19523 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19524 echo $ECHO_N "(cached) $ECHO_C" >&6
19526 if test -n "$ac_ct_AR"; then
19527 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19530 for as_dir in $PATH
19533 test -z "$as_dir" && as_dir=.
19534 for ac_exec_ext in '' $ac_executable_extensions; do
19535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19536 ac_cv_prog_ac_ct_AR="ar"
19537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19546 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19547 if test -n "$ac_ct_AR"; then
19548 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19549 echo "${ECHO_T}$ac_ct_AR" >&6; }
19551 { echo "$as_me:$LINENO: result: no" >&5
19552 echo "${ECHO_T}no" >&6; }
19555 if test "x$ac_ct_AR" = x; then
19558 case $cross_compiling:$ac_tool_warned in
19560 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19561 whose name does not start with the host triplet. If you think this
19562 configuration is useful to you, please write to autoconf@gnu.org." >&5
19563 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19564 whose name does not start with the host triplet. If you think this
19565 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19566 ac_tool_warned=yes ;;
19571 AR="$ac_cv_prog_AR"
19574 if test "x$AR" = "x" ; then
19575 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19576 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19577 { (exit 1); exit 1; }; }
19581 # Find a good install program. We prefer a C program (faster),
19582 # so one script is as good as another. But avoid the broken or
19583 # incompatible versions:
19584 # SysV /etc/install, /usr/sbin/install
19585 # SunOS /usr/etc/install
19586 # IRIX /sbin/install
19588 # AmigaOS /C/install, which installs bootblocks on floppy discs
19589 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19590 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19591 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19592 # OS/2's system install, which has a completely different semantic
19593 # ./install, which can be erroneously created by make from ./install.sh.
19594 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19595 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19596 if test -z "$INSTALL"; then
19597 if test "${ac_cv_path_install+set}" = set; then
19598 echo $ECHO_N "(cached) $ECHO_C" >&6
19600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19601 for as_dir in $PATH
19604 test -z "$as_dir" && as_dir=.
19605 # Account for people who put trailing slashes in PATH elements.
19607 ./ | .// | /cC/* | \
19608 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19609 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19612 # OSF1 and SCO ODT 3.0 have their own names for install.
19613 # Don't use installbsd from OSF since it installs stuff as root
19615 for ac_prog in ginstall scoinst install; do
19616 for ac_exec_ext in '' $ac_executable_extensions; do
19617 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19618 if test $ac_prog = install &&
19619 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19620 # AIX install. It has an incompatible calling convention.
19622 elif test $ac_prog = install &&
19623 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19624 # program-specific install script used by HP pwplus--don't use.
19627 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19640 if test "${ac_cv_path_install+set}" = set; then
19641 INSTALL=$ac_cv_path_install
19643 # As a last resort, use the slow shell script. Don't cache a
19644 # value for INSTALL within a source directory, because that will
19645 # break other packages using the cache if that directory is
19646 # removed, or if the value is a relative name.
19647 INSTALL=$ac_install_sh
19650 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19651 echo "${ECHO_T}$INSTALL" >&6; }
19653 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19654 # It thinks the first close brace ends the variable substitution.
19655 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19657 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19659 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19665 ?:* ) # Drive letter, considered as absolute.
19668 INSTALL=`pwd`/${INSTALL} ;;
19675 INSTALL_PROGRAM="cp -fp"
19676 INSTALL_DATA="cp -fp"
19682 if test -n "$ac_tool_prefix"; then
19683 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19684 set dummy ${ac_tool_prefix}strip; ac_word=$2
19685 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19687 if test "${ac_cv_prog_STRIP+set}" = set; then
19688 echo $ECHO_N "(cached) $ECHO_C" >&6
19690 if test -n "$STRIP"; then
19691 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19694 for as_dir in $PATH
19697 test -z "$as_dir" && as_dir=.
19698 for ac_exec_ext in '' $ac_executable_extensions; do
19699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19700 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19710 STRIP=$ac_cv_prog_STRIP
19711 if test -n "$STRIP"; then
19712 { echo "$as_me:$LINENO: result: $STRIP" >&5
19713 echo "${ECHO_T}$STRIP" >&6; }
19715 { echo "$as_me:$LINENO: result: no" >&5
19716 echo "${ECHO_T}no" >&6; }
19721 if test -z "$ac_cv_prog_STRIP"; then
19723 # Extract the first word of "strip", so it can be a program name with args.
19724 set dummy strip; ac_word=$2
19725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19727 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19728 echo $ECHO_N "(cached) $ECHO_C" >&6
19730 if test -n "$ac_ct_STRIP"; then
19731 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19734 for as_dir in $PATH
19737 test -z "$as_dir" && as_dir=.
19738 for ac_exec_ext in '' $ac_executable_extensions; do
19739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19740 ac_cv_prog_ac_ct_STRIP="strip"
19741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19750 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19751 if test -n "$ac_ct_STRIP"; then
19752 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19753 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19755 { echo "$as_me:$LINENO: result: no" >&5
19756 echo "${ECHO_T}no" >&6; }
19759 if test "x$ac_ct_STRIP" = x; then
19762 case $cross_compiling:$ac_tool_warned in
19764 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19765 whose name does not start with the host triplet. If you think this
19766 configuration is useful to you, please write to autoconf@gnu.org." >&5
19767 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19768 whose name does not start with the host triplet. If you think this
19769 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19770 ac_tool_warned=yes ;;
19775 STRIP="$ac_cv_prog_STRIP"
19779 if test "$wxUSE_WINE" = "yes"; then
19780 if test -n "$ac_tool_prefix"; then
19781 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
19782 set dummy ${ac_tool_prefix}wrc; ac_word=$2
19783 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19785 if test "${ac_cv_prog_WINDRES+set}" = set; then
19786 echo $ECHO_N "(cached) $ECHO_C" >&6
19788 if test -n "$WINDRES"; then
19789 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19792 for as_dir in $PATH
19795 test -z "$as_dir" && as_dir=.
19796 for ac_exec_ext in '' $ac_executable_extensions; do
19797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19798 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
19799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19808 WINDRES=$ac_cv_prog_WINDRES
19809 if test -n "$WINDRES"; then
19810 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19811 echo "${ECHO_T}$WINDRES" >&6; }
19813 { echo "$as_me:$LINENO: result: no" >&5
19814 echo "${ECHO_T}no" >&6; }
19819 if test -z "$ac_cv_prog_WINDRES"; then
19820 ac_ct_WINDRES=$WINDRES
19821 # Extract the first word of "wrc", so it can be a program name with args.
19822 set dummy wrc; ac_word=$2
19823 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19825 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19826 echo $ECHO_N "(cached) $ECHO_C" >&6
19828 if test -n "$ac_ct_WINDRES"; then
19829 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19832 for as_dir in $PATH
19835 test -z "$as_dir" && as_dir=.
19836 for ac_exec_ext in '' $ac_executable_extensions; do
19837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19838 ac_cv_prog_ac_ct_WINDRES="wrc"
19839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19848 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19849 if test -n "$ac_ct_WINDRES"; then
19850 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19851 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19853 { echo "$as_me:$LINENO: result: no" >&5
19854 echo "${ECHO_T}no" >&6; }
19857 if test "x$ac_ct_WINDRES" = x; then
19860 case $cross_compiling:$ac_tool_warned in
19862 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19863 whose name does not start with the host triplet. If you think this
19864 configuration is useful to you, please write to autoconf@gnu.org." >&5
19865 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19866 whose name does not start with the host triplet. If you think this
19867 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19868 ac_tool_warned=yes ;;
19870 WINDRES=$ac_ct_WINDRES
19873 WINDRES="$ac_cv_prog_WINDRES"
19879 *-*-cygwin* | *-*-mingw32* )
19880 if test -n "$ac_tool_prefix"; then
19881 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
19882 set dummy ${ac_tool_prefix}windres; ac_word=$2
19883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19885 if test "${ac_cv_prog_WINDRES+set}" = set; then
19886 echo $ECHO_N "(cached) $ECHO_C" >&6
19888 if test -n "$WINDRES"; then
19889 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19892 for as_dir in $PATH
19895 test -z "$as_dir" && as_dir=.
19896 for ac_exec_ext in '' $ac_executable_extensions; do
19897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19898 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
19899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19908 WINDRES=$ac_cv_prog_WINDRES
19909 if test -n "$WINDRES"; then
19910 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19911 echo "${ECHO_T}$WINDRES" >&6; }
19913 { echo "$as_me:$LINENO: result: no" >&5
19914 echo "${ECHO_T}no" >&6; }
19919 if test -z "$ac_cv_prog_WINDRES"; then
19920 ac_ct_WINDRES=$WINDRES
19921 # Extract the first word of "windres", so it can be a program name with args.
19922 set dummy windres; ac_word=$2
19923 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19925 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19926 echo $ECHO_N "(cached) $ECHO_C" >&6
19928 if test -n "$ac_ct_WINDRES"; then
19929 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19932 for as_dir in $PATH
19935 test -z "$as_dir" && as_dir=.
19936 for ac_exec_ext in '' $ac_executable_extensions; do
19937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19938 ac_cv_prog_ac_ct_WINDRES="windres"
19939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19948 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19949 if test -n "$ac_ct_WINDRES"; then
19950 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19951 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19953 { echo "$as_me:$LINENO: result: no" >&5
19954 echo "${ECHO_T}no" >&6; }
19957 if test "x$ac_ct_WINDRES" = x; then
19960 case $cross_compiling:$ac_tool_warned in
19962 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19963 whose name does not start with the host triplet. If you think this
19964 configuration is useful to you, please write to autoconf@gnu.org." >&5
19965 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19966 whose name does not start with the host triplet. If you think this
19967 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19968 ac_tool_warned=yes ;;
19970 WINDRES=$ac_ct_WINDRES
19973 WINDRES="$ac_cv_prog_WINDRES"
19977 if test -n "$ac_tool_prefix"; then
19978 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
19979 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
19980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19982 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
19983 echo $ECHO_N "(cached) $ECHO_C" >&6
19985 if test -n "$DLLTOOL"; then
19986 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
19988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19989 for as_dir in $PATH
19992 test -z "$as_dir" && as_dir=.
19993 for ac_exec_ext in '' $ac_executable_extensions; do
19994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19995 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
19996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20005 DLLTOOL=$ac_cv_prog_DLLTOOL
20006 if test -n "$DLLTOOL"; then
20007 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
20008 echo "${ECHO_T}$DLLTOOL" >&6; }
20010 { echo "$as_me:$LINENO: result: no" >&5
20011 echo "${ECHO_T}no" >&6; }
20016 if test -z "$ac_cv_prog_DLLTOOL"; then
20017 ac_ct_DLLTOOL=$DLLTOOL
20018 # Extract the first word of "dlltool", so it can be a program name with args.
20019 set dummy dlltool; ac_word=$2
20020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20022 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
20023 echo $ECHO_N "(cached) $ECHO_C" >&6
20025 if test -n "$ac_ct_DLLTOOL"; then
20026 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
20028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20029 for as_dir in $PATH
20032 test -z "$as_dir" && as_dir=.
20033 for ac_exec_ext in '' $ac_executable_extensions; do
20034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20035 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
20036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20045 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
20046 if test -n "$ac_ct_DLLTOOL"; then
20047 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
20048 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
20050 { echo "$as_me:$LINENO: result: no" >&5
20051 echo "${ECHO_T}no" >&6; }
20054 if test "x$ac_ct_DLLTOOL" = x; then
20057 case $cross_compiling:$ac_tool_warned in
20059 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20060 whose name does not start with the host triplet. If you think this
20061 configuration is useful to you, please write to autoconf@gnu.org." >&5
20062 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20063 whose name does not start with the host triplet. If you think this
20064 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20065 ac_tool_warned=yes ;;
20067 DLLTOOL=$ac_ct_DLLTOOL
20070 DLLTOOL="$ac_cv_prog_DLLTOOL"
20077 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
20078 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
20079 if test "${wx_cv_prog_makeisgnu+set}" = set; then
20080 echo $ECHO_N "(cached) $ECHO_C" >&6
20083 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
20084 $EGREP -s GNU > /dev/null); then
20085 wx_cv_prog_makeisgnu="yes"
20087 wx_cv_prog_makeisgnu="no"
20091 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
20092 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
20094 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
20102 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
20103 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
20104 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
20105 if test "${wx_cv_prog_makevpath+set}" = set; then
20106 echo $ECHO_N "(cached) $ECHO_C" >&6
20109 cat - << EOF > confMake
20115 if test ! -d sub ; then
20118 echo dummy > sub/file
20119 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
20121 rm -f sub/file check final_file confMake
20123 if test "$RESULT" = 0; then
20124 wx_cv_prog_makevpath="yes"
20126 wx_cv_prog_makevpath="no"
20130 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
20131 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
20133 if test "x$wx_cv_prog_makevpath" != "xyes"; then
20134 { { echo "$as_me:$LINENO: error:
20135 You need a make-utility that is able to use the variable
20137 If your version of make does not support VPATH correctly,
20138 please install GNU-make (possibly as gmake), and start
20139 configure with the following command:
20140 export MAKE=gmake; ./configure for sh-type shells
20141 setenv MAKE gmake; ./configure for csh-type shells
20142 Also please do remember to use gmake in this case every time
20143 you are trying to compile.
20145 echo "$as_me: error:
20146 You need a make-utility that is able to use the variable
20148 If your version of make does not support VPATH correctly,
20149 please install GNU-make (possibly as gmake), and start
20150 configure with the following command:
20151 export MAKE=gmake; ./configure for sh-type shells
20152 setenv MAKE gmake; ./configure for csh-type shells
20153 Also please do remember to use gmake in this case every time
20154 you are trying to compile.
20156 { (exit 1); exit 1; }; }
20158 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
20159 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
20161 if test "$LN_S" = "ln -s"; then
20162 { echo "$as_me:$LINENO: result: yes" >&5
20163 echo "${ECHO_T}yes" >&6; }
20165 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20166 echo "${ECHO_T}no, using $LN_S" >&6; }
20172 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20173 CXXFLAGS="-qunique $CXXFLAGS"
20177 powerpc-*-darwin* )
20178 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20179 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20180 cat >conftest.$ac_ext <<_ACEOF
20183 cat confdefs.h >>conftest.$ac_ext
20184 cat >>conftest.$ac_ext <<_ACEOF
20185 /* end confdefs.h. */
20190 #ifndef __POWERPC__
20191 choke me for lack of PowerPC
20198 rm -f conftest.$ac_objext
20199 if { (ac_try="$ac_compile"
20200 case "(($ac_try" in
20201 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20202 *) ac_try_echo
=$ac_try;;
20204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20205 (eval "$ac_compile") 2>conftest.er1
20207 grep -v '^ *+' conftest.er1
>conftest.err
20209 cat conftest.err
>&5
20210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20211 (exit $ac_status); } && {
20212 test -z "$ac_c_werror_flag" ||
20213 test ! -s conftest.err
20214 } && test -s conftest.
$ac_objext; then
20215 { echo "$as_me:$LINENO: result: yes" >&5
20216 echo "${ECHO_T}yes" >&6; }
20218 echo "$as_me: failed program was:" >&5
20219 sed 's/^/| /' conftest.
$ac_ext >&5
20221 { echo "$as_me:$LINENO: result: no" >&5
20222 echo "${ECHO_T}no" >&6; }
20223 cat >>confdefs.h
<<\_ACEOF
20224 #define __POWERPC__ 1
20230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20236 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20237 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20238 cat >conftest.
$ac_ext <<_ACEOF
20241 cat confdefs.h
>>conftest.
$ac_ext
20242 cat >>conftest.
$ac_ext <<_ACEOF
20243 /* end confdefs.h. */
20244 #include <CoreFoundation/CFBase.h>
20254 rm -f conftest.
$ac_objext
20255 if { (ac_try
="$ac_compile"
20256 case "(($ac_try" in
20257 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20258 *) ac_try_echo=$ac_try;;
20260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20261 (eval "$ac_compile") 2>conftest.er1
20263 grep -v '^ *+' conftest.er1 >conftest.err
20265 cat conftest.err >&5
20266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20267 (exit $ac_status); } && {
20268 test -z "$ac_c_werror_flag" ||
20269 test ! -s conftest.err
20270 } && test -s conftest.$ac_objext; then
20271 { echo "$as_me:$LINENO: result: yes" >&5
20272 echo "${ECHO_T}yes" >&6; }
20274 echo "$as_me: failed program was:" >&5
20275 sed 's/^/| /' conftest.$ac_ext >&5
20277 { echo "$as_me:$LINENO: result: no" >&5
20278 echo "${ECHO_T}no" >&6; }
20279 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20280 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20281 cat >conftest.$ac_ext <<_ACEOF
20284 cat confdefs.h >>conftest.$ac_ext
20285 cat >>conftest.$ac_ext <<_ACEOF
20286 /* end confdefs.h. */
20287 #define __CF_USE_FRAMEWORK_INCLUDES__
20288 #include <CoreFoundation/CFBase.h>
20298 rm -f conftest.$ac_objext
20299 if { (ac_try="$ac_compile"
20300 case "(($ac_try" in
20301 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20302 *) ac_try_echo
=$ac_try;;
20304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20305 (eval "$ac_compile") 2>conftest.er1
20307 grep -v '^ *+' conftest.er1
>conftest.err
20309 cat conftest.err
>&5
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); } && {
20312 test -z "$ac_c_werror_flag" ||
20313 test ! -s conftest.err
20314 } && test -s conftest.
$ac_objext; then
20315 { echo "$as_me:$LINENO: result: yes" >&5
20316 echo "${ECHO_T}yes" >&6; }
20317 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20319 echo "$as_me: failed program was:" >&5
20320 sed 's/^/| /' conftest.
$ac_ext >&5
20322 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20323 See \`config.log' for more details." >&5
20324 echo "$as_me: error: no. CoreFoundation not available.
20325 See \`config.log' for more details." >&2;}
20326 { (exit 1); exit 1; }; }
20330 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20340 doesnt_want_win32
=0
20343 if test "$wxUSE_MSW" = 1 ; then
20346 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20347 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20348 if test "${wx_cv_nocygwin+set}" = set; then
20349 echo $ECHO_N "(cached) $ECHO_C" >&6
20352 cat >conftest.
$ac_ext <<_ACEOF
20355 cat confdefs.h
>>conftest.
$ac_ext
20356 cat >>conftest.
$ac_ext <<_ACEOF
20357 /* end confdefs.h. */
20371 rm -f conftest.
$ac_objext
20372 if { (ac_try
="$ac_compile"
20373 case "(($ac_try" in
20374 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20375 *) ac_try_echo=$ac_try;;
20377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20378 (eval "$ac_compile") 2>conftest.er1
20380 grep -v '^ *+' conftest.er1 >conftest.err
20382 cat conftest.err >&5
20383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20384 (exit $ac_status); } && {
20385 test -z "$ac_c_werror_flag" ||
20386 test ! -s conftest.err
20387 } && test -s conftest.$ac_objext; then
20390 echo "$as_me: failed program was:" >&5
20391 sed 's/^/| /' conftest.$ac_ext >&5
20397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20401 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20402 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20404 if test "$wx_cv_nocygwin" = "yes"; then
20407 doesnt_want_win32=1
20410 if test "$wants_win32" = 1 ; then
20411 BAKEFILE_FORCE_PLATFORM=win32
20419 if test "$wxUSE_WINE" = "yes"; then
20421 LDFLAGS_GUI="-mwindows"
20424 if test "$wants_win32" = 1 ; then
20427 cat >>confdefs.h <<\_ACEOF
20428 #define __WIN32__ 1
20431 cat >>confdefs.h <<\_ACEOF
20432 #define __WIN95__ 1
20435 cat >>confdefs.h <<\_ACEOF
20436 #define __WINDOWS__ 1
20439 cat >>confdefs.h <<\_ACEOF
20440 #define __GNUWIN32__ 1
20443 cat >>confdefs.h <<\_ACEOF
20448 if test "$doesnt_want_win32" = 1 ; then
20453 if test "$USE_UNIX" = 1 ; then
20455 cat >>confdefs.h <<\_ACEOF
20462 *-pc-os2_emx | *-pc-os2-emx )
20463 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20464 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20465 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20466 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20467 echo $ECHO_N "(cached) $ECHO_C" >&6
20469 ac_check_lib_save_LIBS=$LIBS
20470 LIBS="-lcExt $LIBS"
20471 cat >conftest.$ac_ext <<_ACEOF
20474 cat confdefs.h >>conftest.$ac_ext
20475 cat >>conftest.$ac_ext <<_ACEOF
20476 /* end confdefs.h. */
20478 /* Override any GCC internal prototype to avoid an error.
20479 Use char because int might match the return type of a GCC
20480 builtin and then its argument prototype would still apply. */
20493 rm -f conftest.$ac_objext conftest$ac_exeext
20494 if { (ac_try="$ac_link"
20495 case "(($ac_try" in
20496 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20497 *) ac_try_echo
=$ac_try;;
20499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20500 (eval "$ac_link") 2>conftest.er1
20502 grep -v '^ *+' conftest.er1
>conftest.err
20504 cat conftest.err
>&5
20505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20506 (exit $ac_status); } && {
20507 test -z "$ac_c_werror_flag" ||
20508 test ! -s conftest.err
20509 } && test -s conftest
$ac_exeext &&
20510 $as_test_x conftest
$ac_exeext; then
20511 ac_cv_lib_cExt_drand48
=yes
20513 echo "$as_me: failed program was:" >&5
20514 sed 's/^/| /' conftest.
$ac_ext >&5
20516 ac_cv_lib_cExt_drand48
=no
20519 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20520 conftest
$ac_exeext conftest.
$ac_ext
20521 LIBS
=$ac_check_lib_save_LIBS
20523 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20524 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20525 if test $ac_cv_lib_cExt_drand48 = yes; then
20526 LIBS
="$LIBS -lcExt"
20530 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
20532 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20533 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20534 if test "${wx_cv_gccversion+set}" = set; then
20535 echo $ECHO_N "(cached) $ECHO_C" >&6
20538 if test "$cross_compiling" = yes; then
20539 wx_cv_gccversion
="EMX2"
20542 cat >conftest.
$ac_ext <<_ACEOF
20545 cat confdefs.h
>>conftest.
$ac_ext
20546 cat >>conftest.
$ac_ext <<_ACEOF
20547 /* end confdefs.h. */
20553 FILE *f=fopen("conftestval", "w");
20558 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20560 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20570 rm -f conftest
$ac_exeext
20571 if { (ac_try
="$ac_link"
20572 case "(($ac_try" in
20573 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20574 *) ac_try_echo=$ac_try;;
20576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20577 (eval "$ac_link") 2>&5
20579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20580 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20581 { (case "(($ac_try" in
20582 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20583 *) ac_try_echo
=$ac_try;;
20585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20586 (eval "$ac_try") 2>&5
20588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20589 (exit $ac_status); }; }; then
20590 wx_cv_gccversion
=`cat conftestval`
20592 echo "$as_me: program exited with status $ac_status" >&5
20593 echo "$as_me: failed program was:" >&5
20594 sed 's/^/| /' conftest.
$ac_ext >&5
20596 ( exit $ac_status )
20597 wx_cv_gccversion
="EMX2"
20599 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20605 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20606 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20607 if test "$wx_cv_gccversion" = "EMX2"; then
20608 LIBS
="$LIBS -lstdcpp"
20609 LDFLAGS
="$LDFLAGS -Zsysv-signals"
20611 if test "$wx_cv_gccversion" = "EMX3"; then
20612 LIBS
="$LIBS -lstdcxx -lgcc"
20613 LDFLAGS
="$LDFLAGS -Zsysv-signals"
20615 LIBS
="$LIBS -lstdc++"
20618 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20619 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20620 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20627 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20628 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20629 if test "${ac_cv_string_strcasecmp+set}" = set; then
20630 echo $ECHO_N "(cached) $ECHO_C" >&6
20633 cat >conftest.
$ac_ext <<_ACEOF
20636 cat confdefs.h
>>conftest.
$ac_ext
20637 cat >>conftest.
$ac_ext <<_ACEOF
20638 /* end confdefs.h. */
20640 #include <string.h>
20646 strcasecmp("foo", "bar");
20652 rm -f conftest.
$ac_objext conftest
$ac_exeext
20653 if { (ac_try
="$ac_link"
20654 case "(($ac_try" in
20655 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20656 *) ac_try_echo=$ac_try;;
20658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20659 (eval "$ac_link") 2>conftest.er1
20661 grep -v '^ *+' conftest.er1 >conftest.err
20663 cat conftest.err >&5
20664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20665 (exit $ac_status); } && {
20666 test -z "$ac_c_werror_flag" ||
20667 test ! -s conftest.err
20668 } && test -s conftest$ac_exeext &&
20669 $as_test_x conftest$ac_exeext; then
20670 ac_cv_string_strcasecmp=yes
20672 echo "$as_me: failed program was:" >&5
20673 sed 's/^/| /' conftest.$ac_ext >&5
20675 ac_cv_string_strcasecmp=no
20679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20680 conftest$ac_exeext conftest.$ac_ext
20683 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20684 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20686 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20687 cat >>confdefs.h <<\_ACEOF
20688 #define HAVE_STRCASECMP_IN_STRING_H 1
20692 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20693 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20694 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20695 echo $ECHO_N "(cached) $ECHO_C" >&6
20698 cat >conftest.$ac_ext <<_ACEOF
20701 cat confdefs.h >>conftest.$ac_ext
20702 cat >>conftest.$ac_ext <<_ACEOF
20703 /* end confdefs.h. */
20705 #include <strings.h>
20711 strcasecmp("foo", "bar");
20717 rm -f conftest.$ac_objext conftest$ac_exeext
20718 if { (ac_try="$ac_link"
20719 case "(($ac_try" in
20720 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20721 *) ac_try_echo
=$ac_try;;
20723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20724 (eval "$ac_link") 2>conftest.er1
20726 grep -v '^ *+' conftest.er1
>conftest.err
20728 cat conftest.err
>&5
20729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20730 (exit $ac_status); } && {
20731 test -z "$ac_c_werror_flag" ||
20732 test ! -s conftest.err
20733 } && test -s conftest
$ac_exeext &&
20734 $as_test_x conftest
$ac_exeext; then
20735 ac_cv_strings_strcasecmp
=yes
20737 echo "$as_me: failed program was:" >&5
20738 sed 's/^/| /' conftest.
$ac_ext >&5
20740 ac_cv_strings_strcasecmp
=no
20744 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20745 conftest
$ac_exeext conftest.
$ac_ext
20748 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20749 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20751 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
20752 cat >>confdefs.h
<<\_ACEOF
20753 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20757 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20758 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20759 { (exit 1); exit 1; }; }
20767 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20768 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20769 if test "${ac_cv_header_stdc+set}" = set; then
20770 echo $ECHO_N "(cached) $ECHO_C" >&6
20772 cat >conftest.
$ac_ext <<_ACEOF
20775 cat confdefs.h
>>conftest.
$ac_ext
20776 cat >>conftest.
$ac_ext <<_ACEOF
20777 /* end confdefs.h. */
20778 #include <stdlib.h>
20779 #include <stdarg.h>
20780 #include <string.h>
20791 rm -f conftest.
$ac_objext
20792 if { (ac_try
="$ac_compile"
20793 case "(($ac_try" in
20794 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20795 *) ac_try_echo=$ac_try;;
20797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20798 (eval "$ac_compile") 2>conftest.er1
20800 grep -v '^ *+' conftest.er1 >conftest.err
20802 cat conftest.err >&5
20803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20804 (exit $ac_status); } && {
20805 test -z "$ac_c_werror_flag" ||
20806 test ! -s conftest.err
20807 } && test -s conftest.$ac_objext; then
20808 ac_cv_header_stdc=yes
20810 echo "$as_me: failed program was:" >&5
20811 sed 's/^/| /' conftest.$ac_ext >&5
20813 ac_cv_header_stdc=no
20816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20818 if test $ac_cv_header_stdc = yes; then
20819 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20820 cat >conftest.$ac_ext <<_ACEOF
20823 cat confdefs.h >>conftest.$ac_ext
20824 cat >>conftest.$ac_ext <<_ACEOF
20825 /* end confdefs.h. */
20826 #include <string.h>
20829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20830 $EGREP "memchr" >/dev/null 2>&1; then
20833 ac_cv_header_stdc=no
20839 if test $ac_cv_header_stdc = yes; then
20840 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20841 cat >conftest.$ac_ext <<_ACEOF
20844 cat confdefs.h >>conftest.$ac_ext
20845 cat >>conftest.$ac_ext <<_ACEOF
20846 /* end confdefs.h. */
20847 #include <stdlib.h>
20850 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20851 $EGREP "free" >/dev/null 2>&1; then
20854 ac_cv_header_stdc=no
20860 if test $ac_cv_header_stdc = yes; then
20861 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20862 if test "$cross_compiling" = yes; then
20865 cat >conftest.$ac_ext <<_ACEOF
20868 cat confdefs.h >>conftest.$ac_ext
20869 cat >>conftest.$ac_ext <<_ACEOF
20870 /* end confdefs.h. */
20872 #include <stdlib.h>
20873 #if ((' ' & 0x0FF) == 0x020)
20874 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20875 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20877 # define ISLOWER(c) \
20878 (('a' <= (c) && (c) <= 'i') \
20879 || ('j' <= (c) && (c) <= 'r') \
20880 || ('s' <= (c) && (c) <= 'z'))
20881 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20884 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20889 for (i = 0; i < 256; i++)
20890 if (XOR (islower (i), ISLOWER (i))
20891 || toupper (i) != TOUPPER (i))
20896 rm -f conftest$ac_exeext
20897 if { (ac_try="$ac_link"
20898 case "(($ac_try" in
20899 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20900 *) ac_try_echo
=$ac_try;;
20902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20903 (eval "$ac_link") 2>&5
20905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20907 { (case "(($ac_try" in
20908 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20909 *) ac_try_echo=$ac_try;;
20911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20912 (eval "$ac_try") 2>&5
20914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20915 (exit $ac_status); }; }; then
20918 echo "$as_me: program exited with status $ac_status" >&5
20919 echo "$as_me: failed program was:" >&5
20920 sed 's/^/| /' conftest.$ac_ext >&5
20922 ( exit $ac_status )
20923 ac_cv_header_stdc=no
20925 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20931 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20932 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20933 if test $ac_cv_header_stdc = yes; then
20935 cat >>confdefs.h <<\_ACEOF
20936 #define STDC_HEADERS 1
20941 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20951 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20952 inttypes.h stdint.h unistd.h
20954 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20955 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20957 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20958 echo $ECHO_N "(cached) $ECHO_C" >&6
20960 cat >conftest.$ac_ext <<_ACEOF
20963 cat confdefs.h >>conftest.$ac_ext
20964 cat >>conftest.$ac_ext <<_ACEOF
20965 /* end confdefs.h. */
20966 $ac_includes_default
20968 #include <$ac_header>
20970 rm -f conftest.$ac_objext
20971 if { (ac_try="$ac_compile"
20972 case "(($ac_try" in
20973 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20974 *) ac_try_echo
=$ac_try;;
20976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20977 (eval "$ac_compile") 2>conftest.er1
20979 grep -v '^ *+' conftest.er1
>conftest.err
20981 cat conftest.err
>&5
20982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983 (exit $ac_status); } && {
20984 test -z "$ac_c_werror_flag" ||
20985 test ! -s conftest.err
20986 } && test -s conftest.
$ac_objext; then
20987 eval "$as_ac_Header=yes"
20989 echo "$as_me: failed program was:" >&5
20990 sed 's/^/| /' conftest.
$ac_ext >&5
20992 eval "$as_ac_Header=no"
20995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20997 ac_res
=`eval echo '${'$as_ac_Header'}'`
20998 { echo "$as_me:$LINENO: result: $ac_res" >&5
20999 echo "${ECHO_T}$ac_res" >&6; }
21000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21001 cat >>confdefs.h
<<_ACEOF
21002 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21016 for ac_header
in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
21018 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21019 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21021 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21022 echo $ECHO_N "(cached) $ECHO_C" >&6
21024 cat >conftest.
$ac_ext <<_ACEOF
21027 cat confdefs.h
>>conftest.
$ac_ext
21028 cat >>conftest.
$ac_ext <<_ACEOF
21029 /* end confdefs.h. */
21030 $ac_includes_default
21032 #include <$ac_header>
21034 rm -f conftest.
$ac_objext
21035 if { (ac_try
="$ac_compile"
21036 case "(($ac_try" in
21037 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21038 *) ac_try_echo=$ac_try;;
21040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21041 (eval "$ac_compile") 2>conftest.er1
21043 grep -v '^ *+' conftest.er1 >conftest.err
21045 cat conftest.err >&5
21046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21047 (exit $ac_status); } && {
21048 test -z "$ac_c_werror_flag" ||
21049 test ! -s conftest.err
21050 } && test -s conftest.$ac_objext; then
21051 eval "$as_ac_Header=yes"
21053 echo "$as_me: failed program was:" >&5
21054 sed 's/^/| /' conftest.$ac_ext >&5
21056 eval "$as_ac_Header=no"
21059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21061 ac_res=`eval echo '${'$as_ac_Header'}'`
21062 { echo "$as_me:$LINENO: result: $ac_res" >&5
21063 echo "${ECHO_T}$ac_res" >&6; }
21064 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21065 cat >>confdefs.h <<_ACEOF
21066 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21074 if test "$ac_cv_header_wchar_h" != "yes"; then
21076 for ac_header in wcstr.h
21078 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21079 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21081 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21082 echo $ECHO_N "(cached) $ECHO_C" >&6
21084 cat >conftest.$ac_ext <<_ACEOF
21087 cat confdefs.h >>conftest.$ac_ext
21088 cat >>conftest.$ac_ext <<_ACEOF
21089 /* end confdefs.h. */
21090 $ac_includes_default
21092 #include <$ac_header>
21094 rm -f conftest.$ac_objext
21095 if { (ac_try="$ac_compile"
21096 case "(($ac_try" in
21097 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21098 *) ac_try_echo
=$ac_try;;
21100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21101 (eval "$ac_compile") 2>conftest.er1
21103 grep -v '^ *+' conftest.er1
>conftest.err
21105 cat conftest.err
>&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); } && {
21108 test -z "$ac_c_werror_flag" ||
21109 test ! -s conftest.err
21110 } && test -s conftest.
$ac_objext; then
21111 eval "$as_ac_Header=yes"
21113 echo "$as_me: failed program was:" >&5
21114 sed 's/^/| /' conftest.
$ac_ext >&5
21116 eval "$as_ac_Header=no"
21119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21121 ac_res
=`eval echo '${'$as_ac_Header'}'`
21122 { echo "$as_me:$LINENO: result: $ac_res" >&5
21123 echo "${ECHO_T}$ac_res" >&6; }
21124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21125 cat >>confdefs.h
<<_ACEOF
21126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21136 *-pc-os2_emx | *-pc-os2-emx )
21137 if test $ac_cv_header_langinfo_h = "yes" \
21138 -a \
( "$wx_cv_gccversion" = "EMX2" \
21139 -o "$wx_cv_gccversion" = "EMX3" \
21140 -o "$wx_cv_gccversion" = "Innotek5" \
); then
21141 LIBS
="$LIBS -lintl"
21146 if test "$USE_UNIX" = 1 ; then
21148 for ac_header
in sys
/select.h
21150 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21151 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21153 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21154 echo $ECHO_N "(cached) $ECHO_C" >&6
21156 cat >conftest.
$ac_ext <<_ACEOF
21159 cat confdefs.h
>>conftest.
$ac_ext
21160 cat >>conftest.
$ac_ext <<_ACEOF
21161 /* end confdefs.h. */
21162 $ac_includes_default
21164 #include <$ac_header>
21166 rm -f conftest.
$ac_objext
21167 if { (ac_try
="$ac_compile"
21168 case "(($ac_try" in
21169 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21170 *) ac_try_echo=$ac_try;;
21172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21173 (eval "$ac_compile") 2>conftest.er1
21175 grep -v '^ *+' conftest.er1 >conftest.err
21177 cat conftest.err >&5
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); } && {
21180 test -z "$ac_c_werror_flag" ||
21181 test ! -s conftest.err
21182 } && test -s conftest.$ac_objext; then
21183 eval "$as_ac_Header=yes"
21185 echo "$as_me: failed program was:" >&5
21186 sed 's/^/| /' conftest.$ac_ext >&5
21188 eval "$as_ac_Header=no"
21191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21193 ac_res=`eval echo '${'$as_ac_Header'}'`
21194 { echo "$as_me:$LINENO: result: $ac_res" >&5
21195 echo "${ECHO_T}$ac_res" >&6; }
21196 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21197 cat >>confdefs.h <<_ACEOF
21198 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21208 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21209 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21210 if test "${ac_cv_c_const+set}" = set; then
21211 echo $ECHO_N "(cached) $ECHO_C" >&6
21213 cat >conftest.$ac_ext <<_ACEOF
21216 cat confdefs.h >>conftest.$ac_ext
21217 cat >>conftest.$ac_ext <<_ACEOF
21218 /* end confdefs.h. */
21223 /* FIXME: Include the comments suggested by Paul. */
21224 #ifndef __cplusplus
21225 /* Ultrix mips cc rejects this. */
21226 typedef int charset[2];
21228 /* SunOS 4.1.1 cc rejects this. */
21229 char const *const *pcpcc;
21231 /* NEC SVR4.0.2 mips cc rejects this. */
21232 struct point {int x, y;};
21233 static struct point const zero = {0,0};
21234 /* AIX XL C 1.02.0.0 rejects this.
21235 It does not let you subtract one const X* pointer from another in
21236 an arm of an if-expression whose if-part is not a constant
21238 const char *g = "string";
21239 pcpcc = &g + (g ? g-g : 0);
21240 /* HPUX 7.0 cc rejects these. */
21242 ppc = (char**) pcpcc;
21243 pcpcc = (char const *const *) ppc;
21244 { /* SCO 3.2v4 cc rejects this. */
21246 char const *s = 0 ? (char *) 0 : (char const *) 0;
21251 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21252 int x[] = {25, 17};
21253 const int *foo = &x[0];
21256 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21257 typedef const int *iptr;
21261 { /* AIX XL C 1.02.0.0 rejects this saying
21262 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21263 struct s { int j; const int *ap[3]; };
21264 struct s *b; b->j = 5;
21266 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21267 const int foo = 10;
21268 if (!foo) return 0;
21270 return !cs[0] && !zero.x;
21277 rm -f conftest.$ac_objext
21278 if { (ac_try="$ac_compile"
21279 case "(($ac_try" in
21280 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21281 *) ac_try_echo
=$ac_try;;
21283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21284 (eval "$ac_compile") 2>conftest.er1
21286 grep -v '^ *+' conftest.er1
>conftest.err
21288 cat conftest.err
>&5
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); } && {
21291 test -z "$ac_c_werror_flag" ||
21292 test ! -s conftest.err
21293 } && test -s conftest.
$ac_objext; then
21296 echo "$as_me: failed program was:" >&5
21297 sed 's/^/| /' conftest.
$ac_ext >&5
21302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21304 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21305 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21306 if test $ac_cv_c_const = no
; then
21308 cat >>confdefs.h
<<\_ACEOF
21314 { echo "$as_me:$LINENO: checking for inline" >&5
21315 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21316 if test "${ac_cv_c_inline+set}" = set; then
21317 echo $ECHO_N "(cached) $ECHO_C" >&6
21320 for ac_kw
in inline __inline__ __inline
; do
21321 cat >conftest.
$ac_ext <<_ACEOF
21324 cat confdefs.h
>>conftest.
$ac_ext
21325 cat >>conftest.
$ac_ext <<_ACEOF
21326 /* end confdefs.h. */
21327 #ifndef __cplusplus
21329 static $ac_kw foo_t static_foo () {return 0; }
21330 $ac_kw foo_t foo () {return 0; }
21334 rm -f conftest.
$ac_objext
21335 if { (ac_try
="$ac_compile"
21336 case "(($ac_try" in
21337 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21338 *) ac_try_echo=$ac_try;;
21340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21341 (eval "$ac_compile") 2>conftest.er1
21343 grep -v '^ *+' conftest.er1 >conftest.err
21345 cat conftest.err >&5
21346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21347 (exit $ac_status); } && {
21348 test -z "$ac_c_werror_flag" ||
21349 test ! -s conftest.err
21350 } && test -s conftest.$ac_objext; then
21351 ac_cv_c_inline=$ac_kw
21353 echo "$as_me: failed program was:" >&5
21354 sed 's/^/| /' conftest.$ac_ext >&5
21359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21360 test "$ac_cv_c_inline" != no && break
21364 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21365 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21368 case $ac_cv_c_inline in
21371 case $ac_cv_c_inline in
21373 *) ac_val=$ac_cv_c_inline;;
21375 cat >>confdefs.h <<_ACEOF
21376 #ifndef __cplusplus
21377 #define inline $ac_val
21384 { echo "$as_me:$LINENO: checking for short" >&5
21385 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21386 if test "${ac_cv_type_short+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
21396 typedef short ac__type_new_;
21400 if ((ac__type_new_ *) 0)
21402 if (sizeof (ac__type_new_))
21408 rm -f conftest.$ac_objext
21409 if { (ac_try="$ac_compile"
21410 case "(($ac_try" in
21411 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21412 *) ac_try_echo
=$ac_try;;
21414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_compile") 2>conftest.er1
21417 grep -v '^ *+' conftest.er1
>conftest.err
21419 cat conftest.err
>&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); } && {
21422 test -z "$ac_c_werror_flag" ||
21423 test ! -s conftest.err
21424 } && test -s conftest.
$ac_objext; then
21425 ac_cv_type_short
=yes
21427 echo "$as_me: failed program was:" >&5
21428 sed 's/^/| /' conftest.
$ac_ext >&5
21430 ac_cv_type_short
=no
21433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21435 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21436 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21438 # The cast to long int works around a bug in the HP C Compiler
21439 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21440 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21441 # This bug is HP SR number 8606223364.
21442 { echo "$as_me:$LINENO: checking size of short" >&5
21443 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21444 if test "${ac_cv_sizeof_short+set}" = set; then
21445 echo $ECHO_N "(cached) $ECHO_C" >&6
21447 if test "$cross_compiling" = yes; then
21448 # Depending upon the size, compute the lo and hi bounds.
21449 cat >conftest.
$ac_ext <<_ACEOF
21452 cat confdefs.h
>>conftest.
$ac_ext
21453 cat >>conftest.
$ac_ext <<_ACEOF
21454 /* end confdefs.h. */
21455 $ac_includes_default
21456 typedef short ac__type_sizeof_;
21460 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21467 rm -f conftest.
$ac_objext
21468 if { (ac_try
="$ac_compile"
21469 case "(($ac_try" in
21470 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21471 *) ac_try_echo=$ac_try;;
21473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21474 (eval "$ac_compile") 2>conftest.er1
21476 grep -v '^ *+' conftest.er1 >conftest.err
21478 cat conftest.err >&5
21479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21480 (exit $ac_status); } && {
21481 test -z "$ac_c_werror_flag" ||
21482 test ! -s conftest.err
21483 } && test -s conftest.$ac_objext; then
21486 cat >conftest.$ac_ext <<_ACEOF
21489 cat confdefs.h >>conftest.$ac_ext
21490 cat >>conftest.$ac_ext <<_ACEOF
21491 /* end confdefs.h. */
21492 $ac_includes_default
21493 typedef short ac__type_sizeof_;
21497 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21504 rm -f conftest.$ac_objext
21505 if { (ac_try="$ac_compile"
21506 case "(($ac_try" in
21507 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21508 *) ac_try_echo
=$ac_try;;
21510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21511 (eval "$ac_compile") 2>conftest.er1
21513 grep -v '^ *+' conftest.er1
>conftest.err
21515 cat conftest.err
>&5
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); } && {
21518 test -z "$ac_c_werror_flag" ||
21519 test ! -s conftest.err
21520 } && test -s conftest.
$ac_objext; then
21521 ac_hi
=$ac_mid; break
21523 echo "$as_me: failed program was:" >&5
21524 sed 's/^/| /' conftest.
$ac_ext >&5
21526 ac_lo
=`expr $ac_mid + 1`
21527 if test $ac_lo -le $ac_mid; then
21531 ac_mid
=`expr 2 '*' $ac_mid + 1`
21534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21537 echo "$as_me: failed program was:" >&5
21538 sed 's/^/| /' conftest.
$ac_ext >&5
21540 cat >conftest.
$ac_ext <<_ACEOF
21543 cat confdefs.h
>>conftest.
$ac_ext
21544 cat >>conftest.
$ac_ext <<_ACEOF
21545 /* end confdefs.h. */
21546 $ac_includes_default
21547 typedef short ac__type_sizeof_;
21551 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21558 rm -f conftest.
$ac_objext
21559 if { (ac_try
="$ac_compile"
21560 case "(($ac_try" in
21561 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21562 *) ac_try_echo=$ac_try;;
21564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21565 (eval "$ac_compile") 2>conftest.er1
21567 grep -v '^ *+' conftest.er1 >conftest.err
21569 cat conftest.err >&5
21570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571 (exit $ac_status); } && {
21572 test -z "$ac_c_werror_flag" ||
21573 test ! -s conftest.err
21574 } && test -s conftest.$ac_objext; then
21577 cat >conftest.$ac_ext <<_ACEOF
21580 cat confdefs.h >>conftest.$ac_ext
21581 cat >>conftest.$ac_ext <<_ACEOF
21582 /* end confdefs.h. */
21583 $ac_includes_default
21584 typedef short ac__type_sizeof_;
21588 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21595 rm -f conftest.$ac_objext
21596 if { (ac_try="$ac_compile"
21597 case "(($ac_try" in
21598 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21599 *) ac_try_echo
=$ac_try;;
21601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21602 (eval "$ac_compile") 2>conftest.er1
21604 grep -v '^ *+' conftest.er1
>conftest.err
21606 cat conftest.err
>&5
21607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608 (exit $ac_status); } && {
21609 test -z "$ac_c_werror_flag" ||
21610 test ! -s conftest.err
21611 } && test -s conftest.
$ac_objext; then
21612 ac_lo
=$ac_mid; break
21614 echo "$as_me: failed program was:" >&5
21615 sed 's/^/| /' conftest.
$ac_ext >&5
21617 ac_hi
=`expr '(' $ac_mid ')' - 1`
21618 if test $ac_mid -le $ac_hi; then
21622 ac_mid
=`expr 2 '*' $ac_mid`
21625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21628 echo "$as_me: failed program was:" >&5
21629 sed 's/^/| /' conftest.
$ac_ext >&5
21634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21638 # Binary search between lo and hi bounds.
21639 while test "x$ac_lo" != "x$ac_hi"; do
21640 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21641 cat >conftest.
$ac_ext <<_ACEOF
21644 cat confdefs.h
>>conftest.
$ac_ext
21645 cat >>conftest.
$ac_ext <<_ACEOF
21646 /* end confdefs.h. */
21647 $ac_includes_default
21648 typedef short ac__type_sizeof_;
21652 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21659 rm -f conftest.
$ac_objext
21660 if { (ac_try
="$ac_compile"
21661 case "(($ac_try" in
21662 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21663 *) ac_try_echo=$ac_try;;
21665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21666 (eval "$ac_compile") 2>conftest.er1
21668 grep -v '^ *+' conftest.er1 >conftest.err
21670 cat conftest.err >&5
21671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21672 (exit $ac_status); } && {
21673 test -z "$ac_c_werror_flag" ||
21674 test ! -s conftest.err
21675 } && test -s conftest.$ac_objext; then
21678 echo "$as_me: failed program was:" >&5
21679 sed 's/^/| /' conftest.$ac_ext >&5
21681 ac_lo=`expr '(' $ac_mid ')' + 1`
21684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21687 ?*) ac_cv_sizeof_short=$ac_lo;;
21688 '') if test "$ac_cv_type_short" = yes; then
21689 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21690 See \`config.log
' for more details." >&5
21691 echo "$as_me: error: cannot compute sizeof (short)
21692 See \`config.log' for more details.
" >&2;}
21693 { (exit 77); exit 77; }; }
21695 ac_cv_sizeof_short=0
21699 cat >conftest.$ac_ext <<_ACEOF
21702 cat confdefs.h >>conftest.$ac_ext
21703 cat >>conftest.$ac_ext <<_ACEOF
21704 /* end confdefs.h. */
21705 $ac_includes_default
21706 typedef short ac__type_sizeof_;
21707 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21708 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21710 #include <stdlib.h>
21715 FILE *f = fopen ("conftest.val
", "w
");
21718 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21720 long int i = longval ();
21721 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21723 fprintf (f, "%ld
\n", i);
21727 unsigned long int i = ulongval ();
21728 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21730 fprintf (f, "%lu
\n", i);
21732 return ferror (f) || fclose (f) != 0;
21738 rm -f conftest$ac_exeext
21739 if { (ac_try="$ac_link"
21740 case "(($ac_try" in
21741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21742 *) ac_try_echo=$ac_try;;
21744 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21745 (eval "$ac_link") 2>&5
21747 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21749 { (case "(($ac_try" in
21750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21751 *) ac_try_echo=$ac_try;;
21753 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21754 (eval "$ac_try") 2>&5
21756 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21757 (exit $ac_status); }; }; then
21758 ac_cv_sizeof_short=`cat conftest.val`
21760 echo "$as_me: program exited with status
$ac_status" >&5
21761 echo "$as_me: failed program was
:" >&5
21762 sed 's/^/| /' conftest.$ac_ext >&5
21764 ( exit $ac_status )
21765 if test "$ac_cv_type_short" = yes; then
21766 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
21767 See \
`config.log' for more details." >&5
21768 echo "$as_me: error: cannot compute sizeof (short)
21769 See \`config.log
' for more details." >&2;}
21770 { (exit 77); exit 77; }; }
21772 ac_cv_sizeof_short=0
21775 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21779 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21780 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21784 cat >>confdefs.h <<_ACEOF
21785 #define SIZEOF_SHORT $ac_cv_sizeof_short
21789 { echo "$as_me:$LINENO: checking for void *" >&5
21790 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21791 if test "${ac_cv_type_void_p+set}" = set; then
21792 echo $ECHO_N "(cached) $ECHO_C" >&6
21794 cat >conftest.$ac_ext <<_ACEOF
21797 cat confdefs.h >>conftest.$ac_ext
21798 cat >>conftest.$ac_ext <<_ACEOF
21799 /* end confdefs.h. */
21800 $ac_includes_default
21801 typedef void * ac__type_new_;
21805 if ((ac__type_new_ *) 0)
21807 if (sizeof (ac__type_new_))
21813 rm -f conftest.$ac_objext
21814 if { (ac_try="$ac_compile"
21815 case "(($ac_try" in
21816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21817 *) ac_try_echo=$ac_try;;
21819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21820 (eval "$ac_compile") 2>conftest.er1
21822 grep -v '^
*+' conftest.er1 >conftest.err
21824 cat conftest.err >&5
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); } && {
21827 test -z "$ac_c_werror_flag" ||
21828 test ! -s conftest.err
21829 } && test -s conftest.$ac_objext; then
21830 ac_cv_type_void_p=yes
21832 echo "$as_me: failed program was:" >&5
21833 sed 's
/^
/| /' conftest.$ac_ext >&5
21835 ac_cv_type_void_p=no
21838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21840 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21841 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21843 # The cast to long int works around a bug in the HP C Compiler
21844 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21845 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21846 # This bug is HP SR number 8606223364.
21847 { echo "$as_me:$LINENO: checking size of void *" >&5
21848 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21849 if test "${ac_cv_sizeof_void_p+set}" = set; then
21850 echo $ECHO_N "(cached) $ECHO_C" >&6
21852 if test "$cross_compiling" = yes; then
21853 # Depending upon the size, compute the lo and hi bounds.
21854 cat >conftest.
$ac_ext <<_ACEOF
21857 cat confdefs.h
>>conftest.
$ac_ext
21858 cat >>conftest.
$ac_ext <<_ACEOF
21859 /* end confdefs.h. */
21860 $ac_includes_default
21861 typedef void * ac__type_sizeof_;
21865 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21872 rm -f conftest.
$ac_objext
21873 if { (ac_try
="$ac_compile"
21874 case "(($ac_try" in
21875 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21876 *) ac_try_echo=$ac_try;;
21878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21879 (eval "$ac_compile") 2>conftest.er1
21881 grep -v '^ *+' conftest.er1 >conftest.err
21883 cat conftest.err >&5
21884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21885 (exit $ac_status); } && {
21886 test -z "$ac_c_werror_flag" ||
21887 test ! -s conftest.err
21888 } && test -s conftest.$ac_objext; then
21891 cat >conftest.$ac_ext <<_ACEOF
21894 cat confdefs.h >>conftest.$ac_ext
21895 cat >>conftest.$ac_ext <<_ACEOF
21896 /* end confdefs.h. */
21897 $ac_includes_default
21898 typedef void * ac__type_sizeof_;
21902 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21909 rm -f conftest.$ac_objext
21910 if { (ac_try="$ac_compile"
21911 case "(($ac_try" in
21912 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21913 *) ac_try_echo
=$ac_try;;
21915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21916 (eval "$ac_compile") 2>conftest.er1
21918 grep -v '^ *+' conftest.er1
>conftest.err
21920 cat conftest.err
>&5
21921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 (exit $ac_status); } && {
21923 test -z "$ac_c_werror_flag" ||
21924 test ! -s conftest.err
21925 } && test -s conftest.
$ac_objext; then
21926 ac_hi
=$ac_mid; break
21928 echo "$as_me: failed program was:" >&5
21929 sed 's/^/| /' conftest.
$ac_ext >&5
21931 ac_lo
=`expr $ac_mid + 1`
21932 if test $ac_lo -le $ac_mid; then
21936 ac_mid
=`expr 2 '*' $ac_mid + 1`
21939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21942 echo "$as_me: failed program was:" >&5
21943 sed 's/^/| /' conftest.
$ac_ext >&5
21945 cat >conftest.
$ac_ext <<_ACEOF
21948 cat confdefs.h
>>conftest.
$ac_ext
21949 cat >>conftest.
$ac_ext <<_ACEOF
21950 /* end confdefs.h. */
21951 $ac_includes_default
21952 typedef void * ac__type_sizeof_;
21956 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21963 rm -f conftest.
$ac_objext
21964 if { (ac_try
="$ac_compile"
21965 case "(($ac_try" in
21966 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21967 *) ac_try_echo=$ac_try;;
21969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21970 (eval "$ac_compile") 2>conftest.er1
21972 grep -v '^ *+' conftest.er1 >conftest.err
21974 cat conftest.err >&5
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); } && {
21977 test -z "$ac_c_werror_flag" ||
21978 test ! -s conftest.err
21979 } && test -s conftest.$ac_objext; then
21982 cat >conftest.$ac_ext <<_ACEOF
21985 cat confdefs.h >>conftest.$ac_ext
21986 cat >>conftest.$ac_ext <<_ACEOF
21987 /* end confdefs.h. */
21988 $ac_includes_default
21989 typedef void * ac__type_sizeof_;
21993 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22000 rm -f conftest.$ac_objext
22001 if { (ac_try="$ac_compile"
22002 case "(($ac_try" in
22003 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22004 *) ac_try_echo
=$ac_try;;
22006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22007 (eval "$ac_compile") 2>conftest.er1
22009 grep -v '^ *+' conftest.er1
>conftest.err
22011 cat conftest.err
>&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); } && {
22014 test -z "$ac_c_werror_flag" ||
22015 test ! -s conftest.err
22016 } && test -s conftest.
$ac_objext; then
22017 ac_lo
=$ac_mid; break
22019 echo "$as_me: failed program was:" >&5
22020 sed 's/^/| /' conftest.
$ac_ext >&5
22022 ac_hi
=`expr '(' $ac_mid ')' - 1`
22023 if test $ac_mid -le $ac_hi; then
22027 ac_mid
=`expr 2 '*' $ac_mid`
22030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22033 echo "$as_me: failed program was:" >&5
22034 sed 's/^/| /' conftest.
$ac_ext >&5
22039 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22042 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22043 # Binary search between lo and hi bounds.
22044 while test "x$ac_lo" != "x$ac_hi"; do
22045 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22046 cat >conftest.
$ac_ext <<_ACEOF
22049 cat confdefs.h
>>conftest.
$ac_ext
22050 cat >>conftest.
$ac_ext <<_ACEOF
22051 /* end confdefs.h. */
22052 $ac_includes_default
22053 typedef void * ac__type_sizeof_;
22057 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22064 rm -f conftest.
$ac_objext
22065 if { (ac_try
="$ac_compile"
22066 case "(($ac_try" in
22067 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22068 *) ac_try_echo=$ac_try;;
22070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22071 (eval "$ac_compile") 2>conftest.er1
22073 grep -v '^ *+' conftest.er1 >conftest.err
22075 cat conftest.err >&5
22076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22077 (exit $ac_status); } && {
22078 test -z "$ac_c_werror_flag" ||
22079 test ! -s conftest.err
22080 } && test -s conftest.$ac_objext; then
22083 echo "$as_me: failed program was:" >&5
22084 sed 's/^/| /' conftest.$ac_ext >&5
22086 ac_lo=`expr '(' $ac_mid ')' + 1`
22089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22092 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22093 '') if test "$ac_cv_type_void_p" = yes; then
22094 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22095 See \`config.log
' for more details." >&5
22096 echo "$as_me: error: cannot compute sizeof (void *)
22097 See \`config.log' for more details.
" >&2;}
22098 { (exit 77); exit 77; }; }
22100 ac_cv_sizeof_void_p=0
22104 cat >conftest.$ac_ext <<_ACEOF
22107 cat confdefs.h >>conftest.$ac_ext
22108 cat >>conftest.$ac_ext <<_ACEOF
22109 /* end confdefs.h. */
22110 $ac_includes_default
22111 typedef void * ac__type_sizeof_;
22112 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22113 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22115 #include <stdlib.h>
22120 FILE *f = fopen ("conftest.val
", "w
");
22123 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22125 long int i = longval ();
22126 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22128 fprintf (f, "%ld
\n", i);
22132 unsigned long int i = ulongval ();
22133 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22135 fprintf (f, "%lu
\n", i);
22137 return ferror (f) || fclose (f) != 0;
22143 rm -f conftest$ac_exeext
22144 if { (ac_try="$ac_link"
22145 case "(($ac_try" in
22146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22147 *) ac_try_echo=$ac_try;;
22149 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22150 (eval "$ac_link") 2>&5
22152 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22153 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22154 { (case "(($ac_try" in
22155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22156 *) ac_try_echo=$ac_try;;
22158 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22159 (eval "$ac_try") 2>&5
22161 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22162 (exit $ac_status); }; }; then
22163 ac_cv_sizeof_void_p=`cat conftest.val`
22165 echo "$as_me: program exited with status
$ac_status" >&5
22166 echo "$as_me: failed program was
:" >&5
22167 sed 's/^/| /' conftest.$ac_ext >&5
22169 ( exit $ac_status )
22170 if test "$ac_cv_type_void_p" = yes; then
22171 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
22172 See \
`config.log' for more details." >&5
22173 echo "$as_me: error: cannot compute sizeof (void *)
22174 See \`config.log
' for more details." >&2;}
22175 { (exit 77); exit 77; }; }
22177 ac_cv_sizeof_void_p=0
22180 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22184 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22185 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22189 cat >>confdefs.h <<_ACEOF
22190 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22194 { echo "$as_me:$LINENO: checking for int" >&5
22195 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22196 if test "${ac_cv_type_int+set}" = set; then
22197 echo $ECHO_N "(cached) $ECHO_C" >&6
22199 cat >conftest.$ac_ext <<_ACEOF
22202 cat confdefs.h >>conftest.$ac_ext
22203 cat >>conftest.$ac_ext <<_ACEOF
22204 /* end confdefs.h. */
22205 $ac_includes_default
22206 typedef int ac__type_new_;
22210 if ((ac__type_new_ *) 0)
22212 if (sizeof (ac__type_new_))
22218 rm -f conftest.$ac_objext
22219 if { (ac_try="$ac_compile"
22220 case "(($ac_try" in
22221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22222 *) ac_try_echo=$ac_try;;
22224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22225 (eval "$ac_compile") 2>conftest.er1
22227 grep -v '^
*+' conftest.er1 >conftest.err
22229 cat conftest.err >&5
22230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22231 (exit $ac_status); } && {
22232 test -z "$ac_c_werror_flag" ||
22233 test ! -s conftest.err
22234 } && test -s conftest.$ac_objext; then
22237 echo "$as_me: failed program was:" >&5
22238 sed 's
/^
/| /' conftest.$ac_ext >&5
22243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22245 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22246 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22248 # The cast to long int works around a bug in the HP C Compiler
22249 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22250 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22251 # This bug is HP SR number 8606223364.
22252 { echo "$as_me:$LINENO: checking size of int" >&5
22253 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22254 if test "${ac_cv_sizeof_int+set}" = set; then
22255 echo $ECHO_N "(cached) $ECHO_C" >&6
22257 if test "$cross_compiling" = yes; then
22258 # Depending upon the size, compute the lo and hi bounds.
22259 cat >conftest.
$ac_ext <<_ACEOF
22262 cat confdefs.h
>>conftest.
$ac_ext
22263 cat >>conftest.
$ac_ext <<_ACEOF
22264 /* end confdefs.h. */
22265 $ac_includes_default
22266 typedef int ac__type_sizeof_;
22270 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22277 rm -f conftest.
$ac_objext
22278 if { (ac_try
="$ac_compile"
22279 case "(($ac_try" in
22280 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22281 *) ac_try_echo=$ac_try;;
22283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22284 (eval "$ac_compile") 2>conftest.er1
22286 grep -v '^ *+' conftest.er1 >conftest.err
22288 cat conftest.err >&5
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); } && {
22291 test -z "$ac_c_werror_flag" ||
22292 test ! -s conftest.err
22293 } && test -s conftest.$ac_objext; then
22296 cat >conftest.$ac_ext <<_ACEOF
22299 cat confdefs.h >>conftest.$ac_ext
22300 cat >>conftest.$ac_ext <<_ACEOF
22301 /* end confdefs.h. */
22302 $ac_includes_default
22303 typedef int ac__type_sizeof_;
22307 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22314 rm -f conftest.$ac_objext
22315 if { (ac_try="$ac_compile"
22316 case "(($ac_try" in
22317 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22318 *) ac_try_echo
=$ac_try;;
22320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22321 (eval "$ac_compile") 2>conftest.er1
22323 grep -v '^ *+' conftest.er1
>conftest.err
22325 cat conftest.err
>&5
22326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327 (exit $ac_status); } && {
22328 test -z "$ac_c_werror_flag" ||
22329 test ! -s conftest.err
22330 } && test -s conftest.
$ac_objext; then
22331 ac_hi
=$ac_mid; break
22333 echo "$as_me: failed program was:" >&5
22334 sed 's/^/| /' conftest.
$ac_ext >&5
22336 ac_lo
=`expr $ac_mid + 1`
22337 if test $ac_lo -le $ac_mid; then
22341 ac_mid
=`expr 2 '*' $ac_mid + 1`
22344 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22347 echo "$as_me: failed program was:" >&5
22348 sed 's/^/| /' conftest.
$ac_ext >&5
22350 cat >conftest.
$ac_ext <<_ACEOF
22353 cat confdefs.h
>>conftest.
$ac_ext
22354 cat >>conftest.
$ac_ext <<_ACEOF
22355 /* end confdefs.h. */
22356 $ac_includes_default
22357 typedef int ac__type_sizeof_;
22361 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22368 rm -f conftest.
$ac_objext
22369 if { (ac_try
="$ac_compile"
22370 case "(($ac_try" in
22371 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22372 *) ac_try_echo=$ac_try;;
22374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22375 (eval "$ac_compile") 2>conftest.er1
22377 grep -v '^ *+' conftest.er1 >conftest.err
22379 cat conftest.err >&5
22380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22381 (exit $ac_status); } && {
22382 test -z "$ac_c_werror_flag" ||
22383 test ! -s conftest.err
22384 } && test -s conftest.$ac_objext; then
22387 cat >conftest.$ac_ext <<_ACEOF
22390 cat confdefs.h >>conftest.$ac_ext
22391 cat >>conftest.$ac_ext <<_ACEOF
22392 /* end confdefs.h. */
22393 $ac_includes_default
22394 typedef int ac__type_sizeof_;
22398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22405 rm -f conftest.$ac_objext
22406 if { (ac_try="$ac_compile"
22407 case "(($ac_try" in
22408 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22409 *) ac_try_echo
=$ac_try;;
22411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22412 (eval "$ac_compile") 2>conftest.er1
22414 grep -v '^ *+' conftest.er1
>conftest.err
22416 cat conftest.err
>&5
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); } && {
22419 test -z "$ac_c_werror_flag" ||
22420 test ! -s conftest.err
22421 } && test -s conftest.
$ac_objext; then
22422 ac_lo
=$ac_mid; break
22424 echo "$as_me: failed program was:" >&5
22425 sed 's/^/| /' conftest.
$ac_ext >&5
22427 ac_hi
=`expr '(' $ac_mid ')' - 1`
22428 if test $ac_mid -le $ac_hi; then
22432 ac_mid
=`expr 2 '*' $ac_mid`
22435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22438 echo "$as_me: failed program was:" >&5
22439 sed 's/^/| /' conftest.
$ac_ext >&5
22444 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22448 # Binary search between lo and hi bounds.
22449 while test "x$ac_lo" != "x$ac_hi"; do
22450 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22451 cat >conftest.
$ac_ext <<_ACEOF
22454 cat confdefs.h
>>conftest.
$ac_ext
22455 cat >>conftest.
$ac_ext <<_ACEOF
22456 /* end confdefs.h. */
22457 $ac_includes_default
22458 typedef int ac__type_sizeof_;
22462 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22469 rm -f conftest.
$ac_objext
22470 if { (ac_try
="$ac_compile"
22471 case "(($ac_try" in
22472 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22473 *) ac_try_echo=$ac_try;;
22475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22476 (eval "$ac_compile") 2>conftest.er1
22478 grep -v '^ *+' conftest.er1 >conftest.err
22480 cat conftest.err >&5
22481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22482 (exit $ac_status); } && {
22483 test -z "$ac_c_werror_flag" ||
22484 test ! -s conftest.err
22485 } && test -s conftest.$ac_objext; then
22488 echo "$as_me: failed program was:" >&5
22489 sed 's/^/| /' conftest.$ac_ext >&5
22491 ac_lo=`expr '(' $ac_mid ')' + 1`
22494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22497 ?*) ac_cv_sizeof_int=$ac_lo;;
22498 '') if test "$ac_cv_type_int" = yes; then
22499 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22500 See \`config.log
' for more details." >&5
22501 echo "$as_me: error: cannot compute sizeof (int)
22502 See \`config.log' for more details.
" >&2;}
22503 { (exit 77); exit 77; }; }
22509 cat >conftest.$ac_ext <<_ACEOF
22512 cat confdefs.h >>conftest.$ac_ext
22513 cat >>conftest.$ac_ext <<_ACEOF
22514 /* end confdefs.h. */
22515 $ac_includes_default
22516 typedef int ac__type_sizeof_;
22517 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22518 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22520 #include <stdlib.h>
22525 FILE *f = fopen ("conftest.val
", "w
");
22528 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22530 long int i = longval ();
22531 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22533 fprintf (f, "%ld
\n", i);
22537 unsigned long int i = ulongval ();
22538 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22540 fprintf (f, "%lu
\n", i);
22542 return ferror (f) || fclose (f) != 0;
22548 rm -f conftest$ac_exeext
22549 if { (ac_try="$ac_link"
22550 case "(($ac_try" in
22551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22552 *) ac_try_echo=$ac_try;;
22554 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22555 (eval "$ac_link") 2>&5
22557 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22558 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22559 { (case "(($ac_try" in
22560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22561 *) ac_try_echo=$ac_try;;
22563 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22564 (eval "$ac_try") 2>&5
22566 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22567 (exit $ac_status); }; }; then
22568 ac_cv_sizeof_int=`cat conftest.val`
22570 echo "$as_me: program exited with status
$ac_status" >&5
22571 echo "$as_me: failed program was
:" >&5
22572 sed 's/^/| /' conftest.$ac_ext >&5
22574 ( exit $ac_status )
22575 if test "$ac_cv_type_int" = yes; then
22576 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
22577 See \
`config.log' for more details." >&5
22578 echo "$as_me: error: cannot compute sizeof (int)
22579 See \`config.log
' for more details." >&2;}
22580 { (exit 77); exit 77; }; }
22585 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22589 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22590 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22594 cat >>confdefs.h <<_ACEOF
22595 #define SIZEOF_INT $ac_cv_sizeof_int
22599 { echo "$as_me:$LINENO: checking for long" >&5
22600 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22601 if test "${ac_cv_type_long+set}" = set; then
22602 echo $ECHO_N "(cached) $ECHO_C" >&6
22604 cat >conftest.$ac_ext <<_ACEOF
22607 cat confdefs.h >>conftest.$ac_ext
22608 cat >>conftest.$ac_ext <<_ACEOF
22609 /* end confdefs.h. */
22610 $ac_includes_default
22611 typedef long ac__type_new_;
22615 if ((ac__type_new_ *) 0)
22617 if (sizeof (ac__type_new_))
22623 rm -f conftest.$ac_objext
22624 if { (ac_try="$ac_compile"
22625 case "(($ac_try" in
22626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22627 *) ac_try_echo=$ac_try;;
22629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22630 (eval "$ac_compile") 2>conftest.er1
22632 grep -v '^
*+' conftest.er1 >conftest.err
22634 cat conftest.err >&5
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); } && {
22637 test -z "$ac_c_werror_flag" ||
22638 test ! -s conftest.err
22639 } && test -s conftest.$ac_objext; then
22640 ac_cv_type_long=yes
22642 echo "$as_me: failed program was:" >&5
22643 sed 's
/^
/| /' conftest.$ac_ext >&5
22648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22650 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22651 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22653 # The cast to long int works around a bug in the HP C Compiler
22654 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22655 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22656 # This bug is HP SR number 8606223364.
22657 { echo "$as_me:$LINENO: checking size of long" >&5
22658 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22659 if test "${ac_cv_sizeof_long+set}" = set; then
22660 echo $ECHO_N "(cached) $ECHO_C" >&6
22662 if test "$cross_compiling" = yes; then
22663 # Depending upon the size, compute the lo and hi bounds.
22664 cat >conftest.
$ac_ext <<_ACEOF
22667 cat confdefs.h
>>conftest.
$ac_ext
22668 cat >>conftest.
$ac_ext <<_ACEOF
22669 /* end confdefs.h. */
22670 $ac_includes_default
22671 typedef long ac__type_sizeof_;
22675 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22682 rm -f conftest.
$ac_objext
22683 if { (ac_try
="$ac_compile"
22684 case "(($ac_try" in
22685 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22686 *) ac_try_echo=$ac_try;;
22688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22689 (eval "$ac_compile") 2>conftest.er1
22691 grep -v '^ *+' conftest.er1 >conftest.err
22693 cat conftest.err >&5
22694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22695 (exit $ac_status); } && {
22696 test -z "$ac_c_werror_flag" ||
22697 test ! -s conftest.err
22698 } && test -s conftest.$ac_objext; then
22701 cat >conftest.$ac_ext <<_ACEOF
22704 cat confdefs.h >>conftest.$ac_ext
22705 cat >>conftest.$ac_ext <<_ACEOF
22706 /* end confdefs.h. */
22707 $ac_includes_default
22708 typedef long ac__type_sizeof_;
22712 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22719 rm -f conftest.$ac_objext
22720 if { (ac_try="$ac_compile"
22721 case "(($ac_try" in
22722 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22723 *) ac_try_echo
=$ac_try;;
22725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22726 (eval "$ac_compile") 2>conftest.er1
22728 grep -v '^ *+' conftest.er1
>conftest.err
22730 cat conftest.err
>&5
22731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22732 (exit $ac_status); } && {
22733 test -z "$ac_c_werror_flag" ||
22734 test ! -s conftest.err
22735 } && test -s conftest.
$ac_objext; then
22736 ac_hi
=$ac_mid; break
22738 echo "$as_me: failed program was:" >&5
22739 sed 's/^/| /' conftest.
$ac_ext >&5
22741 ac_lo
=`expr $ac_mid + 1`
22742 if test $ac_lo -le $ac_mid; then
22746 ac_mid
=`expr 2 '*' $ac_mid + 1`
22749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22752 echo "$as_me: failed program was:" >&5
22753 sed 's/^/| /' conftest.
$ac_ext >&5
22755 cat >conftest.
$ac_ext <<_ACEOF
22758 cat confdefs.h
>>conftest.
$ac_ext
22759 cat >>conftest.
$ac_ext <<_ACEOF
22760 /* end confdefs.h. */
22761 $ac_includes_default
22762 typedef long ac__type_sizeof_;
22766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22773 rm -f conftest.
$ac_objext
22774 if { (ac_try
="$ac_compile"
22775 case "(($ac_try" in
22776 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22777 *) ac_try_echo=$ac_try;;
22779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22780 (eval "$ac_compile") 2>conftest.er1
22782 grep -v '^ *+' conftest.er1 >conftest.err
22784 cat conftest.err >&5
22785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22786 (exit $ac_status); } && {
22787 test -z "$ac_c_werror_flag" ||
22788 test ! -s conftest.err
22789 } && test -s conftest.$ac_objext; then
22792 cat >conftest.$ac_ext <<_ACEOF
22795 cat confdefs.h >>conftest.$ac_ext
22796 cat >>conftest.$ac_ext <<_ACEOF
22797 /* end confdefs.h. */
22798 $ac_includes_default
22799 typedef long ac__type_sizeof_;
22803 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22810 rm -f conftest.$ac_objext
22811 if { (ac_try="$ac_compile"
22812 case "(($ac_try" in
22813 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22814 *) ac_try_echo
=$ac_try;;
22816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22817 (eval "$ac_compile") 2>conftest.er1
22819 grep -v '^ *+' conftest.er1
>conftest.err
22821 cat conftest.err
>&5
22822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22823 (exit $ac_status); } && {
22824 test -z "$ac_c_werror_flag" ||
22825 test ! -s conftest.err
22826 } && test -s conftest.
$ac_objext; then
22827 ac_lo
=$ac_mid; break
22829 echo "$as_me: failed program was:" >&5
22830 sed 's/^/| /' conftest.
$ac_ext >&5
22832 ac_hi
=`expr '(' $ac_mid ')' - 1`
22833 if test $ac_mid -le $ac_hi; then
22837 ac_mid
=`expr 2 '*' $ac_mid`
22840 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22843 echo "$as_me: failed program was:" >&5
22844 sed 's/^/| /' conftest.
$ac_ext >&5
22849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22853 # Binary search between lo and hi bounds.
22854 while test "x$ac_lo" != "x$ac_hi"; do
22855 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22856 cat >conftest.
$ac_ext <<_ACEOF
22859 cat confdefs.h
>>conftest.
$ac_ext
22860 cat >>conftest.
$ac_ext <<_ACEOF
22861 /* end confdefs.h. */
22862 $ac_includes_default
22863 typedef long ac__type_sizeof_;
22867 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22874 rm -f conftest.
$ac_objext
22875 if { (ac_try
="$ac_compile"
22876 case "(($ac_try" in
22877 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22878 *) ac_try_echo=$ac_try;;
22880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22881 (eval "$ac_compile") 2>conftest.er1
22883 grep -v '^ *+' conftest.er1 >conftest.err
22885 cat conftest.err >&5
22886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22887 (exit $ac_status); } && {
22888 test -z "$ac_c_werror_flag" ||
22889 test ! -s conftest.err
22890 } && test -s conftest.$ac_objext; then
22893 echo "$as_me: failed program was:" >&5
22894 sed 's/^/| /' conftest.$ac_ext >&5
22896 ac_lo=`expr '(' $ac_mid ')' + 1`
22899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22902 ?*) ac_cv_sizeof_long=$ac_lo;;
22903 '') if test "$ac_cv_type_long" = yes; then
22904 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22905 See \`config.log
' for more details." >&5
22906 echo "$as_me: error: cannot compute sizeof (long)
22907 See \`config.log' for more details.
" >&2;}
22908 { (exit 77); exit 77; }; }
22910 ac_cv_sizeof_long=0
22914 cat >conftest.$ac_ext <<_ACEOF
22917 cat confdefs.h >>conftest.$ac_ext
22918 cat >>conftest.$ac_ext <<_ACEOF
22919 /* end confdefs.h. */
22920 $ac_includes_default
22921 typedef long ac__type_sizeof_;
22922 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22923 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22925 #include <stdlib.h>
22930 FILE *f = fopen ("conftest.val
", "w
");
22933 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22935 long int i = longval ();
22936 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22938 fprintf (f, "%ld
\n", i);
22942 unsigned long int i = ulongval ();
22943 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22945 fprintf (f, "%lu
\n", i);
22947 return ferror (f) || fclose (f) != 0;
22953 rm -f conftest$ac_exeext
22954 if { (ac_try="$ac_link"
22955 case "(($ac_try" in
22956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22957 *) ac_try_echo=$ac_try;;
22959 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22960 (eval "$ac_link") 2>&5
22962 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22963 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22964 { (case "(($ac_try" in
22965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22966 *) ac_try_echo=$ac_try;;
22968 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22969 (eval "$ac_try") 2>&5
22971 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22972 (exit $ac_status); }; }; then
22973 ac_cv_sizeof_long=`cat conftest.val`
22975 echo "$as_me: program exited with status
$ac_status" >&5
22976 echo "$as_me: failed program was
:" >&5
22977 sed 's/^/| /' conftest.$ac_ext >&5
22979 ( exit $ac_status )
22980 if test "$ac_cv_type_long" = yes; then
22981 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
22982 See \
`config.log' for more details." >&5
22983 echo "$as_me: error: cannot compute sizeof (long)
22984 See \`config.log
' for more details." >&2;}
22985 { (exit 77); exit 77; }; }
22987 ac_cv_sizeof_long=0
22990 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22994 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22995 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22999 cat >>confdefs.h <<_ACEOF
23000 #define SIZEOF_LONG $ac_cv_sizeof_long
23004 { echo "$as_me:$LINENO: checking for size_t" >&5
23005 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23006 if test "${ac_cv_type_size_t+set}" = set; then
23007 echo $ECHO_N "(cached) $ECHO_C" >&6
23009 cat >conftest.$ac_ext <<_ACEOF
23012 cat confdefs.h >>conftest.$ac_ext
23013 cat >>conftest.$ac_ext <<_ACEOF
23014 /* end confdefs.h. */
23015 $ac_includes_default
23016 typedef size_t ac__type_new_;
23020 if ((ac__type_new_ *) 0)
23022 if (sizeof (ac__type_new_))
23028 rm -f conftest.$ac_objext
23029 if { (ac_try="$ac_compile"
23030 case "(($ac_try" in
23031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23032 *) ac_try_echo=$ac_try;;
23034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23035 (eval "$ac_compile") 2>conftest.er1
23037 grep -v '^
*+' conftest.er1 >conftest.err
23039 cat conftest.err >&5
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); } && {
23042 test -z "$ac_c_werror_flag" ||
23043 test ! -s conftest.err
23044 } && test -s conftest.$ac_objext; then
23045 ac_cv_type_size_t=yes
23047 echo "$as_me: failed program was:" >&5
23048 sed 's
/^
/| /' conftest.$ac_ext >&5
23050 ac_cv_type_size_t=no
23053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23055 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23056 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23058 # The cast to long int works around a bug in the HP C Compiler
23059 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23060 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23061 # This bug is HP SR number 8606223364.
23062 { echo "$as_me:$LINENO: checking size of size_t" >&5
23063 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23064 if test "${ac_cv_sizeof_size_t+set}" = set; then
23065 echo $ECHO_N "(cached) $ECHO_C" >&6
23067 if test "$cross_compiling" = yes; then
23068 # Depending upon the size, compute the lo and hi bounds.
23069 cat >conftest.
$ac_ext <<_ACEOF
23072 cat confdefs.h
>>conftest.
$ac_ext
23073 cat >>conftest.
$ac_ext <<_ACEOF
23074 /* end confdefs.h. */
23075 $ac_includes_default
23076 typedef size_t ac__type_sizeof_;
23080 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23087 rm -f conftest.
$ac_objext
23088 if { (ac_try
="$ac_compile"
23089 case "(($ac_try" in
23090 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23091 *) ac_try_echo=$ac_try;;
23093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23094 (eval "$ac_compile") 2>conftest.er1
23096 grep -v '^ *+' conftest.er1 >conftest.err
23098 cat conftest.err >&5
23099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23100 (exit $ac_status); } && {
23101 test -z "$ac_c_werror_flag" ||
23102 test ! -s conftest.err
23103 } && test -s conftest.$ac_objext; then
23106 cat >conftest.$ac_ext <<_ACEOF
23109 cat confdefs.h >>conftest.$ac_ext
23110 cat >>conftest.$ac_ext <<_ACEOF
23111 /* end confdefs.h. */
23112 $ac_includes_default
23113 typedef size_t ac__type_sizeof_;
23117 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23124 rm -f conftest.$ac_objext
23125 if { (ac_try="$ac_compile"
23126 case "(($ac_try" in
23127 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23128 *) ac_try_echo
=$ac_try;;
23130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23131 (eval "$ac_compile") 2>conftest.er1
23133 grep -v '^ *+' conftest.er1
>conftest.err
23135 cat conftest.err
>&5
23136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137 (exit $ac_status); } && {
23138 test -z "$ac_c_werror_flag" ||
23139 test ! -s conftest.err
23140 } && test -s conftest.
$ac_objext; then
23141 ac_hi
=$ac_mid; break
23143 echo "$as_me: failed program was:" >&5
23144 sed 's/^/| /' conftest.
$ac_ext >&5
23146 ac_lo
=`expr $ac_mid + 1`
23147 if test $ac_lo -le $ac_mid; then
23151 ac_mid
=`expr 2 '*' $ac_mid + 1`
23154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23157 echo "$as_me: failed program was:" >&5
23158 sed 's/^/| /' conftest.
$ac_ext >&5
23160 cat >conftest.
$ac_ext <<_ACEOF
23163 cat confdefs.h
>>conftest.
$ac_ext
23164 cat >>conftest.
$ac_ext <<_ACEOF
23165 /* end confdefs.h. */
23166 $ac_includes_default
23167 typedef size_t ac__type_sizeof_;
23171 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23178 rm -f conftest.
$ac_objext
23179 if { (ac_try
="$ac_compile"
23180 case "(($ac_try" in
23181 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23182 *) ac_try_echo=$ac_try;;
23184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23185 (eval "$ac_compile") 2>conftest.er1
23187 grep -v '^ *+' conftest.er1 >conftest.err
23189 cat conftest.err >&5
23190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23191 (exit $ac_status); } && {
23192 test -z "$ac_c_werror_flag" ||
23193 test ! -s conftest.err
23194 } && test -s conftest.$ac_objext; then
23197 cat >conftest.$ac_ext <<_ACEOF
23200 cat confdefs.h >>conftest.$ac_ext
23201 cat >>conftest.$ac_ext <<_ACEOF
23202 /* end confdefs.h. */
23203 $ac_includes_default
23204 typedef size_t ac__type_sizeof_;
23208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23215 rm -f conftest.$ac_objext
23216 if { (ac_try="$ac_compile"
23217 case "(($ac_try" in
23218 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23219 *) ac_try_echo
=$ac_try;;
23221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23222 (eval "$ac_compile") 2>conftest.er1
23224 grep -v '^ *+' conftest.er1
>conftest.err
23226 cat conftest.err
>&5
23227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23228 (exit $ac_status); } && {
23229 test -z "$ac_c_werror_flag" ||
23230 test ! -s conftest.err
23231 } && test -s conftest.
$ac_objext; then
23232 ac_lo
=$ac_mid; break
23234 echo "$as_me: failed program was:" >&5
23235 sed 's/^/| /' conftest.
$ac_ext >&5
23237 ac_hi
=`expr '(' $ac_mid ')' - 1`
23238 if test $ac_mid -le $ac_hi; then
23242 ac_mid
=`expr 2 '*' $ac_mid`
23245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23248 echo "$as_me: failed program was:" >&5
23249 sed 's/^/| /' conftest.
$ac_ext >&5
23254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23258 # Binary search between lo and hi bounds.
23259 while test "x$ac_lo" != "x$ac_hi"; do
23260 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23261 cat >conftest.
$ac_ext <<_ACEOF
23264 cat confdefs.h
>>conftest.
$ac_ext
23265 cat >>conftest.
$ac_ext <<_ACEOF
23266 /* end confdefs.h. */
23267 $ac_includes_default
23268 typedef size_t ac__type_sizeof_;
23272 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23279 rm -f conftest.
$ac_objext
23280 if { (ac_try
="$ac_compile"
23281 case "(($ac_try" in
23282 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23283 *) ac_try_echo=$ac_try;;
23285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23286 (eval "$ac_compile") 2>conftest.er1
23288 grep -v '^ *+' conftest.er1 >conftest.err
23290 cat conftest.err >&5
23291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23292 (exit $ac_status); } && {
23293 test -z "$ac_c_werror_flag" ||
23294 test ! -s conftest.err
23295 } && test -s conftest.$ac_objext; then
23298 echo "$as_me: failed program was:" >&5
23299 sed 's/^/| /' conftest.$ac_ext >&5
23301 ac_lo=`expr '(' $ac_mid ')' + 1`
23304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23307 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23308 '') if test "$ac_cv_type_size_t" = yes; then
23309 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23310 See \`config.log
' for more details." >&5
23311 echo "$as_me: error: cannot compute sizeof (size_t)
23312 See \`config.log' for more details.
" >&2;}
23313 { (exit 77); exit 77; }; }
23315 ac_cv_sizeof_size_t=0
23319 cat >conftest.$ac_ext <<_ACEOF
23322 cat confdefs.h >>conftest.$ac_ext
23323 cat >>conftest.$ac_ext <<_ACEOF
23324 /* end confdefs.h. */
23325 $ac_includes_default
23326 typedef size_t ac__type_sizeof_;
23327 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23328 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23330 #include <stdlib.h>
23335 FILE *f = fopen ("conftest.val
", "w
");
23338 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23340 long int i = longval ();
23341 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23343 fprintf (f, "%ld
\n", i);
23347 unsigned long int i = ulongval ();
23348 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23350 fprintf (f, "%lu
\n", i);
23352 return ferror (f) || fclose (f) != 0;
23358 rm -f conftest$ac_exeext
23359 if { (ac_try="$ac_link"
23360 case "(($ac_try" in
23361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23362 *) ac_try_echo=$ac_try;;
23364 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23365 (eval "$ac_link") 2>&5
23367 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23368 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23369 { (case "(($ac_try" in
23370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23371 *) ac_try_echo=$ac_try;;
23373 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23374 (eval "$ac_try") 2>&5
23376 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23377 (exit $ac_status); }; }; then
23378 ac_cv_sizeof_size_t=`cat conftest.val`
23380 echo "$as_me: program exited with status
$ac_status" >&5
23381 echo "$as_me: failed program was
:" >&5
23382 sed 's/^/| /' conftest.$ac_ext >&5
23384 ( exit $ac_status )
23385 if test "$ac_cv_type_size_t" = yes; then
23386 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
23387 See \
`config.log' for more details." >&5
23388 echo "$as_me: error: cannot compute sizeof (size_t)
23389 See \`config.log
' for more details." >&2;}
23390 { (exit 77); exit 77; }; }
23392 ac_cv_sizeof_size_t=0
23395 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23399 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23400 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23404 cat >>confdefs.h <<_ACEOF
23405 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23412 { echo "$as_me:$LINENO: checking for long long" >&5
23413 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23414 if test "${ac_cv_type_long_long+set}" = set; then
23415 echo $ECHO_N "(cached) $ECHO_C" >&6
23417 cat >conftest.$ac_ext <<_ACEOF
23420 cat confdefs.h >>conftest.$ac_ext
23421 cat >>conftest.$ac_ext <<_ACEOF
23422 /* end confdefs.h. */
23423 $ac_includes_default
23424 typedef long long ac__type_new_;
23428 if ((ac__type_new_ *) 0)
23430 if (sizeof (ac__type_new_))
23436 rm -f conftest.$ac_objext
23437 if { (ac_try="$ac_compile"
23438 case "(($ac_try" in
23439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23440 *) ac_try_echo=$ac_try;;
23442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23443 (eval "$ac_compile") 2>conftest.er1
23445 grep -v '^
*+' conftest.er1 >conftest.err
23447 cat conftest.err >&5
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); } && {
23450 test -z "$ac_c_werror_flag" ||
23451 test ! -s conftest.err
23452 } && test -s conftest.$ac_objext; then
23453 ac_cv_type_long_long=yes
23455 echo "$as_me: failed program was:" >&5
23456 sed 's
/^
/| /' conftest.$ac_ext >&5
23458 ac_cv_type_long_long=no
23461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23463 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23464 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23466 # The cast to long int works around a bug in the HP C Compiler
23467 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23468 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23469 # This bug is HP SR number 8606223364.
23470 { echo "$as_me:$LINENO: checking size of long long" >&5
23471 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23472 if test "${ac_cv_sizeof_long_long+set}" = set; then
23473 echo $ECHO_N "(cached) $ECHO_C" >&6
23475 if test "$cross_compiling" = yes; then
23476 # Depending upon the size, compute the lo and hi bounds.
23477 cat >conftest.
$ac_ext <<_ACEOF
23480 cat confdefs.h
>>conftest.
$ac_ext
23481 cat >>conftest.
$ac_ext <<_ACEOF
23482 /* end confdefs.h. */
23483 $ac_includes_default
23484 typedef long long ac__type_sizeof_;
23488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23495 rm -f conftest.
$ac_objext
23496 if { (ac_try
="$ac_compile"
23497 case "(($ac_try" in
23498 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23499 *) ac_try_echo=$ac_try;;
23501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23502 (eval "$ac_compile") 2>conftest.er1
23504 grep -v '^ *+' conftest.er1 >conftest.err
23506 cat conftest.err >&5
23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 (exit $ac_status); } && {
23509 test -z "$ac_c_werror_flag" ||
23510 test ! -s conftest.err
23511 } && test -s conftest.$ac_objext; then
23514 cat >conftest.$ac_ext <<_ACEOF
23517 cat confdefs.h >>conftest.$ac_ext
23518 cat >>conftest.$ac_ext <<_ACEOF
23519 /* end confdefs.h. */
23520 $ac_includes_default
23521 typedef long long ac__type_sizeof_;
23525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23532 rm -f conftest.$ac_objext
23533 if { (ac_try="$ac_compile"
23534 case "(($ac_try" in
23535 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23536 *) ac_try_echo
=$ac_try;;
23538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23539 (eval "$ac_compile") 2>conftest.er1
23541 grep -v '^ *+' conftest.er1
>conftest.err
23543 cat conftest.err
>&5
23544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23545 (exit $ac_status); } && {
23546 test -z "$ac_c_werror_flag" ||
23547 test ! -s conftest.err
23548 } && test -s conftest.
$ac_objext; then
23549 ac_hi
=$ac_mid; break
23551 echo "$as_me: failed program was:" >&5
23552 sed 's/^/| /' conftest.
$ac_ext >&5
23554 ac_lo
=`expr $ac_mid + 1`
23555 if test $ac_lo -le $ac_mid; then
23559 ac_mid
=`expr 2 '*' $ac_mid + 1`
23562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23565 echo "$as_me: failed program was:" >&5
23566 sed 's/^/| /' conftest.
$ac_ext >&5
23568 cat >conftest.
$ac_ext <<_ACEOF
23571 cat confdefs.h
>>conftest.
$ac_ext
23572 cat >>conftest.
$ac_ext <<_ACEOF
23573 /* end confdefs.h. */
23574 $ac_includes_default
23575 typedef long long ac__type_sizeof_;
23579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23586 rm -f conftest.
$ac_objext
23587 if { (ac_try
="$ac_compile"
23588 case "(($ac_try" in
23589 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23590 *) ac_try_echo=$ac_try;;
23592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23593 (eval "$ac_compile") 2>conftest.er1
23595 grep -v '^ *+' conftest.er1 >conftest.err
23597 cat conftest.err >&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); } && {
23600 test -z "$ac_c_werror_flag" ||
23601 test ! -s conftest.err
23602 } && test -s conftest.$ac_objext; then
23605 cat >conftest.$ac_ext <<_ACEOF
23608 cat confdefs.h >>conftest.$ac_ext
23609 cat >>conftest.$ac_ext <<_ACEOF
23610 /* end confdefs.h. */
23611 $ac_includes_default
23612 typedef long long ac__type_sizeof_;
23616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23623 rm -f conftest.$ac_objext
23624 if { (ac_try="$ac_compile"
23625 case "(($ac_try" in
23626 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23627 *) ac_try_echo
=$ac_try;;
23629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23630 (eval "$ac_compile") 2>conftest.er1
23632 grep -v '^ *+' conftest.er1
>conftest.err
23634 cat conftest.err
>&5
23635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23636 (exit $ac_status); } && {
23637 test -z "$ac_c_werror_flag" ||
23638 test ! -s conftest.err
23639 } && test -s conftest.
$ac_objext; then
23640 ac_lo
=$ac_mid; break
23642 echo "$as_me: failed program was:" >&5
23643 sed 's/^/| /' conftest.
$ac_ext >&5
23645 ac_hi
=`expr '(' $ac_mid ')' - 1`
23646 if test $ac_mid -le $ac_hi; then
23650 ac_mid
=`expr 2 '*' $ac_mid`
23653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23656 echo "$as_me: failed program was:" >&5
23657 sed 's/^/| /' conftest.
$ac_ext >&5
23662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23666 # Binary search between lo and hi bounds.
23667 while test "x$ac_lo" != "x$ac_hi"; do
23668 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23669 cat >conftest.
$ac_ext <<_ACEOF
23672 cat confdefs.h
>>conftest.
$ac_ext
23673 cat >>conftest.
$ac_ext <<_ACEOF
23674 /* end confdefs.h. */
23675 $ac_includes_default
23676 typedef long long ac__type_sizeof_;
23680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23687 rm -f conftest.
$ac_objext
23688 if { (ac_try
="$ac_compile"
23689 case "(($ac_try" in
23690 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23691 *) ac_try_echo=$ac_try;;
23693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23694 (eval "$ac_compile") 2>conftest.er1
23696 grep -v '^ *+' conftest.er1 >conftest.err
23698 cat conftest.err >&5
23699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23700 (exit $ac_status); } && {
23701 test -z "$ac_c_werror_flag" ||
23702 test ! -s conftest.err
23703 } && test -s conftest.$ac_objext; then
23706 echo "$as_me: failed program was:" >&5
23707 sed 's/^/| /' conftest.$ac_ext >&5
23709 ac_lo=`expr '(' $ac_mid ')' + 1`
23712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23715 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23716 '') if test "$ac_cv_type_long_long" = yes; then
23717 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23718 See \`config.log
' for more details." >&5
23719 echo "$as_me: error: cannot compute sizeof (long long)
23720 See \`config.log' for more details.
" >&2;}
23721 { (exit 77); exit 77; }; }
23723 ac_cv_sizeof_long_long=0
23727 cat >conftest.$ac_ext <<_ACEOF
23730 cat confdefs.h >>conftest.$ac_ext
23731 cat >>conftest.$ac_ext <<_ACEOF
23732 /* end confdefs.h. */
23733 $ac_includes_default
23734 typedef long long ac__type_sizeof_;
23735 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23736 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23738 #include <stdlib.h>
23743 FILE *f = fopen ("conftest.val
", "w
");
23746 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23748 long int i = longval ();
23749 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23751 fprintf (f, "%ld
\n", i);
23755 unsigned long int i = ulongval ();
23756 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23758 fprintf (f, "%lu
\n", i);
23760 return ferror (f) || fclose (f) != 0;
23766 rm -f conftest$ac_exeext
23767 if { (ac_try="$ac_link"
23768 case "(($ac_try" in
23769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23770 *) ac_try_echo=$ac_try;;
23772 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23773 (eval "$ac_link") 2>&5
23775 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23776 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23777 { (case "(($ac_try" in
23778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23779 *) ac_try_echo=$ac_try;;
23781 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23782 (eval "$ac_try") 2>&5
23784 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23785 (exit $ac_status); }; }; then
23786 ac_cv_sizeof_long_long=`cat conftest.val`
23788 echo "$as_me: program exited with status
$ac_status" >&5
23789 echo "$as_me: failed program was
:" >&5
23790 sed 's/^/| /' conftest.$ac_ext >&5
23792 ( exit $ac_status )
23793 if test "$ac_cv_type_long_long" = yes; then
23794 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23795 See \
`config.log' for more details." >&5
23796 echo "$as_me: error: cannot compute sizeof (long long)
23797 See \`config.log
' for more details." >&2;}
23798 { (exit 77); exit 77; }; }
23800 ac_cv_sizeof_long_long=0
23803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23807 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23808 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23812 cat >>confdefs.h <<_ACEOF
23813 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23819 { echo "$as_me:$LINENO: checking for long long" >&5
23820 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23821 if test "${ac_cv_type_long_long+set}" = set; then
23822 echo $ECHO_N "(cached) $ECHO_C" >&6
23824 cat >conftest.$ac_ext <<_ACEOF
23827 cat confdefs.h >>conftest.$ac_ext
23828 cat >>conftest.$ac_ext <<_ACEOF
23829 /* end confdefs.h. */
23830 $ac_includes_default
23831 typedef long long ac__type_new_;
23835 if ((ac__type_new_ *) 0)
23837 if (sizeof (ac__type_new_))
23843 rm -f conftest.$ac_objext
23844 if { (ac_try="$ac_compile"
23845 case "(($ac_try" in
23846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23847 *) ac_try_echo=$ac_try;;
23849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23850 (eval "$ac_compile") 2>conftest.er1
23852 grep -v '^
*+' conftest.er1 >conftest.err
23854 cat conftest.err >&5
23855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23856 (exit $ac_status); } && {
23857 test -z "$ac_c_werror_flag" ||
23858 test ! -s conftest.err
23859 } && test -s conftest.$ac_objext; then
23860 ac_cv_type_long_long=yes
23862 echo "$as_me: failed program was:" >&5
23863 sed 's
/^
/| /' conftest.$ac_ext >&5
23865 ac_cv_type_long_long=no
23868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23870 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23871 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23873 # The cast to long int works around a bug in the HP C Compiler
23874 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23875 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23876 # This bug is HP SR number 8606223364.
23877 { echo "$as_me:$LINENO: checking size of long long" >&5
23878 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23879 if test "${ac_cv_sizeof_long_long+set}" = set; then
23880 echo $ECHO_N "(cached) $ECHO_C" >&6
23882 if test "$cross_compiling" = yes; then
23883 # Depending upon the size, compute the lo and hi bounds.
23884 cat >conftest.
$ac_ext <<_ACEOF
23887 cat confdefs.h
>>conftest.
$ac_ext
23888 cat >>conftest.
$ac_ext <<_ACEOF
23889 /* end confdefs.h. */
23890 $ac_includes_default
23891 typedef long long ac__type_sizeof_;
23895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23902 rm -f conftest.
$ac_objext
23903 if { (ac_try
="$ac_compile"
23904 case "(($ac_try" in
23905 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23906 *) ac_try_echo=$ac_try;;
23908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23909 (eval "$ac_compile") 2>conftest.er1
23911 grep -v '^ *+' conftest.er1 >conftest.err
23913 cat conftest.err >&5
23914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23915 (exit $ac_status); } && {
23916 test -z "$ac_c_werror_flag" ||
23917 test ! -s conftest.err
23918 } && test -s conftest.$ac_objext; then
23921 cat >conftest.$ac_ext <<_ACEOF
23924 cat confdefs.h >>conftest.$ac_ext
23925 cat >>conftest.$ac_ext <<_ACEOF
23926 /* end confdefs.h. */
23927 $ac_includes_default
23928 typedef long long ac__type_sizeof_;
23932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23939 rm -f conftest.$ac_objext
23940 if { (ac_try="$ac_compile"
23941 case "(($ac_try" in
23942 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23943 *) ac_try_echo
=$ac_try;;
23945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23946 (eval "$ac_compile") 2>conftest.er1
23948 grep -v '^ *+' conftest.er1
>conftest.err
23950 cat conftest.err
>&5
23951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23952 (exit $ac_status); } && {
23953 test -z "$ac_c_werror_flag" ||
23954 test ! -s conftest.err
23955 } && test -s conftest.
$ac_objext; then
23956 ac_hi
=$ac_mid; break
23958 echo "$as_me: failed program was:" >&5
23959 sed 's/^/| /' conftest.
$ac_ext >&5
23961 ac_lo
=`expr $ac_mid + 1`
23962 if test $ac_lo -le $ac_mid; then
23966 ac_mid
=`expr 2 '*' $ac_mid + 1`
23969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23972 echo "$as_me: failed program was:" >&5
23973 sed 's/^/| /' conftest.
$ac_ext >&5
23975 cat >conftest.
$ac_ext <<_ACEOF
23978 cat confdefs.h
>>conftest.
$ac_ext
23979 cat >>conftest.
$ac_ext <<_ACEOF
23980 /* end confdefs.h. */
23981 $ac_includes_default
23982 typedef long long ac__type_sizeof_;
23986 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23993 rm -f conftest.
$ac_objext
23994 if { (ac_try
="$ac_compile"
23995 case "(($ac_try" in
23996 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23997 *) ac_try_echo=$ac_try;;
23999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24000 (eval "$ac_compile") 2>conftest.er1
24002 grep -v '^ *+' conftest.er1 >conftest.err
24004 cat conftest.err >&5
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); } && {
24007 test -z "$ac_c_werror_flag" ||
24008 test ! -s conftest.err
24009 } && test -s conftest.$ac_objext; then
24012 cat >conftest.$ac_ext <<_ACEOF
24015 cat confdefs.h >>conftest.$ac_ext
24016 cat >>conftest.$ac_ext <<_ACEOF
24017 /* end confdefs.h. */
24018 $ac_includes_default
24019 typedef long long ac__type_sizeof_;
24023 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24030 rm -f conftest.$ac_objext
24031 if { (ac_try="$ac_compile"
24032 case "(($ac_try" in
24033 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24034 *) ac_try_echo
=$ac_try;;
24036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24037 (eval "$ac_compile") 2>conftest.er1
24039 grep -v '^ *+' conftest.er1
>conftest.err
24041 cat conftest.err
>&5
24042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24043 (exit $ac_status); } && {
24044 test -z "$ac_c_werror_flag" ||
24045 test ! -s conftest.err
24046 } && test -s conftest.
$ac_objext; then
24047 ac_lo
=$ac_mid; break
24049 echo "$as_me: failed program was:" >&5
24050 sed 's/^/| /' conftest.
$ac_ext >&5
24052 ac_hi
=`expr '(' $ac_mid ')' - 1`
24053 if test $ac_mid -le $ac_hi; then
24057 ac_mid
=`expr 2 '*' $ac_mid`
24060 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24063 echo "$as_me: failed program was:" >&5
24064 sed 's/^/| /' conftest.
$ac_ext >&5
24069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24073 # Binary search between lo and hi bounds.
24074 while test "x$ac_lo" != "x$ac_hi"; do
24075 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24076 cat >conftest.
$ac_ext <<_ACEOF
24079 cat confdefs.h
>>conftest.
$ac_ext
24080 cat >>conftest.
$ac_ext <<_ACEOF
24081 /* end confdefs.h. */
24082 $ac_includes_default
24083 typedef long long ac__type_sizeof_;
24087 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24094 rm -f conftest.
$ac_objext
24095 if { (ac_try
="$ac_compile"
24096 case "(($ac_try" in
24097 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24098 *) ac_try_echo=$ac_try;;
24100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24101 (eval "$ac_compile") 2>conftest.er1
24103 grep -v '^ *+' conftest.er1 >conftest.err
24105 cat conftest.err >&5
24106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24107 (exit $ac_status); } && {
24108 test -z "$ac_c_werror_flag" ||
24109 test ! -s conftest.err
24110 } && test -s conftest.$ac_objext; then
24113 echo "$as_me: failed program was:" >&5
24114 sed 's/^/| /' conftest.$ac_ext >&5
24116 ac_lo=`expr '(' $ac_mid ')' + 1`
24119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24122 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24123 '') if test "$ac_cv_type_long_long" = yes; then
24124 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24125 See \`config.log
' for more details." >&5
24126 echo "$as_me: error: cannot compute sizeof (long long)
24127 See \`config.log' for more details.
" >&2;}
24128 { (exit 77); exit 77; }; }
24130 ac_cv_sizeof_long_long=0
24134 cat >conftest.$ac_ext <<_ACEOF
24137 cat confdefs.h >>conftest.$ac_ext
24138 cat >>conftest.$ac_ext <<_ACEOF
24139 /* end confdefs.h. */
24140 $ac_includes_default
24141 typedef long long ac__type_sizeof_;
24142 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24143 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24145 #include <stdlib.h>
24150 FILE *f = fopen ("conftest.val
", "w
");
24153 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24155 long int i = longval ();
24156 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24158 fprintf (f, "%ld
\n", i);
24162 unsigned long int i = ulongval ();
24163 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24165 fprintf (f, "%lu
\n", i);
24167 return ferror (f) || fclose (f) != 0;
24173 rm -f conftest$ac_exeext
24174 if { (ac_try="$ac_link"
24175 case "(($ac_try" in
24176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24177 *) ac_try_echo=$ac_try;;
24179 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24180 (eval "$ac_link") 2>&5
24182 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24183 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24184 { (case "(($ac_try" in
24185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24186 *) ac_try_echo=$ac_try;;
24188 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24189 (eval "$ac_try") 2>&5
24191 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24192 (exit $ac_status); }; }; then
24193 ac_cv_sizeof_long_long=`cat conftest.val`
24195 echo "$as_me: program exited with status
$ac_status" >&5
24196 echo "$as_me: failed program was
:" >&5
24197 sed 's/^/| /' conftest.$ac_ext >&5
24199 ( exit $ac_status )
24200 if test "$ac_cv_type_long_long" = yes; then
24201 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24202 See \
`config.log' for more details." >&5
24203 echo "$as_me: error: cannot compute sizeof (long long)
24204 See \`config.log
' for more details." >&2;}
24205 { (exit 77); exit 77; }; }
24207 ac_cv_sizeof_long_long=0
24210 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24214 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24215 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24219 cat >>confdefs.h <<_ACEOF
24220 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24224 if test "$ac_cv_sizeof_long_long" != "0"; then
24225 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24229 { echo "$as_me:$LINENO: checking for long long" >&5
24230 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24231 if test "${ac_cv_type_long_long+set}" = set; then
24232 echo $ECHO_N "(cached) $ECHO_C" >&6
24234 cat >conftest.$ac_ext <<_ACEOF
24237 cat confdefs.h >>conftest.$ac_ext
24238 cat >>conftest.$ac_ext <<_ACEOF
24239 /* end confdefs.h. */
24240 $ac_includes_default
24241 typedef long long ac__type_new_;
24245 if ((ac__type_new_ *) 0)
24247 if (sizeof (ac__type_new_))
24253 rm -f conftest.$ac_objext
24254 if { (ac_try="$ac_compile"
24255 case "(($ac_try" in
24256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24257 *) ac_try_echo=$ac_try;;
24259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24260 (eval "$ac_compile") 2>conftest.er1
24262 grep -v '^
*+' conftest.er1 >conftest.err
24264 cat conftest.err >&5
24265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24266 (exit $ac_status); } && {
24267 test -z "$ac_c_werror_flag" ||
24268 test ! -s conftest.err
24269 } && test -s conftest.$ac_objext; then
24270 ac_cv_type_long_long=yes
24272 echo "$as_me: failed program was:" >&5
24273 sed 's
/^
/| /' conftest.$ac_ext >&5
24275 ac_cv_type_long_long=no
24278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24280 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24281 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24283 # The cast to long int works around a bug in the HP C Compiler
24284 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24285 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24286 # This bug is HP SR number 8606223364.
24287 { echo "$as_me:$LINENO: checking size of long long" >&5
24288 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24289 if test "${ac_cv_sizeof_long_long+set}" = set; then
24290 echo $ECHO_N "(cached) $ECHO_C" >&6
24292 if test "$cross_compiling" = yes; then
24293 # Depending upon the size, compute the lo and hi bounds.
24294 cat >conftest.
$ac_ext <<_ACEOF
24297 cat confdefs.h
>>conftest.
$ac_ext
24298 cat >>conftest.
$ac_ext <<_ACEOF
24299 /* end confdefs.h. */
24300 $ac_includes_default
24301 typedef long long ac__type_sizeof_;
24305 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24312 rm -f conftest.
$ac_objext
24313 if { (ac_try
="$ac_compile"
24314 case "(($ac_try" in
24315 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24316 *) ac_try_echo=$ac_try;;
24318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24319 (eval "$ac_compile") 2>conftest.er1
24321 grep -v '^ *+' conftest.er1 >conftest.err
24323 cat conftest.err >&5
24324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24325 (exit $ac_status); } && {
24326 test -z "$ac_c_werror_flag" ||
24327 test ! -s conftest.err
24328 } && test -s conftest.$ac_objext; then
24331 cat >conftest.$ac_ext <<_ACEOF
24334 cat confdefs.h >>conftest.$ac_ext
24335 cat >>conftest.$ac_ext <<_ACEOF
24336 /* end confdefs.h. */
24337 $ac_includes_default
24338 typedef long long ac__type_sizeof_;
24342 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24349 rm -f conftest.$ac_objext
24350 if { (ac_try="$ac_compile"
24351 case "(($ac_try" in
24352 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24353 *) ac_try_echo
=$ac_try;;
24355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24356 (eval "$ac_compile") 2>conftest.er1
24358 grep -v '^ *+' conftest.er1
>conftest.err
24360 cat conftest.err
>&5
24361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24362 (exit $ac_status); } && {
24363 test -z "$ac_c_werror_flag" ||
24364 test ! -s conftest.err
24365 } && test -s conftest.
$ac_objext; then
24366 ac_hi
=$ac_mid; break
24368 echo "$as_me: failed program was:" >&5
24369 sed 's/^/| /' conftest.
$ac_ext >&5
24371 ac_lo
=`expr $ac_mid + 1`
24372 if test $ac_lo -le $ac_mid; then
24376 ac_mid
=`expr 2 '*' $ac_mid + 1`
24379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24382 echo "$as_me: failed program was:" >&5
24383 sed 's/^/| /' conftest.
$ac_ext >&5
24385 cat >conftest.
$ac_ext <<_ACEOF
24388 cat confdefs.h
>>conftest.
$ac_ext
24389 cat >>conftest.
$ac_ext <<_ACEOF
24390 /* end confdefs.h. */
24391 $ac_includes_default
24392 typedef long long ac__type_sizeof_;
24396 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24403 rm -f conftest.
$ac_objext
24404 if { (ac_try
="$ac_compile"
24405 case "(($ac_try" in
24406 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24407 *) ac_try_echo=$ac_try;;
24409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24410 (eval "$ac_compile") 2>conftest.er1
24412 grep -v '^ *+' conftest.er1 >conftest.err
24414 cat conftest.err >&5
24415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24416 (exit $ac_status); } && {
24417 test -z "$ac_c_werror_flag" ||
24418 test ! -s conftest.err
24419 } && test -s conftest.$ac_objext; then
24422 cat >conftest.$ac_ext <<_ACEOF
24425 cat confdefs.h >>conftest.$ac_ext
24426 cat >>conftest.$ac_ext <<_ACEOF
24427 /* end confdefs.h. */
24428 $ac_includes_default
24429 typedef long long ac__type_sizeof_;
24433 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24440 rm -f conftest.$ac_objext
24441 if { (ac_try="$ac_compile"
24442 case "(($ac_try" in
24443 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24444 *) ac_try_echo
=$ac_try;;
24446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24447 (eval "$ac_compile") 2>conftest.er1
24449 grep -v '^ *+' conftest.er1
>conftest.err
24451 cat conftest.err
>&5
24452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24453 (exit $ac_status); } && {
24454 test -z "$ac_c_werror_flag" ||
24455 test ! -s conftest.err
24456 } && test -s conftest.
$ac_objext; then
24457 ac_lo
=$ac_mid; break
24459 echo "$as_me: failed program was:" >&5
24460 sed 's/^/| /' conftest.
$ac_ext >&5
24462 ac_hi
=`expr '(' $ac_mid ')' - 1`
24463 if test $ac_mid -le $ac_hi; then
24467 ac_mid
=`expr 2 '*' $ac_mid`
24470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24473 echo "$as_me: failed program was:" >&5
24474 sed 's/^/| /' conftest.
$ac_ext >&5
24479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24483 # Binary search between lo and hi bounds.
24484 while test "x$ac_lo" != "x$ac_hi"; do
24485 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24486 cat >conftest.
$ac_ext <<_ACEOF
24489 cat confdefs.h
>>conftest.
$ac_ext
24490 cat >>conftest.
$ac_ext <<_ACEOF
24491 /* end confdefs.h. */
24492 $ac_includes_default
24493 typedef long long ac__type_sizeof_;
24497 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24504 rm -f conftest.
$ac_objext
24505 if { (ac_try
="$ac_compile"
24506 case "(($ac_try" in
24507 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24508 *) ac_try_echo=$ac_try;;
24510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24511 (eval "$ac_compile") 2>conftest.er1
24513 grep -v '^ *+' conftest.er1 >conftest.err
24515 cat conftest.err >&5
24516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24517 (exit $ac_status); } && {
24518 test -z "$ac_c_werror_flag" ||
24519 test ! -s conftest.err
24520 } && test -s conftest.$ac_objext; then
24523 echo "$as_me: failed program was:" >&5
24524 sed 's/^/| /' conftest.$ac_ext >&5
24526 ac_lo=`expr '(' $ac_mid ')' + 1`
24529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24532 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24533 '') if test "$ac_cv_type_long_long" = yes; then
24534 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24535 See \`config.log
' for more details." >&5
24536 echo "$as_me: error: cannot compute sizeof (long long)
24537 See \`config.log' for more details.
" >&2;}
24538 { (exit 77); exit 77; }; }
24540 ac_cv_sizeof_long_long=0
24544 cat >conftest.$ac_ext <<_ACEOF
24547 cat confdefs.h >>conftest.$ac_ext
24548 cat >>conftest.$ac_ext <<_ACEOF
24549 /* end confdefs.h. */
24550 $ac_includes_default
24551 typedef long long ac__type_sizeof_;
24552 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24553 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24555 #include <stdlib.h>
24560 FILE *f = fopen ("conftest.val
", "w
");
24563 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24565 long int i = longval ();
24566 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24568 fprintf (f, "%ld
\n", i);
24572 unsigned long int i = ulongval ();
24573 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24575 fprintf (f, "%lu
\n", i);
24577 return ferror (f) || fclose (f) != 0;
24583 rm -f conftest$ac_exeext
24584 if { (ac_try="$ac_link"
24585 case "(($ac_try" in
24586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24587 *) ac_try_echo=$ac_try;;
24589 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24590 (eval "$ac_link") 2>&5
24592 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24593 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24594 { (case "(($ac_try" in
24595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24596 *) ac_try_echo=$ac_try;;
24598 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24599 (eval "$ac_try") 2>&5
24601 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24602 (exit $ac_status); }; }; then
24603 ac_cv_sizeof_long_long=`cat conftest.val`
24605 echo "$as_me: program exited with status
$ac_status" >&5
24606 echo "$as_me: failed program was
:" >&5
24607 sed 's/^/| /' conftest.$ac_ext >&5
24609 ( exit $ac_status )
24610 if test "$ac_cv_type_long_long" = yes; then
24611 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24612 See \
`config.log' for more details." >&5
24613 echo "$as_me: error: cannot compute sizeof (long long)
24614 See \`config.log
' for more details." >&2;}
24615 { (exit 77); exit 77; }; }
24617 ac_cv_sizeof_long_long=0
24620 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24624 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24625 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24629 cat >>confdefs.h <<_ACEOF
24630 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24636 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24637 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24638 if test "${ac_cv_type_wchar_t+set}" = set; then
24639 echo $ECHO_N "(cached) $ECHO_C" >&6
24641 cat >conftest.$ac_ext <<_ACEOF
24644 cat confdefs.h >>conftest.$ac_ext
24645 cat >>conftest.$ac_ext <<_ACEOF
24646 /* end confdefs.h. */
24648 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
24649 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24650 # error "fake wchar_t"
24652 #ifdef HAVE_WCHAR_H
24654 # include <stddef.h>
24656 # include <wchar.h>
24658 #ifdef HAVE_STDLIB_H
24659 # include <stdlib.h>
24665 typedef wchar_t ac__type_new_
;
24669 if ((ac__type_new_
*) 0)
24671 if (sizeof
(ac__type_new_
))
24677 rm -f conftest.
$ac_objext
24678 if { (ac_try
="$ac_compile"
24679 case "(($ac_try" in
24680 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24681 *) ac_try_echo=$ac_try;;
24683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24684 (eval "$ac_compile") 2>conftest.er1
24686 grep -v '^ *+' conftest.er1 >conftest.err
24688 cat conftest.err >&5
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); } && {
24691 test -z "$ac_c_werror_flag" ||
24692 test ! -s conftest.err
24693 } && test -s conftest.$ac_objext; then
24694 ac_cv_type_wchar_t=yes
24696 echo "$as_me: failed program was:" >&5
24697 sed 's/^/| /' conftest.$ac_ext >&5
24699 ac_cv_type_wchar_t=no
24702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24704 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24705 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24707 # The cast to long int works around a bug in the HP C Compiler
24708 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24709 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
24710 # This bug is HP SR number 8606223364.
24711 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24712 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24713 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24714 echo $ECHO_N "(cached) $ECHO_C" >&6
24716 if test "$cross_compiling" = yes; then
24717 # Depending upon the size, compute the lo and hi bounds.
24718 cat >conftest.$ac_ext <<_ACEOF
24721 cat confdefs.h >>conftest.$ac_ext
24722 cat >>conftest.$ac_ext <<_ACEOF
24723 /* end confdefs.h. */
24725 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
24726 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24727 # error "fake wchar_t"
24729 #ifdef HAVE_WCHAR_H
24731 # include <stddef.h>
24733 # include <wchar.h>
24735 #ifdef HAVE_STDLIB_H
24736 # include <stdlib.h>
24742 typedef wchar_t ac__type_sizeof_
;
24746 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
24753 rm -f conftest.
$ac_objext
24754 if { (ac_try
="$ac_compile"
24755 case "(($ac_try" in
24756 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24757 *) ac_try_echo=$ac_try;;
24759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24760 (eval "$ac_compile") 2>conftest.er1
24762 grep -v '^ *+' conftest.er1 >conftest.err
24764 cat conftest.err >&5
24765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24766 (exit $ac_status); } && {
24767 test -z "$ac_c_werror_flag" ||
24768 test ! -s conftest.err
24769 } && test -s conftest.$ac_objext; then
24772 cat >conftest.$ac_ext <<_ACEOF
24775 cat confdefs.h >>conftest.$ac_ext
24776 cat >>conftest.$ac_ext <<_ACEOF
24777 /* end confdefs.h. */
24779 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24780 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24781 # error "fake wchar_t"
24783 #ifdef HAVE_WCHAR_H
24785 # include <stddef.h>
24787 # include <wchar.h>
24789 #ifdef HAVE_STDLIB_H
24790 # include <stdlib.h>
24796 typedef wchar_t ac__type_sizeof_;
24800 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24807 rm -f conftest.$ac_objext
24808 if { (ac_try="$ac_compile"
24809 case "(($ac_try" in
24810 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24811 *) ac_try_echo
=$ac_try;;
24813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24814 (eval "$ac_compile") 2>conftest.er1
24816 grep -v '^ *+' conftest.er1
>conftest.err
24818 cat conftest.err
>&5
24819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24820 (exit $ac_status); } && {
24821 test -z "$ac_c_werror_flag" ||
24822 test ! -s conftest.err
24823 } && test -s conftest.
$ac_objext; then
24824 ac_hi
=$ac_mid; break
24826 echo "$as_me: failed program was:" >&5
24827 sed 's/^/| /' conftest.
$ac_ext >&5
24829 ac_lo
=`expr $ac_mid + 1`
24830 if test $ac_lo -le $ac_mid; then
24834 ac_mid
=`expr 2 '*' $ac_mid + 1`
24837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24840 echo "$as_me: failed program was:" >&5
24841 sed 's/^/| /' conftest.
$ac_ext >&5
24843 cat >conftest.
$ac_ext <<_ACEOF
24846 cat confdefs.h
>>conftest.
$ac_ext
24847 cat >>conftest.
$ac_ext <<_ACEOF
24848 /* end confdefs.h. */
24850 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24851 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24852 # error "fake wchar_t"
24854 #ifdef HAVE_WCHAR_H
24856 # include <stddef.h>
24858 # include <wchar.h>
24860 #ifdef HAVE_STDLIB_H
24861 # include <stdlib.h>
24867 typedef wchar_t ac__type_sizeof_;
24871 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24878 rm -f conftest.
$ac_objext
24879 if { (ac_try
="$ac_compile"
24880 case "(($ac_try" in
24881 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24882 *) ac_try_echo=$ac_try;;
24884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24885 (eval "$ac_compile") 2>conftest.er1
24887 grep -v '^ *+' conftest.er1 >conftest.err
24889 cat conftest.err >&5
24890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24891 (exit $ac_status); } && {
24892 test -z "$ac_c_werror_flag" ||
24893 test ! -s conftest.err
24894 } && test -s conftest.$ac_objext; then
24897 cat >conftest.$ac_ext <<_ACEOF
24900 cat confdefs.h >>conftest.$ac_ext
24901 cat >>conftest.$ac_ext <<_ACEOF
24902 /* end confdefs.h. */
24904 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24905 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24906 # error "fake wchar_t"
24908 #ifdef HAVE_WCHAR_H
24910 # include <stddef.h>
24912 # include <wchar.h>
24914 #ifdef HAVE_STDLIB_H
24915 # include <stdlib.h>
24921 typedef wchar_t ac__type_sizeof_;
24925 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24932 rm -f conftest.$ac_objext
24933 if { (ac_try="$ac_compile"
24934 case "(($ac_try" in
24935 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24936 *) ac_try_echo
=$ac_try;;
24938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24939 (eval "$ac_compile") 2>conftest.er1
24941 grep -v '^ *+' conftest.er1
>conftest.err
24943 cat conftest.err
>&5
24944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24945 (exit $ac_status); } && {
24946 test -z "$ac_c_werror_flag" ||
24947 test ! -s conftest.err
24948 } && test -s conftest.
$ac_objext; then
24949 ac_lo
=$ac_mid; break
24951 echo "$as_me: failed program was:" >&5
24952 sed 's/^/| /' conftest.
$ac_ext >&5
24954 ac_hi
=`expr '(' $ac_mid ')' - 1`
24955 if test $ac_mid -le $ac_hi; then
24959 ac_mid
=`expr 2 '*' $ac_mid`
24962 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24965 echo "$as_me: failed program was:" >&5
24966 sed 's/^/| /' conftest.
$ac_ext >&5
24971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24975 # Binary search between lo and hi bounds.
24976 while test "x$ac_lo" != "x$ac_hi"; do
24977 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24978 cat >conftest.
$ac_ext <<_ACEOF
24981 cat confdefs.h
>>conftest.
$ac_ext
24982 cat >>conftest.
$ac_ext <<_ACEOF
24983 /* end confdefs.h. */
24985 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24986 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24987 # error "fake wchar_t"
24989 #ifdef HAVE_WCHAR_H
24991 # include <stddef.h>
24993 # include <wchar.h>
24995 #ifdef HAVE_STDLIB_H
24996 # include <stdlib.h>
25002 typedef wchar_t ac__type_sizeof_;
25006 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25013 rm -f conftest.
$ac_objext
25014 if { (ac_try
="$ac_compile"
25015 case "(($ac_try" in
25016 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25017 *) ac_try_echo=$ac_try;;
25019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25020 (eval "$ac_compile") 2>conftest.er1
25022 grep -v '^ *+' conftest.er1 >conftest.err
25024 cat conftest.err >&5
25025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25026 (exit $ac_status); } && {
25027 test -z "$ac_c_werror_flag" ||
25028 test ! -s conftest.err
25029 } && test -s conftest.$ac_objext; then
25032 echo "$as_me: failed program was:" >&5
25033 sed 's/^/| /' conftest.$ac_ext >&5
25035 ac_lo=`expr '(' $ac_mid ')' + 1`
25038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25041 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25042 '') if test "$ac_cv_type_wchar_t" = yes; then
25043 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25044 See \`config.log
' for more details." >&5
25045 echo "$as_me: error: cannot compute sizeof (wchar_t)
25046 See \`config.log' for more details.
" >&2;}
25047 { (exit 77); exit 77; }; }
25049 ac_cv_sizeof_wchar_t=0
25053 cat >conftest.$ac_ext <<_ACEOF
25056 cat confdefs.h >>conftest.$ac_ext
25057 cat >>conftest.$ac_ext <<_ACEOF
25058 /* end confdefs.h. */
25060 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25061 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25062 # error "fake wchar_t
"
25064 #ifdef HAVE_WCHAR_H
25066 # include <stddef.h>
25068 # include <wchar.h>
25070 #ifdef HAVE_STDLIB_H
25071 # include <stdlib.h>
25077 typedef wchar_t ac__type_sizeof_;
25078 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25079 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25081 #include <stdlib.h>
25086 FILE *f = fopen ("conftest.val
", "w
");
25089 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25091 long int i = longval ();
25092 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25094 fprintf (f, "%ld
\n", i);
25098 unsigned long int i = ulongval ();
25099 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25101 fprintf (f, "%lu
\n", i);
25103 return ferror (f) || fclose (f) != 0;
25109 rm -f conftest$ac_exeext
25110 if { (ac_try="$ac_link"
25111 case "(($ac_try" in
25112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25113 *) ac_try_echo=$ac_try;;
25115 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25116 (eval "$ac_link") 2>&5
25118 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25119 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25120 { (case "(($ac_try" in
25121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25122 *) ac_try_echo=$ac_try;;
25124 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25125 (eval "$ac_try") 2>&5
25127 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25128 (exit $ac_status); }; }; then
25129 ac_cv_sizeof_wchar_t=`cat conftest.val`
25131 echo "$as_me: program exited with status
$ac_status" >&5
25132 echo "$as_me: failed program was
:" >&5
25133 sed 's/^/| /' conftest.$ac_ext >&5
25135 ( exit $ac_status )
25136 if test "$ac_cv_type_wchar_t" = yes; then
25137 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
25138 See \
`config.log' for more details." >&5
25139 echo "$as_me: error: cannot compute sizeof (wchar_t)
25140 See \`config.log
' for more details." >&2;}
25141 { (exit 77); exit 77; }; }
25143 ac_cv_sizeof_wchar_t=0
25146 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25150 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25151 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25155 cat >>confdefs.h <<_ACEOF
25156 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25160 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25166 { echo "$as_me:$LINENO: checking for va_copy" >&5
25167 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25168 if test "${wx_cv_func_va_copy+set}" = set; then
25169 echo $ECHO_N "(cached) $ECHO_C" >&6
25173 ac_cpp='$CXXCPP $CPPFLAGS'
25174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25175 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25178 cat >conftest.$ac_ext <<_ACEOF
25180 #include <stdarg.h>
25181 void foo(char *f, ...)
25195 rm -f conftest.$ac_objext conftest$ac_exeext
25196 if { (ac_try="$ac_link"
25197 case "(($ac_try" in
25198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25199 *) ac_try_echo=$ac_try;;
25201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25202 (eval "$ac_link") 2>conftest.er1
25204 grep -v '^
*+' conftest.er1 >conftest.err
25206 cat conftest.err >&5
25207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25208 (exit $ac_status); } && {
25209 test -z "$ac_cxx_werror_flag" ||
25210 test ! -s conftest.err
25211 } && test -s conftest$ac_exeext &&
25212 $as_test_x conftest$ac_exeext; then
25213 wx_cv_func_va_copy=yes
25215 echo "$as_me: failed program was:" >&5
25216 sed 's
/^
/| /' conftest.$ac_ext >&5
25218 wx_cv_func_va_copy=no
25222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25223 conftest$ac_exeext conftest.$ac_ext
25225 ac_cpp='$CPP $CPPFLAGS'
25226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25227 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25233 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25234 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25236 if test $wx_cv_func_va_copy = "yes"; then
25237 cat >>confdefs.h <<\_ACEOF
25238 #define HAVE_VA_COPY 1
25242 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25243 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25244 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25245 echo $ECHO_N "(cached) $ECHO_C" >&6
25248 if test "$cross_compiling" = yes; then
25249 wx_cv_type_va_list_lvalue=yes
25252 cat >conftest.$ac_ext <<_ACEOF
25254 #include <stdarg.h>
25255 int foo(char *f, ...)
25260 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25268 return foo("hi", 17);
25271 rm -f conftest$ac_exeext
25272 if { (ac_try="$ac_link"
25273 case "(($ac_try" in
25274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25275 *) ac_try_echo=$ac_try;;
25277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25278 (eval "$ac_link") 2>&5
25280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25281 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25282 { (case "(($ac_try" in
25283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25284 *) ac_try_echo=$ac_try;;
25286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25287 (eval "$ac_try") 2>&5
25289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25290 (exit $ac_status); }; }; then
25291 wx_cv_type_va_list_lvalue=yes
25293 echo "$as_me: program exited with status $ac_status" >&5
25294 echo "$as_me: failed program was:" >&5
25295 sed 's
/^
/| /' conftest.$ac_ext >&5
25297 ( exit $ac_status )
25298 wx_cv_type_va_list_lvalue=no
25300 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25307 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25308 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25310 if test $wx_cv_type_va_list_lvalue != "yes"; then
25311 cat >>confdefs.h <<\_ACEOF
25312 #define VA_LIST_IS_ARRAY 1
25318 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25320 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25321 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25322 if test "${wx_cv_have_variadic_macros+set}" = set; then
25323 echo $ECHO_N "(cached) $ECHO_C" >&6
25327 ac_cpp='$CXXCPP $CPPFLAGS'
25328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25329 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25332 cat >conftest.$ac_ext <<_ACEOF
25335 cat confdefs.h >>conftest.$ac_ext
25336 cat >>conftest.$ac_ext <<_ACEOF
25337 /* end confdefs.h. */
25340 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25346 test("%s %d %p", "test", 1, 0);
25353 rm -f conftest.$ac_objext
25354 if { (ac_try="$ac_compile"
25355 case "(($ac_try" in
25356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25357 *) ac_try_echo=$ac_try;;
25359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25360 (eval "$ac_compile") 2>conftest.er1
25362 grep -v '^
*+' conftest.er1 >conftest.err
25364 cat conftest.err >&5
25365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25366 (exit $ac_status); } && {
25367 test -z "$ac_cxx_werror_flag" ||
25368 test ! -s conftest.err
25369 } && test -s conftest.$ac_objext; then
25370 wx_cv_have_variadic_macros=yes
25372 echo "$as_me: failed program was:" >&5
25373 sed 's
/^
/| /' conftest.$ac_ext >&5
25375 wx_cv_have_variadic_macros=no
25379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25381 ac_cpp='$CPP $CPPFLAGS'
25382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25383 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25389 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25390 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25392 if test $wx_cv_have_variadic_macros = "yes"; then
25393 cat >>confdefs.h <<\_ACEOF
25394 #define HAVE_VARIADIC_MACROS 1
25400 # Check whether --enable-largefile was given.
25401 if test "${enable_largefile+set}" = set; then
25402 enableval=$enable_largefile;
25405 if test "$enable_largefile" != no; then
25408 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25409 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25410 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25411 echo $ECHO_N "(cached) $ECHO_C" >&6
25414 cat >conftest.$ac_ext <<_ACEOF
25417 cat confdefs.h >>conftest.$ac_ext
25418 cat >>conftest.$ac_ext <<_ACEOF
25419 /* end confdefs.h. */
25420 #define _FILE_OFFSET_BITS 64
25421 #include <sys/types.h>
25426 unsigned int field: sizeof(off_t) == 8;
25433 rm -f conftest.$ac_objext
25434 if { (ac_try="$ac_compile"
25435 case "(($ac_try" in
25436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25437 *) ac_try_echo=$ac_try;;
25439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25440 (eval "$ac_compile") 2>conftest.er1
25442 grep -v '^
*+' conftest.er1 >conftest.err
25444 cat conftest.err >&5
25445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25446 (exit $ac_status); } && {
25447 test -z "$ac_c_werror_flag" ||
25448 test ! -s conftest.err
25449 } && test -s conftest.$ac_objext; then
25450 ac_cv_sys_file_offset_bits=64
25452 echo "$as_me: failed program was:" >&5
25453 sed 's
/^
/| /' conftest.$ac_ext >&5
25455 ac_cv_sys_file_offset_bits=no
25458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25462 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25463 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25465 if test "$ac_cv_sys_file_offset_bits" != no; then
25467 cat >>confdefs.h <<_ACEOF
25468 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25473 if test "x$wx_largefile" != "xyes"; then
25475 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25476 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25477 if test "${ac_cv_sys_large_files+set}" = set; then
25478 echo $ECHO_N "(cached) $ECHO_C" >&6
25481 cat >conftest.$ac_ext <<_ACEOF
25484 cat confdefs.h >>conftest.$ac_ext
25485 cat >>conftest.$ac_ext <<_ACEOF
25486 /* end confdefs.h. */
25487 #define _LARGE_FILES 1
25488 #include <sys/types.h>
25493 unsigned int field: sizeof(off_t) == 8;
25500 rm -f conftest.$ac_objext
25501 if { (ac_try="$ac_compile"
25502 case "(($ac_try" in
25503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25504 *) ac_try_echo=$ac_try;;
25506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25507 (eval "$ac_compile") 2>conftest.er1
25509 grep -v '^
*+' conftest.er1 >conftest.err
25511 cat conftest.err >&5
25512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25513 (exit $ac_status); } && {
25514 test -z "$ac_c_werror_flag" ||
25515 test ! -s conftest.err
25516 } && test -s conftest.$ac_objext; then
25517 ac_cv_sys_large_files=1
25519 echo "$as_me: failed program was:" >&5
25520 sed 's
/^
/| /' conftest.$ac_ext >&5
25522 ac_cv_sys_large_files=no
25525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25529 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25530 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25532 if test "$ac_cv_sys_large_files" != no; then
25534 cat >>confdefs.h <<_ACEOF
25535 #define _LARGE_FILES $ac_cv_sys_large_files
25542 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25543 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25544 if test "x$wx_largefile" = "xyes"; then
25545 cat >>confdefs.h <<\_ACEOF
25546 #define HAVE_LARGEFILE_SUPPORT 1
25550 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25551 echo "${ECHO_T}$wx_largefile" >&6; }
25555 if test "x$wx_largefile" = "xyes"; then
25556 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25557 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25559 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25560 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25561 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25562 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25563 echo $ECHO_N "(cached) $ECHO_C" >&6
25567 ac_cpp='$CXXCPP $CPPFLAGS'
25568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25569 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25572 cat >conftest.$ac_ext <<_ACEOF
25575 cat confdefs.h >>conftest.$ac_ext
25576 cat >>conftest.$ac_ext <<_ACEOF
25577 /* end confdefs.h. */
25583 #ifndef __STDC_EXT__
25591 rm -f conftest.$ac_objext
25592 if { (ac_try="$ac_compile"
25593 case "(($ac_try" in
25594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25595 *) ac_try_echo=$ac_try;;
25597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25598 (eval "$ac_compile") 2>conftest.er1
25600 grep -v '^
*+' conftest.er1 >conftest.err
25602 cat conftest.err >&5
25603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25604 (exit $ac_status); } && {
25605 test -z "$ac_cxx_werror_flag" ||
25606 test ! -s conftest.err
25607 } && test -s conftest.$ac_objext; then
25608 wx_cv_STDC_EXT_required=no
25610 echo "$as_me: failed program was:" >&5
25611 sed 's
/^
/| /' conftest.$ac_ext >&5
25613 wx_cv_STDC_EXT_required=yes
25617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25619 ac_cpp='$CPP $CPPFLAGS'
25620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25621 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25627 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25628 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25629 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25630 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25634 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25636 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25637 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25638 if test "${ac_cv_sys_largefile_source+set}" = set; then
25639 echo $ECHO_N "(cached) $ECHO_C" >&6
25642 cat >conftest.$ac_ext <<_ACEOF
25645 cat confdefs.h >>conftest.$ac_ext
25646 cat >>conftest.$ac_ext <<_ACEOF
25647 /* end confdefs.h. */
25648 #include <sys/types.h> /* for off_t */
25653 int (*fp) (FILE *, off_t, int) = fseeko;
25654 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25659 rm -f conftest.$ac_objext conftest$ac_exeext
25660 if { (ac_try="$ac_link"
25661 case "(($ac_try" in
25662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25663 *) ac_try_echo=$ac_try;;
25665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25666 (eval "$ac_link") 2>conftest.er1
25668 grep -v '^
*+' conftest.er1 >conftest.err
25670 cat conftest.err >&5
25671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25672 (exit $ac_status); } && {
25673 test -z "$ac_c_werror_flag" ||
25674 test ! -s conftest.err
25675 } && test -s conftest$ac_exeext &&
25676 $as_test_x conftest$ac_exeext; then
25677 ac_cv_sys_largefile_source=no; break
25679 echo "$as_me: failed program was:" >&5
25680 sed 's
/^
/| /' conftest.$ac_ext >&5
25685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25686 conftest$ac_exeext conftest.$ac_ext
25687 cat >conftest.$ac_ext <<_ACEOF
25690 cat confdefs.h >>conftest.$ac_ext
25691 cat >>conftest.$ac_ext <<_ACEOF
25692 /* end confdefs.h. */
25693 #define _LARGEFILE_SOURCE 1
25694 #include <sys/types.h> /* for off_t */
25699 int (*fp) (FILE *, off_t, int) = fseeko;
25700 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25705 rm -f conftest.$ac_objext conftest$ac_exeext
25706 if { (ac_try="$ac_link"
25707 case "(($ac_try" in
25708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25709 *) ac_try_echo=$ac_try;;
25711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25712 (eval "$ac_link") 2>conftest.er1
25714 grep -v '^
*+' conftest.er1 >conftest.err
25716 cat conftest.err >&5
25717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25718 (exit $ac_status); } && {
25719 test -z "$ac_c_werror_flag" ||
25720 test ! -s conftest.err
25721 } && test -s conftest$ac_exeext &&
25722 $as_test_x conftest$ac_exeext; then
25723 ac_cv_sys_largefile_source=1; break
25725 echo "$as_me: failed program was:" >&5
25726 sed 's
/^
/| /' conftest.$ac_ext >&5
25731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25732 conftest$ac_exeext conftest.$ac_ext
25733 ac_cv_sys_largefile_source=unknown
25737 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25738 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25739 case $ac_cv_sys_largefile_source in #(
25742 cat >>confdefs.h <<_ACEOF
25743 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25749 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25750 # in glibc 2.1.3, but that breaks too many other things.
25751 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25752 if test $ac_cv_sys_largefile_source != unknown; then
25754 cat >>confdefs.h <<\_ACEOF
25755 #define HAVE_FSEEKO 1
25760 if test "$ac_cv_sys_largefile_source" != no; then
25761 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25765 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25766 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25767 if test "${ac_cv_c_bigendian+set}" = set; then
25768 echo $ECHO_N "(cached) $ECHO_C" >&6
25770 ac_cv_c_bigendian=unknown
25771 # See if sys/param.h defines the BYTE_ORDER macro.
25772 cat >conftest.$ac_ext <<_ACEOF
25775 cat confdefs.h >>conftest.$ac_ext
25776 cat >>conftest.$ac_ext <<_ACEOF
25777 /* end confdefs.h. */
25778 #include <sys/types.h>
25779 #include <sys/param.h>
25784 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25785 bogus endian macros
25791 rm -f conftest.$ac_objext
25792 if { (ac_try="$ac_compile"
25793 case "(($ac_try" in
25794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25795 *) ac_try_echo=$ac_try;;
25797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25798 (eval "$ac_compile") 2>conftest.er1
25800 grep -v '^
*+' conftest.er1 >conftest.err
25802 cat conftest.err >&5
25803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25804 (exit $ac_status); } && {
25805 test -z "$ac_c_werror_flag" ||
25806 test ! -s conftest.err
25807 } && test -s conftest.$ac_objext; then
25808 # It does; now see whether it defined to BIG_ENDIAN or not.
25809 cat >conftest.$ac_ext <<_ACEOF
25812 cat confdefs.h >>conftest.$ac_ext
25813 cat >>conftest.$ac_ext <<_ACEOF
25814 /* end confdefs.h. */
25815 #include <sys/types.h>
25816 #include <sys/param.h>
25821 #if BYTE_ORDER != BIG_ENDIAN
25828 rm -f conftest.$ac_objext
25829 if { (ac_try="$ac_compile"
25830 case "(($ac_try" in
25831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25832 *) ac_try_echo=$ac_try;;
25834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25835 (eval "$ac_compile") 2>conftest.er1
25837 grep -v '^
*+' conftest.er1 >conftest.err
25839 cat conftest.err >&5
25840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25841 (exit $ac_status); } && {
25842 test -z "$ac_c_werror_flag" ||
25843 test ! -s conftest.err
25844 } && test -s conftest.$ac_objext; then
25845 ac_cv_c_bigendian=yes
25847 echo "$as_me: failed program was:" >&5
25848 sed 's
/^
/| /' conftest.$ac_ext >&5
25850 ac_cv_c_bigendian=no
25853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25855 echo "$as_me: failed program was:" >&5
25856 sed 's
/^
/| /' conftest.$ac_ext >&5
25861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25862 if test $ac_cv_c_bigendian = unknown; then
25863 if test "$cross_compiling" = yes; then
25864 ac_cv_c_bigendian=unknown
25866 cat >conftest.$ac_ext <<_ACEOF
25869 cat confdefs.h >>conftest.$ac_ext
25870 cat >>conftest.$ac_ext <<_ACEOF
25871 /* end confdefs.h. */
25873 /* Are we little or big endian? From Harbison&Steele. */
25877 char c[sizeof (long)];
25880 exit (u.c[sizeof (long) - 1] == 1);
25883 rm -f conftest$ac_exeext
25884 if { (ac_try="$ac_link"
25885 case "(($ac_try" in
25886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25887 *) ac_try_echo=$ac_try;;
25889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25890 (eval "$ac_link") 2>&5
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
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_try") 2>&5
25901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25902 (exit $ac_status); }; }; then
25903 ac_cv_c_bigendian=no
25905 echo "$as_me: program exited with status $ac_status" >&5
25906 echo "$as_me: failed program was:" >&5
25907 sed 's
/^
/| /' conftest.$ac_ext >&5
25909 ( exit $ac_status )
25910 ac_cv_c_bigendian=yes
25912 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25918 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25919 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25920 if test $ac_cv_c_bigendian = unknown; then
25921 { 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
25922 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;}
25924 if test $ac_cv_c_bigendian = yes; then
25925 cat >>confdefs.h <<\_ACEOF
25926 #define WORDS_BIGENDIAN 1
25935 ac_cpp='$CXXCPP $CPPFLAGS'
25936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25937 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25942 for ac_header in iostream
25944 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25945 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25947 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25948 echo $ECHO_N "(cached) $ECHO_C" >&6
25950 cat >conftest.$ac_ext <<_ACEOF
25953 cat confdefs.h >>conftest.$ac_ext
25954 cat >>conftest.$ac_ext <<_ACEOF
25955 /* end confdefs.h. */
25958 #include <$ac_header>
25960 rm -f conftest.$ac_objext
25961 if { (ac_try="$ac_compile"
25962 case "(($ac_try" in
25963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25964 *) ac_try_echo=$ac_try;;
25966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25967 (eval "$ac_compile") 2>conftest.er1
25969 grep -v '^
*+' conftest.er1 >conftest.err
25971 cat conftest.err >&5
25972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25973 (exit $ac_status); } && {
25974 test -z "$ac_cxx_werror_flag" ||
25975 test ! -s conftest.err
25976 } && test -s conftest.$ac_objext; then
25977 eval "$as_ac_Header=yes"
25979 echo "$as_me: failed program was:" >&5
25980 sed 's
/^
/| /' conftest.$ac_ext >&5
25982 eval "$as_ac_Header=no"
25985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25987 ac_res=`eval echo '${'$as_ac_Header'}'`
25988 { echo "$as_me:$LINENO: result: $ac_res" >&5
25989 echo "${ECHO_T}$ac_res" >&6; }
25990 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25991 cat >>confdefs.h <<_ACEOF
25992 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26000 if test "$ac_cv_header_iostream" = "yes" ; then
26003 cat >>confdefs.h <<\_ACEOF
26004 #define wxUSE_IOSTREAMH 1
26010 ac_cpp='$CPP $CPPFLAGS'
26011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26012 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26018 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26019 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26020 if test "${wx_cv_cpp_bool+set}" = set; then
26021 echo $ECHO_N "(cached) $ECHO_C" >&6
26026 ac_cpp='$CXXCPP $CPPFLAGS'
26027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26028 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26032 cat >conftest.$ac_ext <<_ACEOF
26035 cat confdefs.h >>conftest.$ac_ext
26036 cat >>conftest.$ac_ext <<_ACEOF
26037 /* end confdefs.h. */
26052 rm -f conftest.$ac_objext
26053 if { (ac_try="$ac_compile"
26054 case "(($ac_try" in
26055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26056 *) ac_try_echo=$ac_try;;
26058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26059 (eval "$ac_compile") 2>conftest.er1
26061 grep -v '^
*+' conftest.er1 >conftest.err
26063 cat conftest.err >&5
26064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26065 (exit $ac_status); } && {
26066 test -z "$ac_cxx_werror_flag" ||
26067 test ! -s conftest.err
26068 } && test -s conftest.$ac_objext; then
26073 echo "$as_me: failed program was:" >&5
26074 sed 's
/^
/| /' conftest.$ac_ext >&5
26082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26085 ac_cpp='$CPP $CPPFLAGS'
26086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26087 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26092 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26093 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26095 if test "$wx_cv_cpp_bool" = "yes"; then
26096 cat >>confdefs.h <<\_ACEOF
26097 #define HAVE_BOOL 1
26104 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26105 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26106 if test "${wx_cv_explicit+set}" = set; then
26107 echo $ECHO_N "(cached) $ECHO_C" >&6
26112 ac_cpp='$CXXCPP $CPPFLAGS'
26113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26114 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26118 cat >conftest.$ac_ext <<_ACEOF
26121 cat confdefs.h >>conftest.$ac_ext
26122 cat >>conftest.$ac_ext <<_ACEOF
26123 /* end confdefs.h. */
26125 class Foo { public: explicit Foo(int) {} };
26137 rm -f conftest.$ac_objext
26138 if { (ac_try="$ac_compile"
26139 case "(($ac_try" in
26140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26141 *) ac_try_echo=$ac_try;;
26143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26144 (eval "$ac_compile") 2>conftest.er1
26146 grep -v '^
*+' conftest.er1 >conftest.err
26148 cat conftest.err >&5
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); } && {
26151 test -z "$ac_cxx_werror_flag" ||
26152 test ! -s conftest.err
26153 } && test -s conftest.$ac_objext; then
26155 cat >conftest.$ac_ext <<_ACEOF
26158 cat confdefs.h >>conftest.$ac_ext
26159 cat >>conftest.$ac_ext <<_ACEOF
26160 /* end confdefs.h. */
26162 class Foo { public: explicit Foo(int) {} };
26163 static void TakeFoo(const Foo& foo) { }
26176 rm -f conftest.$ac_objext
26177 if { (ac_try="$ac_compile"
26178 case "(($ac_try" in
26179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26180 *) ac_try_echo=$ac_try;;
26182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26183 (eval "$ac_compile") 2>conftest.er1
26185 grep -v '^
*+' conftest.er1 >conftest.err
26187 cat conftest.err >&5
26188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26189 (exit $ac_status); } && {
26190 test -z "$ac_cxx_werror_flag" ||
26191 test ! -s conftest.err
26192 } && test -s conftest.$ac_objext; then
26195 echo "$as_me: failed program was:" >&5
26196 sed 's
/^
/| /' conftest.$ac_ext >&5
26202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26205 echo "$as_me: failed program was:" >&5
26206 sed 's
/^
/| /' conftest.$ac_ext >&5
26212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26215 ac_cpp='$CPP $CPPFLAGS'
26216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26217 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26222 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26223 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26225 if test "$wx_cv_explicit" = "yes"; then
26226 cat >>confdefs.h <<\_ACEOF
26227 #define HAVE_EXPLICIT 1
26233 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26234 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26235 if test "${ac_cv_cxx_const_cast+set}" = set; then
26236 echo $ECHO_N "(cached) $ECHO_C" >&6
26240 ac_cpp='$CXXCPP $CPPFLAGS'
26241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26242 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26245 cat >conftest.$ac_ext <<_ACEOF
26248 cat confdefs.h >>conftest.$ac_ext
26249 cat >>conftest.$ac_ext <<_ACEOF
26250 /* end confdefs.h. */
26255 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26260 rm -f conftest.$ac_objext
26261 if { (ac_try="$ac_compile"
26262 case "(($ac_try" in
26263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26264 *) ac_try_echo=$ac_try;;
26266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26267 (eval "$ac_compile") 2>conftest.er1
26269 grep -v '^
*+' conftest.er1 >conftest.err
26271 cat conftest.err >&5
26272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26273 (exit $ac_status); } && {
26274 test -z "$ac_cxx_werror_flag" ||
26275 test ! -s conftest.err
26276 } && test -s conftest.$ac_objext; then
26277 ac_cv_cxx_const_cast=yes
26279 echo "$as_me: failed program was:" >&5
26280 sed 's
/^
/| /' conftest.$ac_ext >&5
26282 ac_cv_cxx_const_cast=no
26285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26287 ac_cpp='$CPP $CPPFLAGS'
26288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26289 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26294 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26295 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26296 if test "$ac_cv_cxx_const_cast" = yes; then
26298 cat >>confdefs.h <<\_ACEOF
26299 #define HAVE_CONST_CAST
26304 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26305 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26306 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26307 echo $ECHO_N "(cached) $ECHO_C" >&6
26311 ac_cpp='$CXXCPP $CPPFLAGS'
26312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26313 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26316 cat >conftest.$ac_ext <<_ACEOF
26319 cat confdefs.h >>conftest.$ac_ext
26320 cat >>conftest.$ac_ext <<_ACEOF
26321 /* end confdefs.h. */
26322 #include <typeinfo>
26323 class Base { public : Base () {} virtual void f () = 0;};
26324 class Derived : public Base { public : Derived () {} virtual void f () {} };
26325 class Unrelated { public : Unrelated () {} };
26326 int g (Unrelated&) { return 0; }
26331 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26336 rm -f conftest.$ac_objext
26337 if { (ac_try="$ac_compile"
26338 case "(($ac_try" in
26339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26340 *) ac_try_echo=$ac_try;;
26342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26343 (eval "$ac_compile") 2>conftest.er1
26345 grep -v '^
*+' conftest.er1 >conftest.err
26347 cat conftest.err >&5
26348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26349 (exit $ac_status); } && {
26350 test -z "$ac_cxx_werror_flag" ||
26351 test ! -s conftest.err
26352 } && test -s conftest.$ac_objext; then
26353 ac_cv_cxx_reinterpret_cast=yes
26355 echo "$as_me: failed program was:" >&5
26356 sed 's
/^
/| /' conftest.$ac_ext >&5
26358 ac_cv_cxx_reinterpret_cast=no
26361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26363 ac_cpp='$CPP $CPPFLAGS'
26364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26365 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26370 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26371 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26372 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26374 cat >>confdefs.h <<\_ACEOF
26375 #define HAVE_REINTERPRET_CAST
26380 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26381 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26382 if test "${ac_cv_cxx_static_cast+set}" = set; then
26383 echo $ECHO_N "(cached) $ECHO_C" >&6
26387 ac_cpp='$CXXCPP $CPPFLAGS'
26388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26389 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26392 cat >conftest.$ac_ext <<_ACEOF
26395 cat confdefs.h >>conftest.$ac_ext
26396 cat >>conftest.$ac_ext <<_ACEOF
26397 /* end confdefs.h. */
26398 #include <typeinfo>
26399 class Base { public : Base () {} virtual void f () = 0; };
26400 class Derived : public Base { public : Derived () {} virtual void f () {} };
26401 int g (Derived&) { return 0; }
26406 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26411 rm -f conftest.$ac_objext
26412 if { (ac_try="$ac_compile"
26413 case "(($ac_try" in
26414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26415 *) ac_try_echo=$ac_try;;
26417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26418 (eval "$ac_compile") 2>conftest.er1
26420 grep -v '^
*+' conftest.er1 >conftest.err
26422 cat conftest.err >&5
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); } && {
26425 test -z "$ac_cxx_werror_flag" ||
26426 test ! -s conftest.err
26427 } && test -s conftest.$ac_objext; then
26428 ac_cv_cxx_static_cast=yes
26430 echo "$as_me: failed program was:" >&5
26431 sed 's
/^
/| /' conftest.$ac_ext >&5
26433 ac_cv_cxx_static_cast=no
26436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26438 ac_cpp='$CPP $CPPFLAGS'
26439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26440 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26445 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26446 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26447 if test "$ac_cv_cxx_static_cast" = yes; then
26449 cat >>confdefs.h <<\_ACEOF
26450 #define HAVE_STATIC_CAST
26456 if test "x$SUNCXX" = xyes; then
26457 CXXFLAGS="-features=tmplife $CXXFLAGS"
26460 if test "x$SUNCC" = xyes; then
26461 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26464 if test "x$SGICC" = "xyes"; then
26465 CFLAGS="-woff 3970 $CFLAGS"
26467 if test "x$SGICXX" = "xyes"; then
26468 CXXFLAGS="-woff 3970 $CXXFLAGS"
26471 if test "x$HPCC" = "xyes"; then
26472 CFLAGS="+W 2011,2450 $CFLAGS"
26474 if test "x$HPCXX" = "xyes"; then
26475 CXXFLAGS="+W 2340 $CXXFLAGS"
26478 if test "x$COMPAQCXX" = "xyes"; then
26479 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26483 ac_cpp='$CXXCPP $CPPFLAGS'
26484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26485 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26489 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26490 if test "$wxUSE_UNICODE" = "yes"; then
26491 std_string="std::wstring"
26492 char_type="wchar_t"
26494 std_string="std::string"
26498 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26499 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26500 if test "${wx_cv_class_stdstring+set}" = set; then
26501 echo $ECHO_N "(cached) $ECHO_C" >&6
26504 cat >conftest.$ac_ext <<_ACEOF
26507 cat confdefs.h >>conftest.$ac_ext
26508 cat >>conftest.$ac_ext <<_ACEOF
26509 /* end confdefs.h. */
26519 rm -f conftest.$ac_objext
26520 if { (ac_try="$ac_compile"
26521 case "(($ac_try" in
26522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26523 *) ac_try_echo=$ac_try;;
26525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26526 (eval "$ac_compile") 2>conftest.er1
26528 grep -v '^
*+' conftest.er1 >conftest.err
26530 cat conftest.err >&5
26531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532 (exit $ac_status); } && {
26533 test -z "$ac_cxx_werror_flag" ||
26534 test ! -s conftest.err
26535 } && test -s conftest.$ac_objext; then
26536 wx_cv_class_stdstring=yes
26538 echo "$as_me: failed program was:" >&5
26539 sed 's
/^
/| /' conftest.$ac_ext >&5
26541 wx_cv_class_stdstring=no
26545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26549 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26550 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26552 if test "$wx_cv_class_stdstring" = yes; then
26553 if test "$wxUSE_UNICODE" = "yes"; then
26554 cat >>confdefs.h <<\_ACEOF
26555 #define HAVE_STD_WSTRING 1
26560 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26561 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26562 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26563 echo $ECHO_N "(cached) $ECHO_C" >&6
26566 cat >conftest.$ac_ext <<_ACEOF
26569 cat confdefs.h >>conftest.$ac_ext
26570 cat >>conftest.$ac_ext <<_ACEOF
26571 /* end confdefs.h. */
26573 #ifdef HAVE_WCHAR_H
26575 # include <stddef.h>
26577 # include <wchar.h>
26579 #ifdef HAVE_STDLIB_H
26580 # include <stdlib.h>
26588 std::basic_string<$char_type> foo;
26589 const $char_type* dummy = foo.c_str();
26594 rm -f conftest.$ac_objext
26595 if { (ac_try="$ac_compile"
26596 case "(($ac_try" in
26597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26598 *) ac_try_echo=$ac_try;;
26600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26601 (eval "$ac_compile") 2>conftest.er1
26603 grep -v '^
*+' conftest.er1 >conftest.err
26605 cat conftest.err >&5
26606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26607 (exit $ac_status); } && {
26608 test -z "$ac_cxx_werror_flag" ||
26609 test ! -s conftest.err
26610 } && test -s conftest.$ac_objext; then
26611 wx_cv_class_stdbasicstring=yes
26613 echo "$as_me: failed program was:" >&5
26614 sed 's
/^
/| /' conftest.$ac_ext >&5
26616 wx_cv_class_stdbasicstring=no
26620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26624 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26625 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26627 if test "$wx_cv_class_stdbasicstring" != yes; then
26628 if test "$wxUSE_STL" = "yes"; then
26629 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
26630 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26631 { (exit 1); exit 1; }; }
26632 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26633 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
26634 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26635 { (exit 1); exit 1; }; }
26637 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26638 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26639 wxUSE_STD_STRING=no
26645 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26646 { echo "$as_me:$LINENO: checking for std::istream" >&5
26647 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26648 if test "${ac_cv_type_std__istream+set}" = set; then
26649 echo $ECHO_N "(cached) $ECHO_C" >&6
26651 cat >conftest.$ac_ext <<_ACEOF
26654 cat confdefs.h >>conftest.$ac_ext
26655 cat >>conftest.$ac_ext <<_ACEOF
26656 /* end confdefs.h. */
26657 #include <iostream>
26659 typedef std::istream ac__type_new_;
26663 if ((ac__type_new_ *) 0)
26665 if (sizeof (ac__type_new_))
26671 rm -f conftest.$ac_objext
26672 if { (ac_try="$ac_compile"
26673 case "(($ac_try" in
26674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26675 *) ac_try_echo=$ac_try;;
26677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26678 (eval "$ac_compile") 2>conftest.er1
26680 grep -v '^
*+' conftest.er1 >conftest.err
26682 cat conftest.err >&5
26683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26684 (exit $ac_status); } && {
26685 test -z "$ac_cxx_werror_flag" ||
26686 test ! -s conftest.err
26687 } && test -s conftest.$ac_objext; then
26688 ac_cv_type_std__istream=yes
26690 echo "$as_me: failed program was:" >&5
26691 sed 's
/^
/| /' conftest.$ac_ext >&5
26693 ac_cv_type_std__istream=no
26696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26698 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26699 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26700 if test $ac_cv_type_std__istream = yes; then
26702 cat >>confdefs.h <<_ACEOF
26703 #define HAVE_STD__ISTREAM 1
26708 wxUSE_STD_IOSTREAM=no
26710 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26711 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26712 if test "${ac_cv_type_std__ostream+set}" = set; then
26713 echo $ECHO_N "(cached) $ECHO_C" >&6
26715 cat >conftest.$ac_ext <<_ACEOF
26718 cat confdefs.h >>conftest.$ac_ext
26719 cat >>conftest.$ac_ext <<_ACEOF
26720 /* end confdefs.h. */
26721 #include <iostream>
26723 typedef std::ostream ac__type_new_;
26727 if ((ac__type_new_ *) 0)
26729 if (sizeof (ac__type_new_))
26735 rm -f conftest.$ac_objext
26736 if { (ac_try="$ac_compile"
26737 case "(($ac_try" in
26738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26739 *) ac_try_echo=$ac_try;;
26741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26742 (eval "$ac_compile") 2>conftest.er1
26744 grep -v '^
*+' conftest.er1 >conftest.err
26746 cat conftest.err >&5
26747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26748 (exit $ac_status); } && {
26749 test -z "$ac_cxx_werror_flag" ||
26750 test ! -s conftest.err
26751 } && test -s conftest.$ac_objext; then
26752 ac_cv_type_std__ostream=yes
26754 echo "$as_me: failed program was:" >&5
26755 sed 's
/^
/| /' conftest.$ac_ext >&5
26757 ac_cv_type_std__ostream=no
26760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26762 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26763 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26764 if test $ac_cv_type_std__ostream = yes; then
26766 cat >>confdefs.h <<_ACEOF
26767 #define HAVE_STD__OSTREAM 1
26772 wxUSE_STD_IOSTREAM=no
26776 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26777 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
26778 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
26779 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26780 { (exit 1); exit 1; }; }
26782 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26783 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26788 if test "$wxUSE_STL" = "yes"; then
26789 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26790 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26791 if test "${wx_cv_lib_stl+set}" = set; then
26792 echo $ECHO_N "(cached) $ECHO_C" >&6
26794 cat >conftest.$ac_ext <<_ACEOF
26797 cat confdefs.h >>conftest.$ac_ext
26798 cat >>conftest.$ac_ext <<_ACEOF
26799 /* end confdefs.h. */
26801 #include <functional>
26802 #include <algorithm>
26808 std::vector<int> moo;
26809 std::list<int> foo;
26810 std::vector<int>::iterator it =
26811 std::find_if(moo.begin(), moo.end(),
26812 std::bind2nd(std::less<int>(), 3));
26817 rm -f conftest.$ac_objext
26818 if { (ac_try="$ac_compile"
26819 case "(($ac_try" in
26820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26821 *) ac_try_echo=$ac_try;;
26823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26824 (eval "$ac_compile") 2>conftest.er1
26826 grep -v '^
*+' conftest.er1 >conftest.err
26828 cat conftest.err >&5
26829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830 (exit $ac_status); } && {
26831 test -z "$ac_cxx_werror_flag" ||
26832 test ! -s conftest.err
26833 } && test -s conftest.$ac_objext; then
26836 echo "$as_me: failed program was:" >&5
26837 sed 's
/^
/| /' conftest.$ac_ext >&5
26843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26846 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26847 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26849 if test "$wx_cv_lib_stl" != yes; then
26850 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
26851 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
26852 { (exit 1); exit 1; }; }
26855 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26856 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26857 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26858 echo $ECHO_N "(cached) $ECHO_C" >&6
26860 cat >conftest.$ac_ext <<_ACEOF
26863 cat confdefs.h >>conftest.$ac_ext
26864 cat >>conftest.$ac_ext <<_ACEOF
26865 /* end confdefs.h. */
26870 std::string foo, bar;
26872 foo.compare(1, 1, bar);
26873 foo.compare(1, 1, bar, 1, 1);
26875 foo.compare(1, 1, "");
26876 foo.compare(1, 1, "", 2);
26881 rm -f conftest.$ac_objext
26882 if { (ac_try="$ac_compile"
26883 case "(($ac_try" in
26884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26885 *) ac_try_echo=$ac_try;;
26887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26888 (eval "$ac_compile") 2>conftest.er1
26890 grep -v '^
*+' conftest.er1 >conftest.err
26892 cat conftest.err >&5
26893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894 (exit $ac_status); } && {
26895 test -z "$ac_cxx_werror_flag" ||
26896 test ! -s conftest.err
26897 } && test -s conftest.$ac_objext; then
26898 wx_cv_func_stdstring_compare=yes
26900 echo "$as_me: failed program was:" >&5
26901 sed 's
/^
/| /' conftest.$ac_ext >&5
26903 wx_cv_func_stdstring_compare=no
26907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26910 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26911 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26913 if test "$wx_cv_func_stdstring_compare" = yes; then
26914 cat >>confdefs.h <<\_ACEOF
26915 #define HAVE_STD_STRING_COMPARE 1
26920 { echo "$as_me:$LINENO: checking for hash_map" >&5
26921 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26922 if test "${ac_cv_header_hash_map+set}" = set; then
26923 echo $ECHO_N "(cached) $ECHO_C" >&6
26925 cat >conftest.$ac_ext <<_ACEOF
26928 cat confdefs.h >>conftest.$ac_ext
26929 cat >>conftest.$ac_ext <<_ACEOF
26930 /* end confdefs.h. */
26934 #include <hash_map>
26936 rm -f conftest.$ac_objext
26937 if { (ac_try="$ac_compile"
26938 case "(($ac_try" in
26939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26940 *) ac_try_echo=$ac_try;;
26942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26943 (eval "$ac_compile") 2>conftest.er1
26945 grep -v '^
*+' conftest.er1 >conftest.err
26947 cat conftest.err >&5
26948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26949 (exit $ac_status); } && {
26950 test -z "$ac_cxx_werror_flag" ||
26951 test ! -s conftest.err
26952 } && test -s conftest.$ac_objext; then
26953 ac_cv_header_hash_map=yes
26955 echo "$as_me: failed program was:" >&5
26956 sed 's
/^
/| /' conftest.$ac_ext >&5
26958 ac_cv_header_hash_map=no
26961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26963 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26964 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26965 if test $ac_cv_header_hash_map = yes; then
26966 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
26967 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
26968 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26969 echo $ECHO_N "(cached) $ECHO_C" >&6
26971 cat >conftest.$ac_ext <<_ACEOF
26974 cat confdefs.h >>conftest.$ac_ext
26975 cat >>conftest.$ac_ext <<_ACEOF
26976 /* end confdefs.h. */
26977 #include <hash_map>
26978 #include <hash_set>
26982 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26983 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26988 rm -f conftest.$ac_objext
26989 if { (ac_try="$ac_compile"
26990 case "(($ac_try" in
26991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26992 *) ac_try_echo=$ac_try;;
26994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26995 (eval "$ac_compile") 2>conftest.er1
26997 grep -v '^
*+' conftest.er1 >conftest.err
26999 cat conftest.err >&5
27000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27001 (exit $ac_status); } && {
27002 test -z "$ac_cxx_werror_flag" ||
27003 test ! -s conftest.err
27004 } && test -s conftest.$ac_objext; then
27005 wx_cv_class_stdhashmapset=yes
27007 echo "$as_me: failed program was:" >&5
27008 sed 's
/^
/| /' conftest.$ac_ext >&5
27010 wx_cv_class_stdhashmapset=no
27013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27017 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27018 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27023 if test "$wx_cv_class_stdhashmapset" = yes; then
27024 cat >>confdefs.h <<\_ACEOF
27025 #define HAVE_HASH_MAP 1
27028 cat >>confdefs.h <<\_ACEOF
27029 #define HAVE_STD_HASH_MAP 1
27034 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27035 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27036 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27037 echo $ECHO_N "(cached) $ECHO_C" >&6
27039 cat >conftest.$ac_ext <<_ACEOF
27042 cat confdefs.h >>conftest.$ac_ext
27043 cat >>conftest.$ac_ext <<_ACEOF
27044 /* end confdefs.h. */
27048 #include <ext/hash_map>
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
27067 ac_cv_header_ext_hash_map=yes
27069 echo "$as_me: failed program was:" >&5
27070 sed 's
/^
/| /' conftest.$ac_ext >&5
27072 ac_cv_header_ext_hash_map=no
27075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27077 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27078 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27079 if test $ac_cv_header_ext_hash_map = yes; then
27080 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27081 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27082 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27083 echo $ECHO_N "(cached) $ECHO_C" >&6
27085 cat >conftest.$ac_ext <<_ACEOF
27088 cat confdefs.h >>conftest.$ac_ext
27089 cat >>conftest.$ac_ext <<_ACEOF
27090 /* end confdefs.h. */
27091 #include <ext/hash_map>
27092 #include <ext/hash_set>
27096 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27097 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27102 rm -f conftest.$ac_objext
27103 if { (ac_try="$ac_compile"
27104 case "(($ac_try" in
27105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27106 *) ac_try_echo=$ac_try;;
27108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27109 (eval "$ac_compile") 2>conftest.er1
27111 grep -v '^
*+' conftest.er1 >conftest.err
27113 cat conftest.err >&5
27114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27115 (exit $ac_status); } && {
27116 test -z "$ac_cxx_werror_flag" ||
27117 test ! -s conftest.err
27118 } && test -s conftest.$ac_objext; then
27119 wx_cv_class_gnuhashmapset=yes
27121 echo "$as_me: failed program was:" >&5
27122 sed 's
/^
/| /' conftest.$ac_ext >&5
27124 wx_cv_class_gnuhashmapset=no
27127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27131 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27132 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27137 if test "$wx_cv_class_gnuhashmapset" = yes; then
27138 cat >>confdefs.h <<\_ACEOF
27139 #define HAVE_EXT_HASH_MAP 1
27142 cat >>confdefs.h <<\_ACEOF
27143 #define HAVE_GNU_CXX_HASH_MAP 1
27150 ac_cpp='$CPP $CPPFLAGS'
27151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27152 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27158 /usr/local/include \
27160 /usr/Motif-2.1/include \
27161 /usr/Motif-1.2/include \
27162 /usr/include/Motif1.2 \
27165 /usr/openwin/include \
27169 /usr/X11R6/include \
27170 /usr/X11R6.4/include \
27171 /usr/X11R5/include \
27172 /usr/X11R4/include \
27174 /usr/include/X11R6 \
27175 /usr/include/X11R5 \
27176 /usr/include/X11R4 \
27178 /usr/local/X11R6/include \
27179 /usr/local/X11R5/include \
27180 /usr/local/X11R4/include \
27182 /usr/local/include/X11R6 \
27183 /usr/local/include/X11R5 \
27184 /usr/local/include/X11R4 \
27188 /usr/local/X11/include \
27189 /usr/local/include/X11 \
27191 /usr/XFree86/include/X11 \
27194 /usr/openwin/share/include"
27196 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27197 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27201 if test "${wx_cv_std_libpath+set}" = set; then
27202 echo $ECHO_N "(cached) $ECHO_C" >&6
27205 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27206 for e in a so sl dylib dll.a; do
27208 if test -f $libc; then
27211 cat >conftest.$ac_ext <<_ACEOF
27212 int main() { return 0; }
27214 rm -f conftest.$ac_objext conftest$ac_exeext
27215 if { (ac_try="$ac_link"
27216 case "(($ac_try" in
27217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27218 *) ac_try_echo=$ac_try;;
27220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27221 (eval "$ac_link") 2>conftest.er1
27223 grep -v '^
*+' conftest.er1 >conftest.err
27225 cat conftest.err >&5
27226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27227 (exit $ac_status); } && {
27228 test -z "$ac_c_werror_flag" ||
27229 test ! -s conftest.err
27230 } && test -s conftest$ac_exeext &&
27231 $as_test_x conftest$ac_exeext; then
27232 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27234 echo "$as_me: failed program was:" >&5
27235 sed 's
/^
/| /' conftest.$ac_ext >&5
27240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27241 conftest$ac_exeext conftest.$ac_ext
27243 if test "x$wx_cv_std_libpath" != "x"; then
27249 if test "x$wx_cv_std_libpath" = "x"; then
27250 wx_cv_std_libpath="lib"
27259 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27260 wx_cv_std_libpath="lib/64"
27262 wx_cv_std_libpath="lib"
27267 if test "$ac_cv_sizeof_void_p" = 8 -a \
27268 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27269 wx_cv_std_libpath="lib64"
27271 wx_cv_std_libpath="lib"
27276 wx_cv_std_libpath="lib";
27280 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27281 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27283 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27285 if test "$build" != "$host" -a "$GCC" = yes; then
27286 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27287 cross_root=`dirname $cross_root`
27288 cross_root=`dirname $cross_root`
27290 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27291 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27292 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27294 if test -z "$PKG_CONFIG_PATH"; then
27295 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27296 export PKG_CONFIG_PATH
27299 if test -z "$x_includes" -o "$x_includes" = NONE; then
27302 for ac_dir in $SEARCH_INCLUDE /usr/include;
27304 if test -f "$ac_dir/X11/Intrinsic.h"; then
27305 ac_find_includes=$ac_dir
27310 x_includes=$ac_find_includes
27312 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27315 for ac_dir in $SEARCH_LIB;
27317 for ac_extension in a so sl dylib dll.a; do
27318 if test -f "$ac_dir/libXt.$ac_extension"; then
27319 ac_find_libraries=$ac_dir
27325 x_libraries=$ac_find_libraries
27331 cat >confcache <<\_ACEOF
27332 # This file is a shell script that caches the results of configure
27333 # tests run on this system so they can be shared between configure
27334 # scripts and configure runs, see configure's option
--config-cache.
27335 # It is not useful on other systems. If it contains results you don't
27336 # want to keep, you may remove or edit it.
27338 # config.status only pays attention to the cache file if you give it
27339 # the --recheck option to rerun configure.
27341 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27342 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27343 # following values.
27347 # The following way of writing the cache mishandles newlines in values,
27348 # but we know of no workaround that is simple, portable, and efficient.
27349 # So, we kill variables containing newlines.
27350 # Ultrix sh set writes to stderr and can't be redirected directly,
27351 # and sets the high bit in the cache file unless we assign to the vars.
27353 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27354 eval ac_val
=\$
$ac_var
27358 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27359 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27362 _
| IFS
| as_nl
) ;; #(
27363 *) $as_unset $ac_var ;;
27369 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27370 *${as_nl}ac_space
=\
*)
27371 # `set' does not quote correctly, so add quotes (double-quote
27372 # substitution turns \\\\ into \\, and sed turns \\ into \).
27375 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27378 # `set' quotes correctly as required by POSIX, so do not add quotes.
27379 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27388 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27390 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27392 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27393 if test -w "$cache_file"; then
27394 test "x$cache_file" != "x/dev/null" &&
27395 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27396 echo "$as_me: updating cache $cache_file" >&6;}
27397 cat confcache
>$cache_file
27399 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27400 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27405 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27406 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27407 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27408 if test "${wx_cv_lib_glibc21+set}" = set; then
27409 echo $ECHO_N "(cached) $ECHO_C" >&6
27412 cat >conftest.
$ac_ext <<_ACEOF
27415 cat confdefs.h
>>conftest.
$ac_ext
27416 cat >>conftest.
$ac_ext <<_ACEOF
27417 /* end confdefs.h. */
27418 #include <features.h>
27423 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27431 rm -f conftest.
$ac_objext
27432 if { (ac_try
="$ac_compile"
27433 case "(($ac_try" in
27434 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27435 *) ac_try_echo=$ac_try;;
27437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27438 (eval "$ac_compile") 2>conftest.er1
27440 grep -v '^ *+' conftest.er1 >conftest.err
27442 cat conftest.err >&5
27443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27444 (exit $ac_status); } && {
27445 test -z "$ac_c_werror_flag" ||
27446 test ! -s conftest.err
27447 } && test -s conftest.$ac_objext; then
27449 wx_cv_lib_glibc21=yes
27452 echo "$as_me: failed program was:" >&5
27453 sed 's/^/| /' conftest.$ac_ext >&5
27456 wx_cv_lib_glibc21=no
27461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27464 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27465 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27466 if test "$wx_cv_lib_glibc21" = "yes"; then
27467 cat >>confdefs.h <<\_ACEOF
27468 #define wxHAVE_GLIBC2 1
27474 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27475 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27476 cat >>confdefs.h <<\_ACEOF
27477 #define _GNU_SOURCE 1
27488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27489 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27491 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27492 echo $ECHO_N "(cached) $ECHO_C" >&6
27494 cat >conftest.$ac_ext <<_ACEOF
27497 cat confdefs.h >>conftest.$ac_ext
27498 cat >>conftest.$ac_ext <<_ACEOF
27499 /* end confdefs.h. */
27500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27502 #define $ac_func innocuous_$ac_func
27504 /* System header to define __stub macros and hopefully few prototypes,
27505 which can conflict with char $ac_func (); below.
27506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27507 <limits.h> exists even on freestanding compilers. */
27510 # include <limits.h>
27512 # include <assert.h>
27517 /* Override any GCC internal prototype to avoid an error.
27518 Use char because int might match the return type of a GCC
27519 builtin and then its argument prototype would still apply. */
27524 /* The GNU C library defines this for functions which it implements
27525 to always fail with ENOSYS. Some functions are actually named
27526 something starting with __ and the normal name is an alias. */
27527 #if defined __stub_$ac_func || defined __stub___$ac_func
27534 return $ac_func ();
27539 rm -f conftest.$ac_objext conftest$ac_exeext
27540 if { (ac_try="$ac_link"
27541 case "(($ac_try" in
27542 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27543 *) ac_try_echo
=$ac_try;;
27545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27546 (eval "$ac_link") 2>conftest.er1
27548 grep -v '^ *+' conftest.er1
>conftest.err
27550 cat conftest.err
>&5
27551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27552 (exit $ac_status); } && {
27553 test -z "$ac_c_werror_flag" ||
27554 test ! -s conftest.err
27555 } && test -s conftest
$ac_exeext &&
27556 $as_test_x conftest
$ac_exeext; then
27557 eval "$as_ac_var=yes"
27559 echo "$as_me: failed program was:" >&5
27560 sed 's/^/| /' conftest.
$ac_ext >&5
27562 eval "$as_ac_var=no"
27565 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27566 conftest
$ac_exeext conftest.
$ac_ext
27568 ac_res
=`eval echo '${'$as_ac_var'}'`
27569 { echo "$as_me:$LINENO: result: $ac_res" >&5
27570 echo "${ECHO_T}$ac_res" >&6; }
27571 if test `eval echo '${'$as_ac_var'}'` = yes; then
27572 cat >>confdefs.h
<<_ACEOF
27573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27580 for ac_func
in floor
27582 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27583 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27585 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27586 echo $ECHO_N "(cached) $ECHO_C" >&6
27588 cat >conftest.
$ac_ext <<_ACEOF
27591 cat confdefs.h
>>conftest.
$ac_ext
27592 cat >>conftest.
$ac_ext <<_ACEOF
27593 /* end confdefs.h. */
27594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27596 #define $ac_func innocuous_$ac_func
27598 /* System header to define __stub macros and hopefully few prototypes,
27599 which can conflict with char $ac_func (); below.
27600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27601 <limits.h> exists even on freestanding compilers. */
27604 # include <limits.h>
27606 # include <assert.h>
27611 /* Override any GCC internal prototype to avoid an error.
27612 Use char because int might match the return type of a GCC
27613 builtin and then its argument prototype would still apply. */
27618 /* The GNU C library defines this for functions which it implements
27619 to always fail with ENOSYS. Some functions are actually named
27620 something starting with __ and the normal name is an alias. */
27621 #if defined __stub_$ac_func || defined __stub___$ac_func
27628 return $ac_func ();
27633 rm -f conftest.
$ac_objext conftest
$ac_exeext
27634 if { (ac_try
="$ac_link"
27635 case "(($ac_try" in
27636 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27637 *) ac_try_echo=$ac_try;;
27639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27640 (eval "$ac_link") 2>conftest.er1
27642 grep -v '^ *+' conftest.er1 >conftest.err
27644 cat conftest.err >&5
27645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27646 (exit $ac_status); } && {
27647 test -z "$ac_c_werror_flag" ||
27648 test ! -s conftest.err
27649 } && test -s conftest$ac_exeext &&
27650 $as_test_x conftest$ac_exeext; then
27651 eval "$as_ac_var=yes"
27653 echo "$as_me: failed program was:" >&5
27654 sed 's/^/| /' conftest.$ac_ext >&5
27656 eval "$as_ac_var=no"
27659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27660 conftest$ac_exeext conftest.$ac_ext
27662 ac_res=`eval echo '${'$as_ac_var'}'`
27663 { echo "$as_me:$LINENO: result: $ac_res" >&5
27664 echo "${ECHO_T}$ac_res" >&6; }
27665 if test `eval echo '${'$as_ac_var'}'` = yes; then
27666 cat >>confdefs.h <<_ACEOF
27667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27673 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27674 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27675 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27676 { echo "$as_me:$LINENO: result: yes" >&5
27677 echo "${ECHO_T}yes" >&6; }
27679 { echo "$as_me:$LINENO: result: no" >&5
27680 echo "${ECHO_T}no" >&6; }
27682 # use different functions to avoid configure caching
27688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27689 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27691 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27694 cat >conftest.$ac_ext <<_ACEOF
27697 cat confdefs.h >>conftest.$ac_ext
27698 cat >>conftest.$ac_ext <<_ACEOF
27699 /* end confdefs.h. */
27700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27702 #define $ac_func innocuous_$ac_func
27704 /* System header to define __stub macros and hopefully few prototypes,
27705 which can conflict with char $ac_func (); below.
27706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27707 <limits.h> exists even on freestanding compilers. */
27710 # include <limits.h>
27712 # include <assert.h>
27717 /* Override any GCC internal prototype to avoid an error.
27718 Use char because int might match the return type of a GCC
27719 builtin and then its argument prototype would still apply. */
27724 /* The GNU C library defines this for functions which it implements
27725 to always fail with ENOSYS. Some functions are actually named
27726 something starting with __ and the normal name is an alias. */
27727 #if defined __stub_$ac_func || defined __stub___$ac_func
27734 return $ac_func ();
27739 rm -f conftest.$ac_objext conftest$ac_exeext
27740 if { (ac_try="$ac_link"
27741 case "(($ac_try" in
27742 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27743 *) ac_try_echo
=$ac_try;;
27745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27746 (eval "$ac_link") 2>conftest.er1
27748 grep -v '^ *+' conftest.er1
>conftest.err
27750 cat conftest.err
>&5
27751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27752 (exit $ac_status); } && {
27753 test -z "$ac_c_werror_flag" ||
27754 test ! -s conftest.err
27755 } && test -s conftest
$ac_exeext &&
27756 $as_test_x conftest
$ac_exeext; then
27757 eval "$as_ac_var=yes"
27759 echo "$as_me: failed program was:" >&5
27760 sed 's/^/| /' conftest.
$ac_ext >&5
27762 eval "$as_ac_var=no"
27765 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27766 conftest
$ac_exeext conftest.
$ac_ext
27768 ac_res
=`eval echo '${'$as_ac_var'}'`
27769 { echo "$as_me:$LINENO: result: $ac_res" >&5
27770 echo "${ECHO_T}$ac_res" >&6; }
27771 if test `eval echo '${'$as_ac_var'}'` = yes; then
27772 cat >>confdefs.h
<<_ACEOF
27773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27780 for ac_func
in ceil
27782 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27783 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27785 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27786 echo $ECHO_N "(cached) $ECHO_C" >&6
27788 cat >conftest.
$ac_ext <<_ACEOF
27791 cat confdefs.h
>>conftest.
$ac_ext
27792 cat >>conftest.
$ac_ext <<_ACEOF
27793 /* end confdefs.h. */
27794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27796 #define $ac_func innocuous_$ac_func
27798 /* System header to define __stub macros and hopefully few prototypes,
27799 which can conflict with char $ac_func (); below.
27800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27801 <limits.h> exists even on freestanding compilers. */
27804 # include <limits.h>
27806 # include <assert.h>
27811 /* Override any GCC internal prototype to avoid an error.
27812 Use char because int might match the return type of a GCC
27813 builtin and then its argument prototype would still apply. */
27818 /* The GNU C library defines this for functions which it implements
27819 to always fail with ENOSYS. Some functions are actually named
27820 something starting with __ and the normal name is an alias. */
27821 #if defined __stub_$ac_func || defined __stub___$ac_func
27828 return $ac_func ();
27833 rm -f conftest.
$ac_objext conftest
$ac_exeext
27834 if { (ac_try
="$ac_link"
27835 case "(($ac_try" in
27836 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27837 *) ac_try_echo=$ac_try;;
27839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27840 (eval "$ac_link") 2>conftest.er1
27842 grep -v '^ *+' conftest.er1 >conftest.err
27844 cat conftest.err >&5
27845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27846 (exit $ac_status); } && {
27847 test -z "$ac_c_werror_flag" ||
27848 test ! -s conftest.err
27849 } && test -s conftest$ac_exeext &&
27850 $as_test_x conftest$ac_exeext; then
27851 eval "$as_ac_var=yes"
27853 echo "$as_me: failed program was:" >&5
27854 sed 's/^/| /' conftest.$ac_ext >&5
27856 eval "$as_ac_var=no"
27859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27860 conftest$ac_exeext conftest.$ac_ext
27862 ac_res=`eval echo '${'$as_ac_var'}'`
27863 { echo "$as_me:$LINENO: result: $ac_res" >&5
27864 echo "${ECHO_T}$ac_res" >&6; }
27865 if test `eval echo '${'$as_ac_var'}'` = yes; then
27866 cat >>confdefs.h <<_ACEOF
27867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27873 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27874 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27875 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27876 { echo "$as_me:$LINENO: result: yes" >&5
27877 echo "${ECHO_T}yes" >&6; }
27879 { echo "$as_me:$LINENO: result: no" >&5
27880 echo "${ECHO_T}no" >&6; }
27881 # not sure we should warn the user, crash, etc.
27886 ac_cpp='$CXXCPP $CPPFLAGS'
27887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27891 if test "wxUSE_UNICODE" = "yes"; then
27893 for wx_func in wcstoull
27895 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27896 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27897 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27898 echo $ECHO_N "(cached) $ECHO_C" >&6
27901 cat >conftest.$ac_ext <<_ACEOF
27905 cat confdefs.h >>conftest.$ac_ext
27906 cat >>conftest.$ac_ext <<_ACEOF
27907 /* end confdefs.h. */
27910 $ac_includes_default
27926 rm -f conftest.$ac_objext conftest$ac_exeext
27927 if { (ac_try="$ac_link"
27928 case "(($ac_try" in
27929 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27930 *) ac_try_echo
=$ac_try;;
27932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27933 (eval "$ac_link") 2>conftest.er1
27935 grep -v '^ *+' conftest.er1
>conftest.err
27937 cat conftest.err
>&5
27938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27939 (exit $ac_status); } && {
27940 test -z "$ac_cxx_werror_flag" ||
27941 test ! -s conftest.err
27942 } && test -s conftest
$ac_exeext &&
27943 $as_test_x conftest
$ac_exeext; then
27944 eval wx_cv_func_
$wx_func=yes
27946 echo "$as_me: failed program was:" >&5
27947 sed 's/^/| /' conftest.
$ac_ext >&5
27949 eval wx_cv_func_
$wx_func=no
27952 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27953 conftest
$ac_exeext conftest.
$ac_ext
27956 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
27957 { echo "$as_me:$LINENO: result: $ac_res" >&5
27958 echo "${ECHO_T}$ac_res" >&6; }
27960 if eval test \
$wx_cv_func_$wx_func = yes
27962 cat >>confdefs.h
<<_ACEOF
27963 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27975 for wx_func
in strtoull
27977 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27978 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27979 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27980 echo $ECHO_N "(cached) $ECHO_C" >&6
27983 cat >conftest.
$ac_ext <<_ACEOF
27987 cat confdefs.h
>>conftest.
$ac_ext
27988 cat >>conftest.
$ac_ext <<_ACEOF
27989 /* end confdefs.h. */
27992 $ac_includes_default
28008 rm -f conftest.
$ac_objext conftest
$ac_exeext
28009 if { (ac_try
="$ac_link"
28010 case "(($ac_try" in
28011 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28012 *) ac_try_echo=$ac_try;;
28014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28015 (eval "$ac_link") 2>conftest.er1
28017 grep -v '^ *+' conftest.er1 >conftest.err
28019 cat conftest.err >&5
28020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28021 (exit $ac_status); } && {
28022 test -z "$ac_cxx_werror_flag" ||
28023 test ! -s conftest.err
28024 } && test -s conftest$ac_exeext &&
28025 $as_test_x conftest$ac_exeext; then
28026 eval wx_cv_func_$wx_func=yes
28028 echo "$as_me: failed program was:" >&5
28029 sed 's/^/| /' conftest.$ac_ext >&5
28031 eval wx_cv_func_$wx_func=no
28034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28035 conftest$ac_exeext conftest.$ac_ext
28038 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28039 { echo "$as_me:$LINENO: result: $ac_res" >&5
28040 echo "${ECHO_T}$ac_res" >&6; }
28042 if eval test \$wx_cv_func_$wx_func = yes
28044 cat >>confdefs.h <<_ACEOF
28045 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28057 ac_cpp='$CPP $CPPFLAGS'
28058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28065 if test "$wxUSE_REGEX" != "no"; then
28066 cat >>confdefs.h <<\_ACEOF
28067 #define wxUSE_REGEX 1
28071 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28072 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28073 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28074 wxUSE_REGEX=builtin
28077 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28078 { echo "$as_me:$LINENO: checking for regex.h" >&5
28079 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28080 if test "${ac_cv_header_regex_h+set}" = set; then
28081 echo $ECHO_N "(cached) $ECHO_C" >&6
28083 cat >conftest.$ac_ext <<_ACEOF
28086 cat confdefs.h >>conftest.$ac_ext
28087 cat >>conftest.$ac_ext <<_ACEOF
28088 /* end confdefs.h. */
28093 rm -f conftest.$ac_objext
28094 if { (ac_try="$ac_compile"
28095 case "(($ac_try" in
28096 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28097 *) ac_try_echo
=$ac_try;;
28099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28100 (eval "$ac_compile") 2>conftest.er1
28102 grep -v '^ *+' conftest.er1
>conftest.err
28104 cat conftest.err
>&5
28105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28106 (exit $ac_status); } && {
28107 test -z "$ac_c_werror_flag" ||
28108 test ! -s conftest.err
28109 } && test -s conftest.
$ac_objext; then
28110 ac_cv_header_regex_h
=yes
28112 echo "$as_me: failed program was:" >&5
28113 sed 's/^/| /' conftest.
$ac_ext >&5
28115 ac_cv_header_regex_h
=no
28118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28120 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28121 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28122 if test $ac_cv_header_regex_h = yes; then
28125 for ac_func
in regcomp re_search
28127 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28128 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28130 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28131 echo $ECHO_N "(cached) $ECHO_C" >&6
28133 cat >conftest.
$ac_ext <<_ACEOF
28136 cat confdefs.h
>>conftest.
$ac_ext
28137 cat >>conftest.
$ac_ext <<_ACEOF
28138 /* end confdefs.h. */
28139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28141 #define $ac_func innocuous_$ac_func
28143 /* System header to define __stub macros and hopefully few prototypes,
28144 which can conflict with char $ac_func (); below.
28145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28146 <limits.h> exists even on freestanding compilers. */
28149 # include <limits.h>
28151 # include <assert.h>
28156 /* Override any GCC internal prototype to avoid an error.
28157 Use char because int might match the return type of a GCC
28158 builtin and then its argument prototype would still apply. */
28163 /* The GNU C library defines this for functions which it implements
28164 to always fail with ENOSYS. Some functions are actually named
28165 something starting with __ and the normal name is an alias. */
28166 #if defined __stub_$ac_func || defined __stub___$ac_func
28173 return $ac_func ();
28178 rm -f conftest.
$ac_objext conftest
$ac_exeext
28179 if { (ac_try
="$ac_link"
28180 case "(($ac_try" in
28181 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28182 *) ac_try_echo=$ac_try;;
28184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28185 (eval "$ac_link") 2>conftest.er1
28187 grep -v '^ *+' conftest.er1 >conftest.err
28189 cat conftest.err >&5
28190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28191 (exit $ac_status); } && {
28192 test -z "$ac_c_werror_flag" ||
28193 test ! -s conftest.err
28194 } && test -s conftest$ac_exeext &&
28195 $as_test_x conftest$ac_exeext; then
28196 eval "$as_ac_var=yes"
28198 echo "$as_me: failed program was:" >&5
28199 sed 's/^/| /' conftest.$ac_ext >&5
28201 eval "$as_ac_var=no"
28204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28205 conftest$ac_exeext conftest.$ac_ext
28207 ac_res=`eval echo '${'$as_ac_var'}'`
28208 { echo "$as_me:$LINENO: result: $ac_res" >&5
28209 echo "${ECHO_T}$ac_res" >&6; }
28210 if test `eval echo '${'$as_ac_var'}'` = yes; then
28211 cat >>confdefs.h <<_ACEOF
28212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28222 if test "x$ac_cv_func_regcomp" != "xyes"; then
28223 if test "$wxUSE_REGEX" = "sys" ; then
28224 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28225 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28226 { (exit 1); exit 1; }; }
28228 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28229 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28230 wxUSE_REGEX=builtin
28234 cat >>confdefs.h <<\_ACEOF
28235 #define WX_NO_REGEX_ADVANCED 1
28244 if test "$wxUSE_ZLIB" != "no" ; then
28245 cat >>confdefs.h <<\_ACEOF
28246 #define wxUSE_ZLIB 1
28250 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28251 if test "$USE_DARWIN" = 1; then
28252 system_zlib_h_ok="yes"
28254 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28255 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28256 if test "${ac_cv_header_zlib_h+set}" = set; then
28257 echo $ECHO_N "(cached) $ECHO_C" >&6
28259 if test "$cross_compiling" = yes; then
28260 unset ac_cv_header_zlib_h
28263 cat >conftest.$ac_ext <<_ACEOF
28266 cat confdefs.h >>conftest.$ac_ext
28267 cat >>conftest.$ac_ext <<_ACEOF
28268 /* end confdefs.h. */
28275 FILE *f=fopen("conftestval", "w");
28278 ZLIB_VERSION[0] == '1' &&
28279 (ZLIB_VERSION[2] > '1' ||
28280 (ZLIB_VERSION[2] == '1' &&
28281 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28286 rm -f conftest$ac_exeext
28287 if { (ac_try="$ac_link"
28288 case "(($ac_try" in
28289 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28290 *) ac_try_echo
=$ac_try;;
28292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28293 (eval "$ac_link") 2>&5
28295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28296 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28297 { (case "(($ac_try" in
28298 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28299 *) ac_try_echo=$ac_try;;
28301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28302 (eval "$ac_try") 2>&5
28304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28305 (exit $ac_status); }; }; then
28306 ac_cv_header_zlib_h=`cat conftestval
`
28308 echo "$as_me: program exited with status $ac_status" >&5
28309 echo "$as_me: failed program was:" >&5
28310 sed 's/^/| /' conftest.$ac_ext >&5
28312 ( exit $ac_status )
28313 ac_cv_header_zlib_h=no
28315 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28321 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28322 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28323 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28324 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28325 if test "${ac_cv_header_zlib_h+set}" = set; then
28326 echo $ECHO_N "(cached) $ECHO_C" >&6
28328 cat >conftest.$ac_ext <<_ACEOF
28331 cat confdefs.h >>conftest.$ac_ext
28332 cat >>conftest.$ac_ext <<_ACEOF
28333 /* end confdefs.h. */
28338 rm -f conftest.$ac_objext
28339 if { (ac_try="$ac_compile"
28340 case "(($ac_try" in
28341 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28342 *) ac_try_echo
=$ac_try;;
28344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28345 (eval "$ac_compile") 2>conftest.er1
28347 grep -v '^ *+' conftest.er1
>conftest.err
28349 cat conftest.err
>&5
28350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28351 (exit $ac_status); } && {
28352 test -z "$ac_c_werror_flag" ||
28353 test ! -s conftest.err
28354 } && test -s conftest.
$ac_objext; then
28355 ac_cv_header_zlib_h
=yes
28357 echo "$as_me: failed program was:" >&5
28358 sed 's/^/| /' conftest.
$ac_ext >&5
28360 ac_cv_header_zlib_h
=no
28363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28365 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28366 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28370 system_zlib_h_ok
=$ac_cv_header_zlib_h
28373 if test "$system_zlib_h_ok" = "yes"; then
28374 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28375 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28376 if test "${ac_cv_lib_z_deflate+set}" = set; then
28377 echo $ECHO_N "(cached) $ECHO_C" >&6
28379 ac_check_lib_save_LIBS
=$LIBS
28381 cat >conftest.
$ac_ext <<_ACEOF
28384 cat confdefs.h
>>conftest.
$ac_ext
28385 cat >>conftest.
$ac_ext <<_ACEOF
28386 /* end confdefs.h. */
28388 /* Override any GCC internal prototype to avoid an error.
28389 Use char because int might match the return type of a GCC
28390 builtin and then its argument prototype would still apply. */
28403 rm -f conftest.
$ac_objext conftest
$ac_exeext
28404 if { (ac_try
="$ac_link"
28405 case "(($ac_try" in
28406 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28407 *) ac_try_echo=$ac_try;;
28409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28410 (eval "$ac_link") 2>conftest.er1
28412 grep -v '^ *+' conftest.er1 >conftest.err
28414 cat conftest.err >&5
28415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28416 (exit $ac_status); } && {
28417 test -z "$ac_c_werror_flag" ||
28418 test ! -s conftest.err
28419 } && test -s conftest$ac_exeext &&
28420 $as_test_x conftest$ac_exeext; then
28421 ac_cv_lib_z_deflate=yes
28423 echo "$as_me: failed program was:" >&5
28424 sed 's/^/| /' conftest.$ac_ext >&5
28426 ac_cv_lib_z_deflate=no
28429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28430 conftest$ac_exeext conftest.$ac_ext
28431 LIBS=$ac_check_lib_save_LIBS
28433 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28434 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28435 if test $ac_cv_lib_z_deflate = yes; then
28441 if test "x$ZLIB_LINK" = "x" ; then
28442 if test "$wxUSE_ZLIB" = "sys" ; then
28443 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28444 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28445 { (exit 1); exit 1; }; }
28447 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28448 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28459 if test "$wxUSE_LIBPNG" != "no" ; then
28460 cat >>confdefs.h <<\_ACEOF
28461 #define wxUSE_LIBPNG 1
28465 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28466 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28467 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28471 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28472 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28473 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28474 wxUSE_LIBPNG=builtin
28477 if test "$wxUSE_MGL" != 1 ; then
28478 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28479 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28480 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28481 if test "${ac_cv_header_png_h+set}" = set; then
28482 echo $ECHO_N "(cached) $ECHO_C" >&6
28484 if test "$cross_compiling" = yes; then
28485 unset ac_cv_header_png_h
28488 cat >conftest.$ac_ext <<_ACEOF
28491 cat confdefs.h >>conftest.$ac_ext
28492 cat >>conftest.$ac_ext <<_ACEOF
28493 /* end confdefs.h. */
28500 FILE *f=fopen("conftestval", "w");
28503 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28508 rm -f conftest$ac_exeext
28509 if { (ac_try="$ac_link"
28510 case "(($ac_try" in
28511 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28512 *) ac_try_echo
=$ac_try;;
28514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28515 (eval "$ac_link") 2>&5
28517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28518 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28519 { (case "(($ac_try" in
28520 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28521 *) ac_try_echo=$ac_try;;
28523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28524 (eval "$ac_try") 2>&5
28526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28527 (exit $ac_status); }; }; then
28528 ac_cv_header_png_h=`cat conftestval
`
28530 echo "$as_me: program exited with status $ac_status" >&5
28531 echo "$as_me: failed program was:" >&5
28532 sed 's/^/| /' conftest.$ac_ext >&5
28534 ( exit $ac_status )
28535 ac_cv_header_png_h=no
28537 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28543 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28544 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28545 { echo "$as_me:$LINENO: checking for png.h" >&5
28546 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28547 if test "${ac_cv_header_png_h+set}" = set; then
28548 echo $ECHO_N "(cached) $ECHO_C" >&6
28550 cat >conftest.$ac_ext <<_ACEOF
28553 cat confdefs.h >>conftest.$ac_ext
28554 cat >>conftest.$ac_ext <<_ACEOF
28555 /* end confdefs.h. */
28560 rm -f conftest.$ac_objext
28561 if { (ac_try="$ac_compile"
28562 case "(($ac_try" in
28563 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28564 *) ac_try_echo
=$ac_try;;
28566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28567 (eval "$ac_compile") 2>conftest.er1
28569 grep -v '^ *+' conftest.er1
>conftest.err
28571 cat conftest.err
>&5
28572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28573 (exit $ac_status); } && {
28574 test -z "$ac_c_werror_flag" ||
28575 test ! -s conftest.err
28576 } && test -s conftest.
$ac_objext; then
28577 ac_cv_header_png_h
=yes
28579 echo "$as_me: failed program was:" >&5
28580 sed 's/^/| /' conftest.
$ac_ext >&5
28582 ac_cv_header_png_h
=no
28585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28587 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28588 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28592 if test "$ac_cv_header_png_h" = "yes"; then
28593 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28594 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28595 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28596 echo $ECHO_N "(cached) $ECHO_C" >&6
28598 ac_check_lib_save_LIBS
=$LIBS
28599 LIBS
="-lpng -lz -lm $LIBS"
28600 cat >conftest.
$ac_ext <<_ACEOF
28603 cat confdefs.h
>>conftest.
$ac_ext
28604 cat >>conftest.
$ac_ext <<_ACEOF
28605 /* end confdefs.h. */
28607 /* Override any GCC internal prototype to avoid an error.
28608 Use char because int might match the return type of a GCC
28609 builtin and then its argument prototype would still apply. */
28613 char png_check_sig ();
28617 return png_check_sig ();
28622 rm -f conftest.
$ac_objext conftest
$ac_exeext
28623 if { (ac_try
="$ac_link"
28624 case "(($ac_try" in
28625 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28626 *) ac_try_echo=$ac_try;;
28628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28629 (eval "$ac_link") 2>conftest.er1
28631 grep -v '^ *+' conftest.er1 >conftest.err
28633 cat conftest.err >&5
28634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28635 (exit $ac_status); } && {
28636 test -z "$ac_c_werror_flag" ||
28637 test ! -s conftest.err
28638 } && test -s conftest$ac_exeext &&
28639 $as_test_x conftest$ac_exeext; then
28640 ac_cv_lib_png_png_check_sig=yes
28642 echo "$as_me: failed program was:" >&5
28643 sed 's/^/| /' conftest.$ac_ext >&5
28645 ac_cv_lib_png_png_check_sig=no
28648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28649 conftest$ac_exeext conftest.$ac_ext
28650 LIBS=$ac_check_lib_save_LIBS
28652 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28653 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28654 if test $ac_cv_lib_png_png_check_sig = yes; then
28655 PNG_LINK=" -lpng -lz"
28660 if test "x$PNG_LINK" = "x" ; then
28661 if test "$wxUSE_LIBPNG" = "sys" ; then
28662 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28663 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28664 { (exit 1); exit 1; }; }
28666 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28667 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28668 wxUSE_LIBPNG=builtin
28676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28681 if test "$wxUSE_LIBJPEG" != "no" ; then
28682 cat >>confdefs.h <<\_ACEOF
28683 #define wxUSE_LIBJPEG 1
28687 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28688 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28689 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28693 if test "$wxUSE_MGL" != 1 ; then
28694 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28695 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28696 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28697 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28698 echo $ECHO_N "(cached) $ECHO_C" >&6
28700 cat >conftest.$ac_ext <<_ACEOF
28703 cat confdefs.h >>conftest.$ac_ext
28704 cat >>conftest.$ac_ext <<_ACEOF
28705 /* end confdefs.h. */
28707 #undef HAVE_STDLIB_H
28709 #include <jpeglib.h>
28720 rm -f conftest.$ac_objext
28721 if { (ac_try="$ac_compile"
28722 case "(($ac_try" in
28723 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28724 *) ac_try_echo
=$ac_try;;
28726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28727 (eval "$ac_compile") 2>conftest.er1
28729 grep -v '^ *+' conftest.er1
>conftest.err
28731 cat conftest.err
>&5
28732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28733 (exit $ac_status); } && {
28734 test -z "$ac_c_werror_flag" ||
28735 test ! -s conftest.err
28736 } && test -s conftest.
$ac_objext; then
28737 ac_cv_header_jpeglib_h
=yes
28739 echo "$as_me: failed program was:" >&5
28740 sed 's/^/| /' conftest.
$ac_ext >&5
28742 ac_cv_header_jpeglib_h
=no
28746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28750 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28751 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28753 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28754 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28755 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28756 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28757 echo $ECHO_N "(cached) $ECHO_C" >&6
28759 ac_check_lib_save_LIBS
=$LIBS
28760 LIBS
="-ljpeg $LIBS"
28761 cat >conftest.
$ac_ext <<_ACEOF
28764 cat confdefs.h
>>conftest.
$ac_ext
28765 cat >>conftest.
$ac_ext <<_ACEOF
28766 /* end confdefs.h. */
28768 /* Override any GCC internal prototype to avoid an error.
28769 Use char because int might match the return type of a GCC
28770 builtin and then its argument prototype would still apply. */
28774 char jpeg_read_header ();
28778 return jpeg_read_header ();
28783 rm -f conftest.
$ac_objext conftest
$ac_exeext
28784 if { (ac_try
="$ac_link"
28785 case "(($ac_try" in
28786 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28787 *) ac_try_echo=$ac_try;;
28789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28790 (eval "$ac_link") 2>conftest.er1
28792 grep -v '^ *+' conftest.er1 >conftest.err
28794 cat conftest.err >&5
28795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28796 (exit $ac_status); } && {
28797 test -z "$ac_c_werror_flag" ||
28798 test ! -s conftest.err
28799 } && test -s conftest$ac_exeext &&
28800 $as_test_x conftest$ac_exeext; then
28801 ac_cv_lib_jpeg_jpeg_read_header=yes
28803 echo "$as_me: failed program was:" >&5
28804 sed 's/^/| /' conftest.$ac_ext >&5
28806 ac_cv_lib_jpeg_jpeg_read_header=no
28809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28810 conftest$ac_exeext conftest.$ac_ext
28811 LIBS=$ac_check_lib_save_LIBS
28813 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28814 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28815 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28816 JPEG_LINK=" -ljpeg"
28821 if test "x$JPEG_LINK" = "x" ; then
28822 if test "$wxUSE_LIBJPEG" = "sys" ; then
28823 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28824 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28825 { (exit 1); exit 1; }; }
28827 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28828 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28829 wxUSE_LIBJPEG=builtin
28834 if test "$wxUSE_MSW" = 1; then
28835 { echo "$as_me:$LINENO: checking for boolean" >&5
28836 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28837 if test "${ac_cv_type_boolean+set}" = set; then
28838 echo $ECHO_N "(cached) $ECHO_C" >&6
28840 cat >conftest.$ac_ext <<_ACEOF
28843 cat confdefs.h >>conftest.$ac_ext
28844 cat >>conftest.$ac_ext <<_ACEOF
28845 /* end confdefs.h. */
28846 #include <windows.h>
28848 typedef boolean ac__type_new_;
28852 if ((ac__type_new_ *) 0)
28854 if (sizeof (ac__type_new_))
28860 rm -f conftest.$ac_objext
28861 if { (ac_try="$ac_compile"
28862 case "(($ac_try" in
28863 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28864 *) ac_try_echo
=$ac_try;;
28866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28867 (eval "$ac_compile") 2>conftest.er1
28869 grep -v '^ *+' conftest.er1
>conftest.err
28871 cat conftest.err
>&5
28872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28873 (exit $ac_status); } && {
28874 test -z "$ac_c_werror_flag" ||
28875 test ! -s conftest.err
28876 } && test -s conftest.
$ac_objext; then
28877 ac_cv_type_boolean
=yes
28879 echo "$as_me: failed program was:" >&5
28880 sed 's/^/| /' conftest.
$ac_ext >&5
28882 ac_cv_type_boolean
=no
28885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28887 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28888 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28889 if test $ac_cv_type_boolean = yes; then
28891 cat >>confdefs.h
<<_ACEOF
28892 #define HAVE_BOOLEAN 1
28896 { echo "$as_me:$LINENO: checking for boolean" >&5
28897 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28898 if test "${ac_cv_type_boolean+set}" = set; then
28899 echo $ECHO_N "(cached) $ECHO_C" >&6
28901 cat >conftest.
$ac_ext <<_ACEOF
28904 cat confdefs.h
>>conftest.
$ac_ext
28905 cat >>conftest.
$ac_ext <<_ACEOF
28906 /* end confdefs.h. */
28908 #undef HAVE_BOOLEAN
28910 #include <jpeglib.h>
28913 typedef boolean ac__type_new_;
28917 if ((ac__type_new_ *) 0)
28919 if (sizeof (ac__type_new_))
28925 rm -f conftest.
$ac_objext
28926 if { (ac_try
="$ac_compile"
28927 case "(($ac_try" in
28928 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28929 *) ac_try_echo=$ac_try;;
28931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28932 (eval "$ac_compile") 2>conftest.er1
28934 grep -v '^ *+' conftest.er1 >conftest.err
28936 cat conftest.err >&5
28937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28938 (exit $ac_status); } && {
28939 test -z "$ac_c_werror_flag" ||
28940 test ! -s conftest.err
28941 } && test -s conftest.$ac_objext; then
28942 ac_cv_type_boolean=yes
28944 echo "$as_me: failed program was:" >&5
28945 sed 's/^/| /' conftest.$ac_ext >&5
28947 ac_cv_type_boolean=no
28950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28952 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28953 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28955 # The cast to long int works around a bug in the HP C Compiler
28956 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28957 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
28958 # This bug is HP SR number 8606223364.
28959 { echo "$as_me:$LINENO: checking size of boolean" >&5
28960 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28961 if test "${ac_cv_sizeof_boolean+set}" = set; then
28962 echo $ECHO_N "(cached) $ECHO_C" >&6
28964 if test "$cross_compiling" = yes; then
28965 # Depending upon the size, compute the lo and hi bounds.
28966 cat >conftest.$ac_ext <<_ACEOF
28969 cat confdefs.h >>conftest.$ac_ext
28970 cat >>conftest.$ac_ext <<_ACEOF
28971 /* end confdefs.h. */
28973 #undef HAVE_BOOLEAN
28975 #include <jpeglib.h>
28978 typedef boolean ac__type_sizeof_;
28982 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28989 rm -f conftest.$ac_objext
28990 if { (ac_try="$ac_compile"
28991 case "(($ac_try" in
28992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28993 *) ac_try_echo=$ac_try;;
28995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28996 (eval "$ac_compile") 2>conftest.er1
28998 grep -v '^
*+' conftest.er1 >conftest.err
29000 cat conftest.err >&5
29001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29002 (exit $ac_status); } && {
29003 test -z "$ac_c_werror_flag" ||
29004 test ! -s conftest.err
29005 } && test -s conftest.$ac_objext; then
29008 cat >conftest.$ac_ext <<_ACEOF
29011 cat confdefs.h >>conftest.$ac_ext
29012 cat >>conftest.$ac_ext <<_ACEOF
29013 /* end confdefs.h. */
29015 #undef HAVE_BOOLEAN
29017 #include <jpeglib.h>
29020 typedef boolean ac__type_sizeof_;
29024 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29031 rm -f conftest.$ac_objext
29032 if { (ac_try="$ac_compile"
29033 case "(($ac_try" in
29034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29035 *) ac_try_echo=$ac_try;;
29037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29038 (eval "$ac_compile") 2>conftest.er1
29040 grep -v '^
*+' conftest.er1 >conftest.err
29042 cat conftest.err >&5
29043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29044 (exit $ac_status); } && {
29045 test -z "$ac_c_werror_flag" ||
29046 test ! -s conftest.err
29047 } && test -s conftest.$ac_objext; then
29048 ac_hi=$ac_mid; break
29050 echo "$as_me: failed program was:" >&5
29051 sed 's
/^
/| /' conftest.$ac_ext >&5
29053 ac_lo=`expr $ac_mid + 1`
29054 if test $ac_lo -le $ac_mid; then
29058 ac_mid=`expr 2 '*' $ac_mid + 1`
29061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29064 echo "$as_me: failed program was:" >&5
29065 sed 's
/^
/| /' conftest.$ac_ext >&5
29067 cat >conftest.$ac_ext <<_ACEOF
29070 cat confdefs.h >>conftest.$ac_ext
29071 cat >>conftest.$ac_ext <<_ACEOF
29072 /* end confdefs.h. */
29074 #undef HAVE_BOOLEAN
29076 #include <jpeglib.h>
29079 typedef boolean ac__type_sizeof_;
29083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29090 rm -f conftest.$ac_objext
29091 if { (ac_try="$ac_compile"
29092 case "(($ac_try" in
29093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29094 *) ac_try_echo=$ac_try;;
29096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29097 (eval "$ac_compile") 2>conftest.er1
29099 grep -v '^
*+' conftest.er1 >conftest.err
29101 cat conftest.err >&5
29102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29103 (exit $ac_status); } && {
29104 test -z "$ac_c_werror_flag" ||
29105 test ! -s conftest.err
29106 } && test -s conftest.$ac_objext; then
29109 cat >conftest.$ac_ext <<_ACEOF
29112 cat confdefs.h >>conftest.$ac_ext
29113 cat >>conftest.$ac_ext <<_ACEOF
29114 /* end confdefs.h. */
29116 #undef HAVE_BOOLEAN
29118 #include <jpeglib.h>
29121 typedef boolean ac__type_sizeof_;
29125 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29132 rm -f conftest.$ac_objext
29133 if { (ac_try="$ac_compile"
29134 case "(($ac_try" in
29135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29136 *) ac_try_echo=$ac_try;;
29138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29139 (eval "$ac_compile") 2>conftest.er1
29141 grep -v '^
*+' conftest.er1 >conftest.err
29143 cat conftest.err >&5
29144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29145 (exit $ac_status); } && {
29146 test -z "$ac_c_werror_flag" ||
29147 test ! -s conftest.err
29148 } && test -s conftest.$ac_objext; then
29149 ac_lo=$ac_mid; break
29151 echo "$as_me: failed program was:" >&5
29152 sed 's
/^
/| /' conftest.$ac_ext >&5
29154 ac_hi=`expr '(' $ac_mid ')' - 1`
29155 if test $ac_mid -le $ac_hi; then
29159 ac_mid=`expr 2 '*' $ac_mid`
29162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29165 echo "$as_me: failed program was:" >&5
29166 sed 's
/^
/| /' conftest.$ac_ext >&5
29171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29175 # Binary search between lo and hi bounds.
29176 while test "x$ac_lo" != "x$ac_hi"; do
29177 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29178 cat >conftest.$ac_ext <<_ACEOF
29181 cat confdefs.h >>conftest.$ac_ext
29182 cat >>conftest.$ac_ext <<_ACEOF
29183 /* end confdefs.h. */
29185 #undef HAVE_BOOLEAN
29187 #include <jpeglib.h>
29190 typedef boolean ac__type_sizeof_;
29194 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29201 rm -f conftest.$ac_objext
29202 if { (ac_try="$ac_compile"
29203 case "(($ac_try" in
29204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29205 *) ac_try_echo=$ac_try;;
29207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29208 (eval "$ac_compile") 2>conftest.er1
29210 grep -v '^
*+' conftest.er1 >conftest.err
29212 cat conftest.err >&5
29213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29214 (exit $ac_status); } && {
29215 test -z "$ac_c_werror_flag" ||
29216 test ! -s conftest.err
29217 } && test -s conftest.$ac_objext; then
29220 echo "$as_me: failed program was:" >&5
29221 sed 's
/^
/| /' conftest.$ac_ext >&5
29223 ac_lo=`expr '(' $ac_mid ')' + 1`
29226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29229 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29230 '') if test "$ac_cv_type_boolean" = yes; then
29231 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29232 See \`config.log' for more details.
" >&5
29233 echo "$as_me: error
: cannot compute sizeof
(boolean
)
29234 See \
`config.log' for more details." >&2;}
29235 { (exit 77); exit 77; }; }
29237 ac_cv_sizeof_boolean=0
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_;
29254 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29255 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29257 #include <stdlib.h>
29262 FILE *f = fopen ("conftest.val", "w");
29265 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29267 long int i = longval ();
29268 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29270 fprintf (f, "%ld\n", i);
29274 unsigned long int i = ulongval ();
29275 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29277 fprintf (f, "%lu\n", i);
29279 return ferror (f) || fclose (f) != 0;
29285 rm -f conftest$ac_exeext
29286 if { (ac_try="$ac_link"
29287 case "(($ac_try" in
29288 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29289 *) ac_try_echo
=$ac_try;;
29291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29292 (eval "$ac_link") 2>&5
29294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29295 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29296 { (case "(($ac_try" in
29297 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29298 *) ac_try_echo=$ac_try;;
29300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29301 (eval "$ac_try") 2>&5
29303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29304 (exit $ac_status); }; }; then
29305 ac_cv_sizeof_boolean=`cat conftest.val
`
29307 echo "$as_me: program exited with status $ac_status" >&5
29308 echo "$as_me: failed program was:" >&5
29309 sed 's/^/| /' conftest.$ac_ext >&5
29311 ( exit $ac_status )
29312 if test "$ac_cv_type_boolean" = yes; then
29313 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29314 See \`config.log
' for more details." >&5
29315 echo "$as_me: error: cannot compute sizeof (boolean)
29316 See \`config.log' for more details.
" >&2;}
29317 { (exit 77); exit 77; }; }
29319 ac_cv_sizeof_boolean=0
29322 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29326 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
29327 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29331 cat >>confdefs.h <<_ACEOF
29332 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29336 cat >>confdefs.h <<_ACEOF
29337 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29351 TIFF_PREREQ_LINKS=-lm
29352 if test "$wxUSE_LIBTIFF" != "no
" ; then
29353 cat >>confdefs.h <<\_ACEOF
29354 #define wxUSE_LIBTIFF 1
29358 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
29359 if test "$wxUSE_LIBJPEG" = "sys
"; then
29360 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29362 if test "$wxUSE_ZLIB" = "sys
"; then
29363 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29365 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
29366 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
29367 if test "${ac_cv_header_tiffio_h+set}" = set; then
29368 echo $ECHO_N "(cached
) $ECHO_C" >&6
29370 cat >conftest.$ac_ext <<_ACEOF
29373 cat confdefs.h >>conftest.$ac_ext
29374 cat >>conftest.$ac_ext <<_ACEOF
29375 /* end confdefs.h. */
29379 #include <tiffio.h>
29381 rm -f conftest.$ac_objext
29382 if { (ac_try="$ac_compile"
29383 case "(($ac_try" in
29384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29385 *) ac_try_echo=$ac_try;;
29387 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29388 (eval "$ac_compile") 2>conftest.er1
29390 grep -v '^ *+' conftest.er1 >conftest.err
29392 cat conftest.err >&5
29393 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29394 (exit $ac_status); } && {
29395 test -z "$ac_c_werror_flag" ||
29396 test ! -s conftest.err
29397 } && test -s conftest.$ac_objext; then
29398 ac_cv_header_tiffio_h=yes
29400 echo "$as_me: failed program was
:" >&5
29401 sed 's/^/| /' conftest.$ac_ext >&5
29403 ac_cv_header_tiffio_h=no
29406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29408 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
29409 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29410 if test $ac_cv_header_tiffio_h = yes; then
29412 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
29413 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
29414 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29415 echo $ECHO_N "(cached
) $ECHO_C" >&6
29417 ac_check_lib_save_LIBS=$LIBS
29418 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29419 cat >conftest.$ac_ext <<_ACEOF
29422 cat confdefs.h >>conftest.$ac_ext
29423 cat >>conftest.$ac_ext <<_ACEOF
29424 /* end confdefs.h. */
29426 /* Override any GCC internal prototype to avoid an error.
29427 Use char because int might match the return type of a GCC
29428 builtin and then its argument prototype would still apply. */
29436 return TIFFError ();
29441 rm -f conftest.$ac_objext conftest$ac_exeext
29442 if { (ac_try="$ac_link"
29443 case "(($ac_try" in
29444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29445 *) ac_try_echo=$ac_try;;
29447 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29448 (eval "$ac_link") 2>conftest.er1
29450 grep -v '^ *+' conftest.er1 >conftest.err
29452 cat conftest.err >&5
29453 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29454 (exit $ac_status); } && {
29455 test -z "$ac_c_werror_flag" ||
29456 test ! -s conftest.err
29457 } && test -s conftest$ac_exeext &&
29458 $as_test_x conftest$ac_exeext; then
29459 ac_cv_lib_tiff_TIFFError=yes
29461 echo "$as_me: failed program was
:" >&5
29462 sed 's/^/| /' conftest.$ac_ext >&5
29464 ac_cv_lib_tiff_TIFFError=no
29467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29468 conftest$ac_exeext conftest.$ac_ext
29469 LIBS=$ac_check_lib_save_LIBS
29471 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
29472 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29473 if test $ac_cv_lib_tiff_TIFFError = yes; then
29474 TIFF_LINK=" -ltiff"
29482 if test "x
$TIFF_LINK" = "x
" ; then
29483 if test "$wxUSE_LIBTIFF" = "sys
" ; then
29484 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
29485 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
29486 { (exit 1); exit 1; }; }
29488 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
29489 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
29490 wxUSE_LIBTIFF=builtin
29499 if test "$wxUSE_WCHAR_T" != "yes"; then
29500 if test "$wxUSE_EXPAT" != "no
"; then
29501 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
29502 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
29505 if test "$wxUSE_XML" != "no
"; then
29506 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
29507 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
29512 if test "$wxUSE_EXPAT" != "no
"; then
29514 cat >>confdefs.h <<\_ACEOF
29515 #define wxUSE_EXPAT 1
29518 cat >>confdefs.h <<\_ACEOF
29519 #define wxUSE_XML 1
29523 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
29524 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
29525 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
29526 if test "${ac_cv_header_expat_h+set}" = set; then
29527 echo $ECHO_N "(cached
) $ECHO_C" >&6
29529 cat >conftest.$ac_ext <<_ACEOF
29532 cat confdefs.h >>conftest.$ac_ext
29533 cat >>conftest.$ac_ext <<_ACEOF
29534 /* end confdefs.h. */
29539 rm -f conftest.$ac_objext
29540 if { (ac_try="$ac_compile"
29541 case "(($ac_try" in
29542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29543 *) ac_try_echo=$ac_try;;
29545 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29546 (eval "$ac_compile") 2>conftest.er1
29548 grep -v '^ *+' conftest.er1 >conftest.err
29550 cat conftest.err >&5
29551 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29552 (exit $ac_status); } && {
29553 test -z "$ac_c_werror_flag" ||
29554 test ! -s conftest.err
29555 } && test -s conftest.$ac_objext; then
29556 ac_cv_header_expat_h=yes
29558 echo "$as_me: failed program was
:" >&5
29559 sed 's/^/| /' conftest.$ac_ext >&5
29561 ac_cv_header_expat_h=no
29564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29566 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
29567 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29568 if test $ac_cv_header_expat_h = yes; then
29573 if test "x
$found_expat_h" = "x1
"; then
29574 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
29575 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
29576 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29577 echo $ECHO_N "(cached
) $ECHO_C" >&6
29581 ac_cpp='$CXXCPP $CPPFLAGS'
29582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29586 cat >conftest.$ac_ext <<_ACEOF
29589 cat confdefs.h >>conftest.$ac_ext
29590 cat >>conftest.$ac_ext <<_ACEOF
29591 /* end confdefs.h. */
29601 rm -f conftest.$ac_objext
29602 if { (ac_try="$ac_compile"
29603 case "(($ac_try" in
29604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29605 *) ac_try_echo=$ac_try;;
29607 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29608 (eval "$ac_compile") 2>conftest.er1
29610 grep -v '^ *+' conftest.er1 >conftest.err
29612 cat conftest.err >&5
29613 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29614 (exit $ac_status); } && {
29615 test -z "$ac_cxx_werror_flag" ||
29616 test ! -s conftest.err
29617 } && test -s conftest.$ac_objext; then
29618 wx_cv_expat_is_not_broken=yes
29620 echo "$as_me: failed program was
:" >&5
29621 sed 's/^/| /' conftest.$ac_ext >&5
29623 wx_cv_expat_is_not_broken=no
29627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29629 ac_cpp='$CPP $CPPFLAGS'
29630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29637 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
29638 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29639 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29640 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
29641 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
29642 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29643 echo $ECHO_N "(cached
) $ECHO_C" >&6
29645 ac_check_lib_save_LIBS=$LIBS
29646 LIBS="-lexpat $LIBS"
29647 cat >conftest.$ac_ext <<_ACEOF
29650 cat confdefs.h >>conftest.$ac_ext
29651 cat >>conftest.$ac_ext <<_ACEOF
29652 /* end confdefs.h. */
29654 /* Override any GCC internal prototype to avoid an error.
29655 Use char because int might match the return type of a GCC
29656 builtin and then its argument prototype would still apply. */
29660 char XML_ParserCreate ();
29664 return XML_ParserCreate ();
29669 rm -f conftest.$ac_objext conftest$ac_exeext
29670 if { (ac_try="$ac_link"
29671 case "(($ac_try" in
29672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29673 *) ac_try_echo=$ac_try;;
29675 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29676 (eval "$ac_link") 2>conftest.er1
29678 grep -v '^ *+' conftest.er1 >conftest.err
29680 cat conftest.err >&5
29681 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29682 (exit $ac_status); } && {
29683 test -z "$ac_c_werror_flag" ||
29684 test ! -s conftest.err
29685 } && test -s conftest$ac_exeext &&
29686 $as_test_x conftest$ac_exeext; then
29687 ac_cv_lib_expat_XML_ParserCreate=yes
29689 echo "$as_me: failed program was
:" >&5
29690 sed 's/^/| /' conftest.$ac_ext >&5
29692 ac_cv_lib_expat_XML_ParserCreate=no
29695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29696 conftest$ac_exeext conftest.$ac_ext
29697 LIBS=$ac_check_lib_save_LIBS
29699 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
29700 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29701 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29702 EXPAT_LINK=" -lexpat"
29707 if test "x
$EXPAT_LINK" = "x
" ; then
29708 if test "$wxUSE_EXPAT" = "sys
" ; then
29709 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
29710 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
29711 { (exit 1); exit 1; }; }
29713 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
29714 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
29715 wxUSE_EXPAT=builtin
29721 if test "$wxUSE_EXPAT" = "builtin" ; then
29722 subdirs="$subdirs src
/expat
"
29729 if test "$wxUSE_LIBMSPACK" != "no
"; then
29730 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
29731 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
29732 if test "${ac_cv_header_mspack_h+set}" = set; then
29733 echo $ECHO_N "(cached
) $ECHO_C" >&6
29735 cat >conftest.$ac_ext <<_ACEOF
29738 cat confdefs.h >>conftest.$ac_ext
29739 cat >>conftest.$ac_ext <<_ACEOF
29740 /* end confdefs.h. */
29743 #include <mspack.h>
29745 rm -f conftest.$ac_objext
29746 if { (ac_try="$ac_compile"
29747 case "(($ac_try" in
29748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29749 *) ac_try_echo=$ac_try;;
29751 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29752 (eval "$ac_compile") 2>conftest.er1
29754 grep -v '^ *+' conftest.er1 >conftest.err
29756 cat conftest.err >&5
29757 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29758 (exit $ac_status); } && {
29759 test -z "$ac_c_werror_flag" ||
29760 test ! -s conftest.err
29761 } && test -s conftest.$ac_objext; then
29762 ac_cv_header_mspack_h=yes
29764 echo "$as_me: failed program was
:" >&5
29765 sed 's/^/| /' conftest.$ac_ext >&5
29767 ac_cv_header_mspack_h=no
29770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29772 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
29773 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29774 if test $ac_cv_header_mspack_h = yes; then
29779 if test "x
$found_mspack_h" = "x1
"; then
29780 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
29781 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
29782 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29783 echo $ECHO_N "(cached
) $ECHO_C" >&6
29785 ac_check_lib_save_LIBS=$LIBS
29786 LIBS="-lmspack $LIBS"
29787 cat >conftest.$ac_ext <<_ACEOF
29790 cat confdefs.h >>conftest.$ac_ext
29791 cat >>conftest.$ac_ext <<_ACEOF
29792 /* end confdefs.h. */
29794 /* Override any GCC internal prototype to avoid an error.
29795 Use char because int might match the return type of a GCC
29796 builtin and then its argument prototype would still apply. */
29800 char mspack_create_chm_decompressor ();
29804 return mspack_create_chm_decompressor ();
29809 rm -f conftest.$ac_objext conftest$ac_exeext
29810 if { (ac_try="$ac_link"
29811 case "(($ac_try" in
29812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29813 *) ac_try_echo=$ac_try;;
29815 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29816 (eval "$ac_link") 2>conftest.er1
29818 grep -v '^ *+' conftest.er1 >conftest.err
29820 cat conftest.err >&5
29821 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29822 (exit $ac_status); } && {
29823 test -z "$ac_c_werror_flag" ||
29824 test ! -s conftest.err
29825 } && test -s conftest$ac_exeext &&
29826 $as_test_x conftest$ac_exeext; then
29827 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29829 echo "$as_me: failed program was
:" >&5
29830 sed 's/^/| /' conftest.$ac_ext >&5
29832 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29836 conftest$ac_exeext conftest.$ac_ext
29837 LIBS=$ac_check_lib_save_LIBS
29839 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29840 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29841 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29842 MSPACK_LINK=" -lmspack"
29846 if test "x
$MSPACK_LINK" = "x
" ; then
29851 if test "$wxUSE_LIBMSPACK" != "no
"; then
29852 cat >>confdefs.h <<\_ACEOF
29853 #define wxUSE_LIBMSPACK 1
29867 if test "$USE_WIN32" = 1 ; then
29869 for ac_header in w32api.h
29871 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
29872 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
29873 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
29874 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
29875 echo $ECHO_N "(cached
) $ECHO_C" >&6
29877 cat >conftest.$ac_ext <<_ACEOF
29880 cat confdefs.h >>conftest.$ac_ext
29881 cat >>conftest.$ac_ext <<_ACEOF
29882 /* end confdefs.h. */
29885 #include <$ac_header>
29887 rm -f conftest.$ac_objext
29888 if { (ac_try="$ac_compile"
29889 case "(($ac_try" in
29890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29891 *) ac_try_echo=$ac_try;;
29893 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29894 (eval "$ac_compile") 2>conftest.er1
29896 grep -v '^ *+' conftest.er1 >conftest.err
29898 cat conftest.err >&5
29899 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29900 (exit $ac_status); } && {
29901 test -z "$ac_c_werror_flag" ||
29902 test ! -s conftest.err
29903 } && test -s conftest.$ac_objext; then
29904 eval "$as_ac_Header=yes"
29906 echo "$as_me: failed program was
:" >&5
29907 sed 's/^/| /' conftest.$ac_ext >&5
29909 eval "$as_ac_Header=no
"
29912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29914 ac_res=`eval echo '${'$as_ac_Header'}'`
29915 { echo "$as_me:$LINENO: result
: $ac_res" >&5
29916 echo "${ECHO_T}$ac_res" >&6; }
29917 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29918 cat >>confdefs.h <<_ACEOF
29919 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
29926 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
29927 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
29928 if test "${ac_cv_header_windows_h+set}" = set; then
29929 echo $ECHO_N "(cached
) $ECHO_C" >&6
29931 cat >conftest.$ac_ext <<_ACEOF
29934 cat confdefs.h >>conftest.$ac_ext
29935 cat >>conftest.$ac_ext <<_ACEOF
29936 /* end confdefs.h. */
29939 #include <windows.h>
29941 rm -f conftest.$ac_objext
29942 if { (ac_try="$ac_compile"
29943 case "(($ac_try" in
29944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29945 *) ac_try_echo=$ac_try;;
29947 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29948 (eval "$ac_compile") 2>conftest.er1
29950 grep -v '^ *+' conftest.er1 >conftest.err
29952 cat conftest.err >&5
29953 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29954 (exit $ac_status); } && {
29955 test -z "$ac_c_werror_flag" ||
29956 test ! -s conftest.err
29957 } && test -s conftest.$ac_objext; then
29958 ac_cv_header_windows_h=yes
29960 echo "$as_me: failed program was
:" >&5
29961 sed 's/^/| /' conftest.$ac_ext >&5
29963 ac_cv_header_windows_h=no
29966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29968 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
29969 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29970 if test $ac_cv_header_windows_h = yes; then
29974 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
29975 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
29976 { (exit 1); exit 1; }; }
29982 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29984 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29985 LIBS="$LIBS -loleacc"
29990 LIBS="$LIBS -lkernel32 -luser32"
29993 if test "$wxUSE_ODBC" = "sys
" ; then
29996 if test "$wxUSE_ODBC" = "yes" ; then
29997 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
29998 cat >>confdefs.h <<\_ACEOF
29999 #define wxUSE_ODBC 1
30004 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30005 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
30007 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30009 WIN32INSTALL=win32install
30011 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
30012 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
30013 if test "${ac_cv_header_pbt_h+set}" = set; then
30014 echo $ECHO_N "(cached
) $ECHO_C" >&6
30016 cat >conftest.$ac_ext <<_ACEOF
30019 cat confdefs.h >>conftest.$ac_ext
30020 cat >>conftest.$ac_ext <<_ACEOF
30021 /* end confdefs.h. */
30026 rm -f conftest.$ac_objext
30027 if { (ac_try="$ac_compile"
30028 case "(($ac_try" in
30029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30030 *) ac_try_echo=$ac_try;;
30032 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30033 (eval "$ac_compile") 2>conftest.er1
30035 grep -v '^ *+' conftest.er1 >conftest.err
30037 cat conftest.err >&5
30038 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30039 (exit $ac_status); } && {
30040 test -z "$ac_c_werror_flag" ||
30041 test ! -s conftest.err
30042 } && test -s conftest.$ac_objext; then
30043 ac_cv_header_pbt_h=yes
30045 echo "$as_me: failed program was
:" >&5
30046 sed 's/^/| /' conftest.$ac_ext >&5
30048 ac_cv_header_pbt_h=no
30051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30053 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
30054 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30055 if test $ac_cv_header_pbt_h = yes; then
30058 cat >>confdefs.h <<\_ACEOF
30059 #define NEED_PBT_H 1
30067 if test "$wxUSE_GUI" = "yes"; then
30077 if test "$wxUSE_COCOA" = 1 ; then
30078 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30079 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
30080 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
30081 wxUSE_PRINTING_ARCHITECTURE=no
30083 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30084 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
30085 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
30086 wxUSE_DRAG_AND_DROP=no
30088 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30089 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
30090 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
30095 if test "$wxUSE_MSW" = 1 ; then
30101 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
30105 if test "$wxUSE_GTK" = 1; then
30106 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
30107 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
30109 gtk_version_cached=1
30110 if test "${wx_cv_lib_gtk+set}" = set; then
30111 echo $ECHO_N "(cached
) $ECHO_C" >&6
30114 gtk_version_cached=0
30115 { echo "$as_me:$LINENO: result
: " >&5
30116 echo "${ECHO_T}" >&6; }
30119 if test "$wxUSE_THREADS" = "yes"; then
30120 GTK_MODULES=gthread
30124 if test "x
$wxGTK_VERSION" != "x1
"
30128 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30133 # Check whether --enable-gtktest was given.
30134 if test "${enable_gtktest+set}" = set; then
30135 enableval=$enable_gtktest;
30141 pkg_config_args=gtk+-2.0
30142 for module in . $GTK_MODULES
30146 pkg_config_args="$pkg_config_args gthread
-2.0
"
30153 # Extract the first word of "pkg
-config", so it can be a program name with args.
30154 set dummy pkg-config; ac_word=$2
30155 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30156 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30157 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30158 echo $ECHO_N "(cached
) $ECHO_C" >&6
30160 case $PKG_CONFIG in
30162 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30166 for as_dir in $PATH
30169 test -z "$as_dir" && as_dir=.
30170 for ac_exec_ext in '' $ac_executable_extensions; do
30171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30172 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30173 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30180 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
30184 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30185 if test -n "$PKG_CONFIG"; then
30186 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
30187 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30189 { echo "$as_me:$LINENO: result
: no
" >&5
30190 echo "${ECHO_T}no
" >&6; }
30195 if test x$PKG_CONFIG != xno ; then
30196 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30199 echo "*** pkg
-config too old
; version
0.7 or better required.
"
30207 min_gtk_version=2.0.0
30208 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
30209 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
30211 if test x$PKG_CONFIG != xno ; then
30212 ## don't try to run the test against uninstalled libtool libs
30213 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30214 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
30218 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30225 if test x"$no_gtk" = x ; then
30226 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30227 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30228 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30229 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30230 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30231 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30232 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30233 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30234 if test "x
$enable_gtktest" = "xyes
" ; then
30235 ac_save_CFLAGS="$CFLAGS"
30236 ac_save_LIBS="$LIBS"
30237 CFLAGS="$CFLAGS $GTK_CFLAGS"
30238 LIBS="$GTK_LIBS $LIBS"
30240 if test "$cross_compiling" = yes; then
30241 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30243 cat >conftest.$ac_ext <<_ACEOF
30246 cat confdefs.h >>conftest.$ac_ext
30247 cat >>conftest.$ac_ext <<_ACEOF
30248 /* end confdefs.h. */
30250 #include <gtk/gtk.h>
30252 #include <stdlib.h>
30257 int major, minor, micro;
30260 system ("touch conf.gtktest
");
30262 /* HP/UX 9 (%@#!) writes to sscanf strings */
30263 tmp_version = g_strdup("$min_gtk_version");
30264 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30265 printf("%s
, bad version string
\n", "$min_gtk_version");
30269 if ((gtk_major_version != $gtk_config_major_version) ||
30270 (gtk_minor_version != $gtk_config_minor_version) ||
30271 (gtk_micro_version != $gtk_config_micro_version))
30273 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30274 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30275 gtk_major_version, gtk_minor_version, gtk_micro_version);
30276 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
30277 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30278 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30279 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30280 printf("*** required on your system.
\n");
30281 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
30282 printf("*** to point to the correct configuration files
\n");
30284 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30285 (gtk_minor_version != GTK_MINOR_VERSION) ||
30286 (gtk_micro_version != GTK_MICRO_VERSION))
30288 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30289 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30290 printf("*** library
(version
%d.
%d.
%d
)\n",
30291 gtk_major_version, gtk_minor_version, gtk_micro_version);
30295 if ((gtk_major_version > major) ||
30296 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30297 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30303 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30304 gtk_major_version, gtk_minor_version, gtk_micro_version);
30305 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30306 major, minor, micro);
30307 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30309 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30310 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
30311 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30312 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
30313 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
30314 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30315 printf("*** so that the correct libraries are found
at run
-time))\n");
30322 rm -f conftest$ac_exeext
30323 if { (ac_try="$ac_link"
30324 case "(($ac_try" in
30325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30326 *) ac_try_echo=$ac_try;;
30328 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30329 (eval "$ac_link") 2>&5
30331 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30332 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30333 { (case "(($ac_try" in
30334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30335 *) ac_try_echo=$ac_try;;
30337 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30338 (eval "$ac_try") 2>&5
30340 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30341 (exit $ac_status); }; }; then
30344 echo "$as_me: program exited with status
$ac_status" >&5
30345 echo "$as_me: failed program was
:" >&5
30346 sed 's/^/| /' conftest.$ac_ext >&5
30348 ( exit $ac_status )
30351 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30355 CFLAGS="$ac_save_CFLAGS"
30356 LIBS="$ac_save_LIBS"
30359 if test "x
$no_gtk" = x ; then
30360 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
30361 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
30364 { echo "$as_me:$LINENO: result
: no
" >&5
30365 echo "${ECHO_T}no
" >&6; }
30366 if test "$PKG_CONFIG" = "no
" ; then
30367 echo "*** A new enough version of pkg
-config was not found.
"
30368 echo "*** See http
://pkgconfig.sourceforge.net
"
30370 if test -f conf.gtktest ; then
30373 echo "*** Could not run GTK
+ test program
, checking why...
"
30374 ac_save_CFLAGS="$CFLAGS"
30375 ac_save_LIBS="$LIBS"
30376 CFLAGS="$CFLAGS $GTK_CFLAGS"
30377 LIBS="$LIBS $GTK_LIBS"
30378 cat >conftest.$ac_ext <<_ACEOF
30381 cat confdefs.h >>conftest.$ac_ext
30382 cat >>conftest.$ac_ext <<_ACEOF
30383 /* end confdefs.h. */
30385 #include <gtk/gtk.h>
30391 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30396 rm -f conftest.$ac_objext conftest$ac_exeext
30397 if { (ac_try="$ac_link"
30398 case "(($ac_try" in
30399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30400 *) ac_try_echo=$ac_try;;
30402 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30403 (eval "$ac_link") 2>conftest.er1
30405 grep -v '^ *+' conftest.er1 >conftest.err
30407 cat conftest.err >&5
30408 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30409 (exit $ac_status); } && {
30410 test -z "$ac_c_werror_flag" ||
30411 test ! -s conftest.err
30412 } && test -s conftest$ac_exeext &&
30413 $as_test_x conftest$ac_exeext; then
30414 echo "*** The
test program compiled
, but did not run. This usually means
"
30415 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
30416 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
30417 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30418 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30419 echo "*** is required on your system"
30421 echo "*** If you have an old version installed, it is best to remove it, although"
30422 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30424 echo "$as_me: failed program was:" >&5
30425 sed 's
/^
/| /' conftest.$ac_ext >&5
30427 echo "*** The test program failed to compile or link. See the file config.log for the"
30428 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30432 conftest$ac_exeext conftest.$ac_ext
30433 CFLAGS="$ac_save_CFLAGS"
30434 LIBS="$ac_save_LIBS"
30448 if test "$wxUSE_SHARED" != "yes"; then
30449 GTK_LIBS="$GTK_LIBS -lX11"
30454 if test -z "$wx_cv_lib_gtk"; then
30455 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30457 # Check whether --with-gtk-prefix was given.
30458 if test "${with_gtk_prefix+set}" = set; then
30459 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30461 gtk_config_prefix=""
30465 # Check whether --with-gtk-exec-prefix was given.
30466 if test "${with_gtk_exec_prefix+set}" = set; then
30467 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30469 gtk_config_exec_prefix=""
30472 # Check whether --enable-gtktest was given.
30473 if test "${enable_gtktest+set}" = set; then
30474 enableval=$enable_gtktest;
30480 for module in . $GTK_MODULES
30484 gtk_config_args="$gtk_config_args gthread"
30489 if test x$gtk_config_exec_prefix != x ; then
30490 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30491 if test x${GTK_CONFIG+set} != xset ; then
30492 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30495 if test x$gtk_config_prefix != x ; then
30496 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30497 if test x${GTK_CONFIG+set} != xset ; then
30498 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30502 # Extract the first word of "gtk-config", so it can be a program name with args.
30503 set dummy gtk-config; ac_word=$2
30504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30506 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30507 echo $ECHO_N "(cached) $ECHO_C" >&6
30509 case $GTK_CONFIG in
30511 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30515 for as_dir in $PATH
30518 test -z "$as_dir" && as_dir=.
30519 for ac_exec_ext in '' $ac_executable_extensions; do
30520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30521 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30529 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30533 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30534 if test -n "$GTK_CONFIG"; then
30535 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30536 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30538 { echo "$as_me:$LINENO: result: no" >&5
30539 echo "${ECHO_T}no" >&6; }
30543 min_gtk_version=1.2.7
30544 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30545 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30547 if test "$GTK_CONFIG" = "no" ; then
30550 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30551 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30552 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30553 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
30554 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30555 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
30556 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30557 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
30558 if test "x$enable_gtktest" = "xyes" ; then
30559 ac_save_CFLAGS="$CFLAGS"
30560 ac_save_LIBS="$LIBS"
30561 CFLAGS="$CFLAGS $GTK_CFLAGS"
30562 LIBS="$GTK_LIBS $LIBS"
30564 if test "$cross_compiling" = yes; then
30565 echo $ac_n "cross compiling; assumed OK... $ac_c"
30567 cat >conftest.$ac_ext <<_ACEOF
30570 cat confdefs.h >>conftest.$ac_ext
30571 cat >>conftest.$ac_ext <<_ACEOF
30572 /* end confdefs.h. */
30574 #include <gtk/gtk.h>
30576 #include <stdlib.h>
30581 int major, minor, micro;
30584 system ("touch conf.gtktest");
30586 /* HP/UX 9 (%@#!) writes to sscanf strings */
30587 tmp_version = g_strdup("$min_gtk_version");
30588 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30589 printf("%s, bad version string\n", "$min_gtk_version");
30593 if ((gtk_major_version != $gtk_config_major_version) ||
30594 (gtk_minor_version != $gtk_config_minor_version) ||
30595 (gtk_micro_version != $gtk_config_micro_version))
30597 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30598 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30599 gtk_major_version, gtk_minor_version, gtk_micro_version);
30600 printf ("*** was found! If gtk-config was correct, then it is best\n");
30601 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30602 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30603 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30604 printf("*** required on your system.\n");
30605 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30606 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30607 printf("*** before re-running configure\n");
30609 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30610 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30611 (gtk_minor_version != GTK_MINOR_VERSION) ||
30612 (gtk_micro_version != GTK_MICRO_VERSION))
30614 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30615 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30616 printf("*** library (version %d.%d.%d)\n",
30617 gtk_major_version, gtk_minor_version, gtk_micro_version);
30619 #endif /* defined (GTK_MAJOR_VERSION) ... */
30622 if ((gtk_major_version > major) ||
30623 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30624 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30630 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30631 gtk_major_version, gtk_minor_version, gtk_micro_version);
30632 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30633 major, minor, micro);
30634 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30636 printf("*** If you have already installed a sufficiently new version, this error\n");
30637 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30638 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30639 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30640 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30641 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30642 printf("*** so that the correct libraries are found at run-time))\n");
30649 rm -f conftest$ac_exeext
30650 if { (ac_try="$ac_link"
30651 case "(($ac_try" in
30652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30653 *) ac_try_echo=$ac_try;;
30655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30656 (eval "$ac_link") 2>&5
30658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30659 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
30660 { (case "(($ac_try" in
30661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30662 *) ac_try_echo=$ac_try;;
30664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30665 (eval "$ac_try") 2>&5
30667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30668 (exit $ac_status); }; }; then
30671 echo "$as_me: program exited with status $ac_status" >&5
30672 echo "$as_me: failed program was:" >&5
30673 sed 's
/^
/| /' conftest.$ac_ext >&5
30675 ( exit $ac_status )
30678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30682 CFLAGS="$ac_save_CFLAGS"
30683 LIBS="$ac_save_LIBS"
30686 if test "x$no_gtk" = x ; then
30687 { echo "$as_me:$LINENO: result: yes" >&5
30688 echo "${ECHO_T}yes" >&6; }
30689 wx_cv_lib_gtk=1.2.7
30691 { echo "$as_me:$LINENO: result: no" >&5
30692 echo "${ECHO_T}no" >&6; }
30693 if test "$GTK_CONFIG" = "no" ; then
30694 echo "*** The gtk-config script installed by GTK could not be found"
30695 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30696 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30697 echo "*** full path to gtk-config."
30699 if test -f conf.gtktest ; then
30702 echo "*** Could not run GTK test program, checking why..."
30703 CFLAGS="$CFLAGS $GTK_CFLAGS"
30704 LIBS="$LIBS $GTK_LIBS"
30705 cat >conftest.$ac_ext <<_ACEOF
30708 cat confdefs.h >>conftest.$ac_ext
30709 cat >>conftest.$ac_ext <<_ACEOF
30710 /* end confdefs.h. */
30712 #include <gtk/gtk.h>
30718 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30723 rm -f conftest.$ac_objext conftest$ac_exeext
30724 if { (ac_try="$ac_link"
30725 case "(($ac_try" in
30726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30727 *) ac_try_echo=$ac_try;;
30729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30730 (eval "$ac_link") 2>conftest.er1
30732 grep -v '^
*+' conftest.er1 >conftest.err
30734 cat conftest.err >&5
30735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30736 (exit $ac_status); } && {
30737 test -z "$ac_c_werror_flag" ||
30738 test ! -s conftest.err
30739 } && test -s conftest$ac_exeext &&
30740 $as_test_x conftest$ac_exeext; then
30741 echo "*** The test program compiled, but did not run. This usually means"
30742 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30743 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
30744 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
30745 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
30746 echo "*** is required on your system
"
30748 echo "*** If you have an old version installed
, it is best to remove it
, although
"
30749 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
30751 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
30752 echo "*** came with the system with the
command"
30754 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
30756 echo "$as_me: failed program was
:" >&5
30757 sed 's/^/| /' conftest.$ac_ext >&5
30759 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
30760 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
30761 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
30762 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
30765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30766 conftest$ac_exeext conftest.$ac_ext
30767 CFLAGS="$ac_save_CFLAGS"
30768 LIBS="$ac_save_LIBS"
30780 if test -z "$wx_cv_lib_gtk"; then
30782 # Check whether --with-gtk-prefix was given.
30783 if test "${with_gtk_prefix+set}" = set; then
30784 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30786 gtk_config_prefix=""
30790 # Check whether --with-gtk-exec-prefix was given.
30791 if test "${with_gtk_exec_prefix+set}" = set; then
30792 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30794 gtk_config_exec_prefix=""
30797 # Check whether --enable-gtktest was given.
30798 if test "${enable_gtktest+set}" = set; then
30799 enableval=$enable_gtktest;
30805 for module in . $GTK_MODULES
30809 gtk_config_args="$gtk_config_args gthread
"
30814 if test x$gtk_config_exec_prefix != x ; then
30815 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30816 if test x${GTK_CONFIG+set} != xset ; then
30817 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30820 if test x$gtk_config_prefix != x ; then
30821 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30822 if test x${GTK_CONFIG+set} != xset ; then
30823 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30827 # Extract the first word of "gtk
-config", so it can be a program name with args.
30828 set dummy gtk-config; ac_word=$2
30829 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30830 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30831 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30832 echo $ECHO_N "(cached
) $ECHO_C" >&6
30834 case $GTK_CONFIG in
30836 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30840 for as_dir in $PATH
30843 test -z "$as_dir" && as_dir=.
30844 for ac_exec_ext in '' $ac_executable_extensions; do
30845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30846 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30847 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30854 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
30858 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30859 if test -n "$GTK_CONFIG"; then
30860 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
30861 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30863 { echo "$as_me:$LINENO: result
: no
" >&5
30864 echo "${ECHO_T}no
" >&6; }
30868 min_gtk_version=1.2.3
30869 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
30870 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
30872 if test "$GTK_CONFIG" = "no
" ; then
30875 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30876 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30877 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30878 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30879 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30880 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30881 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30882 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30883 if test "x
$enable_gtktest" = "xyes
" ; then
30884 ac_save_CFLAGS="$CFLAGS"
30885 ac_save_LIBS="$LIBS"
30886 CFLAGS="$CFLAGS $GTK_CFLAGS"
30887 LIBS="$GTK_LIBS $LIBS"
30889 if test "$cross_compiling" = yes; then
30890 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30892 cat >conftest.$ac_ext <<_ACEOF
30895 cat confdefs.h >>conftest.$ac_ext
30896 cat >>conftest.$ac_ext <<_ACEOF
30897 /* end confdefs.h. */
30899 #include <gtk/gtk.h>
30901 #include <stdlib.h>
30906 int major, minor, micro;
30909 system ("touch conf.gtktest
");
30911 /* HP/UX 9 (%@#!) writes to sscanf strings */
30912 tmp_version = g_strdup("$min_gtk_version");
30913 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30914 printf("%s
, bad version string
\n", "$min_gtk_version");
30918 if ((gtk_major_version != $gtk_config_major_version) ||
30919 (gtk_minor_version != $gtk_config_minor_version) ||
30920 (gtk_micro_version != $gtk_config_micro_version))
30922 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30923 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30924 gtk_major_version, gtk_minor_version, gtk_micro_version);
30925 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
30926 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30927 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30928 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30929 printf("*** required on your system.
\n");
30930 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
30931 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
30932 printf("*** before re
-running configure
\n");
30934 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30935 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30936 (gtk_minor_version != GTK_MINOR_VERSION) ||
30937 (gtk_micro_version != GTK_MICRO_VERSION))
30939 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30940 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30941 printf("*** library
(version
%d.
%d.
%d
)\n",
30942 gtk_major_version, gtk_minor_version, gtk_micro_version);
30944 #endif /* defined (GTK_MAJOR_VERSION) ... */
30947 if ((gtk_major_version > major) ||
30948 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30949 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30955 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30956 gtk_major_version, gtk_minor_version, gtk_micro_version);
30957 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30958 major, minor, micro);
30959 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30961 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30962 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
30963 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30964 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
30965 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
30966 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30967 printf("*** so that the correct libraries are found
at run
-time))\n");
30974 rm -f conftest$ac_exeext
30975 if { (ac_try="$ac_link"
30976 case "(($ac_try" in
30977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30978 *) ac_try_echo=$ac_try;;
30980 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30981 (eval "$ac_link") 2>&5
30983 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30984 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30985 { (case "(($ac_try" in
30986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30987 *) ac_try_echo=$ac_try;;
30989 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30990 (eval "$ac_try") 2>&5
30992 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30993 (exit $ac_status); }; }; then
30996 echo "$as_me: program exited with status
$ac_status" >&5
30997 echo "$as_me: failed program was
:" >&5
30998 sed 's/^/| /' conftest.$ac_ext >&5
31000 ( exit $ac_status )
31003 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31007 CFLAGS="$ac_save_CFLAGS"
31008 LIBS="$ac_save_LIBS"
31011 if test "x
$no_gtk" = x ; then
31012 { echo "$as_me:$LINENO: result
: yes" >&5
31013 echo "${ECHO_T}yes" >&6; }
31014 wx_cv_lib_gtk=1.2.3
31016 { echo "$as_me:$LINENO: result
: no
" >&5
31017 echo "${ECHO_T}no
" >&6; }
31018 if test "$GTK_CONFIG" = "no
" ; then
31019 echo "*** The gtk
-config script installed by GTK could not be found
"
31020 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
31021 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
31022 echo "*** full path to gtk
-config.
"
31024 if test -f conf.gtktest ; then
31027 echo "*** Could not run GTK
test program
, checking why...
"
31028 CFLAGS="$CFLAGS $GTK_CFLAGS"
31029 LIBS="$LIBS $GTK_LIBS"
31030 cat >conftest.$ac_ext <<_ACEOF
31033 cat confdefs.h >>conftest.$ac_ext
31034 cat >>conftest.$ac_ext <<_ACEOF
31035 /* end confdefs.h. */
31037 #include <gtk/gtk.h>
31043 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31048 rm -f conftest.$ac_objext conftest$ac_exeext
31049 if { (ac_try="$ac_link"
31050 case "(($ac_try" in
31051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31052 *) ac_try_echo=$ac_try;;
31054 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31055 (eval "$ac_link") 2>conftest.er1
31057 grep -v '^ *+' conftest.er1 >conftest.err
31059 cat conftest.err >&5
31060 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31061 (exit $ac_status); } && {
31062 test -z "$ac_c_werror_flag" ||
31063 test ! -s conftest.err
31064 } && test -s conftest$ac_exeext &&
31065 $as_test_x conftest$ac_exeext; then
31066 echo "*** The
test program compiled
, but did not run. This usually means
"
31067 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
31068 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
31069 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31070 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31071 echo "*** is required on your system"
31073 echo "*** If you have an old version installed, it is best to remove it, although"
31074 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31076 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31077 echo "*** came with the system with the command"
31079 echo "*** rpm --erase --nodeps gtk gtk-devel"
31081 echo "$as_me: failed program was:" >&5
31082 sed 's
/^
/| /' conftest.$ac_ext >&5
31084 echo "*** The test program failed to compile or link. See the file config.log for the"
31085 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31086 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31087 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31091 conftest$ac_exeext conftest.$ac_ext
31092 CFLAGS="$ac_save_CFLAGS"
31093 LIBS="$ac_save_LIBS"
31108 if test -z "$wx_cv_lib_gtk"; then
31111 wx_cv_cflags_gtk=$GTK_CFLAGS
31112 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
31119 if test "$gtk_version_cached" = 1; then
31120 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31121 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31124 case "$wx_cv_lib_gtk" in
31133 *) { { echo "$as_me:$LINENO: error:
31134 The development files for GTK+ were not found. For GTK+ 2, please
31135 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31136 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31137 and that the version is 1.2.3 or above. Also check that the
31138 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31139 --libs' are in the LD_LIBRARY_PATH or equivalent.
31141 echo "$as_me: error:
31142 The development files for GTK+ were not found. For GTK+ 2, please
31143 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31144 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31145 and that the version is 1.2.3 or above. Also check that the
31146 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31147 --libs' are in the LD_LIBRARY_PATH or equivalent.
31149 { (exit 1); exit 1; }; }
31153 if test "$WXGTK20" = 1; then
31154 save_CFLAGS="$CFLAGS"
31156 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31157 LIBS="$LIBS $wx_cv_libs_gtk"
31159 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31160 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31161 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31162 echo $ECHO_N "(cached) $ECHO_C" >&6
31164 cat >conftest.$ac_ext <<_ACEOF
31167 cat confdefs.h >>conftest.$ac_ext
31168 cat >>conftest.$ac_ext <<_ACEOF
31169 /* end confdefs.h. */
31170 #include <gtk/gtk.h>
31175 #ifndef gtk_icon_size_lookup
31176 (void) gtk_icon_size_lookup;
31183 rm -f conftest.$ac_objext
31184 if { (ac_try="$ac_compile"
31185 case "(($ac_try" in
31186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31187 *) ac_try_echo=$ac_try;;
31189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31190 (eval "$ac_compile") 2>conftest.er1
31192 grep -v '^
*+' conftest.er1 >conftest.err
31194 cat conftest.err >&5
31195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31196 (exit $ac_status); } && {
31197 test -z "$ac_c_werror_flag" ||
31198 test ! -s conftest.err
31199 } && test -s conftest.$ac_objext; then
31200 ac_cv_have_decl_gtk_icon_size_lookup=yes
31202 echo "$as_me: failed program was:" >&5
31203 sed 's
/^
/| /' conftest.$ac_ext >&5
31205 ac_cv_have_decl_gtk_icon_size_lookup=no
31208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31210 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31211 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31212 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31214 cat >>confdefs.h <<_ACEOF
31215 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31220 cat >>confdefs.h <<_ACEOF
31221 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31224 cat >>confdefs.h <<\_ACEOF
31225 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31233 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31234 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31235 cat >conftest.$ac_ext <<_ACEOF
31238 cat confdefs.h >>conftest.$ac_ext
31239 cat >>conftest.$ac_ext <<_ACEOF
31240 /* end confdefs.h. */
31242 #include <gtk/gtk.h>
31248 #if !GTK_CHECK_VERSION(2,10,0)
31256 rm -f conftest.$ac_objext
31257 if { (ac_try="$ac_compile"
31258 case "(($ac_try" in
31259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31260 *) ac_try_echo=$ac_try;;
31262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31263 (eval "$ac_compile") 2>conftest.er1
31265 grep -v '^
*+' conftest.er1 >conftest.err
31267 cat conftest.err >&5
31268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31269 (exit $ac_status); } && {
31270 test -z "$ac_c_werror_flag" ||
31271 test ! -s conftest.err
31272 } && test -s conftest.$ac_objext; then
31274 cat >>confdefs.h <<\_ACEOF
31275 #define __WXGTK210__ 1
31278 cat >>confdefs.h <<\_ACEOF
31279 #define __WXGTK26__ 1
31282 cat >>confdefs.h <<\_ACEOF
31283 #define __WXGTK24__ 1
31286 { echo "$as_me:$LINENO: result: yes" >&5
31287 echo "${ECHO_T}yes" >&6; }
31291 echo "$as_me: failed program was:" >&5
31292 sed 's
/^
/| /' conftest.$ac_ext >&5
31295 { echo "$as_me:$LINENO: result: no" >&5
31296 echo "${ECHO_T}no" >&6; }
31301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31303 if test "$ac_wxgtk210" = 0; then
31304 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31305 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31306 cat >conftest.$ac_ext <<_ACEOF
31309 cat confdefs.h >>conftest.$ac_ext
31310 cat >>conftest.$ac_ext <<_ACEOF
31311 /* end confdefs.h. */
31313 #include <gtk/gtk.h>
31319 #if !GTK_CHECK_VERSION(2,6,0)
31327 rm -f conftest.$ac_objext
31328 if { (ac_try="$ac_compile"
31329 case "(($ac_try" in
31330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31331 *) ac_try_echo=$ac_try;;
31333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31334 (eval "$ac_compile") 2>conftest.er1
31336 grep -v '^
*+' conftest.er1 >conftest.err
31338 cat conftest.err >&5
31339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31340 (exit $ac_status); } && {
31341 test -z "$ac_c_werror_flag" ||
31342 test ! -s conftest.err
31343 } && test -s conftest.$ac_objext; then
31345 cat >>confdefs.h <<\_ACEOF
31346 #define __WXGTK26__ 1
31349 cat >>confdefs.h <<\_ACEOF
31350 #define __WXGTK24__ 1
31353 { echo "$as_me:$LINENO: result: yes" >&5
31354 echo "${ECHO_T}yes" >&6; }
31358 echo "$as_me: failed program was:" >&5
31359 sed 's
/^
/| /' conftest.$ac_ext >&5
31362 { echo "$as_me:$LINENO: result: no" >&5
31363 echo "${ECHO_T}no" >&6; }
31368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31371 if test "$ac_wxgtk26" = 0; then
31372 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31373 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31374 cat >conftest.$ac_ext <<_ACEOF
31377 cat confdefs.h >>conftest.$ac_ext
31378 cat >>conftest.$ac_ext <<_ACEOF
31379 /* end confdefs.h. */
31381 #include <gtk/gtk.h>
31387 #if !GTK_CHECK_VERSION(2,4,0)
31395 rm -f conftest.$ac_objext
31396 if { (ac_try="$ac_compile"
31397 case "(($ac_try" in
31398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31399 *) ac_try_echo=$ac_try;;
31401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31402 (eval "$ac_compile") 2>conftest.er1
31404 grep -v '^
*+' conftest.er1 >conftest.err
31406 cat conftest.err >&5
31407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31408 (exit $ac_status); } && {
31409 test -z "$ac_c_werror_flag" ||
31410 test ! -s conftest.err
31411 } && test -s conftest.$ac_objext; then
31413 cat >>confdefs.h <<\_ACEOF
31414 #define __WXGTK24__ 1
31417 { echo "$as_me:$LINENO: result: yes" >&5
31418 echo "${ECHO_T}yes" >&6; }
31421 echo "$as_me: failed program was:" >&5
31422 sed 's
/^
/| /' conftest.$ac_ext >&5
31425 { echo "$as_me:$LINENO: result: no" >&5
31426 echo "${ECHO_T}no" >&6; }
31430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31433 CFLAGS="$save_CFLAGS"
31436 if test "$wxUSE_UNICODE" = "yes"; then
31437 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31438 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31442 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31443 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31444 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31445 echo $ECHO_N "(cached) $ECHO_C" >&6
31447 ac_check_lib_save_LIBS=$LIBS
31449 cat >conftest.$ac_ext <<_ACEOF
31452 cat confdefs.h >>conftest.$ac_ext
31453 cat >>conftest.$ac_ext <<_ACEOF
31454 /* end confdefs.h. */
31456 /* Override any GCC internal prototype to avoid an error.
31457 Use char because int might match the return type of a GCC
31458 builtin and then its argument prototype would still apply. */
31462 char gdk_im_open ();
31466 return gdk_im_open ();
31471 rm -f conftest.$ac_objext conftest$ac_exeext
31472 if { (ac_try="$ac_link"
31473 case "(($ac_try" in
31474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31475 *) ac_try_echo=$ac_try;;
31477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31478 (eval "$ac_link") 2>conftest.er1
31480 grep -v '^
*+' conftest.er1 >conftest.err
31482 cat conftest.err >&5
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); } && {
31485 test -z "$ac_c_werror_flag" ||
31486 test ! -s conftest.err
31487 } && test -s conftest$ac_exeext &&
31488 $as_test_x conftest$ac_exeext; then
31489 ac_cv_lib_gdk_gdk_im_open=yes
31491 echo "$as_me: failed program was:" >&5
31492 sed 's
/^
/| /' conftest.$ac_ext >&5
31494 ac_cv_lib_gdk_gdk_im_open=no
31497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31498 conftest$ac_exeext conftest.$ac_ext
31499 LIBS=$ac_check_lib_save_LIBS
31501 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31502 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31503 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31504 cat >>confdefs.h <<\_ACEOF
31511 if test "$USE_DARWIN" != 1; then
31513 for ac_func in poll
31515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31516 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31518 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31519 echo $ECHO_N "(cached) $ECHO_C" >&6
31521 cat >conftest.$ac_ext <<_ACEOF
31524 cat confdefs.h >>conftest.$ac_ext
31525 cat >>conftest.$ac_ext <<_ACEOF
31526 /* end confdefs.h. */
31527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31529 #define $ac_func innocuous_$ac_func
31531 /* System header to define __stub macros and hopefully few prototypes,
31532 which can conflict with char $ac_func (); below.
31533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31534 <limits.h> exists even on freestanding compilers. */
31537 # include <limits.h>
31539 # include <assert.h>
31544 /* Override any GCC internal prototype to avoid an error.
31545 Use char because int might match the return type of a GCC
31546 builtin and then its argument prototype would still apply. */
31551 /* The GNU C library defines this for functions which it implements
31552 to always fail with ENOSYS. Some functions are actually named
31553 something starting with __ and the normal name is an alias. */
31554 #if defined __stub_$ac_func || defined __stub___$ac_func
31561 return $ac_func ();
31566 rm -f conftest.$ac_objext conftest$ac_exeext
31567 if { (ac_try="$ac_link"
31568 case "(($ac_try" in
31569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31570 *) ac_try_echo=$ac_try;;
31572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31573 (eval "$ac_link") 2>conftest.er1
31575 grep -v '^
*+' conftest.er1 >conftest.err
31577 cat conftest.err >&5
31578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31579 (exit $ac_status); } && {
31580 test -z "$ac_c_werror_flag" ||
31581 test ! -s conftest.err
31582 } && test -s conftest$ac_exeext &&
31583 $as_test_x conftest$ac_exeext; then
31584 eval "$as_ac_var=yes"
31586 echo "$as_me: failed program was:" >&5
31587 sed 's
/^
/| /' conftest.$ac_ext >&5
31589 eval "$as_ac_var=no"
31592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31593 conftest$ac_exeext conftest.$ac_ext
31595 ac_res=`eval echo '${'$as_ac_var'}'`
31596 { echo "$as_me:$LINENO: result: $ac_res" >&5
31597 echo "${ECHO_T}$ac_res" >&6; }
31598 if test `eval echo '${'$as_ac_var'}'` = yes; then
31599 cat >>confdefs.h <<_ACEOF
31600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31609 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31610 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31612 AFMINSTALL=afminstall
31616 if test "$wxUSE_GPE" = "yes"; then
31617 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31618 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31621 for ac_dir in $SEARCH_LIB;
31623 for ac_extension in a so sl dylib dll.a; do
31624 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31625 ac_find_libraries=$ac_dir
31631 if test "$ac_find_libraries" != "" ; then
31633 if test "$ac_find_libraries" = "default location"; then
31636 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31638 if test $result = 0; then
31641 ac_path_to_link=" -L$ac_find_libraries"
31645 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31647 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31648 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31650 { echo "$as_me:$LINENO: result: not found" >&5
31651 echo "${ECHO_T}not found" >&6; }
31657 if test "$wxUSE_MGL" = 1; then
31658 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31659 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31660 if test "x$MGL_ROOT" = x ; then
31661 { echo "$as_me:$LINENO: result: not found" >&5
31662 echo "${ECHO_T}not found" >&6; }
31663 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31664 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31665 { (exit 1); exit 1; }; }
31667 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31668 echo "${ECHO_T}$MGL_ROOT" >&6; }
31671 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31672 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31675 if test "x$wxUSE_SHARED" = xyes ; then
31676 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31678 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31682 mgl_os_candidates="dos32/dj2"
31685 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31686 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31687 { (exit 1); exit 1; }; }
31693 for mgl_os_i in $mgl_os_candidates ; do
31694 if test "x$mgl_os" = x ; then
31695 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31696 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31697 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31702 if test "x$mgl_lib_type" = x ; then
31703 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31704 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31705 mgl_lib_type=release
31712 if test "x$mgl_os" = x ; then
31713 { echo "$as_me:$LINENO: result: not found" >&5
31714 echo "${ECHO_T}not found" >&6; }
31715 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31716 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31717 { (exit 1); exit 1; }; }
31719 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31720 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31722 wxUSE_UNIVERSAL="yes"
31724 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31725 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31727 AFMINSTALL=afminstall
31732 if test "$wxUSE_DFB" = 1; then
31735 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31736 if test -n "$ac_tool_prefix"; then
31737 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31738 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31739 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31741 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31742 echo $ECHO_N "(cached) $ECHO_C" >&6
31744 case $PKG_CONFIG in
31746 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31750 for as_dir in $PATH
31753 test -z "$as_dir" && as_dir=.
31754 for ac_exec_ext in '' $ac_executable_extensions; do
31755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31756 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31767 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31768 if test -n "$PKG_CONFIG"; then
31769 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31770 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31772 { echo "$as_me:$LINENO: result: no" >&5
31773 echo "${ECHO_T}no" >&6; }
31778 if test -z "$ac_cv_path_PKG_CONFIG"; then
31779 ac_pt_PKG_CONFIG=$PKG_CONFIG
31780 # Extract the first word of "pkg-config", so it can be a program name with args.
31781 set dummy pkg-config; ac_word=$2
31782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31784 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31785 echo $ECHO_N "(cached) $ECHO_C" >&6
31787 case $ac_pt_PKG_CONFIG in
31789 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31793 for as_dir in $PATH
31796 test -z "$as_dir" && as_dir=.
31797 for ac_exec_ext in '' $ac_executable_extensions; do
31798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31799 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31810 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31811 if test -n "$ac_pt_PKG_CONFIG"; then
31812 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31813 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31815 { echo "$as_me:$LINENO: result: no" >&5
31816 echo "${ECHO_T}no" >&6; }
31819 if test "x$ac_pt_PKG_CONFIG" = x; then
31822 case $cross_compiling:$ac_tool_warned in
31824 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31825 whose name does not start with the host triplet. If you think this
31826 configuration is useful to you, please write to autoconf@gnu.org." >&5
31827 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31828 whose name does not start with the host triplet. If you think this
31829 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31830 ac_tool_warned=yes ;;
31832 PKG_CONFIG=$ac_pt_PKG_CONFIG
31835 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31839 if test -n "$PKG_CONFIG"; then
31840 _pkg_min_version=0.9.0
31841 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31842 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31843 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31844 { echo "$as_me:$LINENO: result: yes" >&5
31845 echo "${ECHO_T}yes" >&6; }
31847 { echo "$as_me:$LINENO: result: no" >&5
31848 echo "${ECHO_T}no" >&6; }
31856 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31857 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31859 if test -n "$PKG_CONFIG"; then
31860 if test -n "$DIRECTFB_CFLAGS"; then
31861 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31863 if test -n "$PKG_CONFIG" && \
31864 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31865 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31868 (exit $ac_status); }; then
31869 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31877 if test -n "$PKG_CONFIG"; then
31878 if test -n "$DIRECTFB_LIBS"; then
31879 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31881 if test -n "$PKG_CONFIG" && \
31882 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31883 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31886 (exit $ac_status); }; then
31887 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31898 if test $pkg_failed = yes; then
31900 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31901 _pkg_short_errors_supported=yes
31903 _pkg_short_errors_supported=no
31905 if test $_pkg_short_errors_supported = yes; then
31906 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31908 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31910 # Put the nasty error message in config.log where it belongs
31911 echo "$DIRECTFB_PKG_ERRORS" >&5
31914 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31915 echo "$as_me: error: DirectFB not found." >&2;}
31916 { (exit 1); exit 1; }; }
31919 elif test $pkg_failed = untried; then
31921 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31922 echo "$as_me: error: DirectFB not found." >&2;}
31923 { (exit 1); exit 1; }; }
31927 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31928 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31929 { echo "$as_me:$LINENO: result: yes" >&5
31930 echo "${ECHO_T}yes" >&6; }
31932 wxUSE_UNIVERSAL="yes"
31933 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31934 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31941 if test "$wxUSE_MICROWIN" = 1; then
31942 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31943 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31944 if test "x$MICROWINDOWS" = x ; then
31945 { echo "$as_me:$LINENO: result: not found" >&5
31946 echo "${ECHO_T}not found" >&6; }
31947 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31948 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31949 { (exit 1); exit 1; }; }
31951 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31952 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31955 if test -f $MICROWINDOWS/lib/libmwin.a; then
31956 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
31957 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
31959 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31960 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31961 { (exit 1); exit 1; }; }
31964 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31965 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31967 wxUSE_UNIVERSAL="yes"
31969 AFMINSTALL=afminstall
31971 GUIDIST=MICROWIN_DIST
31973 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31976 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31977 { echo "$as_me:$LINENO: checking for X" >&5
31978 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31981 # Check whether --with-x was given.
31982 if test "${with_x+set}" = set; then
31986 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
31987 if test "x$with_x" = xno; then
31988 # The user explicitly disabled X.
31991 case $x_includes,$x_libraries in #(
31992 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31993 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
31994 { (exit 1); exit 1; }; };; #(
31995 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31996 echo $ECHO_N "(cached) $ECHO_C" >&6
31998 # One or both of the vars are not set, and there is no cached value.
31999 ac_x_includes=no ac_x_libraries=no
32000 rm -f -r conftest.dir
32001 if mkdir conftest.dir; then
32003 cat >Imakefile <<'_ACEOF'
32005 @echo incroot='${INCROOT}'
32007 @echo usrlibdir='${USRLIBDIR}'
32009 @echo libdir='${LIBDIR}'
32011 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32012 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32013 for ac_var in incroot usrlibdir libdir; do
32014 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
32016 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32017 for ac_extension in a so sl; do
32018 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32019 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32020 ac_im_usrlibdir=$ac_im_libdir; break
32023 # Screen out bogus values from the imake configuration. They are
32024 # bogus both because they are the default anyway, and because
32025 # using them would break gcc on systems where it needs fixed includes.
32026 case $ac_im_incroot in
32027 /usr/include) ac_x_includes= ;;
32028 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32030 case $ac_im_usrlibdir in
32031 /usr/lib | /lib) ;;
32032 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32036 rm -f -r conftest.dir
32039 # Standard set of common directories for X headers.
32040 # Check X11 before X11Rn because it is often a symlink to the current release.
32052 /usr
/local
/X
11/include
32053 /usr
/local
/X
11R
6/include
32054 /usr
/local
/X
11R
5/include
32055 /usr
/local
/X
11R
4/include
32057 /usr
/local
/include
/X11
32058 /usr
/local
/include
/X11R6
32059 /usr
/local
/include
/X11R5
32060 /usr
/local
/include
/X11R4
32064 /usr
/XFree
86/include
/X11
32068 /usr
/unsupported
/include
32069 /usr
/athena
/include
32070 /usr
/local
/x
11r
5/include
32071 /usr
/lpp
/Xamples
/include
32073 /usr
/openwin
/include
32074 /usr
/openwin
/share
/include
'
32076 if test "$ac_x_includes" = no; then
32077 # Guess where to find include files, by looking for Xlib.h.
32078 # First, try using that file with no special directory specified.
32079 cat >conftest.$ac_ext <<_ACEOF
32082 cat confdefs.h >>conftest.$ac_ext
32083 cat >>conftest.$ac_ext <<_ACEOF
32084 /* end confdefs.h. */
32085 #include <X11/Xlib.h>
32087 if { (ac_try="$ac_cpp conftest.$ac_ext"
32088 case "(($ac_try" in
32089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32090 *) ac_try_echo=$ac_try;;
32092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32093 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32095 grep -v '^
*+' conftest.er1 >conftest.err
32097 cat conftest.err >&5
32098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32099 (exit $ac_status); } >/dev/null && {
32100 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32101 test ! -s conftest.err
32103 # We can compile using X headers with no special include directory.
32106 echo "$as_me: failed program was:" >&5
32107 sed 's
/^
/| /' conftest.$ac_ext >&5
32109 for ac_dir in $ac_x_header_dirs; do
32110 if test -r "$ac_dir/X11/Xlib.h"; then
32111 ac_x_includes=$ac_dir
32117 rm -f conftest.err conftest.$ac_ext
32118 fi # $ac_x_includes = no
32120 if test "$ac_x_libraries" = no; then
32121 # Check for the libraries.
32122 # See if we find them without any special options.
32123 # Don't add to
$LIBS permanently.
32126 cat >conftest.
$ac_ext <<_ACEOF
32129 cat confdefs.h
>>conftest.
$ac_ext
32130 cat >>conftest.
$ac_ext <<_ACEOF
32131 /* end confdefs.h. */
32132 #include <X11/Xlib.h>
32141 rm -f conftest.
$ac_objext conftest
$ac_exeext
32142 if { (ac_try
="$ac_link"
32143 case "(($ac_try" in
32144 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32145 *) ac_try_echo=$ac_try;;
32147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32148 (eval "$ac_link") 2>conftest.er1
32150 grep -v '^ *+' conftest.er1 >conftest.err
32152 cat conftest.err >&5
32153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32154 (exit $ac_status); } && {
32155 test -z "$ac_c_werror_flag" ||
32156 test ! -s conftest.err
32157 } && test -s conftest$ac_exeext &&
32158 $as_test_x conftest$ac_exeext; then
32160 # We can link X programs with no special library path.
32163 echo "$as_me: failed program was:" >&5
32164 sed 's/^/| /' conftest.$ac_ext >&5
32167 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
32169 # Don't even attempt the hair of trying to link an X program!
32170 for ac_extension in a so sl; do
32171 if test -r "$ac_dir/libX11.$ac_extension"; then
32172 ac_x_libraries=$ac_dir
32179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32180 conftest$ac_exeext conftest.$ac_ext
32181 fi # $ac_x_libraries = no
32183 case $ac_x_includes,$ac_x_libraries in #(
32184 no,* | *,no | *\'*)
32185 # Didn't find X, or a directory has "'" in its name.
32186 ac_cv_have_x="have_x=no";; #(
32188 # Record where we found X for the cache.
32189 ac_cv_have_x="have_x=yes\
32190 ac_x_includes='$ac_x_includes'\
32191 ac_x_libraries='$ac_x_libraries'"
32197 eval "$ac_cv_have_x"
32200 if test "$have_x" != yes; then
32201 { echo "$as_me:$LINENO: result: $have_x" >&5
32202 echo "${ECHO_T}$have_x" >&6; }
32205 # If each of the values was on the command line, it overrides each guess.
32206 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32207 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32208 # Update the cache value to reflect the command line values.
32209 ac_cv_have_x="have_x=yes\
32210 ac_x_includes='$x_includes'\
32211 ac_x_libraries='$x_libraries'"
32212 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32213 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32216 if test "$no_x" = yes; then
32217 # Not all programs may use this symbol, but it does not hurt to define it.
32219 cat >>confdefs.h <<\_ACEOF
32220 #define X_DISPLAY_MISSING 1
32223 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32225 if test -n "$x_includes"; then
32226 X_CFLAGS="$X_CFLAGS -I$x_includes"
32229 # It would also be nice to do this for all -L options, not just this one.
32230 if test -n "$x_libraries"; then
32231 X_LIBS="$X_LIBS -L$x_libraries"
32232 # For Solaris; some versions of Sun CC require a space after -R and
32233 # others require no space. Words are not sufficient . . . .
32234 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32235 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32236 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32237 ac_xsave_c_werror_flag=$ac_c_werror_flag
32238 ac_c_werror_flag=yes
32239 cat >conftest.$ac_ext <<_ACEOF
32242 cat confdefs.h >>conftest.$ac_ext
32243 cat >>conftest.$ac_ext <<_ACEOF
32244 /* end confdefs.h. */
32254 rm -f conftest.$ac_objext conftest$ac_exeext
32255 if { (ac_try="$ac_link"
32256 case "(($ac_try" in
32257 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32258 *) ac_try_echo
=$ac_try;;
32260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32261 (eval "$ac_link") 2>conftest.er1
32263 grep -v '^ *+' conftest.er1
>conftest.err
32265 cat conftest.err
>&5
32266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32267 (exit $ac_status); } && {
32268 test -z "$ac_c_werror_flag" ||
32269 test ! -s conftest.err
32270 } && test -s conftest
$ac_exeext &&
32271 $as_test_x conftest
$ac_exeext; then
32272 { echo "$as_me:$LINENO: result: no" >&5
32273 echo "${ECHO_T}no" >&6; }
32274 X_LIBS
="$X_LIBS -R$x_libraries"
32276 echo "$as_me: failed program was:" >&5
32277 sed 's/^/| /' conftest.
$ac_ext >&5
32279 LIBS
="$ac_xsave_LIBS -R $x_libraries"
32280 cat >conftest.
$ac_ext <<_ACEOF
32283 cat confdefs.h
>>conftest.
$ac_ext
32284 cat >>conftest.
$ac_ext <<_ACEOF
32285 /* end confdefs.h. */
32295 rm -f conftest.
$ac_objext conftest
$ac_exeext
32296 if { (ac_try
="$ac_link"
32297 case "(($ac_try" in
32298 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32299 *) ac_try_echo=$ac_try;;
32301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32302 (eval "$ac_link") 2>conftest.er1
32304 grep -v '^ *+' conftest.er1 >conftest.err
32306 cat conftest.err >&5
32307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32308 (exit $ac_status); } && {
32309 test -z "$ac_c_werror_flag" ||
32310 test ! -s conftest.err
32311 } && test -s conftest$ac_exeext &&
32312 $as_test_x conftest$ac_exeext; then
32313 { echo "$as_me:$LINENO: result: yes" >&5
32314 echo "${ECHO_T}yes" >&6; }
32315 X_LIBS="$X_LIBS -R $x_libraries"
32317 echo "$as_me: failed program was:" >&5
32318 sed 's/^/| /' conftest.$ac_ext >&5
32320 { echo "$as_me:$LINENO: result: neither works" >&5
32321 echo "${ECHO_T}neither works" >&6; }
32324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32325 conftest$ac_exeext conftest.$ac_ext
32328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32329 conftest$ac_exeext conftest.$ac_ext
32330 ac_c_werror_flag=$ac_xsave_c_werror_flag
32331 LIBS=$ac_xsave_LIBS
32334 # Check for system-dependent libraries X programs must link with.
32335 # Do this before checking for the system-independent R6 libraries
32336 # (-lICE), since we may need -lsocket or whatever for X linking.
32338 if test "$ISC" = yes; then
32339 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32341 # Martyn Johnson says this is needed for Ultrix, if the X
32342 # libraries were built with DECnet support. And Karl Berry says
32343 # the Alpha needs dnet_stub (dnet does not exist).
32344 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32345 cat >conftest.$ac_ext <<_ACEOF
32348 cat confdefs.h >>conftest.$ac_ext
32349 cat >>conftest.$ac_ext <<_ACEOF
32350 /* end confdefs.h. */
32352 /* Override any GCC internal prototype to avoid an error.
32353 Use char because int might match the return type of a GCC
32354 builtin and then its argument prototype would still apply. */
32358 char XOpenDisplay ();
32362 return XOpenDisplay ();
32367 rm -f conftest.$ac_objext conftest$ac_exeext
32368 if { (ac_try="$ac_link"
32369 case "(($ac_try" in
32370 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32371 *) ac_try_echo
=$ac_try;;
32373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32374 (eval "$ac_link") 2>conftest.er1
32376 grep -v '^ *+' conftest.er1
>conftest.err
32378 cat conftest.err
>&5
32379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32380 (exit $ac_status); } && {
32381 test -z "$ac_c_werror_flag" ||
32382 test ! -s conftest.err
32383 } && test -s conftest
$ac_exeext &&
32384 $as_test_x conftest
$ac_exeext; then
32387 echo "$as_me: failed program was:" >&5
32388 sed 's/^/| /' conftest.
$ac_ext >&5
32390 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32391 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32392 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32393 echo $ECHO_N "(cached) $ECHO_C" >&6
32395 ac_check_lib_save_LIBS
=$LIBS
32396 LIBS
="-ldnet $LIBS"
32397 cat >conftest.
$ac_ext <<_ACEOF
32400 cat confdefs.h
>>conftest.
$ac_ext
32401 cat >>conftest.
$ac_ext <<_ACEOF
32402 /* end confdefs.h. */
32404 /* Override any GCC internal prototype to avoid an error.
32405 Use char because int might match the return type of a GCC
32406 builtin and then its argument prototype would still apply. */
32414 return dnet_ntoa ();
32419 rm -f conftest.
$ac_objext conftest
$ac_exeext
32420 if { (ac_try
="$ac_link"
32421 case "(($ac_try" in
32422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32423 *) ac_try_echo=$ac_try;;
32425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32426 (eval "$ac_link") 2>conftest.er1
32428 grep -v '^ *+' conftest.er1 >conftest.err
32430 cat conftest.err >&5
32431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32432 (exit $ac_status); } && {
32433 test -z "$ac_c_werror_flag" ||
32434 test ! -s conftest.err
32435 } && test -s conftest$ac_exeext &&
32436 $as_test_x conftest$ac_exeext; then
32437 ac_cv_lib_dnet_dnet_ntoa=yes
32439 echo "$as_me: failed program was:" >&5
32440 sed 's/^/| /' conftest.$ac_ext >&5
32442 ac_cv_lib_dnet_dnet_ntoa=no
32445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32446 conftest$ac_exeext conftest.$ac_ext
32447 LIBS=$ac_check_lib_save_LIBS
32449 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32450 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32451 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32452 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32455 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32456 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32457 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32458 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32459 echo $ECHO_N "(cached) $ECHO_C" >&6
32461 ac_check_lib_save_LIBS=$LIBS
32462 LIBS="-ldnet_stub $LIBS"
32463 cat >conftest.$ac_ext <<_ACEOF
32466 cat confdefs.h >>conftest.$ac_ext
32467 cat >>conftest.$ac_ext <<_ACEOF
32468 /* end confdefs.h. */
32470 /* Override any GCC internal prototype to avoid an error.
32471 Use char because int might match the return type of a GCC
32472 builtin and then its argument prototype would still apply. */
32480 return dnet_ntoa ();
32485 rm -f conftest.$ac_objext conftest$ac_exeext
32486 if { (ac_try="$ac_link"
32487 case "(($ac_try" in
32488 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32489 *) ac_try_echo
=$ac_try;;
32491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32492 (eval "$ac_link") 2>conftest.er1
32494 grep -v '^ *+' conftest.er1
>conftest.err
32496 cat conftest.err
>&5
32497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32498 (exit $ac_status); } && {
32499 test -z "$ac_c_werror_flag" ||
32500 test ! -s conftest.err
32501 } && test -s conftest
$ac_exeext &&
32502 $as_test_x conftest
$ac_exeext; then
32503 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
32505 echo "$as_me: failed program was:" >&5
32506 sed 's/^/| /' conftest.
$ac_ext >&5
32508 ac_cv_lib_dnet_stub_dnet_ntoa
=no
32511 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32512 conftest
$ac_exeext conftest.
$ac_ext
32513 LIBS
=$ac_check_lib_save_LIBS
32515 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32516 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32517 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32518 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
32524 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32525 conftest
$ac_exeext conftest.
$ac_ext
32526 LIBS
="$ac_xsave_LIBS"
32528 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32529 # to get the SysV transport functions.
32530 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32532 # The nsl library prevents programs from opening the X display
32533 # on Irix 5.2, according to T.E. Dickey.
32534 # The functions gethostbyname, getservbyname, and inet_addr are
32535 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32536 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32537 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32538 if test "${ac_cv_func_gethostbyname+set}" = set; then
32539 echo $ECHO_N "(cached) $ECHO_C" >&6
32541 cat >conftest.
$ac_ext <<_ACEOF
32544 cat confdefs.h
>>conftest.
$ac_ext
32545 cat >>conftest.
$ac_ext <<_ACEOF
32546 /* end confdefs.h. */
32547 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32549 #define gethostbyname innocuous_gethostbyname
32551 /* System header to define __stub macros and hopefully few prototypes,
32552 which can conflict with char gethostbyname (); below.
32553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32554 <limits.h> exists even on freestanding compilers. */
32557 # include <limits.h>
32559 # include <assert.h>
32562 #undef gethostbyname
32564 /* Override any GCC internal prototype to avoid an error.
32565 Use char because int might match the return type of a GCC
32566 builtin and then its argument prototype would still apply. */
32570 char gethostbyname ();
32571 /* The GNU C library defines this for functions which it implements
32572 to always fail with ENOSYS. Some functions are actually named
32573 something starting with __ and the normal name is an alias. */
32574 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32581 return gethostbyname ();
32586 rm -f conftest.
$ac_objext conftest
$ac_exeext
32587 if { (ac_try
="$ac_link"
32588 case "(($ac_try" in
32589 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32590 *) ac_try_echo=$ac_try;;
32592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32593 (eval "$ac_link") 2>conftest.er1
32595 grep -v '^ *+' conftest.er1 >conftest.err
32597 cat conftest.err >&5
32598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32599 (exit $ac_status); } && {
32600 test -z "$ac_c_werror_flag" ||
32601 test ! -s conftest.err
32602 } && test -s conftest$ac_exeext &&
32603 $as_test_x conftest$ac_exeext; then
32604 ac_cv_func_gethostbyname=yes
32606 echo "$as_me: failed program was:" >&5
32607 sed 's/^/| /' conftest.$ac_ext >&5
32609 ac_cv_func_gethostbyname=no
32612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32613 conftest$ac_exeext conftest.$ac_ext
32615 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32616 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32618 if test $ac_cv_func_gethostbyname = no; then
32619 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32620 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32621 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32622 echo $ECHO_N "(cached) $ECHO_C" >&6
32624 ac_check_lib_save_LIBS=$LIBS
32626 cat >conftest.$ac_ext <<_ACEOF
32629 cat confdefs.h >>conftest.$ac_ext
32630 cat >>conftest.$ac_ext <<_ACEOF
32631 /* end confdefs.h. */
32633 /* Override any GCC internal prototype to avoid an error.
32634 Use char because int might match the return type of a GCC
32635 builtin and then its argument prototype would still apply. */
32639 char gethostbyname ();
32643 return gethostbyname ();
32648 rm -f conftest.$ac_objext conftest$ac_exeext
32649 if { (ac_try="$ac_link"
32650 case "(($ac_try" in
32651 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32652 *) ac_try_echo
=$ac_try;;
32654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32655 (eval "$ac_link") 2>conftest.er1
32657 grep -v '^ *+' conftest.er1
>conftest.err
32659 cat conftest.err
>&5
32660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32661 (exit $ac_status); } && {
32662 test -z "$ac_c_werror_flag" ||
32663 test ! -s conftest.err
32664 } && test -s conftest
$ac_exeext &&
32665 $as_test_x conftest
$ac_exeext; then
32666 ac_cv_lib_nsl_gethostbyname
=yes
32668 echo "$as_me: failed program was:" >&5
32669 sed 's/^/| /' conftest.
$ac_ext >&5
32671 ac_cv_lib_nsl_gethostbyname
=no
32674 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32675 conftest
$ac_exeext conftest.
$ac_ext
32676 LIBS
=$ac_check_lib_save_LIBS
32678 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32679 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32680 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32681 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
32684 if test $ac_cv_lib_nsl_gethostbyname = no
; then
32685 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32686 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32687 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32688 echo $ECHO_N "(cached) $ECHO_C" >&6
32690 ac_check_lib_save_LIBS
=$LIBS
32692 cat >conftest.
$ac_ext <<_ACEOF
32695 cat confdefs.h
>>conftest.
$ac_ext
32696 cat >>conftest.
$ac_ext <<_ACEOF
32697 /* end confdefs.h. */
32699 /* Override any GCC internal prototype to avoid an error.
32700 Use char because int might match the return type of a GCC
32701 builtin and then its argument prototype would still apply. */
32705 char gethostbyname ();
32709 return gethostbyname ();
32714 rm -f conftest.
$ac_objext conftest
$ac_exeext
32715 if { (ac_try
="$ac_link"
32716 case "(($ac_try" in
32717 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32718 *) ac_try_echo=$ac_try;;
32720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32721 (eval "$ac_link") 2>conftest.er1
32723 grep -v '^ *+' conftest.er1 >conftest.err
32725 cat conftest.err >&5
32726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32727 (exit $ac_status); } && {
32728 test -z "$ac_c_werror_flag" ||
32729 test ! -s conftest.err
32730 } && test -s conftest$ac_exeext &&
32731 $as_test_x conftest$ac_exeext; then
32732 ac_cv_lib_bsd_gethostbyname=yes
32734 echo "$as_me: failed program was:" >&5
32735 sed 's/^/| /' conftest.$ac_ext >&5
32737 ac_cv_lib_bsd_gethostbyname=no
32740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32741 conftest$ac_exeext conftest.$ac_ext
32742 LIBS=$ac_check_lib_save_LIBS
32744 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32745 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32746 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32747 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32753 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32754 # socket/setsockopt and other routines are undefined under SCO ODT
32755 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32756 # on later versions), says Simon Leinen: it contains gethostby*
32757 # variants that don't use the name server (or something). -lsocket
32758 # must be given before -lnsl if both are needed. We assume that
32759 # if connect needs -lnsl, so does gethostbyname.
32760 { echo "$as_me:$LINENO: checking for connect" >&5
32761 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32762 if test "${ac_cv_func_connect+set}" = set; then
32763 echo $ECHO_N "(cached) $ECHO_C" >&6
32765 cat >conftest.$ac_ext <<_ACEOF
32768 cat confdefs.h >>conftest.$ac_ext
32769 cat >>conftest.$ac_ext <<_ACEOF
32770 /* end confdefs.h. */
32771 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32773 #define connect innocuous_connect
32775 /* System header to define __stub macros and hopefully few prototypes,
32776 which can conflict with char connect (); below.
32777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32778 <limits.h> exists even on freestanding compilers. */
32781 # include <limits.h>
32783 # include <assert.h>
32788 /* Override any GCC internal prototype to avoid an error.
32789 Use char because int might match the return type of a GCC
32790 builtin and then its argument prototype would still apply. */
32795 /* The GNU C library defines this for functions which it implements
32796 to always fail with ENOSYS. Some functions are actually named
32797 something starting with __ and the normal name is an alias. */
32798 #if defined __stub_connect || defined __stub___connect
32810 rm -f conftest.$ac_objext conftest$ac_exeext
32811 if { (ac_try="$ac_link"
32812 case "(($ac_try" in
32813 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32814 *) ac_try_echo
=$ac_try;;
32816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32817 (eval "$ac_link") 2>conftest.er1
32819 grep -v '^ *+' conftest.er1
>conftest.err
32821 cat conftest.err
>&5
32822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32823 (exit $ac_status); } && {
32824 test -z "$ac_c_werror_flag" ||
32825 test ! -s conftest.err
32826 } && test -s conftest
$ac_exeext &&
32827 $as_test_x conftest
$ac_exeext; then
32828 ac_cv_func_connect
=yes
32830 echo "$as_me: failed program was:" >&5
32831 sed 's/^/| /' conftest.
$ac_ext >&5
32833 ac_cv_func_connect
=no
32836 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32837 conftest
$ac_exeext conftest.
$ac_ext
32839 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32840 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32842 if test $ac_cv_func_connect = no
; then
32843 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32844 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32845 if test "${ac_cv_lib_socket_connect+set}" = set; then
32846 echo $ECHO_N "(cached) $ECHO_C" >&6
32848 ac_check_lib_save_LIBS
=$LIBS
32849 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
32850 cat >conftest.
$ac_ext <<_ACEOF
32853 cat confdefs.h
>>conftest.
$ac_ext
32854 cat >>conftest.
$ac_ext <<_ACEOF
32855 /* end confdefs.h. */
32857 /* Override any GCC internal prototype to avoid an error.
32858 Use char because int might match the return type of a GCC
32859 builtin and then its argument prototype would still apply. */
32872 rm -f conftest.
$ac_objext conftest
$ac_exeext
32873 if { (ac_try
="$ac_link"
32874 case "(($ac_try" in
32875 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32876 *) ac_try_echo=$ac_try;;
32878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32879 (eval "$ac_link") 2>conftest.er1
32881 grep -v '^ *+' conftest.er1 >conftest.err
32883 cat conftest.err >&5
32884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32885 (exit $ac_status); } && {
32886 test -z "$ac_c_werror_flag" ||
32887 test ! -s conftest.err
32888 } && test -s conftest$ac_exeext &&
32889 $as_test_x conftest$ac_exeext; then
32890 ac_cv_lib_socket_connect=yes
32892 echo "$as_me: failed program was:" >&5
32893 sed 's/^/| /' conftest.$ac_ext >&5
32895 ac_cv_lib_socket_connect=no
32898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32899 conftest$ac_exeext conftest.$ac_ext
32900 LIBS=$ac_check_lib_save_LIBS
32902 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32903 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32904 if test $ac_cv_lib_socket_connect = yes; then
32905 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32910 # Guillermo Gomez says -lposix is necessary on A/UX.
32911 { echo "$as_me:$LINENO: checking for remove" >&5
32912 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32913 if test "${ac_cv_func_remove+set}" = set; then
32914 echo $ECHO_N "(cached) $ECHO_C" >&6
32916 cat >conftest.$ac_ext <<_ACEOF
32919 cat confdefs.h >>conftest.$ac_ext
32920 cat >>conftest.$ac_ext <<_ACEOF
32921 /* end confdefs.h. */
32922 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32924 #define remove innocuous_remove
32926 /* System header to define __stub macros and hopefully few prototypes,
32927 which can conflict with char remove (); below.
32928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32929 <limits.h> exists even on freestanding compilers. */
32932 # include <limits.h>
32934 # include <assert.h>
32939 /* Override any GCC internal prototype to avoid an error.
32940 Use char because int might match the return type of a GCC
32941 builtin and then its argument prototype would still apply. */
32946 /* The GNU C library defines this for functions which it implements
32947 to always fail with ENOSYS. Some functions are actually named
32948 something starting with __ and the normal name is an alias. */
32949 #if defined __stub_remove || defined __stub___remove
32961 rm -f conftest.$ac_objext conftest$ac_exeext
32962 if { (ac_try="$ac_link"
32963 case "(($ac_try" in
32964 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32965 *) ac_try_echo
=$ac_try;;
32967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32968 (eval "$ac_link") 2>conftest.er1
32970 grep -v '^ *+' conftest.er1
>conftest.err
32972 cat conftest.err
>&5
32973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32974 (exit $ac_status); } && {
32975 test -z "$ac_c_werror_flag" ||
32976 test ! -s conftest.err
32977 } && test -s conftest
$ac_exeext &&
32978 $as_test_x conftest
$ac_exeext; then
32979 ac_cv_func_remove
=yes
32981 echo "$as_me: failed program was:" >&5
32982 sed 's/^/| /' conftest.
$ac_ext >&5
32984 ac_cv_func_remove
=no
32987 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32988 conftest
$ac_exeext conftest.
$ac_ext
32990 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32991 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32993 if test $ac_cv_func_remove = no
; then
32994 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32995 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32996 if test "${ac_cv_lib_posix_remove+set}" = set; then
32997 echo $ECHO_N "(cached) $ECHO_C" >&6
32999 ac_check_lib_save_LIBS
=$LIBS
33000 LIBS
="-lposix $LIBS"
33001 cat >conftest.
$ac_ext <<_ACEOF
33004 cat confdefs.h
>>conftest.
$ac_ext
33005 cat >>conftest.
$ac_ext <<_ACEOF
33006 /* end confdefs.h. */
33008 /* Override any GCC internal prototype to avoid an error.
33009 Use char because int might match the return type of a GCC
33010 builtin and then its argument prototype would still apply. */
33023 rm -f conftest.
$ac_objext conftest
$ac_exeext
33024 if { (ac_try
="$ac_link"
33025 case "(($ac_try" in
33026 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33027 *) ac_try_echo=$ac_try;;
33029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33030 (eval "$ac_link") 2>conftest.er1
33032 grep -v '^ *+' conftest.er1 >conftest.err
33034 cat conftest.err >&5
33035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33036 (exit $ac_status); } && {
33037 test -z "$ac_c_werror_flag" ||
33038 test ! -s conftest.err
33039 } && test -s conftest$ac_exeext &&
33040 $as_test_x conftest$ac_exeext; then
33041 ac_cv_lib_posix_remove=yes
33043 echo "$as_me: failed program was:" >&5
33044 sed 's/^/| /' conftest.$ac_ext >&5
33046 ac_cv_lib_posix_remove=no
33049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33050 conftest$ac_exeext conftest.$ac_ext
33051 LIBS=$ac_check_lib_save_LIBS
33053 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33054 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33055 if test $ac_cv_lib_posix_remove = yes; then
33056 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33061 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33062 { echo "$as_me:$LINENO: checking for shmat" >&5
33063 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33064 if test "${ac_cv_func_shmat+set}" = set; then
33065 echo $ECHO_N "(cached) $ECHO_C" >&6
33067 cat >conftest.$ac_ext <<_ACEOF
33070 cat confdefs.h >>conftest.$ac_ext
33071 cat >>conftest.$ac_ext <<_ACEOF
33072 /* end confdefs.h. */
33073 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33075 #define shmat innocuous_shmat
33077 /* System header to define __stub macros and hopefully few prototypes,
33078 which can conflict with char shmat (); below.
33079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33080 <limits.h> exists even on freestanding compilers. */
33083 # include <limits.h>
33085 # include <assert.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. */
33097 /* The GNU C library defines this for functions which it implements
33098 to always fail with ENOSYS. Some functions are actually named
33099 something starting with __ and the normal name is an alias. */
33100 #if defined __stub_shmat || defined __stub___shmat
33112 rm -f conftest.$ac_objext conftest$ac_exeext
33113 if { (ac_try="$ac_link"
33114 case "(($ac_try" in
33115 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33116 *) ac_try_echo
=$ac_try;;
33118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33119 (eval "$ac_link") 2>conftest.er1
33121 grep -v '^ *+' conftest.er1
>conftest.err
33123 cat conftest.err
>&5
33124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33125 (exit $ac_status); } && {
33126 test -z "$ac_c_werror_flag" ||
33127 test ! -s conftest.err
33128 } && test -s conftest
$ac_exeext &&
33129 $as_test_x conftest
$ac_exeext; then
33130 ac_cv_func_shmat
=yes
33132 echo "$as_me: failed program was:" >&5
33133 sed 's/^/| /' conftest.
$ac_ext >&5
33135 ac_cv_func_shmat
=no
33138 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33139 conftest
$ac_exeext conftest.
$ac_ext
33141 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33142 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33144 if test $ac_cv_func_shmat = no
; then
33145 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33146 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33147 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33148 echo $ECHO_N "(cached) $ECHO_C" >&6
33150 ac_check_lib_save_LIBS
=$LIBS
33152 cat >conftest.
$ac_ext <<_ACEOF
33155 cat confdefs.h
>>conftest.
$ac_ext
33156 cat >>conftest.
$ac_ext <<_ACEOF
33157 /* end confdefs.h. */
33159 /* Override any GCC internal prototype to avoid an error.
33160 Use char because int might match the return type of a GCC
33161 builtin and then its argument prototype would still apply. */
33174 rm -f conftest.
$ac_objext conftest
$ac_exeext
33175 if { (ac_try
="$ac_link"
33176 case "(($ac_try" in
33177 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33178 *) ac_try_echo=$ac_try;;
33180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33181 (eval "$ac_link") 2>conftest.er1
33183 grep -v '^ *+' conftest.er1 >conftest.err
33185 cat conftest.err >&5
33186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33187 (exit $ac_status); } && {
33188 test -z "$ac_c_werror_flag" ||
33189 test ! -s conftest.err
33190 } && test -s conftest$ac_exeext &&
33191 $as_test_x conftest$ac_exeext; then
33192 ac_cv_lib_ipc_shmat=yes
33194 echo "$as_me: failed program was:" >&5
33195 sed 's/^/| /' conftest.$ac_ext >&5
33197 ac_cv_lib_ipc_shmat=no
33200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33201 conftest$ac_exeext conftest.$ac_ext
33202 LIBS=$ac_check_lib_save_LIBS
33204 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33205 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33206 if test $ac_cv_lib_ipc_shmat = yes; then
33207 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33213 # Check for libraries that X11R6 Xt/Xaw programs need.
33214 ac_save_LDFLAGS=$LDFLAGS
33215 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33216 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33217 # check for ICE first), but we must link in the order -lSM -lICE or
33218 # we get undefined symbols. So assume we have SM if we have ICE.
33219 # These have to be linked with before -lX11, unlike the other
33220 # libraries we check for below, so use a different variable.
33221 # John Interrante, Karl Berry
33222 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33223 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33224 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33225 echo $ECHO_N "(cached) $ECHO_C" >&6
33227 ac_check_lib_save_LIBS=$LIBS
33228 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33229 cat >conftest.$ac_ext <<_ACEOF
33232 cat confdefs.h >>conftest.$ac_ext
33233 cat >>conftest.$ac_ext <<_ACEOF
33234 /* end confdefs.h. */
33236 /* Override any GCC internal prototype to avoid an error.
33237 Use char because int might match the return type of a GCC
33238 builtin and then its argument prototype would still apply. */
33242 char IceConnectionNumber ();
33246 return IceConnectionNumber ();
33251 rm -f conftest.$ac_objext conftest$ac_exeext
33252 if { (ac_try="$ac_link"
33253 case "(($ac_try" in
33254 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33255 *) ac_try_echo
=$ac_try;;
33257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33258 (eval "$ac_link") 2>conftest.er1
33260 grep -v '^ *+' conftest.er1
>conftest.err
33262 cat conftest.err
>&5
33263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33264 (exit $ac_status); } && {
33265 test -z "$ac_c_werror_flag" ||
33266 test ! -s conftest.err
33267 } && test -s conftest
$ac_exeext &&
33268 $as_test_x conftest
$ac_exeext; then
33269 ac_cv_lib_ICE_IceConnectionNumber
=yes
33271 echo "$as_me: failed program was:" >&5
33272 sed 's/^/| /' conftest.
$ac_ext >&5
33274 ac_cv_lib_ICE_IceConnectionNumber
=no
33277 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33278 conftest
$ac_exeext conftest.
$ac_ext
33279 LIBS
=$ac_check_lib_save_LIBS
33281 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33282 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33283 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33284 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
33287 LDFLAGS
=$ac_save_LDFLAGS
33292 if test "$no_x" = "yes"; then
33293 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33294 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33295 { (exit 1); exit 1; }; }
33298 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33299 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
33300 AFMINSTALL
=afminstall
33301 COMPILED_X_PROGRAM
=0
33305 if test "$wxUSE_X11" = 1; then
33306 if test "$wxUSE_NANOX" = "yes"; then
33307 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33308 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33309 if test "x$MICROWIN" = x
; then
33310 { echo "$as_me:$LINENO: result: not found" >&5
33311 echo "${ECHO_T}not found" >&6; }
33312 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33313 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33314 { (exit 1); exit 1; }; }
33316 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33317 echo "${ECHO_T}$MICROWIN" >&6; }
33318 cat >>confdefs.h
<<\_ACEOF
33319 #define wxUSE_NANOX 1
33325 if test "$wxUSE_UNICODE" = "yes"; then
33328 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33329 if test -n "$ac_tool_prefix"; then
33330 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33331 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33334 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33335 echo $ECHO_N "(cached) $ECHO_C" >&6
33337 case $PKG_CONFIG in
33339 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33343 for as_dir
in $PATH
33346 test -z "$as_dir" && as_dir
=.
33347 for ac_exec_ext
in '' $ac_executable_extensions; do
33348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33349 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33360 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33361 if test -n "$PKG_CONFIG"; then
33362 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33363 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33365 { echo "$as_me:$LINENO: result: no" >&5
33366 echo "${ECHO_T}no" >&6; }
33371 if test -z "$ac_cv_path_PKG_CONFIG"; then
33372 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33373 # Extract the first word of "pkg-config", so it can be a program name with args.
33374 set dummy pkg
-config; ac_word
=$2
33375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33377 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33378 echo $ECHO_N "(cached) $ECHO_C" >&6
33380 case $ac_pt_PKG_CONFIG in
33382 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33386 for as_dir
in $PATH
33389 test -z "$as_dir" && as_dir
=.
33390 for ac_exec_ext
in '' $ac_executable_extensions; do
33391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33392 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33403 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33404 if test -n "$ac_pt_PKG_CONFIG"; then
33405 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33406 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33408 { echo "$as_me:$LINENO: result: no" >&5
33409 echo "${ECHO_T}no" >&6; }
33412 if test "x$ac_pt_PKG_CONFIG" = x
; then
33415 case $cross_compiling:$ac_tool_warned in
33417 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33418 whose name does not start with the host triplet. If you think this
33419 configuration is useful to you, please write to autoconf@gnu.org." >&5
33420 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33421 whose name does not start with the host triplet. If you think this
33422 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33423 ac_tool_warned
=yes ;;
33425 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33428 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33432 if test -n "$PKG_CONFIG"; then
33433 _pkg_min_version
=0.9.0
33434 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33435 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33436 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33437 { echo "$as_me:$LINENO: result: yes" >&5
33438 echo "${ECHO_T}yes" >&6; }
33440 { echo "$as_me:$LINENO: result: no" >&5
33441 echo "${ECHO_T}no" >&6; }
33449 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33450 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33452 if test -n "$PKG_CONFIG"; then
33453 if test -n "$PANGOX_CFLAGS"; then
33454 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
33456 if test -n "$PKG_CONFIG" && \
33457 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33458 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33461 (exit $ac_status); }; then
33462 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33470 if test -n "$PKG_CONFIG"; then
33471 if test -n "$PANGOX_LIBS"; then
33472 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
33474 if test -n "$PKG_CONFIG" && \
33475 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33476 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33479 (exit $ac_status); }; then
33480 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33491 if test $pkg_failed = yes; then
33493 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33494 _pkg_short_errors_supported
=yes
33496 _pkg_short_errors_supported
=no
33498 if test $_pkg_short_errors_supported = yes; then
33499 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33501 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33503 # Put the nasty error message in config.log where it belongs
33504 echo "$PANGOX_PKG_ERRORS" >&5
33507 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33508 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33509 { (exit 1); exit 1; }; }
33512 elif test $pkg_failed = untried
; then
33514 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33515 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33516 { (exit 1); exit 1; }; }
33520 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
33521 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
33522 { echo "$as_me:$LINENO: result: yes" >&5
33523 echo "${ECHO_T}yes" >&6; }
33525 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
33526 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
33527 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
33532 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33533 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33535 if test -n "$PKG_CONFIG"; then
33536 if test -n "$PANGOFT2_CFLAGS"; then
33537 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
33539 if test -n "$PKG_CONFIG" && \
33540 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33541 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33544 (exit $ac_status); }; then
33545 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33553 if test -n "$PKG_CONFIG"; then
33554 if test -n "$PANGOFT2_LIBS"; then
33555 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
33557 if test -n "$PKG_CONFIG" && \
33558 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33559 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33562 (exit $ac_status); }; then
33563 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33574 if test $pkg_failed = yes; then
33576 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33577 _pkg_short_errors_supported
=yes
33579 _pkg_short_errors_supported
=no
33581 if test $_pkg_short_errors_supported = yes; then
33582 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33584 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33586 # Put the nasty error message in config.log where it belongs
33587 echo "$PANGOFT2_PKG_ERRORS" >&5
33590 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33591 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33592 wxUSE_PRINTING_ARCHITECTURE
="no"
33595 elif test $pkg_failed = untried
; then
33597 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33598 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33599 wxUSE_PRINTING_ARCHITECTURE
="no"
33603 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
33604 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
33605 { echo "$as_me:$LINENO: result: yes" >&5
33606 echo "${ECHO_T}yes" >&6; }
33608 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
33609 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
33610 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33615 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33616 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33618 if test -n "$PKG_CONFIG"; then
33619 if test -n "$PANGOXFT_CFLAGS"; then
33620 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
33622 if test -n "$PKG_CONFIG" && \
33623 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33624 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33627 (exit $ac_status); }; then
33628 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33636 if test -n "$PKG_CONFIG"; then
33637 if test -n "$PANGOXFT_LIBS"; then
33638 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
33640 if test -n "$PKG_CONFIG" && \
33641 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33642 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33645 (exit $ac_status); }; then
33646 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33657 if test $pkg_failed = yes; then
33659 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33660 _pkg_short_errors_supported
=yes
33662 _pkg_short_errors_supported
=no
33664 if test $_pkg_short_errors_supported = yes; then
33665 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33667 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33669 # Put the nasty error message in config.log where it belongs
33670 echo "$PANGOXFT_PKG_ERRORS" >&5
33673 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33674 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33677 elif test $pkg_failed = untried
; then
33679 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33680 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33684 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
33685 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
33686 { echo "$as_me:$LINENO: result: yes" >&5
33687 echo "${ECHO_T}yes" >&6; }
33689 cat >>confdefs.h
<<\_ACEOF
33690 #define HAVE_PANGO_XFT 1
33693 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
33694 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
33695 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33699 LIBS
="$LIBS $PANGOX_LIBS"
33701 for ac_func
in pango_font_family_is_monospace
33703 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33704 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33706 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33707 echo $ECHO_N "(cached) $ECHO_C" >&6
33709 cat >conftest.
$ac_ext <<_ACEOF
33712 cat confdefs.h
>>conftest.
$ac_ext
33713 cat >>conftest.
$ac_ext <<_ACEOF
33714 /* end confdefs.h. */
33715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33717 #define $ac_func innocuous_$ac_func
33719 /* System header to define __stub macros and hopefully few prototypes,
33720 which can conflict with char $ac_func (); below.
33721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33722 <limits.h> exists even on freestanding compilers. */
33725 # include <limits.h>
33727 # include <assert.h>
33732 /* Override any GCC internal prototype to avoid an error.
33733 Use char because int might match the return type of a GCC
33734 builtin and then its argument prototype would still apply. */
33739 /* The GNU C library defines this for functions which it implements
33740 to always fail with ENOSYS. Some functions are actually named
33741 something starting with __ and the normal name is an alias. */
33742 #if defined __stub_$ac_func || defined __stub___$ac_func
33749 return $ac_func ();
33754 rm -f conftest.
$ac_objext conftest
$ac_exeext
33755 if { (ac_try
="$ac_link"
33756 case "(($ac_try" in
33757 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33758 *) ac_try_echo=$ac_try;;
33760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33761 (eval "$ac_link") 2>conftest.er1
33763 grep -v '^ *+' conftest.er1 >conftest.err
33765 cat conftest.err >&5
33766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33767 (exit $ac_status); } && {
33768 test -z "$ac_c_werror_flag" ||
33769 test ! -s conftest.err
33770 } && test -s conftest$ac_exeext &&
33771 $as_test_x conftest$ac_exeext; then
33772 eval "$as_ac_var=yes"
33774 echo "$as_me: failed program was:" >&5
33775 sed 's/^/| /' conftest.$ac_ext >&5
33777 eval "$as_ac_var=no"
33780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33781 conftest$ac_exeext conftest.$ac_ext
33783 ac_res=`eval echo '${'$as_ac_var'}'`
33784 { echo "$as_me:$LINENO: result: $ac_res" >&5
33785 echo "${ECHO_T}$ac_res" >&6; }
33786 if test `eval echo '${'$as_ac_var'}'` = yes; then
33787 cat >>confdefs.h <<_ACEOF
33788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33797 wxUSE_UNIVERSAL="yes"
33799 if test "$wxUSE_NANOX" = "yes"; then
33800 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33801 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"
33802 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33804 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33811 if test "$wxUSE_MOTIF" = 1; then
33812 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33813 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33816 for ac_dir in $SEARCH_INCLUDE /usr/include;
33818 if test -f "$ac_dir/Xm/Xm.h"; then
33819 ac_find_includes=$ac_dir
33824 if test "$ac_find_includes" != "" ; then
33825 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33826 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33828 if test "x$ac_find_includes" = "x/usr/include"; then
33829 ac_path_to_include=""
33831 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33833 if test $result = 0; then
33834 ac_path_to_include=""
33836 ac_path_to_include=" -I$ac_find_includes"
33840 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33842 save_CFLAGS=$CFLAGS
33843 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33845 cat >conftest.$ac_ext <<_ACEOF
33848 cat confdefs.h >>conftest.$ac_ext
33849 cat >>conftest.$ac_ext <<_ACEOF
33850 /* end confdefs.h. */
33859 version = xmUseVersion;
33865 rm -f conftest.$ac_objext
33866 if { (ac_try="$ac_compile"
33867 case "(($ac_try" in
33868 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33869 *) ac_try_echo
=$ac_try;;
33871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33872 (eval "$ac_compile") 2>conftest.er1
33874 grep -v '^ *+' conftest.er1
>conftest.err
33876 cat conftest.err
>&5
33877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33878 (exit $ac_status); } && {
33879 test -z "$ac_c_werror_flag" ||
33880 test ! -s conftest.err
33881 } && test -s conftest.
$ac_objext; then
33883 { echo "$as_me:$LINENO: result: found in default search path" >&5
33884 echo "${ECHO_T}found in default search path" >&6; }
33885 COMPILED_X_PROGRAM
=1
33888 echo "$as_me: failed program was:" >&5
33889 sed 's/^/| /' conftest.
$ac_ext >&5
33892 { echo "$as_me:$LINENO: result: no" >&5
33893 echo "${ECHO_T}no" >&6; }
33894 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33895 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33896 { (exit 1); exit 1; }; }
33901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33903 CFLAGS
=$save_CFLAGS
33907 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33908 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33911 for ac_dir
in $SEARCH_LIB;
33913 for ac_extension
in a so sl dylib dll.a
; do
33914 if test -f "$ac_dir/libXm.$ac_extension"; then
33915 ac_find_libraries
=$ac_dir
33922 if test "x$ac_find_libraries" != "x" ; then
33923 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33924 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33927 if test "$ac_find_libraries" = "default location"; then
33930 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33932 if test $result = 0; then
33935 ac_path_to_link
=" -L$ac_find_libraries"
33939 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
33941 save_CFLAGS
=$CFLAGS
33942 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33944 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33946 cat >conftest.
$ac_ext <<_ACEOF
33949 cat confdefs.h
>>conftest.
$ac_ext
33950 cat >>conftest.
$ac_ext <<_ACEOF
33951 /* end confdefs.h. */
33960 version = xmUseVersion;
33966 rm -f conftest.
$ac_objext conftest
$ac_exeext
33967 if { (ac_try
="$ac_link"
33968 case "(($ac_try" in
33969 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33970 *) ac_try_echo=$ac_try;;
33972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33973 (eval "$ac_link") 2>conftest.er1
33975 grep -v '^ *+' conftest.er1 >conftest.err
33977 cat conftest.err >&5
33978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33979 (exit $ac_status); } && {
33980 test -z "$ac_c_werror_flag" ||
33981 test ! -s conftest.err
33982 } && test -s conftest$ac_exeext &&
33983 $as_test_x conftest$ac_exeext; then
33985 { echo "$as_me:$LINENO: result: found in default search path" >&5
33986 echo "${ECHO_T}found in default search path" >&6; }
33987 COMPILED_X_PROGRAM=1
33990 echo "$as_me: failed program was:" >&5
33991 sed 's/^/| /' conftest.$ac_ext >&5
33994 { echo "$as_me:$LINENO: result: no" >&5
33995 echo "${ECHO_T}no" >&6; }
33996 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33997 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33998 { (exit 1); exit 1; }; }
34003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34004 conftest$ac_exeext conftest.$ac_ext
34006 CFLAGS=$save_CFLAGS
34010 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34011 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34015 for libp in "" " -lXp"; do
34016 if test "$libs_found" = "0"; then
34017 for libsm_ice in "" " -lSM -lICE"; do
34018 if test "$libs_found" = "0"; then
34020 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34021 save_CFLAGS=$CFLAGS
34022 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34024 cat >conftest.$ac_ext <<_ACEOF
34027 cat confdefs.h >>conftest.$ac_ext
34028 cat >>conftest.$ac_ext <<_ACEOF
34029 /* end confdefs.h. */
34032 #include <Xm/List.h>
34038 XmString string = NULL;
34041 XmListAddItem(w, string, position);
34047 rm -f conftest.$ac_objext conftest$ac_exeext
34048 if { (ac_try="$ac_link"
34049 case "(($ac_try" in
34050 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34051 *) ac_try_echo
=$ac_try;;
34053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34054 (eval "$ac_link") 2>conftest.er1
34056 grep -v '^ *+' conftest.er1
>conftest.err
34058 cat conftest.err
>&5
34059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34060 (exit $ac_status); } && {
34061 test -z "$ac_c_werror_flag" ||
34062 test ! -s conftest.err
34063 } && test -s conftest
$ac_exeext &&
34064 $as_test_x conftest
$ac_exeext; then
34067 libsm_ice_link
="$libsm_ice"
34068 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34069 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34073 echo "$as_me: failed program was:" >&5
34074 sed 's/^/| /' conftest.
$ac_ext >&5
34080 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34081 conftest
$ac_exeext conftest.
$ac_ext
34084 CFLAGS
=$save_CFLAGS
34090 if test "$libs_found" = "0"; then
34091 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34092 echo "${ECHO_T}can't find the right libraries" >&6; }
34093 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34094 echo "$as_me: error: can't link a simple motif program" >&2;}
34095 { (exit 1); exit 1; }; }
34098 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34099 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34100 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34101 echo $ECHO_N "(cached) $ECHO_C" >&6
34103 ac_check_lib_save_LIBS
=$LIBS
34105 cat >conftest.
$ac_ext <<_ACEOF
34108 cat confdefs.h
>>conftest.
$ac_ext
34109 cat >>conftest.
$ac_ext <<_ACEOF
34110 /* end confdefs.h. */
34112 /* Override any GCC internal prototype to avoid an error.
34113 Use char because int might match the return type of a GCC
34114 builtin and then its argument prototype would still apply. */
34118 char SgCreateList ();
34122 return SgCreateList ();
34127 rm -f conftest.
$ac_objext conftest
$ac_exeext
34128 if { (ac_try
="$ac_link"
34129 case "(($ac_try" in
34130 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34131 *) ac_try_echo=$ac_try;;
34133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34134 (eval "$ac_link") 2>conftest.er1
34136 grep -v '^ *+' conftest.er1 >conftest.err
34138 cat conftest.err >&5
34139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34140 (exit $ac_status); } && {
34141 test -z "$ac_c_werror_flag" ||
34142 test ! -s conftest.err
34143 } && test -s conftest$ac_exeext &&
34144 $as_test_x conftest$ac_exeext; then
34145 ac_cv_lib_Sgm_SgCreateList=yes
34147 echo "$as_me: failed program was:" >&5
34148 sed 's/^/| /' conftest.$ac_ext >&5
34150 ac_cv_lib_Sgm_SgCreateList=no
34153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34154 conftest$ac_exeext conftest.$ac_ext
34155 LIBS=$ac_check_lib_save_LIBS
34157 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34158 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34159 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34160 libsgm_link=" -lSgm"
34164 save_CFLAGS=$CFLAGS
34165 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34167 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34168 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34169 if test "${wx_cv_lib_motif2+set}" = set; then
34170 echo $ECHO_N "(cached) $ECHO_C" >&6
34172 cat >conftest.$ac_ext <<_ACEOF
34175 cat confdefs.h >>conftest.$ac_ext
34176 cat >>conftest.$ac_ext <<_ACEOF
34177 /* end confdefs.h. */
34185 #if XmVersion < 2000
34193 rm -f conftest.$ac_objext
34194 if { (ac_try="$ac_compile"
34195 case "(($ac_try" in
34196 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34197 *) ac_try_echo
=$ac_try;;
34199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34200 (eval "$ac_compile") 2>conftest.er1
34202 grep -v '^ *+' conftest.er1
>conftest.err
34204 cat conftest.err
>&5
34205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34206 (exit $ac_status); } && {
34207 test -z "$ac_c_werror_flag" ||
34208 test ! -s conftest.err
34209 } && test -s conftest.
$ac_objext; then
34210 wx_cv_lib_motif2
="yes"
34212 echo "$as_me: failed program was:" >&5
34213 sed 's/^/| /' conftest.
$ac_ext >&5
34215 wx_cv_lib_motif2
="no"
34218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34220 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34221 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34222 if test "$wx_cv_lib_motif2" = "yes"; then
34223 cat >>confdefs.h
<<\_ACEOF
34224 #define __WXMOTIF20__ 1
34228 cat >>confdefs.h
<<\_ACEOF
34229 #define __WXMOTIF20__ 0
34234 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34235 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34236 if test "${wx_cv_lib_lesstif+set}" = set; then
34237 echo $ECHO_N "(cached) $ECHO_C" >&6
34239 cat >conftest.
$ac_ext <<_ACEOF
34242 cat confdefs.h
>>conftest.
$ac_ext
34243 cat >>conftest.
$ac_ext <<_ACEOF
34244 /* end confdefs.h. */
34252 #if !defined(LesstifVersion) || LesstifVersion <= 0
34260 rm -f conftest.
$ac_objext
34261 if { (ac_try
="$ac_compile"
34262 case "(($ac_try" in
34263 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34264 *) ac_try_echo=$ac_try;;
34266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34267 (eval "$ac_compile") 2>conftest.er1
34269 grep -v '^ *+' conftest.er1 >conftest.err
34271 cat conftest.err >&5
34272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34273 (exit $ac_status); } && {
34274 test -z "$ac_c_werror_flag" ||
34275 test ! -s conftest.err
34276 } && test -s conftest.$ac_objext; then
34277 wx_cv_lib_lesstif="yes"
34279 echo "$as_me: failed program was:" >&5
34280 sed 's/^/| /' conftest.$ac_ext >&5
34282 wx_cv_lib_lesstif="no"
34285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34288 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34289 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34290 if test "$wx_cv_lib_lesstif" = "yes"; then
34291 cat >>confdefs.h <<\_ACEOF
34292 #define __WXLESSTIF__ 1
34296 cat >>confdefs.h <<\_ACEOF
34297 #define __WXLESSTIF__ 0
34302 CFLAGS=$save_CFLAGS
34304 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34309 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34310 if test "$wxUSE_LIBXPM" = "sys"; then
34311 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34312 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34315 for ac_dir in $SEARCH_LIB;
34317 for ac_extension in a so sl dylib dll.a; do
34318 if test -f "$ac_dir/libXpm.$ac_extension"; then
34319 ac_find_libraries=$ac_dir
34325 if test "$ac_find_libraries" != "" ; then
34327 if test "$ac_find_libraries" = "default location"; then
34330 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34332 if test $result = 0; then
34335 ac_path_to_link=" -L$ac_find_libraries"
34339 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34340 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34341 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34343 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34344 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34345 if test "${wx_cv_x11_xpm_h+set}" = set; then
34346 echo $ECHO_N "(cached) $ECHO_C" >&6
34349 save_CFLAGS=$CFLAGS
34350 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34352 cat >conftest.$ac_ext <<_ACEOF
34355 cat confdefs.h >>conftest.$ac_ext
34356 cat >>conftest.$ac_ext <<_ACEOF
34357 /* end confdefs.h. */
34359 #include <X11/xpm.h>
34366 version = XpmLibraryVersion();
34372 rm -f conftest.$ac_objext
34373 if { (ac_try="$ac_compile"
34374 case "(($ac_try" in
34375 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34376 *) ac_try_echo
=$ac_try;;
34378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34379 (eval "$ac_compile") 2>conftest.er1
34381 grep -v '^ *+' conftest.er1
>conftest.err
34383 cat conftest.err
>&5
34384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34385 (exit $ac_status); } && {
34386 test -z "$ac_c_werror_flag" ||
34387 test ! -s conftest.err
34388 } && test -s conftest.
$ac_objext; then
34389 wx_cv_x11_xpm_h
=yes
34391 echo "$as_me: failed program was:" >&5
34392 sed 's/^/| /' conftest.
$ac_ext >&5
34398 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34400 CFLAGS
=$save_CFLAGS
34404 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34405 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34407 if test $wx_cv_x11_xpm_h = "yes"; then
34408 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
34409 cat >>confdefs.h
<<\_ACEOF
34410 #define wxHAVE_LIB_XPM 1
34414 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34415 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34421 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34422 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34423 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34424 echo $ECHO_N "(cached) $ECHO_C" >&6
34426 ac_check_lib_save_LIBS
=$LIBS
34427 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34428 cat >conftest.
$ac_ext <<_ACEOF
34431 cat confdefs.h
>>conftest.
$ac_ext
34432 cat >>conftest.
$ac_ext <<_ACEOF
34433 /* end confdefs.h. */
34435 /* Override any GCC internal prototype to avoid an error.
34436 Use char because int might match the return type of a GCC
34437 builtin and then its argument prototype would still apply. */
34441 char XShapeQueryExtension ();
34445 return XShapeQueryExtension ();
34450 rm -f conftest.
$ac_objext conftest
$ac_exeext
34451 if { (ac_try
="$ac_link"
34452 case "(($ac_try" in
34453 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34454 *) ac_try_echo=$ac_try;;
34456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34457 (eval "$ac_link") 2>conftest.er1
34459 grep -v '^ *+' conftest.er1 >conftest.err
34461 cat conftest.err >&5
34462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34463 (exit $ac_status); } && {
34464 test -z "$ac_c_werror_flag" ||
34465 test ! -s conftest.err
34466 } && test -s conftest$ac_exeext &&
34467 $as_test_x conftest$ac_exeext; then
34468 ac_cv_lib_Xext_XShapeQueryExtension=yes
34470 echo "$as_me: failed program was:" >&5
34471 sed 's/^/| /' conftest.$ac_ext >&5
34473 ac_cv_lib_Xext_XShapeQueryExtension=no
34476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34477 conftest$ac_exeext conftest.$ac_ext
34478 LIBS=$ac_check_lib_save_LIBS
34480 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34481 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34482 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34484 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34490 if test "$wxHAVE_XEXT_LIB" = 1; then
34491 save_CFLAGS="$CFLAGS"
34492 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34494 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34495 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34496 cat >conftest.$ac_ext <<_ACEOF
34499 cat confdefs.h >>conftest.$ac_ext
34500 cat >>conftest.$ac_ext <<_ACEOF
34501 /* end confdefs.h. */
34503 #include <X11/Xlib.h>
34504 #include <X11/extensions/shape.h>
34510 int dummy1, dummy2;
34511 XShapeQueryExtension((Display*)NULL,
34512 (int*)NULL, (int*)NULL);
34518 rm -f conftest.$ac_objext
34519 if { (ac_try="$ac_compile"
34520 case "(($ac_try" in
34521 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34522 *) ac_try_echo
=$ac_try;;
34524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34525 (eval "$ac_compile") 2>conftest.er1
34527 grep -v '^ *+' conftest.er1
>conftest.err
34529 cat conftest.err
>&5
34530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34531 (exit $ac_status); } && {
34532 test -z "$ac_c_werror_flag" ||
34533 test ! -s conftest.err
34534 } && test -s conftest.
$ac_objext; then
34536 cat >>confdefs.h
<<\_ACEOF
34537 #define HAVE_XSHAPE 1
34540 { echo "$as_me:$LINENO: result: found" >&5
34541 echo "${ECHO_T}found" >&6; }
34544 echo "$as_me: failed program was:" >&5
34545 sed 's/^/| /' conftest.
$ac_ext >&5
34548 { echo "$as_me:$LINENO: result: not found" >&5
34549 echo "${ECHO_T}not found" >&6; }
34553 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34554 CFLAGS
="$save_CFLAGS"
34559 if test "$wxUSE_MAC" = 1; then
34560 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34561 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34562 if test "$GCC" = yes; then
34563 { echo "$as_me:$LINENO: result: gcc" >&5
34564 echo "${ECHO_T}gcc" >&6; }
34565 CPPFLAGS_PASCAL
="-fpascal-strings"
34566 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34567 { echo "$as_me:$LINENO: result: xlc" >&5
34568 echo "${ECHO_T}xlc" >&6; }
34569 CPPFLAGS_PASCAL
="-qmacpstr"
34571 { echo "$as_me:$LINENO: result: none" >&5
34572 echo "${ECHO_T}none" >&6; }
34575 if test "x$wxUSE_UNIX" = "xyes"; then
34576 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34578 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34583 WXBASEPORT
="_carbon"
34586 if test "$wxUSE_COCOA" = 1; then
34591 if test "$wxUSE_PM" = 1; then
34594 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34595 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34596 if test "${wx_cv_spbcdata+set}" = set; then
34597 echo $ECHO_N "(cached) $ECHO_C" >&6
34600 cat >conftest.
$ac_ext <<_ACEOF
34603 cat confdefs.h
>>conftest.
$ac_ext
34604 cat >>conftest.
$ac_ext <<_ACEOF
34605 /* end confdefs.h. */
34620 rm -f conftest.
$ac_objext
34621 if { (ac_try
="$ac_compile"
34622 case "(($ac_try" in
34623 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34624 *) ac_try_echo=$ac_try;;
34626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34627 (eval "$ac_compile") 2>conftest.er1
34629 grep -v '^ *+' conftest.er1 >conftest.err
34631 cat conftest.err >&5
34632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34633 (exit $ac_status); } && {
34634 test -z "$ac_c_werror_flag" ||
34635 test ! -s conftest.err
34636 } && test -s conftest.$ac_objext; then
34639 echo "$as_me: failed program was:" >&5
34640 sed 's/^/| /' conftest.$ac_ext >&5
34646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34650 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34651 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34653 if test $wx_cv_spbcdata = "yes"; then
34654 cat >>confdefs.h <<\_ACEOF
34655 #define HAVE_SPBCDATA 1
34661 if test "$TOOLKIT" = "PM" ; then
34664 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34667 if test "$wxUSE_UNIVERSAL" = "yes"; then
34668 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34672 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34673 DISTDIR="wx\$(TOOLKIT)"
34679 if test "$USE_WIN32" = 1 ; then
34683 GUIDIST="BASE_DIST"
34689 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34690 if test "$TOOLKIT" = "DFB" ; then
34691 wxUSE_UNICODE_UTF8=yes
34692 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34693 wxUSE_UNICODE_UTF8=yes
34694 elif test "$USE_OS2" = "1" ; then
34695 wxUSE_UNICODE_UTF8=yes
34697 wxUSE_UNICODE_UTF8=no
34702 if test "$wxUSE_GUI" = "yes"; then
34703 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34705 for ac_header in X11/Xlib.h
34707 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34708 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34710 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34711 echo $ECHO_N "(cached) $ECHO_C" >&6
34713 cat >conftest.$ac_ext <<_ACEOF
34716 cat confdefs.h >>conftest.$ac_ext
34717 cat >>conftest.$ac_ext <<_ACEOF
34718 /* end confdefs.h. */
34721 #include <$ac_header>
34723 rm -f conftest.$ac_objext
34724 if { (ac_try="$ac_compile"
34725 case "(($ac_try" in
34726 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34727 *) ac_try_echo
=$ac_try;;
34729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34730 (eval "$ac_compile") 2>conftest.er1
34732 grep -v '^ *+' conftest.er1
>conftest.err
34734 cat conftest.err
>&5
34735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34736 (exit $ac_status); } && {
34737 test -z "$ac_c_werror_flag" ||
34738 test ! -s conftest.err
34739 } && test -s conftest.
$ac_objext; then
34740 eval "$as_ac_Header=yes"
34742 echo "$as_me: failed program was:" >&5
34743 sed 's/^/| /' conftest.
$ac_ext >&5
34745 eval "$as_ac_Header=no"
34748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34750 ac_res
=`eval echo '${'$as_ac_Header'}'`
34751 { echo "$as_me:$LINENO: result: $ac_res" >&5
34752 echo "${ECHO_T}$ac_res" >&6; }
34753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34754 cat >>confdefs.h
<<_ACEOF
34755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34763 for ac_header
in X
11/XKBlib.h
34765 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34766 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34768 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34769 echo $ECHO_N "(cached) $ECHO_C" >&6
34771 cat >conftest.
$ac_ext <<_ACEOF
34774 cat confdefs.h
>>conftest.
$ac_ext
34775 cat >>conftest.
$ac_ext <<_ACEOF
34776 /* end confdefs.h. */
34778 #if HAVE_X11_XLIB_H
34779 #include <X11/Xlib.h>
34783 #include <$ac_header>
34785 rm -f conftest.
$ac_objext
34786 if { (ac_try
="$ac_compile"
34787 case "(($ac_try" in
34788 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34789 *) ac_try_echo=$ac_try;;
34791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34792 (eval "$ac_compile") 2>conftest.er1
34794 grep -v '^ *+' conftest.er1 >conftest.err
34796 cat conftest.err >&5
34797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34798 (exit $ac_status); } && {
34799 test -z "$ac_c_werror_flag" ||
34800 test ! -s conftest.err
34801 } && test -s conftest.$ac_objext; then
34802 eval "$as_ac_Header=yes"
34804 echo "$as_me: failed program was:" >&5
34805 sed 's/^/| /' conftest.$ac_ext >&5
34807 eval "$as_ac_Header=no"
34810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34812 ac_res=`eval echo '${'$as_ac_Header'}'`
34813 { echo "$as_me:$LINENO: result: $ac_res" >&5
34814 echo "${ECHO_T}$ac_res" >&6; }
34815 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34816 cat >>confdefs.h <<_ACEOF
34817 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34832 if test "$TOOLKIT" != "MSW" ; then
34834 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34836 { echo "$as_me:$LINENO: checking for sql.h" >&5
34837 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
34838 if test "${ac_cv_header_sql_h+set}" = set; then
34839 echo $ECHO_N "(cached) $ECHO_C" >&6
34841 cat >conftest.$ac_ext <<_ACEOF
34844 cat confdefs.h >>conftest.$ac_ext
34845 cat >>conftest.$ac_ext <<_ACEOF
34846 /* end confdefs.h. */
34851 rm -f conftest.$ac_objext
34852 if { (ac_try="$ac_compile"
34853 case "(($ac_try" in
34854 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34855 *) ac_try_echo
=$ac_try;;
34857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34858 (eval "$ac_compile") 2>conftest.er1
34860 grep -v '^ *+' conftest.er1
>conftest.err
34862 cat conftest.err
>&5
34863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34864 (exit $ac_status); } && {
34865 test -z "$ac_c_werror_flag" ||
34866 test ! -s conftest.err
34867 } && test -s conftest.
$ac_objext; then
34868 ac_cv_header_sql_h
=yes
34870 echo "$as_me: failed program was:" >&5
34871 sed 's/^/| /' conftest.
$ac_ext >&5
34873 ac_cv_header_sql_h
=no
34876 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34878 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
34879 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
34880 if test $ac_cv_header_sql_h = yes; then
34885 if test "x$found_sql_h" = "x1" ; then
34886 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
34887 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
34888 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
34889 echo $ECHO_N "(cached) $ECHO_C" >&6
34891 ac_check_lib_save_LIBS
=$LIBS
34892 LIBS
="-liodbc $LIBS"
34893 cat >conftest.
$ac_ext <<_ACEOF
34896 cat confdefs.h
>>conftest.
$ac_ext
34897 cat >>conftest.
$ac_ext <<_ACEOF
34898 /* end confdefs.h. */
34900 /* Override any GCC internal prototype to avoid an error.
34901 Use char because int might match the return type of a GCC
34902 builtin and then its argument prototype would still apply. */
34906 char SQLAllocEnv ();
34910 return SQLAllocEnv ();
34915 rm -f conftest.
$ac_objext conftest
$ac_exeext
34916 if { (ac_try
="$ac_link"
34917 case "(($ac_try" in
34918 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34919 *) ac_try_echo=$ac_try;;
34921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34922 (eval "$ac_link") 2>conftest.er1
34924 grep -v '^ *+' conftest.er1 >conftest.err
34926 cat conftest.err >&5
34927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34928 (exit $ac_status); } && {
34929 test -z "$ac_c_werror_flag" ||
34930 test ! -s conftest.err
34931 } && test -s conftest$ac_exeext &&
34932 $as_test_x conftest$ac_exeext; then
34933 ac_cv_lib_iodbc_SQLAllocEnv=yes
34935 echo "$as_me: failed program was:" >&5
34936 sed 's/^/| /' conftest.$ac_ext >&5
34938 ac_cv_lib_iodbc_SQLAllocEnv=no
34941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34942 conftest$ac_exeext conftest.$ac_ext
34943 LIBS=$ac_check_lib_save_LIBS
34945 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
34946 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
34947 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
34948 ODBC_LINK=" -liodbc"
34951 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
34952 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
34953 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
34954 echo $ECHO_N "(cached) $ECHO_C" >&6
34956 ac_check_lib_save_LIBS=$LIBS
34957 LIBS="-lunixodbc $LIBS"
34958 cat >conftest.$ac_ext <<_ACEOF
34961 cat confdefs.h >>conftest.$ac_ext
34962 cat >>conftest.$ac_ext <<_ACEOF
34963 /* end confdefs.h. */
34965 /* Override any GCC internal prototype to avoid an error.
34966 Use char because int might match the return type of a GCC
34967 builtin and then its argument prototype would still apply. */
34971 char SQLAllocEnv ();
34975 return SQLAllocEnv ();
34980 rm -f conftest.$ac_objext conftest$ac_exeext
34981 if { (ac_try="$ac_link"
34982 case "(($ac_try" in
34983 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34984 *) ac_try_echo
=$ac_try;;
34986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34987 (eval "$ac_link") 2>conftest.er1
34989 grep -v '^ *+' conftest.er1
>conftest.err
34991 cat conftest.err
>&5
34992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34993 (exit $ac_status); } && {
34994 test -z "$ac_c_werror_flag" ||
34995 test ! -s conftest.err
34996 } && test -s conftest
$ac_exeext &&
34997 $as_test_x conftest
$ac_exeext; then
34998 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
35000 echo "$as_me: failed program was:" >&5
35001 sed 's/^/| /' conftest.
$ac_ext >&5
35003 ac_cv_lib_unixodbc_SQLAllocEnv
=no
35006 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35007 conftest
$ac_exeext conftest.
$ac_ext
35008 LIBS
=$ac_check_lib_save_LIBS
35010 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35011 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35012 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35013 ODBC_LINK
=" -lunixodbc"
35016 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35017 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35018 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35019 echo $ECHO_N "(cached) $ECHO_C" >&6
35021 ac_check_lib_save_LIBS
=$LIBS
35022 LIBS
="-lodbc $LIBS"
35023 cat >conftest.
$ac_ext <<_ACEOF
35026 cat confdefs.h
>>conftest.
$ac_ext
35027 cat >>conftest.
$ac_ext <<_ACEOF
35028 /* end confdefs.h. */
35030 /* Override any GCC internal prototype to avoid an error.
35031 Use char because int might match the return type of a GCC
35032 builtin and then its argument prototype would still apply. */
35036 char SQLAllocEnv ();
35040 return SQLAllocEnv ();
35045 rm -f conftest.
$ac_objext conftest
$ac_exeext
35046 if { (ac_try
="$ac_link"
35047 case "(($ac_try" in
35048 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35049 *) ac_try_echo=$ac_try;;
35051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35052 (eval "$ac_link") 2>conftest.er1
35054 grep -v '^ *+' conftest.er1 >conftest.err
35056 cat conftest.err >&5
35057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35058 (exit $ac_status); } && {
35059 test -z "$ac_c_werror_flag" ||
35060 test ! -s conftest.err
35061 } && test -s conftest$ac_exeext &&
35062 $as_test_x conftest$ac_exeext; then
35063 ac_cv_lib_odbc_SQLAllocEnv=yes
35065 echo "$as_me: failed program was:" >&5
35066 sed 's/^/| /' conftest.$ac_ext >&5
35068 ac_cv_lib_odbc_SQLAllocEnv=no
35071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35072 conftest$ac_exeext conftest.$ac_ext
35073 LIBS=$ac_check_lib_save_LIBS
35075 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35076 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35077 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35078 ODBC_LINK=" -lodbc"
35088 if test "x$ODBC_LINK" = "x" ; then
35089 if test "$wxUSE_ODBC" = "sys" ; then
35090 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35091 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35092 { (exit 1); exit 1; }; }
35094 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35095 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35103 if test "$wxUSE_ODBC" = "builtin" ; then
35104 cat >>confdefs.h <<\_ACEOF
35105 #define wxUSE_BUILTIN_IODBC 1
35111 if test "$wxUSE_ODBC" != "no" ; then
35112 cat >>confdefs.h <<\_ACEOF
35113 #define wxUSE_ODBC 1
35116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35118 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35122 if test "$wxUSE_DISPLAY" = "yes"; then
35123 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35124 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35125 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35128 for ac_dir in $SEARCH_LIB;
35130 for ac_extension in a so sl dylib dll.a; do
35131 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35132 ac_find_libraries=$ac_dir
35138 if test "$ac_find_libraries" != "" ; then
35140 if test "$ac_find_libraries" = "default location"; then
35143 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35145 if test $result = 0; then
35148 ac_path_to_link=" -L$ac_find_libraries"
35152 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35153 LDFLAGS="$LDFLAGS $ac_path_to_link"
35155 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35156 { echo "$as_me:$LINENO: result: yes" >&5
35157 echo "${ECHO_T}yes" >&6; }
35159 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35160 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35163 for ac_dir in $SEARCH_LIB;
35165 for ac_extension in a so sl dylib dll.a; do
35166 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35167 ac_find_libraries=$ac_dir
35173 if test "$ac_find_libraries" != "" ; then
35174 { echo "$as_me:$LINENO: result: yes" >&5
35175 echo "${ECHO_T}yes" >&6; }
35177 for ac_header in X11/extensions/xf86vmode.h
35179 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35180 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35182 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35183 echo $ECHO_N "(cached) $ECHO_C" >&6
35185 cat >conftest.$ac_ext <<_ACEOF
35188 cat confdefs.h >>conftest.$ac_ext
35189 cat >>conftest.$ac_ext <<_ACEOF
35190 /* end confdefs.h. */
35192 #if HAVE_X11_XLIB_H
35193 #include <X11/Xlib.h>
35197 #include <$ac_header>
35199 rm -f conftest.$ac_objext
35200 if { (ac_try="$ac_compile"
35201 case "(($ac_try" in
35202 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35203 *) ac_try_echo
=$ac_try;;
35205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35206 (eval "$ac_compile") 2>conftest.er1
35208 grep -v '^ *+' conftest.er1
>conftest.err
35210 cat conftest.err
>&5
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); } && {
35213 test -z "$ac_c_werror_flag" ||
35214 test ! -s conftest.err
35215 } && test -s conftest.
$ac_objext; then
35216 eval "$as_ac_Header=yes"
35218 echo "$as_me: failed program was:" >&5
35219 sed 's/^/| /' conftest.
$ac_ext >&5
35221 eval "$as_ac_Header=no"
35224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35226 ac_res
=`eval echo '${'$as_ac_Header'}'`
35227 { echo "$as_me:$LINENO: result: $ac_res" >&5
35228 echo "${ECHO_T}$ac_res" >&6; }
35229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35230 cat >>confdefs.h
<<_ACEOF
35231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35234 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
35241 { echo "$as_me:$LINENO: result: no" >&5
35242 echo "${ECHO_T}no" >&6; }
35246 { echo "$as_me:$LINENO: result: no" >&5
35247 echo "${ECHO_T}no" >&6; }
35248 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35249 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35252 elif test "$wxUSE_MSW" = 1; then
35253 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35254 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35255 if test "${ac_cv_header_ddraw_h+set}" = set; then
35256 echo $ECHO_N "(cached) $ECHO_C" >&6
35258 cat >conftest.
$ac_ext <<_ACEOF
35261 cat confdefs.h
>>conftest.
$ac_ext
35262 cat >>conftest.
$ac_ext <<_ACEOF
35263 /* end confdefs.h. */
35264 #include <windows.h>
35268 rm -f conftest.
$ac_objext
35269 if { (ac_try
="$ac_compile"
35270 case "(($ac_try" in
35271 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35272 *) ac_try_echo=$ac_try;;
35274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35275 (eval "$ac_compile") 2>conftest.er1
35277 grep -v '^ *+' conftest.er1 >conftest.err
35279 cat conftest.err >&5
35280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35281 (exit $ac_status); } && {
35282 test -z "$ac_c_werror_flag" ||
35283 test ! -s conftest.err
35284 } && test -s conftest.$ac_objext; then
35285 ac_cv_header_ddraw_h=yes
35287 echo "$as_me: failed program was:" >&5
35288 sed 's/^/| /' conftest.$ac_ext >&5
35290 ac_cv_header_ddraw_h=no
35293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35295 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35296 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35302 if test "$wxUSE_DETECT_SM" = "yes"; then
35303 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35304 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35305 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35308 for ac_dir in $SEARCH_LIB;
35310 for ac_extension in a so sl dylib dll.a; do
35311 if test -f "$ac_dir/libSM.$ac_extension"; then
35312 ac_find_libraries=$ac_dir
35318 if test "$ac_find_libraries" != "" ; then
35320 if test "$ac_find_libraries" = "default location"; then
35323 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35325 if test $result = 0; then
35328 ac_path_to_link=" -L$ac_find_libraries"
35332 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35333 LDFLAGS="$LDFLAGS $ac_path_to_link"
35335 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35336 { echo "$as_me:$LINENO: result: yes" >&5
35337 echo "${ECHO_T}yes" >&6; }
35339 { echo "$as_me:$LINENO: result: no" >&5
35340 echo "${ECHO_T}no" >&6; }
35341 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35342 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35343 wxUSE_DETECT_SM="no"
35346 wxUSE_DETECT_SM="no"
35353 if test "$wxUSE_OPENGL" = "yes"; then
35354 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35355 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35356 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35358 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35359 OPENGL_LIBS="-framework OpenGL -framework AGL"
35360 elif test "$wxUSE_MSW" = 1; then
35361 OPENGL_LIBS="-lopengl32 -lglu32"
35363 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35364 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35367 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35369 if test -f "$ac_dir/GL/gl.h"; then
35370 ac_find_includes=$ac_dir
35375 if test "$ac_find_includes" != "" ; then
35376 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35377 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35379 if test "x$ac_find_includes" = "x/usr/include"; then
35380 ac_path_to_include=""
35382 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35384 if test $result = 0; then
35385 ac_path_to_include=""
35387 ac_path_to_include=" -I$ac_find_includes"
35391 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35393 { echo "$as_me:$LINENO: result: not found" >&5
35394 echo "${ECHO_T}not found" >&6; }
35397 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35398 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35399 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35400 echo $ECHO_N "(cached) $ECHO_C" >&6
35402 cat >conftest.$ac_ext <<_ACEOF
35405 cat confdefs.h >>conftest.$ac_ext
35406 cat >>conftest.$ac_ext <<_ACEOF
35407 /* end confdefs.h. */
35412 rm -f conftest.$ac_objext
35413 if { (ac_try="$ac_compile"
35414 case "(($ac_try" in
35415 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35416 *) ac_try_echo
=$ac_try;;
35418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35419 (eval "$ac_compile") 2>conftest.er1
35421 grep -v '^ *+' conftest.er1
>conftest.err
35423 cat conftest.err
>&5
35424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35425 (exit $ac_status); } && {
35426 test -z "$ac_c_werror_flag" ||
35427 test ! -s conftest.err
35428 } && test -s conftest.
$ac_objext; then
35429 ac_cv_header_GL_gl_h
=yes
35431 echo "$as_me: failed program was:" >&5
35432 sed 's/^/| /' conftest.
$ac_ext >&5
35434 ac_cv_header_GL_gl_h
=no
35437 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35439 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35440 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35441 if test $ac_cv_header_GL_gl_h = yes; then
35443 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35444 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35445 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35446 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35447 echo $ECHO_N "(cached) $ECHO_C" >&6
35449 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35450 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35452 # Is the header compilable?
35453 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35454 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35455 cat >conftest.
$ac_ext <<_ACEOF
35458 cat confdefs.h
>>conftest.
$ac_ext
35459 cat >>conftest.
$ac_ext <<_ACEOF
35460 /* end confdefs.h. */
35461 $ac_includes_default
35462 #include <GL/glu.h>
35464 rm -f conftest.
$ac_objext
35465 if { (ac_try
="$ac_compile"
35466 case "(($ac_try" in
35467 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35468 *) ac_try_echo=$ac_try;;
35470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35471 (eval "$ac_compile") 2>conftest.er1
35473 grep -v '^ *+' conftest.er1 >conftest.err
35475 cat conftest.err >&5
35476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35477 (exit $ac_status); } && {
35478 test -z "$ac_c_werror_flag" ||
35479 test ! -s conftest.err
35480 } && test -s conftest.$ac_objext; then
35481 ac_header_compiler=yes
35483 echo "$as_me: failed program was:" >&5
35484 sed 's/^/| /' conftest.$ac_ext >&5
35486 ac_header_compiler=no
35489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35490 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35491 echo "${ECHO_T}$ac_header_compiler" >&6; }
35493 # Is the header present?
35494 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35495 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35496 cat >conftest.$ac_ext <<_ACEOF
35499 cat confdefs.h >>conftest.$ac_ext
35500 cat >>conftest.$ac_ext <<_ACEOF
35501 /* end confdefs.h. */
35502 #include <GL/glu.h>
35504 if { (ac_try="$ac_cpp conftest.$ac_ext"
35505 case "(($ac_try" in
35506 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35507 *) ac_try_echo
=$ac_try;;
35509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35512 grep -v '^ *+' conftest.er1
>conftest.err
35514 cat conftest.err
>&5
35515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35516 (exit $ac_status); } >/dev
/null
&& {
35517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35518 test ! -s conftest.err
35520 ac_header_preproc
=yes
35522 echo "$as_me: failed program was:" >&5
35523 sed 's/^/| /' conftest.
$ac_ext >&5
35525 ac_header_preproc
=no
35528 rm -f conftest.err conftest.
$ac_ext
35529 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35530 echo "${ECHO_T}$ac_header_preproc" >&6; }
35532 # So? What about this header?
35533 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35535 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35536 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35537 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35538 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35539 ac_header_preproc
=yes
35542 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35543 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35544 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35545 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35546 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35547 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35548 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35549 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35550 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35551 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35552 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35553 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35555 ## ----------------------------------------- ##
35556 ## Report this to wx-dev@lists.wxwidgets.org ##
35557 ## ----------------------------------------- ##
35559 ) | sed "s/^/$as_me: WARNING: /" >&2
35562 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35563 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35564 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35565 echo $ECHO_N "(cached) $ECHO_C" >&6
35567 ac_cv_header_GL_glu_h
=$ac_header_preproc
35569 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35570 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35573 if test $ac_cv_header_GL_glu_h = yes; then
35577 { echo "$as_me:$LINENO: checking for -lGL" >&5
35578 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35581 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
35583 for ac_extension
in a so sl dylib dll.a
; do
35584 if test -f "$ac_dir/libGL.$ac_extension"; then
35585 ac_find_libraries
=$ac_dir
35591 if test "$ac_find_libraries" != "" ; then
35592 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35593 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35596 if test "$ac_find_libraries" = "default location"; then
35599 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35601 if test $result = 0; then
35604 ac_path_to_link
=" -L$ac_find_libraries"
35608 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35609 LDFLAGS_GL
="$ac_path_to_link"
35612 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35613 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35616 for ac_dir
in $SEARCH_LIB;
35618 for ac_extension
in a so sl dylib dll.a
; do
35619 if test -f "$ac_dir/libGLU.$ac_extension"; then
35620 ac_find_libraries
=$ac_dir
35626 if test "$ac_find_libraries" != "" ; then
35628 if test "$ac_find_libraries" = "default location"; then
35631 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35633 if test $result = 0; then
35636 ac_path_to_link
=" -L$ac_find_libraries"
35640 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35641 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35642 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
35646 OPENGL_LIBS
="-lGL -lGLU"
35647 { echo "$as_me:$LINENO: result: yes" >&5
35648 echo "${ECHO_T}yes" >&6; }
35650 { echo "$as_me:$LINENO: result: no" >&5
35651 echo "${ECHO_T}no" >&6; }
35654 { echo "$as_me:$LINENO: result: no" >&5
35655 echo "${ECHO_T}no" >&6; }
35658 if test "$found_gl" != 1; then
35659 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35660 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35663 for ac_dir
in $SEARCH_LIB;
35665 for ac_extension
in a so sl dylib dll.a
; do
35666 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35667 ac_find_libraries
=$ac_dir
35673 if test "$ac_find_libraries" != "" ; then
35675 if test "$ac_find_libraries" = "default location"; then
35678 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35680 if test $result = 0; then
35683 ac_path_to_link
=" -L$ac_find_libraries"
35687 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
35688 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
35689 { echo "$as_me:$LINENO: result: yes" >&5
35690 echo "${ECHO_T}yes" >&6; }
35692 { echo "$as_me:$LINENO: result: no" >&5
35693 echo "${ECHO_T}no" >&6; }
35705 if test "x$OPENGL_LIBS" = "x"; then
35706 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35707 echo "$as_me: error: OpenGL libraries not available" >&2;}
35708 { (exit 1); exit 1; }; }
35712 if test "$wxUSE_OPENGL" = "yes"; then
35714 cat >>confdefs.h
<<\_ACEOF
35715 #define wxUSE_OPENGL 1
35718 cat >>confdefs.h
<<\_ACEOF
35719 #define wxUSE_GLCANVAS 1
35722 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35727 if test -n "$TOOLKIT" ; then
35728 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35733 if test "$wxUSE_SHARED" = "yes"; then
35737 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35738 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35743 if test "$wxUSE_SHARED" = "yes"; then
35747 *-*-cygwin* | *-*-mingw* )
35748 wx_cv_version_script
=no
35752 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35753 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35754 if test "${wx_cv_version_script+set}" = set; then
35755 echo $ECHO_N "(cached) $ECHO_C" >&6
35758 echo "VER_1 { *; };" >conftest.sym
35759 echo "int main() { return 0; }" >conftest.cpp
35762 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35763 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35765 (eval $ac_try) 2>&5
35767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35768 (exit $ac_status); }; } ; then
35769 if test -s conftest.stderr
; then
35770 wx_cv_version_script
=no
35772 wx_cv_version_script
=yes
35775 wx_cv_version_script
=no
35778 if test $wx_cv_version_script = yes
35780 echo "struct B { virtual ~B() { } }; \
35781 struct D : public B { }; \
35782 void F() { D d; }" > conftest.cpp
35785 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35786 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35788 (eval $ac_try) 2>&5
35790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35791 (exit $ac_status); }; } &&
35793 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35794 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35796 (eval $ac_try) 2>&5
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); }; }
35802 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35803 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35805 (eval $ac_try) 2>&5
35807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35808 (exit $ac_status); }; }
35810 wx_cv_version_script
=yes
35812 wx_cv_version_script
=no
35817 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35818 rm -f conftest1.output conftest2.output conftest3.output
35821 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35822 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35824 if test $wx_cv_version_script = yes ; then
35825 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35831 if test "$wxUSE_VISIBILITY" != "no"; then
35834 if test -n "$GCC"; then
35835 CFLAGS_VISIBILITY
="-fvisibility=hidden"
35836 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
35837 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35838 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35839 if test "${wx_cv_cc_visibility+set}" = set; then
35840 echo $ECHO_N "(cached) $ECHO_C" >&6
35843 wx_save_CXXFLAGS
="$CXXFLAGS"
35844 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35846 ac_cpp
='$CXXCPP $CPPFLAGS'
35847 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35848 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35849 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35851 cat >conftest.
$ac_ext <<_ACEOF
35854 cat confdefs.h
>>conftest.
$ac_ext
35855 cat >>conftest.
$ac_ext <<_ACEOF
35856 /* end confdefs.h. */
35858 /* we need gcc >= 4.0, older versions with visibility support
35859 didn't have class visibility: */
35860 #if defined(__GNUC__) && __GNUC__ < 4
35861 error this gcc is too old;
35864 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35865 extern __attribute__((__visibility__("default"))) int exportedvar;
35866 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35867 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35868 class __attribute__((__visibility__("default"))) Foo {
35880 rm -f conftest.
$ac_objext
35881 if { (ac_try
="$ac_compile"
35882 case "(($ac_try" in
35883 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35884 *) ac_try_echo=$ac_try;;
35886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35887 (eval "$ac_compile") 2>conftest.er1
35889 grep -v '^ *+' conftest.er1 >conftest.err
35891 cat conftest.err >&5
35892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35893 (exit $ac_status); } && {
35894 test -z "$ac_cxx_werror_flag" ||
35895 test ! -s conftest.err
35896 } && test -s conftest.$ac_objext; then
35897 wx_cv_cc_visibility=yes
35899 echo "$as_me: failed program was:" >&5
35900 sed 's/^/| /' conftest.$ac_ext >&5
35902 wx_cv_cc_visibility=no
35905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35907 ac_cpp='$CPP $CPPFLAGS'
35908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35912 CXXFLAGS="$wx_save_CXXFLAGS"
35915 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35916 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35917 if test $wx_cv_cc_visibility = yes; then
35918 cat >>confdefs.h <<\_ACEOF
35919 #define HAVE_VISIBILITY 1
35923 CFLAGS_VISIBILITY=""
35924 CXXFLAGS_VISIBILITY=""
35932 if test "x$SUNCXX" = xyes; then
35933 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35934 WXCONFIG_RPATH="-R\$libdir"
35937 *-*-linux* | *-*-gnu* )
35938 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35939 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35944 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35946 saveLdflags="$LDFLAGS"
35947 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35948 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35949 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35950 cat >conftest.$ac_ext <<_ACEOF
35953 cat confdefs.h >>conftest.$ac_ext
35954 cat >>conftest.$ac_ext <<_ACEOF
35955 /* end confdefs.h. */
35965 rm -f conftest.$ac_objext conftest$ac_exeext
35966 if { (ac_try="$ac_link"
35967 case "(($ac_try" in
35968 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35969 *) ac_try_echo
=$ac_try;;
35971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35972 (eval "$ac_link") 2>conftest.er1
35974 grep -v '^ *+' conftest.er1
>conftest.err
35976 cat conftest.err
>&5
35977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35978 (exit $ac_status); } && {
35979 test -z "$ac_c_werror_flag" ||
35980 test ! -s conftest.err
35981 } && test -s conftest
$ac_exeext &&
35982 $as_test_x conftest
$ac_exeext; then
35984 { echo "$as_me:$LINENO: result: yes" >&5
35985 echo "${ECHO_T}yes" >&6; }
35986 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
35987 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
35990 echo "$as_me: failed program was:" >&5
35991 sed 's/^/| /' conftest.
$ac_ext >&5
35994 { echo "$as_me:$LINENO: result: no" >&5
35995 echo "${ECHO_T}no" >&6; }
35996 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35997 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35998 LDFLAGS
="$saveLdflags -Wl,-R,/"
35999 cat >conftest.
$ac_ext <<_ACEOF
36002 cat confdefs.h
>>conftest.
$ac_ext
36003 cat >>conftest.
$ac_ext <<_ACEOF
36004 /* end confdefs.h. */
36014 rm -f conftest.
$ac_objext conftest
$ac_exeext
36015 if { (ac_try
="$ac_link"
36016 case "(($ac_try" in
36017 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36018 *) ac_try_echo=$ac_try;;
36020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36021 (eval "$ac_link") 2>conftest.er1
36023 grep -v '^ *+' conftest.er1 >conftest.err
36025 cat conftest.err >&5
36026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36027 (exit $ac_status); } && {
36028 test -z "$ac_c_werror_flag" ||
36029 test ! -s conftest.err
36030 } && test -s conftest$ac_exeext &&
36031 $as_test_x conftest$ac_exeext; then
36033 { echo "$as_me:$LINENO: result: yes" >&5
36034 echo "${ECHO_T}yes" >&6; }
36035 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36036 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36039 echo "$as_me: failed program was:" >&5
36040 sed 's/^/| /' conftest.$ac_ext >&5
36043 { echo "$as_me:$LINENO: result: no" >&5
36044 echo "${ECHO_T}no" >&6; }
36048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36049 conftest$ac_exeext conftest.$ac_ext
36053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36054 conftest$ac_exeext conftest.$ac_ext
36055 LDFLAGS="$saveLdflags"
36059 install_name_tool=`which install_name_tool
`
36060 if test "$install_name_tool" -a -x "$install_name_tool"; then
36061 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36062 cat <<EOF >change-install-names
36064 libnames=\`cd \
${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\
`
36065 inst_cmd="install_name_tool "
36066 for i in \${libnames} ; do
36067 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36071 chmod +x change-install-names
36075 *-*-cygwin* | *-*-mingw32* )
36076 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36080 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36081 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36087 if test $wxUSE_RPATH = "no"; then
36088 SAMPLES_RPATH_FLAG=''
36089 SAMPLES_RPATH_POSTLINK=''
36097 config_linkage_component="-static"
36104 lib_unicode_suffix=
36106 if test "$wxUSE_UNICODE" = "yes"; then
36107 lib_unicode_suffix=u
36108 WX_CHARTYPE="unicode"
36113 WX_DEBUGTYPE="release"
36115 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36117 WX_DEBUGTYPE="debug"
36121 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36122 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36125 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36129 WX_VERSION_TAG=`echo WX
${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_
${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36131 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36133 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36135 if test "$cross_compiling" = "yes"; then
36136 HOST_SUFFIX="-$host_alias"
36137 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36138 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36141 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36142 if test "${TOOLKIT_DIR}" = "os2"; then
36143 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36145 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36150 if test "$wxUSE_COCOA" = 1; then
36153 ac_cpp='$CPP $CPPFLAGS'
36154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36160 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36161 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36162 cat >conftest.$ac_ext <<_ACEOF
36165 cat confdefs.h >>conftest.$ac_ext
36166 cat >>conftest.$ac_ext <<_ACEOF
36167 /* end confdefs.h. */
36168 #include <AppKit/NSEvent.h>
36169 #include <CoreFoundation/CoreFoundation.h>
36179 rm -f conftest.$ac_objext
36180 if { (ac_try="$ac_compile"
36181 case "(($ac_try" in
36182 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36183 *) ac_try_echo
=$ac_try;;
36185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36186 (eval "$ac_compile") 2>conftest.er1
36188 grep -v '^ *+' conftest.er1
>conftest.err
36190 cat conftest.err
>&5
36191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36192 (exit $ac_status); } && {
36193 test -z "$ac_c_werror_flag" ||
36194 test ! -s conftest.err
36195 } && test -s conftest.
$ac_objext; then
36196 { echo "$as_me:$LINENO: result: no" >&5
36197 echo "${ECHO_T}no" >&6; }
36199 echo "$as_me: failed program was:" >&5
36200 sed 's/^/| /' conftest.
$ac_ext >&5
36202 { echo "$as_me:$LINENO: result: yes" >&5
36203 echo "${ECHO_T}yes" >&6; }
36204 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36205 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36206 cat >conftest.
$ac_ext <<_ACEOF
36209 cat confdefs.h
>>conftest.
$ac_ext
36210 cat >>conftest.
$ac_ext <<_ACEOF
36211 /* end confdefs.h. */
36212 #define __Point__ 1
36213 #include <AppKit/NSEvent.h>
36214 #include <CoreFoundation/CoreFoundation.h>
36224 rm -f conftest.
$ac_objext
36225 if { (ac_try
="$ac_compile"
36226 case "(($ac_try" in
36227 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36228 *) ac_try_echo=$ac_try;;
36230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36231 (eval "$ac_compile") 2>conftest.er1
36233 grep -v '^ *+' conftest.er1 >conftest.err
36235 cat conftest.err >&5
36236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36237 (exit $ac_status); } && {
36238 test -z "$ac_c_werror_flag" ||
36239 test ! -s conftest.err
36240 } && test -s conftest.$ac_objext; then
36241 { echo "$as_me:$LINENO: result: yes" >&5
36242 echo "${ECHO_T}yes" >&6; }
36243 cat >>confdefs.h <<\_ACEOF
36244 #define __Point__ 1
36249 echo "$as_me: failed program was:" >&5
36250 sed 's/^/| /' conftest.$ac_ext >&5
36252 { { echo "$as_me:$LINENO: error: no
36253 See \`config.log
' for more details." >&5
36254 echo "$as_me: error: no
36255 See \`config.log' for more details.
" >&2;}
36256 { (exit 1); exit 1; }; }
36260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36266 ac_cpp='$CPP $CPPFLAGS'
36267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36273 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36274 WX_RESOURCES_MACOSX_ASCII="libwx_
${TOOLCHAIN_NAME}.
${wx_release_number}.r
"
36275 WX_RESOURCES_MACOSX_DATA="libwx_
${TOOLCHAIN_NAME}.
${wx_release_number}.rsrc
"
36277 LIBWXMACRES="\
$(wx_top_builddir)/lib
/${WX_RESOURCES_MACOSX_ASCII}"
36279 # Extract the first word of "Rez
", so it can be a program name with args.
36280 set dummy Rez; ac_word=$2
36281 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
36282 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
36283 if test "${ac_cv_prog_REZ+set}" = set; then
36284 echo $ECHO_N "(cached
) $ECHO_C" >&6
36286 if test -n "$REZ"; then
36287 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36290 for as_dir in $PATH
36293 test -z "$as_dir" && as_dir=.
36294 for ac_exec_ext in '' $ac_executable_extensions; do
36295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36296 ac_cv_prog_REZ="Rez
"
36297 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
36304 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer
/Tools
/Rez
"
36307 REZ=$ac_cv_prog_REZ
36308 if test -n "$REZ"; then
36309 { echo "$as_me:$LINENO: result
: $REZ" >&5
36310 echo "${ECHO_T}$REZ" >&6; }
36312 { echo "$as_me:$LINENO: result
: no
" >&5
36313 echo "${ECHO_T}no
" >&6; }
36317 # Extract the first word of "DeRez
", so it can be a program name with args.
36318 set dummy DeRez; ac_word=$2
36319 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
36320 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
36321 if test "${ac_cv_prog_DEREZ+set}" = set; then
36322 echo $ECHO_N "(cached
) $ECHO_C" >&6
36324 if test -n "$DEREZ"; then
36325 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36328 for as_dir in $PATH
36331 test -z "$as_dir" && as_dir=.
36332 for ac_exec_ext in '' $ac_executable_extensions; do
36333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36334 ac_cv_prog_DEREZ="DeRez
"
36335 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
36342 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer
/Tools
/DeRez
"
36345 DEREZ=$ac_cv_prog_DEREZ
36346 if test -n "$DEREZ"; then
36347 { echo "$as_me:$LINENO: result
: $DEREZ" >&5
36348 echo "${ECHO_T}$DEREZ" >&6; }
36350 { echo "$as_me:$LINENO: result
: no
" >&5
36351 echo "${ECHO_T}no
" >&6; }
36355 # Extract the first word of "SetFile
", so it can be a program name with args.
36356 set dummy SetFile; ac_word=$2
36357 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
36358 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
36359 if test "${ac_cv_prog_SETFILE+set}" = set; then
36360 echo $ECHO_N "(cached
) $ECHO_C" >&6
36362 if test -n "$SETFILE"; then
36363 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36366 for as_dir in $PATH
36369 test -z "$as_dir" && as_dir=.
36370 for ac_exec_ext in '' $ac_executable_extensions; do
36371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36372 ac_cv_prog_SETFILE="SetFile
"
36373 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
36380 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer
/Tools
/SetFile
"
36383 SETFILE=$ac_cv_prog_SETFILE
36384 if test -n "$SETFILE"; then
36385 { echo "$as_me:$LINENO: result
: $SETFILE" >&5
36386 echo "${ECHO_T}$SETFILE" >&6; }
36388 { echo "$as_me:$LINENO: result
: no
" >&5
36389 echo "${ECHO_T}no
" >&6; }
36394 MACSETFILE="\
$(SETFILE)"
36396 if test "$wxUSE_MAC" = 1; then
36397 POSTLINK_COMMAND="\
$(REZ) -d __DARWIN__
-t APPL Carbon.r
-o"
36399 WXCONFIG_RESFLAGS="-d __DARWIN__
-t APPL Carbon.r
-o"
36401 POSTLINK_COMMAND="echo -n | \
$(REZ) -d __DARWIN__
-t APPL
${LIBWXMACRES}"
36402 RESCOMP="echo -n \
| $REZ"
36403 WXCONFIG_RESFLAGS="-d __DARWIN__
-t APPL \
$libdir/$WX_RESOURCES_MACOSX_ASCII"
36409 if test "$wxUSE_PM" = 1; then
36411 WXCONFIG_RESFLAGS="-ep"
36413 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36415 POSTLINK_COMMAND="@true
"
36422 { echo "$as_me:$LINENO: checking
for mode_t
" >&5
36423 echo $ECHO_N "checking
for mode_t...
$ECHO_C" >&6; }
36424 if test "${ac_cv_type_mode_t+set}" = set; then
36425 echo $ECHO_N "(cached
) $ECHO_C" >&6
36427 cat >conftest.$ac_ext <<_ACEOF
36430 cat confdefs.h >>conftest.$ac_ext
36431 cat >>conftest.$ac_ext <<_ACEOF
36432 /* end confdefs.h. */
36433 $ac_includes_default
36434 typedef mode_t ac__type_new_;
36438 if ((ac__type_new_ *) 0)
36440 if (sizeof (ac__type_new_))
36446 rm -f conftest.$ac_objext
36447 if { (ac_try="$ac_compile"
36448 case "(($ac_try" in
36449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36450 *) ac_try_echo=$ac_try;;
36452 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36453 (eval "$ac_compile") 2>conftest.er1
36455 grep -v '^ *+' conftest.er1 >conftest.err
36457 cat conftest.err >&5
36458 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36459 (exit $ac_status); } && {
36460 test -z "$ac_c_werror_flag" ||
36461 test ! -s conftest.err
36462 } && test -s conftest.$ac_objext; then
36463 ac_cv_type_mode_t=yes
36465 echo "$as_me: failed program was
:" >&5
36466 sed 's/^/| /' conftest.$ac_ext >&5
36468 ac_cv_type_mode_t=no
36471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36473 { echo "$as_me:$LINENO: result
: $ac_cv_type_mode_t" >&5
36474 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36475 if test $ac_cv_type_mode_t = yes; then
36479 cat >>confdefs.h <<_ACEOF
36485 { echo "$as_me:$LINENO: checking
for off_t
" >&5
36486 echo $ECHO_N "checking
for off_t...
$ECHO_C" >&6; }
36487 if test "${ac_cv_type_off_t+set}" = set; then
36488 echo $ECHO_N "(cached
) $ECHO_C" >&6
36490 cat >conftest.$ac_ext <<_ACEOF
36493 cat confdefs.h >>conftest.$ac_ext
36494 cat >>conftest.$ac_ext <<_ACEOF
36495 /* end confdefs.h. */
36496 $ac_includes_default
36497 typedef off_t ac__type_new_;
36501 if ((ac__type_new_ *) 0)
36503 if (sizeof (ac__type_new_))
36509 rm -f conftest.$ac_objext
36510 if { (ac_try="$ac_compile"
36511 case "(($ac_try" in
36512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36513 *) ac_try_echo=$ac_try;;
36515 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36516 (eval "$ac_compile") 2>conftest.er1
36518 grep -v '^ *+' conftest.er1 >conftest.err
36520 cat conftest.err >&5
36521 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36522 (exit $ac_status); } && {
36523 test -z "$ac_c_werror_flag" ||
36524 test ! -s conftest.err
36525 } && test -s conftest.$ac_objext; then
36526 ac_cv_type_off_t=yes
36528 echo "$as_me: failed program was
:" >&5
36529 sed 's/^/| /' conftest.$ac_ext >&5
36531 ac_cv_type_off_t=no
36534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36536 { echo "$as_me:$LINENO: result
: $ac_cv_type_off_t" >&5
36537 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36538 if test $ac_cv_type_off_t = yes; then
36542 cat >>confdefs.h <<_ACEOF
36543 #define off_t long int
36548 { echo "$as_me:$LINENO: checking
for pid_t
" >&5
36549 echo $ECHO_N "checking
for pid_t...
$ECHO_C" >&6; }
36550 if test "${ac_cv_type_pid_t+set}" = set; then
36551 echo $ECHO_N "(cached
) $ECHO_C" >&6
36553 cat >conftest.$ac_ext <<_ACEOF
36556 cat confdefs.h >>conftest.$ac_ext
36557 cat >>conftest.$ac_ext <<_ACEOF
36558 /* end confdefs.h. */
36559 $ac_includes_default
36560 typedef pid_t ac__type_new_;
36564 if ((ac__type_new_ *) 0)
36566 if (sizeof (ac__type_new_))
36572 rm -f conftest.$ac_objext
36573 if { (ac_try="$ac_compile"
36574 case "(($ac_try" in
36575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36576 *) ac_try_echo=$ac_try;;
36578 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36579 (eval "$ac_compile") 2>conftest.er1
36581 grep -v '^ *+' conftest.er1 >conftest.err
36583 cat conftest.err >&5
36584 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36585 (exit $ac_status); } && {
36586 test -z "$ac_c_werror_flag" ||
36587 test ! -s conftest.err
36588 } && test -s conftest.$ac_objext; then
36589 ac_cv_type_pid_t=yes
36591 echo "$as_me: failed program was
:" >&5
36592 sed 's/^/| /' conftest.$ac_ext >&5
36594 ac_cv_type_pid_t=no
36597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36599 { echo "$as_me:$LINENO: result
: $ac_cv_type_pid_t" >&5
36600 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36601 if test $ac_cv_type_pid_t = yes; then
36605 cat >>confdefs.h <<_ACEOF
36611 { echo "$as_me:$LINENO: checking
for size_t
" >&5
36612 echo $ECHO_N "checking
for size_t...
$ECHO_C" >&6; }
36613 if test "${ac_cv_type_size_t+set}" = set; then
36614 echo $ECHO_N "(cached
) $ECHO_C" >&6
36616 cat >conftest.$ac_ext <<_ACEOF
36619 cat confdefs.h >>conftest.$ac_ext
36620 cat >>conftest.$ac_ext <<_ACEOF
36621 /* end confdefs.h. */
36622 $ac_includes_default
36623 typedef size_t ac__type_new_;
36627 if ((ac__type_new_ *) 0)
36629 if (sizeof (ac__type_new_))
36635 rm -f conftest.$ac_objext
36636 if { (ac_try="$ac_compile"
36637 case "(($ac_try" in
36638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36639 *) ac_try_echo=$ac_try;;
36641 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36642 (eval "$ac_compile") 2>conftest.er1
36644 grep -v '^ *+' conftest.er1 >conftest.err
36646 cat conftest.err >&5
36647 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36648 (exit $ac_status); } && {
36649 test -z "$ac_c_werror_flag" ||
36650 test ! -s conftest.err
36651 } && test -s conftest.$ac_objext; then
36652 ac_cv_type_size_t=yes
36654 echo "$as_me: failed program was
:" >&5
36655 sed 's/^/| /' conftest.$ac_ext >&5
36657 ac_cv_type_size_t=no
36660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36662 { echo "$as_me:$LINENO: result
: $ac_cv_type_size_t" >&5
36663 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36664 if test $ac_cv_type_size_t = yes; then
36668 cat >>confdefs.h <<_ACEOF
36669 #define size_t unsigned int
36674 { echo "$as_me:$LINENO: checking
for uid_t
in sys
/types.h
" >&5
36675 echo $ECHO_N "checking
for uid_t
in sys
/types.h...
$ECHO_C" >&6; }
36676 if test "${ac_cv_type_uid_t+set}" = set; then
36677 echo $ECHO_N "(cached
) $ECHO_C" >&6
36679 cat >conftest.$ac_ext <<_ACEOF
36682 cat confdefs.h >>conftest.$ac_ext
36683 cat >>conftest.$ac_ext <<_ACEOF
36684 /* end confdefs.h. */
36685 #include <sys/types.h>
36688 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
36689 $EGREP "uid_t
" >/dev/null 2>&1; then
36690 ac_cv_type_uid_t=yes
36692 ac_cv_type_uid_t=no
36697 { echo "$as_me:$LINENO: result
: $ac_cv_type_uid_t" >&5
36698 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36699 if test $ac_cv_type_uid_t = no; then
36701 cat >>confdefs.h <<\_ACEOF
36706 cat >>confdefs.h <<\_ACEOF
36713 { echo "$as_me:$LINENO: checking
for ssize_t
" >&5
36714 echo $ECHO_N "checking
for ssize_t...
$ECHO_C" >&6; }
36715 if test "${ac_cv_type_ssize_t+set}" = set; then
36716 echo $ECHO_N "(cached
) $ECHO_C" >&6
36718 cat >conftest.$ac_ext <<_ACEOF
36721 cat confdefs.h >>conftest.$ac_ext
36722 cat >>conftest.$ac_ext <<_ACEOF
36723 /* end confdefs.h. */
36724 $ac_includes_default
36725 typedef ssize_t ac__type_new_;
36729 if ((ac__type_new_ *) 0)
36731 if (sizeof (ac__type_new_))
36737 rm -f conftest.$ac_objext
36738 if { (ac_try="$ac_compile"
36739 case "(($ac_try" in
36740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36741 *) ac_try_echo=$ac_try;;
36743 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36744 (eval "$ac_compile") 2>conftest.er1
36746 grep -v '^ *+' conftest.er1 >conftest.err
36748 cat conftest.err >&5
36749 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36750 (exit $ac_status); } && {
36751 test -z "$ac_c_werror_flag" ||
36752 test ! -s conftest.err
36753 } && test -s conftest.$ac_objext; then
36754 ac_cv_type_ssize_t=yes
36756 echo "$as_me: failed program was
:" >&5
36757 sed 's/^/| /' conftest.$ac_ext >&5
36759 ac_cv_type_ssize_t=no
36762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36764 { echo "$as_me:$LINENO: result
: $ac_cv_type_ssize_t" >&5
36765 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36766 if test $ac_cv_type_ssize_t = yes; then
36768 cat >>confdefs.h <<_ACEOF
36769 #define HAVE_SSIZE_T 1
36777 ac_cpp='$CXXCPP $CPPFLAGS'
36778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36781 { echo "$as_me:$LINENO: checking
if size_t is unsigned int
" >&5
36782 echo $ECHO_N "checking
if size_t is unsigned int...
$ECHO_C" >&6; }
36783 if test "${wx_cv_size_t_is_uint+set}" = set; then
36784 echo $ECHO_N "(cached
) $ECHO_C" >&6
36787 cat >conftest.$ac_ext <<_ACEOF
36790 cat confdefs.h >>conftest.$ac_ext
36791 cat >>conftest.$ac_ext <<_ACEOF
36792 /* end confdefs.h. */
36793 #include <stddef.h>
36800 struct Foo { void foo(size_t); void foo(unsigned int); };
36808 rm -f conftest.$ac_objext
36809 if { (ac_try="$ac_compile"
36810 case "(($ac_try" in
36811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36812 *) ac_try_echo=$ac_try;;
36814 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36815 (eval "$ac_compile") 2>conftest.er1
36817 grep -v '^ *+' conftest.er1 >conftest.err
36819 cat conftest.err >&5
36820 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36821 (exit $ac_status); } && {
36822 test -z "$ac_cxx_werror_flag" ||
36823 test ! -s conftest.err
36824 } && test -s conftest.$ac_objext; then
36825 wx_cv_size_t_is_uint=no
36827 echo "$as_me: failed program was
:" >&5
36828 sed 's/^/| /' conftest.$ac_ext >&5
36830 wx_cv_size_t_is_uint=yes
36834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36838 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_uint" >&5
36839 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36841 if test "$wx_cv_size_t_is_uint" = "yes"; then
36842 cat >>confdefs.h <<\_ACEOF
36843 #define wxSIZE_T_IS_UINT 1
36847 { echo "$as_me:$LINENO: checking
if size_t is unsigned long
" >&5
36848 echo $ECHO_N "checking
if size_t is unsigned long...
$ECHO_C" >&6; }
36849 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36850 echo $ECHO_N "(cached
) $ECHO_C" >&6
36852 cat >conftest.$ac_ext <<_ACEOF
36855 cat confdefs.h >>conftest.$ac_ext
36856 cat >>conftest.$ac_ext <<_ACEOF
36857 /* end confdefs.h. */
36858 #include <stddef.h>
36865 struct Foo { void foo(size_t); void foo(unsigned long); };
36873 rm -f conftest.$ac_objext
36874 if { (ac_try="$ac_compile"
36875 case "(($ac_try" in
36876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36877 *) ac_try_echo=$ac_try;;
36879 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36880 (eval "$ac_compile") 2>conftest.er1
36882 grep -v '^ *+' conftest.er1 >conftest.err
36884 cat conftest.err >&5
36885 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36886 (exit $ac_status); } && {
36887 test -z "$ac_cxx_werror_flag" ||
36888 test ! -s conftest.err
36889 } && test -s conftest.$ac_objext; then
36890 wx_cv_size_t_is_ulong=no
36892 echo "$as_me: failed program was
:" >&5
36893 sed 's/^/| /' conftest.$ac_ext >&5
36895 wx_cv_size_t_is_ulong=yes
36899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36902 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_ulong" >&5
36903 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36905 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36906 cat >>confdefs.h <<\_ACEOF
36907 #define wxSIZE_T_IS_ULONG 1
36913 { echo "$as_me:$LINENO: checking
if wchar_t is separate
type" >&5
36914 echo $ECHO_N "checking
if wchar_t is separate
type...
$ECHO_C" >&6; }
36915 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36916 echo $ECHO_N "(cached
) $ECHO_C" >&6
36918 cat >conftest.$ac_ext <<_ACEOF
36921 cat confdefs.h >>conftest.$ac_ext
36922 cat >>conftest.$ac_ext <<_ACEOF
36923 /* end confdefs.h. */
36931 struct Foo { void foo(wchar_t);
36932 void foo(unsigned short);
36933 void foo(unsigned int);
36934 void foo(unsigned long); };
36942 rm -f conftest.$ac_objext
36943 if { (ac_try="$ac_compile"
36944 case "(($ac_try" in
36945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36946 *) ac_try_echo=$ac_try;;
36948 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36949 (eval "$ac_compile") 2>conftest.er1
36951 grep -v '^ *+' conftest.er1 >conftest.err
36953 cat conftest.err >&5
36954 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36955 (exit $ac_status); } && {
36956 test -z "$ac_cxx_werror_flag" ||
36957 test ! -s conftest.err
36958 } && test -s conftest.$ac_objext; then
36959 wx_cv_wchar_t_is_separate_type=yes
36961 echo "$as_me: failed program was
:" >&5
36962 sed 's/^/| /' conftest.$ac_ext >&5
36964 wx_cv_wchar_t_is_separate_type=no
36968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36971 { echo "$as_me:$LINENO: result
: $wx_cv_wchar_t_is_separate_type" >&5
36972 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36974 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36975 cat >>confdefs.h <<\_ACEOF
36976 #define wxWCHAR_T_IS_REAL_TYPE 1
36980 cat >>confdefs.h <<\_ACEOF
36981 #define wxWCHAR_T_IS_REAL_TYPE 0
36987 ac_cpp='$CPP $CPPFLAGS'
36988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36993 { echo "$as_me:$LINENO: checking
for pw_gecos
in struct passwd
" >&5
36994 echo $ECHO_N "checking
for pw_gecos
in struct passwd...
$ECHO_C" >&6; }
36995 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36996 echo $ECHO_N "(cached
) $ECHO_C" >&6
36999 cat >conftest.$ac_ext <<_ACEOF
37002 cat confdefs.h >>conftest.$ac_ext
37003 cat >>conftest.$ac_ext <<_ACEOF
37004 /* end confdefs.h. */
37018 rm -f conftest.$ac_objext
37019 if { (ac_try="$ac_compile"
37020 case "(($ac_try" in
37021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37022 *) ac_try_echo=$ac_try;;
37024 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37025 (eval "$ac_compile") 2>conftest.er1
37027 grep -v '^ *+' conftest.er1 >conftest.err
37029 cat conftest.err >&5
37030 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37031 (exit $ac_status); } && {
37032 test -z "$ac_c_werror_flag" ||
37033 test ! -s conftest.err
37034 } && test -s conftest.$ac_objext; then
37036 wx_cv_struct_pw_gecos=yes
37039 echo "$as_me: failed program was
:" >&5
37040 sed 's/^/| /' conftest.$ac_ext >&5
37043 wx_cv_struct_pw_gecos=no
37048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37052 { echo "$as_me:$LINENO: result
: $wx_cv_struct_pw_gecos" >&5
37053 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37055 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37056 cat >>confdefs.h <<\_ACEOF
37057 #define HAVE_PW_GECOS 1
37063 if test "$wxUSE_WCHAR_T" = "yes"; then
37064 cat >>confdefs.h <<\_ACEOF
37065 #define wxUSE_WCHAR_T 1
37072 for ac_func in wcslen
37074 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37075 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37076 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37077 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37078 echo $ECHO_N "(cached
) $ECHO_C" >&6
37080 cat >conftest.$ac_ext <<_ACEOF
37083 cat confdefs.h >>conftest.$ac_ext
37084 cat >>conftest.$ac_ext <<_ACEOF
37085 /* end confdefs.h. */
37086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37088 #define $ac_func innocuous_$ac_func
37090 /* System header to define __stub macros and hopefully few prototypes,
37091 which can conflict with char $ac_func (); below.
37092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37093 <limits.h> exists even on freestanding compilers. */
37096 # include <limits.h>
37098 # include <assert.h>
37103 /* Override any GCC internal prototype to avoid an error.
37104 Use char because int might match the return type of a GCC
37105 builtin and then its argument prototype would still apply. */
37110 /* The GNU C library defines this for functions which it implements
37111 to always fail with ENOSYS. Some functions are actually named
37112 something starting with __ and the normal name is an alias. */
37113 #if defined __stub_$ac_func || defined __stub___$ac_func
37120 return $ac_func ();
37125 rm -f conftest.$ac_objext conftest$ac_exeext
37126 if { (ac_try="$ac_link"
37127 case "(($ac_try" in
37128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37129 *) ac_try_echo=$ac_try;;
37131 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37132 (eval "$ac_link") 2>conftest.er1
37134 grep -v '^ *+' conftest.er1 >conftest.err
37136 cat conftest.err >&5
37137 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37138 (exit $ac_status); } && {
37139 test -z "$ac_c_werror_flag" ||
37140 test ! -s conftest.err
37141 } && test -s conftest$ac_exeext &&
37142 $as_test_x conftest$ac_exeext; then
37143 eval "$as_ac_var=yes"
37145 echo "$as_me: failed program was
:" >&5
37146 sed 's/^/| /' conftest.$ac_ext >&5
37148 eval "$as_ac_var=no
"
37151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37152 conftest$ac_exeext conftest.$ac_ext
37154 ac_res=`eval echo '${'$as_ac_var'}'`
37155 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37156 echo "${ECHO_T}$ac_res" >&6; }
37157 if test `eval echo '${'$as_ac_var'}'` = yes; then
37158 cat >>confdefs.h <<_ACEOF
37159 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37166 if test "$WCSLEN_FOUND" = 0; then
37167 if test "$TOOLKIT" = "MSW
"; then
37168 { echo "$as_me:$LINENO: checking
for wcslen
in -lmsvcrt" >&5
37169 echo $ECHO_N "checking
for wcslen
in -lmsvcrt...
$ECHO_C" >&6; }
37170 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37171 echo $ECHO_N "(cached
) $ECHO_C" >&6
37173 ac_check_lib_save_LIBS=$LIBS
37174 LIBS="-lmsvcrt $LIBS"
37175 cat >conftest.$ac_ext <<_ACEOF
37178 cat confdefs.h >>conftest.$ac_ext
37179 cat >>conftest.$ac_ext <<_ACEOF
37180 /* end confdefs.h. */
37182 /* Override any GCC internal prototype to avoid an error.
37183 Use char because int might match the return type of a GCC
37184 builtin and then its argument prototype would still apply. */
37197 rm -f conftest.$ac_objext conftest$ac_exeext
37198 if { (ac_try="$ac_link"
37199 case "(($ac_try" in
37200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37201 *) ac_try_echo=$ac_try;;
37203 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37204 (eval "$ac_link") 2>conftest.er1
37206 grep -v '^ *+' conftest.er1 >conftest.err
37208 cat conftest.err >&5
37209 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37210 (exit $ac_status); } && {
37211 test -z "$ac_c_werror_flag" ||
37212 test ! -s conftest.err
37213 } && test -s conftest$ac_exeext &&
37214 $as_test_x conftest$ac_exeext; then
37215 ac_cv_lib_msvcrt_wcslen=yes
37217 echo "$as_me: failed program was
:" >&5
37218 sed 's/^/| /' conftest.$ac_ext >&5
37220 ac_cv_lib_msvcrt_wcslen=no
37223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37224 conftest$ac_exeext conftest.$ac_ext
37225 LIBS=$ac_check_lib_save_LIBS
37227 { echo "$as_me:$LINENO: result
: $ac_cv_lib_msvcrt_wcslen" >&5
37228 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37229 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37234 { echo "$as_me:$LINENO: checking
for wcslen
in -lw" >&5
37235 echo $ECHO_N "checking
for wcslen
in -lw...
$ECHO_C" >&6; }
37236 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37237 echo $ECHO_N "(cached
) $ECHO_C" >&6
37239 ac_check_lib_save_LIBS=$LIBS
37241 cat >conftest.$ac_ext <<_ACEOF
37244 cat confdefs.h >>conftest.$ac_ext
37245 cat >>conftest.$ac_ext <<_ACEOF
37246 /* end confdefs.h. */
37248 /* Override any GCC internal prototype to avoid an error.
37249 Use char because int might match the return type of a GCC
37250 builtin and then its argument prototype would still apply. */
37263 rm -f conftest.$ac_objext conftest$ac_exeext
37264 if { (ac_try="$ac_link"
37265 case "(($ac_try" in
37266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37267 *) ac_try_echo=$ac_try;;
37269 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37270 (eval "$ac_link") 2>conftest.er1
37272 grep -v '^ *+' conftest.er1 >conftest.err
37274 cat conftest.err >&5
37275 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37276 (exit $ac_status); } && {
37277 test -z "$ac_c_werror_flag" ||
37278 test ! -s conftest.err
37279 } && test -s conftest$ac_exeext &&
37280 $as_test_x conftest$ac_exeext; then
37281 ac_cv_lib_w_wcslen=yes
37283 echo "$as_me: failed program was
:" >&5
37284 sed 's/^/| /' conftest.$ac_ext >&5
37286 ac_cv_lib_w_wcslen=no
37289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37290 conftest$ac_exeext conftest.$ac_ext
37291 LIBS=$ac_check_lib_save_LIBS
37293 { echo "$as_me:$LINENO: result
: $ac_cv_lib_w_wcslen" >&5
37294 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37295 if test $ac_cv_lib_w_wcslen = yes; then
37305 if test "$WCSLEN_FOUND" = 1; then
37306 cat >>confdefs.h <<\_ACEOF
37307 #define HAVE_WCSLEN 1
37313 for ac_func in wcsdup
37315 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37316 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37317 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37318 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37319 echo $ECHO_N "(cached
) $ECHO_C" >&6
37321 cat >conftest.$ac_ext <<_ACEOF
37324 cat confdefs.h >>conftest.$ac_ext
37325 cat >>conftest.$ac_ext <<_ACEOF
37326 /* end confdefs.h. */
37327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37329 #define $ac_func innocuous_$ac_func
37331 /* System header to define __stub macros and hopefully few prototypes,
37332 which can conflict with char $ac_func (); below.
37333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37334 <limits.h> exists even on freestanding compilers. */
37337 # include <limits.h>
37339 # include <assert.h>
37344 /* Override any GCC internal prototype to avoid an error.
37345 Use char because int might match the return type of a GCC
37346 builtin and then its argument prototype would still apply. */
37351 /* The GNU C library defines this for functions which it implements
37352 to always fail with ENOSYS. Some functions are actually named
37353 something starting with __ and the normal name is an alias. */
37354 #if defined __stub_$ac_func || defined __stub___$ac_func
37361 return $ac_func ();
37366 rm -f conftest.$ac_objext conftest$ac_exeext
37367 if { (ac_try="$ac_link"
37368 case "(($ac_try" in
37369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37370 *) ac_try_echo=$ac_try;;
37372 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37373 (eval "$ac_link") 2>conftest.er1
37375 grep -v '^ *+' conftest.er1 >conftest.err
37377 cat conftest.err >&5
37378 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37379 (exit $ac_status); } && {
37380 test -z "$ac_c_werror_flag" ||
37381 test ! -s conftest.err
37382 } && test -s conftest$ac_exeext &&
37383 $as_test_x conftest$ac_exeext; then
37384 eval "$as_ac_var=yes"
37386 echo "$as_me: failed program was
:" >&5
37387 sed 's/^/| /' conftest.$ac_ext >&5
37389 eval "$as_ac_var=no
"
37392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37393 conftest$ac_exeext conftest.$ac_ext
37395 ac_res=`eval echo '${'$as_ac_var'}'`
37396 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37397 echo "${ECHO_T}$ac_res" >&6; }
37398 if test `eval echo '${'$as_ac_var'}'` = yes; then
37399 cat >>confdefs.h <<_ACEOF
37400 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37407 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37408 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37411 { echo "$as_me:$LINENO: checking
for mbstate_t
" >&5
37412 echo $ECHO_N "checking
for mbstate_t...
$ECHO_C" >&6; }
37413 if test "${ac_cv_type_mbstate_t+set}" = set; then
37414 echo $ECHO_N "(cached
) $ECHO_C" >&6
37416 cat >conftest.$ac_ext <<_ACEOF
37419 cat confdefs.h >>conftest.$ac_ext
37420 cat >>conftest.$ac_ext <<_ACEOF
37421 /* end confdefs.h. */
37424 typedef mbstate_t ac__type_new_;
37428 if ((ac__type_new_ *) 0)
37430 if (sizeof (ac__type_new_))
37436 rm -f conftest.$ac_objext
37437 if { (ac_try="$ac_compile"
37438 case "(($ac_try" in
37439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37440 *) ac_try_echo=$ac_try;;
37442 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37443 (eval "$ac_compile") 2>conftest.er1
37445 grep -v '^ *+' conftest.er1 >conftest.err
37447 cat conftest.err >&5
37448 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37449 (exit $ac_status); } && {
37450 test -z "$ac_c_werror_flag" ||
37451 test ! -s conftest.err
37452 } && test -s conftest.$ac_objext; then
37453 ac_cv_type_mbstate_t=yes
37455 echo "$as_me: failed program was
:" >&5
37456 sed 's/^/| /' conftest.$ac_ext >&5
37458 ac_cv_type_mbstate_t=no
37461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37463 { echo "$as_me:$LINENO: result
: $ac_cv_type_mbstate_t" >&5
37464 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37465 if test $ac_cv_type_mbstate_t = yes; then
37467 cat >>confdefs.h <<_ACEOF
37468 #define HAVE_MBSTATE_T 1
37472 for ac_func in wcsrtombs
37474 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37475 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37476 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37477 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37478 echo $ECHO_N "(cached
) $ECHO_C" >&6
37480 cat >conftest.$ac_ext <<_ACEOF
37483 cat confdefs.h >>conftest.$ac_ext
37484 cat >>conftest.$ac_ext <<_ACEOF
37485 /* end confdefs.h. */
37486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37488 #define $ac_func innocuous_$ac_func
37490 /* System header to define __stub macros and hopefully few prototypes,
37491 which can conflict with char $ac_func (); below.
37492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37493 <limits.h> exists even on freestanding compilers. */
37496 # include <limits.h>
37498 # include <assert.h>
37503 /* Override any GCC internal prototype to avoid an error.
37504 Use char because int might match the return type of a GCC
37505 builtin and then its argument prototype would still apply. */
37510 /* The GNU C library defines this for functions which it implements
37511 to always fail with ENOSYS. Some functions are actually named
37512 something starting with __ and the normal name is an alias. */
37513 #if defined __stub_$ac_func || defined __stub___$ac_func
37520 return $ac_func ();
37525 rm -f conftest.$ac_objext conftest$ac_exeext
37526 if { (ac_try="$ac_link"
37527 case "(($ac_try" in
37528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37529 *) ac_try_echo=$ac_try;;
37531 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37532 (eval "$ac_link") 2>conftest.er1
37534 grep -v '^ *+' conftest.er1 >conftest.err
37536 cat conftest.err >&5
37537 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37538 (exit $ac_status); } && {
37539 test -z "$ac_c_werror_flag" ||
37540 test ! -s conftest.err
37541 } && test -s conftest$ac_exeext &&
37542 $as_test_x conftest$ac_exeext; then
37543 eval "$as_ac_var=yes"
37545 echo "$as_me: failed program was
:" >&5
37546 sed 's/^/| /' conftest.$ac_ext >&5
37548 eval "$as_ac_var=no
"
37551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37552 conftest$ac_exeext conftest.$ac_ext
37554 ac_res=`eval echo '${'$as_ac_var'}'`
37555 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37556 echo "${ECHO_T}$ac_res" >&6; }
37557 if test `eval echo '${'$as_ac_var'}'` = yes; then
37558 cat >>confdefs.h <<_ACEOF
37559 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37568 { echo "$as_me:$LINENO: WARNING
: Wide character support is unavailable
" >&5
37569 echo "$as_me: WARNING
: Wide character support is unavailable
" >&2;}
37574 for ac_func in snprintf vsnprintf
37576 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37577 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37578 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37579 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37580 echo $ECHO_N "(cached
) $ECHO_C" >&6
37582 cat >conftest.$ac_ext <<_ACEOF
37585 cat confdefs.h >>conftest.$ac_ext
37586 cat >>conftest.$ac_ext <<_ACEOF
37587 /* end confdefs.h. */
37588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37590 #define $ac_func innocuous_$ac_func
37592 /* System header to define __stub macros and hopefully few prototypes,
37593 which can conflict with char $ac_func (); below.
37594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37595 <limits.h> exists even on freestanding compilers. */
37598 # include <limits.h>
37600 # include <assert.h>
37605 /* Override any GCC internal prototype to avoid an error.
37606 Use char because int might match the return type of a GCC
37607 builtin and then its argument prototype would still apply. */
37612 /* The GNU C library defines this for functions which it implements
37613 to always fail with ENOSYS. Some functions are actually named
37614 something starting with __ and the normal name is an alias. */
37615 #if defined __stub_$ac_func || defined __stub___$ac_func
37622 return $ac_func ();
37627 rm -f conftest.$ac_objext conftest$ac_exeext
37628 if { (ac_try="$ac_link"
37629 case "(($ac_try" in
37630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37631 *) ac_try_echo=$ac_try;;
37633 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37634 (eval "$ac_link") 2>conftest.er1
37636 grep -v '^ *+' conftest.er1 >conftest.err
37638 cat conftest.err >&5
37639 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37640 (exit $ac_status); } && {
37641 test -z "$ac_c_werror_flag" ||
37642 test ! -s conftest.err
37643 } && test -s conftest$ac_exeext &&
37644 $as_test_x conftest$ac_exeext; then
37645 eval "$as_ac_var=yes"
37647 echo "$as_me: failed program was
:" >&5
37648 sed 's/^/| /' conftest.$ac_ext >&5
37650 eval "$as_ac_var=no
"
37653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37654 conftest$ac_exeext conftest.$ac_ext
37656 ac_res=`eval echo '${'$as_ac_var'}'`
37657 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37658 echo "${ECHO_T}$ac_res" >&6; }
37659 if test `eval echo '${'$as_ac_var'}'` = yes; then
37660 cat >>confdefs.h <<_ACEOF
37661 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37668 if test "$ac_cv_func_vsnprintf" = "yes"; then
37669 { echo "$as_me:$LINENO: checking
for vsnprintf declaration
" >&5
37670 echo $ECHO_N "checking
for vsnprintf declaration...
$ECHO_C" >&6; }
37671 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37672 echo $ECHO_N "(cached
) $ECHO_C" >&6
37675 cat >conftest.$ac_ext <<_ACEOF
37678 cat confdefs.h >>conftest.$ac_ext
37679 cat >>conftest.$ac_ext <<_ACEOF
37680 /* end confdefs.h. */
37683 #include <stdarg.h>
37685 #if __MSL__ >= 0x6000
37687 using namespace std;
37697 vsnprintf(buf, 10u, "%s
", ap);
37703 rm -f conftest.$ac_objext
37704 if { (ac_try="$ac_compile"
37705 case "(($ac_try" in
37706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37707 *) ac_try_echo=$ac_try;;
37709 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37710 (eval "$ac_compile") 2>conftest.er1
37712 grep -v '^ *+' conftest.er1 >conftest.err
37714 cat conftest.err >&5
37715 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37716 (exit $ac_status); } && {
37717 test -z "$ac_c_werror_flag" ||
37718 test ! -s conftest.err
37719 } && test -s conftest.$ac_objext; then
37720 wx_cv_func_vsnprintf_decl=yes
37722 echo "$as_me: failed program was
:" >&5
37723 sed 's/^/| /' conftest.$ac_ext >&5
37725 wx_cv_func_vsnprintf_decl=no
37729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37733 { echo "$as_me:$LINENO: result
: $wx_cv_func_vsnprintf_decl" >&5
37734 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37736 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37737 cat >>confdefs.h <<\_ACEOF
37738 #define HAVE_VSNPRINTF_DECL 1
37742 { echo "$as_me:$LINENO: checking
if vsnprintf declaration is broken
" >&5
37743 echo $ECHO_N "checking
if vsnprintf declaration is broken...
$ECHO_C" >&6; }
37744 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37745 echo $ECHO_N "(cached
) $ECHO_C" >&6
37748 cat >conftest.$ac_ext <<_ACEOF
37751 cat confdefs.h >>conftest.$ac_ext
37752 cat >>conftest.$ac_ext <<_ACEOF
37753 /* end confdefs.h. */
37756 #include <stdarg.h>
37758 #if __MSL__ >= 0x6000
37760 using namespace std;
37770 const char *fmt = "%s
";
37771 vsnprintf(buf, 10u, fmt, ap);
37777 rm -f conftest.$ac_objext
37778 if { (ac_try="$ac_compile"
37779 case "(($ac_try" in
37780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37781 *) ac_try_echo=$ac_try;;
37783 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37784 (eval "$ac_compile") 2>conftest.er1
37786 grep -v '^ *+' conftest.er1 >conftest.err
37788 cat conftest.err >&5
37789 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37790 (exit $ac_status); } && {
37791 test -z "$ac_c_werror_flag" ||
37792 test ! -s conftest.err
37793 } && test -s conftest.$ac_objext; then
37794 wx_cv_func_broken_vsnprintf_decl=no
37796 echo "$as_me: failed program was
:" >&5
37797 sed 's/^/| /' conftest.$ac_ext >&5
37799 wx_cv_func_broken_vsnprintf_decl=yes
37803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37807 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_vsnprintf_decl" >&5
37808 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37810 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37811 cat >>confdefs.h <<\_ACEOF
37812 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37819 if test "$ac_cv_func_snprintf" = "yes"; then
37820 { echo "$as_me:$LINENO: checking
for snprintf declaration
" >&5
37821 echo $ECHO_N "checking
for snprintf declaration...
$ECHO_C" >&6; }
37822 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37823 echo $ECHO_N "(cached
) $ECHO_C" >&6
37826 cat >conftest.$ac_ext <<_ACEOF
37829 cat confdefs.h >>conftest.$ac_ext
37830 cat >>conftest.$ac_ext <<_ACEOF
37831 /* end confdefs.h. */
37834 #include <stdarg.h>
37836 #if __MSL__ >= 0x6000
37838 using namespace std;
37847 snprintf(buf, 10u, "%s
", "wx
");
37853 rm -f conftest.$ac_objext
37854 if { (ac_try="$ac_compile"
37855 case "(($ac_try" in
37856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37857 *) ac_try_echo=$ac_try;;
37859 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37860 (eval "$ac_compile") 2>conftest.er1
37862 grep -v '^ *+' conftest.er1 >conftest.err
37864 cat conftest.err >&5
37865 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37866 (exit $ac_status); } && {
37867 test -z "$ac_c_werror_flag" ||
37868 test ! -s conftest.err
37869 } && test -s conftest.$ac_objext; then
37870 wx_cv_func_snprintf_decl=yes
37872 echo "$as_me: failed program was
:" >&5
37873 sed 's/^/| /' conftest.$ac_ext >&5
37875 wx_cv_func_snprintf_decl=no
37879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37883 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_decl" >&5
37884 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37886 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37887 cat >>confdefs.h <<\_ACEOF
37888 #define HAVE_SNPRINTF_DECL 1
37892 { echo "$as_me:$LINENO: checking
if snprintf declaration is broken
" >&5
37893 echo $ECHO_N "checking
if snprintf declaration is broken...
$ECHO_C" >&6; }
37894 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
37895 echo $ECHO_N "(cached
) $ECHO_C" >&6
37898 cat >conftest.$ac_ext <<_ACEOF
37901 cat confdefs.h >>conftest.$ac_ext
37902 cat >>conftest.$ac_ext <<_ACEOF
37903 /* end confdefs.h. */
37906 #include <stdarg.h>
37908 #if __MSL__ >= 0x6000
37910 using namespace std;
37919 const char *fmt = "%s
";
37920 snprintf(buf, 10u, fmt, "wx
");
37926 rm -f conftest.$ac_objext
37927 if { (ac_try="$ac_compile"
37928 case "(($ac_try" in
37929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37930 *) ac_try_echo=$ac_try;;
37932 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37933 (eval "$ac_compile") 2>conftest.er1
37935 grep -v '^ *+' conftest.er1 >conftest.err
37937 cat conftest.err >&5
37938 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37939 (exit $ac_status); } && {
37940 test -z "$ac_c_werror_flag" ||
37941 test ! -s conftest.err
37942 } && test -s conftest.$ac_objext; then
37943 wx_cv_func_broken_snprintf_decl=no
37945 echo "$as_me: failed program was
:" >&5
37946 sed 's/^/| /' conftest.$ac_ext >&5
37948 wx_cv_func_broken_snprintf_decl=yes
37952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37956 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_snprintf_decl" >&5
37957 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
37959 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
37960 cat >>confdefs.h <<\_ACEOF
37961 #define HAVE_BROKEN_SNPRINTF_DECL 1
37967 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37969 { echo "$as_me:$LINENO: checking
if snprintf supports positional arguments
" >&5
37970 echo $ECHO_N "checking
if snprintf supports positional arguments...
$ECHO_C" >&6; }
37971 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37972 echo $ECHO_N "(cached
) $ECHO_C" >&6
37975 if test "$cross_compiling" = yes; then
37977 { echo "$as_me:$LINENO: WARNING
: Assuming Unix98
printf() is not available
,
37978 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&5
37979 echo "$as_me: WARNING
: Assuming Unix98
printf() is not available
,
37980 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&2;}
37981 wx_cv_func_snprintf_pos_params=no
37985 cat >conftest.$ac_ext <<_ACEOF
37988 cat confdefs.h >>conftest.$ac_ext
37989 cat >>conftest.$ac_ext <<_ACEOF
37990 /* end confdefs.h. */
37997 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37998 if (strcmp ("2 3 1", buffer) == 0)
38004 rm -f conftest$ac_exeext
38005 if { (ac_try="$ac_link"
38006 case "(($ac_try" in
38007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38008 *) ac_try_echo=$ac_try;;
38010 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38011 (eval "$ac_link") 2>&5
38013 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38014 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38015 { (case "(($ac_try" in
38016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38017 *) ac_try_echo=$ac_try;;
38019 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38020 (eval "$ac_try") 2>&5
38022 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38023 (exit $ac_status); }; }; then
38024 wx_cv_func_snprintf_pos_params=no
38026 echo "$as_me: program exited with status
$ac_status" >&5
38027 echo "$as_me: failed program was
:" >&5
38028 sed 's/^/| /' conftest.$ac_ext >&5
38030 ( exit $ac_status )
38031 wx_cv_func_snprintf_pos_params=yes
38033 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38040 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_pos_params" >&5
38041 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38043 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38044 cat >>confdefs.h <<\_ACEOF
38045 #define HAVE_UNIX98_PRINTF 1
38052 if test "$wxUSE_UNICODE" = yes; then
38055 for ac_func in swprintf
38057 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
38058 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
38059 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
38060 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
38061 echo $ECHO_N "(cached
) $ECHO_C" >&6
38063 cat >conftest.$ac_ext <<_ACEOF
38066 cat confdefs.h >>conftest.$ac_ext
38067 cat >>conftest.$ac_ext <<_ACEOF
38068 /* end confdefs.h. */
38069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38071 #define $ac_func innocuous_$ac_func
38073 /* System header to define __stub macros and hopefully few prototypes,
38074 which can conflict with char $ac_func (); below.
38075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38076 <limits.h> exists even on freestanding compilers. */
38079 # include <limits.h>
38081 # include <assert.h>
38086 /* Override any GCC internal prototype to avoid an error.
38087 Use char because int might match the return type of a GCC
38088 builtin and then its argument prototype would still apply. */
38093 /* The GNU C library defines this for functions which it implements
38094 to always fail with ENOSYS. Some functions are actually named
38095 something starting with __ and the normal name is an alias. */
38096 #if defined __stub_$ac_func || defined __stub___$ac_func
38103 return $ac_func ();
38108 rm -f conftest.$ac_objext conftest$ac_exeext
38109 if { (ac_try="$ac_link"
38110 case "(($ac_try" in
38111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38112 *) ac_try_echo=$ac_try;;
38114 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38115 (eval "$ac_link") 2>conftest.er1
38117 grep -v '^ *+' conftest.er1 >conftest.err
38119 cat conftest.err >&5
38120 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38121 (exit $ac_status); } && {
38122 test -z "$ac_c_werror_flag" ||
38123 test ! -s conftest.err
38124 } && test -s conftest$ac_exeext &&
38125 $as_test_x conftest$ac_exeext; then
38126 eval "$as_ac_var=yes"
38128 echo "$as_me: failed program was
:" >&5
38129 sed 's/^/| /' conftest.$ac_ext >&5
38131 eval "$as_ac_var=no
"
38134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38135 conftest$ac_exeext conftest.$ac_ext
38137 ac_res=`eval echo '${'$as_ac_var'}'`
38138 { echo "$as_me:$LINENO: result
: $ac_res" >&5
38139 echo "${ECHO_T}$ac_res" >&6; }
38140 if test `eval echo '${'$as_ac_var'}'` = yes; then
38141 cat >>confdefs.h <<_ACEOF
38142 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
38149 if test "$ac_cv_func_swprintf" = "yes"; then
38150 { echo "$as_me:$LINENO: checking
if swprintf declaration is broken
" >&5
38151 echo $ECHO_N "checking
if swprintf declaration is broken...
$ECHO_C" >&6; }
38152 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38153 echo $ECHO_N "(cached
) $ECHO_C" >&6
38156 cat >conftest.$ac_ext <<_ACEOF
38159 cat confdefs.h >>conftest.$ac_ext
38160 cat >>conftest.$ac_ext <<_ACEOF
38161 /* end confdefs.h. */
38164 #include <stdarg.h>
38172 const wchar_t *fmt = L"test";
38173 swprintf(buf, 10u, fmt);
38179 rm -f conftest.$ac_objext
38180 if { (ac_try="$ac_compile"
38181 case "(($ac_try" in
38182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38183 *) ac_try_echo=$ac_try;;
38185 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38186 (eval "$ac_compile") 2>conftest.er1
38188 grep -v '^ *+' conftest.er1 >conftest.err
38190 cat conftest.err >&5
38191 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38192 (exit $ac_status); } && {
38193 test -z "$ac_c_werror_flag" ||
38194 test ! -s conftest.err
38195 } && test -s conftest.$ac_objext; then
38196 wx_cv_func_broken_swprintf_decl=no
38198 echo "$as_me: failed program was
:" >&5
38199 sed 's/^/| /' conftest.$ac_ext >&5
38201 wx_cv_func_broken_swprintf_decl=yes
38205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38209 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_swprintf_decl" >&5
38210 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38212 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38213 cat >>confdefs.h <<\_ACEOF
38214 #define HAVE_BROKEN_SWPRINTF_DECL 1
38220 wchar_headers="#include <stdio.h>
38221 #include <wchar.h>"
38225 for ac_header
in widec.h
38227 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38228 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38230 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38231 echo $ECHO_N "(cached) $ECHO_C" >&6
38233 cat >conftest.
$ac_ext <<_ACEOF
38236 cat confdefs.h
>>conftest.
$ac_ext
38237 cat >>conftest.
$ac_ext <<_ACEOF
38238 /* end confdefs.h. */
38239 $ac_includes_default
38241 #include <$ac_header>
38243 rm -f conftest.
$ac_objext
38244 if { (ac_try
="$ac_compile"
38245 case "(($ac_try" in
38246 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38247 *) ac_try_echo=$ac_try;;
38249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38250 (eval "$ac_compile") 2>conftest.er1
38252 grep -v '^ *+' conftest.er1 >conftest.err
38254 cat conftest.err >&5
38255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38256 (exit $ac_status); } && {
38257 test -z "$ac_c_werror_flag" ||
38258 test ! -s conftest.err
38259 } && test -s conftest.$ac_objext; then
38260 eval "$as_ac_Header=yes"
38262 echo "$as_me: failed program was:" >&5
38263 sed 's/^/| /' conftest.$ac_ext >&5
38265 eval "$as_ac_Header=no"
38268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38270 ac_res=`eval echo '${'$as_ac_Header'}'`
38271 { echo "$as_me:$LINENO: result: $ac_res" >&5
38272 echo "${ECHO_T}$ac_res" >&6; }
38273 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38274 cat >>confdefs.h <<_ACEOF
38275 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38282 if test "$ac_cv_header_widec_h" = "yes"; then
38283 wchar_headers="$wchar_headers
38284 #include <widec.h>"
38289 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38291 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38292 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38293 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38294 echo $ECHO_N "(cached) $ECHO_C" >&6
38297 cat >conftest.$ac_ext <<_ACEOF
38301 cat confdefs.h >>conftest.$ac_ext
38302 cat >>conftest.$ac_ext <<_ACEOF
38303 /* end confdefs.h. */
38306 $ac_includes_default
38322 rm -f conftest.$ac_objext conftest$ac_exeext
38323 if { (ac_try="$ac_link"
38324 case "(($ac_try" in
38325 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38326 *) ac_try_echo
=$ac_try;;
38328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38329 (eval "$ac_link") 2>conftest.er1
38331 grep -v '^ *+' conftest.er1
>conftest.err
38333 cat conftest.err
>&5
38334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38335 (exit $ac_status); } && {
38336 test -z "$ac_c_werror_flag" ||
38337 test ! -s conftest.err
38338 } && test -s conftest
$ac_exeext &&
38339 $as_test_x conftest
$ac_exeext; then
38340 eval wx_cv_func_
$wx_func=yes
38342 echo "$as_me: failed program was:" >&5
38343 sed 's/^/| /' conftest.
$ac_ext >&5
38345 eval wx_cv_func_
$wx_func=no
38348 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38349 conftest
$ac_exeext conftest.
$ac_ext
38352 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38353 { echo "$as_me:$LINENO: result: $ac_res" >&5
38354 echo "${ECHO_T}$ac_res" >&6; }
38356 if eval test \
$wx_cv_func_$wx_func = yes
38358 cat >>confdefs.h
<<_ACEOF
38359 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38370 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38371 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38372 cat >conftest.
$ac_ext <<_ACEOF
38375 cat confdefs.h
>>conftest.
$ac_ext
38376 cat >>conftest.
$ac_ext <<_ACEOF
38377 /* end confdefs.h. */
38387 rm -f conftest.
$ac_objext
38388 if { (ac_try
="$ac_compile"
38389 case "(($ac_try" in
38390 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38391 *) ac_try_echo=$ac_try;;
38393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38394 (eval "$ac_compile") 2>conftest.er1
38396 grep -v '^ *+' conftest.er1 >conftest.err
38398 cat conftest.err >&5
38399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38400 (exit $ac_status); } && {
38401 test -z "$ac_c_werror_flag" ||
38402 test ! -s conftest.err
38403 } && test -s conftest.$ac_objext; then
38404 { echo "$as_me:$LINENO: result: yes" >&5
38405 echo "${ECHO_T}yes" >&6; }
38406 cat >>confdefs.h <<\_ACEOF
38407 #define HAVE__VSNWPRINTF 1
38411 echo "$as_me: failed program was:" >&5
38412 sed 's/^/| /' conftest.$ac_ext >&5
38414 { echo "$as_me:$LINENO: result: no" >&5
38415 echo "${ECHO_T}no" >&6; }
38418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38421 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38423 for wx_func in fnmatch
38425 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38426 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38427 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38428 echo $ECHO_N "(cached) $ECHO_C" >&6
38431 cat >conftest.$ac_ext <<_ACEOF
38435 cat confdefs.h >>conftest.$ac_ext
38436 cat >>conftest.$ac_ext <<_ACEOF
38437 /* end confdefs.h. */
38439 #include <fnmatch.h>
38440 $ac_includes_default
38456 rm -f conftest.$ac_objext conftest$ac_exeext
38457 if { (ac_try="$ac_link"
38458 case "(($ac_try" in
38459 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38460 *) ac_try_echo
=$ac_try;;
38462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38463 (eval "$ac_link") 2>conftest.er1
38465 grep -v '^ *+' conftest.er1
>conftest.err
38467 cat conftest.err
>&5
38468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38469 (exit $ac_status); } && {
38470 test -z "$ac_c_werror_flag" ||
38471 test ! -s conftest.err
38472 } && test -s conftest
$ac_exeext &&
38473 $as_test_x conftest
$ac_exeext; then
38474 eval wx_cv_func_
$wx_func=yes
38476 echo "$as_me: failed program was:" >&5
38477 sed 's/^/| /' conftest.
$ac_ext >&5
38479 eval wx_cv_func_
$wx_func=no
38482 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38483 conftest
$ac_exeext conftest.
$ac_ext
38486 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38487 { echo "$as_me:$LINENO: result: $ac_res" >&5
38488 echo "${ECHO_T}$ac_res" >&6; }
38490 if eval test \
$wx_cv_func_$wx_func = yes
38492 cat >>confdefs.h
<<_ACEOF
38493 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38505 if test "$wxUSE_FILE" = "yes"; then
38507 for wx_func
in fsync
38509 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38510 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38511 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38512 echo $ECHO_N "(cached) $ECHO_C" >&6
38515 cat >conftest.
$ac_ext <<_ACEOF
38519 cat confdefs.h
>>conftest.
$ac_ext
38520 cat >>conftest.
$ac_ext <<_ACEOF
38521 /* end confdefs.h. */
38524 $ac_includes_default
38540 rm -f conftest.
$ac_objext conftest
$ac_exeext
38541 if { (ac_try
="$ac_link"
38542 case "(($ac_try" in
38543 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38544 *) ac_try_echo=$ac_try;;
38546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38547 (eval "$ac_link") 2>conftest.er1
38549 grep -v '^ *+' conftest.er1 >conftest.err
38551 cat conftest.err >&5
38552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38553 (exit $ac_status); } && {
38554 test -z "$ac_c_werror_flag" ||
38555 test ! -s conftest.err
38556 } && test -s conftest$ac_exeext &&
38557 $as_test_x conftest$ac_exeext; then
38558 eval wx_cv_func_$wx_func=yes
38560 echo "$as_me: failed program was:" >&5
38561 sed 's/^/| /' conftest.$ac_ext >&5
38563 eval wx_cv_func_$wx_func=no
38566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38567 conftest$ac_exeext conftest.$ac_ext
38570 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38571 { echo "$as_me:$LINENO: result: $ac_res" >&5
38572 echo "${ECHO_T}$ac_res" >&6; }
38574 if eval test \$wx_cv_func_$wx_func = yes
38576 cat >>confdefs.h <<_ACEOF
38577 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38590 ac_cpp='$CXXCPP $CPPFLAGS'
38591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38596 for wx_func in round
38598 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38599 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38600 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38601 echo $ECHO_N "(cached) $ECHO_C" >&6
38604 cat >conftest.$ac_ext <<_ACEOF
38608 cat confdefs.h >>conftest.$ac_ext
38609 cat >>conftest.$ac_ext <<_ACEOF
38610 /* end confdefs.h. */
38613 $ac_includes_default
38629 rm -f conftest.$ac_objext conftest$ac_exeext
38630 if { (ac_try="$ac_link"
38631 case "(($ac_try" in
38632 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38633 *) ac_try_echo
=$ac_try;;
38635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38636 (eval "$ac_link") 2>conftest.er1
38638 grep -v '^ *+' conftest.er1
>conftest.err
38640 cat conftest.err
>&5
38641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38642 (exit $ac_status); } && {
38643 test -z "$ac_cxx_werror_flag" ||
38644 test ! -s conftest.err
38645 } && test -s conftest
$ac_exeext &&
38646 $as_test_x conftest
$ac_exeext; then
38647 eval wx_cv_func_
$wx_func=yes
38649 echo "$as_me: failed program was:" >&5
38650 sed 's/^/| /' conftest.
$ac_ext >&5
38652 eval wx_cv_func_
$wx_func=no
38655 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38656 conftest
$ac_exeext conftest.
$ac_ext
38659 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38660 { echo "$as_me:$LINENO: result: $ac_res" >&5
38661 echo "${ECHO_T}$ac_res" >&6; }
38663 if eval test \
$wx_cv_func_$wx_func = yes
38665 cat >>confdefs.h
<<_ACEOF
38666 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38677 ac_cpp
='$CPP $CPPFLAGS'
38678 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38679 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38680 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38683 if test "$TOOLKIT" != "MSW"; then
38689 # Check whether --with-libiconv-prefix was given.
38690 if test "${with_libiconv_prefix+set}" = set; then
38691 withval
=$with_libiconv_prefix;
38692 for dir
in `echo "$withval" | tr : ' '`; do
38693 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
38694 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
38700 { echo "$as_me:$LINENO: checking for iconv" >&5
38701 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38702 if test "${am_cv_func_iconv+set}" = set; then
38703 echo $ECHO_N "(cached) $ECHO_C" >&6
38706 am_cv_func_iconv
="no, consider installing GNU libiconv"
38708 cat >conftest.
$ac_ext <<_ACEOF
38711 cat confdefs.h
>>conftest.
$ac_ext
38712 cat >>conftest.
$ac_ext <<_ACEOF
38713 /* end confdefs.h. */
38714 #include <stdlib.h>
38719 iconv_t cd = iconv_open("","");
38720 iconv(cd,NULL,NULL,NULL,NULL);
38726 rm -f conftest.
$ac_objext conftest
$ac_exeext
38727 if { (ac_try
="$ac_link"
38728 case "(($ac_try" in
38729 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38730 *) ac_try_echo=$ac_try;;
38732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38733 (eval "$ac_link") 2>conftest.er1
38735 grep -v '^ *+' conftest.er1 >conftest.err
38737 cat conftest.err >&5
38738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38739 (exit $ac_status); } && {
38740 test -z "$ac_c_werror_flag" ||
38741 test ! -s conftest.err
38742 } && test -s conftest$ac_exeext &&
38743 $as_test_x conftest$ac_exeext; then
38744 am_cv_func_iconv=yes
38746 echo "$as_me: failed program was:" >&5
38747 sed 's/^/| /' conftest.$ac_ext >&5
38752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38753 conftest$ac_exeext conftest.$ac_ext
38754 if test "$am_cv_func_iconv" != yes; then
38755 am_save_LIBS="$LIBS"
38756 LIBS="$LIBS -liconv"
38757 cat >conftest.$ac_ext <<_ACEOF
38760 cat confdefs.h >>conftest.$ac_ext
38761 cat >>conftest.$ac_ext <<_ACEOF
38762 /* end confdefs.h. */
38763 #include <stdlib.h>
38768 iconv_t cd = iconv_open("","");
38769 iconv(cd,NULL,NULL,NULL,NULL);
38775 rm -f conftest.$ac_objext conftest$ac_exeext
38776 if { (ac_try="$ac_link"
38777 case "(($ac_try" in
38778 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38779 *) ac_try_echo
=$ac_try;;
38781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38782 (eval "$ac_link") 2>conftest.er1
38784 grep -v '^ *+' conftest.er1
>conftest.err
38786 cat conftest.err
>&5
38787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38788 (exit $ac_status); } && {
38789 test -z "$ac_c_werror_flag" ||
38790 test ! -s conftest.err
38791 } && test -s conftest
$ac_exeext &&
38792 $as_test_x conftest
$ac_exeext; then
38793 am_cv_lib_iconv
=yes
38794 am_cv_func_iconv
=yes
38796 echo "$as_me: failed program was:" >&5
38797 sed 's/^/| /' conftest.
$ac_ext >&5
38802 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38803 conftest
$ac_exeext conftest.
$ac_ext
38804 LIBS
="$am_save_LIBS"
38808 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38809 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38810 if test "$am_cv_func_iconv" = yes; then
38812 cat >>confdefs.h
<<\_ACEOF
38813 #define HAVE_ICONV 1
38816 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38817 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38818 if test "${wx_cv_func_iconv_const+set}" = set; then
38819 echo $ECHO_N "(cached) $ECHO_C" >&6
38821 cat >conftest.
$ac_ext <<_ACEOF
38824 cat confdefs.h
>>conftest.
$ac_ext
38825 cat >>conftest.
$ac_ext <<_ACEOF
38826 /* end confdefs.h. */
38828 #include <stdlib.h>
38834 #if defined(__STDC__) || defined(__cplusplus)
38835 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38848 rm -f conftest.
$ac_objext
38849 if { (ac_try
="$ac_compile"
38850 case "(($ac_try" in
38851 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38852 *) ac_try_echo=$ac_try;;
38854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38855 (eval "$ac_compile") 2>conftest.er1
38857 grep -v '^ *+' conftest.er1 >conftest.err
38859 cat conftest.err >&5
38860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38861 (exit $ac_status); } && {
38862 test -z "$ac_c_werror_flag" ||
38863 test ! -s conftest.err
38864 } && test -s conftest.$ac_objext; then
38865 wx_cv_func_iconv_const="no"
38867 echo "$as_me: failed program was:" >&5
38868 sed 's/^/| /' conftest.$ac_ext >&5
38870 wx_cv_func_iconv_const="yes"
38874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38877 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38878 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38881 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38882 iconv_const="const"
38886 cat >>confdefs.h <<_ACEOF
38887 #define ICONV_CONST $iconv_const
38892 if test "$am_cv_lib_iconv" = yes; then
38897 LIBS="$LIBICONV $LIBS"
38899 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38901 for ac_func in sigaction
38903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38904 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38906 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38907 echo $ECHO_N "(cached) $ECHO_C" >&6
38909 cat >conftest.$ac_ext <<_ACEOF
38912 cat confdefs.h >>conftest.$ac_ext
38913 cat >>conftest.$ac_ext <<_ACEOF
38914 /* end confdefs.h. */
38915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38917 #define $ac_func innocuous_$ac_func
38919 /* System header to define __stub macros and hopefully few prototypes,
38920 which can conflict with char $ac_func (); below.
38921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38922 <limits.h> exists even on freestanding compilers. */
38925 # include <limits.h>
38927 # include <assert.h>
38932 /* Override any GCC internal prototype to avoid an error.
38933 Use char because int might match the return type of a GCC
38934 builtin and then its argument prototype would still apply. */
38939 /* The GNU C library defines this for functions which it implements
38940 to always fail with ENOSYS. Some functions are actually named
38941 something starting with __ and the normal name is an alias. */
38942 #if defined __stub_$ac_func || defined __stub___$ac_func
38949 return $ac_func ();
38954 rm -f conftest.$ac_objext conftest$ac_exeext
38955 if { (ac_try="$ac_link"
38956 case "(($ac_try" in
38957 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38958 *) ac_try_echo
=$ac_try;;
38960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38961 (eval "$ac_link") 2>conftest.er1
38963 grep -v '^ *+' conftest.er1
>conftest.err
38965 cat conftest.err
>&5
38966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38967 (exit $ac_status); } && {
38968 test -z "$ac_c_werror_flag" ||
38969 test ! -s conftest.err
38970 } && test -s conftest
$ac_exeext &&
38971 $as_test_x conftest
$ac_exeext; then
38972 eval "$as_ac_var=yes"
38974 echo "$as_me: failed program was:" >&5
38975 sed 's/^/| /' conftest.
$ac_ext >&5
38977 eval "$as_ac_var=no"
38980 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38981 conftest
$ac_exeext conftest.
$ac_ext
38983 ac_res
=`eval echo '${'$as_ac_var'}'`
38984 { echo "$as_me:$LINENO: result: $ac_res" >&5
38985 echo "${ECHO_T}$ac_res" >&6; }
38986 if test `eval echo '${'$as_ac_var'}'` = yes; then
38987 cat >>confdefs.h
<<_ACEOF
38988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38995 if test "$ac_cv_func_sigaction" = "no"; then
38996 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38997 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38998 wxUSE_ON_FATAL_EXCEPTION
=no
39001 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39002 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39003 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39004 if test "${wx_cv_type_sa_handler+set}" = set; then
39005 echo $ECHO_N "(cached) $ECHO_C" >&6
39009 ac_cpp
='$CXXCPP $CPPFLAGS'
39010 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39011 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39012 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39014 cat >conftest.
$ac_ext <<_ACEOF
39017 cat confdefs.h
>>conftest.
$ac_ext
39018 cat >>conftest.
$ac_ext <<_ACEOF
39019 /* end confdefs.h. */
39020 #include <signal.h>
39025 extern void testSigHandler(int);
39027 struct sigaction sa;
39028 sa.sa_handler = testSigHandler;
39034 rm -f conftest.
$ac_objext
39035 if { (ac_try
="$ac_compile"
39036 case "(($ac_try" in
39037 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39038 *) ac_try_echo=$ac_try;;
39040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39041 (eval "$ac_compile") 2>conftest.er1
39043 grep -v '^ *+' conftest.er1 >conftest.err
39045 cat conftest.err >&5
39046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39047 (exit $ac_status); } && {
39048 test -z "$ac_cxx_werror_flag" ||
39049 test ! -s conftest.err
39050 } && test -s conftest.$ac_objext; then
39052 wx_cv_type_sa_handler=int
39055 echo "$as_me: failed program was:" >&5
39056 sed 's/^/| /' conftest.$ac_ext >&5
39059 wx_cv_type_sa_handler=void
39063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39065 ac_cpp='$CPP $CPPFLAGS'
39066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39072 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39073 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39075 cat >>confdefs.h <<_ACEOF
39076 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39082 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39083 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39084 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39085 if test "${wx_cv_func_backtrace+set}" = set; then
39086 echo $ECHO_N "(cached) $ECHO_C" >&6
39090 ac_cpp='$CXXCPP $CPPFLAGS'
39091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39095 cat >conftest.$ac_ext <<_ACEOF
39098 cat confdefs.h >>conftest.$ac_ext
39099 cat >>conftest.$ac_ext <<_ACEOF
39100 /* end confdefs.h. */
39101 #include <execinfo.h>
39109 backtrace(trace, 1);
39110 messages = backtrace_symbols(trace, 1);
39116 rm -f conftest.$ac_objext
39117 if { (ac_try="$ac_compile"
39118 case "(($ac_try" in
39119 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39120 *) ac_try_echo
=$ac_try;;
39122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39123 (eval "$ac_compile") 2>conftest.er1
39125 grep -v '^ *+' conftest.er1
>conftest.err
39127 cat conftest.err
>&5
39128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39129 (exit $ac_status); } && {
39130 test -z "$ac_cxx_werror_flag" ||
39131 test ! -s conftest.err
39132 } && test -s conftest.
$ac_objext; then
39133 wx_cv_func_backtrace
=yes
39135 echo "$as_me: failed program was:" >&5
39136 sed 's/^/| /' conftest.
$ac_ext >&5
39138 wx_cv_func_backtrace
=no
39142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39144 ac_cpp
='$CPP $CPPFLAGS'
39145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39152 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39153 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39156 if test "$wx_cv_func_backtrace" = "no"; then
39157 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39158 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39159 wxUSE_STACKWALKER
=no
39161 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39162 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39163 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39164 echo $ECHO_N "(cached) $ECHO_C" >&6
39168 ac_cpp
='$CXXCPP $CPPFLAGS'
39169 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39170 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39171 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39173 cat >conftest.
$ac_ext <<_ACEOF
39176 cat confdefs.h
>>conftest.
$ac_ext
39177 cat >>conftest.
$ac_ext <<_ACEOF
39178 /* end confdefs.h. */
39179 #include <cxxabi.h>
39185 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39191 rm -f conftest.
$ac_objext conftest
$ac_exeext
39192 if { (ac_try
="$ac_link"
39193 case "(($ac_try" in
39194 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39195 *) ac_try_echo=$ac_try;;
39197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39198 (eval "$ac_link") 2>conftest.er1
39200 grep -v '^ *+' conftest.er1 >conftest.err
39202 cat conftest.err >&5
39203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39204 (exit $ac_status); } && {
39205 test -z "$ac_cxx_werror_flag" ||
39206 test ! -s conftest.err
39207 } && test -s conftest$ac_exeext &&
39208 $as_test_x conftest$ac_exeext; then
39209 wx_cv_func_cxa_demangle=yes
39211 echo "$as_me: failed program was:" >&5
39212 sed 's/^/| /' conftest.$ac_ext >&5
39214 wx_cv_func_cxa_demangle=no
39218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39219 conftest$ac_exeext conftest.$ac_ext
39221 ac_cpp='$CPP $CPPFLAGS'
39222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39229 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39230 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39232 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39233 cat >>confdefs.h <<\_ACEOF
39234 #define HAVE_CXA_DEMANGLE 1
39241 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39242 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39243 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39244 wxUSE_STACKWALKER=no
39250 for ac_func in mkstemp mktemp
39252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39253 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39255 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39256 echo $ECHO_N "(cached) $ECHO_C" >&6
39258 cat >conftest.$ac_ext <<_ACEOF
39261 cat confdefs.h >>conftest.$ac_ext
39262 cat >>conftest.$ac_ext <<_ACEOF
39263 /* end confdefs.h. */
39264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39266 #define $ac_func innocuous_$ac_func
39268 /* System header to define __stub macros and hopefully few prototypes,
39269 which can conflict with char $ac_func (); below.
39270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39271 <limits.h> exists even on freestanding compilers. */
39274 # include <limits.h>
39276 # include <assert.h>
39281 /* Override any GCC internal prototype to avoid an error.
39282 Use char because int might match the return type of a GCC
39283 builtin and then its argument prototype would still apply. */
39288 /* The GNU C library defines this for functions which it implements
39289 to always fail with ENOSYS. Some functions are actually named
39290 something starting with __ and the normal name is an alias. */
39291 #if defined __stub_$ac_func || defined __stub___$ac_func
39298 return $ac_func ();
39303 rm -f conftest.$ac_objext conftest$ac_exeext
39304 if { (ac_try="$ac_link"
39305 case "(($ac_try" in
39306 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39307 *) ac_try_echo
=$ac_try;;
39309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39310 (eval "$ac_link") 2>conftest.er1
39312 grep -v '^ *+' conftest.er1
>conftest.err
39314 cat conftest.err
>&5
39315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39316 (exit $ac_status); } && {
39317 test -z "$ac_c_werror_flag" ||
39318 test ! -s conftest.err
39319 } && test -s conftest
$ac_exeext &&
39320 $as_test_x conftest
$ac_exeext; then
39321 eval "$as_ac_var=yes"
39323 echo "$as_me: failed program was:" >&5
39324 sed 's/^/| /' conftest.
$ac_ext >&5
39326 eval "$as_ac_var=no"
39329 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39330 conftest
$ac_exeext conftest.
$ac_ext
39332 ac_res
=`eval echo '${'$as_ac_var'}'`
39333 { echo "$as_me:$LINENO: result: $ac_res" >&5
39334 echo "${ECHO_T}$ac_res" >&6; }
39335 if test `eval echo '${'$as_ac_var'}'` = yes; then
39336 cat >>confdefs.h
<<_ACEOF
39337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39344 { echo "$as_me:$LINENO: checking for statfs" >&5
39345 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39346 if test "${wx_cv_func_statfs+set}" = set; then
39347 echo $ECHO_N "(cached) $ECHO_C" >&6
39349 cat >conftest.
$ac_ext <<_ACEOF
39352 cat confdefs.h
>>conftest.
$ac_ext
39353 cat >>conftest.
$ac_ext <<_ACEOF
39354 /* end confdefs.h. */
39356 #if defined(__BSD__)
39357 #include <sys/param.h>
39358 #include <sys/mount.h>
39360 #include <sys/vfs.h>
39378 rm -f conftest.
$ac_objext
39379 if { (ac_try
="$ac_compile"
39380 case "(($ac_try" in
39381 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39382 *) ac_try_echo=$ac_try;;
39384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39385 (eval "$ac_compile") 2>conftest.er1
39387 grep -v '^ *+' conftest.er1 >conftest.err
39389 cat conftest.err >&5
39390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39391 (exit $ac_status); } && {
39392 test -z "$ac_c_werror_flag" ||
39393 test ! -s conftest.err
39394 } && test -s conftest.$ac_objext; then
39395 wx_cv_func_statfs=yes
39397 echo "$as_me: failed program was:" >&5
39398 sed 's/^/| /' conftest.$ac_ext >&5
39400 wx_cv_func_statfs=no
39404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39407 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39408 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39410 if test "$wx_cv_func_statfs" = "yes"; then
39411 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39412 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39413 if test "${wx_cv_func_statfs_decl+set}" = set; then
39414 echo $ECHO_N "(cached) $ECHO_C" >&6
39417 ac_cpp='$CXXCPP $CPPFLAGS'
39418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39422 cat >conftest.$ac_ext <<_ACEOF
39425 cat confdefs.h >>conftest.$ac_ext
39426 cat >>conftest.$ac_ext <<_ACEOF
39427 /* end confdefs.h. */
39429 #if defined(__BSD__)
39430 #include <sys/param.h>
39431 #include <sys/mount.h>
39433 #include <sys/vfs.h>
39447 rm -f conftest.$ac_objext
39448 if { (ac_try="$ac_compile"
39449 case "(($ac_try" in
39450 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39451 *) ac_try_echo
=$ac_try;;
39453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39454 (eval "$ac_compile") 2>conftest.er1
39456 grep -v '^ *+' conftest.er1
>conftest.err
39458 cat conftest.err
>&5
39459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39460 (exit $ac_status); } && {
39461 test -z "$ac_cxx_werror_flag" ||
39462 test ! -s conftest.err
39463 } && test -s conftest.
$ac_objext; then
39464 wx_cv_func_statfs_decl
=yes
39466 echo "$as_me: failed program was:" >&5
39467 sed 's/^/| /' conftest.
$ac_ext >&5
39469 wx_cv_func_statfs_decl
=no
39473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39475 ac_cpp
='$CPP $CPPFLAGS'
39476 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39477 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39478 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39482 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39483 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39485 if test "$wx_cv_func_statfs_decl" = "yes"; then
39486 cat >>confdefs.h
<<\_ACEOF
39487 #define HAVE_STATFS_DECL 1
39492 wx_cv_type_statvfs_t
="struct statfs"
39493 cat >>confdefs.h
<<\_ACEOF
39494 #define HAVE_STATFS 1
39498 { echo "$as_me:$LINENO: checking for statvfs" >&5
39499 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39500 if test "${wx_cv_func_statvfs+set}" = set; then
39501 echo $ECHO_N "(cached) $ECHO_C" >&6
39503 cat >conftest.
$ac_ext <<_ACEOF
39506 cat confdefs.h
>>conftest.
$ac_ext
39507 cat >>conftest.
$ac_ext <<_ACEOF
39508 /* end confdefs.h. */
39510 #include <stddef.h>
39511 #include <sys/statvfs.h>
39517 statvfs("/", NULL);
39523 rm -f conftest.
$ac_objext
39524 if { (ac_try
="$ac_compile"
39525 case "(($ac_try" in
39526 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39527 *) ac_try_echo=$ac_try;;
39529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39530 (eval "$ac_compile") 2>conftest.er1
39532 grep -v '^ *+' conftest.er1 >conftest.err
39534 cat conftest.err >&5
39535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39536 (exit $ac_status); } && {
39537 test -z "$ac_c_werror_flag" ||
39538 test ! -s conftest.err
39539 } && test -s conftest.$ac_objext; then
39540 wx_cv_func_statvfs=yes
39542 echo "$as_me: failed program was:" >&5
39543 sed 's/^/| /' conftest.$ac_ext >&5
39545 wx_cv_func_statvfs=no
39549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39552 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39553 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39555 if test "$wx_cv_func_statvfs" = "yes"; then
39556 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39557 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39558 if test "${wx_cv_type_statvfs_t+set}" = set; then
39559 echo $ECHO_N "(cached) $ECHO_C" >&6
39562 ac_cpp='$CXXCPP $CPPFLAGS'
39563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39567 cat >conftest.$ac_ext <<_ACEOF
39570 cat confdefs.h >>conftest.$ac_ext
39571 cat >>conftest.$ac_ext <<_ACEOF
39572 /* end confdefs.h. */
39574 #include <sys/statvfs.h>
39591 rm -f conftest.$ac_objext
39592 if { (ac_try="$ac_compile"
39593 case "(($ac_try" in
39594 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39595 *) ac_try_echo
=$ac_try;;
39597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39598 (eval "$ac_compile") 2>conftest.er1
39600 grep -v '^ *+' conftest.er1
>conftest.err
39602 cat conftest.err
>&5
39603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39604 (exit $ac_status); } && {
39605 test -z "$ac_cxx_werror_flag" ||
39606 test ! -s conftest.err
39607 } && test -s conftest.
$ac_objext; then
39608 wx_cv_type_statvfs_t
=statvfs_t
39610 echo "$as_me: failed program was:" >&5
39611 sed 's/^/| /' conftest.
$ac_ext >&5
39614 cat >conftest.
$ac_ext <<_ACEOF
39617 cat confdefs.h
>>conftest.
$ac_ext
39618 cat >>conftest.
$ac_ext <<_ACEOF
39619 /* end confdefs.h. */
39621 #include <sys/statvfs.h>
39638 rm -f conftest.
$ac_objext
39639 if { (ac_try
="$ac_compile"
39640 case "(($ac_try" in
39641 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39642 *) ac_try_echo=$ac_try;;
39644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39645 (eval "$ac_compile") 2>conftest.er1
39647 grep -v '^ *+' conftest.er1 >conftest.err
39649 cat conftest.err >&5
39650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39651 (exit $ac_status); } && {
39652 test -z "$ac_cxx_werror_flag" ||
39653 test ! -s conftest.err
39654 } && test -s conftest.$ac_objext; then
39655 wx_cv_type_statvfs_t="struct statvfs"
39657 echo "$as_me: failed program was:" >&5
39658 sed 's/^/| /' conftest.$ac_ext >&5
39660 wx_cv_type_statvfs_t="unknown"
39664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39671 ac_cpp='$CPP $CPPFLAGS'
39672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39678 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39679 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39681 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39682 cat >>confdefs.h <<\_ACEOF
39683 #define HAVE_STATVFS 1
39688 wx_cv_type_statvfs_t="unknown"
39692 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39693 cat >>confdefs.h <<_ACEOF
39694 #define WX_STATFS_T $wx_cv_type_statvfs_t
39698 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39699 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39702 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39705 for ac_func in fcntl flock
39707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39708 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39710 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39711 echo $ECHO_N "(cached) $ECHO_C" >&6
39713 cat >conftest.$ac_ext <<_ACEOF
39716 cat confdefs.h >>conftest.$ac_ext
39717 cat >>conftest.$ac_ext <<_ACEOF
39718 /* end confdefs.h. */
39719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39721 #define $ac_func innocuous_$ac_func
39723 /* System header to define __stub macros and hopefully few prototypes,
39724 which can conflict with char $ac_func (); below.
39725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39726 <limits.h> exists even on freestanding compilers. */
39729 # include <limits.h>
39731 # include <assert.h>
39736 /* Override any GCC internal prototype to avoid an error.
39737 Use char because int might match the return type of a GCC
39738 builtin and then its argument prototype would still apply. */
39743 /* The GNU C library defines this for functions which it implements
39744 to always fail with ENOSYS. Some functions are actually named
39745 something starting with __ and the normal name is an alias. */
39746 #if defined __stub_$ac_func || defined __stub___$ac_func
39753 return $ac_func ();
39758 rm -f conftest.$ac_objext conftest$ac_exeext
39759 if { (ac_try="$ac_link"
39760 case "(($ac_try" in
39761 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39762 *) ac_try_echo
=$ac_try;;
39764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39765 (eval "$ac_link") 2>conftest.er1
39767 grep -v '^ *+' conftest.er1
>conftest.err
39769 cat conftest.err
>&5
39770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39771 (exit $ac_status); } && {
39772 test -z "$ac_c_werror_flag" ||
39773 test ! -s conftest.err
39774 } && test -s conftest
$ac_exeext &&
39775 $as_test_x conftest
$ac_exeext; then
39776 eval "$as_ac_var=yes"
39778 echo "$as_me: failed program was:" >&5
39779 sed 's/^/| /' conftest.
$ac_ext >&5
39781 eval "$as_ac_var=no"
39784 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39785 conftest
$ac_exeext conftest.
$ac_ext
39787 ac_res
=`eval echo '${'$as_ac_var'}'`
39788 { echo "$as_me:$LINENO: result: $ac_res" >&5
39789 echo "${ECHO_T}$ac_res" >&6; }
39790 if test `eval echo '${'$as_ac_var'}'` = yes; then
39791 cat >>confdefs.h
<<_ACEOF
39792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39799 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39800 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39801 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39802 wxUSE_SNGLINST_CHECKER
=no
39807 for ac_func
in timegm
39809 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39810 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39812 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39813 echo $ECHO_N "(cached) $ECHO_C" >&6
39815 cat >conftest.
$ac_ext <<_ACEOF
39818 cat confdefs.h
>>conftest.
$ac_ext
39819 cat >>conftest.
$ac_ext <<_ACEOF
39820 /* end confdefs.h. */
39821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39823 #define $ac_func innocuous_$ac_func
39825 /* System header to define __stub macros and hopefully few prototypes,
39826 which can conflict with char $ac_func (); below.
39827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39828 <limits.h> exists even on freestanding compilers. */
39831 # include <limits.h>
39833 # include <assert.h>
39838 /* Override any GCC internal prototype to avoid an error.
39839 Use char because int might match the return type of a GCC
39840 builtin and then its argument prototype would still apply. */
39845 /* The GNU C library defines this for functions which it implements
39846 to always fail with ENOSYS. Some functions are actually named
39847 something starting with __ and the normal name is an alias. */
39848 #if defined __stub_$ac_func || defined __stub___$ac_func
39855 return $ac_func ();
39860 rm -f conftest.
$ac_objext conftest
$ac_exeext
39861 if { (ac_try
="$ac_link"
39862 case "(($ac_try" in
39863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39864 *) ac_try_echo=$ac_try;;
39866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39867 (eval "$ac_link") 2>conftest.er1
39869 grep -v '^ *+' conftest.er1 >conftest.err
39871 cat conftest.err >&5
39872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39873 (exit $ac_status); } && {
39874 test -z "$ac_c_werror_flag" ||
39875 test ! -s conftest.err
39876 } && test -s conftest$ac_exeext &&
39877 $as_test_x conftest$ac_exeext; then
39878 eval "$as_ac_var=yes"
39880 echo "$as_me: failed program was:" >&5
39881 sed 's/^/| /' conftest.$ac_ext >&5
39883 eval "$as_ac_var=no"
39886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39887 conftest$ac_exeext conftest.$ac_ext
39889 ac_res=`eval echo '${'$as_ac_var'}'`
39890 { echo "$as_me:$LINENO: result: $ac_res" >&5
39891 echo "${ECHO_T}$ac_res" >&6; }
39892 if test `eval echo '${'$as_ac_var'}'` = yes; then
39893 cat >>confdefs.h <<_ACEOF
39894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39903 for ac_func in setenv putenv
39905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39906 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39908 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39909 echo $ECHO_N "(cached) $ECHO_C" >&6
39911 cat >conftest.$ac_ext <<_ACEOF
39914 cat confdefs.h >>conftest.$ac_ext
39915 cat >>conftest.$ac_ext <<_ACEOF
39916 /* end confdefs.h. */
39917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39919 #define $ac_func innocuous_$ac_func
39921 /* System header to define __stub macros and hopefully few prototypes,
39922 which can conflict with char $ac_func (); below.
39923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39924 <limits.h> exists even on freestanding compilers. */
39927 # include <limits.h>
39929 # include <assert.h>
39934 /* Override any GCC internal prototype to avoid an error.
39935 Use char because int might match the return type of a GCC
39936 builtin and then its argument prototype would still apply. */
39941 /* The GNU C library defines this for functions which it implements
39942 to always fail with ENOSYS. Some functions are actually named
39943 something starting with __ and the normal name is an alias. */
39944 #if defined __stub_$ac_func || defined __stub___$ac_func
39951 return $ac_func ();
39956 rm -f conftest.$ac_objext conftest$ac_exeext
39957 if { (ac_try="$ac_link"
39958 case "(($ac_try" in
39959 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39960 *) ac_try_echo
=$ac_try;;
39962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39963 (eval "$ac_link") 2>conftest.er1
39965 grep -v '^ *+' conftest.er1
>conftest.err
39967 cat conftest.err
>&5
39968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39969 (exit $ac_status); } && {
39970 test -z "$ac_c_werror_flag" ||
39971 test ! -s conftest.err
39972 } && test -s conftest
$ac_exeext &&
39973 $as_test_x conftest
$ac_exeext; then
39974 eval "$as_ac_var=yes"
39976 echo "$as_me: failed program was:" >&5
39977 sed 's/^/| /' conftest.
$ac_ext >&5
39979 eval "$as_ac_var=no"
39982 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39983 conftest
$ac_exeext conftest.
$ac_ext
39985 ac_res
=`eval echo '${'$as_ac_var'}'`
39986 { echo "$as_me:$LINENO: result: $ac_res" >&5
39987 echo "${ECHO_T}$ac_res" >&6; }
39988 if test `eval echo '${'$as_ac_var'}'` = yes; then
39989 cat >>confdefs.h
<<_ACEOF
39990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39997 HAVE_SOME_SLEEP_FUNC
=0
39998 if test "$USE_BEOS" = 1; then
39999 cat >>confdefs.h
<<\_ACEOF
40000 #define HAVE_SLEEP 1
40003 HAVE_SOME_SLEEP_FUNC
=1
40006 if test "$USE_DARWIN" = 1; then
40007 cat >>confdefs.h
<<\_ACEOF
40008 #define HAVE_USLEEP 1
40011 HAVE_SOME_SLEEP_FUNC
=1
40014 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40017 for ac_func
in nanosleep
40019 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40020 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40022 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40023 echo $ECHO_N "(cached) $ECHO_C" >&6
40025 cat >conftest.
$ac_ext <<_ACEOF
40028 cat confdefs.h
>>conftest.
$ac_ext
40029 cat >>conftest.
$ac_ext <<_ACEOF
40030 /* end confdefs.h. */
40031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40033 #define $ac_func innocuous_$ac_func
40035 /* System header to define __stub macros and hopefully few prototypes,
40036 which can conflict with char $ac_func (); below.
40037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40038 <limits.h> exists even on freestanding compilers. */
40041 # include <limits.h>
40043 # include <assert.h>
40048 /* Override any GCC internal prototype to avoid an error.
40049 Use char because int might match the return type of a GCC
40050 builtin and then its argument prototype would still apply. */
40055 /* The GNU C library defines this for functions which it implements
40056 to always fail with ENOSYS. Some functions are actually named
40057 something starting with __ and the normal name is an alias. */
40058 #if defined __stub_$ac_func || defined __stub___$ac_func
40065 return $ac_func ();
40070 rm -f conftest.
$ac_objext conftest
$ac_exeext
40071 if { (ac_try
="$ac_link"
40072 case "(($ac_try" in
40073 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40074 *) ac_try_echo=$ac_try;;
40076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40077 (eval "$ac_link") 2>conftest.er1
40079 grep -v '^ *+' conftest.er1 >conftest.err
40081 cat conftest.err >&5
40082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40083 (exit $ac_status); } && {
40084 test -z "$ac_c_werror_flag" ||
40085 test ! -s conftest.err
40086 } && test -s conftest$ac_exeext &&
40087 $as_test_x conftest$ac_exeext; then
40088 eval "$as_ac_var=yes"
40090 echo "$as_me: failed program was:" >&5
40091 sed 's/^/| /' conftest.$ac_ext >&5
40093 eval "$as_ac_var=no"
40096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40097 conftest$ac_exeext conftest.$ac_ext
40099 ac_res=`eval echo '${'$as_ac_var'}'`
40100 { echo "$as_me:$LINENO: result: $ac_res" >&5
40101 echo "${ECHO_T}$ac_res" >&6; }
40102 if test `eval echo '${'$as_ac_var'}'` = yes; then
40103 cat >>confdefs.h <<_ACEOF
40104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40106 cat >>confdefs.h <<\_ACEOF
40107 #define HAVE_NANOSLEEP 1
40112 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40113 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40114 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40115 echo $ECHO_N "(cached) $ECHO_C" >&6
40117 ac_check_lib_save_LIBS=$LIBS
40118 LIBS="-lposix4 $LIBS"
40119 cat >conftest.$ac_ext <<_ACEOF
40122 cat confdefs.h >>conftest.$ac_ext
40123 cat >>conftest.$ac_ext <<_ACEOF
40124 /* end confdefs.h. */
40126 /* Override any GCC internal prototype to avoid an error.
40127 Use char because int might match the return type of a GCC
40128 builtin and then its argument prototype would still apply. */
40136 return nanosleep ();
40141 rm -f conftest.$ac_objext conftest$ac_exeext
40142 if { (ac_try="$ac_link"
40143 case "(($ac_try" in
40144 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40145 *) ac_try_echo
=$ac_try;;
40147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40148 (eval "$ac_link") 2>conftest.er1
40150 grep -v '^ *+' conftest.er1
>conftest.err
40152 cat conftest.err
>&5
40153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40154 (exit $ac_status); } && {
40155 test -z "$ac_c_werror_flag" ||
40156 test ! -s conftest.err
40157 } && test -s conftest
$ac_exeext &&
40158 $as_test_x conftest
$ac_exeext; then
40159 ac_cv_lib_posix4_nanosleep
=yes
40161 echo "$as_me: failed program was:" >&5
40162 sed 's/^/| /' conftest.
$ac_ext >&5
40164 ac_cv_lib_posix4_nanosleep
=no
40167 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40168 conftest
$ac_exeext conftest.
$ac_ext
40169 LIBS
=$ac_check_lib_save_LIBS
40171 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40172 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40173 if test $ac_cv_lib_posix4_nanosleep = yes; then
40175 cat >>confdefs.h
<<\_ACEOF
40176 #define HAVE_NANOSLEEP 1
40179 POSIX4_LINK
=" -lposix4"
40184 for wx_func
in usleep
40186 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40187 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40188 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40189 echo $ECHO_N "(cached) $ECHO_C" >&6
40192 cat >conftest.
$ac_ext <<_ACEOF
40196 cat confdefs.h
>>conftest.
$ac_ext
40197 cat >>conftest.
$ac_ext <<_ACEOF
40198 /* end confdefs.h. */
40201 $ac_includes_default
40217 rm -f conftest.
$ac_objext conftest
$ac_exeext
40218 if { (ac_try
="$ac_link"
40219 case "(($ac_try" in
40220 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40221 *) ac_try_echo=$ac_try;;
40223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40224 (eval "$ac_link") 2>conftest.er1
40226 grep -v '^ *+' conftest.er1 >conftest.err
40228 cat conftest.err >&5
40229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40230 (exit $ac_status); } && {
40231 test -z "$ac_c_werror_flag" ||
40232 test ! -s conftest.err
40233 } && test -s conftest$ac_exeext &&
40234 $as_test_x conftest$ac_exeext; then
40235 eval wx_cv_func_$wx_func=yes
40237 echo "$as_me: failed program was:" >&5
40238 sed 's/^/| /' conftest.$ac_ext >&5
40240 eval wx_cv_func_$wx_func=no
40243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40244 conftest$ac_exeext conftest.$ac_ext
40247 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40248 { echo "$as_me:$LINENO: result: $ac_res" >&5
40249 echo "${ECHO_T}$ac_res" >&6; }
40251 if eval test \$wx_cv_func_$wx_func = yes
40253 cat >>confdefs.h <<_ACEOF
40254 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40260 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40261 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40278 for wx_func in uname
40280 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40281 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40282 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40283 echo $ECHO_N "(cached) $ECHO_C" >&6
40286 cat >conftest.$ac_ext <<_ACEOF
40290 cat confdefs.h >>conftest.$ac_ext
40291 cat >>conftest.$ac_ext <<_ACEOF
40292 /* end confdefs.h. */
40294 #include <sys/utsname.h>
40295 $ac_includes_default
40311 rm -f conftest.$ac_objext conftest$ac_exeext
40312 if { (ac_try="$ac_link"
40313 case "(($ac_try" in
40314 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40315 *) ac_try_echo
=$ac_try;;
40317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40318 (eval "$ac_link") 2>conftest.er1
40320 grep -v '^ *+' conftest.er1
>conftest.err
40322 cat conftest.err
>&5
40323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40324 (exit $ac_status); } && {
40325 test -z "$ac_c_werror_flag" ||
40326 test ! -s conftest.err
40327 } && test -s conftest
$ac_exeext &&
40328 $as_test_x conftest
$ac_exeext; then
40329 eval wx_cv_func_
$wx_func=yes
40331 echo "$as_me: failed program was:" >&5
40332 sed 's/^/| /' conftest.
$ac_ext >&5
40334 eval wx_cv_func_
$wx_func=no
40337 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40338 conftest
$ac_exeext conftest.
$ac_ext
40341 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40342 { echo "$as_me:$LINENO: result: $ac_res" >&5
40343 echo "${ECHO_T}$ac_res" >&6; }
40345 if eval test \
$wx_cv_func_$wx_func = yes
40347 cat >>confdefs.h
<<_ACEOF
40348 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40358 if test "$wx_cv_func_uname" != yes; then
40360 for wx_func
in gethostname
40362 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40363 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40364 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40365 echo $ECHO_N "(cached) $ECHO_C" >&6
40368 cat >conftest.
$ac_ext <<_ACEOF
40372 cat confdefs.h
>>conftest.
$ac_ext
40373 cat >>conftest.
$ac_ext <<_ACEOF
40374 /* end confdefs.h. */
40377 $ac_includes_default
40393 rm -f conftest.
$ac_objext conftest
$ac_exeext
40394 if { (ac_try
="$ac_link"
40395 case "(($ac_try" in
40396 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40397 *) ac_try_echo=$ac_try;;
40399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40400 (eval "$ac_link") 2>conftest.er1
40402 grep -v '^ *+' conftest.er1 >conftest.err
40404 cat conftest.err >&5
40405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40406 (exit $ac_status); } && {
40407 test -z "$ac_c_werror_flag" ||
40408 test ! -s conftest.err
40409 } && test -s conftest$ac_exeext &&
40410 $as_test_x conftest$ac_exeext; then
40411 eval wx_cv_func_$wx_func=yes
40413 echo "$as_me: failed program was:" >&5
40414 sed 's/^/| /' conftest.$ac_ext >&5
40416 eval wx_cv_func_$wx_func=no
40419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40420 conftest$ac_exeext conftest.$ac_ext
40423 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40424 { echo "$as_me:$LINENO: result: $ac_res" >&5
40425 echo "${ECHO_T}$ac_res" >&6; }
40427 if eval test \$wx_cv_func_$wx_func = yes
40429 cat >>confdefs.h <<_ACEOF
40430 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40443 for wx_func in strtok_r
40445 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40446 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40447 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40448 echo $ECHO_N "(cached) $ECHO_C" >&6
40451 cat >conftest.$ac_ext <<_ACEOF
40455 cat confdefs.h >>conftest.$ac_ext
40456 cat >>conftest.$ac_ext <<_ACEOF
40457 /* end confdefs.h. */
40460 $ac_includes_default
40476 rm -f conftest.$ac_objext conftest$ac_exeext
40477 if { (ac_try="$ac_link"
40478 case "(($ac_try" in
40479 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40480 *) ac_try_echo
=$ac_try;;
40482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40483 (eval "$ac_link") 2>conftest.er1
40485 grep -v '^ *+' conftest.er1
>conftest.err
40487 cat conftest.err
>&5
40488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40489 (exit $ac_status); } && {
40490 test -z "$ac_c_werror_flag" ||
40491 test ! -s conftest.err
40492 } && test -s conftest
$ac_exeext &&
40493 $as_test_x conftest
$ac_exeext; then
40494 eval wx_cv_func_
$wx_func=yes
40496 echo "$as_me: failed program was:" >&5
40497 sed 's/^/| /' conftest.
$ac_ext >&5
40499 eval wx_cv_func_
$wx_func=no
40502 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40503 conftest
$ac_exeext conftest.
$ac_ext
40506 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40507 { echo "$as_me:$LINENO: result: $ac_res" >&5
40508 echo "${ECHO_T}$ac_res" >&6; }
40510 if eval test \
$wx_cv_func_$wx_func = yes
40512 cat >>confdefs.h
<<_ACEOF
40513 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40526 for ac_func
in inet_addr
40528 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40529 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40531 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40532 echo $ECHO_N "(cached) $ECHO_C" >&6
40534 cat >conftest.
$ac_ext <<_ACEOF
40537 cat confdefs.h
>>conftest.
$ac_ext
40538 cat >>conftest.
$ac_ext <<_ACEOF
40539 /* end confdefs.h. */
40540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40542 #define $ac_func innocuous_$ac_func
40544 /* System header to define __stub macros and hopefully few prototypes,
40545 which can conflict with char $ac_func (); below.
40546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40547 <limits.h> exists even on freestanding compilers. */
40550 # include <limits.h>
40552 # include <assert.h>
40557 /* Override any GCC internal prototype to avoid an error.
40558 Use char because int might match the return type of a GCC
40559 builtin and then its argument prototype would still apply. */
40564 /* The GNU C library defines this for functions which it implements
40565 to always fail with ENOSYS. Some functions are actually named
40566 something starting with __ and the normal name is an alias. */
40567 #if defined __stub_$ac_func || defined __stub___$ac_func
40574 return $ac_func ();
40579 rm -f conftest.
$ac_objext conftest
$ac_exeext
40580 if { (ac_try
="$ac_link"
40581 case "(($ac_try" in
40582 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40583 *) ac_try_echo=$ac_try;;
40585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40586 (eval "$ac_link") 2>conftest.er1
40588 grep -v '^ *+' conftest.er1 >conftest.err
40590 cat conftest.err >&5
40591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40592 (exit $ac_status); } && {
40593 test -z "$ac_c_werror_flag" ||
40594 test ! -s conftest.err
40595 } && test -s conftest$ac_exeext &&
40596 $as_test_x conftest$ac_exeext; then
40597 eval "$as_ac_var=yes"
40599 echo "$as_me: failed program was:" >&5
40600 sed 's/^/| /' conftest.$ac_ext >&5
40602 eval "$as_ac_var=no"
40605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40606 conftest$ac_exeext conftest.$ac_ext
40608 ac_res=`eval echo '${'$as_ac_var'}'`
40609 { echo "$as_me:$LINENO: result: $ac_res" >&5
40610 echo "${ECHO_T}$ac_res" >&6; }
40611 if test `eval echo '${'$as_ac_var'}'` = yes; then
40612 cat >>confdefs.h <<_ACEOF
40613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40615 cat >>confdefs.h <<\_ACEOF
40616 #define HAVE_INET_ADDR 1
40621 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40622 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40623 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40624 echo $ECHO_N "(cached) $ECHO_C" >&6
40626 ac_check_lib_save_LIBS=$LIBS
40628 cat >conftest.$ac_ext <<_ACEOF
40631 cat confdefs.h >>conftest.$ac_ext
40632 cat >>conftest.$ac_ext <<_ACEOF
40633 /* end confdefs.h. */
40635 /* Override any GCC internal prototype to avoid an error.
40636 Use char because int might match the return type of a GCC
40637 builtin and then its argument prototype would still apply. */
40645 return inet_addr ();
40650 rm -f conftest.$ac_objext conftest$ac_exeext
40651 if { (ac_try="$ac_link"
40652 case "(($ac_try" in
40653 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40654 *) ac_try_echo
=$ac_try;;
40656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40657 (eval "$ac_link") 2>conftest.er1
40659 grep -v '^ *+' conftest.er1
>conftest.err
40661 cat conftest.err
>&5
40662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40663 (exit $ac_status); } && {
40664 test -z "$ac_c_werror_flag" ||
40665 test ! -s conftest.err
40666 } && test -s conftest
$ac_exeext &&
40667 $as_test_x conftest
$ac_exeext; then
40668 ac_cv_lib_nsl_inet_addr
=yes
40670 echo "$as_me: failed program was:" >&5
40671 sed 's/^/| /' conftest.
$ac_ext >&5
40673 ac_cv_lib_nsl_inet_addr
=no
40676 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40677 conftest
$ac_exeext conftest.
$ac_ext
40678 LIBS
=$ac_check_lib_save_LIBS
40680 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40681 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40682 if test $ac_cv_lib_nsl_inet_addr = yes; then
40686 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40687 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40688 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40689 echo $ECHO_N "(cached) $ECHO_C" >&6
40691 ac_check_lib_save_LIBS
=$LIBS
40692 LIBS
="-lresolv $LIBS"
40693 cat >conftest.
$ac_ext <<_ACEOF
40696 cat confdefs.h
>>conftest.
$ac_ext
40697 cat >>conftest.
$ac_ext <<_ACEOF
40698 /* end confdefs.h. */
40700 /* Override any GCC internal prototype to avoid an error.
40701 Use char because int might match the return type of a GCC
40702 builtin and then its argument prototype would still apply. */
40710 return inet_addr ();
40715 rm -f conftest.
$ac_objext conftest
$ac_exeext
40716 if { (ac_try
="$ac_link"
40717 case "(($ac_try" in
40718 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40719 *) ac_try_echo=$ac_try;;
40721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40722 (eval "$ac_link") 2>conftest.er1
40724 grep -v '^ *+' conftest.er1 >conftest.err
40726 cat conftest.err >&5
40727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40728 (exit $ac_status); } && {
40729 test -z "$ac_c_werror_flag" ||
40730 test ! -s conftest.err
40731 } && test -s conftest$ac_exeext &&
40732 $as_test_x conftest$ac_exeext; then
40733 ac_cv_lib_resolv_inet_addr=yes
40735 echo "$as_me: failed program was:" >&5
40736 sed 's/^/| /' conftest.$ac_ext >&5
40738 ac_cv_lib_resolv_inet_addr=no
40741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40742 conftest$ac_exeext conftest.$ac_ext
40743 LIBS=$ac_check_lib_save_LIBS
40745 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40746 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40747 if test $ac_cv_lib_resolv_inet_addr = yes; then
40751 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40752 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40753 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40754 echo $ECHO_N "(cached) $ECHO_C" >&6
40756 ac_check_lib_save_LIBS=$LIBS
40757 LIBS="-lsocket $LIBS"
40758 cat >conftest.$ac_ext <<_ACEOF
40761 cat confdefs.h >>conftest.$ac_ext
40762 cat >>conftest.$ac_ext <<_ACEOF
40763 /* end confdefs.h. */
40765 /* Override any GCC internal prototype to avoid an error.
40766 Use char because int might match the return type of a GCC
40767 builtin and then its argument prototype would still apply. */
40775 return inet_addr ();
40780 rm -f conftest.$ac_objext conftest$ac_exeext
40781 if { (ac_try="$ac_link"
40782 case "(($ac_try" in
40783 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40784 *) ac_try_echo
=$ac_try;;
40786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40787 (eval "$ac_link") 2>conftest.er1
40789 grep -v '^ *+' conftest.er1
>conftest.err
40791 cat conftest.err
>&5
40792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40793 (exit $ac_status); } && {
40794 test -z "$ac_c_werror_flag" ||
40795 test ! -s conftest.err
40796 } && test -s conftest
$ac_exeext &&
40797 $as_test_x conftest
$ac_exeext; then
40798 ac_cv_lib_socket_inet_addr
=yes
40800 echo "$as_me: failed program was:" >&5
40801 sed 's/^/| /' conftest.
$ac_ext >&5
40803 ac_cv_lib_socket_inet_addr
=no
40806 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40807 conftest
$ac_exeext conftest.
$ac_ext
40808 LIBS
=$ac_check_lib_save_LIBS
40810 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40811 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40812 if test $ac_cv_lib_socket_inet_addr = yes; then
40832 for ac_func
in inet_aton
40834 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40835 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40837 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40838 echo $ECHO_N "(cached) $ECHO_C" >&6
40840 cat >conftest.
$ac_ext <<_ACEOF
40843 cat confdefs.h
>>conftest.
$ac_ext
40844 cat >>conftest.
$ac_ext <<_ACEOF
40845 /* end confdefs.h. */
40846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40848 #define $ac_func innocuous_$ac_func
40850 /* System header to define __stub macros and hopefully few prototypes,
40851 which can conflict with char $ac_func (); below.
40852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40853 <limits.h> exists even on freestanding compilers. */
40856 # include <limits.h>
40858 # include <assert.h>
40863 /* Override any GCC internal prototype to avoid an error.
40864 Use char because int might match the return type of a GCC
40865 builtin and then its argument prototype would still apply. */
40870 /* The GNU C library defines this for functions which it implements
40871 to always fail with ENOSYS. Some functions are actually named
40872 something starting with __ and the normal name is an alias. */
40873 #if defined __stub_$ac_func || defined __stub___$ac_func
40880 return $ac_func ();
40885 rm -f conftest.
$ac_objext conftest
$ac_exeext
40886 if { (ac_try
="$ac_link"
40887 case "(($ac_try" in
40888 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40889 *) ac_try_echo=$ac_try;;
40891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40892 (eval "$ac_link") 2>conftest.er1
40894 grep -v '^ *+' conftest.er1 >conftest.err
40896 cat conftest.err >&5
40897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40898 (exit $ac_status); } && {
40899 test -z "$ac_c_werror_flag" ||
40900 test ! -s conftest.err
40901 } && test -s conftest$ac_exeext &&
40902 $as_test_x conftest$ac_exeext; then
40903 eval "$as_ac_var=yes"
40905 echo "$as_me: failed program was:" >&5
40906 sed 's/^/| /' conftest.$ac_ext >&5
40908 eval "$as_ac_var=no"
40911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40912 conftest$ac_exeext conftest.$ac_ext
40914 ac_res=`eval echo '${'$as_ac_var'}'`
40915 { echo "$as_me:$LINENO: result: $ac_res" >&5
40916 echo "${ECHO_T}$ac_res" >&6; }
40917 if test `eval echo '${'$as_ac_var'}'` = yes; then
40918 cat >>confdefs.h <<_ACEOF
40919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40921 cat >>confdefs.h <<\_ACEOF
40922 #define HAVE_INET_ATON 1
40927 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40928 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40929 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40930 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40931 echo $ECHO_N "(cached) $ECHO_C" >&6
40933 ac_check_lib_save_LIBS=$LIBS
40934 LIBS="-l$INET_LINK $LIBS"
40935 cat >conftest.$ac_ext <<_ACEOF
40938 cat confdefs.h >>conftest.$ac_ext
40939 cat >>conftest.$ac_ext <<_ACEOF
40940 /* end confdefs.h. */
40942 /* Override any GCC internal prototype to avoid an error.
40943 Use char because int might match the return type of a GCC
40944 builtin and then its argument prototype would still apply. */
40952 return inet_aton ();
40957 rm -f conftest.$ac_objext conftest$ac_exeext
40958 if { (ac_try="$ac_link"
40959 case "(($ac_try" in
40960 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40961 *) ac_try_echo
=$ac_try;;
40963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40964 (eval "$ac_link") 2>conftest.er1
40966 grep -v '^ *+' conftest.er1
>conftest.err
40968 cat conftest.err
>&5
40969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40970 (exit $ac_status); } && {
40971 test -z "$ac_c_werror_flag" ||
40972 test ! -s conftest.err
40973 } && test -s conftest
$ac_exeext &&
40974 $as_test_x conftest
$ac_exeext; then
40975 eval "$as_ac_Lib=yes"
40977 echo "$as_me: failed program was:" >&5
40978 sed 's/^/| /' conftest.
$ac_ext >&5
40980 eval "$as_ac_Lib=no"
40983 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40984 conftest
$ac_exeext conftest.
$ac_ext
40985 LIBS
=$ac_check_lib_save_LIBS
40987 ac_res
=`eval echo '${'$as_ac_Lib'}'`
40988 { echo "$as_me:$LINENO: result: $ac_res" >&5
40989 echo "${ECHO_T}$ac_res" >&6; }
40990 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40991 cat >>confdefs.h
<<\_ACEOF
40992 #define HAVE_INET_ATON 1
41002 if test "x$INET_LINK" != "x"; then
41003 cat >>confdefs.h
<<\_ACEOF
41004 #define HAVE_INET_ADDR 1
41007 INET_LINK
=" -l$INET_LINK"
41011 for wx_func
in fdopen
41013 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41014 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41015 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41016 echo $ECHO_N "(cached) $ECHO_C" >&6
41019 cat >conftest.
$ac_ext <<_ACEOF
41023 cat confdefs.h
>>conftest.
$ac_ext
41024 cat >>conftest.
$ac_ext <<_ACEOF
41025 /* end confdefs.h. */
41028 $ac_includes_default
41044 rm -f conftest.
$ac_objext conftest
$ac_exeext
41045 if { (ac_try
="$ac_link"
41046 case "(($ac_try" in
41047 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41048 *) ac_try_echo=$ac_try;;
41050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41051 (eval "$ac_link") 2>conftest.er1
41053 grep -v '^ *+' conftest.er1 >conftest.err
41055 cat conftest.err >&5
41056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41057 (exit $ac_status); } && {
41058 test -z "$ac_c_werror_flag" ||
41059 test ! -s conftest.err
41060 } && test -s conftest$ac_exeext &&
41061 $as_test_x conftest$ac_exeext; then
41062 eval wx_cv_func_$wx_func=yes
41064 echo "$as_me: failed program was:" >&5
41065 sed 's/^/| /' conftest.$ac_ext >&5
41067 eval wx_cv_func_$wx_func=no
41070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41071 conftest$ac_exeext conftest.$ac_ext
41074 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41075 { echo "$as_me:$LINENO: result: $ac_res" >&5
41076 echo "${ECHO_T}$ac_res" >&6; }
41078 if eval test \$wx_cv_func_$wx_func = yes
41080 cat >>confdefs.h <<_ACEOF
41081 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41096 cat >confcache <<\_ACEOF
41097 # This file is a shell script that caches the results of configure
41098 # tests run on this system so they can be shared between configure
41099 # scripts and configure runs, see configure's option --config-cache.
41100 # It is not useful on other systems. If it contains results you don't
41101 # want to keep, you may remove or edit it.
41103 # config.status only pays attention to the cache file if you give it
41104 # the --recheck option to rerun configure.
41106 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
41107 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41108 # following values.
41112 # The following way of writing the cache mishandles newlines in values,
41113 # but we know of no workaround that is simple, portable, and efficient.
41114 # So, we kill variables containing newlines.
41115 # Ultrix sh set writes to stderr and can't be redirected directly,
41116 # and sets the high bit in the cache file unless we assign to the vars.
41118 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41119 eval ac_val
=\$
$ac_var
41123 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41124 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41127 _
| IFS
| as_nl
) ;; #(
41128 *) $as_unset $ac_var ;;
41134 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41135 *${as_nl}ac_space
=\
*)
41136 # `set' does not quote correctly, so add quotes (double-quote
41137 # substitution turns \\\\ into \\, and sed turns \\ into \).
41140 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41143 # `set' quotes correctly as required by POSIX, so do not add quotes.
41144 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41153 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41155 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41157 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41158 if test -w "$cache_file"; then
41159 test "x$cache_file" != "x/dev/null" &&
41160 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41161 echo "$as_me: updating cache $cache_file" >&6;}
41162 cat confcache
>$cache_file
41164 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41165 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41171 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41177 if test "$wxUSE_THREADS" = "yes" ; then
41178 if test "$USE_BEOS" = 1; then
41179 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41180 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41185 if test "$wxUSE_THREADS" = "yes" ; then
41188 THREAD_OPTS
="-pthread"
41189 if test "x$SUNCXX" = xyes
; then
41190 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
41194 *-*-solaris2* | *-*-sunos4* )
41195 if test "x$GCC" = "xyes"; then
41196 THREAD_OPTS
="-pthreads $THREAD_OPTS"
41200 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
41202 *-*-darwin* | *-*-cygwin* )
41206 THREAD_OPTS
="pthreads"
41209 if test "x$GCC" = "xyes"; then
41210 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
41218 if test "x$GCC" = "xyes"; then
41224 if test "x$GCC" != "xyes"; then
41225 THREAD_OPTS
="-Ethread"
41230 THREAD_OPTS
="$THREAD_OPTS pthread none"
41233 for flag
in $THREAD_OPTS; do
41236 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41237 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41241 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41242 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41243 THREADS_CFLAGS
="$flag"
41247 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41248 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41249 THREADS_LINK
="-l$flag"
41254 save_CFLAGS
="$CFLAGS"
41255 LIBS
="$THREADS_LINK $LIBS"
41256 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
41258 cat >conftest.
$ac_ext <<_ACEOF
41261 cat confdefs.h
>>conftest.
$ac_ext
41262 cat >>conftest.
$ac_ext <<_ACEOF
41263 /* end confdefs.h. */
41264 #include <pthread.h>
41268 pthread_create(0,0,0,0);
41273 rm -f conftest.
$ac_objext conftest
$ac_exeext
41274 if { (ac_try
="$ac_link"
41275 case "(($ac_try" in
41276 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41277 *) ac_try_echo=$ac_try;;
41279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41280 (eval "$ac_link") 2>conftest.er1
41282 grep -v '^ *+' conftest.er1 >conftest.err
41284 cat conftest.err >&5
41285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41286 (exit $ac_status); } && {
41287 test -z "$ac_c_werror_flag" ||
41288 test ! -s conftest.err
41289 } && test -s conftest$ac_exeext &&
41290 $as_test_x conftest$ac_exeext; then
41293 echo "$as_me: failed program was:" >&5
41294 sed 's/^/| /' conftest.$ac_ext >&5
41299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41300 conftest$ac_exeext conftest.$ac_ext
41303 CFLAGS="$save_CFLAGS"
41305 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41306 echo "${ECHO_T}$THREADS_OK" >&6; }
41307 if test "x$THREADS_OK" = "xyes"; then
41315 if test "x$THREADS_OK" != "xyes"; then
41317 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41318 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41320 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41321 LIBS="$THREADS_LINK $LIBS"
41323 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41324 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41328 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41329 flag="-D_THREAD_SAFE"
41332 flag="-D_THREAD_SAFE"
41335 flag="-D_REENTRANT"
41336 if test "x$GCC" != "xyes"; then
41337 flag="$flag -D_RWSTD_MULTI_THREAD"
41340 *solaris* | alpha*-osf*)
41341 flag="-D_REENTRANT"
41344 { echo "$as_me:$LINENO: result: ${flag}" >&5
41345 echo "${ECHO_T}${flag}" >&6; }
41346 if test "x$flag" != xno; then
41347 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41350 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41354 if test "$wxUSE_THREADS" = "yes" ; then
41356 for ac_func in thr_setconcurrency
41358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41359 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41361 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41362 echo $ECHO_N "(cached) $ECHO_C" >&6
41364 cat >conftest.$ac_ext <<_ACEOF
41367 cat confdefs.h >>conftest.$ac_ext
41368 cat >>conftest.$ac_ext <<_ACEOF
41369 /* end confdefs.h. */
41370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41372 #define $ac_func innocuous_$ac_func
41374 /* System header to define __stub macros and hopefully few prototypes,
41375 which can conflict with char $ac_func (); below.
41376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41377 <limits.h> exists even on freestanding compilers. */
41380 # include <limits.h>
41382 # include <assert.h>
41387 /* Override any GCC internal prototype to avoid an error.
41388 Use char because int might match the return type of a GCC
41389 builtin and then its argument prototype would still apply. */
41394 /* The GNU C library defines this for functions which it implements
41395 to always fail with ENOSYS. Some functions are actually named
41396 something starting with __ and the normal name is an alias. */
41397 #if defined __stub_$ac_func || defined __stub___$ac_func
41404 return $ac_func ();
41409 rm -f conftest.$ac_objext conftest$ac_exeext
41410 if { (ac_try="$ac_link"
41411 case "(($ac_try" in
41412 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41413 *) ac_try_echo
=$ac_try;;
41415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41416 (eval "$ac_link") 2>conftest.er1
41418 grep -v '^ *+' conftest.er1
>conftest.err
41420 cat conftest.err
>&5
41421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41422 (exit $ac_status); } && {
41423 test -z "$ac_c_werror_flag" ||
41424 test ! -s conftest.err
41425 } && test -s conftest
$ac_exeext &&
41426 $as_test_x conftest
$ac_exeext; then
41427 eval "$as_ac_var=yes"
41429 echo "$as_me: failed program was:" >&5
41430 sed 's/^/| /' conftest.
$ac_ext >&5
41432 eval "$as_ac_var=no"
41435 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41436 conftest
$ac_exeext conftest.
$ac_ext
41438 ac_res
=`eval echo '${'$as_ac_var'}'`
41439 { echo "$as_me:$LINENO: result: $ac_res" >&5
41440 echo "${ECHO_T}$ac_res" >&6; }
41441 if test `eval echo '${'$as_ac_var'}'` = yes; then
41442 cat >>confdefs.h
<<_ACEOF
41443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41450 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41451 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41452 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41453 echo $ECHO_N "(cached) $ECHO_C" >&6
41457 ac_cpp
='$CXXCPP $CPPFLAGS'
41458 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41459 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41460 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41462 cat >conftest.
$ac_ext <<_ACEOF
41465 cat confdefs.h
>>conftest.
$ac_ext
41466 cat >>conftest.
$ac_ext <<_ACEOF
41467 /* end confdefs.h. */
41468 #include <pthread.h>
41469 void ThreadCleanupFunc(void *p);
41476 pthread_cleanup_push(ThreadCleanupFunc, p);
41477 pthread_cleanup_pop(0);
41483 rm -f conftest.
$ac_objext
41484 if { (ac_try
="$ac_compile"
41485 case "(($ac_try" in
41486 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41487 *) ac_try_echo=$ac_try;;
41489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41490 (eval "$ac_compile") 2>conftest.er1
41492 grep -v '^ *+' conftest.er1 >conftest.err
41494 cat conftest.err >&5
41495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41496 (exit $ac_status); } && {
41497 test -z "$ac_cxx_werror_flag" ||
41498 test ! -s conftest.err
41499 } && test -s conftest.$ac_objext; then
41501 wx_cv_func_pthread_cleanup=yes
41504 echo "$as_me: failed program was:" >&5
41505 sed 's/^/| /' conftest.$ac_ext >&5
41508 wx_cv_func_pthread_cleanup=no
41513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41515 ac_cpp='$CPP $CPPFLAGS'
41516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41522 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41523 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41524 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41525 cat >>confdefs.h <<\_ACEOF
41526 #define wxHAVE_PTHREAD_CLEANUP 1
41532 for ac_header in sched.h
41534 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41535 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41537 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41538 echo $ECHO_N "(cached) $ECHO_C" >&6
41540 cat >conftest.$ac_ext <<_ACEOF
41543 cat confdefs.h >>conftest.$ac_ext
41544 cat >>conftest.$ac_ext <<_ACEOF
41545 /* end confdefs.h. */
41546 $ac_includes_default
41548 #include <$ac_header>
41550 rm -f conftest.$ac_objext
41551 if { (ac_try="$ac_compile"
41552 case "(($ac_try" in
41553 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41554 *) ac_try_echo
=$ac_try;;
41556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41557 (eval "$ac_compile") 2>conftest.er1
41559 grep -v '^ *+' conftest.er1
>conftest.err
41561 cat conftest.err
>&5
41562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41563 (exit $ac_status); } && {
41564 test -z "$ac_c_werror_flag" ||
41565 test ! -s conftest.err
41566 } && test -s conftest.
$ac_objext; then
41567 eval "$as_ac_Header=yes"
41569 echo "$as_me: failed program was:" >&5
41570 sed 's/^/| /' conftest.
$ac_ext >&5
41572 eval "$as_ac_Header=no"
41575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41577 ac_res
=`eval echo '${'$as_ac_Header'}'`
41578 { echo "$as_me:$LINENO: result: $ac_res" >&5
41579 echo "${ECHO_T}$ac_res" >&6; }
41580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41581 cat >>confdefs.h
<<_ACEOF
41582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41589 if test "$ac_cv_header_sched_h" = "yes"; then
41590 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41591 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41592 if test "${ac_cv_func_sched_yield+set}" = set; then
41593 echo $ECHO_N "(cached) $ECHO_C" >&6
41595 cat >conftest.
$ac_ext <<_ACEOF
41598 cat confdefs.h
>>conftest.
$ac_ext
41599 cat >>conftest.
$ac_ext <<_ACEOF
41600 /* end confdefs.h. */
41601 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41603 #define sched_yield innocuous_sched_yield
41605 /* System header to define __stub macros and hopefully few prototypes,
41606 which can conflict with char sched_yield (); below.
41607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41608 <limits.h> exists even on freestanding compilers. */
41611 # include <limits.h>
41613 # include <assert.h>
41618 /* Override any GCC internal prototype to avoid an error.
41619 Use char because int might match the return type of a GCC
41620 builtin and then its argument prototype would still apply. */
41624 char sched_yield ();
41625 /* The GNU C library defines this for functions which it implements
41626 to always fail with ENOSYS. Some functions are actually named
41627 something starting with __ and the normal name is an alias. */
41628 #if defined __stub_sched_yield || defined __stub___sched_yield
41635 return sched_yield ();
41640 rm -f conftest.
$ac_objext conftest
$ac_exeext
41641 if { (ac_try
="$ac_link"
41642 case "(($ac_try" in
41643 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41644 *) ac_try_echo=$ac_try;;
41646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41647 (eval "$ac_link") 2>conftest.er1
41649 grep -v '^ *+' conftest.er1 >conftest.err
41651 cat conftest.err >&5
41652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41653 (exit $ac_status); } && {
41654 test -z "$ac_c_werror_flag" ||
41655 test ! -s conftest.err
41656 } && test -s conftest$ac_exeext &&
41657 $as_test_x conftest$ac_exeext; then
41658 ac_cv_func_sched_yield=yes
41660 echo "$as_me: failed program was:" >&5
41661 sed 's/^/| /' conftest.$ac_ext >&5
41663 ac_cv_func_sched_yield=no
41666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41667 conftest$ac_exeext conftest.$ac_ext
41669 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41670 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41671 if test $ac_cv_func_sched_yield = yes; then
41672 cat >>confdefs.h <<\_ACEOF
41673 #define HAVE_SCHED_YIELD 1
41678 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41679 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41680 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41681 echo $ECHO_N "(cached) $ECHO_C" >&6
41683 ac_check_lib_save_LIBS=$LIBS
41684 LIBS="-lposix4 $LIBS"
41685 cat >conftest.$ac_ext <<_ACEOF
41688 cat confdefs.h >>conftest.$ac_ext
41689 cat >>conftest.$ac_ext <<_ACEOF
41690 /* end confdefs.h. */
41692 /* Override any GCC internal prototype to avoid an error.
41693 Use char because int might match the return type of a GCC
41694 builtin and then its argument prototype would still apply. */
41698 char sched_yield ();
41702 return sched_yield ();
41707 rm -f conftest.$ac_objext conftest$ac_exeext
41708 if { (ac_try="$ac_link"
41709 case "(($ac_try" in
41710 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41711 *) ac_try_echo
=$ac_try;;
41713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41714 (eval "$ac_link") 2>conftest.er1
41716 grep -v '^ *+' conftest.er1
>conftest.err
41718 cat conftest.err
>&5
41719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41720 (exit $ac_status); } && {
41721 test -z "$ac_c_werror_flag" ||
41722 test ! -s conftest.err
41723 } && test -s conftest
$ac_exeext &&
41724 $as_test_x conftest
$ac_exeext; then
41725 ac_cv_lib_posix4_sched_yield
=yes
41727 echo "$as_me: failed program was:" >&5
41728 sed 's/^/| /' conftest.
$ac_ext >&5
41730 ac_cv_lib_posix4_sched_yield
=no
41733 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41734 conftest
$ac_exeext conftest.
$ac_ext
41735 LIBS
=$ac_check_lib_save_LIBS
41737 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41738 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41739 if test $ac_cv_lib_posix4_sched_yield = yes; then
41740 cat >>confdefs.h
<<\_ACEOF
41741 #define HAVE_SCHED_YIELD 1
41743 POSIX4_LINK
=" -lposix4"
41745 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41746 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41757 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41758 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41759 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41760 echo $ECHO_N "(cached) $ECHO_C" >&6
41762 cat >conftest.
$ac_ext <<_ACEOF
41765 cat confdefs.h
>>conftest.
$ac_ext
41766 cat >>conftest.
$ac_ext <<_ACEOF
41767 /* end confdefs.h. */
41768 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41770 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41772 /* System header to define __stub macros and hopefully few prototypes,
41773 which can conflict with char pthread_attr_getschedpolicy (); below.
41774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41775 <limits.h> exists even on freestanding compilers. */
41778 # include <limits.h>
41780 # include <assert.h>
41783 #undef pthread_attr_getschedpolicy
41785 /* Override any GCC internal prototype to avoid an error.
41786 Use char because int might match the return type of a GCC
41787 builtin and then its argument prototype would still apply. */
41791 char pthread_attr_getschedpolicy ();
41792 /* The GNU C library defines this for functions which it implements
41793 to always fail with ENOSYS. Some functions are actually named
41794 something starting with __ and the normal name is an alias. */
41795 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41802 return pthread_attr_getschedpolicy ();
41807 rm -f conftest.
$ac_objext conftest
$ac_exeext
41808 if { (ac_try
="$ac_link"
41809 case "(($ac_try" in
41810 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41811 *) ac_try_echo=$ac_try;;
41813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41814 (eval "$ac_link") 2>conftest.er1
41816 grep -v '^ *+' conftest.er1 >conftest.err
41818 cat conftest.err >&5
41819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41820 (exit $ac_status); } && {
41821 test -z "$ac_c_werror_flag" ||
41822 test ! -s conftest.err
41823 } && test -s conftest$ac_exeext &&
41824 $as_test_x conftest$ac_exeext; then
41825 ac_cv_func_pthread_attr_getschedpolicy=yes
41827 echo "$as_me: failed program was:" >&5
41828 sed 's/^/| /' conftest.$ac_ext >&5
41830 ac_cv_func_pthread_attr_getschedpolicy=no
41833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41834 conftest$ac_exeext conftest.$ac_ext
41836 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41837 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41838 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41839 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41840 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41841 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41842 echo $ECHO_N "(cached) $ECHO_C" >&6
41844 cat >conftest.$ac_ext <<_ACEOF
41847 cat confdefs.h >>conftest.$ac_ext
41848 cat >>conftest.$ac_ext <<_ACEOF
41849 /* end confdefs.h. */
41850 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41852 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41854 /* System header to define __stub macros and hopefully few prototypes,
41855 which can conflict with char pthread_attr_setschedparam (); below.
41856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41857 <limits.h> exists even on freestanding compilers. */
41860 # include <limits.h>
41862 # include <assert.h>
41865 #undef pthread_attr_setschedparam
41867 /* Override any GCC internal prototype to avoid an error.
41868 Use char because int might match the return type of a GCC
41869 builtin and then its argument prototype would still apply. */
41873 char pthread_attr_setschedparam ();
41874 /* The GNU C library defines this for functions which it implements
41875 to always fail with ENOSYS. Some functions are actually named
41876 something starting with __ and the normal name is an alias. */
41877 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41884 return pthread_attr_setschedparam ();
41889 rm -f conftest.$ac_objext conftest$ac_exeext
41890 if { (ac_try="$ac_link"
41891 case "(($ac_try" in
41892 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41893 *) ac_try_echo
=$ac_try;;
41895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41896 (eval "$ac_link") 2>conftest.er1
41898 grep -v '^ *+' conftest.er1
>conftest.err
41900 cat conftest.err
>&5
41901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41902 (exit $ac_status); } && {
41903 test -z "$ac_c_werror_flag" ||
41904 test ! -s conftest.err
41905 } && test -s conftest
$ac_exeext &&
41906 $as_test_x conftest
$ac_exeext; then
41907 ac_cv_func_pthread_attr_setschedparam
=yes
41909 echo "$as_me: failed program was:" >&5
41910 sed 's/^/| /' conftest.
$ac_ext >&5
41912 ac_cv_func_pthread_attr_setschedparam
=no
41915 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41916 conftest
$ac_exeext conftest.
$ac_ext
41918 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41919 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41920 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41921 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41922 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41923 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41924 echo $ECHO_N "(cached) $ECHO_C" >&6
41926 cat >conftest.
$ac_ext <<_ACEOF
41929 cat confdefs.h
>>conftest.
$ac_ext
41930 cat >>conftest.
$ac_ext <<_ACEOF
41931 /* end confdefs.h. */
41932 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41934 #define sched_get_priority_max innocuous_sched_get_priority_max
41936 /* System header to define __stub macros and hopefully few prototypes,
41937 which can conflict with char sched_get_priority_max (); below.
41938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41939 <limits.h> exists even on freestanding compilers. */
41942 # include <limits.h>
41944 # include <assert.h>
41947 #undef sched_get_priority_max
41949 /* Override any GCC internal prototype to avoid an error.
41950 Use char because int might match the return type of a GCC
41951 builtin and then its argument prototype would still apply. */
41955 char sched_get_priority_max ();
41956 /* The GNU C library defines this for functions which it implements
41957 to always fail with ENOSYS. Some functions are actually named
41958 something starting with __ and the normal name is an alias. */
41959 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41966 return sched_get_priority_max ();
41971 rm -f conftest.
$ac_objext conftest
$ac_exeext
41972 if { (ac_try
="$ac_link"
41973 case "(($ac_try" in
41974 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41975 *) ac_try_echo=$ac_try;;
41977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41978 (eval "$ac_link") 2>conftest.er1
41980 grep -v '^ *+' conftest.er1 >conftest.err
41982 cat conftest.err >&5
41983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41984 (exit $ac_status); } && {
41985 test -z "$ac_c_werror_flag" ||
41986 test ! -s conftest.err
41987 } && test -s conftest$ac_exeext &&
41988 $as_test_x conftest$ac_exeext; then
41989 ac_cv_func_sched_get_priority_max=yes
41991 echo "$as_me: failed program was:" >&5
41992 sed 's/^/| /' conftest.$ac_ext >&5
41994 ac_cv_func_sched_get_priority_max=no
41997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41998 conftest$ac_exeext conftest.$ac_ext
42000 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42001 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42002 if test $ac_cv_func_sched_get_priority_max = yes; then
42005 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42006 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42007 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42008 echo $ECHO_N "(cached) $ECHO_C" >&6
42010 ac_check_lib_save_LIBS=$LIBS
42011 LIBS="-lposix4 $LIBS"
42012 cat >conftest.$ac_ext <<_ACEOF
42015 cat confdefs.h >>conftest.$ac_ext
42016 cat >>conftest.$ac_ext <<_ACEOF
42017 /* end confdefs.h. */
42019 /* Override any GCC internal prototype to avoid an error.
42020 Use char because int might match the return type of a GCC
42021 builtin and then its argument prototype would still apply. */
42025 char sched_get_priority_max ();
42029 return sched_get_priority_max ();
42034 rm -f conftest.$ac_objext conftest$ac_exeext
42035 if { (ac_try="$ac_link"
42036 case "(($ac_try" in
42037 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42038 *) ac_try_echo
=$ac_try;;
42040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42041 (eval "$ac_link") 2>conftest.er1
42043 grep -v '^ *+' conftest.er1
>conftest.err
42045 cat conftest.err
>&5
42046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42047 (exit $ac_status); } && {
42048 test -z "$ac_c_werror_flag" ||
42049 test ! -s conftest.err
42050 } && test -s conftest
$ac_exeext &&
42051 $as_test_x conftest
$ac_exeext; then
42052 ac_cv_lib_posix4_sched_get_priority_max
=yes
42054 echo "$as_me: failed program was:" >&5
42055 sed 's/^/| /' conftest.
$ac_ext >&5
42057 ac_cv_lib_posix4_sched_get_priority_max
=no
42060 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42061 conftest
$ac_exeext conftest.
$ac_ext
42062 LIBS
=$ac_check_lib_save_LIBS
42064 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42065 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42066 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42069 POSIX4_LINK
=" -lposix4"
42083 if test "$HAVE_PRIOR_FUNCS" = 1; then
42084 cat >>confdefs.h
<<\_ACEOF
42085 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42089 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42090 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42093 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42094 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42095 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42096 echo $ECHO_N "(cached) $ECHO_C" >&6
42098 cat >conftest.
$ac_ext <<_ACEOF
42101 cat confdefs.h
>>conftest.
$ac_ext
42102 cat >>conftest.
$ac_ext <<_ACEOF
42103 /* end confdefs.h. */
42104 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42106 #define pthread_cancel innocuous_pthread_cancel
42108 /* System header to define __stub macros and hopefully few prototypes,
42109 which can conflict with char pthread_cancel (); below.
42110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42111 <limits.h> exists even on freestanding compilers. */
42114 # include <limits.h>
42116 # include <assert.h>
42119 #undef pthread_cancel
42121 /* Override any GCC internal prototype to avoid an error.
42122 Use char because int might match the return type of a GCC
42123 builtin and then its argument prototype would still apply. */
42127 char pthread_cancel ();
42128 /* The GNU C library defines this for functions which it implements
42129 to always fail with ENOSYS. Some functions are actually named
42130 something starting with __ and the normal name is an alias. */
42131 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42138 return pthread_cancel ();
42143 rm -f conftest.
$ac_objext conftest
$ac_exeext
42144 if { (ac_try
="$ac_link"
42145 case "(($ac_try" in
42146 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42147 *) ac_try_echo=$ac_try;;
42149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42150 (eval "$ac_link") 2>conftest.er1
42152 grep -v '^ *+' conftest.er1 >conftest.err
42154 cat conftest.err >&5
42155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42156 (exit $ac_status); } && {
42157 test -z "$ac_c_werror_flag" ||
42158 test ! -s conftest.err
42159 } && test -s conftest$ac_exeext &&
42160 $as_test_x conftest$ac_exeext; then
42161 ac_cv_func_pthread_cancel=yes
42163 echo "$as_me: failed program was:" >&5
42164 sed 's/^/| /' conftest.$ac_ext >&5
42166 ac_cv_func_pthread_cancel=no
42169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42170 conftest$ac_exeext conftest.$ac_ext
42172 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42173 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42174 if test $ac_cv_func_pthread_cancel = yes; then
42175 cat >>confdefs.h <<\_ACEOF
42176 #define HAVE_PTHREAD_CANCEL 1
42180 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42181 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42185 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42186 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42187 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42188 echo $ECHO_N "(cached) $ECHO_C" >&6
42190 cat >conftest.$ac_ext <<_ACEOF
42193 cat confdefs.h >>conftest.$ac_ext
42194 cat >>conftest.$ac_ext <<_ACEOF
42195 /* end confdefs.h. */
42196 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42198 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42200 /* System header to define __stub macros and hopefully few prototypes,
42201 which can conflict with char pthread_mutex_timedlock (); below.
42202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42203 <limits.h> exists even on freestanding compilers. */
42206 # include <limits.h>
42208 # include <assert.h>
42211 #undef pthread_mutex_timedlock
42213 /* Override any GCC internal prototype to avoid an error.
42214 Use char because int might match the return type of a GCC
42215 builtin and then its argument prototype would still apply. */
42219 char pthread_mutex_timedlock ();
42220 /* The GNU C library defines this for functions which it implements
42221 to always fail with ENOSYS. Some functions are actually named
42222 something starting with __ and the normal name is an alias. */
42223 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42230 return pthread_mutex_timedlock ();
42235 rm -f conftest.$ac_objext conftest$ac_exeext
42236 if { (ac_try="$ac_link"
42237 case "(($ac_try" in
42238 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42239 *) ac_try_echo
=$ac_try;;
42241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42242 (eval "$ac_link") 2>conftest.er1
42244 grep -v '^ *+' conftest.er1
>conftest.err
42246 cat conftest.err
>&5
42247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42248 (exit $ac_status); } && {
42249 test -z "$ac_c_werror_flag" ||
42250 test ! -s conftest.err
42251 } && test -s conftest
$ac_exeext &&
42252 $as_test_x conftest
$ac_exeext; then
42253 ac_cv_func_pthread_mutex_timedlock
=yes
42255 echo "$as_me: failed program was:" >&5
42256 sed 's/^/| /' conftest.
$ac_ext >&5
42258 ac_cv_func_pthread_mutex_timedlock
=no
42261 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42262 conftest
$ac_exeext conftest.
$ac_ext
42264 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42265 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42266 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42267 cat >>confdefs.h
<<\_ACEOF
42268 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42272 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42273 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42277 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42278 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42279 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42280 echo $ECHO_N "(cached) $ECHO_C" >&6
42282 cat >conftest.
$ac_ext <<_ACEOF
42285 cat confdefs.h
>>conftest.
$ac_ext
42286 cat >>conftest.
$ac_ext <<_ACEOF
42287 /* end confdefs.h. */
42288 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42290 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42292 /* System header to define __stub macros and hopefully few prototypes,
42293 which can conflict with char pthread_attr_setstacksize (); below.
42294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42295 <limits.h> exists even on freestanding compilers. */
42298 # include <limits.h>
42300 # include <assert.h>
42303 #undef pthread_attr_setstacksize
42305 /* Override any GCC internal prototype to avoid an error.
42306 Use char because int might match the return type of a GCC
42307 builtin and then its argument prototype would still apply. */
42311 char pthread_attr_setstacksize ();
42312 /* The GNU C library defines this for functions which it implements
42313 to always fail with ENOSYS. Some functions are actually named
42314 something starting with __ and the normal name is an alias. */
42315 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42322 return pthread_attr_setstacksize ();
42327 rm -f conftest.
$ac_objext conftest
$ac_exeext
42328 if { (ac_try
="$ac_link"
42329 case "(($ac_try" in
42330 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42331 *) ac_try_echo=$ac_try;;
42333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42334 (eval "$ac_link") 2>conftest.er1
42336 grep -v '^ *+' conftest.er1 >conftest.err
42338 cat conftest.err >&5
42339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42340 (exit $ac_status); } && {
42341 test -z "$ac_c_werror_flag" ||
42342 test ! -s conftest.err
42343 } && test -s conftest$ac_exeext &&
42344 $as_test_x conftest$ac_exeext; then
42345 ac_cv_func_pthread_attr_setstacksize=yes
42347 echo "$as_me: failed program was:" >&5
42348 sed 's/^/| /' conftest.$ac_ext >&5
42350 ac_cv_func_pthread_attr_setstacksize=no
42353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42354 conftest$ac_exeext conftest.$ac_ext
42356 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42357 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42358 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42359 cat >>confdefs.h <<\_ACEOF
42360 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42367 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42368 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42369 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42370 echo $ECHO_N "(cached) $ECHO_C" >&6
42373 cat >conftest.$ac_ext <<_ACEOF
42376 cat confdefs.h >>conftest.$ac_ext
42377 cat >>conftest.$ac_ext <<_ACEOF
42378 /* end confdefs.h. */
42379 #include <pthread.h>
42384 pthread_mutexattr_t attr;
42385 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42391 rm -f conftest.$ac_objext
42392 if { (ac_try="$ac_compile"
42393 case "(($ac_try" in
42394 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42395 *) ac_try_echo
=$ac_try;;
42397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42398 (eval "$ac_compile") 2>conftest.er1
42400 grep -v '^ *+' conftest.er1
>conftest.err
42402 cat conftest.err
>&5
42403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42404 (exit $ac_status); } && {
42405 test -z "$ac_c_werror_flag" ||
42406 test ! -s conftest.err
42407 } && test -s conftest.
$ac_objext; then
42408 wx_cv_type_pthread_mutexattr_t
=yes
42410 echo "$as_me: failed program was:" >&5
42411 sed 's/^/| /' conftest.
$ac_ext >&5
42413 wx_cv_type_pthread_mutexattr_t
=no
42417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42420 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42421 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42423 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42424 cat >>confdefs.h
<<\_ACEOF
42425 #define HAVE_PTHREAD_MUTEXATTR_T 1
42429 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42430 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42431 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42432 echo $ECHO_N "(cached) $ECHO_C" >&6
42435 cat >conftest.
$ac_ext <<_ACEOF
42438 cat confdefs.h
>>conftest.
$ac_ext
42439 cat >>conftest.
$ac_ext <<_ACEOF
42440 /* end confdefs.h. */
42441 #include <pthread.h>
42446 pthread_mutexattr_t attr;
42447 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42453 rm -f conftest.
$ac_objext
42454 if { (ac_try
="$ac_compile"
42455 case "(($ac_try" in
42456 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42457 *) ac_try_echo=$ac_try;;
42459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42460 (eval "$ac_compile") 2>conftest.er1
42462 grep -v '^ *+' conftest.er1 >conftest.err
42464 cat conftest.err >&5
42465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42466 (exit $ac_status); } && {
42467 test -z "$ac_c_werror_flag" ||
42468 test ! -s conftest.err
42469 } && test -s conftest.$ac_objext; then
42470 wx_cv_func_pthread_mutexattr_settype_decl=yes
42472 echo "$as_me: failed program was:" >&5
42473 sed 's/^/| /' conftest.$ac_ext >&5
42475 wx_cv_func_pthread_mutexattr_settype_decl=no
42479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42482 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42483 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42484 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42485 cat >>confdefs.h <<\_ACEOF
42486 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42491 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42492 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42493 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42494 echo $ECHO_N "(cached) $ECHO_C" >&6
42497 cat >conftest.$ac_ext <<_ACEOF
42500 cat confdefs.h >>conftest.$ac_ext
42501 cat >>conftest.$ac_ext <<_ACEOF
42502 /* end confdefs.h. */
42503 #include <pthread.h>
42508 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42514 rm -f conftest.$ac_objext
42515 if { (ac_try="$ac_compile"
42516 case "(($ac_try" in
42517 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42518 *) ac_try_echo
=$ac_try;;
42520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42521 (eval "$ac_compile") 2>conftest.er1
42523 grep -v '^ *+' conftest.er1
>conftest.err
42525 cat conftest.err
>&5
42526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42527 (exit $ac_status); } && {
42528 test -z "$ac_c_werror_flag" ||
42529 test ! -s conftest.err
42530 } && test -s conftest.
$ac_objext; then
42532 wx_cv_type_pthread_rec_mutex_init
=yes
42535 echo "$as_me: failed program was:" >&5
42536 sed 's/^/| /' conftest.
$ac_ext >&5
42539 wx_cv_type_pthread_rec_mutex_init
=no
42544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42547 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42548 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42549 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42550 cat >>confdefs.h
<<\_ACEOF
42551 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42555 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42556 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42562 if test "$wxUSE_THREADS" = "yes" ; then
42565 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42566 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42567 if test "${wx_cv_cflags_mthread+set}" = set; then
42568 echo $ECHO_N "(cached) $ECHO_C" >&6
42571 CFLAGS_OLD
="$CFLAGS"
42572 CFLAGS
="-mthreads $CFLAGS"
42573 cat >conftest.
$ac_ext <<_ACEOF
42576 cat confdefs.h
>>conftest.
$ac_ext
42577 cat >>conftest.
$ac_ext <<_ACEOF
42578 /* end confdefs.h. */
42588 rm -f conftest.
$ac_objext
42589 if { (ac_try
="$ac_compile"
42590 case "(($ac_try" in
42591 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42592 *) ac_try_echo=$ac_try;;
42594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42595 (eval "$ac_compile") 2>conftest.er1
42597 grep -v '^ *+' conftest.er1 >conftest.err
42599 cat conftest.err >&5
42600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42601 (exit $ac_status); } && {
42602 test -z "$ac_c_werror_flag" ||
42603 test ! -s conftest.err
42604 } && test -s conftest.$ac_objext; then
42605 wx_cv_cflags_mthread=yes
42607 echo "$as_me: failed program was:" >&5
42608 sed 's/^/| /' conftest.$ac_ext >&5
42610 wx_cv_cflags_mthread=no
42614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42618 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42619 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42621 if test "$wx_cv_cflags_mthread" = "yes"; then
42622 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42623 LDFLAGS="$LDFLAGS -mthreads"
42625 CFLAGS="$CFLAGS_OLD"
42629 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42630 LDFLAGS="$LDFLAGS -Zmt"
42636 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42637 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42638 if test "${ac_cv_func_localtime_r+set}" = set; then
42639 echo $ECHO_N "(cached) $ECHO_C" >&6
42641 cat >conftest.$ac_ext <<_ACEOF
42644 cat confdefs.h >>conftest.$ac_ext
42645 cat >>conftest.$ac_ext <<_ACEOF
42646 /* end confdefs.h. */
42647 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42649 #define localtime_r innocuous_localtime_r
42651 /* System header to define __stub macros and hopefully few prototypes,
42652 which can conflict with char localtime_r (); below.
42653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42654 <limits.h> exists even on freestanding compilers. */
42657 # include <limits.h>
42659 # include <assert.h>
42664 /* Override any GCC internal prototype to avoid an error.
42665 Use char because int might match the return type of a GCC
42666 builtin and then its argument prototype would still apply. */
42670 char localtime_r ();
42671 /* The GNU C library defines this for functions which it implements
42672 to always fail with ENOSYS. Some functions are actually named
42673 something starting with __ and the normal name is an alias. */
42674 #if defined __stub_localtime_r || defined __stub___localtime_r
42681 return localtime_r ();
42686 rm -f conftest.$ac_objext conftest$ac_exeext
42687 if { (ac_try="$ac_link"
42688 case "(($ac_try" in
42689 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42690 *) ac_try_echo
=$ac_try;;
42692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42693 (eval "$ac_link") 2>conftest.er1
42695 grep -v '^ *+' conftest.er1
>conftest.err
42697 cat conftest.err
>&5
42698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42699 (exit $ac_status); } && {
42700 test -z "$ac_c_werror_flag" ||
42701 test ! -s conftest.err
42702 } && test -s conftest
$ac_exeext &&
42703 $as_test_x conftest
$ac_exeext; then
42704 ac_cv_func_localtime_r
=yes
42706 echo "$as_me: failed program was:" >&5
42707 sed 's/^/| /' conftest.
$ac_ext >&5
42709 ac_cv_func_localtime_r
=no
42712 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42713 conftest
$ac_exeext conftest.
$ac_ext
42715 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42716 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42717 if test $ac_cv_func_localtime_r = yes; then
42718 cat >>confdefs.h
<<\_ACEOF
42719 #define HAVE_LOCALTIME_R 1
42724 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42725 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42726 if test "${ac_cv_func_gmtime_r+set}" = set; then
42727 echo $ECHO_N "(cached) $ECHO_C" >&6
42729 cat >conftest.
$ac_ext <<_ACEOF
42732 cat confdefs.h
>>conftest.
$ac_ext
42733 cat >>conftest.
$ac_ext <<_ACEOF
42734 /* end confdefs.h. */
42735 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42737 #define gmtime_r innocuous_gmtime_r
42739 /* System header to define __stub macros and hopefully few prototypes,
42740 which can conflict with char gmtime_r (); below.
42741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42742 <limits.h> exists even on freestanding compilers. */
42745 # include <limits.h>
42747 # include <assert.h>
42752 /* Override any GCC internal prototype to avoid an error.
42753 Use char because int might match the return type of a GCC
42754 builtin and then its argument prototype would still apply. */
42759 /* The GNU C library defines this for functions which it implements
42760 to always fail with ENOSYS. Some functions are actually named
42761 something starting with __ and the normal name is an alias. */
42762 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42769 return gmtime_r ();
42774 rm -f conftest.
$ac_objext conftest
$ac_exeext
42775 if { (ac_try
="$ac_link"
42776 case "(($ac_try" in
42777 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42778 *) ac_try_echo=$ac_try;;
42780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42781 (eval "$ac_link") 2>conftest.er1
42783 grep -v '^ *+' conftest.er1 >conftest.err
42785 cat conftest.err >&5
42786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42787 (exit $ac_status); } && {
42788 test -z "$ac_c_werror_flag" ||
42789 test ! -s conftest.err
42790 } && test -s conftest$ac_exeext &&
42791 $as_test_x conftest$ac_exeext; then
42792 ac_cv_func_gmtime_r=yes
42794 echo "$as_me: failed program was:" >&5
42795 sed 's/^/| /' conftest.$ac_ext >&5
42797 ac_cv_func_gmtime_r=no
42800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42801 conftest$ac_exeext conftest.$ac_ext
42803 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42804 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42805 if test $ac_cv_func_gmtime_r = yes; then
42806 cat >>confdefs.h <<\_ACEOF
42807 #define HAVE_GMTIME_R 1
42812 { echo "$as_me:$LINENO: checking for readdir_r" >&5
42813 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
42814 if test "${ac_cv_func_readdir_r+set}" = set; then
42815 echo $ECHO_N "(cached) $ECHO_C" >&6
42817 cat >conftest.$ac_ext <<_ACEOF
42820 cat confdefs.h >>conftest.$ac_ext
42821 cat >>conftest.$ac_ext <<_ACEOF
42822 /* end confdefs.h. */
42823 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
42824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42825 #define readdir_r innocuous_readdir_r
42827 /* System header to define __stub macros and hopefully few prototypes,
42828 which can conflict with char readdir_r (); below.
42829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42830 <limits.h> exists even on freestanding compilers. */
42833 # include <limits.h>
42835 # include <assert.h>
42840 /* Override any GCC internal prototype to avoid an error.
42841 Use char because int might match the return type of a GCC
42842 builtin and then its argument prototype would still apply. */
42847 /* The GNU C library defines this for functions which it implements
42848 to always fail with ENOSYS. Some functions are actually named
42849 something starting with __ and the normal name is an alias. */
42850 #if defined __stub_readdir_r || defined __stub___readdir_r
42857 return readdir_r ();
42862 rm -f conftest.$ac_objext conftest$ac_exeext
42863 if { (ac_try="$ac_link"
42864 case "(($ac_try" in
42865 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42866 *) ac_try_echo
=$ac_try;;
42868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42869 (eval "$ac_link") 2>conftest.er1
42871 grep -v '^ *+' conftest.er1
>conftest.err
42873 cat conftest.err
>&5
42874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42875 (exit $ac_status); } && {
42876 test -z "$ac_c_werror_flag" ||
42877 test ! -s conftest.err
42878 } && test -s conftest
$ac_exeext &&
42879 $as_test_x conftest
$ac_exeext; then
42880 ac_cv_func_readdir_r
=yes
42882 echo "$as_me: failed program was:" >&5
42883 sed 's/^/| /' conftest.
$ac_ext >&5
42885 ac_cv_func_readdir_r
=no
42888 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42889 conftest
$ac_exeext conftest.
$ac_ext
42891 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
42892 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
42893 if test $ac_cv_func_readdir_r = yes; then
42894 cat >>confdefs.h
<<\_ACEOF
42895 #define HAVE_READDIR_R 1
42904 ac_cpp
='$CPP $CPPFLAGS'
42905 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42906 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42907 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42909 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42910 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42912 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42913 echo $ECHO_N "(cached) $ECHO_C" >&6
42917 ################################################################
42919 ac_cv_func_which_gethostbyname_r
=unknown
42922 # ONE ARGUMENT (sanity check)
42925 # This should fail, as there is no variant of gethostbyname_r() that takes
42926 # a single argument. If it actually compiles, then we can assume that
42927 # netdb.h is not declaring the function, and the compiler is thereby
42928 # assuming an implicit prototype. In which case, we're out of luck.
42930 cat >conftest.
$ac_ext <<_ACEOF
42933 cat confdefs.h
>>conftest.
$ac_ext
42934 cat >>conftest.
$ac_ext <<_ACEOF
42935 /* end confdefs.h. */
42941 char *name = "www.gnu.org";
42942 (void)gethostbyname_r(name) /* ; */
42948 rm -f conftest.
$ac_objext
42949 if { (ac_try
="$ac_compile"
42950 case "(($ac_try" in
42951 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42952 *) ac_try_echo=$ac_try;;
42954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42955 (eval "$ac_compile") 2>conftest.er1
42957 grep -v '^ *+' conftest.er1 >conftest.err
42959 cat conftest.err >&5
42960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42961 (exit $ac_status); } && {
42962 test -z "$ac_c_werror_flag" ||
42963 test ! -s conftest.err
42964 } && test -s conftest.$ac_objext; then
42965 ac_cv_func_which_gethostbyname_r=no
42967 echo "$as_me: failed program was:" >&5
42968 sed 's/^/| /' conftest.$ac_ext >&5
42973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42980 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42982 cat >conftest.$ac_ext <<_ACEOF
42985 cat confdefs.h >>conftest.$ac_ext
42986 cat >>conftest.$ac_ext <<_ACEOF
42987 /* end confdefs.h. */
42993 char *name = "www.gnu.org";
42994 struct hostent ret, *retp;
42998 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43004 rm -f conftest.$ac_objext
43005 if { (ac_try="$ac_compile"
43006 case "(($ac_try" in
43007 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43008 *) ac_try_echo
=$ac_try;;
43010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43011 (eval "$ac_compile") 2>conftest.er1
43013 grep -v '^ *+' conftest.er1
>conftest.err
43015 cat conftest.err
>&5
43016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43017 (exit $ac_status); } && {
43018 test -z "$ac_c_werror_flag" ||
43019 test ! -s conftest.err
43020 } && test -s conftest.
$ac_objext; then
43021 ac_cv_func_which_gethostbyname_r
=six
43023 echo "$as_me: failed program was:" >&5
43024 sed 's/^/| /' conftest.
$ac_ext >&5
43029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43038 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43040 cat >conftest.
$ac_ext <<_ACEOF
43043 cat confdefs.h
>>conftest.
$ac_ext
43044 cat >>conftest.
$ac_ext <<_ACEOF
43045 /* end confdefs.h. */
43051 char *name = "www.gnu.org";
43052 struct hostent ret;
43056 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43062 rm -f conftest.
$ac_objext
43063 if { (ac_try
="$ac_compile"
43064 case "(($ac_try" in
43065 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43066 *) ac_try_echo=$ac_try;;
43068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43069 (eval "$ac_compile") 2>conftest.er1
43071 grep -v '^ *+' conftest.er1 >conftest.err
43073 cat conftest.err >&5
43074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43075 (exit $ac_status); } && {
43076 test -z "$ac_c_werror_flag" ||
43077 test ! -s conftest.err
43078 } && test -s conftest.$ac_objext; then
43079 ac_cv_func_which_gethostbyname_r=five
43081 echo "$as_me: failed program was:" >&5
43082 sed 's/^/| /' conftest.$ac_ext >&5
43087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43093 # (e.g. AIX, HP-UX, Tru64)
43096 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43098 cat >conftest.$ac_ext <<_ACEOF
43101 cat confdefs.h >>conftest.$ac_ext
43102 cat >>conftest.$ac_ext <<_ACEOF
43103 /* end confdefs.h. */
43109 char *name = "www.gnu.org";
43110 struct hostent ret;
43111 struct hostent_data data;
43112 (void)gethostbyname_r(name, &ret, &data) /* ; */
43118 rm -f conftest.$ac_objext
43119 if { (ac_try="$ac_compile"
43120 case "(($ac_try" in
43121 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43122 *) ac_try_echo
=$ac_try;;
43124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43125 (eval "$ac_compile") 2>conftest.er1
43127 grep -v '^ *+' conftest.er1
>conftest.err
43129 cat conftest.err
>&5
43130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43131 (exit $ac_status); } && {
43132 test -z "$ac_c_werror_flag" ||
43133 test ! -s conftest.err
43134 } && test -s conftest.
$ac_objext; then
43135 ac_cv_func_which_gethostbyname_r
=three
43137 echo "$as_me: failed program was:" >&5
43138 sed 's/^/| /' conftest.
$ac_ext >&5
43143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43147 ################################################################
43152 case "$ac_cv_func_which_gethostbyname_r" in
43154 { echo "$as_me:$LINENO: result: three" >&5
43155 echo "${ECHO_T}three" >&6; }
43156 cat >>confdefs.h
<<\_ACEOF
43157 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43163 { echo "$as_me:$LINENO: result: five" >&5
43164 echo "${ECHO_T}five" >&6; }
43165 cat >>confdefs.h
<<\_ACEOF
43166 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43172 { echo "$as_me:$LINENO: result: six" >&5
43173 echo "${ECHO_T}six" >&6; }
43174 cat >>confdefs.h
<<\_ACEOF
43175 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43181 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43182 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43186 { echo "$as_me:$LINENO: result: can't tell" >&5
43187 echo "${ECHO_T}can't tell" >&6; }
43191 { { echo "$as_me:$LINENO: error: internal error" >&5
43192 echo "$as_me: error: internal error" >&2;}
43193 { (exit 1); exit 1; }; }
43198 ac_cpp
='$CPP $CPPFLAGS'
43199 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43200 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43201 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43205 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43206 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43207 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43208 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43209 if test "${ac_cv_func_gethostbyname+set}" = set; then
43210 echo $ECHO_N "(cached) $ECHO_C" >&6
43212 cat >conftest.
$ac_ext <<_ACEOF
43215 cat confdefs.h
>>conftest.
$ac_ext
43216 cat >>conftest.
$ac_ext <<_ACEOF
43217 /* end confdefs.h. */
43218 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43220 #define gethostbyname innocuous_gethostbyname
43222 /* System header to define __stub macros and hopefully few prototypes,
43223 which can conflict with char gethostbyname (); below.
43224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43225 <limits.h> exists even on freestanding compilers. */
43228 # include <limits.h>
43230 # include <assert.h>
43233 #undef gethostbyname
43235 /* Override any GCC internal prototype to avoid an error.
43236 Use char because int might match the return type of a GCC
43237 builtin and then its argument prototype would still apply. */
43241 char gethostbyname ();
43242 /* The GNU C library defines this for functions which it implements
43243 to always fail with ENOSYS. Some functions are actually named
43244 something starting with __ and the normal name is an alias. */
43245 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43252 return gethostbyname ();
43257 rm -f conftest.
$ac_objext conftest
$ac_exeext
43258 if { (ac_try
="$ac_link"
43259 case "(($ac_try" in
43260 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43261 *) ac_try_echo=$ac_try;;
43263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43264 (eval "$ac_link") 2>conftest.er1
43266 grep -v '^ *+' conftest.er1 >conftest.err
43268 cat conftest.err >&5
43269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43270 (exit $ac_status); } && {
43271 test -z "$ac_c_werror_flag" ||
43272 test ! -s conftest.err
43273 } && test -s conftest$ac_exeext &&
43274 $as_test_x conftest$ac_exeext; then
43275 ac_cv_func_gethostbyname=yes
43277 echo "$as_me: failed program was:" >&5
43278 sed 's/^/| /' conftest.$ac_ext >&5
43280 ac_cv_func_gethostbyname=no
43283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43284 conftest$ac_exeext conftest.$ac_ext
43286 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43287 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43288 if test $ac_cv_func_gethostbyname = yes; then
43289 cat >>confdefs.h <<\_ACEOF
43290 #define HAVE_GETHOSTBYNAME 1
43297 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43298 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43299 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43300 echo $ECHO_N "(cached) $ECHO_C" >&6
43304 ac_cpp='$CXXCPP $CPPFLAGS'
43305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43310 cat >conftest.$ac_ext <<_ACEOF
43313 cat confdefs.h >>conftest.$ac_ext
43314 cat >>conftest.$ac_ext <<_ACEOF
43315 /* end confdefs.h. */
43323 struct servent *se, *res;
43326 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43332 rm -f conftest.$ac_objext
43333 if { (ac_try="$ac_compile"
43334 case "(($ac_try" in
43335 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43336 *) ac_try_echo
=$ac_try;;
43338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43339 (eval "$ac_compile") 2>conftest.er1
43341 grep -v '^ *+' conftest.er1
>conftest.err
43343 cat conftest.err
>&5
43344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43345 (exit $ac_status); } && {
43346 test -z "$ac_cxx_werror_flag" ||
43347 test ! -s conftest.err
43348 } && test -s conftest.
$ac_objext; then
43349 ac_cv_func_which_getservbyname_r
=six
43351 echo "$as_me: failed program was:" >&5
43352 sed 's/^/| /' conftest.
$ac_ext >&5
43355 cat >conftest.
$ac_ext <<_ACEOF
43358 cat confdefs.h
>>conftest.
$ac_ext
43359 cat >>conftest.
$ac_ext <<_ACEOF
43360 /* end confdefs.h. */
43368 struct servent *se;
43371 (void) getservbyname_r(name, proto, se, buffer, buflen)
43377 rm -f conftest.
$ac_objext
43378 if { (ac_try
="$ac_compile"
43379 case "(($ac_try" in
43380 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43381 *) ac_try_echo=$ac_try;;
43383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43384 (eval "$ac_compile") 2>conftest.er1
43386 grep -v '^ *+' conftest.er1 >conftest.err
43388 cat conftest.err >&5
43389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43390 (exit $ac_status); } && {
43391 test -z "$ac_cxx_werror_flag" ||
43392 test ! -s conftest.err
43393 } && test -s conftest.$ac_objext; then
43394 ac_cv_func_which_getservbyname_r=five
43396 echo "$as_me: failed program was:" >&5
43397 sed 's/^/| /' conftest.$ac_ext >&5
43400 cat >conftest.$ac_ext <<_ACEOF
43403 cat confdefs.h >>conftest.$ac_ext
43404 cat >>conftest.$ac_ext <<_ACEOF
43405 /* end confdefs.h. */
43413 struct servent *se;
43414 struct servent_data data;
43415 (void) getservbyname_r(name, proto, se, &data);
43421 rm -f conftest.$ac_objext
43422 if { (ac_try="$ac_compile"
43423 case "(($ac_try" in
43424 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43425 *) ac_try_echo
=$ac_try;;
43427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43428 (eval "$ac_compile") 2>conftest.er1
43430 grep -v '^ *+' conftest.er1
>conftest.err
43432 cat conftest.err
>&5
43433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43434 (exit $ac_status); } && {
43435 test -z "$ac_cxx_werror_flag" ||
43436 test ! -s conftest.err
43437 } && test -s conftest.
$ac_objext; then
43438 ac_cv_func_which_getservbyname_r
=four
43440 echo "$as_me: failed program was:" >&5
43441 sed 's/^/| /' conftest.
$ac_ext >&5
43443 ac_cv_func_which_getservbyname_r
=no
43447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43459 ac_cpp
='$CPP $CPPFLAGS'
43460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43467 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43468 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43470 if test $ac_cv_func_which_getservbyname_r = six
; then
43471 cat >>confdefs.h
<<\_ACEOF
43472 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43475 elif test $ac_cv_func_which_getservbyname_r = five
; then
43476 cat >>confdefs.h
<<\_ACEOF
43477 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43480 elif test $ac_cv_func_which_getservbyname_r = four
; then
43481 cat >>confdefs.h
<<\_ACEOF
43482 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43488 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43489 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43491 for ac_func
in getservbyname
43493 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43494 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43496 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43497 echo $ECHO_N "(cached) $ECHO_C" >&6
43499 cat >conftest.
$ac_ext <<_ACEOF
43502 cat confdefs.h
>>conftest.
$ac_ext
43503 cat >>conftest.
$ac_ext <<_ACEOF
43504 /* end confdefs.h. */
43505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43507 #define $ac_func innocuous_$ac_func
43509 /* System header to define __stub macros and hopefully few prototypes,
43510 which can conflict with char $ac_func (); below.
43511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43512 <limits.h> exists even on freestanding compilers. */
43515 # include <limits.h>
43517 # include <assert.h>
43522 /* Override any GCC internal prototype to avoid an error.
43523 Use char because int might match the return type of a GCC
43524 builtin and then its argument prototype would still apply. */
43529 /* The GNU C library defines this for functions which it implements
43530 to always fail with ENOSYS. Some functions are actually named
43531 something starting with __ and the normal name is an alias. */
43532 #if defined __stub_$ac_func || defined __stub___$ac_func
43539 return $ac_func ();
43544 rm -f conftest.
$ac_objext conftest
$ac_exeext
43545 if { (ac_try
="$ac_link"
43546 case "(($ac_try" in
43547 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43548 *) ac_try_echo=$ac_try;;
43550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43551 (eval "$ac_link") 2>conftest.er1
43553 grep -v '^ *+' conftest.er1 >conftest.err
43555 cat conftest.err >&5
43556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43557 (exit $ac_status); } && {
43558 test -z "$ac_c_werror_flag" ||
43559 test ! -s conftest.err
43560 } && test -s conftest$ac_exeext &&
43561 $as_test_x conftest$ac_exeext; then
43562 eval "$as_ac_var=yes"
43564 echo "$as_me: failed program was:" >&5
43565 sed 's/^/| /' conftest.$ac_ext >&5
43567 eval "$as_ac_var=no"
43570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43571 conftest$ac_exeext conftest.$ac_ext
43573 ac_res=`eval echo '${'$as_ac_var'}'`
43574 { echo "$as_me:$LINENO: result: $ac_res" >&5
43575 echo "${ECHO_T}$ac_res" >&6; }
43576 if test `eval echo '${'$as_ac_var'}'` = yes; then
43577 cat >>confdefs.h <<_ACEOF
43578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43580 cat >>confdefs.h <<\_ACEOF
43581 #define HAVE_GETSERVBYNAME 1
43589 if test "$wxUSE_THREADS" = "yes"; then
43590 cat >>confdefs.h <<\_ACEOF
43591 #define wxUSE_THREADS 1
43595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43597 if test "$wx_cv_func_strtok_r" = "yes"; then
43598 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43599 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43600 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43601 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43602 { echo "$as_me:$LINENO: result: yes" >&5
43603 echo "${ECHO_T}yes" >&6; }
43605 { echo "$as_me:$LINENO: result: no" >&5
43606 echo "${ECHO_T}no" >&6; }
43611 if test "$WXGTK20" = 1 ; then
43612 cat >>confdefs.h <<_ACEOF
43613 #define __WXGTK20__ $WXGTK20
43619 if test "$WXGTK12" = 1 ; then
43620 cat >>confdefs.h <<_ACEOF
43621 #define __WXGTK12__ $WXGTK12
43626 if test "$WXGTK127" = 1 ; then
43627 cat >>confdefs.h <<_ACEOF
43628 #define __WXGTK127__ $WXGTK127
43633 if test "$WXGPE" = 1 ; then
43634 cat >>confdefs.h <<_ACEOF
43635 #define __WXGPE__ $WXGPE
43641 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43646 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43647 wxUSE_DEBUG_INFO=yes
43648 if test "$GCC" = yes; then
43649 DEBUG_CFLAGS="-ggdb"
43653 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43654 cat >>confdefs.h <<\_ACEOF
43658 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43660 if test "$wxUSE_GTK" = 1 ; then
43661 if test "x$wxGTK_VERSION" = "x1" ; then
43662 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43667 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43668 cat >>confdefs.h <<\_ACEOF
43669 #define wxUSE_MEMORY_TRACING 1
43672 cat >>confdefs.h <<\_ACEOF
43673 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43676 cat >>confdefs.h <<\_ACEOF
43677 #define wxUSE_DEBUG_NEW_ALWAYS 1
43680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43683 if test "$wxUSE_DMALLOC" = "yes" ; then
43684 DMALLOC_LIBS="-ldmallocthcxx"
43688 if test "$wxUSE_PROFILE" = "yes" ; then
43689 PROFILE_FLAGS=" -pg"
43692 if test "$GCC" = "yes" ; then
43693 if test "$wxUSE_NO_RTTI" = "yes" ; then
43694 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43696 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43697 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43699 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43700 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43705 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43708 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43714 if test "$wxUSE_OPTIMISE" = "no" ; then
43715 if test "$GCC" = yes ; then
43716 OPTIMISE_CFLAGS="-O0"
43719 if test "$GCC" = yes ; then
43721 *-pc-os2_emx | *-pc-os2-emx )
43722 OPTIMISE_CFLAGS="-O2"
43725 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43729 OPTIMISE_CFLAGS="-O"
43734 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43735 cat >>confdefs.h <<\_ACEOF
43736 #define WXWIN_COMPATIBILITY_2_6 1
43740 WXWIN_COMPATIBILITY_2_8="yes"
43743 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43744 cat >>confdefs.h <<\_ACEOF
43745 #define WXWIN_COMPATIBILITY_2_8 1
43751 if test "$wxUSE_GUI" = "yes"; then
43752 cat >>confdefs.h <<\_ACEOF
43753 #define wxUSE_GUI 1
43760 if test "$wxUSE_UNIX" = "yes"; then
43761 cat >>confdefs.h <<\_ACEOF
43762 #define wxUSE_UNIX 1
43768 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43772 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43773 if test "$USE_DARWIN" = 1; then
43775 elif test "$USE_DOS" = 1; then
43779 for ac_func in dlopen
43781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43782 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43784 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43785 echo $ECHO_N "(cached) $ECHO_C" >&6
43787 cat >conftest.$ac_ext <<_ACEOF
43790 cat confdefs.h >>conftest.$ac_ext
43791 cat >>conftest.$ac_ext <<_ACEOF
43792 /* end confdefs.h. */
43793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43795 #define $ac_func innocuous_$ac_func
43797 /* System header to define __stub macros and hopefully few prototypes,
43798 which can conflict with char $ac_func (); below.
43799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43800 <limits.h> exists even on freestanding compilers. */
43803 # include <limits.h>
43805 # include <assert.h>
43810 /* Override any GCC internal prototype to avoid an error.
43811 Use char because int might match the return type of a GCC
43812 builtin and then its argument prototype would still apply. */
43817 /* The GNU C library defines this for functions which it implements
43818 to always fail with ENOSYS. Some functions are actually named
43819 something starting with __ and the normal name is an alias. */
43820 #if defined __stub_$ac_func || defined __stub___$ac_func
43827 return $ac_func ();
43832 rm -f conftest.$ac_objext conftest$ac_exeext
43833 if { (ac_try="$ac_link"
43834 case "(($ac_try" in
43835 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43836 *) ac_try_echo
=$ac_try;;
43838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43839 (eval "$ac_link") 2>conftest.er1
43841 grep -v '^ *+' conftest.er1
>conftest.err
43843 cat conftest.err
>&5
43844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43845 (exit $ac_status); } && {
43846 test -z "$ac_c_werror_flag" ||
43847 test ! -s conftest.err
43848 } && test -s conftest
$ac_exeext &&
43849 $as_test_x conftest
$ac_exeext; then
43850 eval "$as_ac_var=yes"
43852 echo "$as_me: failed program was:" >&5
43853 sed 's/^/| /' conftest.
$ac_ext >&5
43855 eval "$as_ac_var=no"
43858 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43859 conftest
$ac_exeext conftest.
$ac_ext
43861 ac_res
=`eval echo '${'$as_ac_var'}'`
43862 { echo "$as_me:$LINENO: result: $ac_res" >&5
43863 echo "${ECHO_T}$ac_res" >&6; }
43864 if test `eval echo '${'$as_ac_var'}'` = yes; then
43865 cat >>confdefs.h
<<_ACEOF
43866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43869 cat >>confdefs.h
<<\_ACEOF
43870 #define HAVE_DLOPEN 1
43877 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43878 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43879 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43880 echo $ECHO_N "(cached) $ECHO_C" >&6
43882 ac_check_lib_save_LIBS
=$LIBS
43884 cat >conftest.
$ac_ext <<_ACEOF
43887 cat confdefs.h
>>conftest.
$ac_ext
43888 cat >>conftest.
$ac_ext <<_ACEOF
43889 /* end confdefs.h. */
43891 /* Override any GCC internal prototype to avoid an error.
43892 Use char because int might match the return type of a GCC
43893 builtin and then its argument prototype would still apply. */
43906 rm -f conftest.
$ac_objext conftest
$ac_exeext
43907 if { (ac_try
="$ac_link"
43908 case "(($ac_try" in
43909 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43910 *) ac_try_echo=$ac_try;;
43912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43913 (eval "$ac_link") 2>conftest.er1
43915 grep -v '^ *+' conftest.er1 >conftest.err
43917 cat conftest.err >&5
43918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43919 (exit $ac_status); } && {
43920 test -z "$ac_c_werror_flag" ||
43921 test ! -s conftest.err
43922 } && test -s conftest$ac_exeext &&
43923 $as_test_x conftest$ac_exeext; then
43924 ac_cv_lib_dl_dlopen=yes
43926 echo "$as_me: failed program was:" >&5
43927 sed 's/^/| /' conftest.$ac_ext >&5
43929 ac_cv_lib_dl_dlopen=no
43932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43933 conftest$ac_exeext conftest.$ac_ext
43934 LIBS=$ac_check_lib_save_LIBS
43936 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43937 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43938 if test $ac_cv_lib_dl_dlopen = yes; then
43940 cat >>confdefs.h <<\_ACEOF
43941 #define HAVE_DLOPEN 1
43945 DL_LINK=" -ldl$DL_LINK"
43950 for ac_func in shl_load
43952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43953 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43955 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43956 echo $ECHO_N "(cached) $ECHO_C" >&6
43958 cat >conftest.$ac_ext <<_ACEOF
43961 cat confdefs.h >>conftest.$ac_ext
43962 cat >>conftest.$ac_ext <<_ACEOF
43963 /* end confdefs.h. */
43964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43966 #define $ac_func innocuous_$ac_func
43968 /* System header to define __stub macros and hopefully few prototypes,
43969 which can conflict with char $ac_func (); below.
43970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43971 <limits.h> exists even on freestanding compilers. */
43974 # include <limits.h>
43976 # include <assert.h>
43981 /* Override any GCC internal prototype to avoid an error.
43982 Use char because int might match the return type of a GCC
43983 builtin and then its argument prototype would still apply. */
43988 /* The GNU C library defines this for functions which it implements
43989 to always fail with ENOSYS. Some functions are actually named
43990 something starting with __ and the normal name is an alias. */
43991 #if defined __stub_$ac_func || defined __stub___$ac_func
43998 return $ac_func ();
44003 rm -f conftest.$ac_objext conftest$ac_exeext
44004 if { (ac_try="$ac_link"
44005 case "(($ac_try" in
44006 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44007 *) ac_try_echo
=$ac_try;;
44009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44010 (eval "$ac_link") 2>conftest.er1
44012 grep -v '^ *+' conftest.er1
>conftest.err
44014 cat conftest.err
>&5
44015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44016 (exit $ac_status); } && {
44017 test -z "$ac_c_werror_flag" ||
44018 test ! -s conftest.err
44019 } && test -s conftest
$ac_exeext &&
44020 $as_test_x conftest
$ac_exeext; then
44021 eval "$as_ac_var=yes"
44023 echo "$as_me: failed program was:" >&5
44024 sed 's/^/| /' conftest.
$ac_ext >&5
44026 eval "$as_ac_var=no"
44029 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44030 conftest
$ac_exeext conftest.
$ac_ext
44032 ac_res
=`eval echo '${'$as_ac_var'}'`
44033 { echo "$as_me:$LINENO: result: $ac_res" >&5
44034 echo "${ECHO_T}$ac_res" >&6; }
44035 if test `eval echo '${'$as_ac_var'}'` = yes; then
44036 cat >>confdefs.h
<<_ACEOF
44037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44040 cat >>confdefs.h
<<\_ACEOF
44041 #define HAVE_SHL_LOAD 1
44048 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44049 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44050 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44051 echo $ECHO_N "(cached) $ECHO_C" >&6
44053 ac_check_lib_save_LIBS
=$LIBS
44054 LIBS
="-lshl_load $LIBS"
44055 cat >conftest.
$ac_ext <<_ACEOF
44058 cat confdefs.h
>>conftest.
$ac_ext
44059 cat >>conftest.
$ac_ext <<_ACEOF
44060 /* end confdefs.h. */
44062 /* Override any GCC internal prototype to avoid an error.
44063 Use char because int might match the return type of a GCC
44064 builtin and then its argument prototype would still apply. */
44077 rm -f conftest.
$ac_objext conftest
$ac_exeext
44078 if { (ac_try
="$ac_link"
44079 case "(($ac_try" in
44080 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44081 *) ac_try_echo=$ac_try;;
44083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44084 (eval "$ac_link") 2>conftest.er1
44086 grep -v '^ *+' conftest.er1 >conftest.err
44088 cat conftest.err >&5
44089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44090 (exit $ac_status); } && {
44091 test -z "$ac_c_werror_flag" ||
44092 test ! -s conftest.err
44093 } && test -s conftest$ac_exeext &&
44094 $as_test_x conftest$ac_exeext; then
44095 ac_cv_lib_shl_load_dld=yes
44097 echo "$as_me: failed program was:" >&5
44098 sed 's/^/| /' conftest.$ac_ext >&5
44100 ac_cv_lib_shl_load_dld=no
44103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44104 conftest$ac_exeext conftest.$ac_ext
44105 LIBS=$ac_check_lib_save_LIBS
44107 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44108 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44109 if test $ac_cv_lib_shl_load_dld = yes; then
44112 DL_LINK=" -ldld$DL_LINK"
44128 if test "$HAVE_DL_FUNCS" = 1; then
44130 for ac_func in dlerror
44132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44133 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44135 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44136 echo $ECHO_N "(cached) $ECHO_C" >&6
44138 cat >conftest.$ac_ext <<_ACEOF
44141 cat confdefs.h >>conftest.$ac_ext
44142 cat >>conftest.$ac_ext <<_ACEOF
44143 /* end confdefs.h. */
44144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44146 #define $ac_func innocuous_$ac_func
44148 /* System header to define __stub macros and hopefully few prototypes,
44149 which can conflict with char $ac_func (); below.
44150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44151 <limits.h> exists even on freestanding compilers. */
44154 # include <limits.h>
44156 # include <assert.h>
44161 /* Override any GCC internal prototype to avoid an error.
44162 Use char because int might match the return type of a GCC
44163 builtin and then its argument prototype would still apply. */
44168 /* The GNU C library defines this for functions which it implements
44169 to always fail with ENOSYS. Some functions are actually named
44170 something starting with __ and the normal name is an alias. */
44171 #if defined __stub_$ac_func || defined __stub___$ac_func
44178 return $ac_func ();
44183 rm -f conftest.$ac_objext conftest$ac_exeext
44184 if { (ac_try="$ac_link"
44185 case "(($ac_try" in
44186 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44187 *) ac_try_echo
=$ac_try;;
44189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44190 (eval "$ac_link") 2>conftest.er1
44192 grep -v '^ *+' conftest.er1
>conftest.err
44194 cat conftest.err
>&5
44195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44196 (exit $ac_status); } && {
44197 test -z "$ac_c_werror_flag" ||
44198 test ! -s conftest.err
44199 } && test -s conftest
$ac_exeext &&
44200 $as_test_x conftest
$ac_exeext; then
44201 eval "$as_ac_var=yes"
44203 echo "$as_me: failed program was:" >&5
44204 sed 's/^/| /' conftest.
$ac_ext >&5
44206 eval "$as_ac_var=no"
44209 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44210 conftest
$ac_exeext conftest.
$ac_ext
44212 ac_res
=`eval echo '${'$as_ac_var'}'`
44213 { echo "$as_me:$LINENO: result: $ac_res" >&5
44214 echo "${ECHO_T}$ac_res" >&6; }
44215 if test `eval echo '${'$as_ac_var'}'` = yes; then
44216 cat >>confdefs.h
<<_ACEOF
44217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44219 cat >>confdefs.h
<<\_ACEOF
44220 #define HAVE_DLERROR 1
44225 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44226 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44227 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44228 echo $ECHO_N "(cached) $ECHO_C" >&6
44230 ac_check_lib_save_LIBS
=$LIBS
44232 cat >conftest.
$ac_ext <<_ACEOF
44235 cat confdefs.h
>>conftest.
$ac_ext
44236 cat >>conftest.
$ac_ext <<_ACEOF
44237 /* end confdefs.h. */
44239 /* Override any GCC internal prototype to avoid an error.
44240 Use char because int might match the return type of a GCC
44241 builtin and then its argument prototype would still apply. */
44254 rm -f conftest.
$ac_objext conftest
$ac_exeext
44255 if { (ac_try
="$ac_link"
44256 case "(($ac_try" in
44257 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44258 *) ac_try_echo=$ac_try;;
44260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44261 (eval "$ac_link") 2>conftest.er1
44263 grep -v '^ *+' conftest.er1 >conftest.err
44265 cat conftest.err >&5
44266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44267 (exit $ac_status); } && {
44268 test -z "$ac_c_werror_flag" ||
44269 test ! -s conftest.err
44270 } && test -s conftest$ac_exeext &&
44271 $as_test_x conftest$ac_exeext; then
44272 ac_cv_lib_dl_dlerror=yes
44274 echo "$as_me: failed program was:" >&5
44275 sed 's/^/| /' conftest.$ac_ext >&5
44277 ac_cv_lib_dl_dlerror=no
44280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44281 conftest$ac_exeext conftest.$ac_ext
44282 LIBS=$ac_check_lib_save_LIBS
44284 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44285 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44286 if test $ac_cv_lib_dl_dlerror = yes; then
44287 cat >>confdefs.h <<\_ACEOF
44288 #define HAVE_DLERROR 1
44301 if test "$HAVE_DL_FUNCS" = 0; then
44302 if test "$HAVE_SHL_FUNCS" = 0; then
44303 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44304 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44305 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44306 wxUSE_DYNAMIC_LOADER=no
44307 wxUSE_DYNLIB_CLASS=no
44309 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44310 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44317 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44318 cat >>confdefs.h <<\_ACEOF
44319 #define wxUSE_DYNAMIC_LOADER 1
44323 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44324 cat >>confdefs.h <<\_ACEOF
44325 #define wxUSE_DYNLIB_CLASS 1
44332 if test "$wxUSE_PLUGINS" = "yes" ; then
44333 if test "$wxUSE_SHARED" = "no" ; then
44334 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44335 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44338 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44339 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44340 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44343 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44344 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44345 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44348 if test "$wxUSE_PLUGINS" = "yes" ; then
44349 cat >>confdefs.h <<\_ACEOF
44350 #define wxUSE_PLUGINS 1
44357 if test "$wxUSE_STL" = "yes"; then
44358 cat >>confdefs.h <<\_ACEOF
44359 #define wxUSE_STL 1
44364 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44365 cat >>confdefs.h <<\_ACEOF
44366 #define wxUSE_EXTENDED_RTTI 1
44371 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44372 cat >>confdefs.h <<\_ACEOF
44373 #define wxUSE_APPLE_IEEE 1
44378 if test "$wxUSE_TIMER" = "yes"; then
44379 cat >>confdefs.h <<\_ACEOF
44380 #define wxUSE_TIMER 1
44385 if test "$USE_UNIX" = "1" ; then
44386 if test "$wxUSE_MGL" != 1; then
44387 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44388 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44389 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44390 echo $ECHO_N "(cached) $ECHO_C" >&6
44393 cat >conftest.$ac_ext <<_ACEOF
44396 cat confdefs.h >>conftest.$ac_ext
44397 cat >>conftest.$ac_ext <<_ACEOF
44398 /* end confdefs.h. */
44400 #include <sys/ioctl.h>
44401 #include <sys/soundcard.h>
44407 ioctl(0, SNDCTL_DSP_SPEED, 0);
44413 rm -f conftest.$ac_objext conftest$ac_exeext
44414 if { (ac_try="$ac_link"
44415 case "(($ac_try" in
44416 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44417 *) ac_try_echo
=$ac_try;;
44419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44420 (eval "$ac_link") 2>conftest.er1
44422 grep -v '^ *+' conftest.er1
>conftest.err
44424 cat conftest.err
>&5
44425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44426 (exit $ac_status); } && {
44427 test -z "$ac_c_werror_flag" ||
44428 test ! -s conftest.err
44429 } && test -s conftest
$ac_exeext &&
44430 $as_test_x conftest
$ac_exeext; then
44431 ac_cv_header_sys_soundcard
=yes
44433 echo "$as_me: failed program was:" >&5
44434 sed 's/^/| /' conftest.
$ac_ext >&5
44438 LIBS
="$saveLibs -lossaudio"
44439 cat >conftest.
$ac_ext <<_ACEOF
44442 cat confdefs.h
>>conftest.
$ac_ext
44443 cat >>conftest.
$ac_ext <<_ACEOF
44444 /* end confdefs.h. */
44446 #include <sys/ioctl.h>
44447 #include <sys/soundcard.h>
44453 ioctl(0, SNDCTL_DSP_SPEED, 0);
44459 rm -f conftest.
$ac_objext conftest
$ac_exeext
44460 if { (ac_try
="$ac_link"
44461 case "(($ac_try" in
44462 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44463 *) ac_try_echo=$ac_try;;
44465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44466 (eval "$ac_link") 2>conftest.er1
44468 grep -v '^ *+' conftest.er1 >conftest.err
44470 cat conftest.err >&5
44471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44472 (exit $ac_status); } && {
44473 test -z "$ac_c_werror_flag" ||
44474 test ! -s conftest.err
44475 } && test -s conftest$ac_exeext &&
44476 $as_test_x conftest$ac_exeext; then
44477 ac_cv_header_sys_soundcard=yes
44479 echo "$as_me: failed program was:" >&5
44480 sed 's/^/| /' conftest.$ac_ext >&5
44484 ac_cv_header_sys_soundcard=no
44489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44490 conftest$ac_exeext conftest.$ac_ext
44495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44496 conftest$ac_exeext conftest.$ac_ext
44499 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44500 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44503 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44504 cat >>confdefs.h <<\_ACEOF
44505 #define HAVE_SYS_SOUNDCARD_H 1
44512 if test "$wxUSE_SOUND" = "yes"; then
44513 if test "$USE_UNIX" = "1" ; then
44514 if test "$wxUSE_LIBSDL" != "no"; then
44516 # Check whether --with-sdl-prefix was given.
44517 if test "${with_sdl_prefix+set}" = set; then
44518 withval=$with_sdl_prefix; sdl_prefix="$withval"
44524 # Check whether --with-sdl-exec-prefix was given.
44525 if test "${with_sdl_exec_prefix+set}" = set; then
44526 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44531 # Check whether --enable-sdltest was given.
44532 if test "${enable_sdltest+set}" = set; then
44533 enableval=$enable_sdltest;
44539 if test x$sdl_exec_prefix != x ; then
44540 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44541 if test x${SDL_CONFIG+set} != xset ; then
44542 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44545 if test x$sdl_prefix != x ; then
44546 sdl_args="$sdl_args --prefix=$sdl_prefix"
44547 if test x${SDL_CONFIG+set} != xset ; then
44548 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44552 if test "x$prefix" != xNONE; then
44553 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44555 # Extract the first word of "sdl-config", so it can be a program name with args.
44556 set dummy sdl-config; ac_word=$2
44557 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44559 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44560 echo $ECHO_N "(cached) $ECHO_C" >&6
44562 case $SDL_CONFIG in
44564 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44568 for as_dir in $PATH
44571 test -z "$as_dir" && as_dir=.
44572 for ac_exec_ext in '' $ac_executable_extensions; do
44573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44574 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44582 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44586 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44587 if test -n "$SDL_CONFIG"; then
44588 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44589 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44591 { echo "$as_me:$LINENO: result: no" >&5
44592 echo "${ECHO_T}no" >&6; }
44596 min_sdl_version=1.2.0
44597 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44598 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44600 if test "$SDL_CONFIG" = "no" ; then
44603 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44604 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44606 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44607 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44608 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44609 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44610 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44611 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44612 if test "x$enable_sdltest" = "xyes" ; then
44613 ac_save_CFLAGS="$CFLAGS"
44614 ac_save_CXXFLAGS="$CXXFLAGS"
44615 ac_save_LIBS="$LIBS"
44616 CFLAGS="$CFLAGS $SDL_CFLAGS"
44617 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44618 LIBS="$LIBS $SDL_LIBS"
44620 if test "$cross_compiling" = yes; then
44621 echo $ac_n "cross compiling; assumed OK... $ac_c"
44623 cat >conftest.$ac_ext <<_ACEOF
44626 cat confdefs.h >>conftest.$ac_ext
44627 cat >>conftest.$ac_ext <<_ACEOF
44628 /* end confdefs.h. */
44631 #include <stdlib.h>
44632 #include <string.h>
44636 my_strdup (char *str)
44642 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44643 strcpy (new_str, str);
44651 int main (int argc, char *argv[])
44653 int major, minor, micro;
44656 /* This hangs on some systems (?)
44657 system ("touch conf.sdltest");
44659 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44661 /* HP/UX 9 (%@#!) writes to sscanf strings */
44662 tmp_version = my_strdup("$min_sdl_version");
44663 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44664 printf("%s, bad version string\n", "$min_sdl_version");
44668 if (($sdl_major_version > major) ||
44669 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44670 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44676 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44677 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44678 printf("*** best to upgrade to the required version.\n");
44679 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44680 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44681 printf("*** config.cache before re-running configure\n");
44688 rm -f conftest$ac_exeext
44689 if { (ac_try="$ac_link"
44690 case "(($ac_try" in
44691 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44692 *) ac_try_echo
=$ac_try;;
44694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44695 (eval "$ac_link") 2>&5
44697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44698 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
44699 { (case "(($ac_try" in
44700 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44701 *) ac_try_echo=$ac_try;;
44703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44704 (eval "$ac_try") 2>&5
44706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44707 (exit $ac_status); }; }; then
44710 echo "$as_me: program exited with status $ac_status" >&5
44711 echo "$as_me: failed program was:" >&5
44712 sed 's/^/| /' conftest.$ac_ext >&5
44714 ( exit $ac_status )
44717 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44721 CFLAGS="$ac_save_CFLAGS"
44722 CXXFLAGS="$ac_save_CXXFLAGS"
44723 LIBS="$ac_save_LIBS"
44726 if test "x$no_sdl" = x ; then
44727 { echo "$as_me:$LINENO: result: yes" >&5
44728 echo "${ECHO_T}yes" >&6; }
44730 EXTRALIBS_SDL="$SDL_LIBS"
44731 CFLAGS="$SDL_CFLAGS $CFLAGS"
44732 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44733 cat >>confdefs.h <<\_ACEOF
44734 #define wxUSE_LIBSDL 1
44739 { echo "$as_me:$LINENO: result: no" >&5
44740 echo "${ECHO_T}no" >&6; }
44741 if test "$SDL_CONFIG" = "no" ; then
44742 echo "*** The sdl-config script installed by SDL could not be found"
44743 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44744 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44745 echo "*** full path to sdl-config."
44747 if test -f conf.sdltest ; then
44750 echo "*** Could not run SDL test program, checking why..."
44751 CFLAGS="$CFLAGS $SDL_CFLAGS"
44752 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44753 LIBS="$LIBS $SDL_LIBS"
44754 cat >conftest.$ac_ext <<_ACEOF
44757 cat confdefs.h >>conftest.$ac_ext
44758 cat >>conftest.$ac_ext <<_ACEOF
44759 /* end confdefs.h. */
44764 int main(int argc, char *argv[])
44767 #define main K_and_R_C_main
44777 rm -f conftest.$ac_objext conftest$ac_exeext
44778 if { (ac_try="$ac_link"
44779 case "(($ac_try" in
44780 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44781 *) ac_try_echo
=$ac_try;;
44783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44784 (eval "$ac_link") 2>conftest.er1
44786 grep -v '^ *+' conftest.er1
>conftest.err
44788 cat conftest.err
>&5
44789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44790 (exit $ac_status); } && {
44791 test -z "$ac_c_werror_flag" ||
44792 test ! -s conftest.err
44793 } && test -s conftest
$ac_exeext &&
44794 $as_test_x conftest
$ac_exeext; then
44795 echo "*** The test program compiled, but did not run. This usually means"
44796 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44797 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44798 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44799 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44800 echo "*** is required on your system"
44802 echo "*** If you have an old version installed, it is best to remove it, although"
44803 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44805 echo "$as_me: failed program was:" >&5
44806 sed 's/^/| /' conftest.
$ac_ext >&5
44808 echo "*** The test program failed to compile or link. See the file config.log for the"
44809 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44810 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44811 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44814 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44815 conftest
$ac_exeext conftest.
$ac_ext
44816 CFLAGS
="$ac_save_CFLAGS"
44817 CXXFLAGS
="$ac_save_CXXFLAGS"
44818 LIBS
="$ac_save_LIBS"
44829 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44834 if test "$wxUSE_MGL" = 1; then
44835 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44836 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44842 if test "$wxUSE_SOUND" = "yes"; then
44843 cat >>confdefs.h
<<\_ACEOF
44844 #define wxUSE_SOUND 1
44847 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
44850 if test "$WXGTK20" = 1; then
44853 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44854 if test -n "$ac_tool_prefix"; then
44855 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44856 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
44857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44859 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44860 echo $ECHO_N "(cached) $ECHO_C" >&6
44862 case $PKG_CONFIG in
44864 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44868 for as_dir
in $PATH
44871 test -z "$as_dir" && as_dir
=.
44872 for ac_exec_ext
in '' $ac_executable_extensions; do
44873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44874 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44885 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44886 if test -n "$PKG_CONFIG"; then
44887 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44888 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44890 { echo "$as_me:$LINENO: result: no" >&5
44891 echo "${ECHO_T}no" >&6; }
44896 if test -z "$ac_cv_path_PKG_CONFIG"; then
44897 ac_pt_PKG_CONFIG
=$PKG_CONFIG
44898 # Extract the first word of "pkg-config", so it can be a program name with args.
44899 set dummy pkg
-config; ac_word
=$2
44900 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44902 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44903 echo $ECHO_N "(cached) $ECHO_C" >&6
44905 case $ac_pt_PKG_CONFIG in
44907 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44911 for as_dir
in $PATH
44914 test -z "$as_dir" && as_dir
=.
44915 for ac_exec_ext
in '' $ac_executable_extensions; do
44916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44917 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44928 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
44929 if test -n "$ac_pt_PKG_CONFIG"; then
44930 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44931 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44933 { echo "$as_me:$LINENO: result: no" >&5
44934 echo "${ECHO_T}no" >&6; }
44937 if test "x$ac_pt_PKG_CONFIG" = x
; then
44940 case $cross_compiling:$ac_tool_warned in
44942 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44943 whose name does not start with the host triplet. If you think this
44944 configuration is useful to you, please write to autoconf@gnu.org." >&5
44945 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44946 whose name does not start with the host triplet. If you think this
44947 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44948 ac_tool_warned
=yes ;;
44950 PKG_CONFIG
=$ac_pt_PKG_CONFIG
44953 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
44957 if test -n "$PKG_CONFIG"; then
44958 _pkg_min_version
=0.9.0
44959 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44960 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44961 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44962 { echo "$as_me:$LINENO: result: yes" >&5
44963 echo "${ECHO_T}yes" >&6; }
44965 { echo "$as_me:$LINENO: result: no" >&5
44966 echo "${ECHO_T}no" >&6; }
44972 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44973 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44977 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44978 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44980 if test -n "$PKG_CONFIG"; then
44981 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44982 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
44984 if test -n "$PKG_CONFIG" && \
44985 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44986 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44989 (exit $ac_status); }; then
44990 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44998 if test -n "$PKG_CONFIG"; then
44999 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45000 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
45002 if test -n "$PKG_CONFIG" && \
45003 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45004 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45007 (exit $ac_status); }; then
45008 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45019 if test $pkg_failed = yes; then
45021 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45022 _pkg_short_errors_supported
=yes
45024 _pkg_short_errors_supported
=no
45026 if test $_pkg_short_errors_supported = yes; then
45027 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45029 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45031 # Put the nasty error message in config.log where it belongs
45032 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45035 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45036 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45037 wxUSE_LIBGNOMEPRINT
="no"
45040 elif test $pkg_failed = untried
; then
45042 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45043 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45044 wxUSE_LIBGNOMEPRINT
="no"
45048 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45049 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45050 { echo "$as_me:$LINENO: result: yes" >&5
45051 echo "${ECHO_T}yes" >&6; }
45053 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45054 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45055 cat >>confdefs.h
<<\_ACEOF
45056 #define wxUSE_LIBGNOMEPRINT 1
45064 if test "$wxUSE_MIMETYPE" = "yes" ; then
45065 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45069 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45070 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45072 if test -n "$PKG_CONFIG"; then
45073 if test -n "$GNOMEVFS_CFLAGS"; then
45074 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
45076 if test -n "$PKG_CONFIG" && \
45077 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45078 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45081 (exit $ac_status); }; then
45082 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45090 if test -n "$PKG_CONFIG"; then
45091 if test -n "$GNOMEVFS_LIBS"; then
45092 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
45094 if test -n "$PKG_CONFIG" && \
45095 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45096 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45099 (exit $ac_status); }; then
45100 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45111 if test $pkg_failed = yes; then
45113 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45114 _pkg_short_errors_supported
=yes
45116 _pkg_short_errors_supported
=no
45118 if test $_pkg_short_errors_supported = yes; then
45119 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45121 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45123 # Put the nasty error message in config.log where it belongs
45124 echo "$GNOMEVFS_PKG_ERRORS" >&5
45127 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45128 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45129 wxUSE_LIBGNOMEVFS
="no"
45132 elif test $pkg_failed = untried
; then
45134 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45135 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45136 wxUSE_LIBGNOMEVFS
="no"
45140 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
45141 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
45142 { echo "$as_me:$LINENO: result: yes" >&5
45143 echo "${ECHO_T}yes" >&6; }
45145 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
45146 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
45147 cat >>confdefs.h
<<\_ACEOF
45148 #define wxUSE_LIBGNOMEVFS 1
45156 if test "$wxUSE_LIBHILDON" = "yes" ; then
45159 { echo "$as_me:$LINENO: checking for HILDON" >&5
45160 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45162 if test -n "$PKG_CONFIG"; then
45163 if test -n "$HILDON_CFLAGS"; then
45164 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
45166 if test -n "$PKG_CONFIG" && \
45167 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45168 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45171 (exit $ac_status); }; then
45172 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45180 if test -n "$PKG_CONFIG"; then
45181 if test -n "$HILDON_LIBS"; then
45182 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
45184 if test -n "$PKG_CONFIG" && \
45185 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45186 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45189 (exit $ac_status); }; then
45190 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45201 if test $pkg_failed = yes; then
45203 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45204 _pkg_short_errors_supported
=yes
45206 _pkg_short_errors_supported
=no
45208 if test $_pkg_short_errors_supported = yes; then
45209 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45211 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45213 # Put the nasty error message in config.log where it belongs
45214 echo "$HILDON_PKG_ERRORS" >&5
45217 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45218 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45219 wxUSE_LIBHILDON
="no"
45222 elif test $pkg_failed = untried
; then
45224 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45225 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45226 wxUSE_LIBHILDON
="no"
45230 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
45231 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
45232 { echo "$as_me:$LINENO: result: yes" >&5
45233 echo "${ECHO_T}yes" >&6; }
45235 EXTRALIBS_HILDON
="$HILDON_LIBS"
45236 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
45237 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
45238 cat >>confdefs.h
<<\_ACEOF
45239 #define wxUSE_LIBHILDON 1
45247 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45248 cat >>confdefs.h
<<\_ACEOF
45249 #define wxUSE_CMDLINE_PARSER 1
45254 if test "$wxUSE_STOPWATCH" = "yes"; then
45255 cat >>confdefs.h
<<\_ACEOF
45256 #define wxUSE_STOPWATCH 1
45261 if test "$wxUSE_DATETIME" = "yes"; then
45262 cat >>confdefs.h
<<\_ACEOF
45263 #define wxUSE_DATETIME 1
45268 if test "$wxUSE_FILE" = "yes"; then
45269 cat >>confdefs.h
<<\_ACEOF
45270 #define wxUSE_FILE 1
45275 if test "$wxUSE_FFILE" = "yes"; then
45276 cat >>confdefs.h
<<\_ACEOF
45277 #define wxUSE_FFILE 1
45282 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45283 if test "$wxUSE_STREAMS" != yes; then
45284 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45285 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45286 wxUSE_ARCHIVE_STREAMS
=no
45288 cat >>confdefs.h
<<\_ACEOF
45289 #define wxUSE_ARCHIVE_STREAMS 1
45295 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45296 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45297 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45298 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45299 elif test "$wxUSE_ZLIB" = "no"; then
45300 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45301 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45303 cat >>confdefs.h
<<\_ACEOF
45304 #define wxUSE_ZIPSTREAM 1
45310 if test "$wxUSE_TARSTREAM" = "yes"; then
45311 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45312 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45313 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45315 cat >>confdefs.h
<<\_ACEOF
45316 #define wxUSE_TARSTREAM 1
45322 if test "$wxUSE_FILESYSTEM" = "yes"; then
45323 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
45324 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45325 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45326 wxUSE_FILESYSTEM
=no
45328 cat >>confdefs.h
<<\_ACEOF
45329 #define wxUSE_FILESYSTEM 1
45335 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45336 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45337 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45338 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45340 cat >>confdefs.h
<<\_ACEOF
45341 #define wxUSE_FS_ARCHIVE 1
45347 if test "$wxUSE_FS_ZIP" = "yes"; then
45348 if test "$wxUSE_FS_ARCHIVE" != yes; then
45349 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45350 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45352 cat >>confdefs.h
<<\_ACEOF
45353 #define wxUSE_FS_ZIP 1
45359 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45360 if test "$USE_UNIX" != 1; then
45361 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45362 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45363 wxUSE_ON_FATAL_EXCEPTION
=no
45365 cat >>confdefs.h
<<\_ACEOF
45366 #define wxUSE_ON_FATAL_EXCEPTION 1
45372 if test "$wxUSE_STACKWALKER" = "yes"; then
45373 cat >>confdefs.h
<<\_ACEOF
45374 #define wxUSE_STACKWALKER 1
45379 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45380 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45381 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45382 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45383 wxUSE_DEBUGREPORT
=no
45385 cat >>confdefs.h
<<\_ACEOF
45386 #define wxUSE_DEBUGREPORT 1
45389 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45390 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
45395 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45396 cat >>confdefs.h
<<\_ACEOF
45397 #define wxUSE_SNGLINST_CHECKER 1
45402 if test "$wxUSE_BUSYINFO" = "yes"; then
45403 cat >>confdefs.h
<<\_ACEOF
45404 #define wxUSE_BUSYINFO 1
45409 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45410 cat >>confdefs.h
<<\_ACEOF
45411 #define wxUSE_STD_IOSTREAM 1
45416 if test "$wxUSE_STD_STRING" = "yes"; then
45417 cat >>confdefs.h
<<\_ACEOF
45418 #define wxUSE_STD_STRING 1
45423 if test "$wxUSE_STDPATHS" = "yes"; then
45424 cat >>confdefs.h
<<\_ACEOF
45425 #define wxUSE_STDPATHS 1
45430 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45431 cat >>confdefs.h
<<\_ACEOF
45432 #define wxUSE_TEXTBUFFER 1
45437 if test "$wxUSE_TEXTFILE" = "yes"; then
45438 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45439 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45440 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45442 cat >>confdefs.h
<<\_ACEOF
45443 #define wxUSE_TEXTFILE 1
45449 if test "$wxUSE_CONFIG" = "yes" ; then
45450 if test "$wxUSE_TEXTFILE" != "yes"; then
45451 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45452 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45454 cat >>confdefs.h
<<\_ACEOF
45455 #define wxUSE_CONFIG 1
45458 cat >>confdefs.h
<<\_ACEOF
45459 #define wxUSE_CONFIG_NATIVE 1
45462 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
45466 if test "$wxUSE_INTL" = "yes" ; then
45467 if test "$wxUSE_FILE" != "yes"; then
45468 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45469 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45471 cat >>confdefs.h
<<\_ACEOF
45472 #define wxUSE_INTL 1
45475 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
45476 GUIDIST
="$GUIDIST INTL_DIST"
45480 if test "$wxUSE_LOG" = "yes"; then
45481 cat >>confdefs.h
<<\_ACEOF
45482 #define wxUSE_LOG 1
45486 if test "$wxUSE_LOGGUI" = "yes"; then
45487 cat >>confdefs.h
<<\_ACEOF
45488 #define wxUSE_LOGGUI 1
45493 if test "$wxUSE_LOGWINDOW" = "yes"; then
45494 cat >>confdefs.h
<<\_ACEOF
45495 #define wxUSE_LOGWINDOW 1
45500 if test "$wxUSE_LOGDIALOG" = "yes"; then
45501 cat >>confdefs.h
<<\_ACEOF
45502 #define wxUSE_LOG_DIALOG 1
45507 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
45510 if test "$wxUSE_LONGLONG" = "yes"; then
45511 cat >>confdefs.h
<<\_ACEOF
45512 #define wxUSE_LONGLONG 1
45517 if test "$wxUSE_GEOMETRY" = "yes"; then
45518 cat >>confdefs.h
<<\_ACEOF
45519 #define wxUSE_GEOMETRY 1
45524 if test "$wxUSE_BASE64" = "yes"; then
45525 cat >>confdefs.h
<<\_ACEOF
45526 #define wxUSE_BASE64 1
45531 if test "$wxUSE_STREAMS" = "yes" ; then
45532 cat >>confdefs.h
<<\_ACEOF
45533 #define wxUSE_STREAMS 1
45538 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45539 cat >>confdefs.h
<<\_ACEOF
45540 #define wxUSE_PRINTF_POS_PARAMS 1
45545 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45546 cat >>confdefs.h
<<\_ACEOF
45547 #define wxUSE_OBJC_UNIQUIFYING 1
45553 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45554 cat >>confdefs.h
<<\_ACEOF
45555 #define wxUSE_CONSOLE_EVENTLOOP 1
45559 if test "$wxUSE_UNIX" = "yes"; then
45560 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45561 cat >>confdefs.h
<<\_ACEOF
45562 #define wxUSE_SELECT_DISPATCHER 1
45567 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45569 for ac_header
in sys
/epoll.h
45571 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45572 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45573 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45575 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45576 echo $ECHO_N "(cached) $ECHO_C" >&6
45578 ac_res
=`eval echo '${'$as_ac_Header'}'`
45579 { echo "$as_me:$LINENO: result: $ac_res" >&5
45580 echo "${ECHO_T}$ac_res" >&6; }
45582 # Is the header compilable?
45583 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
45584 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
45585 cat >conftest.
$ac_ext <<_ACEOF
45588 cat confdefs.h
>>conftest.
$ac_ext
45589 cat >>conftest.
$ac_ext <<_ACEOF
45590 /* end confdefs.h. */
45591 $ac_includes_default
45592 #include <$ac_header>
45594 rm -f conftest.
$ac_objext
45595 if { (ac_try
="$ac_compile"
45596 case "(($ac_try" in
45597 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45598 *) ac_try_echo=$ac_try;;
45600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45601 (eval "$ac_compile") 2>conftest.er1
45603 grep -v '^ *+' conftest.er1 >conftest.err
45605 cat conftest.err >&5
45606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45607 (exit $ac_status); } && {
45608 test -z "$ac_c_werror_flag" ||
45609 test ! -s conftest.err
45610 } && test -s conftest.$ac_objext; then
45611 ac_header_compiler=yes
45613 echo "$as_me: failed program was:" >&5
45614 sed 's/^/| /' conftest.$ac_ext >&5
45616 ac_header_compiler=no
45619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45620 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45621 echo "${ECHO_T}$ac_header_compiler" >&6; }
45623 # Is the header present?
45624 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
45625 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
45626 cat >conftest.$ac_ext <<_ACEOF
45629 cat confdefs.h >>conftest.$ac_ext
45630 cat >>conftest.$ac_ext <<_ACEOF
45631 /* end confdefs.h. */
45632 #include <$ac_header>
45634 if { (ac_try="$ac_cpp conftest.$ac_ext"
45635 case "(($ac_try" in
45636 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45637 *) ac_try_echo
=$ac_try;;
45639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45640 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45642 grep -v '^ *+' conftest.er1
>conftest.err
45644 cat conftest.err
>&5
45645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45646 (exit $ac_status); } >/dev
/null
&& {
45647 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
45648 test ! -s conftest.err
45650 ac_header_preproc
=yes
45652 echo "$as_me: failed program was:" >&5
45653 sed 's/^/| /' conftest.
$ac_ext >&5
45655 ac_header_preproc
=no
45658 rm -f conftest.err conftest.
$ac_ext
45659 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45660 echo "${ECHO_T}$ac_header_preproc" >&6; }
45662 # So? What about this header?
45663 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45665 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45666 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45667 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45668 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45669 ac_header_preproc
=yes
45672 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45673 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45674 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45675 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45676 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45677 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45678 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45679 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45680 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45681 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45682 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45683 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45685 ## ----------------------------------------- ##
45686 ## Report this to wx-dev@lists.wxwidgets.org ##
45687 ## ----------------------------------------- ##
45689 ) | sed "s/^/$as_me: WARNING: /" >&2
45692 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45694 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45695 echo $ECHO_N "(cached) $ECHO_C" >&6
45697 eval "$as_ac_Header=\$ac_header_preproc"
45699 ac_res
=`eval echo '${'$as_ac_Header'}'`
45700 { echo "$as_me:$LINENO: result: $ac_res" >&5
45701 echo "${ECHO_T}$ac_res" >&6; }
45704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45705 cat >>confdefs.h
<<_ACEOF
45706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45713 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45714 cat >>confdefs.h
<<\_ACEOF
45715 #define wxUSE_EPOLL_DISPATCHER 1
45719 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45720 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45729 for ac_func
in gettimeofday ftime
45731 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45732 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45734 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45735 echo $ECHO_N "(cached) $ECHO_C" >&6
45737 cat >conftest.
$ac_ext <<_ACEOF
45740 cat confdefs.h
>>conftest.
$ac_ext
45741 cat >>conftest.
$ac_ext <<_ACEOF
45742 /* end confdefs.h. */
45743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45745 #define $ac_func innocuous_$ac_func
45747 /* System header to define __stub macros and hopefully few prototypes,
45748 which can conflict with char $ac_func (); below.
45749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45750 <limits.h> exists even on freestanding compilers. */
45753 # include <limits.h>
45755 # include <assert.h>
45760 /* Override any GCC internal prototype to avoid an error.
45761 Use char because int might match the return type of a GCC
45762 builtin and then its argument prototype would still apply. */
45767 /* The GNU C library defines this for functions which it implements
45768 to always fail with ENOSYS. Some functions are actually named
45769 something starting with __ and the normal name is an alias. */
45770 #if defined __stub_$ac_func || defined __stub___$ac_func
45777 return $ac_func ();
45782 rm -f conftest.
$ac_objext conftest
$ac_exeext
45783 if { (ac_try
="$ac_link"
45784 case "(($ac_try" in
45785 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45786 *) ac_try_echo=$ac_try;;
45788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45789 (eval "$ac_link") 2>conftest.er1
45791 grep -v '^ *+' conftest.er1 >conftest.err
45793 cat conftest.err >&5
45794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45795 (exit $ac_status); } && {
45796 test -z "$ac_c_werror_flag" ||
45797 test ! -s conftest.err
45798 } && test -s conftest$ac_exeext &&
45799 $as_test_x conftest$ac_exeext; then
45800 eval "$as_ac_var=yes"
45802 echo "$as_me: failed program was:" >&5
45803 sed 's/^/| /' conftest.$ac_ext >&5
45805 eval "$as_ac_var=no"
45808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45809 conftest$ac_exeext conftest.$ac_ext
45811 ac_res=`eval echo '${'$as_ac_var'}'`
45812 { echo "$as_me:$LINENO: result: $ac_res" >&5
45813 echo "${ECHO_T}$ac_res" >&6; }
45814 if test `eval echo '${'$as_ac_var'}'` = yes; then
45815 cat >>confdefs.h <<_ACEOF
45816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45823 if test "$ac_cv_func_gettimeofday" = "yes"; then
45824 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45825 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45826 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45827 echo $ECHO_N "(cached) $ECHO_C" >&6
45830 cat >conftest.$ac_ext <<_ACEOF
45833 cat confdefs.h >>conftest.$ac_ext
45834 cat >>conftest.$ac_ext <<_ACEOF
45835 /* end confdefs.h. */
45837 #include <sys/time.h>
45838 #include <unistd.h>
45845 gettimeofday(&tv, NULL);
45851 rm -f conftest.$ac_objext
45852 if { (ac_try="$ac_compile"
45853 case "(($ac_try" in
45854 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45855 *) ac_try_echo
=$ac_try;;
45857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45858 (eval "$ac_compile") 2>conftest.er1
45860 grep -v '^ *+' conftest.er1
>conftest.err
45862 cat conftest.err
>&5
45863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45864 (exit $ac_status); } && {
45865 test -z "$ac_c_werror_flag" ||
45866 test ! -s conftest.err
45867 } && test -s conftest.
$ac_objext; then
45868 wx_cv_func_gettimeofday_has_2_args
=yes
45870 echo "$as_me: failed program was:" >&5
45871 sed 's/^/| /' conftest.
$ac_ext >&5
45873 cat >conftest.
$ac_ext <<_ACEOF
45876 cat confdefs.h
>>conftest.
$ac_ext
45877 cat >>conftest.
$ac_ext <<_ACEOF
45878 /* end confdefs.h. */
45880 #include <sys/time.h>
45881 #include <unistd.h>
45894 rm -f conftest.
$ac_objext
45895 if { (ac_try
="$ac_compile"
45896 case "(($ac_try" in
45897 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45898 *) ac_try_echo=$ac_try;;
45900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45901 (eval "$ac_compile") 2>conftest.er1
45903 grep -v '^ *+' conftest.er1 >conftest.err
45905 cat conftest.err >&5
45906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45907 (exit $ac_status); } && {
45908 test -z "$ac_c_werror_flag" ||
45909 test ! -s conftest.err
45910 } && test -s conftest.$ac_objext; then
45911 wx_cv_func_gettimeofday_has_2_args=no
45913 echo "$as_me: failed program was:" >&5
45914 sed 's/^/| /' conftest.$ac_ext >&5
45917 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45918 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45919 wx_cv_func_gettimeofday_has_2_args=unknown
45924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45931 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45932 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45934 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45935 cat >>confdefs.h <<\_ACEOF
45936 #define WX_GETTIMEOFDAY_NO_TZ 1
45942 if test "$wxUSE_DATETIME" = "yes"; then
45943 { echo "$as_me:$LINENO: checking for strptime" >&5
45944 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45945 if test "${ac_cv_func_strptime+set}" = set; then
45946 echo $ECHO_N "(cached) $ECHO_C" >&6
45948 cat >conftest.$ac_ext <<_ACEOF
45951 cat confdefs.h >>conftest.$ac_ext
45952 cat >>conftest.$ac_ext <<_ACEOF
45953 /* end confdefs.h. */
45954 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45956 #define strptime innocuous_strptime
45958 /* System header to define __stub macros and hopefully few prototypes,
45959 which can conflict with char strptime (); below.
45960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45961 <limits.h> exists even on freestanding compilers. */
45964 # include <limits.h>
45966 # include <assert.h>
45971 /* Override any GCC internal prototype to avoid an error.
45972 Use char because int might match the return type of a GCC
45973 builtin and then its argument prototype would still apply. */
45978 /* The GNU C library defines this for functions which it implements
45979 to always fail with ENOSYS. Some functions are actually named
45980 something starting with __ and the normal name is an alias. */
45981 #if defined __stub_strptime || defined __stub___strptime
45988 return strptime ();
45993 rm -f conftest.$ac_objext conftest$ac_exeext
45994 if { (ac_try="$ac_link"
45995 case "(($ac_try" in
45996 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45997 *) ac_try_echo
=$ac_try;;
45999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46000 (eval "$ac_link") 2>conftest.er1
46002 grep -v '^ *+' conftest.er1
>conftest.err
46004 cat conftest.err
>&5
46005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46006 (exit $ac_status); } && {
46007 test -z "$ac_c_werror_flag" ||
46008 test ! -s conftest.err
46009 } && test -s conftest
$ac_exeext &&
46010 $as_test_x conftest
$ac_exeext; then
46011 ac_cv_func_strptime
=yes
46013 echo "$as_me: failed program was:" >&5
46014 sed 's/^/| /' conftest.
$ac_ext >&5
46016 ac_cv_func_strptime
=no
46019 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46020 conftest
$ac_exeext conftest.
$ac_ext
46022 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46023 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46025 if test "$ac_cv_func_strptime" = "yes"; then
46026 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46027 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46028 if test "${wx_cv_func_strptime_decl+set}" = set; then
46029 echo $ECHO_N "(cached) $ECHO_C" >&6
46033 ac_cpp
='$CXXCPP $CPPFLAGS'
46034 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46035 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46036 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46038 cat >conftest.
$ac_ext <<_ACEOF
46041 cat confdefs.h
>>conftest.
$ac_ext
46042 cat >>conftest.
$ac_ext <<_ACEOF
46043 /* end confdefs.h. */
46052 strptime("foo", "bar", &t);
46058 rm -f conftest.
$ac_objext
46059 if { (ac_try
="$ac_compile"
46060 case "(($ac_try" in
46061 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46062 *) ac_try_echo=$ac_try;;
46064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46065 (eval "$ac_compile") 2>conftest.er1
46067 grep -v '^ *+' conftest.er1 >conftest.err
46069 cat conftest.err >&5
46070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46071 (exit $ac_status); } && {
46072 test -z "$ac_cxx_werror_flag" ||
46073 test ! -s conftest.err
46074 } && test -s conftest.$ac_objext; then
46075 wx_cv_func_strptime_decl=yes
46077 echo "$as_me: failed program was:" >&5
46078 sed 's/^/| /' conftest.$ac_ext >&5
46080 wx_cv_func_strptime_decl=no
46084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46086 ac_cpp='$CPP $CPPFLAGS'
46087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46094 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46095 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46097 if test "$wx_cv_func_strptime_decl" = "yes"; then
46098 cat >>confdefs.h <<\_ACEOF
46099 #define HAVE_STRPTIME_DECL 1
46103 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46105 if test "$ac_cv_func_strptime" = "yes"; then
46106 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46107 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46108 if test "${wx_cv_func_strptime_ok+set}" = set; then
46109 echo $ECHO_N "(cached) $ECHO_C" >&6
46111 if test "$cross_compiling" = yes; then
46112 wx_cv_func_strptime_ok=no
46115 cat >conftest.$ac_ext <<_ACEOF
46117 #include <stdlib.h>
46119 #include "confdefs.h"
46126 return !!strptime("", "%x", &t);
46130 rm -f conftest$ac_exeext
46131 if { (ac_try="$ac_link"
46132 case "(($ac_try" in
46133 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46134 *) ac_try_echo
=$ac_try;;
46136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46137 (eval "$ac_link") 2>&5
46139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46140 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
46141 { (case "(($ac_try" in
46142 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46143 *) ac_try_echo=$ac_try;;
46145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46146 (eval "$ac_try") 2>&5
46148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46149 (exit $ac_status); }; }; then
46150 wx_cv_func_strptime_ok=yes
46152 echo "$as_me: program exited with status $ac_status" >&5
46153 echo "$as_me: failed program was:" >&5
46154 sed 's/^/| /' conftest.$ac_ext >&5
46156 ( exit $ac_status )
46157 wx_cv_func_strptime_ok=no
46159 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46165 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46166 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46168 if test "$wx_cv_func_strptime_ok" = "yes"; then
46169 cat >>confdefs.h <<\_ACEOF
46170 #define HAVE_STRPTIME 1
46176 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46177 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46178 if test "${wx_cv_var_timezone+set}" = set; then
46179 echo $ECHO_N "(cached) $ECHO_C" >&6
46183 ac_cpp='$CXXCPP $CPPFLAGS'
46184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46188 cat >conftest.$ac_ext <<_ACEOF
46191 cat confdefs.h >>conftest.$ac_ext
46192 cat >>conftest.$ac_ext <<_ACEOF
46193 /* end confdefs.h. */
46208 rm -f conftest.$ac_objext
46209 if { (ac_try="$ac_compile"
46210 case "(($ac_try" in
46211 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46212 *) ac_try_echo
=$ac_try;;
46214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46215 (eval "$ac_compile") 2>conftest.er1
46217 grep -v '^ *+' conftest.er1
>conftest.err
46219 cat conftest.err
>&5
46220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46221 (exit $ac_status); } && {
46222 test -z "$ac_cxx_werror_flag" ||
46223 test ! -s conftest.err
46224 } && test -s conftest.
$ac_objext; then
46226 wx_cv_var_timezone
=timezone
46229 echo "$as_me: failed program was:" >&5
46230 sed 's/^/| /' conftest.
$ac_ext >&5
46233 cat >conftest.
$ac_ext <<_ACEOF
46236 cat confdefs.h
>>conftest.
$ac_ext
46237 cat >>conftest.
$ac_ext <<_ACEOF
46238 /* end confdefs.h. */
46253 rm -f conftest.
$ac_objext
46254 if { (ac_try
="$ac_compile"
46255 case "(($ac_try" in
46256 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46257 *) ac_try_echo=$ac_try;;
46259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46260 (eval "$ac_compile") 2>conftest.er1
46262 grep -v '^ *+' conftest.er1 >conftest.err
46264 cat conftest.err >&5
46265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46266 (exit $ac_status); } && {
46267 test -z "$ac_cxx_werror_flag" ||
46268 test ! -s conftest.err
46269 } && test -s conftest.$ac_objext; then
46271 wx_cv_var_timezone=_timezone
46274 echo "$as_me: failed program was:" >&5
46275 sed 's/^/| /' conftest.$ac_ext >&5
46278 cat >conftest.$ac_ext <<_ACEOF
46281 cat confdefs.h >>conftest.$ac_ext
46282 cat >>conftest.$ac_ext <<_ACEOF
46283 /* end confdefs.h. */
46298 rm -f conftest.$ac_objext
46299 if { (ac_try="$ac_compile"
46300 case "(($ac_try" in
46301 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46302 *) ac_try_echo
=$ac_try;;
46304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46305 (eval "$ac_compile") 2>conftest.er1
46307 grep -v '^ *+' conftest.er1
>conftest.err
46309 cat conftest.err
>&5
46310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46311 (exit $ac_status); } && {
46312 test -z "$ac_cxx_werror_flag" ||
46313 test ! -s conftest.err
46314 } && test -s conftest.
$ac_objext; then
46316 wx_cv_var_timezone
=__timezone
46319 echo "$as_me: failed program was:" >&5
46320 sed 's/^/| /' conftest.
$ac_ext >&5
46323 if test "$USE_DOS" = 0 ; then
46324 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46325 echo "$as_me: WARNING: no timezone variable" >&2;}
46331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46343 ac_cpp
='$CPP $CPPFLAGS'
46344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46351 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46352 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46354 if test "x$wx_cv_var_timezone" != x
; then
46355 cat >>confdefs.h
<<_ACEOF
46356 #define WX_TIMEZONE $wx_cv_var_timezone
46362 for ac_func
in localtime
46364 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46365 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46367 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46368 echo $ECHO_N "(cached) $ECHO_C" >&6
46370 cat >conftest.
$ac_ext <<_ACEOF
46373 cat confdefs.h
>>conftest.
$ac_ext
46374 cat >>conftest.
$ac_ext <<_ACEOF
46375 /* end confdefs.h. */
46376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46378 #define $ac_func innocuous_$ac_func
46380 /* System header to define __stub macros and hopefully few prototypes,
46381 which can conflict with char $ac_func (); below.
46382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46383 <limits.h> exists even on freestanding compilers. */
46386 # include <limits.h>
46388 # include <assert.h>
46393 /* Override any GCC internal prototype to avoid an error.
46394 Use char because int might match the return type of a GCC
46395 builtin and then its argument prototype would still apply. */
46400 /* The GNU C library defines this for functions which it implements
46401 to always fail with ENOSYS. Some functions are actually named
46402 something starting with __ and the normal name is an alias. */
46403 #if defined __stub_$ac_func || defined __stub___$ac_func
46410 return $ac_func ();
46415 rm -f conftest.
$ac_objext conftest
$ac_exeext
46416 if { (ac_try
="$ac_link"
46417 case "(($ac_try" in
46418 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46419 *) ac_try_echo=$ac_try;;
46421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46422 (eval "$ac_link") 2>conftest.er1
46424 grep -v '^ *+' conftest.er1 >conftest.err
46426 cat conftest.err >&5
46427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46428 (exit $ac_status); } && {
46429 test -z "$ac_c_werror_flag" ||
46430 test ! -s conftest.err
46431 } && test -s conftest$ac_exeext &&
46432 $as_test_x conftest$ac_exeext; then
46433 eval "$as_ac_var=yes"
46435 echo "$as_me: failed program was:" >&5
46436 sed 's/^/| /' conftest.$ac_ext >&5
46438 eval "$as_ac_var=no"
46441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46442 conftest$ac_exeext conftest.$ac_ext
46444 ac_res=`eval echo '${'$as_ac_var'}'`
46445 { echo "$as_me:$LINENO: result: $ac_res" >&5
46446 echo "${ECHO_T}$ac_res" >&6; }
46447 if test `eval echo '${'$as_ac_var'}'` = yes; then
46448 cat >>confdefs.h <<_ACEOF
46449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46456 if test "$ac_cv_func_localtime" = "yes"; then
46457 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46458 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46459 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46460 echo $ECHO_N "(cached) $ECHO_C" >&6
46463 cat >conftest.$ac_ext <<_ACEOF
46466 cat confdefs.h >>conftest.$ac_ext
46467 cat >>conftest.$ac_ext <<_ACEOF
46468 /* end confdefs.h. */
46483 rm -f conftest.$ac_objext
46484 if { (ac_try="$ac_compile"
46485 case "(($ac_try" in
46486 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46487 *) ac_try_echo
=$ac_try;;
46489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46490 (eval "$ac_compile") 2>conftest.er1
46492 grep -v '^ *+' conftest.er1
>conftest.err
46494 cat conftest.err
>&5
46495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46496 (exit $ac_status); } && {
46497 test -z "$ac_c_werror_flag" ||
46498 test ! -s conftest.err
46499 } && test -s conftest.
$ac_objext; then
46501 wx_cv_struct_tm_has_gmtoff
=yes
46504 echo "$as_me: failed program was:" >&5
46505 sed 's/^/| /' conftest.
$ac_ext >&5
46507 wx_cv_struct_tm_has_gmtoff
=no
46511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46514 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46515 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46518 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46519 cat >>confdefs.h
<<\_ACEOF
46520 #define WX_GMTOFF_IN_TM 1
46525 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
46529 if test "$wxUSE_SOCKETS" = "yes"; then
46530 if test "$wxUSE_MGL" = "1"; then
46531 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46532 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46537 if test "$wxUSE_SOCKETS" = "yes"; then
46538 if test "$TOOLKIT" != "MSW"; then
46539 { echo "$as_me:$LINENO: checking for socket" >&5
46540 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46541 if test "${ac_cv_func_socket+set}" = set; then
46542 echo $ECHO_N "(cached) $ECHO_C" >&6
46544 cat >conftest.
$ac_ext <<_ACEOF
46547 cat confdefs.h
>>conftest.
$ac_ext
46548 cat >>conftest.
$ac_ext <<_ACEOF
46549 /* end confdefs.h. */
46550 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46552 #define socket innocuous_socket
46554 /* System header to define __stub macros and hopefully few prototypes,
46555 which can conflict with char socket (); below.
46556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46557 <limits.h> exists even on freestanding compilers. */
46560 # include <limits.h>
46562 # include <assert.h>
46567 /* Override any GCC internal prototype to avoid an error.
46568 Use char because int might match the return type of a GCC
46569 builtin and then its argument prototype would still apply. */
46574 /* The GNU C library defines this for functions which it implements
46575 to always fail with ENOSYS. Some functions are actually named
46576 something starting with __ and the normal name is an alias. */
46577 #if defined __stub_socket || defined __stub___socket
46589 rm -f conftest.
$ac_objext conftest
$ac_exeext
46590 if { (ac_try
="$ac_link"
46591 case "(($ac_try" in
46592 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46593 *) ac_try_echo=$ac_try;;
46595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46596 (eval "$ac_link") 2>conftest.er1
46598 grep -v '^ *+' conftest.er1 >conftest.err
46600 cat conftest.err >&5
46601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46602 (exit $ac_status); } && {
46603 test -z "$ac_c_werror_flag" ||
46604 test ! -s conftest.err
46605 } && test -s conftest$ac_exeext &&
46606 $as_test_x conftest$ac_exeext; then
46607 ac_cv_func_socket=yes
46609 echo "$as_me: failed program was:" >&5
46610 sed 's/^/| /' conftest.$ac_ext >&5
46612 ac_cv_func_socket=no
46615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46616 conftest$ac_exeext conftest.$ac_ext
46618 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46619 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46620 if test $ac_cv_func_socket = yes; then
46624 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46625 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46626 if test "${ac_cv_lib_socket_socket+set}" = set; then
46627 echo $ECHO_N "(cached) $ECHO_C" >&6
46629 ac_check_lib_save_LIBS=$LIBS
46630 LIBS="-lsocket $LIBS"
46631 cat >conftest.$ac_ext <<_ACEOF
46634 cat confdefs.h >>conftest.$ac_ext
46635 cat >>conftest.$ac_ext <<_ACEOF
46636 /* end confdefs.h. */
46638 /* Override any GCC internal prototype to avoid an error.
46639 Use char because int might match the return type of a GCC
46640 builtin and then its argument prototype would still apply. */
46653 rm -f conftest.$ac_objext conftest$ac_exeext
46654 if { (ac_try="$ac_link"
46655 case "(($ac_try" in
46656 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46657 *) ac_try_echo
=$ac_try;;
46659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46660 (eval "$ac_link") 2>conftest.er1
46662 grep -v '^ *+' conftest.er1
>conftest.err
46664 cat conftest.err
>&5
46665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46666 (exit $ac_status); } && {
46667 test -z "$ac_c_werror_flag" ||
46668 test ! -s conftest.err
46669 } && test -s conftest
$ac_exeext &&
46670 $as_test_x conftest
$ac_exeext; then
46671 ac_cv_lib_socket_socket
=yes
46673 echo "$as_me: failed program was:" >&5
46674 sed 's/^/| /' conftest.
$ac_ext >&5
46676 ac_cv_lib_socket_socket
=no
46679 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46680 conftest
$ac_exeext conftest.
$ac_ext
46681 LIBS
=$ac_check_lib_save_LIBS
46683 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46684 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46685 if test $ac_cv_lib_socket_socket = yes; then
46686 if test "$INET_LINK" != " -lsocket"; then
46687 INET_LINK
="$INET_LINK -lsocket"
46691 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46692 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46705 if test "$wxUSE_SOCKETS" = "yes" ; then
46706 if test "$TOOLKIT" != "MSW"; then
46707 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46708 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46709 if test "${wx_cv_type_getsockname3+set}" = set; then
46710 echo $ECHO_N "(cached) $ECHO_C" >&6
46714 ac_cpp
='$CXXCPP $CPPFLAGS'
46715 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46716 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46717 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46719 cat >conftest.
$ac_ext <<_ACEOF
46722 cat confdefs.h
>>conftest.
$ac_ext
46723 cat >>conftest.
$ac_ext <<_ACEOF
46724 /* end confdefs.h. */
46726 #include <sys/types.h>
46727 #include <sys/socket.h>
46734 getsockname(0, 0, &len);
46740 rm -f conftest.
$ac_objext
46741 if { (ac_try
="$ac_compile"
46742 case "(($ac_try" in
46743 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46744 *) ac_try_echo=$ac_try;;
46746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46747 (eval "$ac_compile") 2>conftest.er1
46749 grep -v '^ *+' conftest.er1 >conftest.err
46751 cat conftest.err >&5
46752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46753 (exit $ac_status); } && {
46754 test -z "$ac_cxx_werror_flag" ||
46755 test ! -s conftest.err
46756 } && test -s conftest.$ac_objext; then
46757 wx_cv_type_getsockname3=socklen_t
46759 echo "$as_me: failed program was:" >&5
46760 sed 's/^/| /' conftest.$ac_ext >&5
46763 CFLAGS_OLD="$CFLAGS"
46764 if test "$GCC" = yes ; then
46765 CFLAGS="-Werror $CFLAGS"
46768 cat >conftest.$ac_ext <<_ACEOF
46771 cat confdefs.h >>conftest.$ac_ext
46772 cat >>conftest.$ac_ext <<_ACEOF
46773 /* end confdefs.h. */
46775 #include <sys/types.h>
46776 #include <sys/socket.h>
46783 getsockname(0, 0, &len);
46789 rm -f conftest.$ac_objext
46790 if { (ac_try="$ac_compile"
46791 case "(($ac_try" in
46792 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46793 *) ac_try_echo
=$ac_try;;
46795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46796 (eval "$ac_compile") 2>conftest.er1
46798 grep -v '^ *+' conftest.er1
>conftest.err
46800 cat conftest.err
>&5
46801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46802 (exit $ac_status); } && {
46803 test -z "$ac_cxx_werror_flag" ||
46804 test ! -s conftest.err
46805 } && test -s conftest.
$ac_objext; then
46806 wx_cv_type_getsockname3
=size_t
46808 echo "$as_me: failed program was:" >&5
46809 sed 's/^/| /' conftest.
$ac_ext >&5
46811 cat >conftest.
$ac_ext <<_ACEOF
46814 cat confdefs.h
>>conftest.
$ac_ext
46815 cat >>conftest.
$ac_ext <<_ACEOF
46816 /* end confdefs.h. */
46818 #include <sys/types.h>
46819 #include <sys/socket.h>
46826 getsockname(0, 0, &len);
46832 rm -f conftest.
$ac_objext
46833 if { (ac_try
="$ac_compile"
46834 case "(($ac_try" in
46835 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46836 *) ac_try_echo=$ac_try;;
46838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46839 (eval "$ac_compile") 2>conftest.er1
46841 grep -v '^ *+' conftest.er1 >conftest.err
46843 cat conftest.err >&5
46844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46845 (exit $ac_status); } && {
46846 test -z "$ac_cxx_werror_flag" ||
46847 test ! -s conftest.err
46848 } && test -s conftest.$ac_objext; then
46849 wx_cv_type_getsockname3=int
46851 echo "$as_me: failed program was:" >&5
46852 sed 's/^/| /' conftest.$ac_ext >&5
46854 wx_cv_type_getsockname3=unknown
46858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46864 CFLAGS="$CFLAGS_OLD"
46869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46871 ac_cpp='$CPP $CPPFLAGS'
46872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46878 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46879 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46881 if test "$wx_cv_type_getsockname3" = "unknown"; then
46883 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46884 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46886 cat >>confdefs.h <<_ACEOF
46887 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46891 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46892 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46893 if test "${wx_cv_type_getsockopt5+set}" = set; then
46894 echo $ECHO_N "(cached) $ECHO_C" >&6
46898 ac_cpp='$CXXCPP $CPPFLAGS'
46899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46903 cat >conftest.$ac_ext <<_ACEOF
46906 cat confdefs.h >>conftest.$ac_ext
46907 cat >>conftest.$ac_ext <<_ACEOF
46908 /* end confdefs.h. */
46910 #include <sys/types.h>
46911 #include <sys/socket.h>
46918 getsockopt(0, 0, 0, 0, &len);
46924 rm -f conftest.$ac_objext
46925 if { (ac_try="$ac_compile"
46926 case "(($ac_try" in
46927 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46928 *) ac_try_echo
=$ac_try;;
46930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46931 (eval "$ac_compile") 2>conftest.er1
46933 grep -v '^ *+' conftest.er1
>conftest.err
46935 cat conftest.err
>&5
46936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46937 (exit $ac_status); } && {
46938 test -z "$ac_cxx_werror_flag" ||
46939 test ! -s conftest.err
46940 } && test -s conftest.
$ac_objext; then
46941 wx_cv_type_getsockopt5
=socklen_t
46943 echo "$as_me: failed program was:" >&5
46944 sed 's/^/| /' conftest.
$ac_ext >&5
46947 cat >conftest.
$ac_ext <<_ACEOF
46950 cat confdefs.h
>>conftest.
$ac_ext
46951 cat >>conftest.
$ac_ext <<_ACEOF
46952 /* end confdefs.h. */
46954 #include <sys/types.h>
46955 #include <sys/socket.h>
46962 getsockopt(0, 0, 0, 0, &len);
46968 rm -f conftest.
$ac_objext
46969 if { (ac_try
="$ac_compile"
46970 case "(($ac_try" in
46971 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46972 *) ac_try_echo=$ac_try;;
46974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46975 (eval "$ac_compile") 2>conftest.er1
46977 grep -v '^ *+' conftest.er1 >conftest.err
46979 cat conftest.err >&5
46980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46981 (exit $ac_status); } && {
46982 test -z "$ac_cxx_werror_flag" ||
46983 test ! -s conftest.err
46984 } && test -s conftest.$ac_objext; then
46985 wx_cv_type_getsockopt5=size_t
46987 echo "$as_me: failed program was:" >&5
46988 sed 's/^/| /' conftest.$ac_ext >&5
46990 cat >conftest.$ac_ext <<_ACEOF
46993 cat confdefs.h >>conftest.$ac_ext
46994 cat >>conftest.$ac_ext <<_ACEOF
46995 /* end confdefs.h. */
46997 #include <sys/types.h>
46998 #include <sys/socket.h>
47005 getsockopt(0, 0, 0, 0, &len);
47011 rm -f conftest.$ac_objext
47012 if { (ac_try="$ac_compile"
47013 case "(($ac_try" in
47014 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47015 *) ac_try_echo
=$ac_try;;
47017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47018 (eval "$ac_compile") 2>conftest.er1
47020 grep -v '^ *+' conftest.er1
>conftest.err
47022 cat conftest.err
>&5
47023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47024 (exit $ac_status); } && {
47025 test -z "$ac_cxx_werror_flag" ||
47026 test ! -s conftest.err
47027 } && test -s conftest.
$ac_objext; then
47028 wx_cv_type_getsockopt5
=int
47030 echo "$as_me: failed program was:" >&5
47031 sed 's/^/| /' conftest.
$ac_ext >&5
47033 wx_cv_type_getsockopt5
=unknown
47037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47048 ac_cpp
='$CPP $CPPFLAGS'
47049 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47050 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47051 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47055 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47056 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47058 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47060 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47061 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47063 cat >>confdefs.h
<<_ACEOF
47064 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47071 if test "$wxUSE_SOCKETS" = "yes" ; then
47072 cat >>confdefs.h
<<\_ACEOF
47073 #define wxUSE_SOCKETS 1
47076 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
47079 if test "$wxUSE_PROTOCOL" = "yes"; then
47080 if test "$wxUSE_SOCKETS" != "yes"; then
47081 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47082 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47087 if test "$wxUSE_PROTOCOL" = "yes"; then
47088 cat >>confdefs.h
<<\_ACEOF
47089 #define wxUSE_PROTOCOL 1
47093 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47094 cat >>confdefs.h
<<\_ACEOF
47095 #define wxUSE_PROTOCOL_HTTP 1
47099 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47100 cat >>confdefs.h
<<\_ACEOF
47101 #define wxUSE_PROTOCOL_FTP 1
47105 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47106 cat >>confdefs.h
<<\_ACEOF
47107 #define wxUSE_PROTOCOL_FILE 1
47112 if test "$wxUSE_FS_INET" = "yes"; then
47113 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47114 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47119 if test "$wxUSE_URL" = "yes"; then
47120 if test "$wxUSE_PROTOCOL" != "yes"; then
47121 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47122 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47125 if test "$wxUSE_URL" = "yes"; then
47126 cat >>confdefs.h
<<\_ACEOF
47127 #define wxUSE_URL 1
47133 if test "$wxUSE_VARIANT" = "yes"; then
47134 cat >>confdefs.h
<<\_ACEOF
47135 #define wxUSE_VARIANT 1
47140 if test "$wxUSE_FS_INET" = "yes"; then
47141 cat >>confdefs.h
<<\_ACEOF
47142 #define wxUSE_FS_INET 1
47148 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47151 if test "$TOOLKIT" = "MSW"; then
47154 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47155 if test "$USE_DARWIN" = 1; then
47156 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47157 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47159 ac_cpp
='$CXXCPP $CPPFLAGS'
47160 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47161 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47162 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47164 cat >conftest.
$ac_ext <<_ACEOF
47167 cat confdefs.h
>>conftest.
$ac_ext
47168 cat >>conftest.
$ac_ext <<_ACEOF
47169 /* end confdefs.h. */
47170 #include <IOKit/hid/IOHIDLib.h>
47174 IOHIDQueueInterface *qi = NULL;
47175 IOHIDCallbackFunction cb = NULL;
47176 qi->setEventCallout(NULL, cb, NULL, NULL);
47181 rm -f conftest.
$ac_objext
47182 if { (ac_try
="$ac_compile"
47183 case "(($ac_try" in
47184 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47185 *) ac_try_echo=$ac_try;;
47187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47188 (eval "$ac_compile") 2>conftest.er1
47190 grep -v '^ *+' conftest.er1 >conftest.err
47192 cat conftest.err >&5
47193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47194 (exit $ac_status); } && {
47195 test -z "$ac_cxx_werror_flag" ||
47196 test ! -s conftest.err
47197 } && test -s conftest.$ac_objext; then
47201 echo "$as_me: failed program was:" >&5
47202 sed 's/^/| /' conftest.$ac_ext >&5
47207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47209 ac_cpp='$CPP $CPPFLAGS'
47210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47214 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47215 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47219 if test "$wxUSE_MGL" != "1"; then
47221 for ac_header in linux/joystick.h
47223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47224 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47227 echo $ECHO_N "(cached) $ECHO_C" >&6
47229 cat >conftest.$ac_ext <<_ACEOF
47232 cat confdefs.h >>conftest.$ac_ext
47233 cat >>conftest.$ac_ext <<_ACEOF
47234 /* end confdefs.h. */
47235 $ac_includes_default
47237 #include <$ac_header>
47239 rm -f conftest.$ac_objext
47240 if { (ac_try="$ac_compile"
47241 case "(($ac_try" in
47242 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47243 *) ac_try_echo
=$ac_try;;
47245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47246 (eval "$ac_compile") 2>conftest.er1
47248 grep -v '^ *+' conftest.er1
>conftest.err
47250 cat conftest.err
>&5
47251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47252 (exit $ac_status); } && {
47253 test -z "$ac_c_werror_flag" ||
47254 test ! -s conftest.err
47255 } && test -s conftest.
$ac_objext; then
47256 eval "$as_ac_Header=yes"
47258 echo "$as_me: failed program was:" >&5
47259 sed 's/^/| /' conftest.
$ac_ext >&5
47261 eval "$as_ac_Header=no"
47264 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47266 ac_res
=`eval echo '${'$as_ac_Header'}'`
47267 { echo "$as_me:$LINENO: result: $ac_res" >&5
47268 echo "${ECHO_T}$ac_res" >&6; }
47269 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47270 cat >>confdefs.h
<<_ACEOF
47271 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47281 if test "$wxUSE_JOYSTICK" = "yes"; then
47282 cat >>confdefs.h
<<\_ACEOF
47283 #define wxUSE_JOYSTICK 1
47286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
47288 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47289 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47295 if test "$wxUSE_FONTENUM" = "yes" ; then
47296 cat >>confdefs.h
<<\_ACEOF
47297 #define wxUSE_FONTENUM 1
47302 if test "$wxUSE_FONTMAP" = "yes" ; then
47303 cat >>confdefs.h
<<\_ACEOF
47304 #define wxUSE_FONTMAP 1
47309 if test "$wxUSE_UNICODE" = "yes" ; then
47310 cat >>confdefs.h
<<\_ACEOF
47311 #define wxUSE_UNICODE 1
47315 if test "$USE_WIN32" != 1; then
47316 wxUSE_UNICODE_MSLU
=no
47319 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47320 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47321 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47322 if test "${ac_cv_lib_unicows_main+set}" = set; then
47323 echo $ECHO_N "(cached) $ECHO_C" >&6
47325 ac_check_lib_save_LIBS
=$LIBS
47326 LIBS
="-lunicows $LIBS"
47327 cat >conftest.
$ac_ext <<_ACEOF
47330 cat confdefs.h
>>conftest.
$ac_ext
47331 cat >>conftest.
$ac_ext <<_ACEOF
47332 /* end confdefs.h. */
47343 rm -f conftest.
$ac_objext conftest
$ac_exeext
47344 if { (ac_try
="$ac_link"
47345 case "(($ac_try" in
47346 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47347 *) ac_try_echo=$ac_try;;
47349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47350 (eval "$ac_link") 2>conftest.er1
47352 grep -v '^ *+' conftest.er1 >conftest.err
47354 cat conftest.err >&5
47355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47356 (exit $ac_status); } && {
47357 test -z "$ac_c_werror_flag" ||
47358 test ! -s conftest.err
47359 } && test -s conftest$ac_exeext &&
47360 $as_test_x conftest$ac_exeext; then
47361 ac_cv_lib_unicows_main=yes
47363 echo "$as_me: failed program was:" >&5
47364 sed 's/^/| /' conftest.$ac_ext >&5
47366 ac_cv_lib_unicows_main=no
47369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47370 conftest$ac_exeext conftest.$ac_ext
47371 LIBS=$ac_check_lib_save_LIBS
47373 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47374 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47375 if test $ac_cv_lib_unicows_main = yes; then
47377 cat >>confdefs.h <<\_ACEOF
47378 #define wxUSE_UNICODE_MSLU 1
47384 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47385 Applications will only run on Windows NT/2000/XP!" >&5
47386 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47387 Applications will only run on Windows NT/2000/XP!" >&2;}
47388 wxUSE_UNICODE_MSLU=no
47395 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47396 cat >>confdefs.h <<\_ACEOF
47397 #define wxUSE_UNICODE_UTF8 1
47401 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47402 cat >>confdefs.h <<\_ACEOF
47403 #define wxUSE_UTF8_LOCALE_ONLY 1
47409 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47410 cat >>confdefs.h <<\_ACEOF
47411 #define wxUSE_EXPERIMENTAL_PRINTF 1
47417 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47418 cat >>confdefs.h <<\_ACEOF
47419 #define wxUSE_CONSTRAINTS 1
47422 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47425 if test "$wxUSE_MDI" = "yes"; then
47426 cat >>confdefs.h <<\_ACEOF
47427 #define wxUSE_MDI 1
47431 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47432 cat >>confdefs.h <<\_ACEOF
47433 #define wxUSE_MDI_ARCHITECTURE 1
47436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47440 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47441 cat >>confdefs.h <<\_ACEOF
47442 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47446 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47451 if test "$wxUSE_HELP" = "yes"; then
47452 cat >>confdefs.h <<\_ACEOF
47453 #define wxUSE_HELP 1
47456 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47458 if test "$wxUSE_MSW" = 1; then
47459 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47460 cat >>confdefs.h <<\_ACEOF
47461 #define wxUSE_MS_HTML_HELP 1
47467 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47468 if test "$wxUSE_HTML" = "yes"; then
47469 cat >>confdefs.h <<\_ACEOF
47470 #define wxUSE_WXHTML_HELP 1
47474 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47475 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47476 wxUSE_WXHTML_HELP=no
47481 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47482 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47483 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47484 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47486 cat >>confdefs.h <<\_ACEOF
47487 #define wxUSE_PRINTING_ARCHITECTURE 1
47491 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47494 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47495 cat >>confdefs.h <<\_ACEOF
47496 #define wxUSE_POSTSCRIPT 1
47501 cat >>confdefs.h <<\_ACEOF
47502 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47506 cat >>confdefs.h <<\_ACEOF
47507 #define wxUSE_NORMALIZED_PS_FONTS 1
47511 if test "$wxUSE_SVG" = "yes"; then
47512 cat >>confdefs.h <<\_ACEOF
47513 #define wxUSE_SVG 1
47519 if test "$wxUSE_METAFILE" = "yes"; then
47520 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47521 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47522 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47528 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47529 -o "$wxUSE_CLIPBOARD" = "yes" \
47530 -o "$wxUSE_OLE" = "yes" \
47531 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47532 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47533 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47534 if test "${ac_cv_header_ole2_h+set}" = set; then
47535 echo $ECHO_N "(cached) $ECHO_C" >&6
47537 cat >conftest.$ac_ext <<_ACEOF
47540 cat confdefs.h >>conftest.$ac_ext
47541 cat >>conftest.$ac_ext <<_ACEOF
47542 /* end confdefs.h. */
47547 rm -f conftest.$ac_objext
47548 if { (ac_try="$ac_compile"
47549 case "(($ac_try" in
47550 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47551 *) ac_try_echo
=$ac_try;;
47553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47554 (eval "$ac_compile") 2>conftest.er1
47556 grep -v '^ *+' conftest.er1
>conftest.err
47558 cat conftest.err
>&5
47559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47560 (exit $ac_status); } && {
47561 test -z "$ac_c_werror_flag" ||
47562 test ! -s conftest.err
47563 } && test -s conftest.
$ac_objext; then
47564 ac_cv_header_ole2_h
=yes
47566 echo "$as_me: failed program was:" >&5
47567 sed 's/^/| /' conftest.
$ac_ext >&5
47569 ac_cv_header_ole2_h
=no
47572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47574 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47575 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47579 if test "$ac_cv_header_ole2_h" = "yes" ; then
47580 if test "$GCC" = yes ; then
47581 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47582 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47583 cat >conftest.
$ac_ext <<_ACEOF
47586 cat confdefs.h
>>conftest.
$ac_ext
47587 cat >>conftest.
$ac_ext <<_ACEOF
47588 /* end confdefs.h. */
47589 #include <windows.h>
47599 rm -f conftest.
$ac_objext
47600 if { (ac_try
="$ac_compile"
47601 case "(($ac_try" in
47602 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47603 *) ac_try_echo=$ac_try;;
47605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47606 (eval "$ac_compile") 2>conftest.er1
47608 grep -v '^ *+' conftest.er1 >conftest.err
47610 cat conftest.err >&5
47611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47612 (exit $ac_status); } && {
47613 test -z "$ac_c_werror_flag" ||
47614 test ! -s conftest.err
47615 } && test -s conftest.$ac_objext; then
47616 { echo "$as_me:$LINENO: result: no" >&5
47617 echo "${ECHO_T}no" >&6; }
47619 echo "$as_me: failed program was:" >&5
47620 sed 's/^/| /' conftest.$ac_ext >&5
47622 { echo "$as_me:$LINENO: result: yes" >&5
47623 echo "${ECHO_T}yes" >&6; }
47624 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47628 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47629 if test "$wxUSE_OLE" = "yes" ; then
47630 cat >>confdefs.h <<\_ACEOF
47631 #define wxUSE_OLE 1
47634 cat >>confdefs.h <<\_ACEOF
47635 #define wxUSE_OLE_AUTOMATION 1
47638 cat >>confdefs.h <<\_ACEOF
47639 #define wxUSE_ACTIVEX 1
47642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47646 if test "$wxUSE_DATAOBJ" = "yes" ; then
47647 cat >>confdefs.h <<\_ACEOF
47648 #define wxUSE_DATAOBJ 1
47653 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47654 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47657 wxUSE_DRAG_AND_DROP=no
47662 if test "$wxUSE_METAFILE" = "yes"; then
47663 cat >>confdefs.h <<\_ACEOF
47664 #define wxUSE_METAFILE 1
47668 cat >>confdefs.h <<\_ACEOF
47669 #define wxUSE_ENH_METAFILE 1
47675 if test "$wxUSE_IPC" = "yes"; then
47676 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47677 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47678 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47682 if test "$wxUSE_IPC" = "yes"; then
47683 cat >>confdefs.h <<\_ACEOF
47684 #define wxUSE_IPC 1
47687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47691 if test "$wxUSE_DATAOBJ" = "yes"; then
47692 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47693 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47694 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47697 cat >>confdefs.h <<\_ACEOF
47698 #define wxUSE_DATAOBJ 1
47703 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47704 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47706 wxUSE_DRAG_AND_DROP=no
47709 if test "$wxUSE_CLIPBOARD" = "yes"; then
47710 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47711 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47712 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47716 if test "$wxUSE_CLIPBOARD" = "yes"; then
47717 cat >>confdefs.h <<\_ACEOF
47718 #define wxUSE_CLIPBOARD 1
47724 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47725 if test "$wxUSE_GTK" = 1; then
47726 if test "$WXGTK12" != 1; then
47727 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47728 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47729 wxUSE_DRAG_AND_DROP=no
47733 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47734 "$wxUSE_DFB" = 1; then
47735 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47736 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47737 wxUSE_DRAG_AND_DROP=no
47740 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47741 cat >>confdefs.h <<\_ACEOF
47742 #define wxUSE_DRAG_AND_DROP 1
47749 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47750 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47753 if test "$wxUSE_SPLINES" = "yes" ; then
47754 cat >>confdefs.h <<\_ACEOF
47755 #define wxUSE_SPLINES 1
47760 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47761 cat >>confdefs.h <<\_ACEOF
47762 #define wxUSE_MOUSEWHEEL 1
47769 if test "$wxUSE_CONTROLS" = "yes"; then
47773 if test "$wxUSE_ACCEL" = "yes"; then
47774 cat >>confdefs.h <<\_ACEOF
47775 #define wxUSE_ACCEL 1
47781 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47782 cat >>confdefs.h <<\_ACEOF
47783 #define wxUSE_ANIMATIONCTRL 1
47787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47790 if test "$wxUSE_BUTTON" = "yes"; then
47791 cat >>confdefs.h <<\_ACEOF
47792 #define wxUSE_BUTTON 1
47798 if test "$wxUSE_BMPBUTTON" = "yes"; then
47799 cat >>confdefs.h <<\_ACEOF
47800 #define wxUSE_BMPBUTTON 1
47806 if test "$wxUSE_CALCTRL" = "yes"; then
47807 cat >>confdefs.h <<\_ACEOF
47808 #define wxUSE_CALENDARCTRL 1
47812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47815 if test "$wxUSE_CARET" = "yes"; then
47816 cat >>confdefs.h <<\_ACEOF
47817 #define wxUSE_CARET 1
47821 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47824 if test "$wxUSE_COLLPANE" = "yes"; then
47825 cat >>confdefs.h <<\_ACEOF
47826 #define wxUSE_COLLPANE 1
47830 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47833 if test "$wxUSE_COMBOBOX" = "yes"; then
47834 cat >>confdefs.h <<\_ACEOF
47835 #define wxUSE_COMBOBOX 1
47841 if test "$wxUSE_COMBOCTRL" = "yes"; then
47842 cat >>confdefs.h <<\_ACEOF
47843 #define wxUSE_COMBOCTRL 1
47849 if test "$wxUSE_CHOICE" = "yes"; then
47850 cat >>confdefs.h <<\_ACEOF
47851 #define wxUSE_CHOICE 1
47857 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47858 cat >>confdefs.h <<\_ACEOF
47859 #define wxUSE_CHOICEBOOK 1
47865 if test "$wxUSE_CHECKBOX" = "yes"; then
47866 cat >>confdefs.h <<\_ACEOF
47867 #define wxUSE_CHECKBOX 1
47873 if test "$wxUSE_CHECKLST" = "yes"; then
47874 cat >>confdefs.h <<\_ACEOF
47875 #define wxUSE_CHECKLISTBOX 1
47879 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
47882 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47883 cat >>confdefs.h <<\_ACEOF
47884 #define wxUSE_COLOURPICKERCTRL 1
47890 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47891 cat >>confdefs.h <<\_ACEOF
47892 #define wxUSE_DATEPICKCTRL 1
47898 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47899 cat >>confdefs.h <<\_ACEOF
47900 #define wxUSE_DIRPICKERCTRL 1
47906 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47907 cat >>confdefs.h <<\_ACEOF
47908 #define wxUSE_FILEPICKERCTRL 1
47914 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47915 cat >>confdefs.h <<\_ACEOF
47916 #define wxUSE_FONTPICKERCTRL 1
47922 if test "$wxUSE_DISPLAY" = "yes"; then
47923 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47924 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47925 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47928 cat >>confdefs.h <<\_ACEOF
47929 #define wxUSE_DISPLAY 1
47932 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
47936 if test "$wxUSE_DETECT_SM" = "yes"; then
47937 cat >>confdefs.h <<\_ACEOF
47938 #define wxUSE_DETECT_SM 1
47943 if test "$wxUSE_GAUGE" = "yes"; then
47944 cat >>confdefs.h <<\_ACEOF
47945 #define wxUSE_GAUGE 1
47951 if test "$wxUSE_GRID" = "yes"; then
47952 cat >>confdefs.h <<\_ACEOF
47953 #define wxUSE_GRID 1
47957 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47960 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47961 cat >>confdefs.h <<\_ACEOF
47962 #define wxUSE_HYPERLINKCTRL 1
47968 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47969 cat >>confdefs.h <<\_ACEOF
47970 #define wxUSE_BITMAPCOMBOBOX 1
47976 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47977 cat >>confdefs.h <<\_ACEOF
47978 #define wxUSE_DATAVIEWCTRL 1
47982 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47985 if test "$wxUSE_IMAGLIST" = "yes"; then
47986 cat >>confdefs.h <<\_ACEOF
47987 #define wxUSE_IMAGLIST 1
47992 if test "$wxUSE_LISTBOOK" = "yes"; then
47993 cat >>confdefs.h <<\_ACEOF
47994 #define wxUSE_LISTBOOK 1
48000 if test "$wxUSE_LISTBOX" = "yes"; then
48001 cat >>confdefs.h <<\_ACEOF
48002 #define wxUSE_LISTBOX 1
48006 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
48009 if test "$wxUSE_LISTCTRL" = "yes"; then
48010 if test "$wxUSE_IMAGLIST" = "yes"; then
48011 cat >>confdefs.h <<\_ACEOF
48012 #define wxUSE_LISTCTRL 1
48016 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48018 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48019 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48023 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48024 cat >>confdefs.h <<\_ACEOF
48025 #define wxUSE_EDITABLELISTBOX 1
48029 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48032 if test "$wxUSE_NOTEBOOK" = "yes"; then
48033 cat >>confdefs.h <<\_ACEOF
48034 #define wxUSE_NOTEBOOK 1
48038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48041 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48042 cat >>confdefs.h <<\_ACEOF
48043 #define wxUSE_ODCOMBOBOX 1
48047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48051 if test "$wxUSE_RADIOBOX" = "yes"; then
48052 cat >>confdefs.h <<\_ACEOF
48053 #define wxUSE_RADIOBOX 1
48059 if test "$wxUSE_RADIOBTN" = "yes"; then
48060 cat >>confdefs.h <<\_ACEOF
48061 #define wxUSE_RADIOBTN 1
48067 if test "$wxUSE_SASH" = "yes"; then
48068 cat >>confdefs.h <<\_ACEOF
48069 #define wxUSE_SASH 1
48072 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48075 if test "$wxUSE_SCROLLBAR" = "yes"; then
48076 cat >>confdefs.h <<\_ACEOF
48077 #define wxUSE_SCROLLBAR 1
48081 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48084 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48085 cat >>confdefs.h <<\_ACEOF
48086 #define wxUSE_SEARCHCTRL 1
48092 if test "$wxUSE_SLIDER" = "yes"; then
48093 cat >>confdefs.h <<\_ACEOF
48094 #define wxUSE_SLIDER 1
48100 if test "$wxUSE_SPINBTN" = "yes"; then
48101 cat >>confdefs.h <<\_ACEOF
48102 #define wxUSE_SPINBTN 1
48108 if test "$wxUSE_SPINCTRL" = "yes"; then
48109 cat >>confdefs.h <<\_ACEOF
48110 #define wxUSE_SPINCTRL 1
48116 if test "$wxUSE_SPLITTER" = "yes"; then
48117 cat >>confdefs.h <<\_ACEOF
48118 #define wxUSE_SPLITTER 1
48121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48124 if test "$wxUSE_STATBMP" = "yes"; then
48125 cat >>confdefs.h <<\_ACEOF
48126 #define wxUSE_STATBMP 1
48132 if test "$wxUSE_STATBOX" = "yes"; then
48133 cat >>confdefs.h <<\_ACEOF
48134 #define wxUSE_STATBOX 1
48140 if test "$wxUSE_STATTEXT" = "yes"; then
48141 cat >>confdefs.h <<\_ACEOF
48142 #define wxUSE_STATTEXT 1
48148 if test "$wxUSE_STATLINE" = "yes"; then
48149 cat >>confdefs.h <<\_ACEOF
48150 #define wxUSE_STATLINE 1
48156 if test "$wxUSE_STATUSBAR" = "yes"; then
48157 cat >>confdefs.h <<\_ACEOF
48158 #define wxUSE_NATIVE_STATUSBAR 1
48161 cat >>confdefs.h <<\_ACEOF
48162 #define wxUSE_STATUSBAR 1
48167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48170 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48171 cat >>confdefs.h <<\_ACEOF
48172 #define wxUSE_TAB_DIALOG 1
48177 if test "$wxUSE_TEXTCTRL" = "yes"; then
48178 cat >>confdefs.h <<\_ACEOF
48179 #define wxUSE_TEXTCTRL 1
48183 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48186 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48187 if test "$wxUSE_COCOA" = 1 ; then
48188 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48189 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48193 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48194 cat >>confdefs.h <<\_ACEOF
48195 #define wxUSE_TOGGLEBTN 1
48202 if test "$wxUSE_TOOLBAR" = "yes"; then
48203 cat >>confdefs.h <<\_ACEOF
48204 #define wxUSE_TOOLBAR 1
48209 if test "$wxUSE_UNIVERSAL" = "yes"; then
48210 wxUSE_TOOLBAR_NATIVE="no"
48212 wxUSE_TOOLBAR_NATIVE="yes"
48213 cat >>confdefs.h <<\_ACEOF
48214 #define wxUSE_TOOLBAR_NATIVE 1
48219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48222 if test "$wxUSE_TOOLTIPS" = "yes"; then
48223 if test "$wxUSE_MOTIF" = 1; then
48224 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48225 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48227 if test "$wxUSE_UNIVERSAL" = "yes"; then
48228 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48229 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48231 cat >>confdefs.h <<\_ACEOF
48232 #define wxUSE_TOOLTIPS 1
48239 if test "$wxUSE_TREEBOOK" = "yes"; then
48240 cat >>confdefs.h <<\_ACEOF
48241 #define wxUSE_TREEBOOK 1
48247 if test "$wxUSE_TOOLBOOK" = "yes"; then
48248 cat >>confdefs.h <<\_ACEOF
48249 #define wxUSE_TOOLBOOK 1
48255 if test "$wxUSE_TREECTRL" = "yes"; then
48256 if test "$wxUSE_IMAGLIST" = "yes"; then
48257 cat >>confdefs.h <<\_ACEOF
48258 #define wxUSE_TREECTRL 1
48262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48264 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48265 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48269 if test "$wxUSE_POPUPWIN" = "yes"; then
48270 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48271 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48272 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48274 if test "$wxUSE_PM" = 1; then
48275 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48276 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48278 cat >>confdefs.h <<\_ACEOF
48279 #define wxUSE_POPUPWIN 1
48282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48289 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48290 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48291 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48292 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48294 cat >>confdefs.h <<\_ACEOF
48295 #define wxUSE_DIALUP_MANAGER 1
48298 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48302 if test "$wxUSE_TIPWINDOW" = "yes"; then
48303 if test "$wxUSE_PM" = 1; then
48304 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48305 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48307 cat >>confdefs.h <<\_ACEOF
48308 #define wxUSE_TIPWINDOW 1
48314 if test "$USES_CONTROLS" = 1; then
48315 cat >>confdefs.h <<\_ACEOF
48316 #define wxUSE_CONTROLS 1
48322 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48323 cat >>confdefs.h <<\_ACEOF
48324 #define wxUSE_ACCESSIBILITY 1
48327 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48330 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48331 cat >>confdefs.h <<\_ACEOF
48332 #define wxUSE_DRAGIMAGE 1
48335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48338 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48339 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48340 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48341 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48343 cat >>confdefs.h <<\_ACEOF
48344 #define wxUSE_EXCEPTIONS 1
48347 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48352 if test "$wxUSE_HTML" = "yes"; then
48353 cat >>confdefs.h <<\_ACEOF
48354 #define wxUSE_HTML 1
48358 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48359 if test "$wxUSE_MAC" = 1; then
48360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48363 if test "$wxUSE_WEBKIT" = "yes"; then
48364 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48365 old_CPPFLAGS="$CPPFLAGS"
48366 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48367 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48368 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48369 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48370 echo $ECHO_N "(cached) $ECHO_C" >&6
48372 cat >conftest.$ac_ext <<_ACEOF
48375 cat confdefs.h >>conftest.$ac_ext
48376 cat >>conftest.$ac_ext <<_ACEOF
48377 /* end confdefs.h. */
48379 #include <Carbon/Carbon.h>
48380 #include <WebKit/WebKit.h>
48383 #include <WebKit/HIWebView.h>
48385 rm -f conftest.$ac_objext
48386 if { (ac_try="$ac_compile"
48387 case "(($ac_try" in
48388 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48389 *) ac_try_echo
=$ac_try;;
48391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48392 (eval "$ac_compile") 2>conftest.er1
48394 grep -v '^ *+' conftest.er1
>conftest.err
48396 cat conftest.err
>&5
48397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48398 (exit $ac_status); } && {
48399 test -z "$ac_c_werror_flag" ||
48400 test ! -s conftest.err
48401 } && test -s conftest.
$ac_objext; then
48402 ac_cv_header_WebKit_HIWebView_h
=yes
48404 echo "$as_me: failed program was:" >&5
48405 sed 's/^/| /' conftest.
$ac_ext >&5
48407 ac_cv_header_WebKit_HIWebView_h
=no
48410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48412 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48413 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48414 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48416 cat >>confdefs.h
<<\_ACEOF
48417 #define wxUSE_WEBKIT 1
48420 WEBKIT_LINK
="-framework WebKit"
48424 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48425 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48431 CPPFLAGS
="$old_CPPFLAGS"
48432 elif test "$wxUSE_COCOA" = 1; then
48433 cat >>confdefs.h
<<\_ACEOF
48434 #define wxUSE_WEBKIT 1
48443 if test "$wxUSE_XRC" = "yes"; then
48444 if test "$wxUSE_XML" != "yes"; then
48445 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48446 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48449 cat >>confdefs.h
<<\_ACEOF
48450 #define wxUSE_XRC 1
48454 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
48459 if test "$wxUSE_AUI" = "yes"; then
48460 cat >>confdefs.h
<<\_ACEOF
48461 #define wxUSE_AUI 1
48465 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
48469 if test "$wxUSE_STC" = "yes"; then
48470 cat >>confdefs.h
<<\_ACEOF
48471 #define wxUSE_STC 1
48475 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
48478 if test "$wxUSE_MENUS" = "yes"; then
48479 cat >>confdefs.h
<<\_ACEOF
48480 #define wxUSE_MENUS 1
48483 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
48486 if test "$wxUSE_METAFILE" = "yes"; then
48487 cat >>confdefs.h
<<\_ACEOF
48488 #define wxUSE_METAFILE 1
48493 if test "$wxUSE_MIMETYPE" = "yes"; then
48494 cat >>confdefs.h
<<\_ACEOF
48495 #define wxUSE_MIMETYPE 1
48500 if test "$wxUSE_MINIFRAME" = "yes"; then
48501 cat >>confdefs.h
<<\_ACEOF
48502 #define wxUSE_MINIFRAME 1
48505 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
48508 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48509 cat >>confdefs.h
<<\_ACEOF
48510 #define wxUSE_SYSTEM_OPTIONS 1
48515 if test "$wxUSE_TASKBARICON" = "yes"; then
48516 cat >>confdefs.h
<<\_ACEOF
48517 #define wxUSE_TASKBARICON 1
48520 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
48524 if test "$wxUSE_VALIDATORS" = "yes"; then
48525 cat >>confdefs.h
<<\_ACEOF
48526 #define wxUSE_VALIDATORS 1
48529 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
48532 if test "$wxUSE_PALETTE" = "yes" ; then
48533 if test "$wxUSE_DFB" = 1; then
48534 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48535 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48538 cat >>confdefs.h
<<\_ACEOF
48539 #define wxUSE_PALETTE 1
48545 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48546 LIBS
=" -lunicows $LIBS"
48550 if test "$wxUSE_RICHTEXT" = "yes"; then
48551 cat >>confdefs.h
<<\_ACEOF
48552 #define wxUSE_RICHTEXT 1
48556 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
48560 if test "$wxUSE_IMAGE" = "yes" ; then
48561 cat >>confdefs.h
<<\_ACEOF
48562 #define wxUSE_IMAGE 1
48566 if test "$wxUSE_GIF" = "yes" ; then
48567 cat >>confdefs.h
<<\_ACEOF
48568 #define wxUSE_GIF 1
48573 if test "$wxUSE_PCX" = "yes" ; then
48574 cat >>confdefs.h
<<\_ACEOF
48575 #define wxUSE_PCX 1
48580 if test "$wxUSE_TGA" = "yes" ; then
48581 cat >>confdefs.h
<<\_ACEOF
48582 #define wxUSE_TGA 1
48587 if test "$wxUSE_IFF" = "yes" ; then
48588 cat >>confdefs.h
<<\_ACEOF
48589 #define wxUSE_IFF 1
48594 if test "$wxUSE_PNM" = "yes" ; then
48595 cat >>confdefs.h
<<\_ACEOF
48596 #define wxUSE_PNM 1
48601 if test "$wxUSE_XPM" = "yes" ; then
48602 cat >>confdefs.h
<<\_ACEOF
48603 #define wxUSE_XPM 1
48608 if test "$wxUSE_ICO_CUR" = "yes" ; then
48609 cat >>confdefs.h
<<\_ACEOF
48610 #define wxUSE_ICO_CUR 1
48617 if test "$wxUSE_ABOUTDLG" = "yes"; then
48618 cat >>confdefs.h
<<\_ACEOF
48619 #define wxUSE_ABOUTDLG 1
48624 if test "$wxUSE_CHOICEDLG" = "yes"; then
48625 cat >>confdefs.h
<<\_ACEOF
48626 #define wxUSE_CHOICEDLG 1
48631 if test "$wxUSE_COLOURDLG" = "yes"; then
48632 cat >>confdefs.h
<<\_ACEOF
48633 #define wxUSE_COLOURDLG 1
48638 if test "$wxUSE_FILEDLG" = "yes"; then
48639 cat >>confdefs.h
<<\_ACEOF
48640 #define wxUSE_FILEDLG 1
48645 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48646 cat >>confdefs.h
<<\_ACEOF
48647 #define wxUSE_FINDREPLDLG 1
48652 if test "$wxUSE_FONTDLG" = "yes"; then
48653 cat >>confdefs.h
<<\_ACEOF
48654 #define wxUSE_FONTDLG 1
48659 if test "$wxUSE_DIRDLG" = "yes"; then
48660 if test "$wxUSE_TREECTRL" != "yes"; then
48661 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48662 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48664 cat >>confdefs.h
<<\_ACEOF
48665 #define wxUSE_DIRDLG 1
48671 if test "$wxUSE_MSGDLG" = "yes"; then
48672 cat >>confdefs.h
<<\_ACEOF
48673 #define wxUSE_MSGDLG 1
48678 if test "$wxUSE_NUMBERDLG" = "yes"; then
48679 cat >>confdefs.h
<<\_ACEOF
48680 #define wxUSE_NUMBERDLG 1
48685 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48686 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48687 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48688 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48690 cat >>confdefs.h
<<\_ACEOF
48691 #define wxUSE_PROGRESSDLG 1
48697 if test "$wxUSE_SPLASH" = "yes"; then
48698 cat >>confdefs.h
<<\_ACEOF
48699 #define wxUSE_SPLASH 1
48702 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
48705 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48706 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48707 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48708 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48710 cat >>confdefs.h
<<\_ACEOF
48711 #define wxUSE_STARTUP_TIPS 1
48717 if test "$wxUSE_TEXTDLG" = "yes"; then
48718 cat >>confdefs.h
<<\_ACEOF
48719 #define wxUSE_TEXTDLG 1
48724 if test "$wxUSE_WIZARDDLG" = "yes"; then
48725 cat >>confdefs.h
<<\_ACEOF
48726 #define wxUSE_WIZARDDLG 1
48729 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
48733 if test "$wxUSE_MSW" = 1 ; then
48735 if test "$wxUSE_DC_CACHEING" = "yes"; then
48736 cat >>confdefs.h
<<\_ACEOF
48737 #define wxUSE_DC_CACHEING 1
48742 if test "$wxUSE_DIB" = "yes"; then
48743 cat >>confdefs.h
<<\_ACEOF
48744 #define wxUSE_WXDIB 1
48749 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48750 cat >>confdefs.h
<<\_ACEOF
48751 #define wxUSE_OWNER_DRAWN 1
48756 if test "$wxUSE_REGKEY" = "yes"; then
48757 cat >>confdefs.h
<<\_ACEOF
48758 #define wxUSE_REGKEY 1
48763 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48764 cat >>confdefs.h
<<\_ACEOF
48765 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48770 if test "$wxUSE_UXTHEME" = "yes"; then
48771 cat >>confdefs.h
<<\_ACEOF
48772 #define wxUSE_UXTHEME 1
48780 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48781 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48782 cat >>confdefs.h
<<\_ACEOF
48783 #define wxUSE_GRAPHICS_CONTEXT 1
48786 elif test "$wxUSE_GTK" != 1; then
48787 cat >>confdefs.h
<<\_ACEOF
48788 #define wxUSE_GRAPHICS_CONTEXT 1
48794 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48795 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48797 if test -n "$PKG_CONFIG"; then
48798 if test -n "$CAIRO_CFLAGS"; then
48799 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
48801 if test -n "$PKG_CONFIG" && \
48802 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48803 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48806 (exit $ac_status); }; then
48807 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48815 if test -n "$PKG_CONFIG"; then
48816 if test -n "$CAIRO_LIBS"; then
48817 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
48819 if test -n "$PKG_CONFIG" && \
48820 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48821 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48824 (exit $ac_status); }; then
48825 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48836 if test $pkg_failed = yes; then
48838 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48839 _pkg_short_errors_supported
=yes
48841 _pkg_short_errors_supported
=no
48843 if test $_pkg_short_errors_supported = yes; then
48844 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48846 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48848 # Put the nasty error message in config.log where it belongs
48849 echo "$CAIRO_PKG_ERRORS" >&5
48851 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48852 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48854 elif test $pkg_failed = untried
; then
48855 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48856 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48859 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
48860 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
48861 { echo "$as_me:$LINENO: result: yes" >&5
48862 echo "${ECHO_T}yes" >&6; }
48863 cat >>confdefs.h
<<\_ACEOF
48864 #define wxUSE_GRAPHICS_CONTEXT 1
48874 if test "$wxUSE_MEDIACTRL" = "yes"; then
48877 if test "$wxUSE_GTK" = 1; then
48878 wxUSE_GSTREAMER
="no"
48880 GST_VERSION_MAJOR
=0
48881 GST_VERSION_MINOR
=10
48882 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48884 if test "$wxUSE_GSTREAMER8" = "no"; then
48887 { echo "$as_me:$LINENO: checking for GST" >&5
48888 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48890 if test -n "$PKG_CONFIG"; then
48891 if test -n "$GST_CFLAGS"; then
48892 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48894 if test -n "$PKG_CONFIG" && \
48895 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48896 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48899 (exit $ac_status); }; then
48900 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48908 if test -n "$PKG_CONFIG"; then
48909 if test -n "$GST_LIBS"; then
48910 pkg_cv_GST_LIBS
="$GST_LIBS"
48912 if test -n "$PKG_CONFIG" && \
48913 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48914 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48917 (exit $ac_status); }; then
48918 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48929 if test $pkg_failed = yes; then
48931 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48932 _pkg_short_errors_supported
=yes
48934 _pkg_short_errors_supported
=no
48936 if test $_pkg_short_errors_supported = yes; then
48937 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48939 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48941 # Put the nasty error message in config.log where it belongs
48942 echo "$GST_PKG_ERRORS" >&5
48945 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48946 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48947 GST_VERSION_MINOR
=8
48950 elif test $pkg_failed = untried
; then
48952 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48953 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48954 GST_VERSION_MINOR
=8
48958 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48959 GST_LIBS
=$pkg_cv_GST_LIBS
48960 { echo "$as_me:$LINENO: result: yes" >&5
48961 echo "${ECHO_T}yes" >&6; }
48963 wxUSE_GSTREAMER
="yes"
48964 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48968 GST_VERSION_MINOR
=8
48971 if test $GST_VERSION_MINOR = "8"; then
48972 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48975 { echo "$as_me:$LINENO: checking for GST" >&5
48976 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48978 if test -n "$PKG_CONFIG"; then
48979 if test -n "$GST_CFLAGS"; then
48980 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48982 if test -n "$PKG_CONFIG" && \
48983 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48984 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48987 (exit $ac_status); }; then
48988 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48996 if test -n "$PKG_CONFIG"; then
48997 if test -n "$GST_LIBS"; then
48998 pkg_cv_GST_LIBS
="$GST_LIBS"
49000 if test -n "$PKG_CONFIG" && \
49001 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49002 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49005 (exit $ac_status); }; then
49006 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49017 if test $pkg_failed = yes; then
49019 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49020 _pkg_short_errors_supported
=yes
49022 _pkg_short_errors_supported
=no
49024 if test $_pkg_short_errors_supported = yes; then
49025 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49027 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49029 # Put the nasty error message in config.log where it belongs
49030 echo "$GST_PKG_ERRORS" >&5
49033 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49034 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49036 elif test $pkg_failed = untried
; then
49038 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49039 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49042 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
49043 GST_LIBS
=$pkg_cv_GST_LIBS
49044 { echo "$as_me:$LINENO: result: yes" >&5
49045 echo "${ECHO_T}yes" >&6; }
49046 wxUSE_GSTREAMER
="yes"
49051 if test "$wxUSE_GSTREAMER" = "yes"; then
49052 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
49053 LIBS
="$GST_LIBS $LIBS"
49055 cat >>confdefs.h
<<\_ACEOF
49056 #define wxUSE_GSTREAMER 1
49064 if test $USE_MEDIA = 1; then
49065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
49066 cat >>confdefs.h
<<\_ACEOF
49067 #define wxUSE_MEDIACTRL 1
49074 if test "$cross_compiling" = "yes"; then
49077 OSINFO
=`uname -s -r -m`
49078 OSINFO
="\"$OSINFO\""
49081 cat >>confdefs.h
<<_ACEOF
49082 #define WXWIN_OS_DESCRIPTION $OSINFO
49087 if test "x$prefix" != "xNONE"; then
49090 wxPREFIX
=$ac_default_prefix
49093 cat >>confdefs.h
<<_ACEOF
49094 #define wxINSTALL_PREFIX "$wxPREFIX"
49100 STD_BASE_LIBS
="base"
49102 BUILT_WX_LIBS
="base"
49103 ALL_WX_LIBS
="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49105 if test "$wxUSE_SOCKETS" = "yes" ; then
49106 STD_BASE_LIBS
="net $STD_BASE_LIBS"
49107 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
49109 if test "$wxUSE_ODBC" != "no" ; then
49110 BUILT_WX_LIBS
="odbc $BUILT_WX_LIBS"
49112 if test "$wxUSE_XML" = "yes" ; then
49113 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
49114 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
49117 if test "$wxUSE_GUI" = "yes"; then
49118 STD_GUI_LIBS
="adv core"
49119 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
49121 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49122 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
49123 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
49125 if test "$wxUSE_ODBC" != "no" ; then
49126 BUILT_WX_LIBS
="dbgrid $BUILT_WX_LIBS"
49128 if test "$wxUSE_HTML" = "yes" ; then
49129 STD_GUI_LIBS
="html $STD_GUI_LIBS"
49130 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
49132 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49133 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
49135 if test "$wxUSE_OPENGL" = "yes" ; then
49136 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
49138 if test "$wxUSE_AUI" = "yes" ; then
49139 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
49141 if test "$wxUSE_STC" = "yes" ; then
49142 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
49144 if test "$wxUSE_XRC" = "yes" ; then
49145 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
49146 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
49157 if test "$wxUSE_MAC" = 1 ; then
49158 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49159 if test "$USE_DARWIN" = 1; then
49160 LDFLAGS
="$LDFLAGS -framework QuickTime"
49162 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
49165 if test "$USE_DARWIN" = 1; then
49166 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49168 LDFLAGS
="$LDFLAGS -lCarbonLib"
49171 if test "$wxUSE_COCOA" = 1 ; then
49172 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
49173 if test "$wxUSE_MEDIACTRL" = "yes"; then
49174 LDFLAGS
="$LDFLAGS -framework QuickTime"
49177 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49178 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49181 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49183 if test "$wxUSE_GUI" = "yes"; then
49186 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49187 dynamic erase event exec font image minimal mobile \
49188 mobile/wxedit mobile/styles propsize render \
49189 rotate shaped svg taborder vscroll widgets"
49191 if test "$wxUSE_MONOLITHIC" != "yes"; then
49192 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
49194 if test "$TOOLKIT" = "MSW"; then
49195 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
49196 if test "$wxUSE_UNIVERSAL" != "yes"; then
49197 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49200 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49201 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
49204 SAMPLES_SUBDIRS
="console"
49208 if test "x$INTELCC" = "xyes" ; then
49209 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
49210 elif test "$GCC" = yes ; then
49211 CWARNINGS
="-Wall -Wundef"
49214 if test "x$INTELCXX" = "xyes" ; then
49215 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
49216 elif test "$GXX" = yes ; then
49217 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
49221 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
49222 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49225 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
49226 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49227 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49230 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49231 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49232 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49234 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49237 if test "x$MWCC" = "xyes"; then
49239 CC
="$CC -cwd source -I-"
49240 CXX
="$CXX -cwd source -I-"
49245 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49246 EXTRALIBS_XML
="$EXPAT_LINK"
49247 EXTRALIBS_HTML
="$MSPACK_LINK"
49248 EXTRALIBS_ODBC
="$ODBC_LINK"
49249 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49250 if test "$wxUSE_GUI" = "yes"; then
49251 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49253 if test "$wxUSE_OPENGL" = "yes"; then
49254 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
49257 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
49259 WXCONFIG_LIBS
="$LIBS"
49261 if test "$wxUSE_REGEX" = "builtin" ; then
49262 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49264 if test "$wxUSE_EXPAT" = "builtin" ; then
49265 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
49267 if test "$wxUSE_ODBC" = "builtin" ; then
49268 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
49270 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49271 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
49273 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49274 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
49276 if test "$wxUSE_LIBPNG" = "builtin" ; then
49277 wxconfig_3rdparty
="png $wxconfig_3rdparty"
49279 if test "$wxUSE_ZLIB" = "builtin" ; then
49280 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
49283 for i
in $wxconfig_3rdparty ; do
49284 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49288 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49291 case "$wxUNIV_THEMES" in
49293 cat >>confdefs.h
<<\_ACEOF
49294 #define wxUSE_ALL_THEMES 1
49300 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49301 cat >>confdefs.h
<<_ACEOF
49302 #define wxUSE_THEME_$t 1
49319 if test $wxUSE_MONOLITHIC = "yes" ; then
49325 if test $wxUSE_PLUGINS = "yes" ; then
49331 if test $wxUSE_ODBC != "no" ; then
49337 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49343 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49374 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49385 TOOLKIT_DESC
="GTK+"
49386 if test "$WXGTK20" = 1; then
49387 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
49388 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49389 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
49391 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49392 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
49394 if test "$wxUSE_LIBHILDON" = "yes"; then
49395 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
49398 if test "$TOOLKIT_EXTRA" != ""; then
49399 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49405 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
49409 TOOLKIT_DESC
="base only"
49413 if test "$wxUSE_WINE" = "yes"; then
49414 BAKEFILE_FORCE_PLATFORM
=win32
49417 if test "$wxUSE_MAC" = 1 ; then
49418 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
49419 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
49420 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49422 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49424 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
49425 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
49426 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
49427 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
49430 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49431 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49434 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49436 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49437 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49438 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49439 echo $ECHO_N "(cached) $ECHO_C" >&6
49442 echo '#include <stdio.h>
49443 const wchar_t test_var[] = L"awidetest";' > conftest.h
49445 echo '#include "conftest.h"
49448 printf("%ls", test_var);
49452 wx_cv_gcc_pch_bug
="pch not supported"
49454 if $CXX conftest.h
>/dev
/null
2>&1
49458 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
49460 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
49461 grep awidetest
>/dev
/null
49463 wx_cv_gcc_pch_bug
=no
49465 wx_cv_gcc_pch_bug
=yes
49470 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
49473 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49474 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49476 if test "$wx_cv_gcc_pch_bug" = yes; then
49484 if test "x$BAKEFILE_HOST" = "x"; then
49485 if test "x${host}" = "x" ; then
49486 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49487 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49488 { (exit 1); exit 1; }; }
49491 BAKEFILE_HOST
="${host}"
49494 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49496 if test -n "$ac_tool_prefix"; then
49497 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49498 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
49499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49501 if test "${ac_cv_prog_RANLIB+set}" = set; then
49502 echo $ECHO_N "(cached) $ECHO_C" >&6
49504 if test -n "$RANLIB"; then
49505 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
49507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49508 for as_dir
in $PATH
49511 test -z "$as_dir" && as_dir
=.
49512 for ac_exec_ext
in '' $ac_executable_extensions; do
49513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49514 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
49515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49524 RANLIB
=$ac_cv_prog_RANLIB
49525 if test -n "$RANLIB"; then
49526 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49527 echo "${ECHO_T}$RANLIB" >&6; }
49529 { echo "$as_me:$LINENO: result: no" >&5
49530 echo "${ECHO_T}no" >&6; }
49535 if test -z "$ac_cv_prog_RANLIB"; then
49536 ac_ct_RANLIB
=$RANLIB
49537 # Extract the first word of "ranlib", so it can be a program name with args.
49538 set dummy ranlib
; ac_word
=$2
49539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49541 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49542 echo $ECHO_N "(cached) $ECHO_C" >&6
49544 if test -n "$ac_ct_RANLIB"; then
49545 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
49547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49548 for as_dir
in $PATH
49551 test -z "$as_dir" && as_dir
=.
49552 for ac_exec_ext
in '' $ac_executable_extensions; do
49553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49554 ac_cv_prog_ac_ct_RANLIB
="ranlib"
49555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49564 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
49565 if test -n "$ac_ct_RANLIB"; then
49566 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49567 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49569 { echo "$as_me:$LINENO: result: no" >&5
49570 echo "${ECHO_T}no" >&6; }
49573 if test "x$ac_ct_RANLIB" = x
; then
49576 case $cross_compiling:$ac_tool_warned in
49578 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49579 whose name does not start with the host triplet. If you think this
49580 configuration is useful to you, please write to autoconf@gnu.org." >&5
49581 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49582 whose name does not start with the host triplet. If you think this
49583 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49584 ac_tool_warned
=yes ;;
49586 RANLIB
=$ac_ct_RANLIB
49589 RANLIB
="$ac_cv_prog_RANLIB"
49592 # Find a good install program. We prefer a C program (faster),
49593 # so one script is as good as another. But avoid the broken or
49594 # incompatible versions:
49595 # SysV /etc/install, /usr/sbin/install
49596 # SunOS /usr/etc/install
49597 # IRIX /sbin/install
49599 # AmigaOS /C/install, which installs bootblocks on floppy discs
49600 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49601 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49602 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49603 # OS/2's system install, which has a completely different semantic
49604 # ./install, which can be erroneously created by make from ./install.sh.
49605 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49606 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49607 if test -z "$INSTALL"; then
49608 if test "${ac_cv_path_install+set}" = set; then
49609 echo $ECHO_N "(cached) $ECHO_C" >&6
49611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49612 for as_dir
in $PATH
49615 test -z "$as_dir" && as_dir
=.
49616 # Account for people who put trailing slashes in PATH elements.
49618 .
/ | .
// | /cC
/* | \
49619 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
49620 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
49623 # OSF1 and SCO ODT 3.0 have their own names for install.
49624 # Don't use installbsd from OSF since it installs stuff as root
49626 for ac_prog
in ginstall scoinst
install; do
49627 for ac_exec_ext
in '' $ac_executable_extensions; do
49628 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49629 if test $ac_prog = install &&
49630 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49631 # AIX install. It has an incompatible calling convention.
49633 elif test $ac_prog = install &&
49634 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49635 # program-specific install script used by HP pwplus--don't use.
49638 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
49651 if test "${ac_cv_path_install+set}" = set; then
49652 INSTALL
=$ac_cv_path_install
49654 # As a last resort, use the slow shell script. Don't cache a
49655 # value for INSTALL within a source directory, because that will
49656 # break other packages using the cache if that directory is
49657 # removed, or if the value is a relative name.
49658 INSTALL
=$ac_install_sh
49661 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49662 echo "${ECHO_T}$INSTALL" >&6; }
49664 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49665 # It thinks the first close brace ends the variable substitution.
49666 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
49668 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
49670 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
49672 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49673 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49675 if test "$LN_S" = "ln -s"; then
49676 { echo "$as_me:$LINENO: result: yes" >&5
49677 echo "${ECHO_T}yes" >&6; }
49679 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49680 echo "${ECHO_T}no, using $LN_S" >&6; }
49684 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49685 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49686 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49687 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49688 echo $ECHO_N "(cached) $ECHO_C" >&6
49690 cat >conftest.
make <<\_ACEOF
49693 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49695 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49696 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49697 *@@@
%%%=?
*=@@@
%%%*)
49698 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49700 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49702 rm -f conftest.
make
49704 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49705 { echo "$as_me:$LINENO: result: yes" >&5
49706 echo "${ECHO_T}yes" >&6; }
49709 { echo "$as_me:$LINENO: result: no" >&5
49710 echo "${ECHO_T}no" >&6; }
49711 SET_MAKE
="MAKE=${MAKE-make}"
49716 if test "x$SUNCXX" = "xyes"; then
49718 AROPTIONS
="-xar -o"
49720 elif test "x$SGICC" = "xyes"; then
49725 if test -n "$ac_tool_prefix"; then
49726 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49727 set dummy
${ac_tool_prefix}ar; ac_word
=$2
49728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49730 if test "${ac_cv_prog_AR+set}" = set; then
49731 echo $ECHO_N "(cached) $ECHO_C" >&6
49733 if test -n "$AR"; then
49734 ac_cv_prog_AR
="$AR" # Let the user override the test.
49736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49737 for as_dir
in $PATH
49740 test -z "$as_dir" && as_dir
=.
49741 for ac_exec_ext
in '' $ac_executable_extensions; do
49742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49743 ac_cv_prog_AR
="${ac_tool_prefix}ar"
49744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49754 if test -n "$AR"; then
49755 { echo "$as_me:$LINENO: result: $AR" >&5
49756 echo "${ECHO_T}$AR" >&6; }
49758 { echo "$as_me:$LINENO: result: no" >&5
49759 echo "${ECHO_T}no" >&6; }
49764 if test -z "$ac_cv_prog_AR"; then
49766 # Extract the first word of "ar", so it can be a program name with args.
49767 set dummy
ar; ac_word
=$2
49768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49770 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49771 echo $ECHO_N "(cached) $ECHO_C" >&6
49773 if test -n "$ac_ct_AR"; then
49774 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
49776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49777 for as_dir
in $PATH
49780 test -z "$as_dir" && as_dir
=.
49781 for ac_exec_ext
in '' $ac_executable_extensions; do
49782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49783 ac_cv_prog_ac_ct_AR
="ar"
49784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49793 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
49794 if test -n "$ac_ct_AR"; then
49795 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49796 echo "${ECHO_T}$ac_ct_AR" >&6; }
49798 { echo "$as_me:$LINENO: result: no" >&5
49799 echo "${ECHO_T}no" >&6; }
49802 if test "x$ac_ct_AR" = x
; then
49805 case $cross_compiling:$ac_tool_warned in
49807 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49808 whose name does not start with the host triplet. If you think this
49809 configuration is useful to you, please write to autoconf@gnu.org." >&5
49810 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49811 whose name does not start with the host triplet. If you think this
49812 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49813 ac_tool_warned
=yes ;;
49818 AR
="$ac_cv_prog_AR"
49825 if test -n "$ac_tool_prefix"; then
49826 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49827 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
49828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49830 if test "${ac_cv_prog_STRIP+set}" = set; then
49831 echo $ECHO_N "(cached) $ECHO_C" >&6
49833 if test -n "$STRIP"; then
49834 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
49836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49837 for as_dir
in $PATH
49840 test -z "$as_dir" && as_dir
=.
49841 for ac_exec_ext
in '' $ac_executable_extensions; do
49842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49843 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
49844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49853 STRIP
=$ac_cv_prog_STRIP
49854 if test -n "$STRIP"; then
49855 { echo "$as_me:$LINENO: result: $STRIP" >&5
49856 echo "${ECHO_T}$STRIP" >&6; }
49858 { echo "$as_me:$LINENO: result: no" >&5
49859 echo "${ECHO_T}no" >&6; }
49864 if test -z "$ac_cv_prog_STRIP"; then
49866 # Extract the first word of "strip", so it can be a program name with args.
49867 set dummy strip
; ac_word
=$2
49868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49870 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49871 echo $ECHO_N "(cached) $ECHO_C" >&6
49873 if test -n "$ac_ct_STRIP"; then
49874 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
49876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49877 for as_dir
in $PATH
49880 test -z "$as_dir" && as_dir
=.
49881 for ac_exec_ext
in '' $ac_executable_extensions; do
49882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49883 ac_cv_prog_ac_ct_STRIP
="strip"
49884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49893 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
49894 if test -n "$ac_ct_STRIP"; then
49895 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49896 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49898 { echo "$as_me:$LINENO: result: no" >&5
49899 echo "${ECHO_T}no" >&6; }
49902 if test "x$ac_ct_STRIP" = x
; then
49905 case $cross_compiling:$ac_tool_warned in
49907 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49908 whose name does not start with the host triplet. If you think this
49909 configuration is useful to you, please write to autoconf@gnu.org." >&5
49910 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49911 whose name does not start with the host triplet. If you think this
49912 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49913 ac_tool_warned
=yes ;;
49918 STRIP
="$ac_cv_prog_STRIP"
49921 if test -n "$ac_tool_prefix"; then
49922 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49923 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
49924 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49926 if test "${ac_cv_prog_NM+set}" = set; then
49927 echo $ECHO_N "(cached) $ECHO_C" >&6
49929 if test -n "$NM"; then
49930 ac_cv_prog_NM
="$NM" # Let the user override the test.
49932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49933 for as_dir
in $PATH
49936 test -z "$as_dir" && as_dir
=.
49937 for ac_exec_ext
in '' $ac_executable_extensions; do
49938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49939 ac_cv_prog_NM
="${ac_tool_prefix}nm"
49940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49950 if test -n "$NM"; then
49951 { echo "$as_me:$LINENO: result: $NM" >&5
49952 echo "${ECHO_T}$NM" >&6; }
49954 { echo "$as_me:$LINENO: result: no" >&5
49955 echo "${ECHO_T}no" >&6; }
49960 if test -z "$ac_cv_prog_NM"; then
49962 # Extract the first word of "nm", so it can be a program name with args.
49963 set dummy nm
; ac_word
=$2
49964 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49966 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49967 echo $ECHO_N "(cached) $ECHO_C" >&6
49969 if test -n "$ac_ct_NM"; then
49970 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
49972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49973 for as_dir
in $PATH
49976 test -z "$as_dir" && as_dir
=.
49977 for ac_exec_ext
in '' $ac_executable_extensions; do
49978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49979 ac_cv_prog_ac_ct_NM
="nm"
49980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49989 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
49990 if test -n "$ac_ct_NM"; then
49991 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49992 echo "${ECHO_T}$ac_ct_NM" >&6; }
49994 { echo "$as_me:$LINENO: result: no" >&5
49995 echo "${ECHO_T}no" >&6; }
49998 if test "x$ac_ct_NM" = x
; then
50001 case $cross_compiling:$ac_tool_warned in
50003 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50004 whose name does not start with the host triplet. If you think this
50005 configuration is useful to you, please write to autoconf@gnu.org." >&5
50006 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50007 whose name does not start with the host triplet. If you think this
50008 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50009 ac_tool_warned
=yes ;;
50014 NM
="$ac_cv_prog_NM"
50018 case ${BAKEFILE_HOST} in
50020 INSTALL_DIR
="mkdir -p"
50023 INSTALL_DIR
='$(INSTALL) -d'
50029 case ${BAKEFILE_HOST} in
50030 *-*-cygwin* | *-*-mingw32* )
50031 LDFLAGS_GUI
="-mwindows"
50037 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50038 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50039 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50040 echo $ECHO_N "(cached) $ECHO_C" >&6
50043 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
50044 egrep -s GNU
> /dev
/null
); then
50045 bakefile_cv_prog_makeisgnu
="yes"
50047 bakefile_cv_prog_makeisgnu
="no"
50051 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50052 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50054 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50071 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50072 case "${BAKEFILE_HOST}" in
50079 *-pc-os2_emx | *-pc-os2-emx )
50089 powerpc
-apple-macos* )
50098 case "$BAKEFILE_FORCE_PLATFORM" in
50133 # Check whether --enable-omf was given.
50134 if test "${enable_omf+set}" = set; then
50135 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
50139 case "${BAKEFILE_HOST}" in
50141 if test "x$GCC" = "xyes"; then
50142 CFLAGS
="$CFLAGS -fno-common"
50143 CXXFLAGS
="$CXXFLAGS -fno-common"
50145 if test "x$XLCC" = "xyes"; then
50146 CFLAGS
="$CFLAGS -qnocommon"
50147 CXXFLAGS
="$CXXFLAGS -qnocommon"
50151 *-pc-os2_emx | *-pc-os2-emx )
50152 if test "x$bk_os2_use_omf" = "xyes" ; then
50155 LDFLAGS
="-Zomf $LDFLAGS"
50156 CFLAGS
="-Zomf $CFLAGS"
50157 CXXFLAGS
="-Zomf $CXXFLAGS"
50165 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
50171 SO_SUFFIX_MODULE
="so"
50176 DLLPREFIX_MODULE
=""
50180 case "${BAKEFILE_HOST}" in
50183 SO_SUFFIX_MODULE
="sl"
50187 SO_SUFFIX_MODULE
="a"
50191 SO_SUFFIX_MODULE
="dll"
50192 DLLIMP_SUFFIX
="dll.a"
50199 SO_SUFFIX_MODULE
="dll"
50200 DLLIMP_SUFFIX
="dll.a"
50210 *-pc-os2_emx | *-pc-os2-emx )
50212 SO_SUFFIX_MODULE
="dll"
50213 DLLIMP_SUFFIX
=$OS2_LIBEXT
50217 LIBEXT
=".$OS2_LIBEXT"
50222 SO_SUFFIX_MODULE
="bundle"
50226 if test "x$DLLIMP_SUFFIX" = "x" ; then
50227 DLLIMP_SUFFIX
="$SO_SUFFIX"
50242 if test "x$GCC" = "xyes"; then
50246 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
50247 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
50250 case "${BAKEFILE_HOST}" in
50252 if test "x$GCC" != "xyes"; then
50253 LDFLAGS
="$LDFLAGS -L/usr/lib"
50255 SHARED_LD_CC
="${CC} -b -o"
50256 SHARED_LD_CXX
="${CXX} -b -o"
50262 if test "$INTELCC" = "yes"; then
50264 elif test "x$SUNCXX" = "xyes"; then
50265 SHARED_LD_CC
="${CC} -G -o"
50266 SHARED_LD_CXX
="${CXX} -G -o"
50272 if test "x$SUNCXX" = xyes
; then
50273 SHARED_LD_CC
="${CC} -G -o"
50274 SHARED_LD_CXX
="${CXX} -G -o"
50282 cat <<EOF >shared-ld-sh
50284 #-----------------------------------------------------------------------------
50285 #-- Name: distrib/mac/shared-ld-sh
50286 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50287 #-- Author: Gilles Depeyrot
50288 #-- Copyright: (c) 2002 Gilles Depeyrot
50289 #-- Licence: any use permitted
50290 #-----------------------------------------------------------------------------
50295 linking_flag="-dynamiclib"
50296 ldargs="-r -keep_private_externs -nostdlib"
50298 while test ${D}# -gt 0; do
50305 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50306 # collect these options and values
50307 args="${D}{args} ${D}1 ${D}2"
50312 # collect these load args
50313 ldargs="${D}{ldargs} ${D}1"
50316 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50317 # collect these options
50318 args="${D}{args} ${D}1"
50321 -dynamiclib|-bundle)
50322 linking_flag="${D}1"
50326 echo "shared-ld: unhandled option '${D}1'"
50330 *.o | *.a | *.dylib)
50331 # collect object files
50332 objects="${D}{objects} ${D}1"
50336 echo "shared-ld: unhandled argument '${D}1'"
50347 # Link one module containing all the others
50349 if test ${D}{verbose} = 1; then
50350 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50352 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50356 # Link the shared library from the single module created, but only if the
50357 # previous command didn't fail:
50359 if test ${D}{status} = 0; then
50360 if test ${D}{verbose} = 1; then
50361 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50363 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50368 # Remove intermediate module
50370 rm -f master.${D}${D}.o
50375 chmod +x shared
-ld-sh
50377 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50378 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
50381 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50382 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50383 if test "${bakefile_cv_gcc31+set}" = set; then
50384 echo $ECHO_N "(cached) $ECHO_C" >&6
50387 cat >conftest.
$ac_ext <<_ACEOF
50390 cat confdefs.h
>>conftest.
$ac_ext
50391 cat >>conftest.
$ac_ext <<_ACEOF
50392 /* end confdefs.h. */
50398 #if (__GNUC__ < 3) || \
50399 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50407 rm -f conftest.
$ac_objext
50408 if { (ac_try
="$ac_compile"
50409 case "(($ac_try" in
50410 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50411 *) ac_try_echo=$ac_try;;
50413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50414 (eval "$ac_compile") 2>conftest.er1
50416 grep -v '^ *+' conftest.er1 >conftest.err
50418 cat conftest.err >&5
50419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50420 (exit $ac_status); } && {
50421 test -z "$ac_c_werror_flag" ||
50422 test ! -s conftest.err
50423 } && test -s conftest.$ac_objext; then
50425 bakefile_cv_gcc31=yes
50428 echo "$as_me: failed program was:" >&5
50429 sed 's/^/| /' conftest.$ac_ext >&5
50432 bakefile_cv_gcc31=no
50437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50440 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50441 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50442 if test "$bakefile_cv_gcc31" = "no"; then
50443 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50444 SHARED_LD_CXX="$SHARED_LD_CC"
50446 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50447 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50450 if test "x$GCC" == "xyes"; then
50451 PIC_FLAG="-dynamic -fPIC"
50453 if test "x$XLCC" = "xyes"; then
50454 PIC_FLAG="-dynamic -DPIC"
50459 if test "x$GCC" = "xyes"; then
50462 case "${BAKEFILE_HOST}" in
50464 LD_EXPFULL="-Wl,-bexpfull"
50468 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50469 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50471 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50472 set dummy makeC++SharedLib; ac_word=$2
50473 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50475 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50476 echo $ECHO_N "(cached) $ECHO_C" >&6
50478 if test -n "$AIX_CXX_LD"; then
50479 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50482 for as_dir in $PATH
50485 test -z "$as_dir" && as_dir=.
50486 for ac_exec_ext in '' $ac_executable_extensions; do
50487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50488 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50496 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50499 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50500 if test -n "$AIX_CXX_LD"; then
50501 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50502 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50504 { echo "$as_me:$LINENO: result: no" >&5
50505 echo "${ECHO_T}no" >&6; }
50509 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50510 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50515 SHARED_LD_CC="${LD} -nostart -o"
50516 SHARED_LD_CXX="${LD} -nostart -o"
50520 if test "x$GCC" != "xyes"; then
50525 *-*-cygwin* | *-*-mingw32* )
50527 SHARED_LD_CC="\$(CC) -shared -o"
50528 SHARED_LD_CXX="\$(CXX) -shared -o"
50532 *-pc-os2_emx | *-pc-os2-emx )
50533 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50534 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50538 cat <<EOF >dllar.sh
50541 # dllar - a tool to build both a .dll and an .a file
50542 # from a set of object (.o) files for EMX/OS2.
50544 # Written by Andrew Zabolotny, bit@freya.etu.ru
50545 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50547 # This script will accept a set of files on the command line.
50548 # All the public symbols from the .o files will be exported into
50549 # a .DEF file, then linker will be run (through gcc) against them to
50550 # build a shared library consisting of all given .o files. All libraries
50551 # (.a) will be first decompressed into component .o files then act as
50552 # described above. You can optionally give a description (-d "description")
50553 # which will be put into .DLL. To see the list of accepted options (as well
50554 # as command-line format) simply run this program without options. The .DLL
50555 # is built to be imported by name (there is no guarantee that new versions
50556 # of the library you build will have same ordinals for same symbols).
50558 # dllar is free software; you can redistribute it and/or modify
50559 # it under the terms of the GNU General Public License as published by
50560 # the Free Software Foundation; either version 2, or (at your option)
50561 # any later version.
50563 # dllar is distributed in the hope that it will be useful,
50564 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50565 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50566 # GNU General Public License for more details.
50568 # You should have received a copy of the GNU General Public License
50569 # along with dllar; see the file COPYING. If not, write to the Free
50570 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50573 # To successfuly run this program you will need:
50574 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50575 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50577 # (used to build the .dll)
50579 # (used to create .def file from .o files)
50581 # (used to create .a file from .def file)
50582 # - GNU text utilites (cat, sort, uniq)
50583 # used to process emxexp output
50584 # - GNU file utilities (mv, rm)
50586 # - lxlite (optional, see flag below)
50587 # (used for general .dll cleanup)
50594 # basnam, variant of basename, which does _not_ remove the path, _iff_
50595 # second argument (suffix to remove) is given
50599 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50602 echo ${D}1 | sed 's/'${D}2'${D}//'
50605 echo "error in basnam ${D}*"
50611 # Cleanup temporary files and output
50614 for i in ${D}inputFiles ; do
50617 rm -rf \`basnam
${D}i
!\
`
50624 # Kill result in case of failure as there is just to many stupid make/nmake
50625 # things out there which doesn't do this.
50626 if [ ${D}# -eq 0 ]; then
50627 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50631 # Print usage and exit script with rc=1.
50633 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50634 echo ' [-name-mangler-script script.sh]'
50635 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50636 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50637 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50638 echo ' [*.o] [*.a]'
50639 echo '*> "output_file" should have no extension.'
50640 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50641 echo ' The import library name is derived from this and is set to "name".a,'
50642 echo ' unless overridden by -import'
50643 echo '*> "importlib_name" should have no extension.'
50644 echo ' If it has the .o, or .a extension, it is automatically removed.'
50645 echo ' This name is used as the import library name and may be longer and'
50646 echo ' more descriptive than the DLL name which has to follow the old '
50647 echo ' 8.3 convention of FAT.'
50648 echo '*> "script.sh may be given to override the output_file name by a'
50649 echo ' different name. It is mainly useful if the regular make process'
50650 echo ' of some package does not take into account OS/2 restriction of'
50651 echo ' DLL name lengths. It takes the importlib name as input and is'
50652 echo ' supposed to procude a shorter name as output. The script should'
50653 echo ' expect to get importlib_name without extension and should produce'
50654 echo ' a (max.) 8 letter name without extension.'
50655 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50656 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50657 echo ' These flags will be put at the start of GCC command line.'
50658 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50659 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50660 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50661 echo ' If the last character of a symbol is "*", all symbols beginning'
50662 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50663 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50664 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50665 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50666 echo ' C runtime DLLs.'
50667 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50668 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50669 echo ' unchanged to GCC at the end of command line.'
50670 echo '*> If you create a DLL from a library and you do not specify -o,'
50671 echo ' the basename for DLL and import library will be set to library name,'
50672 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50673 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50674 echo ' library will be renamed into gcc_s.a.'
50677 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50678 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50683 # Execute a command.
50684 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50685 # @Uses Whatever CleanUp() uses.
50691 if [ ${D}rcCmd -ne 0 ]; then
50692 echo "command failed, exit code="${D}rcCmd
50707 CFLAGS="-s -Zcrtdll"
50709 EXPORT_BY_ORDINALS=0
50714 case ${D}curDirS in
50718 curDirS=${D}{curDirS}"/"
50721 # Parse commandline
50724 while [ ${D}1 ]; do
50727 EXPORT_BY_ORDINALS=1;
50737 -name-mangler-script)
50758 exclude_symbols=${D}{exclude_symbols}${D}1" "
50762 library_flags=${D}{library_flags}${D}1" "
50781 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50784 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
50785 if [ ${D}omfLinking -eq 1 ]; then
50786 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50788 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50793 if [ ${D}libsToLink -ne 0 ]; then
50794 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50796 for file in ${D}1 ; do
50797 if [ -f ${D}file ]; then
50798 inputFiles="${D}{inputFiles} ${D}file"
50802 if [ ${D}found -eq 0 ]; then
50803 echo "ERROR: No file(s) found: "${D}1
50810 done # iterate cmdline words
50813 if [ -z "${D}inputFiles" ]; then
50814 echo "dllar: no input files"
50818 # Now extract all .o files from .a files
50820 for file in ${D}inputFiles ; do
50831 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50836 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
50838 if [ ${D}? -ne 0 ]; then
50839 echo "Failed to create subdirectory ./${D}dirname"
50843 # Append '!' to indicate archive
50844 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50845 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50848 for subfile in ${D}dirname/*.o* ; do
50849 if [ -f ${D}subfile ]; then
50851 if [ -s ${D}subfile ]; then
50852 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50853 newInputFiles="${D}newInputFiles ${D}subfile"
50857 if [ ${D}found -eq 0 ]; then
50858 echo "WARNING: there are no files in archive \\'${D}file\\'"
50862 newInputFiles="${D}{newInputFiles} ${D}file"
50866 inputFiles="${D}newInputFiles"
50868 # Output filename(s).
50870 if [ -z ${D}outFile ]; then
50872 set outFile ${D}inputFiles; outFile=${D}2
50875 # If it is an archive, remove the '!' and the '_%' suffixes
50876 case ${D}outFile in
50878 outFile=\`basnam
${D}outFile _
%!\
`
50883 case ${D}outFile in
50885 outFile=\`basnam
${D}outFile .dll\
`
50888 outFile=\`basnam
${D}outFile .DLL\
`
50891 outFile=\`basnam
${D}outFile .o\
`
50894 outFile=\`basnam
${D}outFile .obj\
`
50897 outFile=\`basnam
${D}outFile .a\
`
50900 outFile=\`basnam
${D}outFile .lib\
`
50905 case ${D}outimpFile in
50907 outimpFile=\`basnam
${D}outimpFile .a\
`
50910 outimpFile=\`basnam
${D}outimpFile .lib\
`
50915 if [ -z ${D}outimpFile ]; then
50916 outimpFile=${D}outFile
50918 defFile="${D}{outFile}.def"
50919 arcFile="${D}{outimpFile}.a"
50920 arcFile2="${D}{outimpFile}.lib"
50922 #create ${D}dllFile as something matching 8.3 restrictions,
50923 if [ -z ${D}renameScript ] ; then
50924 dllFile="${D}outFile"
50926 dllFile=\`${D}renameScript
${D}outimpFile\
`
50929 if [ ${D}do_backup -ne 0 ] ; then
50930 if [ -f ${D}arcFile ] ; then
50931 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50933 if [ -f ${D}arcFile2 ] ; then
50934 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50938 # Extract public symbols from all the object files.
50939 tmpdefFile=${D}{defFile}_%
50940 rm -f ${D}tmpdefFile
50941 for file in ${D}inputFiles ; do
50946 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50951 # Create the def file.
50953 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
50954 dllFile="${D}{dllFile}.dll"
50955 if [ ! -z ${D}description ]; then
50956 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50958 echo "EXPORTS" >> ${D}defFile
50960 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50961 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50963 # Checks if the export is ok or not.
50964 for word in ${D}exclude_symbols; do
50965 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50966 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50970 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50971 sed "=" < ${D}tmpdefFile | \\
50975 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50977 ' > ${D}{tmpdefFile}%
50978 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50980 rm -f ${D}{tmpdefFile}%
50982 cat ${D}tmpdefFile >> ${D}defFile
50983 rm -f ${D}tmpdefFile
50985 # Do linking, create implib, and apply lxlite.
50987 for file in ${D}inputFiles ; do
50992 gccCmdl="${D}gccCmdl ${D}file"
50996 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50997 touch "${D}{outFile}.dll"
50999 doCommand "emximp -o ${D}arcFile ${D}defFile"
51000 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51002 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51005 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51007 doCommand "emxomf -s -l ${D}arcFile"
51017 powerpc-apple-macos* | \
51018 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51028 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51029 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51030 { (exit 1); exit 1; }; }
51033 if test "x$PIC_FLAG" != "x" ; then
51034 PIC_FLAG="$PIC_FLAG -DPIC"
51037 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51038 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51040 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51041 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51060 case "${BAKEFILE_HOST}" in
51061 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51062 if test "x$SUNCXX" = "xyes"; then
51065 SONAME_FLAG="-Wl,-soname,"
51100 # Check whether --enable-dependency-tracking was given.
51101 if test "${enable_dependency_tracking+set}" = set; then
51102 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51106 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51107 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51110 if test "x$bk_use_trackdeps" = "xno" ; then
51112 { echo "$as_me:$LINENO: result: disabled" >&5
51113 echo "${ECHO_T}disabled" >&6; }
51117 if test "x$GCC" = "xyes"; then
51119 case "${BAKEFILE_HOST}" in
51121 DEPSFLAG="-no-cpp-precomp -MMD"
51127 { echo "$as_me:$LINENO: result: gcc" >&5
51128 echo "${ECHO_T}gcc" >&6; }
51129 elif test "x$MWCC" = "xyes"; then
51132 { echo "$as_me:$LINENO: result: mwcc" >&5
51133 echo "${ECHO_T}mwcc" >&6; }
51134 elif test "x$SUNCC" = "xyes"; then
51137 { echo "$as_me:$LINENO: result: Sun cc" >&5
51138 echo "${ECHO_T}Sun cc" >&6; }
51139 elif test "x$SGICC" = "xyes"; then
51142 { echo "$as_me:$LINENO: result: SGI cc" >&5
51143 echo "${ECHO_T}SGI cc" >&6; }
51144 elif test "x$HPCC" = "xyes"; then
51147 { echo "$as_me:$LINENO: result: HP cc" >&5
51148 echo "${ECHO_T}HP cc" >&6; }
51149 elif test "x$COMPAQCC" = "xyes"; then
51152 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51153 echo "${ECHO_T}Compaq cc" >&6; }
51156 { echo "$as_me:$LINENO: result: none" >&5
51157 echo "${ECHO_T}none" >&6; }
51160 if test $DEPS_TRACKING = 1 ; then
51166 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51167 # script. It is used to track C/C++ files dependencies in portable way.
51169 # Permission is given to use this file in any way.
51171 DEPSMODE=${DEPSMODE}
51173 DEPSFLAG="${DEPSFLAG}"
51175 mkdir -p ${D}DEPSDIR
51177 if test ${D}DEPSMODE = gcc ; then
51178 ${D}* ${D}{DEPSFLAG}
51180 if test ${D}{status} != 0 ; then
51183 # move created file to the location we want it in:
51184 while test ${D}# -gt 0; do
51198 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
51199 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
51200 if test -f ${D}depfile ; then
51201 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51204 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51205 depfile=\`basename ${D}objfile
| sed -e 's/\\..*${D}/.d/g'\
`
51206 if test ! -f ${D}depfile ; then
51207 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51208 depfile="${D}objfile.d"
51210 if test -f ${D}depfile ; then
51211 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51216 elif test ${D}DEPSMODE = mwcc ; then
51217 ${D}* || exit ${D}?
51218 # Run mwcc again with -MM and redirect into the dep file we want
51219 # NOTE: We can't use shift here because we need ${D}* to be valid
51221 for arg in ${D}* ; do
51222 if test "${D}prevarg" = "-o"; then
51235 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51237 elif test ${D}DEPSMODE = unixcc; then
51238 ${D}* || exit ${D}?
51239 # Run compiler again with deps flag and redirect into the dep file.
51240 # It doesn't work if the '-o FILE' option is used, but without it the
51241 # dependency file will contain the wrong name for the object. So it is
51242 # removed from the command line, and the dep file is fixed with sed.
51244 while test ${D}# -gt 0; do
51251 eval arg${D}#=\\${D}1
51252 cmd="${D}cmd \\${D}arg${D}#"
51257 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51266 BK_DEPS="`pwd`/bk-deps"
51274 case ${BAKEFILE_HOST} in
51275 *-*-cygwin* | *-*-mingw32* )
51276 if test -n "$ac_tool_prefix"; then
51277 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51278 set dummy ${ac_tool_prefix}windres; ac_word=$2
51279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51281 if test "${ac_cv_prog_WINDRES+set}" = set; then
51282 echo $ECHO_N "(cached) $ECHO_C" >&6
51284 if test -n "$WINDRES"; then
51285 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51288 for as_dir in $PATH
51291 test -z "$as_dir" && as_dir=.
51292 for ac_exec_ext in '' $ac_executable_extensions; do
51293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51294 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51304 WINDRES=$ac_cv_prog_WINDRES
51305 if test -n "$WINDRES"; then
51306 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51307 echo "${ECHO_T}$WINDRES" >&6; }
51309 { echo "$as_me:$LINENO: result: no" >&5
51310 echo "${ECHO_T}no" >&6; }
51315 if test -z "$ac_cv_prog_WINDRES"; then
51316 ac_ct_WINDRES=$WINDRES
51317 # Extract the first word of "windres", so it can be a program name with args.
51318 set dummy windres; ac_word=$2
51319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51321 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51322 echo $ECHO_N "(cached) $ECHO_C" >&6
51324 if test -n "$ac_ct_WINDRES"; then
51325 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51328 for as_dir in $PATH
51331 test -z "$as_dir" && as_dir=.
51332 for ac_exec_ext in '' $ac_executable_extensions; do
51333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51334 ac_cv_prog_ac_ct_WINDRES="windres"
51335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51344 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51345 if test -n "$ac_ct_WINDRES"; then
51346 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51347 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51349 { echo "$as_me:$LINENO: result: no" >&5
51350 echo "${ECHO_T}no" >&6; }
51353 if test "x$ac_ct_WINDRES" = x; then
51356 case $cross_compiling:$ac_tool_warned in
51358 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51359 whose name does not start with the host triplet. If you think this
51360 configuration is useful to you, please write to autoconf@gnu.org." >&5
51361 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51362 whose name does not start with the host triplet. If you think this
51363 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51364 ac_tool_warned=yes ;;
51366 WINDRES=$ac_ct_WINDRES
51369 WINDRES="$ac_cv_prog_WINDRES"
51374 *-*-darwin* | powerpc-apple-macos* )
51375 # Extract the first word of "Rez", so it can be a program name with args.
51376 set dummy Rez; ac_word=$2
51377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51379 if test "${ac_cv_prog_REZ+set}" = set; then
51380 echo $ECHO_N "(cached) $ECHO_C" >&6
51382 if test -n "$REZ"; then
51383 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51386 for as_dir in $PATH
51389 test -z "$as_dir" && as_dir=.
51390 for ac_exec_ext in '' $ac_executable_extensions; do
51391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51392 ac_cv_prog_REZ="Rez"
51393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51400 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51403 REZ=$ac_cv_prog_REZ
51404 if test -n "$REZ"; then
51405 { echo "$as_me:$LINENO: result: $REZ" >&5
51406 echo "${ECHO_T}$REZ" >&6; }
51408 { echo "$as_me:$LINENO: result: no" >&5
51409 echo "${ECHO_T}no" >&6; }
51413 # Extract the first word of "SetFile", so it can be a program name with args.
51414 set dummy SetFile; ac_word=$2
51415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51417 if test "${ac_cv_prog_SETFILE+set}" = set; then
51418 echo $ECHO_N "(cached) $ECHO_C" >&6
51420 if test -n "$SETFILE"; then
51421 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51424 for as_dir in $PATH
51427 test -z "$as_dir" && as_dir=.
51428 for ac_exec_ext in '' $ac_executable_extensions; do
51429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51430 ac_cv_prog_SETFILE="SetFile"
51431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51438 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51441 SETFILE=$ac_cv_prog_SETFILE
51442 if test -n "$SETFILE"; then
51443 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51444 echo "${ECHO_T}$SETFILE" >&6; }
51446 { echo "$as_me:$LINENO: result: no" >&5
51447 echo "${ECHO_T}no" >&6; }
51459 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51462 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51466 # Check whether --enable-precomp-headers was given.
51467 if test "${enable_precomp_headers+set}" = set; then
51468 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51477 case ${BAKEFILE_HOST} in
51483 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51484 if test "x$GCC" = "xyes"; then
51485 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51486 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51487 cat >conftest.$ac_ext <<_ACEOF
51490 cat confdefs.h >>conftest.$ac_ext
51491 cat >>conftest.$ac_ext <<_ACEOF
51492 /* end confdefs.h. */
51498 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51499 There is no PCH support
51502 There is no PCH support
51504 #if (__GNUC__ == 3) && \
51505 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51506 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51507 ( defined(__INTEL_COMPILER) )
51508 There is no PCH support
51515 rm -f conftest.$ac_objext
51516 if { (ac_try="$ac_compile"
51517 case "(($ac_try" in
51518 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51519 *) ac_try_echo
=$ac_try;;
51521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51522 (eval "$ac_compile") 2>conftest.er1
51524 grep -v '^ *+' conftest.er1
>conftest.err
51526 cat conftest.err
>&5
51527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51528 (exit $ac_status); } && {
51529 test -z "$ac_c_werror_flag" ||
51530 test ! -s conftest.err
51531 } && test -s conftest.
$ac_objext; then
51533 { echo "$as_me:$LINENO: result: yes" >&5
51534 echo "${ECHO_T}yes" >&6; }
51538 echo "$as_me: failed program was:" >&5
51539 sed 's/^/| /' conftest.
$ac_ext >&5
51542 cat >conftest.
$ac_ext <<_ACEOF
51545 cat confdefs.h
>>conftest.
$ac_ext
51546 cat >>conftest.
$ac_ext <<_ACEOF
51547 /* end confdefs.h. */
51553 #if !defined(__INTEL_COMPILER) || \
51554 (__INTEL_COMPILER < 800)
51555 There is no PCH support
51562 rm -f conftest.
$ac_objext
51563 if { (ac_try
="$ac_compile"
51564 case "(($ac_try" in
51565 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51566 *) ac_try_echo=$ac_try;;
51568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51569 (eval "$ac_compile") 2>conftest.er1
51571 grep -v '^ *+' conftest.er1 >conftest.err
51573 cat conftest.err >&5
51574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51575 (exit $ac_status); } && {
51576 test -z "$ac_c_werror_flag" ||
51577 test ! -s conftest.err
51578 } && test -s conftest.$ac_objext; then
51580 { echo "$as_me:$LINENO: result: yes" >&5
51581 echo "${ECHO_T}yes" >&6; }
51585 echo "$as_me: failed program was:" >&5
51586 sed 's/^/| /' conftest.$ac_ext >&5
51589 { echo "$as_me:$LINENO: result: no" >&5
51590 echo "${ECHO_T}no" >&6; }
51594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51599 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51603 cat <<EOF >bk-make-pch
51606 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51607 # script. It is used to generated precompiled headers.
51609 # Permission is given to use this file in any way.
51619 while test ${D}{#} -gt 0; do
51623 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
51624 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51625 headerfile="${D}{incdir}/${D}{header}"
51628 -use-pch|-use_pch )
51633 if test ${D}add_to_cmdline = 1 ; then
51634 compiler="${D}{compiler} ${D}{1}"
51639 if test "x${D}{headerfile}" = "x" ; then
51640 echo "error: can't find header ${D}{header} in include paths" >&2
51642 if test -f ${D}{outfile} ; then
51643 rm -f ${D}{outfile}
51645 mkdir -p \`dirname ${D}{outfile
}\
`
51647 depsfile=".deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
51649 if test "x${GCC_PCH}" = "x1" ; then
51650 # can do this because gcc is >= 3.4:
51651 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51652 elif test "x${ICC_PCH}" = "x1" ; then
51653 filename=pch_gen-${D}${D}
51654 file=${D}{filename}.c
51655 dfile=${D}{filename}.d
51656 cat > ${D}file <<EOT
51657 #include "${D}header"
51659 # using -MF icc complains about differing command lines in creation/use
51660 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51661 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51662 rm -f ${D}file ${D}dfile ${D}{filename}.o
51668 chmod +x bk-make-pch
51669 BK_MAKE_PCH="`pwd`/bk-make-pch"
51678 COND_BUILD_DEBUG="#"
51679 if test "x$BUILD" = "xdebug" ; then
51680 COND_BUILD_DEBUG=""
51683 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51684 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51685 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51688 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51689 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51690 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51693 COND_BUILD_DEBUG_UNICODE_0="#"
51694 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51695 COND_BUILD_DEBUG_UNICODE_0=""
51698 COND_BUILD_DEBUG_UNICODE_1="#"
51699 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51700 COND_BUILD_DEBUG_UNICODE_1=""
51703 COND_BUILD_RELEASE="#"
51704 if test "x$BUILD" = "xrelease" ; then
51705 COND_BUILD_RELEASE=""
51708 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51709 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51710 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51713 COND_BUILD_RELEASE_UNICODE_0="#"
51714 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51715 COND_BUILD_RELEASE_UNICODE_0=""
51718 COND_BUILD_RELEASE_UNICODE_1="#"
51719 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51720 COND_BUILD_RELEASE_UNICODE_1=""
51723 COND_DEBUG_FLAG_1="#"
51724 if test "x$DEBUG_FLAG" = "x1" ; then
51725 COND_DEBUG_FLAG_1=""
51728 COND_DEBUG_INFO_0="#"
51729 if test "x$DEBUG_INFO" = "x0" ; then
51730 COND_DEBUG_INFO_0=""
51733 COND_DEBUG_INFO_1="#"
51734 if test "x$DEBUG_INFO" = "x1" ; then
51735 COND_DEBUG_INFO_1=""
51738 COND_DEPS_TRACKING_0="#"
51739 if test "x$DEPS_TRACKING" = "x0" ; then
51740 COND_DEPS_TRACKING_0=""
51743 COND_DEPS_TRACKING_1="#"
51744 if test "x$DEPS_TRACKING" = "x1" ; then
51745 COND_DEPS_TRACKING_1=""
51749 if test "x$GCC_PCH" = "x1" ; then
51754 if test "x$ICC_PCH" = "x1" ; then
51758 COND_MONOLITHIC_0="#"
51759 if test "x$MONOLITHIC" = "x0" ; then
51760 COND_MONOLITHIC_0=""
51763 COND_MONOLITHIC_0_SHARED_0="#"
51764 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51765 COND_MONOLITHIC_0_SHARED_0=""
51768 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51769 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51770 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51773 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51774 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51775 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51778 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51779 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51780 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51783 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51784 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51785 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51788 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51789 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51790 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51793 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51794 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51795 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51798 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51799 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51800 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51803 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51804 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51805 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51808 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51809 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51810 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51813 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51814 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51815 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51818 COND_MONOLITHIC_0_SHARED_1="#"
51819 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51820 COND_MONOLITHIC_0_SHARED_1=""
51823 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51824 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51825 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51829 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51834 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51835 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51839 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51844 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51848 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51849 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51850 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51853 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51854 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51855 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51858 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51859 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51860 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51863 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51864 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51865 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51868 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51869 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51870 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51873 COND_MONOLITHIC_0_USE_AUI_1="#"
51874 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51875 COND_MONOLITHIC_0_USE_AUI_1=""
51878 COND_MONOLITHIC_0_USE_GUI_1="#"
51879 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51880 COND_MONOLITHIC_0_USE_GUI_1=""
51883 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51884 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51885 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51888 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51889 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51890 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51893 COND_MONOLITHIC_0_USE_HTML_1="#"
51894 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51895 COND_MONOLITHIC_0_USE_HTML_1=""
51898 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51899 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51900 COND_MONOLITHIC_0_USE_MEDIA_1=""
51903 COND_MONOLITHIC_0_USE_ODBC_1="#"
51904 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51905 COND_MONOLITHIC_0_USE_ODBC_1=""
51908 COND_MONOLITHIC_0_USE_QA_1="#"
51909 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51910 COND_MONOLITHIC_0_USE_QA_1=""
51913 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51914 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51915 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51918 COND_MONOLITHIC_0_USE_STC_1="#"
51919 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51920 COND_MONOLITHIC_0_USE_STC_1=""
51923 COND_MONOLITHIC_0_USE_XRC_1="#"
51924 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51925 COND_MONOLITHIC_0_USE_XRC_1=""
51928 COND_MONOLITHIC_1="#"
51929 if test "x$MONOLITHIC" = "x1" ; then
51930 COND_MONOLITHIC_1=""
51933 COND_MONOLITHIC_1_SHARED_0="#"
51934 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51935 COND_MONOLITHIC_1_SHARED_0=""
51938 COND_MONOLITHIC_1_SHARED_1="#"
51939 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51940 COND_MONOLITHIC_1_SHARED_1=""
51943 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51944 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51945 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51948 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51949 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51950 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51953 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51954 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51955 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51958 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51959 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51960 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51963 COND_PLATFORM_MACOSX_1="#"
51964 if test "x$PLATFORM_MACOSX" = "x1" ; then
51965 COND_PLATFORM_MACOSX_1=""
51968 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51969 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51970 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51973 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51974 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51975 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51978 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51979 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51980 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51983 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51984 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51985 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51988 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51989 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51990 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51993 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51994 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51995 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51998 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51999 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52000 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52003 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52004 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52005 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52008 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52009 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52010 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52013 COND_PLATFORM_MACOS_1="#"
52014 if test "x$PLATFORM_MACOS" = "x1" ; then
52015 COND_PLATFORM_MACOS_1=""
52018 COND_PLATFORM_MAC_1="#"
52019 if test "x$PLATFORM_MAC" = "x1" ; then
52020 COND_PLATFORM_MAC_1=""
52023 COND_PLATFORM_MSDOS_0="#"
52024 if test "x$PLATFORM_MSDOS" = "x0" ; then
52025 COND_PLATFORM_MSDOS_0=""
52028 COND_PLATFORM_MSDOS_1="#"
52029 if test "x$PLATFORM_MSDOS" = "x1" ; then
52030 COND_PLATFORM_MSDOS_1=""
52033 COND_PLATFORM_OS2_1="#"
52034 if test "x$PLATFORM_OS2" = "x1" ; then
52035 COND_PLATFORM_OS2_1=""
52038 COND_PLATFORM_UNIX_0="#"
52039 if test "x$PLATFORM_UNIX" = "x0" ; then
52040 COND_PLATFORM_UNIX_0=""
52043 COND_PLATFORM_UNIX_1="#"
52044 if test "x$PLATFORM_UNIX" = "x1" ; then
52045 COND_PLATFORM_UNIX_1=""
52048 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52049 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52050 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52053 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52054 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52055 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52058 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52059 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52060 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52063 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52064 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52065 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52068 COND_PLATFORM_WIN32_0="#"
52069 if test "x$PLATFORM_WIN32" = "x0" ; then
52070 COND_PLATFORM_WIN32_0=""
52073 COND_PLATFORM_WIN32_1="#"
52074 if test "x$PLATFORM_WIN32" = "x1" ; then
52075 COND_PLATFORM_WIN32_1=""
52079 if test "x$SHARED" = "x0" ; then
52083 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52084 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52085 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52088 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52089 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52090 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52093 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52094 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52095 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52098 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52099 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52100 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52103 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52104 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52105 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52108 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52109 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52110 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52113 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52114 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52115 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52118 COND_SHARED_0_USE_STC_1="#"
52119 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52120 COND_SHARED_0_USE_STC_1=""
52123 COND_SHARED_0_USE_XRC_1="#"
52124 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52125 COND_SHARED_0_USE_XRC_1=""
52128 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52129 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52130 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52133 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52134 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52135 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52138 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52139 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52140 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52143 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52144 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52145 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52149 if test "x$SHARED" = "x1" ; then
52153 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52154 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52155 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52158 COND_SHARED_1_USE_XRC_1="#"
52159 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52160 COND_SHARED_1_USE_XRC_1=""
52164 if test "x$TOOLKIT" = "x" ; then
52168 COND_TOOLKIT_COCOA="#"
52169 if test "x$TOOLKIT" = "xCOCOA" ; then
52170 COND_TOOLKIT_COCOA=""
52173 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52174 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52175 COND_TOOLKIT_COCOA_USE_GUI_1=""
52178 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52179 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52180 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52183 COND_TOOLKIT_DFB="#"
52184 if test "x$TOOLKIT" = "xDFB" ; then
52185 COND_TOOLKIT_DFB=""
52188 COND_TOOLKIT_DFB_USE_GUI_1="#"
52189 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52190 COND_TOOLKIT_DFB_USE_GUI_1=""
52193 COND_TOOLKIT_GTK="#"
52194 if test "x$TOOLKIT" = "xGTK" ; then
52195 COND_TOOLKIT_GTK=""
52198 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52199 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52200 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52203 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52204 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52205 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52208 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52209 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52210 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52213 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52214 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52215 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52218 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52219 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52220 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52223 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52224 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52225 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52228 COND_TOOLKIT_GTK_USE_GUI_1="#"
52229 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52230 COND_TOOLKIT_GTK_USE_GUI_1=""
52233 COND_TOOLKIT_MAC="#"
52234 if test "x$TOOLKIT" = "xMAC" ; then
52235 COND_TOOLKIT_MAC=""
52238 COND_TOOLKIT_MAC_USE_GUI_1="#"
52239 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52240 COND_TOOLKIT_MAC_USE_GUI_1=""
52243 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52244 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52245 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52248 COND_TOOLKIT_MGL="#"
52249 if test "x$TOOLKIT" = "xMGL" ; then
52250 COND_TOOLKIT_MGL=""
52253 COND_TOOLKIT_MGL_USE_GUI_1="#"
52254 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52255 COND_TOOLKIT_MGL_USE_GUI_1=""
52258 COND_TOOLKIT_MOTIF="#"
52259 if test "x$TOOLKIT" = "xMOTIF" ; then
52260 COND_TOOLKIT_MOTIF=""
52263 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52264 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52265 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52268 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52269 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52270 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52273 COND_TOOLKIT_MSW="#"
52274 if test "x$TOOLKIT" = "xMSW" ; then
52275 COND_TOOLKIT_MSW=""
52278 COND_TOOLKIT_MSW_USE_GUI_1="#"
52279 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52280 COND_TOOLKIT_MSW_USE_GUI_1=""
52283 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52284 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52285 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52288 COND_TOOLKIT_MSW_WXUNIV_0="#"
52289 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52290 COND_TOOLKIT_MSW_WXUNIV_0=""
52293 COND_TOOLKIT_PM="#"
52294 if test "x$TOOLKIT" = "xPM" ; then
52298 COND_TOOLKIT_PM_USE_GUI_1="#"
52299 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52300 COND_TOOLKIT_PM_USE_GUI_1=""
52303 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52304 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52305 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52308 COND_TOOLKIT_WINCE="#"
52309 if test "x$TOOLKIT" = "xWINCE" ; then
52310 COND_TOOLKIT_WINCE=""
52313 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52314 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52315 COND_TOOLKIT_WINCE_USE_GUI_1=""
52318 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52319 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52320 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52323 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52324 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52325 COND_TOOLKIT_WINCE_WXUNIV_0=""
52328 COND_TOOLKIT_X11="#"
52329 if test "x$TOOLKIT" = "xX11" ; then
52330 COND_TOOLKIT_X11=""
52333 COND_TOOLKIT_X11_USE_GUI_1="#"
52334 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52335 COND_TOOLKIT_X11_USE_GUI_1=""
52339 if test "x$UNICODE" = "x1" ; then
52343 COND_USE_EXCEPTIONS_0="#"
52344 if test "x$USE_EXCEPTIONS" = "x0" ; then
52345 COND_USE_EXCEPTIONS_0=""
52348 COND_USE_EXCEPTIONS_1="#"
52349 if test "x$USE_EXCEPTIONS" = "x1" ; then
52350 COND_USE_EXCEPTIONS_1=""
52354 if test "x$USE_GUI" = "x0" ; then
52359 if test "x$USE_GUI" = "x1" ; then
52363 COND_USE_GUI_1_USE_OPENGL_1="#"
52364 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52365 COND_USE_GUI_1_USE_OPENGL_1=""
52368 COND_USE_GUI_1_WXUNIV_0="#"
52369 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52370 COND_USE_GUI_1_WXUNIV_0=""
52373 COND_USE_GUI_1_WXUNIV_1="#"
52374 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52375 COND_USE_GUI_1_WXUNIV_1=""
52378 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52379 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52380 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52383 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52384 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52385 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52388 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52389 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52390 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52393 COND_USE_ODBC_1="#"
52394 if test "x$USE_ODBC" = "x1" ; then
52398 COND_USE_OPENGL_1="#"
52399 if test "x$USE_OPENGL" = "x1" ; then
52400 COND_USE_OPENGL_1=""
52404 if test "x$USE_PCH" = "x1" ; then
52408 COND_USE_PLUGINS_0="#"
52409 if test "x$USE_PLUGINS" = "x0" ; then
52410 COND_USE_PLUGINS_0=""
52413 COND_USE_RTTI_0="#"
52414 if test "x$USE_RTTI" = "x0" ; then
52418 COND_USE_RTTI_1="#"
52419 if test "x$USE_RTTI" = "x1" ; then
52423 COND_USE_SOSYMLINKS_1="#"
52424 if test "x$USE_SOSYMLINKS" = "x1" ; then
52425 COND_USE_SOSYMLINKS_1=""
52428 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52429 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52430 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52433 COND_USE_SOVERLINUX_1="#"
52434 if test "x$USE_SOVERLINUX" = "x1" ; then
52435 COND_USE_SOVERLINUX_1=""
52438 COND_USE_SOVERSION_0="#"
52439 if test "x$USE_SOVERSION" = "x0" ; then
52440 COND_USE_SOVERSION_0=""
52443 COND_USE_SOVERSOLARIS_1="#"
52444 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52445 COND_USE_SOVERSOLARIS_1=""
52449 if test "x$USE_STC" = "x1" ; then
52453 COND_USE_THREADS_0="#"
52454 if test "x$USE_THREADS" = "x0" ; then
52455 COND_USE_THREADS_0=""
52458 COND_USE_THREADS_1="#"
52459 if test "x$USE_THREADS" = "x1" ; then
52460 COND_USE_THREADS_1=""
52464 if test "x$USE_XRC" = "x1" ; then
52468 COND_WINDOWS_IMPLIB_1="#"
52469 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52470 COND_WINDOWS_IMPLIB_1=""
52473 COND_WITH_PLUGIN_SDL_1="#"
52474 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52475 COND_WITH_PLUGIN_SDL_1=""
52479 if test "x$WXUNIV" = "x0" ; then
52484 if test "x$WXUNIV" = "x1" ; then
52488 COND_WXUSE_EXPAT_BUILTIN="#"
52489 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52490 COND_WXUSE_EXPAT_BUILTIN=""
52493 COND_WXUSE_LIBJPEG_BUILTIN="#"
52494 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52495 COND_WXUSE_LIBJPEG_BUILTIN=""
52498 COND_WXUSE_LIBPNG_BUILTIN="#"
52499 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52500 COND_WXUSE_LIBPNG_BUILTIN=""
52503 COND_WXUSE_LIBTIFF_BUILTIN="#"
52504 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52505 COND_WXUSE_LIBTIFF_BUILTIN=""
52508 COND_WXUSE_ODBC_BUILTIN="#"
52509 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52510 COND_WXUSE_ODBC_BUILTIN=""
52513 COND_WXUSE_REGEX_BUILTIN="#"
52514 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52515 COND_WXUSE_REGEX_BUILTIN=""
52518 COND_WXUSE_ZLIB_BUILTIN="#"
52519 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52520 COND_WXUSE_ZLIB_BUILTIN=""
52525 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52526 { { echo "$as_me:$LINENO: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&5
52527 echo "$as_me: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&2;}
52528 { (exit 1); exit 1; }; }
52531 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52532 { { echo "$as_me:$LINENO: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&5
52533 echo "$as_me: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&2;}
52534 { (exit 1); exit 1; }; }
52538 if test $GCC_PCH = 1
52540 if test "$wx_cv_gcc_pch_bug" = yes; then
52541 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52542 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52543 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52544 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52545 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52546 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52549 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52553 if test "$wxUSE_MAC" = 1 ; then
52554 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52555 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52561 if test "$wxUSE_SHARED" = "yes"; then
52563 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52564 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52567 *-pc-os2_emx | *-pc-os2-emx )
52568 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52569 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52570 cp -p ${srcdir}/src/os2/dllnames.sh .
52571 cp -p ${srcdir}/src/os2/dllar.sh .
52576 EXE_LINKER="$CXX -o"
52579 if test "$wxUSE_OMF" = "yes"; then
52581 *-pc-os2_emx | *-pc-os2-emx )
52582 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52583 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52584 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52589 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52594 if "$GCC" = yes; then
52595 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52596 LIBS=`echo $LIBS | sed 's/-mt//'`
52597 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52602 if test "x$SUNCXX" = xyes; then
52603 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52604 LIBS=`echo $LIBS | sed 's/-pthread//'`
52605 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52610 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52611 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52613 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52675 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52676 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52677 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52678 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52679 echo $ECHO_N "(cached) $ECHO_C" >&6
52681 cat >conftest.make <<\_ACEOF
52684 @echo '@@@%%%=$(MAKE)=@@@%%%'
52686 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52687 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
52688 *@@@%%%=?*=@@@%%%*)
52689 eval ac_cv_prog_make_${ac_make}_set=yes;;
52691 eval ac_cv_prog_make_${ac_make}_set=no;;
52693 rm -f conftest.make
52695 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52696 { echo "$as_me:$LINENO: result: yes" >&5
52697 echo "${ECHO_T}yes" >&6; }
52700 { echo "$as_me:$LINENO: result: no" >&5
52701 echo "${ECHO_T}no" >&6; }
52702 SET_MAKE="MAKE=${MAKE-make}"
52707 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52710 if test "$USE_WIN32" = 1; then
52711 ac_config_commands="$ac_config_commands
52717 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52720 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52723 if test "$wx_cv_version_script" = "yes"; then
52724 ac_config_files="$ac_config_files version-script"
52727 ac_config_files="$ac_config_files Makefile"
52730 ac_config_commands="$ac_config_commands wx-config"
52734 if test "$wxWITH_SUBDIRS" != "no"; then
52735 if test "$wxUSE_GUI" = "yes"; then
52736 SUBDIRS="samples demos utils"
52737 else SUBDIRS="samples utils"
52742 # Check whether --with-cppunit-prefix was given.
52743 if test "${with_cppunit_prefix+set}" = set; then
52744 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52746 cppunit_config_prefix=""
52750 # Check whether --with-cppunit-exec-prefix was given.
52751 if test "${with_cppunit_exec_prefix+set}" = set; then
52752 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52754 cppunit_config_exec_prefix=""
52758 if test x$cppunit_config_exec_prefix != x ; then
52759 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52760 if test x${CPPUNIT_CONFIG+set} != xset ; then
52761 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52764 if test x$cppunit_config_prefix != x ; then
52765 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52766 if test x${CPPUNIT_CONFIG+set} != xset ; then
52767 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52771 # Extract the first word of "cppunit-config", so it can be a program name with args.
52772 set dummy cppunit-config; ac_word=$2
52773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52775 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52776 echo $ECHO_N "(cached) $ECHO_C" >&6
52778 case $CPPUNIT_CONFIG in
52780 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52784 for as_dir in $PATH
52787 test -z "$as_dir" && as_dir=.
52788 for ac_exec_ext in '' $ac_executable_extensions; do
52789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52790 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52798 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52802 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52803 if test -n "$CPPUNIT_CONFIG"; then
52804 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52805 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52807 { echo "$as_me:$LINENO: result: no" >&5
52808 echo "${ECHO_T}no" >&6; }
52812 cppunit_version_min=1.8.0
52814 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52815 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52817 if test "$CPPUNIT_CONFIG" = "no" ; then
52818 { echo "$as_me:$LINENO: result: no" >&5
52819 echo "${ECHO_T}no" >&6; }
52822 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52823 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52824 cppunit_version=`$CPPUNIT_CONFIG --version`
52826 cppunit_major_version=`echo $cppunit_version | \
52827 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52828 cppunit_minor_version=`echo $cppunit_version | \
52829 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52830 cppunit_micro_version=`echo $cppunit_version | \
52831 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52833 cppunit_major_min=`echo $cppunit_version_min | \
52834 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52835 cppunit_minor_min=`echo $cppunit_version_min | \
52836 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52837 cppunit_micro_min=`echo $cppunit_version_min | \
52838 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52840 cppunit_version_proper=`expr \
52841 $cppunit_major_version \
> $cppunit_major_min \
| \
52842 $cppunit_major_version \
= $cppunit_major_min \
& \
52843 $cppunit_minor_version \
> $cppunit_minor_min \
| \
52844 $cppunit_major_version \
= $cppunit_major_min \
& \
52845 $cppunit_minor_version \
= $cppunit_minor_min \
& \
52846 $cppunit_micro_version \
>= $cppunit_micro_min `
52848 if test "$cppunit_version_proper" = "1" ; then
52849 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52850 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52852 { echo "$as_me:$LINENO: result: no" >&5
52853 echo "${ECHO_T}no" >&6; }
52858 if test "x$no_cppunit" = x ; then
52859 SUBDIRS="$SUBDIRS tests"
52870 for subdir in `echo $SUBDIRS`; do
52871 if test -d ${srcdir}/${subdir} ; then
52872 if test "$wxUSE_GUI" = "yes"; then
52873 if test ${subdir} = "samples"; then
52874 makefiles="samples/Makefile.in $makefiles"
52875 for sample in `echo $SAMPLES_SUBDIRS`; do
52876 if test -d $srcdir/samples/$sample; then
52877 makefiles="samples/$sample/Makefile.in $makefiles"
52881 disabled_var=DISABLED_`echo $subdir | tr [a
-z] [A
-Z]`;
52882 eval "disabled=\$$disabled_var"
52883 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
52884 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
52886 else if test ${subdir} = "samples"; then
52887 makefiles="samples/Makefile.in samples/console/Makefile.in"
52888 elif test ${subdir} = "utils"; then
52890 for util in HelpGen tex2rtf ; do
52891 if test -d $srcdir/utils/$util ; then
52892 makefiles="utils/$util/Makefile.in \
52893 utils/$util/src/Makefile.in \
52897 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
52901 for mkin in $makefiles ; do
52902 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52903 ac_config_files="$ac_config_files $mk"
52909 cat >confcache <<\_ACEOF
52910 # This file is a shell script that caches the results of configure
52911 # tests run on this system so they can be shared between configure
52912 # scripts and configure runs, see configure's option --config-cache.
52913 # It is not useful on other systems. If it contains results you don't
52914 # want to keep, you may remove or edit it.
52916 # config.status only pays attention to the cache file if you give it
52917 # the --recheck option to rerun configure.
52919 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
52920 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52921 # following values.
52925 # The following way of writing the cache mishandles newlines in values,
52926 # but we know of no workaround that is simple, portable, and efficient.
52927 # So, we kill variables containing newlines.
52928 # Ultrix sh set writes to stderr and can't be redirected directly,
52929 # and sets the high bit in the cache file unless we assign to the vars.
52931 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52932 eval ac_val
=\$
$ac_var
52936 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52937 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52940 _
| IFS
| as_nl
) ;; #(
52941 *) $as_unset $ac_var ;;
52947 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52948 *${as_nl}ac_space
=\
*)
52949 # `set' does not quote correctly, so add quotes (double-quote
52950 # substitution turns \\\\ into \\, and sed turns \\ into \).
52953 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52956 # `set' quotes correctly as required by POSIX, so do not add quotes.
52957 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52966 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52968 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52970 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
52971 if test -w "$cache_file"; then
52972 test "x$cache_file" != "x/dev/null" &&
52973 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52974 echo "$as_me: updating cache $cache_file" >&6;}
52975 cat confcache
>$cache_file
52977 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52978 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52983 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
52984 # Let make expand exec_prefix.
52985 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
52987 DEFS
=-DHAVE_CONFIG_H
52991 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
52992 # 1. Remove the extension, and $U if already installed.
52993 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
52994 ac_i
=`echo "$ac_i" | sed "$ac_script"`
52995 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52996 # will be set to the directory where LIBOBJS objects are built.
52997 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52998 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53000 LIBOBJS
=$ac_libobjs
53002 LTLIBOBJS
=$ac_ltlibobjs
53006 : ${CONFIG_STATUS=./config.status}
53007 ac_clean_files_save
=$ac_clean_files
53008 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
53009 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53010 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53011 cat >$CONFIG_STATUS <<_ACEOF
53013 # Generated by $as_me.
53014 # Run this file to recreate the current configuration.
53015 # Compiler output produced by configure, useful for debugging
53016 # configure, is in config.log if it exists.
53019 ac_cs_recheck=false
53021 SHELL=\${CONFIG_SHELL-$SHELL}
53024 cat >>$CONFIG_STATUS <<\_ACEOF
53025 ## --------------------- ##
53026 ## M4sh Initialization. ##
53027 ## --------------------- ##
53029 # Be more Bourne compatible
53030 DUALCASE
=1; export DUALCASE
# for MKS sh
53031 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
53034 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53035 # is contrary to our usage. Disable this feature.
53036 alias -g '${1+"$@"}'='"$@"'
53037 setopt NO_GLOB_SUBST
53039 case `(set -o) 2>/dev/null` in
53040 *posix
*) set -o posix
;;
53049 # Avoid depending upon Character Ranges.
53050 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
53051 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53052 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
53053 as_cr_digits
='0123456789'
53054 as_cr_alnum
=$as_cr_Letters$as_cr_digits
53056 # The user is always right.
53057 if test "${PATH_SEPARATOR+set}" != set; then
53058 echo "#! /bin/sh" >conf$$.sh
53059 echo "exit 0" >>conf$$.sh
53061 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53069 # Support unset when possible.
53070 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
53078 # We need space, tab and new line, in precisely that order. Quoting is
53079 # there to prevent editors from complaining about space-tab.
53080 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53081 # splitting by setting IFS to empty value.)
53086 # Find who we are. Look in the path if we contain no directory separator.
53088 *[\\/]* ) as_myself
=$0 ;;
53089 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53090 for as_dir
in $PATH
53093 test -z "$as_dir" && as_dir
=.
53094 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
53100 # We did not find ourselves, most probably we were run as `sh COMMAND'
53101 # in which case we are not to be found in the path.
53102 if test "x$as_myself" = x
; then
53105 if test ! -f "$as_myself"; then
53106 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53107 { (exit 1); exit 1; }
53110 # Work around bugs in pre-3.0 UWIN ksh.
53111 for as_var
in ENV MAIL MAILPATH
53112 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53120 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53121 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53122 LC_TELEPHONE LC_TIME
53124 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53125 eval $as_var=C
; export $as_var
53127 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53131 # Required to use basename.
53132 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53133 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53139 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53140 as_basename
=basename
53146 # Name of the executable.
53147 as_me
=`$as_basename -- "$0" ||
53148 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53149 X"$0" : 'X\(//\)$' \| \
53150 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53152 sed '/^.*\/\([^/][^/]*\)\/*$/{
53171 as_lineno_1
=$LINENO
53172 as_lineno_2
=$LINENO
53173 test "x$as_lineno_1" != "x$as_lineno_2" &&
53174 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53176 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53177 # uniformly replaced by the line number. The first 'sed' inserts a
53178 # line-number line after each line using $LINENO; the second 'sed'
53179 # does the real work. The second script uses 'N' to pair each
53180 # line-number line with the line containing $LINENO, and appends
53181 # trailing '-' during substitution so that $LINENO is not a special
53182 # case at line end.
53183 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53184 # scripts with optimization help from Paolo Bonzini. Blame Lee
53185 # E. McMahon (1931-1989) for sed's syntax. :-)
53197 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53200 ' >$as_me.lineno
&&
53201 chmod +x
"$as_me.lineno" ||
53202 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53203 { (exit 1); exit 1; }; }
53205 # Don't try to exec as it changes $[0], causing all sort of problems
53206 # (the dirname of $[0] is not the place where we might find the
53207 # original and so on. Autoconf is especially sensitive to this).
53208 .
"./$as_me.lineno"
53209 # Exit status is that of the last command.
53214 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
53220 ECHO_C
= ECHO_N
= ECHO_T
=
53221 case `echo -n x` in
53223 case `echo 'x\c'` in
53224 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
53231 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53232 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53238 rm -f conf$$ conf$$.exe conf$$.
file
53239 if test -d conf$$.dir
; then
53240 rm -f conf$$.dir
/conf$$.
file
53246 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
53248 # ... but there are two gotchas:
53249 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53250 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53251 # In both cases, we have to default to `cp -p'.
53252 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
53254 elif ln conf$$.
file conf$$
2>/dev
/null
; then
53259 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
53260 rmdir conf$$.dir
2>/dev
/null
53262 if mkdir -p .
2>/dev
/null
; then
53265 test -d .
/-p && rmdir .
/-p
53269 if test -x / >/dev
/null
2>&1; then
53270 as_test_x
='test -x'
53272 if ls -dL / >/dev
/null
2>&1; then
53279 if test -d "$1"; then
53285 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53286 ???[sx]*):;;*)false;;esac;fi
53290 as_executable_p
=$as_test_x
53292 # Sed expression to map a string onto a valid CPP name.
53293 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53295 # Sed expression to map a string onto a valid variable name.
53296 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53301 # Save the log message, to keep $[0] and so on meaningful, and to
53302 # report actual input values of CONFIG_FILES etc. instead of their
53303 # values after options handling.
53305 This file was extended by wxWidgets $as_me 2.9.0, which was
53306 generated by GNU Autoconf 2.61. Invocation command line was
53308 CONFIG_FILES = $CONFIG_FILES
53309 CONFIG_HEADERS = $CONFIG_HEADERS
53310 CONFIG_LINKS = $CONFIG_LINKS
53311 CONFIG_COMMANDS = $CONFIG_COMMANDS
53314 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53319 cat >>$CONFIG_STATUS <<_ACEOF
53320 # Files that config.status was made for.
53321 config_files="$ac_config_files"
53322 config_headers="$ac_config_headers"
53323 config_commands="$ac_config_commands"
53327 cat >>$CONFIG_STATUS <<\_ACEOF
53329 \`$as_me' instantiates files from templates according to the
53330 current configuration.
53332 Usage: $0 [OPTIONS] [FILE]...
53334 -h, --help print this help, then exit
53335 -V, --version print version number and configuration settings, then exit
53336 -q, --quiet do not print progress messages
53337 -d, --debug don't remove temporary files
53338 --recheck update $as_me by reconfiguring in the same conditions
53339 --file=FILE[:TEMPLATE]
53340 instantiate the configuration file FILE
53341 --header=FILE[:TEMPLATE]
53342 instantiate the configuration header FILE
53344 Configuration files:
53347 Configuration headers:
53350 Configuration commands:
53353 Report bugs to <bug-autoconf@gnu.org>."
53356 cat >>$CONFIG_STATUS <<_ACEOF
53358 wxWidgets config.status 2.9.0
53359 configured by $0, generated by GNU Autoconf 2.61,
53360 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53362 Copyright (C) 2006 Free Software Foundation, Inc.
53363 This config.status script is free software; the Free Software Foundation
53364 gives unlimited permission to copy, distribute and modify it."
53371 cat >>$CONFIG_STATUS <<\_ACEOF
53372 # If no file are specified by the user, then we need to provide default
53373 # value. By we need to know if files were specified by the user.
53379 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53380 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
53391 # Handling of the options.
53392 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53394 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53395 echo "$ac_cs_version"; exit ;;
53396 --debug | --debu | --deb | --de | --d | -d )
53398 --file | --fil | --fi | --f )
53400 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53401 ac_need_defaults
=false
;;
53402 --header | --heade | --head | --hea )
53404 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53405 ac_need_defaults
=false
;;
53407 # Conflict between --help and --header
53408 { echo "$as_me: error: ambiguous option: $1
53409 Try \`$0 --help' for more information." >&2
53410 { (exit 1); exit 1; }; };;
53411 --help | --hel | -h )
53412 echo "$ac_cs_usage"; exit ;;
53413 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53414 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53417 # This is an error.
53418 -*) { echo "$as_me: error: unrecognized option: $1
53419 Try \`$0 --help' for more information." >&2
53420 { (exit 1); exit 1; }; } ;;
53422 *) ac_config_targets
="$ac_config_targets $1"
53423 ac_need_defaults
=false
;;
53429 ac_configure_extra_args
=
53431 if $ac_cs_silent; then
53433 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53437 cat >>$CONFIG_STATUS <<_ACEOF
53438 if \$ac_cs_recheck; then
53439 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53440 CONFIG_SHELL=$SHELL
53441 export CONFIG_SHELL
53442 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53446 cat >>$CONFIG_STATUS <<\_ACEOF
53450 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53451 ## Running $as_me. ##
53457 cat >>$CONFIG_STATUS <<_ACEOF
53463 infile="$srcdir/include/wx/msw/genrcdefs.h"
53464 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53467 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53468 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53469 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53475 cat >>$CONFIG_STATUS <<\_ACEOF
53477 # Handling of arguments.
53478 for ac_config_target
in $ac_config_targets
53480 case $ac_config_target in
53481 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53482 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53483 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53484 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53485 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53486 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53487 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53488 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53490 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53491 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53492 { (exit 1); exit 1; }; };;
53497 # If the user did not use the arguments to specify the items to instantiate,
53498 # then the envvar interface is used. Set only those that are not.
53499 # We use the long form for the default assignment because of an extremely
53500 # bizarre bug on SunOS 4.1.3.
53501 if $ac_need_defaults; then
53502 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53503 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53504 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53507 # Have a temporary directory for convenience. Make it in the build tree
53508 # simply because there is no reason against having it here, and in addition,
53509 # creating and moving files from /tmp can sometimes cause problems.
53510 # Hook for its removal unless debugging.
53511 # Note that there is a small window in which the directory will not be cleaned:
53512 # after its creation but before its name has been assigned to `$tmp'.
53516 trap 'exit_status=$?
53517 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53519 trap '{ (exit 1); exit 1; }' 1 2 13 15
53521 # Create a (secure) tmp directory for tmp files.
53524 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53525 test -n "$tmp" && test -d "$tmp"
53528 tmp
=.
/conf$$
-$RANDOM
53529 (umask 077 && mkdir "$tmp")
53532 echo "$me: cannot create a temporary directory in ." >&2
53533 { (exit 1); exit 1; }
53537 # Set up the sed scripts for CONFIG_FILES section.
53540 # No need to generate the scripts if there are no CONFIG_FILES.
53541 # This happens for instance when ./config.status config.h
53542 if test -n "$CONFIG_FILES"; then
53549 for ac_last_try
in false false false false false
:; do
53550 cat >conf$
$subs.
sed <<_ACEOF
53551 SHELL!$SHELL$ac_delim
53552 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53553 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53554 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53555 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53556 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53557 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53558 exec_prefix!$exec_prefix$ac_delim
53559 prefix!$prefix$ac_delim
53560 program_transform_name!$program_transform_name$ac_delim
53561 bindir!$bindir$ac_delim
53562 sbindir!$sbindir$ac_delim
53563 libexecdir!$libexecdir$ac_delim
53564 datarootdir!$datarootdir$ac_delim
53565 datadir!$datadir$ac_delim
53566 sysconfdir!$sysconfdir$ac_delim
53567 sharedstatedir!$sharedstatedir$ac_delim
53568 localstatedir!$localstatedir$ac_delim
53569 includedir!$includedir$ac_delim
53570 oldincludedir!$oldincludedir$ac_delim
53571 docdir!$docdir$ac_delim
53572 infodir!$infodir$ac_delim
53573 htmldir!$htmldir$ac_delim
53574 dvidir!$dvidir$ac_delim
53575 pdfdir!$pdfdir$ac_delim
53576 psdir!$psdir$ac_delim
53577 libdir!$libdir$ac_delim
53578 localedir!$localedir$ac_delim
53579 mandir!$mandir$ac_delim
53580 DEFS!$DEFS$ac_delim
53581 ECHO_C!$ECHO_C$ac_delim
53582 ECHO_N!$ECHO_N$ac_delim
53583 ECHO_T!$ECHO_T$ac_delim
53584 LIBS!$LIBS$ac_delim
53585 build_alias!$build_alias$ac_delim
53586 host_alias!$host_alias$ac_delim
53587 target_alias!$target_alias$ac_delim
53588 build!$build$ac_delim
53589 build_cpu!$build_cpu$ac_delim
53590 build_vendor!$build_vendor$ac_delim
53591 build_os!$build_os$ac_delim
53592 host!$host$ac_delim
53593 host_cpu!$host_cpu$ac_delim
53594 host_vendor!$host_vendor$ac_delim
53595 host_os!$host_os$ac_delim
53596 target!$target$ac_delim
53597 target_cpu!$target_cpu$ac_delim
53598 target_vendor!$target_vendor$ac_delim
53599 target_os!$target_os$ac_delim
53600 wx_top_builddir!$wx_top_builddir$ac_delim
53602 CFLAGS!$CFLAGS$ac_delim
53603 LDFLAGS!$LDFLAGS$ac_delim
53604 CPPFLAGS!$CPPFLAGS$ac_delim
53605 ac_ct_CC!$ac_ct_CC$ac_delim
53606 EXEEXT!$EXEEXT$ac_delim
53607 OBJEXT!$OBJEXT$ac_delim
53609 GREP!$GREP$ac_delim
53610 EGREP!$EGREP$ac_delim
53612 CXXFLAGS!$CXXFLAGS$ac_delim
53613 ac_ct_CXX!$ac_ct_CXX$ac_delim
53614 RANLIB!$RANLIB$ac_delim
53616 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53617 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53618 INSTALL_DATA!$INSTALL_DATA$ac_delim
53619 STRIP!$STRIP$ac_delim
53620 WINDRES!$WINDRES$ac_delim
53621 DLLTOOL!$DLLTOOL$ac_delim
53622 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53623 LN_S!$LN_S$ac_delim
53624 subdirs!$subdirs$ac_delim
53625 PKG_CONFIG!$PKG_CONFIG$ac_delim
53626 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53627 GTK_LIBS!$GTK_LIBS$ac_delim
53628 GTK_CONFIG!$GTK_CONFIG$ac_delim
53629 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53630 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53631 XMKMF!$XMKMF$ac_delim
53632 X_CFLAGS!$X_CFLAGS$ac_delim
53633 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53634 X_LIBS!$X_LIBS$ac_delim
53635 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53636 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53637 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53638 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53639 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53640 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53641 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53642 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53643 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53645 DEREZ!$DEREZ$ac_delim
53646 SETFILE!$SETFILE$ac_delim
53647 LIBICONV!$LIBICONV$ac_delim
53650 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53652 elif $ac_last_try; then
53653 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53654 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53655 { (exit 1); exit 1; }; }
53657 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53661 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53662 if test -n "$ac_eof"; then
53663 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53664 ac_eof
=`expr $ac_eof + 1`
53667 cat >>$CONFIG_STATUS <<_ACEOF
53668 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53669 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53672 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53673 s/^/s,@/; s/!/@,|#_!!_#|/
53676 s/'"$ac_delim"'$/,g/; t
53678 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53679 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53680 rm -f conf$
$subs.
sed
53681 cat >>$CONFIG_STATUS <<_ACEOF
53687 for ac_last_try
in false false false false false
:; do
53688 cat >conf$
$subs.
sed <<_ACEOF
53689 SDL_CONFIG!$SDL_CONFIG$ac_delim
53690 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53691 SDL_LIBS!$SDL_LIBS$ac_delim
53692 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53693 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53694 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53695 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53696 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53697 HILDON_LIBS!$HILDON_LIBS$ac_delim
53698 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53699 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53700 GST_CFLAGS!$GST_CFLAGS$ac_delim
53701 GST_LIBS!$GST_LIBS$ac_delim
53702 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53703 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53704 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53705 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53706 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53707 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53708 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53709 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53710 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53711 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53712 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53713 VENDOR!$VENDOR$ac_delim
53714 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53715 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53716 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53717 WXUNIV!$WXUNIV$ac_delim
53718 MONOLITHIC!$MONOLITHIC$ac_delim
53719 USE_PLUGINS!$USE_PLUGINS$ac_delim
53720 CXXWARNINGS!$CXXWARNINGS$ac_delim
53721 EXTRALIBS!$EXTRALIBS$ac_delim
53722 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53723 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53724 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53725 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53726 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53727 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53728 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53729 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53730 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53731 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53732 UNICODE!$UNICODE$ac_delim
53733 BUILD!$BUILD$ac_delim
53734 DEBUG_INFO!$DEBUG_INFO$ac_delim
53735 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53736 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53737 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53738 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53739 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53740 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53741 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53742 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53743 SET_MAKE!$SET_MAKE$ac_delim
53744 MAKE_SET!$MAKE_SET$ac_delim
53745 AROPTIONS!$AROPTIONS$ac_delim
53747 INSTALL_DIR!$INSTALL_DIR$ac_delim
53748 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53749 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53750 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53751 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53752 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53753 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53754 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53755 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53756 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53757 SO_SUFFIX!$SO_SUFFIX$ac_delim
53758 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53759 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53760 LIBPREFIX!$LIBPREFIX$ac_delim
53761 LIBEXT!$LIBEXT$ac_delim
53762 DLLPREFIX!$DLLPREFIX$ac_delim
53763 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53764 dlldir!$dlldir$ac_delim
53765 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53766 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53767 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53768 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53769 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53770 PIC_FLAG!$PIC_FLAG$ac_delim
53771 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53772 USE_SOVERSION!$USE_SOVERSION$ac_delim
53773 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53774 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53775 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53776 USE_MACVERSION!$USE_MACVERSION$ac_delim
53777 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53778 SONAME_FLAG!$SONAME_FLAG$ac_delim
53779 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53780 BK_DEPS!$BK_DEPS$ac_delim
53781 GCC_PCH!$GCC_PCH$ac_delim
53782 ICC_PCH!$ICC_PCH$ac_delim
53783 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53784 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53785 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53788 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53790 elif $ac_last_try; then
53791 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53792 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53793 { (exit 1); exit 1; }; }
53795 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53799 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53800 if test -n "$ac_eof"; then
53801 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53802 ac_eof
=`expr $ac_eof + 1`
53805 cat >>$CONFIG_STATUS <<_ACEOF
53806 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53807 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53810 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53811 s/^/s,@/; s/!/@,|#_!!_#|/
53814 s/'"$ac_delim"'$/,g/; t
53816 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53817 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53818 rm -f conf$
$subs.
sed
53819 cat >>$CONFIG_STATUS <<_ACEOF
53825 for ac_last_try
in false false false false false
:; do
53826 cat >conf$
$subs.
sed <<_ACEOF
53827 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53828 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53829 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53830 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53831 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53832 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53833 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53834 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53835 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53836 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53837 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53838 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53839 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53840 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53841 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53842 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53843 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53849 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53850 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53851 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53852 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53853 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53854 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53860 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53861 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53862 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53863 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53864 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53865 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53866 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53867 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53868 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53869 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53870 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53871 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53872 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53873 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53874 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53875 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53876 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53877 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53878 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53879 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53880 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53881 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53882 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53883 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53884 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53885 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53886 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53887 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53888 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53889 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53890 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53891 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53892 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53893 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53894 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53895 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53896 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53897 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53898 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53899 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53900 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53901 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53902 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53903 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53904 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53905 COND_SHARED_0!$COND_SHARED_0$ac_delim
53906 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53907 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53908 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53909 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53910 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53911 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53912 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53913 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53914 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
53915 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53916 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
53917 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53918 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53919 COND_SHARED_1!$COND_SHARED_1$ac_delim
53920 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53921 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
53922 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53923 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53926 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53928 elif $ac_last_try; then
53929 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53930 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53931 { (exit 1); exit 1; }; }
53933 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53937 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53938 if test -n "$ac_eof"; then
53939 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53940 ac_eof
=`expr $ac_eof + 1`
53943 cat >>$CONFIG_STATUS <<_ACEOF
53944 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53945 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53948 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53949 s/^/s,@/; s/!/@,|#_!!_#|/
53952 s/'"$ac_delim"'$/,g/; t
53954 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53955 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53956 rm -f conf$
$subs.
sed
53957 cat >>$CONFIG_STATUS <<_ACEOF
53963 for ac_last_try
in false false false false false
:; do
53964 cat >conf$
$subs.
sed <<_ACEOF
53965 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53966 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53967 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53968 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53969 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53970 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53971 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53972 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53973 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53974 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53975 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53976 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53977 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53978 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
53979 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
53980 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53981 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53982 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53983 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53984 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53985 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53986 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53987 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53988 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53989 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53990 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53991 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53992 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53993 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53994 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53995 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53996 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53997 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53998 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53999 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54000 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54001 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54002 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54003 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54004 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54005 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54006 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54007 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54008 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54009 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54010 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54011 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54012 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54013 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54014 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54015 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54016 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54017 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54018 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54019 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54020 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54021 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54022 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54023 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54024 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54025 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54026 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54027 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54028 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54029 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54030 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54031 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54032 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54033 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54034 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54035 SHARED!$SHARED$ac_delim
54036 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54037 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54038 USE_GUI!$USE_GUI$ac_delim
54039 AFMINSTALL!$AFMINSTALL$ac_delim
54040 WIN32INSTALL!$WIN32INSTALL$ac_delim
54041 TOOLKIT!$TOOLKIT$ac_delim
54042 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54043 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54044 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54045 cross_compiling!$cross_compiling$ac_delim
54046 WIDGET_SET!$WIDGET_SET$ac_delim
54047 WX_RELEASE!$WX_RELEASE$ac_delim
54048 WX_VERSION!$WX_VERSION$ac_delim
54049 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54050 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54051 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54052 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54053 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54054 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54055 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54056 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54057 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54058 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54059 EXE_LINKER!$EXE_LINKER$ac_delim
54060 GUIDIST!$GUIDIST$ac_delim
54061 DISTDIR!$DISTDIR$ac_delim
54064 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54066 elif $ac_last_try; then
54067 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54068 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54069 { (exit 1); exit 1; }; }
54071 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54075 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54076 if test -n "$ac_eof"; then
54077 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54078 ac_eof
=`expr $ac_eof + 1`
54081 cat >>$CONFIG_STATUS <<_ACEOF
54082 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54083 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54086 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54087 s/^/s,@/; s/!/@,|#_!!_#|/
54090 s/'"$ac_delim"'$/,g/; t
54092 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54093 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54094 rm -f conf$
$subs.
sed
54095 cat >>$CONFIG_STATUS <<_ACEOF
54101 for ac_last_try
in false false false false false
:; do
54102 cat >conf$
$subs.
sed <<_ACEOF
54103 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54104 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54105 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54106 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54107 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54108 RESCOMP!$RESCOMP$ac_delim
54109 RESFLAGS!$RESFLAGS$ac_delim
54110 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54111 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54112 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54113 LIBWXMACRES!$LIBWXMACRES$ac_delim
54114 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54115 MACSETFILE!$MACSETFILE$ac_delim
54117 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54118 LIBOBJS!$LIBOBJS$ac_delim
54119 LTLIBOBJS!$LTLIBOBJS$ac_delim
54122 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54124 elif $ac_last_try; then
54125 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54126 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54127 { (exit 1); exit 1; }; }
54129 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54133 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54134 if test -n "$ac_eof"; then
54135 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54136 ac_eof
=`expr $ac_eof + 1`
54139 cat >>$CONFIG_STATUS <<_ACEOF
54140 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54141 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54144 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54145 s/^/s,@/; s/!/@,|#_!!_#|/
54148 s/'"$ac_delim"'$/,g/; t
54150 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54151 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54152 rm -f conf$
$subs.
sed
54153 cat >>$CONFIG_STATUS <<_ACEOF
54160 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54161 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54162 # trailing colons and then remove the whole line if VPATH becomes empty
54163 # (actually we leave an empty line to preserve line numbers).
54164 if test "x$srcdir" = x.
; then
54165 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
54166 s/:*\$(srcdir):*/:/
54167 s/:*\${srcdir}:*/:/
54169 s/^\([^=]*=[ ]*\):*/\1/
54175 cat >>$CONFIG_STATUS <<\_ACEOF
54176 fi # test -n "$CONFIG_FILES"
54179 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
54182 :[FHLC
]) ac_mode
=$ac_tag; continue;;
54184 case $ac_mode$ac_tag in
54186 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54187 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54188 { (exit 1); exit 1; }; };;
54189 :[FH
]-) ac_tag
=-:-;;
54190 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
54207 -) ac_f
="$tmp/stdin";;
54208 *) # Look for the file first in the build tree, then in the source tree
54209 # (if the path is not absolute). The absolute path cannot be DOS-style,
54210 # because $ac_f cannot contain `:'.
54214 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
54216 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54217 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54218 { (exit 1); exit 1; }; };;
54220 ac_file_inputs
="$ac_file_inputs $ac_f"
54223 # Let's still pretend it is `configure' which instantiates (i.e., don't
54224 # use $as_me), people would be surprised to read:
54225 # /* config.h. Generated by config.status. */
54226 configure_input
="Generated from "`IFS=:
54227 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54228 if test x
"$ac_file" != x
-; then
54229 configure_input
="$ac_file. $configure_input"
54230 { echo "$as_me:$LINENO: creating $ac_file" >&5
54231 echo "$as_me: creating $ac_file" >&6;}
54235 *:-:* | *:-) cat >"$tmp/stdin";;
54240 ac_dir
=`$as_dirname -- "$ac_file" ||
54241 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54242 X"$ac_file" : 'X\(//\)[^/]' \| \
54243 X"$ac_file" : 'X\(//\)$' \| \
54244 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54250 /^X\(\/\/\)[^/].*/{
54265 -*) as_dir
=.
/$as_dir;;
54267 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54271 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54272 *) as_qdir
=$as_dir;;
54274 as_dirs
="'$as_qdir' $as_dirs"
54275 as_dir
=`$as_dirname -- "$as_dir" ||
54276 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54277 X"$as_dir" : 'X\(//\)[^/]' \| \
54278 X"$as_dir" : 'X\(//\)$' \| \
54279 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54281 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54285 /^X\(\/\/\)[^/].*/{
54298 test -d "$as_dir" && break
54300 test -z "$as_dirs" || eval "mkdir $as_dirs"
54301 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54302 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54303 { (exit 1); exit 1; }; }; }
54307 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54309 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54310 # A ".." for each directory in $ac_dir_suffix.
54311 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54312 case $ac_top_builddir_sub in
54313 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54314 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54317 ac_abs_top_builddir
=$ac_pwd
54318 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54319 # for backward compatibility:
54320 ac_top_builddir
=$ac_top_build_prefix
54323 .
) # We are building in place.
54325 ac_top_srcdir
=$ac_top_builddir_sub
54326 ac_abs_top_srcdir
=$ac_pwd ;;
54327 [\\/]* | ?
:[\\/]* ) # Absolute name.
54328 ac_srcdir
=$srcdir$ac_dir_suffix;
54329 ac_top_srcdir
=$srcdir
54330 ac_abs_top_srcdir
=$srcdir ;;
54331 *) # Relative name.
54332 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54333 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54334 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54336 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54346 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54347 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
54351 cat >>$CONFIG_STATUS <<\_ACEOF
54352 # If the template does not know about datarootdir, expand it.
54353 # FIXME: This hack should be removed a few years after 2.60.
54354 ac_datarootdir_hack
=; ac_datarootdir_seen
=
54356 case `sed -n '/datarootdir/ {
54365 ' $ac_file_inputs` in
54366 *datarootdir
*) ac_datarootdir_seen
=yes;;
54367 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
54368 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54369 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54371 cat >>$CONFIG_STATUS <<_ACEOF
54372 ac_datarootdir_hack='
54373 s&@datadir@&$datadir&g
54374 s&@docdir@&$docdir&g
54375 s&@infodir@&$infodir&g
54376 s&@localedir@&$localedir&g
54377 s&@mandir@&$mandir&g
54378 s&\\\${datarootdir}&$datarootdir&g' ;;
54382 # Neutralize VPATH when `$srcdir' = `.'.
54383 # Shell code in configure.ac might set extrasub.
54384 # FIXME: do we really want to maintain this feature?
54385 cat >>$CONFIG_STATUS <<_ACEOF
54389 cat >>$CONFIG_STATUS <<\_ACEOF
54391 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54392 s
&@configure_input@
&$configure_input&;t t
54393 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
54394 s
&@srcdir@
&$ac_srcdir&;t t
54395 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
54396 s
&@top_srcdir@
&$ac_top_srcdir&;t t
54397 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
54398 s
&@builddir@
&$ac_builddir&;t t
54399 s
&@abs_builddir@
&$ac_abs_builddir&;t t
54400 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
54401 s
&@INSTALL@
&$ac_INSTALL&;t t
54402 $ac_datarootdir_hack
54403 " $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
54405 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54406 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54407 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54408 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54409 which seems to be undefined. Please make sure it is defined." >&5
54410 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54411 which seems to be undefined. Please make sure it is defined." >&2;}
54415 -) cat "$tmp/out"; rm -f "$tmp/out";;
54416 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54425 # Transform confdefs.h into a sed script `conftest.defines', that
54426 # substitutes the proper values into config.h.in to produce config.h.
54427 rm -f conftest.defines conftest.
tail
54428 # First, append a space to every undef/define line, to ease matching.
54429 echo 's/$/ /' >conftest.defines
54430 # Then, protect against being on the right side of a sed subst, or in
54431 # an unquoted here document, in config.status. If some macros were
54432 # called several times there might be several #defines for the same
54433 # symbol, which is useless. But do not sort them, since the last
54434 # AC_DEFINE must be honored.
54435 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54436 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54437 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54438 # PARAMS is the parameter list in the macro definition--in most cases, it's
54439 # just an empty string.
54440 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54441 ac_dB
='\\)[ (].*,\\1define\\2'
54449 s/^[ ]*#[ ]*define[ ][ ]*//
54454 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54455 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54456 ' >>conftest.defines
54458 # Remove the space that was appended to ease matching.
54459 # Then replace #undef with comments. This is necessary, for
54460 # example, in the case of _POSIX_SOURCE, which is predefined and required
54461 # on some systems where configure will not decide to define it.
54462 # (The regexp can be short, since the line contains either #define or #undef.)
54464 s,^[ #]*u.*,/* & */,' >>conftest.defines
54466 # Break up conftest.defines:
54467 ac_max_sed_lines
=50
54469 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54470 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54471 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54473 ac_in
='$ac_file_inputs'
54474 ac_out
='"$tmp/out1"'
54475 ac_nxt
='"$tmp/out2"'
54479 # Write a here document:
54480 cat >>$CONFIG_STATUS <<_ACEOF
54481 # First, check the format of the line:
54482 cat >"\$tmp/defines.sed" <<\\CEOF
54483 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54484 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54488 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54490 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54491 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54492 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54493 grep . conftest.
tail >/dev
/null
|| break
54494 rm -f conftest.defines
54495 mv conftest.
tail conftest.defines
54497 rm -f conftest.defines conftest.
tail
54499 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54500 cat >>$CONFIG_STATUS <<\_ACEOF
54501 if test x
"$ac_file" != x
-; then
54502 echo "/* $configure_input */" >"$tmp/config.h"
54503 cat "$ac_result" >>"$tmp/config.h"
54504 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54505 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54506 echo "$as_me: $ac_file is unchanged" >&6;}
54509 mv "$tmp/config.h" $ac_file
54512 echo "/* $configure_input */"
54518 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54519 echo "$as_me: executing $ac_file commands" >&6;}
54524 case $ac_file$ac_mode in
54526 mkdir -p $outdir &&
54527 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54529 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54530 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54531 "wx-config":C
) rm -f wx
-config
54532 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54539 { (exit 0); exit 0; }
54541 chmod +x
$CONFIG_STATUS
54542 ac_clean_files
=$ac_clean_files_save
54545 # configure is writing to config.log, and then calls config.status.
54546 # config.status does its own redirection, appending to config.log.
54547 # Unfortunately, on DOS this fails, as config.log is still kept open
54548 # by configure, so config.status won't be able to write to it; its
54549 # output is simply discarded. So we exec the FD to /dev/null,
54550 # effectively closing config.log, so it can be properly (re)opened and
54551 # appended to by config.status. When coming back to configure, we
54552 # need to make the FD available again.
54553 if test "$no_create" != yes; then
54555 ac_config_status_args
=
54556 test "$silent" = yes &&
54557 ac_config_status_args
="$ac_config_status_args --quiet"
54559 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54561 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54562 # would make configure fail if this is the last instruction.
54563 $ac_cs_success || { (exit 1); exit 1; }
54567 # CONFIG_SUBDIRS section.
54569 if test "$no_recursion" != yes; then
54571 # Remove --cache-file and --srcdir arguments so they do not pile up.
54572 ac_sub_configure_args
=
54574 eval "set x $ac_configure_args"
54578 if test -n "$ac_prev"; then
54583 -cache-file | --cache-file | --cache-fil | --cache-fi \
54584 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54585 ac_prev
=cache_file
;;
54586 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54587 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54590 --config-cache | -C)
54592 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54594 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54596 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54598 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54602 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54604 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54608 # Always prepend --prefix to ensure using the same prefix
54609 # in subdir configurations.
54610 ac_arg
="--prefix=$prefix"
54612 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54614 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54617 if test "$silent" = yes; then
54618 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54622 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54624 # Do not complain, so a configure script can configure whichever
54625 # parts of a large source tree are present.
54626 test -d "$srcdir/$ac_dir" || continue
54628 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54629 echo "$as_me:$LINENO: $ac_msg" >&5
54633 -*) as_dir
=.
/$as_dir;;
54635 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54639 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54640 *) as_qdir
=$as_dir;;
54642 as_dirs
="'$as_qdir' $as_dirs"
54643 as_dir
=`$as_dirname -- "$as_dir" ||
54644 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54645 X"$as_dir" : 'X\(//\)[^/]' \| \
54646 X"$as_dir" : 'X\(//\)$' \| \
54647 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54649 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54653 /^X\(\/\/\)[^/].*/{
54666 test -d "$as_dir" && break
54668 test -z "$as_dirs" || eval "mkdir $as_dirs"
54669 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54670 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54671 { (exit 1); exit 1; }; }; }
54675 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54677 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54678 # A ".." for each directory in $ac_dir_suffix.
54679 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54680 case $ac_top_builddir_sub in
54681 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54682 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54685 ac_abs_top_builddir
=$ac_pwd
54686 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54687 # for backward compatibility:
54688 ac_top_builddir
=$ac_top_build_prefix
54691 .
) # We are building in place.
54693 ac_top_srcdir
=$ac_top_builddir_sub
54694 ac_abs_top_srcdir
=$ac_pwd ;;
54695 [\\/]* | ?
:[\\/]* ) # Absolute name.
54696 ac_srcdir
=$srcdir$ac_dir_suffix;
54697 ac_top_srcdir
=$srcdir
54698 ac_abs_top_srcdir
=$srcdir ;;
54699 *) # Relative name.
54700 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54701 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54702 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54704 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54709 # Check for guested configure; otherwise get Cygnus style configure.
54710 if test -f "$ac_srcdir/configure.gnu"; then
54711 ac_sub_configure
=$ac_srcdir/configure.gnu
54712 elif test -f "$ac_srcdir/configure"; then
54713 ac_sub_configure
=$ac_srcdir/configure
54714 elif test -f "$ac_srcdir/configure.in"; then
54715 # This should be Cygnus configure.
54716 ac_sub_configure
=$ac_aux_dir/configure
54718 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54719 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54723 # The recursion is here.
54724 if test -n "$ac_sub_configure"; then
54725 # Make the cache file name correct relative to the subdirectory.
54726 case $cache_file in
54727 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
54728 *) # Relative name.
54729 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
54732 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54733 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54734 # The eval makes quoting arguments work.
54735 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54736 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54737 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54738 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54739 { (exit 1); exit 1; }; }
54748 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54750 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54751 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54753 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54754 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54755 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
54756 if test "$wxUSE_UNICODE" = "yes"; then
54757 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54758 echo " (using UTF-8)"
54760 echo " (using wchar_t)"
54766 echo " What level of wxWidgets compatibility should be enabled?"
54767 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54768 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54770 echo " Which libraries should wxWidgets use?"
54771 echo " jpeg ${wxUSE_LIBJPEG-none}"
54772 echo " png ${wxUSE_LIBPNG-none}"
54773 echo " regex ${wxUSE_REGEX}"
54774 echo " tiff ${wxUSE_LIBTIFF-none}"
54775 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54776 echo " xpm ${wxUSE_LIBXPM-none}"
54778 echo " zlib ${wxUSE_ZLIB}"
54779 echo " odbc ${wxUSE_ODBC}"
54780 echo " expat ${wxUSE_EXPAT}"
54781 echo " libmspack ${wxUSE_LIBMSPACK}"
54782 echo " sdl ${wxUSE_LIBSDL}"