2 # From configure.in Id: configure.in 49284 2007-10-21 11:39:33Z MW .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.0'
579 PACKAGE_STRING
='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
709 LIBGNOMEPRINTUI_CFLAGS
755 SAMPLES_RPATH_POSTLINK
811 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
812 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
813 COND_BUILD_DEBUG_UNICODE_0
814 COND_BUILD_DEBUG_UNICODE_1
816 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
817 COND_BUILD_RELEASE_UNICODE_0
818 COND_BUILD_RELEASE_UNICODE_1
827 COND_MONOLITHIC_0_SHARED_0
828 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
835 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
836 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
838 COND_MONOLITHIC_0_SHARED_1
839 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
845 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
846 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
847 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
848 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
849 COND_MONOLITHIC_0_USE_AUI_1
850 COND_MONOLITHIC_0_USE_GUI_1
851 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
852 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
853 COND_MONOLITHIC_0_USE_HTML_1
854 COND_MONOLITHIC_0_USE_MEDIA_1
855 COND_MONOLITHIC_0_USE_ODBC_1
856 COND_MONOLITHIC_0_USE_QA_1
857 COND_MONOLITHIC_0_USE_RICHTEXT_1
858 COND_MONOLITHIC_0_USE_STC_1
859 COND_MONOLITHIC_0_USE_XRC_1
861 COND_MONOLITHIC_1_SHARED_0
862 COND_MONOLITHIC_1_SHARED_1
863 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
864 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
865 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
866 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
867 COND_PLATFORM_MACOSX_1
868 COND_PLATFORM_MACOSX_1_TOOLKIT_
869 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
870 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
871 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
874 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
875 COND_PLATFORM_MACOSX_1_USE_GUI_1
876 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
877 COND_PLATFORM_MACOS_1
879 COND_PLATFORM_MSDOS_0
880 COND_PLATFORM_MSDOS_1
884 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
885 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
886 COND_PLATFORM_UNIX_1_USE_GUI_1
887 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
888 COND_PLATFORM_WIN32_0
889 COND_PLATFORM_WIN32_1
891 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
892 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
893 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
894 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
895 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
898 COND_SHARED_0_USE_STC_1
899 COND_SHARED_0_USE_XRC_1
900 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
901 COND_SHARED_0_WXUSE_ODBC_BUILTIN
902 COND_SHARED_0_WXUSE_REGEX_BUILTIN
903 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
905 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
906 COND_SHARED_1_USE_XRC_1
909 COND_TOOLKIT_COCOA_USE_GUI_1
910 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_DFB_USE_GUI_1
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_GTK_USE_GUI_1
922 COND_TOOLKIT_MAC_USE_GUI_1
923 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_MGL_USE_GUI_1
927 COND_TOOLKIT_MOTIF_USE_GUI_1
928 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_MSW_USE_GUI_1
931 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_MSW_WXUNIV_0
934 COND_TOOLKIT_PM_USE_GUI_1
935 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_WINCE_USE_GUI_1
938 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
939 COND_TOOLKIT_WINCE_WXUNIV_0
941 COND_TOOLKIT_X11_USE_GUI_1
943 COND_USE_EXCEPTIONS_0
944 COND_USE_EXCEPTIONS_1
947 COND_USE_GUI_1_USE_OPENGL_1
948 COND_USE_GUI_1_WXUNIV_0
949 COND_USE_GUI_1_WXUNIV_1
950 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
951 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
952 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
959 COND_USE_SOSYMLINKS_1
960 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
961 COND_USE_SOVERLINUX_1
963 COND_USE_SOVERSOLARIS_1
968 COND_WINDOWS_IMPLIB_1
969 COND_WITH_PLUGIN_SDL_1
972 COND_WXUSE_EXPAT_BUILTIN
973 COND_WXUSE_LIBJPEG_BUILTIN
974 COND_WXUSE_LIBPNG_BUILTIN
975 COND_WXUSE_LIBTIFF_BUILTIN
976 COND_WXUSE_ODBC_BUILTIN
977 COND_WXUSE_REGEX_BUILTIN
978 COND_WXUSE_ZLIB_BUILTIN
981 WX_LIBRARY_BASENAME_NOGUI
982 WX_LIBRARY_BASENAME_GUI
1002 WXCONFIG_LDFLAGS_GUI
1014 WX_RESOURCES_MACOSX_ASCII
1015 WX_RESOURCES_MACOSX_DATA
1025 ac_precious_vars
='build_alias
1049 LIBGNOMEPRINTUI_CFLAGS
1050 LIBGNOMEPRINTUI_LIBS
1059 ac_subdirs_all
='src/tiff
1062 # Initialize some variables set by options.
1064 ac_init_version
=false
1065 # The variables have the same names as the options, with
1066 # dashes changed to underlines.
1067 cache_file
=/dev
/null
1074 program_transform_name
=s
,x
,x
,
1082 # Installation directory options.
1083 # These are left unexpanded so users can "make install exec_prefix=/foo"
1084 # and all the variables that are supposed to be based on exec_prefix
1085 # by default will actually change.
1086 # Use braces instead of parens because sh, perl, etc. also accept them.
1087 # (The list follows the same order as the GNU Coding Standards.)
1088 bindir
='${exec_prefix}/bin'
1089 sbindir
='${exec_prefix}/sbin'
1090 libexecdir
='${exec_prefix}/libexec'
1091 datarootdir
='${prefix}/share'
1092 datadir
='${datarootdir}'
1093 sysconfdir
='${prefix}/etc'
1094 sharedstatedir
='${prefix}/com'
1095 localstatedir
='${prefix}/var'
1096 includedir
='${prefix}/include'
1097 oldincludedir
='/usr/include'
1098 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1099 infodir
='${datarootdir}/info'
1104 libdir
='${exec_prefix}/lib'
1105 localedir
='${datarootdir}/locale'
1106 mandir
='${datarootdir}/man'
1112 # If the previous option needs an argument, assign it.
1113 if test -n "$ac_prev"; then
1114 eval $ac_prev=\
$ac_option
1120 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1124 # Accept the important Cygnus configure options, so we can diagnose typos.
1126 case $ac_dashdash$ac_option in
1130 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1132 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1133 bindir
=$ac_optarg ;;
1135 -build | --build | --buil | --bui | --bu)
1136 ac_prev
=build_alias
;;
1137 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1138 build_alias
=$ac_optarg ;;
1140 -cache-file | --cache-file | --cache-fil | --cache-fi \
1141 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1142 ac_prev
=cache_file
;;
1143 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1144 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1145 cache_file
=$ac_optarg ;;
1147 --config-cache | -C)
1148 cache_file
=config.cache
;;
1150 -datadir | --datadir | --datadi | --datad)
1152 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1153 datadir
=$ac_optarg ;;
1155 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1156 | --dataroo | --dataro | --datar)
1157 ac_prev
=datarootdir
;;
1158 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1159 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1160 datarootdir
=$ac_optarg ;;
1162 -disable-* | --disable-*)
1163 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1164 # Reject names that are not valid shell variable names.
1165 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1166 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1167 { (exit 1); exit 1; }; }
1168 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1169 eval enable_
$ac_feature=no
;;
1171 -docdir | --docdir | --docdi | --doc | --do)
1173 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1174 docdir
=$ac_optarg ;;
1176 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1178 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1179 dvidir
=$ac_optarg ;;
1181 -enable-* | --enable-*)
1182 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1185 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1186 { (exit 1); exit 1; }; }
1187 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1188 eval enable_
$ac_feature=\
$ac_optarg ;;
1190 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1191 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1192 | --exec | --exe | --ex)
1193 ac_prev
=exec_prefix
;;
1194 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1195 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1196 | --exec=* | --exe=* | --ex=*)
1197 exec_prefix
=$ac_optarg ;;
1199 -gas | --gas | --ga | --g)
1200 # Obsolete; use --with-gas.
1203 -help | --help | --hel | --he | -h)
1204 ac_init_help
=long
;;
1205 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1206 ac_init_help
=recursive
;;
1207 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1208 ac_init_help
=short
;;
1210 -host | --host | --hos | --ho)
1211 ac_prev
=host_alias
;;
1212 -host=* | --host=* | --hos=* | --ho=*)
1213 host_alias
=$ac_optarg ;;
1215 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1217 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1219 htmldir
=$ac_optarg ;;
1221 -includedir | --includedir | --includedi | --included | --include \
1222 | --includ | --inclu | --incl | --inc)
1223 ac_prev
=includedir
;;
1224 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1225 | --includ=* | --inclu=* | --incl=* | --inc=*)
1226 includedir
=$ac_optarg ;;
1228 -infodir | --infodir | --infodi | --infod | --info | --inf)
1230 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1231 infodir
=$ac_optarg ;;
1233 -libdir | --libdir | --libdi | --libd)
1235 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1236 libdir
=$ac_optarg ;;
1238 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1239 | --libexe | --libex | --libe)
1240 ac_prev
=libexecdir
;;
1241 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1242 | --libexe=* | --libex=* | --libe=*)
1243 libexecdir
=$ac_optarg ;;
1245 -localedir | --localedir | --localedi | --localed | --locale)
1246 ac_prev
=localedir
;;
1247 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1248 localedir
=$ac_optarg ;;
1250 -localstatedir | --localstatedir | --localstatedi | --localstated \
1251 | --localstate | --localstat | --localsta | --localst | --locals)
1252 ac_prev
=localstatedir
;;
1253 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1254 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1255 localstatedir
=$ac_optarg ;;
1257 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1259 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1260 mandir
=$ac_optarg ;;
1262 -nfp | --nfp | --nf)
1263 # Obsolete; use --without-fp.
1266 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1267 | --no-cr | --no-c | -n)
1270 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1271 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1274 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1275 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1276 | --oldin | --oldi | --old | --ol | --o)
1277 ac_prev
=oldincludedir
;;
1278 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1279 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1280 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1281 oldincludedir
=$ac_optarg ;;
1283 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1285 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1286 prefix
=$ac_optarg ;;
1288 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1289 | --program-pre | --program-pr | --program-p)
1290 ac_prev
=program_prefix
;;
1291 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1292 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1293 program_prefix
=$ac_optarg ;;
1295 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1296 | --program-suf | --program-su | --program-s)
1297 ac_prev
=program_suffix
;;
1298 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1299 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1300 program_suffix
=$ac_optarg ;;
1302 -program-transform-name | --program-transform-name \
1303 | --program-transform-nam | --program-transform-na \
1304 | --program-transform-n | --program-transform- \
1305 | --program-transform | --program-transfor \
1306 | --program-transfo | --program-transf \
1307 | --program-trans | --program-tran \
1308 | --progr-tra | --program-tr | --program-t)
1309 ac_prev
=program_transform_name
;;
1310 -program-transform-name=* | --program-transform-name=* \
1311 | --program-transform-nam=* | --program-transform-na=* \
1312 | --program-transform-n=* | --program-transform-=* \
1313 | --program-transform=* | --program-transfor=* \
1314 | --program-transfo=* | --program-transf=* \
1315 | --program-trans=* | --program-tran=* \
1316 | --progr-tra=* | --program-tr=* | --program-t=*)
1317 program_transform_name
=$ac_optarg ;;
1319 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1321 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1322 pdfdir
=$ac_optarg ;;
1324 -psdir | --psdir | --psdi | --psd | --ps)
1326 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1329 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1330 | -silent | --silent | --silen | --sile | --sil)
1333 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1335 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1337 sbindir
=$ac_optarg ;;
1339 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1340 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1341 | --sharedst | --shareds | --shared | --share | --shar \
1343 ac_prev
=sharedstatedir
;;
1344 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1345 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1346 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1348 sharedstatedir
=$ac_optarg ;;
1350 -site | --site | --sit)
1352 -site=* | --site=* | --sit=*)
1355 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1357 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1358 srcdir
=$ac_optarg ;;
1360 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1361 | --syscon | --sysco | --sysc | --sys | --sy)
1362 ac_prev
=sysconfdir
;;
1363 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1364 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1365 sysconfdir
=$ac_optarg ;;
1367 -target | --target | --targe | --targ | --tar | --ta | --t)
1368 ac_prev
=target_alias
;;
1369 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1370 target_alias
=$ac_optarg ;;
1372 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1375 -version | --version | --versio | --versi | --vers | -V)
1376 ac_init_version
=: ;;
1379 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1380 # Reject names that are not valid shell variable names.
1381 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1382 { echo "$as_me: error: invalid package name: $ac_package" >&2
1383 { (exit 1); exit 1; }; }
1384 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1385 eval with_
$ac_package=\
$ac_optarg ;;
1387 -without-* | --without-*)
1388 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1389 # Reject names that are not valid shell variable names.
1390 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1391 { echo "$as_me: error: invalid package name: $ac_package" >&2
1392 { (exit 1); exit 1; }; }
1393 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1394 eval with_
$ac_package=no
;;
1397 # Obsolete; use --with-x.
1400 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1401 | --x-incl | --x-inc | --x-in | --x-i)
1402 ac_prev
=x_includes
;;
1403 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1404 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1405 x_includes
=$ac_optarg ;;
1407 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1408 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1409 ac_prev
=x_libraries
;;
1410 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1411 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1412 x_libraries
=$ac_optarg ;;
1414 -*) { echo "$as_me: error: unrecognized option: $ac_option
1415 Try \`$0 --help' for more information." >&2
1416 { (exit 1); exit 1; }; }
1420 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1421 # Reject names that are not valid shell variable names.
1422 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1423 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1424 { (exit 1); exit 1; }; }
1425 eval $ac_envvar=\
$ac_optarg
1426 export $ac_envvar ;;
1429 # FIXME: should be removed in autoconf 3.0.
1430 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1431 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1432 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1433 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1439 if test -n "$ac_prev"; then
1440 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1441 { echo "$as_me: error: missing argument to $ac_option" >&2
1442 { (exit 1); exit 1; }; }
1445 # Be sure to have absolute directory names.
1446 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1447 datadir sysconfdir sharedstatedir localstatedir includedir \
1448 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1449 libdir localedir mandir
1451 eval ac_val
=\$
$ac_var
1453 [\\/$
]* | ?
:[\\/]* ) continue;;
1454 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1456 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1457 { (exit 1); exit 1; }; }
1460 # There might be people who depend on the old broken behavior: `$host'
1461 # used to hold the argument of --host etc.
1462 # FIXME: To remove some day.
1465 target
=$target_alias
1467 # FIXME: To remove some day.
1468 if test "x$host_alias" != x
; then
1469 if test "x$build_alias" = x
; then
1470 cross_compiling
=maybe
1471 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1472 If a cross compiler is detected then cross compile mode will be used." >&2
1473 elif test "x$build_alias" != "x$host_alias"; then
1479 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1481 test "$silent" = yes && exec 6>/dev
/null
1484 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1485 ac_ls_di
=`ls -di .` &&
1486 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1487 { echo "$as_me: error: Working directory cannot be determined" >&2
1488 { (exit 1); exit 1; }; }
1489 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1490 { echo "$as_me: error: pwd does not report name of working directory" >&2
1491 { (exit 1); exit 1; }; }
1494 # Find the source files, if location was not specified.
1495 if test -z "$srcdir"; then
1496 ac_srcdir_defaulted
=yes
1497 # Try the directory containing this script, then the parent directory.
1498 ac_confdir
=`$as_dirname -- "$0" ||
1499 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1500 X"$0" : 'X\(//\)[^/]' \| \
1501 X"$0" : 'X\(//\)$' \| \
1502 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1522 if test ! -r "$srcdir/$ac_unique_file"; then
1526 ac_srcdir_defaulted
=no
1528 if test ! -r "$srcdir/$ac_unique_file"; then
1529 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1530 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1531 { (exit 1); exit 1; }; }
1533 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1535 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1536 { (exit 1); exit 1; }; }
1538 # When building in place, set srcdir=.
1539 if test "$ac_abs_confdir" = "$ac_pwd"; then
1542 # Remove unnecessary trailing slashes from srcdir.
1543 # Double slashes in file names in object file debugging info
1544 # mess up M-x gdb in Emacs.
1546 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1548 for ac_var
in $ac_precious_vars; do
1549 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1550 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1551 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1552 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1556 # Report the --help message.
1558 if test "$ac_init_help" = "long"; then
1559 # Omit some internal or obsolete options to make the list less imposing.
1560 # This message is too long to be a string in the A/UX 3.1 sh.
1562 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1564 Usage: $0 [OPTION]... [VAR=VALUE]...
1566 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1567 VAR=VALUE. See below for descriptions of some of the useful variables.
1569 Defaults for the options are specified in brackets.
1572 -h, --help display this help and exit
1573 --help=short display options specific to this package
1574 --help=recursive display the short help of all the included packages
1575 -V, --version display version information and exit
1576 -q, --quiet, --silent do not print \`checking...' messages
1577 --cache-file=FILE cache test results in FILE [disabled]
1578 -C, --config-cache alias for \`--cache-file=config.cache'
1579 -n, --no-create do not create output files
1580 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1582 Installation directories:
1583 --prefix=PREFIX install architecture-independent files in PREFIX
1584 [$ac_default_prefix]
1585 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1588 By default, \`make install' will install all the files in
1589 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1590 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1591 for instance \`--prefix=\$HOME'.
1593 For better control, use the options below.
1595 Fine tuning of the installation directories:
1596 --bindir=DIR user executables [EPREFIX/bin]
1597 --sbindir=DIR system admin executables [EPREFIX/sbin]
1598 --libexecdir=DIR program executables [EPREFIX/libexec]
1599 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1600 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1601 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1602 --libdir=DIR object code libraries [EPREFIX/lib]
1603 --includedir=DIR C header files [PREFIX/include]
1604 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1605 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1606 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1607 --infodir=DIR info documentation [DATAROOTDIR/info]
1608 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1609 --mandir=DIR man documentation [DATAROOTDIR/man]
1610 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1611 --htmldir=DIR html documentation [DOCDIR]
1612 --dvidir=DIR dvi documentation [DOCDIR]
1613 --pdfdir=DIR pdf documentation [DOCDIR]
1614 --psdir=DIR ps documentation [DOCDIR]
1620 --x-includes=DIR X include files are
in DIR
1621 --x-libraries=DIR X library files are
in DIR
1624 --build=BUILD configure
for building on BUILD
[guessed
]
1625 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1626 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1630 if test -n "$ac_init_help"; then
1631 case $ac_init_help in
1632 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1637 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1638 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1639 --disable-gui don
't build GUI parts of the library
1640 --enable-monolithic build wxWidgets as single library
1641 --enable-plugins build parts of wxWidgets as loadable components
1642 --enable-official_build official build of wxWidgets (win32 DLL only)
1643 --enable-vendor=VENDOR vendor name (win32 DLL only)
1644 --disable-all-features disable all optional features to build minimal library
1645 --enable-universal use wxWidgets GUI controls instead of native ones
1646 --enable-nanox use NanoX
1647 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1648 --enable-gpe use GNOME PDA Environment features if possible
1649 --disable-shared create static library instead of shared
1650 --disable-optimise create optimised code
1651 --enable-debug same as debug_flag and debug_info
1652 --enable-stl use STL for containers
1653 --enable-std_iostreams use standard C++ stream classes
1654 --enable-std_string use standard C++ string classes
1655 --disable-unicode compile without Unicode support
1656 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1657 --enable-utf8 use UTF-8 representation for strings (Unix only)
1658 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1659 --enable-extended_rtti use extended RTTI (XTI)
1660 --enable-omf use OMF object format
1661 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1662 --enable-debug_info create code with debugging information
1663 --enable-debug_gdb create code with extra GDB debugging information
1664 --enable-debug_cntxt use wxDebugContext
1665 --enable-mem_tracing create code with memory tracing
1666 --enable-profile create code with profiling information
1667 --enable-no_rtti create code without RTTI information
1668 --enable-no_exceptions create code without C++ exceptions handling
1669 --enable-permissive compile code disregarding strict ANSI
1670 --enable-no_deps create code without dependency information
1671 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1672 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1673 --enable-compat26 enable wxWidgets
2.6 compatibility
1674 --disable-compat28 disable wxWidgets
2.8 compatibility
1675 --disable-rpath disable use of rpath
for uninstalled builds
1676 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1677 --disable-visibility disable use of ELF symbols visibility even
if supported
1678 --enable-intl use internationalization system
1679 --enable-config use wxConfig
(and derived
) classes
1680 --enable-protocols use wxProtocol and derived classes
1681 --enable-ftp use wxFTP
(requires wxProtocol
1682 --enable-http use wxHTTP
(requires wxProtocol
1683 --enable-fileproto use wxFileProto class
(requires wxProtocol
1684 --enable-sockets use socket
/network classes
1685 --enable-ole use OLE classes
(Win32 only
)
1686 --enable-dataobj use data object classes
1687 --enable-ipc use interprocess communication
(wxSocket etc.
)
1688 --enable-baseevtloop use event loop
in console programs too
1689 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1690 --enable-selectloop use wxSelectDispatcher class
1691 --enable-apple_ieee use the Apple IEEE codec
1692 --enable-arcstream use wxArchive streams
1693 --enable-base64 use base64 encoding
/decoding functions
1694 --enable-backtrace use wxStackWalker class
for getting backtraces
1695 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1696 --enable-cmdline use wxCmdLineParser class
1697 --enable-datetime use wxDateTime class
1698 --enable-debugreport use wxDebugReport class
1699 --enable-dialupman use dialup network classes
1700 --enable-dynlib use wxLibrary class
for DLL loading
1701 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1702 --enable-exceptions build exception
-safe library
1703 --enable-ffile use wxFFile class
1704 --enable-file use wxFile class
1705 --enable-filesystem use virtual
file systems classes
1706 --enable-fontenum use wxFontEnumerator class
1707 --enable-fontmap use font encodings conversion classes
1708 --enable-fs_archive use virtual archive filesystems
1709 --enable-fs_inet use virtual HTTP
/FTP filesystems
1710 --enable-fs_zip now replaced by fs_archive
1711 --enable-geometry use geometry class
1712 --enable-log use logging system
1713 --enable-longlong use wxLongLong class
1714 --enable-mimetype use wxMimeTypesManager
1715 --enable-snglinst use wxSingleInstanceChecker class
1716 --enable-stdpaths use wxStandardPaths class
1717 --enable-stopwatch use wxStopWatch class
1718 --enable-streams use wxStream etc classes
1719 --enable-sysoptions use wxSystemOptions
1720 --enable-tarstream use wxTar streams
1721 --enable-textbuf use wxTextBuffer class
1722 --enable-textfile use wxTextFile class
1723 --enable-timer use wxTimer class
1724 --enable-sound use wxSound class
1725 --enable-mediactrl use wxMediaCtrl class
1726 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1727 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1728 --enable-zipstream use wxZip streams
1729 --enable-url use wxURL class
1730 --enable-variant use wxVariant class
1731 --enable-protocol use wxProtocol class
1732 --enable-protocol-http HTTP support
in wxProtocol
1733 --enable-protocol-ftp FTP support
in wxProtocol
1734 --enable-protocol-file FILE support
in wxProtocol
1735 --enable-threads use threads
1736 --enable-iniconf use wxIniConfig
(Win32 only
)
1737 --enable-regkey use wxRegKey class
(Win32 only
)
1738 --enable-docview use document view architecture
1739 --enable-help use
help subsystem
1740 --enable-mshtmlhelp use MS HTML Help
(win32
)
1741 --enable-html use wxHTML sub
-library
1742 --enable-htmlhelp use wxHTML
-based help
1743 --enable-xrc use XRC resources sub
-library
1744 --enable-aui use AUI docking library
1745 --enable-stc use wxStyledTextCtrl library
1746 --enable-constraints use layout
-constraints system
1747 --enable-printarch use printing architecture
1748 --enable-mdi use multiple document interface architecture
1749 --enable-mdidoc use docview architecture with MDI
1750 --enable-loggui use standard GUI logger
1751 --enable-logwin use wxLogWindow
1752 --enable-logdialog use wxLogDialog
1753 --enable-webkit use wxWebKitCtrl
(Mac
)
1754 --enable-richtext use wxRichTextCtrl
1755 --enable-graphics_ctx use graphics context
2D drawing API
1756 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1757 --enable-svg use wxSVGFileDC device context
1758 --enable-clipboard use wxClipboard class
1759 --enable-dnd use Drag
'n'Drop classes
1760 --enable-metafile use win32 metafiles
1761 --disable-controls disable compilation of all standard controls
1762 --enable-accel use accelerators
1763 --enable-animatectrl use wxAnimationCtrl class
1764 --enable-button use wxButton class
1765 --enable-bmpbutton use wxBitmapButton class
1766 --enable-bmpcombobox use wxBitmapComboBox class
1767 --enable-calendar use wxCalendarCtrl class
1768 --enable-caret use wxCaret class
1769 --enable-checkbox use wxCheckBox class
1770 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1771 --enable-choice use wxChoice class
1772 --enable-choicebook use wxChoicebook class
1773 --enable-collpane use wxCollapsiblePane class
1774 --enable-colourpicker use wxColourPickerCtrl class
1775 --enable-combobox use wxComboBox class
1776 --enable-comboctrl use wxComboCtrl class
1777 --enable-datepick use wxDatePickerCtrl class
1778 --enable-dirpicker use wxDirPickerCtrl class
1779 --enable-display use wxDisplay class
1780 --enable-detect_sm use code to detect X11 session manager
1781 --enable-editablebox use wxEditableListBox class
1782 --enable-filepicker use wxFilePickerCtrl class
1783 --enable-filectrl use wxFileCtrl class
1784 --enable-fontpicker use wxFontPickerCtrl class
1785 --enable-gauge use wxGauge class
1786 --enable-grid use wxGrid class
1787 --enable-dataviewctrl use wxDataViewCtrl class
1788 --enable-hyperlink use wxHyperlinkCtrl class
1789 --enable-imaglist use wxImageList class
1790 --enable-listbook use wxListbook class
1791 --enable-listbox use wxListBox class
1792 --enable-listctrl use wxListCtrl class
1793 --enable-notebook use wxNotebook class
1794 --enable-odcombobox use wxOwnerDrawnComboBox class
1795 --enable-radiobox use wxRadioBox class
1796 --enable-radiobtn use wxRadioButton class
1797 --enable-sash use wxSashWindow class
1798 --enable-scrollbar use wxScrollBar class and scrollable windows
1799 --enable-searchctrl use wxSearchCtrl class
1800 --enable-slider use wxSlider class
1801 --enable-spinbtn use wxSpinButton class
1802 --enable-spinctrl use wxSpinCtrl class
1803 --enable-splitter use wxSplitterWindow class
1804 --enable-statbmp use wxStaticBitmap class
1805 --enable-statbox use wxStaticBox class
1806 --enable-statline use wxStaticLine class
1807 --enable-stattext use wxStaticText class
1808 --enable-statusbar use wxStatusBar class
1809 --enable-tabdialog use wxTabControl class
1810 --enable-taskbaricon use wxTaskBarIcon class
1811 --enable-textctrl use wxTextCtrl class
1812 --enable-togglebtn use wxToggleButton class
1813 --enable-toolbar use wxToolBar class
1814 --enable-tbarnative use native wxToolBar class
1815 --enable-treebook use wxTreebook class
1816 --enable-toolbook use wxToolbook class
1817 --enable-treectrl use wxTreeCtrl class
1818 --enable-tipwindow use wxTipWindow class
1819 --enable-popupwin use wxPopUpWindow class
1820 --enable-commondlg use all common dialogs
1821 --enable-aboutdlg use wxAboutBox
1822 --enable-choicedlg use wxChoiceDialog
1823 --enable-coldlg use wxColourDialog
1824 --enable-filedlg use wxFileDialog
1825 --enable-finddlg use wxFindReplaceDialog
1826 --enable-fontdlg use wxFontDialog
1827 --enable-dirdlg use wxDirDialog
1828 --enable-msgdlg use wxMessageDialog
1829 --enable-numberdlg use wxNumberEntryDialog
1830 --enable-splash use wxSplashScreen
1831 --enable-textdlg use wxTextDialog
1832 --enable-tipdlg use startup tips
1833 --enable-progressdlg use wxProgressDialog
1834 --enable-wizarddlg use wxWizard
1835 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1836 --enable-miniframe use wxMiniFrame class
1837 --enable-tooltips use wxToolTip class
1838 --enable-splines use spline drawing code
1839 --enable-mousewheel use mousewheel
1840 --enable-validators use wxValidator and derived classes
1841 --enable-busyinfo use wxBusyInfo
1842 --enable-joystick use wxJoystick
1843 --enable-metafiles use wxMetaFile
(Win32 only
)
1844 --enable-dragimage use wxDragImage
1845 --enable-accessibility enable accessibility support
1846 --enable-palette use wxPalette class
1847 --enable-image use wxImage class
1848 --enable-gif use gif images
(GIF
file format
)
1849 --enable-pcx use pcx images
(PCX
file format
)
1850 --enable-tga use tga images
(TGA
file format
)
1851 --enable-iff use iff images
(IFF
file format
)
1852 --enable-pnm use pnm images
(PNM
file format
)
1853 --enable-xpm use xpm images
(XPM
file format
)
1854 --enable-icocur use Windows ICO and CUR formats
1855 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1856 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1857 --enable-ownerdrawn use owner drawn controls
(Win32 only
)
1858 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1859 --enable-wxdib use wxDIB class
(Win32 only
)
1860 --disable-largefile omit support
for large files
1861 --disable-gtktest do not try to compile and run a
test GTK
+ program
1862 --disable-gtktest Do not try to compile and run a
test GTK program
1863 --disable-sdltest Do not try to compile and run a
test SDL program
1864 --enable-omf use OMF object format
(OS
/2)
1865 --disable-dependency-tracking
1866 don
't use dependency tracking even if the compiler
1868 --disable-precomp-headers
1869 don't use precompiled headers even
if compiler can
1872 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1873 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1874 --without-subdirs don
't generate makefiles for samples/demos/...
1875 --with-flavour=NAME specify a name to identify this build
1876 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1877 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1878 --with-motif use Motif/Lesstif
1879 --with-mac use Mac OS X
1880 --with-cocoa use Cocoa
1881 --with-wine use Wine
1882 --with-msw use MS-Windows
1883 --with-pm use OS/2 Presentation Manager
1884 --with-mgl use SciTech MGL
1885 --with-directfb use DirectFB
1886 --with-microwin use MicroWindows
1888 --with-libpng use libpng (PNG image format)
1889 --with-libjpeg use libjpeg (JPEG file format)
1890 --with-libtiff use libtiff (TIFF file format)
1891 --with-libxpm use libxpm (XPM file format)
1892 --with-libmspack use libmspack (CHM help files loading)
1893 --without-gtkprint don't use GTK printing support
1894 --without-gnomeprint don
't use GNOME printing libraries
1895 --with-gnomevfs use GNOME VFS for associating MIME types
1896 --with-hildon use Hildon framework for Nokia 770
1897 --with-opengl use OpenGL (or Mesa)
1898 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1899 --with-sdl use SDL for audio on Unix
1900 --with-regex enable support for wxRegEx class
1901 --with-zlib use zlib for LZW compression
1902 --with-expat enable XML support using expat parser
1903 --with-macosx-sdk=PATH use an OS X SDK at PATH
1904 --with-macosx-version-min=VER build binaries which require at least this OS X version
1905 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1906 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1907 --with-x use the X Window System
1908 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1909 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1910 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1911 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1912 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1914 Some influential environment variables:
1915 CC C compiler command
1916 CFLAGS C compiler flags
1917 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1918 nonstandard directory <lib dir>
1919 LIBS libraries to pass to the linker, e.g. -l<library>
1920 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1921 you have headers in a nonstandard directory <include dir>
1923 CXX C++ compiler command
1924 CXXFLAGS C++ compiler flags
1925 PKG_CONFIG path to pkg-config utility
1927 C compiler flags for DIRECTFB, overriding pkg-config
1929 linker flags for DIRECTFB, overriding pkg-config
1930 XMKMF Path to xmkmf, Makefile generator for X Window System
1932 C compiler flags for PANGOX, overriding pkg-config
1933 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1935 C compiler flags for PANGOFT2, overriding pkg-config
1937 linker flags for PANGOFT2, overriding pkg-config
1939 C compiler flags for PANGOXFT, overriding pkg-config
1941 linker flags for PANGOXFT, overriding pkg-config
1943 C compiler flags for GTKPRINT, overriding pkg-config
1945 linker flags for GTKPRINT, overriding pkg-config
1946 LIBGNOMEPRINTUI_CFLAGS
1947 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1948 LIBGNOMEPRINTUI_LIBS
1949 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1951 C compiler flags for GNOMEVFS, overriding pkg-config
1953 linker flags for GNOMEVFS, overriding pkg-config
1955 C compiler flags for HILDON, overriding pkg-config
1956 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1958 C compiler flags for CAIRO, overriding pkg-config
1959 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1960 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1961 GST_LIBS linker flags for GST, overriding pkg-config
1963 Use these variables to override the choices made by `configure' or to
help
1964 it to
find libraries and programs with nonstandard names
/locations.
1966 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1971 if test "$ac_init_help" = "recursive"; then
1972 # If there are subdirs, report their specific --help.
1973 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1974 test -d "$ac_dir" || continue
1978 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1980 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1981 # A ".." for each directory in $ac_dir_suffix.
1982 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1983 case $ac_top_builddir_sub in
1984 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1985 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1988 ac_abs_top_builddir
=$ac_pwd
1989 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1990 # for backward compatibility:
1991 ac_top_builddir
=$ac_top_build_prefix
1994 .
) # We are building in place.
1996 ac_top_srcdir
=$ac_top_builddir_sub
1997 ac_abs_top_srcdir
=$ac_pwd ;;
1998 [\\/]* | ?
:[\\/]* ) # Absolute name.
1999 ac_srcdir
=$srcdir$ac_dir_suffix;
2000 ac_top_srcdir
=$srcdir
2001 ac_abs_top_srcdir
=$srcdir ;;
2003 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2004 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2005 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2007 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2009 cd "$ac_dir" || { ac_status
=$?
; continue; }
2010 # Check for guested configure.
2011 if test -f "$ac_srcdir/configure.gnu"; then
2013 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2014 elif test -f "$ac_srcdir/configure"; then
2016 $SHELL "$ac_srcdir/configure" --help=recursive
2018 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2020 cd "$ac_pwd" || { ac_status
=$?
; break; }
2024 test -n "$ac_init_help" && exit $ac_status
2025 if $ac_init_version; then
2027 wxWidgets configure
2.9.0
2028 generated by GNU Autoconf
2.61
2030 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2031 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2032 This configure
script is free software
; the Free Software Foundation
2033 gives unlimited permission to copy
, distribute and modify it.
2037 cat >config.log
<<_ACEOF
2038 This file contains any messages produced by compilers while
2039 running configure, to aid debugging if configure makes a mistake.
2041 It was created by wxWidgets $as_me 2.9.0, which was
2042 generated by GNU Autoconf 2.61. Invocation command line was
2054 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2055 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2056 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2057 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2058 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2060 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2061 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2063 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2064 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2065 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2066 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2067 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2068 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2069 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2077 test -z "$as_dir" && as_dir
=.
2078 echo "PATH: $as_dir"
2094 # Keep a trace of the command line.
2095 # Strip out --no-create and --no-recursion so they do not pile up.
2096 # Strip out --silent because we don't want to record it for future runs.
2097 # Also quote any args containing shell meta-characters.
2098 # Make two passes to allow for proper duplicate-argument suppression.
2102 ac_must_keep_next
=false
2108 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2109 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2110 | -silent | --silent | --silen | --sile | --sil)
2113 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2116 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2118 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2119 if test $ac_must_keep_next = true
; then
2120 ac_must_keep_next
=false
# Got value, back to normal.
2123 *=* | --config-cache | -C | -disable-* | --disable-* \
2124 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2125 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2126 | -with-* | --with-* | -without-* | --without-* | --x)
2127 case "$ac_configure_args0 " in
2128 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2131 -* ) ac_must_keep_next
=true
;;
2134 ac_configure_args
="$ac_configure_args '$ac_arg'"
2139 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2140 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2142 # When interrupted or exit'd, cleanup temporary files, and complete
2143 # config.log. We remove comments because anyway the quotes in there
2144 # would cause problems or look ugly.
2145 # WARNING: Use '\'' to represent an apostrophe within the trap.
2146 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2147 trap 'exit_status=$?
2148 # Save into config.log some information that might help in debugging.
2153 ## ---------------- ##
2154 ## Cache variables. ##
2155 ## ---------------- ##
2158 # The following way of writing the cache mishandles newlines in values,
2160 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2161 eval ac_val=\$$ac_var
2165 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2166 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2169 _ | IFS | as_nl) ;; #(
2170 *) $as_unset $ac_var ;;
2175 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2176 *${as_nl}ac_space=\ *)
2178 "s/'\''/'\''\\\\'\'''\''/g;
2179 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2182 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2190 ## ----------------- ##
2191 ## Output variables. ##
2192 ## ----------------- ##
2195 for ac_var in $ac_subst_vars
2197 eval ac_val=\$$ac_var
2199 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2201 echo "$ac_var='\''$ac_val'\''"
2205 if test -n "$ac_subst_files"; then
2207 ## ------------------- ##
2208 ## File substitutions. ##
2209 ## ------------------- ##
2212 for ac_var
in $ac_subst_files
2214 eval ac_val
=\$
$ac_var
2216 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2218 echo "$ac_var='\''$ac_val'\''"
2223 if test -s confdefs.h; then
2233 test "$ac_signal" != 0 &&
2234 echo "$as_me: caught signal $ac_signal"
2235 echo "$as_me: exit $exit_status"
2237 rm -f core *.core core.conftest.* &&
2238 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2241 for ac_signal
in 1 2 13 15; do
2242 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2246 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2247 rm -f -r conftest
* confdefs.h
2249 # Predefined preprocessor variables.
2251 cat >>confdefs.h
<<_ACEOF
2252 #define PACKAGE_NAME "$PACKAGE_NAME"
2256 cat >>confdefs.h
<<_ACEOF
2257 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2261 cat >>confdefs.h
<<_ACEOF
2262 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2266 cat >>confdefs.h
<<_ACEOF
2267 #define PACKAGE_STRING "$PACKAGE_STRING"
2271 cat >>confdefs.h
<<_ACEOF
2272 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2276 # Let the site file select an alternate cache file if it wants to.
2277 # Prefer explicitly selected file to automatically selected ones.
2278 if test -n "$CONFIG_SITE"; then
2279 set x
"$CONFIG_SITE"
2280 elif test "x$prefix" != xNONE
; then
2281 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2283 set x
"$ac_default_prefix/share/config.site" \
2284 "$ac_default_prefix/etc/config.site"
2289 if test -r "$ac_site_file"; then
2290 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2291 echo "$as_me: loading site script $ac_site_file" >&6;}
2292 sed 's/^/| /' "$ac_site_file" >&5
2297 if test -r "$cache_file"; then
2298 # Some versions of bash will fail to source /dev/null (special
2299 # files actually), so we avoid doing that.
2300 if test -f "$cache_file"; then
2301 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2302 echo "$as_me: loading cache $cache_file" >&6;}
2304 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2305 *) .
"./$cache_file";;
2309 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2310 echo "$as_me: creating cache $cache_file" >&6;}
2314 # Check that the precious variables saved in the cache have kept the same
2316 ac_cache_corrupted
=false
2317 for ac_var
in $ac_precious_vars; do
2318 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2319 eval ac_new_set
=\
$ac_env_${ac_var}_set
2320 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2321 eval ac_new_val
=\
$ac_env_${ac_var}_value
2322 case $ac_old_set,$ac_new_set in
2324 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2325 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2326 ac_cache_corrupted
=: ;;
2328 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2329 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2330 ac_cache_corrupted
=: ;;
2333 if test "x$ac_old_val" != "x$ac_new_val"; then
2334 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2335 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2336 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2337 echo "$as_me: former value: $ac_old_val" >&2;}
2338 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2339 echo "$as_me: current value: $ac_new_val" >&2;}
2340 ac_cache_corrupted
=:
2343 # Pass precious variables to config.status.
2344 if test "$ac_new_set" = set; then
2346 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2347 *) ac_arg
=$ac_var=$ac_new_val ;;
2349 case " $ac_configure_args " in
2350 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2351 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2355 if $ac_cache_corrupted; then
2356 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2357 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2358 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2359 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2360 { (exit 1); exit 1; }; }
2388 ac_cpp
='$CPP $CPPFLAGS'
2389 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2390 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2391 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2398 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2399 if test -f "$ac_dir/install-sh"; then
2401 ac_install_sh
="$ac_aux_dir/install-sh -c"
2403 elif test -f "$ac_dir/install.sh"; then
2405 ac_install_sh
="$ac_aux_dir/install.sh -c"
2407 elif test -f "$ac_dir/shtool"; then
2409 ac_install_sh
="$ac_aux_dir/shtool install -c"
2413 if test -z "$ac_aux_dir"; then
2414 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2415 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2416 { (exit 1); exit 1; }; }
2419 # These three variables are undocumented and unsupported,
2420 # and are intended to be withdrawn in a future Autoconf release.
2421 # They can cause serious problems if a builder's source tree is in a directory
2422 # whose full name contains unusual characters.
2423 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2424 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2425 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2428 # Make sure we can run config.sub.
2429 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2430 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2431 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2432 { (exit 1); exit 1; }; }
2434 { echo "$as_me:$LINENO: checking build system type" >&5
2435 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2436 if test "${ac_cv_build+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2439 ac_build_alias
=$build_alias
2440 test "x$ac_build_alias" = x
&&
2441 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2442 test "x$ac_build_alias" = x
&&
2443 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2444 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2445 { (exit 1); exit 1; }; }
2446 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2447 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2448 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2449 { (exit 1); exit 1; }; }
2452 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2453 echo "${ECHO_T}$ac_cv_build" >&6; }
2454 case $ac_cv_build in
2456 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2457 echo "$as_me: error: invalid value of canonical build" >&2;}
2458 { (exit 1); exit 1; }; };;
2461 ac_save_IFS
=$IFS; IFS
='-'
2467 # Remember, the first character of IFS is used to create $*,
2468 # except with old shells:
2471 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2474 { echo "$as_me:$LINENO: checking host system type" >&5
2475 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2476 if test "${ac_cv_host+set}" = set; then
2477 echo $ECHO_N "(cached) $ECHO_C" >&6
2479 if test "x$host_alias" = x
; then
2480 ac_cv_host
=$ac_cv_build
2482 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2483 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2484 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2485 { (exit 1); exit 1; }; }
2489 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2490 echo "${ECHO_T}$ac_cv_host" >&6; }
2493 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2494 echo "$as_me: error: invalid value of canonical host" >&2;}
2495 { (exit 1); exit 1; }; };;
2498 ac_save_IFS
=$IFS; IFS
='-'
2504 # Remember, the first character of IFS is used to create $*,
2505 # except with old shells:
2508 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2511 { echo "$as_me:$LINENO: checking target system type" >&5
2512 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2513 if test "${ac_cv_target+set}" = set; then
2514 echo $ECHO_N "(cached) $ECHO_C" >&6
2516 if test "x$target_alias" = x
; then
2517 ac_cv_target
=$ac_cv_host
2519 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2520 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2521 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2522 { (exit 1); exit 1; }; }
2526 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2527 echo "${ECHO_T}$ac_cv_target" >&6; }
2528 case $ac_cv_target in
2530 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2531 echo "$as_me: error: invalid value of canonical target" >&2;}
2532 { (exit 1); exit 1; }; };;
2534 target
=$ac_cv_target
2535 ac_save_IFS
=$IFS; IFS
='-'
2541 # Remember, the first character of IFS is used to create $*,
2542 # except with old shells:
2545 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2548 # The aliases save the names the user supplied, while $host etc.
2549 # will get canonicalized.
2550 test -n "$target_alias" &&
2551 test "$program_prefix$program_suffix$program_transform_name" = \
2553 program_prefix
=${target_alias}-
2557 wx_major_version_number
=2
2558 wx_minor_version_number
=9
2560 wx_subrelease_number
=0
2562 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2563 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2564 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2566 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2569 wx_top_builddir
="`pwd`"
2582 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2588 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2594 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2596 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2598 DEFAULT_wxUSE_COCOA
=0
2602 DEFAULT_wxUSE_MICROWIN
=0
2603 DEFAULT_wxUSE_MOTIF
=0
2609 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2610 DEFAULT_DEFAULT_wxUSE_GTK
=0
2611 DEFAULT_DEFAULT_wxUSE_MAC
=0
2612 DEFAULT_DEFAULT_wxUSE_MGL
=0
2613 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2614 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2615 DEFAULT_DEFAULT_wxUSE_MSW
=0
2616 DEFAULT_DEFAULT_wxUSE_PM
=0
2617 DEFAULT_DEFAULT_wxUSE_X11
=0
2618 DEFAULT_DEFAULT_wxUSE_DFB
=0
2623 SAMPLES_RPATH_POSTLINK
=
2625 DEFAULT_STD_FLAG
=yes
2630 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2631 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2633 cat >>confdefs.h
<<\_ACEOF
2638 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2642 cat >>confdefs.h
<<\_ACEOF
2647 if test "x$TMP" = "xalpha"; then
2649 cat >>confdefs.h
<<\_ACEOF
2654 DEFAULT_DEFAULT_wxUSE_GTK
=1
2656 *-*-gnu* | *-*-k*bsd
*-gnu )
2659 if test "x$TMP" = "xalpha"; then
2661 cat >>confdefs.h
<<\_ACEOF
2666 DEFAULT_DEFAULT_wxUSE_GTK
=1
2668 *-*-irix5* | *-*-irix6* )
2671 cat >>confdefs.h
<<\_ACEOF
2675 cat >>confdefs.h
<<\_ACEOF
2679 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2685 cat >>confdefs.h
<<\_ACEOF
2689 cat >>confdefs.h
<<\_ACEOF
2690 #define __SOLARIS__ 1
2693 cat >>confdefs.h
<<\_ACEOF
2697 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2698 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2704 cat >>confdefs.h
<<\_ACEOF
2708 cat >>confdefs.h
<<\_ACEOF
2712 cat >>confdefs.h
<<\_ACEOF
2716 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2721 cat >>confdefs.h
<<\_ACEOF
2722 #define __FREEBSD__ 1
2725 cat >>confdefs.h
<<\_ACEOF
2729 DEFAULT_DEFAULT_wxUSE_GTK
=1
2731 *-*-openbsd*|*-*-mirbsd*)
2734 cat >>confdefs.h
<<\_ACEOF
2735 #define __OPENBSD__ 1
2738 cat >>confdefs.h
<<\_ACEOF
2742 DEFAULT_DEFAULT_wxUSE_GTK
=1
2747 cat >>confdefs.h
<<\_ACEOF
2748 #define __NETBSD__ 1
2751 cat >>confdefs.h
<<\_ACEOF
2755 DEFAULT_DEFAULT_wxUSE_GTK
=1
2756 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2758 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2763 cat >>confdefs.h
<<\_ACEOF
2767 cat >>confdefs.h
<<\_ACEOF
2771 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2772 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2777 cat >>confdefs.h
<<\_ACEOF
2781 cat >>confdefs.h
<<\_ACEOF
2785 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2790 cat >>confdefs.h
<<\_ACEOF
2794 cat >>confdefs.h
<<\_ACEOF
2798 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2805 cat >>confdefs.h
<<\_ACEOF
2809 cat >>confdefs.h
<<\_ACEOF
2813 cat >>confdefs.h
<<\_ACEOF
2817 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2824 cat >>confdefs.h
<<\_ACEOF
2825 #define __UNIXWARE__ 1
2830 *-*-cygwin* | *-*-mingw32* )
2833 DEFAULT_DEFAULT_wxUSE_MSW
=1
2839 cat >>confdefs.h
<<\_ACEOF
2844 DEFAULT_DEFAULT_wxUSE_MGL
=1
2847 *-pc-os2_emx | *-pc-os2-emx )
2848 cat >>confdefs.h
<<\_ACEOF
2853 cat >>confdefs.h
<<\_ACEOF
2858 DEFAULT_DEFAULT_wxUSE_PM
=1
2860 LDFLAGS
="$LDFLAGS -Zcrtdll"
2861 ac_executable_extensions
=".exe"
2862 export ac_executable_extensions
2866 for ac_dir
in $PATH; do
2868 if test -z "$ac_TEMP_PATH"; then
2869 ac_TEMP_PATH
="$ac_dir"
2871 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2874 export PATH
="$ac_TEMP_PATH"
2883 cat >>confdefs.h
<<\_ACEOF
2887 cat >>confdefs.h
<<\_ACEOF
2888 #define __DARWIN__ 1
2891 cat >>confdefs.h
<<\_ACEOF
2892 #define TARGET_CARBON 1
2895 DEFAULT_DEFAULT_wxUSE_MAC
=1
2898 powerpc
-apple-macos* )
2900 ac_cv_c_bigendian
=yes
2902 DEFAULT_DEFAULT_wxUSE_MAC
=1
2908 cat >>confdefs.h
<<\_ACEOF
2915 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2916 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2917 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2918 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2920 DEFAULT_DEFAULT_wxUSE_X11
=1
2921 DEFAULT_wxUSE_SHARED
=no
2927 wx_arg_cache_file
="configarg.cache"
2928 echo "loading argument cache $wx_arg_cache_file"
2929 rm -f ${wx_arg_cache_file}.tmp
2930 touch ${wx_arg_cache_file}.tmp
2931 touch ${wx_arg_cache_file}
2934 DEFAULT_wxUSE_ALL_FEATURES
=yes
2936 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2937 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2939 DEFAULT_wxUSE_DMALLOC
=no
2940 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2941 DEFAULT_wxUSE_LIBHILDON
=no
2942 DEFAULT_wxUSE_LIBMSPACK
=no
2943 DEFAULT_wxUSE_LIBSDL
=no
2944 DEFAULT_wxUSE_OPENGL
=no
2946 DEFAULT_wxUSE_ACCESSIBILITY
=no
2947 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2948 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2949 DEFAULT_wxUSE_MEDIACTRL
=no
2950 DEFAULT_wxUSE_TAB_DIALOG
=no
2952 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2953 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2955 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2957 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2959 DEFAULT_wxUSE_GTK2
=yes
2961 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2964 for toolkit
in `echo $ALL_TOOLKITS`; do
2965 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2966 if test "x$LINE" != "x" ; then
2967 has_toolkit_in_cache
=1
2968 eval "DEFAULT_$LINE"
2969 eval "CACHE_$toolkit=1"
2971 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2972 if test "x$LINE" != "x" ; then
2973 eval "DEFAULT_$LINE"
2982 enablestring
=disable
2984 if test -z "$defaultval"; then
2985 if test x
"$enablestring" = xdisable
; then
2992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2993 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2994 # Check whether --enable-gui was given.
2995 if test "${enable_gui+set}" = set; then
2996 enableval
=$enable_gui;
2997 if test "$enableval" = yes; then
2998 wx_cv_use_gui
='wxUSE_GUI=yes'
3000 wx_cv_use_gui
='wxUSE_GUI=no'
3006 LINE
=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3007 if test "x$LINE" != x
; then
3008 eval "DEFAULT_$LINE"
3014 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3019 eval "$wx_cv_use_gui"
3020 if test "x$cache" = xyes; then
3021 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3024 if test x"$enablestring" = xdisable; then
3025 if test $wxUSE_GUI = yes; then
3034 { echo "$as_me:$LINENO: result: $result" >&5
3035 echo "${ECHO_T}$result" >&6; }
3040 if test -z "$defaultval"; then
3041 if test x"$enablestring" = xdisable; then
3048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3049 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3050 # Check whether --enable-monolithic was given.
3051 if test "${enable_monolithic+set}" = set; then
3052 enableval=$enable_monolithic;
3053 if test "$enableval" = yes; then
3054 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3056 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3062 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3063 if test "x$LINE" != x ; then
3064 eval "DEFAULT_$LINE"
3070 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3075 eval "$wx_cv_use_monolithic"
3076 if test "x
$cache" = xyes; then
3077 echo "wxUSE_MONOLITHIC
=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3080 if test x"$enablestring" = xdisable; then
3081 if test $wxUSE_MONOLITHIC = yes; then
3087 result=$wxUSE_MONOLITHIC
3090 { echo "$as_me:$LINENO: result
: $result" >&5
3091 echo "${ECHO_T}$result" >&6; }
3096 if test -z "$defaultval"; then
3097 if test x"$enablestring" = xdisable; then
3104 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3105 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3106 # Check whether --enable-plugins was given.
3107 if test "${enable_plugins+set}" = set; then
3108 enableval=$enable_plugins;
3109 if test "$enableval" = yes; then
3110 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3112 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3118 LINE=`grep "^wxUSE_PLUGINS
=" ${wx_arg_cache_file}`
3119 if test "x
$LINE" != x ; then
3120 eval "DEFAULT_
$LINE"
3126 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3131 eval "$wx_cv_use_plugins"
3132 if test "x$cache" = xyes
; then
3133 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3136 if test x
"$enablestring" = xdisable
; then
3137 if test $wxUSE_PLUGINS = yes; then
3143 result
=$wxUSE_PLUGINS
3146 { echo "$as_me:$LINENO: result: $result" >&5
3147 echo "${ECHO_T}$result" >&6; }
3151 defaultval
=$wxUSE_ALL_FEATURES
3152 if test -z "$defaultval"; then
3153 if test x
"$withstring" = xwithout
; then
3159 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3160 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3162 # Check whether --with-subdirs was given.
3163 if test "${with_subdirs+set}" = set; then
3164 withval
=$with_subdirs;
3165 if test "$withval" = yes; then
3166 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3168 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3174 LINE
=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3175 if test "x$LINE" != x
; then
3176 eval "DEFAULT_$LINE"
3182 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3187 eval "$wx_cv_use_subdirs"
3188 if test "x$cache" = xyes; then
3189 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3192 if test x"$withstring" = xwithout; then
3193 if test $wxWITH_SUBDIRS = yes; then
3199 result=$wxWITH_SUBDIRS
3202 { echo "$as_me:$LINENO: result: $result" >&5
3203 echo "${ECHO_T}$result" >&6; }
3206 # Check whether --with-flavour was given.
3207 if test "${with_flavour+set}" = set; then
3208 withval=$with_flavour; WX_FLAVOUR="$withval"
3214 if test -z "$defaultval"; then
3215 if test x"$enablestring" = xdisable; then
3222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3223 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3224 # Check whether --enable-official_build was given.
3225 if test "${enable_official_build+set}" = set; then
3226 enableval=$enable_official_build;
3227 if test "$enableval" = yes; then
3228 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3230 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3236 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3237 if test "x$LINE" != x ; then
3238 eval "DEFAULT_$LINE"
3244 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3249 eval "$wx_cv_use_official_build"
3250 if test "x
$cache" = xyes; then
3251 echo "wxUSE_OFFICIAL_BUILD
=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3254 if test x"$enablestring" = xdisable; then
3255 if test $wxUSE_OFFICIAL_BUILD = yes; then
3261 result=$wxUSE_OFFICIAL_BUILD
3264 { echo "$as_me:$LINENO: result
: $result" >&5
3265 echo "${ECHO_T}$result" >&6; }
3267 # Check whether --enable-vendor was given.
3268 if test "${enable_vendor+set}" = set; then
3269 enableval=$enable_vendor; VENDOR="$enableval"
3272 if test "x
$VENDOR" = "x
"; then
3277 enablestring=disable
3279 if test -z "$defaultval"; then
3280 if test x"$enablestring" = xdisable; then
3287 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3288 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3289 # Check whether --enable-all-features was given.
3290 if test "${enable_all_features+set}" = set; then
3291 enableval=$enable_all_features;
3292 if test "$enableval" = yes; then
3293 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3295 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3301 LINE=`grep "^wxUSE_ALL_FEATURES
=" ${wx_arg_cache_file}`
3302 if test "x
$LINE" != x ; then
3303 eval "DEFAULT_
$LINE"
3309 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3314 eval "$wx_cv_use_all_features"
3315 if test "x$cache" = xyes
; then
3316 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3319 if test x
"$enablestring" = xdisable
; then
3320 if test $wxUSE_ALL_FEATURES = yes; then
3326 result
=$wxUSE_ALL_FEATURES
3329 { echo "$as_me:$LINENO: result: $result" >&5
3330 echo "${ECHO_T}$result" >&6; }
3334 if test "$wxUSE_GUI" = "yes"; then
3339 if test -z "$defaultval"; then
3340 if test x
"$enablestring" = xdisable
; then
3347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3348 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3349 # Check whether --enable-universal was given.
3350 if test "${enable_universal+set}" = set; then
3351 enableval
=$enable_universal;
3352 if test "$enableval" = yes; then
3353 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3355 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3361 LINE
=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3362 if test "x$LINE" != x
; then
3363 eval "DEFAULT_$LINE"
3369 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3374 eval "$wx_cv_use_universal"
3375 if test "x$cache" = xyes; then
3376 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3379 if test x"$enablestring" = xdisable; then
3380 if test $wxUSE_UNIVERSAL = yes; then
3386 result=$wxUSE_UNIVERSAL
3389 { echo "$as_me:$LINENO: result: $result" >&5
3390 echo "${ECHO_T}$result" >&6; }
3392 if test "$wxUSE_UNIVERSAL" = "yes"; then
3394 # Check whether --with-themes was given.
3395 if test "${with_themes+set}" = set; then
3396 withval=$with_themes; wxUNIV_THEMES="$withval"
3402 # Check whether --with-gtk was given.
3403 if test "${with_gtk+set}" = set; then
3404 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3408 # Check whether --with-motif was given.
3409 if test "${with_motif+set}" = set; then
3410 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3414 # Check whether --with-mac was given.
3415 if test "${with_mac+set}" = set; then
3416 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3420 # Check whether --with-cocoa was given.
3421 if test "${with_cocoa+set}" = set; then
3422 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3426 # Check whether --with-wine was given.
3427 if test "${with_wine+set}" = set; then
3428 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3432 # Check whether --with-msw was given.
3433 if test "${with_msw+set}" = set; then
3434 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3438 # Check whether --with-pm was given.
3439 if test "${with_pm+set}" = set; then
3440 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3444 # Check whether --with-mgl was given.
3445 if test "${with_mgl+set}" = set; then
3446 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3450 # Check whether --with-directfb was given.
3451 if test "${with_directfb+set}" = set; then
3452 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3456 # Check whether --with-microwin was given.
3457 if test "${with_microwin+set}" = set; then
3458 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3462 # Check whether --with-x11 was given.
3463 if test "${with_x11+set}" = set; then
3464 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3470 if test -z "$defaultval"; then
3471 if test x"$enablestring" = xdisable; then
3478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3479 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3480 # Check whether --enable-nanox was given.
3481 if test "${enable_nanox+set}" = set; then
3482 enableval=$enable_nanox;
3483 if test "$enableval" = yes; then
3484 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3486 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3492 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3493 if test "x$LINE" != x ; then
3494 eval "DEFAULT_$LINE"
3500 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3505 eval "$wx_cv_use_nanox"
3506 if test "x
$cache" = xyes; then
3507 echo "wxUSE_NANOX
=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3510 if test x"$enablestring" = xdisable; then
3511 if test $wxUSE_NANOX = yes; then
3520 { echo "$as_me:$LINENO: result
: $result" >&5
3521 echo "${ECHO_T}$result" >&6; }
3524 # Check whether --enable-gtk2 was given.
3525 if test "${enable_gtk2+set}" = set; then
3526 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3532 if test -z "$defaultval"; then
3533 if test x"$enablestring" = xdisable; then
3540 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3541 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3542 # Check whether --enable-gpe was given.
3543 if test "${enable_gpe+set}" = set; then
3544 enableval=$enable_gpe;
3545 if test "$enableval" = yes; then
3546 wx_cv_use_gpe='wxUSE_GPE=yes'
3548 wx_cv_use_gpe='wxUSE_GPE=no'
3554 LINE=`grep "^wxUSE_GPE
=" ${wx_arg_cache_file}`
3555 if test "x
$LINE" != x ; then
3556 eval "DEFAULT_
$LINE"
3562 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3567 eval "$wx_cv_use_gpe"
3568 if test "x$cache" = xyes
; then
3569 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3572 if test x
"$enablestring" = xdisable
; then
3573 if test $wxUSE_GPE = yes; then
3582 { echo "$as_me:$LINENO: result: $result" >&5
3583 echo "${ECHO_T}$result" >&6; }
3588 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3589 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3591 # Check whether --with-libpng was given.
3592 if test "${with_libpng+set}" = set; then
3593 withval
=$with_libpng;
3594 if test "$withval" = yes; then
3595 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3596 elif test "$withval" = no
; then
3597 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3598 elif test "$withval" = sys
; then
3599 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3600 elif test "$withval" = builtin; then
3601 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3603 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3604 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3605 { (exit 1); exit 1; }; }
3611 LINE
=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3612 if test "x$LINE" != x
; then
3613 eval "DEFAULT_$LINE"
3619 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3624 eval "$wx_cv_use_libpng"
3625 if test "x$cache" = xyes; then
3626 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3629 if test "$wxUSE_LIBPNG" = yes; then
3630 { echo "$as_me:$LINENO: result: yes" >&5
3631 echo "${ECHO_T}yes" >&6; }
3632 elif test "$wxUSE_LIBPNG" = no; then
3633 { echo "$as_me:$LINENO: result: no" >&5
3634 echo "${ECHO_T}no" >&6; }
3635 elif test "$wxUSE_LIBPNG" = sys; then
3636 { echo "$as_me:$LINENO: result: system version" >&5
3637 echo "${ECHO_T}system version" >&6; }
3638 elif test "$wxUSE_LIBPNG" = builtin; then
3639 { echo "$as_me:$LINENO: result: builtin version" >&5
3640 echo "${ECHO_T}builtin version" >&6; }
3642 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3643 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3644 { (exit 1); exit 1; }; }
3648 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3649 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3651 # Check whether --with-libjpeg was given.
3652 if test "${with_libjpeg+set}" = set; then
3653 withval=$with_libjpeg;
3654 if test "$withval" = yes; then
3655 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3656 elif test "$withval" = no; then
3657 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3658 elif test "$withval" = sys; then
3659 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3660 elif test "$withval" = builtin; then
3661 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3663 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3664 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3665 { (exit 1); exit 1; }; }
3671 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3672 if test "x$LINE" != x ; then
3673 eval "DEFAULT_$LINE"
3679 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3684 eval "$wx_cv_use_libjpeg"
3685 if test "x
$cache" = xyes; then
3686 echo "wxUSE_LIBJPEG
=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3689 if test "$wxUSE_LIBJPEG" = yes; then
3690 { echo "$as_me:$LINENO: result
: yes" >&5
3691 echo "${ECHO_T}yes" >&6; }
3692 elif test "$wxUSE_LIBJPEG" = no; then
3693 { echo "$as_me:$LINENO: result
: no
" >&5
3694 echo "${ECHO_T}no
" >&6; }
3695 elif test "$wxUSE_LIBJPEG" = sys; then
3696 { echo "$as_me:$LINENO: result
: system version
" >&5
3697 echo "${ECHO_T}system version
" >&6; }
3698 elif test "$wxUSE_LIBJPEG" = builtin; then
3699 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3700 echo "${ECHO_T}builtin version
" >&6; }
3702 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3703 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3704 { (exit 1); exit 1; }; }
3708 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3709 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3711 # Check whether --with-libtiff was given.
3712 if test "${with_libtiff+set}" = set; then
3713 withval=$with_libtiff;
3714 if test "$withval" = yes; then
3715 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3716 elif test "$withval" = no; then
3717 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3718 elif test "$withval" = sys; then
3719 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3720 elif test "$withval" = builtin; then
3721 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3723 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3724 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3725 { (exit 1); exit 1; }; }
3731 LINE=`grep "^wxUSE_LIBTIFF
=" ${wx_arg_cache_file}`
3732 if test "x
$LINE" != x ; then
3733 eval "DEFAULT_
$LINE"
3739 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3744 eval "$wx_cv_use_libtiff"
3745 if test "x$cache" = xyes
; then
3746 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3749 if test "$wxUSE_LIBTIFF" = yes; then
3750 { echo "$as_me:$LINENO: result: yes" >&5
3751 echo "${ECHO_T}yes" >&6; }
3752 elif test "$wxUSE_LIBTIFF" = no
; then
3753 { echo "$as_me:$LINENO: result: no" >&5
3754 echo "${ECHO_T}no" >&6; }
3755 elif test "$wxUSE_LIBTIFF" = sys
; then
3756 { echo "$as_me:$LINENO: result: system version" >&5
3757 echo "${ECHO_T}system version" >&6; }
3758 elif test "$wxUSE_LIBTIFF" = builtin; then
3759 { echo "$as_me:$LINENO: result: builtin version" >&5
3760 echo "${ECHO_T}builtin version" >&6; }
3762 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3763 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3764 { (exit 1); exit 1; }; }
3768 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3769 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3771 # Check whether --with-libxpm was given.
3772 if test "${with_libxpm+set}" = set; then
3773 withval
=$with_libxpm;
3774 if test "$withval" = yes; then
3775 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3776 elif test "$withval" = no
; then
3777 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3778 elif test "$withval" = sys
; then
3779 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3780 elif test "$withval" = builtin; then
3781 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3783 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3784 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3785 { (exit 1); exit 1; }; }
3791 LINE
=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3792 if test "x$LINE" != x
; then
3793 eval "DEFAULT_$LINE"
3799 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3804 eval "$wx_cv_use_libxpm"
3805 if test "x$cache" = xyes; then
3806 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3809 if test "$wxUSE_LIBXPM" = yes; then
3810 { echo "$as_me:$LINENO: result: yes" >&5
3811 echo "${ECHO_T}yes" >&6; }
3812 elif test "$wxUSE_LIBXPM" = no; then
3813 { echo "$as_me:$LINENO: result: no" >&5
3814 echo "${ECHO_T}no" >&6; }
3815 elif test "$wxUSE_LIBXPM" = sys; then
3816 { echo "$as_me:$LINENO: result: system version" >&5
3817 echo "${ECHO_T}system version" >&6; }
3818 elif test "$wxUSE_LIBXPM" = builtin; then
3819 { echo "$as_me:$LINENO: result: builtin version" >&5
3820 echo "${ECHO_T}builtin version" >&6; }
3822 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3823 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3824 { (exit 1); exit 1; }; }
3829 defaultval=$wxUSE_ALL_FEATURES
3830 if test -z "$defaultval"; then
3831 if test x"$withstring" = xwithout; then
3837 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3838 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3840 # Check whether --with-libmspack was given.
3841 if test "${with_libmspack+set}" = set; then
3842 withval=$with_libmspack;
3843 if test "$withval" = yes; then
3844 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3846 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3852 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3853 if test "x$LINE" != x ; then
3854 eval "DEFAULT_$LINE"
3860 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3865 eval "$wx_cv_use_libmspack"
3866 if test "x
$cache" = xyes; then
3867 echo "wxUSE_LIBMSPACK
=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3870 if test x"$withstring" = xwithout; then
3871 if test $wxUSE_LIBMSPACK = yes; then
3877 result=$wxUSE_LIBMSPACK
3880 { echo "$as_me:$LINENO: result
: $result" >&5
3881 echo "${ECHO_T}$result" >&6; }
3885 defaultval=$wxUSE_ALL_FEATURES
3886 if test -z "$defaultval"; then
3887 if test x"$withstring" = xwithout; then
3893 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gtkprint" >&5
3894 echo $ECHO_N "checking
for --${withstring:-with}-gtkprint...
$ECHO_C" >&6; }
3896 # Check whether --with-gtkprint was given.
3897 if test "${with_gtkprint+set}" = set; then
3898 withval=$with_gtkprint;
3899 if test "$withval" = yes; then
3900 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3902 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3908 LINE=`grep "^wxUSE_GTKPRINT
=" ${wx_arg_cache_file}`
3909 if test "x
$LINE" != x ; then
3910 eval "DEFAULT_
$LINE"
3916 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3921 eval "$wx_cv_use_gtkprint"
3922 if test "x$cache" = xyes
; then
3923 echo "wxUSE_GTKPRINT=$wxUSE_GTKPRINT" >> ${wx_arg_cache_file}.tmp
3926 if test x
"$withstring" = xwithout
; then
3927 if test $wxUSE_GTKPRINT = yes; then
3933 result
=$wxUSE_GTKPRINT
3936 { echo "$as_me:$LINENO: result: $result" >&5
3937 echo "${ECHO_T}$result" >&6; }
3941 defaultval
=$wxUSE_ALL_FEATURES
3942 if test -z "$defaultval"; then
3943 if test x
"$withstring" = xwithout
; then
3949 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3950 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3952 # Check whether --with-gnomeprint was given.
3953 if test "${with_gnomeprint+set}" = set; then
3954 withval
=$with_gnomeprint;
3955 if test "$withval" = yes; then
3956 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3958 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3964 LINE
=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3965 if test "x$LINE" != x
; then
3966 eval "DEFAULT_$LINE"
3972 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3977 eval "$wx_cv_use_gnomeprint"
3978 if test "x$cache" = xyes; then
3979 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3982 if test x"$withstring" = xwithout; then
3983 if test $wxUSE_LIBGNOMEPRINT = yes; then
3989 result=$wxUSE_LIBGNOMEPRINT
3992 { echo "$as_me:$LINENO: result: $result" >&5
3993 echo "${ECHO_T}$result" >&6; }
3997 defaultval=$wxUSE_ALL_FEATURES
3998 if test -z "$defaultval"; then
3999 if test x"$withstring" = xwithout; then
4005 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4006 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4008 # Check whether --with-gnomevfs was given.
4009 if test "${with_gnomevfs+set}" = set; then
4010 withval=$with_gnomevfs;
4011 if test "$withval" = yes; then
4012 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
4014 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
4020 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4021 if test "x$LINE" != x ; then
4022 eval "DEFAULT_$LINE"
4028 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4033 eval "$wx_cv_use_gnomevfs"
4034 if test "x
$cache" = xyes; then
4035 echo "wxUSE_LIBGNOMEVFS
=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
4038 if test x"$withstring" = xwithout; then
4039 if test $wxUSE_LIBGNOMEVFS = yes; then
4045 result=$wxUSE_LIBGNOMEVFS
4048 { echo "$as_me:$LINENO: result
: $result" >&5
4049 echo "${ECHO_T}$result" >&6; }
4053 defaultval=$wxUSE_ALL_FEATURES
4054 if test -z "$defaultval"; then
4055 if test x"$withstring" = xwithout; then
4061 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-hildon" >&5
4062 echo $ECHO_N "checking
for --${withstring:-with}-hildon...
$ECHO_C" >&6; }
4064 # Check whether --with-hildon was given.
4065 if test "${with_hildon+set}" = set; then
4066 withval=$with_hildon;
4067 if test "$withval" = yes; then
4068 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4070 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4076 LINE=`grep "^wxUSE_LIBHILDON
=" ${wx_arg_cache_file}`
4077 if test "x
$LINE" != x ; then
4078 eval "DEFAULT_
$LINE"
4084 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4089 eval "$wx_cv_use_hildon"
4090 if test "x$cache" = xyes
; then
4091 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4094 if test x
"$withstring" = xwithout
; then
4095 if test $wxUSE_LIBHILDON = yes; then
4101 result
=$wxUSE_LIBHILDON
4104 { echo "$as_me:$LINENO: result: $result" >&5
4105 echo "${ECHO_T}$result" >&6; }
4109 defaultval
=$wxUSE_ALL_FEATURES
4110 if test -z "$defaultval"; then
4111 if test x
"$withstring" = xwithout
; then
4117 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4118 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4120 # Check whether --with-opengl was given.
4121 if test "${with_opengl+set}" = set; then
4122 withval
=$with_opengl;
4123 if test "$withval" = yes; then
4124 wx_cv_use_opengl
='wxUSE_OPENGL=yes'
4126 wx_cv_use_opengl
='wxUSE_OPENGL=no'
4132 LINE
=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4133 if test "x$LINE" != x
; then
4134 eval "DEFAULT_$LINE"
4140 wx_cv_use_opengl
='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4145 eval "$wx_cv_use_opengl"
4146 if test "x$cache" = xyes; then
4147 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4150 if test x"$withstring" = xwithout; then
4151 if test $wxUSE_OPENGL = yes; then
4157 result=$wxUSE_OPENGL
4160 { echo "$as_me:$LINENO: result: $result" >&5
4161 echo "${ECHO_T}$result" >&6; }
4168 defaultval=$wxUSE_ALL_FEATURES
4169 if test -z "$defaultval"; then
4170 if test x"$withstring" = xwithout; then
4176 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4177 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4179 # Check whether --with-dmalloc was given.
4180 if test "${with_dmalloc+set}" = set; then
4181 withval=$with_dmalloc;
4182 if test "$withval" = yes; then
4183 wx_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
4185 wx_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
4191 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4192 if test "x$LINE" != x ; then
4193 eval "DEFAULT_$LINE"
4199 wx_cv_use_dmalloc='wxUSE_DMALLOC
=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4204 eval "$wx_cv_use_dmalloc"
4205 if test "x
$cache" = xyes; then
4206 echo "wxUSE_DMALLOC
=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4209 if test x"$withstring" = xwithout; then
4210 if test $wxUSE_DMALLOC = yes; then
4216 result=$wxUSE_DMALLOC
4219 { echo "$as_me:$LINENO: result
: $result" >&5
4220 echo "${ECHO_T}$result" >&6; }
4224 defaultval=$wxUSE_ALL_FEATURES
4225 if test -z "$defaultval"; then
4226 if test x"$withstring" = xwithout; then
4232 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-sdl" >&5
4233 echo $ECHO_N "checking
for --${withstring:-with}-sdl...
$ECHO_C" >&6; }
4235 # Check whether --with-sdl was given.
4236 if test "${with_sdl+set}" = set; then
4238 if test "$withval" = yes; then
4239 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4241 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4247 LINE=`grep "^wxUSE_LIBSDL
=" ${wx_arg_cache_file}`
4248 if test "x
$LINE" != x ; then
4249 eval "DEFAULT_
$LINE"
4255 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4260 eval "$wx_cv_use_sdl"
4261 if test "x$cache" = xyes
; then
4262 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4265 if test x
"$withstring" = xwithout
; then
4266 if test $wxUSE_LIBSDL = yes; then
4272 result
=$wxUSE_LIBSDL
4275 { echo "$as_me:$LINENO: result: $result" >&5
4276 echo "${ECHO_T}$result" >&6; }
4279 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4280 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4282 # Check whether --with-regex was given.
4283 if test "${with_regex+set}" = set; then
4284 withval
=$with_regex;
4285 if test "$withval" = yes; then
4286 wx_cv_use_regex
='wxUSE_REGEX=yes'
4287 elif test "$withval" = no
; then
4288 wx_cv_use_regex
='wxUSE_REGEX=no'
4289 elif test "$withval" = sys
; then
4290 wx_cv_use_regex
='wxUSE_REGEX=sys'
4291 elif test "$withval" = builtin; then
4292 wx_cv_use_regex
='wxUSE_REGEX=builtin'
4294 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4295 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4296 { (exit 1); exit 1; }; }
4302 LINE
=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4303 if test "x$LINE" != x
; then
4304 eval "DEFAULT_$LINE"
4310 wx_cv_use_regex
='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4315 eval "$wx_cv_use_regex"
4316 if test "x$cache" = xyes; then
4317 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4320 if test "$wxUSE_REGEX" = yes; then
4321 { echo "$as_me:$LINENO: result: yes" >&5
4322 echo "${ECHO_T}yes" >&6; }
4323 elif test "$wxUSE_REGEX" = no; then
4324 { echo "$as_me:$LINENO: result: no" >&5
4325 echo "${ECHO_T}no" >&6; }
4326 elif test "$wxUSE_REGEX" = sys; then
4327 { echo "$as_me:$LINENO: result: system version" >&5
4328 echo "${ECHO_T}system version" >&6; }
4329 elif test "$wxUSE_REGEX" = builtin; then
4330 { echo "$as_me:$LINENO: result: builtin version" >&5
4331 echo "${ECHO_T}builtin version" >&6; }
4333 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4334 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4335 { (exit 1); exit 1; }; }
4339 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4340 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4342 # Check whether --with-zlib was given.
4343 if test "${with_zlib+set}" = set; then
4345 if test "$withval" = yes; then
4346 wx_cv_use_zlib='wxUSE_ZLIB
=yes'
4347 elif test "$withval" = no; then
4348 wx_cv_use_zlib='wxUSE_ZLIB
=no
'
4349 elif test "$withval" = sys; then
4350 wx_cv_use_zlib='wxUSE_ZLIB
=sys
'
4351 elif test "$withval" = builtin; then
4352 wx_cv_use_zlib='wxUSE_ZLIB
=builtin'
4354 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4355 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4356 { (exit 1); exit 1; }; }
4362 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4363 if test "x$LINE" != x ; then
4364 eval "DEFAULT_$LINE"
4370 wx_cv_use_zlib='wxUSE_ZLIB
=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4375 eval "$wx_cv_use_zlib"
4376 if test "x
$cache" = xyes; then
4377 echo "wxUSE_ZLIB
=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4380 if test "$wxUSE_ZLIB" = yes; then
4381 { echo "$as_me:$LINENO: result
: yes" >&5
4382 echo "${ECHO_T}yes" >&6; }
4383 elif test "$wxUSE_ZLIB" = no; then
4384 { echo "$as_me:$LINENO: result
: no
" >&5
4385 echo "${ECHO_T}no
" >&6; }
4386 elif test "$wxUSE_ZLIB" = sys; then
4387 { echo "$as_me:$LINENO: result
: system version
" >&5
4388 echo "${ECHO_T}system version
" >&6; }
4389 elif test "$wxUSE_ZLIB" = builtin; then
4390 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4391 echo "${ECHO_T}builtin version
" >&6; }
4393 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4394 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4395 { (exit 1); exit 1; }; }
4399 { echo "$as_me:$LINENO: checking
for --with-expat" >&5
4400 echo $ECHO_N "checking
for --with-expat...
$ECHO_C" >&6; }
4402 # Check whether --with-expat was given.
4403 if test "${with_expat+set}" = set; then
4404 withval=$with_expat;
4405 if test "$withval" = yes; then
4406 wx_cv_use_expat='wxUSE_EXPAT=yes'
4407 elif test "$withval" = no; then
4408 wx_cv_use_expat='wxUSE_EXPAT=no'
4409 elif test "$withval" = sys; then
4410 wx_cv_use_expat='wxUSE_EXPAT=sys'
4411 elif test "$withval" = builtin; then
4412 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4414 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" >&5
4415 echo "$as_me: error
: Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" >&2;}
4416 { (exit 1); exit 1; }; }
4422 LINE=`grep "^wxUSE_EXPAT
=" ${wx_arg_cache_file}`
4423 if test "x
$LINE" != x ; then
4424 eval "DEFAULT_
$LINE"
4430 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4435 eval "$wx_cv_use_expat"
4436 if test "x$cache" = xyes
; then
4437 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4440 if test "$wxUSE_EXPAT" = yes; then
4441 { echo "$as_me:$LINENO: result: yes" >&5
4442 echo "${ECHO_T}yes" >&6; }
4443 elif test "$wxUSE_EXPAT" = no
; then
4444 { echo "$as_me:$LINENO: result: no" >&5
4445 echo "${ECHO_T}no" >&6; }
4446 elif test "$wxUSE_EXPAT" = sys
; then
4447 { echo "$as_me:$LINENO: result: system version" >&5
4448 echo "${ECHO_T}system version" >&6; }
4449 elif test "$wxUSE_EXPAT" = builtin; then
4450 { echo "$as_me:$LINENO: result: builtin version" >&5
4451 echo "${ECHO_T}builtin version" >&6; }
4453 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4454 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4455 { (exit 1); exit 1; }; }
4459 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4460 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4462 # Check whether --with-macosx-sdk was given.
4463 if test "${with_macosx_sdk+set}" = set; then
4464 withval
=$with_macosx_sdk;
4465 wxUSE_MACOSX_SDK
=$withval
4466 wx_cv_use_macosx_sdk
="wxUSE_MACOSX_SDK=$withval"
4467 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4471 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4472 # will override --enable-universal_binary's automatic SDK usage.
4474 LINE
=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4475 if test "x$LINE" != x
; then
4477 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4482 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4483 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4485 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4486 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4488 # Check whether --with-macosx-version-min was given.
4489 if test "${with_macosx_version_min+set}" = set; then
4490 withval
=$with_macosx_version_min;
4491 wxUSE_MACOSX_VERSION_MIN
=$withval
4492 wx_cv_use_macosx_version_min
="wxUSE_MACOSX_VERSION_MIN=$withval"
4493 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4497 # default "yes" because when not using an SDK it means the same as no
4498 # but when using an SDK it means to use the SDK version
4499 wxUSE_MACOSX_VERSION_MIN
=yes
4500 # See if there is a value in the cache
4501 LINE
=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4502 if test "x$LINE" != x
; then
4504 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4509 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4510 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4514 enablestring
=disable
4516 if test -z "$defaultval"; then
4517 if test x
"$enablestring" = xdisable
; then
4524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4525 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4526 # Check whether --enable-shared was given.
4527 if test "${enable_shared+set}" = set; then
4528 enableval
=$enable_shared;
4529 if test "$enableval" = yes; then
4530 wx_cv_use_shared
='wxUSE_SHARED=yes'
4532 wx_cv_use_shared
='wxUSE_SHARED=no'
4538 LINE
=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4539 if test "x$LINE" != x
; then
4540 eval "DEFAULT_$LINE"
4546 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4551 eval "$wx_cv_use_shared"
4552 if test "x$cache" = xyes; then
4553 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4556 if test x"$enablestring" = xdisable; then
4557 if test $wxUSE_SHARED = yes; then
4563 result=$wxUSE_SHARED
4566 { echo "$as_me:$LINENO: result: $result" >&5
4567 echo "${ECHO_T}$result" >&6; }
4570 enablestring=disable
4572 if test -z "$defaultval"; then
4573 if test x"$enablestring" = xdisable; then
4580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4581 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4582 # Check whether --enable-optimise was given.
4583 if test "${enable_optimise+set}" = set; then
4584 enableval=$enable_optimise;
4585 if test "$enableval" = yes; then
4586 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4588 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4594 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4595 if test "x$LINE" != x ; then
4596 eval "DEFAULT_$LINE"
4602 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4607 eval "$wx_cv_use_optimise"
4608 if test "x
$cache" = xyes; then
4609 echo "wxUSE_OPTIMISE
=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4612 if test x"$enablestring" = xdisable; then
4613 if test $wxUSE_OPTIMISE = yes; then
4619 result=$wxUSE_OPTIMISE
4622 { echo "$as_me:$LINENO: result
: $result" >&5
4623 echo "${ECHO_T}$result" >&6; }
4628 if test -z "$defaultval"; then
4629 if test x"$enablestring" = xdisable; then
4636 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4637 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4638 # Check whether --enable-debug was given.
4639 if test "${enable_debug+set}" = set; then
4640 enableval=$enable_debug;
4641 if test "$enableval" = yes; then
4642 wx_cv_use_debug='wxUSE_DEBUG=yes'
4644 wx_cv_use_debug='wxUSE_DEBUG=no'
4650 LINE=`grep "^wxUSE_DEBUG
=" ${wx_arg_cache_file}`
4651 if test "x
$LINE" != x ; then
4652 eval "DEFAULT_
$LINE"
4658 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4663 eval "$wx_cv_use_debug"
4664 if test "x$cache" = xyes
; then
4665 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4668 if test x
"$enablestring" = xdisable
; then
4669 if test $wxUSE_DEBUG = yes; then
4678 { echo "$as_me:$LINENO: result: $result" >&5
4679 echo "${ECHO_T}$result" >&6; }
4684 if test -z "$defaultval"; then
4685 if test x
"$enablestring" = xdisable
; then
4692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4693 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4694 # Check whether --enable-stl was given.
4695 if test "${enable_stl+set}" = set; then
4696 enableval
=$enable_stl;
4697 if test "$enableval" = yes; then
4698 wx_cv_use_stl
='wxUSE_STL=yes'
4700 wx_cv_use_stl
='wxUSE_STL=no'
4706 LINE
=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4707 if test "x$LINE" != x
; then
4708 eval "DEFAULT_$LINE"
4714 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4719 eval "$wx_cv_use_stl"
4720 if test "x$cache" = xyes; then
4721 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4724 if test x"$enablestring" = xdisable; then
4725 if test $wxUSE_STL = yes; then
4734 { echo "$as_me:$LINENO: result: $result" >&5
4735 echo "${ECHO_T}$result" >&6; }
4740 if test -z "$defaultval"; then
4741 if test x"$enablestring" = xdisable; then
4748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4749 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4750 # Check whether --enable-std_iostreams was given.
4751 if test "${enable_std_iostreams+set}" = set; then
4752 enableval=$enable_std_iostreams;
4753 if test "$enableval" = yes; then
4754 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4756 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4762 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4763 if test "x$LINE" != x ; then
4764 eval "DEFAULT_$LINE"
4770 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4775 eval "$wx_cv_use_std_iostreams"
4776 if test "x
$cache" = xyes; then
4777 echo "wxUSE_STD_IOSTREAM
=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4780 if test x"$enablestring" = xdisable; then
4781 if test $wxUSE_STD_IOSTREAM = yes; then
4787 result=$wxUSE_STD_IOSTREAM
4790 { echo "$as_me:$LINENO: result
: $result" >&5
4791 echo "${ECHO_T}$result" >&6; }
4796 if test -z "$defaultval"; then
4797 if test x"$enablestring" = xdisable; then
4804 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4805 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4806 # Check whether --enable-std_string was given.
4807 if test "${enable_std_string+set}" = set; then
4808 enableval=$enable_std_string;
4809 if test "$enableval" = yes; then
4810 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4812 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4818 LINE=`grep "^wxUSE_STD_STRING
=" ${wx_arg_cache_file}`
4819 if test "x
$LINE" != x ; then
4820 eval "DEFAULT_
$LINE"
4826 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4831 eval "$wx_cv_use_std_string"
4832 if test "x$cache" = xyes
; then
4833 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4836 if test x
"$enablestring" = xdisable
; then
4837 if test $wxUSE_STD_STRING = yes; then
4843 result
=$wxUSE_STD_STRING
4846 { echo "$as_me:$LINENO: result: $result" >&5
4847 echo "${ECHO_T}$result" >&6; }
4850 enablestring
=disable
4852 if test -z "$defaultval"; then
4853 if test x
"$enablestring" = xdisable
; then
4860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4861 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4862 # Check whether --enable-unicode was given.
4863 if test "${enable_unicode+set}" = set; then
4864 enableval
=$enable_unicode;
4865 if test "$enableval" = yes; then
4866 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4868 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4874 LINE
=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4875 if test "x$LINE" != x
; then
4876 eval "DEFAULT_$LINE"
4882 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4887 eval "$wx_cv_use_unicode"
4888 if test "x$cache" = xyes; then
4889 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4892 if test x"$enablestring" = xdisable; then
4893 if test $wxUSE_UNICODE = yes; then
4899 result=$wxUSE_UNICODE
4902 { echo "$as_me:$LINENO: result: $result" >&5
4903 echo "${ECHO_T}$result" >&6; }
4908 if test -z "$defaultval"; then
4909 if test x"$enablestring" = xdisable; then
4916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4917 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4918 # Check whether --enable-mslu was given.
4919 if test "${enable_mslu+set}" = set; then
4920 enableval=$enable_mslu;
4921 if test "$enableval" = yes; then
4922 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4924 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4930 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4931 if test "x$LINE" != x ; then
4932 eval "DEFAULT_$LINE"
4938 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4943 eval "$wx_cv_use_mslu"
4944 if test "x
$cache" = xyes; then
4945 echo "wxUSE_UNICODE_MSLU
=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4948 if test x"$enablestring" = xdisable; then
4949 if test $wxUSE_UNICODE_MSLU = yes; then
4955 result=$wxUSE_UNICODE_MSLU
4958 { echo "$as_me:$LINENO: result
: $result" >&5
4959 echo "${ECHO_T}$result" >&6; }
4963 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4964 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4965 # Check whether --enable-utf8 was given.
4966 if test "${enable_utf8+set}" = set; then
4967 enableval=$enable_utf8;
4968 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4973 LINE=`grep "^wxUSE_UNICODE_UTF8
=" ${wx_arg_cache_file}`
4974 if test "x
$LINE" != x ; then
4975 eval "DEFAULT_
$LINE"
4981 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4986 eval "$wx_cv_use_utf8"
4987 if test "x
$cache" = xyes; then
4988 echo "wxUSE_UNICODE_UTF8
=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4991 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4992 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4997 if test -z "$defaultval"; then
4998 if test x"$enablestring" = xdisable; then
5005 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
5006 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
5007 # Check whether --enable-utf8only was given.
5008 if test "${enable_utf8only+set}" = set; then
5009 enableval=$enable_utf8only;
5010 if test "$enableval" = yes; then
5011 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5013 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5019 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE
=" ${wx_arg_cache_file}`
5020 if test "x
$LINE" != x ; then
5021 eval "DEFAULT_
$LINE"
5027 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5032 eval "$wx_cv_use_utf8only"
5033 if test "x$cache" = xyes
; then
5034 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5037 if test x
"$enablestring" = xdisable
; then
5038 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5044 result
=$wxUSE_UNICODE_UTF8_LOCALE
5047 { echo "$as_me:$LINENO: result: $result" >&5
5048 echo "${ECHO_T}$result" >&6; }
5053 if test -z "$defaultval"; then
5054 if test x
"$enablestring" = xdisable
; then
5061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5062 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5063 # Check whether --enable-extended_rtti was given.
5064 if test "${enable_extended_rtti+set}" = set; then
5065 enableval
=$enable_extended_rtti;
5066 if test "$enableval" = yes; then
5067 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
5069 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
5075 LINE
=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5076 if test "x$LINE" != x
; then
5077 eval "DEFAULT_$LINE"
5083 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5088 eval "$wx_cv_use_extended_rtti"
5089 if test "x$cache" = xyes; then
5090 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5093 if test x"$enablestring" = xdisable; then
5094 if test $wxUSE_EXTENDED_RTTI = yes; then
5100 result=$wxUSE_EXTENDED_RTTI
5103 { echo "$as_me:$LINENO: result: $result" >&5
5104 echo "${ECHO_T}$result" >&6; }
5106 if test "$USE_OS2" = "1"; then
5107 DEFAULT_wxUSE_OMF=no
5111 if test -z "$defaultval"; then
5112 if test x"$enablestring" = xdisable; then
5119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5120 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5121 # Check whether --enable-omf was given.
5122 if test "${enable_omf+set}" = set; then
5123 enableval=$enable_omf;
5124 if test "$enableval" = yes; then
5125 wx_cv_use_omf='wxUSE_OMF
=yes'
5127 wx_cv_use_omf='wxUSE_OMF
=no
'
5133 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x ; then
5135 eval "DEFAULT_$LINE"
5141 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5146 eval "$wx_cv_use_omf"
5147 if test "x
$cache" = xyes; then
5148 echo "wxUSE_OMF
=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5151 if test x"$enablestring" = xdisable; then
5152 if test $wxUSE_OMF = yes; then
5161 { echo "$as_me:$LINENO: result
: $result" >&5
5162 echo "${ECHO_T}$result" >&6; }
5166 if test "$wxUSE_DEBUG" = "yes"; then
5167 DEFAULT_wxUSE_DEBUG_FLAG=yes
5168 DEFAULT_wxUSE_DEBUG_INFO=yes
5170 elif test "$wxUSE_DEBUG" = "no
"; then
5171 DEFAULT_wxUSE_DEBUG_FLAG=no
5172 DEFAULT_wxUSE_DEBUG_INFO=no
5179 if test -z "$defaultval"; then
5180 if test x"$enablestring" = xdisable; then
5187 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
5188 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
5189 # Check whether --enable-debug_flag was given.
5190 if test "${enable_debug_flag+set}" = set; then
5191 enableval=$enable_debug_flag;
5192 if test "$enableval" = yes; then
5193 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5195 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5201 LINE=`grep "^wxUSE_DEBUG_FLAG
=" ${wx_arg_cache_file}`
5202 if test "x
$LINE" != x ; then
5203 eval "DEFAULT_
$LINE"
5209 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5214 eval "$wx_cv_use_debug_flag"
5215 if test "x$cache" = xyes
; then
5216 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5219 if test x
"$enablestring" = xdisable
; then
5220 if test $wxUSE_DEBUG_FLAG = yes; then
5226 result
=$wxUSE_DEBUG_FLAG
5229 { echo "$as_me:$LINENO: result: $result" >&5
5230 echo "${ECHO_T}$result" >&6; }
5235 if test -z "$defaultval"; then
5236 if test x
"$enablestring" = xdisable
; then
5243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5244 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5245 # Check whether --enable-debug_info was given.
5246 if test "${enable_debug_info+set}" = set; then
5247 enableval
=$enable_debug_info;
5248 if test "$enableval" = yes; then
5249 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
5251 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
5257 LINE
=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5258 if test "x$LINE" != x
; then
5259 eval "DEFAULT_$LINE"
5265 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5270 eval "$wx_cv_use_debug_info"
5271 if test "x$cache" = xyes; then
5272 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5275 if test x"$enablestring" = xdisable; then
5276 if test $wxUSE_DEBUG_INFO = yes; then
5282 result=$wxUSE_DEBUG_INFO
5285 { echo "$as_me:$LINENO: result: $result" >&5
5286 echo "${ECHO_T}$result" >&6; }
5291 if test -z "$defaultval"; then
5292 if test x"$enablestring" = xdisable; then
5299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5300 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5301 # Check whether --enable-debug_gdb was given.
5302 if test "${enable_debug_gdb+set}" = set; then
5303 enableval=$enable_debug_gdb;
5304 if test "$enableval" = yes; then
5305 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
5307 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
5313 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5314 if test "x$LINE" != x ; then
5315 eval "DEFAULT_$LINE"
5321 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5326 eval "$wx_cv_use_debug_gdb"
5327 if test "x
$cache" = xyes; then
5328 echo "wxUSE_DEBUG_GDB
=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5331 if test x"$enablestring" = xdisable; then
5332 if test $wxUSE_DEBUG_GDB = yes; then
5338 result=$wxUSE_DEBUG_GDB
5341 { echo "$as_me:$LINENO: result
: $result" >&5
5342 echo "${ECHO_T}$result" >&6; }
5347 if test -z "$defaultval"; then
5348 if test x"$enablestring" = xdisable; then
5355 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_cntxt" >&5
5356 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_cntxt...
$ECHO_C" >&6; }
5357 # Check whether --enable-debug_cntxt was given.
5358 if test "${enable_debug_cntxt+set}" = set; then
5359 enableval=$enable_debug_cntxt;
5360 if test "$enableval" = yes; then
5361 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5363 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5369 LINE=`grep "^wxUSE_DEBUG_CONTEXT
=" ${wx_arg_cache_file}`
5370 if test "x
$LINE" != x ; then
5371 eval "DEFAULT_
$LINE"
5377 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5382 eval "$wx_cv_use_debug_cntxt"
5383 if test "x$cache" = xyes
; then
5384 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5387 if test x
"$enablestring" = xdisable
; then
5388 if test $wxUSE_DEBUG_CONTEXT = yes; then
5394 result
=$wxUSE_DEBUG_CONTEXT
5397 { echo "$as_me:$LINENO: result: $result" >&5
5398 echo "${ECHO_T}$result" >&6; }
5403 if test -z "$defaultval"; then
5404 if test x
"$enablestring" = xdisable
; then
5411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5412 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5413 # Check whether --enable-mem_tracing was given.
5414 if test "${enable_mem_tracing+set}" = set; then
5415 enableval
=$enable_mem_tracing;
5416 if test "$enableval" = yes; then
5417 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
5419 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
5425 LINE
=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5426 if test "x$LINE" != x
; then
5427 eval "DEFAULT_$LINE"
5433 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5438 eval "$wx_cv_use_mem_tracing"
5439 if test "x$cache" = xyes; then
5440 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5443 if test x"$enablestring" = xdisable; then
5444 if test $wxUSE_MEM_TRACING = yes; then
5450 result=$wxUSE_MEM_TRACING
5453 { echo "$as_me:$LINENO: result: $result" >&5
5454 echo "${ECHO_T}$result" >&6; }
5459 if test -z "$defaultval"; then
5460 if test x"$enablestring" = xdisable; then
5467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5468 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5469 # Check whether --enable-profile was given.
5470 if test "${enable_profile+set}" = set; then
5471 enableval=$enable_profile;
5472 if test "$enableval" = yes; then
5473 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5475 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5481 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5482 if test "x$LINE" != x ; then
5483 eval "DEFAULT_$LINE"
5489 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5494 eval "$wx_cv_use_profile"
5495 if test "x
$cache" = xyes; then
5496 echo "wxUSE_PROFILE
=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5499 if test x"$enablestring" = xdisable; then
5500 if test $wxUSE_PROFILE = yes; then
5506 result=$wxUSE_PROFILE
5509 { echo "$as_me:$LINENO: result
: $result" >&5
5510 echo "${ECHO_T}$result" >&6; }
5515 if test -z "$defaultval"; then
5516 if test x"$enablestring" = xdisable; then
5523 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5524 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5525 # Check whether --enable-no_rtti was given.
5526 if test "${enable_no_rtti+set}" = set; then
5527 enableval=$enable_no_rtti;
5528 if test "$enableval" = yes; then
5529 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5531 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5537 LINE=`grep "^wxUSE_NO_RTTI
=" ${wx_arg_cache_file}`
5538 if test "x
$LINE" != x ; then
5539 eval "DEFAULT_
$LINE"
5545 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5550 eval "$wx_cv_use_no_rtti"
5551 if test "x$cache" = xyes
; then
5552 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5555 if test x
"$enablestring" = xdisable
; then
5556 if test $wxUSE_NO_RTTI = yes; then
5562 result
=$wxUSE_NO_RTTI
5565 { echo "$as_me:$LINENO: result: $result" >&5
5566 echo "${ECHO_T}$result" >&6; }
5571 if test -z "$defaultval"; then
5572 if test x
"$enablestring" = xdisable
; then
5579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5580 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5581 # Check whether --enable-no_exceptions was given.
5582 if test "${enable_no_exceptions+set}" = set; then
5583 enableval
=$enable_no_exceptions;
5584 if test "$enableval" = yes; then
5585 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5587 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5593 LINE
=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5594 if test "x$LINE" != x
; then
5595 eval "DEFAULT_$LINE"
5601 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5606 eval "$wx_cv_use_no_exceptions"
5607 if test "x$cache" = xyes; then
5608 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5611 if test x"$enablestring" = xdisable; then
5612 if test $wxUSE_NO_EXCEPTIONS = yes; then
5618 result=$wxUSE_NO_EXCEPTIONS
5621 { echo "$as_me:$LINENO: result: $result" >&5
5622 echo "${ECHO_T}$result" >&6; }
5627 if test -z "$defaultval"; then
5628 if test x"$enablestring" = xdisable; then
5635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5636 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5637 # Check whether --enable-permissive was given.
5638 if test "${enable_permissive+set}" = set; then
5639 enableval=$enable_permissive;
5640 if test "$enableval" = yes; then
5641 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5643 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5649 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5650 if test "x$LINE" != x ; then
5651 eval "DEFAULT_$LINE"
5657 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5662 eval "$wx_cv_use_permissive"
5663 if test "x
$cache" = xyes; then
5664 echo "wxUSE_PERMISSIVE
=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5667 if test x"$enablestring" = xdisable; then
5668 if test $wxUSE_PERMISSIVE = yes; then
5674 result=$wxUSE_PERMISSIVE
5677 { echo "$as_me:$LINENO: result
: $result" >&5
5678 echo "${ECHO_T}$result" >&6; }
5683 if test -z "$defaultval"; then
5684 if test x"$enablestring" = xdisable; then
5691 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5692 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5693 # Check whether --enable-no_deps was given.
5694 if test "${enable_no_deps+set}" = set; then
5695 enableval=$enable_no_deps;
5696 if test "$enableval" = yes; then
5697 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5699 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5705 LINE=`grep "^wxUSE_NO_DEPS
=" ${wx_arg_cache_file}`
5706 if test "x
$LINE" != x ; then
5707 eval "DEFAULT_
$LINE"
5713 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5718 eval "$wx_cv_use_no_deps"
5719 if test "x$cache" = xyes
; then
5720 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5723 if test x
"$enablestring" = xdisable
; then
5724 if test $wxUSE_NO_DEPS = yes; then
5730 result
=$wxUSE_NO_DEPS
5733 { echo "$as_me:$LINENO: result: $result" >&5
5734 echo "${ECHO_T}$result" >&6; }
5737 enablestring
=disable
5739 if test -z "$defaultval"; then
5740 if test x
"$enablestring" = xdisable
; then
5747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5748 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5749 # Check whether --enable-vararg_macros was given.
5750 if test "${enable_vararg_macros+set}" = set; then
5751 enableval
=$enable_vararg_macros;
5752 if test "$enableval" = yes; then
5753 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5755 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5761 LINE
=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5762 if test "x$LINE" != x
; then
5763 eval "DEFAULT_$LINE"
5769 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5774 eval "$wx_cv_use_vararg_macros"
5775 if test "x$cache" = xyes; then
5776 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5779 if test x"$enablestring" = xdisable; then
5780 if test $wxUSE_VARARG_MACROS = yes; then
5786 result=$wxUSE_VARARG_MACROS
5789 { echo "$as_me:$LINENO: result: $result" >&5
5790 echo "${ECHO_T}$result" >&6; }
5794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5795 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5796 # Check whether --enable-universal_binary was given.
5797 if test "${enable_universal_binary+set}" = set; then
5798 enableval=$enable_universal_binary;
5799 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5804 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5805 if test "x$LINE" != x ; then
5806 eval "DEFAULT_$LINE"
5812 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5817 eval "$wx_cv_use_universal_binary"
5818 if test "x$cache" = xyes; then
5819 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5822 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5823 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5829 if test -z "$defaultval"; then
5830 if test x"$enablestring" = xdisable; then
5837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5838 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5839 # Check whether --enable-compat26 was given.
5840 if test "${enable_compat26+set}" = set; then
5841 enableval=$enable_compat26;
5842 if test "$enableval" = yes; then
5843 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5845 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5851 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5852 if test "x$LINE" != x ; then
5853 eval "DEFAULT_$LINE"
5859 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5864 eval "$wx_cv_use_compat26"
5865 if test "x
$cache" = xyes; then
5866 echo "WXWIN_COMPATIBILITY_2_6
=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5869 if test x"$enablestring" = xdisable; then
5870 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5876 result=$WXWIN_COMPATIBILITY_2_6
5879 { echo "$as_me:$LINENO: result
: $result" >&5
5880 echo "${ECHO_T}$result" >&6; }
5883 enablestring=disable
5885 if test -z "$defaultval"; then
5886 if test x"$enablestring" = xdisable; then
5893 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5894 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5895 # Check whether --enable-compat28 was given.
5896 if test "${enable_compat28+set}" = set; then
5897 enableval=$enable_compat28;
5898 if test "$enableval" = yes; then
5899 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5901 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5907 LINE=`grep "^WXWIN_COMPATIBILITY_2_8
=" ${wx_arg_cache_file}`
5908 if test "x
$LINE" != x ; then
5909 eval "DEFAULT_
$LINE"
5915 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5920 eval "$wx_cv_use_compat28"
5921 if test "x$cache" = xyes
; then
5922 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5925 if test x
"$enablestring" = xdisable
; then
5926 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5932 result
=$WXWIN_COMPATIBILITY_2_8
5935 { echo "$as_me:$LINENO: result: $result" >&5
5936 echo "${ECHO_T}$result" >&6; }
5940 enablestring
=disable
5942 if test -z "$defaultval"; then
5943 if test x
"$enablestring" = xdisable
; then
5950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5951 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5952 # Check whether --enable-rpath was given.
5953 if test "${enable_rpath+set}" = set; then
5954 enableval
=$enable_rpath;
5955 if test "$enableval" = yes; then
5956 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5958 wx_cv_use_rpath
='wxUSE_RPATH=no'
5964 LINE
=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5965 if test "x$LINE" != x
; then
5966 eval "DEFAULT_$LINE"
5972 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5977 eval "$wx_cv_use_rpath"
5978 if test "x$cache" = xyes; then
5979 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5982 if test x"$enablestring" = xdisable; then
5983 if test $wxUSE_RPATH = yes; then
5992 { echo "$as_me:$LINENO: result: $result" >&5
5993 echo "${ECHO_T}$result" >&6; }
5999 if test -z "$defaultval"; then
6000 if test x"$enablestring" = xdisable; then
6007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6008 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
6009 # Check whether --enable-objc_uniquifying was given.
6010 if test "${enable_objc_uniquifying+set}" = set; then
6011 enableval=$enable_objc_uniquifying;
6012 if test "$enableval" = yes; then
6013 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
6015 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
6021 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6022 if test "x$LINE" != x ; then
6023 eval "DEFAULT_$LINE"
6029 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6034 eval "$wx_cv_use_objc_uniquifying"
6035 if test "x
$cache" = xyes; then
6036 echo "wxUSE_OBJC_UNIQUIFYING
=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6039 if test x"$enablestring" = xdisable; then
6040 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6046 result=$wxUSE_OBJC_UNIQUIFYING
6049 { echo "$as_me:$LINENO: result
: $result" >&5
6050 echo "${ECHO_T}$result" >&6; }
6054 enablestring=disable
6056 if test -z "$defaultval"; then
6057 if test x"$enablestring" = xdisable; then
6064 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
6065 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
6066 # Check whether --enable-visibility was given.
6067 if test "${enable_visibility+set}" = set; then
6068 enableval=$enable_visibility;
6069 if test "$enableval" = yes; then
6070 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6072 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6078 LINE=`grep "^wxUSE_VISIBILITY
=" ${wx_arg_cache_file}`
6079 if test "x
$LINE" != x ; then
6080 eval "DEFAULT_
$LINE"
6086 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6091 eval "$wx_cv_use_visibility"
6092 if test "x$cache" = xyes
; then
6093 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6096 if test x
"$enablestring" = xdisable
; then
6097 if test $wxUSE_VISIBILITY = yes; then
6103 result
=$wxUSE_VISIBILITY
6106 { echo "$as_me:$LINENO: result: $result" >&5
6107 echo "${ECHO_T}$result" >&6; }
6113 defaultval
=$wxUSE_ALL_FEATURES
6114 if test -z "$defaultval"; then
6115 if test x
"$enablestring" = xdisable
; then
6122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6123 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6124 # Check whether --enable-intl was given.
6125 if test "${enable_intl+set}" = set; then
6126 enableval
=$enable_intl;
6127 if test "$enableval" = yes; then
6128 wx_cv_use_intl
='wxUSE_INTL=yes'
6130 wx_cv_use_intl
='wxUSE_INTL=no'
6136 LINE
=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6137 if test "x$LINE" != x
; then
6138 eval "DEFAULT_$LINE"
6144 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6149 eval "$wx_cv_use_intl"
6150 if test "x$cache" = xyes; then
6151 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6154 if test x"$enablestring" = xdisable; then
6155 if test $wxUSE_INTL = yes; then
6164 { echo "$as_me:$LINENO: result: $result" >&5
6165 echo "${ECHO_T}$result" >&6; }
6169 defaultval=$wxUSE_ALL_FEATURES
6170 if test -z "$defaultval"; then
6171 if test x"$enablestring" = xdisable; then
6178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6179 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6180 # Check whether --enable-config was given.
6181 if test "${enable_config+set}" = set; then
6182 enableval=$enable_config;
6183 if test "$enableval" = yes; then
6184 wx_cv_use_config='wxUSE_CONFIG
=yes'
6186 wx_cv_use_config='wxUSE_CONFIG
=no
'
6192 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6193 if test "x$LINE" != x ; then
6194 eval "DEFAULT_$LINE"
6200 wx_cv_use_config='wxUSE_CONFIG
=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6205 eval "$wx_cv_use_config"
6206 if test "x
$cache" = xyes; then
6207 echo "wxUSE_CONFIG
=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6210 if test x"$enablestring" = xdisable; then
6211 if test $wxUSE_CONFIG = yes; then
6217 result=$wxUSE_CONFIG
6220 { echo "$as_me:$LINENO: result
: $result" >&5
6221 echo "${ECHO_T}$result" >&6; }
6226 defaultval=$wxUSE_ALL_FEATURES
6227 if test -z "$defaultval"; then
6228 if test x"$enablestring" = xdisable; then
6235 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocols" >&5
6236 echo $ECHO_N "checking
for --${enablestring:-enable}-protocols...
$ECHO_C" >&6; }
6237 # Check whether --enable-protocols was given.
6238 if test "${enable_protocols+set}" = set; then
6239 enableval=$enable_protocols;
6240 if test "$enableval" = yes; then
6241 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6243 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6249 LINE=`grep "^wxUSE_PROTOCOL
=" ${wx_arg_cache_file}`
6250 if test "x
$LINE" != x ; then
6251 eval "DEFAULT_
$LINE"
6257 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6262 eval "$wx_cv_use_protocols"
6263 if test "x$cache" = xyes
; then
6264 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6267 if test x
"$enablestring" = xdisable
; then
6268 if test $wxUSE_PROTOCOL = yes; then
6274 result
=$wxUSE_PROTOCOL
6277 { echo "$as_me:$LINENO: result: $result" >&5
6278 echo "${ECHO_T}$result" >&6; }
6282 defaultval
=$wxUSE_ALL_FEATURES
6283 if test -z "$defaultval"; then
6284 if test x
"$enablestring" = xdisable
; then
6291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6292 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6293 # Check whether --enable-ftp was given.
6294 if test "${enable_ftp+set}" = set; then
6295 enableval
=$enable_ftp;
6296 if test "$enableval" = yes; then
6297 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
6299 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
6305 LINE
=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6306 if test "x$LINE" != x
; then
6307 eval "DEFAULT_$LINE"
6313 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6318 eval "$wx_cv_use_ftp"
6319 if test "x$cache" = xyes; then
6320 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6323 if test x"$enablestring" = xdisable; then
6324 if test $wxUSE_PROTOCOL_FTP = yes; then
6330 result=$wxUSE_PROTOCOL_FTP
6333 { echo "$as_me:$LINENO: result: $result" >&5
6334 echo "${ECHO_T}$result" >&6; }
6338 defaultval=$wxUSE_ALL_FEATURES
6339 if test -z "$defaultval"; then
6340 if test x"$enablestring" = xdisable; then
6347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6348 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6349 # Check whether --enable-http was given.
6350 if test "${enable_http+set}" = set; then
6351 enableval=$enable_http;
6352 if test "$enableval" = yes; then
6353 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
6355 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
6361 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6362 if test "x$LINE" != x ; then
6363 eval "DEFAULT_$LINE"
6369 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6374 eval "$wx_cv_use_http"
6375 if test "x
$cache" = xyes; then
6376 echo "wxUSE_PROTOCOL_HTTP
=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6379 if test x"$enablestring" = xdisable; then
6380 if test $wxUSE_PROTOCOL_HTTP = yes; then
6386 result=$wxUSE_PROTOCOL_HTTP
6389 { echo "$as_me:$LINENO: result
: $result" >&5
6390 echo "${ECHO_T}$result" >&6; }
6394 defaultval=$wxUSE_ALL_FEATURES
6395 if test -z "$defaultval"; then
6396 if test x"$enablestring" = xdisable; then
6403 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fileproto" >&5
6404 echo $ECHO_N "checking
for --${enablestring:-enable}-fileproto...
$ECHO_C" >&6; }
6405 # Check whether --enable-fileproto was given.
6406 if test "${enable_fileproto+set}" = set; then
6407 enableval=$enable_fileproto;
6408 if test "$enableval" = yes; then
6409 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6411 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6417 LINE=`grep "^wxUSE_PROTOCOL_FILE
=" ${wx_arg_cache_file}`
6418 if test "x
$LINE" != x ; then
6419 eval "DEFAULT_
$LINE"
6425 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6430 eval "$wx_cv_use_fileproto"
6431 if test "x$cache" = xyes
; then
6432 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6435 if test x
"$enablestring" = xdisable
; then
6436 if test $wxUSE_PROTOCOL_FILE = yes; then
6442 result
=$wxUSE_PROTOCOL_FILE
6445 { echo "$as_me:$LINENO: result: $result" >&5
6446 echo "${ECHO_T}$result" >&6; }
6450 defaultval
=$wxUSE_ALL_FEATURES
6451 if test -z "$defaultval"; then
6452 if test x
"$enablestring" = xdisable
; then
6459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6460 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6461 # Check whether --enable-sockets was given.
6462 if test "${enable_sockets+set}" = set; then
6463 enableval
=$enable_sockets;
6464 if test "$enableval" = yes; then
6465 wx_cv_use_sockets
='wxUSE_SOCKETS=yes'
6467 wx_cv_use_sockets
='wxUSE_SOCKETS=no'
6473 LINE
=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6474 if test "x$LINE" != x
; then
6475 eval "DEFAULT_$LINE"
6481 wx_cv_use_sockets
='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6486 eval "$wx_cv_use_sockets"
6487 if test "x$cache" = xyes; then
6488 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6491 if test x"$enablestring" = xdisable; then
6492 if test $wxUSE_SOCKETS = yes; then
6498 result=$wxUSE_SOCKETS
6501 { echo "$as_me:$LINENO: result: $result" >&5
6502 echo "${ECHO_T}$result" >&6; }
6506 defaultval=$wxUSE_ALL_FEATURES
6507 if test -z "$defaultval"; then
6508 if test x"$enablestring" = xdisable; then
6515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6516 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6517 # Check whether --enable-ole was given.
6518 if test "${enable_ole+set}" = set; then
6519 enableval=$enable_ole;
6520 if test "$enableval" = yes; then
6521 wx_cv_use_ole='wxUSE_OLE
=yes'
6523 wx_cv_use_ole='wxUSE_OLE
=no
'
6529 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6530 if test "x$LINE" != x ; then
6531 eval "DEFAULT_$LINE"
6537 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6542 eval "$wx_cv_use_ole"
6543 if test "x
$cache" = xyes; then
6544 echo "wxUSE_OLE
=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6547 if test x"$enablestring" = xdisable; then
6548 if test $wxUSE_OLE = yes; then
6557 { echo "$as_me:$LINENO: result
: $result" >&5
6558 echo "${ECHO_T}$result" >&6; }
6562 defaultval=$wxUSE_ALL_FEATURES
6563 if test -z "$defaultval"; then
6564 if test x"$enablestring" = xdisable; then
6571 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6572 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6573 # Check whether --enable-dataobj was given.
6574 if test "${enable_dataobj+set}" = set; then
6575 enableval=$enable_dataobj;
6576 if test "$enableval" = yes; then
6577 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6579 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6585 LINE=`grep "^wxUSE_DATAOBJ
=" ${wx_arg_cache_file}`
6586 if test "x
$LINE" != x ; then
6587 eval "DEFAULT_
$LINE"
6593 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6598 eval "$wx_cv_use_dataobj"
6599 if test "x$cache" = xyes
; then
6600 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6603 if test x
"$enablestring" = xdisable
; then
6604 if test $wxUSE_DATAOBJ = yes; then
6610 result
=$wxUSE_DATAOBJ
6613 { echo "$as_me:$LINENO: result: $result" >&5
6614 echo "${ECHO_T}$result" >&6; }
6619 defaultval
=$wxUSE_ALL_FEATURES
6620 if test -z "$defaultval"; then
6621 if test x
"$enablestring" = xdisable
; then
6628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6629 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6630 # Check whether --enable-ipc was given.
6631 if test "${enable_ipc+set}" = set; then
6632 enableval
=$enable_ipc;
6633 if test "$enableval" = yes; then
6634 wx_cv_use_ipc
='wxUSE_IPC=yes'
6636 wx_cv_use_ipc
='wxUSE_IPC=no'
6642 LINE
=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6643 if test "x$LINE" != x
; then
6644 eval "DEFAULT_$LINE"
6650 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6655 eval "$wx_cv_use_ipc"
6656 if test "x$cache" = xyes; then
6657 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6660 if test x"$enablestring" = xdisable; then
6661 if test $wxUSE_IPC = yes; then
6670 { echo "$as_me:$LINENO: result: $result" >&5
6671 echo "${ECHO_T}$result" >&6; }
6676 defaultval=$wxUSE_ALL_FEATURES
6677 if test -z "$defaultval"; then
6678 if test x"$enablestring" = xdisable; then
6685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6686 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6687 # Check whether --enable-baseevtloop was given.
6688 if test "${enable_baseevtloop+set}" = set; then
6689 enableval=$enable_baseevtloop;
6690 if test "$enableval" = yes; then
6691 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6693 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6699 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6700 if test "x$LINE" != x ; then
6701 eval "DEFAULT_$LINE"
6707 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6712 eval "$wx_cv_use_baseevtloop"
6713 if test "x
$cache" = xyes; then
6714 echo "wxUSE_CONSOLE_EVENTLOOP
=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6717 if test x"$enablestring" = xdisable; then
6718 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6724 result=$wxUSE_CONSOLE_EVENTLOOP
6727 { echo "$as_me:$LINENO: result
: $result" >&5
6728 echo "${ECHO_T}$result" >&6; }
6732 defaultval=$wxUSE_ALL_FEATURES
6733 if test -z "$defaultval"; then
6734 if test x"$enablestring" = xdisable; then
6741 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6742 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6743 # Check whether --enable-epollloop was given.
6744 if test "${enable_epollloop+set}" = set; then
6745 enableval=$enable_epollloop;
6746 if test "$enableval" = yes; then
6747 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6749 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6755 LINE=`grep "^wxUSE_EPOLL_DISPATCHER
=" ${wx_arg_cache_file}`
6756 if test "x
$LINE" != x ; then
6757 eval "DEFAULT_
$LINE"
6763 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6768 eval "$wx_cv_use_epollloop"
6769 if test "x$cache" = xyes
; then
6770 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6773 if test x
"$enablestring" = xdisable
; then
6774 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6780 result
=$wxUSE_EPOLL_DISPATCHER
6783 { echo "$as_me:$LINENO: result: $result" >&5
6784 echo "${ECHO_T}$result" >&6; }
6788 defaultval
=$wxUSE_ALL_FEATURES
6789 if test -z "$defaultval"; then
6790 if test x
"$enablestring" = xdisable
; then
6797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6798 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6799 # Check whether --enable-selectloop was given.
6800 if test "${enable_selectloop+set}" = set; then
6801 enableval
=$enable_selectloop;
6802 if test "$enableval" = yes; then
6803 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6805 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6811 LINE
=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6812 if test "x$LINE" != x
; then
6813 eval "DEFAULT_$LINE"
6819 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6824 eval "$wx_cv_use_selectloop"
6825 if test "x$cache" = xyes; then
6826 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6829 if test x"$enablestring" = xdisable; then
6830 if test $wxUSE_SELECT_DISPATCHER = yes; then
6836 result=$wxUSE_SELECT_DISPATCHER
6839 { echo "$as_me:$LINENO: result: $result" >&5
6840 echo "${ECHO_T}$result" >&6; }
6845 defaultval=$wxUSE_ALL_FEATURES
6846 if test -z "$defaultval"; then
6847 if test x"$enablestring" = xdisable; then
6854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6855 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6856 # Check whether --enable-apple_ieee was given.
6857 if test "${enable_apple_ieee+set}" = set; then
6858 enableval=$enable_apple_ieee;
6859 if test "$enableval" = yes; then
6860 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6862 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6868 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6869 if test "x$LINE" != x ; then
6870 eval "DEFAULT_$LINE"
6876 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6881 eval "$wx_cv_use_apple_ieee"
6882 if test "x
$cache" = xyes; then
6883 echo "wxUSE_APPLE_IEEE
=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6886 if test x"$enablestring" = xdisable; then
6887 if test $wxUSE_APPLE_IEEE = yes; then
6893 result=$wxUSE_APPLE_IEEE
6896 { echo "$as_me:$LINENO: result
: $result" >&5
6897 echo "${ECHO_T}$result" >&6; }
6901 defaultval=$wxUSE_ALL_FEATURES
6902 if test -z "$defaultval"; then
6903 if test x"$enablestring" = xdisable; then
6910 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6911 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6912 # Check whether --enable-arcstream was given.
6913 if test "${enable_arcstream+set}" = set; then
6914 enableval=$enable_arcstream;
6915 if test "$enableval" = yes; then
6916 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6918 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6924 LINE=`grep "^wxUSE_ARCHIVE_STREAMS
=" ${wx_arg_cache_file}`
6925 if test "x
$LINE" != x ; then
6926 eval "DEFAULT_
$LINE"
6932 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6937 eval "$wx_cv_use_arcstream"
6938 if test "x$cache" = xyes
; then
6939 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6942 if test x
"$enablestring" = xdisable
; then
6943 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6949 result
=$wxUSE_ARCHIVE_STREAMS
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}-base64" >&5
6967 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6968 # Check whether --enable-base64 was given.
6969 if test "${enable_base64+set}" = set; then
6970 enableval
=$enable_base64;
6971 if test "$enableval" = yes; then
6972 wx_cv_use_base64
='wxUSE_BASE64=yes'
6974 wx_cv_use_base64
='wxUSE_BASE64=no'
6980 LINE
=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6981 if test "x$LINE" != x
; then
6982 eval "DEFAULT_$LINE"
6988 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6993 eval "$wx_cv_use_base64"
6994 if test "x$cache" = xyes; then
6995 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6998 if test x"$enablestring" = xdisable; then
6999 if test $wxUSE_BASE64 = yes; then
7005 result=$wxUSE_BASE64
7008 { echo "$as_me:$LINENO: result: $result" >&5
7009 echo "${ECHO_T}$result" >&6; }
7013 defaultval=$wxUSE_ALL_FEATURES
7014 if test -z "$defaultval"; then
7015 if test x"$enablestring" = xdisable; then
7022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7023 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7024 # Check whether --enable-backtrace was given.
7025 if test "${enable_backtrace+set}" = set; then
7026 enableval=$enable_backtrace;
7027 if test "$enableval" = yes; then
7028 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
7030 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
7036 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7037 if test "x$LINE" != x ; then
7038 eval "DEFAULT_$LINE"
7044 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7049 eval "$wx_cv_use_backtrace"
7050 if test "x
$cache" = xyes; then
7051 echo "wxUSE_STACKWALKER
=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7054 if test x"$enablestring" = xdisable; then
7055 if test $wxUSE_STACKWALKER = yes; then
7061 result=$wxUSE_STACKWALKER
7064 { echo "$as_me:$LINENO: result
: $result" >&5
7065 echo "${ECHO_T}$result" >&6; }
7069 defaultval=$wxUSE_ALL_FEATURES
7070 if test -z "$defaultval"; then
7071 if test x"$enablestring" = xdisable; then
7078 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
7079 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
7080 # Check whether --enable-catch_segvs was given.
7081 if test "${enable_catch_segvs+set}" = set; then
7082 enableval=$enable_catch_segvs;
7083 if test "$enableval" = yes; then
7084 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7086 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7092 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION
=" ${wx_arg_cache_file}`
7093 if test "x
$LINE" != x ; then
7094 eval "DEFAULT_
$LINE"
7100 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7105 eval "$wx_cv_use_catch_segvs"
7106 if test "x$cache" = xyes
; then
7107 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7110 if test x
"$enablestring" = xdisable
; then
7111 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7117 result
=$wxUSE_ON_FATAL_EXCEPTION
7120 { echo "$as_me:$LINENO: result: $result" >&5
7121 echo "${ECHO_T}$result" >&6; }
7125 defaultval
=$wxUSE_ALL_FEATURES
7126 if test -z "$defaultval"; then
7127 if test x
"$enablestring" = xdisable
; then
7134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7135 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7136 # Check whether --enable-cmdline was given.
7137 if test "${enable_cmdline+set}" = set; then
7138 enableval
=$enable_cmdline;
7139 if test "$enableval" = yes; then
7140 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
7142 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
7148 LINE
=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7149 if test "x$LINE" != x
; then
7150 eval "DEFAULT_$LINE"
7156 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7161 eval "$wx_cv_use_cmdline"
7162 if test "x$cache" = xyes; then
7163 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7166 if test x"$enablestring" = xdisable; then
7167 if test $wxUSE_CMDLINE_PARSER = yes; then
7173 result=$wxUSE_CMDLINE_PARSER
7176 { echo "$as_me:$LINENO: result: $result" >&5
7177 echo "${ECHO_T}$result" >&6; }
7181 defaultval=$wxUSE_ALL_FEATURES
7182 if test -z "$defaultval"; then
7183 if test x"$enablestring" = xdisable; then
7190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7191 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7192 # Check whether --enable-datetime was given.
7193 if test "${enable_datetime+set}" = set; then
7194 enableval=$enable_datetime;
7195 if test "$enableval" = yes; then
7196 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
7198 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
7204 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7205 if test "x$LINE" != x ; then
7206 eval "DEFAULT_$LINE"
7212 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7217 eval "$wx_cv_use_datetime"
7218 if test "x
$cache" = xyes; then
7219 echo "wxUSE_DATETIME
=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7222 if test x"$enablestring" = xdisable; then
7223 if test $wxUSE_DATETIME = yes; then
7229 result=$wxUSE_DATETIME
7232 { echo "$as_me:$LINENO: result
: $result" >&5
7233 echo "${ECHO_T}$result" >&6; }
7237 defaultval=$wxUSE_ALL_FEATURES
7238 if test -z "$defaultval"; then
7239 if test x"$enablestring" = xdisable; then
7246 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
7247 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
7248 # Check whether --enable-debugreport was given.
7249 if test "${enable_debugreport+set}" = set; then
7250 enableval=$enable_debugreport;
7251 if test "$enableval" = yes; then
7252 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7254 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7260 LINE=`grep "^wxUSE_DEBUGREPORT
=" ${wx_arg_cache_file}`
7261 if test "x
$LINE" != x ; then
7262 eval "DEFAULT_
$LINE"
7268 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7273 eval "$wx_cv_use_debugreport"
7274 if test "x$cache" = xyes
; then
7275 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7278 if test x
"$enablestring" = xdisable
; then
7279 if test $wxUSE_DEBUGREPORT = yes; then
7285 result
=$wxUSE_DEBUGREPORT
7288 { echo "$as_me:$LINENO: result: $result" >&5
7289 echo "${ECHO_T}$result" >&6; }
7293 defaultval
=$wxUSE_ALL_FEATURES
7294 if test -z "$defaultval"; then
7295 if test x
"$enablestring" = xdisable
; then
7302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7303 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7304 # Check whether --enable-dialupman was given.
7305 if test "${enable_dialupman+set}" = set; then
7306 enableval
=$enable_dialupman;
7307 if test "$enableval" = yes; then
7308 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
7310 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
7316 LINE
=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7317 if test "x$LINE" != x
; then
7318 eval "DEFAULT_$LINE"
7324 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7329 eval "$wx_cv_use_dialupman"
7330 if test "x$cache" = xyes; then
7331 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7334 if test x"$enablestring" = xdisable; then
7335 if test $wxUSE_DIALUP_MANAGER = yes; then
7341 result=$wxUSE_DIALUP_MANAGER
7344 { echo "$as_me:$LINENO: result: $result" >&5
7345 echo "${ECHO_T}$result" >&6; }
7349 defaultval=$wxUSE_ALL_FEATURES
7350 if test -z "$defaultval"; then
7351 if test x"$enablestring" = xdisable; then
7358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7359 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7360 # Check whether --enable-dynlib was given.
7361 if test "${enable_dynlib+set}" = set; then
7362 enableval=$enable_dynlib;
7363 if test "$enableval" = yes; then
7364 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
7366 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
7372 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7373 if test "x$LINE" != x ; then
7374 eval "DEFAULT_$LINE"
7380 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7385 eval "$wx_cv_use_dynlib"
7386 if test "x
$cache" = xyes; then
7387 echo "wxUSE_DYNLIB_CLASS
=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7390 if test x"$enablestring" = xdisable; then
7391 if test $wxUSE_DYNLIB_CLASS = yes; then
7397 result=$wxUSE_DYNLIB_CLASS
7400 { echo "$as_me:$LINENO: result
: $result" >&5
7401 echo "${ECHO_T}$result" >&6; }
7405 defaultval=$wxUSE_ALL_FEATURES
7406 if test -z "$defaultval"; then
7407 if test x"$enablestring" = xdisable; then
7414 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
7415 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
7416 # Check whether --enable-dynamicloader was given.
7417 if test "${enable_dynamicloader+set}" = set; then
7418 enableval=$enable_dynamicloader;
7419 if test "$enableval" = yes; then
7420 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7422 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7428 LINE=`grep "^wxUSE_DYNAMIC_LOADER
=" ${wx_arg_cache_file}`
7429 if test "x
$LINE" != x ; then
7430 eval "DEFAULT_
$LINE"
7436 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7441 eval "$wx_cv_use_dynamicloader"
7442 if test "x$cache" = xyes
; then
7443 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7446 if test x
"$enablestring" = xdisable
; then
7447 if test $wxUSE_DYNAMIC_LOADER = yes; then
7453 result
=$wxUSE_DYNAMIC_LOADER
7456 { echo "$as_me:$LINENO: result: $result" >&5
7457 echo "${ECHO_T}$result" >&6; }
7461 defaultval
=$wxUSE_ALL_FEATURES
7462 if test -z "$defaultval"; then
7463 if test x
"$enablestring" = xdisable
; then
7470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7471 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7472 # Check whether --enable-exceptions was given.
7473 if test "${enable_exceptions+set}" = set; then
7474 enableval
=$enable_exceptions;
7475 if test "$enableval" = yes; then
7476 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
7478 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
7484 LINE
=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7485 if test "x$LINE" != x
; then
7486 eval "DEFAULT_$LINE"
7492 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7497 eval "$wx_cv_use_exceptions"
7498 if test "x$cache" = xyes; then
7499 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7502 if test x"$enablestring" = xdisable; then
7503 if test $wxUSE_EXCEPTIONS = yes; then
7509 result=$wxUSE_EXCEPTIONS
7512 { echo "$as_me:$LINENO: result: $result" >&5
7513 echo "${ECHO_T}$result" >&6; }
7517 defaultval=$wxUSE_ALL_FEATURES
7518 if test -z "$defaultval"; then
7519 if test x"$enablestring" = xdisable; then
7526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7527 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7528 # Check whether --enable-ffile was given.
7529 if test "${enable_ffile+set}" = set; then
7530 enableval=$enable_ffile;
7531 if test "$enableval" = yes; then
7532 wx_cv_use_ffile='wxUSE_FFILE
=yes'
7534 wx_cv_use_ffile='wxUSE_FFILE
=no
'
7540 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7541 if test "x$LINE" != x ; then
7542 eval "DEFAULT_$LINE"
7548 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7553 eval "$wx_cv_use_ffile"
7554 if test "x
$cache" = xyes; then
7555 echo "wxUSE_FFILE
=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7558 if test x"$enablestring" = xdisable; then
7559 if test $wxUSE_FFILE = yes; then
7568 { echo "$as_me:$LINENO: result
: $result" >&5
7569 echo "${ECHO_T}$result" >&6; }
7573 defaultval=$wxUSE_ALL_FEATURES
7574 if test -z "$defaultval"; then
7575 if test x"$enablestring" = xdisable; then
7582 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
7583 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
7584 # Check whether --enable-file was given.
7585 if test "${enable_file+set}" = set; then
7586 enableval=$enable_file;
7587 if test "$enableval" = yes; then
7588 wx_cv_use_file='wxUSE_FILE=yes'
7590 wx_cv_use_file='wxUSE_FILE=no'
7596 LINE=`grep "^wxUSE_FILE
=" ${wx_arg_cache_file}`
7597 if test "x
$LINE" != x ; then
7598 eval "DEFAULT_
$LINE"
7604 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7609 eval "$wx_cv_use_file"
7610 if test "x$cache" = xyes
; then
7611 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7614 if test x
"$enablestring" = xdisable
; then
7615 if test $wxUSE_FILE = yes; then
7624 { echo "$as_me:$LINENO: result: $result" >&5
7625 echo "${ECHO_T}$result" >&6; }
7629 defaultval
=$wxUSE_ALL_FEATURES
7630 if test -z "$defaultval"; then
7631 if test x
"$enablestring" = xdisable
; then
7638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7639 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7640 # Check whether --enable-filesystem was given.
7641 if test "${enable_filesystem+set}" = set; then
7642 enableval
=$enable_filesystem;
7643 if test "$enableval" = yes; then
7644 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
7646 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
7652 LINE
=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7653 if test "x$LINE" != x
; then
7654 eval "DEFAULT_$LINE"
7660 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7665 eval "$wx_cv_use_filesystem"
7666 if test "x$cache" = xyes; then
7667 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7670 if test x"$enablestring" = xdisable; then
7671 if test $wxUSE_FILESYSTEM = yes; then
7677 result=$wxUSE_FILESYSTEM
7680 { echo "$as_me:$LINENO: result: $result" >&5
7681 echo "${ECHO_T}$result" >&6; }
7685 defaultval=$wxUSE_ALL_FEATURES
7686 if test -z "$defaultval"; then
7687 if test x"$enablestring" = xdisable; then
7694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7695 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7696 # Check whether --enable-fontenum was given.
7697 if test "${enable_fontenum+set}" = set; then
7698 enableval=$enable_fontenum;
7699 if test "$enableval" = yes; then
7700 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
7702 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
7708 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7709 if test "x$LINE" != x ; then
7710 eval "DEFAULT_$LINE"
7716 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7721 eval "$wx_cv_use_fontenum"
7722 if test "x
$cache" = xyes; then
7723 echo "wxUSE_FONTENUM
=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7726 if test x"$enablestring" = xdisable; then
7727 if test $wxUSE_FONTENUM = yes; then
7733 result=$wxUSE_FONTENUM
7736 { echo "$as_me:$LINENO: result
: $result" >&5
7737 echo "${ECHO_T}$result" >&6; }
7741 defaultval=$wxUSE_ALL_FEATURES
7742 if test -z "$defaultval"; then
7743 if test x"$enablestring" = xdisable; then
7750 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
7751 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
7752 # Check whether --enable-fontmap was given.
7753 if test "${enable_fontmap+set}" = set; then
7754 enableval=$enable_fontmap;
7755 if test "$enableval" = yes; then
7756 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7758 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7764 LINE=`grep "^wxUSE_FONTMAP
=" ${wx_arg_cache_file}`
7765 if test "x
$LINE" != x ; then
7766 eval "DEFAULT_
$LINE"
7772 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7777 eval "$wx_cv_use_fontmap"
7778 if test "x$cache" = xyes
; then
7779 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7782 if test x
"$enablestring" = xdisable
; then
7783 if test $wxUSE_FONTMAP = yes; then
7789 result
=$wxUSE_FONTMAP
7792 { echo "$as_me:$LINENO: result: $result" >&5
7793 echo "${ECHO_T}$result" >&6; }
7797 defaultval
=$wxUSE_ALL_FEATURES
7798 if test -z "$defaultval"; then
7799 if test x
"$enablestring" = xdisable
; then
7806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7807 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7808 # Check whether --enable-fs_archive was given.
7809 if test "${enable_fs_archive+set}" = set; then
7810 enableval
=$enable_fs_archive;
7811 if test "$enableval" = yes; then
7812 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7814 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7820 LINE
=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7821 if test "x$LINE" != x
; then
7822 eval "DEFAULT_$LINE"
7828 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7833 eval "$wx_cv_use_fs_archive"
7834 if test "x$cache" = xyes; then
7835 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7838 if test x"$enablestring" = xdisable; then
7839 if test $wxUSE_FS_ARCHIVE = yes; then
7845 result=$wxUSE_FS_ARCHIVE
7848 { echo "$as_me:$LINENO: result: $result" >&5
7849 echo "${ECHO_T}$result" >&6; }
7853 defaultval=$wxUSE_ALL_FEATURES
7854 if test -z "$defaultval"; then
7855 if test x"$enablestring" = xdisable; then
7862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7863 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7864 # Check whether --enable-fs_inet was given.
7865 if test "${enable_fs_inet+set}" = set; then
7866 enableval=$enable_fs_inet;
7867 if test "$enableval" = yes; then
7868 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7870 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7876 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7877 if test "x$LINE" != x ; then
7878 eval "DEFAULT_$LINE"
7884 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7889 eval "$wx_cv_use_fs_inet"
7890 if test "x
$cache" = xyes; then
7891 echo "wxUSE_FS_INET
=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7894 if test x"$enablestring" = xdisable; then
7895 if test $wxUSE_FS_INET = yes; then
7901 result=$wxUSE_FS_INET
7904 { echo "$as_me:$LINENO: result
: $result" >&5
7905 echo "${ECHO_T}$result" >&6; }
7909 defaultval=$wxUSE_ALL_FEATURES
7910 if test -z "$defaultval"; then
7911 if test x"$enablestring" = xdisable; then
7918 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7919 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7920 # Check whether --enable-fs_zip was given.
7921 if test "${enable_fs_zip+set}" = set; then
7922 enableval=$enable_fs_zip;
7923 if test "$enableval" = yes; then
7924 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7926 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7932 LINE=`grep "^wxUSE_FS_ZIP
=" ${wx_arg_cache_file}`
7933 if test "x
$LINE" != x ; then
7934 eval "DEFAULT_
$LINE"
7940 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7945 eval "$wx_cv_use_fs_zip"
7946 if test "x$cache" = xyes
; then
7947 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7950 if test x
"$enablestring" = xdisable
; then
7951 if test $wxUSE_FS_ZIP = yes; then
7957 result
=$wxUSE_FS_ZIP
7960 { echo "$as_me:$LINENO: result: $result" >&5
7961 echo "${ECHO_T}$result" >&6; }
7965 defaultval
=$wxUSE_ALL_FEATURES
7966 if test -z "$defaultval"; then
7967 if test x
"$enablestring" = xdisable
; then
7974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7975 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7976 # Check whether --enable-geometry was given.
7977 if test "${enable_geometry+set}" = set; then
7978 enableval
=$enable_geometry;
7979 if test "$enableval" = yes; then
7980 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7982 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7988 LINE
=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7989 if test "x$LINE" != x
; then
7990 eval "DEFAULT_$LINE"
7996 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8001 eval "$wx_cv_use_geometry"
8002 if test "x$cache" = xyes; then
8003 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
8006 if test x"$enablestring" = xdisable; then
8007 if test $wxUSE_GEOMETRY = yes; then
8013 result=$wxUSE_GEOMETRY
8016 { echo "$as_me:$LINENO: result: $result" >&5
8017 echo "${ECHO_T}$result" >&6; }
8021 defaultval=$wxUSE_ALL_FEATURES
8022 if test -z "$defaultval"; then
8023 if test x"$enablestring" = xdisable; then
8030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8031 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8032 # Check whether --enable-log was given.
8033 if test "${enable_log+set}" = set; then
8034 enableval=$enable_log;
8035 if test "$enableval" = yes; then
8036 wx_cv_use_log='wxUSE_LOG
=yes'
8038 wx_cv_use_log='wxUSE_LOG
=no
'
8044 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8045 if test "x$LINE" != x ; then
8046 eval "DEFAULT_$LINE"
8052 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8057 eval "$wx_cv_use_log"
8058 if test "x
$cache" = xyes; then
8059 echo "wxUSE_LOG
=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8062 if test x"$enablestring" = xdisable; then
8063 if test $wxUSE_LOG = yes; then
8072 { echo "$as_me:$LINENO: result
: $result" >&5
8073 echo "${ECHO_T}$result" >&6; }
8077 defaultval=$wxUSE_ALL_FEATURES
8078 if test -z "$defaultval"; then
8079 if test x"$enablestring" = xdisable; then
8086 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
8087 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
8088 # Check whether --enable-longlong was given.
8089 if test "${enable_longlong+set}" = set; then
8090 enableval=$enable_longlong;
8091 if test "$enableval" = yes; then
8092 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8094 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8100 LINE=`grep "^wxUSE_LONGLONG
=" ${wx_arg_cache_file}`
8101 if test "x
$LINE" != x ; then
8102 eval "DEFAULT_
$LINE"
8108 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8113 eval "$wx_cv_use_longlong"
8114 if test "x$cache" = xyes
; then
8115 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8118 if test x
"$enablestring" = xdisable
; then
8119 if test $wxUSE_LONGLONG = yes; then
8125 result
=$wxUSE_LONGLONG
8128 { echo "$as_me:$LINENO: result: $result" >&5
8129 echo "${ECHO_T}$result" >&6; }
8133 defaultval
=$wxUSE_ALL_FEATURES
8134 if test -z "$defaultval"; then
8135 if test x
"$enablestring" = xdisable
; then
8142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8143 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8144 # Check whether --enable-mimetype was given.
8145 if test "${enable_mimetype+set}" = set; then
8146 enableval
=$enable_mimetype;
8147 if test "$enableval" = yes; then
8148 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
8150 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
8156 LINE
=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8157 if test "x$LINE" != x
; then
8158 eval "DEFAULT_$LINE"
8164 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8169 eval "$wx_cv_use_mimetype"
8170 if test "x$cache" = xyes; then
8171 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8174 if test x"$enablestring" = xdisable; then
8175 if test $wxUSE_MIMETYPE = yes; then
8181 result=$wxUSE_MIMETYPE
8184 { echo "$as_me:$LINENO: result: $result" >&5
8185 echo "${ECHO_T}$result" >&6; }
8189 defaultval=$wxUSE_ALL_FEATURES
8190 if test -z "$defaultval"; then
8191 if test x"$enablestring" = xdisable; then
8198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8199 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8200 # Check whether --enable-snglinst was given.
8201 if test "${enable_snglinst+set}" = set; then
8202 enableval=$enable_snglinst;
8203 if test "$enableval" = yes; then
8204 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
8206 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
8212 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8213 if test "x$LINE" != x ; then
8214 eval "DEFAULT_$LINE"
8220 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8225 eval "$wx_cv_use_snglinst"
8226 if test "x
$cache" = xyes; then
8227 echo "wxUSE_SNGLINST_CHECKER
=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8230 if test x"$enablestring" = xdisable; then
8231 if test $wxUSE_SNGLINST_CHECKER = yes; then
8237 result=$wxUSE_SNGLINST_CHECKER
8240 { echo "$as_me:$LINENO: result
: $result" >&5
8241 echo "${ECHO_T}$result" >&6; }
8245 defaultval=$wxUSE_ALL_FEATURES
8246 if test -z "$defaultval"; then
8247 if test x"$enablestring" = xdisable; then
8254 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stdpaths" >&5
8255 echo $ECHO_N "checking
for --${enablestring:-enable}-stdpaths...
$ECHO_C" >&6; }
8256 # Check whether --enable-stdpaths was given.
8257 if test "${enable_stdpaths+set}" = set; then
8258 enableval=$enable_stdpaths;
8259 if test "$enableval" = yes; then
8260 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8262 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8268 LINE=`grep "^wxUSE_STDPATHS
=" ${wx_arg_cache_file}`
8269 if test "x
$LINE" != x ; then
8270 eval "DEFAULT_
$LINE"
8276 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8281 eval "$wx_cv_use_stdpaths"
8282 if test "x$cache" = xyes
; then
8283 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8286 if test x
"$enablestring" = xdisable
; then
8287 if test $wxUSE_STDPATHS = yes; then
8293 result
=$wxUSE_STDPATHS
8296 { echo "$as_me:$LINENO: result: $result" >&5
8297 echo "${ECHO_T}$result" >&6; }
8301 defaultval
=$wxUSE_ALL_FEATURES
8302 if test -z "$defaultval"; then
8303 if test x
"$enablestring" = xdisable
; then
8310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8311 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8312 # Check whether --enable-stopwatch was given.
8313 if test "${enable_stopwatch+set}" = set; then
8314 enableval
=$enable_stopwatch;
8315 if test "$enableval" = yes; then
8316 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
8318 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
8324 LINE
=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8325 if test "x$LINE" != x
; then
8326 eval "DEFAULT_$LINE"
8332 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8337 eval "$wx_cv_use_stopwatch"
8338 if test "x$cache" = xyes; then
8339 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8342 if test x"$enablestring" = xdisable; then
8343 if test $wxUSE_STOPWATCH = yes; then
8349 result=$wxUSE_STOPWATCH
8352 { echo "$as_me:$LINENO: result: $result" >&5
8353 echo "${ECHO_T}$result" >&6; }
8357 defaultval=$wxUSE_ALL_FEATURES
8358 if test -z "$defaultval"; then
8359 if test x"$enablestring" = xdisable; then
8366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8367 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8368 # Check whether --enable-streams was given.
8369 if test "${enable_streams+set}" = set; then
8370 enableval=$enable_streams;
8371 if test "$enableval" = yes; then
8372 wx_cv_use_streams='wxUSE_STREAMS
=yes'
8374 wx_cv_use_streams='wxUSE_STREAMS
=no
'
8380 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8381 if test "x$LINE" != x ; then
8382 eval "DEFAULT_$LINE"
8388 wx_cv_use_streams='wxUSE_STREAMS
=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8393 eval "$wx_cv_use_streams"
8394 if test "x
$cache" = xyes; then
8395 echo "wxUSE_STREAMS
=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8398 if test x"$enablestring" = xdisable; then
8399 if test $wxUSE_STREAMS = yes; then
8405 result=$wxUSE_STREAMS
8408 { echo "$as_me:$LINENO: result
: $result" >&5
8409 echo "${ECHO_T}$result" >&6; }
8413 defaultval=$wxUSE_ALL_FEATURES
8414 if test -z "$defaultval"; then
8415 if test x"$enablestring" = xdisable; then
8422 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-system_options" >&5
8423 echo $ECHO_N "checking
for --${enablestring:-enable}-system_options...
$ECHO_C" >&6; }
8424 # Check whether --enable-system_options was given.
8425 if test "${enable_system_options+set}" = set; then
8426 enableval=$enable_system_options;
8427 if test "$enableval" = yes; then
8428 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8430 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8436 LINE=`grep "^wxUSE_SYSTEM_OPTIONS
=" ${wx_arg_cache_file}`
8437 if test "x
$LINE" != x ; then
8438 eval "DEFAULT_
$LINE"
8444 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8449 eval "$wx_cv_use_system_options"
8450 if test "x$cache" = xyes
; then
8451 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8454 if test x
"$enablestring" = xdisable
; then
8455 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8461 result
=$wxUSE_SYSTEM_OPTIONS
8464 { echo "$as_me:$LINENO: result: $result" >&5
8465 echo "${ECHO_T}$result" >&6; }
8469 defaultval
=$wxUSE_ALL_FEATURES
8470 if test -z "$defaultval"; then
8471 if test x
"$enablestring" = xdisable
; then
8478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8479 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8480 # Check whether --enable-tarstream was given.
8481 if test "${enable_tarstream+set}" = set; then
8482 enableval
=$enable_tarstream;
8483 if test "$enableval" = yes; then
8484 wx_cv_use_tarstream
='wxUSE_TARSTREAM=yes'
8486 wx_cv_use_tarstream
='wxUSE_TARSTREAM=no'
8492 LINE
=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8493 if test "x$LINE" != x
; then
8494 eval "DEFAULT_$LINE"
8500 wx_cv_use_tarstream
='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8505 eval "$wx_cv_use_tarstream"
8506 if test "x$cache" = xyes; then
8507 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8510 if test x"$enablestring" = xdisable; then
8511 if test $wxUSE_TARSTREAM = yes; then
8517 result=$wxUSE_TARSTREAM
8520 { echo "$as_me:$LINENO: result: $result" >&5
8521 echo "${ECHO_T}$result" >&6; }
8525 defaultval=$wxUSE_ALL_FEATURES
8526 if test -z "$defaultval"; then
8527 if test x"$enablestring" = xdisable; then
8534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8535 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8536 # Check whether --enable-textbuf was given.
8537 if test "${enable_textbuf+set}" = set; then
8538 enableval=$enable_textbuf;
8539 if test "$enableval" = yes; then
8540 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
8542 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
8548 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8549 if test "x$LINE" != x ; then
8550 eval "DEFAULT_$LINE"
8556 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8561 eval "$wx_cv_use_textbuf"
8562 if test "x
$cache" = xyes; then
8563 echo "wxUSE_TEXTBUFFER
=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8566 if test x"$enablestring" = xdisable; then
8567 if test $wxUSE_TEXTBUFFER = yes; then
8573 result=$wxUSE_TEXTBUFFER
8576 { echo "$as_me:$LINENO: result
: $result" >&5
8577 echo "${ECHO_T}$result" >&6; }
8581 defaultval=$wxUSE_ALL_FEATURES
8582 if test -z "$defaultval"; then
8583 if test x"$enablestring" = xdisable; then
8590 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textfile" >&5
8591 echo $ECHO_N "checking
for --${enablestring:-enable}-textfile...
$ECHO_C" >&6; }
8592 # Check whether --enable-textfile was given.
8593 if test "${enable_textfile+set}" = set; then
8594 enableval=$enable_textfile;
8595 if test "$enableval" = yes; then
8596 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8598 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8604 LINE=`grep "^wxUSE_TEXTFILE
=" ${wx_arg_cache_file}`
8605 if test "x
$LINE" != x ; then
8606 eval "DEFAULT_
$LINE"
8612 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8617 eval "$wx_cv_use_textfile"
8618 if test "x$cache" = xyes
; then
8619 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8622 if test x
"$enablestring" = xdisable
; then
8623 if test $wxUSE_TEXTFILE = yes; then
8629 result
=$wxUSE_TEXTFILE
8632 { echo "$as_me:$LINENO: result: $result" >&5
8633 echo "${ECHO_T}$result" >&6; }
8637 defaultval
=$wxUSE_ALL_FEATURES
8638 if test -z "$defaultval"; then
8639 if test x
"$enablestring" = xdisable
; then
8646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8647 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8648 # Check whether --enable-timer was given.
8649 if test "${enable_timer+set}" = set; then
8650 enableval
=$enable_timer;
8651 if test "$enableval" = yes; then
8652 wx_cv_use_timer
='wxUSE_TIMER=yes'
8654 wx_cv_use_timer
='wxUSE_TIMER=no'
8660 LINE
=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8661 if test "x$LINE" != x
; then
8662 eval "DEFAULT_$LINE"
8668 wx_cv_use_timer
='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8673 eval "$wx_cv_use_timer"
8674 if test "x$cache" = xyes; then
8675 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8678 if test x"$enablestring" = xdisable; then
8679 if test $wxUSE_TIMER = yes; then
8688 { echo "$as_me:$LINENO: result: $result" >&5
8689 echo "${ECHO_T}$result" >&6; }
8693 defaultval=$wxUSE_ALL_FEATURES
8694 if test -z "$defaultval"; then
8695 if test x"$enablestring" = xdisable; then
8702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8703 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8704 # Check whether --enable-sound was given.
8705 if test "${enable_sound+set}" = set; then
8706 enableval=$enable_sound;
8707 if test "$enableval" = yes; then
8708 wx_cv_use_sound='wxUSE_SOUND
=yes'
8710 wx_cv_use_sound='wxUSE_SOUND
=no
'
8716 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8717 if test "x$LINE" != x ; then
8718 eval "DEFAULT_$LINE"
8724 wx_cv_use_sound='wxUSE_SOUND
=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8729 eval "$wx_cv_use_sound"
8730 if test "x
$cache" = xyes; then
8731 echo "wxUSE_SOUND
=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8734 if test x"$enablestring" = xdisable; then
8735 if test $wxUSE_SOUND = yes; then
8744 { echo "$as_me:$LINENO: result
: $result" >&5
8745 echo "${ECHO_T}$result" >&6; }
8749 defaultval=$wxUSE_ALL_FEATURES
8750 if test -z "$defaultval"; then
8751 if test x"$enablestring" = xdisable; then
8758 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mediactrl" >&5
8759 echo $ECHO_N "checking
for --${enablestring:-enable}-mediactrl...
$ECHO_C" >&6; }
8760 # Check whether --enable-mediactrl was given.
8761 if test "${enable_mediactrl+set}" = set; then
8762 enableval=$enable_mediactrl;
8763 if test "$enableval" = yes; then
8764 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8766 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8772 LINE=`grep "^wxUSE_MEDIACTRL
=" ${wx_arg_cache_file}`
8773 if test "x
$LINE" != x ; then
8774 eval "DEFAULT_
$LINE"
8780 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8785 eval "$wx_cv_use_mediactrl"
8786 if test "x$cache" = xyes
; then
8787 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8790 if test x
"$enablestring" = xdisable
; then
8791 if test $wxUSE_MEDIACTRL = yes; then
8797 result
=$wxUSE_MEDIACTRL
8800 { echo "$as_me:$LINENO: result: $result" >&5
8801 echo "${ECHO_T}$result" >&6; }
8805 defaultval
=$wxUSE_ALL_FEATURES
8806 if test -z "$defaultval"; then
8807 if test x
"$enablestring" = xdisable
; then
8814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8815 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8816 # Check whether --enable-gstreamer8 was given.
8817 if test "${enable_gstreamer8+set}" = set; then
8818 enableval
=$enable_gstreamer8;
8819 if test "$enableval" = yes; then
8820 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
8822 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
8828 LINE
=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8829 if test "x$LINE" != x
; then
8830 eval "DEFAULT_$LINE"
8836 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8841 eval "$wx_cv_use_gstreamer8"
8842 if test "x$cache" = xyes; then
8843 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8846 if test x"$enablestring" = xdisable; then
8847 if test $wxUSE_GSTREAMER8 = yes; then
8853 result=$wxUSE_GSTREAMER8
8856 { echo "$as_me:$LINENO: result: $result" >&5
8857 echo "${ECHO_T}$result" >&6; }
8861 defaultval=$wxUSE_ALL_FEATURES
8862 if test -z "$defaultval"; then
8863 if test x"$enablestring" = xdisable; then
8870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8871 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8872 # Check whether --enable-printfposparam was given.
8873 if test "${enable_printfposparam+set}" = set; then
8874 enableval=$enable_printfposparam;
8875 if test "$enableval" = yes; then
8876 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
8878 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
8884 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8885 if test "x$LINE" != x ; then
8886 eval "DEFAULT_$LINE"
8892 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8897 eval "$wx_cv_use_printfposparam"
8898 if test "x
$cache" = xyes; then
8899 echo "wxUSE_PRINTF_POS_PARAMS
=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8902 if test x"$enablestring" = xdisable; then
8903 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8909 result=$wxUSE_PRINTF_POS_PARAMS
8912 { echo "$as_me:$LINENO: result
: $result" >&5
8913 echo "${ECHO_T}$result" >&6; }
8917 defaultval=$wxUSE_ALL_FEATURES
8918 if test -z "$defaultval"; then
8919 if test x"$enablestring" = xdisable; then
8926 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-zipstream" >&5
8927 echo $ECHO_N "checking
for --${enablestring:-enable}-zipstream...
$ECHO_C" >&6; }
8928 # Check whether --enable-zipstream was given.
8929 if test "${enable_zipstream+set}" = set; then
8930 enableval=$enable_zipstream;
8931 if test "$enableval" = yes; then
8932 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8934 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8940 LINE=`grep "^wxUSE_ZIPSTREAM
=" ${wx_arg_cache_file}`
8941 if test "x
$LINE" != x ; then
8942 eval "DEFAULT_
$LINE"
8948 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8953 eval "$wx_cv_use_zipstream"
8954 if test "x$cache" = xyes
; then
8955 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8958 if test x
"$enablestring" = xdisable
; then
8959 if test $wxUSE_ZIPSTREAM = yes; then
8965 result
=$wxUSE_ZIPSTREAM
8968 { echo "$as_me:$LINENO: result: $result" >&5
8969 echo "${ECHO_T}$result" >&6; }
8974 defaultval
=$wxUSE_ALL_FEATURES
8975 if test -z "$defaultval"; then
8976 if test x
"$enablestring" = xdisable
; then
8983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8984 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8985 # Check whether --enable-url was given.
8986 if test "${enable_url+set}" = set; then
8987 enableval
=$enable_url;
8988 if test "$enableval" = yes; then
8989 wx_cv_use_url
='wxUSE_URL=yes'
8991 wx_cv_use_url
='wxUSE_URL=no'
8997 LINE
=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8998 if test "x$LINE" != x
; then
8999 eval "DEFAULT_$LINE"
9005 wx_cv_use_url
='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9010 eval "$wx_cv_use_url"
9011 if test "x$cache" = xyes; then
9012 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9015 if test x"$enablestring" = xdisable; then
9016 if test $wxUSE_URL = yes; then
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}-variant" >&5
9040 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9041 # Check whether --enable-variant was given.
9042 if test "${enable_variant+set}" = set; then
9043 enableval=$enable_variant;
9044 if test "$enableval" = yes; then
9045 wx_cv_use_variant='wxUSE_VARIANT
=yes'
9047 wx_cv_use_variant='wxUSE_VARIANT
=no
'
9053 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9054 if test "x$LINE" != x ; then
9055 eval "DEFAULT_$LINE"
9061 wx_cv_use_variant='wxUSE_VARIANT
=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9066 eval "$wx_cv_use_variant"
9067 if test "x
$cache" = xyes; then
9068 echo "wxUSE_VARIANT
=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9071 if test x"$enablestring" = xdisable; then
9072 if test $wxUSE_VARIANT = yes; then
9078 result=$wxUSE_VARIANT
9081 { echo "$as_me:$LINENO: result
: $result" >&5
9082 echo "${ECHO_T}$result" >&6; }
9086 defaultval=$wxUSE_ALL_FEATURES
9087 if test -z "$defaultval"; then
9088 if test x"$enablestring" = xdisable; then
9095 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol" >&5
9096 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6; }
9097 # Check whether --enable-protocol was given.
9098 if test "${enable_protocol+set}" = set; then
9099 enableval=$enable_protocol;
9100 if test "$enableval" = yes; then
9101 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9103 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9109 LINE=`grep "^wxUSE_PROTOCOL
=" ${wx_arg_cache_file}`
9110 if test "x
$LINE" != x ; then
9111 eval "DEFAULT_
$LINE"
9117 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9122 eval "$wx_cv_use_protocol"
9123 if test "x$cache" = xyes
; then
9124 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9127 if test x
"$enablestring" = xdisable
; then
9128 if test $wxUSE_PROTOCOL = yes; then
9134 result
=$wxUSE_PROTOCOL
9137 { echo "$as_me:$LINENO: result: $result" >&5
9138 echo "${ECHO_T}$result" >&6; }
9142 defaultval
=$wxUSE_ALL_FEATURES
9143 if test -z "$defaultval"; then
9144 if test x
"$enablestring" = xdisable
; then
9151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9152 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9153 # Check whether --enable-protocol_http was given.
9154 if test "${enable_protocol_http+set}" = set; then
9155 enableval
=$enable_protocol_http;
9156 if test "$enableval" = yes; then
9157 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
9159 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
9165 LINE
=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9166 if test "x$LINE" != x
; then
9167 eval "DEFAULT_$LINE"
9173 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9178 eval "$wx_cv_use_protocol_http"
9179 if test "x$cache" = xyes; then
9180 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9183 if test x"$enablestring" = xdisable; then
9184 if test $wxUSE_PROTOCOL_HTTP = yes; then
9190 result=$wxUSE_PROTOCOL_HTTP
9193 { echo "$as_me:$LINENO: result: $result" >&5
9194 echo "${ECHO_T}$result" >&6; }
9198 defaultval=$wxUSE_ALL_FEATURES
9199 if test -z "$defaultval"; then
9200 if test x"$enablestring" = xdisable; then
9207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9208 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9209 # Check whether --enable-protocol_ftp was given.
9210 if test "${enable_protocol_ftp+set}" = set; then
9211 enableval=$enable_protocol_ftp;
9212 if test "$enableval" = yes; then
9213 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
9215 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
9221 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9222 if test "x$LINE" != x ; then
9223 eval "DEFAULT_$LINE"
9229 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9234 eval "$wx_cv_use_protocol_ftp"
9235 if test "x
$cache" = xyes; then
9236 echo "wxUSE_PROTOCOL_FTP
=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9239 if test x"$enablestring" = xdisable; then
9240 if test $wxUSE_PROTOCOL_FTP = yes; then
9246 result=$wxUSE_PROTOCOL_FTP
9249 { echo "$as_me:$LINENO: result
: $result" >&5
9250 echo "${ECHO_T}$result" >&6; }
9254 defaultval=$wxUSE_ALL_FEATURES
9255 if test -z "$defaultval"; then
9256 if test x"$enablestring" = xdisable; then
9263 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_file" >&5
9264 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6; }
9265 # Check whether --enable-protocol_file was given.
9266 if test "${enable_protocol_file+set}" = set; then
9267 enableval=$enable_protocol_file;
9268 if test "$enableval" = yes; then
9269 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9271 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9277 LINE=`grep "^wxUSE_PROTOCOL_FILE
=" ${wx_arg_cache_file}`
9278 if test "x
$LINE" != x ; then
9279 eval "DEFAULT_
$LINE"
9285 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9290 eval "$wx_cv_use_protocol_file"
9291 if test "x$cache" = xyes
; then
9292 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9295 if test x
"$enablestring" = xdisable
; then
9296 if test $wxUSE_PROTOCOL_FILE = yes; then
9302 result
=$wxUSE_PROTOCOL_FILE
9305 { echo "$as_me:$LINENO: result: $result" >&5
9306 echo "${ECHO_T}$result" >&6; }
9311 defaultval
=$wxUSE_ALL_FEATURES
9312 if test -z "$defaultval"; then
9313 if test x
"$enablestring" = xdisable
; then
9320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9321 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9322 # Check whether --enable-threads was given.
9323 if test "${enable_threads+set}" = set; then
9324 enableval
=$enable_threads;
9325 if test "$enableval" = yes; then
9326 wx_cv_use_threads
='wxUSE_THREADS=yes'
9328 wx_cv_use_threads
='wxUSE_THREADS=no'
9334 LINE
=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9335 if test "x$LINE" != x
; then
9336 eval "DEFAULT_$LINE"
9342 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9347 eval "$wx_cv_use_threads"
9348 if test "x$cache" = xyes; then
9349 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9352 if test x"$enablestring" = xdisable; then
9353 if test $wxUSE_THREADS = yes; then
9359 result=$wxUSE_THREADS
9362 { echo "$as_me:$LINENO: result: $result" >&5
9363 echo "${ECHO_T}$result" >&6; }
9369 if test -z "$defaultval"; then
9370 if test x"$enablestring" = xdisable; then
9377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
9378 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
9379 # Check whether --enable-iniconf was given.
9380 if test "${enable_iniconf+set}" = set; then
9381 enableval=$enable_iniconf;
9382 if test "$enableval" = yes; then
9383 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
9385 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
9391 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
9392 if test "x$LINE" != x ; then
9393 eval "DEFAULT_$LINE"
9399 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9404 eval "$wx_cv_use_iniconf"
9405 if test "x
$cache" = xyes; then
9406 echo "wxUSE_INICONF
=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9409 if test x"$enablestring" = xdisable; then
9410 if test $wxUSE_INICONF = yes; then
9416 result=$wxUSE_INICONF
9419 { echo "$as_me:$LINENO: result
: $result" >&5
9420 echo "${ECHO_T}$result" >&6; }
9424 defaultval=$wxUSE_ALL_FEATURES
9425 if test -z "$defaultval"; then
9426 if test x"$enablestring" = xdisable; then
9433 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
9434 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6; }
9435 # Check whether --enable-regkey was given.
9436 if test "${enable_regkey+set}" = set; then
9437 enableval=$enable_regkey;
9438 if test "$enableval" = yes; then
9439 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9441 wx_cv_use_regkey='wxUSE_REGKEY=no'
9447 LINE=`grep "^wxUSE_REGKEY
=" ${wx_arg_cache_file}`
9448 if test "x
$LINE" != x ; then
9449 eval "DEFAULT_
$LINE"
9455 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9460 eval "$wx_cv_use_regkey"
9461 if test "x$cache" = xyes
; then
9462 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9465 if test x
"$enablestring" = xdisable
; then
9466 if test $wxUSE_REGKEY = yes; then
9472 result
=$wxUSE_REGKEY
9475 { echo "$as_me:$LINENO: result: $result" >&5
9476 echo "${ECHO_T}$result" >&6; }
9479 if test "$wxUSE_GUI" = "yes"; then
9484 defaultval
=$wxUSE_ALL_FEATURES
9485 if test -z "$defaultval"; then
9486 if test x
"$enablestring" = xdisable
; then
9493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9494 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9495 # Check whether --enable-docview was given.
9496 if test "${enable_docview+set}" = set; then
9497 enableval
=$enable_docview;
9498 if test "$enableval" = yes; then
9499 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9501 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9507 LINE
=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9508 if test "x$LINE" != x
; then
9509 eval "DEFAULT_$LINE"
9515 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9520 eval "$wx_cv_use_docview"
9521 if test "x$cache" = xyes; then
9522 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9525 if test x"$enablestring" = xdisable; then
9526 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9532 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9535 { echo "$as_me:$LINENO: result: $result" >&5
9536 echo "${ECHO_T}$result" >&6; }
9540 defaultval=$wxUSE_ALL_FEATURES
9541 if test -z "$defaultval"; then
9542 if test x"$enablestring" = xdisable; then
9549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9550 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9551 # Check whether --enable-help was given.
9552 if test "${enable_help+set}" = set; then
9553 enableval=$enable_help;
9554 if test "$enableval" = yes; then
9555 wx_cv_use_help='wxUSE_HELP
=yes'
9557 wx_cv_use_help='wxUSE_HELP
=no
'
9563 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9564 if test "x$LINE" != x ; then
9565 eval "DEFAULT_$LINE"
9571 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9576 eval "$wx_cv_use_help"
9577 if test "x
$cache" = xyes; then
9578 echo "wxUSE_HELP
=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9581 if test x"$enablestring" = xdisable; then
9582 if test $wxUSE_HELP = yes; then
9591 { echo "$as_me:$LINENO: result
: $result" >&5
9592 echo "${ECHO_T}$result" >&6; }
9596 defaultval=$wxUSE_ALL_FEATURES
9597 if test -z "$defaultval"; then
9598 if test x"$enablestring" = xdisable; then
9605 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
9606 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6; }
9607 # Check whether --enable-mshtmlhelp was given.
9608 if test "${enable_mshtmlhelp+set}" = set; then
9609 enableval=$enable_mshtmlhelp;
9610 if test "$enableval" = yes; then
9611 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9613 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9619 LINE=`grep "^wxUSE_MS_HTML_HELP
=" ${wx_arg_cache_file}`
9620 if test "x
$LINE" != x ; then
9621 eval "DEFAULT_
$LINE"
9627 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9632 eval "$wx_cv_use_mshtmlhelp"
9633 if test "x$cache" = xyes
; then
9634 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9637 if test x
"$enablestring" = xdisable
; then
9638 if test $wxUSE_MS_HTML_HELP = yes; then
9644 result
=$wxUSE_MS_HTML_HELP
9647 { echo "$as_me:$LINENO: result: $result" >&5
9648 echo "${ECHO_T}$result" >&6; }
9652 defaultval
=$wxUSE_ALL_FEATURES
9653 if test -z "$defaultval"; then
9654 if test x
"$enablestring" = xdisable
; then
9661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9662 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9663 # Check whether --enable-html was given.
9664 if test "${enable_html+set}" = set; then
9665 enableval
=$enable_html;
9666 if test "$enableval" = yes; then
9667 wx_cv_use_html
='wxUSE_HTML=yes'
9669 wx_cv_use_html
='wxUSE_HTML=no'
9675 LINE
=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9676 if test "x$LINE" != x
; then
9677 eval "DEFAULT_$LINE"
9683 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9688 eval "$wx_cv_use_html"
9689 if test "x$cache" = xyes; then
9690 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9693 if test x"$enablestring" = xdisable; then
9694 if test $wxUSE_HTML = yes; then
9703 { echo "$as_me:$LINENO: result: $result" >&5
9704 echo "${ECHO_T}$result" >&6; }
9708 defaultval=$wxUSE_ALL_FEATURES
9709 if test -z "$defaultval"; then
9710 if test x"$enablestring" = xdisable; then
9717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9718 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9719 # Check whether --enable-htmlhelp was given.
9720 if test "${enable_htmlhelp+set}" = set; then
9721 enableval=$enable_htmlhelp;
9722 if test "$enableval" = yes; then
9723 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
9725 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
9731 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9732 if test "x$LINE" != x ; then
9733 eval "DEFAULT_$LINE"
9739 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9744 eval "$wx_cv_use_htmlhelp"
9745 if test "x
$cache" = xyes; then
9746 echo "wxUSE_WXHTML_HELP
=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9749 if test x"$enablestring" = xdisable; then
9750 if test $wxUSE_WXHTML_HELP = yes; then
9756 result=$wxUSE_WXHTML_HELP
9759 { echo "$as_me:$LINENO: result
: $result" >&5
9760 echo "${ECHO_T}$result" >&6; }
9764 defaultval=$wxUSE_ALL_FEATURES
9765 if test -z "$defaultval"; then
9766 if test x"$enablestring" = xdisable; then
9773 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
9774 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6; }
9775 # Check whether --enable-xrc was given.
9776 if test "${enable_xrc+set}" = set; then
9777 enableval=$enable_xrc;
9778 if test "$enableval" = yes; then
9779 wx_cv_use_xrc='wxUSE_XRC=yes'
9781 wx_cv_use_xrc='wxUSE_XRC=no'
9787 LINE=`grep "^wxUSE_XRC
=" ${wx_arg_cache_file}`
9788 if test "x
$LINE" != x ; then
9789 eval "DEFAULT_
$LINE"
9795 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9800 eval "$wx_cv_use_xrc"
9801 if test "x$cache" = xyes
; then
9802 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9805 if test x
"$enablestring" = xdisable
; then
9806 if test $wxUSE_XRC = yes; then
9815 { echo "$as_me:$LINENO: result: $result" >&5
9816 echo "${ECHO_T}$result" >&6; }
9820 defaultval
=$wxUSE_ALL_FEATURES
9821 if test -z "$defaultval"; then
9822 if test x
"$enablestring" = xdisable
; then
9829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9830 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9831 # Check whether --enable-aui was given.
9832 if test "${enable_aui+set}" = set; then
9833 enableval
=$enable_aui;
9834 if test "$enableval" = yes; then
9835 wx_cv_use_aui
='wxUSE_AUI=yes'
9837 wx_cv_use_aui
='wxUSE_AUI=no'
9843 LINE
=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9844 if test "x$LINE" != x
; then
9845 eval "DEFAULT_$LINE"
9851 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9856 eval "$wx_cv_use_aui"
9857 if test "x$cache" = xyes; then
9858 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9861 if test x"$enablestring" = xdisable; then
9862 if test $wxUSE_AUI = yes; then
9871 { echo "$as_me:$LINENO: result: $result" >&5
9872 echo "${ECHO_T}$result" >&6; }
9876 defaultval=$wxUSE_ALL_FEATURES
9877 if test -z "$defaultval"; then
9878 if test x"$enablestring" = xdisable; then
9885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9886 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9887 # Check whether --enable-stc was given.
9888 if test "${enable_stc+set}" = set; then
9889 enableval=$enable_stc;
9890 if test "$enableval" = yes; then
9891 wx_cv_use_stc='wxUSE_STC
=yes'
9893 wx_cv_use_stc='wxUSE_STC
=no
'
9899 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9900 if test "x$LINE" != x ; then
9901 eval "DEFAULT_$LINE"
9907 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
9912 eval "$wx_cv_use_stc"
9913 if test "x
$cache" = xyes; then
9914 echo "wxUSE_STC
=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9917 if test x"$enablestring" = xdisable; then
9918 if test $wxUSE_STC = yes; then
9927 { echo "$as_me:$LINENO: result
: $result" >&5
9928 echo "${ECHO_T}$result" >&6; }
9932 defaultval=$wxUSE_ALL_FEATURES
9933 if test -z "$defaultval"; then
9934 if test x"$enablestring" = xdisable; then
9941 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-constraints" >&5
9942 echo $ECHO_N "checking
for --${enablestring:-enable}-constraints...
$ECHO_C" >&6; }
9943 # Check whether --enable-constraints was given.
9944 if test "${enable_constraints+set}" = set; then
9945 enableval=$enable_constraints;
9946 if test "$enableval" = yes; then
9947 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9949 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9955 LINE=`grep "^wxUSE_CONSTRAINTS
=" ${wx_arg_cache_file}`
9956 if test "x
$LINE" != x ; then
9957 eval "DEFAULT_
$LINE"
9963 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9968 eval "$wx_cv_use_constraints"
9969 if test "x$cache" = xyes
; then
9970 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9973 if test x
"$enablestring" = xdisable
; then
9974 if test $wxUSE_CONSTRAINTS = yes; then
9980 result
=$wxUSE_CONSTRAINTS
9983 { echo "$as_me:$LINENO: result: $result" >&5
9984 echo "${ECHO_T}$result" >&6; }
9988 defaultval
=$wxUSE_ALL_FEATURES
9989 if test -z "$defaultval"; then
9990 if test x
"$enablestring" = xdisable
; then
9997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9998 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9999 # Check whether --enable-printarch was given.
10000 if test "${enable_printarch+set}" = set; then
10001 enableval
=$enable_printarch;
10002 if test "$enableval" = yes; then
10003 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
10005 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
10011 LINE
=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
10012 if test "x$LINE" != x
; then
10013 eval "DEFAULT_$LINE"
10019 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10024 eval "$wx_cv_use_printarch"
10025 if test "x$cache" = xyes; then
10026 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10029 if test x"$enablestring" = xdisable; then
10030 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10036 result=$wxUSE_PRINTING_ARCHITECTURE
10039 { echo "$as_me:$LINENO: result: $result" >&5
10040 echo "${ECHO_T}$result" >&6; }
10044 defaultval=$wxUSE_ALL_FEATURES
10045 if test -z "$defaultval"; then
10046 if test x"$enablestring" = xdisable; then
10053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
10054 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
10055 # Check whether --enable-mdi was given.
10056 if test "${enable_mdi+set}" = set; then
10057 enableval=$enable_mdi;
10058 if test "$enableval" = yes; then
10059 wx_cv_use_mdi='wxUSE_MDI
=yes'
10061 wx_cv_use_mdi='wxUSE_MDI
=no
'
10067 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
10068 if test "x$LINE" != x ; then
10069 eval "DEFAULT_$LINE"
10075 wx_cv_use_mdi='wxUSE_MDI
=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10080 eval "$wx_cv_use_mdi"
10081 if test "x
$cache" = xyes; then
10082 echo "wxUSE_MDI
=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10085 if test x"$enablestring" = xdisable; then
10086 if test $wxUSE_MDI = yes; then
10095 { echo "$as_me:$LINENO: result
: $result" >&5
10096 echo "${ECHO_T}$result" >&6; }
10100 defaultval=$wxUSE_ALL_FEATURES
10101 if test -z "$defaultval"; then
10102 if test x"$enablestring" = xdisable; then
10109 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdidoc" >&5
10110 echo $ECHO_N "checking
for --${enablestring:-enable}-mdidoc...
$ECHO_C" >&6; }
10111 # Check whether --enable-mdidoc was given.
10112 if test "${enable_mdidoc+set}" = set; then
10113 enableval=$enable_mdidoc;
10114 if test "$enableval" = yes; then
10115 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10117 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10123 LINE=`grep "^wxUSE_MDI_ARCHITECTURE
=" ${wx_arg_cache_file}`
10124 if test "x
$LINE" != x ; then
10125 eval "DEFAULT_
$LINE"
10131 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10136 eval "$wx_cv_use_mdidoc"
10137 if test "x$cache" = xyes
; then
10138 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10141 if test x
"$enablestring" = xdisable
; then
10142 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10148 result
=$wxUSE_MDI_ARCHITECTURE
10151 { echo "$as_me:$LINENO: result: $result" >&5
10152 echo "${ECHO_T}$result" >&6; }
10156 defaultval
=$wxUSE_ALL_FEATURES
10157 if test -z "$defaultval"; then
10158 if test x
"$enablestring" = xdisable
; then
10165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10166 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10167 # Check whether --enable-loggui was given.
10168 if test "${enable_loggui+set}" = set; then
10169 enableval
=$enable_loggui;
10170 if test "$enableval" = yes; then
10171 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
10173 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
10179 LINE
=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10180 if test "x$LINE" != x
; then
10181 eval "DEFAULT_$LINE"
10187 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10192 eval "$wx_cv_use_loggui"
10193 if test "x$cache" = xyes; then
10194 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10197 if test x"$enablestring" = xdisable; then
10198 if test $wxUSE_LOGGUI = yes; then
10204 result=$wxUSE_LOGGUI
10207 { echo "$as_me:$LINENO: result: $result" >&5
10208 echo "${ECHO_T}$result" >&6; }
10212 defaultval=$wxUSE_ALL_FEATURES
10213 if test -z "$defaultval"; then
10214 if test x"$enablestring" = xdisable; then
10221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10222 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10223 # Check whether --enable-logwin was given.
10224 if test "${enable_logwin+set}" = set; then
10225 enableval=$enable_logwin;
10226 if test "$enableval" = yes; then
10227 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
10229 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
10235 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10236 if test "x$LINE" != x ; then
10237 eval "DEFAULT_$LINE"
10243 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10248 eval "$wx_cv_use_logwin"
10249 if test "x
$cache" = xyes; then
10250 echo "wxUSE_LOGWINDOW
=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10253 if test x"$enablestring" = xdisable; then
10254 if test $wxUSE_LOGWINDOW = yes; then
10260 result=$wxUSE_LOGWINDOW
10263 { echo "$as_me:$LINENO: result
: $result" >&5
10264 echo "${ECHO_T}$result" >&6; }
10268 defaultval=$wxUSE_ALL_FEATURES
10269 if test -z "$defaultval"; then
10270 if test x"$enablestring" = xdisable; then
10277 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logdialog" >&5
10278 echo $ECHO_N "checking
for --${enablestring:-enable}-logdialog...
$ECHO_C" >&6; }
10279 # Check whether --enable-logdialog was given.
10280 if test "${enable_logdialog+set}" = set; then
10281 enableval=$enable_logdialog;
10282 if test "$enableval" = yes; then
10283 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10285 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10291 LINE=`grep "^wxUSE_LOGDIALOG
=" ${wx_arg_cache_file}`
10292 if test "x
$LINE" != x ; then
10293 eval "DEFAULT_
$LINE"
10299 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10304 eval "$wx_cv_use_logdialog"
10305 if test "x$cache" = xyes
; then
10306 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10309 if test x
"$enablestring" = xdisable
; then
10310 if test $wxUSE_LOGDIALOG = yes; then
10316 result
=$wxUSE_LOGDIALOG
10319 { echo "$as_me:$LINENO: result: $result" >&5
10320 echo "${ECHO_T}$result" >&6; }
10324 defaultval
=$wxUSE_ALL_FEATURES
10325 if test -z "$defaultval"; then
10326 if test x
"$enablestring" = xdisable
; then
10333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10334 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10335 # Check whether --enable-webkit was given.
10336 if test "${enable_webkit+set}" = set; then
10337 enableval
=$enable_webkit;
10338 if test "$enableval" = yes; then
10339 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
10341 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
10347 LINE
=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10348 if test "x$LINE" != x
; then
10349 eval "DEFAULT_$LINE"
10355 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10360 eval "$wx_cv_use_webkit"
10361 if test "x$cache" = xyes; then
10362 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10365 if test x"$enablestring" = xdisable; then
10366 if test $wxUSE_WEBKIT = yes; then
10372 result=$wxUSE_WEBKIT
10375 { echo "$as_me:$LINENO: result: $result" >&5
10376 echo "${ECHO_T}$result" >&6; }
10380 defaultval=$wxUSE_ALL_FEATURES
10381 if test -z "$defaultval"; then
10382 if test x"$enablestring" = xdisable; then
10389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10390 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10391 # Check whether --enable-richtext was given.
10392 if test "${enable_richtext+set}" = set; then
10393 enableval=$enable_richtext;
10394 if test "$enableval" = yes; then
10395 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
10397 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
10403 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10404 if test "x$LINE" != x ; then
10405 eval "DEFAULT_$LINE"
10411 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10416 eval "$wx_cv_use_richtext"
10417 if test "x
$cache" = xyes; then
10418 echo "wxUSE_RICHTEXT
=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10421 if test x"$enablestring" = xdisable; then
10422 if test $wxUSE_RICHTEXT = yes; then
10428 result=$wxUSE_RICHTEXT
10431 { echo "$as_me:$LINENO: result
: $result" >&5
10432 echo "${ECHO_T}$result" >&6; }
10436 defaultval=$wxUSE_ALL_FEATURES
10437 if test -z "$defaultval"; then
10438 if test x"$enablestring" = xdisable; then
10445 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
10446 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
10447 # Check whether --enable-graphics_ctx was given.
10448 if test "${enable_graphics_ctx+set}" = set; then
10449 enableval=$enable_graphics_ctx;
10450 if test "$enableval" = yes; then
10451 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10453 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10459 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT
=" ${wx_arg_cache_file}`
10460 if test "x
$LINE" != x ; then
10461 eval "DEFAULT_
$LINE"
10467 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10472 eval "$wx_cv_use_graphics_ctx"
10473 if test "x$cache" = xyes
; then
10474 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10477 if test x
"$enablestring" = xdisable
; then
10478 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10484 result
=$wxUSE_GRAPHICS_CONTEXT
10487 { echo "$as_me:$LINENO: result: $result" >&5
10488 echo "${ECHO_T}$result" >&6; }
10492 defaultval
=$wxUSE_ALL_FEATURES
10493 if test -z "$defaultval"; then
10494 if test x
"$enablestring" = xdisable
; then
10501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10502 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10503 # Check whether --enable-postscript was given.
10504 if test "${enable_postscript+set}" = set; then
10505 enableval
=$enable_postscript;
10506 if test "$enableval" = yes; then
10507 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
10509 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
10515 LINE
=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10516 if test "x$LINE" != x
; then
10517 eval "DEFAULT_$LINE"
10523 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10528 eval "$wx_cv_use_postscript"
10529 if test "x$cache" = xyes; then
10530 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10533 if test x"$enablestring" = xdisable; then
10534 if test $wxUSE_POSTSCRIPT = yes; then
10540 result=$wxUSE_POSTSCRIPT
10543 { echo "$as_me:$LINENO: result: $result" >&5
10544 echo "${ECHO_T}$result" >&6; }
10548 defaultval=$wxUSE_ALL_FEATURES
10549 if test -z "$defaultval"; then
10550 if test x"$enablestring" = xdisable; then
10557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10558 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10559 # Check whether --enable-svg was given.
10560 if test "${enable_svg+set}" = set; then
10561 enableval=$enable_svg;
10562 if test "$enableval" = yes; then
10563 wx_cv_use_svg='wxUSE_SVG
=yes'
10565 wx_cv_use_svg='wxUSE_SVG
=no
'
10571 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10572 if test "x$LINE" != x ; then
10573 eval "DEFAULT_$LINE"
10579 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10584 eval "$wx_cv_use_svg"
10585 if test "x
$cache" = xyes; then
10586 echo "wxUSE_SVG
=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10589 if test x"$enablestring" = xdisable; then
10590 if test $wxUSE_SVG = yes; then
10599 { echo "$as_me:$LINENO: result
: $result" >&5
10600 echo "${ECHO_T}$result" >&6; }
10606 defaultval=$wxUSE_ALL_FEATURES
10607 if test -z "$defaultval"; then
10608 if test x"$enablestring" = xdisable; then
10615 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-clipboard" >&5
10616 echo $ECHO_N "checking
for --${enablestring:-enable}-clipboard...
$ECHO_C" >&6; }
10617 # Check whether --enable-clipboard was given.
10618 if test "${enable_clipboard+set}" = set; then
10619 enableval=$enable_clipboard;
10620 if test "$enableval" = yes; then
10621 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10623 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10629 LINE=`grep "^wxUSE_CLIPBOARD
=" ${wx_arg_cache_file}`
10630 if test "x
$LINE" != x ; then
10631 eval "DEFAULT_
$LINE"
10637 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10642 eval "$wx_cv_use_clipboard"
10643 if test "x$cache" = xyes
; then
10644 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10647 if test x
"$enablestring" = xdisable
; then
10648 if test $wxUSE_CLIPBOARD = yes; then
10654 result
=$wxUSE_CLIPBOARD
10657 { echo "$as_me:$LINENO: result: $result" >&5
10658 echo "${ECHO_T}$result" >&6; }
10662 defaultval
=$wxUSE_ALL_FEATURES
10663 if test -z "$defaultval"; then
10664 if test x
"$enablestring" = xdisable
; then
10671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10672 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10673 # Check whether --enable-dnd was given.
10674 if test "${enable_dnd+set}" = set; then
10675 enableval
=$enable_dnd;
10676 if test "$enableval" = yes; then
10677 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
10679 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
10685 LINE
=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10686 if test "x$LINE" != x
; then
10687 eval "DEFAULT_$LINE"
10693 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10698 eval "$wx_cv_use_dnd"
10699 if test "x$cache" = xyes; then
10700 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10703 if test x"$enablestring" = xdisable; then
10704 if test $wxUSE_DRAG_AND_DROP = yes; then
10710 result=$wxUSE_DRAG_AND_DROP
10713 { echo "$as_me:$LINENO: result: $result" >&5
10714 echo "${ECHO_T}$result" >&6; }
10718 defaultval=$wxUSE_ALL_FEATURES
10719 if test -z "$defaultval"; then
10720 if test x"$enablestring" = xdisable; then
10727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10728 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10729 # Check whether --enable-metafile was given.
10730 if test "${enable_metafile+set}" = set; then
10731 enableval=$enable_metafile;
10732 if test "$enableval" = yes; then
10733 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
10735 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
10741 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10742 if test "x$LINE" != x ; then
10743 eval "DEFAULT_$LINE"
10749 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10754 eval "$wx_cv_use_metafile"
10755 if test "x
$cache" = xyes; then
10756 echo "wxUSE_METAFILE
=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10759 if test x"$enablestring" = xdisable; then
10760 if test $wxUSE_METAFILE = yes; then
10766 result=$wxUSE_METAFILE
10769 { echo "$as_me:$LINENO: result
: $result" >&5
10770 echo "${ECHO_T}$result" >&6; }
10774 DEFAULT_wxUSE_CONTROLS=none
10776 enablestring=disable
10778 if test -z "$defaultval"; then
10779 if test x"$enablestring" = xdisable; then
10786 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-controls" >&5
10787 echo $ECHO_N "checking
for --${enablestring:-enable}-controls...
$ECHO_C" >&6; }
10788 # Check whether --enable-controls was given.
10789 if test "${enable_controls+set}" = set; then
10790 enableval=$enable_controls;
10791 if test "$enableval" = yes; then
10792 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10794 wx_cv_use_controls='wxUSE_CONTROLS=no'
10800 LINE=`grep "^wxUSE_CONTROLS
=" ${wx_arg_cache_file}`
10801 if test "x
$LINE" != x ; then
10802 eval "DEFAULT_
$LINE"
10808 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10813 eval "$wx_cv_use_controls"
10814 if test "x$cache" = xyes
; then
10815 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10818 if test x
"$enablestring" = xdisable
; then
10819 if test $wxUSE_CONTROLS = yes; then
10825 result
=$wxUSE_CONTROLS
10828 { echo "$as_me:$LINENO: result: $result" >&5
10829 echo "${ECHO_T}$result" >&6; }
10832 if test "$wxUSE_CONTROLS" = "yes"; then
10833 DEFAULT_wxUSE_ACCEL
=yes
10834 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
10835 DEFAULT_wxUSE_BMPBUTTON
=yes
10836 DEFAULT_wxUSE_BUTTON
=yes
10837 DEFAULT_wxUSE_CALCTRL
=yes
10838 DEFAULT_wxUSE_CARET
=yes
10839 DEFAULT_wxUSE_COMBOBOX
=yes
10840 DEFAULT_wxUSE_CHECKBOX
=yes
10841 DEFAULT_wxUSE_CHECKLISTBOX
=yes
10842 DEFAULT_wxUSE_CHOICE
=yes
10843 DEFAULT_wxUSE_CHOICEBOOK
=yes
10844 DEFAULT_wxUSE_COLLPANE
=yes
10845 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
10846 DEFAULT_wxUSE_COMBOBOX
=yes
10847 DEFAULT_wxUSE_DATEPICKCTRL
=yes
10848 DEFAULT_wxUSE_DISPLAY
=yes
10849 DEFAULT_wxUSE_DETECT_SM
=yes
10850 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
10851 DEFAULT_wxUSE_FILECTRL
=yes
10852 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
10853 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
10854 DEFAULT_wxUSE_GAUGE
=yes
10855 DEFAULT_wxUSE_GRID
=yes
10856 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
10857 DEFAULT_wxUSE_DATAVIEWCTRL
=no
10858 DEFAULT_wxUSE_IMAGLIST
=yes
10859 DEFAULT_wxUSE_LISTBOOK
=yes
10860 DEFAULT_wxUSE_LISTBOX
=yes
10861 DEFAULT_wxUSE_LISTCTRL
=yes
10862 DEFAULT_wxUSE_NOTEBOOK
=yes
10863 DEFAULT_wxUSE_RADIOBOX
=yes
10864 DEFAULT_wxUSE_RADIOBTN
=yes
10865 DEFAULT_wxUSE_SASH
=yes
10866 DEFAULT_wxUSE_SCROLLBAR
=yes
10867 DEFAULT_wxUSE_SEARCHCTRL
=yes
10868 DEFAULT_wxUSE_SLIDER
=yes
10869 DEFAULT_wxUSE_SPINBTN
=yes
10870 DEFAULT_wxUSE_SPINCTRL
=yes
10871 DEFAULT_wxUSE_SPLITTER
=yes
10872 DEFAULT_wxUSE_STATBMP
=yes
10873 DEFAULT_wxUSE_STATBOX
=yes
10874 DEFAULT_wxUSE_STATLINE
=yes
10875 DEFAULT_wxUSE_STATUSBAR
=yes
10876 DEFAULT_wxUSE_TAB_DIALOG
=yes
10877 DEFAULT_wxUSE_TOGGLEBTN
=yes
10878 DEFAULT_wxUSE_TOOLBAR
=yes
10879 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
10880 DEFAULT_wxUSE_TOOLTIPS
=yes
10881 DEFAULT_wxUSE_TREEBOOK
=yes
10882 DEFAULT_wxUSE_TOOLBOOK
=yes
10883 DEFAULT_wxUSE_TREECTRL
=yes
10884 DEFAULT_wxUSE_POPUPWIN
=yes
10885 DEFAULT_wxUSE_TIPWINDOW
=yes
10886 elif test "$wxUSE_CONTROLS" = "no"; then
10887 DEFAULT_wxUSE_ACCEL
=no
10888 DEFAULT_wxUSE_ANIMATIONCTRL
=no
10889 DEFAULT_wxUSE_BMPBUTTON
=no
10890 DEFAULT_wxUSE_BUTTON
=no
10891 DEFAULT_wxUSE_CALCTRL
=no
10892 DEFAULT_wxUSE_CARET
=no
10893 DEFAULT_wxUSE_COLLPANE
=no
10894 DEFAULT_wxUSE_COMBOBOX
=no
10895 DEFAULT_wxUSE_CHECKBOX
=no
10896 DEFAULT_wxUSE_CHECKLISTBOX
=no
10897 DEFAULT_wxUSE_CHOICE
=no
10898 DEFAULT_wxUSE_CHOICEBOOK
=no
10899 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
10900 DEFAULT_wxUSE_COMBOBOX
=no
10901 DEFAULT_wxUSE_DATEPICKCTRL
=no
10902 DEFAULT_wxUSE_DISPLAY
=no
10903 DEFAULT_wxUSE_DETECT_SM
=no
10904 DEFAULT_wxUSE_DIRPICKERCTRL
=no
10905 DEFAULT_wxUSE_FILECTRL
=no
10906 DEFAULT_wxUSE_FILEPICKERCTRL
=no
10907 DEFAULT_wxUSE_FONTPICKERCTRL
=no
10908 DEFAULT_wxUSE_GAUGE
=no
10909 DEFAULT_wxUSE_GRID
=no
10910 DEFAULT_wxUSE_HYPERLINKCTRL
=no
10911 DEFAULT_wxUSE_DATAVIEWCTRL
=no
10912 DEFAULT_wxUSE_IMAGLIST
=no
10913 DEFAULT_wxUSE_LISTBOOK
=no
10914 DEFAULT_wxUSE_LISTBOX
=no
10915 DEFAULT_wxUSE_LISTCTRL
=no
10916 DEFAULT_wxUSE_NOTEBOOK
=no
10917 DEFAULT_wxUSE_RADIOBOX
=no
10918 DEFAULT_wxUSE_RADIOBTN
=no
10919 DEFAULT_wxUSE_SASH
=no
10920 DEFAULT_wxUSE_SCROLLBAR
=no
10921 DEFAULT_wxUSE_SEARCHCTRL
=no
10922 DEFAULT_wxUSE_SLIDER
=no
10923 DEFAULT_wxUSE_SPINBTN
=no
10924 DEFAULT_wxUSE_SPINCTRL
=no
10925 DEFAULT_wxUSE_SPLITTER
=no
10926 DEFAULT_wxUSE_STATBMP
=no
10927 DEFAULT_wxUSE_STATBOX
=no
10928 DEFAULT_wxUSE_STATLINE
=no
10929 DEFAULT_wxUSE_STATUSBAR
=no
10930 DEFAULT_wxUSE_TAB_DIALOG
=no
10931 DEFAULT_wxUSE_TOGGLEBTN
=no
10932 DEFAULT_wxUSE_TOOLBAR
=no
10933 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
10934 DEFAULT_wxUSE_TOOLTIPS
=no
10935 DEFAULT_wxUSE_TREEBOOK
=no
10936 DEFAULT_wxUSE_TOOLBOOK
=no
10937 DEFAULT_wxUSE_TREECTRL
=no
10938 DEFAULT_wxUSE_POPUPWIN
=no
10939 DEFAULT_wxUSE_TIPWINDOW
=no
10944 defaultval
=$wxUSE_ALL_FEATURES
10945 if test -z "$defaultval"; then
10946 if test x
"$enablestring" = xdisable
; then
10953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10954 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10955 # Check whether --enable-accel was given.
10956 if test "${enable_accel+set}" = set; then
10957 enableval
=$enable_accel;
10958 if test "$enableval" = yes; then
10959 wx_cv_use_accel
='wxUSE_ACCEL=yes'
10961 wx_cv_use_accel
='wxUSE_ACCEL=no'
10967 LINE
=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10968 if test "x$LINE" != x
; then
10969 eval "DEFAULT_$LINE"
10975 wx_cv_use_accel
='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10980 eval "$wx_cv_use_accel"
10981 if test "x$cache" = xyes; then
10982 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10985 if test x"$enablestring" = xdisable; then
10986 if test $wxUSE_ACCEL = yes; then
10992 result=$wxUSE_ACCEL
10995 { echo "$as_me:$LINENO: result: $result" >&5
10996 echo "${ECHO_T}$result" >&6; }
11000 defaultval=$wxUSE_ALL_FEATURES
11001 if test -z "$defaultval"; then
11002 if test x"$enablestring" = xdisable; then
11009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
11010 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
11011 # Check whether --enable-animatectrl was given.
11012 if test "${enable_animatectrl+set}" = set; then
11013 enableval=$enable_animatectrl;
11014 if test "$enableval" = yes; then
11015 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
11017 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
11023 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
11024 if test "x$LINE" != x ; then
11025 eval "DEFAULT_$LINE"
11031 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11036 eval "$wx_cv_use_animatectrl"
11037 if test "x
$cache" = xyes; then
11038 echo "wxUSE_ANIMATIONCTRL
=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11041 if test x"$enablestring" = xdisable; then
11042 if test $wxUSE_ANIMATIONCTRL = yes; then
11048 result=$wxUSE_ANIMATIONCTRL
11051 { echo "$as_me:$LINENO: result
: $result" >&5
11052 echo "${ECHO_T}$result" >&6; }
11056 defaultval=$wxUSE_ALL_FEATURES
11057 if test -z "$defaultval"; then
11058 if test x"$enablestring" = xdisable; then
11065 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
11066 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
11067 # Check whether --enable-button was given.
11068 if test "${enable_button+set}" = set; then
11069 enableval=$enable_button;
11070 if test "$enableval" = yes; then
11071 wx_cv_use_button='wxUSE_BUTTON=yes'
11073 wx_cv_use_button='wxUSE_BUTTON=no'
11079 LINE=`grep "^wxUSE_BUTTON
=" ${wx_arg_cache_file}`
11080 if test "x
$LINE" != x ; then
11081 eval "DEFAULT_
$LINE"
11087 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11092 eval "$wx_cv_use_button"
11093 if test "x$cache" = xyes
; then
11094 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11097 if test x
"$enablestring" = xdisable
; then
11098 if test $wxUSE_BUTTON = yes; then
11104 result
=$wxUSE_BUTTON
11107 { echo "$as_me:$LINENO: result: $result" >&5
11108 echo "${ECHO_T}$result" >&6; }
11112 defaultval
=$wxUSE_ALL_FEATURES
11113 if test -z "$defaultval"; then
11114 if test x
"$enablestring" = xdisable
; then
11121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11122 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11123 # Check whether --enable-bmpbutton was given.
11124 if test "${enable_bmpbutton+set}" = set; then
11125 enableval
=$enable_bmpbutton;
11126 if test "$enableval" = yes; then
11127 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
11129 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
11135 LINE
=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11136 if test "x$LINE" != x
; then
11137 eval "DEFAULT_$LINE"
11143 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11148 eval "$wx_cv_use_bmpbutton"
11149 if test "x$cache" = xyes; then
11150 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11153 if test x"$enablestring" = xdisable; then
11154 if test $wxUSE_BMPBUTTON = yes; then
11160 result=$wxUSE_BMPBUTTON
11163 { echo "$as_me:$LINENO: result: $result" >&5
11164 echo "${ECHO_T}$result" >&6; }
11168 defaultval=$wxUSE_ALL_FEATURES
11169 if test -z "$defaultval"; then
11170 if test x"$enablestring" = xdisable; then
11177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11178 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11179 # Check whether --enable-bmpcombobox was given.
11180 if test "${enable_bmpcombobox+set}" = set; then
11181 enableval=$enable_bmpcombobox;
11182 if test "$enableval" = yes; then
11183 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
11185 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
11191 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11192 if test "x$LINE" != x ; then
11193 eval "DEFAULT_$LINE"
11199 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11204 eval "$wx_cv_use_bmpcombobox"
11205 if test "x
$cache" = xyes; then
11206 echo "wxUSE_BITMAPCOMBOBOX
=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11209 if test x"$enablestring" = xdisable; then
11210 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11216 result=$wxUSE_BITMAPCOMBOBOX
11219 { echo "$as_me:$LINENO: result
: $result" >&5
11220 echo "${ECHO_T}$result" >&6; }
11224 defaultval=$wxUSE_ALL_FEATURES
11225 if test -z "$defaultval"; then
11226 if test x"$enablestring" = xdisable; then
11233 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-calendar" >&5
11234 echo $ECHO_N "checking
for --${enablestring:-enable}-calendar...
$ECHO_C" >&6; }
11235 # Check whether --enable-calendar was given.
11236 if test "${enable_calendar+set}" = set; then
11237 enableval=$enable_calendar;
11238 if test "$enableval" = yes; then
11239 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11241 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11247 LINE=`grep "^wxUSE_CALCTRL
=" ${wx_arg_cache_file}`
11248 if test "x
$LINE" != x ; then
11249 eval "DEFAULT_
$LINE"
11255 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11260 eval "$wx_cv_use_calendar"
11261 if test "x$cache" = xyes
; then
11262 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11265 if test x
"$enablestring" = xdisable
; then
11266 if test $wxUSE_CALCTRL = yes; then
11272 result
=$wxUSE_CALCTRL
11275 { echo "$as_me:$LINENO: result: $result" >&5
11276 echo "${ECHO_T}$result" >&6; }
11280 defaultval
=$wxUSE_ALL_FEATURES
11281 if test -z "$defaultval"; then
11282 if test x
"$enablestring" = xdisable
; then
11289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11290 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11291 # Check whether --enable-caret was given.
11292 if test "${enable_caret+set}" = set; then
11293 enableval
=$enable_caret;
11294 if test "$enableval" = yes; then
11295 wx_cv_use_caret
='wxUSE_CARET=yes'
11297 wx_cv_use_caret
='wxUSE_CARET=no'
11303 LINE
=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11304 if test "x$LINE" != x
; then
11305 eval "DEFAULT_$LINE"
11311 wx_cv_use_caret
='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11316 eval "$wx_cv_use_caret"
11317 if test "x$cache" = xyes; then
11318 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11321 if test x"$enablestring" = xdisable; then
11322 if test $wxUSE_CARET = yes; then
11328 result=$wxUSE_CARET
11331 { echo "$as_me:$LINENO: result: $result" >&5
11332 echo "${ECHO_T}$result" >&6; }
11336 defaultval=$wxUSE_ALL_FEATURES
11337 if test -z "$defaultval"; then
11338 if test x"$enablestring" = xdisable; then
11345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11346 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11347 # Check whether --enable-checkbox was given.
11348 if test "${enable_checkbox+set}" = set; then
11349 enableval=$enable_checkbox;
11350 if test "$enableval" = yes; then
11351 wx_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
11353 wx_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
11359 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11360 if test "x$LINE" != x ; then
11361 eval "DEFAULT_$LINE"
11367 wx_cv_use_checkbox='wxUSE_CHECKBOX
=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11372 eval "$wx_cv_use_checkbox"
11373 if test "x
$cache" = xyes; then
11374 echo "wxUSE_CHECKBOX
=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11377 if test x"$enablestring" = xdisable; then
11378 if test $wxUSE_CHECKBOX = yes; then
11384 result=$wxUSE_CHECKBOX
11387 { echo "$as_me:$LINENO: result
: $result" >&5
11388 echo "${ECHO_T}$result" >&6; }
11392 defaultval=$wxUSE_ALL_FEATURES
11393 if test -z "$defaultval"; then
11394 if test x"$enablestring" = xdisable; then
11401 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checklst" >&5
11402 echo $ECHO_N "checking
for --${enablestring:-enable}-checklst...
$ECHO_C" >&6; }
11403 # Check whether --enable-checklst was given.
11404 if test "${enable_checklst+set}" = set; then
11405 enableval=$enable_checklst;
11406 if test "$enableval" = yes; then
11407 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11409 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11415 LINE=`grep "^wxUSE_CHECKLST
=" ${wx_arg_cache_file}`
11416 if test "x
$LINE" != x ; then
11417 eval "DEFAULT_
$LINE"
11423 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11428 eval "$wx_cv_use_checklst"
11429 if test "x$cache" = xyes
; then
11430 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11433 if test x
"$enablestring" = xdisable
; then
11434 if test $wxUSE_CHECKLST = yes; then
11440 result
=$wxUSE_CHECKLST
11443 { echo "$as_me:$LINENO: result: $result" >&5
11444 echo "${ECHO_T}$result" >&6; }
11448 defaultval
=$wxUSE_ALL_FEATURES
11449 if test -z "$defaultval"; then
11450 if test x
"$enablestring" = xdisable
; then
11457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11458 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11459 # Check whether --enable-choice was given.
11460 if test "${enable_choice+set}" = set; then
11461 enableval
=$enable_choice;
11462 if test "$enableval" = yes; then
11463 wx_cv_use_choice
='wxUSE_CHOICE=yes'
11465 wx_cv_use_choice
='wxUSE_CHOICE=no'
11471 LINE
=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11472 if test "x$LINE" != x
; then
11473 eval "DEFAULT_$LINE"
11479 wx_cv_use_choice
='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11484 eval "$wx_cv_use_choice"
11485 if test "x$cache" = xyes; then
11486 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11489 if test x"$enablestring" = xdisable; then
11490 if test $wxUSE_CHOICE = yes; then
11496 result=$wxUSE_CHOICE
11499 { echo "$as_me:$LINENO: result: $result" >&5
11500 echo "${ECHO_T}$result" >&6; }
11504 defaultval=$wxUSE_ALL_FEATURES
11505 if test -z "$defaultval"; then
11506 if test x"$enablestring" = xdisable; then
11513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11514 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11515 # Check whether --enable-choicebook was given.
11516 if test "${enable_choicebook+set}" = set; then
11517 enableval=$enable_choicebook;
11518 if test "$enableval" = yes; then
11519 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
11521 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
11527 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11528 if test "x$LINE" != x ; then
11529 eval "DEFAULT_$LINE"
11535 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11540 eval "$wx_cv_use_choicebook"
11541 if test "x
$cache" = xyes; then
11542 echo "wxUSE_CHOICEBOOK
=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11545 if test x"$enablestring" = xdisable; then
11546 if test $wxUSE_CHOICEBOOK = yes; then
11552 result=$wxUSE_CHOICEBOOK
11555 { echo "$as_me:$LINENO: result
: $result" >&5
11556 echo "${ECHO_T}$result" >&6; }
11560 defaultval=$wxUSE_ALL_FEATURES
11561 if test -z "$defaultval"; then
11562 if test x"$enablestring" = xdisable; then
11569 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-collpane" >&5
11570 echo $ECHO_N "checking
for --${enablestring:-enable}-collpane...
$ECHO_C" >&6; }
11571 # Check whether --enable-collpane was given.
11572 if test "${enable_collpane+set}" = set; then
11573 enableval=$enable_collpane;
11574 if test "$enableval" = yes; then
11575 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11577 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11583 LINE=`grep "^wxUSE_COLLPANE
=" ${wx_arg_cache_file}`
11584 if test "x
$LINE" != x ; then
11585 eval "DEFAULT_
$LINE"
11591 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11596 eval "$wx_cv_use_collpane"
11597 if test "x$cache" = xyes
; then
11598 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11601 if test x
"$enablestring" = xdisable
; then
11602 if test $wxUSE_COLLPANE = yes; then
11608 result
=$wxUSE_COLLPANE
11611 { echo "$as_me:$LINENO: result: $result" >&5
11612 echo "${ECHO_T}$result" >&6; }
11616 defaultval
=$wxUSE_ALL_FEATURES
11617 if test -z "$defaultval"; then
11618 if test x
"$enablestring" = xdisable
; then
11625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11626 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11627 # Check whether --enable-colourpicker was given.
11628 if test "${enable_colourpicker+set}" = set; then
11629 enableval
=$enable_colourpicker;
11630 if test "$enableval" = yes; then
11631 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
11633 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
11639 LINE
=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11640 if test "x$LINE" != x
; then
11641 eval "DEFAULT_$LINE"
11647 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11652 eval "$wx_cv_use_colourpicker"
11653 if test "x$cache" = xyes; then
11654 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11657 if test x"$enablestring" = xdisable; then
11658 if test $wxUSE_COLOURPICKERCTRL = yes; then
11664 result=$wxUSE_COLOURPICKERCTRL
11667 { echo "$as_me:$LINENO: result: $result" >&5
11668 echo "${ECHO_T}$result" >&6; }
11672 defaultval=$wxUSE_ALL_FEATURES
11673 if test -z "$defaultval"; then
11674 if test x"$enablestring" = xdisable; then
11681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11682 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11683 # Check whether --enable-combobox was given.
11684 if test "${enable_combobox+set}" = set; then
11685 enableval=$enable_combobox;
11686 if test "$enableval" = yes; then
11687 wx_cv_use_combobox='wxUSE_COMBOBOX
=yes'
11689 wx_cv_use_combobox='wxUSE_COMBOBOX
=no
'
11695 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11696 if test "x$LINE" != x ; then
11697 eval "DEFAULT_$LINE"
11703 wx_cv_use_combobox='wxUSE_COMBOBOX
=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11708 eval "$wx_cv_use_combobox"
11709 if test "x
$cache" = xyes; then
11710 echo "wxUSE_COMBOBOX
=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11713 if test x"$enablestring" = xdisable; then
11714 if test $wxUSE_COMBOBOX = yes; then
11720 result=$wxUSE_COMBOBOX
11723 { echo "$as_me:$LINENO: result
: $result" >&5
11724 echo "${ECHO_T}$result" >&6; }
11728 defaultval=$wxUSE_ALL_FEATURES
11729 if test -z "$defaultval"; then
11730 if test x"$enablestring" = xdisable; then
11737 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-comboctrl" >&5
11738 echo $ECHO_N "checking
for --${enablestring:-enable}-comboctrl...
$ECHO_C" >&6; }
11739 # Check whether --enable-comboctrl was given.
11740 if test "${enable_comboctrl+set}" = set; then
11741 enableval=$enable_comboctrl;
11742 if test "$enableval" = yes; then
11743 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11745 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11751 LINE=`grep "^wxUSE_COMBOCTRL
=" ${wx_arg_cache_file}`
11752 if test "x
$LINE" != x ; then
11753 eval "DEFAULT_
$LINE"
11759 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11764 eval "$wx_cv_use_comboctrl"
11765 if test "x$cache" = xyes
; then
11766 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11769 if test x
"$enablestring" = xdisable
; then
11770 if test $wxUSE_COMBOCTRL = yes; then
11776 result
=$wxUSE_COMBOCTRL
11779 { echo "$as_me:$LINENO: result: $result" >&5
11780 echo "${ECHO_T}$result" >&6; }
11784 defaultval
=$wxUSE_ALL_FEATURES
11785 if test -z "$defaultval"; then
11786 if test x
"$enablestring" = xdisable
; then
11793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11794 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11795 # Check whether --enable-datepick was given.
11796 if test "${enable_datepick+set}" = set; then
11797 enableval
=$enable_datepick;
11798 if test "$enableval" = yes; then
11799 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
11801 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
11807 LINE
=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11808 if test "x$LINE" != x
; then
11809 eval "DEFAULT_$LINE"
11815 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11820 eval "$wx_cv_use_datepick"
11821 if test "x$cache" = xyes; then
11822 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11825 if test x"$enablestring" = xdisable; then
11826 if test $wxUSE_DATEPICKCTRL = yes; then
11832 result=$wxUSE_DATEPICKCTRL
11835 { echo "$as_me:$LINENO: result: $result" >&5
11836 echo "${ECHO_T}$result" >&6; }
11840 defaultval=$wxUSE_ALL_FEATURES
11841 if test -z "$defaultval"; then
11842 if test x"$enablestring" = xdisable; then
11849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11850 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11851 # Check whether --enable-dirpicker was given.
11852 if test "${enable_dirpicker+set}" = set; then
11853 enableval=$enable_dirpicker;
11854 if test "$enableval" = yes; then
11855 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
11857 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
11863 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11864 if test "x$LINE" != x ; then
11865 eval "DEFAULT_$LINE"
11871 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11876 eval "$wx_cv_use_dirpicker"
11877 if test "x
$cache" = xyes; then
11878 echo "wxUSE_DIRPICKERCTRL
=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11881 if test x"$enablestring" = xdisable; then
11882 if test $wxUSE_DIRPICKERCTRL = yes; then
11888 result=$wxUSE_DIRPICKERCTRL
11891 { echo "$as_me:$LINENO: result
: $result" >&5
11892 echo "${ECHO_T}$result" >&6; }
11896 defaultval=$wxUSE_ALL_FEATURES
11897 if test -z "$defaultval"; then
11898 if test x"$enablestring" = xdisable; then
11905 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-display" >&5
11906 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6; }
11907 # Check whether --enable-display was given.
11908 if test "${enable_display+set}" = set; then
11909 enableval=$enable_display;
11910 if test "$enableval" = yes; then
11911 wx_cv_use_display='wxUSE_DISPLAY=yes'
11913 wx_cv_use_display='wxUSE_DISPLAY=no'
11919 LINE=`grep "^wxUSE_DISPLAY
=" ${wx_arg_cache_file}`
11920 if test "x
$LINE" != x ; then
11921 eval "DEFAULT_
$LINE"
11927 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11932 eval "$wx_cv_use_display"
11933 if test "x$cache" = xyes
; then
11934 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11937 if test x
"$enablestring" = xdisable
; then
11938 if test $wxUSE_DISPLAY = yes; then
11944 result
=$wxUSE_DISPLAY
11947 { echo "$as_me:$LINENO: result: $result" >&5
11948 echo "${ECHO_T}$result" >&6; }
11952 defaultval
=$wxUSE_ALL_FEATURES
11953 if test -z "$defaultval"; then
11954 if test x
"$enablestring" = xdisable
; then
11961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11962 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11963 # Check whether --enable-detect_sm was given.
11964 if test "${enable_detect_sm+set}" = set; then
11965 enableval
=$enable_detect_sm;
11966 if test "$enableval" = yes; then
11967 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
11969 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
11975 LINE
=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11976 if test "x$LINE" != x
; then
11977 eval "DEFAULT_$LINE"
11983 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11988 eval "$wx_cv_use_detect_sm"
11989 if test "x$cache" = xyes; then
11990 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11993 if test x"$enablestring" = xdisable; then
11994 if test $wxUSE_DETECT_SM = yes; then
12000 result=$wxUSE_DETECT_SM
12003 { echo "$as_me:$LINENO: result: $result" >&5
12004 echo "${ECHO_T}$result" >&6; }
12008 defaultval=$wxUSE_ALL_FEATURES
12009 if test -z "$defaultval"; then
12010 if test x"$enablestring" = xdisable; then
12017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
12018 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
12019 # Check whether --enable-editablebox was given.
12020 if test "${enable_editablebox+set}" = set; then
12021 enableval=$enable_editablebox;
12022 if test "$enableval" = yes; then
12023 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
12025 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
12031 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
12032 if test "x$LINE" != x ; then
12033 eval "DEFAULT_$LINE"
12039 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12044 eval "$wx_cv_use_editablebox"
12045 if test "x
$cache" = xyes; then
12046 echo "wxUSE_EDITABLELISTBOX
=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12049 if test x"$enablestring" = xdisable; then
12050 if test $wxUSE_EDITABLELISTBOX = yes; then
12056 result=$wxUSE_EDITABLELISTBOX
12059 { echo "$as_me:$LINENO: result
: $result" >&5
12060 echo "${ECHO_T}$result" >&6; }
12064 defaultval=$wxUSE_ALL_FEATURES
12065 if test -z "$defaultval"; then
12066 if test x"$enablestring" = xdisable; then
12073 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filepicker" >&5
12074 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6; }
12075 # Check whether --enable-filepicker was given.
12076 if test "${enable_filepicker+set}" = set; then
12077 enableval=$enable_filepicker;
12078 if test "$enableval" = yes; then
12079 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12081 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12087 LINE=`grep "^wxUSE_FILEPICKERCTRL
=" ${wx_arg_cache_file}`
12088 if test "x
$LINE" != x ; then
12089 eval "DEFAULT_
$LINE"
12095 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12100 eval "$wx_cv_use_filepicker"
12101 if test "x$cache" = xyes
; then
12102 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12105 if test x
"$enablestring" = xdisable
; then
12106 if test $wxUSE_FILEPICKERCTRL = yes; then
12112 result
=$wxUSE_FILEPICKERCTRL
12115 { echo "$as_me:$LINENO: result: $result" >&5
12116 echo "${ECHO_T}$result" >&6; }
12120 defaultval
=$wxUSE_ALL_FEATURES
12121 if test -z "$defaultval"; then
12122 if test x
"$enablestring" = xdisable
; then
12129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
12130 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
12131 # Check whether --enable-filectrl was given.
12132 if test "${enable_filectrl+set}" = set; then
12133 enableval
=$enable_filectrl;
12134 if test "$enableval" = yes; then
12135 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
12137 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
12143 LINE
=`grep "^wxUSE_FILECTRL=" ${wx_arg_cache_file}`
12144 if test "x$LINE" != x
; then
12145 eval "DEFAULT_$LINE"
12151 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12156 eval "$wx_cv_use_filectrl"
12157 if test "x$cache" = xyes; then
12158 echo "wxUSE_FILECTRL=$wxUSE_FILECTRL" >> ${wx_arg_cache_file}.tmp
12161 if test x"$enablestring" = xdisable; then
12162 if test $wxUSE_FILECTRL = yes; then
12168 result=$wxUSE_FILECTRL
12171 { echo "$as_me:$LINENO: result: $result" >&5
12172 echo "${ECHO_T}$result" >&6; }
12176 defaultval=$wxUSE_ALL_FEATURES
12177 if test -z "$defaultval"; then
12178 if test x"$enablestring" = xdisable; then
12185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12186 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12187 # Check whether --enable-fontpicker was given.
12188 if test "${enable_fontpicker+set}" = set; then
12189 enableval=$enable_fontpicker;
12190 if test "$enableval" = yes; then
12191 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
12193 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
12199 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12200 if test "x$LINE" != x ; then
12201 eval "DEFAULT_$LINE"
12207 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12212 eval "$wx_cv_use_fontpicker"
12213 if test "x
$cache" = xyes; then
12214 echo "wxUSE_FONTPICKERCTRL
=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12217 if test x"$enablestring" = xdisable; then
12218 if test $wxUSE_FONTPICKERCTRL = yes; then
12224 result=$wxUSE_FONTPICKERCTRL
12227 { echo "$as_me:$LINENO: result
: $result" >&5
12228 echo "${ECHO_T}$result" >&6; }
12232 defaultval=$wxUSE_ALL_FEATURES
12233 if test -z "$defaultval"; then
12234 if test x"$enablestring" = xdisable; then
12241 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gauge" >&5
12242 echo $ECHO_N "checking
for --${enablestring:-enable}-gauge...
$ECHO_C" >&6; }
12243 # Check whether --enable-gauge was given.
12244 if test "${enable_gauge+set}" = set; then
12245 enableval=$enable_gauge;
12246 if test "$enableval" = yes; then
12247 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12249 wx_cv_use_gauge='wxUSE_GAUGE=no'
12255 LINE=`grep "^wxUSE_GAUGE
=" ${wx_arg_cache_file}`
12256 if test "x
$LINE" != x ; then
12257 eval "DEFAULT_
$LINE"
12263 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12268 eval "$wx_cv_use_gauge"
12269 if test "x$cache" = xyes
; then
12270 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12273 if test x
"$enablestring" = xdisable
; then
12274 if test $wxUSE_GAUGE = yes; then
12280 result
=$wxUSE_GAUGE
12283 { echo "$as_me:$LINENO: result: $result" >&5
12284 echo "${ECHO_T}$result" >&6; }
12288 defaultval
=$wxUSE_ALL_FEATURES
12289 if test -z "$defaultval"; then
12290 if test x
"$enablestring" = xdisable
; then
12297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12298 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12299 # Check whether --enable-grid was given.
12300 if test "${enable_grid+set}" = set; then
12301 enableval
=$enable_grid;
12302 if test "$enableval" = yes; then
12303 wx_cv_use_grid
='wxUSE_GRID=yes'
12305 wx_cv_use_grid
='wxUSE_GRID=no'
12311 LINE
=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12312 if test "x$LINE" != x
; then
12313 eval "DEFAULT_$LINE"
12319 wx_cv_use_grid
='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12324 eval "$wx_cv_use_grid"
12325 if test "x$cache" = xyes; then
12326 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12329 if test x"$enablestring" = xdisable; then
12330 if test $wxUSE_GRID = yes; then
12339 { echo "$as_me:$LINENO: result: $result" >&5
12340 echo "${ECHO_T}$result" >&6; }
12344 defaultval=$wxUSE_ALL_FEATURES
12345 if test -z "$defaultval"; then
12346 if test x"$enablestring" = xdisable; then
12353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12354 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12355 # Check whether --enable-dataviewctrl was given.
12356 if test "${enable_dataviewctrl+set}" = set; then
12357 enableval=$enable_dataviewctrl;
12358 if test "$enableval" = yes; then
12359 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
12361 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
12367 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12368 if test "x$LINE" != x ; then
12369 eval "DEFAULT_$LINE"
12375 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12380 eval "$wx_cv_use_dataviewctrl"
12381 if test "x
$cache" = xyes; then
12382 echo "wxUSE_DATAVIEWCTRL
=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12385 if test x"$enablestring" = xdisable; then
12386 if test $wxUSE_DATAVIEWCTRL = yes; then
12392 result=$wxUSE_DATAVIEWCTRL
12395 { echo "$as_me:$LINENO: result
: $result" >&5
12396 echo "${ECHO_T}$result" >&6; }
12400 defaultval=$wxUSE_ALL_FEATURES
12401 if test -z "$defaultval"; then
12402 if test x"$enablestring" = xdisable; then
12409 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-hyperlink" >&5
12410 echo $ECHO_N "checking
for --${enablestring:-enable}-hyperlink...
$ECHO_C" >&6; }
12411 # Check whether --enable-hyperlink was given.
12412 if test "${enable_hyperlink+set}" = set; then
12413 enableval=$enable_hyperlink;
12414 if test "$enableval" = yes; then
12415 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12417 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12423 LINE=`grep "^wxUSE_HYPERLINKCTRL
=" ${wx_arg_cache_file}`
12424 if test "x
$LINE" != x ; then
12425 eval "DEFAULT_
$LINE"
12431 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12436 eval "$wx_cv_use_hyperlink"
12437 if test "x$cache" = xyes
; then
12438 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12441 if test x
"$enablestring" = xdisable
; then
12442 if test $wxUSE_HYPERLINKCTRL = yes; then
12448 result
=$wxUSE_HYPERLINKCTRL
12451 { echo "$as_me:$LINENO: result: $result" >&5
12452 echo "${ECHO_T}$result" >&6; }
12456 defaultval
=$wxUSE_ALL_FEATURES
12457 if test -z "$defaultval"; then
12458 if test x
"$enablestring" = xdisable
; then
12465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12466 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12467 # Check whether --enable-imaglist was given.
12468 if test "${enable_imaglist+set}" = set; then
12469 enableval
=$enable_imaglist;
12470 if test "$enableval" = yes; then
12471 wx_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
12473 wx_cv_use_imaglist
='wxUSE_IMAGLIST=no'
12479 LINE
=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12480 if test "x$LINE" != x
; then
12481 eval "DEFAULT_$LINE"
12487 wx_cv_use_imaglist
='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12492 eval "$wx_cv_use_imaglist"
12493 if test "x$cache" = xyes; then
12494 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12497 if test x"$enablestring" = xdisable; then
12498 if test $wxUSE_IMAGLIST = yes; then
12504 result=$wxUSE_IMAGLIST
12507 { echo "$as_me:$LINENO: result: $result" >&5
12508 echo "${ECHO_T}$result" >&6; }
12512 defaultval=$wxUSE_ALL_FEATURES
12513 if test -z "$defaultval"; then
12514 if test x"$enablestring" = xdisable; then
12521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12522 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12523 # Check whether --enable-listbook was given.
12524 if test "${enable_listbook+set}" = set; then
12525 enableval=$enable_listbook;
12526 if test "$enableval" = yes; then
12527 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
12529 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
12535 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12536 if test "x$LINE" != x ; then
12537 eval "DEFAULT_$LINE"
12543 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12548 eval "$wx_cv_use_listbook"
12549 if test "x
$cache" = xyes; then
12550 echo "wxUSE_LISTBOOK
=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12553 if test x"$enablestring" = xdisable; then
12554 if test $wxUSE_LISTBOOK = yes; then
12560 result=$wxUSE_LISTBOOK
12563 { echo "$as_me:$LINENO: result
: $result" >&5
12564 echo "${ECHO_T}$result" >&6; }
12568 defaultval=$wxUSE_ALL_FEATURES
12569 if test -z "$defaultval"; then
12570 if test x"$enablestring" = xdisable; then
12577 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbox" >&5
12578 echo $ECHO_N "checking
for --${enablestring:-enable}-listbox...
$ECHO_C" >&6; }
12579 # Check whether --enable-listbox was given.
12580 if test "${enable_listbox+set}" = set; then
12581 enableval=$enable_listbox;
12582 if test "$enableval" = yes; then
12583 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12585 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12591 LINE=`grep "^wxUSE_LISTBOX
=" ${wx_arg_cache_file}`
12592 if test "x
$LINE" != x ; then
12593 eval "DEFAULT_
$LINE"
12599 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12604 eval "$wx_cv_use_listbox"
12605 if test "x$cache" = xyes
; then
12606 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12609 if test x
"$enablestring" = xdisable
; then
12610 if test $wxUSE_LISTBOX = yes; then
12616 result
=$wxUSE_LISTBOX
12619 { echo "$as_me:$LINENO: result: $result" >&5
12620 echo "${ECHO_T}$result" >&6; }
12624 defaultval
=$wxUSE_ALL_FEATURES
12625 if test -z "$defaultval"; then
12626 if test x
"$enablestring" = xdisable
; then
12633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12634 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12635 # Check whether --enable-listctrl was given.
12636 if test "${enable_listctrl+set}" = set; then
12637 enableval
=$enable_listctrl;
12638 if test "$enableval" = yes; then
12639 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
12641 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
12647 LINE
=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12648 if test "x$LINE" != x
; then
12649 eval "DEFAULT_$LINE"
12655 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12660 eval "$wx_cv_use_listctrl"
12661 if test "x$cache" = xyes; then
12662 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12665 if test x"$enablestring" = xdisable; then
12666 if test $wxUSE_LISTCTRL = yes; then
12672 result=$wxUSE_LISTCTRL
12675 { echo "$as_me:$LINENO: result: $result" >&5
12676 echo "${ECHO_T}$result" >&6; }
12680 defaultval=$wxUSE_ALL_FEATURES
12681 if test -z "$defaultval"; then
12682 if test x"$enablestring" = xdisable; then
12689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12690 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12691 # Check whether --enable-notebook was given.
12692 if test "${enable_notebook+set}" = set; then
12693 enableval=$enable_notebook;
12694 if test "$enableval" = yes; then
12695 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
12697 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
12703 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12704 if test "x$LINE" != x ; then
12705 eval "DEFAULT_$LINE"
12711 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12716 eval "$wx_cv_use_notebook"
12717 if test "x
$cache" = xyes; then
12718 echo "wxUSE_NOTEBOOK
=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12721 if test x"$enablestring" = xdisable; then
12722 if test $wxUSE_NOTEBOOK = yes; then
12728 result=$wxUSE_NOTEBOOK
12731 { echo "$as_me:$LINENO: result
: $result" >&5
12732 echo "${ECHO_T}$result" >&6; }
12736 defaultval=$wxUSE_ALL_FEATURES
12737 if test -z "$defaultval"; then
12738 if test x"$enablestring" = xdisable; then
12745 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
12746 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
12747 # Check whether --enable-odcombobox was given.
12748 if test "${enable_odcombobox+set}" = set; then
12749 enableval=$enable_odcombobox;
12750 if test "$enableval" = yes; then
12751 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12753 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12759 LINE=`grep "^wxUSE_ODCOMBOBOX
=" ${wx_arg_cache_file}`
12760 if test "x
$LINE" != x ; then
12761 eval "DEFAULT_
$LINE"
12767 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12772 eval "$wx_cv_use_odcombobox"
12773 if test "x$cache" = xyes
; then
12774 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12777 if test x
"$enablestring" = xdisable
; then
12778 if test $wxUSE_ODCOMBOBOX = yes; then
12784 result
=$wxUSE_ODCOMBOBOX
12787 { echo "$as_me:$LINENO: result: $result" >&5
12788 echo "${ECHO_T}$result" >&6; }
12792 defaultval
=$wxUSE_ALL_FEATURES
12793 if test -z "$defaultval"; then
12794 if test x
"$enablestring" = xdisable
; then
12801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12802 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12803 # Check whether --enable-radiobox was given.
12804 if test "${enable_radiobox+set}" = set; then
12805 enableval
=$enable_radiobox;
12806 if test "$enableval" = yes; then
12807 wx_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
12809 wx_cv_use_radiobox
='wxUSE_RADIOBOX=no'
12815 LINE
=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12816 if test "x$LINE" != x
; then
12817 eval "DEFAULT_$LINE"
12823 wx_cv_use_radiobox
='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12828 eval "$wx_cv_use_radiobox"
12829 if test "x$cache" = xyes; then
12830 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12833 if test x"$enablestring" = xdisable; then
12834 if test $wxUSE_RADIOBOX = yes; then
12840 result=$wxUSE_RADIOBOX
12843 { echo "$as_me:$LINENO: result: $result" >&5
12844 echo "${ECHO_T}$result" >&6; }
12848 defaultval=$wxUSE_ALL_FEATURES
12849 if test -z "$defaultval"; then
12850 if test x"$enablestring" = xdisable; then
12857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12858 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12859 # Check whether --enable-radiobtn was given.
12860 if test "${enable_radiobtn+set}" = set; then
12861 enableval=$enable_radiobtn;
12862 if test "$enableval" = yes; then
12863 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
12865 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
12871 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12872 if test "x$LINE" != x ; then
12873 eval "DEFAULT_$LINE"
12879 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12884 eval "$wx_cv_use_radiobtn"
12885 if test "x
$cache" = xyes; then
12886 echo "wxUSE_RADIOBTN
=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12889 if test x"$enablestring" = xdisable; then
12890 if test $wxUSE_RADIOBTN = yes; then
12896 result=$wxUSE_RADIOBTN
12899 { echo "$as_me:$LINENO: result
: $result" >&5
12900 echo "${ECHO_T}$result" >&6; }
12904 defaultval=$wxUSE_ALL_FEATURES
12905 if test -z "$defaultval"; then
12906 if test x"$enablestring" = xdisable; then
12913 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sash" >&5
12914 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
12915 # Check whether --enable-sash was given.
12916 if test "${enable_sash+set}" = set; then
12917 enableval=$enable_sash;
12918 if test "$enableval" = yes; then
12919 wx_cv_use_sash='wxUSE_SASH=yes'
12921 wx_cv_use_sash='wxUSE_SASH=no'
12927 LINE=`grep "^wxUSE_SASH
=" ${wx_arg_cache_file}`
12928 if test "x
$LINE" != x ; then
12929 eval "DEFAULT_
$LINE"
12935 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12940 eval "$wx_cv_use_sash"
12941 if test "x$cache" = xyes
; then
12942 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12945 if test x
"$enablestring" = xdisable
; then
12946 if test $wxUSE_SASH = yes; then
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}-scrollbar" >&5
12970 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12971 # Check whether --enable-scrollbar was given.
12972 if test "${enable_scrollbar+set}" = set; then
12973 enableval
=$enable_scrollbar;
12974 if test "$enableval" = yes; then
12975 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
12977 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
12983 LINE
=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12984 if test "x$LINE" != x
; then
12985 eval "DEFAULT_$LINE"
12991 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12996 eval "$wx_cv_use_scrollbar"
12997 if test "x$cache" = xyes; then
12998 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
13001 if test x"$enablestring" = xdisable; then
13002 if test $wxUSE_SCROLLBAR = yes; then
13008 result=$wxUSE_SCROLLBAR
13011 { echo "$as_me:$LINENO: result: $result" >&5
13012 echo "${ECHO_T}$result" >&6; }
13016 defaultval=$wxUSE_ALL_FEATURES
13017 if test -z "$defaultval"; then
13018 if test x"$enablestring" = xdisable; then
13025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
13026 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
13027 # Check whether --enable-searchctrl was given.
13028 if test "${enable_searchctrl+set}" = set; then
13029 enableval=$enable_searchctrl;
13030 if test "$enableval" = yes; then
13031 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
13033 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
13039 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
13040 if test "x$LINE" != x ; then
13041 eval "DEFAULT_$LINE"
13047 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13052 eval "$wx_cv_use_searchctrl"
13053 if test "x
$cache" = xyes; then
13054 echo "wxUSE_SEARCHCTRL
=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
13057 if test x"$enablestring" = xdisable; then
13058 if test $wxUSE_SEARCHCTRL = yes; then
13064 result=$wxUSE_SEARCHCTRL
13067 { echo "$as_me:$LINENO: result
: $result" >&5
13068 echo "${ECHO_T}$result" >&6; }
13072 defaultval=$wxUSE_ALL_FEATURES
13073 if test -z "$defaultval"; then
13074 if test x"$enablestring" = xdisable; then
13081 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-slider" >&5
13082 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
13083 # Check whether --enable-slider was given.
13084 if test "${enable_slider+set}" = set; then
13085 enableval=$enable_slider;
13086 if test "$enableval" = yes; then
13087 wx_cv_use_slider='wxUSE_SLIDER=yes'
13089 wx_cv_use_slider='wxUSE_SLIDER=no'
13095 LINE=`grep "^wxUSE_SLIDER
=" ${wx_arg_cache_file}`
13096 if test "x
$LINE" != x ; then
13097 eval "DEFAULT_
$LINE"
13103 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13108 eval "$wx_cv_use_slider"
13109 if test "x$cache" = xyes
; then
13110 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13113 if test x
"$enablestring" = xdisable
; then
13114 if test $wxUSE_SLIDER = yes; then
13120 result
=$wxUSE_SLIDER
13123 { echo "$as_me:$LINENO: result: $result" >&5
13124 echo "${ECHO_T}$result" >&6; }
13128 defaultval
=$wxUSE_ALL_FEATURES
13129 if test -z "$defaultval"; then
13130 if test x
"$enablestring" = xdisable
; then
13137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
13138 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
13139 # Check whether --enable-spinbtn was given.
13140 if test "${enable_spinbtn+set}" = set; then
13141 enableval
=$enable_spinbtn;
13142 if test "$enableval" = yes; then
13143 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
13145 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
13151 LINE
=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
13152 if test "x$LINE" != x
; then
13153 eval "DEFAULT_$LINE"
13159 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13164 eval "$wx_cv_use_spinbtn"
13165 if test "x$cache" = xyes; then
13166 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13169 if test x"$enablestring" = xdisable; then
13170 if test $wxUSE_SPINBTN = yes; then
13176 result=$wxUSE_SPINBTN
13179 { echo "$as_me:$LINENO: result: $result" >&5
13180 echo "${ECHO_T}$result" >&6; }
13184 defaultval=$wxUSE_ALL_FEATURES
13185 if test -z "$defaultval"; then
13186 if test x"$enablestring" = xdisable; then
13193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13194 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13195 # Check whether --enable-spinctrl was given.
13196 if test "${enable_spinctrl+set}" = set; then
13197 enableval=$enable_spinctrl;
13198 if test "$enableval" = yes; then
13199 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
13201 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
13207 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13208 if test "x$LINE" != x ; then
13209 eval "DEFAULT_$LINE"
13215 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13220 eval "$wx_cv_use_spinctrl"
13221 if test "x
$cache" = xyes; then
13222 echo "wxUSE_SPINCTRL
=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13225 if test x"$enablestring" = xdisable; then
13226 if test $wxUSE_SPINCTRL = yes; then
13232 result=$wxUSE_SPINCTRL
13235 { echo "$as_me:$LINENO: result
: $result" >&5
13236 echo "${ECHO_T}$result" >&6; }
13240 defaultval=$wxUSE_ALL_FEATURES
13241 if test -z "$defaultval"; then
13242 if test x"$enablestring" = xdisable; then
13249 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splitter" >&5
13250 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
13251 # Check whether --enable-splitter was given.
13252 if test "${enable_splitter+set}" = set; then
13253 enableval=$enable_splitter;
13254 if test "$enableval" = yes; then
13255 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13257 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13263 LINE=`grep "^wxUSE_SPLITTER
=" ${wx_arg_cache_file}`
13264 if test "x
$LINE" != x ; then
13265 eval "DEFAULT_
$LINE"
13271 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13276 eval "$wx_cv_use_splitter"
13277 if test "x$cache" = xyes
; then
13278 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13281 if test x
"$enablestring" = xdisable
; then
13282 if test $wxUSE_SPLITTER = yes; then
13288 result
=$wxUSE_SPLITTER
13291 { echo "$as_me:$LINENO: result: $result" >&5
13292 echo "${ECHO_T}$result" >&6; }
13296 defaultval
=$wxUSE_ALL_FEATURES
13297 if test -z "$defaultval"; then
13298 if test x
"$enablestring" = xdisable
; then
13305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13306 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13307 # Check whether --enable-statbmp was given.
13308 if test "${enable_statbmp+set}" = set; then
13309 enableval
=$enable_statbmp;
13310 if test "$enableval" = yes; then
13311 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
13313 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
13319 LINE
=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13320 if test "x$LINE" != x
; then
13321 eval "DEFAULT_$LINE"
13327 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13332 eval "$wx_cv_use_statbmp"
13333 if test "x$cache" = xyes; then
13334 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13337 if test x"$enablestring" = xdisable; then
13338 if test $wxUSE_STATBMP = yes; then
13344 result=$wxUSE_STATBMP
13347 { echo "$as_me:$LINENO: result: $result" >&5
13348 echo "${ECHO_T}$result" >&6; }
13352 defaultval=$wxUSE_ALL_FEATURES
13353 if test -z "$defaultval"; then
13354 if test x"$enablestring" = xdisable; then
13361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13362 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13363 # Check whether --enable-statbox was given.
13364 if test "${enable_statbox+set}" = set; then
13365 enableval=$enable_statbox;
13366 if test "$enableval" = yes; then
13367 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
13369 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
13375 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13376 if test "x$LINE" != x ; then
13377 eval "DEFAULT_$LINE"
13383 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13388 eval "$wx_cv_use_statbox"
13389 if test "x
$cache" = xyes; then
13390 echo "wxUSE_STATBOX
=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13393 if test x"$enablestring" = xdisable; then
13394 if test $wxUSE_STATBOX = yes; then
13400 result=$wxUSE_STATBOX
13403 { echo "$as_me:$LINENO: result
: $result" >&5
13404 echo "${ECHO_T}$result" >&6; }
13408 defaultval=$wxUSE_ALL_FEATURES
13409 if test -z "$defaultval"; then
13410 if test x"$enablestring" = xdisable; then
13417 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statline" >&5
13418 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
13419 # Check whether --enable-statline was given.
13420 if test "${enable_statline+set}" = set; then
13421 enableval=$enable_statline;
13422 if test "$enableval" = yes; then
13423 wx_cv_use_statline='wxUSE_STATLINE=yes'
13425 wx_cv_use_statline='wxUSE_STATLINE=no'
13431 LINE=`grep "^wxUSE_STATLINE
=" ${wx_arg_cache_file}`
13432 if test "x
$LINE" != x ; then
13433 eval "DEFAULT_
$LINE"
13439 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13444 eval "$wx_cv_use_statline"
13445 if test "x$cache" = xyes
; then
13446 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13449 if test x
"$enablestring" = xdisable
; then
13450 if test $wxUSE_STATLINE = yes; then
13456 result
=$wxUSE_STATLINE
13459 { echo "$as_me:$LINENO: result: $result" >&5
13460 echo "${ECHO_T}$result" >&6; }
13464 defaultval
=$wxUSE_ALL_FEATURES
13465 if test -z "$defaultval"; then
13466 if test x
"$enablestring" = xdisable
; then
13473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13474 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13475 # Check whether --enable-stattext was given.
13476 if test "${enable_stattext+set}" = set; then
13477 enableval
=$enable_stattext;
13478 if test "$enableval" = yes; then
13479 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
13481 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
13487 LINE
=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13488 if test "x$LINE" != x
; then
13489 eval "DEFAULT_$LINE"
13495 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13500 eval "$wx_cv_use_stattext"
13501 if test "x$cache" = xyes; then
13502 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13505 if test x"$enablestring" = xdisable; then
13506 if test $wxUSE_STATTEXT = yes; then
13512 result=$wxUSE_STATTEXT
13515 { echo "$as_me:$LINENO: result: $result" >&5
13516 echo "${ECHO_T}$result" >&6; }
13520 defaultval=$wxUSE_ALL_FEATURES
13521 if test -z "$defaultval"; then
13522 if test x"$enablestring" = xdisable; then
13529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13530 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13531 # Check whether --enable-statusbar was given.
13532 if test "${enable_statusbar+set}" = set; then
13533 enableval=$enable_statusbar;
13534 if test "$enableval" = yes; then
13535 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
13537 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
13543 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13544 if test "x$LINE" != x ; then
13545 eval "DEFAULT_$LINE"
13551 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13556 eval "$wx_cv_use_statusbar"
13557 if test "x
$cache" = xyes; then
13558 echo "wxUSE_STATUSBAR
=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13561 if test x"$enablestring" = xdisable; then
13562 if test $wxUSE_STATUSBAR = yes; then
13568 result=$wxUSE_STATUSBAR
13571 { echo "$as_me:$LINENO: result
: $result" >&5
13572 echo "${ECHO_T}$result" >&6; }
13576 defaultval=$wxUSE_ALL_FEATURES
13577 if test -z "$defaultval"; then
13578 if test x"$enablestring" = xdisable; then
13585 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tabdialog" >&5
13586 echo $ECHO_N "checking
for --${enablestring:-enable}-tabdialog...
$ECHO_C" >&6; }
13587 # Check whether --enable-tabdialog was given.
13588 if test "${enable_tabdialog+set}" = set; then
13589 enableval=$enable_tabdialog;
13590 if test "$enableval" = yes; then
13591 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13593 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13599 LINE=`grep "^wxUSE_TAB_DIALOG
=" ${wx_arg_cache_file}`
13600 if test "x
$LINE" != x ; then
13601 eval "DEFAULT_
$LINE"
13607 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13612 eval "$wx_cv_use_tabdialog"
13613 if test "x$cache" = xyes
; then
13614 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13617 if test x
"$enablestring" = xdisable
; then
13618 if test $wxUSE_TAB_DIALOG = yes; then
13624 result
=$wxUSE_TAB_DIALOG
13627 { echo "$as_me:$LINENO: result: $result" >&5
13628 echo "${ECHO_T}$result" >&6; }
13632 defaultval
=$wxUSE_ALL_FEATURES
13633 if test -z "$defaultval"; then
13634 if test x
"$enablestring" = xdisable
; then
13641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13642 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13643 # Check whether --enable-taskbaricon was given.
13644 if test "${enable_taskbaricon+set}" = set; then
13645 enableval
=$enable_taskbaricon;
13646 if test "$enableval" = yes; then
13647 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=yes'
13649 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=no'
13655 LINE
=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13656 if test "x$LINE" != x
; then
13657 eval "DEFAULT_$LINE"
13663 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13668 eval "$wx_cv_use_taskbaricon"
13669 if test "x$cache" = xyes; then
13670 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13673 if test x"$enablestring" = xdisable; then
13674 if test $wxUSE_TASKBARICON = yes; then
13680 result=$wxUSE_TASKBARICON
13683 { echo "$as_me:$LINENO: result: $result" >&5
13684 echo "${ECHO_T}$result" >&6; }
13688 defaultval=$wxUSE_ALL_FEATURES
13689 if test -z "$defaultval"; then
13690 if test x"$enablestring" = xdisable; then
13697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13698 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13699 # Check whether --enable-textctrl was given.
13700 if test "${enable_textctrl+set}" = set; then
13701 enableval=$enable_textctrl;
13702 if test "$enableval" = yes; then
13703 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
13705 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
13711 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13712 if test "x$LINE" != x ; then
13713 eval "DEFAULT_$LINE"
13719 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13724 eval "$wx_cv_use_textctrl"
13725 if test "x
$cache" = xyes; then
13726 echo "wxUSE_TEXTCTRL
=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13729 if test x"$enablestring" = xdisable; then
13730 if test $wxUSE_TEXTCTRL = yes; then
13736 result=$wxUSE_TEXTCTRL
13739 { echo "$as_me:$LINENO: result
: $result" >&5
13740 echo "${ECHO_T}$result" >&6; }
13744 defaultval=$wxUSE_ALL_FEATURES
13745 if test -z "$defaultval"; then
13746 if test x"$enablestring" = xdisable; then
13753 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
13754 echo $ECHO_N "checking
for --${enablestring:-enable}-togglebtn...
$ECHO_C" >&6; }
13755 # Check whether --enable-togglebtn was given.
13756 if test "${enable_togglebtn+set}" = set; then
13757 enableval=$enable_togglebtn;
13758 if test "$enableval" = yes; then
13759 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13761 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13767 LINE=`grep "^wxUSE_TOGGLEBTN
=" ${wx_arg_cache_file}`
13768 if test "x
$LINE" != x ; then
13769 eval "DEFAULT_
$LINE"
13775 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13780 eval "$wx_cv_use_togglebtn"
13781 if test "x$cache" = xyes
; then
13782 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13785 if test x
"$enablestring" = xdisable
; then
13786 if test $wxUSE_TOGGLEBTN = yes; then
13792 result
=$wxUSE_TOGGLEBTN
13795 { echo "$as_me:$LINENO: result: $result" >&5
13796 echo "${ECHO_T}$result" >&6; }
13800 defaultval
=$wxUSE_ALL_FEATURES
13801 if test -z "$defaultval"; then
13802 if test x
"$enablestring" = xdisable
; then
13809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13810 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13811 # Check whether --enable-toolbar was given.
13812 if test "${enable_toolbar+set}" = set; then
13813 enableval
=$enable_toolbar;
13814 if test "$enableval" = yes; then
13815 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
13817 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
13823 LINE
=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13824 if test "x$LINE" != x
; then
13825 eval "DEFAULT_$LINE"
13831 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13836 eval "$wx_cv_use_toolbar"
13837 if test "x$cache" = xyes; then
13838 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13841 if test x"$enablestring" = xdisable; then
13842 if test $wxUSE_TOOLBAR = yes; then
13848 result=$wxUSE_TOOLBAR
13851 { echo "$as_me:$LINENO: result: $result" >&5
13852 echo "${ECHO_T}$result" >&6; }
13856 defaultval=$wxUSE_ALL_FEATURES
13857 if test -z "$defaultval"; then
13858 if test x"$enablestring" = xdisable; then
13865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13866 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13867 # Check whether --enable-tbarnative was given.
13868 if test "${enable_tbarnative+set}" = set; then
13869 enableval=$enable_tbarnative;
13870 if test "$enableval" = yes; then
13871 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
13873 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
13879 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13880 if test "x$LINE" != x ; then
13881 eval "DEFAULT_$LINE"
13887 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13892 eval "$wx_cv_use_tbarnative"
13893 if test "x
$cache" = xyes; then
13894 echo "wxUSE_TOOLBAR_NATIVE
=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13897 if test x"$enablestring" = xdisable; then
13898 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13904 result=$wxUSE_TOOLBAR_NATIVE
13907 { echo "$as_me:$LINENO: result
: $result" >&5
13908 echo "${ECHO_T}$result" >&6; }
13912 defaultval=$wxUSE_ALL_FEATURES
13913 if test -z "$defaultval"; then
13914 if test x"$enablestring" = xdisable; then
13921 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
13922 echo $ECHO_N "checking
for --${enablestring:-enable}-treebook...
$ECHO_C" >&6; }
13923 # Check whether --enable-treebook was given.
13924 if test "${enable_treebook+set}" = set; then
13925 enableval=$enable_treebook;
13926 if test "$enableval" = yes; then
13927 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13929 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13935 LINE=`grep "^wxUSE_TREEBOOK
=" ${wx_arg_cache_file}`
13936 if test "x
$LINE" != x ; then
13937 eval "DEFAULT_
$LINE"
13943 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13948 eval "$wx_cv_use_treebook"
13949 if test "x$cache" = xyes
; then
13950 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13953 if test x
"$enablestring" = xdisable
; then
13954 if test $wxUSE_TREEBOOK = yes; then
13960 result
=$wxUSE_TREEBOOK
13963 { echo "$as_me:$LINENO: result: $result" >&5
13964 echo "${ECHO_T}$result" >&6; }
13968 defaultval
=$wxUSE_ALL_FEATURES
13969 if test -z "$defaultval"; then
13970 if test x
"$enablestring" = xdisable
; then
13977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13978 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13979 # Check whether --enable-toolbook was given.
13980 if test "${enable_toolbook+set}" = set; then
13981 enableval
=$enable_toolbook;
13982 if test "$enableval" = yes; then
13983 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
13985 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
13991 LINE
=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13992 if test "x$LINE" != x
; then
13993 eval "DEFAULT_$LINE"
13999 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14004 eval "$wx_cv_use_toolbook"
14005 if test "x$cache" = xyes; then
14006 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
14009 if test x"$enablestring" = xdisable; then
14010 if test $wxUSE_TOOLBOOK = yes; then
14016 result=$wxUSE_TOOLBOOK
14019 { echo "$as_me:$LINENO: result: $result" >&5
14020 echo "${ECHO_T}$result" >&6; }
14024 defaultval=$wxUSE_ALL_FEATURES
14025 if test -z "$defaultval"; then
14026 if test x"$enablestring" = xdisable; then
14033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
14034 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
14035 # Check whether --enable-treectrl was given.
14036 if test "${enable_treectrl+set}" = set; then
14037 enableval=$enable_treectrl;
14038 if test "$enableval" = yes; then
14039 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
14041 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
14047 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
14048 if test "x$LINE" != x ; then
14049 eval "DEFAULT_$LINE"
14055 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14060 eval "$wx_cv_use_treectrl"
14061 if test "x
$cache" = xyes; then
14062 echo "wxUSE_TREECTRL
=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14065 if test x"$enablestring" = xdisable; then
14066 if test $wxUSE_TREECTRL = yes; then
14072 result=$wxUSE_TREECTRL
14075 { echo "$as_me:$LINENO: result
: $result" >&5
14076 echo "${ECHO_T}$result" >&6; }
14080 defaultval=$wxUSE_ALL_FEATURES
14081 if test -z "$defaultval"; then
14082 if test x"$enablestring" = xdisable; then
14089 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipwindow" >&5
14090 echo $ECHO_N "checking
for --${enablestring:-enable}-tipwindow...
$ECHO_C" >&6; }
14091 # Check whether --enable-tipwindow was given.
14092 if test "${enable_tipwindow+set}" = set; then
14093 enableval=$enable_tipwindow;
14094 if test "$enableval" = yes; then
14095 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14097 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14103 LINE=`grep "^wxUSE_TIPWINDOW
=" ${wx_arg_cache_file}`
14104 if test "x
$LINE" != x ; then
14105 eval "DEFAULT_
$LINE"
14111 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14116 eval "$wx_cv_use_tipwindow"
14117 if test "x$cache" = xyes
; then
14118 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14121 if test x
"$enablestring" = xdisable
; then
14122 if test $wxUSE_TIPWINDOW = yes; then
14128 result
=$wxUSE_TIPWINDOW
14131 { echo "$as_me:$LINENO: result: $result" >&5
14132 echo "${ECHO_T}$result" >&6; }
14136 defaultval
=$wxUSE_ALL_FEATURES
14137 if test -z "$defaultval"; then
14138 if test x
"$enablestring" = xdisable
; then
14145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
14146 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
14147 # Check whether --enable-popupwin was given.
14148 if test "${enable_popupwin+set}" = set; then
14149 enableval
=$enable_popupwin;
14150 if test "$enableval" = yes; then
14151 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
14153 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
14159 LINE
=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
14160 if test "x$LINE" != x
; then
14161 eval "DEFAULT_$LINE"
14167 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14172 eval "$wx_cv_use_popupwin"
14173 if test "x$cache" = xyes; then
14174 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14177 if test x"$enablestring" = xdisable; then
14178 if test $wxUSE_POPUPWIN = yes; then
14184 result=$wxUSE_POPUPWIN
14187 { echo "$as_me:$LINENO: result: $result" >&5
14188 echo "${ECHO_T}$result" >&6; }
14194 defaultval=$wxUSE_ALL_FEATURES
14195 if test -z "$defaultval"; then
14196 if test x"$enablestring" = xdisable; then
14203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14204 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14205 # Check whether --enable-commondlg was given.
14206 if test "${enable_commondlg+set}" = set; then
14207 enableval=$enable_commondlg;
14208 if test "$enableval" = yes; then
14209 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
14211 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
14217 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14218 if test "x$LINE" != x ; then
14219 eval "DEFAULT_$LINE"
14225 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14230 eval "$wx_cv_use_commondlg"
14231 if test "x
$cache" = xyes; then
14232 echo "wxUSE_COMMONDLGS
=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14235 if test x"$enablestring" = xdisable; then
14236 if test $wxUSE_COMMONDLGS = yes; then
14242 result=$wxUSE_COMMONDLGS
14245 { echo "$as_me:$LINENO: result
: $result" >&5
14246 echo "${ECHO_T}$result" >&6; }
14250 defaultval=$wxUSE_ALL_FEATURES
14251 if test -z "$defaultval"; then
14252 if test x"$enablestring" = xdisable; then
14259 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aboutdlg" >&5
14260 echo $ECHO_N "checking
for --${enablestring:-enable}-aboutdlg...
$ECHO_C" >&6; }
14261 # Check whether --enable-aboutdlg was given.
14262 if test "${enable_aboutdlg+set}" = set; then
14263 enableval=$enable_aboutdlg;
14264 if test "$enableval" = yes; then
14265 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14267 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14273 LINE=`grep "^wxUSE_ABOUTDLG
=" ${wx_arg_cache_file}`
14274 if test "x
$LINE" != x ; then
14275 eval "DEFAULT_
$LINE"
14281 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14286 eval "$wx_cv_use_aboutdlg"
14287 if test "x$cache" = xyes
; then
14288 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14291 if test x
"$enablestring" = xdisable
; then
14292 if test $wxUSE_ABOUTDLG = yes; then
14298 result
=$wxUSE_ABOUTDLG
14301 { echo "$as_me:$LINENO: result: $result" >&5
14302 echo "${ECHO_T}$result" >&6; }
14306 defaultval
=$wxUSE_ALL_FEATURES
14307 if test -z "$defaultval"; then
14308 if test x
"$enablestring" = xdisable
; then
14315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14316 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14317 # Check whether --enable-choicedlg was given.
14318 if test "${enable_choicedlg+set}" = set; then
14319 enableval
=$enable_choicedlg;
14320 if test "$enableval" = yes; then
14321 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
14323 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
14329 LINE
=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14330 if test "x$LINE" != x
; then
14331 eval "DEFAULT_$LINE"
14337 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14342 eval "$wx_cv_use_choicedlg"
14343 if test "x$cache" = xyes; then
14344 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14347 if test x"$enablestring" = xdisable; then
14348 if test $wxUSE_CHOICEDLG = yes; then
14354 result=$wxUSE_CHOICEDLG
14357 { echo "$as_me:$LINENO: result: $result" >&5
14358 echo "${ECHO_T}$result" >&6; }
14362 defaultval=$wxUSE_ALL_FEATURES
14363 if test -z "$defaultval"; then
14364 if test x"$enablestring" = xdisable; then
14371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14372 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14373 # Check whether --enable-coldlg was given.
14374 if test "${enable_coldlg+set}" = set; then
14375 enableval=$enable_coldlg;
14376 if test "$enableval" = yes; then
14377 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
14379 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
14385 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14386 if test "x$LINE" != x ; then
14387 eval "DEFAULT_$LINE"
14393 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14398 eval "$wx_cv_use_coldlg"
14399 if test "x
$cache" = xyes; then
14400 echo "wxUSE_COLOURDLG
=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14403 if test x"$enablestring" = xdisable; then
14404 if test $wxUSE_COLOURDLG = yes; then
14410 result=$wxUSE_COLOURDLG
14413 { echo "$as_me:$LINENO: result
: $result" >&5
14414 echo "${ECHO_T}$result" >&6; }
14418 defaultval=$wxUSE_ALL_FEATURES
14419 if test -z "$defaultval"; then
14420 if test x"$enablestring" = xdisable; then
14427 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filedlg" >&5
14428 echo $ECHO_N "checking
for --${enablestring:-enable}-filedlg...
$ECHO_C" >&6; }
14429 # Check whether --enable-filedlg was given.
14430 if test "${enable_filedlg+set}" = set; then
14431 enableval=$enable_filedlg;
14432 if test "$enableval" = yes; then
14433 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14435 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14441 LINE=`grep "^wxUSE_FILEDLG
=" ${wx_arg_cache_file}`
14442 if test "x
$LINE" != x ; then
14443 eval "DEFAULT_
$LINE"
14449 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14454 eval "$wx_cv_use_filedlg"
14455 if test "x$cache" = xyes
; then
14456 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14459 if test x
"$enablestring" = xdisable
; then
14460 if test $wxUSE_FILEDLG = yes; then
14466 result
=$wxUSE_FILEDLG
14469 { echo "$as_me:$LINENO: result: $result" >&5
14470 echo "${ECHO_T}$result" >&6; }
14474 defaultval
=$wxUSE_ALL_FEATURES
14475 if test -z "$defaultval"; then
14476 if test x
"$enablestring" = xdisable
; then
14483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14484 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14485 # Check whether --enable-finddlg was given.
14486 if test "${enable_finddlg+set}" = set; then
14487 enableval
=$enable_finddlg;
14488 if test "$enableval" = yes; then
14489 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
14491 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
14497 LINE
=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14498 if test "x$LINE" != x
; then
14499 eval "DEFAULT_$LINE"
14505 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14510 eval "$wx_cv_use_finddlg"
14511 if test "x$cache" = xyes; then
14512 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14515 if test x"$enablestring" = xdisable; then
14516 if test $wxUSE_FINDREPLDLG = yes; then
14522 result=$wxUSE_FINDREPLDLG
14525 { echo "$as_me:$LINENO: result: $result" >&5
14526 echo "${ECHO_T}$result" >&6; }
14530 defaultval=$wxUSE_ALL_FEATURES
14531 if test -z "$defaultval"; then
14532 if test x"$enablestring" = xdisable; then
14539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14540 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14541 # Check whether --enable-fontdlg was given.
14542 if test "${enable_fontdlg+set}" = set; then
14543 enableval=$enable_fontdlg;
14544 if test "$enableval" = yes; then
14545 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
14547 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
14553 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14554 if test "x$LINE" != x ; then
14555 eval "DEFAULT_$LINE"
14561 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14566 eval "$wx_cv_use_fontdlg"
14567 if test "x
$cache" = xyes; then
14568 echo "wxUSE_FONTDLG
=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14571 if test x"$enablestring" = xdisable; then
14572 if test $wxUSE_FONTDLG = yes; then
14578 result=$wxUSE_FONTDLG
14581 { echo "$as_me:$LINENO: result
: $result" >&5
14582 echo "${ECHO_T}$result" >&6; }
14586 defaultval=$wxUSE_ALL_FEATURES
14587 if test -z "$defaultval"; then
14588 if test x"$enablestring" = xdisable; then
14595 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirdlg" >&5
14596 echo $ECHO_N "checking
for --${enablestring:-enable}-dirdlg...
$ECHO_C" >&6; }
14597 # Check whether --enable-dirdlg was given.
14598 if test "${enable_dirdlg+set}" = set; then
14599 enableval=$enable_dirdlg;
14600 if test "$enableval" = yes; then
14601 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14603 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14609 LINE=`grep "^wxUSE_DIRDLG
=" ${wx_arg_cache_file}`
14610 if test "x
$LINE" != x ; then
14611 eval "DEFAULT_
$LINE"
14617 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14622 eval "$wx_cv_use_dirdlg"
14623 if test "x$cache" = xyes
; then
14624 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14627 if test x
"$enablestring" = xdisable
; then
14628 if test $wxUSE_DIRDLG = yes; then
14634 result
=$wxUSE_DIRDLG
14637 { echo "$as_me:$LINENO: result: $result" >&5
14638 echo "${ECHO_T}$result" >&6; }
14642 defaultval
=$wxUSE_ALL_FEATURES
14643 if test -z "$defaultval"; then
14644 if test x
"$enablestring" = xdisable
; then
14651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14652 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14653 # Check whether --enable-msgdlg was given.
14654 if test "${enable_msgdlg+set}" = set; then
14655 enableval
=$enable_msgdlg;
14656 if test "$enableval" = yes; then
14657 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
14659 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
14665 LINE
=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14666 if test "x$LINE" != x
; then
14667 eval "DEFAULT_$LINE"
14673 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14678 eval "$wx_cv_use_msgdlg"
14679 if test "x$cache" = xyes; then
14680 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14683 if test x"$enablestring" = xdisable; then
14684 if test $wxUSE_MSGDLG = yes; then
14690 result=$wxUSE_MSGDLG
14693 { echo "$as_me:$LINENO: result: $result" >&5
14694 echo "${ECHO_T}$result" >&6; }
14698 defaultval=$wxUSE_ALL_FEATURES
14699 if test -z "$defaultval"; then
14700 if test x"$enablestring" = xdisable; then
14707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14708 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14709 # Check whether --enable-numberdlg was given.
14710 if test "${enable_numberdlg+set}" = set; then
14711 enableval=$enable_numberdlg;
14712 if test "$enableval" = yes; then
14713 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
14715 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
14721 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14722 if test "x$LINE" != x ; then
14723 eval "DEFAULT_$LINE"
14729 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14734 eval "$wx_cv_use_numberdlg"
14735 if test "x
$cache" = xyes; then
14736 echo "wxUSE_NUMBERDLG
=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14739 if test x"$enablestring" = xdisable; then
14740 if test $wxUSE_NUMBERDLG = yes; then
14746 result=$wxUSE_NUMBERDLG
14749 { echo "$as_me:$LINENO: result
: $result" >&5
14750 echo "${ECHO_T}$result" >&6; }
14754 defaultval=$wxUSE_ALL_FEATURES
14755 if test -z "$defaultval"; then
14756 if test x"$enablestring" = xdisable; then
14763 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splash" >&5
14764 echo $ECHO_N "checking
for --${enablestring:-enable}-splash...
$ECHO_C" >&6; }
14765 # Check whether --enable-splash was given.
14766 if test "${enable_splash+set}" = set; then
14767 enableval=$enable_splash;
14768 if test "$enableval" = yes; then
14769 wx_cv_use_splash='wxUSE_SPLASH=yes'
14771 wx_cv_use_splash='wxUSE_SPLASH=no'
14777 LINE=`grep "^wxUSE_SPLASH
=" ${wx_arg_cache_file}`
14778 if test "x
$LINE" != x ; then
14779 eval "DEFAULT_
$LINE"
14785 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14790 eval "$wx_cv_use_splash"
14791 if test "x$cache" = xyes
; then
14792 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14795 if test x
"$enablestring" = xdisable
; then
14796 if test $wxUSE_SPLASH = yes; then
14802 result
=$wxUSE_SPLASH
14805 { echo "$as_me:$LINENO: result: $result" >&5
14806 echo "${ECHO_T}$result" >&6; }
14810 defaultval
=$wxUSE_ALL_FEATURES
14811 if test -z "$defaultval"; then
14812 if test x
"$enablestring" = xdisable
; then
14819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14820 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14821 # Check whether --enable-textdlg was given.
14822 if test "${enable_textdlg+set}" = set; then
14823 enableval
=$enable_textdlg;
14824 if test "$enableval" = yes; then
14825 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
14827 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
14833 LINE
=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14834 if test "x$LINE" != x
; then
14835 eval "DEFAULT_$LINE"
14841 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14846 eval "$wx_cv_use_textdlg"
14847 if test "x$cache" = xyes; then
14848 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14851 if test x"$enablestring" = xdisable; then
14852 if test $wxUSE_TEXTDLG = yes; then
14858 result=$wxUSE_TEXTDLG
14861 { echo "$as_me:$LINENO: result: $result" >&5
14862 echo "${ECHO_T}$result" >&6; }
14866 defaultval=$wxUSE_ALL_FEATURES
14867 if test -z "$defaultval"; then
14868 if test x"$enablestring" = xdisable; then
14875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14876 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14877 # Check whether --enable-tipdlg was given.
14878 if test "${enable_tipdlg+set}" = set; then
14879 enableval=$enable_tipdlg;
14880 if test "$enableval" = yes; then
14881 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
14883 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
14889 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14890 if test "x$LINE" != x ; then
14891 eval "DEFAULT_$LINE"
14897 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14902 eval "$wx_cv_use_tipdlg"
14903 if test "x
$cache" = xyes; then
14904 echo "wxUSE_STARTUP_TIPS
=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14907 if test x"$enablestring" = xdisable; then
14908 if test $wxUSE_STARTUP_TIPS = yes; then
14914 result=$wxUSE_STARTUP_TIPS
14917 { echo "$as_me:$LINENO: result
: $result" >&5
14918 echo "${ECHO_T}$result" >&6; }
14922 defaultval=$wxUSE_ALL_FEATURES
14923 if test -z "$defaultval"; then
14924 if test x"$enablestring" = xdisable; then
14931 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-progressdlg" >&5
14932 echo $ECHO_N "checking
for --${enablestring:-enable}-progressdlg...
$ECHO_C" >&6; }
14933 # Check whether --enable-progressdlg was given.
14934 if test "${enable_progressdlg+set}" = set; then
14935 enableval=$enable_progressdlg;
14936 if test "$enableval" = yes; then
14937 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14939 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14945 LINE=`grep "^wxUSE_PROGRESSDLG
=" ${wx_arg_cache_file}`
14946 if test "x
$LINE" != x ; then
14947 eval "DEFAULT_
$LINE"
14953 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14958 eval "$wx_cv_use_progressdlg"
14959 if test "x$cache" = xyes
; then
14960 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14963 if test x
"$enablestring" = xdisable
; then
14964 if test $wxUSE_PROGRESSDLG = yes; then
14970 result
=$wxUSE_PROGRESSDLG
14973 { echo "$as_me:$LINENO: result: $result" >&5
14974 echo "${ECHO_T}$result" >&6; }
14978 defaultval
=$wxUSE_ALL_FEATURES
14979 if test -z "$defaultval"; then
14980 if test x
"$enablestring" = xdisable
; then
14987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14988 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14989 # Check whether --enable-wizarddlg was given.
14990 if test "${enable_wizarddlg+set}" = set; then
14991 enableval
=$enable_wizarddlg;
14992 if test "$enableval" = yes; then
14993 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
14995 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
15001 LINE
=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
15002 if test "x$LINE" != x
; then
15003 eval "DEFAULT_$LINE"
15009 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
15014 eval "$wx_cv_use_wizarddlg"
15015 if test "x$cache" = xyes; then
15016 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
15019 if test x"$enablestring" = xdisable; then
15020 if test $wxUSE_WIZARDDLG = yes; then
15026 result=$wxUSE_WIZARDDLG
15029 { echo "$as_me:$LINENO: result: $result" >&5
15030 echo "${ECHO_T}$result" >&6; }
15036 defaultval=$wxUSE_ALL_FEATURES
15037 if test -z "$defaultval"; then
15038 if test x"$enablestring" = xdisable; then
15045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
15046 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
15047 # Check whether --enable-menus was given.
15048 if test "${enable_menus+set}" = set; then
15049 enableval=$enable_menus;
15050 if test "$enableval" = yes; then
15051 wx_cv_use_menus='wxUSE_MENUS
=yes'
15053 wx_cv_use_menus='wxUSE_MENUS
=no
'
15059 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
15060 if test "x$LINE" != x ; then
15061 eval "DEFAULT_$LINE"
15067 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15072 eval "$wx_cv_use_menus"
15073 if test "x
$cache" = xyes; then
15074 echo "wxUSE_MENUS
=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15077 if test x"$enablestring" = xdisable; then
15078 if test $wxUSE_MENUS = yes; then
15084 result=$wxUSE_MENUS
15087 { echo "$as_me:$LINENO: result
: $result" >&5
15088 echo "${ECHO_T}$result" >&6; }
15092 defaultval=$wxUSE_ALL_FEATURES
15093 if test -z "$defaultval"; then
15094 if test x"$enablestring" = xdisable; then
15101 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-miniframe" >&5
15102 echo $ECHO_N "checking
for --${enablestring:-enable}-miniframe...
$ECHO_C" >&6; }
15103 # Check whether --enable-miniframe was given.
15104 if test "${enable_miniframe+set}" = set; then
15105 enableval=$enable_miniframe;
15106 if test "$enableval" = yes; then
15107 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15109 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15115 LINE=`grep "^wxUSE_MINIFRAME
=" ${wx_arg_cache_file}`
15116 if test "x
$LINE" != x ; then
15117 eval "DEFAULT_
$LINE"
15123 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15128 eval "$wx_cv_use_miniframe"
15129 if test "x$cache" = xyes
; then
15130 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15133 if test x
"$enablestring" = xdisable
; then
15134 if test $wxUSE_MINIFRAME = yes; then
15140 result
=$wxUSE_MINIFRAME
15143 { echo "$as_me:$LINENO: result: $result" >&5
15144 echo "${ECHO_T}$result" >&6; }
15148 defaultval
=$wxUSE_ALL_FEATURES
15149 if test -z "$defaultval"; then
15150 if test x
"$enablestring" = xdisable
; then
15157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
15158 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
15159 # Check whether --enable-tooltips was given.
15160 if test "${enable_tooltips+set}" = set; then
15161 enableval
=$enable_tooltips;
15162 if test "$enableval" = yes; then
15163 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
15165 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
15171 LINE
=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
15172 if test "x$LINE" != x
; then
15173 eval "DEFAULT_$LINE"
15179 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15184 eval "$wx_cv_use_tooltips"
15185 if test "x$cache" = xyes; then
15186 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15189 if test x"$enablestring" = xdisable; then
15190 if test $wxUSE_TOOLTIPS = yes; then
15196 result=$wxUSE_TOOLTIPS
15199 { echo "$as_me:$LINENO: result: $result" >&5
15200 echo "${ECHO_T}$result" >&6; }
15204 defaultval=$wxUSE_ALL_FEATURES
15205 if test -z "$defaultval"; then
15206 if test x"$enablestring" = xdisable; then
15213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15214 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15215 # Check whether --enable-splines was given.
15216 if test "${enable_splines+set}" = set; then
15217 enableval=$enable_splines;
15218 if test "$enableval" = yes; then
15219 wx_cv_use_splines='wxUSE_SPLINES
=yes'
15221 wx_cv_use_splines='wxUSE_SPLINES
=no
'
15227 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15228 if test "x$LINE" != x ; then
15229 eval "DEFAULT_$LINE"
15235 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15240 eval "$wx_cv_use_splines"
15241 if test "x
$cache" = xyes; then
15242 echo "wxUSE_SPLINES
=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15245 if test x"$enablestring" = xdisable; then
15246 if test $wxUSE_SPLINES = yes; then
15252 result=$wxUSE_SPLINES
15255 { echo "$as_me:$LINENO: result
: $result" >&5
15256 echo "${ECHO_T}$result" >&6; }
15260 defaultval=$wxUSE_ALL_FEATURES
15261 if test -z "$defaultval"; then
15262 if test x"$enablestring" = xdisable; then
15269 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mousewheel" >&5
15270 echo $ECHO_N "checking
for --${enablestring:-enable}-mousewheel...
$ECHO_C" >&6; }
15271 # Check whether --enable-mousewheel was given.
15272 if test "${enable_mousewheel+set}" = set; then
15273 enableval=$enable_mousewheel;
15274 if test "$enableval" = yes; then
15275 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15277 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15283 LINE=`grep "^wxUSE_MOUSEWHEEL
=" ${wx_arg_cache_file}`
15284 if test "x
$LINE" != x ; then
15285 eval "DEFAULT_
$LINE"
15291 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15296 eval "$wx_cv_use_mousewheel"
15297 if test "x$cache" = xyes
; then
15298 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15301 if test x
"$enablestring" = xdisable
; then
15302 if test $wxUSE_MOUSEWHEEL = yes; then
15308 result
=$wxUSE_MOUSEWHEEL
15311 { echo "$as_me:$LINENO: result: $result" >&5
15312 echo "${ECHO_T}$result" >&6; }
15316 defaultval
=$wxUSE_ALL_FEATURES
15317 if test -z "$defaultval"; then
15318 if test x
"$enablestring" = xdisable
; then
15325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15326 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15327 # Check whether --enable-validators was given.
15328 if test "${enable_validators+set}" = set; then
15329 enableval
=$enable_validators;
15330 if test "$enableval" = yes; then
15331 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
15333 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
15339 LINE
=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15340 if test "x$LINE" != x
; then
15341 eval "DEFAULT_$LINE"
15347 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15352 eval "$wx_cv_use_validators"
15353 if test "x$cache" = xyes; then
15354 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15357 if test x"$enablestring" = xdisable; then
15358 if test $wxUSE_VALIDATORS = yes; then
15364 result=$wxUSE_VALIDATORS
15367 { echo "$as_me:$LINENO: result: $result" >&5
15368 echo "${ECHO_T}$result" >&6; }
15372 defaultval=$wxUSE_ALL_FEATURES
15373 if test -z "$defaultval"; then
15374 if test x"$enablestring" = xdisable; then
15381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15382 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15383 # Check whether --enable-busyinfo was given.
15384 if test "${enable_busyinfo+set}" = set; then
15385 enableval=$enable_busyinfo;
15386 if test "$enableval" = yes; then
15387 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
15389 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
15395 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15396 if test "x$LINE" != x ; then
15397 eval "DEFAULT_$LINE"
15403 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15408 eval "$wx_cv_use_busyinfo"
15409 if test "x
$cache" = xyes; then
15410 echo "wxUSE_BUSYINFO
=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15413 if test x"$enablestring" = xdisable; then
15414 if test $wxUSE_BUSYINFO = yes; then
15420 result=$wxUSE_BUSYINFO
15423 { echo "$as_me:$LINENO: result
: $result" >&5
15424 echo "${ECHO_T}$result" >&6; }
15428 defaultval=$wxUSE_ALL_FEATURES
15429 if test -z "$defaultval"; then
15430 if test x"$enablestring" = xdisable; then
15437 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-joystick" >&5
15438 echo $ECHO_N "checking
for --${enablestring:-enable}-joystick...
$ECHO_C" >&6; }
15439 # Check whether --enable-joystick was given.
15440 if test "${enable_joystick+set}" = set; then
15441 enableval=$enable_joystick;
15442 if test "$enableval" = yes; then
15443 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15445 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15451 LINE=`grep "^wxUSE_JOYSTICK
=" ${wx_arg_cache_file}`
15452 if test "x
$LINE" != x ; then
15453 eval "DEFAULT_
$LINE"
15459 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15464 eval "$wx_cv_use_joystick"
15465 if test "x$cache" = xyes
; then
15466 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15469 if test x
"$enablestring" = xdisable
; then
15470 if test $wxUSE_JOYSTICK = yes; then
15476 result
=$wxUSE_JOYSTICK
15479 { echo "$as_me:$LINENO: result: $result" >&5
15480 echo "${ECHO_T}$result" >&6; }
15484 defaultval
=$wxUSE_ALL_FEATURES
15485 if test -z "$defaultval"; then
15486 if test x
"$enablestring" = xdisable
; then
15493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15494 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15495 # Check whether --enable-metafile was given.
15496 if test "${enable_metafile+set}" = set; then
15497 enableval
=$enable_metafile;
15498 if test "$enableval" = yes; then
15499 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
15501 wx_cv_use_metafile
='wxUSE_METAFILE=no'
15507 LINE
=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15508 if test "x$LINE" != x
; then
15509 eval "DEFAULT_$LINE"
15515 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15520 eval "$wx_cv_use_metafile"
15521 if test "x$cache" = xyes; then
15522 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15525 if test x"$enablestring" = xdisable; then
15526 if test $wxUSE_METAFILE = yes; then
15532 result=$wxUSE_METAFILE
15535 { echo "$as_me:$LINENO: result: $result" >&5
15536 echo "${ECHO_T}$result" >&6; }
15540 defaultval=$wxUSE_ALL_FEATURES
15541 if test -z "$defaultval"; then
15542 if test x"$enablestring" = xdisable; then
15549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15550 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15551 # Check whether --enable-dragimage was given.
15552 if test "${enable_dragimage+set}" = set; then
15553 enableval=$enable_dragimage;
15554 if test "$enableval" = yes; then
15555 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
15557 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
15563 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15564 if test "x$LINE" != x ; then
15565 eval "DEFAULT_$LINE"
15571 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15576 eval "$wx_cv_use_dragimage"
15577 if test "x
$cache" = xyes; then
15578 echo "wxUSE_DRAGIMAGE
=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15581 if test x"$enablestring" = xdisable; then
15582 if test $wxUSE_DRAGIMAGE = yes; then
15588 result=$wxUSE_DRAGIMAGE
15591 { echo "$as_me:$LINENO: result
: $result" >&5
15592 echo "${ECHO_T}$result" >&6; }
15596 defaultval=$wxUSE_ALL_FEATURES
15597 if test -z "$defaultval"; then
15598 if test x"$enablestring" = xdisable; then
15605 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accessibility" >&5
15606 echo $ECHO_N "checking
for --${enablestring:-enable}-accessibility...
$ECHO_C" >&6; }
15607 # Check whether --enable-accessibility was given.
15608 if test "${enable_accessibility+set}" = set; then
15609 enableval=$enable_accessibility;
15610 if test "$enableval" = yes; then
15611 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15613 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15619 LINE=`grep "^wxUSE_ACCESSIBILITY
=" ${wx_arg_cache_file}`
15620 if test "x
$LINE" != x ; then
15621 eval "DEFAULT_
$LINE"
15627 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15632 eval "$wx_cv_use_accessibility"
15633 if test "x$cache" = xyes
; then
15634 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15637 if test x
"$enablestring" = xdisable
; then
15638 if test $wxUSE_ACCESSIBILITY = yes; then
15644 result
=$wxUSE_ACCESSIBILITY
15647 { echo "$as_me:$LINENO: result: $result" >&5
15648 echo "${ECHO_T}$result" >&6; }
15654 defaultval
=$wxUSE_ALL_FEATURES
15655 if test -z "$defaultval"; then
15656 if test x
"$enablestring" = xdisable
; then
15663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15664 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15665 # Check whether --enable-palette was given.
15666 if test "${enable_palette+set}" = set; then
15667 enableval
=$enable_palette;
15668 if test "$enableval" = yes; then
15669 wx_cv_use_palette
='wxUSE_PALETTE=yes'
15671 wx_cv_use_palette
='wxUSE_PALETTE=no'
15677 LINE
=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15678 if test "x$LINE" != x
; then
15679 eval "DEFAULT_$LINE"
15685 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15690 eval "$wx_cv_use_palette"
15691 if test "x$cache" = xyes; then
15692 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15695 if test x"$enablestring" = xdisable; then
15696 if test $wxUSE_PALETTE = yes; then
15702 result=$wxUSE_PALETTE
15705 { echo "$as_me:$LINENO: result: $result" >&5
15706 echo "${ECHO_T}$result" >&6; }
15710 defaultval=$wxUSE_ALL_FEATURES
15711 if test -z "$defaultval"; then
15712 if test x"$enablestring" = xdisable; then
15719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15720 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15721 # Check whether --enable-image was given.
15722 if test "${enable_image+set}" = set; then
15723 enableval=$enable_image;
15724 if test "$enableval" = yes; then
15725 wx_cv_use_image='wxUSE_IMAGE
=yes'
15727 wx_cv_use_image='wxUSE_IMAGE
=no
'
15733 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15734 if test "x$LINE" != x ; then
15735 eval "DEFAULT_$LINE"
15741 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15746 eval "$wx_cv_use_image"
15747 if test "x
$cache" = xyes; then
15748 echo "wxUSE_IMAGE
=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15751 if test x"$enablestring" = xdisable; then
15752 if test $wxUSE_IMAGE = yes; then
15758 result=$wxUSE_IMAGE
15761 { echo "$as_me:$LINENO: result
: $result" >&5
15762 echo "${ECHO_T}$result" >&6; }
15766 defaultval=$wxUSE_ALL_FEATURES
15767 if test -z "$defaultval"; then
15768 if test x"$enablestring" = xdisable; then
15775 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gif" >&5
15776 echo $ECHO_N "checking
for --${enablestring:-enable}-gif...
$ECHO_C" >&6; }
15777 # Check whether --enable-gif was given.
15778 if test "${enable_gif+set}" = set; then
15779 enableval=$enable_gif;
15780 if test "$enableval" = yes; then
15781 wx_cv_use_gif='wxUSE_GIF=yes'
15783 wx_cv_use_gif='wxUSE_GIF=no'
15789 LINE=`grep "^wxUSE_GIF
=" ${wx_arg_cache_file}`
15790 if test "x
$LINE" != x ; then
15791 eval "DEFAULT_
$LINE"
15797 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15802 eval "$wx_cv_use_gif"
15803 if test "x$cache" = xyes
; then
15804 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15807 if test x
"$enablestring" = xdisable
; then
15808 if test $wxUSE_GIF = yes; then
15817 { echo "$as_me:$LINENO: result: $result" >&5
15818 echo "${ECHO_T}$result" >&6; }
15822 defaultval
=$wxUSE_ALL_FEATURES
15823 if test -z "$defaultval"; then
15824 if test x
"$enablestring" = xdisable
; then
15831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15832 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15833 # Check whether --enable-pcx was given.
15834 if test "${enable_pcx+set}" = set; then
15835 enableval
=$enable_pcx;
15836 if test "$enableval" = yes; then
15837 wx_cv_use_pcx
='wxUSE_PCX=yes'
15839 wx_cv_use_pcx
='wxUSE_PCX=no'
15845 LINE
=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15846 if test "x$LINE" != x
; then
15847 eval "DEFAULT_$LINE"
15853 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15858 eval "$wx_cv_use_pcx"
15859 if test "x$cache" = xyes; then
15860 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15863 if test x"$enablestring" = xdisable; then
15864 if test $wxUSE_PCX = yes; then
15873 { echo "$as_me:$LINENO: result: $result" >&5
15874 echo "${ECHO_T}$result" >&6; }
15878 defaultval=$wxUSE_ALL_FEATURES
15879 if test -z "$defaultval"; then
15880 if test x"$enablestring" = xdisable; then
15887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15888 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15889 # Check whether --enable-tga was given.
15890 if test "${enable_tga+set}" = set; then
15891 enableval=$enable_tga;
15892 if test "$enableval" = yes; then
15893 wx_cv_use_tga='wxUSE_TGA
=yes'
15895 wx_cv_use_tga='wxUSE_TGA
=no
'
15901 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15902 if test "x$LINE" != x ; then
15903 eval "DEFAULT_$LINE"
15909 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15914 eval "$wx_cv_use_tga"
15915 if test "x
$cache" = xyes; then
15916 echo "wxUSE_TGA
=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15919 if test x"$enablestring" = xdisable; then
15920 if test $wxUSE_TGA = yes; then
15929 { echo "$as_me:$LINENO: result
: $result" >&5
15930 echo "${ECHO_T}$result" >&6; }
15934 defaultval=$wxUSE_ALL_FEATURES
15935 if test -z "$defaultval"; then
15936 if test x"$enablestring" = xdisable; then
15943 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iff" >&5
15944 echo $ECHO_N "checking
for --${enablestring:-enable}-iff...
$ECHO_C" >&6; }
15945 # Check whether --enable-iff was given.
15946 if test "${enable_iff+set}" = set; then
15947 enableval=$enable_iff;
15948 if test "$enableval" = yes; then
15949 wx_cv_use_iff='wxUSE_IFF=yes'
15951 wx_cv_use_iff='wxUSE_IFF=no'
15957 LINE=`grep "^wxUSE_IFF
=" ${wx_arg_cache_file}`
15958 if test "x
$LINE" != x ; then
15959 eval "DEFAULT_
$LINE"
15965 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15970 eval "$wx_cv_use_iff"
15971 if test "x$cache" = xyes
; then
15972 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15975 if test x
"$enablestring" = xdisable
; then
15976 if test $wxUSE_IFF = yes; then
15985 { echo "$as_me:$LINENO: result: $result" >&5
15986 echo "${ECHO_T}$result" >&6; }
15990 defaultval
=$wxUSE_ALL_FEATURES
15991 if test -z "$defaultval"; then
15992 if test x
"$enablestring" = xdisable
; then
15999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
16000 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
16001 # Check whether --enable-pnm was given.
16002 if test "${enable_pnm+set}" = set; then
16003 enableval
=$enable_pnm;
16004 if test "$enableval" = yes; then
16005 wx_cv_use_pnm
='wxUSE_PNM=yes'
16007 wx_cv_use_pnm
='wxUSE_PNM=no'
16013 LINE
=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
16014 if test "x$LINE" != x
; then
16015 eval "DEFAULT_$LINE"
16021 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
16026 eval "$wx_cv_use_pnm"
16027 if test "x$cache" = xyes; then
16028 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
16031 if test x"$enablestring" = xdisable; then
16032 if test $wxUSE_PNM = yes; then
16041 { echo "$as_me:$LINENO: result: $result" >&5
16042 echo "${ECHO_T}$result" >&6; }
16046 defaultval=$wxUSE_ALL_FEATURES
16047 if test -z "$defaultval"; then
16048 if test x"$enablestring" = xdisable; then
16055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
16056 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
16057 # Check whether --enable-xpm was given.
16058 if test "${enable_xpm+set}" = set; then
16059 enableval=$enable_xpm;
16060 if test "$enableval" = yes; then
16061 wx_cv_use_xpm='wxUSE_XPM
=yes'
16063 wx_cv_use_xpm='wxUSE_XPM
=no
'
16069 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
16070 if test "x$LINE" != x ; then
16071 eval "DEFAULT_$LINE"
16077 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16082 eval "$wx_cv_use_xpm"
16083 if test "x
$cache" = xyes; then
16084 echo "wxUSE_XPM
=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16087 if test x"$enablestring" = xdisable; then
16088 if test $wxUSE_XPM = yes; then
16097 { echo "$as_me:$LINENO: result
: $result" >&5
16098 echo "${ECHO_T}$result" >&6; }
16102 defaultval=$wxUSE_ALL_FEATURES
16103 if test -z "$defaultval"; then
16104 if test x"$enablestring" = xdisable; then
16111 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ico_cur" >&5
16112 echo $ECHO_N "checking
for --${enablestring:-enable}-ico_cur...
$ECHO_C" >&6; }
16113 # Check whether --enable-ico_cur was given.
16114 if test "${enable_ico_cur+set}" = set; then
16115 enableval=$enable_ico_cur;
16116 if test "$enableval" = yes; then
16117 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16119 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16125 LINE=`grep "^wxUSE_ICO_CUR
=" ${wx_arg_cache_file}`
16126 if test "x
$LINE" != x ; then
16127 eval "DEFAULT_
$LINE"
16133 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16138 eval "$wx_cv_use_ico_cur"
16139 if test "x$cache" = xyes
; then
16140 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16143 if test x
"$enablestring" = xdisable
; then
16144 if test $wxUSE_ICO_CUR = yes; then
16150 result
=$wxUSE_ICO_CUR
16153 { echo "$as_me:$LINENO: result: $result" >&5
16154 echo "${ECHO_T}$result" >&6; }
16160 defaultval
=$wxUSE_ALL_FEATURES
16161 if test -z "$defaultval"; then
16162 if test x
"$enablestring" = xdisable
; then
16169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
16170 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
16171 # Check whether --enable-dccache was given.
16172 if test "${enable_dccache+set}" = set; then
16173 enableval
=$enable_dccache;
16174 if test "$enableval" = yes; then
16175 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
16177 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
16183 LINE
=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16184 if test "x$LINE" != x
; then
16185 eval "DEFAULT_$LINE"
16191 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16196 eval "$wx_cv_use_dccache"
16197 if test "x$cache" = xyes; then
16198 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16201 if test x"$enablestring" = xdisable; then
16202 if test $wxUSE_DC_CACHEING = yes; then
16208 result=$wxUSE_DC_CACHEING
16211 { echo "$as_me:$LINENO: result: $result" >&5
16212 echo "${ECHO_T}$result" >&6; }
16216 defaultval=$wxUSE_ALL_FEATURES
16217 if test -z "$defaultval"; then
16218 if test x"$enablestring" = xdisable; then
16225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16226 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16227 # Check whether --enable-ps-in-msw was given.
16228 if test "${enable_ps_in_msw+set}" = set; then
16229 enableval=$enable_ps_in_msw;
16230 if test "$enableval" = yes; then
16231 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
16233 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
16239 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16240 if test "x$LINE" != x ; then
16241 eval "DEFAULT_$LINE"
16247 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16252 eval "$wx_cv_use_ps_in_msw"
16253 if test "x
$cache" = xyes; then
16254 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16257 if test x"$enablestring" = xdisable; then
16258 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16264 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16267 { echo "$as_me:$LINENO: result
: $result" >&5
16268 echo "${ECHO_T}$result" >&6; }
16272 defaultval=$wxUSE_ALL_FEATURES
16273 if test -z "$defaultval"; then
16274 if test x"$enablestring" = xdisable; then
16281 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ownerdrawn" >&5
16282 echo $ECHO_N "checking
for --${enablestring:-enable}-ownerdrawn...
$ECHO_C" >&6; }
16283 # Check whether --enable-ownerdrawn was given.
16284 if test "${enable_ownerdrawn+set}" = set; then
16285 enableval=$enable_ownerdrawn;
16286 if test "$enableval" = yes; then
16287 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16289 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16295 LINE=`grep "^wxUSE_OWNER_DRAWN
=" ${wx_arg_cache_file}`
16296 if test "x
$LINE" != x ; then
16297 eval "DEFAULT_
$LINE"
16303 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16308 eval "$wx_cv_use_ownerdrawn"
16309 if test "x$cache" = xyes
; then
16310 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16313 if test x
"$enablestring" = xdisable
; then
16314 if test $wxUSE_OWNER_DRAWN = yes; then
16320 result
=$wxUSE_OWNER_DRAWN
16323 { echo "$as_me:$LINENO: result: $result" >&5
16324 echo "${ECHO_T}$result" >&6; }
16328 defaultval
=$wxUSE_ALL_FEATURES
16329 if test -z "$defaultval"; then
16330 if test x
"$enablestring" = xdisable
; then
16337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16338 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16339 # Check whether --enable-uxtheme was given.
16340 if test "${enable_uxtheme+set}" = set; then
16341 enableval
=$enable_uxtheme;
16342 if test "$enableval" = yes; then
16343 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
16345 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
16351 LINE
=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16352 if test "x$LINE" != x
; then
16353 eval "DEFAULT_$LINE"
16359 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16364 eval "$wx_cv_use_uxtheme"
16365 if test "x$cache" = xyes; then
16366 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16369 if test x"$enablestring" = xdisable; then
16370 if test $wxUSE_UXTHEME = yes; then
16376 result=$wxUSE_UXTHEME
16379 { echo "$as_me:$LINENO: result: $result" >&5
16380 echo "${ECHO_T}$result" >&6; }
16384 defaultval=$wxUSE_ALL_FEATURES
16385 if test -z "$defaultval"; then
16386 if test x"$enablestring" = xdisable; then
16393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16394 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16395 # Check whether --enable-wxdib was given.
16396 if test "${enable_wxdib+set}" = set; then
16397 enableval=$enable_wxdib;
16398 if test "$enableval" = yes; then
16399 wx_cv_use_wxdib='wxUSE_DIB
=yes'
16401 wx_cv_use_wxdib='wxUSE_DIB
=no
'
16407 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16408 if test "x$LINE" != x ; then
16409 eval "DEFAULT_$LINE"
16415 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16420 eval "$wx_cv_use_wxdib"
16421 if test "x
$cache" = xyes; then
16422 echo "wxUSE_DIB
=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16425 if test x"$enablestring" = xdisable; then
16426 if test $wxUSE_DIB = yes; then
16435 { echo "$as_me:$LINENO: result
: $result" >&5
16436 echo "${ECHO_T}$result" >&6; }
16442 echo "saving argument cache
$wx_arg_cache_file"
16443 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16447 { echo "$as_me:$LINENO: checking
for toolkit
" >&5
16448 echo $ECHO_N "checking
for toolkit...
$ECHO_C" >&6; }
16450 # In Wine, we need to default to MSW, not GTK or MOTIF
16451 if test "$wxUSE_WINE" = "yes"; then
16452 DEFAULT_DEFAULT_wxUSE_GTK=0
16453 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16454 DEFAULT_DEFAULT_wxUSE_MSW=1
16457 CXX=${CXX:-wineg++}
16461 if test "$wxUSE_GUI" = "yes"; then
16463 if test "$USE_BEOS" = 1; then
16464 { { echo "$as_me:$LINENO: error
: BeOS GUI is not supported yet
, use
--disable-gui" >&5
16465 echo "$as_me: error
: BeOS GUI is not supported yet
, use
--disable-gui" >&2;}
16466 { (exit 1); exit 1; }; }
16469 if test "$TOOLKIT_GIVEN" = 1; then
16470 for toolkit in `echo $ALL_TOOLKITS`; do
16472 eval "value
=\$
${var}"
16473 if test "x
$value" = "xno
"; then
16475 elif test "x
$value" != "x
"; then
16479 if test "x
$value" != "x
" -a "x
$value" != "xyes
" -a "x
$value" != "xno
"; then
16480 eval "wx
${toolkit}_VERSION
=$value"
16484 for toolkit in `echo $ALL_TOOLKITS`; do
16485 if test "$has_toolkit_in_cache" != 1; then
16486 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16488 var=DEFAULT_wxUSE_$toolkit
16490 eval "version
=\
$DEFAULT_wx${toolkit}_VERSION
"
16491 if test "x
$version" != "x
"; then
16492 eval "wx
${toolkit}_VERSION
=$version"
16495 eval "wxUSE_
$toolkit=\$
${var}"
16499 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16500 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16501 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16504 *-pc-os2_emx | *-pc-os2-emx )
16505 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16508 case "$NUM_TOOLKITS" in
16512 { { echo "$as_me:$LINENO: error
: Please specify a toolkit
-- cannot determine the default
for ${host}" >&5
16513 echo "$as_me: error
: Please specify a toolkit
-- cannot determine the default
for ${host}" >&2;}
16514 { (exit 1); exit 1; }; }
16517 { { echo "$as_me:$LINENO: error
: Please specify
at most one toolkit
(maybe some are cached
in configarg.cache?
)" >&5
16518 echo "$as_me: error
: Please specify
at most one toolkit
(maybe some are cached
in configarg.cache?
)" >&2;}
16519 { (exit 1); exit 1; }; }
16522 # to be removed when --disable-gtk2 isn't needed
16523 if test "x
$wxUSE_GTK2" = "xyes
"; then
16525 elif test "x
$wxUSE_GTK2" = "xno
"; then
16529 for toolkit in `echo $ALL_TOOLKITS`; do
16531 eval "value
=\$
${var}"
16532 if test "x
$value" != x; then
16533 cache_var=CACHE_$toolkit
16534 eval "cache
=\$
${cache_var}"
16535 if test "$cache" = 1; then
16536 echo "$var=$value" >> ${wx_arg_cache_file}
16537 eval "version
=\
$wx${toolkit}_VERSION
"
16538 if test "x
$version" != "x
"; then
16539 echo "wx
${toolkit}_VERSION
=$version" >> ${wx_arg_cache_file}
16542 if test "$value" = 1; then
16543 toolkit_echo=`echo $toolkit | tr "[A
-Z]" "[a
-z]"`
16544 { echo "$as_me:$LINENO: result
: $toolkit_echo" >&5
16545 echo "${ECHO_T}$toolkit_echo" >&6; }
16550 if test "x
$host_alias" != "x
"; then
16551 { echo "$as_me:$LINENO: result
: base
($host_alias hosted
) only
" >&5
16552 echo "${ECHO_T}base
($host_alias hosted
) only
" >&6; }
16554 { echo "$as_me:$LINENO: result
: base only
" >&5
16555 echo "${ECHO_T}base only
" >&6; }
16560 cat >confcache <<\_ACEOF
16561 # This file is a shell script that caches the results of configure
16562 # tests run on this system so they can be shared between configure
16563 # scripts and configure runs, see configure's option --config-cache.
16564 # It is not useful on other systems. If it contains results you don't
16565 # want to keep, you may remove or edit it.
16567 # config.status only pays attention to the cache file if you give it
16568 # the --recheck option to rerun configure.
16570 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16571 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16572 # following values.
16576 # The following way of writing the cache mishandles newlines in values,
16577 # but we know of no workaround that is simple, portable, and efficient.
16578 # So, we kill variables containing newlines.
16579 # Ultrix sh set writes to stderr and can't be redirected directly,
16580 # and sets the high bit in the cache file unless we assign to the vars.
16582 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16583 eval ac_val=\$$ac_var
16587 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
16588 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
16591 _ | IFS | as_nl) ;; #(
16592 *) $as_unset $ac_var ;;
16598 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16599 *${as_nl}ac_space=\ *)
16600 # `set' does not quote correctly, so add quotes (double-quote
16601 # substitution turns \\\\ into \\, and sed turns \\ into \).
16604 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
16607 # `set' quotes correctly as required by POSIX, so do not add quotes.
16608 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
16617 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16619 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16621 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16622 if test -w "$cache_file"; then
16623 test "x
$cache_file" != "x
/dev
/null
" &&
16624 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
16625 echo "$as_me: updating cache
$cache_file" >&6;}
16626 cat confcache >$cache_file
16628 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
16629 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
16639 ac_cpp='$CPP $CPPFLAGS'
16640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16643 if test -n "$ac_tool_prefix"; then
16644 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
16645 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16646 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16647 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16648 if test "${ac_cv_prog_CC+set}" = set; then
16649 echo $ECHO_N "(cached
) $ECHO_C" >&6
16651 if test -n "$CC"; then
16652 ac_cv_prog_CC="$CC" # Let the user override the test.
16654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16655 for as_dir in $PATH
16658 test -z "$as_dir" && as_dir=.
16659 for ac_exec_ext in '' $ac_executable_extensions; do
16660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16661 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
16662 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16672 if test -n "$CC"; then
16673 { echo "$as_me:$LINENO: result
: $CC" >&5
16674 echo "${ECHO_T}$CC" >&6; }
16676 { echo "$as_me:$LINENO: result
: no
" >&5
16677 echo "${ECHO_T}no
" >&6; }
16682 if test -z "$ac_cv_prog_CC"; then
16684 # Extract the first word of "gcc
", so it can be a program name with args.
16685 set dummy gcc; ac_word=$2
16686 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16687 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16688 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16689 echo $ECHO_N "(cached
) $ECHO_C" >&6
16691 if test -n "$ac_ct_CC"; then
16692 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16695 for as_dir in $PATH
16698 test -z "$as_dir" && as_dir=.
16699 for ac_exec_ext in '' $ac_executable_extensions; do
16700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16701 ac_cv_prog_ac_ct_CC="gcc
"
16702 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16711 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16712 if test -n "$ac_ct_CC"; then
16713 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
16714 echo "${ECHO_T}$ac_ct_CC" >&6; }
16716 { echo "$as_me:$LINENO: result
: no
" >&5
16717 echo "${ECHO_T}no
" >&6; }
16720 if test "x
$ac_ct_CC" = x; then
16723 case $cross_compiling:$ac_tool_warned in
16725 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
16726 whose name does not start with the
host triplet. If you think this
16727 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
16728 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
16729 whose name does not start with the
host triplet. If you think this
16730 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
16731 ac_tool_warned=yes ;;
16736 CC="$ac_cv_prog_CC"
16739 if test -z "$CC"; then
16740 if test -n "$ac_tool_prefix"; then
16741 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
16742 set dummy ${ac_tool_prefix}cc; ac_word=$2
16743 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16744 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16745 if test "${ac_cv_prog_CC+set}" = set; then
16746 echo $ECHO_N "(cached
) $ECHO_C" >&6
16748 if test -n "$CC"; then
16749 ac_cv_prog_CC="$CC" # Let the user override the test.
16751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16752 for as_dir in $PATH
16755 test -z "$as_dir" && as_dir=.
16756 for ac_exec_ext in '' $ac_executable_extensions; do
16757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16758 ac_cv_prog_CC="${ac_tool_prefix}cc
"
16759 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16769 if test -n "$CC"; then
16770 { echo "$as_me:$LINENO: result
: $CC" >&5
16771 echo "${ECHO_T}$CC" >&6; }
16773 { echo "$as_me:$LINENO: result
: no
" >&5
16774 echo "${ECHO_T}no
" >&6; }
16780 if test -z "$CC"; then
16781 # Extract the first word of "cc
", so it can be a program name with args.
16782 set dummy cc; ac_word=$2
16783 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16784 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16785 if test "${ac_cv_prog_CC+set}" = set; then
16786 echo $ECHO_N "(cached
) $ECHO_C" >&6
16788 if test -n "$CC"; then
16789 ac_cv_prog_CC="$CC" # Let the user override the test.
16791 ac_prog_rejected=no
16792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16793 for as_dir in $PATH
16796 test -z "$as_dir" && as_dir=.
16797 for ac_exec_ext in '' $ac_executable_extensions; do
16798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16799 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
16800 ac_prog_rejected=yes
16804 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16811 if test $ac_prog_rejected = yes; then
16812 # We found a bogon in the path, so make sure we never use it.
16813 set dummy $ac_cv_prog_CC
16815 if test $# != 0; then
16816 # We chose a different compiler from the bogus one.
16817 # However, it has the same basename, so the bogon will be chosen
16818 # first if we set CC to just the basename; use the full file name.
16820 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
16826 if test -n "$CC"; then
16827 { echo "$as_me:$LINENO: result
: $CC" >&5
16828 echo "${ECHO_T}$CC" >&6; }
16830 { echo "$as_me:$LINENO: result
: no
" >&5
16831 echo "${ECHO_T}no
" >&6; }
16836 if test -z "$CC"; then
16837 if test -n "$ac_tool_prefix"; then
16838 for ac_prog in cl.exe
16840 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16841 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16842 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16843 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16844 if test "${ac_cv_prog_CC+set}" = set; then
16845 echo $ECHO_N "(cached
) $ECHO_C" >&6
16847 if test -n "$CC"; then
16848 ac_cv_prog_CC="$CC" # Let the user override the test.
16850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16851 for as_dir in $PATH
16854 test -z "$as_dir" && as_dir=.
16855 for ac_exec_ext in '' $ac_executable_extensions; do
16856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16857 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16858 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16868 if test -n "$CC"; then
16869 { echo "$as_me:$LINENO: result
: $CC" >&5
16870 echo "${ECHO_T}$CC" >&6; }
16872 { echo "$as_me:$LINENO: result
: no
" >&5
16873 echo "${ECHO_T}no
" >&6; }
16877 test -n "$CC" && break
16880 if test -z "$CC"; then
16882 for ac_prog in cl.exe
16884 # Extract the first word of "$ac_prog", so it can be a program name with args.
16885 set dummy $ac_prog; ac_word=$2
16886 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16887 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16888 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16889 echo $ECHO_N "(cached
) $ECHO_C" >&6
16891 if test -n "$ac_ct_CC"; then
16892 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16895 for as_dir in $PATH
16898 test -z "$as_dir" && as_dir=.
16899 for ac_exec_ext in '' $ac_executable_extensions; do
16900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16901 ac_cv_prog_ac_ct_CC="$ac_prog"
16902 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16911 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16912 if test -n "$ac_ct_CC"; then
16913 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
16914 echo "${ECHO_T}$ac_ct_CC" >&6; }
16916 { echo "$as_me:$LINENO: result
: no
" >&5
16917 echo "${ECHO_T}no
" >&6; }
16921 test -n "$ac_ct_CC" && break
16924 if test "x
$ac_ct_CC" = x; then
16927 case $cross_compiling:$ac_tool_warned in
16929 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
16930 whose name does not start with the
host triplet. If you think this
16931 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
16932 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
16933 whose name does not start with the
host triplet. If you think this
16934 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
16935 ac_tool_warned=yes ;;
16944 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
16945 See \
`config.log' for more details." >&5
16946 echo "$as_me: error: no acceptable C compiler found in \$PATH
16947 See \`config.log
' for more details." >&2;}
16948 { (exit 1); exit 1; }; }
16950 # Provide some information about the compiler.
16951 echo "$as_me:$LINENO: checking for C compiler version" >&5
16952 ac_compiler=`set X $ac_compile; echo $2`
16953 { (ac_try="$ac_compiler --version >&5"
16954 case "(($ac_try" in
16955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16956 *) ac_try_echo=$ac_try;;
16958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16959 (eval "$ac_compiler --version >&5") 2>&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); }
16963 { (ac_try="$ac_compiler -v >&5"
16964 case "(($ac_try" in
16965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16966 *) ac_try_echo=$ac_try;;
16968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16969 (eval "$ac_compiler -v >&5") 2>&5
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); }
16973 { (ac_try="$ac_compiler -V >&5"
16974 case "(($ac_try" in
16975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16976 *) ac_try_echo=$ac_try;;
16978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16979 (eval "$ac_compiler -V >&5") 2>&5
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); }
16984 cat >conftest.$ac_ext <<_ACEOF
16987 cat confdefs.h >>conftest.$ac_ext
16988 cat >>conftest.$ac_ext <<_ACEOF
16989 /* end confdefs.h. */
16999 ac_clean_files_save=$ac_clean_files
17000 ac_clean_files="$ac_clean_files a.out a.exe b.out"
17001 # Try to create an executable without -o first, disregard a.out.
17002 # It will help us diagnose broken compilers, and finding out an intuition
17004 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
17005 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
17006 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
17008 # List of possible output files, starting from the most likely.
17009 # The algorithm is not robust to junk in `.', hence go to wildcards
(a.
*)
17010 # only as a last resort. b.out is created by i960 compilers.
17011 ac_files
='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
17013 # The IRIX 6 linker writes into existing files which may not be
17014 # executable, retaining their permissions. Remove them first so a
17015 # subsequent execution test works.
17017 for ac_file
in $ac_files
17020 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
17021 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
17026 if { (ac_try
="$ac_link_default"
17027 case "(($ac_try" in
17028 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17029 *) ac_try_echo=$ac_try;;
17031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17032 (eval "$ac_link_default") 2>&5
17034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17035 (exit $ac_status); }; then
17036 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
17037 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
17038 # in a Makefile. We should not override ac_cv_exeext if it was cached,
17039 # so that the user can short-circuit this test for compilers unknown to
17041 for ac_file in $ac_files ''
17043 test -f "$ac_file" || continue
17045 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
17048 # We found the default executable, but exeext='' is most
17052 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
17054 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17056 # We set ac_cv_exeext here because the later test for it is not
17057 # safe: cross compilers may not add the suffix if given an `-o'
17058 # argument, so we may need to know it at that point already.
17059 # Even if this section looks crufty: it has the advantage of
17060 # actually working.
17066 test "$ac_cv_exeext" = no && ac_cv_exeext=
17072 { echo "$as_me:$LINENO: result: $ac_file" >&5
17073 echo "${ECHO_T}$ac_file" >&6; }
17074 if test -z "$ac_file"; then
17075 echo "$as_me: failed program was:" >&5
17076 sed 's
/^
/| /' conftest.$ac_ext >&5
17078 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17079 See \`config.log' for more details.
" >&5
17080 echo "$as_me: error
: C compiler cannot create executables
17081 See \
`config.log' for more details." >&2;}
17082 { (exit 77); exit 77; }; }
17085 ac_exeext=$ac_cv_exeext
17087 # Check that the compiler produces executables we can run. If not, either
17088 # the compiler is broken, or we cross compile.
17089 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17090 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17091 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17092 # If not cross compiling, check that we can run a simple program.
17093 if test "$cross_compiling" != yes; then
17094 if { ac_try='./$ac_file'
17095 { (case "(($ac_try" in
17096 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17097 *) ac_try_echo
=$ac_try;;
17099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17100 (eval "$ac_try") 2>&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); }; }; then
17106 if test "$cross_compiling" = maybe
; then
17107 cross_compiling
=yes
17109 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17110 If you meant to cross compile, use \`--host'.
17111 See \`config.log' for more details." >&5
17112 echo "$as_me: error: cannot run C compiled programs.
17113 If you meant to cross compile, use \`--host'.
17114 See \`config.log' for more details." >&2;}
17115 { (exit 1); exit 1; }; }
17119 { echo "$as_me:$LINENO: result: yes" >&5
17120 echo "${ECHO_T}yes" >&6; }
17122 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
17123 ac_clean_files
=$ac_clean_files_save
17124 # Check that the compiler produces executables we can run. If not, either
17125 # the compiler is broken, or we cross compile.
17126 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17127 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17128 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17129 echo "${ECHO_T}$cross_compiling" >&6; }
17131 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17132 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17133 if { (ac_try
="$ac_link"
17134 case "(($ac_try" in
17135 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17136 *) ac_try_echo=$ac_try;;
17138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17139 (eval "$ac_link") 2>&5
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 (exit $ac_status); }; then
17143 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
17144 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
17145 # work properly (i.e., refer to `conftest.exe'), while it won't with
17147 for ac_file
in conftest.exe conftest conftest.
*; do
17148 test -f "$ac_file" || continue
17150 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
17151 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
17157 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17158 See \`config.log' for more details." >&5
17159 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17160 See \`config.log' for more details." >&2;}
17161 { (exit 1); exit 1; }; }
17164 rm -f conftest
$ac_cv_exeext
17165 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17166 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17168 rm -f conftest.
$ac_ext
17169 EXEEXT
=$ac_cv_exeext
17171 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17172 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17173 if test "${ac_cv_objext+set}" = set; then
17174 echo $ECHO_N "(cached) $ECHO_C" >&6
17176 cat >conftest.
$ac_ext <<_ACEOF
17179 cat confdefs.h
>>conftest.
$ac_ext
17180 cat >>conftest.
$ac_ext <<_ACEOF
17181 /* end confdefs.h. */
17191 rm -f conftest.o conftest.obj
17192 if { (ac_try
="$ac_compile"
17193 case "(($ac_try" in
17194 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17195 *) ac_try_echo=$ac_try;;
17197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17198 (eval "$ac_compile") 2>&5
17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201 (exit $ac_status); }; then
17202 for ac_file in conftest.o conftest.obj conftest.*; do
17203 test -f "$ac_file" || continue;
17205 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17206 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17211 echo "$as_me: failed program was:" >&5
17212 sed 's/^/| /' conftest.$ac_ext >&5
17214 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17215 See \`config.log
' for more details." >&5
17216 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17217 See \`config.log' for more details.
" >&2;}
17218 { (exit 1); exit 1; }; }
17221 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17223 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
17224 echo "${ECHO_T}$ac_cv_objext" >&6; }
17225 OBJEXT=$ac_cv_objext
17227 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
17228 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
17229 if test "${ac_cv_c_compiler_gnu+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. */
17250 rm -f conftest.$ac_objext
17251 if { (ac_try="$ac_compile"
17252 case "(($ac_try" in
17253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17254 *) ac_try_echo=$ac_try;;
17256 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17257 (eval "$ac_compile") 2>conftest.er1
17259 grep -v '^ *+' conftest.er1 >conftest.err
17261 cat conftest.err >&5
17262 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17263 (exit $ac_status); } && {
17264 test -z "$ac_c_werror_flag" ||
17265 test ! -s conftest.err
17266 } && test -s conftest.$ac_objext; then
17267 ac_compiler_gnu=yes
17269 echo "$as_me: failed program was
:" >&5
17270 sed 's/^/| /' conftest.$ac_ext >&5
17275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17276 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17279 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
17280 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17281 GCC=`test $ac_compiler_gnu = yes && echo yes`
17282 ac_test_CFLAGS=${CFLAGS+set}
17283 ac_save_CFLAGS=$CFLAGS
17284 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
17285 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
17286 if test "${ac_cv_prog_cc_g+set}" = set; then
17287 echo $ECHO_N "(cached
) $ECHO_C" >&6
17289 ac_save_c_werror_flag=$ac_c_werror_flag
17290 ac_c_werror_flag=yes
17293 cat >conftest.$ac_ext <<_ACEOF
17296 cat confdefs.h >>conftest.$ac_ext
17297 cat >>conftest.$ac_ext <<_ACEOF
17298 /* end confdefs.h. */
17308 rm -f conftest.$ac_objext
17309 if { (ac_try="$ac_compile"
17310 case "(($ac_try" in
17311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17312 *) ac_try_echo=$ac_try;;
17314 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17315 (eval "$ac_compile") 2>conftest.er1
17317 grep -v '^ *+' conftest.er1 >conftest.err
17319 cat conftest.err >&5
17320 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17321 (exit $ac_status); } && {
17322 test -z "$ac_c_werror_flag" ||
17323 test ! -s conftest.err
17324 } && test -s conftest.$ac_objext; then
17325 ac_cv_prog_cc_g=yes
17327 echo "$as_me: failed program was
:" >&5
17328 sed 's/^/| /' conftest.$ac_ext >&5
17331 cat >conftest.$ac_ext <<_ACEOF
17334 cat confdefs.h >>conftest.$ac_ext
17335 cat >>conftest.$ac_ext <<_ACEOF
17336 /* end confdefs.h. */
17346 rm -f conftest.$ac_objext
17347 if { (ac_try="$ac_compile"
17348 case "(($ac_try" in
17349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17350 *) ac_try_echo=$ac_try;;
17352 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17353 (eval "$ac_compile") 2>conftest.er1
17355 grep -v '^ *+' conftest.er1 >conftest.err
17357 cat conftest.err >&5
17358 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17359 (exit $ac_status); } && {
17360 test -z "$ac_c_werror_flag" ||
17361 test ! -s conftest.err
17362 } && test -s conftest.$ac_objext; then
17365 echo "$as_me: failed program was
:" >&5
17366 sed 's/^/| /' conftest.$ac_ext >&5
17368 ac_c_werror_flag=$ac_save_c_werror_flag
17370 cat >conftest.$ac_ext <<_ACEOF
17373 cat confdefs.h >>conftest.$ac_ext
17374 cat >>conftest.$ac_ext <<_ACEOF
17375 /* end confdefs.h. */
17385 rm -f conftest.$ac_objext
17386 if { (ac_try="$ac_compile"
17387 case "(($ac_try" in
17388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17389 *) ac_try_echo=$ac_try;;
17391 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17392 (eval "$ac_compile") 2>conftest.er1
17394 grep -v '^ *+' conftest.er1 >conftest.err
17396 cat conftest.err >&5
17397 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17398 (exit $ac_status); } && {
17399 test -z "$ac_c_werror_flag" ||
17400 test ! -s conftest.err
17401 } && test -s conftest.$ac_objext; then
17402 ac_cv_prog_cc_g=yes
17404 echo "$as_me: failed program was
:" >&5
17405 sed 's/^/| /' conftest.$ac_ext >&5
17410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17417 ac_c_werror_flag=$ac_save_c_werror_flag
17419 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
17420 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17421 if test "$ac_test_CFLAGS" = set; then
17422 CFLAGS=$ac_save_CFLAGS
17423 elif test $ac_cv_prog_cc_g = yes; then
17424 if test "$GCC" = yes; then
17430 if test "$GCC" = yes; then
17436 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
17437 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
17438 if test "${ac_cv_prog_cc_c89+set}" = set; then
17439 echo $ECHO_N "(cached
) $ECHO_C" >&6
17441 ac_cv_prog_cc_c89=no
17443 cat >conftest.$ac_ext <<_ACEOF
17446 cat confdefs.h >>conftest.$ac_ext
17447 cat >>conftest.$ac_ext <<_ACEOF
17448 /* end confdefs.h. */
17449 #include <stdarg.h>
17451 #include <sys/types.h>
17452 #include <sys/stat.h>
17453 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17454 struct buf { int x; };
17455 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17456 static char *e (p, i)
17462 static char *f (char * (*g) (char **, int), char **p, ...)
17467 s = g (p, va_arg (v,int));
17472 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17473 function prototypes and stuff, but not '\xHH' hex character constants.
17474 These don't provoke an error unfortunately, instead are silently treated
17475 as 'x'. The following induces an error, until -std is added to get
17476 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17477 array size at least. It's necessary to write '\x00'==0 to get something
17478 that's true only with -std. */
17479 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17481 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17482 inside strings and character constants. */
17484 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17486 int test (int i, double x);
17487 struct s1 {int (*f) (int a);};
17488 struct s2 {int (*f) (double a);};
17489 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17495 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17500 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17501 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17503 CC="$ac_save_CC $ac_arg"
17504 rm -f conftest.$ac_objext
17505 if { (ac_try="$ac_compile"
17506 case "(($ac_try" in
17507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17508 *) ac_try_echo=$ac_try;;
17510 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17511 (eval "$ac_compile") 2>conftest.er1
17513 grep -v '^ *+' conftest.er1 >conftest.err
17515 cat conftest.err >&5
17516 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17517 (exit $ac_status); } && {
17518 test -z "$ac_c_werror_flag" ||
17519 test ! -s conftest.err
17520 } && test -s conftest.$ac_objext; then
17521 ac_cv_prog_cc_c89=$ac_arg
17523 echo "$as_me: failed program was
:" >&5
17524 sed 's/^/| /' conftest.$ac_ext >&5
17529 rm -f core conftest.err conftest.$ac_objext
17530 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
17532 rm -f conftest.$ac_ext
17537 case "x
$ac_cv_prog_cc_c89" in
17539 { echo "$as_me:$LINENO: result
: none needed
" >&5
17540 echo "${ECHO_T}none needed
" >&6; } ;;
17542 { echo "$as_me:$LINENO: result
: unsupported
" >&5
17543 echo "${ECHO_T}unsupported
" >&6; } ;;
17545 CC="$CC $ac_cv_prog_cc_c89"
17546 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
17547 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17552 ac_cpp='$CPP $CPPFLAGS'
17553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17561 ac_cpp='$CPP $CPPFLAGS'
17562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17566 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
17567 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
17568 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17569 echo $ECHO_N "(cached
) $ECHO_C" >&6
17571 cat >conftest.$ac_ext <<_ACEOF
17574 cat confdefs.h >>conftest.$ac_ext
17575 cat >>conftest.$ac_ext <<_ACEOF
17576 /* end confdefs.h. */
17582 #ifndef __INTEL_COMPILER
17590 rm -f conftest.$ac_objext
17591 if { (ac_try="$ac_compile"
17592 case "(($ac_try" in
17593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17594 *) ac_try_echo=$ac_try;;
17596 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17597 (eval "$ac_compile") 2>conftest.er1
17599 grep -v '^ *+' conftest.er1 >conftest.err
17601 cat conftest.err >&5
17602 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17603 (exit $ac_status); } && {
17604 test -z "$ac_c_werror_flag" ||
17605 test ! -s conftest.err
17606 } && test -s conftest.$ac_objext; then
17607 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17609 echo "$as_me: failed program was
:" >&5
17610 sed 's/^/| /' conftest.$ac_ext >&5
17612 bakefile_cv_c_compiler___INTEL_COMPILER=no
17616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17620 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17621 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17622 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
17628 ac_cpp='$CPP $CPPFLAGS'
17629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17636 if test "x
$GCC" != "xyes
"; then
17637 if test "xCC
" = "xC
"; then
17638 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
17639 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
17640 if test "${bakefile_cv_c_exto+set}" = set; then
17641 echo $ECHO_N "(cached
) $ECHO_C" >&6
17643 cat >conftest.$ac_ext <<_ACEOF
17646 cat confdefs.h >>conftest.$ac_ext
17647 cat >>conftest.$ac_ext <<_ACEOF
17648 /* end confdefs.h. */
17658 rm -f conftest.$ac_objext conftest.$ac_ext.o
17659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17660 (eval $ac_compile) 2>&5
17662 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17663 (exit $ac_status); }; then
17664 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17666 conftest.$ac_ext.o)
17667 bakefile_cv_c_exto="-ext o
"
17674 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
17675 See \
`config.log' for more details." >&5
17676 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17677 See \`config.log
' for more details." >&2;}
17678 { (exit 1); exit 1; }; }
17682 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17685 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17686 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17687 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17688 if test "c" = "c"; then
17689 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17691 if test "c" = "cxx"; then
17692 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17696 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17697 unset ac_cv_prog_cc_g
17698 ac_test_CFLAGS=${CFLAGS+set}
17699 ac_save_CFLAGS=$CFLAGS
17700 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17701 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17702 if test "${ac_cv_prog_cc_g+set}" = set; then
17703 echo $ECHO_N "(cached) $ECHO_C" >&6
17705 ac_save_c_werror_flag=$ac_c_werror_flag
17706 ac_c_werror_flag=yes
17709 cat >conftest.$ac_ext <<_ACEOF
17712 cat confdefs.h >>conftest.$ac_ext
17713 cat >>conftest.$ac_ext <<_ACEOF
17714 /* end confdefs.h. */
17724 rm -f conftest.$ac_objext
17725 if { (ac_try="$ac_compile"
17726 case "(($ac_try" in
17727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17728 *) ac_try_echo=$ac_try;;
17730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17731 (eval "$ac_compile") 2>conftest.er1
17733 grep -v '^
*+' conftest.er1 >conftest.err
17735 cat conftest.err >&5
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); } && {
17738 test -z "$ac_c_werror_flag" ||
17739 test ! -s conftest.err
17740 } && test -s conftest.$ac_objext; then
17741 ac_cv_prog_cc_g=yes
17743 echo "$as_me: failed program was:" >&5
17744 sed 's
/^
/| /' conftest.$ac_ext >&5
17747 cat >conftest.$ac_ext <<_ACEOF
17750 cat confdefs.h >>conftest.$ac_ext
17751 cat >>conftest.$ac_ext <<_ACEOF
17752 /* end confdefs.h. */
17762 rm -f conftest.$ac_objext
17763 if { (ac_try="$ac_compile"
17764 case "(($ac_try" in
17765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17766 *) ac_try_echo=$ac_try;;
17768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17769 (eval "$ac_compile") 2>conftest.er1
17771 grep -v '^
*+' conftest.er1 >conftest.err
17773 cat conftest.err >&5
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); } && {
17776 test -z "$ac_c_werror_flag" ||
17777 test ! -s conftest.err
17778 } && test -s conftest.$ac_objext; then
17781 echo "$as_me: failed program was:" >&5
17782 sed 's
/^
/| /' conftest.$ac_ext >&5
17784 ac_c_werror_flag=$ac_save_c_werror_flag
17786 cat >conftest.$ac_ext <<_ACEOF
17789 cat confdefs.h >>conftest.$ac_ext
17790 cat >>conftest.$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17801 rm -f conftest.$ac_objext
17802 if { (ac_try="$ac_compile"
17803 case "(($ac_try" in
17804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17805 *) ac_try_echo=$ac_try;;
17807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17808 (eval "$ac_compile") 2>conftest.er1
17810 grep -v '^
*+' conftest.er1 >conftest.err
17812 cat conftest.err >&5
17813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17814 (exit $ac_status); } && {
17815 test -z "$ac_c_werror_flag" ||
17816 test ! -s conftest.err
17817 } && test -s conftest.$ac_objext; then
17818 ac_cv_prog_cc_g=yes
17820 echo "$as_me: failed program was:" >&5
17821 sed 's
/^
/| /' conftest.$ac_ext >&5
17826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17833 ac_c_werror_flag=$ac_save_c_werror_flag
17835 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17836 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17837 if test "$ac_test_CFLAGS" = set; then
17838 CFLAGS=$ac_save_CFLAGS
17839 elif test $ac_cv_prog_cc_g = yes; then
17840 if test "$GCC" = yes; then
17846 if test "$GCC" = yes; then
17860 ac_cpp='$CPP $CPPFLAGS'
17861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17862 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17865 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17866 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17867 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17868 echo $ECHO_N "(cached) $ECHO_C" >&6
17870 cat >conftest.$ac_ext <<_ACEOF
17873 cat confdefs.h >>conftest.$ac_ext
17874 cat >>conftest.$ac_ext <<_ACEOF
17875 /* end confdefs.h. */
17889 rm -f conftest.$ac_objext
17890 if { (ac_try="$ac_compile"
17891 case "(($ac_try" in
17892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17893 *) ac_try_echo=$ac_try;;
17895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17896 (eval "$ac_compile") 2>conftest.er1
17898 grep -v '^
*+' conftest.er1 >conftest.err
17900 cat conftest.err >&5
17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902 (exit $ac_status); } && {
17903 test -z "$ac_c_werror_flag" ||
17904 test ! -s conftest.err
17905 } && test -s conftest.$ac_objext; then
17906 bakefile_cv_c_compiler___xlC__=yes
17908 echo "$as_me: failed program was:" >&5
17909 sed 's
/^
/| /' conftest.$ac_ext >&5
17911 bakefile_cv_c_compiler___xlC__=no
17915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17919 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17920 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17921 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17927 ac_cpp='$CPP $CPPFLAGS'
17928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17929 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17940 ac_cpp='$CPP $CPPFLAGS'
17941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17942 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17945 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17946 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17947 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17948 echo $ECHO_N "(cached) $ECHO_C" >&6
17950 cat >conftest.$ac_ext <<_ACEOF
17953 cat confdefs.h >>conftest.$ac_ext
17954 cat >>conftest.$ac_ext <<_ACEOF
17955 /* end confdefs.h. */
17969 rm -f conftest.$ac_objext
17970 if { (ac_try="$ac_compile"
17971 case "(($ac_try" in
17972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17973 *) ac_try_echo=$ac_try;;
17975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17976 (eval "$ac_compile") 2>conftest.er1
17978 grep -v '^
*+' conftest.er1 >conftest.err
17980 cat conftest.err >&5
17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982 (exit $ac_status); } && {
17983 test -z "$ac_c_werror_flag" ||
17984 test ! -s conftest.err
17985 } && test -s conftest.$ac_objext; then
17986 bakefile_cv_c_compiler___MWERKS__=yes
17988 echo "$as_me: failed program was:" >&5
17989 sed 's
/^
/| /' conftest.$ac_ext >&5
17991 bakefile_cv_c_compiler___MWERKS__=no
17995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17999 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
18000 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
18001 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
18007 ac_cpp='$CPP $CPPFLAGS'
18008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18009 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18017 ac_cpp='$CPP $CPPFLAGS'
18018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18019 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18022 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
18023 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
18024 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
18025 echo $ECHO_N "(cached) $ECHO_C" >&6
18027 cat >conftest.$ac_ext <<_ACEOF
18030 cat confdefs.h >>conftest.$ac_ext
18031 cat >>conftest.$ac_ext <<_ACEOF
18032 /* end confdefs.h. */
18046 rm -f conftest.$ac_objext
18047 if { (ac_try="$ac_compile"
18048 case "(($ac_try" in
18049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18050 *) ac_try_echo=$ac_try;;
18052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18053 (eval "$ac_compile") 2>conftest.er1
18055 grep -v '^
*+' conftest.er1 >conftest.err
18057 cat conftest.err >&5
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); } && {
18060 test -z "$ac_c_werror_flag" ||
18061 test ! -s conftest.err
18062 } && test -s conftest.$ac_objext; then
18063 bakefile_cv_c_compiler___xlC__=yes
18065 echo "$as_me: failed program was:" >&5
18066 sed 's
/^
/| /' conftest.$ac_ext >&5
18068 bakefile_cv_c_compiler___xlC__=no
18072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18076 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18077 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18078 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18084 ac_cpp='$CPP $CPPFLAGS'
18085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18086 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18097 ac_cpp='$CPP $CPPFLAGS'
18098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18099 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18102 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18103 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18104 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18105 echo $ECHO_N "(cached) $ECHO_C" >&6
18107 cat >conftest.$ac_ext <<_ACEOF
18110 cat confdefs.h >>conftest.$ac_ext
18111 cat >>conftest.$ac_ext <<_ACEOF
18112 /* end confdefs.h. */
18118 #ifndef _SGI_COMPILER_VERSION
18126 rm -f conftest.$ac_objext
18127 if { (ac_try="$ac_compile"
18128 case "(($ac_try" in
18129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18130 *) ac_try_echo=$ac_try;;
18132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18133 (eval "$ac_compile") 2>conftest.er1
18135 grep -v '^
*+' conftest.er1 >conftest.err
18137 cat conftest.err >&5
18138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139 (exit $ac_status); } && {
18140 test -z "$ac_c_werror_flag" ||
18141 test ! -s conftest.err
18142 } && test -s conftest.$ac_objext; then
18143 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18145 echo "$as_me: failed program was:" >&5
18146 sed 's
/^
/| /' conftest.$ac_ext >&5
18148 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18156 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18157 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18158 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18164 ac_cpp='$CPP $CPPFLAGS'
18165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18166 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18177 ac_cpp='$CPP $CPPFLAGS'
18178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18179 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18182 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18183 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18184 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18185 echo $ECHO_N "(cached) $ECHO_C" >&6
18187 cat >conftest.$ac_ext <<_ACEOF
18190 cat confdefs.h >>conftest.$ac_ext
18191 cat >>conftest.$ac_ext <<_ACEOF
18192 /* end confdefs.h. */
18206 rm -f conftest.$ac_objext
18207 if { (ac_try="$ac_compile"
18208 case "(($ac_try" in
18209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18210 *) ac_try_echo=$ac_try;;
18212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18213 (eval "$ac_compile") 2>conftest.er1
18215 grep -v '^
*+' conftest.er1 >conftest.err
18217 cat conftest.err >&5
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); } && {
18220 test -z "$ac_c_werror_flag" ||
18221 test ! -s conftest.err
18222 } && test -s conftest.$ac_objext; then
18223 bakefile_cv_c_compiler___SUNPRO_C=yes
18225 echo "$as_me: failed program was:" >&5
18226 sed 's
/^
/| /' conftest.$ac_ext >&5
18228 bakefile_cv_c_compiler___SUNPRO_C=no
18232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18236 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18237 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18238 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18244 ac_cpp='$CPP $CPPFLAGS'
18245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18246 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18257 ac_cpp='$CPP $CPPFLAGS'
18258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18259 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18262 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18263 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18264 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18265 echo $ECHO_N "(cached) $ECHO_C" >&6
18267 cat >conftest.$ac_ext <<_ACEOF
18270 cat confdefs.h >>conftest.$ac_ext
18271 cat >>conftest.$ac_ext <<_ACEOF
18272 /* end confdefs.h. */
18286 rm -f conftest.$ac_objext
18287 if { (ac_try="$ac_compile"
18288 case "(($ac_try" in
18289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18290 *) ac_try_echo=$ac_try;;
18292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18293 (eval "$ac_compile") 2>conftest.er1
18295 grep -v '^
*+' conftest.er1 >conftest.err
18297 cat conftest.err >&5
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); } && {
18300 test -z "$ac_c_werror_flag" ||
18301 test ! -s conftest.err
18302 } && test -s conftest.$ac_objext; then
18303 bakefile_cv_c_compiler___HP_cc=yes
18305 echo "$as_me: failed program was:" >&5
18306 sed 's
/^
/| /' conftest.$ac_ext >&5
18308 bakefile_cv_c_compiler___HP_cc=no
18312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18316 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18317 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18318 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18324 ac_cpp='$CPP $CPPFLAGS'
18325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18326 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18337 ac_cpp='$CPP $CPPFLAGS'
18338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18339 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18342 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18343 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18344 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18345 echo $ECHO_N "(cached) $ECHO_C" >&6
18347 cat >conftest.$ac_ext <<_ACEOF
18350 cat confdefs.h >>conftest.$ac_ext
18351 cat >>conftest.$ac_ext <<_ACEOF
18352 /* end confdefs.h. */
18366 rm -f conftest.$ac_objext
18367 if { (ac_try="$ac_compile"
18368 case "(($ac_try" in
18369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18370 *) ac_try_echo=$ac_try;;
18372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18373 (eval "$ac_compile") 2>conftest.er1
18375 grep -v '^
*+' conftest.er1 >conftest.err
18377 cat conftest.err >&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); } && {
18380 test -z "$ac_c_werror_flag" ||
18381 test ! -s conftest.err
18382 } && test -s conftest.$ac_objext; then
18383 bakefile_cv_c_compiler___DECC=yes
18385 echo "$as_me: failed program was:" >&5
18386 sed 's
/^
/| /' conftest.$ac_ext >&5
18388 bakefile_cv_c_compiler___DECC=no
18392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18396 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18397 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18398 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18404 ac_cpp='$CPP $CPPFLAGS'
18405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18406 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18417 ac_cpp='$CPP $CPPFLAGS'
18418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18419 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18422 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18423 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18424 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18425 echo $ECHO_N "(cached) $ECHO_C" >&6
18427 cat >conftest.$ac_ext <<_ACEOF
18430 cat confdefs.h >>conftest.$ac_ext
18431 cat >>conftest.$ac_ext <<_ACEOF
18432 /* end confdefs.h. */
18446 rm -f conftest.$ac_objext
18447 if { (ac_try="$ac_compile"
18448 case "(($ac_try" in
18449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18450 *) ac_try_echo=$ac_try;;
18452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18453 (eval "$ac_compile") 2>conftest.er1
18455 grep -v '^
*+' conftest.er1 >conftest.err
18457 cat conftest.err >&5
18458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18459 (exit $ac_status); } && {
18460 test -z "$ac_c_werror_flag" ||
18461 test ! -s conftest.err
18462 } && test -s conftest.$ac_objext; then
18463 bakefile_cv_c_compiler___SUNPRO_C=yes
18465 echo "$as_me: failed program was:" >&5
18466 sed 's
/^
/| /' conftest.$ac_ext >&5
18468 bakefile_cv_c_compiler___SUNPRO_C=no
18472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18476 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18477 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18478 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18484 ac_cpp='$CPP $CPPFLAGS'
18485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18486 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18498 ac_cpp='$CPP $CPPFLAGS'
18499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18500 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18502 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18503 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18504 # On Suns, sometimes $CPP names a directory.
18505 if test -n "$CPP" && test -d "$CPP"; then
18508 if test -z "$CPP"; then
18509 if test "${ac_cv_prog_CPP+set}" = set; then
18510 echo $ECHO_N "(cached) $ECHO_C" >&6
18512 # Double quotes because CPP needs to be expanded
18513 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18515 ac_preproc_ok=false
18516 for ac_c_preproc_warn_flag in '' yes
18518 # Use a header file that comes with gcc, so configuring glibc
18519 # with a fresh cross-compiler works.
18520 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18521 # <limits.h> exists even on freestanding compilers.
18522 # On the NeXT, cc -E runs the code through the compiler's parser
,
18523 # not just through cpp. "Syntax error" is here to catch this case.
18524 cat >conftest.
$ac_ext <<_ACEOF
18527 cat confdefs.h
>>conftest.
$ac_ext
18528 cat >>conftest.
$ac_ext <<_ACEOF
18529 /* end confdefs.h. */
18531 # include <limits.h>
18533 # include <assert.h>
18537 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18538 case "(($ac_try" in
18539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18540 *) ac_try_echo=$ac_try;;
18542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18543 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18545 grep -v '^ *+' conftest.er1 >conftest.err
18547 cat conftest.err >&5
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); } >/dev/null && {
18550 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18551 test ! -s conftest.err
18555 echo "$as_me: failed program was:" >&5
18556 sed 's/^/| /' conftest.$ac_ext >&5
18558 # Broken: fails on valid input.
18562 rm -f conftest.err conftest.$ac_ext
18564 # OK, works on sane cases. Now check whether nonexistent headers
18565 # can be detected and how.
18566 cat >conftest.$ac_ext <<_ACEOF
18569 cat confdefs.h >>conftest.$ac_ext
18570 cat >>conftest.$ac_ext <<_ACEOF
18571 /* end confdefs.h. */
18572 #include <ac_nonexistent.h>
18574 if { (ac_try="$ac_cpp conftest.$ac_ext"
18575 case "(($ac_try" in
18576 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18577 *) ac_try_echo
=$ac_try;;
18579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18580 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18582 grep -v '^ *+' conftest.er1
>conftest.err
18584 cat conftest.err
>&5
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); } >/dev
/null
&& {
18587 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18588 test ! -s conftest.err
18590 # Broken: success on invalid input.
18593 echo "$as_me: failed program was:" >&5
18594 sed 's/^/| /' conftest.
$ac_ext >&5
18596 # Passes both tests.
18601 rm -f conftest.err conftest.
$ac_ext
18604 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18605 rm -f conftest.err conftest.
$ac_ext
18606 if $ac_preproc_ok; then
18611 ac_cv_prog_CPP
=$CPP
18614 CPP
=$ac_cv_prog_CPP
18616 ac_cv_prog_CPP
=$CPP
18618 { echo "$as_me:$LINENO: result: $CPP" >&5
18619 echo "${ECHO_T}$CPP" >&6; }
18620 ac_preproc_ok
=false
18621 for ac_c_preproc_warn_flag
in '' yes
18623 # Use a header file that comes with gcc, so configuring glibc
18624 # with a fresh cross-compiler works.
18625 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18626 # <limits.h> exists even on freestanding compilers.
18627 # On the NeXT, cc -E runs the code through the compiler's parser,
18628 # not just through cpp. "Syntax error" is here to catch this case.
18629 cat >conftest.
$ac_ext <<_ACEOF
18632 cat confdefs.h
>>conftest.
$ac_ext
18633 cat >>conftest.
$ac_ext <<_ACEOF
18634 /* end confdefs.h. */
18636 # include <limits.h>
18638 # include <assert.h>
18642 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18643 case "(($ac_try" in
18644 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18645 *) ac_try_echo=$ac_try;;
18647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18648 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18650 grep -v '^ *+' conftest.er1 >conftest.err
18652 cat conftest.err >&5
18653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18654 (exit $ac_status); } >/dev/null && {
18655 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18656 test ! -s conftest.err
18660 echo "$as_me: failed program was:" >&5
18661 sed 's/^/| /' conftest.$ac_ext >&5
18663 # Broken: fails on valid input.
18667 rm -f conftest.err conftest.$ac_ext
18669 # OK, works on sane cases. Now check whether nonexistent headers
18670 # can be detected and how.
18671 cat >conftest.$ac_ext <<_ACEOF
18674 cat confdefs.h >>conftest.$ac_ext
18675 cat >>conftest.$ac_ext <<_ACEOF
18676 /* end confdefs.h. */
18677 #include <ac_nonexistent.h>
18679 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev
/null
&& {
18692 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18693 test ! -s conftest.err
18695 # Broken: success on invalid input.
18698 echo "$as_me: failed program was:" >&5
18699 sed 's/^/| /' conftest.
$ac_ext >&5
18701 # Passes both tests.
18706 rm -f conftest.err conftest.
$ac_ext
18709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18710 rm -f conftest.err conftest.
$ac_ext
18711 if $ac_preproc_ok; then
18714 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18715 See \`config.log' for more details." >&5
18716 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18717 See \`config.log' for more details." >&2;}
18718 { (exit 1); exit 1; }; }
18722 ac_cpp
='$CPP $CPPFLAGS'
18723 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18724 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18725 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18728 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18729 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18730 if test "${ac_cv_path_GREP+set}" = set; then
18731 echo $ECHO_N "(cached) $ECHO_C" >&6
18733 # Extract the first word of "grep ggrep" to use in msg output
18734 if test -z "$GREP"; then
18735 set dummy
grep ggrep
; ac_prog_name
=$2
18736 if test "${ac_cv_path_GREP+set}" = set; then
18737 echo $ECHO_N "(cached) $ECHO_C" >&6
18739 ac_path_GREP_found
=false
18740 # Loop through the user's path and test for each of PROGNAME-LIST
18741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18742 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18745 test -z "$as_dir" && as_dir
=.
18746 for ac_prog
in grep ggrep
; do
18747 for ac_exec_ext
in '' $ac_executable_extensions; do
18748 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
18749 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18750 # Check for GNU ac_path_GREP and select it if it is found.
18751 # Check for GNU $ac_path_GREP
18752 case `"$ac_path_GREP" --version 2>&1` in
18754 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
18757 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18760 cat "conftest.in" "conftest.in" >"conftest.tmp"
18761 mv "conftest.tmp" "conftest.in"
18762 cp "conftest.in" "conftest.nl"
18763 echo 'GREP' >> "conftest.nl"
18764 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18765 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18766 ac_count
=`expr $ac_count + 1`
18767 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18768 # Best one so far, save it but keep looking for a better one
18769 ac_cv_path_GREP
="$ac_path_GREP"
18770 ac_path_GREP_max
=$ac_count
18772 # 10*(2^10) chars as input seems more than enough
18773 test $ac_count -gt 10 && break
18775 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18779 $ac_path_GREP_found && break 3
18789 GREP
="$ac_cv_path_GREP"
18790 if test -z "$GREP"; then
18791 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18792 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18793 { (exit 1); exit 1; }; }
18797 ac_cv_path_GREP
=$GREP
18802 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18803 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18804 GREP
="$ac_cv_path_GREP"
18807 { echo "$as_me:$LINENO: checking for egrep" >&5
18808 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18809 if test "${ac_cv_path_EGREP+set}" = set; then
18810 echo $ECHO_N "(cached) $ECHO_C" >&6
18812 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18813 then ac_cv_path_EGREP
="$GREP -E"
18815 # Extract the first word of "egrep" to use in msg output
18816 if test -z "$EGREP"; then
18817 set dummy
egrep; ac_prog_name
=$2
18818 if test "${ac_cv_path_EGREP+set}" = set; then
18819 echo $ECHO_N "(cached) $ECHO_C" >&6
18821 ac_path_EGREP_found
=false
18822 # Loop through the user's path and test for each of PROGNAME-LIST
18823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18824 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18827 test -z "$as_dir" && as_dir
=.
18828 for ac_prog
in egrep; do
18829 for ac_exec_ext
in '' $ac_executable_extensions; do
18830 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
18831 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18832 # Check for GNU ac_path_EGREP and select it if it is found.
18833 # Check for GNU $ac_path_EGREP
18834 case `"$ac_path_EGREP" --version 2>&1` in
18836 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18839 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18842 cat "conftest.in" "conftest.in" >"conftest.tmp"
18843 mv "conftest.tmp" "conftest.in"
18844 cp "conftest.in" "conftest.nl"
18845 echo 'EGREP' >> "conftest.nl"
18846 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18847 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18848 ac_count
=`expr $ac_count + 1`
18849 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18850 # Best one so far, save it but keep looking for a better one
18851 ac_cv_path_EGREP
="$ac_path_EGREP"
18852 ac_path_EGREP_max
=$ac_count
18854 # 10*(2^10) chars as input seems more than enough
18855 test $ac_count -gt 10 && break
18857 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18861 $ac_path_EGREP_found && break 3
18871 EGREP
="$ac_cv_path_EGREP"
18872 if test -z "$EGREP"; then
18873 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18874 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18875 { (exit 1); exit 1; }; }
18879 ac_cv_path_EGREP
=$EGREP
18885 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18886 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18887 EGREP
="$ac_cv_path_EGREP"
18890 if test $ac_cv_c_compiler_gnu = yes; then
18891 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18892 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18893 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18894 echo $ECHO_N "(cached) $ECHO_C" >&6
18896 ac_pattern
="Autoconf.*'x'"
18897 cat >conftest.
$ac_ext <<_ACEOF
18900 cat confdefs.h
>>conftest.
$ac_ext
18901 cat >>conftest.
$ac_ext <<_ACEOF
18902 /* end confdefs.h. */
18906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18907 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18908 ac_cv_prog_gcc_traditional
=yes
18910 ac_cv_prog_gcc_traditional
=no
18915 if test $ac_cv_prog_gcc_traditional = no
; then
18916 cat >conftest.
$ac_ext <<_ACEOF
18919 cat confdefs.h
>>conftest.
$ac_ext
18920 cat >>conftest.
$ac_ext <<_ACEOF
18921 /* end confdefs.h. */
18922 #include <termio.h>
18925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18926 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18927 ac_cv_prog_gcc_traditional
=yes
18933 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18934 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18935 if test $ac_cv_prog_gcc_traditional = yes; then
18936 CC
="$CC -traditional"
18941 CXXFLAGS
=${CXXFLAGS:=}
18946 ac_cpp
='$CXXCPP $CPPFLAGS'
18947 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18948 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18949 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18950 if test -z "$CXX"; then
18951 if test -n "$CCC"; then
18954 if test -n "$ac_tool_prefix"; then
18955 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18957 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18958 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18959 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18961 if test "${ac_cv_prog_CXX+set}" = set; then
18962 echo $ECHO_N "(cached) $ECHO_C" >&6
18964 if test -n "$CXX"; then
18965 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18968 for as_dir
in $PATH
18971 test -z "$as_dir" && as_dir
=.
18972 for ac_exec_ext
in '' $ac_executable_extensions; do
18973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18974 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18984 CXX
=$ac_cv_prog_CXX
18985 if test -n "$CXX"; then
18986 { echo "$as_me:$LINENO: result: $CXX" >&5
18987 echo "${ECHO_T}$CXX" >&6; }
18989 { echo "$as_me:$LINENO: result: no" >&5
18990 echo "${ECHO_T}no" >&6; }
18994 test -n "$CXX" && break
18997 if test -z "$CXX"; then
18999 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
19001 # Extract the first word of "$ac_prog", so it can be a program name with args.
19002 set dummy
$ac_prog; ac_word
=$2
19003 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19005 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
19006 echo $ECHO_N "(cached) $ECHO_C" >&6
19008 if test -n "$ac_ct_CXX"; then
19009 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
19011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19012 for as_dir
in $PATH
19015 test -z "$as_dir" && as_dir
=.
19016 for ac_exec_ext
in '' $ac_executable_extensions; do
19017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19018 ac_cv_prog_ac_ct_CXX
="$ac_prog"
19019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19028 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
19029 if test -n "$ac_ct_CXX"; then
19030 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19031 echo "${ECHO_T}$ac_ct_CXX" >&6; }
19033 { echo "$as_me:$LINENO: result: no" >&5
19034 echo "${ECHO_T}no" >&6; }
19038 test -n "$ac_ct_CXX" && break
19041 if test "x$ac_ct_CXX" = x
; then
19044 case $cross_compiling:$ac_tool_warned in
19046 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19047 whose name does not start with the host triplet. If you think this
19048 configuration is useful to you, please write to autoconf@gnu.org." >&5
19049 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19050 whose name does not start with the host triplet. If you think this
19051 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19052 ac_tool_warned
=yes ;;
19060 # Provide some information about the compiler.
19061 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19062 ac_compiler
=`set X $ac_compile; echo $2`
19063 { (ac_try
="$ac_compiler --version >&5"
19064 case "(($ac_try" in
19065 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19066 *) ac_try_echo=$ac_try;;
19068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19069 (eval "$ac_compiler --version >&5") 2>&5
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); }
19073 { (ac_try="$ac_compiler -v >&5"
19074 case "(($ac_try" in
19075 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19076 *) ac_try_echo
=$ac_try;;
19078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19079 (eval "$ac_compiler -v >&5") 2>&5
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); }
19083 { (ac_try
="$ac_compiler -V >&5"
19084 case "(($ac_try" in
19085 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19086 *) ac_try_echo=$ac_try;;
19088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19089 (eval "$ac_compiler -V >&5") 2>&5
19091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092 (exit $ac_status); }
19094 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19095 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19096 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19097 echo $ECHO_N "(cached) $ECHO_C" >&6
19099 cat >conftest.$ac_ext <<_ACEOF
19102 cat confdefs.h >>conftest.$ac_ext
19103 cat >>conftest.$ac_ext <<_ACEOF
19104 /* end confdefs.h. */
19117 rm -f conftest.$ac_objext
19118 if { (ac_try="$ac_compile"
19119 case "(($ac_try" in
19120 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19121 *) ac_try_echo
=$ac_try;;
19123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19124 (eval "$ac_compile") 2>conftest.er1
19126 grep -v '^ *+' conftest.er1
>conftest.err
19128 cat conftest.err
>&5
19129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19130 (exit $ac_status); } && {
19131 test -z "$ac_cxx_werror_flag" ||
19132 test ! -s conftest.err
19133 } && test -s conftest.
$ac_objext; then
19134 ac_compiler_gnu
=yes
19136 echo "$as_me: failed program was:" >&5
19137 sed 's/^/| /' conftest.
$ac_ext >&5
19142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19143 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
19146 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19147 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19148 GXX
=`test $ac_compiler_gnu = yes && echo yes`
19149 ac_test_CXXFLAGS
=${CXXFLAGS+set}
19150 ac_save_CXXFLAGS
=$CXXFLAGS
19151 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19152 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19153 if test "${ac_cv_prog_cxx_g+set}" = set; then
19154 echo $ECHO_N "(cached) $ECHO_C" >&6
19156 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
19157 ac_cxx_werror_flag
=yes
19158 ac_cv_prog_cxx_g
=no
19160 cat >conftest.
$ac_ext <<_ACEOF
19163 cat confdefs.h
>>conftest.
$ac_ext
19164 cat >>conftest.
$ac_ext <<_ACEOF
19165 /* end confdefs.h. */
19175 rm -f conftest.
$ac_objext
19176 if { (ac_try
="$ac_compile"
19177 case "(($ac_try" in
19178 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19179 *) ac_try_echo=$ac_try;;
19181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19182 (eval "$ac_compile") 2>conftest.er1
19184 grep -v '^ *+' conftest.er1 >conftest.err
19186 cat conftest.err >&5
19187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188 (exit $ac_status); } && {
19189 test -z "$ac_cxx_werror_flag" ||
19190 test ! -s conftest.err
19191 } && test -s conftest.$ac_objext; then
19192 ac_cv_prog_cxx_g=yes
19194 echo "$as_me: failed program was:" >&5
19195 sed 's/^/| /' conftest.$ac_ext >&5
19198 cat >conftest.$ac_ext <<_ACEOF
19201 cat confdefs.h >>conftest.$ac_ext
19202 cat >>conftest.$ac_ext <<_ACEOF
19203 /* end confdefs.h. */
19213 rm -f conftest.$ac_objext
19214 if { (ac_try="$ac_compile"
19215 case "(($ac_try" in
19216 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19217 *) ac_try_echo
=$ac_try;;
19219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19220 (eval "$ac_compile") 2>conftest.er1
19222 grep -v '^ *+' conftest.er1
>conftest.err
19224 cat conftest.err
>&5
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); } && {
19227 test -z "$ac_cxx_werror_flag" ||
19228 test ! -s conftest.err
19229 } && test -s conftest.
$ac_objext; then
19232 echo "$as_me: failed program was:" >&5
19233 sed 's/^/| /' conftest.
$ac_ext >&5
19235 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
19237 cat >conftest.
$ac_ext <<_ACEOF
19240 cat confdefs.h
>>conftest.
$ac_ext
19241 cat >>conftest.
$ac_ext <<_ACEOF
19242 /* end confdefs.h. */
19252 rm -f conftest.
$ac_objext
19253 if { (ac_try
="$ac_compile"
19254 case "(($ac_try" in
19255 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19256 *) ac_try_echo=$ac_try;;
19258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19259 (eval "$ac_compile") 2>conftest.er1
19261 grep -v '^ *+' conftest.er1 >conftest.err
19263 cat conftest.err >&5
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); } && {
19266 test -z "$ac_cxx_werror_flag" ||
19267 test ! -s conftest.err
19268 } && test -s conftest.$ac_objext; then
19269 ac_cv_prog_cxx_g=yes
19271 echo "$as_me: failed program was:" >&5
19272 sed 's/^/| /' conftest.$ac_ext >&5
19277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19284 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19286 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19287 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19288 if test "$ac_test_CXXFLAGS" = set; then
19289 CXXFLAGS=$ac_save_CXXFLAGS
19290 elif test $ac_cv_prog_cxx_g = yes; then
19291 if test "$GXX" = yes; then
19297 if test "$GXX" = yes; then
19304 ac_cpp='$CPP $CPPFLAGS'
19305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19313 ac_cpp='$CXXCPP $CPPFLAGS'
19314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19318 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19319 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19320 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19321 echo $ECHO_N "(cached) $ECHO_C" >&6
19323 cat >conftest.$ac_ext <<_ACEOF
19326 cat confdefs.h >>conftest.$ac_ext
19327 cat >>conftest.$ac_ext <<_ACEOF
19328 /* end confdefs.h. */
19334 #ifndef __INTEL_COMPILER
19342 rm -f conftest.$ac_objext
19343 if { (ac_try="$ac_compile"
19344 case "(($ac_try" in
19345 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19346 *) ac_try_echo
=$ac_try;;
19348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19349 (eval "$ac_compile") 2>conftest.er1
19351 grep -v '^ *+' conftest.er1
>conftest.err
19353 cat conftest.err
>&5
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); } && {
19356 test -z "$ac_cxx_werror_flag" ||
19357 test ! -s conftest.err
19358 } && test -s conftest.
$ac_objext; then
19359 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
19361 echo "$as_me: failed program was:" >&5
19362 sed 's/^/| /' conftest.
$ac_ext >&5
19364 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
19368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19372 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19373 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19374 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19380 ac_cpp
='$CPP $CPPFLAGS'
19381 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19382 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19383 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19388 if test "x$GCXX" != "xyes"; then
19389 if test "xCXX" = "xC"; then
19390 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19391 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19392 if test "${bakefile_cv_c_exto+set}" = set; then
19393 echo $ECHO_N "(cached) $ECHO_C" >&6
19395 cat >conftest.
$ac_ext <<_ACEOF
19398 cat confdefs.h
>>conftest.
$ac_ext
19399 cat >>conftest.
$ac_ext <<_ACEOF
19400 /* end confdefs.h. */
19410 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
19411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19412 (eval $ac_compile) 2>&5
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); }; then
19416 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
19418 conftest.
$ac_ext.o
)
19419 bakefile_cv_c_exto
="-ext o"
19426 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19427 See \`config.log' for more details." >&5
19428 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19429 See \`config.log' for more details." >&2;}
19430 { (exit 1); exit 1; }; }
19434 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
19437 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19438 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19439 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19440 if test "c" = "c"; then
19441 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
19443 if test "c" = "cxx"; then
19444 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
19448 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19449 unset ac_cv_prog_cc_g
19450 ac_test_CFLAGS
=${CFLAGS+set}
19451 ac_save_CFLAGS
=$CFLAGS
19452 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19453 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19454 if test "${ac_cv_prog_cc_g+set}" = set; then
19455 echo $ECHO_N "(cached) $ECHO_C" >&6
19457 ac_save_c_werror_flag
=$ac_c_werror_flag
19458 ac_c_werror_flag
=yes
19461 cat >conftest.
$ac_ext <<_ACEOF
19464 cat confdefs.h
>>conftest.
$ac_ext
19465 cat >>conftest.
$ac_ext <<_ACEOF
19466 /* end confdefs.h. */
19476 rm -f conftest.
$ac_objext
19477 if { (ac_try
="$ac_compile"
19478 case "(($ac_try" in
19479 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19480 *) ac_try_echo=$ac_try;;
19482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19483 (eval "$ac_compile") 2>conftest.er1
19485 grep -v '^ *+' conftest.er1 >conftest.err
19487 cat conftest.err >&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); } && {
19490 test -z "$ac_c_werror_flag" ||
19491 test ! -s conftest.err
19492 } && test -s conftest.$ac_objext; then
19493 ac_cv_prog_cc_g=yes
19495 echo "$as_me: failed program was:" >&5
19496 sed 's/^/| /' conftest.$ac_ext >&5
19499 cat >conftest.$ac_ext <<_ACEOF
19502 cat confdefs.h >>conftest.$ac_ext
19503 cat >>conftest.$ac_ext <<_ACEOF
19504 /* end confdefs.h. */
19514 rm -f conftest.$ac_objext
19515 if { (ac_try="$ac_compile"
19516 case "(($ac_try" in
19517 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19518 *) ac_try_echo
=$ac_try;;
19520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19521 (eval "$ac_compile") 2>conftest.er1
19523 grep -v '^ *+' conftest.er1
>conftest.err
19525 cat conftest.err
>&5
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); } && {
19528 test -z "$ac_c_werror_flag" ||
19529 test ! -s conftest.err
19530 } && test -s conftest.
$ac_objext; then
19533 echo "$as_me: failed program was:" >&5
19534 sed 's/^/| /' conftest.
$ac_ext >&5
19536 ac_c_werror_flag
=$ac_save_c_werror_flag
19538 cat >conftest.
$ac_ext <<_ACEOF
19541 cat confdefs.h
>>conftest.
$ac_ext
19542 cat >>conftest.
$ac_ext <<_ACEOF
19543 /* end confdefs.h. */
19553 rm -f conftest.
$ac_objext
19554 if { (ac_try
="$ac_compile"
19555 case "(($ac_try" in
19556 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19557 *) ac_try_echo=$ac_try;;
19559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19560 (eval "$ac_compile") 2>conftest.er1
19562 grep -v '^ *+' conftest.er1 >conftest.err
19564 cat conftest.err >&5
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); } && {
19567 test -z "$ac_c_werror_flag" ||
19568 test ! -s conftest.err
19569 } && test -s conftest.$ac_objext; then
19570 ac_cv_prog_cc_g=yes
19572 echo "$as_me: failed program was:" >&5
19573 sed 's/^/| /' conftest.$ac_ext >&5
19578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19585 ac_c_werror_flag=$ac_save_c_werror_flag
19587 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19588 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19589 if test "$ac_test_CFLAGS" = set; then
19590 CFLAGS=$ac_save_CFLAGS
19591 elif test $ac_cv_prog_cc_g = yes; then
19592 if test "$GCC" = yes; then
19598 if test "$GCC" = yes; then
19612 ac_cpp='$CXXCPP $CPPFLAGS'
19613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19617 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19618 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19619 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19620 echo $ECHO_N "(cached) $ECHO_C" >&6
19622 cat >conftest.$ac_ext <<_ACEOF
19625 cat confdefs.h >>conftest.$ac_ext
19626 cat >>conftest.$ac_ext <<_ACEOF
19627 /* end confdefs.h. */
19641 rm -f conftest.$ac_objext
19642 if { (ac_try="$ac_compile"
19643 case "(($ac_try" in
19644 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19645 *) ac_try_echo
=$ac_try;;
19647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19648 (eval "$ac_compile") 2>conftest.er1
19650 grep -v '^ *+' conftest.er1
>conftest.err
19652 cat conftest.err
>&5
19653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19654 (exit $ac_status); } && {
19655 test -z "$ac_cxx_werror_flag" ||
19656 test ! -s conftest.err
19657 } && test -s conftest.
$ac_objext; then
19658 bakefile_cv_cxx_compiler___xlC__
=yes
19660 echo "$as_me: failed program was:" >&5
19661 sed 's/^/| /' conftest.
$ac_ext >&5
19663 bakefile_cv_cxx_compiler___xlC__
=no
19667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19671 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19672 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19673 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19679 ac_cpp
='$CPP $CPPFLAGS'
19680 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19681 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19682 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19692 ac_cpp
='$CXXCPP $CPPFLAGS'
19693 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19694 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19695 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19697 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19698 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19699 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19700 echo $ECHO_N "(cached) $ECHO_C" >&6
19702 cat >conftest.
$ac_ext <<_ACEOF
19705 cat confdefs.h
>>conftest.
$ac_ext
19706 cat >>conftest.
$ac_ext <<_ACEOF
19707 /* end confdefs.h. */
19721 rm -f conftest.
$ac_objext
19722 if { (ac_try
="$ac_compile"
19723 case "(($ac_try" in
19724 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19725 *) ac_try_echo=$ac_try;;
19727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19728 (eval "$ac_compile") 2>conftest.er1
19730 grep -v '^ *+' conftest.er1 >conftest.err
19732 cat conftest.err >&5
19733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19734 (exit $ac_status); } && {
19735 test -z "$ac_cxx_werror_flag" ||
19736 test ! -s conftest.err
19737 } && test -s conftest.$ac_objext; then
19738 bakefile_cv_cxx_compiler___MWERKS__=yes
19740 echo "$as_me: failed program was:" >&5
19741 sed 's/^/| /' conftest.$ac_ext >&5
19743 bakefile_cv_cxx_compiler___MWERKS__=no
19747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19751 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19752 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19753 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19759 ac_cpp='$CPP $CPPFLAGS'
19760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19769 ac_cpp='$CXXCPP $CPPFLAGS'
19770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19774 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19775 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19776 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19777 echo $ECHO_N "(cached) $ECHO_C" >&6
19779 cat >conftest.$ac_ext <<_ACEOF
19782 cat confdefs.h >>conftest.$ac_ext
19783 cat >>conftest.$ac_ext <<_ACEOF
19784 /* end confdefs.h. */
19798 rm -f conftest.$ac_objext
19799 if { (ac_try="$ac_compile"
19800 case "(($ac_try" in
19801 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19802 *) ac_try_echo
=$ac_try;;
19804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19805 (eval "$ac_compile") 2>conftest.er1
19807 grep -v '^ *+' conftest.er1
>conftest.err
19809 cat conftest.err
>&5
19810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19811 (exit $ac_status); } && {
19812 test -z "$ac_cxx_werror_flag" ||
19813 test ! -s conftest.err
19814 } && test -s conftest.
$ac_objext; then
19815 bakefile_cv_cxx_compiler___xlC__
=yes
19817 echo "$as_me: failed program was:" >&5
19818 sed 's/^/| /' conftest.
$ac_ext >&5
19820 bakefile_cv_cxx_compiler___xlC__
=no
19824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19828 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19829 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19830 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19836 ac_cpp
='$CPP $CPPFLAGS'
19837 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19838 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19839 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19849 ac_cpp
='$CXXCPP $CPPFLAGS'
19850 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19851 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19852 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19854 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19855 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19856 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19857 echo $ECHO_N "(cached) $ECHO_C" >&6
19859 cat >conftest.
$ac_ext <<_ACEOF
19862 cat confdefs.h
>>conftest.
$ac_ext
19863 cat >>conftest.
$ac_ext <<_ACEOF
19864 /* end confdefs.h. */
19870 #ifndef _SGI_COMPILER_VERSION
19878 rm -f conftest.
$ac_objext
19879 if { (ac_try
="$ac_compile"
19880 case "(($ac_try" in
19881 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19882 *) ac_try_echo=$ac_try;;
19884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19885 (eval "$ac_compile") 2>conftest.er1
19887 grep -v '^ *+' conftest.er1 >conftest.err
19889 cat conftest.err >&5
19890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891 (exit $ac_status); } && {
19892 test -z "$ac_cxx_werror_flag" ||
19893 test ! -s conftest.err
19894 } && test -s conftest.$ac_objext; then
19895 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19897 echo "$as_me: failed program was:" >&5
19898 sed 's/^/| /' conftest.$ac_ext >&5
19900 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19908 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19909 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19910 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19916 ac_cpp='$CPP $CPPFLAGS'
19917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19929 ac_cpp='$CXXCPP $CPPFLAGS'
19930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19934 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19935 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19936 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19937 echo $ECHO_N "(cached) $ECHO_C" >&6
19939 cat >conftest.$ac_ext <<_ACEOF
19942 cat confdefs.h >>conftest.$ac_ext
19943 cat >>conftest.$ac_ext <<_ACEOF
19944 /* end confdefs.h. */
19950 #ifndef __SUNPRO_CC
19958 rm -f conftest.$ac_objext
19959 if { (ac_try="$ac_compile"
19960 case "(($ac_try" in
19961 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19962 *) ac_try_echo
=$ac_try;;
19964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19965 (eval "$ac_compile") 2>conftest.er1
19967 grep -v '^ *+' conftest.er1
>conftest.err
19969 cat conftest.err
>&5
19970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19971 (exit $ac_status); } && {
19972 test -z "$ac_cxx_werror_flag" ||
19973 test ! -s conftest.err
19974 } && test -s conftest.
$ac_objext; then
19975 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
19977 echo "$as_me: failed program was:" >&5
19978 sed 's/^/| /' conftest.
$ac_ext >&5
19980 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
19984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19988 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19989 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19990 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19996 ac_cpp
='$CPP $CPPFLAGS'
19997 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19998 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19999 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20009 ac_cpp
='$CXXCPP $CPPFLAGS'
20010 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20011 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20012 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20014 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
20015 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
20016 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
20017 echo $ECHO_N "(cached) $ECHO_C" >&6
20019 cat >conftest.
$ac_ext <<_ACEOF
20022 cat confdefs.h
>>conftest.
$ac_ext
20023 cat >>conftest.
$ac_ext <<_ACEOF
20024 /* end confdefs.h. */
20038 rm -f conftest.
$ac_objext
20039 if { (ac_try
="$ac_compile"
20040 case "(($ac_try" in
20041 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20042 *) ac_try_echo=$ac_try;;
20044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20045 (eval "$ac_compile") 2>conftest.er1
20047 grep -v '^ *+' conftest.er1 >conftest.err
20049 cat conftest.err >&5
20050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20051 (exit $ac_status); } && {
20052 test -z "$ac_cxx_werror_flag" ||
20053 test ! -s conftest.err
20054 } && test -s conftest.$ac_objext; then
20055 bakefile_cv_cxx_compiler___HP_aCC=yes
20057 echo "$as_me: failed program was:" >&5
20058 sed 's/^/| /' conftest.$ac_ext >&5
20060 bakefile_cv_cxx_compiler___HP_aCC=no
20064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20068 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20069 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20070 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20076 ac_cpp='$CPP $CPPFLAGS'
20077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20089 ac_cpp='$CXXCPP $CPPFLAGS'
20090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20094 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20095 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20096 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20097 echo $ECHO_N "(cached) $ECHO_C" >&6
20099 cat >conftest.$ac_ext <<_ACEOF
20102 cat confdefs.h >>conftest.$ac_ext
20103 cat >>conftest.$ac_ext <<_ACEOF
20104 /* end confdefs.h. */
20118 rm -f conftest.$ac_objext
20119 if { (ac_try="$ac_compile"
20120 case "(($ac_try" in
20121 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20122 *) ac_try_echo
=$ac_try;;
20124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20125 (eval "$ac_compile") 2>conftest.er1
20127 grep -v '^ *+' conftest.er1
>conftest.err
20129 cat conftest.err
>&5
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); } && {
20132 test -z "$ac_cxx_werror_flag" ||
20133 test ! -s conftest.err
20134 } && test -s conftest.
$ac_objext; then
20135 bakefile_cv_cxx_compiler___DECCXX
=yes
20137 echo "$as_me: failed program was:" >&5
20138 sed 's/^/| /' conftest.
$ac_ext >&5
20140 bakefile_cv_cxx_compiler___DECCXX
=no
20144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20148 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20149 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20150 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20156 ac_cpp
='$CPP $CPPFLAGS'
20157 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20158 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20159 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20169 ac_cpp
='$CXXCPP $CPPFLAGS'
20170 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20171 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20172 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20174 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20175 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20176 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20177 echo $ECHO_N "(cached) $ECHO_C" >&6
20179 cat >conftest.
$ac_ext <<_ACEOF
20182 cat confdefs.h
>>conftest.
$ac_ext
20183 cat >>conftest.
$ac_ext <<_ACEOF
20184 /* end confdefs.h. */
20190 #ifndef __SUNPRO_CC
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_cxx_werror_flag" ||
20213 test ! -s conftest.err
20214 } && test -s conftest.$ac_objext; then
20215 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20217 echo "$as_me: failed program was:" >&5
20218 sed 's/^/| /' conftest.$ac_ext >&5
20220 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20228 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20229 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20230 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20236 ac_cpp='$CPP $CPPFLAGS'
20237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20249 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20250 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20251 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20252 { (exit 1); exit 1; }; }
20255 if test "x$SUNCXX" != xyes; then
20256 if test -n "$ac_tool_prefix"; then
20257 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20258 set dummy ${ac_tool_prefix}ar; ac_word=$2
20259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20261 if test "${ac_cv_prog_AR+set}" = set; then
20262 echo $ECHO_N "(cached) $ECHO_C" >&6
20264 if test -n "$AR"; then
20265 ac_cv_prog_AR="$AR" # Let the user override the test.
20267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20268 for as_dir in $PATH
20271 test -z "$as_dir" && as_dir=.
20272 for ac_exec_ext in '' $ac_executable_extensions; do
20273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20274 ac_cv_prog_AR="${ac_tool_prefix}ar"
20275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20285 if test -n "$AR"; then
20286 { echo "$as_me:$LINENO: result: $AR" >&5
20287 echo "${ECHO_T}$AR" >&6; }
20289 { echo "$as_me:$LINENO: result: no" >&5
20290 echo "${ECHO_T}no" >&6; }
20295 if test -z "$ac_cv_prog_AR"; then
20297 # Extract the first word of "ar", so it can be a program name with args.
20298 set dummy ar; ac_word=$2
20299 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20301 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20302 echo $ECHO_N "(cached) $ECHO_C" >&6
20304 if test -n "$ac_ct_AR"; then
20305 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20308 for as_dir in $PATH
20311 test -z "$as_dir" && as_dir=.
20312 for ac_exec_ext in '' $ac_executable_extensions; do
20313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20314 ac_cv_prog_ac_ct_AR="ar"
20315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20324 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20325 if test -n "$ac_ct_AR"; then
20326 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20327 echo "${ECHO_T}$ac_ct_AR" >&6; }
20329 { echo "$as_me:$LINENO: result: no" >&5
20330 echo "${ECHO_T}no" >&6; }
20333 if test "x$ac_ct_AR" = x; then
20336 case $cross_compiling:$ac_tool_warned in
20338 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20339 whose name does not start with the host triplet. If you think this
20340 configuration is useful to you, please write to autoconf@gnu.org." >&5
20341 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20342 whose name does not start with the host triplet. If you think this
20343 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20344 ac_tool_warned=yes ;;
20349 AR="$ac_cv_prog_AR"
20352 if test "x$AR" = "x" ; then
20353 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20354 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20355 { (exit 1); exit 1; }; }
20359 retest_macosx_linking=no
20361 #if test "$wxUSE_MAC" = 1; then
20362 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20363 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20364 # Implicitly turn on the new --with-macosx-sdk using the default
20365 # SDK which provides the behavior this option has always had.
20366 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20367 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20368 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20369 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20370 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20371 wxUSE_MACOSX_SDK=yes
20374 # Complain to user if he specified an argument to --enable-universal_binary
20375 # and also 1) specified --with-macosx-sdk using the default (yes) or
20376 # 2) specified --with-macosx-sdk using a path or 3) specified
20377 # --without-macosx-sdk (no).
20378 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20379 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20380 See \`config.log
' for more details." >&5
20381 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20382 See \`config.log' for more details.
" >&2;}
20383 { (exit 1); exit 1; }; }
20385 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20386 # special-case the empty string because the below test simply
20387 # converts "no
" to the empty string anyway.
20388 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20389 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
20390 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
20393 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
20394 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20395 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20396 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20397 retest_macosx_linking=yes
20399 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
20400 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
20405 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
20407 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
20408 # TODO: Search for most recent SDK and use it.
20409 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
20413 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
20414 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
20415 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
20416 if ! test -d "$wxUSE_MACOSX_SDK"; then
20417 { { echo "$as_me:$LINENO: error
: not found
20418 See \
`config.log' for more details." >&5
20419 echo "$as_me: error: not found
20420 See \`config.log
' for more details." >&2;}
20421 { (exit 1); exit 1; }; }
20423 { echo "$as_me:$LINENO: result: exists" >&5
20424 echo "${ECHO_T}exists" >&6; }
20426 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20427 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20428 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20429 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20430 retest_macosx_linking=yes
20433 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20434 wxUSE_MACOSX_VERSION_MIN=
20435 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20436 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20437 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20438 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20440 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^
*"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\
{0,1\
} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\
{0,1\
}MACOSX_DEPLOYMENT_TARGET
"\{0,1\} *= *"\
{0,1\
}\
([^
"]*\)"\
{0,1\
} *; *$
/\
1/'`
20442 # If that failed, try again with the new key
20443 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
20445 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | grep '^
*"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\
{0,1\
} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\
{0,1\
}MACOSX_DEPLOYMENT_TARGET
"\{0,1\} *= *"\
{0,1\
}\
([^
"]*\)"\
{0,1\
} *; *$
/\
1/'`
20449 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20450 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20451 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20452 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20454 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20455 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20456 wxUSE_MACOSX_VERSION_MIN=
20459 wxUSE_MACOSX_VERSION_MIN=
20463 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20464 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20465 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20466 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20467 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20468 retest_macosx_linking=yes
20471 if test "x$retest_macosx_linking" = "xyes"; then
20473 ac_cpp='$CPP $CPPFLAGS'
20474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
20475 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
20476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20478 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20479 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20480 cat >conftest.$ac_ext <<_ACEOF
20483 cat confdefs.h >>conftest.$ac_ext
20484 cat >>conftest.$ac_ext <<_ACEOF
20485 /* end confdefs.h. */
20495 rm -f conftest.$ac_objext conftest$ac_exeext
20496 if { (ac_try="$ac_link"
20497 case "(($ac_try" in
20498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20499 *) ac_try_echo=$ac_try;;
20501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20502 (eval "$ac_link") 2>conftest.er1
20504 grep -v '^
*+' conftest.er1 >conftest.err
20506 cat conftest.err >&5
20507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20508 (exit $ac_status); } && {
20509 test -z "$ac_c_werror_flag" ||
20510 test ! -s conftest.err
20511 } && test -s conftest$ac_exeext &&
20512 $as_test_x conftest$ac_exeext; then
20513 { echo "$as_me:$LINENO: result: yes" >&5
20514 echo "${ECHO_T}yes" >&6; }
20516 echo "$as_me: failed program was:" >&5
20517 sed 's
/^
/| /' conftest.$ac_ext >&5
20519 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20520 See \`config.log' for more details.
" >&5
20521 echo "$as_me: error
: no. Try a different SDK
20522 See \
`config.log' for more details." >&2;}
20523 { (exit 1); exit 1; }; }; exit 1
20526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20527 conftest$ac_exeext conftest.$ac_ext
20529 ac_cpp='$CPP $CPPFLAGS'
20530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20536 ac_cpp='$CXXCPP $CPPFLAGS'
20537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20541 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20542 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20543 cat >conftest.$ac_ext <<_ACEOF
20546 cat confdefs.h >>conftest.$ac_ext
20547 cat >>conftest.$ac_ext <<_ACEOF
20548 /* end confdefs.h. */
20558 rm -f conftest.$ac_objext conftest$ac_exeext
20559 if { (ac_try="$ac_link"
20560 case "(($ac_try" in
20561 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20562 *) ac_try_echo
=$ac_try;;
20564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20565 (eval "$ac_link") 2>conftest.er1
20567 grep -v '^ *+' conftest.er1
>conftest.err
20569 cat conftest.err
>&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); } && {
20572 test -z "$ac_cxx_werror_flag" ||
20573 test ! -s conftest.err
20574 } && test -s conftest
$ac_exeext &&
20575 $as_test_x conftest
$ac_exeext; then
20576 { echo "$as_me:$LINENO: result: yes" >&5
20577 echo "${ECHO_T}yes" >&6; }
20579 echo "$as_me: failed program was:" >&5
20580 sed 's/^/| /' conftest.
$ac_ext >&5
20582 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20583 See \`config.log' for more details." >&5
20584 echo "$as_me: error: no. Try a different SDK
20585 See \`config.log' for more details." >&2;}
20586 { (exit 1); exit 1; }; }; exit 1
20589 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20590 conftest
$ac_exeext conftest.
$ac_ext
20592 ac_cpp
='$CPP $CPPFLAGS'
20593 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20594 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20595 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20603 INSTALL_PROGRAM
="cp -fp"
20604 INSTALL_DATA
="cp -fp"
20611 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20612 CXXFLAGS
="-qunique $CXXFLAGS"
20616 powerpc
-*-darwin* )
20617 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20618 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20619 cat >conftest.
$ac_ext <<_ACEOF
20622 cat confdefs.h
>>conftest.
$ac_ext
20623 cat >>conftest.
$ac_ext <<_ACEOF
20624 /* end confdefs.h. */
20629 #ifndef __POWERPC__
20630 choke me for lack of PowerPC
20637 rm -f conftest.
$ac_objext
20638 if { (ac_try
="$ac_compile"
20639 case "(($ac_try" in
20640 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20641 *) ac_try_echo=$ac_try;;
20643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20644 (eval "$ac_compile") 2>conftest.er1
20646 grep -v '^ *+' conftest.er1 >conftest.err
20648 cat conftest.err >&5
20649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20650 (exit $ac_status); } && {
20651 test -z "$ac_c_werror_flag" ||
20652 test ! -s conftest.err
20653 } && test -s conftest.$ac_objext; then
20654 { echo "$as_me:$LINENO: result: yes" >&5
20655 echo "${ECHO_T}yes" >&6; }
20657 echo "$as_me: failed program was:" >&5
20658 sed 's/^/| /' conftest.$ac_ext >&5
20660 { echo "$as_me:$LINENO: result: no" >&5
20661 echo "${ECHO_T}no" >&6; }
20662 cat >>confdefs.h <<\_ACEOF
20663 #define __POWERPC__ 1
20669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20675 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20676 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20677 cat >conftest.$ac_ext <<_ACEOF
20680 cat confdefs.h >>conftest.$ac_ext
20681 cat >>conftest.$ac_ext <<_ACEOF
20682 /* end confdefs.h. */
20683 #include <CoreFoundation/CFBase.h>
20693 rm -f conftest.$ac_objext
20694 if { (ac_try="$ac_compile"
20695 case "(($ac_try" in
20696 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20697 *) ac_try_echo
=$ac_try;;
20699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20700 (eval "$ac_compile") 2>conftest.er1
20702 grep -v '^ *+' conftest.er1
>conftest.err
20704 cat conftest.err
>&5
20705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20706 (exit $ac_status); } && {
20707 test -z "$ac_c_werror_flag" ||
20708 test ! -s conftest.err
20709 } && test -s conftest.
$ac_objext; then
20710 { echo "$as_me:$LINENO: result: yes" >&5
20711 echo "${ECHO_T}yes" >&6; }
20713 echo "$as_me: failed program was:" >&5
20714 sed 's/^/| /' conftest.
$ac_ext >&5
20716 { echo "$as_me:$LINENO: result: no" >&5
20717 echo "${ECHO_T}no" >&6; }
20718 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20719 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20720 cat >conftest.
$ac_ext <<_ACEOF
20723 cat confdefs.h
>>conftest.
$ac_ext
20724 cat >>conftest.
$ac_ext <<_ACEOF
20725 /* end confdefs.h. */
20726 #define __CF_USE_FRAMEWORK_INCLUDES__
20727 #include <CoreFoundation/CFBase.h>
20737 rm -f conftest.
$ac_objext
20738 if { (ac_try
="$ac_compile"
20739 case "(($ac_try" in
20740 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20741 *) ac_try_echo=$ac_try;;
20743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20744 (eval "$ac_compile") 2>conftest.er1
20746 grep -v '^ *+' conftest.er1 >conftest.err
20748 cat conftest.err >&5
20749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20750 (exit $ac_status); } && {
20751 test -z "$ac_c_werror_flag" ||
20752 test ! -s conftest.err
20753 } && test -s conftest.$ac_objext; then
20754 { echo "$as_me:$LINENO: result: yes" >&5
20755 echo "${ECHO_T}yes" >&6; }
20756 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20758 echo "$as_me: failed program was:" >&5
20759 sed 's/^/| /' conftest.$ac_ext >&5
20761 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20762 See \`config.log
' for more details." >&5
20763 echo "$as_me: error: no. CoreFoundation not available.
20764 See \`config.log' for more details.
" >&2;}
20765 { (exit 1); exit 1; }; }
20769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20779 doesnt_want_win32=0
20782 if test "$wxUSE_MSW" = 1 ; then
20785 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
20786 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
20787 if test "${wx_cv_nocygwin+set}" = set; then
20788 echo $ECHO_N "(cached
) $ECHO_C" >&6
20791 cat >conftest.$ac_ext <<_ACEOF
20794 cat confdefs.h >>conftest.$ac_ext
20795 cat >>conftest.$ac_ext <<_ACEOF
20796 /* end confdefs.h. */
20810 rm -f conftest.$ac_objext
20811 if { (ac_try="$ac_compile"
20812 case "(($ac_try" in
20813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20814 *) ac_try_echo=$ac_try;;
20816 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20817 (eval "$ac_compile") 2>conftest.er1
20819 grep -v '^ *+' conftest.er1 >conftest.err
20821 cat conftest.err >&5
20822 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20823 (exit $ac_status); } && {
20824 test -z "$ac_c_werror_flag" ||
20825 test ! -s conftest.err
20826 } && test -s conftest.$ac_objext; then
20829 echo "$as_me: failed program was
:" >&5
20830 sed 's/^/| /' conftest.$ac_ext >&5
20836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20840 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
20841 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20843 if test "$wx_cv_nocygwin" = "yes"; then
20846 doesnt_want_win32=1
20849 if test "$wants_win32" = 1 ; then
20850 BAKEFILE_FORCE_PLATFORM=win32
20858 if test "$wxUSE_WINE" = "yes"; then
20860 LDFLAGS_GUI="-mwindows"
20863 if test "$wants_win32" = 1 ; then
20866 cat >>confdefs.h <<\_ACEOF
20867 #define __WIN32__ 1
20870 cat >>confdefs.h <<\_ACEOF
20871 #define __WIN95__ 1
20874 cat >>confdefs.h <<\_ACEOF
20875 #define __WINDOWS__ 1
20878 cat >>confdefs.h <<\_ACEOF
20879 #define __GNUWIN32__ 1
20882 cat >>confdefs.h <<\_ACEOF
20887 if test "$doesnt_want_win32" = 1 ; then
20892 if test "$USE_UNIX" = 1 ; then
20894 cat >>confdefs.h <<\_ACEOF
20901 *-pc-os2_emx | *-pc-os2-emx )
20902 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20903 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
20904 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
20905 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20906 echo $ECHO_N "(cached
) $ECHO_C" >&6
20908 ac_check_lib_save_LIBS=$LIBS
20909 LIBS="-lcExt $LIBS"
20910 cat >conftest.$ac_ext <<_ACEOF
20913 cat confdefs.h >>conftest.$ac_ext
20914 cat >>conftest.$ac_ext <<_ACEOF
20915 /* end confdefs.h. */
20917 /* Override any GCC internal prototype to avoid an error.
20918 Use char because int might match the return type of a GCC
20919 builtin and then its argument prototype would still apply. */
20932 rm -f conftest.$ac_objext conftest$ac_exeext
20933 if { (ac_try="$ac_link"
20934 case "(($ac_try" in
20935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20936 *) ac_try_echo=$ac_try;;
20938 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20939 (eval "$ac_link") 2>conftest.er1
20941 grep -v '^ *+' conftest.er1 >conftest.err
20943 cat conftest.err >&5
20944 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20945 (exit $ac_status); } && {
20946 test -z "$ac_c_werror_flag" ||
20947 test ! -s conftest.err
20948 } && test -s conftest$ac_exeext &&
20949 $as_test_x conftest$ac_exeext; then
20950 ac_cv_lib_cExt_drand48=yes
20952 echo "$as_me: failed program was
:" >&5
20953 sed 's/^/| /' conftest.$ac_ext >&5
20955 ac_cv_lib_cExt_drand48=no
20958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20959 conftest$ac_exeext conftest.$ac_ext
20960 LIBS=$ac_check_lib_save_LIBS
20962 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
20963 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20964 if test $ac_cv_lib_cExt_drand48 = yes; then
20965 LIBS="$LIBS -lcExt"
20969 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
20971 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
20972 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
20973 if test "${wx_cv_gccversion+set}" = set; then
20974 echo $ECHO_N "(cached
) $ECHO_C" >&6
20977 if test "$cross_compiling" = yes; then
20978 wx_cv_gccversion="EMX2
"
20981 cat >conftest.$ac_ext <<_ACEOF
20984 cat confdefs.h >>conftest.$ac_ext
20985 cat >>conftest.$ac_ext <<_ACEOF
20986 /* end confdefs.h. */
20992 FILE *f=fopen("conftestval
", "w
");
20997 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20999 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
21009 rm -f conftest$ac_exeext
21010 if { (ac_try="$ac_link"
21011 case "(($ac_try" in
21012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21013 *) ac_try_echo=$ac_try;;
21015 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21016 (eval "$ac_link") 2>&5
21018 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21019 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21020 { (case "(($ac_try" in
21021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21022 *) ac_try_echo=$ac_try;;
21024 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21025 (eval "$ac_try") 2>&5
21027 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21028 (exit $ac_status); }; }; then
21029 wx_cv_gccversion=`cat conftestval`
21031 echo "$as_me: program exited with status
$ac_status" >&5
21032 echo "$as_me: failed program was
:" >&5
21033 sed 's/^/| /' conftest.$ac_ext >&5
21035 ( exit $ac_status )
21036 wx_cv_gccversion="EMX2
"
21038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21044 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
21045 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
21046 if test "$wx_cv_gccversion" = "EMX2
"; then
21047 LIBS="$LIBS -lstdcpp"
21048 LDFLAGS="$LDFLAGS -Zsysv-signals"
21050 if test "$wx_cv_gccversion" = "EMX3
"; then
21051 LIBS="$LIBS -lstdcxx -lgcc"
21052 LDFLAGS="$LDFLAGS -Zsysv-signals"
21054 LIBS="$LIBS -lstdc++"
21057 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
21058 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
21059 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
21066 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
21067 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
21068 if test "${ac_cv_string_strcasecmp+set}" = set; then
21069 echo $ECHO_N "(cached
) $ECHO_C" >&6
21072 cat >conftest.$ac_ext <<_ACEOF
21075 cat confdefs.h >>conftest.$ac_ext
21076 cat >>conftest.$ac_ext <<_ACEOF
21077 /* end confdefs.h. */
21079 #include <string.h>
21085 strcasecmp("foo
", "bar
");
21091 rm -f conftest.$ac_objext conftest$ac_exeext
21092 if { (ac_try="$ac_link"
21093 case "(($ac_try" in
21094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21095 *) ac_try_echo=$ac_try;;
21097 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21098 (eval "$ac_link") 2>conftest.er1
21100 grep -v '^ *+' conftest.er1 >conftest.err
21102 cat conftest.err >&5
21103 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21104 (exit $ac_status); } && {
21105 test -z "$ac_c_werror_flag" ||
21106 test ! -s conftest.err
21107 } && test -s conftest$ac_exeext &&
21108 $as_test_x conftest$ac_exeext; then
21109 ac_cv_string_strcasecmp=yes
21111 echo "$as_me: failed program was
:" >&5
21112 sed 's/^/| /' conftest.$ac_ext >&5
21114 ac_cv_string_strcasecmp=no
21118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21119 conftest$ac_exeext conftest.$ac_ext
21122 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
21123 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21125 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
21126 cat >>confdefs.h <<\_ACEOF
21127 #define HAVE_STRCASECMP_IN_STRING_H 1
21131 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
21132 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
21133 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21134 echo $ECHO_N "(cached
) $ECHO_C" >&6
21137 cat >conftest.$ac_ext <<_ACEOF
21140 cat confdefs.h >>conftest.$ac_ext
21141 cat >>conftest.$ac_ext <<_ACEOF
21142 /* end confdefs.h. */
21144 #include <strings.h>
21150 strcasecmp("foo
", "bar
");
21156 rm -f conftest.$ac_objext conftest$ac_exeext
21157 if { (ac_try="$ac_link"
21158 case "(($ac_try" in
21159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21160 *) ac_try_echo=$ac_try;;
21162 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21163 (eval "$ac_link") 2>conftest.er1
21165 grep -v '^ *+' conftest.er1 >conftest.err
21167 cat conftest.err >&5
21168 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21169 (exit $ac_status); } && {
21170 test -z "$ac_c_werror_flag" ||
21171 test ! -s conftest.err
21172 } && test -s conftest$ac_exeext &&
21173 $as_test_x conftest$ac_exeext; then
21174 ac_cv_strings_strcasecmp=yes
21176 echo "$as_me: failed program was
:" >&5
21177 sed 's/^/| /' conftest.$ac_ext >&5
21179 ac_cv_strings_strcasecmp=no
21183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21184 conftest$ac_exeext conftest.$ac_ext
21187 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
21188 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21190 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
21191 cat >>confdefs.h <<\_ACEOF
21192 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21196 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
21197 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
21198 { (exit 1); exit 1; }; }
21206 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
21207 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
21208 if test "${ac_cv_header_stdc+set}" = set; then
21209 echo $ECHO_N "(cached
) $ECHO_C" >&6
21211 cat >conftest.$ac_ext <<_ACEOF
21214 cat confdefs.h >>conftest.$ac_ext
21215 cat >>conftest.$ac_ext <<_ACEOF
21216 /* end confdefs.h. */
21217 #include <stdlib.h>
21218 #include <stdarg.h>
21219 #include <string.h>
21230 rm -f conftest.$ac_objext
21231 if { (ac_try="$ac_compile"
21232 case "(($ac_try" in
21233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21234 *) ac_try_echo=$ac_try;;
21236 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21237 (eval "$ac_compile") 2>conftest.er1
21239 grep -v '^ *+' conftest.er1 >conftest.err
21241 cat conftest.err >&5
21242 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21243 (exit $ac_status); } && {
21244 test -z "$ac_c_werror_flag" ||
21245 test ! -s conftest.err
21246 } && test -s conftest.$ac_objext; then
21247 ac_cv_header_stdc=yes
21249 echo "$as_me: failed program was
:" >&5
21250 sed 's/^/| /' conftest.$ac_ext >&5
21252 ac_cv_header_stdc=no
21255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21257 if test $ac_cv_header_stdc = yes; then
21258 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21259 cat >conftest.$ac_ext <<_ACEOF
21262 cat confdefs.h >>conftest.$ac_ext
21263 cat >>conftest.$ac_ext <<_ACEOF
21264 /* end confdefs.h. */
21265 #include <string.h>
21268 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21269 $EGREP "memchr
" >/dev/null 2>&1; then
21272 ac_cv_header_stdc=no
21278 if test $ac_cv_header_stdc = yes; then
21279 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21280 cat >conftest.$ac_ext <<_ACEOF
21283 cat confdefs.h >>conftest.$ac_ext
21284 cat >>conftest.$ac_ext <<_ACEOF
21285 /* end confdefs.h. */
21286 #include <stdlib.h>
21289 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21290 $EGREP "free
" >/dev/null 2>&1; then
21293 ac_cv_header_stdc=no
21299 if test $ac_cv_header_stdc = yes; then
21300 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21301 if test "$cross_compiling" = yes; then
21304 cat >conftest.$ac_ext <<_ACEOF
21307 cat confdefs.h >>conftest.$ac_ext
21308 cat >>conftest.$ac_ext <<_ACEOF
21309 /* end confdefs.h. */
21311 #include <stdlib.h>
21312 #if ((' ' & 0x0FF) == 0x020)
21313 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21314 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21316 # define ISLOWER(c) \
21317 (('a' <= (c) && (c) <= 'i') \
21318 || ('j' <= (c) && (c) <= 'r') \
21319 || ('s' <= (c) && (c) <= 'z'))
21320 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21323 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21328 for (i = 0; i < 256; i++)
21329 if (XOR (islower (i), ISLOWER (i))
21330 || toupper (i) != TOUPPER (i))
21335 rm -f conftest$ac_exeext
21336 if { (ac_try="$ac_link"
21337 case "(($ac_try" in
21338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21339 *) ac_try_echo=$ac_try;;
21341 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21342 (eval "$ac_link") 2>&5
21344 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21345 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21346 { (case "(($ac_try" in
21347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21348 *) ac_try_echo=$ac_try;;
21350 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21351 (eval "$ac_try") 2>&5
21353 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21354 (exit $ac_status); }; }; then
21357 echo "$as_me: program exited with status
$ac_status" >&5
21358 echo "$as_me: failed program was
:" >&5
21359 sed 's/^/| /' conftest.$ac_ext >&5
21361 ( exit $ac_status )
21362 ac_cv_header_stdc=no
21364 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21370 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
21371 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21372 if test $ac_cv_header_stdc = yes; then
21374 cat >>confdefs.h <<\_ACEOF
21375 #define STDC_HEADERS 1
21380 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21390 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21391 inttypes.h stdint.h unistd.h
21393 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21394 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21395 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21396 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21397 echo $ECHO_N "(cached
) $ECHO_C" >&6
21399 cat >conftest.$ac_ext <<_ACEOF
21402 cat confdefs.h >>conftest.$ac_ext
21403 cat >>conftest.$ac_ext <<_ACEOF
21404 /* end confdefs.h. */
21405 $ac_includes_default
21407 #include <$ac_header>
21409 rm -f conftest.$ac_objext
21410 if { (ac_try="$ac_compile"
21411 case "(($ac_try" in
21412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21413 *) ac_try_echo=$ac_try;;
21415 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21416 (eval "$ac_compile") 2>conftest.er1
21418 grep -v '^ *+' conftest.er1 >conftest.err
21420 cat conftest.err >&5
21421 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21422 (exit $ac_status); } && {
21423 test -z "$ac_c_werror_flag" ||
21424 test ! -s conftest.err
21425 } && test -s conftest.$ac_objext; then
21426 eval "$as_ac_Header=yes"
21428 echo "$as_me: failed program was
:" >&5
21429 sed 's/^/| /' conftest.$ac_ext >&5
21431 eval "$as_ac_Header=no
"
21434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21436 ac_res=`eval echo '${'$as_ac_Header'}'`
21437 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21438 echo "${ECHO_T}$ac_res" >&6; }
21439 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21440 cat >>confdefs.h <<_ACEOF
21441 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21451 for ac_header in langinfo.h wchar.h
21453 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21454 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21455 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21456 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21457 echo $ECHO_N "(cached
) $ECHO_C" >&6
21459 cat >conftest.$ac_ext <<_ACEOF
21462 cat confdefs.h >>conftest.$ac_ext
21463 cat >>conftest.$ac_ext <<_ACEOF
21464 /* end confdefs.h. */
21465 $ac_includes_default
21467 #include <$ac_header>
21469 rm -f conftest.$ac_objext
21470 if { (ac_try="$ac_compile"
21471 case "(($ac_try" in
21472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21473 *) ac_try_echo=$ac_try;;
21475 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21476 (eval "$ac_compile") 2>conftest.er1
21478 grep -v '^ *+' conftest.er1 >conftest.err
21480 cat conftest.err >&5
21481 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21482 (exit $ac_status); } && {
21483 test -z "$ac_c_werror_flag" ||
21484 test ! -s conftest.err
21485 } && test -s conftest.$ac_objext; then
21486 eval "$as_ac_Header=yes"
21488 echo "$as_me: failed program was
:" >&5
21489 sed 's/^/| /' conftest.$ac_ext >&5
21491 eval "$as_ac_Header=no
"
21494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21496 ac_res=`eval echo '${'$as_ac_Header'}'`
21497 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21498 echo "${ECHO_T}$ac_res" >&6; }
21499 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21500 cat >>confdefs.h <<_ACEOF
21501 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21509 if test "$ac_cv_header_wchar_h" != "yes"; then
21511 for ac_header in wcstr.h
21513 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21514 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21515 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21516 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21517 echo $ECHO_N "(cached
) $ECHO_C" >&6
21519 cat >conftest.$ac_ext <<_ACEOF
21522 cat confdefs.h >>conftest.$ac_ext
21523 cat >>conftest.$ac_ext <<_ACEOF
21524 /* end confdefs.h. */
21525 $ac_includes_default
21527 #include <$ac_header>
21529 rm -f conftest.$ac_objext
21530 if { (ac_try="$ac_compile"
21531 case "(($ac_try" in
21532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21533 *) ac_try_echo=$ac_try;;
21535 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21536 (eval "$ac_compile") 2>conftest.er1
21538 grep -v '^ *+' conftest.er1 >conftest.err
21540 cat conftest.err >&5
21541 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21542 (exit $ac_status); } && {
21543 test -z "$ac_c_werror_flag" ||
21544 test ! -s conftest.err
21545 } && test -s conftest.$ac_objext; then
21546 eval "$as_ac_Header=yes"
21548 echo "$as_me: failed program was
:" >&5
21549 sed 's/^/| /' conftest.$ac_ext >&5
21551 eval "$as_ac_Header=no
"
21554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21556 ac_res=`eval echo '${'$as_ac_Header'}'`
21557 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21558 echo "${ECHO_T}$ac_res" >&6; }
21559 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21560 cat >>confdefs.h <<_ACEOF
21561 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21571 *-pc-os2_emx | *-pc-os2-emx )
21572 if test $ac_cv_header_langinfo_h = "yes" \
21573 -a \( "$wx_cv_gccversion" = "EMX2
" \
21574 -o "$wx_cv_gccversion" = "EMX3
" \
21575 -o "$wx_cv_gccversion" = "Innotek5
" \); then
21576 LIBS="$LIBS -lintl"
21581 if test "$USE_UNIX" = 1 ; then
21583 for ac_header in sys/select.h
21585 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21586 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21587 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21588 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21589 echo $ECHO_N "(cached
) $ECHO_C" >&6
21591 cat >conftest.$ac_ext <<_ACEOF
21594 cat confdefs.h >>conftest.$ac_ext
21595 cat >>conftest.$ac_ext <<_ACEOF
21596 /* end confdefs.h. */
21597 $ac_includes_default
21599 #include <$ac_header>
21601 rm -f conftest.$ac_objext
21602 if { (ac_try="$ac_compile"
21603 case "(($ac_try" in
21604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21605 *) ac_try_echo=$ac_try;;
21607 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21608 (eval "$ac_compile") 2>conftest.er1
21610 grep -v '^ *+' conftest.er1 >conftest.err
21612 cat conftest.err >&5
21613 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21614 (exit $ac_status); } && {
21615 test -z "$ac_c_werror_flag" ||
21616 test ! -s conftest.err
21617 } && test -s conftest.$ac_objext; then
21618 eval "$as_ac_Header=yes"
21620 echo "$as_me: failed program was
:" >&5
21621 sed 's/^/| /' conftest.$ac_ext >&5
21623 eval "$as_ac_Header=no
"
21626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21628 ac_res=`eval echo '${'$as_ac_Header'}'`
21629 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21630 echo "${ECHO_T}$ac_res" >&6; }
21631 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21632 cat >>confdefs.h <<_ACEOF
21633 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21643 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
21644 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
21645 if test "${ac_cv_c_const+set}" = set; then
21646 echo $ECHO_N "(cached
) $ECHO_C" >&6
21648 cat >conftest.$ac_ext <<_ACEOF
21651 cat confdefs.h >>conftest.$ac_ext
21652 cat >>conftest.$ac_ext <<_ACEOF
21653 /* end confdefs.h. */
21658 /* FIXME: Include the comments suggested by Paul. */
21659 #ifndef __cplusplus
21660 /* Ultrix mips cc rejects this. */
21661 typedef int charset[2];
21663 /* SunOS 4.1.1 cc rejects this. */
21664 char const *const *pcpcc;
21666 /* NEC SVR4.0.2 mips cc rejects this. */
21667 struct point {int x, y;};
21668 static struct point const zero = {0,0};
21669 /* AIX XL C 1.02.0.0 rejects this.
21670 It does not let you subtract one const X* pointer from another in
21671 an arm of an if-expression whose if-part is not a constant
21673 const char *g = "string
";
21674 pcpcc = &g + (g ? g-g : 0);
21675 /* HPUX 7.0 cc rejects these. */
21677 ppc = (char**) pcpcc;
21678 pcpcc = (char const *const *) ppc;
21679 { /* SCO 3.2v4 cc rejects this. */
21681 char const *s = 0 ? (char *) 0 : (char const *) 0;
21686 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21687 int x[] = {25, 17};
21688 const int *foo = &x[0];
21691 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21692 typedef const int *iptr;
21696 { /* AIX XL C 1.02.0.0 rejects this saying
21697 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21698 struct s { int j; const int *ap[3]; };
21699 struct s *b; b->j = 5;
21701 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21702 const int foo = 10;
21703 if (!foo) return 0;
21705 return !cs[0] && !zero.x;
21712 rm -f conftest.$ac_objext
21713 if { (ac_try="$ac_compile"
21714 case "(($ac_try" in
21715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21716 *) ac_try_echo=$ac_try;;
21718 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21719 (eval "$ac_compile") 2>conftest.er1
21721 grep -v '^ *+' conftest.er1 >conftest.err
21723 cat conftest.err >&5
21724 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21725 (exit $ac_status); } && {
21726 test -z "$ac_c_werror_flag" ||
21727 test ! -s conftest.err
21728 } && test -s conftest.$ac_objext; then
21731 echo "$as_me: failed program was
:" >&5
21732 sed 's/^/| /' conftest.$ac_ext >&5
21737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21739 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
21740 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21741 if test $ac_cv_c_const = no; then
21743 cat >>confdefs.h <<\_ACEOF
21749 { echo "$as_me:$LINENO: checking
for inline
" >&5
21750 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
21751 if test "${ac_cv_c_inline+set}" = set; then
21752 echo $ECHO_N "(cached
) $ECHO_C" >&6
21755 for ac_kw in inline __inline__ __inline; do
21756 cat >conftest.$ac_ext <<_ACEOF
21759 cat confdefs.h >>conftest.$ac_ext
21760 cat >>conftest.$ac_ext <<_ACEOF
21761 /* end confdefs.h. */
21762 #ifndef __cplusplus
21764 static $ac_kw foo_t static_foo () {return 0; }
21765 $ac_kw foo_t foo () {return 0; }
21769 rm -f conftest.$ac_objext
21770 if { (ac_try="$ac_compile"
21771 case "(($ac_try" in
21772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21773 *) ac_try_echo=$ac_try;;
21775 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21776 (eval "$ac_compile") 2>conftest.er1
21778 grep -v '^ *+' conftest.er1 >conftest.err
21780 cat conftest.err >&5
21781 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21782 (exit $ac_status); } && {
21783 test -z "$ac_c_werror_flag" ||
21784 test ! -s conftest.err
21785 } && test -s conftest.$ac_objext; then
21786 ac_cv_c_inline=$ac_kw
21788 echo "$as_me: failed program was
:" >&5
21789 sed 's/^/| /' conftest.$ac_ext >&5
21794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21795 test "$ac_cv_c_inline" != no && break
21799 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
21800 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21803 case $ac_cv_c_inline in
21806 case $ac_cv_c_inline in
21808 *) ac_val=$ac_cv_c_inline;;
21810 cat >>confdefs.h <<_ACEOF
21811 #ifndef __cplusplus
21812 #define inline $ac_val
21819 { echo "$as_me:$LINENO: checking
for short
" >&5
21820 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
21821 if test "${ac_cv_type_short+set}" = set; then
21822 echo $ECHO_N "(cached
) $ECHO_C" >&6
21824 cat >conftest.$ac_ext <<_ACEOF
21827 cat confdefs.h >>conftest.$ac_ext
21828 cat >>conftest.$ac_ext <<_ACEOF
21829 /* end confdefs.h. */
21830 $ac_includes_default
21831 typedef short ac__type_new_;
21835 if ((ac__type_new_ *) 0)
21837 if (sizeof (ac__type_new_))
21843 rm -f conftest.$ac_objext
21844 if { (ac_try="$ac_compile"
21845 case "(($ac_try" in
21846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21847 *) ac_try_echo=$ac_try;;
21849 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21850 (eval "$ac_compile") 2>conftest.er1
21852 grep -v '^ *+' conftest.er1 >conftest.err
21854 cat conftest.err >&5
21855 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21856 (exit $ac_status); } && {
21857 test -z "$ac_c_werror_flag" ||
21858 test ! -s conftest.err
21859 } && test -s conftest.$ac_objext; then
21860 ac_cv_type_short=yes
21862 echo "$as_me: failed program was
:" >&5
21863 sed 's/^/| /' conftest.$ac_ext >&5
21865 ac_cv_type_short=no
21868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21870 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
21871 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21873 # The cast to long int works around a bug in the HP C Compiler
21874 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21875 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21876 # This bug is HP SR number 8606223364.
21877 { echo "$as_me:$LINENO: checking size of short
" >&5
21878 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
21879 if test "${ac_cv_sizeof_short+set}" = set; then
21880 echo $ECHO_N "(cached
) $ECHO_C" >&6
21882 if test "$cross_compiling" = yes; then
21883 # Depending upon the size, compute the lo and hi bounds.
21884 cat >conftest.$ac_ext <<_ACEOF
21887 cat confdefs.h >>conftest.$ac_ext
21888 cat >>conftest.$ac_ext <<_ACEOF
21889 /* end confdefs.h. */
21890 $ac_includes_default
21891 typedef short ac__type_sizeof_;
21895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21902 rm -f conftest.$ac_objext
21903 if { (ac_try="$ac_compile"
21904 case "(($ac_try" in
21905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21906 *) ac_try_echo=$ac_try;;
21908 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21909 (eval "$ac_compile") 2>conftest.er1
21911 grep -v '^ *+' conftest.er1 >conftest.err
21913 cat conftest.err >&5
21914 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21915 (exit $ac_status); } && {
21916 test -z "$ac_c_werror_flag" ||
21917 test ! -s conftest.err
21918 } && test -s conftest.$ac_objext; then
21921 cat >conftest.$ac_ext <<_ACEOF
21924 cat confdefs.h >>conftest.$ac_ext
21925 cat >>conftest.$ac_ext <<_ACEOF
21926 /* end confdefs.h. */
21927 $ac_includes_default
21928 typedef short ac__type_sizeof_;
21932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21939 rm -f conftest.$ac_objext
21940 if { (ac_try="$ac_compile"
21941 case "(($ac_try" in
21942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21943 *) ac_try_echo=$ac_try;;
21945 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21946 (eval "$ac_compile") 2>conftest.er1
21948 grep -v '^ *+' conftest.er1 >conftest.err
21950 cat conftest.err >&5
21951 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21952 (exit $ac_status); } && {
21953 test -z "$ac_c_werror_flag" ||
21954 test ! -s conftest.err
21955 } && test -s conftest.$ac_objext; then
21956 ac_hi=$ac_mid; break
21958 echo "$as_me: failed program was
:" >&5
21959 sed 's/^/| /' conftest.$ac_ext >&5
21961 ac_lo=`expr $ac_mid + 1`
21962 if test $ac_lo -le $ac_mid; then
21966 ac_mid=`expr 2 '*' $ac_mid + 1`
21969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21972 echo "$as_me: failed program was
:" >&5
21973 sed 's/^/| /' conftest.$ac_ext >&5
21975 cat >conftest.$ac_ext <<_ACEOF
21978 cat confdefs.h >>conftest.$ac_ext
21979 cat >>conftest.$ac_ext <<_ACEOF
21980 /* end confdefs.h. */
21981 $ac_includes_default
21982 typedef short ac__type_sizeof_;
21986 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21993 rm -f conftest.$ac_objext
21994 if { (ac_try="$ac_compile"
21995 case "(($ac_try" in
21996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21997 *) ac_try_echo=$ac_try;;
21999 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22000 (eval "$ac_compile") 2>conftest.er1
22002 grep -v '^ *+' conftest.er1 >conftest.err
22004 cat conftest.err >&5
22005 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22006 (exit $ac_status); } && {
22007 test -z "$ac_c_werror_flag" ||
22008 test ! -s conftest.err
22009 } && test -s conftest.$ac_objext; then
22012 cat >conftest.$ac_ext <<_ACEOF
22015 cat confdefs.h >>conftest.$ac_ext
22016 cat >>conftest.$ac_ext <<_ACEOF
22017 /* end confdefs.h. */
22018 $ac_includes_default
22019 typedef short ac__type_sizeof_;
22023 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22030 rm -f conftest.$ac_objext
22031 if { (ac_try="$ac_compile"
22032 case "(($ac_try" in
22033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22034 *) ac_try_echo=$ac_try;;
22036 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22037 (eval "$ac_compile") 2>conftest.er1
22039 grep -v '^ *+' conftest.er1 >conftest.err
22041 cat conftest.err >&5
22042 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22043 (exit $ac_status); } && {
22044 test -z "$ac_c_werror_flag" ||
22045 test ! -s conftest.err
22046 } && test -s conftest.$ac_objext; then
22047 ac_lo=$ac_mid; break
22049 echo "$as_me: failed program was
:" >&5
22050 sed 's/^/| /' conftest.$ac_ext >&5
22052 ac_hi=`expr '(' $ac_mid ')' - 1`
22053 if test $ac_mid -le $ac_hi; then
22057 ac_mid=`expr 2 '*' $ac_mid`
22060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22063 echo "$as_me: failed program was
:" >&5
22064 sed 's/^/| /' conftest.$ac_ext >&5
22069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22073 # Binary search between lo and hi bounds.
22074 while test "x
$ac_lo" != "x
$ac_hi"; do
22075 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22076 cat >conftest.$ac_ext <<_ACEOF
22079 cat confdefs.h >>conftest.$ac_ext
22080 cat >>conftest.$ac_ext <<_ACEOF
22081 /* end confdefs.h. */
22082 $ac_includes_default
22083 typedef short ac__type_sizeof_;
22087 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22094 rm -f conftest.$ac_objext
22095 if { (ac_try="$ac_compile"
22096 case "(($ac_try" in
22097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22098 *) ac_try_echo=$ac_try;;
22100 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22101 (eval "$ac_compile") 2>conftest.er1
22103 grep -v '^ *+' conftest.er1 >conftest.err
22105 cat conftest.err >&5
22106 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22107 (exit $ac_status); } && {
22108 test -z "$ac_c_werror_flag" ||
22109 test ! -s conftest.err
22110 } && test -s conftest.$ac_objext; then
22113 echo "$as_me: failed program was
:" >&5
22114 sed 's/^/| /' conftest.$ac_ext >&5
22116 ac_lo=`expr '(' $ac_mid ')' + 1`
22119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22122 ?*) ac_cv_sizeof_short=$ac_lo;;
22123 '') if test "$ac_cv_type_short" = yes; then
22124 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
22125 See \
`config.log' for more details." >&5
22126 echo "$as_me: error: cannot compute sizeof (short)
22127 See \`config.log
' for more details." >&2;}
22128 { (exit 77); exit 77; }; }
22130 ac_cv_sizeof_short=0
22134 cat >conftest.$ac_ext <<_ACEOF
22137 cat confdefs.h >>conftest.$ac_ext
22138 cat >>conftest.$ac_ext <<_ACEOF
22139 /* end confdefs.h. */
22140 $ac_includes_default
22141 typedef short ac__type_sizeof_;
22142 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22143 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22145 #include <stdlib.h>
22150 FILE *f = fopen ("conftest.val", "w");
22153 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22155 long int i = longval ();
22156 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22158 fprintf (f, "%ld\n", i);
22162 unsigned long int i = ulongval ();
22163 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22165 fprintf (f, "%lu\n", i);
22167 return ferror (f) || fclose (f) != 0;
22173 rm -f conftest$ac_exeext
22174 if { (ac_try="$ac_link"
22175 case "(($ac_try" in
22176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22177 *) ac_try_echo=$ac_try;;
22179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22180 (eval "$ac_link") 2>&5
22182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22183 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22184 { (case "(($ac_try" in
22185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22186 *) ac_try_echo=$ac_try;;
22188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22189 (eval "$ac_try") 2>&5
22191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22192 (exit $ac_status); }; }; then
22193 ac_cv_sizeof_short=`cat conftest.val`
22195 echo "$as_me: program exited with status $ac_status" >&5
22196 echo "$as_me: failed program was:" >&5
22197 sed 's
/^
/| /' conftest.$ac_ext >&5
22199 ( exit $ac_status )
22200 if test "$ac_cv_type_short" = yes; then
22201 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22202 See \`config.log' for more details.
" >&5
22203 echo "$as_me: error
: cannot compute sizeof
(short
)
22204 See \
`config.log' for more details." >&2;}
22205 { (exit 77); exit 77; }; }
22207 ac_cv_sizeof_short=0
22210 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22214 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22215 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22219 cat >>confdefs.h <<_ACEOF
22220 #define SIZEOF_SHORT $ac_cv_sizeof_short
22224 { echo "$as_me:$LINENO: checking for void *" >&5
22225 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22226 if test "${ac_cv_type_void_p+set}" = set; then
22227 echo $ECHO_N "(cached) $ECHO_C" >&6
22229 cat >conftest.$ac_ext <<_ACEOF
22232 cat confdefs.h >>conftest.$ac_ext
22233 cat >>conftest.$ac_ext <<_ACEOF
22234 /* end confdefs.h. */
22235 $ac_includes_default
22236 typedef void * ac__type_new_;
22240 if ((ac__type_new_ *) 0)
22242 if (sizeof (ac__type_new_))
22248 rm -f conftest.$ac_objext
22249 if { (ac_try="$ac_compile"
22250 case "(($ac_try" in
22251 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22252 *) ac_try_echo
=$ac_try;;
22254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22255 (eval "$ac_compile") 2>conftest.er1
22257 grep -v '^ *+' conftest.er1
>conftest.err
22259 cat conftest.err
>&5
22260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22261 (exit $ac_status); } && {
22262 test -z "$ac_c_werror_flag" ||
22263 test ! -s conftest.err
22264 } && test -s conftest.
$ac_objext; then
22265 ac_cv_type_void_p
=yes
22267 echo "$as_me: failed program was:" >&5
22268 sed 's/^/| /' conftest.
$ac_ext >&5
22270 ac_cv_type_void_p
=no
22273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22275 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22276 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22278 # The cast to long int works around a bug in the HP C Compiler
22279 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22280 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22281 # This bug is HP SR number 8606223364.
22282 { echo "$as_me:$LINENO: checking size of void *" >&5
22283 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22284 if test "${ac_cv_sizeof_void_p+set}" = set; then
22285 echo $ECHO_N "(cached) $ECHO_C" >&6
22287 if test "$cross_compiling" = yes; then
22288 # Depending upon the size, compute the lo and hi bounds.
22289 cat >conftest.
$ac_ext <<_ACEOF
22292 cat confdefs.h
>>conftest.
$ac_ext
22293 cat >>conftest.
$ac_ext <<_ACEOF
22294 /* end confdefs.h. */
22295 $ac_includes_default
22296 typedef void * ac__type_sizeof_;
22300 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22307 rm -f conftest.
$ac_objext
22308 if { (ac_try
="$ac_compile"
22309 case "(($ac_try" in
22310 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22311 *) ac_try_echo=$ac_try;;
22313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22314 (eval "$ac_compile") 2>conftest.er1
22316 grep -v '^ *+' conftest.er1 >conftest.err
22318 cat conftest.err >&5
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); } && {
22321 test -z "$ac_c_werror_flag" ||
22322 test ! -s conftest.err
22323 } && test -s conftest.$ac_objext; then
22326 cat >conftest.$ac_ext <<_ACEOF
22329 cat confdefs.h >>conftest.$ac_ext
22330 cat >>conftest.$ac_ext <<_ACEOF
22331 /* end confdefs.h. */
22332 $ac_includes_default
22333 typedef void * ac__type_sizeof_;
22337 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22344 rm -f conftest.$ac_objext
22345 if { (ac_try="$ac_compile"
22346 case "(($ac_try" in
22347 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22348 *) ac_try_echo
=$ac_try;;
22350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22351 (eval "$ac_compile") 2>conftest.er1
22353 grep -v '^ *+' conftest.er1
>conftest.err
22355 cat conftest.err
>&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); } && {
22358 test -z "$ac_c_werror_flag" ||
22359 test ! -s conftest.err
22360 } && test -s conftest.
$ac_objext; then
22361 ac_hi
=$ac_mid; break
22363 echo "$as_me: failed program was:" >&5
22364 sed 's/^/| /' conftest.
$ac_ext >&5
22366 ac_lo
=`expr $ac_mid + 1`
22367 if test $ac_lo -le $ac_mid; then
22371 ac_mid
=`expr 2 '*' $ac_mid + 1`
22374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22377 echo "$as_me: failed program was:" >&5
22378 sed 's/^/| /' conftest.
$ac_ext >&5
22380 cat >conftest.
$ac_ext <<_ACEOF
22383 cat confdefs.h
>>conftest.
$ac_ext
22384 cat >>conftest.
$ac_ext <<_ACEOF
22385 /* end confdefs.h. */
22386 $ac_includes_default
22387 typedef void * ac__type_sizeof_;
22391 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22398 rm -f conftest.
$ac_objext
22399 if { (ac_try
="$ac_compile"
22400 case "(($ac_try" in
22401 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22402 *) ac_try_echo=$ac_try;;
22404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22405 (eval "$ac_compile") 2>conftest.er1
22407 grep -v '^ *+' conftest.er1 >conftest.err
22409 cat conftest.err >&5
22410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411 (exit $ac_status); } && {
22412 test -z "$ac_c_werror_flag" ||
22413 test ! -s conftest.err
22414 } && test -s conftest.$ac_objext; then
22417 cat >conftest.$ac_ext <<_ACEOF
22420 cat confdefs.h >>conftest.$ac_ext
22421 cat >>conftest.$ac_ext <<_ACEOF
22422 /* end confdefs.h. */
22423 $ac_includes_default
22424 typedef void * ac__type_sizeof_;
22428 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22435 rm -f conftest.$ac_objext
22436 if { (ac_try="$ac_compile"
22437 case "(($ac_try" in
22438 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22439 *) ac_try_echo
=$ac_try;;
22441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22442 (eval "$ac_compile") 2>conftest.er1
22444 grep -v '^ *+' conftest.er1
>conftest.err
22446 cat conftest.err
>&5
22447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22448 (exit $ac_status); } && {
22449 test -z "$ac_c_werror_flag" ||
22450 test ! -s conftest.err
22451 } && test -s conftest.
$ac_objext; then
22452 ac_lo
=$ac_mid; break
22454 echo "$as_me: failed program was:" >&5
22455 sed 's/^/| /' conftest.
$ac_ext >&5
22457 ac_hi
=`expr '(' $ac_mid ')' - 1`
22458 if test $ac_mid -le $ac_hi; then
22462 ac_mid
=`expr 2 '*' $ac_mid`
22465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22468 echo "$as_me: failed program was:" >&5
22469 sed 's/^/| /' conftest.
$ac_ext >&5
22474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22478 # Binary search between lo and hi bounds.
22479 while test "x$ac_lo" != "x$ac_hi"; do
22480 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22481 cat >conftest.
$ac_ext <<_ACEOF
22484 cat confdefs.h
>>conftest.
$ac_ext
22485 cat >>conftest.
$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22487 $ac_includes_default
22488 typedef void * ac__type_sizeof_;
22492 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22499 rm -f conftest.
$ac_objext
22500 if { (ac_try
="$ac_compile"
22501 case "(($ac_try" in
22502 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22503 *) ac_try_echo=$ac_try;;
22505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22506 (eval "$ac_compile") 2>conftest.er1
22508 grep -v '^ *+' conftest.er1 >conftest.err
22510 cat conftest.err >&5
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); } && {
22513 test -z "$ac_c_werror_flag" ||
22514 test ! -s conftest.err
22515 } && test -s conftest.$ac_objext; then
22518 echo "$as_me: failed program was:" >&5
22519 sed 's/^/| /' conftest.$ac_ext >&5
22521 ac_lo=`expr '(' $ac_mid ')' + 1`
22524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22527 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22528 '') if test "$ac_cv_type_void_p" = yes; then
22529 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22530 See \`config.log
' for more details." >&5
22531 echo "$as_me: error: cannot compute sizeof (void *)
22532 See \`config.log' for more details.
" >&2;}
22533 { (exit 77); exit 77; }; }
22535 ac_cv_sizeof_void_p=0
22539 cat >conftest.$ac_ext <<_ACEOF
22542 cat confdefs.h >>conftest.$ac_ext
22543 cat >>conftest.$ac_ext <<_ACEOF
22544 /* end confdefs.h. */
22545 $ac_includes_default
22546 typedef void * ac__type_sizeof_;
22547 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22548 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22550 #include <stdlib.h>
22555 FILE *f = fopen ("conftest.val
", "w
");
22558 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22560 long int i = longval ();
22561 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22563 fprintf (f, "%ld
\n", i);
22567 unsigned long int i = ulongval ();
22568 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22570 fprintf (f, "%lu
\n", i);
22572 return ferror (f) || fclose (f) != 0;
22578 rm -f conftest$ac_exeext
22579 if { (ac_try="$ac_link"
22580 case "(($ac_try" in
22581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22582 *) ac_try_echo=$ac_try;;
22584 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22585 (eval "$ac_link") 2>&5
22587 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22588 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22589 { (case "(($ac_try" in
22590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22591 *) ac_try_echo=$ac_try;;
22593 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22594 (eval "$ac_try") 2>&5
22596 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22597 (exit $ac_status); }; }; then
22598 ac_cv_sizeof_void_p=`cat conftest.val`
22600 echo "$as_me: program exited with status
$ac_status" >&5
22601 echo "$as_me: failed program was
:" >&5
22602 sed 's/^/| /' conftest.$ac_ext >&5
22604 ( exit $ac_status )
22605 if test "$ac_cv_type_void_p" = yes; then
22606 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
22607 See \
`config.log' for more details." >&5
22608 echo "$as_me: error: cannot compute sizeof (void *)
22609 See \`config.log
' for more details." >&2;}
22610 { (exit 77); exit 77; }; }
22612 ac_cv_sizeof_void_p=0
22615 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22619 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22620 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22624 cat >>confdefs.h <<_ACEOF
22625 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22629 { echo "$as_me:$LINENO: checking for int" >&5
22630 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22631 if test "${ac_cv_type_int+set}" = set; then
22632 echo $ECHO_N "(cached) $ECHO_C" >&6
22634 cat >conftest.$ac_ext <<_ACEOF
22637 cat confdefs.h >>conftest.$ac_ext
22638 cat >>conftest.$ac_ext <<_ACEOF
22639 /* end confdefs.h. */
22640 $ac_includes_default
22641 typedef int ac__type_new_;
22645 if ((ac__type_new_ *) 0)
22647 if (sizeof (ac__type_new_))
22653 rm -f conftest.$ac_objext
22654 if { (ac_try="$ac_compile"
22655 case "(($ac_try" in
22656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22657 *) ac_try_echo=$ac_try;;
22659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22660 (eval "$ac_compile") 2>conftest.er1
22662 grep -v '^
*+' conftest.er1 >conftest.err
22664 cat conftest.err >&5
22665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666 (exit $ac_status); } && {
22667 test -z "$ac_c_werror_flag" ||
22668 test ! -s conftest.err
22669 } && test -s conftest.$ac_objext; then
22672 echo "$as_me: failed program was:" >&5
22673 sed 's
/^
/| /' conftest.$ac_ext >&5
22678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22680 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22681 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22683 # The cast to long int works around a bug in the HP C Compiler
22684 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22685 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22686 # This bug is HP SR number 8606223364.
22687 { echo "$as_me:$LINENO: checking size of int" >&5
22688 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22689 if test "${ac_cv_sizeof_int+set}" = set; then
22690 echo $ECHO_N "(cached) $ECHO_C" >&6
22692 if test "$cross_compiling" = yes; then
22693 # Depending upon the size, compute the lo and hi bounds.
22694 cat >conftest.
$ac_ext <<_ACEOF
22697 cat confdefs.h
>>conftest.
$ac_ext
22698 cat >>conftest.
$ac_ext <<_ACEOF
22699 /* end confdefs.h. */
22700 $ac_includes_default
22701 typedef int ac__type_sizeof_;
22705 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22712 rm -f conftest.
$ac_objext
22713 if { (ac_try
="$ac_compile"
22714 case "(($ac_try" in
22715 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22716 *) ac_try_echo=$ac_try;;
22718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22719 (eval "$ac_compile") 2>conftest.er1
22721 grep -v '^ *+' conftest.er1 >conftest.err
22723 cat conftest.err >&5
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); } && {
22726 test -z "$ac_c_werror_flag" ||
22727 test ! -s conftest.err
22728 } && test -s conftest.$ac_objext; then
22731 cat >conftest.$ac_ext <<_ACEOF
22734 cat confdefs.h >>conftest.$ac_ext
22735 cat >>conftest.$ac_ext <<_ACEOF
22736 /* end confdefs.h. */
22737 $ac_includes_default
22738 typedef int ac__type_sizeof_;
22742 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22749 rm -f conftest.$ac_objext
22750 if { (ac_try="$ac_compile"
22751 case "(($ac_try" in
22752 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22753 *) ac_try_echo
=$ac_try;;
22755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22756 (eval "$ac_compile") 2>conftest.er1
22758 grep -v '^ *+' conftest.er1
>conftest.err
22760 cat conftest.err
>&5
22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762 (exit $ac_status); } && {
22763 test -z "$ac_c_werror_flag" ||
22764 test ! -s conftest.err
22765 } && test -s conftest.
$ac_objext; then
22766 ac_hi
=$ac_mid; break
22768 echo "$as_me: failed program was:" >&5
22769 sed 's/^/| /' conftest.
$ac_ext >&5
22771 ac_lo
=`expr $ac_mid + 1`
22772 if test $ac_lo -le $ac_mid; then
22776 ac_mid
=`expr 2 '*' $ac_mid + 1`
22779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22782 echo "$as_me: failed program was:" >&5
22783 sed 's/^/| /' conftest.
$ac_ext >&5
22785 cat >conftest.
$ac_ext <<_ACEOF
22788 cat confdefs.h
>>conftest.
$ac_ext
22789 cat >>conftest.
$ac_ext <<_ACEOF
22790 /* end confdefs.h. */
22791 $ac_includes_default
22792 typedef int ac__type_sizeof_;
22796 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22803 rm -f conftest.
$ac_objext
22804 if { (ac_try
="$ac_compile"
22805 case "(($ac_try" in
22806 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22807 *) ac_try_echo=$ac_try;;
22809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22810 (eval "$ac_compile") 2>conftest.er1
22812 grep -v '^ *+' conftest.er1 >conftest.err
22814 cat conftest.err >&5
22815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22816 (exit $ac_status); } && {
22817 test -z "$ac_c_werror_flag" ||
22818 test ! -s conftest.err
22819 } && test -s conftest.$ac_objext; then
22822 cat >conftest.$ac_ext <<_ACEOF
22825 cat confdefs.h >>conftest.$ac_ext
22826 cat >>conftest.$ac_ext <<_ACEOF
22827 /* end confdefs.h. */
22828 $ac_includes_default
22829 typedef int ac__type_sizeof_;
22833 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22840 rm -f conftest.$ac_objext
22841 if { (ac_try="$ac_compile"
22842 case "(($ac_try" in
22843 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22844 *) ac_try_echo
=$ac_try;;
22846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22847 (eval "$ac_compile") 2>conftest.er1
22849 grep -v '^ *+' conftest.er1
>conftest.err
22851 cat conftest.err
>&5
22852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22853 (exit $ac_status); } && {
22854 test -z "$ac_c_werror_flag" ||
22855 test ! -s conftest.err
22856 } && test -s conftest.
$ac_objext; then
22857 ac_lo
=$ac_mid; break
22859 echo "$as_me: failed program was:" >&5
22860 sed 's/^/| /' conftest.
$ac_ext >&5
22862 ac_hi
=`expr '(' $ac_mid ')' - 1`
22863 if test $ac_mid -le $ac_hi; then
22867 ac_mid
=`expr 2 '*' $ac_mid`
22870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22873 echo "$as_me: failed program was:" >&5
22874 sed 's/^/| /' conftest.
$ac_ext >&5
22879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22883 # Binary search between lo and hi bounds.
22884 while test "x$ac_lo" != "x$ac_hi"; do
22885 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22886 cat >conftest.
$ac_ext <<_ACEOF
22889 cat confdefs.h
>>conftest.
$ac_ext
22890 cat >>conftest.
$ac_ext <<_ACEOF
22891 /* end confdefs.h. */
22892 $ac_includes_default
22893 typedef int ac__type_sizeof_;
22897 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22904 rm -f conftest.
$ac_objext
22905 if { (ac_try
="$ac_compile"
22906 case "(($ac_try" in
22907 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22908 *) ac_try_echo=$ac_try;;
22910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22911 (eval "$ac_compile") 2>conftest.er1
22913 grep -v '^ *+' conftest.er1 >conftest.err
22915 cat conftest.err >&5
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); } && {
22918 test -z "$ac_c_werror_flag" ||
22919 test ! -s conftest.err
22920 } && test -s conftest.$ac_objext; then
22923 echo "$as_me: failed program was:" >&5
22924 sed 's/^/| /' conftest.$ac_ext >&5
22926 ac_lo=`expr '(' $ac_mid ')' + 1`
22929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22932 ?*) ac_cv_sizeof_int=$ac_lo;;
22933 '') if test "$ac_cv_type_int" = yes; then
22934 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22935 See \`config.log
' for more details." >&5
22936 echo "$as_me: error: cannot compute sizeof (int)
22937 See \`config.log' for more details.
" >&2;}
22938 { (exit 77); exit 77; }; }
22944 cat >conftest.$ac_ext <<_ACEOF
22947 cat confdefs.h >>conftest.$ac_ext
22948 cat >>conftest.$ac_ext <<_ACEOF
22949 /* end confdefs.h. */
22950 $ac_includes_default
22951 typedef int ac__type_sizeof_;
22952 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22953 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22955 #include <stdlib.h>
22960 FILE *f = fopen ("conftest.val
", "w
");
22963 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22965 long int i = longval ();
22966 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22968 fprintf (f, "%ld
\n", i);
22972 unsigned long int i = ulongval ();
22973 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22975 fprintf (f, "%lu
\n", i);
22977 return ferror (f) || fclose (f) != 0;
22983 rm -f conftest$ac_exeext
22984 if { (ac_try="$ac_link"
22985 case "(($ac_try" in
22986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22987 *) ac_try_echo=$ac_try;;
22989 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22990 (eval "$ac_link") 2>&5
22992 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22993 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22994 { (case "(($ac_try" in
22995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22996 *) ac_try_echo=$ac_try;;
22998 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22999 (eval "$ac_try") 2>&5
23001 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23002 (exit $ac_status); }; }; then
23003 ac_cv_sizeof_int=`cat conftest.val`
23005 echo "$as_me: program exited with status
$ac_status" >&5
23006 echo "$as_me: failed program was
:" >&5
23007 sed 's/^/| /' conftest.$ac_ext >&5
23009 ( exit $ac_status )
23010 if test "$ac_cv_type_int" = yes; then
23011 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
23012 See \
`config.log' for more details." >&5
23013 echo "$as_me: error: cannot compute sizeof (int)
23014 See \`config.log
' for more details." >&2;}
23015 { (exit 77); exit 77; }; }
23020 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23024 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23025 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23029 cat >>confdefs.h <<_ACEOF
23030 #define SIZEOF_INT $ac_cv_sizeof_int
23034 { echo "$as_me:$LINENO: checking for long" >&5
23035 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23036 if test "${ac_cv_type_long+set}" = set; then
23037 echo $ECHO_N "(cached) $ECHO_C" >&6
23039 cat >conftest.$ac_ext <<_ACEOF
23042 cat confdefs.h >>conftest.$ac_ext
23043 cat >>conftest.$ac_ext <<_ACEOF
23044 /* end confdefs.h. */
23045 $ac_includes_default
23046 typedef long ac__type_new_;
23050 if ((ac__type_new_ *) 0)
23052 if (sizeof (ac__type_new_))
23058 rm -f conftest.$ac_objext
23059 if { (ac_try="$ac_compile"
23060 case "(($ac_try" in
23061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23062 *) ac_try_echo=$ac_try;;
23064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23065 (eval "$ac_compile") 2>conftest.er1
23067 grep -v '^
*+' conftest.er1 >conftest.err
23069 cat conftest.err >&5
23070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23071 (exit $ac_status); } && {
23072 test -z "$ac_c_werror_flag" ||
23073 test ! -s conftest.err
23074 } && test -s conftest.$ac_objext; then
23075 ac_cv_type_long=yes
23077 echo "$as_me: failed program was:" >&5
23078 sed 's
/^
/| /' conftest.$ac_ext >&5
23083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23085 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23086 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23088 # The cast to long int works around a bug in the HP C Compiler
23089 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23090 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23091 # This bug is HP SR number 8606223364.
23092 { echo "$as_me:$LINENO: checking size of long" >&5
23093 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23094 if test "${ac_cv_sizeof_long+set}" = set; then
23095 echo $ECHO_N "(cached) $ECHO_C" >&6
23097 if test "$cross_compiling" = yes; then
23098 # Depending upon the size, compute the lo and hi bounds.
23099 cat >conftest.
$ac_ext <<_ACEOF
23102 cat confdefs.h
>>conftest.
$ac_ext
23103 cat >>conftest.
$ac_ext <<_ACEOF
23104 /* end confdefs.h. */
23105 $ac_includes_default
23106 typedef long ac__type_sizeof_;
23110 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23117 rm -f conftest.
$ac_objext
23118 if { (ac_try
="$ac_compile"
23119 case "(($ac_try" in
23120 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23121 *) ac_try_echo=$ac_try;;
23123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23124 (eval "$ac_compile") 2>conftest.er1
23126 grep -v '^ *+' conftest.er1 >conftest.err
23128 cat conftest.err >&5
23129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23130 (exit $ac_status); } && {
23131 test -z "$ac_c_werror_flag" ||
23132 test ! -s conftest.err
23133 } && test -s conftest.$ac_objext; then
23136 cat >conftest.$ac_ext <<_ACEOF
23139 cat confdefs.h >>conftest.$ac_ext
23140 cat >>conftest.$ac_ext <<_ACEOF
23141 /* end confdefs.h. */
23142 $ac_includes_default
23143 typedef long ac__type_sizeof_;
23147 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23154 rm -f conftest.$ac_objext
23155 if { (ac_try="$ac_compile"
23156 case "(($ac_try" in
23157 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23158 *) ac_try_echo
=$ac_try;;
23160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23161 (eval "$ac_compile") 2>conftest.er1
23163 grep -v '^ *+' conftest.er1
>conftest.err
23165 cat conftest.err
>&5
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); } && {
23168 test -z "$ac_c_werror_flag" ||
23169 test ! -s conftest.err
23170 } && test -s conftest.
$ac_objext; then
23171 ac_hi
=$ac_mid; break
23173 echo "$as_me: failed program was:" >&5
23174 sed 's/^/| /' conftest.
$ac_ext >&5
23176 ac_lo
=`expr $ac_mid + 1`
23177 if test $ac_lo -le $ac_mid; then
23181 ac_mid
=`expr 2 '*' $ac_mid + 1`
23184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23187 echo "$as_me: failed program was:" >&5
23188 sed 's/^/| /' conftest.
$ac_ext >&5
23190 cat >conftest.
$ac_ext <<_ACEOF
23193 cat confdefs.h
>>conftest.
$ac_ext
23194 cat >>conftest.
$ac_ext <<_ACEOF
23195 /* end confdefs.h. */
23196 $ac_includes_default
23197 typedef long ac__type_sizeof_;
23201 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23208 rm -f conftest.
$ac_objext
23209 if { (ac_try
="$ac_compile"
23210 case "(($ac_try" in
23211 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23212 *) ac_try_echo=$ac_try;;
23214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23215 (eval "$ac_compile") 2>conftest.er1
23217 grep -v '^ *+' conftest.er1 >conftest.err
23219 cat conftest.err >&5
23220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23221 (exit $ac_status); } && {
23222 test -z "$ac_c_werror_flag" ||
23223 test ! -s conftest.err
23224 } && test -s conftest.$ac_objext; then
23227 cat >conftest.$ac_ext <<_ACEOF
23230 cat confdefs.h >>conftest.$ac_ext
23231 cat >>conftest.$ac_ext <<_ACEOF
23232 /* end confdefs.h. */
23233 $ac_includes_default
23234 typedef long ac__type_sizeof_;
23238 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23245 rm -f conftest.$ac_objext
23246 if { (ac_try="$ac_compile"
23247 case "(($ac_try" in
23248 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23249 *) ac_try_echo
=$ac_try;;
23251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23252 (eval "$ac_compile") 2>conftest.er1
23254 grep -v '^ *+' conftest.er1
>conftest.err
23256 cat conftest.err
>&5
23257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23258 (exit $ac_status); } && {
23259 test -z "$ac_c_werror_flag" ||
23260 test ! -s conftest.err
23261 } && test -s conftest.
$ac_objext; then
23262 ac_lo
=$ac_mid; break
23264 echo "$as_me: failed program was:" >&5
23265 sed 's/^/| /' conftest.
$ac_ext >&5
23267 ac_hi
=`expr '(' $ac_mid ')' - 1`
23268 if test $ac_mid -le $ac_hi; then
23272 ac_mid
=`expr 2 '*' $ac_mid`
23275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23278 echo "$as_me: failed program was:" >&5
23279 sed 's/^/| /' conftest.
$ac_ext >&5
23284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23288 # Binary search between lo and hi bounds.
23289 while test "x$ac_lo" != "x$ac_hi"; do
23290 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23291 cat >conftest.
$ac_ext <<_ACEOF
23294 cat confdefs.h
>>conftest.
$ac_ext
23295 cat >>conftest.
$ac_ext <<_ACEOF
23296 /* end confdefs.h. */
23297 $ac_includes_default
23298 typedef long ac__type_sizeof_;
23302 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23309 rm -f conftest.
$ac_objext
23310 if { (ac_try
="$ac_compile"
23311 case "(($ac_try" in
23312 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23313 *) ac_try_echo=$ac_try;;
23315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23316 (eval "$ac_compile") 2>conftest.er1
23318 grep -v '^ *+' conftest.er1 >conftest.err
23320 cat conftest.err >&5
23321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322 (exit $ac_status); } && {
23323 test -z "$ac_c_werror_flag" ||
23324 test ! -s conftest.err
23325 } && test -s conftest.$ac_objext; then
23328 echo "$as_me: failed program was:" >&5
23329 sed 's/^/| /' conftest.$ac_ext >&5
23331 ac_lo=`expr '(' $ac_mid ')' + 1`
23334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23337 ?*) ac_cv_sizeof_long=$ac_lo;;
23338 '') if test "$ac_cv_type_long" = yes; then
23339 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23340 See \`config.log
' for more details." >&5
23341 echo "$as_me: error: cannot compute sizeof (long)
23342 See \`config.log' for more details.
" >&2;}
23343 { (exit 77); exit 77; }; }
23345 ac_cv_sizeof_long=0
23349 cat >conftest.$ac_ext <<_ACEOF
23352 cat confdefs.h >>conftest.$ac_ext
23353 cat >>conftest.$ac_ext <<_ACEOF
23354 /* end confdefs.h. */
23355 $ac_includes_default
23356 typedef long ac__type_sizeof_;
23357 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23358 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23360 #include <stdlib.h>
23365 FILE *f = fopen ("conftest.val
", "w
");
23368 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23370 long int i = longval ();
23371 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23373 fprintf (f, "%ld
\n", i);
23377 unsigned long int i = ulongval ();
23378 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23380 fprintf (f, "%lu
\n", i);
23382 return ferror (f) || fclose (f) != 0;
23388 rm -f conftest$ac_exeext
23389 if { (ac_try="$ac_link"
23390 case "(($ac_try" in
23391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23392 *) ac_try_echo=$ac_try;;
23394 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23395 (eval "$ac_link") 2>&5
23397 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23398 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23399 { (case "(($ac_try" in
23400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23401 *) ac_try_echo=$ac_try;;
23403 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23404 (eval "$ac_try") 2>&5
23406 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23407 (exit $ac_status); }; }; then
23408 ac_cv_sizeof_long=`cat conftest.val`
23410 echo "$as_me: program exited with status
$ac_status" >&5
23411 echo "$as_me: failed program was
:" >&5
23412 sed 's/^/| /' conftest.$ac_ext >&5
23414 ( exit $ac_status )
23415 if test "$ac_cv_type_long" = yes; then
23416 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
23417 See \
`config.log' for more details." >&5
23418 echo "$as_me: error: cannot compute sizeof (long)
23419 See \`config.log
' for more details." >&2;}
23420 { (exit 77); exit 77; }; }
23422 ac_cv_sizeof_long=0
23425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23429 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23430 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23434 cat >>confdefs.h <<_ACEOF
23435 #define SIZEOF_LONG $ac_cv_sizeof_long
23439 { echo "$as_me:$LINENO: checking for size_t" >&5
23440 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23441 if test "${ac_cv_type_size_t+set}" = set; then
23442 echo $ECHO_N "(cached) $ECHO_C" >&6
23444 cat >conftest.$ac_ext <<_ACEOF
23447 cat confdefs.h >>conftest.$ac_ext
23448 cat >>conftest.$ac_ext <<_ACEOF
23449 /* end confdefs.h. */
23450 $ac_includes_default
23451 typedef size_t ac__type_new_;
23455 if ((ac__type_new_ *) 0)
23457 if (sizeof (ac__type_new_))
23463 rm -f conftest.$ac_objext
23464 if { (ac_try="$ac_compile"
23465 case "(($ac_try" in
23466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23467 *) ac_try_echo=$ac_try;;
23469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23470 (eval "$ac_compile") 2>conftest.er1
23472 grep -v '^
*+' conftest.er1 >conftest.err
23474 cat conftest.err >&5
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); } && {
23477 test -z "$ac_c_werror_flag" ||
23478 test ! -s conftest.err
23479 } && test -s conftest.$ac_objext; then
23480 ac_cv_type_size_t=yes
23482 echo "$as_me: failed program was:" >&5
23483 sed 's
/^
/| /' conftest.$ac_ext >&5
23485 ac_cv_type_size_t=no
23488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23490 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23491 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23493 # The cast to long int works around a bug in the HP C Compiler
23494 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23495 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23496 # This bug is HP SR number 8606223364.
23497 { echo "$as_me:$LINENO: checking size of size_t" >&5
23498 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23499 if test "${ac_cv_sizeof_size_t+set}" = set; then
23500 echo $ECHO_N "(cached) $ECHO_C" >&6
23502 if test "$cross_compiling" = yes; then
23503 # Depending upon the size, compute the lo and hi bounds.
23504 cat >conftest.
$ac_ext <<_ACEOF
23507 cat confdefs.h
>>conftest.
$ac_ext
23508 cat >>conftest.
$ac_ext <<_ACEOF
23509 /* end confdefs.h. */
23510 $ac_includes_default
23511 typedef size_t ac__type_sizeof_;
23515 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23522 rm -f conftest.
$ac_objext
23523 if { (ac_try
="$ac_compile"
23524 case "(($ac_try" in
23525 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23526 *) ac_try_echo=$ac_try;;
23528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23529 (eval "$ac_compile") 2>conftest.er1
23531 grep -v '^ *+' conftest.er1 >conftest.err
23533 cat conftest.err >&5
23534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23535 (exit $ac_status); } && {
23536 test -z "$ac_c_werror_flag" ||
23537 test ! -s conftest.err
23538 } && test -s conftest.$ac_objext; then
23541 cat >conftest.$ac_ext <<_ACEOF
23544 cat confdefs.h >>conftest.$ac_ext
23545 cat >>conftest.$ac_ext <<_ACEOF
23546 /* end confdefs.h. */
23547 $ac_includes_default
23548 typedef size_t ac__type_sizeof_;
23552 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23559 rm -f conftest.$ac_objext
23560 if { (ac_try="$ac_compile"
23561 case "(($ac_try" in
23562 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23563 *) ac_try_echo
=$ac_try;;
23565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23566 (eval "$ac_compile") 2>conftest.er1
23568 grep -v '^ *+' conftest.er1
>conftest.err
23570 cat conftest.err
>&5
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); } && {
23573 test -z "$ac_c_werror_flag" ||
23574 test ! -s conftest.err
23575 } && test -s conftest.
$ac_objext; then
23576 ac_hi
=$ac_mid; break
23578 echo "$as_me: failed program was:" >&5
23579 sed 's/^/| /' conftest.
$ac_ext >&5
23581 ac_lo
=`expr $ac_mid + 1`
23582 if test $ac_lo -le $ac_mid; then
23586 ac_mid
=`expr 2 '*' $ac_mid + 1`
23589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23592 echo "$as_me: failed program was:" >&5
23593 sed 's/^/| /' conftest.
$ac_ext >&5
23595 cat >conftest.
$ac_ext <<_ACEOF
23598 cat confdefs.h
>>conftest.
$ac_ext
23599 cat >>conftest.
$ac_ext <<_ACEOF
23600 /* end confdefs.h. */
23601 $ac_includes_default
23602 typedef size_t ac__type_sizeof_;
23606 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23613 rm -f conftest.
$ac_objext
23614 if { (ac_try
="$ac_compile"
23615 case "(($ac_try" in
23616 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23617 *) ac_try_echo=$ac_try;;
23619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23620 (eval "$ac_compile") 2>conftest.er1
23622 grep -v '^ *+' conftest.er1 >conftest.err
23624 cat conftest.err >&5
23625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23626 (exit $ac_status); } && {
23627 test -z "$ac_c_werror_flag" ||
23628 test ! -s conftest.err
23629 } && test -s conftest.$ac_objext; then
23632 cat >conftest.$ac_ext <<_ACEOF
23635 cat confdefs.h >>conftest.$ac_ext
23636 cat >>conftest.$ac_ext <<_ACEOF
23637 /* end confdefs.h. */
23638 $ac_includes_default
23639 typedef size_t ac__type_sizeof_;
23643 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23650 rm -f conftest.$ac_objext
23651 if { (ac_try="$ac_compile"
23652 case "(($ac_try" in
23653 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23654 *) ac_try_echo
=$ac_try;;
23656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23657 (eval "$ac_compile") 2>conftest.er1
23659 grep -v '^ *+' conftest.er1
>conftest.err
23661 cat conftest.err
>&5
23662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23663 (exit $ac_status); } && {
23664 test -z "$ac_c_werror_flag" ||
23665 test ! -s conftest.err
23666 } && test -s conftest.
$ac_objext; then
23667 ac_lo
=$ac_mid; break
23669 echo "$as_me: failed program was:" >&5
23670 sed 's/^/| /' conftest.
$ac_ext >&5
23672 ac_hi
=`expr '(' $ac_mid ')' - 1`
23673 if test $ac_mid -le $ac_hi; then
23677 ac_mid
=`expr 2 '*' $ac_mid`
23680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23683 echo "$as_me: failed program was:" >&5
23684 sed 's/^/| /' conftest.
$ac_ext >&5
23689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23693 # Binary search between lo and hi bounds.
23694 while test "x$ac_lo" != "x$ac_hi"; do
23695 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23696 cat >conftest.
$ac_ext <<_ACEOF
23699 cat confdefs.h
>>conftest.
$ac_ext
23700 cat >>conftest.
$ac_ext <<_ACEOF
23701 /* end confdefs.h. */
23702 $ac_includes_default
23703 typedef size_t ac__type_sizeof_;
23707 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23714 rm -f conftest.
$ac_objext
23715 if { (ac_try
="$ac_compile"
23716 case "(($ac_try" in
23717 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23718 *) ac_try_echo=$ac_try;;
23720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23721 (eval "$ac_compile") 2>conftest.er1
23723 grep -v '^ *+' conftest.er1 >conftest.err
23725 cat conftest.err >&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); } && {
23728 test -z "$ac_c_werror_flag" ||
23729 test ! -s conftest.err
23730 } && test -s conftest.$ac_objext; then
23733 echo "$as_me: failed program was:" >&5
23734 sed 's/^/| /' conftest.$ac_ext >&5
23736 ac_lo=`expr '(' $ac_mid ')' + 1`
23739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23742 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23743 '') if test "$ac_cv_type_size_t" = yes; then
23744 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23745 See \`config.log
' for more details." >&5
23746 echo "$as_me: error: cannot compute sizeof (size_t)
23747 See \`config.log' for more details.
" >&2;}
23748 { (exit 77); exit 77; }; }
23750 ac_cv_sizeof_size_t=0
23754 cat >conftest.$ac_ext <<_ACEOF
23757 cat confdefs.h >>conftest.$ac_ext
23758 cat >>conftest.$ac_ext <<_ACEOF
23759 /* end confdefs.h. */
23760 $ac_includes_default
23761 typedef size_t ac__type_sizeof_;
23762 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23763 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23765 #include <stdlib.h>
23770 FILE *f = fopen ("conftest.val
", "w
");
23773 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23775 long int i = longval ();
23776 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23778 fprintf (f, "%ld
\n", i);
23782 unsigned long int i = ulongval ();
23783 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23785 fprintf (f, "%lu
\n", i);
23787 return ferror (f) || fclose (f) != 0;
23793 rm -f conftest$ac_exeext
23794 if { (ac_try="$ac_link"
23795 case "(($ac_try" in
23796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23797 *) ac_try_echo=$ac_try;;
23799 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23800 (eval "$ac_link") 2>&5
23802 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23803 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23804 { (case "(($ac_try" in
23805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23806 *) ac_try_echo=$ac_try;;
23808 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23809 (eval "$ac_try") 2>&5
23811 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23812 (exit $ac_status); }; }; then
23813 ac_cv_sizeof_size_t=`cat conftest.val`
23815 echo "$as_me: program exited with status
$ac_status" >&5
23816 echo "$as_me: failed program was
:" >&5
23817 sed 's/^/| /' conftest.$ac_ext >&5
23819 ( exit $ac_status )
23820 if test "$ac_cv_type_size_t" = yes; then
23821 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
23822 See \
`config.log' for more details." >&5
23823 echo "$as_me: error: cannot compute sizeof (size_t)
23824 See \`config.log
' for more details." >&2;}
23825 { (exit 77); exit 77; }; }
23827 ac_cv_sizeof_size_t=0
23830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23834 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23835 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23839 cat >>confdefs.h <<_ACEOF
23840 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23847 { echo "$as_me:$LINENO: checking for long long" >&5
23848 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23849 if test "${ac_cv_type_long_long+set}" = set; then
23850 echo $ECHO_N "(cached) $ECHO_C" >&6
23852 cat >conftest.$ac_ext <<_ACEOF
23855 cat confdefs.h >>conftest.$ac_ext
23856 cat >>conftest.$ac_ext <<_ACEOF
23857 /* end confdefs.h. */
23858 $ac_includes_default
23859 typedef long long ac__type_new_;
23863 if ((ac__type_new_ *) 0)
23865 if (sizeof (ac__type_new_))
23871 rm -f conftest.$ac_objext
23872 if { (ac_try="$ac_compile"
23873 case "(($ac_try" in
23874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23875 *) ac_try_echo=$ac_try;;
23877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23878 (eval "$ac_compile") 2>conftest.er1
23880 grep -v '^
*+' conftest.er1 >conftest.err
23882 cat conftest.err >&5
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); } && {
23885 test -z "$ac_c_werror_flag" ||
23886 test ! -s conftest.err
23887 } && test -s conftest.$ac_objext; then
23888 ac_cv_type_long_long=yes
23890 echo "$as_me: failed program was:" >&5
23891 sed 's
/^
/| /' conftest.$ac_ext >&5
23893 ac_cv_type_long_long=no
23896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23898 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23899 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23901 # The cast to long int works around a bug in the HP C Compiler
23902 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23903 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23904 # This bug is HP SR number 8606223364.
23905 { echo "$as_me:$LINENO: checking size of long long" >&5
23906 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23907 if test "${ac_cv_sizeof_long_long+set}" = set; then
23908 echo $ECHO_N "(cached) $ECHO_C" >&6
23910 if test "$cross_compiling" = yes; then
23911 # Depending upon the size, compute the lo and hi bounds.
23912 cat >conftest.
$ac_ext <<_ACEOF
23915 cat confdefs.h
>>conftest.
$ac_ext
23916 cat >>conftest.
$ac_ext <<_ACEOF
23917 /* end confdefs.h. */
23918 $ac_includes_default
23919 typedef long long ac__type_sizeof_;
23923 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23930 rm -f conftest.
$ac_objext
23931 if { (ac_try
="$ac_compile"
23932 case "(($ac_try" in
23933 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23934 *) ac_try_echo=$ac_try;;
23936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23937 (eval "$ac_compile") 2>conftest.er1
23939 grep -v '^ *+' conftest.er1 >conftest.err
23941 cat conftest.err >&5
23942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23943 (exit $ac_status); } && {
23944 test -z "$ac_c_werror_flag" ||
23945 test ! -s conftest.err
23946 } && test -s conftest.$ac_objext; then
23949 cat >conftest.$ac_ext <<_ACEOF
23952 cat confdefs.h >>conftest.$ac_ext
23953 cat >>conftest.$ac_ext <<_ACEOF
23954 /* end confdefs.h. */
23955 $ac_includes_default
23956 typedef long long ac__type_sizeof_;
23960 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23967 rm -f conftest.$ac_objext
23968 if { (ac_try="$ac_compile"
23969 case "(($ac_try" in
23970 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23971 *) ac_try_echo
=$ac_try;;
23973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23974 (eval "$ac_compile") 2>conftest.er1
23976 grep -v '^ *+' conftest.er1
>conftest.err
23978 cat conftest.err
>&5
23979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23980 (exit $ac_status); } && {
23981 test -z "$ac_c_werror_flag" ||
23982 test ! -s conftest.err
23983 } && test -s conftest.
$ac_objext; then
23984 ac_hi
=$ac_mid; break
23986 echo "$as_me: failed program was:" >&5
23987 sed 's/^/| /' conftest.
$ac_ext >&5
23989 ac_lo
=`expr $ac_mid + 1`
23990 if test $ac_lo -le $ac_mid; then
23994 ac_mid
=`expr 2 '*' $ac_mid + 1`
23997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24000 echo "$as_me: failed program was:" >&5
24001 sed 's/^/| /' conftest.
$ac_ext >&5
24003 cat >conftest.
$ac_ext <<_ACEOF
24006 cat confdefs.h
>>conftest.
$ac_ext
24007 cat >>conftest.
$ac_ext <<_ACEOF
24008 /* end confdefs.h. */
24009 $ac_includes_default
24010 typedef long long ac__type_sizeof_;
24014 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24021 rm -f conftest.
$ac_objext
24022 if { (ac_try
="$ac_compile"
24023 case "(($ac_try" in
24024 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24025 *) ac_try_echo=$ac_try;;
24027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24028 (eval "$ac_compile") 2>conftest.er1
24030 grep -v '^ *+' conftest.er1 >conftest.err
24032 cat conftest.err >&5
24033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034 (exit $ac_status); } && {
24035 test -z "$ac_c_werror_flag" ||
24036 test ! -s conftest.err
24037 } && test -s conftest.$ac_objext; then
24040 cat >conftest.$ac_ext <<_ACEOF
24043 cat confdefs.h >>conftest.$ac_ext
24044 cat >>conftest.$ac_ext <<_ACEOF
24045 /* end confdefs.h. */
24046 $ac_includes_default
24047 typedef long long ac__type_sizeof_;
24051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24058 rm -f conftest.$ac_objext
24059 if { (ac_try="$ac_compile"
24060 case "(($ac_try" in
24061 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24062 *) ac_try_echo
=$ac_try;;
24064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24065 (eval "$ac_compile") 2>conftest.er1
24067 grep -v '^ *+' conftest.er1
>conftest.err
24069 cat conftest.err
>&5
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); } && {
24072 test -z "$ac_c_werror_flag" ||
24073 test ! -s conftest.err
24074 } && test -s conftest.
$ac_objext; then
24075 ac_lo
=$ac_mid; break
24077 echo "$as_me: failed program was:" >&5
24078 sed 's/^/| /' conftest.
$ac_ext >&5
24080 ac_hi
=`expr '(' $ac_mid ')' - 1`
24081 if test $ac_mid -le $ac_hi; then
24085 ac_mid
=`expr 2 '*' $ac_mid`
24088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24091 echo "$as_me: failed program was:" >&5
24092 sed 's/^/| /' conftest.
$ac_ext >&5
24097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24100 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24101 # Binary search between lo and hi bounds.
24102 while test "x$ac_lo" != "x$ac_hi"; do
24103 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24104 cat >conftest.
$ac_ext <<_ACEOF
24107 cat confdefs.h
>>conftest.
$ac_ext
24108 cat >>conftest.
$ac_ext <<_ACEOF
24109 /* end confdefs.h. */
24110 $ac_includes_default
24111 typedef long long ac__type_sizeof_;
24115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24122 rm -f conftest.
$ac_objext
24123 if { (ac_try
="$ac_compile"
24124 case "(($ac_try" in
24125 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24126 *) ac_try_echo=$ac_try;;
24128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24129 (eval "$ac_compile") 2>conftest.er1
24131 grep -v '^ *+' conftest.er1 >conftest.err
24133 cat conftest.err >&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); } && {
24136 test -z "$ac_c_werror_flag" ||
24137 test ! -s conftest.err
24138 } && test -s conftest.$ac_objext; then
24141 echo "$as_me: failed program was:" >&5
24142 sed 's/^/| /' conftest.$ac_ext >&5
24144 ac_lo=`expr '(' $ac_mid ')' + 1`
24147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24150 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24151 '') if test "$ac_cv_type_long_long" = yes; then
24152 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24153 See \`config.log
' for more details." >&5
24154 echo "$as_me: error: cannot compute sizeof (long long)
24155 See \`config.log' for more details.
" >&2;}
24156 { (exit 77); exit 77; }; }
24158 ac_cv_sizeof_long_long=0
24162 cat >conftest.$ac_ext <<_ACEOF
24165 cat confdefs.h >>conftest.$ac_ext
24166 cat >>conftest.$ac_ext <<_ACEOF
24167 /* end confdefs.h. */
24168 $ac_includes_default
24169 typedef long long ac__type_sizeof_;
24170 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24171 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24173 #include <stdlib.h>
24178 FILE *f = fopen ("conftest.val
", "w
");
24181 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24183 long int i = longval ();
24184 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24186 fprintf (f, "%ld
\n", i);
24190 unsigned long int i = ulongval ();
24191 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24193 fprintf (f, "%lu
\n", i);
24195 return ferror (f) || fclose (f) != 0;
24201 rm -f conftest$ac_exeext
24202 if { (ac_try="$ac_link"
24203 case "(($ac_try" in
24204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24205 *) ac_try_echo=$ac_try;;
24207 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24208 (eval "$ac_link") 2>&5
24210 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24211 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24212 { (case "(($ac_try" in
24213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24214 *) ac_try_echo=$ac_try;;
24216 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24217 (eval "$ac_try") 2>&5
24219 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24220 (exit $ac_status); }; }; then
24221 ac_cv_sizeof_long_long=`cat conftest.val`
24223 echo "$as_me: program exited with status
$ac_status" >&5
24224 echo "$as_me: failed program was
:" >&5
24225 sed 's/^/| /' conftest.$ac_ext >&5
24227 ( exit $ac_status )
24228 if test "$ac_cv_type_long_long" = yes; then
24229 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24230 See \
`config.log' for more details." >&5
24231 echo "$as_me: error: cannot compute sizeof (long long)
24232 See \`config.log
' for more details." >&2;}
24233 { (exit 77); exit 77; }; }
24235 ac_cv_sizeof_long_long=0
24238 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24242 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24243 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24247 cat >>confdefs.h <<_ACEOF
24248 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24254 { echo "$as_me:$LINENO: checking for long long" >&5
24255 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24256 if test "${ac_cv_type_long_long+set}" = set; then
24257 echo $ECHO_N "(cached) $ECHO_C" >&6
24259 cat >conftest.$ac_ext <<_ACEOF
24262 cat confdefs.h >>conftest.$ac_ext
24263 cat >>conftest.$ac_ext <<_ACEOF
24264 /* end confdefs.h. */
24265 $ac_includes_default
24266 typedef long long ac__type_new_;
24270 if ((ac__type_new_ *) 0)
24272 if (sizeof (ac__type_new_))
24278 rm -f conftest.$ac_objext
24279 if { (ac_try="$ac_compile"
24280 case "(($ac_try" in
24281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24282 *) ac_try_echo=$ac_try;;
24284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24285 (eval "$ac_compile") 2>conftest.er1
24287 grep -v '^
*+' conftest.er1 >conftest.err
24289 cat conftest.err >&5
24290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24291 (exit $ac_status); } && {
24292 test -z "$ac_c_werror_flag" ||
24293 test ! -s conftest.err
24294 } && test -s conftest.$ac_objext; then
24295 ac_cv_type_long_long=yes
24297 echo "$as_me: failed program was:" >&5
24298 sed 's
/^
/| /' conftest.$ac_ext >&5
24300 ac_cv_type_long_long=no
24303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24305 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24306 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24308 # The cast to long int works around a bug in the HP C Compiler
24309 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24310 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24311 # This bug is HP SR number 8606223364.
24312 { echo "$as_me:$LINENO: checking size of long long" >&5
24313 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24314 if test "${ac_cv_sizeof_long_long+set}" = set; then
24315 echo $ECHO_N "(cached) $ECHO_C" >&6
24317 if test "$cross_compiling" = yes; then
24318 # Depending upon the size, compute the lo and hi bounds.
24319 cat >conftest.
$ac_ext <<_ACEOF
24322 cat confdefs.h
>>conftest.
$ac_ext
24323 cat >>conftest.
$ac_ext <<_ACEOF
24324 /* end confdefs.h. */
24325 $ac_includes_default
24326 typedef long long ac__type_sizeof_;
24330 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24337 rm -f conftest.
$ac_objext
24338 if { (ac_try
="$ac_compile"
24339 case "(($ac_try" in
24340 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24341 *) ac_try_echo=$ac_try;;
24343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24344 (eval "$ac_compile") 2>conftest.er1
24346 grep -v '^ *+' conftest.er1 >conftest.err
24348 cat conftest.err >&5
24349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24350 (exit $ac_status); } && {
24351 test -z "$ac_c_werror_flag" ||
24352 test ! -s conftest.err
24353 } && test -s conftest.$ac_objext; then
24356 cat >conftest.$ac_ext <<_ACEOF
24359 cat confdefs.h >>conftest.$ac_ext
24360 cat >>conftest.$ac_ext <<_ACEOF
24361 /* end confdefs.h. */
24362 $ac_includes_default
24363 typedef long long ac__type_sizeof_;
24367 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24374 rm -f conftest.$ac_objext
24375 if { (ac_try="$ac_compile"
24376 case "(($ac_try" in
24377 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24378 *) ac_try_echo
=$ac_try;;
24380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24381 (eval "$ac_compile") 2>conftest.er1
24383 grep -v '^ *+' conftest.er1
>conftest.err
24385 cat conftest.err
>&5
24386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24387 (exit $ac_status); } && {
24388 test -z "$ac_c_werror_flag" ||
24389 test ! -s conftest.err
24390 } && test -s conftest.
$ac_objext; then
24391 ac_hi
=$ac_mid; break
24393 echo "$as_me: failed program was:" >&5
24394 sed 's/^/| /' conftest.
$ac_ext >&5
24396 ac_lo
=`expr $ac_mid + 1`
24397 if test $ac_lo -le $ac_mid; then
24401 ac_mid
=`expr 2 '*' $ac_mid + 1`
24404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24407 echo "$as_me: failed program was:" >&5
24408 sed 's/^/| /' conftest.
$ac_ext >&5
24410 cat >conftest.
$ac_ext <<_ACEOF
24413 cat confdefs.h
>>conftest.
$ac_ext
24414 cat >>conftest.
$ac_ext <<_ACEOF
24415 /* end confdefs.h. */
24416 $ac_includes_default
24417 typedef long long ac__type_sizeof_;
24421 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24428 rm -f conftest.
$ac_objext
24429 if { (ac_try
="$ac_compile"
24430 case "(($ac_try" in
24431 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24432 *) ac_try_echo=$ac_try;;
24434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24435 (eval "$ac_compile") 2>conftest.er1
24437 grep -v '^ *+' conftest.er1 >conftest.err
24439 cat conftest.err >&5
24440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24441 (exit $ac_status); } && {
24442 test -z "$ac_c_werror_flag" ||
24443 test ! -s conftest.err
24444 } && test -s conftest.$ac_objext; then
24447 cat >conftest.$ac_ext <<_ACEOF
24450 cat confdefs.h >>conftest.$ac_ext
24451 cat >>conftest.$ac_ext <<_ACEOF
24452 /* end confdefs.h. */
24453 $ac_includes_default
24454 typedef long long ac__type_sizeof_;
24458 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24465 rm -f conftest.$ac_objext
24466 if { (ac_try="$ac_compile"
24467 case "(($ac_try" in
24468 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24469 *) ac_try_echo
=$ac_try;;
24471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24472 (eval "$ac_compile") 2>conftest.er1
24474 grep -v '^ *+' conftest.er1
>conftest.err
24476 cat conftest.err
>&5
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); } && {
24479 test -z "$ac_c_werror_flag" ||
24480 test ! -s conftest.err
24481 } && test -s conftest.
$ac_objext; then
24482 ac_lo
=$ac_mid; break
24484 echo "$as_me: failed program was:" >&5
24485 sed 's/^/| /' conftest.
$ac_ext >&5
24487 ac_hi
=`expr '(' $ac_mid ')' - 1`
24488 if test $ac_mid -le $ac_hi; then
24492 ac_mid
=`expr 2 '*' $ac_mid`
24495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24498 echo "$as_me: failed program was:" >&5
24499 sed 's/^/| /' conftest.
$ac_ext >&5
24504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24507 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24508 # Binary search between lo and hi bounds.
24509 while test "x$ac_lo" != "x$ac_hi"; do
24510 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24511 cat >conftest.
$ac_ext <<_ACEOF
24514 cat confdefs.h
>>conftest.
$ac_ext
24515 cat >>conftest.
$ac_ext <<_ACEOF
24516 /* end confdefs.h. */
24517 $ac_includes_default
24518 typedef long long ac__type_sizeof_;
24522 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24529 rm -f conftest.
$ac_objext
24530 if { (ac_try
="$ac_compile"
24531 case "(($ac_try" in
24532 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24533 *) ac_try_echo=$ac_try;;
24535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24536 (eval "$ac_compile") 2>conftest.er1
24538 grep -v '^ *+' conftest.er1 >conftest.err
24540 cat conftest.err >&5
24541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24542 (exit $ac_status); } && {
24543 test -z "$ac_c_werror_flag" ||
24544 test ! -s conftest.err
24545 } && test -s conftest.$ac_objext; then
24548 echo "$as_me: failed program was:" >&5
24549 sed 's/^/| /' conftest.$ac_ext >&5
24551 ac_lo=`expr '(' $ac_mid ')' + 1`
24554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24557 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24558 '') if test "$ac_cv_type_long_long" = yes; then
24559 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24560 See \`config.log
' for more details." >&5
24561 echo "$as_me: error: cannot compute sizeof (long long)
24562 See \`config.log' for more details.
" >&2;}
24563 { (exit 77); exit 77; }; }
24565 ac_cv_sizeof_long_long=0
24569 cat >conftest.$ac_ext <<_ACEOF
24572 cat confdefs.h >>conftest.$ac_ext
24573 cat >>conftest.$ac_ext <<_ACEOF
24574 /* end confdefs.h. */
24575 $ac_includes_default
24576 typedef long long ac__type_sizeof_;
24577 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24578 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24580 #include <stdlib.h>
24585 FILE *f = fopen ("conftest.val
", "w
");
24588 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24590 long int i = longval ();
24591 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24593 fprintf (f, "%ld
\n", i);
24597 unsigned long int i = ulongval ();
24598 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24600 fprintf (f, "%lu
\n", i);
24602 return ferror (f) || fclose (f) != 0;
24608 rm -f conftest$ac_exeext
24609 if { (ac_try="$ac_link"
24610 case "(($ac_try" in
24611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24612 *) ac_try_echo=$ac_try;;
24614 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24615 (eval "$ac_link") 2>&5
24617 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24618 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24619 { (case "(($ac_try" in
24620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24621 *) ac_try_echo=$ac_try;;
24623 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24624 (eval "$ac_try") 2>&5
24626 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24627 (exit $ac_status); }; }; then
24628 ac_cv_sizeof_long_long=`cat conftest.val`
24630 echo "$as_me: program exited with status
$ac_status" >&5
24631 echo "$as_me: failed program was
:" >&5
24632 sed 's/^/| /' conftest.$ac_ext >&5
24634 ( exit $ac_status )
24635 if test "$ac_cv_type_long_long" = yes; then
24636 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24637 See \
`config.log' for more details." >&5
24638 echo "$as_me: error: cannot compute sizeof (long long)
24639 See \`config.log
' for more details." >&2;}
24640 { (exit 77); exit 77; }; }
24642 ac_cv_sizeof_long_long=0
24645 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24649 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24650 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24654 cat >>confdefs.h <<_ACEOF
24655 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24659 if test "$ac_cv_sizeof_long_long" != "0"; then
24660 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24664 { echo "$as_me:$LINENO: checking for long long" >&5
24665 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24666 if test "${ac_cv_type_long_long+set}" = set; then
24667 echo $ECHO_N "(cached) $ECHO_C" >&6
24669 cat >conftest.$ac_ext <<_ACEOF
24672 cat confdefs.h >>conftest.$ac_ext
24673 cat >>conftest.$ac_ext <<_ACEOF
24674 /* end confdefs.h. */
24675 $ac_includes_default
24676 typedef long long ac__type_new_;
24680 if ((ac__type_new_ *) 0)
24682 if (sizeof (ac__type_new_))
24688 rm -f conftest.$ac_objext
24689 if { (ac_try="$ac_compile"
24690 case "(($ac_try" in
24691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24692 *) ac_try_echo=$ac_try;;
24694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24695 (eval "$ac_compile") 2>conftest.er1
24697 grep -v '^
*+' conftest.er1 >conftest.err
24699 cat conftest.err >&5
24700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24701 (exit $ac_status); } && {
24702 test -z "$ac_c_werror_flag" ||
24703 test ! -s conftest.err
24704 } && test -s conftest.$ac_objext; then
24705 ac_cv_type_long_long=yes
24707 echo "$as_me: failed program was:" >&5
24708 sed 's
/^
/| /' conftest.$ac_ext >&5
24710 ac_cv_type_long_long=no
24713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24715 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24716 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24718 # The cast to long int works around a bug in the HP C Compiler
24719 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24720 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24721 # This bug is HP SR number 8606223364.
24722 { echo "$as_me:$LINENO: checking size of long long" >&5
24723 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24724 if test "${ac_cv_sizeof_long_long+set}" = set; then
24725 echo $ECHO_N "(cached) $ECHO_C" >&6
24727 if test "$cross_compiling" = yes; then
24728 # Depending upon the size, compute the lo and hi bounds.
24729 cat >conftest.
$ac_ext <<_ACEOF
24732 cat confdefs.h
>>conftest.
$ac_ext
24733 cat >>conftest.
$ac_ext <<_ACEOF
24734 /* end confdefs.h. */
24735 $ac_includes_default
24736 typedef long long ac__type_sizeof_;
24740 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24747 rm -f conftest.
$ac_objext
24748 if { (ac_try
="$ac_compile"
24749 case "(($ac_try" in
24750 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24751 *) ac_try_echo=$ac_try;;
24753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24754 (eval "$ac_compile") 2>conftest.er1
24756 grep -v '^ *+' conftest.er1 >conftest.err
24758 cat conftest.err >&5
24759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24760 (exit $ac_status); } && {
24761 test -z "$ac_c_werror_flag" ||
24762 test ! -s conftest.err
24763 } && test -s conftest.$ac_objext; then
24766 cat >conftest.$ac_ext <<_ACEOF
24769 cat confdefs.h >>conftest.$ac_ext
24770 cat >>conftest.$ac_ext <<_ACEOF
24771 /* end confdefs.h. */
24772 $ac_includes_default
24773 typedef long long ac__type_sizeof_;
24777 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24784 rm -f conftest.$ac_objext
24785 if { (ac_try="$ac_compile"
24786 case "(($ac_try" in
24787 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24788 *) ac_try_echo
=$ac_try;;
24790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24791 (eval "$ac_compile") 2>conftest.er1
24793 grep -v '^ *+' conftest.er1
>conftest.err
24795 cat conftest.err
>&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); } && {
24798 test -z "$ac_c_werror_flag" ||
24799 test ! -s conftest.err
24800 } && test -s conftest.
$ac_objext; then
24801 ac_hi
=$ac_mid; break
24803 echo "$as_me: failed program was:" >&5
24804 sed 's/^/| /' conftest.
$ac_ext >&5
24806 ac_lo
=`expr $ac_mid + 1`
24807 if test $ac_lo -le $ac_mid; then
24811 ac_mid
=`expr 2 '*' $ac_mid + 1`
24814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24817 echo "$as_me: failed program was:" >&5
24818 sed 's/^/| /' conftest.
$ac_ext >&5
24820 cat >conftest.
$ac_ext <<_ACEOF
24823 cat confdefs.h
>>conftest.
$ac_ext
24824 cat >>conftest.
$ac_ext <<_ACEOF
24825 /* end confdefs.h. */
24826 $ac_includes_default
24827 typedef long long ac__type_sizeof_;
24831 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24838 rm -f conftest.
$ac_objext
24839 if { (ac_try
="$ac_compile"
24840 case "(($ac_try" in
24841 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24842 *) ac_try_echo=$ac_try;;
24844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24845 (eval "$ac_compile") 2>conftest.er1
24847 grep -v '^ *+' conftest.er1 >conftest.err
24849 cat conftest.err >&5
24850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24851 (exit $ac_status); } && {
24852 test -z "$ac_c_werror_flag" ||
24853 test ! -s conftest.err
24854 } && test -s conftest.$ac_objext; then
24857 cat >conftest.$ac_ext <<_ACEOF
24860 cat confdefs.h >>conftest.$ac_ext
24861 cat >>conftest.$ac_ext <<_ACEOF
24862 /* end confdefs.h. */
24863 $ac_includes_default
24864 typedef long long ac__type_sizeof_;
24868 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24875 rm -f conftest.$ac_objext
24876 if { (ac_try="$ac_compile"
24877 case "(($ac_try" in
24878 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24879 *) ac_try_echo
=$ac_try;;
24881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24882 (eval "$ac_compile") 2>conftest.er1
24884 grep -v '^ *+' conftest.er1
>conftest.err
24886 cat conftest.err
>&5
24887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24888 (exit $ac_status); } && {
24889 test -z "$ac_c_werror_flag" ||
24890 test ! -s conftest.err
24891 } && test -s conftest.
$ac_objext; then
24892 ac_lo
=$ac_mid; break
24894 echo "$as_me: failed program was:" >&5
24895 sed 's/^/| /' conftest.
$ac_ext >&5
24897 ac_hi
=`expr '(' $ac_mid ')' - 1`
24898 if test $ac_mid -le $ac_hi; then
24902 ac_mid
=`expr 2 '*' $ac_mid`
24905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24908 echo "$as_me: failed program was:" >&5
24909 sed 's/^/| /' conftest.
$ac_ext >&5
24914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24918 # Binary search between lo and hi bounds.
24919 while test "x$ac_lo" != "x$ac_hi"; do
24920 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24921 cat >conftest.
$ac_ext <<_ACEOF
24924 cat confdefs.h
>>conftest.
$ac_ext
24925 cat >>conftest.
$ac_ext <<_ACEOF
24926 /* end confdefs.h. */
24927 $ac_includes_default
24928 typedef long long ac__type_sizeof_;
24932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24939 rm -f conftest.
$ac_objext
24940 if { (ac_try
="$ac_compile"
24941 case "(($ac_try" in
24942 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24943 *) ac_try_echo=$ac_try;;
24945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24946 (eval "$ac_compile") 2>conftest.er1
24948 grep -v '^ *+' conftest.er1 >conftest.err
24950 cat conftest.err >&5
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); } && {
24953 test -z "$ac_c_werror_flag" ||
24954 test ! -s conftest.err
24955 } && test -s conftest.$ac_objext; then
24958 echo "$as_me: failed program was:" >&5
24959 sed 's/^/| /' conftest.$ac_ext >&5
24961 ac_lo=`expr '(' $ac_mid ')' + 1`
24964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24967 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24968 '') if test "$ac_cv_type_long_long" = yes; then
24969 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24970 See \`config.log
' for more details." >&5
24971 echo "$as_me: error: cannot compute sizeof (long long)
24972 See \`config.log' for more details.
" >&2;}
24973 { (exit 77); exit 77; }; }
24975 ac_cv_sizeof_long_long=0
24979 cat >conftest.$ac_ext <<_ACEOF
24982 cat confdefs.h >>conftest.$ac_ext
24983 cat >>conftest.$ac_ext <<_ACEOF
24984 /* end confdefs.h. */
24985 $ac_includes_default
24986 typedef long long ac__type_sizeof_;
24987 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24988 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24990 #include <stdlib.h>
24995 FILE *f = fopen ("conftest.val
", "w
");
24998 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25000 long int i = longval ();
25001 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25003 fprintf (f, "%ld
\n", i);
25007 unsigned long int i = ulongval ();
25008 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25010 fprintf (f, "%lu
\n", i);
25012 return ferror (f) || fclose (f) != 0;
25018 rm -f conftest$ac_exeext
25019 if { (ac_try="$ac_link"
25020 case "(($ac_try" in
25021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25022 *) ac_try_echo=$ac_try;;
25024 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25025 (eval "$ac_link") 2>&5
25027 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25028 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25029 { (case "(($ac_try" in
25030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25031 *) ac_try_echo=$ac_try;;
25033 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25034 (eval "$ac_try") 2>&5
25036 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25037 (exit $ac_status); }; }; then
25038 ac_cv_sizeof_long_long=`cat conftest.val`
25040 echo "$as_me: program exited with status
$ac_status" >&5
25041 echo "$as_me: failed program was
:" >&5
25042 sed 's/^/| /' conftest.$ac_ext >&5
25044 ( exit $ac_status )
25045 if test "$ac_cv_type_long_long" = yes; then
25046 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
25047 See \
`config.log' for more details." >&5
25048 echo "$as_me: error: cannot compute sizeof (long long)
25049 See \`config.log
' for more details." >&2;}
25050 { (exit 77); exit 77; }; }
25052 ac_cv_sizeof_long_long=0
25055 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25059 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25060 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25064 cat >>confdefs.h <<_ACEOF
25065 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25071 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25072 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25073 if test "${ac_cv_type_wchar_t+set}" = set; then
25074 echo $ECHO_N "(cached) $ECHO_C" >&6
25076 cat >conftest.$ac_ext <<_ACEOF
25079 cat confdefs.h >>conftest.$ac_ext
25080 cat >>conftest.$ac_ext <<_ACEOF
25081 /* end confdefs.h. */
25083 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
25084 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25085 # error "fake wchar_t"
25087 #ifdef HAVE_WCHAR_H
25089 # include <stddef.h>
25091 # include <wchar.h>
25093 #ifdef HAVE_STDLIB_H
25094 # include <stdlib.h>
25100 typedef wchar_t ac__type_new_
;
25104 if ((ac__type_new_
*) 0)
25106 if (sizeof
(ac__type_new_
))
25112 rm -f conftest.
$ac_objext
25113 if { (ac_try
="$ac_compile"
25114 case "(($ac_try" in
25115 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25116 *) ac_try_echo=$ac_try;;
25118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25119 (eval "$ac_compile") 2>conftest.er1
25121 grep -v '^ *+' conftest.er1 >conftest.err
25123 cat conftest.err >&5
25124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25125 (exit $ac_status); } && {
25126 test -z "$ac_c_werror_flag" ||
25127 test ! -s conftest.err
25128 } && test -s conftest.$ac_objext; then
25129 ac_cv_type_wchar_t=yes
25131 echo "$as_me: failed program was:" >&5
25132 sed 's/^/| /' conftest.$ac_ext >&5
25134 ac_cv_type_wchar_t=no
25137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25139 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25140 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25142 # The cast to long int works around a bug in the HP C Compiler
25143 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25144 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
25145 # This bug is HP SR number 8606223364.
25146 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25147 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25148 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25149 echo $ECHO_N "(cached) $ECHO_C" >&6
25151 if test "$cross_compiling" = yes; then
25152 # Depending upon the size, compute the lo and hi bounds.
25153 cat >conftest.$ac_ext <<_ACEOF
25156 cat confdefs.h >>conftest.$ac_ext
25157 cat >>conftest.$ac_ext <<_ACEOF
25158 /* end confdefs.h. */
25160 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
25161 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25162 # error "fake wchar_t"
25164 #ifdef HAVE_WCHAR_H
25166 # include <stddef.h>
25168 # include <wchar.h>
25170 #ifdef HAVE_STDLIB_H
25171 # include <stdlib.h>
25177 typedef wchar_t ac__type_sizeof_
;
25181 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
25188 rm -f conftest.
$ac_objext
25189 if { (ac_try
="$ac_compile"
25190 case "(($ac_try" in
25191 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25192 *) ac_try_echo=$ac_try;;
25194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25195 (eval "$ac_compile") 2>conftest.er1
25197 grep -v '^ *+' conftest.er1 >conftest.err
25199 cat conftest.err >&5
25200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201 (exit $ac_status); } && {
25202 test -z "$ac_c_werror_flag" ||
25203 test ! -s conftest.err
25204 } && test -s conftest.$ac_objext; then
25207 cat >conftest.$ac_ext <<_ACEOF
25210 cat confdefs.h >>conftest.$ac_ext
25211 cat >>conftest.$ac_ext <<_ACEOF
25212 /* end confdefs.h. */
25214 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25215 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25216 # error "fake wchar_t"
25218 #ifdef HAVE_WCHAR_H
25220 # include <stddef.h>
25222 # include <wchar.h>
25224 #ifdef HAVE_STDLIB_H
25225 # include <stdlib.h>
25231 typedef wchar_t ac__type_sizeof_;
25235 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25242 rm -f conftest.$ac_objext
25243 if { (ac_try="$ac_compile"
25244 case "(($ac_try" in
25245 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25246 *) ac_try_echo
=$ac_try;;
25248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25249 (eval "$ac_compile") 2>conftest.er1
25251 grep -v '^ *+' conftest.er1
>conftest.err
25253 cat conftest.err
>&5
25254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25255 (exit $ac_status); } && {
25256 test -z "$ac_c_werror_flag" ||
25257 test ! -s conftest.err
25258 } && test -s conftest.
$ac_objext; then
25259 ac_hi
=$ac_mid; break
25261 echo "$as_me: failed program was:" >&5
25262 sed 's/^/| /' conftest.
$ac_ext >&5
25264 ac_lo
=`expr $ac_mid + 1`
25265 if test $ac_lo -le $ac_mid; then
25269 ac_mid
=`expr 2 '*' $ac_mid + 1`
25272 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25275 echo "$as_me: failed program was:" >&5
25276 sed 's/^/| /' conftest.
$ac_ext >&5
25278 cat >conftest.
$ac_ext <<_ACEOF
25281 cat confdefs.h
>>conftest.
$ac_ext
25282 cat >>conftest.
$ac_ext <<_ACEOF
25283 /* end confdefs.h. */
25285 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25286 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25287 # error "fake wchar_t"
25289 #ifdef HAVE_WCHAR_H
25291 # include <stddef.h>
25293 # include <wchar.h>
25295 #ifdef HAVE_STDLIB_H
25296 # include <stdlib.h>
25302 typedef wchar_t ac__type_sizeof_;
25306 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25313 rm -f conftest.
$ac_objext
25314 if { (ac_try
="$ac_compile"
25315 case "(($ac_try" in
25316 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25317 *) ac_try_echo=$ac_try;;
25319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25320 (eval "$ac_compile") 2>conftest.er1
25322 grep -v '^ *+' conftest.er1 >conftest.err
25324 cat conftest.err >&5
25325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25326 (exit $ac_status); } && {
25327 test -z "$ac_c_werror_flag" ||
25328 test ! -s conftest.err
25329 } && test -s conftest.$ac_objext; then
25332 cat >conftest.$ac_ext <<_ACEOF
25335 cat confdefs.h >>conftest.$ac_ext
25336 cat >>conftest.$ac_ext <<_ACEOF
25337 /* end confdefs.h. */
25339 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25340 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25341 # error "fake wchar_t"
25343 #ifdef HAVE_WCHAR_H
25345 # include <stddef.h>
25347 # include <wchar.h>
25349 #ifdef HAVE_STDLIB_H
25350 # include <stdlib.h>
25356 typedef wchar_t ac__type_sizeof_;
25360 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25367 rm -f conftest.$ac_objext
25368 if { (ac_try="$ac_compile"
25369 case "(($ac_try" in
25370 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25371 *) ac_try_echo
=$ac_try;;
25373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25374 (eval "$ac_compile") 2>conftest.er1
25376 grep -v '^ *+' conftest.er1
>conftest.err
25378 cat conftest.err
>&5
25379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25380 (exit $ac_status); } && {
25381 test -z "$ac_c_werror_flag" ||
25382 test ! -s conftest.err
25383 } && test -s conftest.
$ac_objext; then
25384 ac_lo
=$ac_mid; break
25386 echo "$as_me: failed program was:" >&5
25387 sed 's/^/| /' conftest.
$ac_ext >&5
25389 ac_hi
=`expr '(' $ac_mid ')' - 1`
25390 if test $ac_mid -le $ac_hi; then
25394 ac_mid
=`expr 2 '*' $ac_mid`
25397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25400 echo "$as_me: failed program was:" >&5
25401 sed 's/^/| /' conftest.
$ac_ext >&5
25406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25410 # Binary search between lo and hi bounds.
25411 while test "x$ac_lo" != "x$ac_hi"; do
25412 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25413 cat >conftest.
$ac_ext <<_ACEOF
25416 cat confdefs.h
>>conftest.
$ac_ext
25417 cat >>conftest.
$ac_ext <<_ACEOF
25418 /* end confdefs.h. */
25420 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25421 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25422 # error "fake wchar_t"
25424 #ifdef HAVE_WCHAR_H
25426 # include <stddef.h>
25428 # include <wchar.h>
25430 #ifdef HAVE_STDLIB_H
25431 # include <stdlib.h>
25437 typedef wchar_t ac__type_sizeof_;
25441 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25448 rm -f conftest.
$ac_objext
25449 if { (ac_try
="$ac_compile"
25450 case "(($ac_try" in
25451 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25452 *) ac_try_echo=$ac_try;;
25454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25455 (eval "$ac_compile") 2>conftest.er1
25457 grep -v '^ *+' conftest.er1 >conftest.err
25459 cat conftest.err >&5
25460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25461 (exit $ac_status); } && {
25462 test -z "$ac_c_werror_flag" ||
25463 test ! -s conftest.err
25464 } && test -s conftest.$ac_objext; then
25467 echo "$as_me: failed program was:" >&5
25468 sed 's/^/| /' conftest.$ac_ext >&5
25470 ac_lo=`expr '(' $ac_mid ')' + 1`
25473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25476 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25477 '') if test "$ac_cv_type_wchar_t" = yes; then
25478 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25479 See \`config.log
' for more details." >&5
25480 echo "$as_me: error: cannot compute sizeof (wchar_t)
25481 See \`config.log' for more details.
" >&2;}
25482 { (exit 77); exit 77; }; }
25484 ac_cv_sizeof_wchar_t=0
25488 cat >conftest.$ac_ext <<_ACEOF
25491 cat confdefs.h >>conftest.$ac_ext
25492 cat >>conftest.$ac_ext <<_ACEOF
25493 /* end confdefs.h. */
25495 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25496 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25497 # error "fake wchar_t
"
25499 #ifdef HAVE_WCHAR_H
25501 # include <stddef.h>
25503 # include <wchar.h>
25505 #ifdef HAVE_STDLIB_H
25506 # include <stdlib.h>
25512 typedef wchar_t ac__type_sizeof_;
25513 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25514 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25516 #include <stdlib.h>
25521 FILE *f = fopen ("conftest.val
", "w
");
25524 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25526 long int i = longval ();
25527 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25529 fprintf (f, "%ld
\n", i);
25533 unsigned long int i = ulongval ();
25534 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25536 fprintf (f, "%lu
\n", i);
25538 return ferror (f) || fclose (f) != 0;
25544 rm -f conftest$ac_exeext
25545 if { (ac_try="$ac_link"
25546 case "(($ac_try" in
25547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25548 *) ac_try_echo=$ac_try;;
25550 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25551 (eval "$ac_link") 2>&5
25553 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25554 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25555 { (case "(($ac_try" in
25556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25557 *) ac_try_echo=$ac_try;;
25559 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25560 (eval "$ac_try") 2>&5
25562 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25563 (exit $ac_status); }; }; then
25564 ac_cv_sizeof_wchar_t=`cat conftest.val`
25566 echo "$as_me: program exited with status
$ac_status" >&5
25567 echo "$as_me: failed program was
:" >&5
25568 sed 's/^/| /' conftest.$ac_ext >&5
25570 ( exit $ac_status )
25571 if test "$ac_cv_type_wchar_t" = yes; then
25572 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
25573 See \
`config.log' for more details." >&5
25574 echo "$as_me: error: cannot compute sizeof (wchar_t)
25575 See \`config.log
' for more details." >&2;}
25576 { (exit 77); exit 77; }; }
25578 ac_cv_sizeof_wchar_t=0
25581 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25585 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25586 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25590 cat >>confdefs.h <<_ACEOF
25591 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25595 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25601 { echo "$as_me:$LINENO: checking for va_copy" >&5
25602 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25603 if test "${wx_cv_func_va_copy+set}" = set; then
25604 echo $ECHO_N "(cached) $ECHO_C" >&6
25608 ac_cpp='$CXXCPP $CPPFLAGS'
25609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25610 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25613 cat >conftest.$ac_ext <<_ACEOF
25615 #include <stdarg.h>
25616 void foo(char *f, ...)
25630 rm -f conftest.$ac_objext conftest$ac_exeext
25631 if { (ac_try="$ac_link"
25632 case "(($ac_try" in
25633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25634 *) ac_try_echo=$ac_try;;
25636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25637 (eval "$ac_link") 2>conftest.er1
25639 grep -v '^
*+' conftest.er1 >conftest.err
25641 cat conftest.err >&5
25642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25643 (exit $ac_status); } && {
25644 test -z "$ac_cxx_werror_flag" ||
25645 test ! -s conftest.err
25646 } && test -s conftest$ac_exeext &&
25647 $as_test_x conftest$ac_exeext; then
25648 wx_cv_func_va_copy=yes
25650 echo "$as_me: failed program was:" >&5
25651 sed 's
/^
/| /' conftest.$ac_ext >&5
25653 wx_cv_func_va_copy=no
25657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25658 conftest$ac_exeext conftest.$ac_ext
25660 ac_cpp='$CPP $CPPFLAGS'
25661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25662 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25668 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25669 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25671 if test $wx_cv_func_va_copy = "yes"; then
25672 cat >>confdefs.h <<\_ACEOF
25673 #define HAVE_VA_COPY 1
25677 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25678 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25679 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25680 echo $ECHO_N "(cached) $ECHO_C" >&6
25683 if test "$cross_compiling" = yes; then
25684 wx_cv_type_va_list_lvalue=yes
25687 cat >conftest.$ac_ext <<_ACEOF
25689 #include <stdarg.h>
25690 int foo(char *f, ...)
25695 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25703 return foo("hi", 17);
25706 rm -f conftest$ac_exeext
25707 if { (ac_try="$ac_link"
25708 case "(($ac_try" in
25709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25710 *) ac_try_echo=$ac_try;;
25712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25713 (eval "$ac_link") 2>&5
25715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25716 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25717 { (case "(($ac_try" in
25718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25719 *) ac_try_echo=$ac_try;;
25721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25722 (eval "$ac_try") 2>&5
25724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25725 (exit $ac_status); }; }; then
25726 wx_cv_type_va_list_lvalue=yes
25728 echo "$as_me: program exited with status $ac_status" >&5
25729 echo "$as_me: failed program was:" >&5
25730 sed 's
/^
/| /' conftest.$ac_ext >&5
25732 ( exit $ac_status )
25733 wx_cv_type_va_list_lvalue=no
25735 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25742 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25743 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25745 if test $wx_cv_type_va_list_lvalue != "yes"; then
25746 cat >>confdefs.h <<\_ACEOF
25747 #define VA_LIST_IS_ARRAY 1
25753 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25755 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25756 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25757 if test "${wx_cv_have_variadic_macros+set}" = set; then
25758 echo $ECHO_N "(cached) $ECHO_C" >&6
25762 ac_cpp='$CXXCPP $CPPFLAGS'
25763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25764 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25767 cat >conftest.$ac_ext <<_ACEOF
25770 cat confdefs.h >>conftest.$ac_ext
25771 cat >>conftest.$ac_ext <<_ACEOF
25772 /* end confdefs.h. */
25775 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25781 test("%s %d %p", "test", 1, 0);
25788 rm -f conftest.$ac_objext
25789 if { (ac_try="$ac_compile"
25790 case "(($ac_try" in
25791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25792 *) ac_try_echo=$ac_try;;
25794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25795 (eval "$ac_compile") 2>conftest.er1
25797 grep -v '^
*+' conftest.er1 >conftest.err
25799 cat conftest.err >&5
25800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25801 (exit $ac_status); } && {
25802 test -z "$ac_cxx_werror_flag" ||
25803 test ! -s conftest.err
25804 } && test -s conftest.$ac_objext; then
25805 wx_cv_have_variadic_macros=yes
25807 echo "$as_me: failed program was:" >&5
25808 sed 's
/^
/| /' conftest.$ac_ext >&5
25810 wx_cv_have_variadic_macros=no
25814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25816 ac_cpp='$CPP $CPPFLAGS'
25817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25818 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25824 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25825 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25827 if test $wx_cv_have_variadic_macros = "yes"; then
25828 cat >>confdefs.h <<\_ACEOF
25829 #define HAVE_VARIADIC_MACROS 1
25835 # Check whether --enable-largefile was given.
25836 if test "${enable_largefile+set}" = set; then
25837 enableval=$enable_largefile;
25840 if test "$enable_largefile" != no; then
25843 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25844 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25845 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25846 echo $ECHO_N "(cached) $ECHO_C" >&6
25849 cat >conftest.$ac_ext <<_ACEOF
25852 cat confdefs.h >>conftest.$ac_ext
25853 cat >>conftest.$ac_ext <<_ACEOF
25854 /* end confdefs.h. */
25855 #define _FILE_OFFSET_BITS 64
25856 #include <sys/types.h>
25861 unsigned int field: sizeof(off_t) == 8;
25868 rm -f conftest.$ac_objext
25869 if { (ac_try="$ac_compile"
25870 case "(($ac_try" in
25871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25872 *) ac_try_echo=$ac_try;;
25874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25875 (eval "$ac_compile") 2>conftest.er1
25877 grep -v '^
*+' conftest.er1 >conftest.err
25879 cat conftest.err >&5
25880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25881 (exit $ac_status); } && {
25882 test -z "$ac_c_werror_flag" ||
25883 test ! -s conftest.err
25884 } && test -s conftest.$ac_objext; then
25885 ac_cv_sys_file_offset_bits=64
25887 echo "$as_me: failed program was:" >&5
25888 sed 's
/^
/| /' conftest.$ac_ext >&5
25890 ac_cv_sys_file_offset_bits=no
25893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25897 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25898 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25900 if test "$ac_cv_sys_file_offset_bits" != no; then
25902 cat >>confdefs.h <<_ACEOF
25903 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25908 if test "x$wx_largefile" != "xyes"; then
25910 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25911 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25912 if test "${ac_cv_sys_large_files+set}" = set; then
25913 echo $ECHO_N "(cached) $ECHO_C" >&6
25916 cat >conftest.$ac_ext <<_ACEOF
25919 cat confdefs.h >>conftest.$ac_ext
25920 cat >>conftest.$ac_ext <<_ACEOF
25921 /* end confdefs.h. */
25922 #define _LARGE_FILES 1
25923 #include <sys/types.h>
25928 unsigned int field: sizeof(off_t) == 8;
25935 rm -f conftest.$ac_objext
25936 if { (ac_try="$ac_compile"
25937 case "(($ac_try" in
25938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25939 *) ac_try_echo=$ac_try;;
25941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25942 (eval "$ac_compile") 2>conftest.er1
25944 grep -v '^
*+' conftest.er1 >conftest.err
25946 cat conftest.err >&5
25947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25948 (exit $ac_status); } && {
25949 test -z "$ac_c_werror_flag" ||
25950 test ! -s conftest.err
25951 } && test -s conftest.$ac_objext; then
25952 ac_cv_sys_large_files=1
25954 echo "$as_me: failed program was:" >&5
25955 sed 's
/^
/| /' conftest.$ac_ext >&5
25957 ac_cv_sys_large_files=no
25960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25964 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25965 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25967 if test "$ac_cv_sys_large_files" != no; then
25969 cat >>confdefs.h <<_ACEOF
25970 #define _LARGE_FILES $ac_cv_sys_large_files
25977 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25978 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25979 if test "x$wx_largefile" = "xyes"; then
25980 cat >>confdefs.h <<\_ACEOF
25981 #define HAVE_LARGEFILE_SUPPORT 1
25985 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25986 echo "${ECHO_T}$wx_largefile" >&6; }
25990 if test "x$wx_largefile" = "xyes"; then
25991 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25992 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25994 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25995 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25996 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25997 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25998 echo $ECHO_N "(cached) $ECHO_C" >&6
26002 ac_cpp='$CXXCPP $CPPFLAGS'
26003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26004 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26007 cat >conftest.$ac_ext <<_ACEOF
26010 cat confdefs.h >>conftest.$ac_ext
26011 cat >>conftest.$ac_ext <<_ACEOF
26012 /* end confdefs.h. */
26018 #ifndef __STDC_EXT__
26026 rm -f conftest.$ac_objext
26027 if { (ac_try="$ac_compile"
26028 case "(($ac_try" in
26029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26030 *) ac_try_echo=$ac_try;;
26032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26033 (eval "$ac_compile") 2>conftest.er1
26035 grep -v '^
*+' conftest.er1 >conftest.err
26037 cat conftest.err >&5
26038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26039 (exit $ac_status); } && {
26040 test -z "$ac_cxx_werror_flag" ||
26041 test ! -s conftest.err
26042 } && test -s conftest.$ac_objext; then
26043 wx_cv_STDC_EXT_required=no
26045 echo "$as_me: failed program was:" >&5
26046 sed 's
/^
/| /' conftest.$ac_ext >&5
26048 wx_cv_STDC_EXT_required=yes
26052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26054 ac_cpp='$CPP $CPPFLAGS'
26055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26056 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26062 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26063 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26064 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26065 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26069 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26071 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26072 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26073 if test "${ac_cv_sys_largefile_source+set}" = set; then
26074 echo $ECHO_N "(cached) $ECHO_C" >&6
26077 cat >conftest.$ac_ext <<_ACEOF
26080 cat confdefs.h >>conftest.$ac_ext
26081 cat >>conftest.$ac_ext <<_ACEOF
26082 /* end confdefs.h. */
26083 #include <sys/types.h> /* for off_t */
26088 int (*fp) (FILE *, off_t, int) = fseeko;
26089 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26094 rm -f conftest.$ac_objext conftest$ac_exeext
26095 if { (ac_try="$ac_link"
26096 case "(($ac_try" in
26097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26098 *) ac_try_echo=$ac_try;;
26100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26101 (eval "$ac_link") 2>conftest.er1
26103 grep -v '^
*+' conftest.er1 >conftest.err
26105 cat conftest.err >&5
26106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26107 (exit $ac_status); } && {
26108 test -z "$ac_c_werror_flag" ||
26109 test ! -s conftest.err
26110 } && test -s conftest$ac_exeext &&
26111 $as_test_x conftest$ac_exeext; then
26112 ac_cv_sys_largefile_source=no; break
26114 echo "$as_me: failed program was:" >&5
26115 sed 's
/^
/| /' conftest.$ac_ext >&5
26120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26121 conftest$ac_exeext conftest.$ac_ext
26122 cat >conftest.$ac_ext <<_ACEOF
26125 cat confdefs.h >>conftest.$ac_ext
26126 cat >>conftest.$ac_ext <<_ACEOF
26127 /* end confdefs.h. */
26128 #define _LARGEFILE_SOURCE 1
26129 #include <sys/types.h> /* for off_t */
26134 int (*fp) (FILE *, off_t, int) = fseeko;
26135 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26140 rm -f conftest.$ac_objext conftest$ac_exeext
26141 if { (ac_try="$ac_link"
26142 case "(($ac_try" in
26143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26144 *) ac_try_echo=$ac_try;;
26146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26147 (eval "$ac_link") 2>conftest.er1
26149 grep -v '^
*+' conftest.er1 >conftest.err
26151 cat conftest.err >&5
26152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26153 (exit $ac_status); } && {
26154 test -z "$ac_c_werror_flag" ||
26155 test ! -s conftest.err
26156 } && test -s conftest$ac_exeext &&
26157 $as_test_x conftest$ac_exeext; then
26158 ac_cv_sys_largefile_source=1; break
26160 echo "$as_me: failed program was:" >&5
26161 sed 's
/^
/| /' conftest.$ac_ext >&5
26166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26167 conftest$ac_exeext conftest.$ac_ext
26168 ac_cv_sys_largefile_source=unknown
26172 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26173 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26174 case $ac_cv_sys_largefile_source in #(
26177 cat >>confdefs.h <<_ACEOF
26178 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26184 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26185 # in glibc 2.1.3, but that breaks too many other things.
26186 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26187 if test $ac_cv_sys_largefile_source != unknown; then
26189 cat >>confdefs.h <<\_ACEOF
26190 #define HAVE_FSEEKO 1
26195 if test "$ac_cv_sys_largefile_source" != no; then
26196 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26200 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26201 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26202 if test "${ac_cv_c_bigendian+set}" = set; then
26203 echo $ECHO_N "(cached) $ECHO_C" >&6
26205 ac_cv_c_bigendian=unknown
26206 # See if sys/param.h defines the BYTE_ORDER macro.
26207 cat >conftest.$ac_ext <<_ACEOF
26210 cat confdefs.h >>conftest.$ac_ext
26211 cat >>conftest.$ac_ext <<_ACEOF
26212 /* end confdefs.h. */
26213 #include <sys/types.h>
26214 #include <sys/param.h>
26219 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26220 bogus endian macros
26226 rm -f conftest.$ac_objext
26227 if { (ac_try="$ac_compile"
26228 case "(($ac_try" in
26229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26230 *) ac_try_echo=$ac_try;;
26232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26233 (eval "$ac_compile") 2>conftest.er1
26235 grep -v '^
*+' conftest.er1 >conftest.err
26237 cat conftest.err >&5
26238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26239 (exit $ac_status); } && {
26240 test -z "$ac_c_werror_flag" ||
26241 test ! -s conftest.err
26242 } && test -s conftest.$ac_objext; then
26243 # It does; now see whether it defined to BIG_ENDIAN or not.
26244 cat >conftest.$ac_ext <<_ACEOF
26247 cat confdefs.h >>conftest.$ac_ext
26248 cat >>conftest.$ac_ext <<_ACEOF
26249 /* end confdefs.h. */
26250 #include <sys/types.h>
26251 #include <sys/param.h>
26256 #if BYTE_ORDER != BIG_ENDIAN
26263 rm -f conftest.$ac_objext
26264 if { (ac_try="$ac_compile"
26265 case "(($ac_try" in
26266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26267 *) ac_try_echo=$ac_try;;
26269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26270 (eval "$ac_compile") 2>conftest.er1
26272 grep -v '^
*+' conftest.er1 >conftest.err
26274 cat conftest.err >&5
26275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26276 (exit $ac_status); } && {
26277 test -z "$ac_c_werror_flag" ||
26278 test ! -s conftest.err
26279 } && test -s conftest.$ac_objext; then
26280 ac_cv_c_bigendian=yes
26282 echo "$as_me: failed program was:" >&5
26283 sed 's
/^
/| /' conftest.$ac_ext >&5
26285 ac_cv_c_bigendian=no
26288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26290 echo "$as_me: failed program was:" >&5
26291 sed 's
/^
/| /' conftest.$ac_ext >&5
26296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26297 if test $ac_cv_c_bigendian = unknown; then
26298 if test "$cross_compiling" = yes; then
26299 ac_cv_c_bigendian=unknown
26301 cat >conftest.$ac_ext <<_ACEOF
26304 cat confdefs.h >>conftest.$ac_ext
26305 cat >>conftest.$ac_ext <<_ACEOF
26306 /* end confdefs.h. */
26308 /* Are we little or big endian? From Harbison&Steele. */
26312 char c[sizeof (long)];
26315 exit (u.c[sizeof (long) - 1] == 1);
26318 rm -f conftest$ac_exeext
26319 if { (ac_try="$ac_link"
26320 case "(($ac_try" in
26321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26322 *) ac_try_echo=$ac_try;;
26324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26325 (eval "$ac_link") 2>&5
26327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26328 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
26329 { (case "(($ac_try" in
26330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26331 *) ac_try_echo=$ac_try;;
26333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26334 (eval "$ac_try") 2>&5
26336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26337 (exit $ac_status); }; }; then
26338 ac_cv_c_bigendian=no
26340 echo "$as_me: program exited with status $ac_status" >&5
26341 echo "$as_me: failed program was:" >&5
26342 sed 's
/^
/| /' conftest.$ac_ext >&5
26344 ( exit $ac_status )
26345 ac_cv_c_bigendian=yes
26347 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26353 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26354 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26355 if test $ac_cv_c_bigendian = unknown; then
26356 { 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
26357 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;}
26359 if test $ac_cv_c_bigendian = yes; then
26360 cat >>confdefs.h <<\_ACEOF
26361 #define WORDS_BIGENDIAN 1
26370 ac_cpp='$CXXCPP $CPPFLAGS'
26371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26372 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26377 for ac_header in iostream
26379 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26380 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26382 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26383 echo $ECHO_N "(cached) $ECHO_C" >&6
26385 cat >conftest.$ac_ext <<_ACEOF
26388 cat confdefs.h >>conftest.$ac_ext
26389 cat >>conftest.$ac_ext <<_ACEOF
26390 /* end confdefs.h. */
26393 #include <$ac_header>
26395 rm -f conftest.$ac_objext
26396 if { (ac_try="$ac_compile"
26397 case "(($ac_try" in
26398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26399 *) ac_try_echo=$ac_try;;
26401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26402 (eval "$ac_compile") 2>conftest.er1
26404 grep -v '^
*+' conftest.er1 >conftest.err
26406 cat conftest.err >&5
26407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26408 (exit $ac_status); } && {
26409 test -z "$ac_cxx_werror_flag" ||
26410 test ! -s conftest.err
26411 } && test -s conftest.$ac_objext; then
26412 eval "$as_ac_Header=yes"
26414 echo "$as_me: failed program was:" >&5
26415 sed 's
/^
/| /' conftest.$ac_ext >&5
26417 eval "$as_ac_Header=no"
26420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26422 ac_res=`eval echo '${'$as_ac_Header'}'`
26423 { echo "$as_me:$LINENO: result: $ac_res" >&5
26424 echo "${ECHO_T}$ac_res" >&6; }
26425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26426 cat >>confdefs.h <<_ACEOF
26427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26435 if test "$ac_cv_header_iostream" = "yes" ; then
26438 cat >>confdefs.h <<\_ACEOF
26439 #define wxUSE_IOSTREAMH 1
26445 ac_cpp='$CPP $CPPFLAGS'
26446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26447 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26453 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26454 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26455 if test "${wx_cv_cpp_bool+set}" = set; then
26456 echo $ECHO_N "(cached) $ECHO_C" >&6
26461 ac_cpp='$CXXCPP $CPPFLAGS'
26462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26463 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26467 cat >conftest.$ac_ext <<_ACEOF
26470 cat confdefs.h >>conftest.$ac_ext
26471 cat >>conftest.$ac_ext <<_ACEOF
26472 /* end confdefs.h. */
26487 rm -f conftest.$ac_objext
26488 if { (ac_try="$ac_compile"
26489 case "(($ac_try" in
26490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26491 *) ac_try_echo=$ac_try;;
26493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26494 (eval "$ac_compile") 2>conftest.er1
26496 grep -v '^
*+' conftest.er1 >conftest.err
26498 cat conftest.err >&5
26499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26500 (exit $ac_status); } && {
26501 test -z "$ac_cxx_werror_flag" ||
26502 test ! -s conftest.err
26503 } && test -s conftest.$ac_objext; then
26508 echo "$as_me: failed program was:" >&5
26509 sed 's
/^
/| /' conftest.$ac_ext >&5
26517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26520 ac_cpp='$CPP $CPPFLAGS'
26521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26522 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26527 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26528 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26530 if test "$wx_cv_cpp_bool" = "yes"; then
26531 cat >>confdefs.h <<\_ACEOF
26532 #define HAVE_BOOL 1
26539 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26540 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26541 if test "${wx_cv_explicit+set}" = set; then
26542 echo $ECHO_N "(cached) $ECHO_C" >&6
26547 ac_cpp='$CXXCPP $CPPFLAGS'
26548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26549 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26553 cat >conftest.$ac_ext <<_ACEOF
26556 cat confdefs.h >>conftest.$ac_ext
26557 cat >>conftest.$ac_ext <<_ACEOF
26558 /* end confdefs.h. */
26560 class Foo { public: explicit Foo(int) {} };
26572 rm -f conftest.$ac_objext
26573 if { (ac_try="$ac_compile"
26574 case "(($ac_try" in
26575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26576 *) ac_try_echo=$ac_try;;
26578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26579 (eval "$ac_compile") 2>conftest.er1
26581 grep -v '^
*+' conftest.er1 >conftest.err
26583 cat conftest.err >&5
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); } && {
26586 test -z "$ac_cxx_werror_flag" ||
26587 test ! -s conftest.err
26588 } && test -s conftest.$ac_objext; then
26590 cat >conftest.$ac_ext <<_ACEOF
26593 cat confdefs.h >>conftest.$ac_ext
26594 cat >>conftest.$ac_ext <<_ACEOF
26595 /* end confdefs.h. */
26597 class Foo { public: explicit Foo(int) {} };
26598 static void TakeFoo(const Foo& foo) { }
26611 rm -f conftest.$ac_objext
26612 if { (ac_try="$ac_compile"
26613 case "(($ac_try" in
26614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26615 *) ac_try_echo=$ac_try;;
26617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26618 (eval "$ac_compile") 2>conftest.er1
26620 grep -v '^
*+' conftest.er1 >conftest.err
26622 cat conftest.err >&5
26623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26624 (exit $ac_status); } && {
26625 test -z "$ac_cxx_werror_flag" ||
26626 test ! -s conftest.err
26627 } && test -s conftest.$ac_objext; then
26630 echo "$as_me: failed program was:" >&5
26631 sed 's
/^
/| /' conftest.$ac_ext >&5
26637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26640 echo "$as_me: failed program was:" >&5
26641 sed 's
/^
/| /' conftest.$ac_ext >&5
26647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26650 ac_cpp='$CPP $CPPFLAGS'
26651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26652 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26657 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26658 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26660 if test "$wx_cv_explicit" = "yes"; then
26661 cat >>confdefs.h <<\_ACEOF
26662 #define HAVE_EXPLICIT 1
26668 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26669 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26670 if test "${ac_cv_cxx_const_cast+set}" = set; then
26671 echo $ECHO_N "(cached) $ECHO_C" >&6
26675 ac_cpp='$CXXCPP $CPPFLAGS'
26676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26677 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26680 cat >conftest.$ac_ext <<_ACEOF
26683 cat confdefs.h >>conftest.$ac_ext
26684 cat >>conftest.$ac_ext <<_ACEOF
26685 /* end confdefs.h. */
26690 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26695 rm -f conftest.$ac_objext
26696 if { (ac_try="$ac_compile"
26697 case "(($ac_try" in
26698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26699 *) ac_try_echo=$ac_try;;
26701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26702 (eval "$ac_compile") 2>conftest.er1
26704 grep -v '^
*+' conftest.er1 >conftest.err
26706 cat conftest.err >&5
26707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26708 (exit $ac_status); } && {
26709 test -z "$ac_cxx_werror_flag" ||
26710 test ! -s conftest.err
26711 } && test -s conftest.$ac_objext; then
26712 ac_cv_cxx_const_cast=yes
26714 echo "$as_me: failed program was:" >&5
26715 sed 's
/^
/| /' conftest.$ac_ext >&5
26717 ac_cv_cxx_const_cast=no
26720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26722 ac_cpp='$CPP $CPPFLAGS'
26723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26724 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26729 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26730 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26731 if test "$ac_cv_cxx_const_cast" = yes; then
26733 cat >>confdefs.h <<\_ACEOF
26734 #define HAVE_CONST_CAST
26739 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26740 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26741 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26742 echo $ECHO_N "(cached) $ECHO_C" >&6
26746 ac_cpp='$CXXCPP $CPPFLAGS'
26747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26748 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26751 cat >conftest.$ac_ext <<_ACEOF
26754 cat confdefs.h >>conftest.$ac_ext
26755 cat >>conftest.$ac_ext <<_ACEOF
26756 /* end confdefs.h. */
26757 #include <typeinfo>
26758 class Base { public : Base () {} virtual void f () = 0;};
26759 class Derived : public Base { public : Derived () {} virtual void f () {} };
26760 class Unrelated { public : Unrelated () {} };
26761 int g (Unrelated&) { return 0; }
26766 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26771 rm -f conftest.$ac_objext
26772 if { (ac_try="$ac_compile"
26773 case "(($ac_try" in
26774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26775 *) ac_try_echo=$ac_try;;
26777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26778 (eval "$ac_compile") 2>conftest.er1
26780 grep -v '^
*+' conftest.er1 >conftest.err
26782 cat conftest.err >&5
26783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26784 (exit $ac_status); } && {
26785 test -z "$ac_cxx_werror_flag" ||
26786 test ! -s conftest.err
26787 } && test -s conftest.$ac_objext; then
26788 ac_cv_cxx_reinterpret_cast=yes
26790 echo "$as_me: failed program was:" >&5
26791 sed 's
/^
/| /' conftest.$ac_ext >&5
26793 ac_cv_cxx_reinterpret_cast=no
26796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26798 ac_cpp='$CPP $CPPFLAGS'
26799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26800 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26805 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26806 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26807 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26809 cat >>confdefs.h <<\_ACEOF
26810 #define HAVE_REINTERPRET_CAST
26815 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26816 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26817 if test "${ac_cv_cxx_static_cast+set}" = set; then
26818 echo $ECHO_N "(cached) $ECHO_C" >&6
26822 ac_cpp='$CXXCPP $CPPFLAGS'
26823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26824 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26827 cat >conftest.$ac_ext <<_ACEOF
26830 cat confdefs.h >>conftest.$ac_ext
26831 cat >>conftest.$ac_ext <<_ACEOF
26832 /* end confdefs.h. */
26833 #include <typeinfo>
26834 class Base { public : Base () {} virtual void f () = 0; };
26835 class Derived : public Base { public : Derived () {} virtual void f () {} };
26836 int g (Derived&) { return 0; }
26841 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26846 rm -f conftest.$ac_objext
26847 if { (ac_try="$ac_compile"
26848 case "(($ac_try" in
26849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26850 *) ac_try_echo=$ac_try;;
26852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26853 (eval "$ac_compile") 2>conftest.er1
26855 grep -v '^
*+' conftest.er1 >conftest.err
26857 cat conftest.err >&5
26858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26859 (exit $ac_status); } && {
26860 test -z "$ac_cxx_werror_flag" ||
26861 test ! -s conftest.err
26862 } && test -s conftest.$ac_objext; then
26863 ac_cv_cxx_static_cast=yes
26865 echo "$as_me: failed program was:" >&5
26866 sed 's
/^
/| /' conftest.$ac_ext >&5
26868 ac_cv_cxx_static_cast=no
26871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26873 ac_cpp='$CPP $CPPFLAGS'
26874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26875 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26880 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26881 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26882 if test "$ac_cv_cxx_static_cast" = yes; then
26884 cat >>confdefs.h <<\_ACEOF
26885 #define HAVE_STATIC_CAST
26891 if test "x$SUNCXX" = xyes; then
26892 CXXFLAGS="-features=tmplife $CXXFLAGS"
26895 if test "x$SUNCC" = xyes; then
26896 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26899 if test "x$SGICC" = "xyes"; then
26900 CFLAGS="-woff 3970 $CFLAGS"
26902 if test "x$SGICXX" = "xyes"; then
26903 CXXFLAGS="-woff 3970 $CXXFLAGS"
26906 if test "x$HPCC" = "xyes"; then
26907 CFLAGS="+W 2011,2450 $CFLAGS"
26909 if test "x$HPCXX" = "xyes"; then
26910 CXXFLAGS="+W 2340 $CXXFLAGS"
26913 if test "x$COMPAQCXX" = "xyes"; then
26914 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26918 ac_cpp='$CXXCPP $CPPFLAGS'
26919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26920 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26924 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26925 if test "$wxUSE_UNICODE" = "yes"; then
26926 std_string="std::wstring"
26927 char_type="wchar_t"
26929 std_string="std::string"
26933 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26934 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26935 if test "${wx_cv_class_stdstring+set}" = set; then
26936 echo $ECHO_N "(cached) $ECHO_C" >&6
26939 cat >conftest.$ac_ext <<_ACEOF
26942 cat confdefs.h >>conftest.$ac_ext
26943 cat >>conftest.$ac_ext <<_ACEOF
26944 /* end confdefs.h. */
26954 rm -f conftest.$ac_objext
26955 if { (ac_try="$ac_compile"
26956 case "(($ac_try" in
26957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26958 *) ac_try_echo=$ac_try;;
26960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26961 (eval "$ac_compile") 2>conftest.er1
26963 grep -v '^
*+' conftest.er1 >conftest.err
26965 cat conftest.err >&5
26966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26967 (exit $ac_status); } && {
26968 test -z "$ac_cxx_werror_flag" ||
26969 test ! -s conftest.err
26970 } && test -s conftest.$ac_objext; then
26971 wx_cv_class_stdstring=yes
26973 echo "$as_me: failed program was:" >&5
26974 sed 's
/^
/| /' conftest.$ac_ext >&5
26976 wx_cv_class_stdstring=no
26980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26984 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26985 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26987 if test "$wx_cv_class_stdstring" = yes; then
26988 if test "$wxUSE_UNICODE" = "yes"; then
26989 cat >>confdefs.h <<\_ACEOF
26990 #define HAVE_STD_WSTRING 1
26995 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26996 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26997 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26998 echo $ECHO_N "(cached) $ECHO_C" >&6
27001 cat >conftest.$ac_ext <<_ACEOF
27004 cat confdefs.h >>conftest.$ac_ext
27005 cat >>conftest.$ac_ext <<_ACEOF
27006 /* end confdefs.h. */
27008 #ifdef HAVE_WCHAR_H
27010 # include <stddef.h>
27012 # include <wchar.h>
27014 #ifdef HAVE_STDLIB_H
27015 # include <stdlib.h>
27023 std::basic_string<$char_type> foo;
27024 const $char_type* dummy = foo.c_str();
27029 rm -f conftest.$ac_objext
27030 if { (ac_try="$ac_compile"
27031 case "(($ac_try" in
27032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27033 *) ac_try_echo=$ac_try;;
27035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27036 (eval "$ac_compile") 2>conftest.er1
27038 grep -v '^
*+' conftest.er1 >conftest.err
27040 cat conftest.err >&5
27041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27042 (exit $ac_status); } && {
27043 test -z "$ac_cxx_werror_flag" ||
27044 test ! -s conftest.err
27045 } && test -s conftest.$ac_objext; then
27046 wx_cv_class_stdbasicstring=yes
27048 echo "$as_me: failed program was:" >&5
27049 sed 's
/^
/| /' conftest.$ac_ext >&5
27051 wx_cv_class_stdbasicstring=no
27055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27059 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27060 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27062 if test "$wx_cv_class_stdbasicstring" != yes; then
27063 if test "$wxUSE_STL" = "yes"; then
27064 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
27065 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27066 { (exit 1); exit 1; }; }
27067 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27068 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
27069 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27070 { (exit 1); exit 1; }; }
27072 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27073 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27074 wxUSE_STD_STRING=no
27080 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27081 { echo "$as_me:$LINENO: checking for std::istream" >&5
27082 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27083 if test "${ac_cv_type_std__istream+set}" = set; then
27084 echo $ECHO_N "(cached) $ECHO_C" >&6
27086 cat >conftest.$ac_ext <<_ACEOF
27089 cat confdefs.h >>conftest.$ac_ext
27090 cat >>conftest.$ac_ext <<_ACEOF
27091 /* end confdefs.h. */
27092 #include <iostream>
27094 typedef std::istream ac__type_new_;
27098 if ((ac__type_new_ *) 0)
27100 if (sizeof (ac__type_new_))
27106 rm -f conftest.$ac_objext
27107 if { (ac_try="$ac_compile"
27108 case "(($ac_try" in
27109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27110 *) ac_try_echo=$ac_try;;
27112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27113 (eval "$ac_compile") 2>conftest.er1
27115 grep -v '^
*+' conftest.er1 >conftest.err
27117 cat conftest.err >&5
27118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27119 (exit $ac_status); } && {
27120 test -z "$ac_cxx_werror_flag" ||
27121 test ! -s conftest.err
27122 } && test -s conftest.$ac_objext; then
27123 ac_cv_type_std__istream=yes
27125 echo "$as_me: failed program was:" >&5
27126 sed 's
/^
/| /' conftest.$ac_ext >&5
27128 ac_cv_type_std__istream=no
27131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27133 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27134 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27135 if test $ac_cv_type_std__istream = yes; then
27137 cat >>confdefs.h <<_ACEOF
27138 #define HAVE_STD__ISTREAM 1
27143 wxUSE_STD_IOSTREAM=no
27145 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27146 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27147 if test "${ac_cv_type_std__ostream+set}" = set; then
27148 echo $ECHO_N "(cached) $ECHO_C" >&6
27150 cat >conftest.$ac_ext <<_ACEOF
27153 cat confdefs.h >>conftest.$ac_ext
27154 cat >>conftest.$ac_ext <<_ACEOF
27155 /* end confdefs.h. */
27156 #include <iostream>
27158 typedef std::ostream ac__type_new_;
27162 if ((ac__type_new_ *) 0)
27164 if (sizeof (ac__type_new_))
27170 rm -f conftest.$ac_objext
27171 if { (ac_try="$ac_compile"
27172 case "(($ac_try" in
27173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27174 *) ac_try_echo=$ac_try;;
27176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27177 (eval "$ac_compile") 2>conftest.er1
27179 grep -v '^
*+' conftest.er1 >conftest.err
27181 cat conftest.err >&5
27182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27183 (exit $ac_status); } && {
27184 test -z "$ac_cxx_werror_flag" ||
27185 test ! -s conftest.err
27186 } && test -s conftest.$ac_objext; then
27187 ac_cv_type_std__ostream=yes
27189 echo "$as_me: failed program was:" >&5
27190 sed 's
/^
/| /' conftest.$ac_ext >&5
27192 ac_cv_type_std__ostream=no
27195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27197 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27198 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27199 if test $ac_cv_type_std__ostream = yes; then
27201 cat >>confdefs.h <<_ACEOF
27202 #define HAVE_STD__OSTREAM 1
27207 wxUSE_STD_IOSTREAM=no
27211 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27212 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27213 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
27214 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27215 { (exit 1); exit 1; }; }
27217 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27218 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27223 if test "$wxUSE_STL" = "yes"; then
27224 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27225 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27226 if test "${wx_cv_lib_stl+set}" = set; then
27227 echo $ECHO_N "(cached) $ECHO_C" >&6
27229 cat >conftest.$ac_ext <<_ACEOF
27232 cat confdefs.h >>conftest.$ac_ext
27233 cat >>conftest.$ac_ext <<_ACEOF
27234 /* end confdefs.h. */
27236 #include <functional>
27237 #include <algorithm>
27243 std::vector<int> moo;
27244 std::list<int> foo;
27245 std::vector<int>::iterator it =
27246 std::find_if(moo.begin(), moo.end(),
27247 std::bind2nd(std::less<int>(), 3));
27252 rm -f conftest.$ac_objext
27253 if { (ac_try="$ac_compile"
27254 case "(($ac_try" in
27255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27256 *) ac_try_echo=$ac_try;;
27258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27259 (eval "$ac_compile") 2>conftest.er1
27261 grep -v '^
*+' conftest.er1 >conftest.err
27263 cat conftest.err >&5
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); } && {
27266 test -z "$ac_cxx_werror_flag" ||
27267 test ! -s conftest.err
27268 } && test -s conftest.$ac_objext; then
27271 echo "$as_me: failed program was:" >&5
27272 sed 's
/^
/| /' conftest.$ac_ext >&5
27278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27281 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27282 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27284 if test "$wx_cv_lib_stl" != yes; then
27285 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
27286 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
27287 { (exit 1); exit 1; }; }
27290 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27291 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27292 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27293 echo $ECHO_N "(cached) $ECHO_C" >&6
27295 cat >conftest.$ac_ext <<_ACEOF
27298 cat confdefs.h >>conftest.$ac_ext
27299 cat >>conftest.$ac_ext <<_ACEOF
27300 /* end confdefs.h. */
27305 std::string foo, bar;
27307 foo.compare(1, 1, bar);
27308 foo.compare(1, 1, bar, 1, 1);
27310 foo.compare(1, 1, "");
27311 foo.compare(1, 1, "", 2);
27316 rm -f conftest.$ac_objext
27317 if { (ac_try="$ac_compile"
27318 case "(($ac_try" in
27319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27320 *) ac_try_echo=$ac_try;;
27322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27323 (eval "$ac_compile") 2>conftest.er1
27325 grep -v '^
*+' conftest.er1 >conftest.err
27327 cat conftest.err >&5
27328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27329 (exit $ac_status); } && {
27330 test -z "$ac_cxx_werror_flag" ||
27331 test ! -s conftest.err
27332 } && test -s conftest.$ac_objext; then
27333 wx_cv_func_stdstring_compare=yes
27335 echo "$as_me: failed program was:" >&5
27336 sed 's
/^
/| /' conftest.$ac_ext >&5
27338 wx_cv_func_stdstring_compare=no
27342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27345 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27346 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27348 if test "$wx_cv_func_stdstring_compare" = yes; then
27349 cat >>confdefs.h <<\_ACEOF
27350 #define HAVE_STD_STRING_COMPARE 1
27355 { echo "$as_me:$LINENO: checking for hash_map" >&5
27356 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27357 if test "${ac_cv_header_hash_map+set}" = set; then
27358 echo $ECHO_N "(cached) $ECHO_C" >&6
27360 cat >conftest.$ac_ext <<_ACEOF
27363 cat confdefs.h >>conftest.$ac_ext
27364 cat >>conftest.$ac_ext <<_ACEOF
27365 /* end confdefs.h. */
27369 #include <hash_map>
27371 rm -f conftest.$ac_objext
27372 if { (ac_try="$ac_compile"
27373 case "(($ac_try" in
27374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27375 *) ac_try_echo=$ac_try;;
27377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27378 (eval "$ac_compile") 2>conftest.er1
27380 grep -v '^
*+' conftest.er1 >conftest.err
27382 cat conftest.err >&5
27383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27384 (exit $ac_status); } && {
27385 test -z "$ac_cxx_werror_flag" ||
27386 test ! -s conftest.err
27387 } && test -s conftest.$ac_objext; then
27388 ac_cv_header_hash_map=yes
27390 echo "$as_me: failed program was:" >&5
27391 sed 's
/^
/| /' conftest.$ac_ext >&5
27393 ac_cv_header_hash_map=no
27396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27398 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27399 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27400 if test $ac_cv_header_hash_map = yes; then
27401 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27402 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27403 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27404 echo $ECHO_N "(cached) $ECHO_C" >&6
27406 cat >conftest.$ac_ext <<_ACEOF
27409 cat confdefs.h >>conftest.$ac_ext
27410 cat >>conftest.$ac_ext <<_ACEOF
27411 /* end confdefs.h. */
27412 #include <hash_map>
27413 #include <hash_set>
27417 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27418 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27423 rm -f conftest.$ac_objext
27424 if { (ac_try="$ac_compile"
27425 case "(($ac_try" in
27426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27427 *) ac_try_echo=$ac_try;;
27429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27430 (eval "$ac_compile") 2>conftest.er1
27432 grep -v '^
*+' conftest.er1 >conftest.err
27434 cat conftest.err >&5
27435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27436 (exit $ac_status); } && {
27437 test -z "$ac_cxx_werror_flag" ||
27438 test ! -s conftest.err
27439 } && test -s conftest.$ac_objext; then
27440 wx_cv_class_stdhashmapset=yes
27442 echo "$as_me: failed program was:" >&5
27443 sed 's
/^
/| /' conftest.$ac_ext >&5
27445 wx_cv_class_stdhashmapset=no
27448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27452 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27453 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27458 if test "$wx_cv_class_stdhashmapset" = yes; then
27459 cat >>confdefs.h <<\_ACEOF
27460 #define HAVE_HASH_MAP 1
27463 cat >>confdefs.h <<\_ACEOF
27464 #define HAVE_STD_HASH_MAP 1
27469 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27470 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27471 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27472 echo $ECHO_N "(cached) $ECHO_C" >&6
27474 cat >conftest.$ac_ext <<_ACEOF
27477 cat confdefs.h >>conftest.$ac_ext
27478 cat >>conftest.$ac_ext <<_ACEOF
27479 /* end confdefs.h. */
27483 #include <ext/hash_map>
27485 rm -f conftest.$ac_objext
27486 if { (ac_try="$ac_compile"
27487 case "(($ac_try" in
27488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27489 *) ac_try_echo=$ac_try;;
27491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27492 (eval "$ac_compile") 2>conftest.er1
27494 grep -v '^
*+' conftest.er1 >conftest.err
27496 cat conftest.err >&5
27497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27498 (exit $ac_status); } && {
27499 test -z "$ac_cxx_werror_flag" ||
27500 test ! -s conftest.err
27501 } && test -s conftest.$ac_objext; then
27502 ac_cv_header_ext_hash_map=yes
27504 echo "$as_me: failed program was:" >&5
27505 sed 's
/^
/| /' conftest.$ac_ext >&5
27507 ac_cv_header_ext_hash_map=no
27510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27512 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27513 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27514 if test $ac_cv_header_ext_hash_map = yes; then
27515 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27516 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27517 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27518 echo $ECHO_N "(cached) $ECHO_C" >&6
27520 cat >conftest.$ac_ext <<_ACEOF
27523 cat confdefs.h >>conftest.$ac_ext
27524 cat >>conftest.$ac_ext <<_ACEOF
27525 /* end confdefs.h. */
27526 #include <ext/hash_map>
27527 #include <ext/hash_set>
27531 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27532 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27537 rm -f conftest.$ac_objext
27538 if { (ac_try="$ac_compile"
27539 case "(($ac_try" in
27540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27541 *) ac_try_echo=$ac_try;;
27543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27544 (eval "$ac_compile") 2>conftest.er1
27546 grep -v '^
*+' conftest.er1 >conftest.err
27548 cat conftest.err >&5
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); } && {
27551 test -z "$ac_cxx_werror_flag" ||
27552 test ! -s conftest.err
27553 } && test -s conftest.$ac_objext; then
27554 wx_cv_class_gnuhashmapset=yes
27556 echo "$as_me: failed program was:" >&5
27557 sed 's
/^
/| /' conftest.$ac_ext >&5
27559 wx_cv_class_gnuhashmapset=no
27562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27566 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27567 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27572 if test "$wx_cv_class_gnuhashmapset" = yes; then
27573 cat >>confdefs.h <<\_ACEOF
27574 #define HAVE_EXT_HASH_MAP 1
27577 cat >>confdefs.h <<\_ACEOF
27578 #define HAVE_GNU_CXX_HASH_MAP 1
27586 if test -n "$GCC"; then
27587 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
27588 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
27589 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27590 echo $ECHO_N "(cached) $ECHO_C" >&6
27593 cat >conftest.$ac_ext <<_ACEOF
27596 cat confdefs.h >>conftest.$ac_ext
27597 cat >>conftest.$ac_ext <<_ACEOF
27598 /* end confdefs.h. */
27605 __sync_fetch_and_add(&value, 1);
27606 __sync_sub_and_fetch(&value, 1);
27612 rm -f conftest.$ac_objext
27613 if { (ac_try="$ac_compile"
27614 case "(($ac_try" in
27615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27616 *) ac_try_echo=$ac_try;;
27618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27619 (eval "$ac_compile") 2>conftest.er1
27621 grep -v '^
*+' conftest.er1 >conftest.err
27623 cat conftest.err >&5
27624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27625 (exit $ac_status); } && {
27626 test -z "$ac_cxx_werror_flag" ||
27627 test ! -s conftest.err
27628 } && test -s conftest.$ac_objext; then
27629 wx_cv_cc_gcc_atomic_builtins=yes
27631 echo "$as_me: failed program was:" >&5
27632 sed 's
/^
/| /' conftest.$ac_ext >&5
27634 wx_cv_cc_gcc_atomic_builtins=no
27637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27641 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27642 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27643 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27644 cat >>confdefs.h <<\_ACEOF
27645 #define HAVE_GCC_ATOMIC_BUILTINS 1
27653 ac_cpp='$CPP $CPPFLAGS'
27654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27655 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27661 /usr/local/include \
27663 /usr/Motif-2.1/include \
27664 /usr/Motif-1.2/include \
27665 /usr/include/Motif1.2 \
27668 /usr/openwin/include \
27672 /usr/X11R6/include \
27673 /usr/X11R6.4/include \
27674 /usr/X11R5/include \
27675 /usr/X11R4/include \
27677 /usr/include/X11R6 \
27678 /usr/include/X11R5 \
27679 /usr/include/X11R4 \
27681 /usr/local/X11R6/include \
27682 /usr/local/X11R5/include \
27683 /usr/local/X11R4/include \
27685 /usr/local/include/X11R6 \
27686 /usr/local/include/X11R5 \
27687 /usr/local/include/X11R4 \
27691 /usr/local/X11/include \
27692 /usr/local/include/X11 \
27694 /usr/XFree86/include/X11 \
27697 /usr/openwin/share/include"
27699 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27700 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27704 if test "${wx_cv_std_libpath+set}" = set; then
27705 echo $ECHO_N "(cached) $ECHO_C" >&6
27708 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27709 for e in a so sl dylib dll.a; do
27711 if test -f $libc; then
27714 cat >conftest.$ac_ext <<_ACEOF
27715 int main() { return 0; }
27717 rm -f conftest.$ac_objext conftest$ac_exeext
27718 if { (ac_try="$ac_link"
27719 case "(($ac_try" in
27720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27721 *) ac_try_echo=$ac_try;;
27723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27724 (eval "$ac_link") 2>conftest.er1
27726 grep -v '^
*+' conftest.er1 >conftest.err
27728 cat conftest.err >&5
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); } && {
27731 test -z "$ac_c_werror_flag" ||
27732 test ! -s conftest.err
27733 } && test -s conftest$ac_exeext &&
27734 $as_test_x conftest$ac_exeext; then
27735 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27737 echo "$as_me: failed program was:" >&5
27738 sed 's
/^
/| /' conftest.$ac_ext >&5
27743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27744 conftest$ac_exeext conftest.$ac_ext
27746 if test "x$wx_cv_std_libpath" != "x"; then
27752 if test "x$wx_cv_std_libpath" = "x"; then
27753 wx_cv_std_libpath="lib"
27762 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27763 wx_cv_std_libpath="lib/64"
27765 wx_cv_std_libpath="lib"
27770 if test "$ac_cv_sizeof_void_p" = 8 -a \
27771 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27772 wx_cv_std_libpath="lib64"
27774 wx_cv_std_libpath="lib"
27779 wx_cv_std_libpath="lib";
27783 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27784 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27786 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27788 if test "$build" != "$host" -a "$GCC" = yes; then
27789 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27790 cross_root=`dirname $cross_root`
27791 cross_root=`dirname $cross_root`
27793 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27794 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27795 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27797 if test -z "$PKG_CONFIG_PATH"; then
27798 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27799 export PKG_CONFIG_PATH
27802 if test -z "$x_includes" -o "$x_includes" = NONE; then
27805 for ac_dir in $SEARCH_INCLUDE /usr/include;
27807 if test -f "$ac_dir/X11/Intrinsic.h"; then
27808 ac_find_includes=$ac_dir
27813 x_includes=$ac_find_includes
27815 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27818 for ac_dir in $SEARCH_LIB;
27820 for ac_extension in a so sl dylib dll.a; do
27821 if test -f "$ac_dir/libXt.$ac_extension"; then
27822 ac_find_libraries=$ac_dir
27828 x_libraries=$ac_find_libraries
27834 cat >confcache <<\_ACEOF
27835 # This file is a shell script that caches the results of configure
27836 # tests run on this system so they can be shared between configure
27837 # scripts and configure runs, see configure's option
--config-cache.
27838 # It is not useful on other systems. If it contains results you don't
27839 # want to keep, you may remove or edit it.
27841 # config.status only pays attention to the cache file if you give it
27842 # the --recheck option to rerun configure.
27844 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27845 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27846 # following values.
27850 # The following way of writing the cache mishandles newlines in values,
27851 # but we know of no workaround that is simple, portable, and efficient.
27852 # So, we kill variables containing newlines.
27853 # Ultrix sh set writes to stderr and can't be redirected directly,
27854 # and sets the high bit in the cache file unless we assign to the vars.
27856 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27857 eval ac_val
=\$
$ac_var
27861 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27862 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27865 _
| IFS
| as_nl
) ;; #(
27866 *) $as_unset $ac_var ;;
27872 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27873 *${as_nl}ac_space
=\
*)
27874 # `set' does not quote correctly, so add quotes (double-quote
27875 # substitution turns \\\\ into \\, and sed turns \\ into \).
27878 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27881 # `set' quotes correctly as required by POSIX, so do not add quotes.
27882 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27891 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27893 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27895 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27896 if test -w "$cache_file"; then
27897 test "x$cache_file" != "x/dev/null" &&
27898 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27899 echo "$as_me: updating cache $cache_file" >&6;}
27900 cat confcache
>$cache_file
27902 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27903 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27908 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27909 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27910 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27911 if test "${wx_cv_lib_glibc21+set}" = set; then
27912 echo $ECHO_N "(cached) $ECHO_C" >&6
27915 cat >conftest.
$ac_ext <<_ACEOF
27918 cat confdefs.h
>>conftest.
$ac_ext
27919 cat >>conftest.
$ac_ext <<_ACEOF
27920 /* end confdefs.h. */
27921 #include <features.h>
27926 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27934 rm -f conftest.
$ac_objext
27935 if { (ac_try
="$ac_compile"
27936 case "(($ac_try" in
27937 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27938 *) ac_try_echo=$ac_try;;
27940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27941 (eval "$ac_compile") 2>conftest.er1
27943 grep -v '^ *+' conftest.er1 >conftest.err
27945 cat conftest.err >&5
27946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27947 (exit $ac_status); } && {
27948 test -z "$ac_c_werror_flag" ||
27949 test ! -s conftest.err
27950 } && test -s conftest.$ac_objext; then
27952 wx_cv_lib_glibc21=yes
27955 echo "$as_me: failed program was:" >&5
27956 sed 's/^/| /' conftest.$ac_ext >&5
27959 wx_cv_lib_glibc21=no
27964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27967 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27968 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27969 if test "$wx_cv_lib_glibc21" = "yes"; then
27970 cat >>confdefs.h <<\_ACEOF
27971 #define wxHAVE_GLIBC2 1
27977 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27978 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27979 cat >>confdefs.h <<\_ACEOF
27980 #define _GNU_SOURCE 1
27991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27992 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27994 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27995 echo $ECHO_N "(cached) $ECHO_C" >&6
27997 cat >conftest.$ac_ext <<_ACEOF
28000 cat confdefs.h >>conftest.$ac_ext
28001 cat >>conftest.$ac_ext <<_ACEOF
28002 /* end confdefs.h. */
28003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28005 #define $ac_func innocuous_$ac_func
28007 /* System header to define __stub macros and hopefully few prototypes,
28008 which can conflict with char $ac_func (); below.
28009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28010 <limits.h> exists even on freestanding compilers. */
28013 # include <limits.h>
28015 # include <assert.h>
28020 /* Override any GCC internal prototype to avoid an error.
28021 Use char because int might match the return type of a GCC
28022 builtin and then its argument prototype would still apply. */
28027 /* The GNU C library defines this for functions which it implements
28028 to always fail with ENOSYS. Some functions are actually named
28029 something starting with __ and the normal name is an alias. */
28030 #if defined __stub_$ac_func || defined __stub___$ac_func
28037 return $ac_func ();
28042 rm -f conftest.$ac_objext conftest$ac_exeext
28043 if { (ac_try="$ac_link"
28044 case "(($ac_try" in
28045 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28046 *) ac_try_echo
=$ac_try;;
28048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28049 (eval "$ac_link") 2>conftest.er1
28051 grep -v '^ *+' conftest.er1
>conftest.err
28053 cat conftest.err
>&5
28054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28055 (exit $ac_status); } && {
28056 test -z "$ac_c_werror_flag" ||
28057 test ! -s conftest.err
28058 } && test -s conftest
$ac_exeext &&
28059 $as_test_x conftest
$ac_exeext; then
28060 eval "$as_ac_var=yes"
28062 echo "$as_me: failed program was:" >&5
28063 sed 's/^/| /' conftest.
$ac_ext >&5
28065 eval "$as_ac_var=no"
28068 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28069 conftest
$ac_exeext conftest.
$ac_ext
28071 ac_res
=`eval echo '${'$as_ac_var'}'`
28072 { echo "$as_me:$LINENO: result: $ac_res" >&5
28073 echo "${ECHO_T}$ac_res" >&6; }
28074 if test `eval echo '${'$as_ac_var'}'` = yes; then
28075 cat >>confdefs.h
<<_ACEOF
28076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28083 for ac_func
in floor
28085 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28086 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28088 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28089 echo $ECHO_N "(cached) $ECHO_C" >&6
28091 cat >conftest.
$ac_ext <<_ACEOF
28094 cat confdefs.h
>>conftest.
$ac_ext
28095 cat >>conftest.
$ac_ext <<_ACEOF
28096 /* end confdefs.h. */
28097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28099 #define $ac_func innocuous_$ac_func
28101 /* System header to define __stub macros and hopefully few prototypes,
28102 which can conflict with char $ac_func (); below.
28103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28104 <limits.h> exists even on freestanding compilers. */
28107 # include <limits.h>
28109 # include <assert.h>
28114 /* Override any GCC internal prototype to avoid an error.
28115 Use char because int might match the return type of a GCC
28116 builtin and then its argument prototype would still apply. */
28121 /* The GNU C library defines this for functions which it implements
28122 to always fail with ENOSYS. Some functions are actually named
28123 something starting with __ and the normal name is an alias. */
28124 #if defined __stub_$ac_func || defined __stub___$ac_func
28131 return $ac_func ();
28136 rm -f conftest.
$ac_objext conftest
$ac_exeext
28137 if { (ac_try
="$ac_link"
28138 case "(($ac_try" in
28139 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28140 *) ac_try_echo=$ac_try;;
28142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28143 (eval "$ac_link") 2>conftest.er1
28145 grep -v '^ *+' conftest.er1 >conftest.err
28147 cat conftest.err >&5
28148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28149 (exit $ac_status); } && {
28150 test -z "$ac_c_werror_flag" ||
28151 test ! -s conftest.err
28152 } && test -s conftest$ac_exeext &&
28153 $as_test_x conftest$ac_exeext; then
28154 eval "$as_ac_var=yes"
28156 echo "$as_me: failed program was:" >&5
28157 sed 's/^/| /' conftest.$ac_ext >&5
28159 eval "$as_ac_var=no"
28162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28163 conftest$ac_exeext conftest.$ac_ext
28165 ac_res=`eval echo '${'$as_ac_var'}'`
28166 { echo "$as_me:$LINENO: result: $ac_res" >&5
28167 echo "${ECHO_T}$ac_res" >&6; }
28168 if test `eval echo '${'$as_ac_var'}'` = yes; then
28169 cat >>confdefs.h <<_ACEOF
28170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28176 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28177 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28178 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28179 { echo "$as_me:$LINENO: result: yes" >&5
28180 echo "${ECHO_T}yes" >&6; }
28182 { echo "$as_me:$LINENO: result: no" >&5
28183 echo "${ECHO_T}no" >&6; }
28185 # use different functions to avoid configure caching
28191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28192 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28194 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28195 echo $ECHO_N "(cached) $ECHO_C" >&6
28197 cat >conftest.$ac_ext <<_ACEOF
28200 cat confdefs.h >>conftest.$ac_ext
28201 cat >>conftest.$ac_ext <<_ACEOF
28202 /* end confdefs.h. */
28203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28205 #define $ac_func innocuous_$ac_func
28207 /* System header to define __stub macros and hopefully few prototypes,
28208 which can conflict with char $ac_func (); below.
28209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28210 <limits.h> exists even on freestanding compilers. */
28213 # include <limits.h>
28215 # include <assert.h>
28220 /* Override any GCC internal prototype to avoid an error.
28221 Use char because int might match the return type of a GCC
28222 builtin and then its argument prototype would still apply. */
28227 /* The GNU C library defines this for functions which it implements
28228 to always fail with ENOSYS. Some functions are actually named
28229 something starting with __ and the normal name is an alias. */
28230 #if defined __stub_$ac_func || defined __stub___$ac_func
28237 return $ac_func ();
28242 rm -f conftest.$ac_objext conftest$ac_exeext
28243 if { (ac_try="$ac_link"
28244 case "(($ac_try" in
28245 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28246 *) ac_try_echo
=$ac_try;;
28248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28249 (eval "$ac_link") 2>conftest.er1
28251 grep -v '^ *+' conftest.er1
>conftest.err
28253 cat conftest.err
>&5
28254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28255 (exit $ac_status); } && {
28256 test -z "$ac_c_werror_flag" ||
28257 test ! -s conftest.err
28258 } && test -s conftest
$ac_exeext &&
28259 $as_test_x conftest
$ac_exeext; then
28260 eval "$as_ac_var=yes"
28262 echo "$as_me: failed program was:" >&5
28263 sed 's/^/| /' conftest.
$ac_ext >&5
28265 eval "$as_ac_var=no"
28268 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28269 conftest
$ac_exeext conftest.
$ac_ext
28271 ac_res
=`eval echo '${'$as_ac_var'}'`
28272 { echo "$as_me:$LINENO: result: $ac_res" >&5
28273 echo "${ECHO_T}$ac_res" >&6; }
28274 if test `eval echo '${'$as_ac_var'}'` = yes; then
28275 cat >>confdefs.h
<<_ACEOF
28276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28283 for ac_func
in ceil
28285 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28286 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28288 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28289 echo $ECHO_N "(cached) $ECHO_C" >&6
28291 cat >conftest.
$ac_ext <<_ACEOF
28294 cat confdefs.h
>>conftest.
$ac_ext
28295 cat >>conftest.
$ac_ext <<_ACEOF
28296 /* end confdefs.h. */
28297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28299 #define $ac_func innocuous_$ac_func
28301 /* System header to define __stub macros and hopefully few prototypes,
28302 which can conflict with char $ac_func (); below.
28303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28304 <limits.h> exists even on freestanding compilers. */
28307 # include <limits.h>
28309 # include <assert.h>
28314 /* Override any GCC internal prototype to avoid an error.
28315 Use char because int might match the return type of a GCC
28316 builtin and then its argument prototype would still apply. */
28321 /* The GNU C library defines this for functions which it implements
28322 to always fail with ENOSYS. Some functions are actually named
28323 something starting with __ and the normal name is an alias. */
28324 #if defined __stub_$ac_func || defined __stub___$ac_func
28331 return $ac_func ();
28336 rm -f conftest.
$ac_objext conftest
$ac_exeext
28337 if { (ac_try
="$ac_link"
28338 case "(($ac_try" in
28339 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28340 *) ac_try_echo=$ac_try;;
28342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28343 (eval "$ac_link") 2>conftest.er1
28345 grep -v '^ *+' conftest.er1 >conftest.err
28347 cat conftest.err >&5
28348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28349 (exit $ac_status); } && {
28350 test -z "$ac_c_werror_flag" ||
28351 test ! -s conftest.err
28352 } && test -s conftest$ac_exeext &&
28353 $as_test_x conftest$ac_exeext; then
28354 eval "$as_ac_var=yes"
28356 echo "$as_me: failed program was:" >&5
28357 sed 's/^/| /' conftest.$ac_ext >&5
28359 eval "$as_ac_var=no"
28362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28363 conftest$ac_exeext conftest.$ac_ext
28365 ac_res=`eval echo '${'$as_ac_var'}'`
28366 { echo "$as_me:$LINENO: result: $ac_res" >&5
28367 echo "${ECHO_T}$ac_res" >&6; }
28368 if test `eval echo '${'$as_ac_var'}'` = yes; then
28369 cat >>confdefs.h <<_ACEOF
28370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28376 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28377 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28378 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28379 { echo "$as_me:$LINENO: result: yes" >&5
28380 echo "${ECHO_T}yes" >&6; }
28382 { echo "$as_me:$LINENO: result: no" >&5
28383 echo "${ECHO_T}no" >&6; }
28384 # not sure we should warn the user, crash, etc.
28389 ac_cpp='$CXXCPP $CPPFLAGS'
28390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28394 if test "wxUSE_UNICODE" = "yes"; then
28396 for wx_func in wcstoull
28398 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28399 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28400 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28401 echo $ECHO_N "(cached) $ECHO_C" >&6
28404 cat >conftest.$ac_ext <<_ACEOF
28408 cat confdefs.h >>conftest.$ac_ext
28409 cat >>conftest.$ac_ext <<_ACEOF
28410 /* end confdefs.h. */
28413 $ac_includes_default
28429 rm -f conftest.$ac_objext conftest$ac_exeext
28430 if { (ac_try="$ac_link"
28431 case "(($ac_try" in
28432 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28433 *) ac_try_echo
=$ac_try;;
28435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28436 (eval "$ac_link") 2>conftest.er1
28438 grep -v '^ *+' conftest.er1
>conftest.err
28440 cat conftest.err
>&5
28441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28442 (exit $ac_status); } && {
28443 test -z "$ac_cxx_werror_flag" ||
28444 test ! -s conftest.err
28445 } && test -s conftest
$ac_exeext &&
28446 $as_test_x conftest
$ac_exeext; then
28447 eval wx_cv_func_
$wx_func=yes
28449 echo "$as_me: failed program was:" >&5
28450 sed 's/^/| /' conftest.
$ac_ext >&5
28452 eval wx_cv_func_
$wx_func=no
28455 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28456 conftest
$ac_exeext conftest.
$ac_ext
28459 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
28460 { echo "$as_me:$LINENO: result: $ac_res" >&5
28461 echo "${ECHO_T}$ac_res" >&6; }
28463 if eval test \
$wx_cv_func_$wx_func = yes
28465 cat >>confdefs.h
<<_ACEOF
28466 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28478 for wx_func
in strtoull
28480 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28481 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28482 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28483 echo $ECHO_N "(cached) $ECHO_C" >&6
28486 cat >conftest.
$ac_ext <<_ACEOF
28490 cat confdefs.h
>>conftest.
$ac_ext
28491 cat >>conftest.
$ac_ext <<_ACEOF
28492 /* end confdefs.h. */
28495 $ac_includes_default
28511 rm -f conftest.
$ac_objext conftest
$ac_exeext
28512 if { (ac_try
="$ac_link"
28513 case "(($ac_try" in
28514 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28515 *) ac_try_echo=$ac_try;;
28517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28518 (eval "$ac_link") 2>conftest.er1
28520 grep -v '^ *+' conftest.er1 >conftest.err
28522 cat conftest.err >&5
28523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28524 (exit $ac_status); } && {
28525 test -z "$ac_cxx_werror_flag" ||
28526 test ! -s conftest.err
28527 } && test -s conftest$ac_exeext &&
28528 $as_test_x conftest$ac_exeext; then
28529 eval wx_cv_func_$wx_func=yes
28531 echo "$as_me: failed program was:" >&5
28532 sed 's/^/| /' conftest.$ac_ext >&5
28534 eval wx_cv_func_$wx_func=no
28537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28538 conftest$ac_exeext conftest.$ac_ext
28541 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28542 { echo "$as_me:$LINENO: result: $ac_res" >&5
28543 echo "${ECHO_T}$ac_res" >&6; }
28545 if eval test \$wx_cv_func_$wx_func = yes
28547 cat >>confdefs.h <<_ACEOF
28548 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28560 ac_cpp='$CPP $CPPFLAGS'
28561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28568 if test "$wxUSE_REGEX" != "no"; then
28569 cat >>confdefs.h <<\_ACEOF
28570 #define wxUSE_REGEX 1
28574 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28575 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28576 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28577 wxUSE_REGEX=builtin
28580 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28581 { echo "$as_me:$LINENO: checking for regex.h" >&5
28582 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28583 if test "${ac_cv_header_regex_h+set}" = set; then
28584 echo $ECHO_N "(cached) $ECHO_C" >&6
28586 cat >conftest.$ac_ext <<_ACEOF
28589 cat confdefs.h >>conftest.$ac_ext
28590 cat >>conftest.$ac_ext <<_ACEOF
28591 /* end confdefs.h. */
28596 rm -f conftest.$ac_objext
28597 if { (ac_try="$ac_compile"
28598 case "(($ac_try" in
28599 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28600 *) ac_try_echo
=$ac_try;;
28602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28603 (eval "$ac_compile") 2>conftest.er1
28605 grep -v '^ *+' conftest.er1
>conftest.err
28607 cat conftest.err
>&5
28608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28609 (exit $ac_status); } && {
28610 test -z "$ac_c_werror_flag" ||
28611 test ! -s conftest.err
28612 } && test -s conftest.
$ac_objext; then
28613 ac_cv_header_regex_h
=yes
28615 echo "$as_me: failed program was:" >&5
28616 sed 's/^/| /' conftest.
$ac_ext >&5
28618 ac_cv_header_regex_h
=no
28621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28623 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28624 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28625 if test $ac_cv_header_regex_h = yes; then
28628 for ac_func
in regcomp re_search
28630 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28631 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28633 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28634 echo $ECHO_N "(cached) $ECHO_C" >&6
28636 cat >conftest.
$ac_ext <<_ACEOF
28639 cat confdefs.h
>>conftest.
$ac_ext
28640 cat >>conftest.
$ac_ext <<_ACEOF
28641 /* end confdefs.h. */
28642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28644 #define $ac_func innocuous_$ac_func
28646 /* System header to define __stub macros and hopefully few prototypes,
28647 which can conflict with char $ac_func (); below.
28648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28649 <limits.h> exists even on freestanding compilers. */
28652 # include <limits.h>
28654 # include <assert.h>
28659 /* Override any GCC internal prototype to avoid an error.
28660 Use char because int might match the return type of a GCC
28661 builtin and then its argument prototype would still apply. */
28666 /* The GNU C library defines this for functions which it implements
28667 to always fail with ENOSYS. Some functions are actually named
28668 something starting with __ and the normal name is an alias. */
28669 #if defined __stub_$ac_func || defined __stub___$ac_func
28676 return $ac_func ();
28681 rm -f conftest.
$ac_objext conftest
$ac_exeext
28682 if { (ac_try
="$ac_link"
28683 case "(($ac_try" in
28684 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28685 *) ac_try_echo=$ac_try;;
28687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28688 (eval "$ac_link") 2>conftest.er1
28690 grep -v '^ *+' conftest.er1 >conftest.err
28692 cat conftest.err >&5
28693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28694 (exit $ac_status); } && {
28695 test -z "$ac_c_werror_flag" ||
28696 test ! -s conftest.err
28697 } && test -s conftest$ac_exeext &&
28698 $as_test_x conftest$ac_exeext; then
28699 eval "$as_ac_var=yes"
28701 echo "$as_me: failed program was:" >&5
28702 sed 's/^/| /' conftest.$ac_ext >&5
28704 eval "$as_ac_var=no"
28707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28708 conftest$ac_exeext conftest.$ac_ext
28710 ac_res=`eval echo '${'$as_ac_var'}'`
28711 { echo "$as_me:$LINENO: result: $ac_res" >&5
28712 echo "${ECHO_T}$ac_res" >&6; }
28713 if test `eval echo '${'$as_ac_var'}'` = yes; then
28714 cat >>confdefs.h <<_ACEOF
28715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28725 if test "x$ac_cv_func_regcomp" != "xyes"; then
28726 if test "$wxUSE_REGEX" = "sys" ; then
28727 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28728 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28729 { (exit 1); exit 1; }; }
28731 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28732 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28733 wxUSE_REGEX=builtin
28737 cat >>confdefs.h <<\_ACEOF
28738 #define WX_NO_REGEX_ADVANCED 1
28747 if test "$wxUSE_ZLIB" != "no" ; then
28748 cat >>confdefs.h <<\_ACEOF
28749 #define wxUSE_ZLIB 1
28753 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28754 if test "$USE_DARWIN" = 1; then
28755 system_zlib_h_ok="yes"
28757 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28758 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28759 if test "${ac_cv_header_zlib_h+set}" = set; then
28760 echo $ECHO_N "(cached) $ECHO_C" >&6
28762 if test "$cross_compiling" = yes; then
28763 unset ac_cv_header_zlib_h
28766 cat >conftest.$ac_ext <<_ACEOF
28769 cat confdefs.h >>conftest.$ac_ext
28770 cat >>conftest.$ac_ext <<_ACEOF
28771 /* end confdefs.h. */
28778 FILE *f=fopen("conftestval", "w");
28781 ZLIB_VERSION[0] == '1' &&
28782 (ZLIB_VERSION[2] > '1' ||
28783 (ZLIB_VERSION[2] == '1' &&
28784 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28789 rm -f conftest$ac_exeext
28790 if { (ac_try="$ac_link"
28791 case "(($ac_try" in
28792 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28793 *) ac_try_echo
=$ac_try;;
28795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28796 (eval "$ac_link") 2>&5
28798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28799 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28800 { (case "(($ac_try" in
28801 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28802 *) ac_try_echo=$ac_try;;
28804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28805 (eval "$ac_try") 2>&5
28807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28808 (exit $ac_status); }; }; then
28809 ac_cv_header_zlib_h=`cat conftestval
`
28811 echo "$as_me: program exited with status $ac_status" >&5
28812 echo "$as_me: failed program was:" >&5
28813 sed 's/^/| /' conftest.$ac_ext >&5
28815 ( exit $ac_status )
28816 ac_cv_header_zlib_h=no
28818 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28824 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28825 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28826 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28827 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28828 if test "${ac_cv_header_zlib_h+set}" = set; then
28829 echo $ECHO_N "(cached) $ECHO_C" >&6
28831 cat >conftest.$ac_ext <<_ACEOF
28834 cat confdefs.h >>conftest.$ac_ext
28835 cat >>conftest.$ac_ext <<_ACEOF
28836 /* end confdefs.h. */
28841 rm -f conftest.$ac_objext
28842 if { (ac_try="$ac_compile"
28843 case "(($ac_try" in
28844 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28845 *) ac_try_echo
=$ac_try;;
28847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28848 (eval "$ac_compile") 2>conftest.er1
28850 grep -v '^ *+' conftest.er1
>conftest.err
28852 cat conftest.err
>&5
28853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28854 (exit $ac_status); } && {
28855 test -z "$ac_c_werror_flag" ||
28856 test ! -s conftest.err
28857 } && test -s conftest.
$ac_objext; then
28858 ac_cv_header_zlib_h
=yes
28860 echo "$as_me: failed program was:" >&5
28861 sed 's/^/| /' conftest.
$ac_ext >&5
28863 ac_cv_header_zlib_h
=no
28866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28868 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28869 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28873 system_zlib_h_ok
=$ac_cv_header_zlib_h
28876 if test "$system_zlib_h_ok" = "yes"; then
28877 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28878 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28879 if test "${ac_cv_lib_z_deflate+set}" = set; then
28880 echo $ECHO_N "(cached) $ECHO_C" >&6
28882 ac_check_lib_save_LIBS
=$LIBS
28884 cat >conftest.
$ac_ext <<_ACEOF
28887 cat confdefs.h
>>conftest.
$ac_ext
28888 cat >>conftest.
$ac_ext <<_ACEOF
28889 /* end confdefs.h. */
28891 /* Override any GCC internal prototype to avoid an error.
28892 Use char because int might match the return type of a GCC
28893 builtin and then its argument prototype would still apply. */
28906 rm -f conftest.
$ac_objext conftest
$ac_exeext
28907 if { (ac_try
="$ac_link"
28908 case "(($ac_try" in
28909 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28910 *) ac_try_echo=$ac_try;;
28912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28913 (eval "$ac_link") 2>conftest.er1
28915 grep -v '^ *+' conftest.er1 >conftest.err
28917 cat conftest.err >&5
28918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28919 (exit $ac_status); } && {
28920 test -z "$ac_c_werror_flag" ||
28921 test ! -s conftest.err
28922 } && test -s conftest$ac_exeext &&
28923 $as_test_x conftest$ac_exeext; then
28924 ac_cv_lib_z_deflate=yes
28926 echo "$as_me: failed program was:" >&5
28927 sed 's/^/| /' conftest.$ac_ext >&5
28929 ac_cv_lib_z_deflate=no
28932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28933 conftest$ac_exeext conftest.$ac_ext
28934 LIBS=$ac_check_lib_save_LIBS
28936 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28937 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28938 if test $ac_cv_lib_z_deflate = yes; then
28944 if test "x$ZLIB_LINK" = "x" ; then
28945 if test "$wxUSE_ZLIB" = "sys" ; then
28946 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28947 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28948 { (exit 1); exit 1; }; }
28950 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28951 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28962 if test "$wxUSE_LIBPNG" != "no" ; then
28963 cat >>confdefs.h <<\_ACEOF
28964 #define wxUSE_LIBPNG 1
28968 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28969 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28970 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28974 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28975 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28976 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28977 wxUSE_LIBPNG=builtin
28980 if test "$wxUSE_MGL" != 1 ; then
28981 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28982 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28983 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28984 if test "${ac_cv_header_png_h+set}" = set; then
28985 echo $ECHO_N "(cached) $ECHO_C" >&6
28987 if test "$cross_compiling" = yes; then
28988 unset ac_cv_header_png_h
28991 cat >conftest.$ac_ext <<_ACEOF
28994 cat confdefs.h >>conftest.$ac_ext
28995 cat >>conftest.$ac_ext <<_ACEOF
28996 /* end confdefs.h. */
29003 FILE *f=fopen("conftestval", "w");
29006 PNG_LIBPNG_VER > 90 ? "yes" : "no");
29011 rm -f conftest$ac_exeext
29012 if { (ac_try="$ac_link"
29013 case "(($ac_try" in
29014 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29015 *) ac_try_echo
=$ac_try;;
29017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29018 (eval "$ac_link") 2>&5
29020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29021 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29022 { (case "(($ac_try" in
29023 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29024 *) ac_try_echo=$ac_try;;
29026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29027 (eval "$ac_try") 2>&5
29029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29030 (exit $ac_status); }; }; then
29031 ac_cv_header_png_h=`cat conftestval
`
29033 echo "$as_me: program exited with status $ac_status" >&5
29034 echo "$as_me: failed program was:" >&5
29035 sed 's/^/| /' conftest.$ac_ext >&5
29037 ( exit $ac_status )
29038 ac_cv_header_png_h=no
29040 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29046 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29047 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29048 { echo "$as_me:$LINENO: checking for png.h" >&5
29049 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29050 if test "${ac_cv_header_png_h+set}" = set; then
29051 echo $ECHO_N "(cached) $ECHO_C" >&6
29053 cat >conftest.$ac_ext <<_ACEOF
29056 cat confdefs.h >>conftest.$ac_ext
29057 cat >>conftest.$ac_ext <<_ACEOF
29058 /* end confdefs.h. */
29063 rm -f conftest.$ac_objext
29064 if { (ac_try="$ac_compile"
29065 case "(($ac_try" in
29066 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29067 *) ac_try_echo
=$ac_try;;
29069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29070 (eval "$ac_compile") 2>conftest.er1
29072 grep -v '^ *+' conftest.er1
>conftest.err
29074 cat conftest.err
>&5
29075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29076 (exit $ac_status); } && {
29077 test -z "$ac_c_werror_flag" ||
29078 test ! -s conftest.err
29079 } && test -s conftest.
$ac_objext; then
29080 ac_cv_header_png_h
=yes
29082 echo "$as_me: failed program was:" >&5
29083 sed 's/^/| /' conftest.
$ac_ext >&5
29085 ac_cv_header_png_h
=no
29088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29090 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29091 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29095 if test "$ac_cv_header_png_h" = "yes"; then
29096 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29097 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29098 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29099 echo $ECHO_N "(cached) $ECHO_C" >&6
29101 ac_check_lib_save_LIBS
=$LIBS
29102 LIBS
="-lpng -lz -lm $LIBS"
29103 cat >conftest.
$ac_ext <<_ACEOF
29106 cat confdefs.h
>>conftest.
$ac_ext
29107 cat >>conftest.
$ac_ext <<_ACEOF
29108 /* end confdefs.h. */
29110 /* Override any GCC internal prototype to avoid an error.
29111 Use char because int might match the return type of a GCC
29112 builtin and then its argument prototype would still apply. */
29116 char png_check_sig ();
29120 return png_check_sig ();
29125 rm -f conftest.
$ac_objext conftest
$ac_exeext
29126 if { (ac_try
="$ac_link"
29127 case "(($ac_try" in
29128 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29129 *) ac_try_echo=$ac_try;;
29131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29132 (eval "$ac_link") 2>conftest.er1
29134 grep -v '^ *+' conftest.er1 >conftest.err
29136 cat conftest.err >&5
29137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29138 (exit $ac_status); } && {
29139 test -z "$ac_c_werror_flag" ||
29140 test ! -s conftest.err
29141 } && test -s conftest$ac_exeext &&
29142 $as_test_x conftest$ac_exeext; then
29143 ac_cv_lib_png_png_check_sig=yes
29145 echo "$as_me: failed program was:" >&5
29146 sed 's/^/| /' conftest.$ac_ext >&5
29148 ac_cv_lib_png_png_check_sig=no
29151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29152 conftest$ac_exeext conftest.$ac_ext
29153 LIBS=$ac_check_lib_save_LIBS
29155 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29156 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29157 if test $ac_cv_lib_png_png_check_sig = yes; then
29158 PNG_LINK=" -lpng -lz"
29163 if test "x$PNG_LINK" = "x" ; then
29164 if test "$wxUSE_LIBPNG" = "sys" ; then
29165 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29166 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29167 { (exit 1); exit 1; }; }
29169 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29170 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29171 wxUSE_LIBPNG=builtin
29182 if test "$wxUSE_LIBJPEG" != "no" ; then
29183 cat >>confdefs.h <<\_ACEOF
29184 #define wxUSE_LIBJPEG 1
29188 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29189 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29190 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29194 if test "$wxUSE_MGL" != 1 ; then
29195 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29196 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29197 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29198 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29199 echo $ECHO_N "(cached) $ECHO_C" >&6
29201 cat >conftest.$ac_ext <<_ACEOF
29204 cat confdefs.h >>conftest.$ac_ext
29205 cat >>conftest.$ac_ext <<_ACEOF
29206 /* end confdefs.h. */
29208 #undef HAVE_STDLIB_H
29210 #include <jpeglib.h>
29221 rm -f conftest.$ac_objext
29222 if { (ac_try="$ac_compile"
29223 case "(($ac_try" in
29224 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29225 *) ac_try_echo
=$ac_try;;
29227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29228 (eval "$ac_compile") 2>conftest.er1
29230 grep -v '^ *+' conftest.er1
>conftest.err
29232 cat conftest.err
>&5
29233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29234 (exit $ac_status); } && {
29235 test -z "$ac_c_werror_flag" ||
29236 test ! -s conftest.err
29237 } && test -s conftest.
$ac_objext; then
29238 ac_cv_header_jpeglib_h
=yes
29240 echo "$as_me: failed program was:" >&5
29241 sed 's/^/| /' conftest.
$ac_ext >&5
29243 ac_cv_header_jpeglib_h
=no
29247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29251 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29252 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29254 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29255 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29256 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29257 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29258 echo $ECHO_N "(cached) $ECHO_C" >&6
29260 ac_check_lib_save_LIBS
=$LIBS
29261 LIBS
="-ljpeg $LIBS"
29262 cat >conftest.
$ac_ext <<_ACEOF
29265 cat confdefs.h
>>conftest.
$ac_ext
29266 cat >>conftest.
$ac_ext <<_ACEOF
29267 /* end confdefs.h. */
29269 /* Override any GCC internal prototype to avoid an error.
29270 Use char because int might match the return type of a GCC
29271 builtin and then its argument prototype would still apply. */
29275 char jpeg_read_header ();
29279 return jpeg_read_header ();
29284 rm -f conftest.
$ac_objext conftest
$ac_exeext
29285 if { (ac_try
="$ac_link"
29286 case "(($ac_try" in
29287 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29288 *) ac_try_echo=$ac_try;;
29290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29291 (eval "$ac_link") 2>conftest.er1
29293 grep -v '^ *+' conftest.er1 >conftest.err
29295 cat conftest.err >&5
29296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29297 (exit $ac_status); } && {
29298 test -z "$ac_c_werror_flag" ||
29299 test ! -s conftest.err
29300 } && test -s conftest$ac_exeext &&
29301 $as_test_x conftest$ac_exeext; then
29302 ac_cv_lib_jpeg_jpeg_read_header=yes
29304 echo "$as_me: failed program was:" >&5
29305 sed 's/^/| /' conftest.$ac_ext >&5
29307 ac_cv_lib_jpeg_jpeg_read_header=no
29310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29311 conftest$ac_exeext conftest.$ac_ext
29312 LIBS=$ac_check_lib_save_LIBS
29314 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29315 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29316 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29317 JPEG_LINK=" -ljpeg"
29322 if test "x$JPEG_LINK" = "x" ; then
29323 if test "$wxUSE_LIBJPEG" = "sys" ; then
29324 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29325 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29326 { (exit 1); exit 1; }; }
29328 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29329 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29330 wxUSE_LIBJPEG=builtin
29335 if test "$wxUSE_MSW" = 1; then
29336 { echo "$as_me:$LINENO: checking for boolean" >&5
29337 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29338 if test "${ac_cv_type_boolean+set}" = set; then
29339 echo $ECHO_N "(cached) $ECHO_C" >&6
29341 cat >conftest.$ac_ext <<_ACEOF
29344 cat confdefs.h >>conftest.$ac_ext
29345 cat >>conftest.$ac_ext <<_ACEOF
29346 /* end confdefs.h. */
29347 #include <windows.h>
29349 typedef boolean ac__type_new_;
29353 if ((ac__type_new_ *) 0)
29355 if (sizeof (ac__type_new_))
29361 rm -f conftest.$ac_objext
29362 if { (ac_try="$ac_compile"
29363 case "(($ac_try" in
29364 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29365 *) ac_try_echo
=$ac_try;;
29367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29368 (eval "$ac_compile") 2>conftest.er1
29370 grep -v '^ *+' conftest.er1
>conftest.err
29372 cat conftest.err
>&5
29373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29374 (exit $ac_status); } && {
29375 test -z "$ac_c_werror_flag" ||
29376 test ! -s conftest.err
29377 } && test -s conftest.
$ac_objext; then
29378 ac_cv_type_boolean
=yes
29380 echo "$as_me: failed program was:" >&5
29381 sed 's/^/| /' conftest.
$ac_ext >&5
29383 ac_cv_type_boolean
=no
29386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29388 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29389 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29390 if test $ac_cv_type_boolean = yes; then
29392 cat >>confdefs.h
<<_ACEOF
29393 #define HAVE_BOOLEAN 1
29397 { echo "$as_me:$LINENO: checking for boolean" >&5
29398 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29399 if test "${ac_cv_type_boolean+set}" = set; then
29400 echo $ECHO_N "(cached) $ECHO_C" >&6
29402 cat >conftest.
$ac_ext <<_ACEOF
29405 cat confdefs.h
>>conftest.
$ac_ext
29406 cat >>conftest.
$ac_ext <<_ACEOF
29407 /* end confdefs.h. */
29409 #undef HAVE_BOOLEAN
29411 #include <jpeglib.h>
29414 typedef boolean ac__type_new_;
29418 if ((ac__type_new_ *) 0)
29420 if (sizeof (ac__type_new_))
29426 rm -f conftest.
$ac_objext
29427 if { (ac_try
="$ac_compile"
29428 case "(($ac_try" in
29429 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29430 *) ac_try_echo=$ac_try;;
29432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29433 (eval "$ac_compile") 2>conftest.er1
29435 grep -v '^ *+' conftest.er1 >conftest.err
29437 cat conftest.err >&5
29438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29439 (exit $ac_status); } && {
29440 test -z "$ac_c_werror_flag" ||
29441 test ! -s conftest.err
29442 } && test -s conftest.$ac_objext; then
29443 ac_cv_type_boolean=yes
29445 echo "$as_me: failed program was:" >&5
29446 sed 's/^/| /' conftest.$ac_ext >&5
29448 ac_cv_type_boolean=no
29451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29453 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29454 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29456 # The cast to long int works around a bug in the HP C Compiler
29457 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29458 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
29459 # This bug is HP SR number 8606223364.
29460 { echo "$as_me:$LINENO: checking size of boolean" >&5
29461 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29462 if test "${ac_cv_sizeof_boolean+set}" = set; then
29463 echo $ECHO_N "(cached) $ECHO_C" >&6
29465 if test "$cross_compiling" = yes; then
29466 # Depending upon the size, compute the lo and hi bounds.
29467 cat >conftest.$ac_ext <<_ACEOF
29470 cat confdefs.h >>conftest.$ac_ext
29471 cat >>conftest.$ac_ext <<_ACEOF
29472 /* end confdefs.h. */
29474 #undef HAVE_BOOLEAN
29476 #include <jpeglib.h>
29479 typedef boolean ac__type_sizeof_;
29483 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29490 rm -f conftest.$ac_objext
29491 if { (ac_try="$ac_compile"
29492 case "(($ac_try" in
29493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29494 *) ac_try_echo=$ac_try;;
29496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29497 (eval "$ac_compile") 2>conftest.er1
29499 grep -v '^
*+' conftest.er1 >conftest.err
29501 cat conftest.err >&5
29502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29503 (exit $ac_status); } && {
29504 test -z "$ac_c_werror_flag" ||
29505 test ! -s conftest.err
29506 } && test -s conftest.$ac_objext; then
29509 cat >conftest.$ac_ext <<_ACEOF
29512 cat confdefs.h >>conftest.$ac_ext
29513 cat >>conftest.$ac_ext <<_ACEOF
29514 /* end confdefs.h. */
29516 #undef HAVE_BOOLEAN
29518 #include <jpeglib.h>
29521 typedef boolean ac__type_sizeof_;
29525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29532 rm -f conftest.$ac_objext
29533 if { (ac_try="$ac_compile"
29534 case "(($ac_try" in
29535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29536 *) ac_try_echo=$ac_try;;
29538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29539 (eval "$ac_compile") 2>conftest.er1
29541 grep -v '^
*+' conftest.er1 >conftest.err
29543 cat conftest.err >&5
29544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29545 (exit $ac_status); } && {
29546 test -z "$ac_c_werror_flag" ||
29547 test ! -s conftest.err
29548 } && test -s conftest.$ac_objext; then
29549 ac_hi=$ac_mid; break
29551 echo "$as_me: failed program was:" >&5
29552 sed 's
/^
/| /' conftest.$ac_ext >&5
29554 ac_lo=`expr $ac_mid + 1`
29555 if test $ac_lo -le $ac_mid; then
29559 ac_mid=`expr 2 '*' $ac_mid + 1`
29562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29565 echo "$as_me: failed program was:" >&5
29566 sed 's
/^
/| /' conftest.$ac_ext >&5
29568 cat >conftest.$ac_ext <<_ACEOF
29571 cat confdefs.h >>conftest.$ac_ext
29572 cat >>conftest.$ac_ext <<_ACEOF
29573 /* end confdefs.h. */
29575 #undef HAVE_BOOLEAN
29577 #include <jpeglib.h>
29580 typedef boolean ac__type_sizeof_;
29584 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29591 rm -f conftest.$ac_objext
29592 if { (ac_try="$ac_compile"
29593 case "(($ac_try" in
29594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29595 *) ac_try_echo=$ac_try;;
29597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29598 (eval "$ac_compile") 2>conftest.er1
29600 grep -v '^
*+' conftest.er1 >conftest.err
29602 cat conftest.err >&5
29603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29604 (exit $ac_status); } && {
29605 test -z "$ac_c_werror_flag" ||
29606 test ! -s conftest.err
29607 } && test -s conftest.$ac_objext; then
29610 cat >conftest.$ac_ext <<_ACEOF
29613 cat confdefs.h >>conftest.$ac_ext
29614 cat >>conftest.$ac_ext <<_ACEOF
29615 /* end confdefs.h. */
29617 #undef HAVE_BOOLEAN
29619 #include <jpeglib.h>
29622 typedef boolean ac__type_sizeof_;
29626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29633 rm -f conftest.$ac_objext
29634 if { (ac_try="$ac_compile"
29635 case "(($ac_try" in
29636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29637 *) ac_try_echo=$ac_try;;
29639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29640 (eval "$ac_compile") 2>conftest.er1
29642 grep -v '^
*+' conftest.er1 >conftest.err
29644 cat conftest.err >&5
29645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29646 (exit $ac_status); } && {
29647 test -z "$ac_c_werror_flag" ||
29648 test ! -s conftest.err
29649 } && test -s conftest.$ac_objext; then
29650 ac_lo=$ac_mid; break
29652 echo "$as_me: failed program was:" >&5
29653 sed 's
/^
/| /' conftest.$ac_ext >&5
29655 ac_hi=`expr '(' $ac_mid ')' - 1`
29656 if test $ac_mid -le $ac_hi; then
29660 ac_mid=`expr 2 '*' $ac_mid`
29663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29666 echo "$as_me: failed program was:" >&5
29667 sed 's
/^
/| /' conftest.$ac_ext >&5
29672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29676 # Binary search between lo and hi bounds.
29677 while test "x$ac_lo" != "x$ac_hi"; do
29678 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29679 cat >conftest.$ac_ext <<_ACEOF
29682 cat confdefs.h >>conftest.$ac_ext
29683 cat >>conftest.$ac_ext <<_ACEOF
29684 /* end confdefs.h. */
29686 #undef HAVE_BOOLEAN
29688 #include <jpeglib.h>
29691 typedef boolean ac__type_sizeof_;
29695 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29702 rm -f conftest.$ac_objext
29703 if { (ac_try="$ac_compile"
29704 case "(($ac_try" in
29705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29706 *) ac_try_echo=$ac_try;;
29708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29709 (eval "$ac_compile") 2>conftest.er1
29711 grep -v '^
*+' conftest.er1 >conftest.err
29713 cat conftest.err >&5
29714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29715 (exit $ac_status); } && {
29716 test -z "$ac_c_werror_flag" ||
29717 test ! -s conftest.err
29718 } && test -s conftest.$ac_objext; then
29721 echo "$as_me: failed program was:" >&5
29722 sed 's
/^
/| /' conftest.$ac_ext >&5
29724 ac_lo=`expr '(' $ac_mid ')' + 1`
29727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29730 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29731 '') if test "$ac_cv_type_boolean" = yes; then
29732 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29733 See \`config.log' for more details.
" >&5
29734 echo "$as_me: error
: cannot compute sizeof
(boolean
)
29735 See \
`config.log' for more details." >&2;}
29736 { (exit 77); exit 77; }; }
29738 ac_cv_sizeof_boolean=0
29742 cat >conftest.$ac_ext <<_ACEOF
29745 cat confdefs.h >>conftest.$ac_ext
29746 cat >>conftest.$ac_ext <<_ACEOF
29747 /* end confdefs.h. */
29749 #undef HAVE_BOOLEAN
29751 #include <jpeglib.h>
29754 typedef boolean ac__type_sizeof_;
29755 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29756 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29758 #include <stdlib.h>
29763 FILE *f = fopen ("conftest.val", "w");
29766 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29768 long int i = longval ();
29769 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29771 fprintf (f, "%ld\n", i);
29775 unsigned long int i = ulongval ();
29776 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29778 fprintf (f, "%lu\n", i);
29780 return ferror (f) || fclose (f) != 0;
29786 rm -f conftest$ac_exeext
29787 if { (ac_try="$ac_link"
29788 case "(($ac_try" in
29789 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29790 *) ac_try_echo
=$ac_try;;
29792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29793 (eval "$ac_link") 2>&5
29795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29796 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29797 { (case "(($ac_try" in
29798 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29799 *) ac_try_echo=$ac_try;;
29801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29802 (eval "$ac_try") 2>&5
29804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29805 (exit $ac_status); }; }; then
29806 ac_cv_sizeof_boolean=`cat conftest.val
`
29808 echo "$as_me: program exited with status $ac_status" >&5
29809 echo "$as_me: failed program was:" >&5
29810 sed 's/^/| /' conftest.$ac_ext >&5
29812 ( exit $ac_status )
29813 if test "$ac_cv_type_boolean" = yes; then
29814 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29815 See \`config.log
' for more details." >&5
29816 echo "$as_me: error: cannot compute sizeof (boolean)
29817 See \`config.log' for more details.
" >&2;}
29818 { (exit 77); exit 77; }; }
29820 ac_cv_sizeof_boolean=0
29823 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29827 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
29828 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29832 cat >>confdefs.h <<_ACEOF
29833 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29837 cat >>confdefs.h <<_ACEOF
29838 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29852 TIFF_PREREQ_LINKS=-lm
29853 if test "$wxUSE_LIBTIFF" != "no
" ; then
29854 cat >>confdefs.h <<\_ACEOF
29855 #define wxUSE_LIBTIFF 1
29859 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
29860 if test "$wxUSE_LIBJPEG" = "sys
"; then
29861 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29863 if test "$wxUSE_ZLIB" = "sys
"; then
29864 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29866 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
29867 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
29868 if test "${ac_cv_header_tiffio_h+set}" = set; then
29869 echo $ECHO_N "(cached
) $ECHO_C" >&6
29871 cat >conftest.$ac_ext <<_ACEOF
29874 cat confdefs.h >>conftest.$ac_ext
29875 cat >>conftest.$ac_ext <<_ACEOF
29876 /* end confdefs.h. */
29880 #include <tiffio.h>
29882 rm -f conftest.$ac_objext
29883 if { (ac_try="$ac_compile"
29884 case "(($ac_try" in
29885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29886 *) ac_try_echo=$ac_try;;
29888 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29889 (eval "$ac_compile") 2>conftest.er1
29891 grep -v '^ *+' conftest.er1 >conftest.err
29893 cat conftest.err >&5
29894 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29895 (exit $ac_status); } && {
29896 test -z "$ac_c_werror_flag" ||
29897 test ! -s conftest.err
29898 } && test -s conftest.$ac_objext; then
29899 ac_cv_header_tiffio_h=yes
29901 echo "$as_me: failed program was
:" >&5
29902 sed 's/^/| /' conftest.$ac_ext >&5
29904 ac_cv_header_tiffio_h=no
29907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29909 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
29910 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29911 if test $ac_cv_header_tiffio_h = yes; then
29913 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
29914 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
29915 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29916 echo $ECHO_N "(cached
) $ECHO_C" >&6
29918 ac_check_lib_save_LIBS=$LIBS
29919 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29920 cat >conftest.$ac_ext <<_ACEOF
29923 cat confdefs.h >>conftest.$ac_ext
29924 cat >>conftest.$ac_ext <<_ACEOF
29925 /* end confdefs.h. */
29927 /* Override any GCC internal prototype to avoid an error.
29928 Use char because int might match the return type of a GCC
29929 builtin and then its argument prototype would still apply. */
29937 return TIFFError ();
29942 rm -f conftest.$ac_objext conftest$ac_exeext
29943 if { (ac_try="$ac_link"
29944 case "(($ac_try" in
29945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29946 *) ac_try_echo=$ac_try;;
29948 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29949 (eval "$ac_link") 2>conftest.er1
29951 grep -v '^ *+' conftest.er1 >conftest.err
29953 cat conftest.err >&5
29954 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29955 (exit $ac_status); } && {
29956 test -z "$ac_c_werror_flag" ||
29957 test ! -s conftest.err
29958 } && test -s conftest$ac_exeext &&
29959 $as_test_x conftest$ac_exeext; then
29960 ac_cv_lib_tiff_TIFFError=yes
29962 echo "$as_me: failed program was
:" >&5
29963 sed 's/^/| /' conftest.$ac_ext >&5
29965 ac_cv_lib_tiff_TIFFError=no
29968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29969 conftest$ac_exeext conftest.$ac_ext
29970 LIBS=$ac_check_lib_save_LIBS
29972 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
29973 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29974 if test $ac_cv_lib_tiff_TIFFError = yes; then
29975 TIFF_LINK=" -ltiff"
29983 if test "x
$TIFF_LINK" = "x
" ; then
29984 if test "$wxUSE_LIBTIFF" = "sys
" ; then
29985 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
29986 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
29987 { (exit 1); exit 1; }; }
29989 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
29990 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
29991 wxUSE_LIBTIFF=builtin
29996 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29997 subdirs="$subdirs src
/tiff
"
30004 if test "$wxUSE_WCHAR_T" != "yes"; then
30005 if test "$wxUSE_EXPAT" != "no
"; then
30006 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
30007 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
30010 if test "$wxUSE_XML" != "no
"; then
30011 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
30012 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
30017 if test "$wxUSE_EXPAT" != "no
"; then
30019 cat >>confdefs.h <<\_ACEOF
30020 #define wxUSE_EXPAT 1
30023 cat >>confdefs.h <<\_ACEOF
30024 #define wxUSE_XML 1
30028 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
30029 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
30030 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
30031 if test "${ac_cv_header_expat_h+set}" = set; then
30032 echo $ECHO_N "(cached
) $ECHO_C" >&6
30034 cat >conftest.$ac_ext <<_ACEOF
30037 cat confdefs.h >>conftest.$ac_ext
30038 cat >>conftest.$ac_ext <<_ACEOF
30039 /* end confdefs.h. */
30044 rm -f conftest.$ac_objext
30045 if { (ac_try="$ac_compile"
30046 case "(($ac_try" in
30047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30048 *) ac_try_echo=$ac_try;;
30050 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30051 (eval "$ac_compile") 2>conftest.er1
30053 grep -v '^ *+' conftest.er1 >conftest.err
30055 cat conftest.err >&5
30056 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30057 (exit $ac_status); } && {
30058 test -z "$ac_c_werror_flag" ||
30059 test ! -s conftest.err
30060 } && test -s conftest.$ac_objext; then
30061 ac_cv_header_expat_h=yes
30063 echo "$as_me: failed program was
:" >&5
30064 sed 's/^/| /' conftest.$ac_ext >&5
30066 ac_cv_header_expat_h=no
30069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30071 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
30072 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30073 if test $ac_cv_header_expat_h = yes; then
30078 if test "x
$found_expat_h" = "x1
"; then
30079 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
30080 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
30081 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30082 echo $ECHO_N "(cached
) $ECHO_C" >&6
30086 ac_cpp='$CXXCPP $CPPFLAGS'
30087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30091 cat >conftest.$ac_ext <<_ACEOF
30094 cat confdefs.h >>conftest.$ac_ext
30095 cat >>conftest.$ac_ext <<_ACEOF
30096 /* end confdefs.h. */
30106 rm -f conftest.$ac_objext
30107 if { (ac_try="$ac_compile"
30108 case "(($ac_try" in
30109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30110 *) ac_try_echo=$ac_try;;
30112 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30113 (eval "$ac_compile") 2>conftest.er1
30115 grep -v '^ *+' conftest.er1 >conftest.err
30117 cat conftest.err >&5
30118 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30119 (exit $ac_status); } && {
30120 test -z "$ac_cxx_werror_flag" ||
30121 test ! -s conftest.err
30122 } && test -s conftest.$ac_objext; then
30123 wx_cv_expat_is_not_broken=yes
30125 echo "$as_me: failed program was
:" >&5
30126 sed 's/^/| /' conftest.$ac_ext >&5
30128 wx_cv_expat_is_not_broken=no
30132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30134 ac_cpp='$CPP $CPPFLAGS'
30135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30142 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
30143 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30144 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30145 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
30146 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
30147 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30148 echo $ECHO_N "(cached
) $ECHO_C" >&6
30150 ac_check_lib_save_LIBS=$LIBS
30151 LIBS="-lexpat $LIBS"
30152 cat >conftest.$ac_ext <<_ACEOF
30155 cat confdefs.h >>conftest.$ac_ext
30156 cat >>conftest.$ac_ext <<_ACEOF
30157 /* end confdefs.h. */
30159 /* Override any GCC internal prototype to avoid an error.
30160 Use char because int might match the return type of a GCC
30161 builtin and then its argument prototype would still apply. */
30165 char XML_ParserCreate ();
30169 return XML_ParserCreate ();
30174 rm -f conftest.$ac_objext conftest$ac_exeext
30175 if { (ac_try="$ac_link"
30176 case "(($ac_try" in
30177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30178 *) ac_try_echo=$ac_try;;
30180 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30181 (eval "$ac_link") 2>conftest.er1
30183 grep -v '^ *+' conftest.er1 >conftest.err
30185 cat conftest.err >&5
30186 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30187 (exit $ac_status); } && {
30188 test -z "$ac_c_werror_flag" ||
30189 test ! -s conftest.err
30190 } && test -s conftest$ac_exeext &&
30191 $as_test_x conftest$ac_exeext; then
30192 ac_cv_lib_expat_XML_ParserCreate=yes
30194 echo "$as_me: failed program was
:" >&5
30195 sed 's/^/| /' conftest.$ac_ext >&5
30197 ac_cv_lib_expat_XML_ParserCreate=no
30200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30201 conftest$ac_exeext conftest.$ac_ext
30202 LIBS=$ac_check_lib_save_LIBS
30204 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
30205 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30206 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30207 EXPAT_LINK=" -lexpat"
30212 if test "x
$EXPAT_LINK" = "x
" ; then
30213 if test "$wxUSE_EXPAT" = "sys
" ; then
30214 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
30215 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
30216 { (exit 1); exit 1; }; }
30218 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
30219 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
30220 wxUSE_EXPAT=builtin
30226 if test "$wxUSE_EXPAT" = "builtin" ; then
30227 subdirs="$subdirs src
/expat
"
30234 if test "$wxUSE_LIBMSPACK" != "no
"; then
30235 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
30236 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
30237 if test "${ac_cv_header_mspack_h+set}" = set; then
30238 echo $ECHO_N "(cached
) $ECHO_C" >&6
30240 cat >conftest.$ac_ext <<_ACEOF
30243 cat confdefs.h >>conftest.$ac_ext
30244 cat >>conftest.$ac_ext <<_ACEOF
30245 /* end confdefs.h. */
30248 #include <mspack.h>
30250 rm -f conftest.$ac_objext
30251 if { (ac_try="$ac_compile"
30252 case "(($ac_try" in
30253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30254 *) ac_try_echo=$ac_try;;
30256 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30257 (eval "$ac_compile") 2>conftest.er1
30259 grep -v '^ *+' conftest.er1 >conftest.err
30261 cat conftest.err >&5
30262 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30263 (exit $ac_status); } && {
30264 test -z "$ac_c_werror_flag" ||
30265 test ! -s conftest.err
30266 } && test -s conftest.$ac_objext; then
30267 ac_cv_header_mspack_h=yes
30269 echo "$as_me: failed program was
:" >&5
30270 sed 's/^/| /' conftest.$ac_ext >&5
30272 ac_cv_header_mspack_h=no
30275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30277 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
30278 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30279 if test $ac_cv_header_mspack_h = yes; then
30284 if test "x
$found_mspack_h" = "x1
"; then
30285 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
30286 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
30287 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30288 echo $ECHO_N "(cached
) $ECHO_C" >&6
30290 ac_check_lib_save_LIBS=$LIBS
30291 LIBS="-lmspack $LIBS"
30292 cat >conftest.$ac_ext <<_ACEOF
30295 cat confdefs.h >>conftest.$ac_ext
30296 cat >>conftest.$ac_ext <<_ACEOF
30297 /* end confdefs.h. */
30299 /* Override any GCC internal prototype to avoid an error.
30300 Use char because int might match the return type of a GCC
30301 builtin and then its argument prototype would still apply. */
30305 char mspack_create_chm_decompressor ();
30309 return mspack_create_chm_decompressor ();
30314 rm -f conftest.$ac_objext conftest$ac_exeext
30315 if { (ac_try="$ac_link"
30316 case "(($ac_try" in
30317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30318 *) ac_try_echo=$ac_try;;
30320 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30321 (eval "$ac_link") 2>conftest.er1
30323 grep -v '^ *+' conftest.er1 >conftest.err
30325 cat conftest.err >&5
30326 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30327 (exit $ac_status); } && {
30328 test -z "$ac_c_werror_flag" ||
30329 test ! -s conftest.err
30330 } && test -s conftest$ac_exeext &&
30331 $as_test_x conftest$ac_exeext; then
30332 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30334 echo "$as_me: failed program was
:" >&5
30335 sed 's/^/| /' conftest.$ac_ext >&5
30337 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30341 conftest$ac_exeext conftest.$ac_ext
30342 LIBS=$ac_check_lib_save_LIBS
30344 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30345 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30346 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30347 MSPACK_LINK=" -lmspack"
30351 if test "x
$MSPACK_LINK" = "x
" ; then
30356 if test "$wxUSE_LIBMSPACK" != "no
"; then
30357 cat >>confdefs.h <<\_ACEOF
30358 #define wxUSE_LIBMSPACK 1
30372 if test "$USE_WIN32" = 1 ; then
30374 for ac_header in w32api.h
30376 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
30377 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
30378 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
30379 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
30380 echo $ECHO_N "(cached
) $ECHO_C" >&6
30382 cat >conftest.$ac_ext <<_ACEOF
30385 cat confdefs.h >>conftest.$ac_ext
30386 cat >>conftest.$ac_ext <<_ACEOF
30387 /* end confdefs.h. */
30390 #include <$ac_header>
30392 rm -f conftest.$ac_objext
30393 if { (ac_try="$ac_compile"
30394 case "(($ac_try" in
30395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30396 *) ac_try_echo=$ac_try;;
30398 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30399 (eval "$ac_compile") 2>conftest.er1
30401 grep -v '^ *+' conftest.er1 >conftest.err
30403 cat conftest.err >&5
30404 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30405 (exit $ac_status); } && {
30406 test -z "$ac_c_werror_flag" ||
30407 test ! -s conftest.err
30408 } && test -s conftest.$ac_objext; then
30409 eval "$as_ac_Header=yes"
30411 echo "$as_me: failed program was
:" >&5
30412 sed 's/^/| /' conftest.$ac_ext >&5
30414 eval "$as_ac_Header=no
"
30417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30419 ac_res=`eval echo '${'$as_ac_Header'}'`
30420 { echo "$as_me:$LINENO: result
: $ac_res" >&5
30421 echo "${ECHO_T}$ac_res" >&6; }
30422 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30423 cat >>confdefs.h <<_ACEOF
30424 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
30431 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
30432 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
30433 if test "${ac_cv_header_windows_h+set}" = set; then
30434 echo $ECHO_N "(cached
) $ECHO_C" >&6
30436 cat >conftest.$ac_ext <<_ACEOF
30439 cat confdefs.h >>conftest.$ac_ext
30440 cat >>conftest.$ac_ext <<_ACEOF
30441 /* end confdefs.h. */
30444 #include <windows.h>
30446 rm -f conftest.$ac_objext
30447 if { (ac_try="$ac_compile"
30448 case "(($ac_try" in
30449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30450 *) ac_try_echo=$ac_try;;
30452 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30453 (eval "$ac_compile") 2>conftest.er1
30455 grep -v '^ *+' conftest.er1 >conftest.err
30457 cat conftest.err >&5
30458 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30459 (exit $ac_status); } && {
30460 test -z "$ac_c_werror_flag" ||
30461 test ! -s conftest.err
30462 } && test -s conftest.$ac_objext; then
30463 ac_cv_header_windows_h=yes
30465 echo "$as_me: failed program was
:" >&5
30466 sed 's/^/| /' conftest.$ac_ext >&5
30468 ac_cv_header_windows_h=no
30471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30473 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
30474 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30475 if test $ac_cv_header_windows_h = yes; then
30479 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
30480 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
30481 { (exit 1); exit 1; }; }
30487 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30489 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30490 LIBS="$LIBS -loleacc"
30495 LIBS="$LIBS -lkernel32 -luser32"
30498 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30499 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
30501 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30503 WIN32INSTALL=win32install
30505 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
30506 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
30507 if test "${ac_cv_header_pbt_h+set}" = set; then
30508 echo $ECHO_N "(cached
) $ECHO_C" >&6
30510 cat >conftest.$ac_ext <<_ACEOF
30513 cat confdefs.h >>conftest.$ac_ext
30514 cat >>conftest.$ac_ext <<_ACEOF
30515 /* end confdefs.h. */
30520 rm -f conftest.$ac_objext
30521 if { (ac_try="$ac_compile"
30522 case "(($ac_try" in
30523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30524 *) ac_try_echo=$ac_try;;
30526 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30527 (eval "$ac_compile") 2>conftest.er1
30529 grep -v '^ *+' conftest.er1 >conftest.err
30531 cat conftest.err >&5
30532 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30533 (exit $ac_status); } && {
30534 test -z "$ac_c_werror_flag" ||
30535 test ! -s conftest.err
30536 } && test -s conftest.$ac_objext; then
30537 ac_cv_header_pbt_h=yes
30539 echo "$as_me: failed program was
:" >&5
30540 sed 's/^/| /' conftest.$ac_ext >&5
30542 ac_cv_header_pbt_h=no
30545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30547 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
30548 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30549 if test $ac_cv_header_pbt_h = yes; then
30552 cat >>confdefs.h <<\_ACEOF
30553 #define NEED_PBT_H 1
30561 if test "$wxUSE_GUI" = "yes"; then
30571 if test "$wxUSE_COCOA" = 1 ; then
30572 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30573 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
30574 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
30575 wxUSE_PRINTING_ARCHITECTURE=no
30577 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30578 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
30579 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
30580 wxUSE_DRAG_AND_DROP=no
30582 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30583 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
30584 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
30589 if test "$wxUSE_MSW" = 1 ; then
30595 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
30599 if test "$wxUSE_GTK" = 1; then
30600 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
30601 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
30603 gtk_version_cached=1
30604 if test "${wx_cv_lib_gtk+set}" = set; then
30605 echo $ECHO_N "(cached
) $ECHO_C" >&6
30608 gtk_version_cached=0
30609 { echo "$as_me:$LINENO: result
: " >&5
30610 echo "${ECHO_T}" >&6; }
30613 if test "$wxUSE_THREADS" = "yes"; then
30614 GTK_MODULES=gthread
30618 if test "x
$wxGTK_VERSION" != "x1
"
30622 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30627 # Check whether --enable-gtktest was given.
30628 if test "${enable_gtktest+set}" = set; then
30629 enableval=$enable_gtktest;
30635 pkg_config_args=gtk+-2.0
30636 for module in . $GTK_MODULES
30640 pkg_config_args="$pkg_config_args gthread
-2.0
"
30647 # Extract the first word of "pkg
-config", so it can be a program name with args.
30648 set dummy pkg-config; ac_word=$2
30649 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30650 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30651 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30652 echo $ECHO_N "(cached
) $ECHO_C" >&6
30654 case $PKG_CONFIG in
30656 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30660 for as_dir in $PATH
30663 test -z "$as_dir" && as_dir=.
30664 for ac_exec_ext in '' $ac_executable_extensions; do
30665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30666 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30667 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30674 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
30678 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30679 if test -n "$PKG_CONFIG"; then
30680 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
30681 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30683 { echo "$as_me:$LINENO: result
: no
" >&5
30684 echo "${ECHO_T}no
" >&6; }
30689 if test x$PKG_CONFIG != xno ; then
30690 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30693 echo "*** pkg
-config too old
; version
0.7 or better required.
"
30701 min_gtk_version=2.0.0
30702 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
30703 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
30705 if test x$PKG_CONFIG != xno ; then
30706 ## don't try to run the test against uninstalled libtool libs
30707 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30708 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
30712 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30719 if test x"$no_gtk" = x ; then
30720 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30721 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30722 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30723 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30724 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30725 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30726 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30727 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30728 if test "x
$enable_gtktest" = "xyes
" ; then
30729 ac_save_CFLAGS="$CFLAGS"
30730 ac_save_LIBS="$LIBS"
30731 CFLAGS="$CFLAGS $GTK_CFLAGS"
30732 LIBS="$GTK_LIBS $LIBS"
30734 if test "$cross_compiling" = yes; then
30735 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30737 cat >conftest.$ac_ext <<_ACEOF
30740 cat confdefs.h >>conftest.$ac_ext
30741 cat >>conftest.$ac_ext <<_ACEOF
30742 /* end confdefs.h. */
30744 #include <gtk/gtk.h>
30746 #include <stdlib.h>
30751 int major, minor, micro;
30754 system ("touch conf.gtktest
");
30756 /* HP/UX 9 (%@#!) writes to sscanf strings */
30757 tmp_version = g_strdup("$min_gtk_version");
30758 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30759 printf("%s
, bad version string
\n", "$min_gtk_version");
30763 if ((gtk_major_version != $gtk_config_major_version) ||
30764 (gtk_minor_version != $gtk_config_minor_version) ||
30765 (gtk_micro_version != $gtk_config_micro_version))
30767 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30768 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30769 gtk_major_version, gtk_minor_version, gtk_micro_version);
30770 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
30771 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30772 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30773 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30774 printf("*** required on your system.
\n");
30775 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
30776 printf("*** to point to the correct configuration files
\n");
30778 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30779 (gtk_minor_version != GTK_MINOR_VERSION) ||
30780 (gtk_micro_version != GTK_MICRO_VERSION))
30782 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30783 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30784 printf("*** library
(version
%d.
%d.
%d
)\n",
30785 gtk_major_version, gtk_minor_version, gtk_micro_version);
30789 if ((gtk_major_version > major) ||
30790 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30791 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30797 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30798 gtk_major_version, gtk_minor_version, gtk_micro_version);
30799 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30800 major, minor, micro);
30801 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30803 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30804 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
30805 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30806 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
30807 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
30808 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30809 printf("*** so that the correct libraries are found
at run
-time))\n");
30816 rm -f conftest$ac_exeext
30817 if { (ac_try="$ac_link"
30818 case "(($ac_try" in
30819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30820 *) ac_try_echo=$ac_try;;
30822 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30823 (eval "$ac_link") 2>&5
30825 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30826 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30827 { (case "(($ac_try" in
30828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30829 *) ac_try_echo=$ac_try;;
30831 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30832 (eval "$ac_try") 2>&5
30834 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30835 (exit $ac_status); }; }; then
30838 echo "$as_me: program exited with status
$ac_status" >&5
30839 echo "$as_me: failed program was
:" >&5
30840 sed 's/^/| /' conftest.$ac_ext >&5
30842 ( exit $ac_status )
30845 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30849 CFLAGS="$ac_save_CFLAGS"
30850 LIBS="$ac_save_LIBS"
30853 if test "x
$no_gtk" = x ; then
30854 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
30855 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
30858 { echo "$as_me:$LINENO: result
: no
" >&5
30859 echo "${ECHO_T}no
" >&6; }
30860 if test "$PKG_CONFIG" = "no
" ; then
30861 echo "*** A new enough version of pkg
-config was not found.
"
30862 echo "*** See http
://pkgconfig.sourceforge.net
"
30864 if test -f conf.gtktest ; then
30867 echo "*** Could not run GTK
+ test program
, checking why...
"
30868 ac_save_CFLAGS="$CFLAGS"
30869 ac_save_LIBS="$LIBS"
30870 CFLAGS="$CFLAGS $GTK_CFLAGS"
30871 LIBS="$LIBS $GTK_LIBS"
30872 cat >conftest.$ac_ext <<_ACEOF
30875 cat confdefs.h >>conftest.$ac_ext
30876 cat >>conftest.$ac_ext <<_ACEOF
30877 /* end confdefs.h. */
30879 #include <gtk/gtk.h>
30885 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30890 rm -f conftest.$ac_objext conftest$ac_exeext
30891 if { (ac_try="$ac_link"
30892 case "(($ac_try" in
30893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30894 *) ac_try_echo=$ac_try;;
30896 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30897 (eval "$ac_link") 2>conftest.er1
30899 grep -v '^ *+' conftest.er1 >conftest.err
30901 cat conftest.err >&5
30902 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30903 (exit $ac_status); } && {
30904 test -z "$ac_c_werror_flag" ||
30905 test ! -s conftest.err
30906 } && test -s conftest$ac_exeext &&
30907 $as_test_x conftest$ac_exeext; then
30908 echo "*** The
test program compiled
, but did not run. This usually means
"
30909 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
30910 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
30911 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30912 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30913 echo "*** is required on your system"
30915 echo "*** If you have an old version installed, it is best to remove it, although"
30916 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30918 echo "$as_me: failed program was:" >&5
30919 sed 's
/^
/| /' conftest.$ac_ext >&5
30921 echo "*** The test program failed to compile or link. See the file config.log for the"
30922 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30926 conftest$ac_exeext conftest.$ac_ext
30927 CFLAGS="$ac_save_CFLAGS"
30928 LIBS="$ac_save_LIBS"
30942 if test "$wxUSE_SHARED" != "yes"; then
30943 GTK_LIBS="$GTK_LIBS -lX11"
30948 if test -z "$wx_cv_lib_gtk"; then
30949 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30951 # Check whether --with-gtk-prefix was given.
30952 if test "${with_gtk_prefix+set}" = set; then
30953 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30955 gtk_config_prefix=""
30959 # Check whether --with-gtk-exec-prefix was given.
30960 if test "${with_gtk_exec_prefix+set}" = set; then
30961 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30963 gtk_config_exec_prefix=""
30966 # Check whether --enable-gtktest was given.
30967 if test "${enable_gtktest+set}" = set; then
30968 enableval=$enable_gtktest;
30974 for module in . $GTK_MODULES
30978 gtk_config_args="$gtk_config_args gthread"
30983 if test x$gtk_config_exec_prefix != x ; then
30984 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30985 if test x${GTK_CONFIG+set} != xset ; then
30986 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30989 if test x$gtk_config_prefix != x ; then
30990 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30991 if test x${GTK_CONFIG+set} != xset ; then
30992 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30996 # Extract the first word of "gtk-config", so it can be a program name with args.
30997 set dummy gtk-config; ac_word=$2
30998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31000 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31001 echo $ECHO_N "(cached) $ECHO_C" >&6
31003 case $GTK_CONFIG in
31005 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31009 for as_dir in $PATH
31012 test -z "$as_dir" && as_dir=.
31013 for ac_exec_ext in '' $ac_executable_extensions; do
31014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31015 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31023 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31027 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31028 if test -n "$GTK_CONFIG"; then
31029 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31030 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31032 { echo "$as_me:$LINENO: result: no" >&5
31033 echo "${ECHO_T}no" >&6; }
31037 min_gtk_version=1.2.7
31038 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31039 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31041 if test "$GTK_CONFIG" = "no" ; then
31044 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31045 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31046 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31047 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
31048 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31049 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
31050 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31051 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
31052 if test "x$enable_gtktest" = "xyes" ; then
31053 ac_save_CFLAGS="$CFLAGS"
31054 ac_save_LIBS="$LIBS"
31055 CFLAGS="$CFLAGS $GTK_CFLAGS"
31056 LIBS="$GTK_LIBS $LIBS"
31058 if test "$cross_compiling" = yes; then
31059 echo $ac_n "cross compiling; assumed OK... $ac_c"
31061 cat >conftest.$ac_ext <<_ACEOF
31064 cat confdefs.h >>conftest.$ac_ext
31065 cat >>conftest.$ac_ext <<_ACEOF
31066 /* end confdefs.h. */
31068 #include <gtk/gtk.h>
31070 #include <stdlib.h>
31075 int major, minor, micro;
31078 system ("touch conf.gtktest");
31080 /* HP/UX 9 (%@#!) writes to sscanf strings */
31081 tmp_version = g_strdup("$min_gtk_version");
31082 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31083 printf("%s, bad version string\n", "$min_gtk_version");
31087 if ((gtk_major_version != $gtk_config_major_version) ||
31088 (gtk_minor_version != $gtk_config_minor_version) ||
31089 (gtk_micro_version != $gtk_config_micro_version))
31091 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31092 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31093 gtk_major_version, gtk_minor_version, gtk_micro_version);
31094 printf ("*** was found! If gtk-config was correct, then it is best\n");
31095 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31096 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31097 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31098 printf("*** required on your system.\n");
31099 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31100 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31101 printf("*** before re-running configure\n");
31103 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31104 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31105 (gtk_minor_version != GTK_MINOR_VERSION) ||
31106 (gtk_micro_version != GTK_MICRO_VERSION))
31108 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31109 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31110 printf("*** library (version %d.%d.%d)\n",
31111 gtk_major_version, gtk_minor_version, gtk_micro_version);
31113 #endif /* defined (GTK_MAJOR_VERSION) ... */
31116 if ((gtk_major_version > major) ||
31117 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31118 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31124 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31125 gtk_major_version, gtk_minor_version, gtk_micro_version);
31126 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31127 major, minor, micro);
31128 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31130 printf("*** If you have already installed a sufficiently new version, this error\n");
31131 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31132 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31133 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31134 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31135 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31136 printf("*** so that the correct libraries are found at run-time))\n");
31143 rm -f conftest$ac_exeext
31144 if { (ac_try="$ac_link"
31145 case "(($ac_try" in
31146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31147 *) ac_try_echo=$ac_try;;
31149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31150 (eval "$ac_link") 2>&5
31152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31153 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
31154 { (case "(($ac_try" in
31155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31156 *) ac_try_echo=$ac_try;;
31158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31159 (eval "$ac_try") 2>&5
31161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31162 (exit $ac_status); }; }; then
31165 echo "$as_me: program exited with status $ac_status" >&5
31166 echo "$as_me: failed program was:" >&5
31167 sed 's
/^
/| /' conftest.$ac_ext >&5
31169 ( exit $ac_status )
31172 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31176 CFLAGS="$ac_save_CFLAGS"
31177 LIBS="$ac_save_LIBS"
31180 if test "x$no_gtk" = x ; then
31181 { echo "$as_me:$LINENO: result: yes" >&5
31182 echo "${ECHO_T}yes" >&6; }
31183 wx_cv_lib_gtk=1.2.7
31185 { echo "$as_me:$LINENO: result: no" >&5
31186 echo "${ECHO_T}no" >&6; }
31187 if test "$GTK_CONFIG" = "no" ; then
31188 echo "*** The gtk-config script installed by GTK could not be found"
31189 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31190 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31191 echo "*** full path to gtk-config."
31193 if test -f conf.gtktest ; then
31196 echo "*** Could not run GTK test program, checking why..."
31197 CFLAGS="$CFLAGS $GTK_CFLAGS"
31198 LIBS="$LIBS $GTK_LIBS"
31199 cat >conftest.$ac_ext <<_ACEOF
31202 cat confdefs.h >>conftest.$ac_ext
31203 cat >>conftest.$ac_ext <<_ACEOF
31204 /* end confdefs.h. */
31206 #include <gtk/gtk.h>
31212 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31217 rm -f conftest.$ac_objext conftest$ac_exeext
31218 if { (ac_try="$ac_link"
31219 case "(($ac_try" in
31220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31221 *) ac_try_echo=$ac_try;;
31223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31224 (eval "$ac_link") 2>conftest.er1
31226 grep -v '^
*+' conftest.er1 >conftest.err
31228 cat conftest.err >&5
31229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31230 (exit $ac_status); } && {
31231 test -z "$ac_c_werror_flag" ||
31232 test ! -s conftest.err
31233 } && test -s conftest$ac_exeext &&
31234 $as_test_x conftest$ac_exeext; then
31235 echo "*** The test program compiled, but did not run. This usually means"
31236 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31237 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
31238 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
31239 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
31240 echo "*** is required on your system
"
31242 echo "*** If you have an old version installed
, it is best to remove it
, although
"
31243 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
31245 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
31246 echo "*** came with the system with the
command"
31248 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
31250 echo "$as_me: failed program was
:" >&5
31251 sed 's/^/| /' conftest.$ac_ext >&5
31253 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
31254 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
31255 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
31256 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
31259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31260 conftest$ac_exeext conftest.$ac_ext
31261 CFLAGS="$ac_save_CFLAGS"
31262 LIBS="$ac_save_LIBS"
31274 if test -z "$wx_cv_lib_gtk"; then
31276 # Check whether --with-gtk-prefix was given.
31277 if test "${with_gtk_prefix+set}" = set; then
31278 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31280 gtk_config_prefix=""
31284 # Check whether --with-gtk-exec-prefix was given.
31285 if test "${with_gtk_exec_prefix+set}" = set; then
31286 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31288 gtk_config_exec_prefix=""
31291 # Check whether --enable-gtktest was given.
31292 if test "${enable_gtktest+set}" = set; then
31293 enableval=$enable_gtktest;
31299 for module in . $GTK_MODULES
31303 gtk_config_args="$gtk_config_args gthread
"
31308 if test x$gtk_config_exec_prefix != x ; then
31309 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31310 if test x${GTK_CONFIG+set} != xset ; then
31311 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31314 if test x$gtk_config_prefix != x ; then
31315 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31316 if test x${GTK_CONFIG+set} != xset ; then
31317 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31321 # Extract the first word of "gtk
-config", so it can be a program name with args.
31322 set dummy gtk-config; ac_word=$2
31323 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
31324 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
31325 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31326 echo $ECHO_N "(cached
) $ECHO_C" >&6
31328 case $GTK_CONFIG in
31330 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31334 for as_dir in $PATH
31337 test -z "$as_dir" && as_dir=.
31338 for ac_exec_ext in '' $ac_executable_extensions; do
31339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31340 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31341 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
31348 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
31352 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31353 if test -n "$GTK_CONFIG"; then
31354 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
31355 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31357 { echo "$as_me:$LINENO: result
: no
" >&5
31358 echo "${ECHO_T}no
" >&6; }
31362 min_gtk_version=1.2.3
31363 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
31364 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
31366 if test "$GTK_CONFIG" = "no
" ; then
31369 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31370 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31371 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31372 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31373 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31374 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31375 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31376 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31377 if test "x
$enable_gtktest" = "xyes
" ; then
31378 ac_save_CFLAGS="$CFLAGS"
31379 ac_save_LIBS="$LIBS"
31380 CFLAGS="$CFLAGS $GTK_CFLAGS"
31381 LIBS="$GTK_LIBS $LIBS"
31383 if test "$cross_compiling" = yes; then
31384 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
31386 cat >conftest.$ac_ext <<_ACEOF
31389 cat confdefs.h >>conftest.$ac_ext
31390 cat >>conftest.$ac_ext <<_ACEOF
31391 /* end confdefs.h. */
31393 #include <gtk/gtk.h>
31395 #include <stdlib.h>
31400 int major, minor, micro;
31403 system ("touch conf.gtktest
");
31405 /* HP/UX 9 (%@#!) writes to sscanf strings */
31406 tmp_version = g_strdup("$min_gtk_version");
31407 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
31408 printf("%s
, bad version string
\n", "$min_gtk_version");
31412 if ((gtk_major_version != $gtk_config_major_version) ||
31413 (gtk_minor_version != $gtk_config_minor_version) ||
31414 (gtk_micro_version != $gtk_config_micro_version))
31416 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
31417 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31418 gtk_major_version, gtk_minor_version, gtk_micro_version);
31419 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
31420 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
31421 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
31422 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
31423 printf("*** required on your system.
\n");
31424 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
31425 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
31426 printf("*** before re
-running configure
\n");
31428 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31429 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31430 (gtk_minor_version != GTK_MINOR_VERSION) ||
31431 (gtk_micro_version != GTK_MICRO_VERSION))
31433 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
31434 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31435 printf("*** library
(version
%d.
%d.
%d
)\n",
31436 gtk_major_version, gtk_minor_version, gtk_micro_version);
31438 #endif /* defined (GTK_MAJOR_VERSION) ... */
31441 if ((gtk_major_version > major) ||
31442 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31443 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31449 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
31450 gtk_major_version, gtk_minor_version, gtk_micro_version);
31451 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
31452 major, minor, micro);
31453 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
31455 printf("*** If you have already installed a sufficiently new version
, this error
\n");
31456 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
31457 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
31458 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
31459 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
31460 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
31461 printf("*** so that the correct libraries are found
at run
-time))\n");
31468 rm -f conftest$ac_exeext
31469 if { (ac_try="$ac_link"
31470 case "(($ac_try" in
31471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31472 *) ac_try_echo=$ac_try;;
31474 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31475 (eval "$ac_link") 2>&5
31477 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31478 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31479 { (case "(($ac_try" in
31480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31481 *) ac_try_echo=$ac_try;;
31483 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31484 (eval "$ac_try") 2>&5
31486 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31487 (exit $ac_status); }; }; then
31490 echo "$as_me: program exited with status
$ac_status" >&5
31491 echo "$as_me: failed program was
:" >&5
31492 sed 's/^/| /' conftest.$ac_ext >&5
31494 ( exit $ac_status )
31497 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31501 CFLAGS="$ac_save_CFLAGS"
31502 LIBS="$ac_save_LIBS"
31505 if test "x
$no_gtk" = x ; then
31506 { echo "$as_me:$LINENO: result
: yes" >&5
31507 echo "${ECHO_T}yes" >&6; }
31508 wx_cv_lib_gtk=1.2.3
31510 { echo "$as_me:$LINENO: result
: no
" >&5
31511 echo "${ECHO_T}no
" >&6; }
31512 if test "$GTK_CONFIG" = "no
" ; then
31513 echo "*** The gtk
-config script installed by GTK could not be found
"
31514 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
31515 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
31516 echo "*** full path to gtk
-config.
"
31518 if test -f conf.gtktest ; then
31521 echo "*** Could not run GTK
test program
, checking why...
"
31522 CFLAGS="$CFLAGS $GTK_CFLAGS"
31523 LIBS="$LIBS $GTK_LIBS"
31524 cat >conftest.$ac_ext <<_ACEOF
31527 cat confdefs.h >>conftest.$ac_ext
31528 cat >>conftest.$ac_ext <<_ACEOF
31529 /* end confdefs.h. */
31531 #include <gtk/gtk.h>
31537 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31542 rm -f conftest.$ac_objext conftest$ac_exeext
31543 if { (ac_try="$ac_link"
31544 case "(($ac_try" in
31545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31546 *) ac_try_echo=$ac_try;;
31548 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31549 (eval "$ac_link") 2>conftest.er1
31551 grep -v '^ *+' conftest.er1 >conftest.err
31553 cat conftest.err >&5
31554 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31555 (exit $ac_status); } && {
31556 test -z "$ac_c_werror_flag" ||
31557 test ! -s conftest.err
31558 } && test -s conftest$ac_exeext &&
31559 $as_test_x conftest$ac_exeext; then
31560 echo "*** The
test program compiled
, but did not run. This usually means
"
31561 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
31562 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
31563 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31564 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31565 echo "*** is required on your system"
31567 echo "*** If you have an old version installed, it is best to remove it, although"
31568 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31570 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31571 echo "*** came with the system with the command"
31573 echo "*** rpm --erase --nodeps gtk gtk-devel"
31575 echo "$as_me: failed program was:" >&5
31576 sed 's
/^
/| /' conftest.$ac_ext >&5
31578 echo "*** The test program failed to compile or link. See the file config.log for the"
31579 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31580 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31581 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31585 conftest$ac_exeext conftest.$ac_ext
31586 CFLAGS="$ac_save_CFLAGS"
31587 LIBS="$ac_save_LIBS"
31602 if test -z "$wx_cv_lib_gtk"; then
31605 wx_cv_cflags_gtk=$GTK_CFLAGS
31606 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
31613 if test "$gtk_version_cached" = 1; then
31614 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31615 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31618 case "$wx_cv_lib_gtk" in
31627 *) { { echo "$as_me:$LINENO: error:
31628 The development files for GTK+ were not found. For GTK+ 2, please
31629 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31630 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31631 and that the version is 1.2.3 or above. Also check that the
31632 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31633 --libs' are in the LD_LIBRARY_PATH or equivalent.
31635 echo "$as_me: error:
31636 The development files for GTK+ were not found. For GTK+ 2, please
31637 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31638 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31639 and that the version is 1.2.3 or above. Also check that the
31640 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31641 --libs' are in the LD_LIBRARY_PATH or equivalent.
31643 { (exit 1); exit 1; }; }
31647 if test "$WXGTK20" = 1; then
31648 save_CFLAGS="$CFLAGS"
31650 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31651 LIBS="$LIBS $wx_cv_libs_gtk"
31653 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31654 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31655 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31656 echo $ECHO_N "(cached) $ECHO_C" >&6
31658 cat >conftest.$ac_ext <<_ACEOF
31661 cat confdefs.h >>conftest.$ac_ext
31662 cat >>conftest.$ac_ext <<_ACEOF
31663 /* end confdefs.h. */
31664 #include <gtk/gtk.h>
31669 #ifndef gtk_icon_size_lookup
31670 (void) gtk_icon_size_lookup;
31677 rm -f conftest.$ac_objext
31678 if { (ac_try="$ac_compile"
31679 case "(($ac_try" in
31680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31681 *) ac_try_echo=$ac_try;;
31683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31684 (eval "$ac_compile") 2>conftest.er1
31686 grep -v '^
*+' conftest.er1 >conftest.err
31688 cat conftest.err >&5
31689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31690 (exit $ac_status); } && {
31691 test -z "$ac_c_werror_flag" ||
31692 test ! -s conftest.err
31693 } && test -s conftest.$ac_objext; then
31694 ac_cv_have_decl_gtk_icon_size_lookup=yes
31696 echo "$as_me: failed program was:" >&5
31697 sed 's
/^
/| /' conftest.$ac_ext >&5
31699 ac_cv_have_decl_gtk_icon_size_lookup=no
31702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31704 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31705 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31706 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31708 cat >>confdefs.h <<_ACEOF
31709 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31714 cat >>confdefs.h <<_ACEOF
31715 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31718 cat >>confdefs.h <<\_ACEOF
31719 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31727 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31728 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31729 cat >conftest.$ac_ext <<_ACEOF
31732 cat confdefs.h >>conftest.$ac_ext
31733 cat >>conftest.$ac_ext <<_ACEOF
31734 /* end confdefs.h. */
31736 #include <gtk/gtk.h>
31742 #if !GTK_CHECK_VERSION(2,10,0)
31750 rm -f conftest.$ac_objext
31751 if { (ac_try="$ac_compile"
31752 case "(($ac_try" in
31753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31754 *) ac_try_echo=$ac_try;;
31756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31757 (eval "$ac_compile") 2>conftest.er1
31759 grep -v '^
*+' conftest.er1 >conftest.err
31761 cat conftest.err >&5
31762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31763 (exit $ac_status); } && {
31764 test -z "$ac_c_werror_flag" ||
31765 test ! -s conftest.err
31766 } && test -s conftest.$ac_objext; then
31768 cat >>confdefs.h <<\_ACEOF
31769 #define __WXGTK210__ 1
31772 cat >>confdefs.h <<\_ACEOF
31773 #define __WXGTK26__ 1
31776 cat >>confdefs.h <<\_ACEOF
31777 #define __WXGTK24__ 1
31780 { echo "$as_me:$LINENO: result: yes" >&5
31781 echo "${ECHO_T}yes" >&6; }
31785 echo "$as_me: failed program was:" >&5
31786 sed 's
/^
/| /' conftest.$ac_ext >&5
31789 { echo "$as_me:$LINENO: result: no" >&5
31790 echo "${ECHO_T}no" >&6; }
31795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31797 if test "$ac_wxgtk210" = 0; then
31798 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31799 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31800 cat >conftest.$ac_ext <<_ACEOF
31803 cat confdefs.h >>conftest.$ac_ext
31804 cat >>conftest.$ac_ext <<_ACEOF
31805 /* end confdefs.h. */
31807 #include <gtk/gtk.h>
31813 #if !GTK_CHECK_VERSION(2,6,0)
31821 rm -f conftest.$ac_objext
31822 if { (ac_try="$ac_compile"
31823 case "(($ac_try" in
31824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31825 *) ac_try_echo=$ac_try;;
31827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31828 (eval "$ac_compile") 2>conftest.er1
31830 grep -v '^
*+' conftest.er1 >conftest.err
31832 cat conftest.err >&5
31833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31834 (exit $ac_status); } && {
31835 test -z "$ac_c_werror_flag" ||
31836 test ! -s conftest.err
31837 } && test -s conftest.$ac_objext; then
31839 cat >>confdefs.h <<\_ACEOF
31840 #define __WXGTK26__ 1
31843 cat >>confdefs.h <<\_ACEOF
31844 #define __WXGTK24__ 1
31847 { echo "$as_me:$LINENO: result: yes" >&5
31848 echo "${ECHO_T}yes" >&6; }
31852 echo "$as_me: failed program was:" >&5
31853 sed 's
/^
/| /' conftest.$ac_ext >&5
31856 { echo "$as_me:$LINENO: result: no" >&5
31857 echo "${ECHO_T}no" >&6; }
31862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31865 if test "$ac_wxgtk26" = 0; then
31866 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31867 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31868 cat >conftest.$ac_ext <<_ACEOF
31871 cat confdefs.h >>conftest.$ac_ext
31872 cat >>conftest.$ac_ext <<_ACEOF
31873 /* end confdefs.h. */
31875 #include <gtk/gtk.h>
31881 #if !GTK_CHECK_VERSION(2,4,0)
31889 rm -f conftest.$ac_objext
31890 if { (ac_try="$ac_compile"
31891 case "(($ac_try" in
31892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31893 *) ac_try_echo=$ac_try;;
31895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31896 (eval "$ac_compile") 2>conftest.er1
31898 grep -v '^
*+' conftest.er1 >conftest.err
31900 cat conftest.err >&5
31901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31902 (exit $ac_status); } && {
31903 test -z "$ac_c_werror_flag" ||
31904 test ! -s conftest.err
31905 } && test -s conftest.$ac_objext; then
31907 cat >>confdefs.h <<\_ACEOF
31908 #define __WXGTK24__ 1
31911 { echo "$as_me:$LINENO: result: yes" >&5
31912 echo "${ECHO_T}yes" >&6; }
31915 echo "$as_me: failed program was:" >&5
31916 sed 's
/^
/| /' conftest.$ac_ext >&5
31919 { echo "$as_me:$LINENO: result: no" >&5
31920 echo "${ECHO_T}no" >&6; }
31924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31927 CFLAGS="$save_CFLAGS"
31930 if test "$wxUSE_UNICODE" = "yes"; then
31931 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31932 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31936 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31937 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31938 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31939 echo $ECHO_N "(cached) $ECHO_C" >&6
31941 ac_check_lib_save_LIBS=$LIBS
31943 cat >conftest.$ac_ext <<_ACEOF
31946 cat confdefs.h >>conftest.$ac_ext
31947 cat >>conftest.$ac_ext <<_ACEOF
31948 /* end confdefs.h. */
31950 /* Override any GCC internal prototype to avoid an error.
31951 Use char because int might match the return type of a GCC
31952 builtin and then its argument prototype would still apply. */
31956 char gdk_im_open ();
31960 return gdk_im_open ();
31965 rm -f conftest.$ac_objext conftest$ac_exeext
31966 if { (ac_try="$ac_link"
31967 case "(($ac_try" in
31968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31969 *) ac_try_echo=$ac_try;;
31971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31972 (eval "$ac_link") 2>conftest.er1
31974 grep -v '^
*+' conftest.er1 >conftest.err
31976 cat conftest.err >&5
31977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31978 (exit $ac_status); } && {
31979 test -z "$ac_c_werror_flag" ||
31980 test ! -s conftest.err
31981 } && test -s conftest$ac_exeext &&
31982 $as_test_x conftest$ac_exeext; then
31983 ac_cv_lib_gdk_gdk_im_open=yes
31985 echo "$as_me: failed program was:" >&5
31986 sed 's
/^
/| /' conftest.$ac_ext >&5
31988 ac_cv_lib_gdk_gdk_im_open=no
31991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31992 conftest$ac_exeext conftest.$ac_ext
31993 LIBS=$ac_check_lib_save_LIBS
31995 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31996 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31997 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31998 cat >>confdefs.h <<\_ACEOF
32005 if test "$USE_DARWIN" != 1; then
32007 for ac_func in poll
32009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32010 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32012 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32013 echo $ECHO_N "(cached) $ECHO_C" >&6
32015 cat >conftest.$ac_ext <<_ACEOF
32018 cat confdefs.h >>conftest.$ac_ext
32019 cat >>conftest.$ac_ext <<_ACEOF
32020 /* end confdefs.h. */
32021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32023 #define $ac_func innocuous_$ac_func
32025 /* System header to define __stub macros and hopefully few prototypes,
32026 which can conflict with char $ac_func (); below.
32027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32028 <limits.h> exists even on freestanding compilers. */
32031 # include <limits.h>
32033 # include <assert.h>
32038 /* Override any GCC internal prototype to avoid an error.
32039 Use char because int might match the return type of a GCC
32040 builtin and then its argument prototype would still apply. */
32045 /* The GNU C library defines this for functions which it implements
32046 to always fail with ENOSYS. Some functions are actually named
32047 something starting with __ and the normal name is an alias. */
32048 #if defined __stub_$ac_func || defined __stub___$ac_func
32055 return $ac_func ();
32060 rm -f conftest.$ac_objext conftest$ac_exeext
32061 if { (ac_try="$ac_link"
32062 case "(($ac_try" in
32063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32064 *) ac_try_echo=$ac_try;;
32066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32067 (eval "$ac_link") 2>conftest.er1
32069 grep -v '^
*+' conftest.er1 >conftest.err
32071 cat conftest.err >&5
32072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32073 (exit $ac_status); } && {
32074 test -z "$ac_c_werror_flag" ||
32075 test ! -s conftest.err
32076 } && test -s conftest$ac_exeext &&
32077 $as_test_x conftest$ac_exeext; then
32078 eval "$as_ac_var=yes"
32080 echo "$as_me: failed program was:" >&5
32081 sed 's
/^
/| /' conftest.$ac_ext >&5
32083 eval "$as_ac_var=no"
32086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32087 conftest$ac_exeext conftest.$ac_ext
32089 ac_res=`eval echo '${'$as_ac_var'}'`
32090 { echo "$as_me:$LINENO: result: $ac_res" >&5
32091 echo "${ECHO_T}$ac_res" >&6; }
32092 if test `eval echo '${'$as_ac_var'}'` = yes; then
32093 cat >>confdefs.h <<_ACEOF
32094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32103 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
32104 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
32106 AFMINSTALL=afminstall
32110 if test "$wxUSE_GPE" = "yes"; then
32111 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
32112 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
32115 for ac_dir in $SEARCH_LIB;
32117 for ac_extension in a so sl dylib dll.a; do
32118 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32119 ac_find_libraries=$ac_dir
32125 if test "$ac_find_libraries" != "" ; then
32127 if test "$ac_find_libraries" = "default location"; then
32130 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32132 if test $result = 0; then
32135 ac_path_to_link=" -L$ac_find_libraries"
32139 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32141 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32142 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32144 { echo "$as_me:$LINENO: result: not found" >&5
32145 echo "${ECHO_T}not found" >&6; }
32151 if test "$wxUSE_MGL" = 1; then
32152 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32153 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32154 if test "x$MGL_ROOT" = x ; then
32155 { echo "$as_me:$LINENO: result: not found" >&5
32156 echo "${ECHO_T}not found" >&6; }
32157 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32158 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32159 { (exit 1); exit 1; }; }
32161 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32162 echo "${ECHO_T}$MGL_ROOT" >&6; }
32165 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32166 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32169 if test "x$wxUSE_SHARED" = xyes ; then
32170 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32172 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32176 mgl_os_candidates="dos32/dj2"
32179 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32180 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32181 { (exit 1); exit 1; }; }
32187 for mgl_os_i in $mgl_os_candidates ; do
32188 if test "x$mgl_os" = x ; then
32189 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32190 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32191 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32196 if test "x$mgl_lib_type" = x ; then
32197 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32198 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32199 mgl_lib_type=release
32206 if test "x$mgl_os" = x ; then
32207 { echo "$as_me:$LINENO: result: not found" >&5
32208 echo "${ECHO_T}not found" >&6; }
32209 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32210 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32211 { (exit 1); exit 1; }; }
32213 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32214 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32216 wxUSE_UNIVERSAL="yes"
32218 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32219 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32221 AFMINSTALL=afminstall
32226 if test "$wxUSE_DFB" = 1; then
32229 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32230 if test -n "$ac_tool_prefix"; then
32231 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32232 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32233 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32235 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32236 echo $ECHO_N "(cached) $ECHO_C" >&6
32238 case $PKG_CONFIG in
32240 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32244 for as_dir in $PATH
32247 test -z "$as_dir" && as_dir=.
32248 for ac_exec_ext in '' $ac_executable_extensions; do
32249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32250 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32261 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32262 if test -n "$PKG_CONFIG"; then
32263 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32264 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32266 { echo "$as_me:$LINENO: result: no" >&5
32267 echo "${ECHO_T}no" >&6; }
32272 if test -z "$ac_cv_path_PKG_CONFIG"; then
32273 ac_pt_PKG_CONFIG=$PKG_CONFIG
32274 # Extract the first word of "pkg-config", so it can be a program name with args.
32275 set dummy pkg-config; ac_word=$2
32276 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32278 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32279 echo $ECHO_N "(cached) $ECHO_C" >&6
32281 case $ac_pt_PKG_CONFIG in
32283 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32287 for as_dir in $PATH
32290 test -z "$as_dir" && as_dir=.
32291 for ac_exec_ext in '' $ac_executable_extensions; do
32292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32293 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32304 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32305 if test -n "$ac_pt_PKG_CONFIG"; then
32306 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32307 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32309 { echo "$as_me:$LINENO: result: no" >&5
32310 echo "${ECHO_T}no" >&6; }
32313 if test "x$ac_pt_PKG_CONFIG" = x; then
32316 case $cross_compiling:$ac_tool_warned in
32318 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32319 whose name does not start with the host triplet. If you think this
32320 configuration is useful to you, please write to autoconf@gnu.org." >&5
32321 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32322 whose name does not start with the host triplet. If you think this
32323 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32324 ac_tool_warned=yes ;;
32326 PKG_CONFIG=$ac_pt_PKG_CONFIG
32329 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32333 if test -n "$PKG_CONFIG"; then
32334 _pkg_min_version=0.9.0
32335 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32336 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32337 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32338 { echo "$as_me:$LINENO: result: yes" >&5
32339 echo "${ECHO_T}yes" >&6; }
32341 { echo "$as_me:$LINENO: result: no" >&5
32342 echo "${ECHO_T}no" >&6; }
32350 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32351 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32353 if test -n "$PKG_CONFIG"; then
32354 if test -n "$DIRECTFB_CFLAGS"; then
32355 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32357 if test -n "$PKG_CONFIG" && \
32358 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32359 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32362 (exit $ac_status); }; then
32363 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32371 if test -n "$PKG_CONFIG"; then
32372 if test -n "$DIRECTFB_LIBS"; then
32373 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32375 if test -n "$PKG_CONFIG" && \
32376 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32377 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32380 (exit $ac_status); }; then
32381 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32392 if test $pkg_failed = yes; then
32394 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32395 _pkg_short_errors_supported=yes
32397 _pkg_short_errors_supported=no
32399 if test $_pkg_short_errors_supported = yes; then
32400 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32402 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32404 # Put the nasty error message in config.log where it belongs
32405 echo "$DIRECTFB_PKG_ERRORS" >&5
32408 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32409 echo "$as_me: error: DirectFB not found." >&2;}
32410 { (exit 1); exit 1; }; }
32413 elif test $pkg_failed = untried; then
32415 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32416 echo "$as_me: error: DirectFB not found." >&2;}
32417 { (exit 1); exit 1; }; }
32421 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32422 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32423 { echo "$as_me:$LINENO: result: yes" >&5
32424 echo "${ECHO_T}yes" >&6; }
32426 wxUSE_UNIVERSAL="yes"
32427 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32428 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32435 if test "$wxUSE_MICROWIN" = 1; then
32436 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32437 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32438 if test "x$MICROWINDOWS" = x ; then
32439 { echo "$as_me:$LINENO: result: not found" >&5
32440 echo "${ECHO_T}not found" >&6; }
32441 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32442 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32443 { (exit 1); exit 1; }; }
32445 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32446 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32449 if test -f $MICROWINDOWS/lib/libmwin.a; then
32450 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
32451 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
32453 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32454 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32455 { (exit 1); exit 1; }; }
32458 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32459 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32461 wxUSE_UNIVERSAL="yes"
32463 AFMINSTALL=afminstall
32465 GUIDIST=MICROWIN_DIST
32467 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32470 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32471 { echo "$as_me:$LINENO: checking for X" >&5
32472 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32475 # Check whether --with-x was given.
32476 if test "${with_x+set}" = set; then
32480 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
32481 if test "x$with_x" = xno; then
32482 # The user explicitly disabled X.
32485 case $x_includes,$x_libraries in #(
32486 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32487 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
32488 { (exit 1); exit 1; }; };; #(
32489 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32490 echo $ECHO_N "(cached) $ECHO_C" >&6
32492 # One or both of the vars are not set, and there is no cached value.
32493 ac_x_includes=no ac_x_libraries=no
32494 rm -f -r conftest.dir
32495 if mkdir conftest.dir; then
32497 cat >Imakefile <<'_ACEOF'
32499 @echo incroot='${INCROOT}'
32501 @echo usrlibdir='${USRLIBDIR}'
32503 @echo libdir='${LIBDIR}'
32505 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32506 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32507 for ac_var in incroot usrlibdir libdir; do
32508 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
32510 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32511 for ac_extension in a so sl; do
32512 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32513 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32514 ac_im_usrlibdir=$ac_im_libdir; break
32517 # Screen out bogus values from the imake configuration. They are
32518 # bogus both because they are the default anyway, and because
32519 # using them would break gcc on systems where it needs fixed includes.
32520 case $ac_im_incroot in
32521 /usr/include) ac_x_includes= ;;
32522 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32524 case $ac_im_usrlibdir in
32525 /usr/lib | /lib) ;;
32526 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32530 rm -f -r conftest.dir
32533 # Standard set of common directories for X headers.
32534 # Check X11 before X11Rn because it is often a symlink to the current release.
32546 /usr
/local
/X
11/include
32547 /usr
/local
/X
11R
6/include
32548 /usr
/local
/X
11R
5/include
32549 /usr
/local
/X
11R
4/include
32551 /usr
/local
/include
/X11
32552 /usr
/local
/include
/X11R6
32553 /usr
/local
/include
/X11R5
32554 /usr
/local
/include
/X11R4
32558 /usr
/XFree
86/include
/X11
32562 /usr
/unsupported
/include
32563 /usr
/athena
/include
32564 /usr
/local
/x
11r
5/include
32565 /usr
/lpp
/Xamples
/include
32567 /usr
/openwin
/include
32568 /usr
/openwin
/share
/include
'
32570 if test "$ac_x_includes" = no; then
32571 # Guess where to find include files, by looking for Xlib.h.
32572 # First, try using that file with no special directory specified.
32573 cat >conftest.$ac_ext <<_ACEOF
32576 cat confdefs.h >>conftest.$ac_ext
32577 cat >>conftest.$ac_ext <<_ACEOF
32578 /* end confdefs.h. */
32579 #include <X11/Xlib.h>
32581 if { (ac_try="$ac_cpp conftest.$ac_ext"
32582 case "(($ac_try" in
32583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32584 *) ac_try_echo=$ac_try;;
32586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32589 grep -v '^
*+' conftest.er1 >conftest.err
32591 cat conftest.err >&5
32592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32593 (exit $ac_status); } >/dev/null && {
32594 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32595 test ! -s conftest.err
32597 # We can compile using X headers with no special include directory.
32600 echo "$as_me: failed program was:" >&5
32601 sed 's
/^
/| /' conftest.$ac_ext >&5
32603 for ac_dir in $ac_x_header_dirs; do
32604 if test -r "$ac_dir/X11/Xlib.h"; then
32605 ac_x_includes=$ac_dir
32611 rm -f conftest.err conftest.$ac_ext
32612 fi # $ac_x_includes = no
32614 if test "$ac_x_libraries" = no; then
32615 # Check for the libraries.
32616 # See if we find them without any special options.
32617 # Don't add to
$LIBS permanently.
32620 cat >conftest.
$ac_ext <<_ACEOF
32623 cat confdefs.h
>>conftest.
$ac_ext
32624 cat >>conftest.
$ac_ext <<_ACEOF
32625 /* end confdefs.h. */
32626 #include <X11/Xlib.h>
32635 rm -f conftest.
$ac_objext conftest
$ac_exeext
32636 if { (ac_try
="$ac_link"
32637 case "(($ac_try" in
32638 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32639 *) ac_try_echo=$ac_try;;
32641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32642 (eval "$ac_link") 2>conftest.er1
32644 grep -v '^ *+' conftest.er1 >conftest.err
32646 cat conftest.err >&5
32647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32648 (exit $ac_status); } && {
32649 test -z "$ac_c_werror_flag" ||
32650 test ! -s conftest.err
32651 } && test -s conftest$ac_exeext &&
32652 $as_test_x conftest$ac_exeext; then
32654 # We can link X programs with no special library path.
32657 echo "$as_me: failed program was:" >&5
32658 sed 's/^/| /' conftest.$ac_ext >&5
32661 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
32663 # Don't even attempt the hair of trying to link an X program!
32664 for ac_extension in a so sl; do
32665 if test -r "$ac_dir/libX11.$ac_extension"; then
32666 ac_x_libraries=$ac_dir
32673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32674 conftest$ac_exeext conftest.$ac_ext
32675 fi # $ac_x_libraries = no
32677 case $ac_x_includes,$ac_x_libraries in #(
32678 no,* | *,no | *\'*)
32679 # Didn't find X, or a directory has "'" in its name.
32680 ac_cv_have_x="have_x=no";; #(
32682 # Record where we found X for the cache.
32683 ac_cv_have_x="have_x=yes\
32684 ac_x_includes='$ac_x_includes'\
32685 ac_x_libraries='$ac_x_libraries'"
32691 eval "$ac_cv_have_x"
32694 if test "$have_x" != yes; then
32695 { echo "$as_me:$LINENO: result: $have_x" >&5
32696 echo "${ECHO_T}$have_x" >&6; }
32699 # If each of the values was on the command line, it overrides each guess.
32700 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32701 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32702 # Update the cache value to reflect the command line values.
32703 ac_cv_have_x="have_x=yes\
32704 ac_x_includes='$x_includes'\
32705 ac_x_libraries='$x_libraries'"
32706 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32707 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32710 if test "$no_x" = yes; then
32711 # Not all programs may use this symbol, but it does not hurt to define it.
32713 cat >>confdefs.h <<\_ACEOF
32714 #define X_DISPLAY_MISSING 1
32717 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32719 if test -n "$x_includes"; then
32720 X_CFLAGS="$X_CFLAGS -I$x_includes"
32723 # It would also be nice to do this for all -L options, not just this one.
32724 if test -n "$x_libraries"; then
32725 X_LIBS="$X_LIBS -L$x_libraries"
32726 # For Solaris; some versions of Sun CC require a space after -R and
32727 # others require no space. Words are not sufficient . . . .
32728 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32729 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32730 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32731 ac_xsave_c_werror_flag=$ac_c_werror_flag
32732 ac_c_werror_flag=yes
32733 cat >conftest.$ac_ext <<_ACEOF
32736 cat confdefs.h >>conftest.$ac_ext
32737 cat >>conftest.$ac_ext <<_ACEOF
32738 /* end confdefs.h. */
32748 rm -f conftest.$ac_objext conftest$ac_exeext
32749 if { (ac_try="$ac_link"
32750 case "(($ac_try" in
32751 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32752 *) ac_try_echo
=$ac_try;;
32754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32755 (eval "$ac_link") 2>conftest.er1
32757 grep -v '^ *+' conftest.er1
>conftest.err
32759 cat conftest.err
>&5
32760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32761 (exit $ac_status); } && {
32762 test -z "$ac_c_werror_flag" ||
32763 test ! -s conftest.err
32764 } && test -s conftest
$ac_exeext &&
32765 $as_test_x conftest
$ac_exeext; then
32766 { echo "$as_me:$LINENO: result: no" >&5
32767 echo "${ECHO_T}no" >&6; }
32768 X_LIBS
="$X_LIBS -R$x_libraries"
32770 echo "$as_me: failed program was:" >&5
32771 sed 's/^/| /' conftest.
$ac_ext >&5
32773 LIBS
="$ac_xsave_LIBS -R $x_libraries"
32774 cat >conftest.
$ac_ext <<_ACEOF
32777 cat confdefs.h
>>conftest.
$ac_ext
32778 cat >>conftest.
$ac_ext <<_ACEOF
32779 /* end confdefs.h. */
32789 rm -f conftest.
$ac_objext conftest
$ac_exeext
32790 if { (ac_try
="$ac_link"
32791 case "(($ac_try" in
32792 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32793 *) ac_try_echo=$ac_try;;
32795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32796 (eval "$ac_link") 2>conftest.er1
32798 grep -v '^ *+' conftest.er1 >conftest.err
32800 cat conftest.err >&5
32801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32802 (exit $ac_status); } && {
32803 test -z "$ac_c_werror_flag" ||
32804 test ! -s conftest.err
32805 } && test -s conftest$ac_exeext &&
32806 $as_test_x conftest$ac_exeext; then
32807 { echo "$as_me:$LINENO: result: yes" >&5
32808 echo "${ECHO_T}yes" >&6; }
32809 X_LIBS="$X_LIBS -R $x_libraries"
32811 echo "$as_me: failed program was:" >&5
32812 sed 's/^/| /' conftest.$ac_ext >&5
32814 { echo "$as_me:$LINENO: result: neither works" >&5
32815 echo "${ECHO_T}neither works" >&6; }
32818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32819 conftest$ac_exeext conftest.$ac_ext
32822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32823 conftest$ac_exeext conftest.$ac_ext
32824 ac_c_werror_flag=$ac_xsave_c_werror_flag
32825 LIBS=$ac_xsave_LIBS
32828 # Check for system-dependent libraries X programs must link with.
32829 # Do this before checking for the system-independent R6 libraries
32830 # (-lICE), since we may need -lsocket or whatever for X linking.
32832 if test "$ISC" = yes; then
32833 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32835 # Martyn Johnson says this is needed for Ultrix, if the X
32836 # libraries were built with DECnet support. And Karl Berry says
32837 # the Alpha needs dnet_stub (dnet does not exist).
32838 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32839 cat >conftest.$ac_ext <<_ACEOF
32842 cat confdefs.h >>conftest.$ac_ext
32843 cat >>conftest.$ac_ext <<_ACEOF
32844 /* end confdefs.h. */
32846 /* Override any GCC internal prototype to avoid an error.
32847 Use char because int might match the return type of a GCC
32848 builtin and then its argument prototype would still apply. */
32852 char XOpenDisplay ();
32856 return XOpenDisplay ();
32861 rm -f conftest.$ac_objext conftest$ac_exeext
32862 if { (ac_try="$ac_link"
32863 case "(($ac_try" in
32864 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32865 *) ac_try_echo
=$ac_try;;
32867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32868 (eval "$ac_link") 2>conftest.er1
32870 grep -v '^ *+' conftest.er1
>conftest.err
32872 cat conftest.err
>&5
32873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32874 (exit $ac_status); } && {
32875 test -z "$ac_c_werror_flag" ||
32876 test ! -s conftest.err
32877 } && test -s conftest
$ac_exeext &&
32878 $as_test_x conftest
$ac_exeext; then
32881 echo "$as_me: failed program was:" >&5
32882 sed 's/^/| /' conftest.
$ac_ext >&5
32884 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32885 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32886 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32887 echo $ECHO_N "(cached) $ECHO_C" >&6
32889 ac_check_lib_save_LIBS
=$LIBS
32890 LIBS
="-ldnet $LIBS"
32891 cat >conftest.
$ac_ext <<_ACEOF
32894 cat confdefs.h
>>conftest.
$ac_ext
32895 cat >>conftest.
$ac_ext <<_ACEOF
32896 /* end confdefs.h. */
32898 /* Override any GCC internal prototype to avoid an error.
32899 Use char because int might match the return type of a GCC
32900 builtin and then its argument prototype would still apply. */
32908 return dnet_ntoa ();
32913 rm -f conftest.
$ac_objext conftest
$ac_exeext
32914 if { (ac_try
="$ac_link"
32915 case "(($ac_try" in
32916 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32917 *) ac_try_echo=$ac_try;;
32919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32920 (eval "$ac_link") 2>conftest.er1
32922 grep -v '^ *+' conftest.er1 >conftest.err
32924 cat conftest.err >&5
32925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32926 (exit $ac_status); } && {
32927 test -z "$ac_c_werror_flag" ||
32928 test ! -s conftest.err
32929 } && test -s conftest$ac_exeext &&
32930 $as_test_x conftest$ac_exeext; then
32931 ac_cv_lib_dnet_dnet_ntoa=yes
32933 echo "$as_me: failed program was:" >&5
32934 sed 's/^/| /' conftest.$ac_ext >&5
32936 ac_cv_lib_dnet_dnet_ntoa=no
32939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32940 conftest$ac_exeext conftest.$ac_ext
32941 LIBS=$ac_check_lib_save_LIBS
32943 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32944 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32945 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32946 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32949 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32950 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32951 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32952 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32953 echo $ECHO_N "(cached) $ECHO_C" >&6
32955 ac_check_lib_save_LIBS=$LIBS
32956 LIBS="-ldnet_stub $LIBS"
32957 cat >conftest.$ac_ext <<_ACEOF
32960 cat confdefs.h >>conftest.$ac_ext
32961 cat >>conftest.$ac_ext <<_ACEOF
32962 /* end confdefs.h. */
32964 /* Override any GCC internal prototype to avoid an error.
32965 Use char because int might match the return type of a GCC
32966 builtin and then its argument prototype would still apply. */
32974 return dnet_ntoa ();
32979 rm -f conftest.$ac_objext conftest$ac_exeext
32980 if { (ac_try="$ac_link"
32981 case "(($ac_try" in
32982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32983 *) ac_try_echo
=$ac_try;;
32985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32986 (eval "$ac_link") 2>conftest.er1
32988 grep -v '^ *+' conftest.er1
>conftest.err
32990 cat conftest.err
>&5
32991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32992 (exit $ac_status); } && {
32993 test -z "$ac_c_werror_flag" ||
32994 test ! -s conftest.err
32995 } && test -s conftest
$ac_exeext &&
32996 $as_test_x conftest
$ac_exeext; then
32997 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
32999 echo "$as_me: failed program was:" >&5
33000 sed 's/^/| /' conftest.
$ac_ext >&5
33002 ac_cv_lib_dnet_stub_dnet_ntoa
=no
33005 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33006 conftest
$ac_exeext conftest.
$ac_ext
33007 LIBS
=$ac_check_lib_save_LIBS
33009 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
33010 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
33011 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
33012 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
33018 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33019 conftest
$ac_exeext conftest.
$ac_ext
33020 LIBS
="$ac_xsave_LIBS"
33022 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
33023 # to get the SysV transport functions.
33024 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
33026 # The nsl library prevents programs from opening the X display
33027 # on Irix 5.2, according to T.E. Dickey.
33028 # The functions gethostbyname, getservbyname, and inet_addr are
33029 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
33030 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
33031 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
33032 if test "${ac_cv_func_gethostbyname+set}" = set; then
33033 echo $ECHO_N "(cached) $ECHO_C" >&6
33035 cat >conftest.
$ac_ext <<_ACEOF
33038 cat confdefs.h
>>conftest.
$ac_ext
33039 cat >>conftest.
$ac_ext <<_ACEOF
33040 /* end confdefs.h. */
33041 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
33042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33043 #define gethostbyname innocuous_gethostbyname
33045 /* System header to define __stub macros and hopefully few prototypes,
33046 which can conflict with char gethostbyname (); below.
33047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33048 <limits.h> exists even on freestanding compilers. */
33051 # include <limits.h>
33053 # include <assert.h>
33056 #undef gethostbyname
33058 /* Override any GCC internal prototype to avoid an error.
33059 Use char because int might match the return type of a GCC
33060 builtin and then its argument prototype would still apply. */
33064 char gethostbyname ();
33065 /* The GNU C library defines this for functions which it implements
33066 to always fail with ENOSYS. Some functions are actually named
33067 something starting with __ and the normal name is an alias. */
33068 #if defined __stub_gethostbyname || defined __stub___gethostbyname
33075 return gethostbyname ();
33080 rm -f conftest.
$ac_objext conftest
$ac_exeext
33081 if { (ac_try
="$ac_link"
33082 case "(($ac_try" in
33083 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33084 *) ac_try_echo=$ac_try;;
33086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33087 (eval "$ac_link") 2>conftest.er1
33089 grep -v '^ *+' conftest.er1 >conftest.err
33091 cat conftest.err >&5
33092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33093 (exit $ac_status); } && {
33094 test -z "$ac_c_werror_flag" ||
33095 test ! -s conftest.err
33096 } && test -s conftest$ac_exeext &&
33097 $as_test_x conftest$ac_exeext; then
33098 ac_cv_func_gethostbyname=yes
33100 echo "$as_me: failed program was:" >&5
33101 sed 's/^/| /' conftest.$ac_ext >&5
33103 ac_cv_func_gethostbyname=no
33106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33107 conftest$ac_exeext conftest.$ac_ext
33109 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
33110 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
33112 if test $ac_cv_func_gethostbyname = no; then
33113 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
33114 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
33115 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
33116 echo $ECHO_N "(cached) $ECHO_C" >&6
33118 ac_check_lib_save_LIBS=$LIBS
33120 cat >conftest.$ac_ext <<_ACEOF
33123 cat confdefs.h >>conftest.$ac_ext
33124 cat >>conftest.$ac_ext <<_ACEOF
33125 /* end confdefs.h. */
33127 /* Override any GCC internal prototype to avoid an error.
33128 Use char because int might match the return type of a GCC
33129 builtin and then its argument prototype would still apply. */
33133 char gethostbyname ();
33137 return gethostbyname ();
33142 rm -f conftest.$ac_objext conftest$ac_exeext
33143 if { (ac_try="$ac_link"
33144 case "(($ac_try" in
33145 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33146 *) ac_try_echo
=$ac_try;;
33148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33149 (eval "$ac_link") 2>conftest.er1
33151 grep -v '^ *+' conftest.er1
>conftest.err
33153 cat conftest.err
>&5
33154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33155 (exit $ac_status); } && {
33156 test -z "$ac_c_werror_flag" ||
33157 test ! -s conftest.err
33158 } && test -s conftest
$ac_exeext &&
33159 $as_test_x conftest
$ac_exeext; then
33160 ac_cv_lib_nsl_gethostbyname
=yes
33162 echo "$as_me: failed program was:" >&5
33163 sed 's/^/| /' conftest.
$ac_ext >&5
33165 ac_cv_lib_nsl_gethostbyname
=no
33168 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33169 conftest
$ac_exeext conftest.
$ac_ext
33170 LIBS
=$ac_check_lib_save_LIBS
33172 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33173 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33174 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33175 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
33178 if test $ac_cv_lib_nsl_gethostbyname = no
; then
33179 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33180 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33181 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33182 echo $ECHO_N "(cached) $ECHO_C" >&6
33184 ac_check_lib_save_LIBS
=$LIBS
33186 cat >conftest.
$ac_ext <<_ACEOF
33189 cat confdefs.h
>>conftest.
$ac_ext
33190 cat >>conftest.
$ac_ext <<_ACEOF
33191 /* end confdefs.h. */
33193 /* Override any GCC internal prototype to avoid an error.
33194 Use char because int might match the return type of a GCC
33195 builtin and then its argument prototype would still apply. */
33199 char gethostbyname ();
33203 return gethostbyname ();
33208 rm -f conftest.
$ac_objext conftest
$ac_exeext
33209 if { (ac_try
="$ac_link"
33210 case "(($ac_try" in
33211 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33212 *) ac_try_echo=$ac_try;;
33214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33215 (eval "$ac_link") 2>conftest.er1
33217 grep -v '^ *+' conftest.er1 >conftest.err
33219 cat conftest.err >&5
33220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33221 (exit $ac_status); } && {
33222 test -z "$ac_c_werror_flag" ||
33223 test ! -s conftest.err
33224 } && test -s conftest$ac_exeext &&
33225 $as_test_x conftest$ac_exeext; then
33226 ac_cv_lib_bsd_gethostbyname=yes
33228 echo "$as_me: failed program was:" >&5
33229 sed 's/^/| /' conftest.$ac_ext >&5
33231 ac_cv_lib_bsd_gethostbyname=no
33234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33235 conftest$ac_exeext conftest.$ac_ext
33236 LIBS=$ac_check_lib_save_LIBS
33238 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33239 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33240 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33241 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33247 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33248 # socket/setsockopt and other routines are undefined under SCO ODT
33249 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33250 # on later versions), says Simon Leinen: it contains gethostby*
33251 # variants that don't use the name server (or something). -lsocket
33252 # must be given before -lnsl if both are needed. We assume that
33253 # if connect needs -lnsl, so does gethostbyname.
33254 { echo "$as_me:$LINENO: checking for connect" >&5
33255 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33256 if test "${ac_cv_func_connect+set}" = set; then
33257 echo $ECHO_N "(cached) $ECHO_C" >&6
33259 cat >conftest.$ac_ext <<_ACEOF
33262 cat confdefs.h >>conftest.$ac_ext
33263 cat >>conftest.$ac_ext <<_ACEOF
33264 /* end confdefs.h. */
33265 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33267 #define connect innocuous_connect
33269 /* System header to define __stub macros and hopefully few prototypes,
33270 which can conflict with char connect (); below.
33271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33272 <limits.h> exists even on freestanding compilers. */
33275 # include <limits.h>
33277 # include <assert.h>
33282 /* Override any GCC internal prototype to avoid an error.
33283 Use char because int might match the return type of a GCC
33284 builtin and then its argument prototype would still apply. */
33289 /* The GNU C library defines this for functions which it implements
33290 to always fail with ENOSYS. Some functions are actually named
33291 something starting with __ and the normal name is an alias. */
33292 #if defined __stub_connect || defined __stub___connect
33304 rm -f conftest.$ac_objext conftest$ac_exeext
33305 if { (ac_try="$ac_link"
33306 case "(($ac_try" in
33307 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33308 *) ac_try_echo
=$ac_try;;
33310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33311 (eval "$ac_link") 2>conftest.er1
33313 grep -v '^ *+' conftest.er1
>conftest.err
33315 cat conftest.err
>&5
33316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33317 (exit $ac_status); } && {
33318 test -z "$ac_c_werror_flag" ||
33319 test ! -s conftest.err
33320 } && test -s conftest
$ac_exeext &&
33321 $as_test_x conftest
$ac_exeext; then
33322 ac_cv_func_connect
=yes
33324 echo "$as_me: failed program was:" >&5
33325 sed 's/^/| /' conftest.
$ac_ext >&5
33327 ac_cv_func_connect
=no
33330 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33331 conftest
$ac_exeext conftest.
$ac_ext
33333 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33334 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33336 if test $ac_cv_func_connect = no
; then
33337 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33338 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33339 if test "${ac_cv_lib_socket_connect+set}" = set; then
33340 echo $ECHO_N "(cached) $ECHO_C" >&6
33342 ac_check_lib_save_LIBS
=$LIBS
33343 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
33344 cat >conftest.
$ac_ext <<_ACEOF
33347 cat confdefs.h
>>conftest.
$ac_ext
33348 cat >>conftest.
$ac_ext <<_ACEOF
33349 /* end confdefs.h. */
33351 /* Override any GCC internal prototype to avoid an error.
33352 Use char because int might match the return type of a GCC
33353 builtin and then its argument prototype would still apply. */
33366 rm -f conftest.
$ac_objext conftest
$ac_exeext
33367 if { (ac_try
="$ac_link"
33368 case "(($ac_try" in
33369 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33370 *) ac_try_echo=$ac_try;;
33372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33373 (eval "$ac_link") 2>conftest.er1
33375 grep -v '^ *+' conftest.er1 >conftest.err
33377 cat conftest.err >&5
33378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33379 (exit $ac_status); } && {
33380 test -z "$ac_c_werror_flag" ||
33381 test ! -s conftest.err
33382 } && test -s conftest$ac_exeext &&
33383 $as_test_x conftest$ac_exeext; then
33384 ac_cv_lib_socket_connect=yes
33386 echo "$as_me: failed program was:" >&5
33387 sed 's/^/| /' conftest.$ac_ext >&5
33389 ac_cv_lib_socket_connect=no
33392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33393 conftest$ac_exeext conftest.$ac_ext
33394 LIBS=$ac_check_lib_save_LIBS
33396 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33397 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33398 if test $ac_cv_lib_socket_connect = yes; then
33399 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33404 # Guillermo Gomez says -lposix is necessary on A/UX.
33405 { echo "$as_me:$LINENO: checking for remove" >&5
33406 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33407 if test "${ac_cv_func_remove+set}" = set; then
33408 echo $ECHO_N "(cached) $ECHO_C" >&6
33410 cat >conftest.$ac_ext <<_ACEOF
33413 cat confdefs.h >>conftest.$ac_ext
33414 cat >>conftest.$ac_ext <<_ACEOF
33415 /* end confdefs.h. */
33416 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33418 #define remove innocuous_remove
33420 /* System header to define __stub macros and hopefully few prototypes,
33421 which can conflict with char remove (); below.
33422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33423 <limits.h> exists even on freestanding compilers. */
33426 # include <limits.h>
33428 # include <assert.h>
33433 /* Override any GCC internal prototype to avoid an error.
33434 Use char because int might match the return type of a GCC
33435 builtin and then its argument prototype would still apply. */
33440 /* The GNU C library defines this for functions which it implements
33441 to always fail with ENOSYS. Some functions are actually named
33442 something starting with __ and the normal name is an alias. */
33443 #if defined __stub_remove || defined __stub___remove
33455 rm -f conftest.$ac_objext conftest$ac_exeext
33456 if { (ac_try="$ac_link"
33457 case "(($ac_try" in
33458 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33459 *) ac_try_echo
=$ac_try;;
33461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33462 (eval "$ac_link") 2>conftest.er1
33464 grep -v '^ *+' conftest.er1
>conftest.err
33466 cat conftest.err
>&5
33467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33468 (exit $ac_status); } && {
33469 test -z "$ac_c_werror_flag" ||
33470 test ! -s conftest.err
33471 } && test -s conftest
$ac_exeext &&
33472 $as_test_x conftest
$ac_exeext; then
33473 ac_cv_func_remove
=yes
33475 echo "$as_me: failed program was:" >&5
33476 sed 's/^/| /' conftest.
$ac_ext >&5
33478 ac_cv_func_remove
=no
33481 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33482 conftest
$ac_exeext conftest.
$ac_ext
33484 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33485 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33487 if test $ac_cv_func_remove = no
; then
33488 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33489 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33490 if test "${ac_cv_lib_posix_remove+set}" = set; then
33491 echo $ECHO_N "(cached) $ECHO_C" >&6
33493 ac_check_lib_save_LIBS
=$LIBS
33494 LIBS
="-lposix $LIBS"
33495 cat >conftest.
$ac_ext <<_ACEOF
33498 cat confdefs.h
>>conftest.
$ac_ext
33499 cat >>conftest.
$ac_ext <<_ACEOF
33500 /* end confdefs.h. */
33502 /* Override any GCC internal prototype to avoid an error.
33503 Use char because int might match the return type of a GCC
33504 builtin and then its argument prototype would still apply. */
33517 rm -f conftest.
$ac_objext conftest
$ac_exeext
33518 if { (ac_try
="$ac_link"
33519 case "(($ac_try" in
33520 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33521 *) ac_try_echo=$ac_try;;
33523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33524 (eval "$ac_link") 2>conftest.er1
33526 grep -v '^ *+' conftest.er1 >conftest.err
33528 cat conftest.err >&5
33529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33530 (exit $ac_status); } && {
33531 test -z "$ac_c_werror_flag" ||
33532 test ! -s conftest.err
33533 } && test -s conftest$ac_exeext &&
33534 $as_test_x conftest$ac_exeext; then
33535 ac_cv_lib_posix_remove=yes
33537 echo "$as_me: failed program was:" >&5
33538 sed 's/^/| /' conftest.$ac_ext >&5
33540 ac_cv_lib_posix_remove=no
33543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33544 conftest$ac_exeext conftest.$ac_ext
33545 LIBS=$ac_check_lib_save_LIBS
33547 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33548 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33549 if test $ac_cv_lib_posix_remove = yes; then
33550 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33555 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33556 { echo "$as_me:$LINENO: checking for shmat" >&5
33557 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33558 if test "${ac_cv_func_shmat+set}" = set; then
33559 echo $ECHO_N "(cached) $ECHO_C" >&6
33561 cat >conftest.$ac_ext <<_ACEOF
33564 cat confdefs.h >>conftest.$ac_ext
33565 cat >>conftest.$ac_ext <<_ACEOF
33566 /* end confdefs.h. */
33567 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33569 #define shmat innocuous_shmat
33571 /* System header to define __stub macros and hopefully few prototypes,
33572 which can conflict with char shmat (); below.
33573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33574 <limits.h> exists even on freestanding compilers. */
33577 # include <limits.h>
33579 # include <assert.h>
33584 /* Override any GCC internal prototype to avoid an error.
33585 Use char because int might match the return type of a GCC
33586 builtin and then its argument prototype would still apply. */
33591 /* The GNU C library defines this for functions which it implements
33592 to always fail with ENOSYS. Some functions are actually named
33593 something starting with __ and the normal name is an alias. */
33594 #if defined __stub_shmat || defined __stub___shmat
33606 rm -f conftest.$ac_objext conftest$ac_exeext
33607 if { (ac_try="$ac_link"
33608 case "(($ac_try" in
33609 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33610 *) ac_try_echo
=$ac_try;;
33612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33613 (eval "$ac_link") 2>conftest.er1
33615 grep -v '^ *+' conftest.er1
>conftest.err
33617 cat conftest.err
>&5
33618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33619 (exit $ac_status); } && {
33620 test -z "$ac_c_werror_flag" ||
33621 test ! -s conftest.err
33622 } && test -s conftest
$ac_exeext &&
33623 $as_test_x conftest
$ac_exeext; then
33624 ac_cv_func_shmat
=yes
33626 echo "$as_me: failed program was:" >&5
33627 sed 's/^/| /' conftest.
$ac_ext >&5
33629 ac_cv_func_shmat
=no
33632 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33633 conftest
$ac_exeext conftest.
$ac_ext
33635 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33636 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33638 if test $ac_cv_func_shmat = no
; then
33639 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33640 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33641 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33642 echo $ECHO_N "(cached) $ECHO_C" >&6
33644 ac_check_lib_save_LIBS
=$LIBS
33646 cat >conftest.
$ac_ext <<_ACEOF
33649 cat confdefs.h
>>conftest.
$ac_ext
33650 cat >>conftest.
$ac_ext <<_ACEOF
33651 /* end confdefs.h. */
33653 /* Override any GCC internal prototype to avoid an error.
33654 Use char because int might match the return type of a GCC
33655 builtin and then its argument prototype would still apply. */
33668 rm -f conftest.
$ac_objext conftest
$ac_exeext
33669 if { (ac_try
="$ac_link"
33670 case "(($ac_try" in
33671 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33672 *) ac_try_echo=$ac_try;;
33674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33675 (eval "$ac_link") 2>conftest.er1
33677 grep -v '^ *+' conftest.er1 >conftest.err
33679 cat conftest.err >&5
33680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33681 (exit $ac_status); } && {
33682 test -z "$ac_c_werror_flag" ||
33683 test ! -s conftest.err
33684 } && test -s conftest$ac_exeext &&
33685 $as_test_x conftest$ac_exeext; then
33686 ac_cv_lib_ipc_shmat=yes
33688 echo "$as_me: failed program was:" >&5
33689 sed 's/^/| /' conftest.$ac_ext >&5
33691 ac_cv_lib_ipc_shmat=no
33694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33695 conftest$ac_exeext conftest.$ac_ext
33696 LIBS=$ac_check_lib_save_LIBS
33698 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33699 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33700 if test $ac_cv_lib_ipc_shmat = yes; then
33701 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33707 # Check for libraries that X11R6 Xt/Xaw programs need.
33708 ac_save_LDFLAGS=$LDFLAGS
33709 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33710 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33711 # check for ICE first), but we must link in the order -lSM -lICE or
33712 # we get undefined symbols. So assume we have SM if we have ICE.
33713 # These have to be linked with before -lX11, unlike the other
33714 # libraries we check for below, so use a different variable.
33715 # John Interrante, Karl Berry
33716 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33717 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33718 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33719 echo $ECHO_N "(cached) $ECHO_C" >&6
33721 ac_check_lib_save_LIBS=$LIBS
33722 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33723 cat >conftest.$ac_ext <<_ACEOF
33726 cat confdefs.h >>conftest.$ac_ext
33727 cat >>conftest.$ac_ext <<_ACEOF
33728 /* end confdefs.h. */
33730 /* Override any GCC internal prototype to avoid an error.
33731 Use char because int might match the return type of a GCC
33732 builtin and then its argument prototype would still apply. */
33736 char IceConnectionNumber ();
33740 return IceConnectionNumber ();
33745 rm -f conftest.$ac_objext conftest$ac_exeext
33746 if { (ac_try="$ac_link"
33747 case "(($ac_try" in
33748 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33749 *) ac_try_echo
=$ac_try;;
33751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33752 (eval "$ac_link") 2>conftest.er1
33754 grep -v '^ *+' conftest.er1
>conftest.err
33756 cat conftest.err
>&5
33757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33758 (exit $ac_status); } && {
33759 test -z "$ac_c_werror_flag" ||
33760 test ! -s conftest.err
33761 } && test -s conftest
$ac_exeext &&
33762 $as_test_x conftest
$ac_exeext; then
33763 ac_cv_lib_ICE_IceConnectionNumber
=yes
33765 echo "$as_me: failed program was:" >&5
33766 sed 's/^/| /' conftest.
$ac_ext >&5
33768 ac_cv_lib_ICE_IceConnectionNumber
=no
33771 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33772 conftest
$ac_exeext conftest.
$ac_ext
33773 LIBS
=$ac_check_lib_save_LIBS
33775 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33776 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33777 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33778 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
33781 LDFLAGS
=$ac_save_LDFLAGS
33786 if test "$no_x" = "yes"; then
33787 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33788 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33789 { (exit 1); exit 1; }; }
33792 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33793 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
33794 AFMINSTALL
=afminstall
33795 COMPILED_X_PROGRAM
=0
33799 if test "$wxUSE_X11" = 1; then
33800 if test "$wxUSE_NANOX" = "yes"; then
33801 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33802 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33803 if test "x$MICROWIN" = x
; then
33804 { echo "$as_me:$LINENO: result: not found" >&5
33805 echo "${ECHO_T}not found" >&6; }
33806 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33807 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33808 { (exit 1); exit 1; }; }
33810 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33811 echo "${ECHO_T}$MICROWIN" >&6; }
33812 cat >>confdefs.h
<<\_ACEOF
33813 #define wxUSE_NANOX 1
33819 if test "$wxUSE_UNICODE" = "yes"; then
33822 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33823 if test -n "$ac_tool_prefix"; then
33824 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33825 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33826 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33828 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33829 echo $ECHO_N "(cached) $ECHO_C" >&6
33831 case $PKG_CONFIG in
33833 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33837 for as_dir
in $PATH
33840 test -z "$as_dir" && as_dir
=.
33841 for ac_exec_ext
in '' $ac_executable_extensions; do
33842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33843 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33854 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33855 if test -n "$PKG_CONFIG"; then
33856 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33857 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33859 { echo "$as_me:$LINENO: result: no" >&5
33860 echo "${ECHO_T}no" >&6; }
33865 if test -z "$ac_cv_path_PKG_CONFIG"; then
33866 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33867 # Extract the first word of "pkg-config", so it can be a program name with args.
33868 set dummy pkg
-config; ac_word
=$2
33869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33871 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33872 echo $ECHO_N "(cached) $ECHO_C" >&6
33874 case $ac_pt_PKG_CONFIG in
33876 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33880 for as_dir
in $PATH
33883 test -z "$as_dir" && as_dir
=.
33884 for ac_exec_ext
in '' $ac_executable_extensions; do
33885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33886 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33897 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33898 if test -n "$ac_pt_PKG_CONFIG"; then
33899 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33900 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33902 { echo "$as_me:$LINENO: result: no" >&5
33903 echo "${ECHO_T}no" >&6; }
33906 if test "x$ac_pt_PKG_CONFIG" = x
; then
33909 case $cross_compiling:$ac_tool_warned in
33911 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33912 whose name does not start with the host triplet. If you think this
33913 configuration is useful to you, please write to autoconf@gnu.org." >&5
33914 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33915 whose name does not start with the host triplet. If you think this
33916 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33917 ac_tool_warned
=yes ;;
33919 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33922 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33926 if test -n "$PKG_CONFIG"; then
33927 _pkg_min_version
=0.9.0
33928 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33929 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33930 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33931 { echo "$as_me:$LINENO: result: yes" >&5
33932 echo "${ECHO_T}yes" >&6; }
33934 { echo "$as_me:$LINENO: result: no" >&5
33935 echo "${ECHO_T}no" >&6; }
33943 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33944 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33946 if test -n "$PKG_CONFIG"; then
33947 if test -n "$PANGOX_CFLAGS"; then
33948 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
33950 if test -n "$PKG_CONFIG" && \
33951 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33952 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33955 (exit $ac_status); }; then
33956 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33964 if test -n "$PKG_CONFIG"; then
33965 if test -n "$PANGOX_LIBS"; then
33966 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
33968 if test -n "$PKG_CONFIG" && \
33969 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33970 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33973 (exit $ac_status); }; then
33974 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33985 if test $pkg_failed = yes; then
33987 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33988 _pkg_short_errors_supported
=yes
33990 _pkg_short_errors_supported
=no
33992 if test $_pkg_short_errors_supported = yes; then
33993 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33995 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33997 # Put the nasty error message in config.log where it belongs
33998 echo "$PANGOX_PKG_ERRORS" >&5
34001 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34002 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34003 { (exit 1); exit 1; }; }
34006 elif test $pkg_failed = untried
; then
34008 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34009 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34010 { (exit 1); exit 1; }; }
34014 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
34015 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
34016 { echo "$as_me:$LINENO: result: yes" >&5
34017 echo "${ECHO_T}yes" >&6; }
34019 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
34020 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
34021 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
34026 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
34027 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
34029 if test -n "$PKG_CONFIG"; then
34030 if test -n "$PANGOFT2_CFLAGS"; then
34031 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
34033 if test -n "$PKG_CONFIG" && \
34034 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34035 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34038 (exit $ac_status); }; then
34039 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
34047 if test -n "$PKG_CONFIG"; then
34048 if test -n "$PANGOFT2_LIBS"; then
34049 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
34051 if test -n "$PKG_CONFIG" && \
34052 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34053 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34056 (exit $ac_status); }; then
34057 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
34068 if test $pkg_failed = yes; then
34070 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34071 _pkg_short_errors_supported
=yes
34073 _pkg_short_errors_supported
=no
34075 if test $_pkg_short_errors_supported = yes; then
34076 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
34078 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
34080 # Put the nasty error message in config.log where it belongs
34081 echo "$PANGOFT2_PKG_ERRORS" >&5
34084 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34085 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34086 wxUSE_PRINTING_ARCHITECTURE
="no"
34089 elif test $pkg_failed = untried
; then
34091 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34092 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34093 wxUSE_PRINTING_ARCHITECTURE
="no"
34097 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
34098 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
34099 { echo "$as_me:$LINENO: result: yes" >&5
34100 echo "${ECHO_T}yes" >&6; }
34102 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
34103 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
34104 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
34109 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
34110 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
34112 if test -n "$PKG_CONFIG"; then
34113 if test -n "$PANGOXFT_CFLAGS"; then
34114 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
34116 if test -n "$PKG_CONFIG" && \
34117 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34118 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34121 (exit $ac_status); }; then
34122 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34130 if test -n "$PKG_CONFIG"; then
34131 if test -n "$PANGOXFT_LIBS"; then
34132 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
34134 if test -n "$PKG_CONFIG" && \
34135 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34136 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34139 (exit $ac_status); }; then
34140 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34151 if test $pkg_failed = yes; then
34153 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34154 _pkg_short_errors_supported
=yes
34156 _pkg_short_errors_supported
=no
34158 if test $_pkg_short_errors_supported = yes; then
34159 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34161 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34163 # Put the nasty error message in config.log where it belongs
34164 echo "$PANGOXFT_PKG_ERRORS" >&5
34167 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34168 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34171 elif test $pkg_failed = untried
; then
34173 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34174 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34178 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
34179 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
34180 { echo "$as_me:$LINENO: result: yes" >&5
34181 echo "${ECHO_T}yes" >&6; }
34183 cat >>confdefs.h
<<\_ACEOF
34184 #define HAVE_PANGO_XFT 1
34187 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
34188 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
34189 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34193 LIBS
="$LIBS $PANGOX_LIBS"
34195 for ac_func
in pango_font_family_is_monospace
34197 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34198 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34200 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34201 echo $ECHO_N "(cached) $ECHO_C" >&6
34203 cat >conftest.
$ac_ext <<_ACEOF
34206 cat confdefs.h
>>conftest.
$ac_ext
34207 cat >>conftest.
$ac_ext <<_ACEOF
34208 /* end confdefs.h. */
34209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34211 #define $ac_func innocuous_$ac_func
34213 /* System header to define __stub macros and hopefully few prototypes,
34214 which can conflict with char $ac_func (); below.
34215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34216 <limits.h> exists even on freestanding compilers. */
34219 # include <limits.h>
34221 # include <assert.h>
34226 /* Override any GCC internal prototype to avoid an error.
34227 Use char because int might match the return type of a GCC
34228 builtin and then its argument prototype would still apply. */
34233 /* The GNU C library defines this for functions which it implements
34234 to always fail with ENOSYS. Some functions are actually named
34235 something starting with __ and the normal name is an alias. */
34236 #if defined __stub_$ac_func || defined __stub___$ac_func
34243 return $ac_func ();
34248 rm -f conftest.
$ac_objext conftest
$ac_exeext
34249 if { (ac_try
="$ac_link"
34250 case "(($ac_try" in
34251 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34252 *) ac_try_echo=$ac_try;;
34254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34255 (eval "$ac_link") 2>conftest.er1
34257 grep -v '^ *+' conftest.er1 >conftest.err
34259 cat conftest.err >&5
34260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34261 (exit $ac_status); } && {
34262 test -z "$ac_c_werror_flag" ||
34263 test ! -s conftest.err
34264 } && test -s conftest$ac_exeext &&
34265 $as_test_x conftest$ac_exeext; then
34266 eval "$as_ac_var=yes"
34268 echo "$as_me: failed program was:" >&5
34269 sed 's/^/| /' conftest.$ac_ext >&5
34271 eval "$as_ac_var=no"
34274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34275 conftest$ac_exeext conftest.$ac_ext
34277 ac_res=`eval echo '${'$as_ac_var'}'`
34278 { echo "$as_me:$LINENO: result: $ac_res" >&5
34279 echo "${ECHO_T}$ac_res" >&6; }
34280 if test `eval echo '${'$as_ac_var'}'` = yes; then
34281 cat >>confdefs.h <<_ACEOF
34282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34291 wxUSE_UNIVERSAL="yes"
34293 if test "$wxUSE_NANOX" = "yes"; then
34294 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34295 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"
34296 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34298 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34305 if test "$wxUSE_MOTIF" = 1; then
34306 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34307 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34310 for ac_dir in $SEARCH_INCLUDE /usr/include;
34312 if test -f "$ac_dir/Xm/Xm.h"; then
34313 ac_find_includes=$ac_dir
34318 if test "$ac_find_includes" != "" ; then
34319 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34320 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34322 if test "x$ac_find_includes" = "x/usr/include"; then
34323 ac_path_to_include=""
34325 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34327 if test $result = 0; then
34328 ac_path_to_include=""
34330 ac_path_to_include=" -I$ac_find_includes"
34334 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34336 save_CFLAGS=$CFLAGS
34337 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34339 cat >conftest.$ac_ext <<_ACEOF
34342 cat confdefs.h >>conftest.$ac_ext
34343 cat >>conftest.$ac_ext <<_ACEOF
34344 /* end confdefs.h. */
34353 version = xmUseVersion;
34359 rm -f conftest.$ac_objext
34360 if { (ac_try="$ac_compile"
34361 case "(($ac_try" in
34362 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34363 *) ac_try_echo
=$ac_try;;
34365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34366 (eval "$ac_compile") 2>conftest.er1
34368 grep -v '^ *+' conftest.er1
>conftest.err
34370 cat conftest.err
>&5
34371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34372 (exit $ac_status); } && {
34373 test -z "$ac_c_werror_flag" ||
34374 test ! -s conftest.err
34375 } && test -s conftest.
$ac_objext; then
34377 { echo "$as_me:$LINENO: result: found in default search path" >&5
34378 echo "${ECHO_T}found in default search path" >&6; }
34379 COMPILED_X_PROGRAM
=1
34382 echo "$as_me: failed program was:" >&5
34383 sed 's/^/| /' conftest.
$ac_ext >&5
34386 { echo "$as_me:$LINENO: result: no" >&5
34387 echo "${ECHO_T}no" >&6; }
34388 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34389 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34390 { (exit 1); exit 1; }; }
34395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34397 CFLAGS
=$save_CFLAGS
34401 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34402 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34405 for ac_dir
in $SEARCH_LIB;
34407 for ac_extension
in a so sl dylib dll.a
; do
34408 if test -f "$ac_dir/libXm.$ac_extension"; then
34409 ac_find_libraries
=$ac_dir
34416 if test "x$ac_find_libraries" != "x" ; then
34417 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34418 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34421 if test "$ac_find_libraries" = "default location"; then
34424 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
34426 if test $result = 0; then
34429 ac_path_to_link
=" -L$ac_find_libraries"
34433 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
34435 save_CFLAGS
=$CFLAGS
34436 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
34438 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34440 cat >conftest.
$ac_ext <<_ACEOF
34443 cat confdefs.h
>>conftest.
$ac_ext
34444 cat >>conftest.
$ac_ext <<_ACEOF
34445 /* end confdefs.h. */
34454 version = xmUseVersion;
34460 rm -f conftest.
$ac_objext conftest
$ac_exeext
34461 if { (ac_try
="$ac_link"
34462 case "(($ac_try" in
34463 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34464 *) ac_try_echo=$ac_try;;
34466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34467 (eval "$ac_link") 2>conftest.er1
34469 grep -v '^ *+' conftest.er1 >conftest.err
34471 cat conftest.err >&5
34472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34473 (exit $ac_status); } && {
34474 test -z "$ac_c_werror_flag" ||
34475 test ! -s conftest.err
34476 } && test -s conftest$ac_exeext &&
34477 $as_test_x conftest$ac_exeext; then
34479 { echo "$as_me:$LINENO: result: found in default search path" >&5
34480 echo "${ECHO_T}found in default search path" >&6; }
34481 COMPILED_X_PROGRAM=1
34484 echo "$as_me: failed program was:" >&5
34485 sed 's/^/| /' conftest.$ac_ext >&5
34488 { echo "$as_me:$LINENO: result: no" >&5
34489 echo "${ECHO_T}no" >&6; }
34490 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34491 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34492 { (exit 1); exit 1; }; }
34497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34498 conftest$ac_exeext conftest.$ac_ext
34500 CFLAGS=$save_CFLAGS
34504 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34505 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34509 for libp in "" " -lXp"; do
34510 if test "$libs_found" = "0"; then
34511 for libsm_ice in "" " -lSM -lICE"; do
34512 if test "$libs_found" = "0"; then
34514 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34515 save_CFLAGS=$CFLAGS
34516 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34518 cat >conftest.$ac_ext <<_ACEOF
34521 cat confdefs.h >>conftest.$ac_ext
34522 cat >>conftest.$ac_ext <<_ACEOF
34523 /* end confdefs.h. */
34526 #include <Xm/List.h>
34532 XmString string = NULL;
34535 XmListAddItem(w, string, position);
34541 rm -f conftest.$ac_objext conftest$ac_exeext
34542 if { (ac_try="$ac_link"
34543 case "(($ac_try" in
34544 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34545 *) ac_try_echo
=$ac_try;;
34547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34548 (eval "$ac_link") 2>conftest.er1
34550 grep -v '^ *+' conftest.er1
>conftest.err
34552 cat conftest.err
>&5
34553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34554 (exit $ac_status); } && {
34555 test -z "$ac_c_werror_flag" ||
34556 test ! -s conftest.err
34557 } && test -s conftest
$ac_exeext &&
34558 $as_test_x conftest
$ac_exeext; then
34561 libsm_ice_link
="$libsm_ice"
34562 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34563 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34567 echo "$as_me: failed program was:" >&5
34568 sed 's/^/| /' conftest.
$ac_ext >&5
34574 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34575 conftest
$ac_exeext conftest.
$ac_ext
34578 CFLAGS
=$save_CFLAGS
34584 if test "$libs_found" = "0"; then
34585 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34586 echo "${ECHO_T}can't find the right libraries" >&6; }
34587 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34588 echo "$as_me: error: can't link a simple motif program" >&2;}
34589 { (exit 1); exit 1; }; }
34592 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34593 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34594 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34595 echo $ECHO_N "(cached) $ECHO_C" >&6
34597 ac_check_lib_save_LIBS
=$LIBS
34599 cat >conftest.
$ac_ext <<_ACEOF
34602 cat confdefs.h
>>conftest.
$ac_ext
34603 cat >>conftest.
$ac_ext <<_ACEOF
34604 /* end confdefs.h. */
34606 /* Override any GCC internal prototype to avoid an error.
34607 Use char because int might match the return type of a GCC
34608 builtin and then its argument prototype would still apply. */
34612 char SgCreateList ();
34616 return SgCreateList ();
34621 rm -f conftest.
$ac_objext conftest
$ac_exeext
34622 if { (ac_try
="$ac_link"
34623 case "(($ac_try" in
34624 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34625 *) ac_try_echo=$ac_try;;
34627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34628 (eval "$ac_link") 2>conftest.er1
34630 grep -v '^ *+' conftest.er1 >conftest.err
34632 cat conftest.err >&5
34633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34634 (exit $ac_status); } && {
34635 test -z "$ac_c_werror_flag" ||
34636 test ! -s conftest.err
34637 } && test -s conftest$ac_exeext &&
34638 $as_test_x conftest$ac_exeext; then
34639 ac_cv_lib_Sgm_SgCreateList=yes
34641 echo "$as_me: failed program was:" >&5
34642 sed 's/^/| /' conftest.$ac_ext >&5
34644 ac_cv_lib_Sgm_SgCreateList=no
34647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34648 conftest$ac_exeext conftest.$ac_ext
34649 LIBS=$ac_check_lib_save_LIBS
34651 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34652 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34653 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34654 libsgm_link=" -lSgm"
34658 save_CFLAGS=$CFLAGS
34659 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34661 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34662 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34663 if test "${wx_cv_lib_motif2+set}" = set; then
34664 echo $ECHO_N "(cached) $ECHO_C" >&6
34666 cat >conftest.$ac_ext <<_ACEOF
34669 cat confdefs.h >>conftest.$ac_ext
34670 cat >>conftest.$ac_ext <<_ACEOF
34671 /* end confdefs.h. */
34679 #if XmVersion < 2000
34687 rm -f conftest.$ac_objext
34688 if { (ac_try="$ac_compile"
34689 case "(($ac_try" in
34690 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34691 *) ac_try_echo
=$ac_try;;
34693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34694 (eval "$ac_compile") 2>conftest.er1
34696 grep -v '^ *+' conftest.er1
>conftest.err
34698 cat conftest.err
>&5
34699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34700 (exit $ac_status); } && {
34701 test -z "$ac_c_werror_flag" ||
34702 test ! -s conftest.err
34703 } && test -s conftest.
$ac_objext; then
34704 wx_cv_lib_motif2
="yes"
34706 echo "$as_me: failed program was:" >&5
34707 sed 's/^/| /' conftest.
$ac_ext >&5
34709 wx_cv_lib_motif2
="no"
34712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34714 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34715 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34716 if test "$wx_cv_lib_motif2" = "yes"; then
34717 cat >>confdefs.h
<<\_ACEOF
34718 #define __WXMOTIF20__ 1
34722 cat >>confdefs.h
<<\_ACEOF
34723 #define __WXMOTIF20__ 0
34728 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34729 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34730 if test "${wx_cv_lib_lesstif+set}" = set; then
34731 echo $ECHO_N "(cached) $ECHO_C" >&6
34733 cat >conftest.
$ac_ext <<_ACEOF
34736 cat confdefs.h
>>conftest.
$ac_ext
34737 cat >>conftest.
$ac_ext <<_ACEOF
34738 /* end confdefs.h. */
34746 #if !defined(LesstifVersion) || LesstifVersion <= 0
34754 rm -f conftest.
$ac_objext
34755 if { (ac_try
="$ac_compile"
34756 case "(($ac_try" in
34757 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34758 *) ac_try_echo=$ac_try;;
34760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34761 (eval "$ac_compile") 2>conftest.er1
34763 grep -v '^ *+' conftest.er1 >conftest.err
34765 cat conftest.err >&5
34766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34767 (exit $ac_status); } && {
34768 test -z "$ac_c_werror_flag" ||
34769 test ! -s conftest.err
34770 } && test -s conftest.$ac_objext; then
34771 wx_cv_lib_lesstif="yes"
34773 echo "$as_me: failed program was:" >&5
34774 sed 's/^/| /' conftest.$ac_ext >&5
34776 wx_cv_lib_lesstif="no"
34779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34782 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34783 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34784 if test "$wx_cv_lib_lesstif" = "yes"; then
34785 cat >>confdefs.h <<\_ACEOF
34786 #define __WXLESSTIF__ 1
34790 cat >>confdefs.h <<\_ACEOF
34791 #define __WXLESSTIF__ 0
34796 CFLAGS=$save_CFLAGS
34798 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34803 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34804 if test "$wxUSE_LIBXPM" = "sys"; then
34805 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34806 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34809 for ac_dir in $SEARCH_LIB;
34811 for ac_extension in a so sl dylib dll.a; do
34812 if test -f "$ac_dir/libXpm.$ac_extension"; then
34813 ac_find_libraries=$ac_dir
34819 if test "$ac_find_libraries" != "" ; then
34821 if test "$ac_find_libraries" = "default location"; then
34824 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34826 if test $result = 0; then
34829 ac_path_to_link=" -L$ac_find_libraries"
34833 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34834 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34835 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34837 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34838 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34839 if test "${wx_cv_x11_xpm_h+set}" = set; then
34840 echo $ECHO_N "(cached) $ECHO_C" >&6
34843 save_CFLAGS=$CFLAGS
34844 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34846 cat >conftest.$ac_ext <<_ACEOF
34849 cat confdefs.h >>conftest.$ac_ext
34850 cat >>conftest.$ac_ext <<_ACEOF
34851 /* end confdefs.h. */
34853 #include <X11/xpm.h>
34860 version = XpmLibraryVersion();
34866 rm -f conftest.$ac_objext
34867 if { (ac_try="$ac_compile"
34868 case "(($ac_try" in
34869 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34870 *) ac_try_echo
=$ac_try;;
34872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34873 (eval "$ac_compile") 2>conftest.er1
34875 grep -v '^ *+' conftest.er1
>conftest.err
34877 cat conftest.err
>&5
34878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34879 (exit $ac_status); } && {
34880 test -z "$ac_c_werror_flag" ||
34881 test ! -s conftest.err
34882 } && test -s conftest.
$ac_objext; then
34883 wx_cv_x11_xpm_h
=yes
34885 echo "$as_me: failed program was:" >&5
34886 sed 's/^/| /' conftest.
$ac_ext >&5
34892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34894 CFLAGS
=$save_CFLAGS
34898 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34899 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34901 if test $wx_cv_x11_xpm_h = "yes"; then
34902 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
34903 cat >>confdefs.h
<<\_ACEOF
34904 #define wxHAVE_LIB_XPM 1
34908 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34909 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34915 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34916 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34917 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34918 echo $ECHO_N "(cached) $ECHO_C" >&6
34920 ac_check_lib_save_LIBS
=$LIBS
34921 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34922 cat >conftest.
$ac_ext <<_ACEOF
34925 cat confdefs.h
>>conftest.
$ac_ext
34926 cat >>conftest.
$ac_ext <<_ACEOF
34927 /* end confdefs.h. */
34929 /* Override any GCC internal prototype to avoid an error.
34930 Use char because int might match the return type of a GCC
34931 builtin and then its argument prototype would still apply. */
34935 char XShapeQueryExtension ();
34939 return XShapeQueryExtension ();
34944 rm -f conftest.
$ac_objext conftest
$ac_exeext
34945 if { (ac_try
="$ac_link"
34946 case "(($ac_try" in
34947 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34948 *) ac_try_echo=$ac_try;;
34950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34951 (eval "$ac_link") 2>conftest.er1
34953 grep -v '^ *+' conftest.er1 >conftest.err
34955 cat conftest.err >&5
34956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34957 (exit $ac_status); } && {
34958 test -z "$ac_c_werror_flag" ||
34959 test ! -s conftest.err
34960 } && test -s conftest$ac_exeext &&
34961 $as_test_x conftest$ac_exeext; then
34962 ac_cv_lib_Xext_XShapeQueryExtension=yes
34964 echo "$as_me: failed program was:" >&5
34965 sed 's/^/| /' conftest.$ac_ext >&5
34967 ac_cv_lib_Xext_XShapeQueryExtension=no
34970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34971 conftest$ac_exeext conftest.$ac_ext
34972 LIBS=$ac_check_lib_save_LIBS
34974 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34975 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34976 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34978 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34984 if test "$wxHAVE_XEXT_LIB" = 1; then
34985 save_CFLAGS="$CFLAGS"
34986 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34988 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34989 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34990 cat >conftest.$ac_ext <<_ACEOF
34993 cat confdefs.h >>conftest.$ac_ext
34994 cat >>conftest.$ac_ext <<_ACEOF
34995 /* end confdefs.h. */
34997 #include <X11/Xlib.h>
34998 #include <X11/extensions/shape.h>
35004 int dummy1, dummy2;
35005 XShapeQueryExtension((Display*)NULL,
35006 (int*)NULL, (int*)NULL);
35012 rm -f conftest.$ac_objext
35013 if { (ac_try="$ac_compile"
35014 case "(($ac_try" in
35015 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35016 *) ac_try_echo
=$ac_try;;
35018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35019 (eval "$ac_compile") 2>conftest.er1
35021 grep -v '^ *+' conftest.er1
>conftest.err
35023 cat conftest.err
>&5
35024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35025 (exit $ac_status); } && {
35026 test -z "$ac_c_werror_flag" ||
35027 test ! -s conftest.err
35028 } && test -s conftest.
$ac_objext; then
35030 cat >>confdefs.h
<<\_ACEOF
35031 #define HAVE_XSHAPE 1
35034 { echo "$as_me:$LINENO: result: found" >&5
35035 echo "${ECHO_T}found" >&6; }
35038 echo "$as_me: failed program was:" >&5
35039 sed 's/^/| /' conftest.
$ac_ext >&5
35042 { echo "$as_me:$LINENO: result: not found" >&5
35043 echo "${ECHO_T}not found" >&6; }
35047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35048 CFLAGS
="$save_CFLAGS"
35053 if test "$wxUSE_MAC" = 1; then
35054 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
35055 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
35056 if test "$GCC" = yes; then
35057 { echo "$as_me:$LINENO: result: gcc" >&5
35058 echo "${ECHO_T}gcc" >&6; }
35059 CPPFLAGS_PASCAL
="-fpascal-strings"
35060 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
35061 { echo "$as_me:$LINENO: result: xlc" >&5
35062 echo "${ECHO_T}xlc" >&6; }
35063 CPPFLAGS_PASCAL
="-qmacpstr"
35065 { echo "$as_me:$LINENO: result: none" >&5
35066 echo "${ECHO_T}none" >&6; }
35069 if test "x$wxUSE_UNIX" = "xyes"; then
35070 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
35072 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
35077 WXBASEPORT
="_carbon"
35080 if test "$wxUSE_COCOA" = 1; then
35085 if test "$wxUSE_PM" = 1; then
35088 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
35089 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
35090 if test "${wx_cv_spbcdata+set}" = set; then
35091 echo $ECHO_N "(cached) $ECHO_C" >&6
35094 cat >conftest.
$ac_ext <<_ACEOF
35097 cat confdefs.h
>>conftest.
$ac_ext
35098 cat >>conftest.
$ac_ext <<_ACEOF
35099 /* end confdefs.h. */
35114 rm -f conftest.
$ac_objext
35115 if { (ac_try
="$ac_compile"
35116 case "(($ac_try" in
35117 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35118 *) ac_try_echo=$ac_try;;
35120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35121 (eval "$ac_compile") 2>conftest.er1
35123 grep -v '^ *+' conftest.er1 >conftest.err
35125 cat conftest.err >&5
35126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35127 (exit $ac_status); } && {
35128 test -z "$ac_c_werror_flag" ||
35129 test ! -s conftest.err
35130 } && test -s conftest.$ac_objext; then
35133 echo "$as_me: failed program was:" >&5
35134 sed 's/^/| /' conftest.$ac_ext >&5
35140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35144 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35145 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35147 if test $wx_cv_spbcdata = "yes"; then
35148 cat >>confdefs.h <<\_ACEOF
35149 #define HAVE_SPBCDATA 1
35155 if test "$TOOLKIT" = "PM" ; then
35158 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
35161 if test "$wxUSE_UNIVERSAL" = "yes"; then
35162 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35166 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35167 DISTDIR="wx\$(TOOLKIT)"
35173 if test "$USE_WIN32" = 1 ; then
35177 GUIDIST="BASE_DIST"
35183 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35184 if test "$USE_UNIX" = "1" -a "$wxUSE_DARWIN" != "1" ; then
35185 wxUSE_UNICODE_UTF8=yes
35186 elif test "$USE_OS2" = "1" ; then
35187 wxUSE_UNICODE_UTF8=yes
35189 wxUSE_UNICODE_UTF8=no
35194 if test "$wxUSE_GUI" = "yes"; then
35195 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35197 for ac_header in X11/Xlib.h
35199 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35200 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35203 echo $ECHO_N "(cached) $ECHO_C" >&6
35205 cat >conftest.$ac_ext <<_ACEOF
35208 cat confdefs.h >>conftest.$ac_ext
35209 cat >>conftest.$ac_ext <<_ACEOF
35210 /* end confdefs.h. */
35213 #include <$ac_header>
35215 rm -f conftest.$ac_objext
35216 if { (ac_try="$ac_compile"
35217 case "(($ac_try" in
35218 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35219 *) ac_try_echo
=$ac_try;;
35221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35222 (eval "$ac_compile") 2>conftest.er1
35224 grep -v '^ *+' conftest.er1
>conftest.err
35226 cat conftest.err
>&5
35227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35228 (exit $ac_status); } && {
35229 test -z "$ac_c_werror_flag" ||
35230 test ! -s conftest.err
35231 } && test -s conftest.
$ac_objext; then
35232 eval "$as_ac_Header=yes"
35234 echo "$as_me: failed program was:" >&5
35235 sed 's/^/| /' conftest.
$ac_ext >&5
35237 eval "$as_ac_Header=no"
35240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35242 ac_res
=`eval echo '${'$as_ac_Header'}'`
35243 { echo "$as_me:$LINENO: result: $ac_res" >&5
35244 echo "${ECHO_T}$ac_res" >&6; }
35245 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35246 cat >>confdefs.h
<<_ACEOF
35247 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35255 for ac_header
in X
11/XKBlib.h
35257 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35258 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35260 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35261 echo $ECHO_N "(cached) $ECHO_C" >&6
35263 cat >conftest.
$ac_ext <<_ACEOF
35266 cat confdefs.h
>>conftest.
$ac_ext
35267 cat >>conftest.
$ac_ext <<_ACEOF
35268 /* end confdefs.h. */
35270 #if HAVE_X11_XLIB_H
35271 #include <X11/Xlib.h>
35275 #include <$ac_header>
35277 rm -f conftest.
$ac_objext
35278 if { (ac_try
="$ac_compile"
35279 case "(($ac_try" in
35280 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35281 *) ac_try_echo=$ac_try;;
35283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35284 (eval "$ac_compile") 2>conftest.er1
35286 grep -v '^ *+' conftest.er1 >conftest.err
35288 cat conftest.err >&5
35289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35290 (exit $ac_status); } && {
35291 test -z "$ac_c_werror_flag" ||
35292 test ! -s conftest.err
35293 } && test -s conftest.$ac_objext; then
35294 eval "$as_ac_Header=yes"
35296 echo "$as_me: failed program was:" >&5
35297 sed 's/^/| /' conftest.$ac_ext >&5
35299 eval "$as_ac_Header=no"
35302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35304 ac_res=`eval echo '${'$as_ac_Header'}'`
35305 { echo "$as_me:$LINENO: result: $ac_res" >&5
35306 echo "${ECHO_T}$ac_res" >&6; }
35307 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35308 cat >>confdefs.h <<_ACEOF
35309 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35321 if test "$wxUSE_DISPLAY" = "yes"; then
35322 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35323 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35324 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35327 for ac_dir in $SEARCH_LIB;
35329 for ac_extension in a so sl dylib dll.a; do
35330 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35331 ac_find_libraries=$ac_dir
35337 if test "$ac_find_libraries" != "" ; then
35339 if test "$ac_find_libraries" = "default location"; then
35342 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35344 if test $result = 0; then
35347 ac_path_to_link=" -L$ac_find_libraries"
35351 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35352 LDFLAGS="$LDFLAGS $ac_path_to_link"
35354 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35355 { echo "$as_me:$LINENO: result: yes" >&5
35356 echo "${ECHO_T}yes" >&6; }
35358 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35359 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35362 for ac_dir in $SEARCH_LIB;
35364 for ac_extension in a so sl dylib dll.a; do
35365 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35366 ac_find_libraries=$ac_dir
35372 if test "$ac_find_libraries" != "" ; then
35373 { echo "$as_me:$LINENO: result: yes" >&5
35374 echo "${ECHO_T}yes" >&6; }
35376 for ac_header in X11/extensions/xf86vmode.h
35378 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35379 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35381 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35382 echo $ECHO_N "(cached) $ECHO_C" >&6
35384 cat >conftest.$ac_ext <<_ACEOF
35387 cat confdefs.h >>conftest.$ac_ext
35388 cat >>conftest.$ac_ext <<_ACEOF
35389 /* end confdefs.h. */
35391 #if HAVE_X11_XLIB_H
35392 #include <X11/Xlib.h>
35396 #include <$ac_header>
35398 rm -f conftest.$ac_objext
35399 if { (ac_try="$ac_compile"
35400 case "(($ac_try" in
35401 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35402 *) ac_try_echo
=$ac_try;;
35404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35405 (eval "$ac_compile") 2>conftest.er1
35407 grep -v '^ *+' conftest.er1
>conftest.err
35409 cat conftest.err
>&5
35410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35411 (exit $ac_status); } && {
35412 test -z "$ac_c_werror_flag" ||
35413 test ! -s conftest.err
35414 } && test -s conftest.
$ac_objext; then
35415 eval "$as_ac_Header=yes"
35417 echo "$as_me: failed program was:" >&5
35418 sed 's/^/| /' conftest.
$ac_ext >&5
35420 eval "$as_ac_Header=no"
35423 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35425 ac_res
=`eval echo '${'$as_ac_Header'}'`
35426 { echo "$as_me:$LINENO: result: $ac_res" >&5
35427 echo "${ECHO_T}$ac_res" >&6; }
35428 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35429 cat >>confdefs.h
<<_ACEOF
35430 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35433 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
35440 { echo "$as_me:$LINENO: result: no" >&5
35441 echo "${ECHO_T}no" >&6; }
35445 { echo "$as_me:$LINENO: result: no" >&5
35446 echo "${ECHO_T}no" >&6; }
35447 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35448 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35451 elif test "$wxUSE_MSW" = 1; then
35452 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35453 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35454 if test "${ac_cv_header_ddraw_h+set}" = set; then
35455 echo $ECHO_N "(cached) $ECHO_C" >&6
35457 cat >conftest.
$ac_ext <<_ACEOF
35460 cat confdefs.h
>>conftest.
$ac_ext
35461 cat >>conftest.
$ac_ext <<_ACEOF
35462 /* end confdefs.h. */
35463 #include <windows.h>
35467 rm -f conftest.
$ac_objext
35468 if { (ac_try
="$ac_compile"
35469 case "(($ac_try" in
35470 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35471 *) ac_try_echo=$ac_try;;
35473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35474 (eval "$ac_compile") 2>conftest.er1
35476 grep -v '^ *+' conftest.er1 >conftest.err
35478 cat conftest.err >&5
35479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35480 (exit $ac_status); } && {
35481 test -z "$ac_c_werror_flag" ||
35482 test ! -s conftest.err
35483 } && test -s conftest.$ac_objext; then
35484 ac_cv_header_ddraw_h=yes
35486 echo "$as_me: failed program was:" >&5
35487 sed 's/^/| /' conftest.$ac_ext >&5
35489 ac_cv_header_ddraw_h=no
35492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35494 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35495 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35501 if test "$wxUSE_DETECT_SM" = "yes"; then
35502 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35503 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35504 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35507 for ac_dir in $SEARCH_LIB;
35509 for ac_extension in a so sl dylib dll.a; do
35510 if test -f "$ac_dir/libSM.$ac_extension"; then
35511 ac_find_libraries=$ac_dir
35517 if test "$ac_find_libraries" != "" ; then
35519 if test "$ac_find_libraries" = "default location"; then
35522 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35524 if test $result = 0; then
35527 ac_path_to_link=" -L$ac_find_libraries"
35531 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35532 LDFLAGS="$LDFLAGS $ac_path_to_link"
35534 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35535 { echo "$as_me:$LINENO: result: yes" >&5
35536 echo "${ECHO_T}yes" >&6; }
35538 { echo "$as_me:$LINENO: result: no" >&5
35539 echo "${ECHO_T}no" >&6; }
35540 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35541 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35542 wxUSE_DETECT_SM="no"
35545 wxUSE_DETECT_SM="no"
35552 if test "$wxUSE_OPENGL" = "yes"; then
35553 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35554 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35555 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35557 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35558 OPENGL_LIBS="-framework OpenGL -framework AGL"
35559 elif test "$wxUSE_MSW" = 1; then
35560 OPENGL_LIBS="-lopengl32 -lglu32"
35562 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35563 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35566 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35568 if test -f "$ac_dir/GL/gl.h"; then
35569 ac_find_includes=$ac_dir
35574 if test "$ac_find_includes" != "" ; then
35575 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35576 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35578 if test "x$ac_find_includes" = "x/usr/include"; then
35579 ac_path_to_include=""
35581 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35583 if test $result = 0; then
35584 ac_path_to_include=""
35586 ac_path_to_include=" -I$ac_find_includes"
35590 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35592 { echo "$as_me:$LINENO: result: not found" >&5
35593 echo "${ECHO_T}not found" >&6; }
35596 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35597 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35598 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35599 echo $ECHO_N "(cached) $ECHO_C" >&6
35601 cat >conftest.$ac_ext <<_ACEOF
35604 cat confdefs.h >>conftest.$ac_ext
35605 cat >>conftest.$ac_ext <<_ACEOF
35606 /* end confdefs.h. */
35611 rm -f conftest.$ac_objext
35612 if { (ac_try="$ac_compile"
35613 case "(($ac_try" in
35614 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35615 *) ac_try_echo
=$ac_try;;
35617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35618 (eval "$ac_compile") 2>conftest.er1
35620 grep -v '^ *+' conftest.er1
>conftest.err
35622 cat conftest.err
>&5
35623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35624 (exit $ac_status); } && {
35625 test -z "$ac_c_werror_flag" ||
35626 test ! -s conftest.err
35627 } && test -s conftest.
$ac_objext; then
35628 ac_cv_header_GL_gl_h
=yes
35630 echo "$as_me: failed program was:" >&5
35631 sed 's/^/| /' conftest.
$ac_ext >&5
35633 ac_cv_header_GL_gl_h
=no
35636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35638 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35639 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35640 if test $ac_cv_header_GL_gl_h = yes; then
35642 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35643 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35644 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35645 echo $ECHO_N "(cached) $ECHO_C" >&6
35647 cat >conftest.
$ac_ext <<_ACEOF
35650 cat confdefs.h
>>conftest.
$ac_ext
35651 cat >>conftest.
$ac_ext <<_ACEOF
35652 /* end confdefs.h. */
35655 #include <GL/glu.h>
35657 rm -f conftest.
$ac_objext
35658 if { (ac_try
="$ac_compile"
35659 case "(($ac_try" in
35660 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35661 *) ac_try_echo=$ac_try;;
35663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35664 (eval "$ac_compile") 2>conftest.er1
35666 grep -v '^ *+' conftest.er1 >conftest.err
35668 cat conftest.err >&5
35669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35670 (exit $ac_status); } && {
35671 test -z "$ac_c_werror_flag" ||
35672 test ! -s conftest.err
35673 } && test -s conftest.$ac_objext; then
35674 ac_cv_header_GL_glu_h=yes
35676 echo "$as_me: failed program was:" >&5
35677 sed 's/^/| /' conftest.$ac_ext >&5
35679 ac_cv_header_GL_glu_h=no
35682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35684 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35685 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35686 if test $ac_cv_header_GL_glu_h = yes; then
35690 { echo "$as_me:$LINENO: checking for -lGL" >&5
35691 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35694 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35696 for ac_extension in a so sl dylib dll.a; do
35697 if test -f "$ac_dir/libGL.$ac_extension"; then
35698 ac_find_libraries=$ac_dir
35704 if test "$ac_find_libraries" != "" ; then
35705 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35706 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35709 if test "$ac_find_libraries" = "default location"; then
35712 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35714 if test $result = 0; then
35717 ac_path_to_link=" -L$ac_find_libraries"
35721 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35722 LDFLAGS_GL="$ac_path_to_link"
35725 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35726 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35729 for ac_dir in $SEARCH_LIB;
35731 for ac_extension in a so sl dylib dll.a; do
35732 if test -f "$ac_dir/libGLU.$ac_extension"; then
35733 ac_find_libraries=$ac_dir
35739 if test "$ac_find_libraries" != "" ; then
35741 if test "$ac_find_libraries" = "default location"; then
35744 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35746 if test $result = 0; then
35749 ac_path_to_link=" -L$ac_find_libraries"
35753 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35754 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35755 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35759 OPENGL_LIBS="-lGL -lGLU"
35760 { echo "$as_me:$LINENO: result: yes" >&5
35761 echo "${ECHO_T}yes" >&6; }
35763 { echo "$as_me:$LINENO: result: no" >&5
35764 echo "${ECHO_T}no" >&6; }
35767 { echo "$as_me:$LINENO: result: no" >&5
35768 echo "${ECHO_T}no" >&6; }
35771 if test "$found_gl" != 1; then
35772 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35773 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35776 for ac_dir in $SEARCH_LIB;
35778 for ac_extension in a so sl dylib dll.a; do
35779 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35780 ac_find_libraries=$ac_dir
35786 if test "$ac_find_libraries" != "" ; then
35788 if test "$ac_find_libraries" = "default location"; then
35791 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35793 if test $result = 0; then
35796 ac_path_to_link=" -L$ac_find_libraries"
35800 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35801 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35802 { echo "$as_me:$LINENO: result: yes" >&5
35803 echo "${ECHO_T}yes" >&6; }
35805 { echo "$as_me:$LINENO: result: no" >&5
35806 echo "${ECHO_T}no" >&6; }
35818 if test "x$OPENGL_LIBS" = "x"; then
35819 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35820 echo "$as_me: error: OpenGL libraries not available" >&2;}
35821 { (exit 1); exit 1; }; }
35825 if test "$wxUSE_OPENGL" = "yes"; then
35827 cat >>confdefs.h <<\_ACEOF
35828 #define wxUSE_OPENGL 1
35831 cat >>confdefs.h <<\_ACEOF
35832 #define wxUSE_GLCANVAS 1
35835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35840 if test -n "$TOOLKIT" ; then
35841 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35846 if test "$wxUSE_SHARED" = "yes"; then
35850 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35851 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35856 if test "$wxUSE_SHARED" = "yes"; then
35860 *-*-cygwin* | *-*-mingw* )
35861 wx_cv_version_script=no
35865 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35866 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35867 if test "${wx_cv_version_script+set}" = set; then
35868 echo $ECHO_N "(cached) $ECHO_C" >&6
35871 echo "VER_1 { *; };" >conftest.sym
35872 echo "int main() { return 0; }" >conftest.cpp
35875 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35876 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35878 (eval $ac_try) 2>&5
35880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35881 (exit $ac_status); }; } ; then
35882 if test -s conftest.stderr ; then
35883 wx_cv_version_script=no
35885 wx_cv_version_script=yes
35888 wx_cv_version_script=no
35891 if test $wx_cv_version_script = yes
35893 echo "struct B { virtual ~B() { } }; \
35894 struct D : public B { }; \
35895 void F() { D d; }" > conftest.cpp
35898 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35899 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35901 (eval $ac_try) 2>&5
35903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35904 (exit $ac_status); }; } &&
35906 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35907 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35909 (eval $ac_try) 2>&5
35911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35912 (exit $ac_status); }; }
35915 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35916 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35918 (eval $ac_try) 2>&5
35920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35921 (exit $ac_status); }; }
35923 wx_cv_version_script=yes
35925 wx_cv_version_script=no
35930 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35931 rm -f conftest1.output conftest2.output conftest3.output
35934 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35935 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35937 if test $wx_cv_version_script = yes ; then
35938 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35944 if test "$wxUSE_VISIBILITY" != "no"; then
35947 if test -n "$GCC"; then
35948 CFLAGS_VISIBILITY="-fvisibility=hidden"
35949 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35950 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35951 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35952 if test "${wx_cv_cc_visibility+set}" = set; then
35953 echo $ECHO_N "(cached) $ECHO_C" >&6
35956 wx_save_CXXFLAGS="$CXXFLAGS"
35957 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35959 ac_cpp='$CXXCPP $CPPFLAGS'
35960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35964 cat >conftest.$ac_ext <<_ACEOF
35967 cat confdefs.h >>conftest.$ac_ext
35968 cat >>conftest.$ac_ext <<_ACEOF
35969 /* end confdefs.h. */
35971 /* we need gcc >= 4.0, older versions with visibility support
35972 didn't have class visibility: */
35973 #if defined(__GNUC__) && __GNUC__ < 4
35974 error this gcc is too old;
35977 /* visibility only makes sense for ELF shared libs: */
35978 #if !defined(__ELF__) && !defined(__APPLE__)
35979 error this platform has no visibility;
35982 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35983 extern __attribute__((__visibility__("default"))) int exportedvar;
35984 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35985 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35986 class __attribute__((__visibility__("default"))) Foo {
35998 rm -f conftest.$ac_objext
35999 if { (ac_try="$ac_compile"
36000 case "(($ac_try" in
36001 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36002 *) ac_try_echo
=$ac_try;;
36004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36005 (eval "$ac_compile") 2>conftest.er1
36007 grep -v '^ *+' conftest.er1
>conftest.err
36009 cat conftest.err
>&5
36010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36011 (exit $ac_status); } && {
36012 test -z "$ac_cxx_werror_flag" ||
36013 test ! -s conftest.err
36014 } && test -s conftest.
$ac_objext; then
36015 wx_cv_cc_visibility
=yes
36017 echo "$as_me: failed program was:" >&5
36018 sed 's/^/| /' conftest.
$ac_ext >&5
36020 wx_cv_cc_visibility
=no
36023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36025 ac_cpp
='$CPP $CPPFLAGS'
36026 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36027 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36028 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36030 CXXFLAGS
="$wx_save_CXXFLAGS"
36033 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36034 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36035 if test $wx_cv_cc_visibility = yes; then
36036 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36037 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36038 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36039 echo $ECHO_N "(cached) $ECHO_C" >&6
36042 wx_save_CXXFLAGS
="$CXXFLAGS"
36043 wx_save_LDFLAGS
="$LDFLAGS"
36044 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36045 LDFLAGS
="$LDFLAGS -shared -fPIC"
36047 ac_cpp
='$CXXCPP $CPPFLAGS'
36048 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36049 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36050 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36052 cat >conftest.
$ac_ext <<_ACEOF
36055 cat confdefs.h
>>conftest.
$ac_ext
36056 cat >>conftest.
$ac_ext <<_ACEOF
36057 /* end confdefs.h. */
36065 std::string s("hello");
36072 rm -f conftest.
$ac_objext conftest
$ac_exeext
36073 if { (ac_try
="$ac_link"
36074 case "(($ac_try" in
36075 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36076 *) ac_try_echo=$ac_try;;
36078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36079 (eval "$ac_link") 2>conftest.er1
36081 grep -v '^ *+' conftest.er1 >conftest.err
36083 cat conftest.err >&5
36084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36085 (exit $ac_status); } && {
36086 test -z "$ac_cxx_werror_flag" ||
36087 test ! -s conftest.err
36088 } && test -s conftest$ac_exeext &&
36089 $as_test_x conftest$ac_exeext; then
36090 wx_cv_cc_broken_libstdcxx_visibility=no
36092 echo "$as_me: failed program was:" >&5
36093 sed 's/^/| /' conftest.$ac_ext >&5
36095 wx_cv_cc_broken_libstdcxx_visibility=yes
36098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36099 conftest$ac_exeext conftest.$ac_ext
36101 ac_cpp='$CPP $CPPFLAGS'
36102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36106 CXXFLAGS="$wx_save_CXXFLAGS"
36107 LDFLAGS="$wx_save_LDFLAGS"
36110 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36111 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36113 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36114 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
36115 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
36116 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
36117 echo $ECHO_N "(cached) $ECHO_C" >&6
36121 ac_cpp='$CXXCPP $CPPFLAGS'
36122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36126 cat >conftest.$ac_ext <<_ACEOF
36129 cat confdefs.h >>conftest.$ac_ext
36130 cat >>conftest.$ac_ext <<_ACEOF
36131 /* end confdefs.h. */
36133 #pragma GCC visibility push(default)
36135 #pragma GCC visibility pop
36141 std::string s("hello");
36148 rm -f conftest.$ac_objext conftest$ac_exeext
36149 if { (ac_try="$ac_link"
36150 case "(($ac_try" in
36151 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36152 *) ac_try_echo
=$ac_try;;
36154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36155 (eval "$ac_link") 2>conftest.er1
36157 grep -v '^ *+' conftest.er1
>conftest.err
36159 cat conftest.err
>&5
36160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36161 (exit $ac_status); } && {
36162 test -z "$ac_cxx_werror_flag" ||
36163 test ! -s conftest.err
36164 } && test -s conftest
$ac_exeext &&
36165 $as_test_x conftest
$ac_exeext; then
36166 wx_cv_cc_visibility_workaround
=no
36168 echo "$as_me: failed program was:" >&5
36169 sed 's/^/| /' conftest.
$ac_ext >&5
36171 wx_cv_cc_visibility_workaround
=yes
36174 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36175 conftest
$ac_exeext conftest.
$ac_ext
36177 ac_cpp
='$CPP $CPPFLAGS'
36178 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36179 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36180 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36185 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
36186 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
36188 if test $wx_cv_cc_visibility_workaround = no
; then
36189 wx_cv_cc_visibility
=no
36194 if test $wx_cv_cc_visibility = yes; then
36195 cat >>confdefs.h
<<\_ACEOF
36196 #define HAVE_VISIBILITY 1
36199 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36200 cat >>confdefs.h
<<\_ACEOF
36201 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36206 CFLAGS_VISIBILITY
=""
36207 CXXFLAGS_VISIBILITY
=""
36215 if test "x$SUNCXX" = xyes
; then
36216 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
36217 WXCONFIG_RPATH
="-R\$libdir"
36220 *-*-linux* | *-*-gnu* )
36221 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
36222 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
36227 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
36229 saveLdflags
="$LDFLAGS"
36230 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
36231 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36232 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36233 cat >conftest.
$ac_ext <<_ACEOF
36236 cat confdefs.h
>>conftest.
$ac_ext
36237 cat >>conftest.
$ac_ext <<_ACEOF
36238 /* end confdefs.h. */
36248 rm -f conftest.
$ac_objext conftest
$ac_exeext
36249 if { (ac_try
="$ac_link"
36250 case "(($ac_try" in
36251 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36252 *) ac_try_echo=$ac_try;;
36254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36255 (eval "$ac_link") 2>conftest.er1
36257 grep -v '^ *+' conftest.er1 >conftest.err
36259 cat conftest.err >&5
36260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36261 (exit $ac_status); } && {
36262 test -z "$ac_c_werror_flag" ||
36263 test ! -s conftest.err
36264 } && test -s conftest$ac_exeext &&
36265 $as_test_x conftest$ac_exeext; then
36267 { echo "$as_me:$LINENO: result: yes" >&5
36268 echo "${ECHO_T}yes" >&6; }
36269 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36270 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36273 echo "$as_me: failed program was:" >&5
36274 sed 's/^/| /' conftest.$ac_ext >&5
36277 { echo "$as_me:$LINENO: result: no" >&5
36278 echo "${ECHO_T}no" >&6; }
36279 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36280 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36281 LDFLAGS="$saveLdflags -Wl,-R,/"
36282 cat >conftest.$ac_ext <<_ACEOF
36285 cat confdefs.h >>conftest.$ac_ext
36286 cat >>conftest.$ac_ext <<_ACEOF
36287 /* end confdefs.h. */
36297 rm -f conftest.$ac_objext conftest$ac_exeext
36298 if { (ac_try="$ac_link"
36299 case "(($ac_try" in
36300 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36301 *) ac_try_echo
=$ac_try;;
36303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36304 (eval "$ac_link") 2>conftest.er1
36306 grep -v '^ *+' conftest.er1
>conftest.err
36308 cat conftest.err
>&5
36309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36310 (exit $ac_status); } && {
36311 test -z "$ac_c_werror_flag" ||
36312 test ! -s conftest.err
36313 } && test -s conftest
$ac_exeext &&
36314 $as_test_x conftest
$ac_exeext; then
36316 { echo "$as_me:$LINENO: result: yes" >&5
36317 echo "${ECHO_T}yes" >&6; }
36318 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
36319 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
36322 echo "$as_me: failed program was:" >&5
36323 sed 's/^/| /' conftest.
$ac_ext >&5
36326 { echo "$as_me:$LINENO: result: no" >&5
36327 echo "${ECHO_T}no" >&6; }
36331 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36332 conftest
$ac_exeext conftest.
$ac_ext
36336 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36337 conftest
$ac_exeext conftest.
$ac_ext
36338 LDFLAGS
="$saveLdflags"
36342 install_name_tool
=`which install_name_tool`
36343 if test "$install_name_tool" -a -x "$install_name_tool"; then
36344 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36345 cat <<EOF >change-install-names
36347 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36348 inst_cmd="install_name_tool "
36349 for i in \${libnames} ; do
36350 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36354 chmod +x change
-install-names
36358 *-*-cygwin* | *-*-mingw32* )
36362 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
36363 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
36369 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36371 if test $wxUSE_RPATH = "no"; then
36372 SAMPLES_RPATH_FLAG
=''
36373 SAMPLES_RPATH_POSTLINK
=''
36381 config_linkage_component
="-static"
36388 lib_unicode_suffix
=
36390 if test "$wxUSE_UNICODE" = "yes"; then
36391 lib_unicode_suffix
=u
36392 WX_CHARTYPE
="unicode"
36397 WX_DEBUGTYPE
="release"
36399 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36401 WX_DEBUGTYPE
="debug"
36405 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
36406 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
36409 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36413 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36415 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36417 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36419 if test "$cross_compiling" = "yes"; then
36420 HOST_SUFFIX
="-$host_alias"
36421 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
36422 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
36425 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36426 if test "${TOOLKIT_DIR}" = "os2"; then
36427 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36429 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36434 if test "$wxUSE_COCOA" = 1; then
36437 ac_cpp
='$CPP $CPPFLAGS'
36438 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36439 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36440 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36444 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36445 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36446 cat >conftest.
$ac_ext <<_ACEOF
36449 cat confdefs.h
>>conftest.
$ac_ext
36450 cat >>conftest.
$ac_ext <<_ACEOF
36451 /* end confdefs.h. */
36452 #include <AppKit/NSEvent.h>
36453 #include <CoreFoundation/CoreFoundation.h>
36463 rm -f conftest.
$ac_objext
36464 if { (ac_try
="$ac_compile"
36465 case "(($ac_try" in
36466 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36467 *) ac_try_echo=$ac_try;;
36469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36470 (eval "$ac_compile") 2>conftest.er1
36472 grep -v '^ *+' conftest.er1 >conftest.err
36474 cat conftest.err >&5
36475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36476 (exit $ac_status); } && {
36477 test -z "$ac_c_werror_flag" ||
36478 test ! -s conftest.err
36479 } && test -s conftest.$ac_objext; then
36480 { echo "$as_me:$LINENO: result: no" >&5
36481 echo "${ECHO_T}no" >&6; }
36483 echo "$as_me: failed program was:" >&5
36484 sed 's/^/| /' conftest.$ac_ext >&5
36486 { echo "$as_me:$LINENO: result: yes" >&5
36487 echo "${ECHO_T}yes" >&6; }
36488 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36489 echo $ECHO_N "checking if defining __Point__ will fix it... $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 #define __Point__ 1
36497 #include <AppKit/NSEvent.h>
36498 #include <CoreFoundation/CoreFoundation.h>
36508 rm -f conftest.$ac_objext
36509 if { (ac_try="$ac_compile"
36510 case "(($ac_try" in
36511 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36512 *) ac_try_echo
=$ac_try;;
36514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36515 (eval "$ac_compile") 2>conftest.er1
36517 grep -v '^ *+' conftest.er1
>conftest.err
36519 cat conftest.err
>&5
36520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36521 (exit $ac_status); } && {
36522 test -z "$ac_c_werror_flag" ||
36523 test ! -s conftest.err
36524 } && test -s conftest.
$ac_objext; then
36525 { echo "$as_me:$LINENO: result: yes" >&5
36526 echo "${ECHO_T}yes" >&6; }
36527 cat >>confdefs.h
<<\_ACEOF
36528 #define __Point__ 1
36533 echo "$as_me: failed program was:" >&5
36534 sed 's/^/| /' conftest.
$ac_ext >&5
36536 { { echo "$as_me:$LINENO: error: no
36537 See \`config.log' for more details." >&5
36538 echo "$as_me: error: no
36539 See \`config.log' for more details." >&2;}
36540 { (exit 1); exit 1; }; }
36544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36550 ac_cpp
='$CPP $CPPFLAGS'
36551 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36552 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36553 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36558 { echo "$as_me:$LINENO: checking for mode_t" >&5
36559 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36560 if test "${ac_cv_type_mode_t+set}" = set; then
36561 echo $ECHO_N "(cached) $ECHO_C" >&6
36563 cat >conftest.
$ac_ext <<_ACEOF
36566 cat confdefs.h
>>conftest.
$ac_ext
36567 cat >>conftest.
$ac_ext <<_ACEOF
36568 /* end confdefs.h. */
36569 $ac_includes_default
36570 typedef mode_t ac__type_new_;
36574 if ((ac__type_new_ *) 0)
36576 if (sizeof (ac__type_new_))
36582 rm -f conftest.
$ac_objext
36583 if { (ac_try
="$ac_compile"
36584 case "(($ac_try" in
36585 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36586 *) ac_try_echo=$ac_try;;
36588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36589 (eval "$ac_compile") 2>conftest.er1
36591 grep -v '^ *+' conftest.er1 >conftest.err
36593 cat conftest.err >&5
36594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36595 (exit $ac_status); } && {
36596 test -z "$ac_c_werror_flag" ||
36597 test ! -s conftest.err
36598 } && test -s conftest.$ac_objext; then
36599 ac_cv_type_mode_t=yes
36601 echo "$as_me: failed program was:" >&5
36602 sed 's/^/| /' conftest.$ac_ext >&5
36604 ac_cv_type_mode_t=no
36607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36609 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36610 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36611 if test $ac_cv_type_mode_t = yes; then
36615 cat >>confdefs.h <<_ACEOF
36621 { echo "$as_me:$LINENO: checking for off_t" >&5
36622 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36623 if test "${ac_cv_type_off_t+set}" = set; then
36624 echo $ECHO_N "(cached) $ECHO_C" >&6
36626 cat >conftest.$ac_ext <<_ACEOF
36629 cat confdefs.h >>conftest.$ac_ext
36630 cat >>conftest.$ac_ext <<_ACEOF
36631 /* end confdefs.h. */
36632 $ac_includes_default
36633 typedef off_t ac__type_new_;
36637 if ((ac__type_new_ *) 0)
36639 if (sizeof (ac__type_new_))
36645 rm -f conftest.$ac_objext
36646 if { (ac_try="$ac_compile"
36647 case "(($ac_try" in
36648 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36649 *) ac_try_echo
=$ac_try;;
36651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36652 (eval "$ac_compile") 2>conftest.er1
36654 grep -v '^ *+' conftest.er1
>conftest.err
36656 cat conftest.err
>&5
36657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36658 (exit $ac_status); } && {
36659 test -z "$ac_c_werror_flag" ||
36660 test ! -s conftest.err
36661 } && test -s conftest.
$ac_objext; then
36662 ac_cv_type_off_t
=yes
36664 echo "$as_me: failed program was:" >&5
36665 sed 's/^/| /' conftest.
$ac_ext >&5
36667 ac_cv_type_off_t
=no
36670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36672 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36673 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36674 if test $ac_cv_type_off_t = yes; then
36678 cat >>confdefs.h
<<_ACEOF
36679 #define off_t long int
36684 { echo "$as_me:$LINENO: checking for pid_t" >&5
36685 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36686 if test "${ac_cv_type_pid_t+set}" = set; then
36687 echo $ECHO_N "(cached) $ECHO_C" >&6
36689 cat >conftest.
$ac_ext <<_ACEOF
36692 cat confdefs.h
>>conftest.
$ac_ext
36693 cat >>conftest.
$ac_ext <<_ACEOF
36694 /* end confdefs.h. */
36695 $ac_includes_default
36696 typedef pid_t ac__type_new_;
36700 if ((ac__type_new_ *) 0)
36702 if (sizeof (ac__type_new_))
36708 rm -f conftest.
$ac_objext
36709 if { (ac_try
="$ac_compile"
36710 case "(($ac_try" in
36711 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36712 *) ac_try_echo=$ac_try;;
36714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36715 (eval "$ac_compile") 2>conftest.er1
36717 grep -v '^ *+' conftest.er1 >conftest.err
36719 cat conftest.err >&5
36720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36721 (exit $ac_status); } && {
36722 test -z "$ac_c_werror_flag" ||
36723 test ! -s conftest.err
36724 } && test -s conftest.$ac_objext; then
36725 ac_cv_type_pid_t=yes
36727 echo "$as_me: failed program was:" >&5
36728 sed 's/^/| /' conftest.$ac_ext >&5
36730 ac_cv_type_pid_t=no
36733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36735 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36736 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36737 if test $ac_cv_type_pid_t = yes; then
36741 cat >>confdefs.h <<_ACEOF
36747 { echo "$as_me:$LINENO: checking for size_t" >&5
36748 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36749 if test "${ac_cv_type_size_t+set}" = set; then
36750 echo $ECHO_N "(cached) $ECHO_C" >&6
36752 cat >conftest.$ac_ext <<_ACEOF
36755 cat confdefs.h >>conftest.$ac_ext
36756 cat >>conftest.$ac_ext <<_ACEOF
36757 /* end confdefs.h. */
36758 $ac_includes_default
36759 typedef size_t ac__type_new_;
36763 if ((ac__type_new_ *) 0)
36765 if (sizeof (ac__type_new_))
36771 rm -f conftest.$ac_objext
36772 if { (ac_try="$ac_compile"
36773 case "(($ac_try" in
36774 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36775 *) ac_try_echo
=$ac_try;;
36777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36778 (eval "$ac_compile") 2>conftest.er1
36780 grep -v '^ *+' conftest.er1
>conftest.err
36782 cat conftest.err
>&5
36783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36784 (exit $ac_status); } && {
36785 test -z "$ac_c_werror_flag" ||
36786 test ! -s conftest.err
36787 } && test -s conftest.
$ac_objext; then
36788 ac_cv_type_size_t
=yes
36790 echo "$as_me: failed program was:" >&5
36791 sed 's/^/| /' conftest.
$ac_ext >&5
36793 ac_cv_type_size_t
=no
36796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36798 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36799 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36800 if test $ac_cv_type_size_t = yes; then
36804 cat >>confdefs.h
<<_ACEOF
36805 #define size_t unsigned int
36810 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36811 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36812 if test "${ac_cv_type_uid_t+set}" = set; then
36813 echo $ECHO_N "(cached) $ECHO_C" >&6
36815 cat >conftest.
$ac_ext <<_ACEOF
36818 cat confdefs.h
>>conftest.
$ac_ext
36819 cat >>conftest.
$ac_ext <<_ACEOF
36820 /* end confdefs.h. */
36821 #include <sys/types.h>
36824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36825 $EGREP "uid_t" >/dev
/null
2>&1; then
36826 ac_cv_type_uid_t
=yes
36828 ac_cv_type_uid_t
=no
36833 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36834 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36835 if test $ac_cv_type_uid_t = no
; then
36837 cat >>confdefs.h
<<\_ACEOF
36842 cat >>confdefs.h
<<\_ACEOF
36849 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36850 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36851 if test "${ac_cv_type_ssize_t+set}" = set; then
36852 echo $ECHO_N "(cached) $ECHO_C" >&6
36854 cat >conftest.
$ac_ext <<_ACEOF
36857 cat confdefs.h
>>conftest.
$ac_ext
36858 cat >>conftest.
$ac_ext <<_ACEOF
36859 /* end confdefs.h. */
36860 $ac_includes_default
36861 typedef ssize_t ac__type_new_;
36865 if ((ac__type_new_ *) 0)
36867 if (sizeof (ac__type_new_))
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_c_werror_flag" ||
36888 test ! -s conftest.err
36889 } && test -s conftest.$ac_objext; then
36890 ac_cv_type_ssize_t=yes
36892 echo "$as_me: failed program was:" >&5
36893 sed 's/^/| /' conftest.$ac_ext >&5
36895 ac_cv_type_ssize_t=no
36898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36900 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36901 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36902 if test $ac_cv_type_ssize_t = yes; then
36904 cat >>confdefs.h <<_ACEOF
36905 #define HAVE_SSIZE_T 1
36913 ac_cpp='$CXXCPP $CPPFLAGS'
36914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36917 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36918 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36919 if test "${wx_cv_size_t_is_uint+set}" = set; then
36920 echo $ECHO_N "(cached) $ECHO_C" >&6
36923 cat >conftest.$ac_ext <<_ACEOF
36926 cat confdefs.h >>conftest.$ac_ext
36927 cat >>conftest.$ac_ext <<_ACEOF
36928 /* end confdefs.h. */
36929 #include <stddef.h>
36936 struct Foo { void foo(size_t); void foo(unsigned int); };
36944 rm -f conftest.$ac_objext
36945 if { (ac_try="$ac_compile"
36946 case "(($ac_try" in
36947 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36948 *) ac_try_echo
=$ac_try;;
36950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36951 (eval "$ac_compile") 2>conftest.er1
36953 grep -v '^ *+' conftest.er1
>conftest.err
36955 cat conftest.err
>&5
36956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36957 (exit $ac_status); } && {
36958 test -z "$ac_cxx_werror_flag" ||
36959 test ! -s conftest.err
36960 } && test -s conftest.
$ac_objext; then
36961 wx_cv_size_t_is_uint
=no
36963 echo "$as_me: failed program was:" >&5
36964 sed 's/^/| /' conftest.
$ac_ext >&5
36966 wx_cv_size_t_is_uint
=yes
36970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36974 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36975 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36977 if test "$wx_cv_size_t_is_uint" = "yes"; then
36978 cat >>confdefs.h
<<\_ACEOF
36979 #define wxSIZE_T_IS_UINT 1
36983 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36984 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36985 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36986 echo $ECHO_N "(cached) $ECHO_C" >&6
36988 cat >conftest.
$ac_ext <<_ACEOF
36991 cat confdefs.h
>>conftest.
$ac_ext
36992 cat >>conftest.
$ac_ext <<_ACEOF
36993 /* end confdefs.h. */
36994 #include <stddef.h>
37001 struct Foo { void foo(size_t); void foo(unsigned long); };
37009 rm -f conftest.
$ac_objext
37010 if { (ac_try
="$ac_compile"
37011 case "(($ac_try" in
37012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37013 *) ac_try_echo=$ac_try;;
37015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37016 (eval "$ac_compile") 2>conftest.er1
37018 grep -v '^ *+' conftest.er1 >conftest.err
37020 cat conftest.err >&5
37021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37022 (exit $ac_status); } && {
37023 test -z "$ac_cxx_werror_flag" ||
37024 test ! -s conftest.err
37025 } && test -s conftest.$ac_objext; then
37026 wx_cv_size_t_is_ulong=no
37028 echo "$as_me: failed program was:" >&5
37029 sed 's/^/| /' conftest.$ac_ext >&5
37031 wx_cv_size_t_is_ulong=yes
37035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37038 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37039 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37041 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37042 cat >>confdefs.h <<\_ACEOF
37043 #define wxSIZE_T_IS_ULONG 1
37049 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37050 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37051 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37052 echo $ECHO_N "(cached) $ECHO_C" >&6
37054 cat >conftest.$ac_ext <<_ACEOF
37057 cat confdefs.h >>conftest.$ac_ext
37058 cat >>conftest.$ac_ext <<_ACEOF
37059 /* end confdefs.h. */
37067 struct Foo { void foo(wchar_t);
37068 void foo(unsigned short);
37069 void foo(unsigned int);
37070 void foo(unsigned long); };
37078 rm -f conftest.$ac_objext
37079 if { (ac_try="$ac_compile"
37080 case "(($ac_try" in
37081 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37082 *) ac_try_echo
=$ac_try;;
37084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37085 (eval "$ac_compile") 2>conftest.er1
37087 grep -v '^ *+' conftest.er1
>conftest.err
37089 cat conftest.err
>&5
37090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37091 (exit $ac_status); } && {
37092 test -z "$ac_cxx_werror_flag" ||
37093 test ! -s conftest.err
37094 } && test -s conftest.
$ac_objext; then
37095 wx_cv_wchar_t_is_separate_type
=yes
37097 echo "$as_me: failed program was:" >&5
37098 sed 's/^/| /' conftest.
$ac_ext >&5
37100 wx_cv_wchar_t_is_separate_type
=no
37104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37107 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37108 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37110 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37111 cat >>confdefs.h
<<\_ACEOF
37112 #define wxWCHAR_T_IS_REAL_TYPE 1
37116 cat >>confdefs.h
<<\_ACEOF
37117 #define wxWCHAR_T_IS_REAL_TYPE 0
37123 ac_cpp
='$CPP $CPPFLAGS'
37124 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37125 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37126 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37129 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37130 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37131 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37132 echo $ECHO_N "(cached) $ECHO_C" >&6
37135 cat >conftest.
$ac_ext <<_ACEOF
37138 cat confdefs.h
>>conftest.
$ac_ext
37139 cat >>conftest.
$ac_ext <<_ACEOF
37140 /* end confdefs.h. */
37154 rm -f conftest.
$ac_objext
37155 if { (ac_try
="$ac_compile"
37156 case "(($ac_try" in
37157 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37158 *) ac_try_echo=$ac_try;;
37160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37161 (eval "$ac_compile") 2>conftest.er1
37163 grep -v '^ *+' conftest.er1 >conftest.err
37165 cat conftest.err >&5
37166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37167 (exit $ac_status); } && {
37168 test -z "$ac_c_werror_flag" ||
37169 test ! -s conftest.err
37170 } && test -s conftest.$ac_objext; then
37172 wx_cv_struct_pw_gecos=yes
37175 echo "$as_me: failed program was:" >&5
37176 sed 's/^/| /' conftest.$ac_ext >&5
37179 wx_cv_struct_pw_gecos=no
37184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37188 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37189 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37191 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37192 cat >>confdefs.h <<\_ACEOF
37193 #define HAVE_PW_GECOS 1
37199 if test "$wxUSE_WCHAR_T" = "yes"; then
37200 cat >>confdefs.h <<\_ACEOF
37201 #define wxUSE_WCHAR_T 1
37208 for ac_func in wcslen
37210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37211 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37213 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37214 echo $ECHO_N "(cached) $ECHO_C" >&6
37216 cat >conftest.$ac_ext <<_ACEOF
37219 cat confdefs.h >>conftest.$ac_ext
37220 cat >>conftest.$ac_ext <<_ACEOF
37221 /* end confdefs.h. */
37222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37224 #define $ac_func innocuous_$ac_func
37226 /* System header to define __stub macros and hopefully few prototypes,
37227 which can conflict with char $ac_func (); below.
37228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37229 <limits.h> exists even on freestanding compilers. */
37232 # include <limits.h>
37234 # include <assert.h>
37239 /* Override any GCC internal prototype to avoid an error.
37240 Use char because int might match the return type of a GCC
37241 builtin and then its argument prototype would still apply. */
37246 /* The GNU C library defines this for functions which it implements
37247 to always fail with ENOSYS. Some functions are actually named
37248 something starting with __ and the normal name is an alias. */
37249 #if defined __stub_$ac_func || defined __stub___$ac_func
37256 return $ac_func ();
37261 rm -f conftest.$ac_objext conftest$ac_exeext
37262 if { (ac_try="$ac_link"
37263 case "(($ac_try" in
37264 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37265 *) ac_try_echo
=$ac_try;;
37267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37268 (eval "$ac_link") 2>conftest.er1
37270 grep -v '^ *+' conftest.er1
>conftest.err
37272 cat conftest.err
>&5
37273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37274 (exit $ac_status); } && {
37275 test -z "$ac_c_werror_flag" ||
37276 test ! -s conftest.err
37277 } && test -s conftest
$ac_exeext &&
37278 $as_test_x conftest
$ac_exeext; then
37279 eval "$as_ac_var=yes"
37281 echo "$as_me: failed program was:" >&5
37282 sed 's/^/| /' conftest.
$ac_ext >&5
37284 eval "$as_ac_var=no"
37287 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37288 conftest
$ac_exeext conftest.
$ac_ext
37290 ac_res
=`eval echo '${'$as_ac_var'}'`
37291 { echo "$as_me:$LINENO: result: $ac_res" >&5
37292 echo "${ECHO_T}$ac_res" >&6; }
37293 if test `eval echo '${'$as_ac_var'}'` = yes; then
37294 cat >>confdefs.h
<<_ACEOF
37295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37302 if test "$WCSLEN_FOUND" = 0; then
37303 if test "$TOOLKIT" = "MSW"; then
37304 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37305 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37306 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37307 echo $ECHO_N "(cached) $ECHO_C" >&6
37309 ac_check_lib_save_LIBS
=$LIBS
37310 LIBS
="-lmsvcrt $LIBS"
37311 cat >conftest.
$ac_ext <<_ACEOF
37314 cat confdefs.h
>>conftest.
$ac_ext
37315 cat >>conftest.
$ac_ext <<_ACEOF
37316 /* end confdefs.h. */
37318 /* Override any GCC internal prototype to avoid an error.
37319 Use char because int might match the return type of a GCC
37320 builtin and then its argument prototype would still apply. */
37333 rm -f conftest.
$ac_objext conftest
$ac_exeext
37334 if { (ac_try
="$ac_link"
37335 case "(($ac_try" in
37336 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37337 *) ac_try_echo=$ac_try;;
37339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37340 (eval "$ac_link") 2>conftest.er1
37342 grep -v '^ *+' conftest.er1 >conftest.err
37344 cat conftest.err >&5
37345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37346 (exit $ac_status); } && {
37347 test -z "$ac_c_werror_flag" ||
37348 test ! -s conftest.err
37349 } && test -s conftest$ac_exeext &&
37350 $as_test_x conftest$ac_exeext; then
37351 ac_cv_lib_msvcrt_wcslen=yes
37353 echo "$as_me: failed program was:" >&5
37354 sed 's/^/| /' conftest.$ac_ext >&5
37356 ac_cv_lib_msvcrt_wcslen=no
37359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37360 conftest$ac_exeext conftest.$ac_ext
37361 LIBS=$ac_check_lib_save_LIBS
37363 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37364 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37365 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37370 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37371 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37372 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37373 echo $ECHO_N "(cached) $ECHO_C" >&6
37375 ac_check_lib_save_LIBS=$LIBS
37377 cat >conftest.$ac_ext <<_ACEOF
37380 cat confdefs.h >>conftest.$ac_ext
37381 cat >>conftest.$ac_ext <<_ACEOF
37382 /* end confdefs.h. */
37384 /* Override any GCC internal prototype to avoid an error.
37385 Use char because int might match the return type of a GCC
37386 builtin and then its argument prototype would still apply. */
37399 rm -f conftest.$ac_objext conftest$ac_exeext
37400 if { (ac_try="$ac_link"
37401 case "(($ac_try" in
37402 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37403 *) ac_try_echo
=$ac_try;;
37405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37406 (eval "$ac_link") 2>conftest.er1
37408 grep -v '^ *+' conftest.er1
>conftest.err
37410 cat conftest.err
>&5
37411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37412 (exit $ac_status); } && {
37413 test -z "$ac_c_werror_flag" ||
37414 test ! -s conftest.err
37415 } && test -s conftest
$ac_exeext &&
37416 $as_test_x conftest
$ac_exeext; then
37417 ac_cv_lib_w_wcslen
=yes
37419 echo "$as_me: failed program was:" >&5
37420 sed 's/^/| /' conftest.
$ac_ext >&5
37422 ac_cv_lib_w_wcslen
=no
37425 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37426 conftest
$ac_exeext conftest.
$ac_ext
37427 LIBS
=$ac_check_lib_save_LIBS
37429 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37430 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37431 if test $ac_cv_lib_w_wcslen = yes; then
37441 if test "$WCSLEN_FOUND" = 1; then
37442 cat >>confdefs.h
<<\_ACEOF
37443 #define HAVE_WCSLEN 1
37449 for ac_func
in wcsdup
37451 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37452 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37454 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37455 echo $ECHO_N "(cached) $ECHO_C" >&6
37457 cat >conftest.
$ac_ext <<_ACEOF
37460 cat confdefs.h
>>conftest.
$ac_ext
37461 cat >>conftest.
$ac_ext <<_ACEOF
37462 /* end confdefs.h. */
37463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37465 #define $ac_func innocuous_$ac_func
37467 /* System header to define __stub macros and hopefully few prototypes,
37468 which can conflict with char $ac_func (); below.
37469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37470 <limits.h> exists even on freestanding compilers. */
37473 # include <limits.h>
37475 # include <assert.h>
37480 /* Override any GCC internal prototype to avoid an error.
37481 Use char because int might match the return type of a GCC
37482 builtin and then its argument prototype would still apply. */
37487 /* The GNU C library defines this for functions which it implements
37488 to always fail with ENOSYS. Some functions are actually named
37489 something starting with __ and the normal name is an alias. */
37490 #if defined __stub_$ac_func || defined __stub___$ac_func
37497 return $ac_func ();
37502 rm -f conftest.
$ac_objext conftest
$ac_exeext
37503 if { (ac_try
="$ac_link"
37504 case "(($ac_try" in
37505 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37506 *) ac_try_echo=$ac_try;;
37508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37509 (eval "$ac_link") 2>conftest.er1
37511 grep -v '^ *+' conftest.er1 >conftest.err
37513 cat conftest.err >&5
37514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37515 (exit $ac_status); } && {
37516 test -z "$ac_c_werror_flag" ||
37517 test ! -s conftest.err
37518 } && test -s conftest$ac_exeext &&
37519 $as_test_x conftest$ac_exeext; then
37520 eval "$as_ac_var=yes"
37522 echo "$as_me: failed program was:" >&5
37523 sed 's/^/| /' conftest.$ac_ext >&5
37525 eval "$as_ac_var=no"
37528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37529 conftest$ac_exeext conftest.$ac_ext
37531 ac_res=`eval echo '${'$as_ac_var'}'`
37532 { echo "$as_me:$LINENO: result: $ac_res" >&5
37533 echo "${ECHO_T}$ac_res" >&6; }
37534 if test `eval echo '${'$as_ac_var'}'` = yes; then
37535 cat >>confdefs.h <<_ACEOF
37536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37543 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37544 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37547 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37548 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37549 if test "${ac_cv_type_mbstate_t+set}" = set; then
37550 echo $ECHO_N "(cached) $ECHO_C" >&6
37552 cat >conftest.$ac_ext <<_ACEOF
37555 cat confdefs.h >>conftest.$ac_ext
37556 cat >>conftest.$ac_ext <<_ACEOF
37557 /* end confdefs.h. */
37560 typedef mbstate_t ac__type_new_;
37564 if ((ac__type_new_ *) 0)
37566 if (sizeof (ac__type_new_))
37572 rm -f conftest.$ac_objext
37573 if { (ac_try="$ac_compile"
37574 case "(($ac_try" in
37575 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37576 *) ac_try_echo
=$ac_try;;
37578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37579 (eval "$ac_compile") 2>conftest.er1
37581 grep -v '^ *+' conftest.er1
>conftest.err
37583 cat conftest.err
>&5
37584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37585 (exit $ac_status); } && {
37586 test -z "$ac_c_werror_flag" ||
37587 test ! -s conftest.err
37588 } && test -s conftest.
$ac_objext; then
37589 ac_cv_type_mbstate_t
=yes
37591 echo "$as_me: failed program was:" >&5
37592 sed 's/^/| /' conftest.
$ac_ext >&5
37594 ac_cv_type_mbstate_t
=no
37597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37599 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37600 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37601 if test $ac_cv_type_mbstate_t = yes; then
37603 cat >>confdefs.h
<<_ACEOF
37604 #define HAVE_MBSTATE_T 1
37608 for ac_func
in wcsrtombs
37610 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37611 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37613 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37614 echo $ECHO_N "(cached) $ECHO_C" >&6
37616 cat >conftest.
$ac_ext <<_ACEOF
37619 cat confdefs.h
>>conftest.
$ac_ext
37620 cat >>conftest.
$ac_ext <<_ACEOF
37621 /* end confdefs.h. */
37622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37624 #define $ac_func innocuous_$ac_func
37626 /* System header to define __stub macros and hopefully few prototypes,
37627 which can conflict with char $ac_func (); below.
37628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37629 <limits.h> exists even on freestanding compilers. */
37632 # include <limits.h>
37634 # include <assert.h>
37639 /* Override any GCC internal prototype to avoid an error.
37640 Use char because int might match the return type of a GCC
37641 builtin and then its argument prototype would still apply. */
37646 /* The GNU C library defines this for functions which it implements
37647 to always fail with ENOSYS. Some functions are actually named
37648 something starting with __ and the normal name is an alias. */
37649 #if defined __stub_$ac_func || defined __stub___$ac_func
37656 return $ac_func ();
37661 rm -f conftest.
$ac_objext conftest
$ac_exeext
37662 if { (ac_try
="$ac_link"
37663 case "(($ac_try" in
37664 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37665 *) ac_try_echo=$ac_try;;
37667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37668 (eval "$ac_link") 2>conftest.er1
37670 grep -v '^ *+' conftest.er1 >conftest.err
37672 cat conftest.err >&5
37673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37674 (exit $ac_status); } && {
37675 test -z "$ac_c_werror_flag" ||
37676 test ! -s conftest.err
37677 } && test -s conftest$ac_exeext &&
37678 $as_test_x conftest$ac_exeext; then
37679 eval "$as_ac_var=yes"
37681 echo "$as_me: failed program was:" >&5
37682 sed 's/^/| /' conftest.$ac_ext >&5
37684 eval "$as_ac_var=no"
37687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37688 conftest$ac_exeext conftest.$ac_ext
37690 ac_res=`eval echo '${'$as_ac_var'}'`
37691 { echo "$as_me:$LINENO: result: $ac_res" >&5
37692 echo "${ECHO_T}$ac_res" >&6; }
37693 if test `eval echo '${'$as_ac_var'}'` = yes; then
37694 cat >>confdefs.h <<_ACEOF
37695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37704 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37705 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37710 for ac_func in snprintf vsnprintf
37712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37713 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37715 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37716 echo $ECHO_N "(cached) $ECHO_C" >&6
37718 cat >conftest.$ac_ext <<_ACEOF
37721 cat confdefs.h >>conftest.$ac_ext
37722 cat >>conftest.$ac_ext <<_ACEOF
37723 /* end confdefs.h. */
37724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37726 #define $ac_func innocuous_$ac_func
37728 /* System header to define __stub macros and hopefully few prototypes,
37729 which can conflict with char $ac_func (); below.
37730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37731 <limits.h> exists even on freestanding compilers. */
37734 # include <limits.h>
37736 # include <assert.h>
37741 /* Override any GCC internal prototype to avoid an error.
37742 Use char because int might match the return type of a GCC
37743 builtin and then its argument prototype would still apply. */
37748 /* The GNU C library defines this for functions which it implements
37749 to always fail with ENOSYS. Some functions are actually named
37750 something starting with __ and the normal name is an alias. */
37751 #if defined __stub_$ac_func || defined __stub___$ac_func
37758 return $ac_func ();
37763 rm -f conftest.$ac_objext conftest$ac_exeext
37764 if { (ac_try="$ac_link"
37765 case "(($ac_try" in
37766 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37767 *) ac_try_echo
=$ac_try;;
37769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37770 (eval "$ac_link") 2>conftest.er1
37772 grep -v '^ *+' conftest.er1
>conftest.err
37774 cat conftest.err
>&5
37775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37776 (exit $ac_status); } && {
37777 test -z "$ac_c_werror_flag" ||
37778 test ! -s conftest.err
37779 } && test -s conftest
$ac_exeext &&
37780 $as_test_x conftest
$ac_exeext; then
37781 eval "$as_ac_var=yes"
37783 echo "$as_me: failed program was:" >&5
37784 sed 's/^/| /' conftest.
$ac_ext >&5
37786 eval "$as_ac_var=no"
37789 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37790 conftest
$ac_exeext conftest.
$ac_ext
37792 ac_res
=`eval echo '${'$as_ac_var'}'`
37793 { echo "$as_me:$LINENO: result: $ac_res" >&5
37794 echo "${ECHO_T}$ac_res" >&6; }
37795 if test `eval echo '${'$as_ac_var'}'` = yes; then
37796 cat >>confdefs.h
<<_ACEOF
37797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37804 if test "$ac_cv_func_vsnprintf" = "yes"; then
37805 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37806 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37807 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37808 echo $ECHO_N "(cached) $ECHO_C" >&6
37811 cat >conftest.
$ac_ext <<_ACEOF
37814 cat confdefs.h
>>conftest.
$ac_ext
37815 cat >>conftest.
$ac_ext <<_ACEOF
37816 /* end confdefs.h. */
37819 #include <stdarg.h>
37821 #if __MSL__ >= 0x6000
37823 using namespace std;
37833 vsnprintf(buf, 10u, "%s", ap);
37839 rm -f conftest.
$ac_objext
37840 if { (ac_try
="$ac_compile"
37841 case "(($ac_try" in
37842 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37843 *) ac_try_echo=$ac_try;;
37845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37846 (eval "$ac_compile") 2>conftest.er1
37848 grep -v '^ *+' conftest.er1 >conftest.err
37850 cat conftest.err >&5
37851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37852 (exit $ac_status); } && {
37853 test -z "$ac_c_werror_flag" ||
37854 test ! -s conftest.err
37855 } && test -s conftest.$ac_objext; then
37856 wx_cv_func_vsnprintf_decl=yes
37858 echo "$as_me: failed program was:" >&5
37859 sed 's/^/| /' conftest.$ac_ext >&5
37861 wx_cv_func_vsnprintf_decl=no
37865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37869 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37870 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37872 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37873 cat >>confdefs.h <<\_ACEOF
37874 #define HAVE_VSNPRINTF_DECL 1
37878 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37879 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37880 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37881 echo $ECHO_N "(cached) $ECHO_C" >&6
37884 cat >conftest.$ac_ext <<_ACEOF
37887 cat confdefs.h >>conftest.$ac_ext
37888 cat >>conftest.$ac_ext <<_ACEOF
37889 /* end confdefs.h. */
37892 #include <stdarg.h>
37894 #if __MSL__ >= 0x6000
37896 using namespace std;
37906 const char *fmt = "%s";
37907 vsnprintf(buf, 10u, fmt, ap);
37913 rm -f conftest.$ac_objext
37914 if { (ac_try="$ac_compile"
37915 case "(($ac_try" in
37916 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37917 *) ac_try_echo
=$ac_try;;
37919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37920 (eval "$ac_compile") 2>conftest.er1
37922 grep -v '^ *+' conftest.er1
>conftest.err
37924 cat conftest.err
>&5
37925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37926 (exit $ac_status); } && {
37927 test -z "$ac_c_werror_flag" ||
37928 test ! -s conftest.err
37929 } && test -s conftest.
$ac_objext; then
37930 wx_cv_func_broken_vsnprintf_decl
=no
37932 echo "$as_me: failed program was:" >&5
37933 sed 's/^/| /' conftest.
$ac_ext >&5
37935 wx_cv_func_broken_vsnprintf_decl
=yes
37939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37943 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37944 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37946 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37947 cat >>confdefs.h
<<\_ACEOF
37948 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37955 if test "$ac_cv_func_snprintf" = "yes"; then
37956 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37957 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37958 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37959 echo $ECHO_N "(cached) $ECHO_C" >&6
37962 cat >conftest.
$ac_ext <<_ACEOF
37965 cat confdefs.h
>>conftest.
$ac_ext
37966 cat >>conftest.
$ac_ext <<_ACEOF
37967 /* end confdefs.h. */
37970 #include <stdarg.h>
37972 #if __MSL__ >= 0x6000
37974 using namespace std;
37983 snprintf(buf, 10u, "%s", "wx");
37989 rm -f conftest.
$ac_objext
37990 if { (ac_try
="$ac_compile"
37991 case "(($ac_try" in
37992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37993 *) ac_try_echo=$ac_try;;
37995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37996 (eval "$ac_compile") 2>conftest.er1
37998 grep -v '^ *+' conftest.er1 >conftest.err
38000 cat conftest.err >&5
38001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38002 (exit $ac_status); } && {
38003 test -z "$ac_c_werror_flag" ||
38004 test ! -s conftest.err
38005 } && test -s conftest.$ac_objext; then
38006 wx_cv_func_snprintf_decl=yes
38008 echo "$as_me: failed program was:" >&5
38009 sed 's/^/| /' conftest.$ac_ext >&5
38011 wx_cv_func_snprintf_decl=no
38015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38019 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38020 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38022 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38023 cat >>confdefs.h <<\_ACEOF
38024 #define HAVE_SNPRINTF_DECL 1
38029 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38031 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38032 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38033 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38034 echo $ECHO_N "(cached) $ECHO_C" >&6
38037 if test "$cross_compiling" = yes; then
38039 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38040 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38041 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38042 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38043 wx_cv_func_snprintf_pos_params=no
38047 cat >conftest.$ac_ext <<_ACEOF
38050 cat confdefs.h >>conftest.$ac_ext
38051 cat >>conftest.$ac_ext <<_ACEOF
38052 /* end confdefs.h. */
38059 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38060 if (strcmp ("2 3 1", buffer) == 0)
38066 rm -f conftest$ac_exeext
38067 if { (ac_try="$ac_link"
38068 case "(($ac_try" in
38069 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38070 *) ac_try_echo
=$ac_try;;
38072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38073 (eval "$ac_link") 2>&5
38075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38076 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
38077 { (case "(($ac_try" in
38078 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38079 *) ac_try_echo=$ac_try;;
38081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38082 (eval "$ac_try") 2>&5
38084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38085 (exit $ac_status); }; }; then
38086 wx_cv_func_snprintf_pos_params=no
38088 echo "$as_me: program exited with status $ac_status" >&5
38089 echo "$as_me: failed program was:" >&5
38090 sed 's/^/| /' conftest.$ac_ext >&5
38092 ( exit $ac_status )
38093 wx_cv_func_snprintf_pos_params=yes
38095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38102 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38103 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38105 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38106 cat >>confdefs.h <<\_ACEOF
38107 #define HAVE_UNIX98_PRINTF 1
38114 if test "$wxUSE_UNICODE" = yes; then
38116 wchar_headers="#include <stdio.h>
38117 #include <wchar.h>"
38121 for ac_header in widec.h
38123 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38124 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38126 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38127 echo $ECHO_N "(cached) $ECHO_C" >&6
38129 cat >conftest.$ac_ext <<_ACEOF
38132 cat confdefs.h >>conftest.$ac_ext
38133 cat >>conftest.$ac_ext <<_ACEOF
38134 /* end confdefs.h. */
38135 $ac_includes_default
38137 #include <$ac_header>
38139 rm -f conftest.$ac_objext
38140 if { (ac_try="$ac_compile"
38141 case "(($ac_try" in
38142 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38143 *) ac_try_echo
=$ac_try;;
38145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38146 (eval "$ac_compile") 2>conftest.er1
38148 grep -v '^ *+' conftest.er1
>conftest.err
38150 cat conftest.err
>&5
38151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38152 (exit $ac_status); } && {
38153 test -z "$ac_c_werror_flag" ||
38154 test ! -s conftest.err
38155 } && test -s conftest.
$ac_objext; then
38156 eval "$as_ac_Header=yes"
38158 echo "$as_me: failed program was:" >&5
38159 sed 's/^/| /' conftest.
$ac_ext >&5
38161 eval "$as_ac_Header=no"
38164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38166 ac_res
=`eval echo '${'$as_ac_Header'}'`
38167 { echo "$as_me:$LINENO: result: $ac_res" >&5
38168 echo "${ECHO_T}$ac_res" >&6; }
38169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38170 cat >>confdefs.h
<<_ACEOF
38171 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38178 if test "$ac_cv_header_widec_h" = "yes"; then
38179 wchar_headers
="$wchar_headers
38180 #include <widec.h>"
38185 for wx_func
in putws fputws wprintf vswprintf
38187 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38188 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38189 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38190 echo $ECHO_N "(cached) $ECHO_C" >&6
38193 cat >conftest.
$ac_ext <<_ACEOF
38197 cat confdefs.h
>>conftest.
$ac_ext
38198 cat >>conftest.
$ac_ext <<_ACEOF
38199 /* end confdefs.h. */
38202 $ac_includes_default
38218 rm -f conftest.
$ac_objext conftest
$ac_exeext
38219 if { (ac_try
="$ac_link"
38220 case "(($ac_try" in
38221 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38222 *) ac_try_echo=$ac_try;;
38224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38225 (eval "$ac_link") 2>conftest.er1
38227 grep -v '^ *+' conftest.er1 >conftest.err
38229 cat conftest.err >&5
38230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38231 (exit $ac_status); } && {
38232 test -z "$ac_c_werror_flag" ||
38233 test ! -s conftest.err
38234 } && test -s conftest$ac_exeext &&
38235 $as_test_x conftest$ac_exeext; then
38236 eval wx_cv_func_$wx_func=yes
38238 echo "$as_me: failed program was:" >&5
38239 sed 's/^/| /' conftest.$ac_ext >&5
38241 eval wx_cv_func_$wx_func=no
38244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38245 conftest$ac_exeext conftest.$ac_ext
38248 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38249 { echo "$as_me:$LINENO: result: $ac_res" >&5
38250 echo "${ECHO_T}$ac_res" >&6; }
38252 if eval test \$wx_cv_func_$wx_func = yes
38254 cat >>confdefs.h <<_ACEOF
38255 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38266 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38267 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38268 cat >conftest.$ac_ext <<_ACEOF
38271 cat confdefs.h >>conftest.$ac_ext
38272 cat >>conftest.$ac_ext <<_ACEOF
38273 /* end confdefs.h. */
38283 rm -f conftest.$ac_objext
38284 if { (ac_try="$ac_compile"
38285 case "(($ac_try" in
38286 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38287 *) ac_try_echo
=$ac_try;;
38289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38290 (eval "$ac_compile") 2>conftest.er1
38292 grep -v '^ *+' conftest.er1
>conftest.err
38294 cat conftest.err
>&5
38295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38296 (exit $ac_status); } && {
38297 test -z "$ac_c_werror_flag" ||
38298 test ! -s conftest.err
38299 } && test -s conftest.
$ac_objext; then
38300 { echo "$as_me:$LINENO: result: yes" >&5
38301 echo "${ECHO_T}yes" >&6; }
38302 cat >>confdefs.h
<<\_ACEOF
38303 #define HAVE__VSNWPRINTF 1
38307 echo "$as_me: failed program was:" >&5
38308 sed 's/^/| /' conftest.
$ac_ext >&5
38310 { echo "$as_me:$LINENO: result: no" >&5
38311 echo "${ECHO_T}no" >&6; }
38314 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
38317 if test "$wxUSE_FILE" = "yes"; then
38319 for wx_func
in fsync
38321 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38322 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38323 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38324 echo $ECHO_N "(cached) $ECHO_C" >&6
38327 cat >conftest.
$ac_ext <<_ACEOF
38331 cat confdefs.h
>>conftest.
$ac_ext
38332 cat >>conftest.
$ac_ext <<_ACEOF
38333 /* end confdefs.h. */
38336 $ac_includes_default
38352 rm -f conftest.
$ac_objext conftest
$ac_exeext
38353 if { (ac_try
="$ac_link"
38354 case "(($ac_try" in
38355 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38356 *) ac_try_echo=$ac_try;;
38358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38359 (eval "$ac_link") 2>conftest.er1
38361 grep -v '^ *+' conftest.er1 >conftest.err
38363 cat conftest.err >&5
38364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38365 (exit $ac_status); } && {
38366 test -z "$ac_c_werror_flag" ||
38367 test ! -s conftest.err
38368 } && test -s conftest$ac_exeext &&
38369 $as_test_x conftest$ac_exeext; then
38370 eval wx_cv_func_$wx_func=yes
38372 echo "$as_me: failed program was:" >&5
38373 sed 's/^/| /' conftest.$ac_ext >&5
38375 eval wx_cv_func_$wx_func=no
38378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38379 conftest$ac_exeext conftest.$ac_ext
38382 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38383 { echo "$as_me:$LINENO: result: $ac_res" >&5
38384 echo "${ECHO_T}$ac_res" >&6; }
38386 if eval test \$wx_cv_func_$wx_func = yes
38388 cat >>confdefs.h <<_ACEOF
38389 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38402 ac_cpp='$CXXCPP $CPPFLAGS'
38403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38408 for wx_func in round
38410 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38411 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38412 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38413 echo $ECHO_N "(cached) $ECHO_C" >&6
38416 cat >conftest.$ac_ext <<_ACEOF
38420 cat confdefs.h >>conftest.$ac_ext
38421 cat >>conftest.$ac_ext <<_ACEOF
38422 /* end confdefs.h. */
38425 $ac_includes_default
38441 rm -f conftest.$ac_objext conftest$ac_exeext
38442 if { (ac_try="$ac_link"
38443 case "(($ac_try" in
38444 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38445 *) ac_try_echo
=$ac_try;;
38447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38448 (eval "$ac_link") 2>conftest.er1
38450 grep -v '^ *+' conftest.er1
>conftest.err
38452 cat conftest.err
>&5
38453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38454 (exit $ac_status); } && {
38455 test -z "$ac_cxx_werror_flag" ||
38456 test ! -s conftest.err
38457 } && test -s conftest
$ac_exeext &&
38458 $as_test_x conftest
$ac_exeext; then
38459 eval wx_cv_func_
$wx_func=yes
38461 echo "$as_me: failed program was:" >&5
38462 sed 's/^/| /' conftest.
$ac_ext >&5
38464 eval wx_cv_func_
$wx_func=no
38467 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38468 conftest
$ac_exeext conftest.
$ac_ext
38471 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38472 { echo "$as_me:$LINENO: result: $ac_res" >&5
38473 echo "${ECHO_T}$ac_res" >&6; }
38475 if eval test \
$wx_cv_func_$wx_func = yes
38477 cat >>confdefs.h
<<_ACEOF
38478 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38489 ac_cpp
='$CPP $CPPFLAGS'
38490 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38491 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38492 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38495 if test "$TOOLKIT" != "MSW"; then
38501 # Check whether --with-libiconv-prefix was given.
38502 if test "${with_libiconv_prefix+set}" = set; then
38503 withval
=$with_libiconv_prefix;
38504 for dir
in `echo "$withval" | tr : ' '`; do
38505 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
38506 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
38512 { echo "$as_me:$LINENO: checking for iconv" >&5
38513 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38514 if test "${am_cv_func_iconv+set}" = set; then
38515 echo $ECHO_N "(cached) $ECHO_C" >&6
38518 am_cv_func_iconv
="no, consider installing GNU libiconv"
38520 cat >conftest.
$ac_ext <<_ACEOF
38523 cat confdefs.h
>>conftest.
$ac_ext
38524 cat >>conftest.
$ac_ext <<_ACEOF
38525 /* end confdefs.h. */
38526 #include <stdlib.h>
38531 iconv_t cd = iconv_open("","");
38532 iconv(cd,NULL,NULL,NULL,NULL);
38538 rm -f conftest.
$ac_objext conftest
$ac_exeext
38539 if { (ac_try
="$ac_link"
38540 case "(($ac_try" in
38541 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38542 *) ac_try_echo=$ac_try;;
38544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38545 (eval "$ac_link") 2>conftest.er1
38547 grep -v '^ *+' conftest.er1 >conftest.err
38549 cat conftest.err >&5
38550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38551 (exit $ac_status); } && {
38552 test -z "$ac_c_werror_flag" ||
38553 test ! -s conftest.err
38554 } && test -s conftest$ac_exeext &&
38555 $as_test_x conftest$ac_exeext; then
38556 am_cv_func_iconv=yes
38558 echo "$as_me: failed program was:" >&5
38559 sed 's/^/| /' conftest.$ac_ext >&5
38564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38565 conftest$ac_exeext conftest.$ac_ext
38566 if test "$am_cv_func_iconv" != yes; then
38567 am_save_LIBS="$LIBS"
38568 LIBS="$LIBS -liconv"
38569 cat >conftest.$ac_ext <<_ACEOF
38572 cat confdefs.h >>conftest.$ac_ext
38573 cat >>conftest.$ac_ext <<_ACEOF
38574 /* end confdefs.h. */
38575 #include <stdlib.h>
38580 iconv_t cd = iconv_open("","");
38581 iconv(cd,NULL,NULL,NULL,NULL);
38587 rm -f conftest.$ac_objext conftest$ac_exeext
38588 if { (ac_try="$ac_link"
38589 case "(($ac_try" in
38590 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38591 *) ac_try_echo
=$ac_try;;
38593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38594 (eval "$ac_link") 2>conftest.er1
38596 grep -v '^ *+' conftest.er1
>conftest.err
38598 cat conftest.err
>&5
38599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38600 (exit $ac_status); } && {
38601 test -z "$ac_c_werror_flag" ||
38602 test ! -s conftest.err
38603 } && test -s conftest
$ac_exeext &&
38604 $as_test_x conftest
$ac_exeext; then
38605 am_cv_lib_iconv
=yes
38606 am_cv_func_iconv
=yes
38608 echo "$as_me: failed program was:" >&5
38609 sed 's/^/| /' conftest.
$ac_ext >&5
38614 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38615 conftest
$ac_exeext conftest.
$ac_ext
38616 LIBS
="$am_save_LIBS"
38620 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38621 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38622 if test "$am_cv_func_iconv" = yes; then
38624 cat >>confdefs.h
<<\_ACEOF
38625 #define HAVE_ICONV 1
38628 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38629 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38630 if test "${wx_cv_func_iconv_const+set}" = set; then
38631 echo $ECHO_N "(cached) $ECHO_C" >&6
38633 cat >conftest.
$ac_ext <<_ACEOF
38636 cat confdefs.h
>>conftest.
$ac_ext
38637 cat >>conftest.
$ac_ext <<_ACEOF
38638 /* end confdefs.h. */
38640 #include <stdlib.h>
38646 #if defined(__STDC__) || defined(__cplusplus)
38647 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38660 rm -f conftest.
$ac_objext
38661 if { (ac_try
="$ac_compile"
38662 case "(($ac_try" in
38663 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38664 *) ac_try_echo=$ac_try;;
38666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38667 (eval "$ac_compile") 2>conftest.er1
38669 grep -v '^ *+' conftest.er1 >conftest.err
38671 cat conftest.err >&5
38672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38673 (exit $ac_status); } && {
38674 test -z "$ac_c_werror_flag" ||
38675 test ! -s conftest.err
38676 } && test -s conftest.$ac_objext; then
38677 wx_cv_func_iconv_const="no"
38679 echo "$as_me: failed program was:" >&5
38680 sed 's/^/| /' conftest.$ac_ext >&5
38682 wx_cv_func_iconv_const="yes"
38686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38689 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38690 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38693 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38694 iconv_const="const"
38698 cat >>confdefs.h <<_ACEOF
38699 #define ICONV_CONST $iconv_const
38704 if test "$am_cv_lib_iconv" = yes; then
38709 LIBS="$LIBICONV $LIBS"
38711 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38713 for ac_func in sigaction
38715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38716 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38718 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38719 echo $ECHO_N "(cached) $ECHO_C" >&6
38721 cat >conftest.$ac_ext <<_ACEOF
38724 cat confdefs.h >>conftest.$ac_ext
38725 cat >>conftest.$ac_ext <<_ACEOF
38726 /* end confdefs.h. */
38727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38729 #define $ac_func innocuous_$ac_func
38731 /* System header to define __stub macros and hopefully few prototypes,
38732 which can conflict with char $ac_func (); below.
38733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38734 <limits.h> exists even on freestanding compilers. */
38737 # include <limits.h>
38739 # include <assert.h>
38744 /* Override any GCC internal prototype to avoid an error.
38745 Use char because int might match the return type of a GCC
38746 builtin and then its argument prototype would still apply. */
38751 /* The GNU C library defines this for functions which it implements
38752 to always fail with ENOSYS. Some functions are actually named
38753 something starting with __ and the normal name is an alias. */
38754 #if defined __stub_$ac_func || defined __stub___$ac_func
38761 return $ac_func ();
38766 rm -f conftest.$ac_objext conftest$ac_exeext
38767 if { (ac_try="$ac_link"
38768 case "(($ac_try" in
38769 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38770 *) ac_try_echo
=$ac_try;;
38772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38773 (eval "$ac_link") 2>conftest.er1
38775 grep -v '^ *+' conftest.er1
>conftest.err
38777 cat conftest.err
>&5
38778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38779 (exit $ac_status); } && {
38780 test -z "$ac_c_werror_flag" ||
38781 test ! -s conftest.err
38782 } && test -s conftest
$ac_exeext &&
38783 $as_test_x conftest
$ac_exeext; then
38784 eval "$as_ac_var=yes"
38786 echo "$as_me: failed program was:" >&5
38787 sed 's/^/| /' conftest.
$ac_ext >&5
38789 eval "$as_ac_var=no"
38792 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38793 conftest
$ac_exeext conftest.
$ac_ext
38795 ac_res
=`eval echo '${'$as_ac_var'}'`
38796 { echo "$as_me:$LINENO: result: $ac_res" >&5
38797 echo "${ECHO_T}$ac_res" >&6; }
38798 if test `eval echo '${'$as_ac_var'}'` = yes; then
38799 cat >>confdefs.h
<<_ACEOF
38800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38807 if test "$ac_cv_func_sigaction" = "no"; then
38808 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38809 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38810 wxUSE_ON_FATAL_EXCEPTION
=no
38813 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38814 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38815 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38816 if test "${wx_cv_type_sa_handler+set}" = set; then
38817 echo $ECHO_N "(cached) $ECHO_C" >&6
38821 ac_cpp
='$CXXCPP $CPPFLAGS'
38822 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38823 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38824 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38826 cat >conftest.
$ac_ext <<_ACEOF
38829 cat confdefs.h
>>conftest.
$ac_ext
38830 cat >>conftest.
$ac_ext <<_ACEOF
38831 /* end confdefs.h. */
38832 #include <signal.h>
38837 extern void testSigHandler(int);
38839 struct sigaction sa;
38840 sa.sa_handler = testSigHandler;
38846 rm -f conftest.
$ac_objext
38847 if { (ac_try
="$ac_compile"
38848 case "(($ac_try" in
38849 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38850 *) ac_try_echo=$ac_try;;
38852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38853 (eval "$ac_compile") 2>conftest.er1
38855 grep -v '^ *+' conftest.er1 >conftest.err
38857 cat conftest.err >&5
38858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38859 (exit $ac_status); } && {
38860 test -z "$ac_cxx_werror_flag" ||
38861 test ! -s conftest.err
38862 } && test -s conftest.$ac_objext; then
38864 wx_cv_type_sa_handler=int
38867 echo "$as_me: failed program was:" >&5
38868 sed 's/^/| /' conftest.$ac_ext >&5
38871 wx_cv_type_sa_handler=void
38875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38877 ac_cpp='$CPP $CPPFLAGS'
38878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38884 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38885 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38887 cat >>confdefs.h <<_ACEOF
38888 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38894 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38895 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38896 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38897 if test "${wx_cv_func_backtrace+set}" = set; then
38898 echo $ECHO_N "(cached) $ECHO_C" >&6
38902 ac_cpp='$CXXCPP $CPPFLAGS'
38903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38907 cat >conftest.$ac_ext <<_ACEOF
38910 cat confdefs.h >>conftest.$ac_ext
38911 cat >>conftest.$ac_ext <<_ACEOF
38912 /* end confdefs.h. */
38913 #include <execinfo.h>
38921 backtrace(trace, 1);
38922 messages = backtrace_symbols(trace, 1);
38928 rm -f conftest.$ac_objext
38929 if { (ac_try="$ac_compile"
38930 case "(($ac_try" in
38931 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38932 *) ac_try_echo
=$ac_try;;
38934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38935 (eval "$ac_compile") 2>conftest.er1
38937 grep -v '^ *+' conftest.er1
>conftest.err
38939 cat conftest.err
>&5
38940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38941 (exit $ac_status); } && {
38942 test -z "$ac_cxx_werror_flag" ||
38943 test ! -s conftest.err
38944 } && test -s conftest.
$ac_objext; then
38945 wx_cv_func_backtrace
=yes
38947 echo "$as_me: failed program was:" >&5
38948 sed 's/^/| /' conftest.
$ac_ext >&5
38950 wx_cv_func_backtrace
=no
38954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38956 ac_cpp
='$CPP $CPPFLAGS'
38957 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38958 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38959 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38964 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38965 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38968 if test "$wx_cv_func_backtrace" = "no"; then
38969 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38970 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38971 wxUSE_STACKWALKER
=no
38973 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38974 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38975 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38976 echo $ECHO_N "(cached) $ECHO_C" >&6
38980 ac_cpp
='$CXXCPP $CPPFLAGS'
38981 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38982 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38983 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38985 cat >conftest.
$ac_ext <<_ACEOF
38988 cat confdefs.h
>>conftest.
$ac_ext
38989 cat >>conftest.
$ac_ext <<_ACEOF
38990 /* end confdefs.h. */
38991 #include <cxxabi.h>
38997 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39003 rm -f conftest.
$ac_objext conftest
$ac_exeext
39004 if { (ac_try
="$ac_link"
39005 case "(($ac_try" in
39006 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39007 *) ac_try_echo=$ac_try;;
39009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39010 (eval "$ac_link") 2>conftest.er1
39012 grep -v '^ *+' conftest.er1 >conftest.err
39014 cat conftest.err >&5
39015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39016 (exit $ac_status); } && {
39017 test -z "$ac_cxx_werror_flag" ||
39018 test ! -s conftest.err
39019 } && test -s conftest$ac_exeext &&
39020 $as_test_x conftest$ac_exeext; then
39021 wx_cv_func_cxa_demangle=yes
39023 echo "$as_me: failed program was:" >&5
39024 sed 's/^/| /' conftest.$ac_ext >&5
39026 wx_cv_func_cxa_demangle=no
39030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39031 conftest$ac_exeext conftest.$ac_ext
39033 ac_cpp='$CPP $CPPFLAGS'
39034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39041 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39042 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39044 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39045 cat >>confdefs.h <<\_ACEOF
39046 #define HAVE_CXA_DEMANGLE 1
39053 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39054 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39055 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39056 wxUSE_STACKWALKER=no
39062 for ac_func in mkstemp mktemp
39064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39065 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39067 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39068 echo $ECHO_N "(cached) $ECHO_C" >&6
39070 cat >conftest.$ac_ext <<_ACEOF
39073 cat confdefs.h >>conftest.$ac_ext
39074 cat >>conftest.$ac_ext <<_ACEOF
39075 /* end confdefs.h. */
39076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39078 #define $ac_func innocuous_$ac_func
39080 /* System header to define __stub macros and hopefully few prototypes,
39081 which can conflict with char $ac_func (); below.
39082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39083 <limits.h> exists even on freestanding compilers. */
39086 # include <limits.h>
39088 # include <assert.h>
39093 /* Override any GCC internal prototype to avoid an error.
39094 Use char because int might match the return type of a GCC
39095 builtin and then its argument prototype would still apply. */
39100 /* The GNU C library defines this for functions which it implements
39101 to always fail with ENOSYS. Some functions are actually named
39102 something starting with __ and the normal name is an alias. */
39103 #if defined __stub_$ac_func || defined __stub___$ac_func
39110 return $ac_func ();
39115 rm -f conftest.$ac_objext conftest$ac_exeext
39116 if { (ac_try="$ac_link"
39117 case "(($ac_try" in
39118 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39119 *) ac_try_echo
=$ac_try;;
39121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39122 (eval "$ac_link") 2>conftest.er1
39124 grep -v '^ *+' conftest.er1
>conftest.err
39126 cat conftest.err
>&5
39127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39128 (exit $ac_status); } && {
39129 test -z "$ac_c_werror_flag" ||
39130 test ! -s conftest.err
39131 } && test -s conftest
$ac_exeext &&
39132 $as_test_x conftest
$ac_exeext; then
39133 eval "$as_ac_var=yes"
39135 echo "$as_me: failed program was:" >&5
39136 sed 's/^/| /' conftest.
$ac_ext >&5
39138 eval "$as_ac_var=no"
39141 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39142 conftest
$ac_exeext conftest.
$ac_ext
39144 ac_res
=`eval echo '${'$as_ac_var'}'`
39145 { echo "$as_me:$LINENO: result: $ac_res" >&5
39146 echo "${ECHO_T}$ac_res" >&6; }
39147 if test `eval echo '${'$as_ac_var'}'` = yes; then
39148 cat >>confdefs.h
<<_ACEOF
39149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39156 { echo "$as_me:$LINENO: checking for statfs" >&5
39157 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39158 if test "${wx_cv_func_statfs+set}" = set; then
39159 echo $ECHO_N "(cached) $ECHO_C" >&6
39161 cat >conftest.
$ac_ext <<_ACEOF
39164 cat confdefs.h
>>conftest.
$ac_ext
39165 cat >>conftest.
$ac_ext <<_ACEOF
39166 /* end confdefs.h. */
39168 #if defined(__BSD__)
39169 #include <sys/param.h>
39170 #include <sys/mount.h>
39172 #include <sys/vfs.h>
39190 rm -f conftest.
$ac_objext
39191 if { (ac_try
="$ac_compile"
39192 case "(($ac_try" in
39193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39194 *) ac_try_echo=$ac_try;;
39196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39197 (eval "$ac_compile") 2>conftest.er1
39199 grep -v '^ *+' conftest.er1 >conftest.err
39201 cat conftest.err >&5
39202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39203 (exit $ac_status); } && {
39204 test -z "$ac_c_werror_flag" ||
39205 test ! -s conftest.err
39206 } && test -s conftest.$ac_objext; then
39207 wx_cv_func_statfs=yes
39209 echo "$as_me: failed program was:" >&5
39210 sed 's/^/| /' conftest.$ac_ext >&5
39212 wx_cv_func_statfs=no
39216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39219 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39220 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39222 if test "$wx_cv_func_statfs" = "yes"; then
39223 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39224 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39225 if test "${wx_cv_func_statfs_decl+set}" = set; then
39226 echo $ECHO_N "(cached) $ECHO_C" >&6
39229 ac_cpp='$CXXCPP $CPPFLAGS'
39230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39234 cat >conftest.$ac_ext <<_ACEOF
39237 cat confdefs.h >>conftest.$ac_ext
39238 cat >>conftest.$ac_ext <<_ACEOF
39239 /* end confdefs.h. */
39241 #if defined(__BSD__)
39242 #include <sys/param.h>
39243 #include <sys/mount.h>
39245 #include <sys/vfs.h>
39259 rm -f conftest.$ac_objext
39260 if { (ac_try="$ac_compile"
39261 case "(($ac_try" in
39262 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39263 *) ac_try_echo
=$ac_try;;
39265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39266 (eval "$ac_compile") 2>conftest.er1
39268 grep -v '^ *+' conftest.er1
>conftest.err
39270 cat conftest.err
>&5
39271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39272 (exit $ac_status); } && {
39273 test -z "$ac_cxx_werror_flag" ||
39274 test ! -s conftest.err
39275 } && test -s conftest.
$ac_objext; then
39276 wx_cv_func_statfs_decl
=yes
39278 echo "$as_me: failed program was:" >&5
39279 sed 's/^/| /' conftest.
$ac_ext >&5
39281 wx_cv_func_statfs_decl
=no
39285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39287 ac_cpp
='$CPP $CPPFLAGS'
39288 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39289 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39290 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39294 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39295 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39297 if test "$wx_cv_func_statfs_decl" = "yes"; then
39298 cat >>confdefs.h
<<\_ACEOF
39299 #define HAVE_STATFS_DECL 1
39304 wx_cv_type_statvfs_t
="struct statfs"
39305 cat >>confdefs.h
<<\_ACEOF
39306 #define HAVE_STATFS 1
39310 { echo "$as_me:$LINENO: checking for statvfs" >&5
39311 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39312 if test "${wx_cv_func_statvfs+set}" = set; then
39313 echo $ECHO_N "(cached) $ECHO_C" >&6
39315 cat >conftest.
$ac_ext <<_ACEOF
39318 cat confdefs.h
>>conftest.
$ac_ext
39319 cat >>conftest.
$ac_ext <<_ACEOF
39320 /* end confdefs.h. */
39322 #include <stddef.h>
39323 #include <sys/statvfs.h>
39329 statvfs("/", NULL);
39335 rm -f conftest.
$ac_objext
39336 if { (ac_try
="$ac_compile"
39337 case "(($ac_try" in
39338 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39339 *) ac_try_echo=$ac_try;;
39341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39342 (eval "$ac_compile") 2>conftest.er1
39344 grep -v '^ *+' conftest.er1 >conftest.err
39346 cat conftest.err >&5
39347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39348 (exit $ac_status); } && {
39349 test -z "$ac_c_werror_flag" ||
39350 test ! -s conftest.err
39351 } && test -s conftest.$ac_objext; then
39352 wx_cv_func_statvfs=yes
39354 echo "$as_me: failed program was:" >&5
39355 sed 's/^/| /' conftest.$ac_ext >&5
39357 wx_cv_func_statvfs=no
39361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39364 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39365 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39367 if test "$wx_cv_func_statvfs" = "yes"; then
39368 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39369 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39370 if test "${wx_cv_type_statvfs_t+set}" = set; then
39371 echo $ECHO_N "(cached) $ECHO_C" >&6
39374 ac_cpp='$CXXCPP $CPPFLAGS'
39375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39379 cat >conftest.$ac_ext <<_ACEOF
39382 cat confdefs.h >>conftest.$ac_ext
39383 cat >>conftest.$ac_ext <<_ACEOF
39384 /* end confdefs.h. */
39386 #include <sys/statvfs.h>
39403 rm -f conftest.$ac_objext
39404 if { (ac_try="$ac_compile"
39405 case "(($ac_try" in
39406 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39407 *) ac_try_echo
=$ac_try;;
39409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39410 (eval "$ac_compile") 2>conftest.er1
39412 grep -v '^ *+' conftest.er1
>conftest.err
39414 cat conftest.err
>&5
39415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39416 (exit $ac_status); } && {
39417 test -z "$ac_cxx_werror_flag" ||
39418 test ! -s conftest.err
39419 } && test -s conftest.
$ac_objext; then
39420 wx_cv_type_statvfs_t
=statvfs_t
39422 echo "$as_me: failed program was:" >&5
39423 sed 's/^/| /' conftest.
$ac_ext >&5
39426 cat >conftest.
$ac_ext <<_ACEOF
39429 cat confdefs.h
>>conftest.
$ac_ext
39430 cat >>conftest.
$ac_ext <<_ACEOF
39431 /* end confdefs.h. */
39433 #include <sys/statvfs.h>
39450 rm -f conftest.
$ac_objext
39451 if { (ac_try
="$ac_compile"
39452 case "(($ac_try" in
39453 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39454 *) ac_try_echo=$ac_try;;
39456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39457 (eval "$ac_compile") 2>conftest.er1
39459 grep -v '^ *+' conftest.er1 >conftest.err
39461 cat conftest.err >&5
39462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39463 (exit $ac_status); } && {
39464 test -z "$ac_cxx_werror_flag" ||
39465 test ! -s conftest.err
39466 } && test -s conftest.$ac_objext; then
39467 wx_cv_type_statvfs_t="struct statvfs"
39469 echo "$as_me: failed program was:" >&5
39470 sed 's/^/| /' conftest.$ac_ext >&5
39472 wx_cv_type_statvfs_t="unknown"
39476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39483 ac_cpp='$CPP $CPPFLAGS'
39484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39490 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39491 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39493 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39494 cat >>confdefs.h <<\_ACEOF
39495 #define HAVE_STATVFS 1
39500 wx_cv_type_statvfs_t="unknown"
39504 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39505 cat >>confdefs.h <<_ACEOF
39506 #define WX_STATFS_T $wx_cv_type_statvfs_t
39510 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39511 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39514 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39517 for ac_func in fcntl flock
39519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39520 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39522 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39523 echo $ECHO_N "(cached) $ECHO_C" >&6
39525 cat >conftest.$ac_ext <<_ACEOF
39528 cat confdefs.h >>conftest.$ac_ext
39529 cat >>conftest.$ac_ext <<_ACEOF
39530 /* end confdefs.h. */
39531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39533 #define $ac_func innocuous_$ac_func
39535 /* System header to define __stub macros and hopefully few prototypes,
39536 which can conflict with char $ac_func (); below.
39537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39538 <limits.h> exists even on freestanding compilers. */
39541 # include <limits.h>
39543 # include <assert.h>
39548 /* Override any GCC internal prototype to avoid an error.
39549 Use char because int might match the return type of a GCC
39550 builtin and then its argument prototype would still apply. */
39555 /* The GNU C library defines this for functions which it implements
39556 to always fail with ENOSYS. Some functions are actually named
39557 something starting with __ and the normal name is an alias. */
39558 #if defined __stub_$ac_func || defined __stub___$ac_func
39565 return $ac_func ();
39570 rm -f conftest.$ac_objext conftest$ac_exeext
39571 if { (ac_try="$ac_link"
39572 case "(($ac_try" in
39573 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39574 *) ac_try_echo
=$ac_try;;
39576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39577 (eval "$ac_link") 2>conftest.er1
39579 grep -v '^ *+' conftest.er1
>conftest.err
39581 cat conftest.err
>&5
39582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39583 (exit $ac_status); } && {
39584 test -z "$ac_c_werror_flag" ||
39585 test ! -s conftest.err
39586 } && test -s conftest
$ac_exeext &&
39587 $as_test_x conftest
$ac_exeext; then
39588 eval "$as_ac_var=yes"
39590 echo "$as_me: failed program was:" >&5
39591 sed 's/^/| /' conftest.
$ac_ext >&5
39593 eval "$as_ac_var=no"
39596 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39597 conftest
$ac_exeext conftest.
$ac_ext
39599 ac_res
=`eval echo '${'$as_ac_var'}'`
39600 { echo "$as_me:$LINENO: result: $ac_res" >&5
39601 echo "${ECHO_T}$ac_res" >&6; }
39602 if test `eval echo '${'$as_ac_var'}'` = yes; then
39603 cat >>confdefs.h
<<_ACEOF
39604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39611 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39612 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39613 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39614 wxUSE_SNGLINST_CHECKER
=no
39620 for ac_func
in setenv putenv
39622 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39623 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39625 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39626 echo $ECHO_N "(cached) $ECHO_C" >&6
39628 cat >conftest.
$ac_ext <<_ACEOF
39631 cat confdefs.h
>>conftest.
$ac_ext
39632 cat >>conftest.
$ac_ext <<_ACEOF
39633 /* end confdefs.h. */
39634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39636 #define $ac_func innocuous_$ac_func
39638 /* System header to define __stub macros and hopefully few prototypes,
39639 which can conflict with char $ac_func (); below.
39640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39641 <limits.h> exists even on freestanding compilers. */
39644 # include <limits.h>
39646 # include <assert.h>
39651 /* Override any GCC internal prototype to avoid an error.
39652 Use char because int might match the return type of a GCC
39653 builtin and then its argument prototype would still apply. */
39658 /* The GNU C library defines this for functions which it implements
39659 to always fail with ENOSYS. Some functions are actually named
39660 something starting with __ and the normal name is an alias. */
39661 #if defined __stub_$ac_func || defined __stub___$ac_func
39668 return $ac_func ();
39673 rm -f conftest.
$ac_objext conftest
$ac_exeext
39674 if { (ac_try
="$ac_link"
39675 case "(($ac_try" in
39676 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39677 *) ac_try_echo=$ac_try;;
39679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39680 (eval "$ac_link") 2>conftest.er1
39682 grep -v '^ *+' conftest.er1 >conftest.err
39684 cat conftest.err >&5
39685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39686 (exit $ac_status); } && {
39687 test -z "$ac_c_werror_flag" ||
39688 test ! -s conftest.err
39689 } && test -s conftest$ac_exeext &&
39690 $as_test_x conftest$ac_exeext; then
39691 eval "$as_ac_var=yes"
39693 echo "$as_me: failed program was:" >&5
39694 sed 's/^/| /' conftest.$ac_ext >&5
39696 eval "$as_ac_var=no"
39699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39700 conftest$ac_exeext conftest.$ac_ext
39702 ac_res=`eval echo '${'$as_ac_var'}'`
39703 { echo "$as_me:$LINENO: result: $ac_res" >&5
39704 echo "${ECHO_T}$ac_res" >&6; }
39705 if test `eval echo '${'$as_ac_var'}'` = yes; then
39706 cat >>confdefs.h <<_ACEOF
39707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39713 if test "$ac_cv_func_setenv" = "yes"; then
39715 for ac_func in unsetenv
39717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39718 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39720 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39721 echo $ECHO_N "(cached) $ECHO_C" >&6
39723 cat >conftest.$ac_ext <<_ACEOF
39726 cat confdefs.h >>conftest.$ac_ext
39727 cat >>conftest.$ac_ext <<_ACEOF
39728 /* end confdefs.h. */
39729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39731 #define $ac_func innocuous_$ac_func
39733 /* System header to define __stub macros and hopefully few prototypes,
39734 which can conflict with char $ac_func (); below.
39735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39736 <limits.h> exists even on freestanding compilers. */
39739 # include <limits.h>
39741 # include <assert.h>
39746 /* Override any GCC internal prototype to avoid an error.
39747 Use char because int might match the return type of a GCC
39748 builtin and then its argument prototype would still apply. */
39753 /* The GNU C library defines this for functions which it implements
39754 to always fail with ENOSYS. Some functions are actually named
39755 something starting with __ and the normal name is an alias. */
39756 #if defined __stub_$ac_func || defined __stub___$ac_func
39763 return $ac_func ();
39768 rm -f conftest.$ac_objext conftest$ac_exeext
39769 if { (ac_try="$ac_link"
39770 case "(($ac_try" in
39771 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39772 *) ac_try_echo
=$ac_try;;
39774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39775 (eval "$ac_link") 2>conftest.er1
39777 grep -v '^ *+' conftest.er1
>conftest.err
39779 cat conftest.err
>&5
39780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39781 (exit $ac_status); } && {
39782 test -z "$ac_c_werror_flag" ||
39783 test ! -s conftest.err
39784 } && test -s conftest
$ac_exeext &&
39785 $as_test_x conftest
$ac_exeext; then
39786 eval "$as_ac_var=yes"
39788 echo "$as_me: failed program was:" >&5
39789 sed 's/^/| /' conftest.
$ac_ext >&5
39791 eval "$as_ac_var=no"
39794 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39795 conftest
$ac_exeext conftest.
$ac_ext
39797 ac_res
=`eval echo '${'$as_ac_var'}'`
39798 { echo "$as_me:$LINENO: result: $ac_res" >&5
39799 echo "${ECHO_T}$ac_res" >&6; }
39800 if test `eval echo '${'$as_ac_var'}'` = yes; then
39801 cat >>confdefs.h
<<_ACEOF
39802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39810 HAVE_SOME_SLEEP_FUNC
=0
39811 if test "$USE_BEOS" = 1; then
39812 cat >>confdefs.h
<<\_ACEOF
39813 #define HAVE_SLEEP 1
39816 HAVE_SOME_SLEEP_FUNC
=1
39819 if test "$USE_DARWIN" = 1; then
39820 cat >>confdefs.h
<<\_ACEOF
39821 #define HAVE_USLEEP 1
39824 HAVE_SOME_SLEEP_FUNC
=1
39827 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39830 for ac_func
in nanosleep
39832 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39833 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39835 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39836 echo $ECHO_N "(cached) $ECHO_C" >&6
39838 cat >conftest.
$ac_ext <<_ACEOF
39841 cat confdefs.h
>>conftest.
$ac_ext
39842 cat >>conftest.
$ac_ext <<_ACEOF
39843 /* end confdefs.h. */
39844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39846 #define $ac_func innocuous_$ac_func
39848 /* System header to define __stub macros and hopefully few prototypes,
39849 which can conflict with char $ac_func (); below.
39850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39851 <limits.h> exists even on freestanding compilers. */
39854 # include <limits.h>
39856 # include <assert.h>
39861 /* Override any GCC internal prototype to avoid an error.
39862 Use char because int might match the return type of a GCC
39863 builtin and then its argument prototype would still apply. */
39868 /* The GNU C library defines this for functions which it implements
39869 to always fail with ENOSYS. Some functions are actually named
39870 something starting with __ and the normal name is an alias. */
39871 #if defined __stub_$ac_func || defined __stub___$ac_func
39878 return $ac_func ();
39883 rm -f conftest.
$ac_objext conftest
$ac_exeext
39884 if { (ac_try
="$ac_link"
39885 case "(($ac_try" in
39886 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39887 *) ac_try_echo=$ac_try;;
39889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39890 (eval "$ac_link") 2>conftest.er1
39892 grep -v '^ *+' conftest.er1 >conftest.err
39894 cat conftest.err >&5
39895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39896 (exit $ac_status); } && {
39897 test -z "$ac_c_werror_flag" ||
39898 test ! -s conftest.err
39899 } && test -s conftest$ac_exeext &&
39900 $as_test_x conftest$ac_exeext; then
39901 eval "$as_ac_var=yes"
39903 echo "$as_me: failed program was:" >&5
39904 sed 's/^/| /' conftest.$ac_ext >&5
39906 eval "$as_ac_var=no"
39909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39910 conftest$ac_exeext conftest.$ac_ext
39912 ac_res=`eval echo '${'$as_ac_var'}'`
39913 { echo "$as_me:$LINENO: result: $ac_res" >&5
39914 echo "${ECHO_T}$ac_res" >&6; }
39915 if test `eval echo '${'$as_ac_var'}'` = yes; then
39916 cat >>confdefs.h <<_ACEOF
39917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39919 cat >>confdefs.h <<\_ACEOF
39920 #define HAVE_NANOSLEEP 1
39925 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39926 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39927 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39928 echo $ECHO_N "(cached) $ECHO_C" >&6
39930 ac_check_lib_save_LIBS=$LIBS
39931 LIBS="-lposix4 $LIBS"
39932 cat >conftest.$ac_ext <<_ACEOF
39935 cat confdefs.h >>conftest.$ac_ext
39936 cat >>conftest.$ac_ext <<_ACEOF
39937 /* end confdefs.h. */
39939 /* Override any GCC internal prototype to avoid an error.
39940 Use char because int might match the return type of a GCC
39941 builtin and then its argument prototype would still apply. */
39949 return nanosleep ();
39954 rm -f conftest.$ac_objext conftest$ac_exeext
39955 if { (ac_try="$ac_link"
39956 case "(($ac_try" in
39957 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39958 *) ac_try_echo
=$ac_try;;
39960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39961 (eval "$ac_link") 2>conftest.er1
39963 grep -v '^ *+' conftest.er1
>conftest.err
39965 cat conftest.err
>&5
39966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39967 (exit $ac_status); } && {
39968 test -z "$ac_c_werror_flag" ||
39969 test ! -s conftest.err
39970 } && test -s conftest
$ac_exeext &&
39971 $as_test_x conftest
$ac_exeext; then
39972 ac_cv_lib_posix4_nanosleep
=yes
39974 echo "$as_me: failed program was:" >&5
39975 sed 's/^/| /' conftest.
$ac_ext >&5
39977 ac_cv_lib_posix4_nanosleep
=no
39980 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39981 conftest
$ac_exeext conftest.
$ac_ext
39982 LIBS
=$ac_check_lib_save_LIBS
39984 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39985 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39986 if test $ac_cv_lib_posix4_nanosleep = yes; then
39988 cat >>confdefs.h
<<\_ACEOF
39989 #define HAVE_NANOSLEEP 1
39992 POSIX4_LINK
=" -lposix4"
39997 for wx_func
in usleep
39999 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40000 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40001 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40002 echo $ECHO_N "(cached) $ECHO_C" >&6
40005 cat >conftest.
$ac_ext <<_ACEOF
40009 cat confdefs.h
>>conftest.
$ac_ext
40010 cat >>conftest.
$ac_ext <<_ACEOF
40011 /* end confdefs.h. */
40014 $ac_includes_default
40030 rm -f conftest.
$ac_objext conftest
$ac_exeext
40031 if { (ac_try
="$ac_link"
40032 case "(($ac_try" in
40033 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40034 *) ac_try_echo=$ac_try;;
40036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40037 (eval "$ac_link") 2>conftest.er1
40039 grep -v '^ *+' conftest.er1 >conftest.err
40041 cat conftest.err >&5
40042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40043 (exit $ac_status); } && {
40044 test -z "$ac_c_werror_flag" ||
40045 test ! -s conftest.err
40046 } && test -s conftest$ac_exeext &&
40047 $as_test_x conftest$ac_exeext; then
40048 eval wx_cv_func_$wx_func=yes
40050 echo "$as_me: failed program was:" >&5
40051 sed 's/^/| /' conftest.$ac_ext >&5
40053 eval wx_cv_func_$wx_func=no
40056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40057 conftest$ac_exeext conftest.$ac_ext
40060 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40061 { echo "$as_me:$LINENO: result: $ac_res" >&5
40062 echo "${ECHO_T}$ac_res" >&6; }
40064 if eval test \$wx_cv_func_$wx_func = yes
40066 cat >>confdefs.h <<_ACEOF
40067 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40073 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40074 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40091 for wx_func in uname
40093 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40094 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40095 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40096 echo $ECHO_N "(cached) $ECHO_C" >&6
40099 cat >conftest.$ac_ext <<_ACEOF
40103 cat confdefs.h >>conftest.$ac_ext
40104 cat >>conftest.$ac_ext <<_ACEOF
40105 /* end confdefs.h. */
40107 #include <sys/utsname.h>
40108 $ac_includes_default
40124 rm -f conftest.$ac_objext conftest$ac_exeext
40125 if { (ac_try="$ac_link"
40126 case "(($ac_try" in
40127 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40128 *) ac_try_echo
=$ac_try;;
40130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40131 (eval "$ac_link") 2>conftest.er1
40133 grep -v '^ *+' conftest.er1
>conftest.err
40135 cat conftest.err
>&5
40136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40137 (exit $ac_status); } && {
40138 test -z "$ac_c_werror_flag" ||
40139 test ! -s conftest.err
40140 } && test -s conftest
$ac_exeext &&
40141 $as_test_x conftest
$ac_exeext; then
40142 eval wx_cv_func_
$wx_func=yes
40144 echo "$as_me: failed program was:" >&5
40145 sed 's/^/| /' conftest.
$ac_ext >&5
40147 eval wx_cv_func_
$wx_func=no
40150 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40151 conftest
$ac_exeext conftest.
$ac_ext
40154 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40155 { echo "$as_me:$LINENO: result: $ac_res" >&5
40156 echo "${ECHO_T}$ac_res" >&6; }
40158 if eval test \
$wx_cv_func_$wx_func = yes
40160 cat >>confdefs.h
<<_ACEOF
40161 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40171 if test "$wx_cv_func_uname" != yes; then
40173 for wx_func
in gethostname
40175 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40176 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40177 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40178 echo $ECHO_N "(cached) $ECHO_C" >&6
40181 cat >conftest.
$ac_ext <<_ACEOF
40185 cat confdefs.h
>>conftest.
$ac_ext
40186 cat >>conftest.
$ac_ext <<_ACEOF
40187 /* end confdefs.h. */
40190 $ac_includes_default
40206 rm -f conftest.
$ac_objext conftest
$ac_exeext
40207 if { (ac_try
="$ac_link"
40208 case "(($ac_try" in
40209 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40210 *) ac_try_echo=$ac_try;;
40212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40213 (eval "$ac_link") 2>conftest.er1
40215 grep -v '^ *+' conftest.er1 >conftest.err
40217 cat conftest.err >&5
40218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40219 (exit $ac_status); } && {
40220 test -z "$ac_c_werror_flag" ||
40221 test ! -s conftest.err
40222 } && test -s conftest$ac_exeext &&
40223 $as_test_x conftest$ac_exeext; then
40224 eval wx_cv_func_$wx_func=yes
40226 echo "$as_me: failed program was:" >&5
40227 sed 's/^/| /' conftest.$ac_ext >&5
40229 eval wx_cv_func_$wx_func=no
40232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40233 conftest$ac_exeext conftest.$ac_ext
40236 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40237 { echo "$as_me:$LINENO: result: $ac_res" >&5
40238 echo "${ECHO_T}$ac_res" >&6; }
40240 if eval test \$wx_cv_func_$wx_func = yes
40242 cat >>confdefs.h <<_ACEOF
40243 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40256 for wx_func in strtok_r
40258 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40259 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40260 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40261 echo $ECHO_N "(cached) $ECHO_C" >&6
40264 cat >conftest.$ac_ext <<_ACEOF
40268 cat confdefs.h >>conftest.$ac_ext
40269 cat >>conftest.$ac_ext <<_ACEOF
40270 /* end confdefs.h. */
40273 $ac_includes_default
40289 rm -f conftest.$ac_objext conftest$ac_exeext
40290 if { (ac_try="$ac_link"
40291 case "(($ac_try" in
40292 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40293 *) ac_try_echo
=$ac_try;;
40295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40296 (eval "$ac_link") 2>conftest.er1
40298 grep -v '^ *+' conftest.er1
>conftest.err
40300 cat conftest.err
>&5
40301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40302 (exit $ac_status); } && {
40303 test -z "$ac_c_werror_flag" ||
40304 test ! -s conftest.err
40305 } && test -s conftest
$ac_exeext &&
40306 $as_test_x conftest
$ac_exeext; then
40307 eval wx_cv_func_
$wx_func=yes
40309 echo "$as_me: failed program was:" >&5
40310 sed 's/^/| /' conftest.
$ac_ext >&5
40312 eval wx_cv_func_
$wx_func=no
40315 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40316 conftest
$ac_exeext conftest.
$ac_ext
40319 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40320 { echo "$as_me:$LINENO: result: $ac_res" >&5
40321 echo "${ECHO_T}$ac_res" >&6; }
40323 if eval test \
$wx_cv_func_$wx_func = yes
40325 cat >>confdefs.h
<<_ACEOF
40326 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40339 for ac_func
in inet_addr
40341 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40342 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40344 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40345 echo $ECHO_N "(cached) $ECHO_C" >&6
40347 cat >conftest.
$ac_ext <<_ACEOF
40350 cat confdefs.h
>>conftest.
$ac_ext
40351 cat >>conftest.
$ac_ext <<_ACEOF
40352 /* end confdefs.h. */
40353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40355 #define $ac_func innocuous_$ac_func
40357 /* System header to define __stub macros and hopefully few prototypes,
40358 which can conflict with char $ac_func (); below.
40359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40360 <limits.h> exists even on freestanding compilers. */
40363 # include <limits.h>
40365 # include <assert.h>
40370 /* Override any GCC internal prototype to avoid an error.
40371 Use char because int might match the return type of a GCC
40372 builtin and then its argument prototype would still apply. */
40377 /* The GNU C library defines this for functions which it implements
40378 to always fail with ENOSYS. Some functions are actually named
40379 something starting with __ and the normal name is an alias. */
40380 #if defined __stub_$ac_func || defined __stub___$ac_func
40387 return $ac_func ();
40392 rm -f conftest.
$ac_objext conftest
$ac_exeext
40393 if { (ac_try
="$ac_link"
40394 case "(($ac_try" in
40395 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40396 *) ac_try_echo=$ac_try;;
40398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40399 (eval "$ac_link") 2>conftest.er1
40401 grep -v '^ *+' conftest.er1 >conftest.err
40403 cat conftest.err >&5
40404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40405 (exit $ac_status); } && {
40406 test -z "$ac_c_werror_flag" ||
40407 test ! -s conftest.err
40408 } && test -s conftest$ac_exeext &&
40409 $as_test_x conftest$ac_exeext; then
40410 eval "$as_ac_var=yes"
40412 echo "$as_me: failed program was:" >&5
40413 sed 's/^/| /' conftest.$ac_ext >&5
40415 eval "$as_ac_var=no"
40418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40419 conftest$ac_exeext conftest.$ac_ext
40421 ac_res=`eval echo '${'$as_ac_var'}'`
40422 { echo "$as_me:$LINENO: result: $ac_res" >&5
40423 echo "${ECHO_T}$ac_res" >&6; }
40424 if test `eval echo '${'$as_ac_var'}'` = yes; then
40425 cat >>confdefs.h <<_ACEOF
40426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40428 cat >>confdefs.h <<\_ACEOF
40429 #define HAVE_INET_ADDR 1
40434 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40435 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40436 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40437 echo $ECHO_N "(cached) $ECHO_C" >&6
40439 ac_check_lib_save_LIBS=$LIBS
40441 cat >conftest.$ac_ext <<_ACEOF
40444 cat confdefs.h >>conftest.$ac_ext
40445 cat >>conftest.$ac_ext <<_ACEOF
40446 /* end confdefs.h. */
40448 /* Override any GCC internal prototype to avoid an error.
40449 Use char because int might match the return type of a GCC
40450 builtin and then its argument prototype would still apply. */
40458 return inet_addr ();
40463 rm -f conftest.$ac_objext conftest$ac_exeext
40464 if { (ac_try="$ac_link"
40465 case "(($ac_try" in
40466 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40467 *) ac_try_echo
=$ac_try;;
40469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40470 (eval "$ac_link") 2>conftest.er1
40472 grep -v '^ *+' conftest.er1
>conftest.err
40474 cat conftest.err
>&5
40475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40476 (exit $ac_status); } && {
40477 test -z "$ac_c_werror_flag" ||
40478 test ! -s conftest.err
40479 } && test -s conftest
$ac_exeext &&
40480 $as_test_x conftest
$ac_exeext; then
40481 ac_cv_lib_nsl_inet_addr
=yes
40483 echo "$as_me: failed program was:" >&5
40484 sed 's/^/| /' conftest.
$ac_ext >&5
40486 ac_cv_lib_nsl_inet_addr
=no
40489 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40490 conftest
$ac_exeext conftest.
$ac_ext
40491 LIBS
=$ac_check_lib_save_LIBS
40493 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40494 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40495 if test $ac_cv_lib_nsl_inet_addr = yes; then
40499 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40500 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40501 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40502 echo $ECHO_N "(cached) $ECHO_C" >&6
40504 ac_check_lib_save_LIBS
=$LIBS
40505 LIBS
="-lresolv $LIBS"
40506 cat >conftest.
$ac_ext <<_ACEOF
40509 cat confdefs.h
>>conftest.
$ac_ext
40510 cat >>conftest.
$ac_ext <<_ACEOF
40511 /* end confdefs.h. */
40513 /* Override any GCC internal prototype to avoid an error.
40514 Use char because int might match the return type of a GCC
40515 builtin and then its argument prototype would still apply. */
40523 return inet_addr ();
40528 rm -f conftest.
$ac_objext conftest
$ac_exeext
40529 if { (ac_try
="$ac_link"
40530 case "(($ac_try" in
40531 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40532 *) ac_try_echo=$ac_try;;
40534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40535 (eval "$ac_link") 2>conftest.er1
40537 grep -v '^ *+' conftest.er1 >conftest.err
40539 cat conftest.err >&5
40540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40541 (exit $ac_status); } && {
40542 test -z "$ac_c_werror_flag" ||
40543 test ! -s conftest.err
40544 } && test -s conftest$ac_exeext &&
40545 $as_test_x conftest$ac_exeext; then
40546 ac_cv_lib_resolv_inet_addr=yes
40548 echo "$as_me: failed program was:" >&5
40549 sed 's/^/| /' conftest.$ac_ext >&5
40551 ac_cv_lib_resolv_inet_addr=no
40554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40555 conftest$ac_exeext conftest.$ac_ext
40556 LIBS=$ac_check_lib_save_LIBS
40558 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40559 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40560 if test $ac_cv_lib_resolv_inet_addr = yes; then
40564 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40565 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40566 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40567 echo $ECHO_N "(cached) $ECHO_C" >&6
40569 ac_check_lib_save_LIBS=$LIBS
40570 LIBS="-lsocket $LIBS"
40571 cat >conftest.$ac_ext <<_ACEOF
40574 cat confdefs.h >>conftest.$ac_ext
40575 cat >>conftest.$ac_ext <<_ACEOF
40576 /* end confdefs.h. */
40578 /* Override any GCC internal prototype to avoid an error.
40579 Use char because int might match the return type of a GCC
40580 builtin and then its argument prototype would still apply. */
40588 return inet_addr ();
40593 rm -f conftest.$ac_objext conftest$ac_exeext
40594 if { (ac_try="$ac_link"
40595 case "(($ac_try" in
40596 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40597 *) ac_try_echo
=$ac_try;;
40599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40600 (eval "$ac_link") 2>conftest.er1
40602 grep -v '^ *+' conftest.er1
>conftest.err
40604 cat conftest.err
>&5
40605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40606 (exit $ac_status); } && {
40607 test -z "$ac_c_werror_flag" ||
40608 test ! -s conftest.err
40609 } && test -s conftest
$ac_exeext &&
40610 $as_test_x conftest
$ac_exeext; then
40611 ac_cv_lib_socket_inet_addr
=yes
40613 echo "$as_me: failed program was:" >&5
40614 sed 's/^/| /' conftest.
$ac_ext >&5
40616 ac_cv_lib_socket_inet_addr
=no
40619 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40620 conftest
$ac_exeext conftest.
$ac_ext
40621 LIBS
=$ac_check_lib_save_LIBS
40623 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40624 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40625 if test $ac_cv_lib_socket_inet_addr = yes; then
40645 for ac_func
in inet_aton
40647 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40648 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40650 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40651 echo $ECHO_N "(cached) $ECHO_C" >&6
40653 cat >conftest.
$ac_ext <<_ACEOF
40656 cat confdefs.h
>>conftest.
$ac_ext
40657 cat >>conftest.
$ac_ext <<_ACEOF
40658 /* end confdefs.h. */
40659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40661 #define $ac_func innocuous_$ac_func
40663 /* System header to define __stub macros and hopefully few prototypes,
40664 which can conflict with char $ac_func (); below.
40665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40666 <limits.h> exists even on freestanding compilers. */
40669 # include <limits.h>
40671 # include <assert.h>
40676 /* Override any GCC internal prototype to avoid an error.
40677 Use char because int might match the return type of a GCC
40678 builtin and then its argument prototype would still apply. */
40683 /* The GNU C library defines this for functions which it implements
40684 to always fail with ENOSYS. Some functions are actually named
40685 something starting with __ and the normal name is an alias. */
40686 #if defined __stub_$ac_func || defined __stub___$ac_func
40693 return $ac_func ();
40698 rm -f conftest.
$ac_objext conftest
$ac_exeext
40699 if { (ac_try
="$ac_link"
40700 case "(($ac_try" in
40701 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40702 *) ac_try_echo=$ac_try;;
40704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40705 (eval "$ac_link") 2>conftest.er1
40707 grep -v '^ *+' conftest.er1 >conftest.err
40709 cat conftest.err >&5
40710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40711 (exit $ac_status); } && {
40712 test -z "$ac_c_werror_flag" ||
40713 test ! -s conftest.err
40714 } && test -s conftest$ac_exeext &&
40715 $as_test_x conftest$ac_exeext; then
40716 eval "$as_ac_var=yes"
40718 echo "$as_me: failed program was:" >&5
40719 sed 's/^/| /' conftest.$ac_ext >&5
40721 eval "$as_ac_var=no"
40724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40725 conftest$ac_exeext conftest.$ac_ext
40727 ac_res=`eval echo '${'$as_ac_var'}'`
40728 { echo "$as_me:$LINENO: result: $ac_res" >&5
40729 echo "${ECHO_T}$ac_res" >&6; }
40730 if test `eval echo '${'$as_ac_var'}'` = yes; then
40731 cat >>confdefs.h <<_ACEOF
40732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40734 cat >>confdefs.h <<\_ACEOF
40735 #define HAVE_INET_ATON 1
40740 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40741 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40742 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40743 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40744 echo $ECHO_N "(cached) $ECHO_C" >&6
40746 ac_check_lib_save_LIBS=$LIBS
40747 LIBS="-l$INET_LINK $LIBS"
40748 cat >conftest.$ac_ext <<_ACEOF
40751 cat confdefs.h >>conftest.$ac_ext
40752 cat >>conftest.$ac_ext <<_ACEOF
40753 /* end confdefs.h. */
40755 /* Override any GCC internal prototype to avoid an error.
40756 Use char because int might match the return type of a GCC
40757 builtin and then its argument prototype would still apply. */
40765 return inet_aton ();
40770 rm -f conftest.$ac_objext conftest$ac_exeext
40771 if { (ac_try="$ac_link"
40772 case "(($ac_try" in
40773 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40774 *) ac_try_echo
=$ac_try;;
40776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40777 (eval "$ac_link") 2>conftest.er1
40779 grep -v '^ *+' conftest.er1
>conftest.err
40781 cat conftest.err
>&5
40782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40783 (exit $ac_status); } && {
40784 test -z "$ac_c_werror_flag" ||
40785 test ! -s conftest.err
40786 } && test -s conftest
$ac_exeext &&
40787 $as_test_x conftest
$ac_exeext; then
40788 eval "$as_ac_Lib=yes"
40790 echo "$as_me: failed program was:" >&5
40791 sed 's/^/| /' conftest.
$ac_ext >&5
40793 eval "$as_ac_Lib=no"
40796 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40797 conftest
$ac_exeext conftest.
$ac_ext
40798 LIBS
=$ac_check_lib_save_LIBS
40800 ac_res
=`eval echo '${'$as_ac_Lib'}'`
40801 { echo "$as_me:$LINENO: result: $ac_res" >&5
40802 echo "${ECHO_T}$ac_res" >&6; }
40803 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40804 cat >>confdefs.h
<<\_ACEOF
40805 #define HAVE_INET_ATON 1
40815 if test "x$INET_LINK" != "x"; then
40816 cat >>confdefs.h
<<\_ACEOF
40817 #define HAVE_INET_ADDR 1
40820 INET_LINK
=" -l$INET_LINK"
40824 for wx_func
in fdopen
40826 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40827 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40828 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40829 echo $ECHO_N "(cached) $ECHO_C" >&6
40832 cat >conftest.
$ac_ext <<_ACEOF
40836 cat confdefs.h
>>conftest.
$ac_ext
40837 cat >>conftest.
$ac_ext <<_ACEOF
40838 /* end confdefs.h. */
40841 $ac_includes_default
40857 rm -f conftest.
$ac_objext conftest
$ac_exeext
40858 if { (ac_try
="$ac_link"
40859 case "(($ac_try" in
40860 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40861 *) ac_try_echo=$ac_try;;
40863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40864 (eval "$ac_link") 2>conftest.er1
40866 grep -v '^ *+' conftest.er1 >conftest.err
40868 cat conftest.err >&5
40869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40870 (exit $ac_status); } && {
40871 test -z "$ac_c_werror_flag" ||
40872 test ! -s conftest.err
40873 } && test -s conftest$ac_exeext &&
40874 $as_test_x conftest$ac_exeext; then
40875 eval wx_cv_func_$wx_func=yes
40877 echo "$as_me: failed program was:" >&5
40878 sed 's/^/| /' conftest.$ac_ext >&5
40880 eval wx_cv_func_$wx_func=no
40883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40884 conftest$ac_exeext conftest.$ac_ext
40887 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40888 { echo "$as_me:$LINENO: result: $ac_res" >&5
40889 echo "${ECHO_T}$ac_res" >&6; }
40891 if eval test \$wx_cv_func_$wx_func = yes
40893 cat >>confdefs.h <<_ACEOF
40894 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40905 if test "$wxUSE_TARSTREAM" = "yes"; then
40907 for wx_func in sysconf
40909 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40910 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40911 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40912 echo $ECHO_N "(cached) $ECHO_C" >&6
40915 cat >conftest.$ac_ext <<_ACEOF
40919 cat confdefs.h >>conftest.$ac_ext
40920 cat >>conftest.$ac_ext <<_ACEOF
40921 /* end confdefs.h. */
40924 $ac_includes_default
40940 rm -f conftest.$ac_objext conftest$ac_exeext
40941 if { (ac_try="$ac_link"
40942 case "(($ac_try" in
40943 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40944 *) ac_try_echo
=$ac_try;;
40946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40947 (eval "$ac_link") 2>conftest.er1
40949 grep -v '^ *+' conftest.er1
>conftest.err
40951 cat conftest.err
>&5
40952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40953 (exit $ac_status); } && {
40954 test -z "$ac_c_werror_flag" ||
40955 test ! -s conftest.err
40956 } && test -s conftest
$ac_exeext &&
40957 $as_test_x conftest
$ac_exeext; then
40958 eval wx_cv_func_
$wx_func=yes
40960 echo "$as_me: failed program was:" >&5
40961 sed 's/^/| /' conftest.
$ac_ext >&5
40963 eval wx_cv_func_
$wx_func=no
40966 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40967 conftest
$ac_exeext conftest.
$ac_ext
40970 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40971 { echo "$as_me:$LINENO: result: $ac_res" >&5
40972 echo "${ECHO_T}$ac_res" >&6; }
40974 if eval test \
$wx_cv_func_$wx_func = yes
40976 cat >>confdefs.h
<<_ACEOF
40977 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40989 for wx_func
in getpwuid_r
40991 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40992 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40993 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40994 echo $ECHO_N "(cached) $ECHO_C" >&6
40997 cat >conftest.
$ac_ext <<_ACEOF
41001 cat confdefs.h
>>conftest.
$ac_ext
41002 cat >>conftest.
$ac_ext <<_ACEOF
41003 /* end confdefs.h. */
41009 $ac_includes_default
41019 struct passwd pw, *ppw;
41021 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
41029 rm -f conftest.
$ac_objext conftest
$ac_exeext
41030 if { (ac_try
="$ac_link"
41031 case "(($ac_try" in
41032 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41033 *) ac_try_echo=$ac_try;;
41035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41036 (eval "$ac_link") 2>conftest.er1
41038 grep -v '^ *+' conftest.er1 >conftest.err
41040 cat conftest.err >&5
41041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41042 (exit $ac_status); } && {
41043 test -z "$ac_c_werror_flag" ||
41044 test ! -s conftest.err
41045 } && test -s conftest$ac_exeext &&
41046 $as_test_x conftest$ac_exeext; then
41047 eval wx_cv_func_$wx_func=yes
41049 echo "$as_me: failed program was:" >&5
41050 sed 's/^/| /' conftest.$ac_ext >&5
41052 eval wx_cv_func_$wx_func=no
41055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41056 conftest$ac_exeext conftest.$ac_ext
41059 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41060 { echo "$as_me:$LINENO: result: $ac_res" >&5
41061 echo "${ECHO_T}$ac_res" >&6; }
41063 if eval test \$wx_cv_func_$wx_func = yes
41065 cat >>confdefs.h <<_ACEOF
41066 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41078 for wx_func in getgrgid_r
41080 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41081 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41082 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41083 echo $ECHO_N "(cached) $ECHO_C" >&6
41086 cat >conftest.$ac_ext <<_ACEOF
41090 cat confdefs.h >>conftest.$ac_ext
41091 cat >>conftest.$ac_ext <<_ACEOF
41092 /* end confdefs.h. */
41098 $ac_includes_default
41108 struct group grp, *pgrp;
41110 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
41118 rm -f conftest.$ac_objext conftest$ac_exeext
41119 if { (ac_try="$ac_link"
41120 case "(($ac_try" in
41121 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41122 *) ac_try_echo
=$ac_try;;
41124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41125 (eval "$ac_link") 2>conftest.er1
41127 grep -v '^ *+' conftest.er1
>conftest.err
41129 cat conftest.err
>&5
41130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41131 (exit $ac_status); } && {
41132 test -z "$ac_c_werror_flag" ||
41133 test ! -s conftest.err
41134 } && test -s conftest
$ac_exeext &&
41135 $as_test_x conftest
$ac_exeext; then
41136 eval wx_cv_func_
$wx_func=yes
41138 echo "$as_me: failed program was:" >&5
41139 sed 's/^/| /' conftest.
$ac_ext >&5
41141 eval wx_cv_func_
$wx_func=no
41144 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41145 conftest
$ac_exeext conftest.
$ac_ext
41148 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41149 { echo "$as_me:$LINENO: result: $ac_res" >&5
41150 echo "${ECHO_T}$ac_res" >&6; }
41152 if eval test \
$wx_cv_func_$wx_func = yes
41154 cat >>confdefs.h
<<_ACEOF
41155 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41171 cat >confcache
<<\_ACEOF
41172 # This file is a shell script that caches the results of configure
41173 # tests run on this system so they can be shared between configure
41174 # scripts and configure runs, see configure's option --config-cache.
41175 # It is not useful on other systems. If it contains results you don't
41176 # want to keep, you may remove or edit it.
41178 # config.status only pays attention to the cache file if you give it
41179 # the --recheck option to rerun configure.
41181 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41182 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41183 # following values.
41187 # The following way of writing the cache mishandles newlines in values,
41188 # but we know of no workaround that is simple, portable, and efficient.
41189 # So, we kill variables containing newlines.
41190 # Ultrix sh set writes to stderr and can't be redirected directly,
41191 # and sets the high bit in the cache file unless we assign to the vars.
41193 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41194 eval ac_val
=\$
$ac_var
41198 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41199 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41202 _
| IFS
| as_nl
) ;; #(
41203 *) $as_unset $ac_var ;;
41209 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41210 *${as_nl}ac_space
=\
*)
41211 # `set' does not quote correctly, so add quotes (double-quote
41212 # substitution turns \\\\ into \\, and sed turns \\ into \).
41215 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41218 # `set' quotes correctly as required by POSIX, so do not add quotes.
41219 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41228 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41230 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41232 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41233 if test -w "$cache_file"; then
41234 test "x$cache_file" != "x/dev/null" &&
41235 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41236 echo "$as_me: updating cache $cache_file" >&6;}
41237 cat confcache
>$cache_file
41239 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41240 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41246 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41252 if test "$wxUSE_THREADS" = "yes" ; then
41253 if test "$USE_BEOS" = 1; then
41254 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41255 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41260 if test "$wxUSE_THREADS" = "yes" ; then
41263 THREAD_OPTS
="-pthread"
41264 if test "x$SUNCXX" = xyes
; then
41265 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
41269 *-*-solaris2* | *-*-sunos4* )
41270 if test "x$GCC" = "xyes"; then
41271 THREAD_OPTS
="-pthreads $THREAD_OPTS"
41275 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
41277 *-*-darwin* | *-*-cygwin* )
41281 THREAD_OPTS
="pthreads"
41284 if test "x$GCC" = "xyes"; then
41285 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
41293 if test "x$GCC" = "xyes"; then
41299 if test "x$GCC" != "xyes"; then
41300 THREAD_OPTS
="-Ethread"
41305 THREAD_OPTS
="$THREAD_OPTS pthread none"
41308 for flag
in $THREAD_OPTS; do
41311 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41312 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41316 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41317 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41318 THREADS_CFLAGS
="$flag"
41322 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41323 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41324 THREADS_LINK
="-l$flag"
41329 save_CFLAGS
="$CFLAGS"
41330 LIBS
="$THREADS_LINK $LIBS"
41331 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
41333 cat >conftest.
$ac_ext <<_ACEOF
41336 cat confdefs.h
>>conftest.
$ac_ext
41337 cat >>conftest.
$ac_ext <<_ACEOF
41338 /* end confdefs.h. */
41339 #include <pthread.h>
41343 pthread_create(0,0,0,0);
41348 rm -f conftest.
$ac_objext conftest
$ac_exeext
41349 if { (ac_try
="$ac_link"
41350 case "(($ac_try" in
41351 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41352 *) ac_try_echo=$ac_try;;
41354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41355 (eval "$ac_link") 2>conftest.er1
41357 grep -v '^ *+' conftest.er1 >conftest.err
41359 cat conftest.err >&5
41360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41361 (exit $ac_status); } && {
41362 test -z "$ac_c_werror_flag" ||
41363 test ! -s conftest.err
41364 } && test -s conftest$ac_exeext &&
41365 $as_test_x conftest$ac_exeext; then
41368 echo "$as_me: failed program was:" >&5
41369 sed 's/^/| /' conftest.$ac_ext >&5
41374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41375 conftest$ac_exeext conftest.$ac_ext
41378 CFLAGS="$save_CFLAGS"
41380 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41381 echo "${ECHO_T}$THREADS_OK" >&6; }
41382 if test "x$THREADS_OK" = "xyes"; then
41390 if test "x$THREADS_OK" != "xyes"; then
41392 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41393 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41395 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41396 LIBS="$THREADS_LINK $LIBS"
41398 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41399 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41403 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41404 flag="-D_THREAD_SAFE"
41407 flag="-D_THREAD_SAFE"
41410 flag="-D_REENTRANT"
41411 if test "x$GCC" != "xyes"; then
41412 flag="$flag -D_RWSTD_MULTI_THREAD"
41415 *solaris* | alpha*-osf*)
41416 flag="-D_REENTRANT"
41419 { echo "$as_me:$LINENO: result: ${flag}" >&5
41420 echo "${ECHO_T}${flag}" >&6; }
41421 if test "x$flag" != xno; then
41422 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41425 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41429 if test "$wxUSE_THREADS" = "yes" ; then
41431 for ac_func in thr_setconcurrency
41433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41434 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41436 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41437 echo $ECHO_N "(cached) $ECHO_C" >&6
41439 cat >conftest.$ac_ext <<_ACEOF
41442 cat confdefs.h >>conftest.$ac_ext
41443 cat >>conftest.$ac_ext <<_ACEOF
41444 /* end confdefs.h. */
41445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41447 #define $ac_func innocuous_$ac_func
41449 /* System header to define __stub macros and hopefully few prototypes,
41450 which can conflict with char $ac_func (); below.
41451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41452 <limits.h> exists even on freestanding compilers. */
41455 # include <limits.h>
41457 # include <assert.h>
41462 /* Override any GCC internal prototype to avoid an error.
41463 Use char because int might match the return type of a GCC
41464 builtin and then its argument prototype would still apply. */
41469 /* The GNU C library defines this for functions which it implements
41470 to always fail with ENOSYS. Some functions are actually named
41471 something starting with __ and the normal name is an alias. */
41472 #if defined __stub_$ac_func || defined __stub___$ac_func
41479 return $ac_func ();
41484 rm -f conftest.$ac_objext conftest$ac_exeext
41485 if { (ac_try="$ac_link"
41486 case "(($ac_try" in
41487 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41488 *) ac_try_echo
=$ac_try;;
41490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41491 (eval "$ac_link") 2>conftest.er1
41493 grep -v '^ *+' conftest.er1
>conftest.err
41495 cat conftest.err
>&5
41496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41497 (exit $ac_status); } && {
41498 test -z "$ac_c_werror_flag" ||
41499 test ! -s conftest.err
41500 } && test -s conftest
$ac_exeext &&
41501 $as_test_x conftest
$ac_exeext; then
41502 eval "$as_ac_var=yes"
41504 echo "$as_me: failed program was:" >&5
41505 sed 's/^/| /' conftest.
$ac_ext >&5
41507 eval "$as_ac_var=no"
41510 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41511 conftest
$ac_exeext conftest.
$ac_ext
41513 ac_res
=`eval echo '${'$as_ac_var'}'`
41514 { echo "$as_me:$LINENO: result: $ac_res" >&5
41515 echo "${ECHO_T}$ac_res" >&6; }
41516 if test `eval echo '${'$as_ac_var'}'` = yes; then
41517 cat >>confdefs.h
<<_ACEOF
41518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41525 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41526 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41527 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41528 echo $ECHO_N "(cached) $ECHO_C" >&6
41532 ac_cpp
='$CXXCPP $CPPFLAGS'
41533 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41534 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41535 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41537 cat >conftest.
$ac_ext <<_ACEOF
41540 cat confdefs.h
>>conftest.
$ac_ext
41541 cat >>conftest.
$ac_ext <<_ACEOF
41542 /* end confdefs.h. */
41543 #include <pthread.h>
41544 void ThreadCleanupFunc(void *p);
41551 pthread_cleanup_push(ThreadCleanupFunc, p);
41552 pthread_cleanup_pop(0);
41558 rm -f conftest.
$ac_objext
41559 if { (ac_try
="$ac_compile"
41560 case "(($ac_try" in
41561 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41562 *) ac_try_echo=$ac_try;;
41564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41565 (eval "$ac_compile") 2>conftest.er1
41567 grep -v '^ *+' conftest.er1 >conftest.err
41569 cat conftest.err >&5
41570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41571 (exit $ac_status); } && {
41572 test -z "$ac_cxx_werror_flag" ||
41573 test ! -s conftest.err
41574 } && test -s conftest.$ac_objext; then
41576 wx_cv_func_pthread_cleanup=yes
41579 echo "$as_me: failed program was:" >&5
41580 sed 's/^/| /' conftest.$ac_ext >&5
41583 wx_cv_func_pthread_cleanup=no
41588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41590 ac_cpp='$CPP $CPPFLAGS'
41591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41597 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41598 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41599 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41600 cat >>confdefs.h <<\_ACEOF
41601 #define wxHAVE_PTHREAD_CLEANUP 1
41607 for ac_header in sched.h
41609 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41610 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41612 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41613 echo $ECHO_N "(cached) $ECHO_C" >&6
41615 cat >conftest.$ac_ext <<_ACEOF
41618 cat confdefs.h >>conftest.$ac_ext
41619 cat >>conftest.$ac_ext <<_ACEOF
41620 /* end confdefs.h. */
41621 $ac_includes_default
41623 #include <$ac_header>
41625 rm -f conftest.$ac_objext
41626 if { (ac_try="$ac_compile"
41627 case "(($ac_try" in
41628 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41629 *) ac_try_echo
=$ac_try;;
41631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41632 (eval "$ac_compile") 2>conftest.er1
41634 grep -v '^ *+' conftest.er1
>conftest.err
41636 cat conftest.err
>&5
41637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41638 (exit $ac_status); } && {
41639 test -z "$ac_c_werror_flag" ||
41640 test ! -s conftest.err
41641 } && test -s conftest.
$ac_objext; then
41642 eval "$as_ac_Header=yes"
41644 echo "$as_me: failed program was:" >&5
41645 sed 's/^/| /' conftest.
$ac_ext >&5
41647 eval "$as_ac_Header=no"
41650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41652 ac_res
=`eval echo '${'$as_ac_Header'}'`
41653 { echo "$as_me:$LINENO: result: $ac_res" >&5
41654 echo "${ECHO_T}$ac_res" >&6; }
41655 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41656 cat >>confdefs.h
<<_ACEOF
41657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41664 if test "$ac_cv_header_sched_h" = "yes"; then
41665 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41666 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41667 if test "${ac_cv_func_sched_yield+set}" = set; then
41668 echo $ECHO_N "(cached) $ECHO_C" >&6
41670 cat >conftest.
$ac_ext <<_ACEOF
41673 cat confdefs.h
>>conftest.
$ac_ext
41674 cat >>conftest.
$ac_ext <<_ACEOF
41675 /* end confdefs.h. */
41676 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41678 #define sched_yield innocuous_sched_yield
41680 /* System header to define __stub macros and hopefully few prototypes,
41681 which can conflict with char sched_yield (); below.
41682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41683 <limits.h> exists even on freestanding compilers. */
41686 # include <limits.h>
41688 # include <assert.h>
41693 /* Override any GCC internal prototype to avoid an error.
41694 Use char because int might match the return type of a GCC
41695 builtin and then its argument prototype would still apply. */
41699 char sched_yield ();
41700 /* The GNU C library defines this for functions which it implements
41701 to always fail with ENOSYS. Some functions are actually named
41702 something starting with __ and the normal name is an alias. */
41703 #if defined __stub_sched_yield || defined __stub___sched_yield
41710 return sched_yield ();
41715 rm -f conftest.
$ac_objext conftest
$ac_exeext
41716 if { (ac_try
="$ac_link"
41717 case "(($ac_try" in
41718 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41719 *) ac_try_echo=$ac_try;;
41721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41722 (eval "$ac_link") 2>conftest.er1
41724 grep -v '^ *+' conftest.er1 >conftest.err
41726 cat conftest.err >&5
41727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41728 (exit $ac_status); } && {
41729 test -z "$ac_c_werror_flag" ||
41730 test ! -s conftest.err
41731 } && test -s conftest$ac_exeext &&
41732 $as_test_x conftest$ac_exeext; then
41733 ac_cv_func_sched_yield=yes
41735 echo "$as_me: failed program was:" >&5
41736 sed 's/^/| /' conftest.$ac_ext >&5
41738 ac_cv_func_sched_yield=no
41741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41742 conftest$ac_exeext conftest.$ac_ext
41744 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41745 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41746 if test $ac_cv_func_sched_yield = yes; then
41747 cat >>confdefs.h <<\_ACEOF
41748 #define HAVE_SCHED_YIELD 1
41753 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41754 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41755 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41756 echo $ECHO_N "(cached) $ECHO_C" >&6
41758 ac_check_lib_save_LIBS=$LIBS
41759 LIBS="-lposix4 $LIBS"
41760 cat >conftest.$ac_ext <<_ACEOF
41763 cat confdefs.h >>conftest.$ac_ext
41764 cat >>conftest.$ac_ext <<_ACEOF
41765 /* end confdefs.h. */
41767 /* Override any GCC internal prototype to avoid an error.
41768 Use char because int might match the return type of a GCC
41769 builtin and then its argument prototype would still apply. */
41773 char sched_yield ();
41777 return sched_yield ();
41782 rm -f conftest.$ac_objext conftest$ac_exeext
41783 if { (ac_try="$ac_link"
41784 case "(($ac_try" in
41785 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41786 *) ac_try_echo
=$ac_try;;
41788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41789 (eval "$ac_link") 2>conftest.er1
41791 grep -v '^ *+' conftest.er1
>conftest.err
41793 cat conftest.err
>&5
41794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41795 (exit $ac_status); } && {
41796 test -z "$ac_c_werror_flag" ||
41797 test ! -s conftest.err
41798 } && test -s conftest
$ac_exeext &&
41799 $as_test_x conftest
$ac_exeext; then
41800 ac_cv_lib_posix4_sched_yield
=yes
41802 echo "$as_me: failed program was:" >&5
41803 sed 's/^/| /' conftest.
$ac_ext >&5
41805 ac_cv_lib_posix4_sched_yield
=no
41808 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41809 conftest
$ac_exeext conftest.
$ac_ext
41810 LIBS
=$ac_check_lib_save_LIBS
41812 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41813 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41814 if test $ac_cv_lib_posix4_sched_yield = yes; then
41815 cat >>confdefs.h
<<\_ACEOF
41816 #define HAVE_SCHED_YIELD 1
41818 POSIX4_LINK
=" -lposix4"
41820 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41821 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41832 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41833 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41834 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41835 echo $ECHO_N "(cached) $ECHO_C" >&6
41837 cat >conftest.
$ac_ext <<_ACEOF
41840 cat confdefs.h
>>conftest.
$ac_ext
41841 cat >>conftest.
$ac_ext <<_ACEOF
41842 /* end confdefs.h. */
41843 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41845 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41847 /* System header to define __stub macros and hopefully few prototypes,
41848 which can conflict with char pthread_attr_getschedpolicy (); below.
41849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41850 <limits.h> exists even on freestanding compilers. */
41853 # include <limits.h>
41855 # include <assert.h>
41858 #undef pthread_attr_getschedpolicy
41860 /* Override any GCC internal prototype to avoid an error.
41861 Use char because int might match the return type of a GCC
41862 builtin and then its argument prototype would still apply. */
41866 char pthread_attr_getschedpolicy ();
41867 /* The GNU C library defines this for functions which it implements
41868 to always fail with ENOSYS. Some functions are actually named
41869 something starting with __ and the normal name is an alias. */
41870 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41877 return pthread_attr_getschedpolicy ();
41882 rm -f conftest.
$ac_objext conftest
$ac_exeext
41883 if { (ac_try
="$ac_link"
41884 case "(($ac_try" in
41885 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41886 *) ac_try_echo=$ac_try;;
41888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41889 (eval "$ac_link") 2>conftest.er1
41891 grep -v '^ *+' conftest.er1 >conftest.err
41893 cat conftest.err >&5
41894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41895 (exit $ac_status); } && {
41896 test -z "$ac_c_werror_flag" ||
41897 test ! -s conftest.err
41898 } && test -s conftest$ac_exeext &&
41899 $as_test_x conftest$ac_exeext; then
41900 ac_cv_func_pthread_attr_getschedpolicy=yes
41902 echo "$as_me: failed program was:" >&5
41903 sed 's/^/| /' conftest.$ac_ext >&5
41905 ac_cv_func_pthread_attr_getschedpolicy=no
41908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41909 conftest$ac_exeext conftest.$ac_ext
41911 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41912 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41913 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41914 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41915 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41916 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41917 echo $ECHO_N "(cached) $ECHO_C" >&6
41919 cat >conftest.$ac_ext <<_ACEOF
41922 cat confdefs.h >>conftest.$ac_ext
41923 cat >>conftest.$ac_ext <<_ACEOF
41924 /* end confdefs.h. */
41925 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41927 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41929 /* System header to define __stub macros and hopefully few prototypes,
41930 which can conflict with char pthread_attr_setschedparam (); below.
41931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41932 <limits.h> exists even on freestanding compilers. */
41935 # include <limits.h>
41937 # include <assert.h>
41940 #undef pthread_attr_setschedparam
41942 /* Override any GCC internal prototype to avoid an error.
41943 Use char because int might match the return type of a GCC
41944 builtin and then its argument prototype would still apply. */
41948 char pthread_attr_setschedparam ();
41949 /* The GNU C library defines this for functions which it implements
41950 to always fail with ENOSYS. Some functions are actually named
41951 something starting with __ and the normal name is an alias. */
41952 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41959 return pthread_attr_setschedparam ();
41964 rm -f conftest.$ac_objext conftest$ac_exeext
41965 if { (ac_try="$ac_link"
41966 case "(($ac_try" in
41967 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41968 *) ac_try_echo
=$ac_try;;
41970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41971 (eval "$ac_link") 2>conftest.er1
41973 grep -v '^ *+' conftest.er1
>conftest.err
41975 cat conftest.err
>&5
41976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41977 (exit $ac_status); } && {
41978 test -z "$ac_c_werror_flag" ||
41979 test ! -s conftest.err
41980 } && test -s conftest
$ac_exeext &&
41981 $as_test_x conftest
$ac_exeext; then
41982 ac_cv_func_pthread_attr_setschedparam
=yes
41984 echo "$as_me: failed program was:" >&5
41985 sed 's/^/| /' conftest.
$ac_ext >&5
41987 ac_cv_func_pthread_attr_setschedparam
=no
41990 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41991 conftest
$ac_exeext conftest.
$ac_ext
41993 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41994 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41995 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41996 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41997 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41998 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41999 echo $ECHO_N "(cached) $ECHO_C" >&6
42001 cat >conftest.
$ac_ext <<_ACEOF
42004 cat confdefs.h
>>conftest.
$ac_ext
42005 cat >>conftest.
$ac_ext <<_ACEOF
42006 /* end confdefs.h. */
42007 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42009 #define sched_get_priority_max innocuous_sched_get_priority_max
42011 /* System header to define __stub macros and hopefully few prototypes,
42012 which can conflict with char sched_get_priority_max (); below.
42013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42014 <limits.h> exists even on freestanding compilers. */
42017 # include <limits.h>
42019 # include <assert.h>
42022 #undef sched_get_priority_max
42024 /* Override any GCC internal prototype to avoid an error.
42025 Use char because int might match the return type of a GCC
42026 builtin and then its argument prototype would still apply. */
42030 char sched_get_priority_max ();
42031 /* The GNU C library defines this for functions which it implements
42032 to always fail with ENOSYS. Some functions are actually named
42033 something starting with __ and the normal name is an alias. */
42034 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42041 return sched_get_priority_max ();
42046 rm -f conftest.
$ac_objext conftest
$ac_exeext
42047 if { (ac_try
="$ac_link"
42048 case "(($ac_try" in
42049 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42050 *) ac_try_echo=$ac_try;;
42052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42053 (eval "$ac_link") 2>conftest.er1
42055 grep -v '^ *+' conftest.er1 >conftest.err
42057 cat conftest.err >&5
42058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42059 (exit $ac_status); } && {
42060 test -z "$ac_c_werror_flag" ||
42061 test ! -s conftest.err
42062 } && test -s conftest$ac_exeext &&
42063 $as_test_x conftest$ac_exeext; then
42064 ac_cv_func_sched_get_priority_max=yes
42066 echo "$as_me: failed program was:" >&5
42067 sed 's/^/| /' conftest.$ac_ext >&5
42069 ac_cv_func_sched_get_priority_max=no
42072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42073 conftest$ac_exeext conftest.$ac_ext
42075 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42076 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42077 if test $ac_cv_func_sched_get_priority_max = yes; then
42080 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42081 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42082 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42083 echo $ECHO_N "(cached) $ECHO_C" >&6
42085 ac_check_lib_save_LIBS=$LIBS
42086 LIBS="-lposix4 $LIBS"
42087 cat >conftest.$ac_ext <<_ACEOF
42090 cat confdefs.h >>conftest.$ac_ext
42091 cat >>conftest.$ac_ext <<_ACEOF
42092 /* end confdefs.h. */
42094 /* Override any GCC internal prototype to avoid an error.
42095 Use char because int might match the return type of a GCC
42096 builtin and then its argument prototype would still apply. */
42100 char sched_get_priority_max ();
42104 return sched_get_priority_max ();
42109 rm -f conftest.$ac_objext conftest$ac_exeext
42110 if { (ac_try="$ac_link"
42111 case "(($ac_try" in
42112 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42113 *) ac_try_echo
=$ac_try;;
42115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42116 (eval "$ac_link") 2>conftest.er1
42118 grep -v '^ *+' conftest.er1
>conftest.err
42120 cat conftest.err
>&5
42121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42122 (exit $ac_status); } && {
42123 test -z "$ac_c_werror_flag" ||
42124 test ! -s conftest.err
42125 } && test -s conftest
$ac_exeext &&
42126 $as_test_x conftest
$ac_exeext; then
42127 ac_cv_lib_posix4_sched_get_priority_max
=yes
42129 echo "$as_me: failed program was:" >&5
42130 sed 's/^/| /' conftest.
$ac_ext >&5
42132 ac_cv_lib_posix4_sched_get_priority_max
=no
42135 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42136 conftest
$ac_exeext conftest.
$ac_ext
42137 LIBS
=$ac_check_lib_save_LIBS
42139 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42140 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42141 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42144 POSIX4_LINK
=" -lposix4"
42158 if test "$HAVE_PRIOR_FUNCS" = 1; then
42159 cat >>confdefs.h
<<\_ACEOF
42160 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42164 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42165 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42168 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42169 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42170 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42171 echo $ECHO_N "(cached) $ECHO_C" >&6
42173 cat >conftest.
$ac_ext <<_ACEOF
42176 cat confdefs.h
>>conftest.
$ac_ext
42177 cat >>conftest.
$ac_ext <<_ACEOF
42178 /* end confdefs.h. */
42179 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42181 #define pthread_cancel innocuous_pthread_cancel
42183 /* System header to define __stub macros and hopefully few prototypes,
42184 which can conflict with char pthread_cancel (); below.
42185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42186 <limits.h> exists even on freestanding compilers. */
42189 # include <limits.h>
42191 # include <assert.h>
42194 #undef pthread_cancel
42196 /* Override any GCC internal prototype to avoid an error.
42197 Use char because int might match the return type of a GCC
42198 builtin and then its argument prototype would still apply. */
42202 char pthread_cancel ();
42203 /* The GNU C library defines this for functions which it implements
42204 to always fail with ENOSYS. Some functions are actually named
42205 something starting with __ and the normal name is an alias. */
42206 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42213 return pthread_cancel ();
42218 rm -f conftest.
$ac_objext conftest
$ac_exeext
42219 if { (ac_try
="$ac_link"
42220 case "(($ac_try" in
42221 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42222 *) ac_try_echo=$ac_try;;
42224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42225 (eval "$ac_link") 2>conftest.er1
42227 grep -v '^ *+' conftest.er1 >conftest.err
42229 cat conftest.err >&5
42230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42231 (exit $ac_status); } && {
42232 test -z "$ac_c_werror_flag" ||
42233 test ! -s conftest.err
42234 } && test -s conftest$ac_exeext &&
42235 $as_test_x conftest$ac_exeext; then
42236 ac_cv_func_pthread_cancel=yes
42238 echo "$as_me: failed program was:" >&5
42239 sed 's/^/| /' conftest.$ac_ext >&5
42241 ac_cv_func_pthread_cancel=no
42244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42245 conftest$ac_exeext conftest.$ac_ext
42247 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42248 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42249 if test $ac_cv_func_pthread_cancel = yes; then
42250 cat >>confdefs.h <<\_ACEOF
42251 #define HAVE_PTHREAD_CANCEL 1
42255 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42256 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42260 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42261 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42262 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42263 echo $ECHO_N "(cached) $ECHO_C" >&6
42265 cat >conftest.$ac_ext <<_ACEOF
42268 cat confdefs.h >>conftest.$ac_ext
42269 cat >>conftest.$ac_ext <<_ACEOF
42270 /* end confdefs.h. */
42271 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42273 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42275 /* System header to define __stub macros and hopefully few prototypes,
42276 which can conflict with char pthread_mutex_timedlock (); below.
42277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42278 <limits.h> exists even on freestanding compilers. */
42281 # include <limits.h>
42283 # include <assert.h>
42286 #undef pthread_mutex_timedlock
42288 /* Override any GCC internal prototype to avoid an error.
42289 Use char because int might match the return type of a GCC
42290 builtin and then its argument prototype would still apply. */
42294 char pthread_mutex_timedlock ();
42295 /* The GNU C library defines this for functions which it implements
42296 to always fail with ENOSYS. Some functions are actually named
42297 something starting with __ and the normal name is an alias. */
42298 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42305 return pthread_mutex_timedlock ();
42310 rm -f conftest.$ac_objext conftest$ac_exeext
42311 if { (ac_try="$ac_link"
42312 case "(($ac_try" in
42313 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42314 *) ac_try_echo
=$ac_try;;
42316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42317 (eval "$ac_link") 2>conftest.er1
42319 grep -v '^ *+' conftest.er1
>conftest.err
42321 cat conftest.err
>&5
42322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42323 (exit $ac_status); } && {
42324 test -z "$ac_c_werror_flag" ||
42325 test ! -s conftest.err
42326 } && test -s conftest
$ac_exeext &&
42327 $as_test_x conftest
$ac_exeext; then
42328 ac_cv_func_pthread_mutex_timedlock
=yes
42330 echo "$as_me: failed program was:" >&5
42331 sed 's/^/| /' conftest.
$ac_ext >&5
42333 ac_cv_func_pthread_mutex_timedlock
=no
42336 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42337 conftest
$ac_exeext conftest.
$ac_ext
42339 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42340 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42341 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42342 cat >>confdefs.h
<<\_ACEOF
42343 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42347 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42348 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42352 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42353 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42354 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42355 echo $ECHO_N "(cached) $ECHO_C" >&6
42357 cat >conftest.
$ac_ext <<_ACEOF
42360 cat confdefs.h
>>conftest.
$ac_ext
42361 cat >>conftest.
$ac_ext <<_ACEOF
42362 /* end confdefs.h. */
42363 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42365 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42367 /* System header to define __stub macros and hopefully few prototypes,
42368 which can conflict with char pthread_attr_setstacksize (); below.
42369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42370 <limits.h> exists even on freestanding compilers. */
42373 # include <limits.h>
42375 # include <assert.h>
42378 #undef pthread_attr_setstacksize
42380 /* Override any GCC internal prototype to avoid an error.
42381 Use char because int might match the return type of a GCC
42382 builtin and then its argument prototype would still apply. */
42386 char pthread_attr_setstacksize ();
42387 /* The GNU C library defines this for functions which it implements
42388 to always fail with ENOSYS. Some functions are actually named
42389 something starting with __ and the normal name is an alias. */
42390 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42397 return pthread_attr_setstacksize ();
42402 rm -f conftest.
$ac_objext conftest
$ac_exeext
42403 if { (ac_try
="$ac_link"
42404 case "(($ac_try" in
42405 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42406 *) ac_try_echo=$ac_try;;
42408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42409 (eval "$ac_link") 2>conftest.er1
42411 grep -v '^ *+' conftest.er1 >conftest.err
42413 cat conftest.err >&5
42414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42415 (exit $ac_status); } && {
42416 test -z "$ac_c_werror_flag" ||
42417 test ! -s conftest.err
42418 } && test -s conftest$ac_exeext &&
42419 $as_test_x conftest$ac_exeext; then
42420 ac_cv_func_pthread_attr_setstacksize=yes
42422 echo "$as_me: failed program was:" >&5
42423 sed 's/^/| /' conftest.$ac_ext >&5
42425 ac_cv_func_pthread_attr_setstacksize=no
42428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42429 conftest$ac_exeext conftest.$ac_ext
42431 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42432 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42433 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42434 cat >>confdefs.h <<\_ACEOF
42435 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42442 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42443 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42444 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42445 echo $ECHO_N "(cached) $ECHO_C" >&6
42448 cat >conftest.$ac_ext <<_ACEOF
42451 cat confdefs.h >>conftest.$ac_ext
42452 cat >>conftest.$ac_ext <<_ACEOF
42453 /* end confdefs.h. */
42454 #include <pthread.h>
42459 pthread_mutexattr_t attr;
42460 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42466 rm -f conftest.$ac_objext
42467 if { (ac_try="$ac_compile"
42468 case "(($ac_try" in
42469 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42470 *) ac_try_echo
=$ac_try;;
42472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42473 (eval "$ac_compile") 2>conftest.er1
42475 grep -v '^ *+' conftest.er1
>conftest.err
42477 cat conftest.err
>&5
42478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42479 (exit $ac_status); } && {
42480 test -z "$ac_c_werror_flag" ||
42481 test ! -s conftest.err
42482 } && test -s conftest.
$ac_objext; then
42483 wx_cv_type_pthread_mutexattr_t
=yes
42485 echo "$as_me: failed program was:" >&5
42486 sed 's/^/| /' conftest.
$ac_ext >&5
42488 wx_cv_type_pthread_mutexattr_t
=no
42492 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42495 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42496 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42498 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42499 cat >>confdefs.h
<<\_ACEOF
42500 #define HAVE_PTHREAD_MUTEXATTR_T 1
42504 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42505 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42506 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42507 echo $ECHO_N "(cached) $ECHO_C" >&6
42510 cat >conftest.
$ac_ext <<_ACEOF
42513 cat confdefs.h
>>conftest.
$ac_ext
42514 cat >>conftest.
$ac_ext <<_ACEOF
42515 /* end confdefs.h. */
42516 #include <pthread.h>
42521 pthread_mutexattr_t attr;
42522 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42528 rm -f conftest.
$ac_objext
42529 if { (ac_try
="$ac_compile"
42530 case "(($ac_try" in
42531 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42532 *) ac_try_echo=$ac_try;;
42534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42535 (eval "$ac_compile") 2>conftest.er1
42537 grep -v '^ *+' conftest.er1 >conftest.err
42539 cat conftest.err >&5
42540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42541 (exit $ac_status); } && {
42542 test -z "$ac_c_werror_flag" ||
42543 test ! -s conftest.err
42544 } && test -s conftest.$ac_objext; then
42545 wx_cv_func_pthread_mutexattr_settype_decl=yes
42547 echo "$as_me: failed program was:" >&5
42548 sed 's/^/| /' conftest.$ac_ext >&5
42550 wx_cv_func_pthread_mutexattr_settype_decl=no
42554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42557 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42558 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42559 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42560 cat >>confdefs.h <<\_ACEOF
42561 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42566 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42567 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42568 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42569 echo $ECHO_N "(cached) $ECHO_C" >&6
42572 cat >conftest.$ac_ext <<_ACEOF
42575 cat confdefs.h >>conftest.$ac_ext
42576 cat >>conftest.$ac_ext <<_ACEOF
42577 /* end confdefs.h. */
42578 #include <pthread.h>
42583 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42589 rm -f conftest.$ac_objext
42590 if { (ac_try="$ac_compile"
42591 case "(($ac_try" in
42592 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42593 *) ac_try_echo
=$ac_try;;
42595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42596 (eval "$ac_compile") 2>conftest.er1
42598 grep -v '^ *+' conftest.er1
>conftest.err
42600 cat conftest.err
>&5
42601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42602 (exit $ac_status); } && {
42603 test -z "$ac_c_werror_flag" ||
42604 test ! -s conftest.err
42605 } && test -s conftest.
$ac_objext; then
42607 wx_cv_type_pthread_rec_mutex_init
=yes
42610 echo "$as_me: failed program was:" >&5
42611 sed 's/^/| /' conftest.
$ac_ext >&5
42614 wx_cv_type_pthread_rec_mutex_init
=no
42619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42622 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42623 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42624 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42625 cat >>confdefs.h
<<\_ACEOF
42626 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42630 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42631 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42637 if test "$wxUSE_THREADS" = "yes" ; then
42640 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42641 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42642 if test "${wx_cv_cflags_mthread+set}" = set; then
42643 echo $ECHO_N "(cached) $ECHO_C" >&6
42646 CFLAGS_OLD
="$CFLAGS"
42647 CFLAGS
="-mthreads $CFLAGS"
42648 cat >conftest.
$ac_ext <<_ACEOF
42651 cat confdefs.h
>>conftest.
$ac_ext
42652 cat >>conftest.
$ac_ext <<_ACEOF
42653 /* end confdefs.h. */
42663 rm -f conftest.
$ac_objext
42664 if { (ac_try
="$ac_compile"
42665 case "(($ac_try" in
42666 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42667 *) ac_try_echo=$ac_try;;
42669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42670 (eval "$ac_compile") 2>conftest.er1
42672 grep -v '^ *+' conftest.er1 >conftest.err
42674 cat conftest.err >&5
42675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42676 (exit $ac_status); } && {
42677 test -z "$ac_c_werror_flag" ||
42678 test ! -s conftest.err
42679 } && test -s conftest.$ac_objext; then
42680 wx_cv_cflags_mthread=yes
42682 echo "$as_me: failed program was:" >&5
42683 sed 's/^/| /' conftest.$ac_ext >&5
42685 wx_cv_cflags_mthread=no
42689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42693 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42694 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42696 if test "$wx_cv_cflags_mthread" = "yes"; then
42697 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42698 LDFLAGS="$LDFLAGS -mthreads"
42700 CFLAGS="$CFLAGS_OLD"
42704 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42705 LDFLAGS="$LDFLAGS -Zmt"
42711 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42712 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42713 if test "${ac_cv_func_localtime_r+set}" = set; then
42714 echo $ECHO_N "(cached) $ECHO_C" >&6
42716 cat >conftest.$ac_ext <<_ACEOF
42719 cat confdefs.h >>conftest.$ac_ext
42720 cat >>conftest.$ac_ext <<_ACEOF
42721 /* end confdefs.h. */
42722 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42724 #define localtime_r innocuous_localtime_r
42726 /* System header to define __stub macros and hopefully few prototypes,
42727 which can conflict with char localtime_r (); below.
42728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42729 <limits.h> exists even on freestanding compilers. */
42732 # include <limits.h>
42734 # include <assert.h>
42739 /* Override any GCC internal prototype to avoid an error.
42740 Use char because int might match the return type of a GCC
42741 builtin and then its argument prototype would still apply. */
42745 char localtime_r ();
42746 /* The GNU C library defines this for functions which it implements
42747 to always fail with ENOSYS. Some functions are actually named
42748 something starting with __ and the normal name is an alias. */
42749 #if defined __stub_localtime_r || defined __stub___localtime_r
42756 return localtime_r ();
42761 rm -f conftest.$ac_objext conftest$ac_exeext
42762 if { (ac_try="$ac_link"
42763 case "(($ac_try" in
42764 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42765 *) ac_try_echo
=$ac_try;;
42767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42768 (eval "$ac_link") 2>conftest.er1
42770 grep -v '^ *+' conftest.er1
>conftest.err
42772 cat conftest.err
>&5
42773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42774 (exit $ac_status); } && {
42775 test -z "$ac_c_werror_flag" ||
42776 test ! -s conftest.err
42777 } && test -s conftest
$ac_exeext &&
42778 $as_test_x conftest
$ac_exeext; then
42779 ac_cv_func_localtime_r
=yes
42781 echo "$as_me: failed program was:" >&5
42782 sed 's/^/| /' conftest.
$ac_ext >&5
42784 ac_cv_func_localtime_r
=no
42787 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42788 conftest
$ac_exeext conftest.
$ac_ext
42790 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42791 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42792 if test $ac_cv_func_localtime_r = yes; then
42793 cat >>confdefs.h
<<\_ACEOF
42794 #define HAVE_LOCALTIME_R 1
42799 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42800 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42801 if test "${ac_cv_func_gmtime_r+set}" = set; then
42802 echo $ECHO_N "(cached) $ECHO_C" >&6
42804 cat >conftest.
$ac_ext <<_ACEOF
42807 cat confdefs.h
>>conftest.
$ac_ext
42808 cat >>conftest.
$ac_ext <<_ACEOF
42809 /* end confdefs.h. */
42810 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42812 #define gmtime_r innocuous_gmtime_r
42814 /* System header to define __stub macros and hopefully few prototypes,
42815 which can conflict with char gmtime_r (); below.
42816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42817 <limits.h> exists even on freestanding compilers. */
42820 # include <limits.h>
42822 # include <assert.h>
42827 /* Override any GCC internal prototype to avoid an error.
42828 Use char because int might match the return type of a GCC
42829 builtin and then its argument prototype would still apply. */
42834 /* The GNU C library defines this for functions which it implements
42835 to always fail with ENOSYS. Some functions are actually named
42836 something starting with __ and the normal name is an alias. */
42837 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42844 return gmtime_r ();
42849 rm -f conftest.
$ac_objext conftest
$ac_exeext
42850 if { (ac_try
="$ac_link"
42851 case "(($ac_try" in
42852 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42853 *) ac_try_echo=$ac_try;;
42855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42856 (eval "$ac_link") 2>conftest.er1
42858 grep -v '^ *+' conftest.er1 >conftest.err
42860 cat conftest.err >&5
42861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42862 (exit $ac_status); } && {
42863 test -z "$ac_c_werror_flag" ||
42864 test ! -s conftest.err
42865 } && test -s conftest$ac_exeext &&
42866 $as_test_x conftest$ac_exeext; then
42867 ac_cv_func_gmtime_r=yes
42869 echo "$as_me: failed program was:" >&5
42870 sed 's/^/| /' conftest.$ac_ext >&5
42872 ac_cv_func_gmtime_r=no
42875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42876 conftest$ac_exeext conftest.$ac_ext
42878 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42879 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42880 if test $ac_cv_func_gmtime_r = yes; then
42881 cat >>confdefs.h <<\_ACEOF
42882 #define HAVE_GMTIME_R 1
42891 ac_cpp='$CPP $CPPFLAGS'
42892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42896 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42897 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42899 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42900 echo $ECHO_N "(cached) $ECHO_C" >&6
42904 ################################################################
42906 ac_cv_func_which_gethostbyname_r=unknown
42909 # ONE ARGUMENT (sanity check)
42912 # This should fail, as there is no variant of gethostbyname_r() that takes
42913 # a single argument. If it actually compiles, then we can assume that
42914 # netdb.h is not declaring the function, and the compiler is thereby
42915 # assuming an implicit prototype. In which case, we're out of luck.
42917 cat >conftest.$ac_ext <<_ACEOF
42920 cat confdefs.h >>conftest.$ac_ext
42921 cat >>conftest.$ac_ext <<_ACEOF
42922 /* end confdefs.h. */
42928 char *name = "www.gnu.org";
42929 (void)gethostbyname_r(name) /* ; */
42935 rm -f conftest.$ac_objext
42936 if { (ac_try="$ac_compile"
42937 case "(($ac_try" in
42938 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42939 *) ac_try_echo
=$ac_try;;
42941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42942 (eval "$ac_compile") 2>conftest.er1
42944 grep -v '^ *+' conftest.er1
>conftest.err
42946 cat conftest.err
>&5
42947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42948 (exit $ac_status); } && {
42949 test -z "$ac_c_werror_flag" ||
42950 test ! -s conftest.err
42951 } && test -s conftest.
$ac_objext; then
42952 ac_cv_func_which_gethostbyname_r
=no
42954 echo "$as_me: failed program was:" >&5
42955 sed 's/^/| /' conftest.
$ac_ext >&5
42960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42967 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42969 cat >conftest.
$ac_ext <<_ACEOF
42972 cat confdefs.h
>>conftest.
$ac_ext
42973 cat >>conftest.
$ac_ext <<_ACEOF
42974 /* end confdefs.h. */
42980 char *name = "www.gnu.org";
42981 struct hostent ret, *retp;
42985 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42991 rm -f conftest.
$ac_objext
42992 if { (ac_try
="$ac_compile"
42993 case "(($ac_try" in
42994 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42995 *) ac_try_echo=$ac_try;;
42997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42998 (eval "$ac_compile") 2>conftest.er1
43000 grep -v '^ *+' conftest.er1 >conftest.err
43002 cat conftest.err >&5
43003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43004 (exit $ac_status); } && {
43005 test -z "$ac_c_werror_flag" ||
43006 test ! -s conftest.err
43007 } && test -s conftest.$ac_objext; then
43008 ac_cv_func_which_gethostbyname_r=six
43010 echo "$as_me: failed program was:" >&5
43011 sed 's/^/| /' conftest.$ac_ext >&5
43016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43025 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43027 cat >conftest.$ac_ext <<_ACEOF
43030 cat confdefs.h >>conftest.$ac_ext
43031 cat >>conftest.$ac_ext <<_ACEOF
43032 /* end confdefs.h. */
43038 char *name = "www.gnu.org";
43039 struct hostent ret;
43043 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43049 rm -f conftest.$ac_objext
43050 if { (ac_try="$ac_compile"
43051 case "(($ac_try" in
43052 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43053 *) ac_try_echo
=$ac_try;;
43055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43056 (eval "$ac_compile") 2>conftest.er1
43058 grep -v '^ *+' conftest.er1
>conftest.err
43060 cat conftest.err
>&5
43061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43062 (exit $ac_status); } && {
43063 test -z "$ac_c_werror_flag" ||
43064 test ! -s conftest.err
43065 } && test -s conftest.
$ac_objext; then
43066 ac_cv_func_which_gethostbyname_r
=five
43068 echo "$as_me: failed program was:" >&5
43069 sed 's/^/| /' conftest.
$ac_ext >&5
43074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43080 # (e.g. AIX, HP-UX, Tru64)
43083 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43085 cat >conftest.
$ac_ext <<_ACEOF
43088 cat confdefs.h
>>conftest.
$ac_ext
43089 cat >>conftest.
$ac_ext <<_ACEOF
43090 /* end confdefs.h. */
43096 char *name = "www.gnu.org";
43097 struct hostent ret;
43098 struct hostent_data data;
43099 (void)gethostbyname_r(name, &ret, &data) /* ; */
43105 rm -f conftest.
$ac_objext
43106 if { (ac_try
="$ac_compile"
43107 case "(($ac_try" in
43108 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43109 *) ac_try_echo=$ac_try;;
43111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43112 (eval "$ac_compile") 2>conftest.er1
43114 grep -v '^ *+' conftest.er1 >conftest.err
43116 cat conftest.err >&5
43117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43118 (exit $ac_status); } && {
43119 test -z "$ac_c_werror_flag" ||
43120 test ! -s conftest.err
43121 } && test -s conftest.$ac_objext; then
43122 ac_cv_func_which_gethostbyname_r=three
43124 echo "$as_me: failed program was:" >&5
43125 sed 's/^/| /' conftest.$ac_ext >&5
43130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43134 ################################################################
43139 case "$ac_cv_func_which_gethostbyname_r" in
43141 { echo "$as_me:$LINENO: result: three" >&5
43142 echo "${ECHO_T}three" >&6; }
43143 cat >>confdefs.h <<\_ACEOF
43144 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43150 { echo "$as_me:$LINENO: result: five" >&5
43151 echo "${ECHO_T}five" >&6; }
43152 cat >>confdefs.h <<\_ACEOF
43153 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43159 { echo "$as_me:$LINENO: result: six" >&5
43160 echo "${ECHO_T}six" >&6; }
43161 cat >>confdefs.h <<\_ACEOF
43162 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43168 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43169 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43173 { echo "$as_me:$LINENO: result: can't tell" >&5
43174 echo "${ECHO_T}can't tell" >&6; }
43178 { { echo "$as_me:$LINENO: error: internal error" >&5
43179 echo "$as_me: error: internal error" >&2;}
43180 { (exit 1); exit 1; }; }
43185 ac_cpp='$CPP $CPPFLAGS'
43186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43192 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43193 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43194 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43195 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43196 if test "${ac_cv_func_gethostbyname+set}" = set; then
43197 echo $ECHO_N "(cached) $ECHO_C" >&6
43199 cat >conftest.$ac_ext <<_ACEOF
43202 cat confdefs.h >>conftest.$ac_ext
43203 cat >>conftest.$ac_ext <<_ACEOF
43204 /* end confdefs.h. */
43205 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43207 #define gethostbyname innocuous_gethostbyname
43209 /* System header to define __stub macros and hopefully few prototypes,
43210 which can conflict with char gethostbyname (); below.
43211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43212 <limits.h> exists even on freestanding compilers. */
43215 # include <limits.h>
43217 # include <assert.h>
43220 #undef gethostbyname
43222 /* Override any GCC internal prototype to avoid an error.
43223 Use char because int might match the return type of a GCC
43224 builtin and then its argument prototype would still apply. */
43228 char gethostbyname ();
43229 /* The GNU C library defines this for functions which it implements
43230 to always fail with ENOSYS. Some functions are actually named
43231 something starting with __ and the normal name is an alias. */
43232 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43239 return gethostbyname ();
43244 rm -f conftest.$ac_objext conftest$ac_exeext
43245 if { (ac_try="$ac_link"
43246 case "(($ac_try" in
43247 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43248 *) ac_try_echo
=$ac_try;;
43250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43251 (eval "$ac_link") 2>conftest.er1
43253 grep -v '^ *+' conftest.er1
>conftest.err
43255 cat conftest.err
>&5
43256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43257 (exit $ac_status); } && {
43258 test -z "$ac_c_werror_flag" ||
43259 test ! -s conftest.err
43260 } && test -s conftest
$ac_exeext &&
43261 $as_test_x conftest
$ac_exeext; then
43262 ac_cv_func_gethostbyname
=yes
43264 echo "$as_me: failed program was:" >&5
43265 sed 's/^/| /' conftest.
$ac_ext >&5
43267 ac_cv_func_gethostbyname
=no
43270 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43271 conftest
$ac_exeext conftest.
$ac_ext
43273 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43274 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43275 if test $ac_cv_func_gethostbyname = yes; then
43276 cat >>confdefs.h
<<\_ACEOF
43277 #define HAVE_GETHOSTBYNAME 1
43284 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43285 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43286 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43287 echo $ECHO_N "(cached) $ECHO_C" >&6
43291 ac_cpp
='$CXXCPP $CPPFLAGS'
43292 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43293 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43294 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43297 cat >conftest.
$ac_ext <<_ACEOF
43300 cat confdefs.h
>>conftest.
$ac_ext
43301 cat >>conftest.
$ac_ext <<_ACEOF
43302 /* end confdefs.h. */
43310 struct servent *se, *res;
43313 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43319 rm -f conftest.
$ac_objext
43320 if { (ac_try
="$ac_compile"
43321 case "(($ac_try" in
43322 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43323 *) ac_try_echo=$ac_try;;
43325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43326 (eval "$ac_compile") 2>conftest.er1
43328 grep -v '^ *+' conftest.er1 >conftest.err
43330 cat conftest.err >&5
43331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43332 (exit $ac_status); } && {
43333 test -z "$ac_cxx_werror_flag" ||
43334 test ! -s conftest.err
43335 } && test -s conftest.$ac_objext; then
43336 ac_cv_func_which_getservbyname_r=six
43338 echo "$as_me: failed program was:" >&5
43339 sed 's/^/| /' conftest.$ac_ext >&5
43342 cat >conftest.$ac_ext <<_ACEOF
43345 cat confdefs.h >>conftest.$ac_ext
43346 cat >>conftest.$ac_ext <<_ACEOF
43347 /* end confdefs.h. */
43355 struct servent *se;
43358 (void) getservbyname_r(name, proto, se, buffer, buflen)
43364 rm -f conftest.$ac_objext
43365 if { (ac_try="$ac_compile"
43366 case "(($ac_try" in
43367 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43368 *) ac_try_echo
=$ac_try;;
43370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43371 (eval "$ac_compile") 2>conftest.er1
43373 grep -v '^ *+' conftest.er1
>conftest.err
43375 cat conftest.err
>&5
43376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43377 (exit $ac_status); } && {
43378 test -z "$ac_cxx_werror_flag" ||
43379 test ! -s conftest.err
43380 } && test -s conftest.
$ac_objext; then
43381 ac_cv_func_which_getservbyname_r
=five
43383 echo "$as_me: failed program was:" >&5
43384 sed 's/^/| /' conftest.
$ac_ext >&5
43387 cat >conftest.
$ac_ext <<_ACEOF
43390 cat confdefs.h
>>conftest.
$ac_ext
43391 cat >>conftest.
$ac_ext <<_ACEOF
43392 /* end confdefs.h. */
43400 struct servent *se;
43401 struct servent_data data;
43402 (void) getservbyname_r(name, proto, se, &data);
43408 rm -f conftest.
$ac_objext
43409 if { (ac_try
="$ac_compile"
43410 case "(($ac_try" in
43411 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43412 *) ac_try_echo=$ac_try;;
43414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43415 (eval "$ac_compile") 2>conftest.er1
43417 grep -v '^ *+' conftest.er1 >conftest.err
43419 cat conftest.err >&5
43420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43421 (exit $ac_status); } && {
43422 test -z "$ac_cxx_werror_flag" ||
43423 test ! -s conftest.err
43424 } && test -s conftest.$ac_objext; then
43425 ac_cv_func_which_getservbyname_r=four
43427 echo "$as_me: failed program was:" >&5
43428 sed 's/^/| /' conftest.$ac_ext >&5
43430 ac_cv_func_which_getservbyname_r=no
43434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43446 ac_cpp='$CPP $CPPFLAGS'
43447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43454 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43455 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43457 if test $ac_cv_func_which_getservbyname_r = six; then
43458 cat >>confdefs.h <<\_ACEOF
43459 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43462 elif test $ac_cv_func_which_getservbyname_r = five; then
43463 cat >>confdefs.h <<\_ACEOF
43464 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43467 elif test $ac_cv_func_which_getservbyname_r = four; then
43468 cat >>confdefs.h <<\_ACEOF
43469 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43475 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43476 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43478 for ac_func in getservbyname
43480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43481 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43483 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43484 echo $ECHO_N "(cached) $ECHO_C" >&6
43486 cat >conftest.$ac_ext <<_ACEOF
43489 cat confdefs.h >>conftest.$ac_ext
43490 cat >>conftest.$ac_ext <<_ACEOF
43491 /* end confdefs.h. */
43492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43494 #define $ac_func innocuous_$ac_func
43496 /* System header to define __stub macros and hopefully few prototypes,
43497 which can conflict with char $ac_func (); below.
43498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43499 <limits.h> exists even on freestanding compilers. */
43502 # include <limits.h>
43504 # include <assert.h>
43509 /* Override any GCC internal prototype to avoid an error.
43510 Use char because int might match the return type of a GCC
43511 builtin and then its argument prototype would still apply. */
43516 /* The GNU C library defines this for functions which it implements
43517 to always fail with ENOSYS. Some functions are actually named
43518 something starting with __ and the normal name is an alias. */
43519 #if defined __stub_$ac_func || defined __stub___$ac_func
43526 return $ac_func ();
43531 rm -f conftest.$ac_objext conftest$ac_exeext
43532 if { (ac_try="$ac_link"
43533 case "(($ac_try" in
43534 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43535 *) ac_try_echo
=$ac_try;;
43537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43538 (eval "$ac_link") 2>conftest.er1
43540 grep -v '^ *+' conftest.er1
>conftest.err
43542 cat conftest.err
>&5
43543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43544 (exit $ac_status); } && {
43545 test -z "$ac_c_werror_flag" ||
43546 test ! -s conftest.err
43547 } && test -s conftest
$ac_exeext &&
43548 $as_test_x conftest
$ac_exeext; then
43549 eval "$as_ac_var=yes"
43551 echo "$as_me: failed program was:" >&5
43552 sed 's/^/| /' conftest.
$ac_ext >&5
43554 eval "$as_ac_var=no"
43557 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43558 conftest
$ac_exeext conftest.
$ac_ext
43560 ac_res
=`eval echo '${'$as_ac_var'}'`
43561 { echo "$as_me:$LINENO: result: $ac_res" >&5
43562 echo "${ECHO_T}$ac_res" >&6; }
43563 if test `eval echo '${'$as_ac_var'}'` = yes; then
43564 cat >>confdefs.h
<<_ACEOF
43565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43567 cat >>confdefs.h
<<\_ACEOF
43568 #define HAVE_GETSERVBYNAME 1
43576 if test "$wxUSE_THREADS" = "yes"; then
43577 cat >>confdefs.h
<<\_ACEOF
43578 #define wxUSE_THREADS 1
43582 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
43584 if test "$wx_cv_func_strtok_r" = "yes"; then
43585 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43586 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43587 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43588 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43589 { echo "$as_me:$LINENO: result: yes" >&5
43590 echo "${ECHO_T}yes" >&6; }
43592 { echo "$as_me:$LINENO: result: no" >&5
43593 echo "${ECHO_T}no" >&6; }
43598 if test "$WXGTK20" = 1 ; then
43599 cat >>confdefs.h
<<_ACEOF
43600 #define __WXGTK20__ $WXGTK20
43606 if test "$WXGTK12" = 1 ; then
43607 cat >>confdefs.h
<<_ACEOF
43608 #define __WXGTK12__ $WXGTK12
43613 if test "$WXGTK127" = 1 ; then
43614 cat >>confdefs.h
<<_ACEOF
43615 #define __WXGTK127__ $WXGTK127
43620 if test "$WXGPE" = 1 ; then
43621 cat >>confdefs.h
<<_ACEOF
43622 #define __WXGPE__ $WXGPE
43628 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43633 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43634 wxUSE_DEBUG_INFO
=yes
43635 if test "$GCC" = yes; then
43636 DEBUG_CFLAGS
="-ggdb"
43640 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43641 cat >>confdefs.h
<<\_ACEOF
43645 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43647 if test "$wxUSE_GTK" = 1 ; then
43648 if test "x$wxGTK_VERSION" = "x1" ; then
43649 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43654 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43655 cat >>confdefs.h
<<\_ACEOF
43656 #define wxUSE_MEMORY_TRACING 1
43659 cat >>confdefs.h
<<\_ACEOF
43660 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43663 cat >>confdefs.h
<<\_ACEOF
43664 #define wxUSE_DEBUG_NEW_ALWAYS 1
43667 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
43670 if test "$wxUSE_DMALLOC" = "yes" ; then
43671 DMALLOC_LIBS
="-ldmallocthcxx"
43675 if test "$wxUSE_PROFILE" = "yes" ; then
43676 PROFILE_FLAGS
=" -pg"
43679 if test "$GCC" = "yes" ; then
43680 if test "$wxUSE_NO_RTTI" = "yes" ; then
43681 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
43683 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43684 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
43686 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43687 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
43692 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
43695 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
43701 if test "$wxUSE_OPTIMISE" = "no" ; then
43702 if test "$GCC" = yes ; then
43703 OPTIMISE_CFLAGS
="-O0"
43706 if test "$GCC" = yes ; then
43708 *-pc-os2_emx | *-pc-os2-emx )
43709 OPTIMISE_CFLAGS
="-O2"
43712 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
43716 OPTIMISE_CFLAGS
="-O"
43721 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43722 cat >>confdefs.h
<<\_ACEOF
43723 #define WXWIN_COMPATIBILITY_2_6 1
43727 WXWIN_COMPATIBILITY_2_8
="yes"
43730 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43731 cat >>confdefs.h
<<\_ACEOF
43732 #define WXWIN_COMPATIBILITY_2_8 1
43738 if test "$wxUSE_GUI" = "yes"; then
43739 cat >>confdefs.h
<<\_ACEOF
43740 #define wxUSE_GUI 1
43747 if test "$wxUSE_UNIX" = "yes"; then
43748 cat >>confdefs.h
<<\_ACEOF
43749 #define wxUSE_UNIX 1
43755 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43759 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43760 if test "$USE_DARWIN" = 1; then
43762 elif test "$USE_DOS" = 1; then
43766 for ac_func
in dlopen
43768 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43769 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43771 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43772 echo $ECHO_N "(cached) $ECHO_C" >&6
43774 cat >conftest.
$ac_ext <<_ACEOF
43777 cat confdefs.h
>>conftest.
$ac_ext
43778 cat >>conftest.
$ac_ext <<_ACEOF
43779 /* end confdefs.h. */
43780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43782 #define $ac_func innocuous_$ac_func
43784 /* System header to define __stub macros and hopefully few prototypes,
43785 which can conflict with char $ac_func (); below.
43786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43787 <limits.h> exists even on freestanding compilers. */
43790 # include <limits.h>
43792 # include <assert.h>
43797 /* Override any GCC internal prototype to avoid an error.
43798 Use char because int might match the return type of a GCC
43799 builtin and then its argument prototype would still apply. */
43804 /* The GNU C library defines this for functions which it implements
43805 to always fail with ENOSYS. Some functions are actually named
43806 something starting with __ and the normal name is an alias. */
43807 #if defined __stub_$ac_func || defined __stub___$ac_func
43814 return $ac_func ();
43819 rm -f conftest.
$ac_objext conftest
$ac_exeext
43820 if { (ac_try
="$ac_link"
43821 case "(($ac_try" in
43822 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43823 *) ac_try_echo=$ac_try;;
43825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43826 (eval "$ac_link") 2>conftest.er1
43828 grep -v '^ *+' conftest.er1 >conftest.err
43830 cat conftest.err >&5
43831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43832 (exit $ac_status); } && {
43833 test -z "$ac_c_werror_flag" ||
43834 test ! -s conftest.err
43835 } && test -s conftest$ac_exeext &&
43836 $as_test_x conftest$ac_exeext; then
43837 eval "$as_ac_var=yes"
43839 echo "$as_me: failed program was:" >&5
43840 sed 's/^/| /' conftest.$ac_ext >&5
43842 eval "$as_ac_var=no"
43845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43846 conftest$ac_exeext conftest.$ac_ext
43848 ac_res=`eval echo '${'$as_ac_var'}'`
43849 { echo "$as_me:$LINENO: result: $ac_res" >&5
43850 echo "${ECHO_T}$ac_res" >&6; }
43851 if test `eval echo '${'$as_ac_var'}'` = yes; then
43852 cat >>confdefs.h <<_ACEOF
43853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43856 cat >>confdefs.h <<\_ACEOF
43857 #define HAVE_DLOPEN 1
43864 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43865 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43866 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43867 echo $ECHO_N "(cached) $ECHO_C" >&6
43869 ac_check_lib_save_LIBS=$LIBS
43871 cat >conftest.$ac_ext <<_ACEOF
43874 cat confdefs.h >>conftest.$ac_ext
43875 cat >>conftest.$ac_ext <<_ACEOF
43876 /* end confdefs.h. */
43878 /* Override any GCC internal prototype to avoid an error.
43879 Use char because int might match the return type of a GCC
43880 builtin and then its argument prototype would still apply. */
43893 rm -f conftest.$ac_objext conftest$ac_exeext
43894 if { (ac_try="$ac_link"
43895 case "(($ac_try" in
43896 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43897 *) ac_try_echo
=$ac_try;;
43899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43900 (eval "$ac_link") 2>conftest.er1
43902 grep -v '^ *+' conftest.er1
>conftest.err
43904 cat conftest.err
>&5
43905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43906 (exit $ac_status); } && {
43907 test -z "$ac_c_werror_flag" ||
43908 test ! -s conftest.err
43909 } && test -s conftest
$ac_exeext &&
43910 $as_test_x conftest
$ac_exeext; then
43911 ac_cv_lib_dl_dlopen
=yes
43913 echo "$as_me: failed program was:" >&5
43914 sed 's/^/| /' conftest.
$ac_ext >&5
43916 ac_cv_lib_dl_dlopen
=no
43919 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43920 conftest
$ac_exeext conftest.
$ac_ext
43921 LIBS
=$ac_check_lib_save_LIBS
43923 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43924 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43925 if test $ac_cv_lib_dl_dlopen = yes; then
43927 cat >>confdefs.h
<<\_ACEOF
43928 #define HAVE_DLOPEN 1
43932 DL_LINK
=" -ldl$DL_LINK"
43937 for ac_func
in shl_load
43939 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43940 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43942 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43943 echo $ECHO_N "(cached) $ECHO_C" >&6
43945 cat >conftest.
$ac_ext <<_ACEOF
43948 cat confdefs.h
>>conftest.
$ac_ext
43949 cat >>conftest.
$ac_ext <<_ACEOF
43950 /* end confdefs.h. */
43951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43953 #define $ac_func innocuous_$ac_func
43955 /* System header to define __stub macros and hopefully few prototypes,
43956 which can conflict with char $ac_func (); below.
43957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43958 <limits.h> exists even on freestanding compilers. */
43961 # include <limits.h>
43963 # include <assert.h>
43968 /* Override any GCC internal prototype to avoid an error.
43969 Use char because int might match the return type of a GCC
43970 builtin and then its argument prototype would still apply. */
43975 /* The GNU C library defines this for functions which it implements
43976 to always fail with ENOSYS. Some functions are actually named
43977 something starting with __ and the normal name is an alias. */
43978 #if defined __stub_$ac_func || defined __stub___$ac_func
43985 return $ac_func ();
43990 rm -f conftest.
$ac_objext conftest
$ac_exeext
43991 if { (ac_try
="$ac_link"
43992 case "(($ac_try" in
43993 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43994 *) ac_try_echo=$ac_try;;
43996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43997 (eval "$ac_link") 2>conftest.er1
43999 grep -v '^ *+' conftest.er1 >conftest.err
44001 cat conftest.err >&5
44002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44003 (exit $ac_status); } && {
44004 test -z "$ac_c_werror_flag" ||
44005 test ! -s conftest.err
44006 } && test -s conftest$ac_exeext &&
44007 $as_test_x conftest$ac_exeext; then
44008 eval "$as_ac_var=yes"
44010 echo "$as_me: failed program was:" >&5
44011 sed 's/^/| /' conftest.$ac_ext >&5
44013 eval "$as_ac_var=no"
44016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44017 conftest$ac_exeext conftest.$ac_ext
44019 ac_res=`eval echo '${'$as_ac_var'}'`
44020 { echo "$as_me:$LINENO: result: $ac_res" >&5
44021 echo "${ECHO_T}$ac_res" >&6; }
44022 if test `eval echo '${'$as_ac_var'}'` = yes; then
44023 cat >>confdefs.h <<_ACEOF
44024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44027 cat >>confdefs.h <<\_ACEOF
44028 #define HAVE_SHL_LOAD 1
44035 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44036 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44037 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44038 echo $ECHO_N "(cached) $ECHO_C" >&6
44040 ac_check_lib_save_LIBS=$LIBS
44041 LIBS="-lshl_load $LIBS"
44042 cat >conftest.$ac_ext <<_ACEOF
44045 cat confdefs.h >>conftest.$ac_ext
44046 cat >>conftest.$ac_ext <<_ACEOF
44047 /* end confdefs.h. */
44049 /* Override any GCC internal prototype to avoid an error.
44050 Use char because int might match the return type of a GCC
44051 builtin and then its argument prototype would still apply. */
44064 rm -f conftest.$ac_objext conftest$ac_exeext
44065 if { (ac_try="$ac_link"
44066 case "(($ac_try" in
44067 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44068 *) ac_try_echo
=$ac_try;;
44070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44071 (eval "$ac_link") 2>conftest.er1
44073 grep -v '^ *+' conftest.er1
>conftest.err
44075 cat conftest.err
>&5
44076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44077 (exit $ac_status); } && {
44078 test -z "$ac_c_werror_flag" ||
44079 test ! -s conftest.err
44080 } && test -s conftest
$ac_exeext &&
44081 $as_test_x conftest
$ac_exeext; then
44082 ac_cv_lib_shl_load_dld
=yes
44084 echo "$as_me: failed program was:" >&5
44085 sed 's/^/| /' conftest.
$ac_ext >&5
44087 ac_cv_lib_shl_load_dld
=no
44090 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44091 conftest
$ac_exeext conftest.
$ac_ext
44092 LIBS
=$ac_check_lib_save_LIBS
44094 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44095 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44096 if test $ac_cv_lib_shl_load_dld = yes; then
44099 DL_LINK
=" -ldld$DL_LINK"
44115 if test "$HAVE_DL_FUNCS" = 1; then
44117 for ac_func
in dlerror
44119 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44120 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44122 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44123 echo $ECHO_N "(cached) $ECHO_C" >&6
44125 cat >conftest.
$ac_ext <<_ACEOF
44128 cat confdefs.h
>>conftest.
$ac_ext
44129 cat >>conftest.
$ac_ext <<_ACEOF
44130 /* end confdefs.h. */
44131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44133 #define $ac_func innocuous_$ac_func
44135 /* System header to define __stub macros and hopefully few prototypes,
44136 which can conflict with char $ac_func (); below.
44137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44138 <limits.h> exists even on freestanding compilers. */
44141 # include <limits.h>
44143 # include <assert.h>
44148 /* Override any GCC internal prototype to avoid an error.
44149 Use char because int might match the return type of a GCC
44150 builtin and then its argument prototype would still apply. */
44155 /* The GNU C library defines this for functions which it implements
44156 to always fail with ENOSYS. Some functions are actually named
44157 something starting with __ and the normal name is an alias. */
44158 #if defined __stub_$ac_func || defined __stub___$ac_func
44165 return $ac_func ();
44170 rm -f conftest.
$ac_objext conftest
$ac_exeext
44171 if { (ac_try
="$ac_link"
44172 case "(($ac_try" in
44173 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44174 *) ac_try_echo=$ac_try;;
44176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44177 (eval "$ac_link") 2>conftest.er1
44179 grep -v '^ *+' conftest.er1 >conftest.err
44181 cat conftest.err >&5
44182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44183 (exit $ac_status); } && {
44184 test -z "$ac_c_werror_flag" ||
44185 test ! -s conftest.err
44186 } && test -s conftest$ac_exeext &&
44187 $as_test_x conftest$ac_exeext; then
44188 eval "$as_ac_var=yes"
44190 echo "$as_me: failed program was:" >&5
44191 sed 's/^/| /' conftest.$ac_ext >&5
44193 eval "$as_ac_var=no"
44196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44197 conftest$ac_exeext conftest.$ac_ext
44199 ac_res=`eval echo '${'$as_ac_var'}'`
44200 { echo "$as_me:$LINENO: result: $ac_res" >&5
44201 echo "${ECHO_T}$ac_res" >&6; }
44202 if test `eval echo '${'$as_ac_var'}'` = yes; then
44203 cat >>confdefs.h <<_ACEOF
44204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44206 cat >>confdefs.h <<\_ACEOF
44207 #define HAVE_DLERROR 1
44212 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44213 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44214 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44215 echo $ECHO_N "(cached) $ECHO_C" >&6
44217 ac_check_lib_save_LIBS=$LIBS
44219 cat >conftest.$ac_ext <<_ACEOF
44222 cat confdefs.h >>conftest.$ac_ext
44223 cat >>conftest.$ac_ext <<_ACEOF
44224 /* end confdefs.h. */
44226 /* Override any GCC internal prototype to avoid an error.
44227 Use char because int might match the return type of a GCC
44228 builtin and then its argument prototype would still apply. */
44241 rm -f conftest.$ac_objext conftest$ac_exeext
44242 if { (ac_try="$ac_link"
44243 case "(($ac_try" in
44244 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44245 *) ac_try_echo
=$ac_try;;
44247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44248 (eval "$ac_link") 2>conftest.er1
44250 grep -v '^ *+' conftest.er1
>conftest.err
44252 cat conftest.err
>&5
44253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44254 (exit $ac_status); } && {
44255 test -z "$ac_c_werror_flag" ||
44256 test ! -s conftest.err
44257 } && test -s conftest
$ac_exeext &&
44258 $as_test_x conftest
$ac_exeext; then
44259 ac_cv_lib_dl_dlerror
=yes
44261 echo "$as_me: failed program was:" >&5
44262 sed 's/^/| /' conftest.
$ac_ext >&5
44264 ac_cv_lib_dl_dlerror
=no
44267 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44268 conftest
$ac_exeext conftest.
$ac_ext
44269 LIBS
=$ac_check_lib_save_LIBS
44271 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44272 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44273 if test $ac_cv_lib_dl_dlerror = yes; then
44274 cat >>confdefs.h
<<\_ACEOF
44275 #define HAVE_DLERROR 1
44288 if test "$HAVE_DL_FUNCS" = 0; then
44289 if test "$HAVE_SHL_FUNCS" = 0; then
44290 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44291 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44292 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44293 wxUSE_DYNAMIC_LOADER
=no
44294 wxUSE_DYNLIB_CLASS
=no
44296 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44297 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44304 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44305 cat >>confdefs.h
<<\_ACEOF
44306 #define wxUSE_DYNAMIC_LOADER 1
44310 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44311 cat >>confdefs.h
<<\_ACEOF
44312 #define wxUSE_DYNLIB_CLASS 1
44319 if test "$wxUSE_PLUGINS" = "yes" ; then
44320 if test "$wxUSE_SHARED" = "no" ; then
44321 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44322 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44325 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44326 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44327 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44330 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44331 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44332 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44335 if test "$wxUSE_PLUGINS" = "yes" ; then
44336 cat >>confdefs.h
<<\_ACEOF
44337 #define wxUSE_PLUGINS 1
44344 if test "$wxUSE_STL" = "yes"; then
44345 cat >>confdefs.h
<<\_ACEOF
44346 #define wxUSE_STL 1
44351 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44352 cat >>confdefs.h
<<\_ACEOF
44353 #define wxUSE_EXTENDED_RTTI 1
44358 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44359 cat >>confdefs.h
<<\_ACEOF
44360 #define wxUSE_APPLE_IEEE 1
44365 if test "$wxUSE_TIMER" = "yes"; then
44366 cat >>confdefs.h
<<\_ACEOF
44367 #define wxUSE_TIMER 1
44372 if test "$USE_UNIX" = "1" ; then
44373 if test "$wxUSE_MGL" != 1; then
44374 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44375 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44376 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44377 echo $ECHO_N "(cached) $ECHO_C" >&6
44380 cat >conftest.
$ac_ext <<_ACEOF
44383 cat confdefs.h
>>conftest.
$ac_ext
44384 cat >>conftest.
$ac_ext <<_ACEOF
44385 /* end confdefs.h. */
44387 #include <sys/ioctl.h>
44388 #include <sys/soundcard.h>
44394 ioctl(0, SNDCTL_DSP_SPEED, 0);
44400 rm -f conftest.
$ac_objext conftest
$ac_exeext
44401 if { (ac_try
="$ac_link"
44402 case "(($ac_try" in
44403 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44404 *) ac_try_echo=$ac_try;;
44406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44407 (eval "$ac_link") 2>conftest.er1
44409 grep -v '^ *+' conftest.er1 >conftest.err
44411 cat conftest.err >&5
44412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44413 (exit $ac_status); } && {
44414 test -z "$ac_c_werror_flag" ||
44415 test ! -s conftest.err
44416 } && test -s conftest$ac_exeext &&
44417 $as_test_x conftest$ac_exeext; then
44418 ac_cv_header_sys_soundcard=yes
44420 echo "$as_me: failed program was:" >&5
44421 sed 's/^/| /' conftest.$ac_ext >&5
44425 LIBS="$saveLibs -lossaudio"
44426 cat >conftest.$ac_ext <<_ACEOF
44429 cat confdefs.h >>conftest.$ac_ext
44430 cat >>conftest.$ac_ext <<_ACEOF
44431 /* end confdefs.h. */
44433 #include <sys/ioctl.h>
44434 #include <sys/soundcard.h>
44440 ioctl(0, SNDCTL_DSP_SPEED, 0);
44446 rm -f conftest.$ac_objext conftest$ac_exeext
44447 if { (ac_try="$ac_link"
44448 case "(($ac_try" in
44449 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44450 *) ac_try_echo
=$ac_try;;
44452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44453 (eval "$ac_link") 2>conftest.er1
44455 grep -v '^ *+' conftest.er1
>conftest.err
44457 cat conftest.err
>&5
44458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44459 (exit $ac_status); } && {
44460 test -z "$ac_c_werror_flag" ||
44461 test ! -s conftest.err
44462 } && test -s conftest
$ac_exeext &&
44463 $as_test_x conftest
$ac_exeext; then
44464 ac_cv_header_sys_soundcard
=yes
44466 echo "$as_me: failed program was:" >&5
44467 sed 's/^/| /' conftest.
$ac_ext >&5
44471 ac_cv_header_sys_soundcard
=no
44476 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44477 conftest
$ac_exeext conftest.
$ac_ext
44482 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44483 conftest
$ac_exeext conftest.
$ac_ext
44486 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44487 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44490 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44491 cat >>confdefs.h
<<\_ACEOF
44492 #define HAVE_SYS_SOUNDCARD_H 1
44499 if test "$wxUSE_SOUND" = "yes"; then
44500 if test "$USE_UNIX" = "1" ; then
44501 if test "$wxUSE_LIBSDL" != "no"; then
44503 # Check whether --with-sdl-prefix was given.
44504 if test "${with_sdl_prefix+set}" = set; then
44505 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
44511 # Check whether --with-sdl-exec-prefix was given.
44512 if test "${with_sdl_exec_prefix+set}" = set; then
44513 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
44518 # Check whether --enable-sdltest was given.
44519 if test "${enable_sdltest+set}" = set; then
44520 enableval
=$enable_sdltest;
44526 if test x
$sdl_exec_prefix != x
; then
44527 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
44528 if test x
${SDL_CONFIG+set} != xset
; then
44529 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
44532 if test x
$sdl_prefix != x
; then
44533 sdl_args
="$sdl_args --prefix=$sdl_prefix"
44534 if test x
${SDL_CONFIG+set} != xset
; then
44535 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
44539 if test "x$prefix" != xNONE
; then
44540 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
44542 # Extract the first word of "sdl-config", so it can be a program name with args.
44543 set dummy sdl
-config; ac_word
=$2
44544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44546 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44547 echo $ECHO_N "(cached) $ECHO_C" >&6
44549 case $SDL_CONFIG in
44551 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
44554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44555 for as_dir
in $PATH
44558 test -z "$as_dir" && as_dir
=.
44559 for ac_exec_ext
in '' $ac_executable_extensions; do
44560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44561 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44569 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
44573 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
44574 if test -n "$SDL_CONFIG"; then
44575 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44576 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44578 { echo "$as_me:$LINENO: result: no" >&5
44579 echo "${ECHO_T}no" >&6; }
44583 min_sdl_version
=1.2.0
44584 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44585 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44587 if test "$SDL_CONFIG" = "no" ; then
44590 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
44591 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
44593 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
44594 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44595 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
44596 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44597 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
44598 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44599 if test "x$enable_sdltest" = "xyes" ; then
44600 ac_save_CFLAGS
="$CFLAGS"
44601 ac_save_CXXFLAGS
="$CXXFLAGS"
44602 ac_save_LIBS
="$LIBS"
44603 CFLAGS
="$CFLAGS $SDL_CFLAGS"
44604 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
44605 LIBS
="$LIBS $SDL_LIBS"
44607 if test "$cross_compiling" = yes; then
44608 echo $ac_n "cross compiling; assumed OK... $ac_c"
44610 cat >conftest.
$ac_ext <<_ACEOF
44613 cat confdefs.h
>>conftest.
$ac_ext
44614 cat >>conftest.
$ac_ext <<_ACEOF
44615 /* end confdefs.h. */
44618 #include <stdlib.h>
44619 #include <string.h>
44623 my_strdup (char *str)
44629 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44630 strcpy (new_str, str);
44638 int main (int argc, char *argv[])
44640 int major, minor, micro;
44643 /* This hangs on some systems (?)
44644 system ("touch conf.sdltest");
44646 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44648 /* HP/UX 9 (%@#!) writes to sscanf strings */
44649 tmp_version = my_strdup("$min_sdl_version");
44650 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44651 printf("%s, bad version string\n", "$min_sdl_version");
44655 if (($sdl_major_version > major) ||
44656 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44657 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44663 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44664 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44665 printf("*** best to upgrade to the required version.\n");
44666 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44667 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44668 printf("*** config.cache before re-running configure\n");
44675 rm -f conftest
$ac_exeext
44676 if { (ac_try
="$ac_link"
44677 case "(($ac_try" in
44678 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44679 *) ac_try_echo=$ac_try;;
44681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44682 (eval "$ac_link") 2>&5
44684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44685 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44686 { (case "(($ac_try" in
44687 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44688 *) ac_try_echo
=$ac_try;;
44690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44691 (eval "$ac_try") 2>&5
44693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44694 (exit $ac_status); }; }; then
44697 echo "$as_me: program exited with status $ac_status" >&5
44698 echo "$as_me: failed program was:" >&5
44699 sed 's/^/| /' conftest.
$ac_ext >&5
44701 ( exit $ac_status )
44704 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
44708 CFLAGS
="$ac_save_CFLAGS"
44709 CXXFLAGS
="$ac_save_CXXFLAGS"
44710 LIBS
="$ac_save_LIBS"
44713 if test "x$no_sdl" = x
; then
44714 { echo "$as_me:$LINENO: result: yes" >&5
44715 echo "${ECHO_T}yes" >&6; }
44717 EXTRALIBS_SDL
="$SDL_LIBS"
44718 CFLAGS
="$SDL_CFLAGS $CFLAGS"
44719 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
44720 cat >>confdefs.h
<<\_ACEOF
44721 #define wxUSE_LIBSDL 1
44726 { echo "$as_me:$LINENO: result: no" >&5
44727 echo "${ECHO_T}no" >&6; }
44728 if test "$SDL_CONFIG" = "no" ; then
44729 echo "*** The sdl-config script installed by SDL could not be found"
44730 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44731 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44732 echo "*** full path to sdl-config."
44734 if test -f conf.sdltest
; then
44737 echo "*** Could not run SDL test program, checking why..."
44738 CFLAGS
="$CFLAGS $SDL_CFLAGS"
44739 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
44740 LIBS
="$LIBS $SDL_LIBS"
44741 cat >conftest.
$ac_ext <<_ACEOF
44744 cat confdefs.h
>>conftest.
$ac_ext
44745 cat >>conftest.
$ac_ext <<_ACEOF
44746 /* end confdefs.h. */
44751 int main(int argc, char *argv[])
44754 #define main K_and_R_C_main
44764 rm -f conftest.
$ac_objext conftest
$ac_exeext
44765 if { (ac_try
="$ac_link"
44766 case "(($ac_try" in
44767 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44768 *) ac_try_echo=$ac_try;;
44770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44771 (eval "$ac_link") 2>conftest.er1
44773 grep -v '^ *+' conftest.er1 >conftest.err
44775 cat conftest.err >&5
44776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44777 (exit $ac_status); } && {
44778 test -z "$ac_c_werror_flag" ||
44779 test ! -s conftest.err
44780 } && test -s conftest$ac_exeext &&
44781 $as_test_x conftest$ac_exeext; then
44782 echo "*** The test program compiled, but did not run. This usually means"
44783 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44784 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44785 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44786 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44787 echo "*** is required on your system"
44789 echo "*** If you have an old version installed, it is best to remove it, although"
44790 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44792 echo "$as_me: failed program was:" >&5
44793 sed 's/^/| /' conftest.$ac_ext >&5
44795 echo "*** The test program failed to compile or link. See the file config.log for the"
44796 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44797 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44798 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44802 conftest$ac_exeext conftest.$ac_ext
44803 CFLAGS="$ac_save_CFLAGS"
44804 CXXFLAGS="$ac_save_CXXFLAGS"
44805 LIBS="$ac_save_LIBS"
44816 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44821 if test "$wxUSE_MGL" = 1; then
44822 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44823 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44829 if test "$wxUSE_SOUND" = "yes"; then
44830 cat >>confdefs.h <<\_ACEOF
44831 #define wxUSE_SOUND 1
44834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44837 if test "$WXGTK20" = 1; then
44840 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44841 if test -n "$ac_tool_prefix"; then
44842 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44843 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44844 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44846 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44847 echo $ECHO_N "(cached) $ECHO_C" >&6
44849 case $PKG_CONFIG in
44851 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44855 for as_dir in $PATH
44858 test -z "$as_dir" && as_dir=.
44859 for ac_exec_ext in '' $ac_executable_extensions; do
44860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44861 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44872 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44873 if test -n "$PKG_CONFIG"; then
44874 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44875 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44877 { echo "$as_me:$LINENO: result: no" >&5
44878 echo "${ECHO_T}no" >&6; }
44883 if test -z "$ac_cv_path_PKG_CONFIG"; then
44884 ac_pt_PKG_CONFIG=$PKG_CONFIG
44885 # Extract the first word of "pkg-config", so it can be a program name with args.
44886 set dummy pkg-config; ac_word=$2
44887 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44889 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44890 echo $ECHO_N "(cached) $ECHO_C" >&6
44892 case $ac_pt_PKG_CONFIG in
44894 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44898 for as_dir in $PATH
44901 test -z "$as_dir" && as_dir=.
44902 for ac_exec_ext in '' $ac_executable_extensions; do
44903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44904 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44915 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44916 if test -n "$ac_pt_PKG_CONFIG"; then
44917 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44918 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44920 { echo "$as_me:$LINENO: result: no" >&5
44921 echo "${ECHO_T}no" >&6; }
44924 if test "x$ac_pt_PKG_CONFIG" = x; then
44927 case $cross_compiling:$ac_tool_warned in
44929 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44930 whose name does not start with the host triplet. If you think this
44931 configuration is useful to you, please write to autoconf@gnu.org." >&5
44932 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44933 whose name does not start with the host triplet. If you think this
44934 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44935 ac_tool_warned=yes ;;
44937 PKG_CONFIG=$ac_pt_PKG_CONFIG
44940 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44944 if test -n "$PKG_CONFIG"; then
44945 _pkg_min_version=0.9.0
44946 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44947 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44948 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44949 { echo "$as_me:$LINENO: result: yes" >&5
44950 echo "${ECHO_T}yes" >&6; }
44952 { echo "$as_me:$LINENO: result: no" >&5
44953 echo "${ECHO_T}no" >&6; }
44959 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44961 if test "$wxUSE_GTKPRINT" = "yes" ; then
44965 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44966 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44968 if test -n "$PKG_CONFIG"; then
44969 if test -n "$GTKPRINT_CFLAGS"; then
44970 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44972 if test -n "$PKG_CONFIG" && \
44973 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44974 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44977 (exit $ac_status); }; then
44978 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
44986 if test -n "$PKG_CONFIG"; then
44987 if test -n "$GTKPRINT_LIBS"; then
44988 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44990 if test -n "$PKG_CONFIG" && \
44991 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44992 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44995 (exit $ac_status); }; then
44996 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
45007 if test $pkg_failed = yes; then
45009 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45010 _pkg_short_errors_supported=yes
45012 _pkg_short_errors_supported=no
45014 if test $_pkg_short_errors_supported = yes; then
45015 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45017 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45019 # Put the nasty error message in config.log where it belongs
45020 echo "$GTKPRINT_PKG_ERRORS" >&5
45023 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45024 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45025 wxUSE_GTKPRINT="no"
45028 elif test $pkg_failed = untried; then
45030 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45031 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45032 wxUSE_GTKPRINT="no"
45036 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
45037 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
45038 { echo "$as_me:$LINENO: result: yes" >&5
45039 echo "${ECHO_T}yes" >&6; }
45041 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
45042 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
45043 cat >>confdefs.h <<\_ACEOF
45044 #define wxUSE_GTKPRINT 1
45051 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45055 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45056 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45058 if test -n "$PKG_CONFIG"; then
45059 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45060 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45062 if test -n "$PKG_CONFIG" && \
45063 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45064 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45067 (exit $ac_status); }; then
45068 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
45076 if test -n "$PKG_CONFIG"; then
45077 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45078 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45080 if test -n "$PKG_CONFIG" && \
45081 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45082 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45085 (exit $ac_status); }; then
45086 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
45097 if test $pkg_failed = yes; then
45099 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45100 _pkg_short_errors_supported=yes
45102 _pkg_short_errors_supported=no
45104 if test $_pkg_short_errors_supported = yes; then
45105 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45107 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45109 # Put the nasty error message in config.log where it belongs
45110 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45113 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45114 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45115 wxUSE_LIBGNOMEPRINT="no"
45118 elif test $pkg_failed = untried; then
45120 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45121 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45122 wxUSE_LIBGNOMEPRINT="no"
45126 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45127 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45128 { echo "$as_me:$LINENO: result: yes" >&5
45129 echo "${ECHO_T}yes" >&6; }
45131 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45132 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45133 cat >>confdefs.h <<\_ACEOF
45134 #define wxUSE_LIBGNOMEPRINT 1
45142 if test "$wxUSE_MIMETYPE" = "yes" ; then
45143 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45147 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45148 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45150 if test -n "$PKG_CONFIG"; then
45151 if test -n "$GNOMEVFS_CFLAGS"; then
45152 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45154 if test -n "$PKG_CONFIG" && \
45155 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45156 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45159 (exit $ac_status); }; then
45160 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
45168 if test -n "$PKG_CONFIG"; then
45169 if test -n "$GNOMEVFS_LIBS"; then
45170 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45172 if test -n "$PKG_CONFIG" && \
45173 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45174 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45177 (exit $ac_status); }; then
45178 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
45189 if test $pkg_failed = yes; then
45191 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45192 _pkg_short_errors_supported=yes
45194 _pkg_short_errors_supported=no
45196 if test $_pkg_short_errors_supported = yes; then
45197 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45199 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45201 # Put the nasty error message in config.log where it belongs
45202 echo "$GNOMEVFS_PKG_ERRORS" >&5
45205 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45206 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45207 wxUSE_LIBGNOMEVFS="no"
45210 elif test $pkg_failed = untried; then
45212 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45213 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45214 wxUSE_LIBGNOMEVFS="no"
45218 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45219 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45220 { echo "$as_me:$LINENO: result: yes" >&5
45221 echo "${ECHO_T}yes" >&6; }
45223 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45224 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45225 cat >>confdefs.h <<\_ACEOF
45226 #define wxUSE_LIBGNOMEVFS 1
45234 if test "$wxUSE_LIBHILDON" = "yes" ; then
45237 { echo "$as_me:$LINENO: checking for HILDON" >&5
45238 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45240 if test -n "$PKG_CONFIG"; then
45241 if test -n "$HILDON_CFLAGS"; then
45242 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45244 if test -n "$PKG_CONFIG" && \
45245 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45246 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45249 (exit $ac_status); }; then
45250 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev
/null
`
45258 if test -n "$PKG_CONFIG"; then
45259 if test -n "$HILDON_LIBS"; then
45260 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45262 if test -n "$PKG_CONFIG" && \
45263 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45264 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45267 (exit $ac_status); }; then
45268 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev
/null
`
45279 if test $pkg_failed = yes; then
45281 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45282 _pkg_short_errors_supported=yes
45284 _pkg_short_errors_supported=no
45286 if test $_pkg_short_errors_supported = yes; then
45287 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45289 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45291 # Put the nasty error message in config.log where it belongs
45292 echo "$HILDON_PKG_ERRORS" >&5
45295 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45296 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45297 wxUSE_LIBHILDON="no"
45300 elif test $pkg_failed = untried; then
45302 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45303 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45304 wxUSE_LIBHILDON="no"
45308 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45309 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45310 { echo "$as_me:$LINENO: result: yes" >&5
45311 echo "${ECHO_T}yes" >&6; }
45313 EXTRALIBS_HILDON="$HILDON_LIBS"
45314 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45315 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45316 cat >>confdefs.h <<\_ACEOF
45317 #define wxUSE_LIBHILDON 1
45325 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45326 cat >>confdefs.h <<\_ACEOF
45327 #define wxUSE_CMDLINE_PARSER 1
45332 if test "$wxUSE_STOPWATCH" = "yes"; then
45333 cat >>confdefs.h <<\_ACEOF
45334 #define wxUSE_STOPWATCH 1
45339 if test "$wxUSE_DATETIME" = "yes"; then
45340 cat >>confdefs.h <<\_ACEOF
45341 #define wxUSE_DATETIME 1
45346 if test "$wxUSE_FILE" = "yes"; then
45347 cat >>confdefs.h <<\_ACEOF
45348 #define wxUSE_FILE 1
45353 if test "$wxUSE_FFILE" = "yes"; then
45354 cat >>confdefs.h <<\_ACEOF
45355 #define wxUSE_FFILE 1
45360 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45361 if test "$wxUSE_STREAMS" != yes; then
45362 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45363 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45364 wxUSE_ARCHIVE_STREAMS=no
45366 cat >>confdefs.h <<\_ACEOF
45367 #define wxUSE_ARCHIVE_STREAMS 1
45373 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45374 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45375 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45376 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45377 elif test "$wxUSE_ZLIB" = "no"; then
45378 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45379 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45381 cat >>confdefs.h <<\_ACEOF
45382 #define wxUSE_ZIPSTREAM 1
45388 if test "$wxUSE_TARSTREAM" = "yes"; then
45389 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45390 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45391 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45393 cat >>confdefs.h <<\_ACEOF
45394 #define wxUSE_TARSTREAM 1
45400 if test "$wxUSE_FILESYSTEM" = "yes"; then
45401 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45402 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45403 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45404 wxUSE_FILESYSTEM=no
45406 cat >>confdefs.h <<\_ACEOF
45407 #define wxUSE_FILESYSTEM 1
45413 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45414 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45415 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45416 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45418 cat >>confdefs.h <<\_ACEOF
45419 #define wxUSE_FS_ARCHIVE 1
45425 if test "$wxUSE_FS_ZIP" = "yes"; then
45426 if test "$wxUSE_FS_ARCHIVE" != yes; then
45427 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45428 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45430 cat >>confdefs.h <<\_ACEOF
45431 #define wxUSE_FS_ZIP 1
45437 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45438 if test "$USE_UNIX" != 1; then
45439 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45440 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45441 wxUSE_ON_FATAL_EXCEPTION=no
45443 cat >>confdefs.h <<\_ACEOF
45444 #define wxUSE_ON_FATAL_EXCEPTION 1
45450 if test "$wxUSE_STACKWALKER" = "yes"; then
45451 cat >>confdefs.h <<\_ACEOF
45452 #define wxUSE_STACKWALKER 1
45457 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45458 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45459 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45460 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45461 wxUSE_DEBUGREPORT=no
45463 cat >>confdefs.h <<\_ACEOF
45464 #define wxUSE_DEBUGREPORT 1
45467 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45468 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45473 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45474 cat >>confdefs.h <<\_ACEOF
45475 #define wxUSE_SNGLINST_CHECKER 1
45480 if test "$wxUSE_BUSYINFO" = "yes"; then
45481 cat >>confdefs.h <<\_ACEOF
45482 #define wxUSE_BUSYINFO 1
45487 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45488 cat >>confdefs.h <<\_ACEOF
45489 #define wxUSE_STD_IOSTREAM 1
45494 if test "$wxUSE_STD_STRING" = "yes"; then
45495 cat >>confdefs.h <<\_ACEOF
45496 #define wxUSE_STD_STRING 1
45501 if test "$wxUSE_STDPATHS" = "yes"; then
45502 cat >>confdefs.h <<\_ACEOF
45503 #define wxUSE_STDPATHS 1
45508 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45509 cat >>confdefs.h <<\_ACEOF
45510 #define wxUSE_TEXTBUFFER 1
45515 if test "$wxUSE_TEXTFILE" = "yes"; then
45516 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45517 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45518 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45520 cat >>confdefs.h <<\_ACEOF
45521 #define wxUSE_TEXTFILE 1
45527 if test "$wxUSE_CONFIG" = "yes" ; then
45528 if test "$wxUSE_TEXTFILE" != "yes"; then
45529 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45530 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45532 cat >>confdefs.h <<\_ACEOF
45533 #define wxUSE_CONFIG 1
45536 cat >>confdefs.h <<\_ACEOF
45537 #define wxUSE_CONFIG_NATIVE 1
45540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45544 if test "$wxUSE_INTL" = "yes" ; then
45545 if test "$wxUSE_FILE" != "yes"; then
45546 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45547 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45549 cat >>confdefs.h <<\_ACEOF
45550 #define wxUSE_INTL 1
45553 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45554 GUIDIST="$GUIDIST INTL_DIST"
45558 if test "$wxUSE_LOG" = "yes"; then
45559 cat >>confdefs.h <<\_ACEOF
45560 #define wxUSE_LOG 1
45564 if test "$wxUSE_LOGGUI" = "yes"; then
45565 cat >>confdefs.h <<\_ACEOF
45566 #define wxUSE_LOGGUI 1
45571 if test "$wxUSE_LOGWINDOW" = "yes"; then
45572 cat >>confdefs.h <<\_ACEOF
45573 #define wxUSE_LOGWINDOW 1
45578 if test "$wxUSE_LOGDIALOG" = "yes"; then
45579 cat >>confdefs.h <<\_ACEOF
45580 #define wxUSE_LOG_DIALOG 1
45585 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45588 if test "$wxUSE_LONGLONG" = "yes"; then
45589 cat >>confdefs.h <<\_ACEOF
45590 #define wxUSE_LONGLONG 1
45595 if test "$wxUSE_GEOMETRY" = "yes"; then
45596 cat >>confdefs.h <<\_ACEOF
45597 #define wxUSE_GEOMETRY 1
45602 if test "$wxUSE_BASE64" = "yes"; then
45603 cat >>confdefs.h <<\_ACEOF
45604 #define wxUSE_BASE64 1
45609 if test "$wxUSE_STREAMS" = "yes" ; then
45610 cat >>confdefs.h <<\_ACEOF
45611 #define wxUSE_STREAMS 1
45616 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45617 cat >>confdefs.h <<\_ACEOF
45618 #define wxUSE_PRINTF_POS_PARAMS 1
45623 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45624 cat >>confdefs.h <<\_ACEOF
45625 #define wxUSE_OBJC_UNIQUIFYING 1
45631 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45632 cat >>confdefs.h <<\_ACEOF
45633 #define wxUSE_CONSOLE_EVENTLOOP 1
45637 if test "$wxUSE_UNIX" = "yes"; then
45638 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45639 cat >>confdefs.h <<\_ACEOF
45640 #define wxUSE_SELECT_DISPATCHER 1
45645 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45647 for ac_header in sys/epoll.h
45649 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45650 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45652 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45653 echo $ECHO_N "(cached) $ECHO_C" >&6
45655 cat >conftest.$ac_ext <<_ACEOF
45658 cat confdefs.h >>conftest.$ac_ext
45659 cat >>conftest.$ac_ext <<_ACEOF
45660 /* end confdefs.h. */
45661 $ac_includes_default
45663 #include <$ac_header>
45665 rm -f conftest.$ac_objext
45666 if { (ac_try="$ac_compile"
45667 case "(($ac_try" in
45668 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45669 *) ac_try_echo
=$ac_try;;
45671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45672 (eval "$ac_compile") 2>conftest.er1
45674 grep -v '^ *+' conftest.er1
>conftest.err
45676 cat conftest.err
>&5
45677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45678 (exit $ac_status); } && {
45679 test -z "$ac_c_werror_flag" ||
45680 test ! -s conftest.err
45681 } && test -s conftest.
$ac_objext; then
45682 eval "$as_ac_Header=yes"
45684 echo "$as_me: failed program was:" >&5
45685 sed 's/^/| /' conftest.
$ac_ext >&5
45687 eval "$as_ac_Header=no"
45690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45692 ac_res
=`eval echo '${'$as_ac_Header'}'`
45693 { echo "$as_me:$LINENO: result: $ac_res" >&5
45694 echo "${ECHO_T}$ac_res" >&6; }
45695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45696 cat >>confdefs.h
<<_ACEOF
45697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45704 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45705 cat >>confdefs.h
<<\_ACEOF
45706 #define wxUSE_EPOLL_DISPATCHER 1
45710 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45711 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45720 for ac_func
in gettimeofday ftime
45722 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45723 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45725 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45726 echo $ECHO_N "(cached) $ECHO_C" >&6
45728 cat >conftest.
$ac_ext <<_ACEOF
45731 cat confdefs.h
>>conftest.
$ac_ext
45732 cat >>conftest.
$ac_ext <<_ACEOF
45733 /* end confdefs.h. */
45734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45736 #define $ac_func innocuous_$ac_func
45738 /* System header to define __stub macros and hopefully few prototypes,
45739 which can conflict with char $ac_func (); below.
45740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45741 <limits.h> exists even on freestanding compilers. */
45744 # include <limits.h>
45746 # include <assert.h>
45751 /* Override any GCC internal prototype to avoid an error.
45752 Use char because int might match the return type of a GCC
45753 builtin and then its argument prototype would still apply. */
45758 /* The GNU C library defines this for functions which it implements
45759 to always fail with ENOSYS. Some functions are actually named
45760 something starting with __ and the normal name is an alias. */
45761 #if defined __stub_$ac_func || defined __stub___$ac_func
45768 return $ac_func ();
45773 rm -f conftest.
$ac_objext conftest
$ac_exeext
45774 if { (ac_try
="$ac_link"
45775 case "(($ac_try" in
45776 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45777 *) ac_try_echo=$ac_try;;
45779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45780 (eval "$ac_link") 2>conftest.er1
45782 grep -v '^ *+' conftest.er1 >conftest.err
45784 cat conftest.err >&5
45785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45786 (exit $ac_status); } && {
45787 test -z "$ac_c_werror_flag" ||
45788 test ! -s conftest.err
45789 } && test -s conftest$ac_exeext &&
45790 $as_test_x conftest$ac_exeext; then
45791 eval "$as_ac_var=yes"
45793 echo "$as_me: failed program was:" >&5
45794 sed 's/^/| /' conftest.$ac_ext >&5
45796 eval "$as_ac_var=no"
45799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45800 conftest$ac_exeext conftest.$ac_ext
45802 ac_res=`eval echo '${'$as_ac_var'}'`
45803 { echo "$as_me:$LINENO: result: $ac_res" >&5
45804 echo "${ECHO_T}$ac_res" >&6; }
45805 if test `eval echo '${'$as_ac_var'}'` = yes; then
45806 cat >>confdefs.h <<_ACEOF
45807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45814 if test "$ac_cv_func_gettimeofday" = "yes"; then
45815 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45816 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45817 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45818 echo $ECHO_N "(cached) $ECHO_C" >&6
45821 cat >conftest.$ac_ext <<_ACEOF
45824 cat confdefs.h >>conftest.$ac_ext
45825 cat >>conftest.$ac_ext <<_ACEOF
45826 /* end confdefs.h. */
45828 #include <sys/time.h>
45829 #include <unistd.h>
45836 gettimeofday(&tv, NULL);
45842 rm -f conftest.$ac_objext
45843 if { (ac_try="$ac_compile"
45844 case "(($ac_try" in
45845 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45846 *) ac_try_echo
=$ac_try;;
45848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45849 (eval "$ac_compile") 2>conftest.er1
45851 grep -v '^ *+' conftest.er1
>conftest.err
45853 cat conftest.err
>&5
45854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45855 (exit $ac_status); } && {
45856 test -z "$ac_c_werror_flag" ||
45857 test ! -s conftest.err
45858 } && test -s conftest.
$ac_objext; then
45859 wx_cv_func_gettimeofday_has_2_args
=yes
45861 echo "$as_me: failed program was:" >&5
45862 sed 's/^/| /' conftest.
$ac_ext >&5
45864 cat >conftest.
$ac_ext <<_ACEOF
45867 cat confdefs.h
>>conftest.
$ac_ext
45868 cat >>conftest.
$ac_ext <<_ACEOF
45869 /* end confdefs.h. */
45871 #include <sys/time.h>
45872 #include <unistd.h>
45885 rm -f conftest.
$ac_objext
45886 if { (ac_try
="$ac_compile"
45887 case "(($ac_try" in
45888 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45889 *) ac_try_echo=$ac_try;;
45891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45892 (eval "$ac_compile") 2>conftest.er1
45894 grep -v '^ *+' conftest.er1 >conftest.err
45896 cat conftest.err >&5
45897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45898 (exit $ac_status); } && {
45899 test -z "$ac_c_werror_flag" ||
45900 test ! -s conftest.err
45901 } && test -s conftest.$ac_objext; then
45902 wx_cv_func_gettimeofday_has_2_args=no
45904 echo "$as_me: failed program was:" >&5
45905 sed 's/^/| /' conftest.$ac_ext >&5
45908 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45909 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45910 wx_cv_func_gettimeofday_has_2_args=unknown
45915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45922 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45923 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45925 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45926 cat >>confdefs.h <<\_ACEOF
45927 #define WX_GETTIMEOFDAY_NO_TZ 1
45933 if test "$wxUSE_DATETIME" = "yes"; then
45934 { echo "$as_me:$LINENO: checking for strptime" >&5
45935 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45936 if test "${ac_cv_func_strptime+set}" = set; then
45937 echo $ECHO_N "(cached) $ECHO_C" >&6
45939 cat >conftest.$ac_ext <<_ACEOF
45942 cat confdefs.h >>conftest.$ac_ext
45943 cat >>conftest.$ac_ext <<_ACEOF
45944 /* end confdefs.h. */
45945 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45947 #define strptime innocuous_strptime
45949 /* System header to define __stub macros and hopefully few prototypes,
45950 which can conflict with char strptime (); below.
45951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45952 <limits.h> exists even on freestanding compilers. */
45955 # include <limits.h>
45957 # include <assert.h>
45962 /* Override any GCC internal prototype to avoid an error.
45963 Use char because int might match the return type of a GCC
45964 builtin and then its argument prototype would still apply. */
45969 /* The GNU C library defines this for functions which it implements
45970 to always fail with ENOSYS. Some functions are actually named
45971 something starting with __ and the normal name is an alias. */
45972 #if defined __stub_strptime || defined __stub___strptime
45979 return strptime ();
45984 rm -f conftest.$ac_objext conftest$ac_exeext
45985 if { (ac_try="$ac_link"
45986 case "(($ac_try" in
45987 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45988 *) ac_try_echo
=$ac_try;;
45990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45991 (eval "$ac_link") 2>conftest.er1
45993 grep -v '^ *+' conftest.er1
>conftest.err
45995 cat conftest.err
>&5
45996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45997 (exit $ac_status); } && {
45998 test -z "$ac_c_werror_flag" ||
45999 test ! -s conftest.err
46000 } && test -s conftest
$ac_exeext &&
46001 $as_test_x conftest
$ac_exeext; then
46002 ac_cv_func_strptime
=yes
46004 echo "$as_me: failed program was:" >&5
46005 sed 's/^/| /' conftest.
$ac_ext >&5
46007 ac_cv_func_strptime
=no
46010 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46011 conftest
$ac_exeext conftest.
$ac_ext
46013 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46014 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46016 if test "$ac_cv_func_strptime" = "yes"; then
46017 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46018 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46019 if test "${wx_cv_func_strptime_decl+set}" = set; then
46020 echo $ECHO_N "(cached) $ECHO_C" >&6
46024 ac_cpp
='$CXXCPP $CPPFLAGS'
46025 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46026 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46027 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46029 cat >conftest.
$ac_ext <<_ACEOF
46032 cat confdefs.h
>>conftest.
$ac_ext
46033 cat >>conftest.
$ac_ext <<_ACEOF
46034 /* end confdefs.h. */
46043 strptime("foo", "bar", &t);
46049 rm -f conftest.
$ac_objext
46050 if { (ac_try
="$ac_compile"
46051 case "(($ac_try" in
46052 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46053 *) ac_try_echo=$ac_try;;
46055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46056 (eval "$ac_compile") 2>conftest.er1
46058 grep -v '^ *+' conftest.er1 >conftest.err
46060 cat conftest.err >&5
46061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46062 (exit $ac_status); } && {
46063 test -z "$ac_cxx_werror_flag" ||
46064 test ! -s conftest.err
46065 } && test -s conftest.$ac_objext; then
46066 wx_cv_func_strptime_decl=yes
46068 echo "$as_me: failed program was:" >&5
46069 sed 's/^/| /' conftest.$ac_ext >&5
46071 wx_cv_func_strptime_decl=no
46075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46077 ac_cpp='$CPP $CPPFLAGS'
46078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46085 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46086 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46088 if test "$wx_cv_func_strptime_decl" = "yes"; then
46089 cat >>confdefs.h <<\_ACEOF
46090 #define HAVE_STRPTIME_DECL 1
46094 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46096 if test "$ac_cv_func_strptime" = "yes"; then
46097 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46098 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46099 if test "${wx_cv_func_strptime_ok+set}" = set; then
46100 echo $ECHO_N "(cached) $ECHO_C" >&6
46102 if test "$cross_compiling" = yes; then
46103 wx_cv_func_strptime_ok=no
46106 cat >conftest.$ac_ext <<_ACEOF
46108 #include <stdlib.h>
46110 #include "confdefs.h"
46117 return !!strptime("", "%x", &t);
46121 rm -f conftest$ac_exeext
46122 if { (ac_try="$ac_link"
46123 case "(($ac_try" in
46124 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46125 *) ac_try_echo
=$ac_try;;
46127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46128 (eval "$ac_link") 2>&5
46130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46131 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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_try") 2>&5
46139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46140 (exit $ac_status); }; }; then
46141 wx_cv_func_strptime_ok=yes
46143 echo "$as_me: program exited with status $ac_status" >&5
46144 echo "$as_me: failed program was:" >&5
46145 sed 's/^/| /' conftest.$ac_ext >&5
46147 ( exit $ac_status )
46148 wx_cv_func_strptime_ok=no
46150 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46156 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46157 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46159 if test "$wx_cv_func_strptime_ok" = "yes"; then
46160 cat >>confdefs.h <<\_ACEOF
46161 #define HAVE_STRPTIME 1
46167 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46168 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46169 if test "${wx_cv_var_timezone+set}" = set; then
46170 echo $ECHO_N "(cached) $ECHO_C" >&6
46174 ac_cpp='$CXXCPP $CPPFLAGS'
46175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46179 cat >conftest.$ac_ext <<_ACEOF
46182 cat confdefs.h >>conftest.$ac_ext
46183 cat >>conftest.$ac_ext <<_ACEOF
46184 /* end confdefs.h. */
46199 rm -f conftest.$ac_objext
46200 if { (ac_try="$ac_compile"
46201 case "(($ac_try" in
46202 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46203 *) ac_try_echo
=$ac_try;;
46205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46206 (eval "$ac_compile") 2>conftest.er1
46208 grep -v '^ *+' conftest.er1
>conftest.err
46210 cat conftest.err
>&5
46211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46212 (exit $ac_status); } && {
46213 test -z "$ac_cxx_werror_flag" ||
46214 test ! -s conftest.err
46215 } && test -s conftest.
$ac_objext; then
46217 wx_cv_var_timezone
=timezone
46220 echo "$as_me: failed program was:" >&5
46221 sed 's/^/| /' conftest.
$ac_ext >&5
46224 cat >conftest.
$ac_ext <<_ACEOF
46227 cat confdefs.h
>>conftest.
$ac_ext
46228 cat >>conftest.
$ac_ext <<_ACEOF
46229 /* end confdefs.h. */
46244 rm -f conftest.
$ac_objext
46245 if { (ac_try
="$ac_compile"
46246 case "(($ac_try" in
46247 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46248 *) ac_try_echo=$ac_try;;
46250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46251 (eval "$ac_compile") 2>conftest.er1
46253 grep -v '^ *+' conftest.er1 >conftest.err
46255 cat conftest.err >&5
46256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46257 (exit $ac_status); } && {
46258 test -z "$ac_cxx_werror_flag" ||
46259 test ! -s conftest.err
46260 } && test -s conftest.$ac_objext; then
46262 wx_cv_var_timezone=_timezone
46265 echo "$as_me: failed program was:" >&5
46266 sed 's/^/| /' conftest.$ac_ext >&5
46269 cat >conftest.$ac_ext <<_ACEOF
46272 cat confdefs.h >>conftest.$ac_ext
46273 cat >>conftest.$ac_ext <<_ACEOF
46274 /* end confdefs.h. */
46289 rm -f conftest.$ac_objext
46290 if { (ac_try="$ac_compile"
46291 case "(($ac_try" in
46292 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46293 *) ac_try_echo
=$ac_try;;
46295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46296 (eval "$ac_compile") 2>conftest.er1
46298 grep -v '^ *+' conftest.er1
>conftest.err
46300 cat conftest.err
>&5
46301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46302 (exit $ac_status); } && {
46303 test -z "$ac_cxx_werror_flag" ||
46304 test ! -s conftest.err
46305 } && test -s conftest.
$ac_objext; then
46307 wx_cv_var_timezone
=__timezone
46310 echo "$as_me: failed program was:" >&5
46311 sed 's/^/| /' conftest.
$ac_ext >&5
46314 if test "$USE_DOS" = 0 ; then
46315 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46316 echo "$as_me: WARNING: no timezone variable" >&2;}
46322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46334 ac_cpp
='$CPP $CPPFLAGS'
46335 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46336 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46337 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46342 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46343 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46345 if test "x$wx_cv_var_timezone" != x
; then
46346 cat >>confdefs.h
<<_ACEOF
46347 #define WX_TIMEZONE $wx_cv_var_timezone
46353 for ac_func
in localtime
46355 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46356 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46358 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46359 echo $ECHO_N "(cached) $ECHO_C" >&6
46361 cat >conftest.
$ac_ext <<_ACEOF
46364 cat confdefs.h
>>conftest.
$ac_ext
46365 cat >>conftest.
$ac_ext <<_ACEOF
46366 /* end confdefs.h. */
46367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46369 #define $ac_func innocuous_$ac_func
46371 /* System header to define __stub macros and hopefully few prototypes,
46372 which can conflict with char $ac_func (); below.
46373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46374 <limits.h> exists even on freestanding compilers. */
46377 # include <limits.h>
46379 # include <assert.h>
46384 /* Override any GCC internal prototype to avoid an error.
46385 Use char because int might match the return type of a GCC
46386 builtin and then its argument prototype would still apply. */
46391 /* The GNU C library defines this for functions which it implements
46392 to always fail with ENOSYS. Some functions are actually named
46393 something starting with __ and the normal name is an alias. */
46394 #if defined __stub_$ac_func || defined __stub___$ac_func
46401 return $ac_func ();
46406 rm -f conftest.
$ac_objext conftest
$ac_exeext
46407 if { (ac_try
="$ac_link"
46408 case "(($ac_try" in
46409 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46410 *) ac_try_echo=$ac_try;;
46412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46413 (eval "$ac_link") 2>conftest.er1
46415 grep -v '^ *+' conftest.er1 >conftest.err
46417 cat conftest.err >&5
46418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46419 (exit $ac_status); } && {
46420 test -z "$ac_c_werror_flag" ||
46421 test ! -s conftest.err
46422 } && test -s conftest$ac_exeext &&
46423 $as_test_x conftest$ac_exeext; then
46424 eval "$as_ac_var=yes"
46426 echo "$as_me: failed program was:" >&5
46427 sed 's/^/| /' conftest.$ac_ext >&5
46429 eval "$as_ac_var=no"
46432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46433 conftest$ac_exeext conftest.$ac_ext
46435 ac_res=`eval echo '${'$as_ac_var'}'`
46436 { echo "$as_me:$LINENO: result: $ac_res" >&5
46437 echo "${ECHO_T}$ac_res" >&6; }
46438 if test `eval echo '${'$as_ac_var'}'` = yes; then
46439 cat >>confdefs.h <<_ACEOF
46440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46447 if test "$ac_cv_func_localtime" = "yes"; then
46448 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46449 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46450 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46451 echo $ECHO_N "(cached) $ECHO_C" >&6
46454 cat >conftest.$ac_ext <<_ACEOF
46457 cat confdefs.h >>conftest.$ac_ext
46458 cat >>conftest.$ac_ext <<_ACEOF
46459 /* end confdefs.h. */
46474 rm -f conftest.$ac_objext
46475 if { (ac_try="$ac_compile"
46476 case "(($ac_try" in
46477 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46478 *) ac_try_echo
=$ac_try;;
46480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46481 (eval "$ac_compile") 2>conftest.er1
46483 grep -v '^ *+' conftest.er1
>conftest.err
46485 cat conftest.err
>&5
46486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46487 (exit $ac_status); } && {
46488 test -z "$ac_c_werror_flag" ||
46489 test ! -s conftest.err
46490 } && test -s conftest.
$ac_objext; then
46492 wx_cv_struct_tm_has_gmtoff
=yes
46495 echo "$as_me: failed program was:" >&5
46496 sed 's/^/| /' conftest.
$ac_ext >&5
46498 wx_cv_struct_tm_has_gmtoff
=no
46502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46505 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46506 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46509 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46510 cat >>confdefs.h
<<\_ACEOF
46511 #define WX_GMTOFF_IN_TM 1
46516 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
46520 if test "$wxUSE_SOCKETS" = "yes"; then
46521 if test "$wxUSE_MGL" = "1"; then
46522 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46523 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46528 if test "$wxUSE_SOCKETS" = "yes"; then
46529 if test "$TOOLKIT" != "MSW"; then
46530 { echo "$as_me:$LINENO: checking for socket" >&5
46531 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46532 if test "${ac_cv_func_socket+set}" = set; then
46533 echo $ECHO_N "(cached) $ECHO_C" >&6
46535 cat >conftest.
$ac_ext <<_ACEOF
46538 cat confdefs.h
>>conftest.
$ac_ext
46539 cat >>conftest.
$ac_ext <<_ACEOF
46540 /* end confdefs.h. */
46541 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46543 #define socket innocuous_socket
46545 /* System header to define __stub macros and hopefully few prototypes,
46546 which can conflict with char socket (); below.
46547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46548 <limits.h> exists even on freestanding compilers. */
46551 # include <limits.h>
46553 # include <assert.h>
46558 /* Override any GCC internal prototype to avoid an error.
46559 Use char because int might match the return type of a GCC
46560 builtin and then its argument prototype would still apply. */
46565 /* The GNU C library defines this for functions which it implements
46566 to always fail with ENOSYS. Some functions are actually named
46567 something starting with __ and the normal name is an alias. */
46568 #if defined __stub_socket || defined __stub___socket
46580 rm -f conftest.
$ac_objext conftest
$ac_exeext
46581 if { (ac_try
="$ac_link"
46582 case "(($ac_try" in
46583 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46584 *) ac_try_echo=$ac_try;;
46586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46587 (eval "$ac_link") 2>conftest.er1
46589 grep -v '^ *+' conftest.er1 >conftest.err
46591 cat conftest.err >&5
46592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46593 (exit $ac_status); } && {
46594 test -z "$ac_c_werror_flag" ||
46595 test ! -s conftest.err
46596 } && test -s conftest$ac_exeext &&
46597 $as_test_x conftest$ac_exeext; then
46598 ac_cv_func_socket=yes
46600 echo "$as_me: failed program was:" >&5
46601 sed 's/^/| /' conftest.$ac_ext >&5
46603 ac_cv_func_socket=no
46606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46607 conftest$ac_exeext conftest.$ac_ext
46609 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46610 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46611 if test $ac_cv_func_socket = yes; then
46615 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46616 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46617 if test "${ac_cv_lib_socket_socket+set}" = set; then
46618 echo $ECHO_N "(cached) $ECHO_C" >&6
46620 ac_check_lib_save_LIBS=$LIBS
46621 LIBS="-lsocket $LIBS"
46622 cat >conftest.$ac_ext <<_ACEOF
46625 cat confdefs.h >>conftest.$ac_ext
46626 cat >>conftest.$ac_ext <<_ACEOF
46627 /* end confdefs.h. */
46629 /* Override any GCC internal prototype to avoid an error.
46630 Use char because int might match the return type of a GCC
46631 builtin and then its argument prototype would still apply. */
46644 rm -f conftest.$ac_objext conftest$ac_exeext
46645 if { (ac_try="$ac_link"
46646 case "(($ac_try" in
46647 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46648 *) ac_try_echo
=$ac_try;;
46650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46651 (eval "$ac_link") 2>conftest.er1
46653 grep -v '^ *+' conftest.er1
>conftest.err
46655 cat conftest.err
>&5
46656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46657 (exit $ac_status); } && {
46658 test -z "$ac_c_werror_flag" ||
46659 test ! -s conftest.err
46660 } && test -s conftest
$ac_exeext &&
46661 $as_test_x conftest
$ac_exeext; then
46662 ac_cv_lib_socket_socket
=yes
46664 echo "$as_me: failed program was:" >&5
46665 sed 's/^/| /' conftest.
$ac_ext >&5
46667 ac_cv_lib_socket_socket
=no
46670 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46671 conftest
$ac_exeext conftest.
$ac_ext
46672 LIBS
=$ac_check_lib_save_LIBS
46674 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46675 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46676 if test $ac_cv_lib_socket_socket = yes; then
46677 if test "$INET_LINK" != " -lsocket"; then
46678 INET_LINK
="$INET_LINK -lsocket"
46682 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46683 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46696 if test "$wxUSE_SOCKETS" = "yes" ; then
46697 if test "$TOOLKIT" != "MSW"; then
46698 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46699 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46700 if test "${wx_cv_type_getsockname3+set}" = set; then
46701 echo $ECHO_N "(cached) $ECHO_C" >&6
46705 ac_cpp
='$CXXCPP $CPPFLAGS'
46706 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46707 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46708 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46710 cat >conftest.
$ac_ext <<_ACEOF
46713 cat confdefs.h
>>conftest.
$ac_ext
46714 cat >>conftest.
$ac_ext <<_ACEOF
46715 /* end confdefs.h. */
46717 #include <sys/types.h>
46718 #include <sys/socket.h>
46725 getsockname(0, 0, &len);
46731 rm -f conftest.
$ac_objext
46732 if { (ac_try
="$ac_compile"
46733 case "(($ac_try" in
46734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46735 *) ac_try_echo=$ac_try;;
46737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46738 (eval "$ac_compile") 2>conftest.er1
46740 grep -v '^ *+' conftest.er1 >conftest.err
46742 cat conftest.err >&5
46743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46744 (exit $ac_status); } && {
46745 test -z "$ac_cxx_werror_flag" ||
46746 test ! -s conftest.err
46747 } && test -s conftest.$ac_objext; then
46748 wx_cv_type_getsockname3=socklen_t
46750 echo "$as_me: failed program was:" >&5
46751 sed 's/^/| /' conftest.$ac_ext >&5
46754 CFLAGS_OLD="$CFLAGS"
46755 if test "$GCC" = yes ; then
46756 CFLAGS="-Werror $CFLAGS"
46759 cat >conftest.$ac_ext <<_ACEOF
46762 cat confdefs.h >>conftest.$ac_ext
46763 cat >>conftest.$ac_ext <<_ACEOF
46764 /* end confdefs.h. */
46766 #include <sys/types.h>
46767 #include <sys/socket.h>
46774 getsockname(0, 0, &len);
46780 rm -f conftest.$ac_objext
46781 if { (ac_try="$ac_compile"
46782 case "(($ac_try" in
46783 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46784 *) ac_try_echo
=$ac_try;;
46786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46787 (eval "$ac_compile") 2>conftest.er1
46789 grep -v '^ *+' conftest.er1
>conftest.err
46791 cat conftest.err
>&5
46792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46793 (exit $ac_status); } && {
46794 test -z "$ac_cxx_werror_flag" ||
46795 test ! -s conftest.err
46796 } && test -s conftest.
$ac_objext; then
46797 wx_cv_type_getsockname3
=size_t
46799 echo "$as_me: failed program was:" >&5
46800 sed 's/^/| /' conftest.
$ac_ext >&5
46802 cat >conftest.
$ac_ext <<_ACEOF
46805 cat confdefs.h
>>conftest.
$ac_ext
46806 cat >>conftest.
$ac_ext <<_ACEOF
46807 /* end confdefs.h. */
46809 #include <sys/types.h>
46810 #include <sys/socket.h>
46817 getsockname(0, 0, &len);
46823 rm -f conftest.
$ac_objext
46824 if { (ac_try
="$ac_compile"
46825 case "(($ac_try" in
46826 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46827 *) ac_try_echo=$ac_try;;
46829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46830 (eval "$ac_compile") 2>conftest.er1
46832 grep -v '^ *+' conftest.er1 >conftest.err
46834 cat conftest.err >&5
46835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46836 (exit $ac_status); } && {
46837 test -z "$ac_cxx_werror_flag" ||
46838 test ! -s conftest.err
46839 } && test -s conftest.$ac_objext; then
46840 wx_cv_type_getsockname3=int
46842 echo "$as_me: failed program was:" >&5
46843 sed 's/^/| /' conftest.$ac_ext >&5
46845 wx_cv_type_getsockname3=unknown
46849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46855 CFLAGS="$CFLAGS_OLD"
46860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46862 ac_cpp='$CPP $CPPFLAGS'
46863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46869 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46870 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46872 if test "$wx_cv_type_getsockname3" = "unknown"; then
46874 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46875 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46877 cat >>confdefs.h <<_ACEOF
46878 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46882 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46883 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46884 if test "${wx_cv_type_getsockopt5+set}" = set; then
46885 echo $ECHO_N "(cached) $ECHO_C" >&6
46889 ac_cpp='$CXXCPP $CPPFLAGS'
46890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46894 cat >conftest.$ac_ext <<_ACEOF
46897 cat confdefs.h >>conftest.$ac_ext
46898 cat >>conftest.$ac_ext <<_ACEOF
46899 /* end confdefs.h. */
46901 #include <sys/types.h>
46902 #include <sys/socket.h>
46909 getsockopt(0, 0, 0, 0, &len);
46915 rm -f conftest.$ac_objext
46916 if { (ac_try="$ac_compile"
46917 case "(($ac_try" in
46918 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46919 *) ac_try_echo
=$ac_try;;
46921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46922 (eval "$ac_compile") 2>conftest.er1
46924 grep -v '^ *+' conftest.er1
>conftest.err
46926 cat conftest.err
>&5
46927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46928 (exit $ac_status); } && {
46929 test -z "$ac_cxx_werror_flag" ||
46930 test ! -s conftest.err
46931 } && test -s conftest.
$ac_objext; then
46932 wx_cv_type_getsockopt5
=socklen_t
46934 echo "$as_me: failed program was:" >&5
46935 sed 's/^/| /' conftest.
$ac_ext >&5
46938 cat >conftest.
$ac_ext <<_ACEOF
46941 cat confdefs.h
>>conftest.
$ac_ext
46942 cat >>conftest.
$ac_ext <<_ACEOF
46943 /* end confdefs.h. */
46945 #include <sys/types.h>
46946 #include <sys/socket.h>
46953 getsockopt(0, 0, 0, 0, &len);
46959 rm -f conftest.
$ac_objext
46960 if { (ac_try
="$ac_compile"
46961 case "(($ac_try" in
46962 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46963 *) ac_try_echo=$ac_try;;
46965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46966 (eval "$ac_compile") 2>conftest.er1
46968 grep -v '^ *+' conftest.er1 >conftest.err
46970 cat conftest.err >&5
46971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46972 (exit $ac_status); } && {
46973 test -z "$ac_cxx_werror_flag" ||
46974 test ! -s conftest.err
46975 } && test -s conftest.$ac_objext; then
46976 wx_cv_type_getsockopt5=size_t
46978 echo "$as_me: failed program was:" >&5
46979 sed 's/^/| /' conftest.$ac_ext >&5
46981 cat >conftest.$ac_ext <<_ACEOF
46984 cat confdefs.h >>conftest.$ac_ext
46985 cat >>conftest.$ac_ext <<_ACEOF
46986 /* end confdefs.h. */
46988 #include <sys/types.h>
46989 #include <sys/socket.h>
46996 getsockopt(0, 0, 0, 0, &len);
47002 rm -f conftest.$ac_objext
47003 if { (ac_try="$ac_compile"
47004 case "(($ac_try" in
47005 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47006 *) ac_try_echo
=$ac_try;;
47008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47009 (eval "$ac_compile") 2>conftest.er1
47011 grep -v '^ *+' conftest.er1
>conftest.err
47013 cat conftest.err
>&5
47014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47015 (exit $ac_status); } && {
47016 test -z "$ac_cxx_werror_flag" ||
47017 test ! -s conftest.err
47018 } && test -s conftest.
$ac_objext; then
47019 wx_cv_type_getsockopt5
=int
47021 echo "$as_me: failed program was:" >&5
47022 sed 's/^/| /' conftest.
$ac_ext >&5
47024 wx_cv_type_getsockopt5
=unknown
47028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47039 ac_cpp
='$CPP $CPPFLAGS'
47040 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47041 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47042 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47046 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47047 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47049 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47051 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47052 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47054 cat >>confdefs.h
<<_ACEOF
47055 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47062 if test "$wxUSE_SOCKETS" = "yes" ; then
47063 cat >>confdefs.h
<<\_ACEOF
47064 #define wxUSE_SOCKETS 1
47067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
47070 if test "$wxUSE_PROTOCOL" = "yes"; then
47071 if test "$wxUSE_SOCKETS" != "yes"; then
47072 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47073 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47078 if test "$wxUSE_PROTOCOL" = "yes"; then
47079 cat >>confdefs.h
<<\_ACEOF
47080 #define wxUSE_PROTOCOL 1
47084 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47085 cat >>confdefs.h
<<\_ACEOF
47086 #define wxUSE_PROTOCOL_HTTP 1
47090 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47091 cat >>confdefs.h
<<\_ACEOF
47092 #define wxUSE_PROTOCOL_FTP 1
47096 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47097 cat >>confdefs.h
<<\_ACEOF
47098 #define wxUSE_PROTOCOL_FILE 1
47103 if test "$wxUSE_FS_INET" = "yes"; then
47104 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47105 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47110 if test "$wxUSE_URL" = "yes"; then
47111 if test "$wxUSE_PROTOCOL" != "yes"; then
47112 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47113 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47116 if test "$wxUSE_URL" = "yes"; then
47117 cat >>confdefs.h
<<\_ACEOF
47118 #define wxUSE_URL 1
47124 if test "$wxUSE_VARIANT" = "yes"; then
47125 cat >>confdefs.h
<<\_ACEOF
47126 #define wxUSE_VARIANT 1
47131 if test "$wxUSE_FS_INET" = "yes"; then
47132 cat >>confdefs.h
<<\_ACEOF
47133 #define wxUSE_FS_INET 1
47139 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47142 if test "$TOOLKIT" = "MSW"; then
47145 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47146 if test "$USE_DARWIN" = 1; then
47147 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47148 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47150 ac_cpp
='$CXXCPP $CPPFLAGS'
47151 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47152 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47153 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47155 cat >conftest.
$ac_ext <<_ACEOF
47158 cat confdefs.h
>>conftest.
$ac_ext
47159 cat >>conftest.
$ac_ext <<_ACEOF
47160 /* end confdefs.h. */
47161 #include <IOKit/hid/IOHIDLib.h>
47165 IOHIDQueueInterface *qi = NULL;
47166 IOHIDCallbackFunction cb = NULL;
47167 qi->setEventCallout(NULL, cb, NULL, NULL);
47172 rm -f conftest.
$ac_objext
47173 if { (ac_try
="$ac_compile"
47174 case "(($ac_try" in
47175 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47176 *) ac_try_echo=$ac_try;;
47178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47179 (eval "$ac_compile") 2>conftest.er1
47181 grep -v '^ *+' conftest.er1 >conftest.err
47183 cat conftest.err >&5
47184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47185 (exit $ac_status); } && {
47186 test -z "$ac_cxx_werror_flag" ||
47187 test ! -s conftest.err
47188 } && test -s conftest.$ac_objext; then
47192 echo "$as_me: failed program was:" >&5
47193 sed 's/^/| /' conftest.$ac_ext >&5
47198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47200 ac_cpp='$CPP $CPPFLAGS'
47201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47205 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47206 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47210 if test "$wxUSE_MGL" != "1"; then
47212 for ac_header in linux/joystick.h
47214 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47215 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47217 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47218 echo $ECHO_N "(cached) $ECHO_C" >&6
47220 cat >conftest.$ac_ext <<_ACEOF
47223 cat confdefs.h >>conftest.$ac_ext
47224 cat >>conftest.$ac_ext <<_ACEOF
47225 /* end confdefs.h. */
47226 $ac_includes_default
47228 #include <$ac_header>
47230 rm -f conftest.$ac_objext
47231 if { (ac_try="$ac_compile"
47232 case "(($ac_try" in
47233 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47234 *) ac_try_echo
=$ac_try;;
47236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47237 (eval "$ac_compile") 2>conftest.er1
47239 grep -v '^ *+' conftest.er1
>conftest.err
47241 cat conftest.err
>&5
47242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47243 (exit $ac_status); } && {
47244 test -z "$ac_c_werror_flag" ||
47245 test ! -s conftest.err
47246 } && test -s conftest.
$ac_objext; then
47247 eval "$as_ac_Header=yes"
47249 echo "$as_me: failed program was:" >&5
47250 sed 's/^/| /' conftest.
$ac_ext >&5
47252 eval "$as_ac_Header=no"
47255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47257 ac_res
=`eval echo '${'$as_ac_Header'}'`
47258 { echo "$as_me:$LINENO: result: $ac_res" >&5
47259 echo "${ECHO_T}$ac_res" >&6; }
47260 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47261 cat >>confdefs.h
<<_ACEOF
47262 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47272 if test "$wxUSE_JOYSTICK" = "yes"; then
47273 cat >>confdefs.h
<<\_ACEOF
47274 #define wxUSE_JOYSTICK 1
47277 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
47279 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47280 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47286 if test "$wxUSE_FONTENUM" = "yes" ; then
47287 cat >>confdefs.h
<<\_ACEOF
47288 #define wxUSE_FONTENUM 1
47293 if test "$wxUSE_FONTMAP" = "yes" ; then
47294 cat >>confdefs.h
<<\_ACEOF
47295 #define wxUSE_FONTMAP 1
47300 if test "$wxUSE_UNICODE" = "yes" ; then
47301 cat >>confdefs.h
<<\_ACEOF
47302 #define wxUSE_UNICODE 1
47306 if test "$USE_WIN32" != 1; then
47307 wxUSE_UNICODE_MSLU
=no
47310 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47311 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47312 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47313 if test "${ac_cv_lib_unicows_main+set}" = set; then
47314 echo $ECHO_N "(cached) $ECHO_C" >&6
47316 ac_check_lib_save_LIBS
=$LIBS
47317 LIBS
="-lunicows $LIBS"
47318 cat >conftest.
$ac_ext <<_ACEOF
47321 cat confdefs.h
>>conftest.
$ac_ext
47322 cat >>conftest.
$ac_ext <<_ACEOF
47323 /* end confdefs.h. */
47334 rm -f conftest.
$ac_objext conftest
$ac_exeext
47335 if { (ac_try
="$ac_link"
47336 case "(($ac_try" in
47337 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47338 *) ac_try_echo=$ac_try;;
47340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47341 (eval "$ac_link") 2>conftest.er1
47343 grep -v '^ *+' conftest.er1 >conftest.err
47345 cat conftest.err >&5
47346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47347 (exit $ac_status); } && {
47348 test -z "$ac_c_werror_flag" ||
47349 test ! -s conftest.err
47350 } && test -s conftest$ac_exeext &&
47351 $as_test_x conftest$ac_exeext; then
47352 ac_cv_lib_unicows_main=yes
47354 echo "$as_me: failed program was:" >&5
47355 sed 's/^/| /' conftest.$ac_ext >&5
47357 ac_cv_lib_unicows_main=no
47360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47361 conftest$ac_exeext conftest.$ac_ext
47362 LIBS=$ac_check_lib_save_LIBS
47364 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47365 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47366 if test $ac_cv_lib_unicows_main = yes; then
47368 cat >>confdefs.h <<\_ACEOF
47369 #define wxUSE_UNICODE_MSLU 1
47375 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47376 Applications will only run on Windows NT/2000/XP!" >&5
47377 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47378 Applications will only run on Windows NT/2000/XP!" >&2;}
47379 wxUSE_UNICODE_MSLU=no
47386 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47387 cat >>confdefs.h <<\_ACEOF
47388 #define wxUSE_UNICODE_UTF8 1
47392 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47393 cat >>confdefs.h <<\_ACEOF
47394 #define wxUSE_UTF8_LOCALE_ONLY 1
47401 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47402 cat >>confdefs.h <<\_ACEOF
47403 #define wxUSE_CONSTRAINTS 1
47406 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47409 if test "$wxUSE_MDI" = "yes"; then
47410 cat >>confdefs.h <<\_ACEOF
47411 #define wxUSE_MDI 1
47415 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47416 cat >>confdefs.h <<\_ACEOF
47417 #define wxUSE_MDI_ARCHITECTURE 1
47420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47424 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47425 cat >>confdefs.h <<\_ACEOF
47426 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47430 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47431 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47435 if test "$wxUSE_HELP" = "yes"; then
47436 cat >>confdefs.h <<\_ACEOF
47437 #define wxUSE_HELP 1
47440 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47442 if test "$wxUSE_MSW" = 1; then
47443 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47444 cat >>confdefs.h <<\_ACEOF
47445 #define wxUSE_MS_HTML_HELP 1
47451 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47452 if test "$wxUSE_HTML" = "yes"; then
47453 cat >>confdefs.h <<\_ACEOF
47454 #define wxUSE_WXHTML_HELP 1
47458 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47459 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47460 wxUSE_WXHTML_HELP=no
47465 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47466 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47467 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47468 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47470 cat >>confdefs.h <<\_ACEOF
47471 #define wxUSE_PRINTING_ARCHITECTURE 1
47475 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47478 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47479 cat >>confdefs.h <<\_ACEOF
47480 #define wxUSE_POSTSCRIPT 1
47485 cat >>confdefs.h <<\_ACEOF
47486 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47490 if test "$wxUSE_SVG" = "yes"; then
47491 cat >>confdefs.h <<\_ACEOF
47492 #define wxUSE_SVG 1
47498 if test "$wxUSE_METAFILE" = "yes"; then
47499 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47500 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47501 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47507 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47508 -o "$wxUSE_CLIPBOARD" = "yes" \
47509 -o "$wxUSE_OLE" = "yes" \
47510 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47511 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47512 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47513 if test "${ac_cv_header_ole2_h+set}" = set; then
47514 echo $ECHO_N "(cached) $ECHO_C" >&6
47516 cat >conftest.$ac_ext <<_ACEOF
47519 cat confdefs.h >>conftest.$ac_ext
47520 cat >>conftest.$ac_ext <<_ACEOF
47521 /* end confdefs.h. */
47526 rm -f conftest.$ac_objext
47527 if { (ac_try="$ac_compile"
47528 case "(($ac_try" in
47529 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47530 *) ac_try_echo
=$ac_try;;
47532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47533 (eval "$ac_compile") 2>conftest.er1
47535 grep -v '^ *+' conftest.er1
>conftest.err
47537 cat conftest.err
>&5
47538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47539 (exit $ac_status); } && {
47540 test -z "$ac_c_werror_flag" ||
47541 test ! -s conftest.err
47542 } && test -s conftest.
$ac_objext; then
47543 ac_cv_header_ole2_h
=yes
47545 echo "$as_me: failed program was:" >&5
47546 sed 's/^/| /' conftest.
$ac_ext >&5
47548 ac_cv_header_ole2_h
=no
47551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47553 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47554 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47558 if test "$ac_cv_header_ole2_h" = "yes" ; then
47559 if test "$GCC" = yes ; then
47560 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47561 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47562 cat >conftest.
$ac_ext <<_ACEOF
47565 cat confdefs.h
>>conftest.
$ac_ext
47566 cat >>conftest.
$ac_ext <<_ACEOF
47567 /* end confdefs.h. */
47568 #include <windows.h>
47578 rm -f conftest.
$ac_objext
47579 if { (ac_try
="$ac_compile"
47580 case "(($ac_try" in
47581 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47582 *) ac_try_echo=$ac_try;;
47584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47585 (eval "$ac_compile") 2>conftest.er1
47587 grep -v '^ *+' conftest.er1 >conftest.err
47589 cat conftest.err >&5
47590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47591 (exit $ac_status); } && {
47592 test -z "$ac_c_werror_flag" ||
47593 test ! -s conftest.err
47594 } && test -s conftest.$ac_objext; then
47595 { echo "$as_me:$LINENO: result: no" >&5
47596 echo "${ECHO_T}no" >&6; }
47598 echo "$as_me: failed program was:" >&5
47599 sed 's/^/| /' conftest.$ac_ext >&5
47601 { echo "$as_me:$LINENO: result: yes" >&5
47602 echo "${ECHO_T}yes" >&6; }
47603 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47607 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47608 if test "$wxUSE_OLE" = "yes" ; then
47609 cat >>confdefs.h <<\_ACEOF
47610 #define wxUSE_OLE 1
47613 cat >>confdefs.h <<\_ACEOF
47614 #define wxUSE_OLE_AUTOMATION 1
47617 cat >>confdefs.h <<\_ACEOF
47618 #define wxUSE_ACTIVEX 1
47621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47625 if test "$wxUSE_DATAOBJ" = "yes" ; then
47626 cat >>confdefs.h <<\_ACEOF
47627 #define wxUSE_DATAOBJ 1
47632 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47633 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47636 wxUSE_DRAG_AND_DROP=no
47641 if test "$wxUSE_METAFILE" = "yes"; then
47642 cat >>confdefs.h <<\_ACEOF
47643 #define wxUSE_METAFILE 1
47647 cat >>confdefs.h <<\_ACEOF
47648 #define wxUSE_ENH_METAFILE 1
47654 if test "$wxUSE_IPC" = "yes"; then
47655 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47656 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47657 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47661 if test "$wxUSE_IPC" = "yes"; then
47662 cat >>confdefs.h <<\_ACEOF
47663 #define wxUSE_IPC 1
47666 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47670 if test "$wxUSE_DATAOBJ" = "yes"; then
47671 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47672 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47673 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47676 cat >>confdefs.h <<\_ACEOF
47677 #define wxUSE_DATAOBJ 1
47682 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47683 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47685 wxUSE_DRAG_AND_DROP=no
47688 if test "$wxUSE_CLIPBOARD" = "yes"; then
47689 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47690 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47691 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47695 if test "$wxUSE_CLIPBOARD" = "yes"; then
47696 cat >>confdefs.h <<\_ACEOF
47697 #define wxUSE_CLIPBOARD 1
47703 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47704 if test "$wxUSE_GTK" = 1; then
47705 if test "$WXGTK12" != 1; then
47706 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47707 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47708 wxUSE_DRAG_AND_DROP=no
47712 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47713 "$wxUSE_DFB" = 1; then
47714 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47715 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47716 wxUSE_DRAG_AND_DROP=no
47719 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47720 cat >>confdefs.h <<\_ACEOF
47721 #define wxUSE_DRAG_AND_DROP 1
47728 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47732 if test "$wxUSE_SPLINES" = "yes" ; then
47733 cat >>confdefs.h <<\_ACEOF
47734 #define wxUSE_SPLINES 1
47739 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47740 cat >>confdefs.h <<\_ACEOF
47741 #define wxUSE_MOUSEWHEEL 1
47748 if test "$wxUSE_CONTROLS" = "yes"; then
47752 if test "$wxUSE_ACCEL" = "yes"; then
47753 cat >>confdefs.h <<\_ACEOF
47754 #define wxUSE_ACCEL 1
47760 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47761 cat >>confdefs.h <<\_ACEOF
47762 #define wxUSE_ANIMATIONCTRL 1
47766 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47769 if test "$wxUSE_BUTTON" = "yes"; then
47770 cat >>confdefs.h <<\_ACEOF
47771 #define wxUSE_BUTTON 1
47777 if test "$wxUSE_BMPBUTTON" = "yes"; then
47778 cat >>confdefs.h <<\_ACEOF
47779 #define wxUSE_BMPBUTTON 1
47785 if test "$wxUSE_CALCTRL" = "yes"; then
47786 cat >>confdefs.h <<\_ACEOF
47787 #define wxUSE_CALENDARCTRL 1
47791 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47794 if test "$wxUSE_CARET" = "yes"; then
47795 cat >>confdefs.h <<\_ACEOF
47796 #define wxUSE_CARET 1
47800 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47803 if test "$wxUSE_COLLPANE" = "yes"; then
47804 cat >>confdefs.h <<\_ACEOF
47805 #define wxUSE_COLLPANE 1
47809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47812 if test "$wxUSE_COMBOBOX" = "yes"; then
47813 cat >>confdefs.h <<\_ACEOF
47814 #define wxUSE_COMBOBOX 1
47820 if test "$wxUSE_COMBOCTRL" = "yes"; then
47821 cat >>confdefs.h <<\_ACEOF
47822 #define wxUSE_COMBOCTRL 1
47828 if test "$wxUSE_CHOICE" = "yes"; then
47829 cat >>confdefs.h <<\_ACEOF
47830 #define wxUSE_CHOICE 1
47836 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47837 cat >>confdefs.h <<\_ACEOF
47838 #define wxUSE_CHOICEBOOK 1
47844 if test "$wxUSE_CHECKBOX" = "yes"; then
47845 cat >>confdefs.h <<\_ACEOF
47846 #define wxUSE_CHECKBOX 1
47852 if test "$wxUSE_CHECKLST" = "yes"; then
47853 cat >>confdefs.h <<\_ACEOF
47854 #define wxUSE_CHECKLISTBOX 1
47860 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47861 cat >>confdefs.h <<\_ACEOF
47862 #define wxUSE_COLOURPICKERCTRL 1
47868 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47869 cat >>confdefs.h <<\_ACEOF
47870 #define wxUSE_DATEPICKCTRL 1
47876 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47877 cat >>confdefs.h <<\_ACEOF
47878 #define wxUSE_DIRPICKERCTRL 1
47884 if test "$wxUSE_FILECTRL" = "yes"; then
47885 cat >>confdefs.h <<\_ACEOF
47886 #define wxUSE_FILECTRL 1
47892 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47893 cat >>confdefs.h <<\_ACEOF
47894 #define wxUSE_FILEPICKERCTRL 1
47900 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47901 cat >>confdefs.h <<\_ACEOF
47902 #define wxUSE_FONTPICKERCTRL 1
47908 if test "$wxUSE_DISPLAY" = "yes"; then
47909 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47910 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47911 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47914 cat >>confdefs.h <<\_ACEOF
47915 #define wxUSE_DISPLAY 1
47918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47922 if test "$wxUSE_DETECT_SM" = "yes"; then
47923 cat >>confdefs.h <<\_ACEOF
47924 #define wxUSE_DETECT_SM 1
47929 if test "$wxUSE_GAUGE" = "yes"; then
47930 cat >>confdefs.h <<\_ACEOF
47931 #define wxUSE_GAUGE 1
47937 if test "$wxUSE_GRID" = "yes"; then
47938 cat >>confdefs.h <<\_ACEOF
47939 #define wxUSE_GRID 1
47943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47946 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47947 cat >>confdefs.h <<\_ACEOF
47948 #define wxUSE_HYPERLINKCTRL 1
47954 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47955 cat >>confdefs.h <<\_ACEOF
47956 #define wxUSE_BITMAPCOMBOBOX 1
47962 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47963 cat >>confdefs.h <<\_ACEOF
47964 #define wxUSE_DATAVIEWCTRL 1
47968 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47971 if test "$wxUSE_IMAGLIST" = "yes"; then
47972 cat >>confdefs.h <<\_ACEOF
47973 #define wxUSE_IMAGLIST 1
47978 if test "$wxUSE_LISTBOOK" = "yes"; then
47979 cat >>confdefs.h <<\_ACEOF
47980 #define wxUSE_LISTBOOK 1
47986 if test "$wxUSE_LISTBOX" = "yes"; then
47987 cat >>confdefs.h <<\_ACEOF
47988 #define wxUSE_LISTBOX 1
47994 if test "$wxUSE_LISTCTRL" = "yes"; then
47995 if test "$wxUSE_IMAGLIST" = "yes"; then
47996 cat >>confdefs.h <<\_ACEOF
47997 #define wxUSE_LISTCTRL 1
48001 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48003 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48004 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48008 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48009 cat >>confdefs.h <<\_ACEOF
48010 #define wxUSE_EDITABLELISTBOX 1
48014 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48017 if test "$wxUSE_NOTEBOOK" = "yes"; then
48018 cat >>confdefs.h <<\_ACEOF
48019 #define wxUSE_NOTEBOOK 1
48023 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48026 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48027 cat >>confdefs.h <<\_ACEOF
48028 #define wxUSE_ODCOMBOBOX 1
48032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48035 if test "$wxUSE_RADIOBOX" = "yes"; then
48036 cat >>confdefs.h <<\_ACEOF
48037 #define wxUSE_RADIOBOX 1
48043 if test "$wxUSE_RADIOBTN" = "yes"; then
48044 cat >>confdefs.h <<\_ACEOF
48045 #define wxUSE_RADIOBTN 1
48051 if test "$wxUSE_SASH" = "yes"; then
48052 cat >>confdefs.h <<\_ACEOF
48053 #define wxUSE_SASH 1
48056 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48059 if test "$wxUSE_SCROLLBAR" = "yes"; then
48060 cat >>confdefs.h <<\_ACEOF
48061 #define wxUSE_SCROLLBAR 1
48065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48068 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48069 cat >>confdefs.h <<\_ACEOF
48070 #define wxUSE_SEARCHCTRL 1
48076 if test "$wxUSE_SLIDER" = "yes"; then
48077 cat >>confdefs.h <<\_ACEOF
48078 #define wxUSE_SLIDER 1
48084 if test "$wxUSE_SPINBTN" = "yes"; then
48085 cat >>confdefs.h <<\_ACEOF
48086 #define wxUSE_SPINBTN 1
48092 if test "$wxUSE_SPINCTRL" = "yes"; then
48093 cat >>confdefs.h <<\_ACEOF
48094 #define wxUSE_SPINCTRL 1
48100 if test "$wxUSE_SPLITTER" = "yes"; then
48101 cat >>confdefs.h <<\_ACEOF
48102 #define wxUSE_SPLITTER 1
48105 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48108 if test "$wxUSE_STATBMP" = "yes"; then
48109 cat >>confdefs.h <<\_ACEOF
48110 #define wxUSE_STATBMP 1
48116 if test "$wxUSE_STATBOX" = "yes"; then
48117 cat >>confdefs.h <<\_ACEOF
48118 #define wxUSE_STATBOX 1
48124 if test "$wxUSE_STATTEXT" = "yes"; then
48125 cat >>confdefs.h <<\_ACEOF
48126 #define wxUSE_STATTEXT 1
48132 if test "$wxUSE_STATLINE" = "yes"; then
48133 cat >>confdefs.h <<\_ACEOF
48134 #define wxUSE_STATLINE 1
48140 if test "$wxUSE_STATUSBAR" = "yes"; then
48141 cat >>confdefs.h <<\_ACEOF
48142 #define wxUSE_NATIVE_STATUSBAR 1
48145 cat >>confdefs.h <<\_ACEOF
48146 #define wxUSE_STATUSBAR 1
48151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48154 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48155 cat >>confdefs.h <<\_ACEOF
48156 #define wxUSE_TAB_DIALOG 1
48161 if test "$wxUSE_TEXTCTRL" = "yes"; then
48162 cat >>confdefs.h <<\_ACEOF
48163 #define wxUSE_TEXTCTRL 1
48167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48170 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48171 if test "$wxUSE_COCOA" = 1 ; then
48172 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48173 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48177 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48178 cat >>confdefs.h <<\_ACEOF
48179 #define wxUSE_TOGGLEBTN 1
48186 if test "$wxUSE_TOOLBAR" = "yes"; then
48187 cat >>confdefs.h <<\_ACEOF
48188 #define wxUSE_TOOLBAR 1
48193 if test "$wxUSE_UNIVERSAL" = "yes"; then
48194 wxUSE_TOOLBAR_NATIVE="no"
48196 wxUSE_TOOLBAR_NATIVE="yes"
48197 cat >>confdefs.h <<\_ACEOF
48198 #define wxUSE_TOOLBAR_NATIVE 1
48203 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48206 if test "$wxUSE_TOOLTIPS" = "yes"; then
48207 if test "$wxUSE_MOTIF" = 1; then
48208 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48209 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48211 if test "$wxUSE_UNIVERSAL" = "yes"; then
48212 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48213 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48215 cat >>confdefs.h <<\_ACEOF
48216 #define wxUSE_TOOLTIPS 1
48223 if test "$wxUSE_TREEBOOK" = "yes"; then
48224 cat >>confdefs.h <<\_ACEOF
48225 #define wxUSE_TREEBOOK 1
48231 if test "$wxUSE_TOOLBOOK" = "yes"; then
48232 cat >>confdefs.h <<\_ACEOF
48233 #define wxUSE_TOOLBOOK 1
48239 if test "$wxUSE_TREECTRL" = "yes"; then
48240 if test "$wxUSE_IMAGLIST" = "yes"; then
48241 cat >>confdefs.h <<\_ACEOF
48242 #define wxUSE_TREECTRL 1
48246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48248 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48249 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48253 if test "$wxUSE_POPUPWIN" = "yes"; then
48254 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48255 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48256 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48258 if test "$wxUSE_PM" = 1; then
48259 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48260 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48262 cat >>confdefs.h <<\_ACEOF
48263 #define wxUSE_POPUPWIN 1
48266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48273 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48274 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48275 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48276 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48278 cat >>confdefs.h <<\_ACEOF
48279 #define wxUSE_DIALUP_MANAGER 1
48282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48286 if test "$wxUSE_TIPWINDOW" = "yes"; then
48287 if test "$wxUSE_PM" = 1; then
48288 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48289 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48291 cat >>confdefs.h <<\_ACEOF
48292 #define wxUSE_TIPWINDOW 1
48298 if test "$USES_CONTROLS" = 1; then
48299 cat >>confdefs.h <<\_ACEOF
48300 #define wxUSE_CONTROLS 1
48306 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48307 cat >>confdefs.h <<\_ACEOF
48308 #define wxUSE_ACCESSIBILITY 1
48311 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48314 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48315 cat >>confdefs.h <<\_ACEOF
48316 #define wxUSE_DRAGIMAGE 1
48319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48322 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48323 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48324 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48325 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48327 cat >>confdefs.h <<\_ACEOF
48328 #define wxUSE_EXCEPTIONS 1
48331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48336 if test "$wxUSE_HTML" = "yes"; then
48337 cat >>confdefs.h <<\_ACEOF
48338 #define wxUSE_HTML 1
48342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48343 if test "$wxUSE_MAC" = 1; then
48344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48347 if test "$wxUSE_WEBKIT" = "yes"; then
48348 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48349 old_CPPFLAGS="$CPPFLAGS"
48350 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48351 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48352 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48353 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48354 echo $ECHO_N "(cached) $ECHO_C" >&6
48356 cat >conftest.$ac_ext <<_ACEOF
48359 cat confdefs.h >>conftest.$ac_ext
48360 cat >>conftest.$ac_ext <<_ACEOF
48361 /* end confdefs.h. */
48363 #include <Carbon/Carbon.h>
48364 #include <WebKit/WebKit.h>
48367 #include <WebKit/HIWebView.h>
48369 rm -f conftest.$ac_objext
48370 if { (ac_try="$ac_compile"
48371 case "(($ac_try" in
48372 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48373 *) ac_try_echo
=$ac_try;;
48375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48376 (eval "$ac_compile") 2>conftest.er1
48378 grep -v '^ *+' conftest.er1
>conftest.err
48380 cat conftest.err
>&5
48381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48382 (exit $ac_status); } && {
48383 test -z "$ac_c_werror_flag" ||
48384 test ! -s conftest.err
48385 } && test -s conftest.
$ac_objext; then
48386 ac_cv_header_WebKit_HIWebView_h
=yes
48388 echo "$as_me: failed program was:" >&5
48389 sed 's/^/| /' conftest.
$ac_ext >&5
48391 ac_cv_header_WebKit_HIWebView_h
=no
48394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48396 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48397 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48398 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48400 cat >>confdefs.h
<<\_ACEOF
48401 #define wxUSE_WEBKIT 1
48404 WEBKIT_LINK
="-framework WebKit"
48408 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48409 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48415 CPPFLAGS
="$old_CPPFLAGS"
48416 elif test "$wxUSE_COCOA" = 1; then
48417 cat >>confdefs.h
<<\_ACEOF
48418 #define wxUSE_WEBKIT 1
48427 if test "$wxUSE_XRC" = "yes"; then
48428 if test "$wxUSE_XML" != "yes"; then
48429 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48430 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48433 cat >>confdefs.h
<<\_ACEOF
48434 #define wxUSE_XRC 1
48438 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
48443 if test "$wxUSE_AUI" = "yes"; then
48444 cat >>confdefs.h
<<\_ACEOF
48445 #define wxUSE_AUI 1
48449 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
48453 if test "$wxUSE_STC" = "yes"; then
48454 cat >>confdefs.h
<<\_ACEOF
48455 #define wxUSE_STC 1
48459 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
48462 if test "$wxUSE_MENUS" = "yes"; then
48463 cat >>confdefs.h
<<\_ACEOF
48464 #define wxUSE_MENUS 1
48467 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
48470 if test "$wxUSE_METAFILE" = "yes"; then
48471 cat >>confdefs.h
<<\_ACEOF
48472 #define wxUSE_METAFILE 1
48477 if test "$wxUSE_MIMETYPE" = "yes"; then
48478 cat >>confdefs.h
<<\_ACEOF
48479 #define wxUSE_MIMETYPE 1
48484 if test "$wxUSE_MINIFRAME" = "yes"; then
48485 cat >>confdefs.h
<<\_ACEOF
48486 #define wxUSE_MINIFRAME 1
48491 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48492 cat >>confdefs.h
<<\_ACEOF
48493 #define wxUSE_SYSTEM_OPTIONS 1
48498 if test "$wxUSE_TASKBARICON" = "yes"; then
48499 cat >>confdefs.h
<<\_ACEOF
48500 #define wxUSE_TASKBARICON 1
48503 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
48507 if test "$wxUSE_VALIDATORS" = "yes"; then
48508 cat >>confdefs.h
<<\_ACEOF
48509 #define wxUSE_VALIDATORS 1
48512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
48515 if test "$wxUSE_PALETTE" = "yes" ; then
48516 if test "$wxUSE_DFB" = 1; then
48517 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48518 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48521 cat >>confdefs.h
<<\_ACEOF
48522 #define wxUSE_PALETTE 1
48528 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48529 LIBS
=" -lunicows $LIBS"
48533 if test "$wxUSE_RICHTEXT" = "yes"; then
48534 cat >>confdefs.h
<<\_ACEOF
48535 #define wxUSE_RICHTEXT 1
48539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
48543 if test "$wxUSE_IMAGE" = "yes" ; then
48544 cat >>confdefs.h
<<\_ACEOF
48545 #define wxUSE_IMAGE 1
48549 if test "$wxUSE_GIF" = "yes" ; then
48550 cat >>confdefs.h
<<\_ACEOF
48551 #define wxUSE_GIF 1
48556 if test "$wxUSE_PCX" = "yes" ; then
48557 cat >>confdefs.h
<<\_ACEOF
48558 #define wxUSE_PCX 1
48563 if test "$wxUSE_TGA" = "yes" ; then
48564 cat >>confdefs.h
<<\_ACEOF
48565 #define wxUSE_TGA 1
48570 if test "$wxUSE_IFF" = "yes" ; then
48571 cat >>confdefs.h
<<\_ACEOF
48572 #define wxUSE_IFF 1
48577 if test "$wxUSE_PNM" = "yes" ; then
48578 cat >>confdefs.h
<<\_ACEOF
48579 #define wxUSE_PNM 1
48584 if test "$wxUSE_XPM" = "yes" ; then
48585 cat >>confdefs.h
<<\_ACEOF
48586 #define wxUSE_XPM 1
48591 if test "$wxUSE_ICO_CUR" = "yes" ; then
48592 cat >>confdefs.h
<<\_ACEOF
48593 #define wxUSE_ICO_CUR 1
48600 if test "$wxUSE_ABOUTDLG" = "yes"; then
48601 cat >>confdefs.h
<<\_ACEOF
48602 #define wxUSE_ABOUTDLG 1
48607 if test "$wxUSE_CHOICEDLG" = "yes"; then
48608 cat >>confdefs.h
<<\_ACEOF
48609 #define wxUSE_CHOICEDLG 1
48614 if test "$wxUSE_COLOURDLG" = "yes"; then
48615 cat >>confdefs.h
<<\_ACEOF
48616 #define wxUSE_COLOURDLG 1
48621 if test "$wxUSE_FILEDLG" = "yes"; then
48622 cat >>confdefs.h
<<\_ACEOF
48623 #define wxUSE_FILEDLG 1
48628 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48629 cat >>confdefs.h
<<\_ACEOF
48630 #define wxUSE_FINDREPLDLG 1
48635 if test "$wxUSE_FONTDLG" = "yes"; then
48636 cat >>confdefs.h
<<\_ACEOF
48637 #define wxUSE_FONTDLG 1
48642 if test "$wxUSE_DIRDLG" = "yes"; then
48643 if test "$wxUSE_TREECTRL" != "yes"; then
48644 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48645 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48647 cat >>confdefs.h
<<\_ACEOF
48648 #define wxUSE_DIRDLG 1
48654 if test "$wxUSE_MSGDLG" = "yes"; then
48655 cat >>confdefs.h
<<\_ACEOF
48656 #define wxUSE_MSGDLG 1
48661 if test "$wxUSE_NUMBERDLG" = "yes"; then
48662 cat >>confdefs.h
<<\_ACEOF
48663 #define wxUSE_NUMBERDLG 1
48668 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48669 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48670 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48671 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48673 cat >>confdefs.h
<<\_ACEOF
48674 #define wxUSE_PROGRESSDLG 1
48680 if test "$wxUSE_SPLASH" = "yes"; then
48681 cat >>confdefs.h
<<\_ACEOF
48682 #define wxUSE_SPLASH 1
48685 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
48688 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48689 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48690 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48691 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48693 cat >>confdefs.h
<<\_ACEOF
48694 #define wxUSE_STARTUP_TIPS 1
48700 if test "$wxUSE_TEXTDLG" = "yes"; then
48701 cat >>confdefs.h
<<\_ACEOF
48702 #define wxUSE_TEXTDLG 1
48707 if test "$wxUSE_WIZARDDLG" = "yes"; then
48708 cat >>confdefs.h
<<\_ACEOF
48709 #define wxUSE_WIZARDDLG 1
48712 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
48716 if test "$wxUSE_MSW" = 1 ; then
48718 if test "$wxUSE_DC_CACHEING" = "yes"; then
48719 cat >>confdefs.h
<<\_ACEOF
48720 #define wxUSE_DC_CACHEING 1
48725 if test "$wxUSE_DIB" = "yes"; then
48726 cat >>confdefs.h
<<\_ACEOF
48727 #define wxUSE_WXDIB 1
48732 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48733 cat >>confdefs.h
<<\_ACEOF
48734 #define wxUSE_OWNER_DRAWN 1
48739 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48740 cat >>confdefs.h
<<\_ACEOF
48741 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48746 if test "$wxUSE_UXTHEME" = "yes"; then
48747 cat >>confdefs.h
<<\_ACEOF
48748 #define wxUSE_UXTHEME 1
48756 if test "$USE_WIN32" = 1 ; then
48757 if test "$wxUSE_INICONF" = "yes"; then
48758 cat >>confdefs.h
<<\_ACEOF
48759 #define wxUSE_INICONF 1
48764 if test "$wxUSE_REGKEY" = "yes"; then
48765 cat >>confdefs.h
<<\_ACEOF
48766 #define wxUSE_REGKEY 1
48773 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48774 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48775 cat >>confdefs.h
<<\_ACEOF
48776 #define wxUSE_GRAPHICS_CONTEXT 1
48779 elif test "$wxUSE_GTK" != 1; then
48780 cat >>confdefs.h
<<\_ACEOF
48781 #define wxUSE_GRAPHICS_CONTEXT 1
48787 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48788 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48790 if test -n "$PKG_CONFIG"; then
48791 if test -n "$CAIRO_CFLAGS"; then
48792 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
48794 if test -n "$PKG_CONFIG" && \
48795 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48796 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48799 (exit $ac_status); }; then
48800 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48808 if test -n "$PKG_CONFIG"; then
48809 if test -n "$CAIRO_LIBS"; then
48810 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
48812 if test -n "$PKG_CONFIG" && \
48813 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48814 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48817 (exit $ac_status); }; then
48818 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48829 if test $pkg_failed = yes; then
48831 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48832 _pkg_short_errors_supported
=yes
48834 _pkg_short_errors_supported
=no
48836 if test $_pkg_short_errors_supported = yes; then
48837 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48839 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48841 # Put the nasty error message in config.log where it belongs
48842 echo "$CAIRO_PKG_ERRORS" >&5
48844 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48845 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48847 elif test $pkg_failed = untried
; then
48848 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48849 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48852 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
48853 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
48854 { echo "$as_me:$LINENO: result: yes" >&5
48855 echo "${ECHO_T}yes" >&6; }
48856 cat >>confdefs.h
<<\_ACEOF
48857 #define wxUSE_GRAPHICS_CONTEXT 1
48867 if test "$wxUSE_MEDIACTRL" = "yes"; then
48870 if test "$wxUSE_GTK" = 1; then
48871 wxUSE_GSTREAMER
="no"
48873 GST_VERSION_MAJOR
=0
48874 GST_VERSION_MINOR
=10
48875 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48877 if test "$wxUSE_GSTREAMER8" = "no"; then
48880 { echo "$as_me:$LINENO: checking for GST" >&5
48881 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48883 if test -n "$PKG_CONFIG"; then
48884 if test -n "$GST_CFLAGS"; then
48885 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48887 if test -n "$PKG_CONFIG" && \
48888 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48889 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48892 (exit $ac_status); }; then
48893 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48901 if test -n "$PKG_CONFIG"; then
48902 if test -n "$GST_LIBS"; then
48903 pkg_cv_GST_LIBS
="$GST_LIBS"
48905 if test -n "$PKG_CONFIG" && \
48906 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48907 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48910 (exit $ac_status); }; then
48911 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48922 if test $pkg_failed = yes; then
48924 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48925 _pkg_short_errors_supported
=yes
48927 _pkg_short_errors_supported
=no
48929 if test $_pkg_short_errors_supported = yes; then
48930 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48932 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48934 # Put the nasty error message in config.log where it belongs
48935 echo "$GST_PKG_ERRORS" >&5
48938 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48939 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48940 GST_VERSION_MINOR
=8
48943 elif test $pkg_failed = untried
; then
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
48951 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48952 GST_LIBS
=$pkg_cv_GST_LIBS
48953 { echo "$as_me:$LINENO: result: yes" >&5
48954 echo "${ECHO_T}yes" >&6; }
48956 wxUSE_GSTREAMER
="yes"
48957 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48961 GST_VERSION_MINOR
=8
48964 if test $GST_VERSION_MINOR = "8"; then
48965 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48968 { echo "$as_me:$LINENO: checking for GST" >&5
48969 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48971 if test -n "$PKG_CONFIG"; then
48972 if test -n "$GST_CFLAGS"; then
48973 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48975 if test -n "$PKG_CONFIG" && \
48976 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48977 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48980 (exit $ac_status); }; then
48981 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48989 if test -n "$PKG_CONFIG"; then
48990 if test -n "$GST_LIBS"; then
48991 pkg_cv_GST_LIBS
="$GST_LIBS"
48993 if test -n "$PKG_CONFIG" && \
48994 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48995 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48998 (exit $ac_status); }; then
48999 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49010 if test $pkg_failed = yes; then
49012 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49013 _pkg_short_errors_supported
=yes
49015 _pkg_short_errors_supported
=no
49017 if test $_pkg_short_errors_supported = yes; then
49018 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49020 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49022 # Put the nasty error message in config.log where it belongs
49023 echo "$GST_PKG_ERRORS" >&5
49026 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49027 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49029 elif test $pkg_failed = untried
; then
49031 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49032 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49035 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
49036 GST_LIBS
=$pkg_cv_GST_LIBS
49037 { echo "$as_me:$LINENO: result: yes" >&5
49038 echo "${ECHO_T}yes" >&6; }
49039 wxUSE_GSTREAMER
="yes"
49044 if test "$wxUSE_GSTREAMER" = "yes"; then
49045 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
49046 LIBS
="$GST_LIBS $LIBS"
49048 cat >>confdefs.h
<<\_ACEOF
49049 #define wxUSE_GSTREAMER 1
49057 if test $USE_MEDIA = 1; then
49058 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
49059 cat >>confdefs.h
<<\_ACEOF
49060 #define wxUSE_MEDIACTRL 1
49067 if test "$cross_compiling" = "yes"; then
49070 OSINFO
=`uname -s -r -m`
49071 OSINFO
="\"$OSINFO\""
49074 cat >>confdefs.h
<<_ACEOF
49075 #define WXWIN_OS_DESCRIPTION $OSINFO
49080 if test "x$prefix" != "xNONE"; then
49083 wxPREFIX
=$ac_default_prefix
49086 cat >>confdefs.h
<<_ACEOF
49087 #define wxINSTALL_PREFIX "$wxPREFIX"
49093 STD_BASE_LIBS
="base"
49095 BUILT_WX_LIBS
="base"
49096 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
49098 if test "$wxUSE_SOCKETS" = "yes" ; then
49099 STD_BASE_LIBS
="net $STD_BASE_LIBS"
49100 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
49102 if test "$wxUSE_XML" = "yes" ; then
49103 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
49104 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
49107 if test "$wxUSE_GUI" = "yes"; then
49108 STD_GUI_LIBS
="adv core"
49109 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
49111 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49112 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
49113 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
49115 if test "$wxUSE_HTML" = "yes" ; then
49116 STD_GUI_LIBS
="html $STD_GUI_LIBS"
49117 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
49119 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49120 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
49122 if test "$wxUSE_OPENGL" = "yes" ; then
49123 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
49125 if test "$wxUSE_AUI" = "yes" ; then
49126 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
49128 if test "$wxUSE_STC" = "yes" ; then
49129 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
49131 if test "$wxUSE_XRC" = "yes" ; then
49132 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
49133 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
49144 if test "$wxUSE_MAC" = 1 ; then
49145 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49146 if test "$USE_DARWIN" = 1; then
49147 LDFLAGS
="$LDFLAGS -framework QuickTime"
49149 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
49152 if test "$USE_DARWIN" = 1; then
49153 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49155 LDFLAGS
="$LDFLAGS -lCarbonLib"
49158 if test "$wxUSE_COCOA" = 1 ; then
49159 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
49160 if test "$wxUSE_MEDIACTRL" = "yes"; then
49161 LDFLAGS
="$LDFLAGS -framework QuickTime"
49164 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49165 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49168 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49170 if test "$wxUSE_GUI" = "yes"; then
49173 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49174 erase event exec font image minimal mobile \
49175 mobile/wxedit mobile/styles render \
49176 shaped svg taborder vscroll widgets"
49178 if test "$wxUSE_MONOLITHIC" != "yes"; then
49179 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
49181 if test "$TOOLKIT" = "MSW"; then
49182 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
49183 if test "$wxUSE_UNIVERSAL" != "yes"; then
49184 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49187 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49188 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
49191 SAMPLES_SUBDIRS
="console"
49195 if test "x$INTELCC" = "xyes" ; then
49196 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
49197 elif test "$GCC" = yes ; then
49198 CWARNINGS
="-Wall -Wundef"
49201 if test "x$INTELCXX" = "xyes" ; then
49202 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
49203 elif test "$GXX" = yes ; then
49204 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
49208 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
49209 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49212 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
49213 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49214 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49217 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49218 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49219 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49221 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49224 if test "x$MWCC" = "xyes"; then
49226 CC
="$CC -cwd source -I-"
49227 CXX
="$CXX -cwd source -I-"
49232 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49233 EXTRALIBS_XML
="$EXPAT_LINK"
49234 EXTRALIBS_HTML
="$MSPACK_LINK"
49235 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49236 if test "$wxUSE_GUI" = "yes"; then
49237 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49239 if test "$wxUSE_OPENGL" = "yes"; then
49240 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
49243 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
49245 WXCONFIG_LIBS
="$LIBS"
49247 if test "$wxUSE_REGEX" = "builtin" ; then
49248 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49250 if test "$wxUSE_EXPAT" = "builtin" ; then
49251 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
49253 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49254 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
49256 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49257 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
49259 if test "$wxUSE_LIBPNG" = "builtin" ; then
49260 wxconfig_3rdparty
="png $wxconfig_3rdparty"
49262 if test "$wxUSE_ZLIB" = "builtin" ; then
49263 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
49266 for i
in $wxconfig_3rdparty ; do
49267 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49271 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49274 case "$wxUNIV_THEMES" in
49276 cat >>confdefs.h
<<\_ACEOF
49277 #define wxUSE_ALL_THEMES 1
49283 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49284 cat >>confdefs.h
<<_ACEOF
49285 #define wxUSE_THEME_$t 1
49301 if test $wxUSE_MONOLITHIC = "yes" ; then
49307 if test $wxUSE_PLUGINS = "yes" ; then
49313 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49319 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49350 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49361 TOOLKIT_DESC
="GTK+"
49362 if test "$WXGTK20" = 1; then
49363 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
49364 if test "$wxUSE_GTKPRINT" = "yes" ; then
49365 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
49367 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49368 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
49370 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49371 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
49373 if test "$wxUSE_LIBHILDON" = "yes"; then
49374 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
49377 if test "$TOOLKIT_EXTRA" != ""; then
49378 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49384 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
49388 TOOLKIT_DESC
="base only"
49392 if test "$wxUSE_WINE" = "yes"; then
49393 BAKEFILE_FORCE_PLATFORM
=win32
49396 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49398 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49399 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49400 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49401 echo $ECHO_N "(cached) $ECHO_C" >&6
49404 echo '#include <stdio.h>
49405 const wchar_t test_var[] = L"awidetest";' > conftest.h
49407 echo '#include "conftest.h"
49410 printf("%ls", test_var);
49414 wx_cv_gcc_pch_bug
="pch not supported"
49416 if $CXX conftest.h
>/dev
/null
2>&1
49420 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
49422 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
49423 grep awidetest
>/dev
/null
49425 wx_cv_gcc_pch_bug
=no
49427 wx_cv_gcc_pch_bug
=yes
49432 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
49435 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49436 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49438 if test "$wx_cv_gcc_pch_bug" = yes; then
49446 if test "x$BAKEFILE_HOST" = "x"; then
49447 if test "x${host}" = "x" ; then
49448 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49449 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49450 { (exit 1); exit 1; }; }
49453 BAKEFILE_HOST
="${host}"
49456 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49458 if test -n "$ac_tool_prefix"; then
49459 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49460 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
49461 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49463 if test "${ac_cv_prog_RANLIB+set}" = set; then
49464 echo $ECHO_N "(cached) $ECHO_C" >&6
49466 if test -n "$RANLIB"; then
49467 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
49469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49470 for as_dir
in $PATH
49473 test -z "$as_dir" && as_dir
=.
49474 for ac_exec_ext
in '' $ac_executable_extensions; do
49475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49476 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
49477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49486 RANLIB
=$ac_cv_prog_RANLIB
49487 if test -n "$RANLIB"; then
49488 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49489 echo "${ECHO_T}$RANLIB" >&6; }
49491 { echo "$as_me:$LINENO: result: no" >&5
49492 echo "${ECHO_T}no" >&6; }
49497 if test -z "$ac_cv_prog_RANLIB"; then
49498 ac_ct_RANLIB
=$RANLIB
49499 # Extract the first word of "ranlib", so it can be a program name with args.
49500 set dummy ranlib
; ac_word
=$2
49501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49503 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49504 echo $ECHO_N "(cached) $ECHO_C" >&6
49506 if test -n "$ac_ct_RANLIB"; then
49507 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
49509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49510 for as_dir
in $PATH
49513 test -z "$as_dir" && as_dir
=.
49514 for ac_exec_ext
in '' $ac_executable_extensions; do
49515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49516 ac_cv_prog_ac_ct_RANLIB
="ranlib"
49517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49526 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
49527 if test -n "$ac_ct_RANLIB"; then
49528 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49529 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49531 { echo "$as_me:$LINENO: result: no" >&5
49532 echo "${ECHO_T}no" >&6; }
49535 if test "x$ac_ct_RANLIB" = x
; then
49538 case $cross_compiling:$ac_tool_warned in
49540 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49541 whose name does not start with the host triplet. If you think this
49542 configuration is useful to you, please write to autoconf@gnu.org." >&5
49543 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49544 whose name does not start with the host triplet. If you think this
49545 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49546 ac_tool_warned
=yes ;;
49548 RANLIB
=$ac_ct_RANLIB
49551 RANLIB
="$ac_cv_prog_RANLIB"
49554 # Find a good install program. We prefer a C program (faster),
49555 # so one script is as good as another. But avoid the broken or
49556 # incompatible versions:
49557 # SysV /etc/install, /usr/sbin/install
49558 # SunOS /usr/etc/install
49559 # IRIX /sbin/install
49561 # AmigaOS /C/install, which installs bootblocks on floppy discs
49562 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49563 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49564 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49565 # OS/2's system install, which has a completely different semantic
49566 # ./install, which can be erroneously created by make from ./install.sh.
49567 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49568 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49569 if test -z "$INSTALL"; then
49570 if test "${ac_cv_path_install+set}" = set; then
49571 echo $ECHO_N "(cached) $ECHO_C" >&6
49573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49574 for as_dir
in $PATH
49577 test -z "$as_dir" && as_dir
=.
49578 # Account for people who put trailing slashes in PATH elements.
49580 .
/ | .
// | /cC
/* | \
49581 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
49582 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
49585 # OSF1 and SCO ODT 3.0 have their own names for install.
49586 # Don't use installbsd from OSF since it installs stuff as root
49588 for ac_prog
in ginstall scoinst
install; do
49589 for ac_exec_ext
in '' $ac_executable_extensions; do
49590 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49591 if test $ac_prog = install &&
49592 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49593 # AIX install. It has an incompatible calling convention.
49595 elif test $ac_prog = install &&
49596 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49597 # program-specific install script used by HP pwplus--don't use.
49600 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
49613 if test "${ac_cv_path_install+set}" = set; then
49614 INSTALL
=$ac_cv_path_install
49616 # As a last resort, use the slow shell script. Don't cache a
49617 # value for INSTALL within a source directory, because that will
49618 # break other packages using the cache if that directory is
49619 # removed, or if the value is a relative name.
49620 INSTALL
=$ac_install_sh
49623 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49624 echo "${ECHO_T}$INSTALL" >&6; }
49626 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49627 # It thinks the first close brace ends the variable substitution.
49628 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
49630 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
49632 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
49634 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49635 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49637 if test "$LN_S" = "ln -s"; then
49638 { echo "$as_me:$LINENO: result: yes" >&5
49639 echo "${ECHO_T}yes" >&6; }
49641 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49642 echo "${ECHO_T}no, using $LN_S" >&6; }
49646 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49647 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49648 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49649 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49650 echo $ECHO_N "(cached) $ECHO_C" >&6
49652 cat >conftest.
make <<\_ACEOF
49655 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49657 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49658 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49659 *@@@
%%%=?
*=@@@
%%%*)
49660 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49662 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49664 rm -f conftest.
make
49666 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49667 { echo "$as_me:$LINENO: result: yes" >&5
49668 echo "${ECHO_T}yes" >&6; }
49671 { echo "$as_me:$LINENO: result: no" >&5
49672 echo "${ECHO_T}no" >&6; }
49673 SET_MAKE
="MAKE=${MAKE-make}"
49678 if test "x$SUNCXX" = "xyes"; then
49680 AROPTIONS
="-xar -o"
49682 elif test "x$SGICC" = "xyes"; then
49687 if test -n "$ac_tool_prefix"; then
49688 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49689 set dummy
${ac_tool_prefix}ar; ac_word
=$2
49690 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49692 if test "${ac_cv_prog_AR+set}" = set; then
49693 echo $ECHO_N "(cached) $ECHO_C" >&6
49695 if test -n "$AR"; then
49696 ac_cv_prog_AR
="$AR" # Let the user override the test.
49698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49699 for as_dir
in $PATH
49702 test -z "$as_dir" && as_dir
=.
49703 for ac_exec_ext
in '' $ac_executable_extensions; do
49704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49705 ac_cv_prog_AR
="${ac_tool_prefix}ar"
49706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49716 if test -n "$AR"; then
49717 { echo "$as_me:$LINENO: result: $AR" >&5
49718 echo "${ECHO_T}$AR" >&6; }
49720 { echo "$as_me:$LINENO: result: no" >&5
49721 echo "${ECHO_T}no" >&6; }
49726 if test -z "$ac_cv_prog_AR"; then
49728 # Extract the first word of "ar", so it can be a program name with args.
49729 set dummy
ar; ac_word
=$2
49730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49732 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49733 echo $ECHO_N "(cached) $ECHO_C" >&6
49735 if test -n "$ac_ct_AR"; then
49736 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
49738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49739 for as_dir
in $PATH
49742 test -z "$as_dir" && as_dir
=.
49743 for ac_exec_ext
in '' $ac_executable_extensions; do
49744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49745 ac_cv_prog_ac_ct_AR
="ar"
49746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49755 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
49756 if test -n "$ac_ct_AR"; then
49757 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49758 echo "${ECHO_T}$ac_ct_AR" >&6; }
49760 { echo "$as_me:$LINENO: result: no" >&5
49761 echo "${ECHO_T}no" >&6; }
49764 if test "x$ac_ct_AR" = x
; then
49767 case $cross_compiling:$ac_tool_warned in
49769 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49770 whose name does not start with the host triplet. If you think this
49771 configuration is useful to you, please write to autoconf@gnu.org." >&5
49772 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49773 whose name does not start with the host triplet. If you think this
49774 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49775 ac_tool_warned
=yes ;;
49780 AR
="$ac_cv_prog_AR"
49787 if test -n "$ac_tool_prefix"; then
49788 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49789 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
49790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49792 if test "${ac_cv_prog_STRIP+set}" = set; then
49793 echo $ECHO_N "(cached) $ECHO_C" >&6
49795 if test -n "$STRIP"; then
49796 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
49798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49799 for as_dir
in $PATH
49802 test -z "$as_dir" && as_dir
=.
49803 for ac_exec_ext
in '' $ac_executable_extensions; do
49804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49805 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
49806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49815 STRIP
=$ac_cv_prog_STRIP
49816 if test -n "$STRIP"; then
49817 { echo "$as_me:$LINENO: result: $STRIP" >&5
49818 echo "${ECHO_T}$STRIP" >&6; }
49820 { echo "$as_me:$LINENO: result: no" >&5
49821 echo "${ECHO_T}no" >&6; }
49826 if test -z "$ac_cv_prog_STRIP"; then
49828 # Extract the first word of "strip", so it can be a program name with args.
49829 set dummy strip
; ac_word
=$2
49830 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49832 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49833 echo $ECHO_N "(cached) $ECHO_C" >&6
49835 if test -n "$ac_ct_STRIP"; then
49836 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
49838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49839 for as_dir
in $PATH
49842 test -z "$as_dir" && as_dir
=.
49843 for ac_exec_ext
in '' $ac_executable_extensions; do
49844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49845 ac_cv_prog_ac_ct_STRIP
="strip"
49846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49855 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
49856 if test -n "$ac_ct_STRIP"; then
49857 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49858 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49860 { echo "$as_me:$LINENO: result: no" >&5
49861 echo "${ECHO_T}no" >&6; }
49864 if test "x$ac_ct_STRIP" = x
; then
49867 case $cross_compiling:$ac_tool_warned in
49869 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49870 whose name does not start with the host triplet. If you think this
49871 configuration is useful to you, please write to autoconf@gnu.org." >&5
49872 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49873 whose name does not start with the host triplet. If you think this
49874 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49875 ac_tool_warned
=yes ;;
49880 STRIP
="$ac_cv_prog_STRIP"
49883 if test -n "$ac_tool_prefix"; then
49884 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49885 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
49886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49888 if test "${ac_cv_prog_NM+set}" = set; then
49889 echo $ECHO_N "(cached) $ECHO_C" >&6
49891 if test -n "$NM"; then
49892 ac_cv_prog_NM
="$NM" # Let the user override the test.
49894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49895 for as_dir
in $PATH
49898 test -z "$as_dir" && as_dir
=.
49899 for ac_exec_ext
in '' $ac_executable_extensions; do
49900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49901 ac_cv_prog_NM
="${ac_tool_prefix}nm"
49902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49912 if test -n "$NM"; then
49913 { echo "$as_me:$LINENO: result: $NM" >&5
49914 echo "${ECHO_T}$NM" >&6; }
49916 { echo "$as_me:$LINENO: result: no" >&5
49917 echo "${ECHO_T}no" >&6; }
49922 if test -z "$ac_cv_prog_NM"; then
49924 # Extract the first word of "nm", so it can be a program name with args.
49925 set dummy nm
; ac_word
=$2
49926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49928 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49929 echo $ECHO_N "(cached) $ECHO_C" >&6
49931 if test -n "$ac_ct_NM"; then
49932 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
49934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49935 for as_dir
in $PATH
49938 test -z "$as_dir" && as_dir
=.
49939 for ac_exec_ext
in '' $ac_executable_extensions; do
49940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49941 ac_cv_prog_ac_ct_NM
="nm"
49942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49951 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
49952 if test -n "$ac_ct_NM"; then
49953 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49954 echo "${ECHO_T}$ac_ct_NM" >&6; }
49956 { echo "$as_me:$LINENO: result: no" >&5
49957 echo "${ECHO_T}no" >&6; }
49960 if test "x$ac_ct_NM" = x
; then
49963 case $cross_compiling:$ac_tool_warned in
49965 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49966 whose name does not start with the host triplet. If you think this
49967 configuration is useful to you, please write to autoconf@gnu.org." >&5
49968 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49969 whose name does not start with the host triplet. If you think this
49970 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49971 ac_tool_warned
=yes ;;
49976 NM
="$ac_cv_prog_NM"
49980 case ${BAKEFILE_HOST} in
49982 INSTALL_DIR
="mkdir -p"
49985 INSTALL_DIR
='$(INSTALL) -d'
49991 case ${BAKEFILE_HOST} in
49992 *-*-cygwin* | *-*-mingw32* )
49993 LDFLAGS_GUI
="-mwindows"
49999 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50000 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50001 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50002 echo $ECHO_N "(cached) $ECHO_C" >&6
50005 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
50006 egrep -s GNU
> /dev
/null
); then
50007 bakefile_cv_prog_makeisgnu
="yes"
50009 bakefile_cv_prog_makeisgnu
="no"
50013 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50014 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50016 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50033 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50034 case "${BAKEFILE_HOST}" in
50041 *-pc-os2_emx | *-pc-os2-emx )
50051 powerpc
-apple-macos* )
50060 case "$BAKEFILE_FORCE_PLATFORM" in
50095 # Check whether --enable-omf was given.
50096 if test "${enable_omf+set}" = set; then
50097 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
50101 case "${BAKEFILE_HOST}" in
50103 if test "x$GCC" = "xyes"; then
50104 CFLAGS
="$CFLAGS -fno-common"
50105 CXXFLAGS
="$CXXFLAGS -fno-common"
50107 if test "x$XLCC" = "xyes"; then
50108 CFLAGS
="$CFLAGS -qnocommon"
50109 CXXFLAGS
="$CXXFLAGS -qnocommon"
50113 *-pc-os2_emx | *-pc-os2-emx )
50114 if test "x$bk_os2_use_omf" = "xyes" ; then
50117 LDFLAGS
="-Zomf $LDFLAGS"
50118 CFLAGS
="-Zomf $CFLAGS"
50119 CXXFLAGS
="-Zomf $CXXFLAGS"
50127 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
50133 SO_SUFFIX_MODULE
="so"
50138 DLLPREFIX_MODULE
=""
50142 case "${BAKEFILE_HOST}" in
50145 SO_SUFFIX_MODULE
="sl"
50149 SO_SUFFIX_MODULE
="a"
50153 SO_SUFFIX_MODULE
="dll"
50154 DLLIMP_SUFFIX
="dll.a"
50161 SO_SUFFIX_MODULE
="dll"
50162 DLLIMP_SUFFIX
="dll.a"
50172 *-pc-os2_emx | *-pc-os2-emx )
50174 SO_SUFFIX_MODULE
="dll"
50175 DLLIMP_SUFFIX
=$OS2_LIBEXT
50179 LIBEXT
=".$OS2_LIBEXT"
50184 SO_SUFFIX_MODULE
="bundle"
50188 if test "x$DLLIMP_SUFFIX" = "x" ; then
50189 DLLIMP_SUFFIX
="$SO_SUFFIX"
50204 if test "x$GCC" = "xyes"; then
50208 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
50209 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
50212 case "${BAKEFILE_HOST}" in
50214 if test "x$GCC" != "xyes"; then
50215 LDFLAGS
="$LDFLAGS -L/usr/lib"
50217 SHARED_LD_CC
="${CC} -b -o"
50218 SHARED_LD_CXX
="${CXX} -b -o"
50224 if test "$INTELCC" = "yes"; then
50226 elif test "x$SUNCXX" = "xyes"; then
50227 SHARED_LD_CC
="${CC} -G -o"
50228 SHARED_LD_CXX
="${CXX} -G -o"
50234 if test "x$SUNCXX" = xyes
; then
50235 SHARED_LD_CC
="${CC} -G -o"
50236 SHARED_LD_CXX
="${CXX} -G -o"
50244 cat <<EOF >shared-ld-sh
50246 #-----------------------------------------------------------------------------
50247 #-- Name: distrib/mac/shared-ld-sh
50248 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50249 #-- Author: Gilles Depeyrot
50250 #-- Copyright: (c) 2002 Gilles Depeyrot
50251 #-- Licence: any use permitted
50252 #-----------------------------------------------------------------------------
50257 linking_flag="-dynamiclib"
50258 ldargs="-r -keep_private_externs -nostdlib"
50260 while test ${D}# -gt 0; do
50267 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50268 # collect these options and values
50269 args="${D}{args} ${D}1 ${D}2"
50274 # collect these load args
50275 ldargs="${D}{ldargs} ${D}1"
50278 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50279 # collect these options
50280 args="${D}{args} ${D}1"
50283 -dynamiclib|-bundle)
50284 linking_flag="${D}1"
50288 echo "shared-ld: unhandled option '${D}1'"
50292 *.o | *.a | *.dylib)
50293 # collect object files
50294 objects="${D}{objects} ${D}1"
50298 echo "shared-ld: unhandled argument '${D}1'"
50309 # Link one module containing all the others
50311 if test ${D}{verbose} = 1; then
50312 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50314 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50318 # Link the shared library from the single module created, but only if the
50319 # previous command didn't fail:
50321 if test ${D}{status} = 0; then
50322 if test ${D}{verbose} = 1; then
50323 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50325 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50330 # Remove intermediate module
50332 rm -f master.${D}${D}.o
50337 chmod +x shared
-ld-sh
50339 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50340 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
50343 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50344 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50345 if test "${bakefile_cv_gcc31+set}" = set; then
50346 echo $ECHO_N "(cached) $ECHO_C" >&6
50349 cat >conftest.
$ac_ext <<_ACEOF
50352 cat confdefs.h
>>conftest.
$ac_ext
50353 cat >>conftest.
$ac_ext <<_ACEOF
50354 /* end confdefs.h. */
50360 #if (__GNUC__ < 3) || \
50361 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50369 rm -f conftest.
$ac_objext
50370 if { (ac_try
="$ac_compile"
50371 case "(($ac_try" in
50372 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50373 *) ac_try_echo=$ac_try;;
50375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50376 (eval "$ac_compile") 2>conftest.er1
50378 grep -v '^ *+' conftest.er1 >conftest.err
50380 cat conftest.err >&5
50381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50382 (exit $ac_status); } && {
50383 test -z "$ac_c_werror_flag" ||
50384 test ! -s conftest.err
50385 } && test -s conftest.$ac_objext; then
50387 bakefile_cv_gcc31=yes
50390 echo "$as_me: failed program was:" >&5
50391 sed 's/^/| /' conftest.$ac_ext >&5
50394 bakefile_cv_gcc31=no
50399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50402 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50403 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50404 if test "$bakefile_cv_gcc31" = "no"; then
50405 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50406 SHARED_LD_CXX="$SHARED_LD_CC"
50408 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50409 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50412 if test "x$GCC" == "xyes"; then
50413 PIC_FLAG="-dynamic -fPIC"
50415 if test "x$XLCC" = "xyes"; then
50416 PIC_FLAG="-dynamic -DPIC"
50421 if test "x$GCC" = "xyes"; then
50424 case "${BAKEFILE_HOST}" in
50426 LD_EXPFULL="-Wl,-bexpfull"
50430 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50431 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50433 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50434 set dummy makeC++SharedLib; ac_word=$2
50435 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50437 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50438 echo $ECHO_N "(cached) $ECHO_C" >&6
50440 if test -n "$AIX_CXX_LD"; then
50441 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50444 for as_dir in $PATH
50447 test -z "$as_dir" && as_dir=.
50448 for ac_exec_ext in '' $ac_executable_extensions; do
50449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50450 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50458 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50461 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50462 if test -n "$AIX_CXX_LD"; then
50463 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50464 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50466 { echo "$as_me:$LINENO: result: no" >&5
50467 echo "${ECHO_T}no" >&6; }
50471 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50472 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50477 SHARED_LD_CC="${LD} -nostart -o"
50478 SHARED_LD_CXX="${LD} -nostart -o"
50482 if test "x$GCC" != "xyes"; then
50487 *-*-cygwin* | *-*-mingw32* )
50489 SHARED_LD_CC="\$(CC) -shared -o"
50490 SHARED_LD_CXX="\$(CXX) -shared -o"
50494 *-pc-os2_emx | *-pc-os2-emx )
50495 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50496 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50500 cat <<EOF >dllar.sh
50503 # dllar - a tool to build both a .dll and an .a file
50504 # from a set of object (.o) files for EMX/OS2.
50506 # Written by Andrew Zabolotny, bit@freya.etu.ru
50507 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50509 # This script will accept a set of files on the command line.
50510 # All the public symbols from the .o files will be exported into
50511 # a .DEF file, then linker will be run (through gcc) against them to
50512 # build a shared library consisting of all given .o files. All libraries
50513 # (.a) will be first decompressed into component .o files then act as
50514 # described above. You can optionally give a description (-d "description")
50515 # which will be put into .DLL. To see the list of accepted options (as well
50516 # as command-line format) simply run this program without options. The .DLL
50517 # is built to be imported by name (there is no guarantee that new versions
50518 # of the library you build will have same ordinals for same symbols).
50520 # dllar is free software; you can redistribute it and/or modify
50521 # it under the terms of the GNU General Public License as published by
50522 # the Free Software Foundation; either version 2, or (at your option)
50523 # any later version.
50525 # dllar is distributed in the hope that it will be useful,
50526 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50527 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50528 # GNU General Public License for more details.
50530 # You should have received a copy of the GNU General Public License
50531 # along with dllar; see the file COPYING. If not, write to the Free
50532 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50535 # To successfuly run this program you will need:
50536 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50537 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50539 # (used to build the .dll)
50541 # (used to create .def file from .o files)
50543 # (used to create .a file from .def file)
50544 # - GNU text utilites (cat, sort, uniq)
50545 # used to process emxexp output
50546 # - GNU file utilities (mv, rm)
50548 # - lxlite (optional, see flag below)
50549 # (used for general .dll cleanup)
50556 # basnam, variant of basename, which does _not_ remove the path, _iff_
50557 # second argument (suffix to remove) is given
50561 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50564 echo ${D}1 | sed 's/'${D}2'${D}//'
50567 echo "error in basnam ${D}*"
50573 # Cleanup temporary files and output
50576 for i in ${D}inputFiles ; do
50579 rm -rf \`basnam
${D}i
!\
`
50586 # Kill result in case of failure as there is just to many stupid make/nmake
50587 # things out there which doesn't do this.
50588 if [ ${D}# -eq 0 ]; then
50589 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50593 # Print usage and exit script with rc=1.
50595 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50596 echo ' [-name-mangler-script script.sh]'
50597 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50598 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50599 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50600 echo ' [*.o] [*.a]'
50601 echo '*> "output_file" should have no extension.'
50602 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50603 echo ' The import library name is derived from this and is set to "name".a,'
50604 echo ' unless overridden by -import'
50605 echo '*> "importlib_name" should have no extension.'
50606 echo ' If it has the .o, or .a extension, it is automatically removed.'
50607 echo ' This name is used as the import library name and may be longer and'
50608 echo ' more descriptive than the DLL name which has to follow the old '
50609 echo ' 8.3 convention of FAT.'
50610 echo '*> "script.sh may be given to override the output_file name by a'
50611 echo ' different name. It is mainly useful if the regular make process'
50612 echo ' of some package does not take into account OS/2 restriction of'
50613 echo ' DLL name lengths. It takes the importlib name as input and is'
50614 echo ' supposed to procude a shorter name as output. The script should'
50615 echo ' expect to get importlib_name without extension and should produce'
50616 echo ' a (max.) 8 letter name without extension.'
50617 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50618 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50619 echo ' These flags will be put at the start of GCC command line.'
50620 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50621 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50622 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50623 echo ' If the last character of a symbol is "*", all symbols beginning'
50624 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50625 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50626 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50627 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50628 echo ' C runtime DLLs.'
50629 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50630 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50631 echo ' unchanged to GCC at the end of command line.'
50632 echo '*> If you create a DLL from a library and you do not specify -o,'
50633 echo ' the basename for DLL and import library will be set to library name,'
50634 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50635 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50636 echo ' library will be renamed into gcc_s.a.'
50639 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50640 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50645 # Execute a command.
50646 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50647 # @Uses Whatever CleanUp() uses.
50653 if [ ${D}rcCmd -ne 0 ]; then
50654 echo "command failed, exit code="${D}rcCmd
50669 CFLAGS="-s -Zcrtdll"
50671 EXPORT_BY_ORDINALS=0
50676 case ${D}curDirS in
50680 curDirS=${D}{curDirS}"/"
50683 # Parse commandline
50686 while [ ${D}1 ]; do
50689 EXPORT_BY_ORDINALS=1;
50699 -name-mangler-script)
50720 exclude_symbols=${D}{exclude_symbols}${D}1" "
50724 library_flags=${D}{library_flags}${D}1" "
50743 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50746 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
50747 if [ ${D}omfLinking -eq 1 ]; then
50748 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50750 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50755 if [ ${D}libsToLink -ne 0 ]; then
50756 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50758 for file in ${D}1 ; do
50759 if [ -f ${D}file ]; then
50760 inputFiles="${D}{inputFiles} ${D}file"
50764 if [ ${D}found -eq 0 ]; then
50765 echo "ERROR: No file(s) found: "${D}1
50772 done # iterate cmdline words
50775 if [ -z "${D}inputFiles" ]; then
50776 echo "dllar: no input files"
50780 # Now extract all .o files from .a files
50782 for file in ${D}inputFiles ; do
50793 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50798 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
50800 if [ ${D}? -ne 0 ]; then
50801 echo "Failed to create subdirectory ./${D}dirname"
50805 # Append '!' to indicate archive
50806 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50807 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50810 for subfile in ${D}dirname/*.o* ; do
50811 if [ -f ${D}subfile ]; then
50813 if [ -s ${D}subfile ]; then
50814 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50815 newInputFiles="${D}newInputFiles ${D}subfile"
50819 if [ ${D}found -eq 0 ]; then
50820 echo "WARNING: there are no files in archive \\'${D}file\\'"
50824 newInputFiles="${D}{newInputFiles} ${D}file"
50828 inputFiles="${D}newInputFiles"
50830 # Output filename(s).
50832 if [ -z ${D}outFile ]; then
50834 set outFile ${D}inputFiles; outFile=${D}2
50837 # If it is an archive, remove the '!' and the '_%' suffixes
50838 case ${D}outFile in
50840 outFile=\`basnam
${D}outFile _
%!\
`
50845 case ${D}outFile in
50847 outFile=\`basnam
${D}outFile .dll\
`
50850 outFile=\`basnam
${D}outFile .DLL\
`
50853 outFile=\`basnam
${D}outFile .o\
`
50856 outFile=\`basnam
${D}outFile .obj\
`
50859 outFile=\`basnam
${D}outFile .a\
`
50862 outFile=\`basnam
${D}outFile .lib\
`
50867 case ${D}outimpFile in
50869 outimpFile=\`basnam
${D}outimpFile .a\
`
50872 outimpFile=\`basnam
${D}outimpFile .lib\
`
50877 if [ -z ${D}outimpFile ]; then
50878 outimpFile=${D}outFile
50880 defFile="${D}{outFile}.def"
50881 arcFile="${D}{outimpFile}.a"
50882 arcFile2="${D}{outimpFile}.lib"
50884 #create ${D}dllFile as something matching 8.3 restrictions,
50885 if [ -z ${D}renameScript ] ; then
50886 dllFile="${D}outFile"
50888 dllFile=\`${D}renameScript
${D}outimpFile\
`
50891 if [ ${D}do_backup -ne 0 ] ; then
50892 if [ -f ${D}arcFile ] ; then
50893 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50895 if [ -f ${D}arcFile2 ] ; then
50896 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50900 # Extract public symbols from all the object files.
50901 tmpdefFile=${D}{defFile}_%
50902 rm -f ${D}tmpdefFile
50903 for file in ${D}inputFiles ; do
50908 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50913 # Create the def file.
50915 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
50916 dllFile="${D}{dllFile}.dll"
50917 if [ ! -z ${D}description ]; then
50918 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50920 echo "EXPORTS" >> ${D}defFile
50922 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50923 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50925 # Checks if the export is ok or not.
50926 for word in ${D}exclude_symbols; do
50927 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50928 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50932 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50933 sed "=" < ${D}tmpdefFile | \\
50937 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50939 ' > ${D}{tmpdefFile}%
50940 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50942 rm -f ${D}{tmpdefFile}%
50944 cat ${D}tmpdefFile >> ${D}defFile
50945 rm -f ${D}tmpdefFile
50947 # Do linking, create implib, and apply lxlite.
50949 for file in ${D}inputFiles ; do
50954 gccCmdl="${D}gccCmdl ${D}file"
50958 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50959 touch "${D}{outFile}.dll"
50961 doCommand "emximp -o ${D}arcFile ${D}defFile"
50962 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50964 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50967 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50969 doCommand "emxomf -s -l ${D}arcFile"
50979 powerpc-apple-macos* | \
50980 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50990 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50991 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50992 { (exit 1); exit 1; }; }
50995 if test "x$PIC_FLAG" != "x" ; then
50996 PIC_FLAG="$PIC_FLAG -DPIC"
50999 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51000 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51002 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51003 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51022 case "${BAKEFILE_HOST}" in
51023 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51024 if test "x$SUNCXX" = "xyes"; then
51027 SONAME_FLAG="-Wl,-soname,"
51062 # Check whether --enable-dependency-tracking was given.
51063 if test "${enable_dependency_tracking+set}" = set; then
51064 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51068 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51069 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51072 if test "x$bk_use_trackdeps" = "xno" ; then
51074 { echo "$as_me:$LINENO: result: disabled" >&5
51075 echo "${ECHO_T}disabled" >&6; }
51079 if test "x$GCC" = "xyes"; then
51081 case "${BAKEFILE_HOST}" in
51083 DEPSFLAG="-no-cpp-precomp -MMD"
51089 { echo "$as_me:$LINENO: result: gcc" >&5
51090 echo "${ECHO_T}gcc" >&6; }
51091 elif test "x$MWCC" = "xyes"; then
51094 { echo "$as_me:$LINENO: result: mwcc" >&5
51095 echo "${ECHO_T}mwcc" >&6; }
51096 elif test "x$SUNCC" = "xyes"; then
51099 { echo "$as_me:$LINENO: result: Sun cc" >&5
51100 echo "${ECHO_T}Sun cc" >&6; }
51101 elif test "x$SGICC" = "xyes"; then
51104 { echo "$as_me:$LINENO: result: SGI cc" >&5
51105 echo "${ECHO_T}SGI cc" >&6; }
51106 elif test "x$HPCC" = "xyes"; then
51109 { echo "$as_me:$LINENO: result: HP cc" >&5
51110 echo "${ECHO_T}HP cc" >&6; }
51111 elif test "x$COMPAQCC" = "xyes"; then
51114 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51115 echo "${ECHO_T}Compaq cc" >&6; }
51118 { echo "$as_me:$LINENO: result: none" >&5
51119 echo "${ECHO_T}none" >&6; }
51122 if test $DEPS_TRACKING = 1 ; then
51128 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51129 # script. It is used to track C/C++ files dependencies in portable way.
51131 # Permission is given to use this file in any way.
51133 DEPSMODE=${DEPSMODE}
51135 DEPSFLAG="${DEPSFLAG}"
51137 mkdir -p ${D}DEPSDIR
51139 if test ${D}DEPSMODE = gcc ; then
51140 ${D}* ${D}{DEPSFLAG}
51142 if test ${D}{status} != 0 ; then
51145 # move created file to the location we want it in:
51146 while test ${D}# -gt 0; do
51160 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
51161 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
51162 if test -f ${D}depfile ; then
51163 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51166 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51167 depfile=\`basename ${D}objfile
| sed -e 's/\\..*${D}/.d/g'\
`
51168 if test ! -f ${D}depfile ; then
51169 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51170 depfile="${D}objfile.d"
51172 if test -f ${D}depfile ; then
51173 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51178 elif test ${D}DEPSMODE = mwcc ; then
51179 ${D}* || exit ${D}?
51180 # Run mwcc again with -MM and redirect into the dep file we want
51181 # NOTE: We can't use shift here because we need ${D}* to be valid
51183 for arg in ${D}* ; do
51184 if test "${D}prevarg" = "-o"; then
51197 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51199 elif test ${D}DEPSMODE = unixcc; then
51200 ${D}* || exit ${D}?
51201 # Run compiler again with deps flag and redirect into the dep file.
51202 # It doesn't work if the '-o FILE' option is used, but without it the
51203 # dependency file will contain the wrong name for the object. So it is
51204 # removed from the command line, and the dep file is fixed with sed.
51206 while test ${D}# -gt 0; do
51213 eval arg${D}#=\\${D}1
51214 cmd="${D}cmd \\${D}arg${D}#"
51219 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51228 BK_DEPS="`pwd`/bk-deps"
51236 case ${BAKEFILE_HOST} in
51237 *-*-cygwin* | *-*-mingw32* )
51238 if test -n "$ac_tool_prefix"; then
51239 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51240 set dummy ${ac_tool_prefix}windres; ac_word=$2
51241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51243 if test "${ac_cv_prog_WINDRES+set}" = set; then
51244 echo $ECHO_N "(cached) $ECHO_C" >&6
51246 if test -n "$WINDRES"; then
51247 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51250 for as_dir in $PATH
51253 test -z "$as_dir" && as_dir=.
51254 for ac_exec_ext in '' $ac_executable_extensions; do
51255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51256 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51266 WINDRES=$ac_cv_prog_WINDRES
51267 if test -n "$WINDRES"; then
51268 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51269 echo "${ECHO_T}$WINDRES" >&6; }
51271 { echo "$as_me:$LINENO: result: no" >&5
51272 echo "${ECHO_T}no" >&6; }
51277 if test -z "$ac_cv_prog_WINDRES"; then
51278 ac_ct_WINDRES=$WINDRES
51279 # Extract the first word of "windres", so it can be a program name with args.
51280 set dummy windres; ac_word=$2
51281 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51283 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51284 echo $ECHO_N "(cached) $ECHO_C" >&6
51286 if test -n "$ac_ct_WINDRES"; then
51287 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51290 for as_dir in $PATH
51293 test -z "$as_dir" && as_dir=.
51294 for ac_exec_ext in '' $ac_executable_extensions; do
51295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51296 ac_cv_prog_ac_ct_WINDRES="windres"
51297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51306 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51307 if test -n "$ac_ct_WINDRES"; then
51308 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51309 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51311 { echo "$as_me:$LINENO: result: no" >&5
51312 echo "${ECHO_T}no" >&6; }
51315 if test "x$ac_ct_WINDRES" = x; then
51318 case $cross_compiling:$ac_tool_warned in
51320 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51321 whose name does not start with the host triplet. If you think this
51322 configuration is useful to you, please write to autoconf@gnu.org." >&5
51323 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51324 whose name does not start with the host triplet. If you think this
51325 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51326 ac_tool_warned=yes ;;
51328 WINDRES=$ac_ct_WINDRES
51331 WINDRES="$ac_cv_prog_WINDRES"
51336 *-*-darwin* | powerpc-apple-macos* )
51337 # Extract the first word of "Rez", so it can be a program name with args.
51338 set dummy Rez; ac_word=$2
51339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51341 if test "${ac_cv_prog_REZ+set}" = set; then
51342 echo $ECHO_N "(cached) $ECHO_C" >&6
51344 if test -n "$REZ"; then
51345 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51348 for as_dir in $PATH
51351 test -z "$as_dir" && as_dir=.
51352 for ac_exec_ext in '' $ac_executable_extensions; do
51353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51354 ac_cv_prog_REZ="Rez"
51355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51362 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51365 REZ=$ac_cv_prog_REZ
51366 if test -n "$REZ"; then
51367 { echo "$as_me:$LINENO: result: $REZ" >&5
51368 echo "${ECHO_T}$REZ" >&6; }
51370 { echo "$as_me:$LINENO: result: no" >&5
51371 echo "${ECHO_T}no" >&6; }
51375 # Extract the first word of "SetFile", so it can be a program name with args.
51376 set dummy SetFile; 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_SETFILE+set}" = set; then
51380 echo $ECHO_N "(cached) $ECHO_C" >&6
51382 if test -n "$SETFILE"; then
51383 ac_cv_prog_SETFILE="$SETFILE" # 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_SETFILE="SetFile"
51393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51400 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51403 SETFILE=$ac_cv_prog_SETFILE
51404 if test -n "$SETFILE"; then
51405 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51406 echo "${ECHO_T}$SETFILE" >&6; }
51408 { echo "$as_me:$LINENO: result: no" >&5
51409 echo "${ECHO_T}no" >&6; }
51421 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51424 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51428 # Check whether --enable-precomp-headers was given.
51429 if test "${enable_precomp_headers+set}" = set; then
51430 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51439 case ${BAKEFILE_HOST} in
51445 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51446 if test "x$GCC" = "xyes"; then
51447 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51448 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51449 cat >conftest.$ac_ext <<_ACEOF
51452 cat confdefs.h >>conftest.$ac_ext
51453 cat >>conftest.$ac_ext <<_ACEOF
51454 /* end confdefs.h. */
51460 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51461 There is no PCH support
51464 There is no PCH support
51466 #if (__GNUC__ == 3) && \
51467 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51468 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51469 ( defined(__INTEL_COMPILER) )
51470 There is no PCH support
51477 rm -f conftest.$ac_objext
51478 if { (ac_try="$ac_compile"
51479 case "(($ac_try" in
51480 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51481 *) ac_try_echo
=$ac_try;;
51483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51484 (eval "$ac_compile") 2>conftest.er1
51486 grep -v '^ *+' conftest.er1
>conftest.err
51488 cat conftest.err
>&5
51489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51490 (exit $ac_status); } && {
51491 test -z "$ac_c_werror_flag" ||
51492 test ! -s conftest.err
51493 } && test -s conftest.
$ac_objext; then
51495 { echo "$as_me:$LINENO: result: yes" >&5
51496 echo "${ECHO_T}yes" >&6; }
51500 echo "$as_me: failed program was:" >&5
51501 sed 's/^/| /' conftest.
$ac_ext >&5
51504 cat >conftest.
$ac_ext <<_ACEOF
51507 cat confdefs.h
>>conftest.
$ac_ext
51508 cat >>conftest.
$ac_ext <<_ACEOF
51509 /* end confdefs.h. */
51515 #if !defined(__INTEL_COMPILER) || \
51516 (__INTEL_COMPILER < 800)
51517 There is no PCH support
51524 rm -f conftest.
$ac_objext
51525 if { (ac_try
="$ac_compile"
51526 case "(($ac_try" in
51527 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51528 *) ac_try_echo=$ac_try;;
51530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51531 (eval "$ac_compile") 2>conftest.er1
51533 grep -v '^ *+' conftest.er1 >conftest.err
51535 cat conftest.err >&5
51536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51537 (exit $ac_status); } && {
51538 test -z "$ac_c_werror_flag" ||
51539 test ! -s conftest.err
51540 } && test -s conftest.$ac_objext; then
51542 { echo "$as_me:$LINENO: result: yes" >&5
51543 echo "${ECHO_T}yes" >&6; }
51547 echo "$as_me: failed program was:" >&5
51548 sed 's/^/| /' conftest.$ac_ext >&5
51551 { echo "$as_me:$LINENO: result: no" >&5
51552 echo "${ECHO_T}no" >&6; }
51556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51561 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51565 cat <<EOF >bk-make-pch
51568 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51569 # script. It is used to generated precompiled headers.
51571 # Permission is given to use this file in any way.
51581 while test ${D}{#} -gt 0; do
51585 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
51586 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51587 headerfile="${D}{incdir}/${D}{header}"
51590 -use-pch|-use_pch )
51595 if test ${D}add_to_cmdline = 1 ; then
51596 compiler="${D}{compiler} ${D}{1}"
51601 if test "x${D}{headerfile}" = "x" ; then
51602 echo "error: can't find header ${D}{header} in include paths" >&2
51604 if test -f ${D}{outfile} ; then
51605 rm -f ${D}{outfile}
51607 mkdir -p \`dirname ${D}{outfile
}\
`
51609 depsfile=".deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
51611 if test "x${GCC_PCH}" = "x1" ; then
51612 # can do this because gcc is >= 3.4:
51613 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51614 elif test "x${ICC_PCH}" = "x1" ; then
51615 filename=pch_gen-${D}${D}
51616 file=${D}{filename}.c
51617 dfile=${D}{filename}.d
51618 cat > ${D}file <<EOT
51619 #include "${D}header"
51621 # using -MF icc complains about differing command lines in creation/use
51622 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51623 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51624 rm -f ${D}file ${D}dfile ${D}{filename}.o
51630 chmod +x bk-make-pch
51631 BK_MAKE_PCH="`pwd`/bk-make-pch"
51640 COND_BUILD_DEBUG="#"
51641 if test "x$BUILD" = "xdebug" ; then
51642 COND_BUILD_DEBUG=""
51645 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51646 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51647 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51650 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51651 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51652 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51655 COND_BUILD_DEBUG_UNICODE_0="#"
51656 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51657 COND_BUILD_DEBUG_UNICODE_0=""
51660 COND_BUILD_DEBUG_UNICODE_1="#"
51661 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51662 COND_BUILD_DEBUG_UNICODE_1=""
51665 COND_BUILD_RELEASE="#"
51666 if test "x$BUILD" = "xrelease" ; then
51667 COND_BUILD_RELEASE=""
51670 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51671 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51672 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51675 COND_BUILD_RELEASE_UNICODE_0="#"
51676 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51677 COND_BUILD_RELEASE_UNICODE_0=""
51680 COND_BUILD_RELEASE_UNICODE_1="#"
51681 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51682 COND_BUILD_RELEASE_UNICODE_1=""
51685 COND_DEBUG_FLAG_1="#"
51686 if test "x$DEBUG_FLAG" = "x1" ; then
51687 COND_DEBUG_FLAG_1=""
51690 COND_DEBUG_INFO_0="#"
51691 if test "x$DEBUG_INFO" = "x0" ; then
51692 COND_DEBUG_INFO_0=""
51695 COND_DEBUG_INFO_1="#"
51696 if test "x$DEBUG_INFO" = "x1" ; then
51697 COND_DEBUG_INFO_1=""
51700 COND_DEPS_TRACKING_0="#"
51701 if test "x$DEPS_TRACKING" = "x0" ; then
51702 COND_DEPS_TRACKING_0=""
51705 COND_DEPS_TRACKING_1="#"
51706 if test "x$DEPS_TRACKING" = "x1" ; then
51707 COND_DEPS_TRACKING_1=""
51711 if test "x$GCC_PCH" = "x1" ; then
51716 if test "x$ICC_PCH" = "x1" ; then
51720 COND_MONOLITHIC_0="#"
51721 if test "x$MONOLITHIC" = "x0" ; then
51722 COND_MONOLITHIC_0=""
51725 COND_MONOLITHIC_0_SHARED_0="#"
51726 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51727 COND_MONOLITHIC_0_SHARED_0=""
51730 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51731 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51732 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51735 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51736 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51737 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51740 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51741 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51742 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51745 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51746 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51747 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51750 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51751 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51752 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51755 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51756 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51757 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51760 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51761 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51762 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51765 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51766 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51767 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51770 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51771 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51772 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51775 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51776 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51777 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51780 COND_MONOLITHIC_0_SHARED_1="#"
51781 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51782 COND_MONOLITHIC_0_SHARED_1=""
51785 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51786 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51787 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51790 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51791 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51792 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51795 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51796 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51797 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51800 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51801 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51802 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51805 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51806 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51807 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51810 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51811 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51812 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51815 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51816 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51817 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51820 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51821 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51822 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51825 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51826 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51827 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51830 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51831 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51832 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51835 COND_MONOLITHIC_0_USE_AUI_1="#"
51836 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51837 COND_MONOLITHIC_0_USE_AUI_1=""
51840 COND_MONOLITHIC_0_USE_GUI_1="#"
51841 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51842 COND_MONOLITHIC_0_USE_GUI_1=""
51845 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51846 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51847 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51850 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51851 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51852 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51855 COND_MONOLITHIC_0_USE_HTML_1="#"
51856 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51857 COND_MONOLITHIC_0_USE_HTML_1=""
51860 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51861 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51862 COND_MONOLITHIC_0_USE_MEDIA_1=""
51865 COND_MONOLITHIC_0_USE_ODBC_1="#"
51866 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51867 COND_MONOLITHIC_0_USE_ODBC_1=""
51870 COND_MONOLITHIC_0_USE_QA_1="#"
51871 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51872 COND_MONOLITHIC_0_USE_QA_1=""
51875 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51876 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51877 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51880 COND_MONOLITHIC_0_USE_STC_1="#"
51881 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51882 COND_MONOLITHIC_0_USE_STC_1=""
51885 COND_MONOLITHIC_0_USE_XRC_1="#"
51886 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51887 COND_MONOLITHIC_0_USE_XRC_1=""
51890 COND_MONOLITHIC_1="#"
51891 if test "x$MONOLITHIC" = "x1" ; then
51892 COND_MONOLITHIC_1=""
51895 COND_MONOLITHIC_1_SHARED_0="#"
51896 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51897 COND_MONOLITHIC_1_SHARED_0=""
51900 COND_MONOLITHIC_1_SHARED_1="#"
51901 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51902 COND_MONOLITHIC_1_SHARED_1=""
51905 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51906 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51907 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51910 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51911 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51912 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51915 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51916 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51917 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51920 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51921 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51922 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51925 COND_PLATFORM_MACOSX_1="#"
51926 if test "x$PLATFORM_MACOSX" = "x1" ; then
51927 COND_PLATFORM_MACOSX_1=""
51930 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51931 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51932 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51935 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51936 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51937 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51940 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51941 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51942 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51945 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51946 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51947 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51950 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51951 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51952 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51955 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51956 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51957 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51960 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51961 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51962 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51965 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51966 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51967 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51970 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51971 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51972 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51975 COND_PLATFORM_MACOS_1="#"
51976 if test "x$PLATFORM_MACOS" = "x1" ; then
51977 COND_PLATFORM_MACOS_1=""
51980 COND_PLATFORM_MAC_1="#"
51981 if test "x$PLATFORM_MAC" = "x1" ; then
51982 COND_PLATFORM_MAC_1=""
51985 COND_PLATFORM_MSDOS_0="#"
51986 if test "x$PLATFORM_MSDOS" = "x0" ; then
51987 COND_PLATFORM_MSDOS_0=""
51990 COND_PLATFORM_MSDOS_1="#"
51991 if test "x$PLATFORM_MSDOS" = "x1" ; then
51992 COND_PLATFORM_MSDOS_1=""
51995 COND_PLATFORM_OS2_1="#"
51996 if test "x$PLATFORM_OS2" = "x1" ; then
51997 COND_PLATFORM_OS2_1=""
52000 COND_PLATFORM_UNIX_0="#"
52001 if test "x$PLATFORM_UNIX" = "x0" ; then
52002 COND_PLATFORM_UNIX_0=""
52005 COND_PLATFORM_UNIX_1="#"
52006 if test "x$PLATFORM_UNIX" = "x1" ; then
52007 COND_PLATFORM_UNIX_1=""
52010 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52011 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52012 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52015 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52016 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52017 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52020 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52021 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52022 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52025 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52026 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52027 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52030 COND_PLATFORM_WIN32_0="#"
52031 if test "x$PLATFORM_WIN32" = "x0" ; then
52032 COND_PLATFORM_WIN32_0=""
52035 COND_PLATFORM_WIN32_1="#"
52036 if test "x$PLATFORM_WIN32" = "x1" ; then
52037 COND_PLATFORM_WIN32_1=""
52041 if test "x$SHARED" = "x0" ; then
52045 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52046 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52047 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52050 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52051 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52052 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52055 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52056 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52057 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52060 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52061 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52062 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52065 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52066 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52067 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52070 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52071 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52072 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52075 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52076 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52077 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52080 COND_SHARED_0_USE_STC_1="#"
52081 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52082 COND_SHARED_0_USE_STC_1=""
52085 COND_SHARED_0_USE_XRC_1="#"
52086 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52087 COND_SHARED_0_USE_XRC_1=""
52090 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52091 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52092 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52095 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52096 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52097 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52100 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52101 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52102 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52105 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52106 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52107 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52111 if test "x$SHARED" = "x1" ; then
52115 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52116 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52117 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52120 COND_SHARED_1_USE_XRC_1="#"
52121 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52122 COND_SHARED_1_USE_XRC_1=""
52126 if test "x$TOOLKIT" = "x" ; then
52130 COND_TOOLKIT_COCOA="#"
52131 if test "x$TOOLKIT" = "xCOCOA" ; then
52132 COND_TOOLKIT_COCOA=""
52135 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52136 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52137 COND_TOOLKIT_COCOA_USE_GUI_1=""
52140 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52141 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52142 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52145 COND_TOOLKIT_DFB="#"
52146 if test "x$TOOLKIT" = "xDFB" ; then
52147 COND_TOOLKIT_DFB=""
52150 COND_TOOLKIT_DFB_USE_GUI_1="#"
52151 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52152 COND_TOOLKIT_DFB_USE_GUI_1=""
52155 COND_TOOLKIT_GTK="#"
52156 if test "x$TOOLKIT" = "xGTK" ; then
52157 COND_TOOLKIT_GTK=""
52160 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52161 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52162 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52165 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52166 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52167 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52170 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52171 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52172 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52175 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52176 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52177 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52180 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52181 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52182 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52185 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52186 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52187 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52190 COND_TOOLKIT_GTK_USE_GUI_1="#"
52191 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52192 COND_TOOLKIT_GTK_USE_GUI_1=""
52195 COND_TOOLKIT_MAC="#"
52196 if test "x$TOOLKIT" = "xMAC" ; then
52197 COND_TOOLKIT_MAC=""
52200 COND_TOOLKIT_MAC_USE_GUI_1="#"
52201 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52202 COND_TOOLKIT_MAC_USE_GUI_1=""
52205 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52206 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52207 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52210 COND_TOOLKIT_MGL="#"
52211 if test "x$TOOLKIT" = "xMGL" ; then
52212 COND_TOOLKIT_MGL=""
52215 COND_TOOLKIT_MGL_USE_GUI_1="#"
52216 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52217 COND_TOOLKIT_MGL_USE_GUI_1=""
52220 COND_TOOLKIT_MOTIF="#"
52221 if test "x$TOOLKIT" = "xMOTIF" ; then
52222 COND_TOOLKIT_MOTIF=""
52225 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52226 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52227 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52230 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52231 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52232 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52235 COND_TOOLKIT_MSW="#"
52236 if test "x$TOOLKIT" = "xMSW" ; then
52237 COND_TOOLKIT_MSW=""
52240 COND_TOOLKIT_MSW_USE_GUI_1="#"
52241 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52242 COND_TOOLKIT_MSW_USE_GUI_1=""
52245 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52246 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52247 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52250 COND_TOOLKIT_MSW_WXUNIV_0="#"
52251 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52252 COND_TOOLKIT_MSW_WXUNIV_0=""
52255 COND_TOOLKIT_PM="#"
52256 if test "x$TOOLKIT" = "xPM" ; then
52260 COND_TOOLKIT_PM_USE_GUI_1="#"
52261 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52262 COND_TOOLKIT_PM_USE_GUI_1=""
52265 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52266 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52267 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52270 COND_TOOLKIT_WINCE="#"
52271 if test "x$TOOLKIT" = "xWINCE" ; then
52272 COND_TOOLKIT_WINCE=""
52275 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52276 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52277 COND_TOOLKIT_WINCE_USE_GUI_1=""
52280 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52281 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52282 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52285 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52286 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52287 COND_TOOLKIT_WINCE_WXUNIV_0=""
52290 COND_TOOLKIT_X11="#"
52291 if test "x$TOOLKIT" = "xX11" ; then
52292 COND_TOOLKIT_X11=""
52295 COND_TOOLKIT_X11_USE_GUI_1="#"
52296 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52297 COND_TOOLKIT_X11_USE_GUI_1=""
52301 if test "x$UNICODE" = "x1" ; then
52305 COND_USE_EXCEPTIONS_0="#"
52306 if test "x$USE_EXCEPTIONS" = "x0" ; then
52307 COND_USE_EXCEPTIONS_0=""
52310 COND_USE_EXCEPTIONS_1="#"
52311 if test "x$USE_EXCEPTIONS" = "x1" ; then
52312 COND_USE_EXCEPTIONS_1=""
52316 if test "x$USE_GUI" = "x0" ; then
52321 if test "x$USE_GUI" = "x1" ; then
52325 COND_USE_GUI_1_USE_OPENGL_1="#"
52326 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52327 COND_USE_GUI_1_USE_OPENGL_1=""
52330 COND_USE_GUI_1_WXUNIV_0="#"
52331 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52332 COND_USE_GUI_1_WXUNIV_0=""
52335 COND_USE_GUI_1_WXUNIV_1="#"
52336 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52337 COND_USE_GUI_1_WXUNIV_1=""
52340 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52341 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52342 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52345 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52346 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52347 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52350 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52351 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52352 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52355 COND_USE_ODBC_1="#"
52356 if test "x$USE_ODBC" = "x1" ; then
52360 COND_USE_OPENGL_1="#"
52361 if test "x$USE_OPENGL" = "x1" ; then
52362 COND_USE_OPENGL_1=""
52366 if test "x$USE_PCH" = "x1" ; then
52370 COND_USE_PLUGINS_0="#"
52371 if test "x$USE_PLUGINS" = "x0" ; then
52372 COND_USE_PLUGINS_0=""
52375 COND_USE_RTTI_0="#"
52376 if test "x$USE_RTTI" = "x0" ; then
52380 COND_USE_RTTI_1="#"
52381 if test "x$USE_RTTI" = "x1" ; then
52385 COND_USE_SOSYMLINKS_1="#"
52386 if test "x$USE_SOSYMLINKS" = "x1" ; then
52387 COND_USE_SOSYMLINKS_1=""
52390 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52391 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52392 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52395 COND_USE_SOVERLINUX_1="#"
52396 if test "x$USE_SOVERLINUX" = "x1" ; then
52397 COND_USE_SOVERLINUX_1=""
52400 COND_USE_SOVERSION_0="#"
52401 if test "x$USE_SOVERSION" = "x0" ; then
52402 COND_USE_SOVERSION_0=""
52405 COND_USE_SOVERSOLARIS_1="#"
52406 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52407 COND_USE_SOVERSOLARIS_1=""
52411 if test "x$USE_STC" = "x1" ; then
52415 COND_USE_THREADS_0="#"
52416 if test "x$USE_THREADS" = "x0" ; then
52417 COND_USE_THREADS_0=""
52420 COND_USE_THREADS_1="#"
52421 if test "x$USE_THREADS" = "x1" ; then
52422 COND_USE_THREADS_1=""
52426 if test "x$USE_XRC" = "x1" ; then
52430 COND_WINDOWS_IMPLIB_1="#"
52431 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52432 COND_WINDOWS_IMPLIB_1=""
52435 COND_WITH_PLUGIN_SDL_1="#"
52436 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52437 COND_WITH_PLUGIN_SDL_1=""
52441 if test "x$WXUNIV" = "x0" ; then
52446 if test "x$WXUNIV" = "x1" ; then
52450 COND_WXUSE_EXPAT_BUILTIN="#"
52451 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52452 COND_WXUSE_EXPAT_BUILTIN=""
52455 COND_WXUSE_LIBJPEG_BUILTIN="#"
52456 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52457 COND_WXUSE_LIBJPEG_BUILTIN=""
52460 COND_WXUSE_LIBPNG_BUILTIN="#"
52461 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52462 COND_WXUSE_LIBPNG_BUILTIN=""
52465 COND_WXUSE_LIBTIFF_BUILTIN="#"
52466 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52467 COND_WXUSE_LIBTIFF_BUILTIN=""
52470 COND_WXUSE_ODBC_BUILTIN="#"
52471 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52472 COND_WXUSE_ODBC_BUILTIN=""
52475 COND_WXUSE_REGEX_BUILTIN="#"
52476 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52477 COND_WXUSE_REGEX_BUILTIN=""
52480 COND_WXUSE_ZLIB_BUILTIN="#"
52481 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52482 COND_WXUSE_ZLIB_BUILTIN=""
52487 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52488 { { 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
52489 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;}
52490 { (exit 1); exit 1; }; }
52493 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52494 { { 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
52495 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;}
52496 { (exit 1); exit 1; }; }
52503 ?:* ) # Drive letter, considered as absolute.
52506 INSTALL=`pwd`/${INSTALL} ;;
52509 if test "$wxUSE_GUI" = "yes"; then
52511 if test "$wxUSE_MSW" = 1 ; then
52512 if test "x$WINDRES" = "x"; then
52513 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52514 echo "$as_me: error: Required windres program not found" >&2;}
52515 { (exit 1); exit 1; }; }
52521 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52522 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52523 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52525 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52527 # Extract the first word of "DeRez", so it can be a program name with args.
52528 set dummy DeRez; ac_word=$2
52529 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52531 if test "${ac_cv_prog_DEREZ+set}" = set; then
52532 echo $ECHO_N "(cached) $ECHO_C" >&6
52534 if test -n "$DEREZ"; then
52535 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52538 for as_dir in $PATH
52541 test -z "$as_dir" && as_dir=.
52542 for ac_exec_ext in '' $ac_executable_extensions; do
52543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52544 ac_cv_prog_DEREZ="DeRez"
52545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52552 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52555 DEREZ=$ac_cv_prog_DEREZ
52556 if test -n "$DEREZ"; then
52557 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52558 echo "${ECHO_T}$DEREZ" >&6; }
52560 { echo "$as_me:$LINENO: result: no" >&5
52561 echo "${ECHO_T}no" >&6; }
52566 MACSETFILE="\$(SETFILE)"
52568 if test "$wxUSE_MAC" = 1; then
52569 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52571 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52573 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52574 RESCOMP="cat /dev/null \| $REZ"
52575 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52581 if test "$wxUSE_PM" = 1; then
52583 WXCONFIG_RESFLAGS="-ep"
52585 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52587 POSTLINK_COMMAND="@true"
52594 if test $GCC_PCH = 1
52596 if test "$wx_cv_gcc_pch_bug" = yes; then
52597 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52598 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52599 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52600 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52601 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52602 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52605 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52609 if test "$wxUSE_MAC" = 1 ; then
52610 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52611 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52617 if test "$wxUSE_SHARED" = "yes"; then
52619 *-pc-os2_emx | *-pc-os2-emx )
52620 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52621 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52622 cp -p ${srcdir}/src/os2/dllnames.sh .
52623 cp -p ${srcdir}/src/os2/dllar.sh .
52627 if test "$wxUSE_OMF" = "yes"; then
52629 *-pc-os2_emx | *-pc-os2-emx )
52630 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52631 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52632 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52637 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52642 if "$GCC" = yes; then
52643 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52644 LIBS=`echo $LIBS | sed 's/-mt//'`
52645 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52650 if test "x$SUNCXX" = xyes; then
52651 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52652 LIBS=`echo $LIBS | sed 's/-pthread//'`
52653 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52658 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52659 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52661 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52722 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52723 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52724 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52725 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52726 echo $ECHO_N "(cached) $ECHO_C" >&6
52728 cat >conftest.make <<\_ACEOF
52731 @echo '@@@%%%=$(MAKE)=@@@%%%'
52733 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52734 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
52735 *@@@%%%=?*=@@@%%%*)
52736 eval ac_cv_prog_make_${ac_make}_set=yes;;
52738 eval ac_cv_prog_make_${ac_make}_set=no;;
52740 rm -f conftest.make
52742 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52743 { echo "$as_me:$LINENO: result: yes" >&5
52744 echo "${ECHO_T}yes" >&6; }
52747 { echo "$as_me:$LINENO: result: no" >&5
52748 echo "${ECHO_T}no" >&6; }
52749 SET_MAKE="MAKE=${MAKE-make}"
52754 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52757 if test "$USE_WIN32" = 1; then
52758 ac_config_commands="$ac_config_commands
52764 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52767 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52770 if test "$wx_cv_version_script" = "yes"; then
52771 ac_config_files="$ac_config_files version-script"
52774 ac_config_files="$ac_config_files Makefile"
52777 ac_config_commands="$ac_config_commands wx-config"
52781 if test "$wxWITH_SUBDIRS" != "no"; then
52782 if test "$wxUSE_GUI" = "yes"; then
52783 SUBDIRS="samples demos utils"
52784 else SUBDIRS="samples utils"
52789 # Check whether --with-cppunit-prefix was given.
52790 if test "${with_cppunit_prefix+set}" = set; then
52791 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52793 cppunit_config_prefix=""
52797 # Check whether --with-cppunit-exec-prefix was given.
52798 if test "${with_cppunit_exec_prefix+set}" = set; then
52799 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52801 cppunit_config_exec_prefix=""
52805 if test x$cppunit_config_exec_prefix != x ; then
52806 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52807 if test x${CPPUNIT_CONFIG+set} != xset ; then
52808 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52811 if test x$cppunit_config_prefix != x ; then
52812 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52813 if test x${CPPUNIT_CONFIG+set} != xset ; then
52814 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52818 # Extract the first word of "cppunit-config", so it can be a program name with args.
52819 set dummy cppunit-config; ac_word=$2
52820 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52822 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52823 echo $ECHO_N "(cached) $ECHO_C" >&6
52825 case $CPPUNIT_CONFIG in
52827 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52831 for as_dir in $PATH
52834 test -z "$as_dir" && as_dir=.
52835 for ac_exec_ext in '' $ac_executable_extensions; do
52836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52837 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52845 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52849 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52850 if test -n "$CPPUNIT_CONFIG"; then
52851 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52852 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52854 { echo "$as_me:$LINENO: result: no" >&5
52855 echo "${ECHO_T}no" >&6; }
52859 cppunit_version_min=1.8.0
52861 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52862 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52864 if test "$CPPUNIT_CONFIG" = "no" ; then
52865 { echo "$as_me:$LINENO: result: no" >&5
52866 echo "${ECHO_T}no" >&6; }
52869 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52870 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52871 cppunit_version=`$CPPUNIT_CONFIG --version`
52873 cppunit_major_version=`echo $cppunit_version | \
52874 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52875 cppunit_minor_version=`echo $cppunit_version | \
52876 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52877 cppunit_micro_version=`echo $cppunit_version | \
52878 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52880 cppunit_major_min=`echo $cppunit_version_min | \
52881 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52882 cppunit_minor_min=`echo $cppunit_version_min | \
52883 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52884 cppunit_micro_min=`echo $cppunit_version_min | \
52885 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52887 cppunit_version_proper=`expr \
52888 $cppunit_major_version \
> $cppunit_major_min \
| \
52889 $cppunit_major_version \
= $cppunit_major_min \
& \
52890 $cppunit_minor_version \
> $cppunit_minor_min \
| \
52891 $cppunit_major_version \
= $cppunit_major_min \
& \
52892 $cppunit_minor_version \
= $cppunit_minor_min \
& \
52893 $cppunit_micro_version \
>= $cppunit_micro_min `
52895 if test "$cppunit_version_proper" = "1" ; then
52896 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52897 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52899 { echo "$as_me:$LINENO: result: no" >&5
52900 echo "${ECHO_T}no" >&6; }
52905 if test "x$no_cppunit" = x ; then
52906 SUBDIRS="$SUBDIRS tests"
52917 for subdir in `echo $SUBDIRS`; do
52918 if test -d ${srcdir}/${subdir} ; then
52919 if test "$wxUSE_GUI" = "yes"; then
52920 if test ${subdir} = "samples"; then
52921 makefiles="samples/Makefile.in $makefiles"
52922 for sample in `echo $SAMPLES_SUBDIRS`; do
52923 if test -d $srcdir/samples/$sample; then
52924 makefiles="samples/$sample/Makefile.in $makefiles"
52928 disabled_var=DISABLED_`echo $subdir | tr [a
-z] [A
-Z]`;
52929 eval "disabled=\$$disabled_var"
52930 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
52931 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
52933 else if test ${subdir} = "samples"; then
52934 makefiles="samples/Makefile.in samples/console/Makefile.in"
52935 elif test ${subdir} = "utils"; then
52937 for util in HelpGen tex2rtf ; do
52938 if test -d $srcdir/utils/$util ; then
52939 makefiles="utils/$util/Makefile.in \
52940 utils/$util/src/Makefile.in \
52944 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
52948 for mkin in $makefiles ; do
52949 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52950 ac_config_files="$ac_config_files $mk"
52956 cat >confcache <<\_ACEOF
52957 # This file is a shell script that caches the results of configure
52958 # tests run on this system so they can be shared between configure
52959 # scripts and configure runs, see configure's option --config-cache.
52960 # It is not useful on other systems. If it contains results you don't
52961 # want to keep, you may remove or edit it.
52963 # config.status only pays attention to the cache file if you give it
52964 # the --recheck option to rerun configure.
52966 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
52967 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52968 # following values.
52972 # The following way of writing the cache mishandles newlines in values,
52973 # but we know of no workaround that is simple, portable, and efficient.
52974 # So, we kill variables containing newlines.
52975 # Ultrix sh set writes to stderr and can't be redirected directly,
52976 # and sets the high bit in the cache file unless we assign to the vars.
52978 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52979 eval ac_val
=\$
$ac_var
52983 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52984 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52987 _
| IFS
| as_nl
) ;; #(
52988 *) $as_unset $ac_var ;;
52994 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52995 *${as_nl}ac_space
=\
*)
52996 # `set' does not quote correctly, so add quotes (double-quote
52997 # substitution turns \\\\ into \\, and sed turns \\ into \).
53000 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53003 # `set' quotes correctly as required by POSIX, so do not add quotes.
53004 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53013 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53015 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53017 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
53018 if test -w "$cache_file"; then
53019 test "x$cache_file" != "x/dev/null" &&
53020 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53021 echo "$as_me: updating cache $cache_file" >&6;}
53022 cat confcache
>$cache_file
53024 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53025 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53030 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
53031 # Let make expand exec_prefix.
53032 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
53034 DEFS
=-DHAVE_CONFIG_H
53038 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
53039 # 1. Remove the extension, and $U if already installed.
53040 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
53041 ac_i
=`echo "$ac_i" | sed "$ac_script"`
53042 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53043 # will be set to the directory where LIBOBJS objects are built.
53044 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53045 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53047 LIBOBJS
=$ac_libobjs
53049 LTLIBOBJS
=$ac_ltlibobjs
53053 : ${CONFIG_STATUS=./config.status}
53054 ac_clean_files_save
=$ac_clean_files
53055 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
53056 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53057 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53058 cat >$CONFIG_STATUS <<_ACEOF
53060 # Generated by $as_me.
53061 # Run this file to recreate the current configuration.
53062 # Compiler output produced by configure, useful for debugging
53063 # configure, is in config.log if it exists.
53066 ac_cs_recheck=false
53068 SHELL=\${CONFIG_SHELL-$SHELL}
53071 cat >>$CONFIG_STATUS <<\_ACEOF
53072 ## --------------------- ##
53073 ## M4sh Initialization. ##
53074 ## --------------------- ##
53076 # Be more Bourne compatible
53077 DUALCASE
=1; export DUALCASE
# for MKS sh
53078 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
53081 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53082 # is contrary to our usage. Disable this feature.
53083 alias -g '${1+"$@"}'='"$@"'
53084 setopt NO_GLOB_SUBST
53086 case `(set -o) 2>/dev/null` in
53087 *posix
*) set -o posix
;;
53096 # Avoid depending upon Character Ranges.
53097 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
53098 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53099 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
53100 as_cr_digits
='0123456789'
53101 as_cr_alnum
=$as_cr_Letters$as_cr_digits
53103 # The user is always right.
53104 if test "${PATH_SEPARATOR+set}" != set; then
53105 echo "#! /bin/sh" >conf$$.sh
53106 echo "exit 0" >>conf$$.sh
53108 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53116 # Support unset when possible.
53117 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
53125 # We need space, tab and new line, in precisely that order. Quoting is
53126 # there to prevent editors from complaining about space-tab.
53127 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53128 # splitting by setting IFS to empty value.)
53133 # Find who we are. Look in the path if we contain no directory separator.
53135 *[\\/]* ) as_myself
=$0 ;;
53136 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53137 for as_dir
in $PATH
53140 test -z "$as_dir" && as_dir
=.
53141 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
53147 # We did not find ourselves, most probably we were run as `sh COMMAND'
53148 # in which case we are not to be found in the path.
53149 if test "x$as_myself" = x
; then
53152 if test ! -f "$as_myself"; then
53153 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53154 { (exit 1); exit 1; }
53157 # Work around bugs in pre-3.0 UWIN ksh.
53158 for as_var
in ENV MAIL MAILPATH
53159 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53167 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53168 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53169 LC_TELEPHONE LC_TIME
53171 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53172 eval $as_var=C
; export $as_var
53174 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53178 # Required to use basename.
53179 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53180 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53186 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53187 as_basename
=basename
53193 # Name of the executable.
53194 as_me
=`$as_basename -- "$0" ||
53195 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53196 X"$0" : 'X\(//\)$' \| \
53197 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53199 sed '/^.*\/\([^/][^/]*\)\/*$/{
53218 as_lineno_1
=$LINENO
53219 as_lineno_2
=$LINENO
53220 test "x$as_lineno_1" != "x$as_lineno_2" &&
53221 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53223 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53224 # uniformly replaced by the line number. The first 'sed' inserts a
53225 # line-number line after each line using $LINENO; the second 'sed'
53226 # does the real work. The second script uses 'N' to pair each
53227 # line-number line with the line containing $LINENO, and appends
53228 # trailing '-' during substitution so that $LINENO is not a special
53229 # case at line end.
53230 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53231 # scripts with optimization help from Paolo Bonzini. Blame Lee
53232 # E. McMahon (1931-1989) for sed's syntax. :-)
53244 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53247 ' >$as_me.lineno
&&
53248 chmod +x
"$as_me.lineno" ||
53249 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53250 { (exit 1); exit 1; }; }
53252 # Don't try to exec as it changes $[0], causing all sort of problems
53253 # (the dirname of $[0] is not the place where we might find the
53254 # original and so on. Autoconf is especially sensitive to this).
53255 .
"./$as_me.lineno"
53256 # Exit status is that of the last command.
53261 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
53267 ECHO_C
= ECHO_N
= ECHO_T
=
53268 case `echo -n x` in
53270 case `echo 'x\c'` in
53271 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
53278 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53279 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53285 rm -f conf$$ conf$$.exe conf$$.
file
53286 if test -d conf$$.dir
; then
53287 rm -f conf$$.dir
/conf$$.
file
53293 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
53295 # ... but there are two gotchas:
53296 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53297 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53298 # In both cases, we have to default to `cp -p'.
53299 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
53301 elif ln conf$$.
file conf$$
2>/dev
/null
; then
53306 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
53307 rmdir conf$$.dir
2>/dev
/null
53309 if mkdir -p .
2>/dev
/null
; then
53312 test -d .
/-p && rmdir .
/-p
53316 if test -x / >/dev
/null
2>&1; then
53317 as_test_x
='test -x'
53319 if ls -dL / >/dev
/null
2>&1; then
53326 if test -d "$1"; then
53332 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53333 ???[sx]*):;;*)false;;esac;fi
53337 as_executable_p
=$as_test_x
53339 # Sed expression to map a string onto a valid CPP name.
53340 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53342 # Sed expression to map a string onto a valid variable name.
53343 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53348 # Save the log message, to keep $[0] and so on meaningful, and to
53349 # report actual input values of CONFIG_FILES etc. instead of their
53350 # values after options handling.
53352 This file was extended by wxWidgets $as_me 2.9.0, which was
53353 generated by GNU Autoconf 2.61. Invocation command line was
53355 CONFIG_FILES = $CONFIG_FILES
53356 CONFIG_HEADERS = $CONFIG_HEADERS
53357 CONFIG_LINKS = $CONFIG_LINKS
53358 CONFIG_COMMANDS = $CONFIG_COMMANDS
53361 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53366 cat >>$CONFIG_STATUS <<_ACEOF
53367 # Files that config.status was made for.
53368 config_files="$ac_config_files"
53369 config_headers="$ac_config_headers"
53370 config_commands="$ac_config_commands"
53374 cat >>$CONFIG_STATUS <<\_ACEOF
53376 \`$as_me' instantiates files from templates according to the
53377 current configuration.
53379 Usage: $0 [OPTIONS] [FILE]...
53381 -h, --help print this help, then exit
53382 -V, --version print version number and configuration settings, then exit
53383 -q, --quiet do not print progress messages
53384 -d, --debug don't remove temporary files
53385 --recheck update $as_me by reconfiguring in the same conditions
53386 --file=FILE[:TEMPLATE]
53387 instantiate the configuration file FILE
53388 --header=FILE[:TEMPLATE]
53389 instantiate the configuration header FILE
53391 Configuration files:
53394 Configuration headers:
53397 Configuration commands:
53400 Report bugs to <bug-autoconf@gnu.org>."
53403 cat >>$CONFIG_STATUS <<_ACEOF
53405 wxWidgets config.status 2.9.0
53406 configured by $0, generated by GNU Autoconf 2.61,
53407 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53409 Copyright (C) 2006 Free Software Foundation, Inc.
53410 This config.status script is free software; the Free Software Foundation
53411 gives unlimited permission to copy, distribute and modify it."
53418 cat >>$CONFIG_STATUS <<\_ACEOF
53419 # If no file are specified by the user, then we need to provide default
53420 # value. By we need to know if files were specified by the user.
53426 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53427 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
53438 # Handling of the options.
53439 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53441 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53442 echo "$ac_cs_version"; exit ;;
53443 --debug | --debu | --deb | --de | --d | -d )
53445 --file | --fil | --fi | --f )
53447 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53448 ac_need_defaults
=false
;;
53449 --header | --heade | --head | --hea )
53451 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53452 ac_need_defaults
=false
;;
53454 # Conflict between --help and --header
53455 { echo "$as_me: error: ambiguous option: $1
53456 Try \`$0 --help' for more information." >&2
53457 { (exit 1); exit 1; }; };;
53458 --help | --hel | -h )
53459 echo "$ac_cs_usage"; exit ;;
53460 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53461 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53464 # This is an error.
53465 -*) { echo "$as_me: error: unrecognized option: $1
53466 Try \`$0 --help' for more information." >&2
53467 { (exit 1); exit 1; }; } ;;
53469 *) ac_config_targets
="$ac_config_targets $1"
53470 ac_need_defaults
=false
;;
53476 ac_configure_extra_args
=
53478 if $ac_cs_silent; then
53480 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53484 cat >>$CONFIG_STATUS <<_ACEOF
53485 if \$ac_cs_recheck; then
53486 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53487 CONFIG_SHELL=$SHELL
53488 export CONFIG_SHELL
53489 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53493 cat >>$CONFIG_STATUS <<\_ACEOF
53497 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53498 ## Running $as_me. ##
53504 cat >>$CONFIG_STATUS <<_ACEOF
53510 infile="$srcdir/include/wx/msw/genrcdefs.h"
53511 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53514 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53515 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53516 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53522 cat >>$CONFIG_STATUS <<\_ACEOF
53524 # Handling of arguments.
53525 for ac_config_target
in $ac_config_targets
53527 case $ac_config_target in
53528 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53529 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53530 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53531 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53532 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53533 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53534 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53535 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53537 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53538 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53539 { (exit 1); exit 1; }; };;
53544 # If the user did not use the arguments to specify the items to instantiate,
53545 # then the envvar interface is used. Set only those that are not.
53546 # We use the long form for the default assignment because of an extremely
53547 # bizarre bug on SunOS 4.1.3.
53548 if $ac_need_defaults; then
53549 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53550 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53551 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53554 # Have a temporary directory for convenience. Make it in the build tree
53555 # simply because there is no reason against having it here, and in addition,
53556 # creating and moving files from /tmp can sometimes cause problems.
53557 # Hook for its removal unless debugging.
53558 # Note that there is a small window in which the directory will not be cleaned:
53559 # after its creation but before its name has been assigned to `$tmp'.
53563 trap 'exit_status=$?
53564 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53566 trap '{ (exit 1); exit 1; }' 1 2 13 15
53568 # Create a (secure) tmp directory for tmp files.
53571 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53572 test -n "$tmp" && test -d "$tmp"
53575 tmp
=.
/conf$$
-$RANDOM
53576 (umask 077 && mkdir "$tmp")
53579 echo "$me: cannot create a temporary directory in ." >&2
53580 { (exit 1); exit 1; }
53584 # Set up the sed scripts for CONFIG_FILES section.
53587 # No need to generate the scripts if there are no CONFIG_FILES.
53588 # This happens for instance when ./config.status config.h
53589 if test -n "$CONFIG_FILES"; then
53596 for ac_last_try
in false false false false false
:; do
53597 cat >conf$
$subs.
sed <<_ACEOF
53598 SHELL!$SHELL$ac_delim
53599 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53600 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53601 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53602 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53603 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53604 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53605 exec_prefix!$exec_prefix$ac_delim
53606 prefix!$prefix$ac_delim
53607 program_transform_name!$program_transform_name$ac_delim
53608 bindir!$bindir$ac_delim
53609 sbindir!$sbindir$ac_delim
53610 libexecdir!$libexecdir$ac_delim
53611 datarootdir!$datarootdir$ac_delim
53612 datadir!$datadir$ac_delim
53613 sysconfdir!$sysconfdir$ac_delim
53614 sharedstatedir!$sharedstatedir$ac_delim
53615 localstatedir!$localstatedir$ac_delim
53616 includedir!$includedir$ac_delim
53617 oldincludedir!$oldincludedir$ac_delim
53618 docdir!$docdir$ac_delim
53619 infodir!$infodir$ac_delim
53620 htmldir!$htmldir$ac_delim
53621 dvidir!$dvidir$ac_delim
53622 pdfdir!$pdfdir$ac_delim
53623 psdir!$psdir$ac_delim
53624 libdir!$libdir$ac_delim
53625 localedir!$localedir$ac_delim
53626 mandir!$mandir$ac_delim
53627 DEFS!$DEFS$ac_delim
53628 ECHO_C!$ECHO_C$ac_delim
53629 ECHO_N!$ECHO_N$ac_delim
53630 ECHO_T!$ECHO_T$ac_delim
53631 LIBS!$LIBS$ac_delim
53632 build_alias!$build_alias$ac_delim
53633 host_alias!$host_alias$ac_delim
53634 target_alias!$target_alias$ac_delim
53635 build!$build$ac_delim
53636 build_cpu!$build_cpu$ac_delim
53637 build_vendor!$build_vendor$ac_delim
53638 build_os!$build_os$ac_delim
53639 host!$host$ac_delim
53640 host_cpu!$host_cpu$ac_delim
53641 host_vendor!$host_vendor$ac_delim
53642 host_os!$host_os$ac_delim
53643 target!$target$ac_delim
53644 target_cpu!$target_cpu$ac_delim
53645 target_vendor!$target_vendor$ac_delim
53646 target_os!$target_os$ac_delim
53647 wx_top_builddir!$wx_top_builddir$ac_delim
53649 CFLAGS!$CFLAGS$ac_delim
53650 LDFLAGS!$LDFLAGS$ac_delim
53651 CPPFLAGS!$CPPFLAGS$ac_delim
53652 ac_ct_CC!$ac_ct_CC$ac_delim
53653 EXEEXT!$EXEEXT$ac_delim
53654 OBJEXT!$OBJEXT$ac_delim
53656 GREP!$GREP$ac_delim
53657 EGREP!$EGREP$ac_delim
53659 CXXFLAGS!$CXXFLAGS$ac_delim
53660 ac_ct_CXX!$ac_ct_CXX$ac_delim
53662 subdirs!$subdirs$ac_delim
53663 PKG_CONFIG!$PKG_CONFIG$ac_delim
53664 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53665 GTK_LIBS!$GTK_LIBS$ac_delim
53666 GTK_CONFIG!$GTK_CONFIG$ac_delim
53667 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53668 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53669 XMKMF!$XMKMF$ac_delim
53670 X_CFLAGS!$X_CFLAGS$ac_delim
53671 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53672 X_LIBS!$X_LIBS$ac_delim
53673 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53674 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53675 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53676 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53677 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53678 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53679 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53680 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53681 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53682 LIBICONV!$LIBICONV$ac_delim
53683 SDL_CONFIG!$SDL_CONFIG$ac_delim
53684 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53685 SDL_LIBS!$SDL_LIBS$ac_delim
53686 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53687 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53688 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53689 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53690 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53691 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53692 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53693 HILDON_LIBS!$HILDON_LIBS$ac_delim
53694 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53697 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53699 elif $ac_last_try; then
53700 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53701 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53702 { (exit 1); exit 1; }; }
53704 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53708 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53709 if test -n "$ac_eof"; then
53710 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53711 ac_eof
=`expr $ac_eof + 1`
53714 cat >>$CONFIG_STATUS <<_ACEOF
53715 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53716 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53719 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53720 s/^/s,@/; s/!/@,|#_!!_#|/
53723 s/'"$ac_delim"'$/,g/; t
53725 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53726 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53727 rm -f conf$
$subs.
sed
53728 cat >>$CONFIG_STATUS <<_ACEOF
53734 for ac_last_try
in false false false false false
:; do
53735 cat >conf$
$subs.
sed <<_ACEOF
53736 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53737 GST_CFLAGS!$GST_CFLAGS$ac_delim
53738 GST_LIBS!$GST_LIBS$ac_delim
53739 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53740 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53741 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53742 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53743 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53744 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53745 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53746 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53747 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53748 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53749 VENDOR!$VENDOR$ac_delim
53750 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53751 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53752 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53753 WXUNIV!$WXUNIV$ac_delim
53754 MONOLITHIC!$MONOLITHIC$ac_delim
53755 USE_PLUGINS!$USE_PLUGINS$ac_delim
53756 CXXWARNINGS!$CXXWARNINGS$ac_delim
53757 EXTRALIBS!$EXTRALIBS$ac_delim
53758 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53759 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53760 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53761 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53762 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53763 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53764 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53765 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53766 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53767 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53768 UNICODE!$UNICODE$ac_delim
53769 BUILD!$BUILD$ac_delim
53770 DEBUG_INFO!$DEBUG_INFO$ac_delim
53771 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53772 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53773 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53774 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53775 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53776 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53777 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53778 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53779 RANLIB!$RANLIB$ac_delim
53780 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53781 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53782 INSTALL_DATA!$INSTALL_DATA$ac_delim
53783 LN_S!$LN_S$ac_delim
53784 SET_MAKE!$SET_MAKE$ac_delim
53785 MAKE_SET!$MAKE_SET$ac_delim
53786 AROPTIONS!$AROPTIONS$ac_delim
53787 STRIP!$STRIP$ac_delim
53789 INSTALL_DIR!$INSTALL_DIR$ac_delim
53790 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53791 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53792 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53793 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53794 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53795 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53796 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53797 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53798 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53799 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53800 SO_SUFFIX!$SO_SUFFIX$ac_delim
53801 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53802 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53803 LIBPREFIX!$LIBPREFIX$ac_delim
53804 LIBEXT!$LIBEXT$ac_delim
53805 DLLPREFIX!$DLLPREFIX$ac_delim
53806 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53807 dlldir!$dlldir$ac_delim
53808 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53809 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53810 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53811 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53812 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53813 PIC_FLAG!$PIC_FLAG$ac_delim
53814 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53815 USE_SOVERSION!$USE_SOVERSION$ac_delim
53816 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53817 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53818 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53819 USE_MACVERSION!$USE_MACVERSION$ac_delim
53820 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53821 SONAME_FLAG!$SONAME_FLAG$ac_delim
53822 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53823 BK_DEPS!$BK_DEPS$ac_delim
53824 WINDRES!$WINDRES$ac_delim
53826 SETFILE!$SETFILE$ac_delim
53827 GCC_PCH!$GCC_PCH$ac_delim
53828 ICC_PCH!$ICC_PCH$ac_delim
53829 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53830 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53831 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53832 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53835 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53837 elif $ac_last_try; then
53838 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53839 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53840 { (exit 1); exit 1; }; }
53842 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53846 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53847 if test -n "$ac_eof"; then
53848 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53849 ac_eof
=`expr $ac_eof + 1`
53852 cat >>$CONFIG_STATUS <<_ACEOF
53853 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53854 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53857 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53858 s/^/s,@/; s/!/@,|#_!!_#|/
53861 s/'"$ac_delim"'$/,g/; t
53863 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53864 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53865 rm -f conf$
$subs.
sed
53866 cat >>$CONFIG_STATUS <<_ACEOF
53872 for ac_last_try
in false false false false false
:; do
53873 cat >conf$
$subs.
sed <<_ACEOF
53874 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53875 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53876 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53877 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53878 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53879 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53880 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53881 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53882 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53883 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53884 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53885 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53886 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53887 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53888 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53889 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53890 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53891 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53892 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53893 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53894 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53895 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53896 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53897 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53898 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53899 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53900 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53901 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53902 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53903 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53904 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53905 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53906 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53907 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53908 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53909 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53910 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53911 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53912 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53913 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53914 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53915 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53916 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53917 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53918 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53919 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53920 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53921 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53922 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53923 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53924 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53925 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53926 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53927 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53928 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53929 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53930 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53931 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53932 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53933 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53934 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53935 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53936 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53937 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53938 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53939 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53940 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53941 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53942 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53943 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53944 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53945 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53946 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53947 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53948 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53949 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53950 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53951 COND_SHARED_0!$COND_SHARED_0$ac_delim
53952 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53953 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53954 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53955 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53956 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53957 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53958 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53959 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53960 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
53961 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53962 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
53963 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53964 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53965 COND_SHARED_1!$COND_SHARED_1$ac_delim
53966 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53967 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
53968 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53969 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53970 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53973 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53975 elif $ac_last_try; then
53976 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53977 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53978 { (exit 1); exit 1; }; }
53980 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53984 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53985 if test -n "$ac_eof"; then
53986 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53987 ac_eof
=`expr $ac_eof + 1`
53990 cat >>$CONFIG_STATUS <<_ACEOF
53991 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53992 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53995 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53996 s/^/s,@/; s/!/@,|#_!!_#|/
53999 s/'"$ac_delim"'$/,g/; t
54001 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54002 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54003 rm -f conf$
$subs.
sed
54004 cat >>$CONFIG_STATUS <<_ACEOF
54010 for ac_last_try
in false false false false false
:; do
54011 cat >conf$
$subs.
sed <<_ACEOF
54012 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54013 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54014 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54015 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54016 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54017 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54018 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54019 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54020 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54021 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54022 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54023 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54024 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54025 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54026 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54027 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54028 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54029 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54030 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54031 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54032 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54033 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54034 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54035 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54036 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54037 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54038 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54039 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54040 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54041 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54042 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54043 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54044 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54045 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54046 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54047 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54048 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54049 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54050 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54051 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54052 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54053 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54054 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54055 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54056 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54057 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54058 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54059 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54060 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54061 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54062 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54063 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54064 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54065 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54066 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54067 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54068 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54069 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54070 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54071 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54072 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54073 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54074 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54075 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54076 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54077 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54078 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54079 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54080 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54081 DEREZ!$DEREZ$ac_delim
54082 SHARED!$SHARED$ac_delim
54083 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54084 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54085 USE_GUI!$USE_GUI$ac_delim
54086 AFMINSTALL!$AFMINSTALL$ac_delim
54087 WIN32INSTALL!$WIN32INSTALL$ac_delim
54088 TOOLKIT!$TOOLKIT$ac_delim
54089 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54090 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54091 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54092 cross_compiling!$cross_compiling$ac_delim
54093 WIDGET_SET!$WIDGET_SET$ac_delim
54094 WX_RELEASE!$WX_RELEASE$ac_delim
54095 WX_VERSION!$WX_VERSION$ac_delim
54096 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54097 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54098 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54099 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54100 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54101 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54102 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54103 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54104 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54105 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54106 GUIDIST!$GUIDIST$ac_delim
54107 DISTDIR!$DISTDIR$ac_delim
54108 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54111 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54113 elif $ac_last_try; then
54114 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54115 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54116 { (exit 1); exit 1; }; }
54118 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54122 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54123 if test -n "$ac_eof"; then
54124 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54125 ac_eof
=`expr $ac_eof + 1`
54128 cat >>$CONFIG_STATUS <<_ACEOF
54129 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54130 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54133 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54134 s/^/s,@/; s/!/@,|#_!!_#|/
54137 s/'"$ac_delim"'$/,g/; t
54139 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54140 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54141 rm -f conf$
$subs.
sed
54142 cat >>$CONFIG_STATUS <<_ACEOF
54148 for ac_last_try
in false false false false false
:; do
54149 cat >conf$
$subs.
sed <<_ACEOF
54150 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54151 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54152 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54153 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54154 RESCOMP!$RESCOMP$ac_delim
54155 RESFLAGS!$RESFLAGS$ac_delim
54156 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54157 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54158 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54159 LIBWXMACRES!$LIBWXMACRES$ac_delim
54160 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54161 MACSETFILE!$MACSETFILE$ac_delim
54163 DLLTOOL!$DLLTOOL$ac_delim
54164 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54165 LIBOBJS!$LIBOBJS$ac_delim
54166 LTLIBOBJS!$LTLIBOBJS$ac_delim
54169 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54171 elif $ac_last_try; then
54172 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54173 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54174 { (exit 1); exit 1; }; }
54176 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54180 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54181 if test -n "$ac_eof"; then
54182 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54183 ac_eof
=`expr $ac_eof + 1`
54186 cat >>$CONFIG_STATUS <<_ACEOF
54187 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54188 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54191 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54192 s/^/s,@/; s/!/@,|#_!!_#|/
54195 s/'"$ac_delim"'$/,g/; t
54197 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54198 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54199 rm -f conf$
$subs.
sed
54200 cat >>$CONFIG_STATUS <<_ACEOF
54207 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54208 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54209 # trailing colons and then remove the whole line if VPATH becomes empty
54210 # (actually we leave an empty line to preserve line numbers).
54211 if test "x$srcdir" = x.
; then
54212 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
54213 s/:*\$(srcdir):*/:/
54214 s/:*\${srcdir}:*/:/
54216 s/^\([^=]*=[ ]*\):*/\1/
54222 cat >>$CONFIG_STATUS <<\_ACEOF
54223 fi # test -n "$CONFIG_FILES"
54226 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
54229 :[FHLC
]) ac_mode
=$ac_tag; continue;;
54231 case $ac_mode$ac_tag in
54233 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54234 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54235 { (exit 1); exit 1; }; };;
54236 :[FH
]-) ac_tag
=-:-;;
54237 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
54254 -) ac_f
="$tmp/stdin";;
54255 *) # Look for the file first in the build tree, then in the source tree
54256 # (if the path is not absolute). The absolute path cannot be DOS-style,
54257 # because $ac_f cannot contain `:'.
54261 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
54263 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54264 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54265 { (exit 1); exit 1; }; };;
54267 ac_file_inputs
="$ac_file_inputs $ac_f"
54270 # Let's still pretend it is `configure' which instantiates (i.e., don't
54271 # use $as_me), people would be surprised to read:
54272 # /* config.h. Generated by config.status. */
54273 configure_input
="Generated from "`IFS=:
54274 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54275 if test x
"$ac_file" != x
-; then
54276 configure_input
="$ac_file. $configure_input"
54277 { echo "$as_me:$LINENO: creating $ac_file" >&5
54278 echo "$as_me: creating $ac_file" >&6;}
54282 *:-:* | *:-) cat >"$tmp/stdin";;
54287 ac_dir
=`$as_dirname -- "$ac_file" ||
54288 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54289 X"$ac_file" : 'X\(//\)[^/]' \| \
54290 X"$ac_file" : 'X\(//\)$' \| \
54291 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54297 /^X\(\/\/\)[^/].*/{
54312 -*) as_dir
=.
/$as_dir;;
54314 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54318 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54319 *) as_qdir
=$as_dir;;
54321 as_dirs
="'$as_qdir' $as_dirs"
54322 as_dir
=`$as_dirname -- "$as_dir" ||
54323 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54324 X"$as_dir" : 'X\(//\)[^/]' \| \
54325 X"$as_dir" : 'X\(//\)$' \| \
54326 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54332 /^X\(\/\/\)[^/].*/{
54345 test -d "$as_dir" && break
54347 test -z "$as_dirs" || eval "mkdir $as_dirs"
54348 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54349 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54350 { (exit 1); exit 1; }; }; }
54354 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54356 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54357 # A ".." for each directory in $ac_dir_suffix.
54358 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54359 case $ac_top_builddir_sub in
54360 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54361 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54364 ac_abs_top_builddir
=$ac_pwd
54365 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54366 # for backward compatibility:
54367 ac_top_builddir
=$ac_top_build_prefix
54370 .
) # We are building in place.
54372 ac_top_srcdir
=$ac_top_builddir_sub
54373 ac_abs_top_srcdir
=$ac_pwd ;;
54374 [\\/]* | ?
:[\\/]* ) # Absolute name.
54375 ac_srcdir
=$srcdir$ac_dir_suffix;
54376 ac_top_srcdir
=$srcdir
54377 ac_abs_top_srcdir
=$srcdir ;;
54378 *) # Relative name.
54379 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54380 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54381 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54383 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54393 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54394 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
54398 cat >>$CONFIG_STATUS <<\_ACEOF
54399 # If the template does not know about datarootdir, expand it.
54400 # FIXME: This hack should be removed a few years after 2.60.
54401 ac_datarootdir_hack
=; ac_datarootdir_seen
=
54403 case `sed -n '/datarootdir/ {
54412 ' $ac_file_inputs` in
54413 *datarootdir
*) ac_datarootdir_seen
=yes;;
54414 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
54415 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54416 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54418 cat >>$CONFIG_STATUS <<_ACEOF
54419 ac_datarootdir_hack='
54420 s&@datadir@&$datadir&g
54421 s&@docdir@&$docdir&g
54422 s&@infodir@&$infodir&g
54423 s&@localedir@&$localedir&g
54424 s&@mandir@&$mandir&g
54425 s&\\\${datarootdir}&$datarootdir&g' ;;
54429 # Neutralize VPATH when `$srcdir' = `.'.
54430 # Shell code in configure.ac might set extrasub.
54431 # FIXME: do we really want to maintain this feature?
54432 cat >>$CONFIG_STATUS <<_ACEOF
54436 cat >>$CONFIG_STATUS <<\_ACEOF
54438 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54439 s
&@configure_input@
&$configure_input&;t t
54440 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
54441 s
&@srcdir@
&$ac_srcdir&;t t
54442 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
54443 s
&@top_srcdir@
&$ac_top_srcdir&;t t
54444 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
54445 s
&@builddir@
&$ac_builddir&;t t
54446 s
&@abs_builddir@
&$ac_abs_builddir&;t t
54447 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
54448 s
&@INSTALL@
&$ac_INSTALL&;t t
54449 $ac_datarootdir_hack
54450 " $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
54452 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54453 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54454 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54455 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54456 which seems to be undefined. Please make sure it is defined." >&5
54457 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54458 which seems to be undefined. Please make sure it is defined." >&2;}
54462 -) cat "$tmp/out"; rm -f "$tmp/out";;
54463 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54472 # Transform confdefs.h into a sed script `conftest.defines', that
54473 # substitutes the proper values into config.h.in to produce config.h.
54474 rm -f conftest.defines conftest.
tail
54475 # First, append a space to every undef/define line, to ease matching.
54476 echo 's/$/ /' >conftest.defines
54477 # Then, protect against being on the right side of a sed subst, or in
54478 # an unquoted here document, in config.status. If some macros were
54479 # called several times there might be several #defines for the same
54480 # symbol, which is useless. But do not sort them, since the last
54481 # AC_DEFINE must be honored.
54482 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54483 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54484 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54485 # PARAMS is the parameter list in the macro definition--in most cases, it's
54486 # just an empty string.
54487 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54488 ac_dB
='\\)[ (].*,\\1define\\2'
54496 s/^[ ]*#[ ]*define[ ][ ]*//
54501 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54502 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54503 ' >>conftest.defines
54505 # Remove the space that was appended to ease matching.
54506 # Then replace #undef with comments. This is necessary, for
54507 # example, in the case of _POSIX_SOURCE, which is predefined and required
54508 # on some systems where configure will not decide to define it.
54509 # (The regexp can be short, since the line contains either #define or #undef.)
54511 s,^[ #]*u.*,/* & */,' >>conftest.defines
54513 # Break up conftest.defines:
54514 ac_max_sed_lines
=50
54516 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54517 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54518 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54520 ac_in
='$ac_file_inputs'
54521 ac_out
='"$tmp/out1"'
54522 ac_nxt
='"$tmp/out2"'
54526 # Write a here document:
54527 cat >>$CONFIG_STATUS <<_ACEOF
54528 # First, check the format of the line:
54529 cat >"\$tmp/defines.sed" <<\\CEOF
54530 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54531 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54535 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54537 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54538 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54539 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54540 grep . conftest.
tail >/dev
/null
|| break
54541 rm -f conftest.defines
54542 mv conftest.
tail conftest.defines
54544 rm -f conftest.defines conftest.
tail
54546 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54547 cat >>$CONFIG_STATUS <<\_ACEOF
54548 if test x
"$ac_file" != x
-; then
54549 echo "/* $configure_input */" >"$tmp/config.h"
54550 cat "$ac_result" >>"$tmp/config.h"
54551 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54552 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54553 echo "$as_me: $ac_file is unchanged" >&6;}
54556 mv "$tmp/config.h" $ac_file
54559 echo "/* $configure_input */"
54565 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54566 echo "$as_me: executing $ac_file commands" >&6;}
54571 case $ac_file$ac_mode in
54573 mkdir -p $outdir &&
54574 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54576 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54577 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54578 "wx-config":C
) rm -f wx
-config
54579 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54586 { (exit 0); exit 0; }
54588 chmod +x
$CONFIG_STATUS
54589 ac_clean_files
=$ac_clean_files_save
54592 # configure is writing to config.log, and then calls config.status.
54593 # config.status does its own redirection, appending to config.log.
54594 # Unfortunately, on DOS this fails, as config.log is still kept open
54595 # by configure, so config.status won't be able to write to it; its
54596 # output is simply discarded. So we exec the FD to /dev/null,
54597 # effectively closing config.log, so it can be properly (re)opened and
54598 # appended to by config.status. When coming back to configure, we
54599 # need to make the FD available again.
54600 if test "$no_create" != yes; then
54602 ac_config_status_args
=
54603 test "$silent" = yes &&
54604 ac_config_status_args
="$ac_config_status_args --quiet"
54606 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54608 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54609 # would make configure fail if this is the last instruction.
54610 $ac_cs_success || { (exit 1); exit 1; }
54614 # CONFIG_SUBDIRS section.
54616 if test "$no_recursion" != yes; then
54618 # Remove --cache-file and --srcdir arguments so they do not pile up.
54619 ac_sub_configure_args
=
54621 eval "set x $ac_configure_args"
54625 if test -n "$ac_prev"; then
54630 -cache-file | --cache-file | --cache-fil | --cache-fi \
54631 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54632 ac_prev
=cache_file
;;
54633 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54634 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54637 --config-cache | -C)
54639 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54641 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54643 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54645 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54649 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54651 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54655 # Always prepend --prefix to ensure using the same prefix
54656 # in subdir configurations.
54657 ac_arg
="--prefix=$prefix"
54659 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54661 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54664 if test "$silent" = yes; then
54665 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54669 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54671 # Do not complain, so a configure script can configure whichever
54672 # parts of a large source tree are present.
54673 test -d "$srcdir/$ac_dir" || continue
54675 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54676 echo "$as_me:$LINENO: $ac_msg" >&5
54680 -*) as_dir
=.
/$as_dir;;
54682 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54686 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54687 *) as_qdir
=$as_dir;;
54689 as_dirs
="'$as_qdir' $as_dirs"
54690 as_dir
=`$as_dirname -- "$as_dir" ||
54691 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54692 X"$as_dir" : 'X\(//\)[^/]' \| \
54693 X"$as_dir" : 'X\(//\)$' \| \
54694 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54696 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54700 /^X\(\/\/\)[^/].*/{
54713 test -d "$as_dir" && break
54715 test -z "$as_dirs" || eval "mkdir $as_dirs"
54716 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54717 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54718 { (exit 1); exit 1; }; }; }
54722 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54724 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54725 # A ".." for each directory in $ac_dir_suffix.
54726 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54727 case $ac_top_builddir_sub in
54728 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54729 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54732 ac_abs_top_builddir
=$ac_pwd
54733 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54734 # for backward compatibility:
54735 ac_top_builddir
=$ac_top_build_prefix
54738 .
) # We are building in place.
54740 ac_top_srcdir
=$ac_top_builddir_sub
54741 ac_abs_top_srcdir
=$ac_pwd ;;
54742 [\\/]* | ?
:[\\/]* ) # Absolute name.
54743 ac_srcdir
=$srcdir$ac_dir_suffix;
54744 ac_top_srcdir
=$srcdir
54745 ac_abs_top_srcdir
=$srcdir ;;
54746 *) # Relative name.
54747 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54748 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54749 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54751 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54756 # Check for guested configure; otherwise get Cygnus style configure.
54757 if test -f "$ac_srcdir/configure.gnu"; then
54758 ac_sub_configure
=$ac_srcdir/configure.gnu
54759 elif test -f "$ac_srcdir/configure"; then
54760 ac_sub_configure
=$ac_srcdir/configure
54761 elif test -f "$ac_srcdir/configure.in"; then
54762 # This should be Cygnus configure.
54763 ac_sub_configure
=$ac_aux_dir/configure
54765 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54766 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54770 # The recursion is here.
54771 if test -n "$ac_sub_configure"; then
54772 # Make the cache file name correct relative to the subdirectory.
54773 case $cache_file in
54774 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
54775 *) # Relative name.
54776 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
54779 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54780 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54781 # The eval makes quoting arguments work.
54782 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54783 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54784 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54785 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54786 { (exit 1); exit 1; }; }
54795 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54797 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54798 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54800 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54801 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54802 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54803 if test "$wxUSE_UNICODE" = "yes"; then
54804 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54805 echo " (using UTF-8)"
54807 echo " (using wchar_t)"
54813 echo " What level of wxWidgets compatibility should be enabled?"
54814 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54815 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54817 echo " Which libraries should wxWidgets use?"
54818 echo " STL ${wxUSE_STL}"
54819 echo " jpeg ${wxUSE_LIBJPEG-none}"
54820 echo " png ${wxUSE_LIBPNG-none}"
54821 echo " regex ${wxUSE_REGEX}"
54822 echo " tiff ${wxUSE_LIBTIFF-none}"
54823 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54824 echo " xpm ${wxUSE_LIBXPM-none}"
54826 echo " zlib ${wxUSE_ZLIB}"
54827 echo " expat ${wxUSE_EXPAT}"
54828 echo " libmspack ${wxUSE_LIBMSPACK}"
54829 echo " sdl ${wxUSE_LIBSDL}"