2 # From configure.in Id: configure.in 51052 2008-01-06 22:23:20Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.0'
579 PACKAGE_STRING
='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
709 LIBGNOMEPRINTUI_CFLAGS
756 SAMPLES_RPATH_POSTLINK
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
835 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
837 COND_MONOLITHIC_0_SHARED_1
838 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
843 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
844 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
846 COND_MONOLITHIC_0_USE_AUI_1
847 COND_MONOLITHIC_0_USE_GUI_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_USE_HTML_1
850 COND_MONOLITHIC_0_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_QA_1
852 COND_MONOLITHIC_0_USE_RICHTEXT_1
853 COND_MONOLITHIC_0_USE_STC_1
854 COND_MONOLITHIC_0_USE_XRC_1
856 COND_MONOLITHIC_1_SHARED_0
857 COND_MONOLITHIC_1_SHARED_1
858 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
859 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
860 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_1
863 COND_PLATFORM_MACOSX_1_TOOLKIT_
864 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
865 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
866 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
869 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
870 COND_PLATFORM_MACOSX_1_USE_GUI_1
871 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
872 COND_PLATFORM_MACOS_1
874 COND_PLATFORM_MSDOS_0
875 COND_PLATFORM_MSDOS_1
879 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
880 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
881 COND_PLATFORM_UNIX_1_USE_GUI_1
882 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
883 COND_PLATFORM_WIN32_0
884 COND_PLATFORM_WIN32_1
886 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
887 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
888 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
889 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
893 COND_SHARED_0_USE_STC_1
894 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
895 COND_SHARED_0_WXUSE_REGEX_BUILTIN
896 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
898 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
901 COND_TOOLKIT_COCOA_USE_GUI_1
902 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
904 COND_TOOLKIT_DFB_USE_GUI_1
906 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
913 COND_TOOLKIT_GTK_USE_GUI_1
915 COND_TOOLKIT_MAC_USE_GUI_1
916 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
918 COND_TOOLKIT_MGL_USE_GUI_1
920 COND_TOOLKIT_MOTIF_USE_GUI_1
921 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
923 COND_TOOLKIT_MSW_USE_GUI_1
924 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_MSW_WXUNIV_0
927 COND_TOOLKIT_PM_USE_GUI_1
928 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_WINCE_USE_GUI_1
931 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_WINCE_WXUNIV_0
934 COND_TOOLKIT_X11_USE_GUI_1
936 COND_USE_EXCEPTIONS_0
937 COND_USE_EXCEPTIONS_1
940 COND_USE_GUI_1_USE_OPENGL_1
941 COND_USE_GUI_1_WXUNIV_0
942 COND_USE_GUI_1_WXUNIV_1
943 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
944 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
945 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
951 COND_USE_SOSYMLINKS_1
952 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
953 COND_USE_SOVERLINUX_1
955 COND_USE_SOVERSOLARIS_1
960 COND_WINDOWS_IMPLIB_1
961 COND_WITH_PLUGIN_SDL_1
964 COND_WXUSE_EXPAT_BUILTIN
965 COND_WXUSE_LIBJPEG_BUILTIN
966 COND_WXUSE_LIBPNG_BUILTIN
967 COND_WXUSE_LIBTIFF_BUILTIN
968 COND_WXUSE_REGEX_BUILTIN
969 COND_WXUSE_ZLIB_BUILTIN
972 WX_LIBRARY_BASENAME_NOGUI
973 WX_LIBRARY_BASENAME_GUI
1005 WX_RESOURCES_MACOSX_ASCII
1006 WX_RESOURCES_MACOSX_DATA
1016 ac_precious_vars
='build_alias
1040 LIBGNOMEPRINTUI_CFLAGS
1041 LIBGNOMEPRINTUI_LIBS
1050 ac_subdirs_all
='src/tiff
1053 # Initialize some variables set by options.
1055 ac_init_version
=false
1056 # The variables have the same names as the options, with
1057 # dashes changed to underlines.
1058 cache_file
=/dev
/null
1065 program_transform_name
=s
,x
,x
,
1073 # Installation directory options.
1074 # These are left unexpanded so users can "make install exec_prefix=/foo"
1075 # and all the variables that are supposed to be based on exec_prefix
1076 # by default will actually change.
1077 # Use braces instead of parens because sh, perl, etc. also accept them.
1078 # (The list follows the same order as the GNU Coding Standards.)
1079 bindir
='${exec_prefix}/bin'
1080 sbindir
='${exec_prefix}/sbin'
1081 libexecdir
='${exec_prefix}/libexec'
1082 datarootdir
='${prefix}/share'
1083 datadir
='${datarootdir}'
1084 sysconfdir
='${prefix}/etc'
1085 sharedstatedir
='${prefix}/com'
1086 localstatedir
='${prefix}/var'
1087 includedir
='${prefix}/include'
1088 oldincludedir
='/usr/include'
1089 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1090 infodir
='${datarootdir}/info'
1095 libdir
='${exec_prefix}/lib'
1096 localedir
='${datarootdir}/locale'
1097 mandir
='${datarootdir}/man'
1103 # If the previous option needs an argument, assign it.
1104 if test -n "$ac_prev"; then
1105 eval $ac_prev=\
$ac_option
1111 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1115 # Accept the important Cygnus configure options, so we can diagnose typos.
1117 case $ac_dashdash$ac_option in
1121 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1123 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1124 bindir
=$ac_optarg ;;
1126 -build | --build | --buil | --bui | --bu)
1127 ac_prev
=build_alias
;;
1128 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1129 build_alias
=$ac_optarg ;;
1131 -cache-file | --cache-file | --cache-fil | --cache-fi \
1132 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1133 ac_prev
=cache_file
;;
1134 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1135 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1136 cache_file
=$ac_optarg ;;
1138 --config-cache | -C)
1139 cache_file
=config.cache
;;
1141 -datadir | --datadir | --datadi | --datad)
1143 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1144 datadir
=$ac_optarg ;;
1146 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1147 | --dataroo | --dataro | --datar)
1148 ac_prev
=datarootdir
;;
1149 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1150 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1151 datarootdir
=$ac_optarg ;;
1153 -disable-* | --disable-*)
1154 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1157 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1158 { (exit 1); exit 1; }; }
1159 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1160 eval enable_
$ac_feature=no
;;
1162 -docdir | --docdir | --docdi | --doc | --do)
1164 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1165 docdir
=$ac_optarg ;;
1167 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1169 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1170 dvidir
=$ac_optarg ;;
1172 -enable-* | --enable-*)
1173 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1174 # Reject names that are not valid shell variable names.
1175 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1176 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1177 { (exit 1); exit 1; }; }
1178 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1179 eval enable_
$ac_feature=\
$ac_optarg ;;
1181 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1182 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1183 | --exec | --exe | --ex)
1184 ac_prev
=exec_prefix
;;
1185 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1186 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1187 | --exec=* | --exe=* | --ex=*)
1188 exec_prefix
=$ac_optarg ;;
1190 -gas | --gas | --ga | --g)
1191 # Obsolete; use --with-gas.
1194 -help | --help | --hel | --he | -h)
1195 ac_init_help
=long
;;
1196 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1197 ac_init_help
=recursive
;;
1198 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1199 ac_init_help
=short
;;
1201 -host | --host | --hos | --ho)
1202 ac_prev
=host_alias
;;
1203 -host=* | --host=* | --hos=* | --ho=*)
1204 host_alias
=$ac_optarg ;;
1206 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1208 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1210 htmldir
=$ac_optarg ;;
1212 -includedir | --includedir | --includedi | --included | --include \
1213 | --includ | --inclu | --incl | --inc)
1214 ac_prev
=includedir
;;
1215 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1216 | --includ=* | --inclu=* | --incl=* | --inc=*)
1217 includedir
=$ac_optarg ;;
1219 -infodir | --infodir | --infodi | --infod | --info | --inf)
1221 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1222 infodir
=$ac_optarg ;;
1224 -libdir | --libdir | --libdi | --libd)
1226 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1227 libdir
=$ac_optarg ;;
1229 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1230 | --libexe | --libex | --libe)
1231 ac_prev
=libexecdir
;;
1232 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1233 | --libexe=* | --libex=* | --libe=*)
1234 libexecdir
=$ac_optarg ;;
1236 -localedir | --localedir | --localedi | --localed | --locale)
1237 ac_prev
=localedir
;;
1238 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1239 localedir
=$ac_optarg ;;
1241 -localstatedir | --localstatedir | --localstatedi | --localstated \
1242 | --localstate | --localstat | --localsta | --localst | --locals)
1243 ac_prev
=localstatedir
;;
1244 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1245 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1246 localstatedir
=$ac_optarg ;;
1248 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1250 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1251 mandir
=$ac_optarg ;;
1253 -nfp | --nfp | --nf)
1254 # Obsolete; use --without-fp.
1257 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1258 | --no-cr | --no-c | -n)
1261 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1262 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1265 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1266 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1267 | --oldin | --oldi | --old | --ol | --o)
1268 ac_prev
=oldincludedir
;;
1269 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1270 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1271 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1272 oldincludedir
=$ac_optarg ;;
1274 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1276 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1277 prefix
=$ac_optarg ;;
1279 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1280 | --program-pre | --program-pr | --program-p)
1281 ac_prev
=program_prefix
;;
1282 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1283 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1284 program_prefix
=$ac_optarg ;;
1286 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1287 | --program-suf | --program-su | --program-s)
1288 ac_prev
=program_suffix
;;
1289 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1290 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1291 program_suffix
=$ac_optarg ;;
1293 -program-transform-name | --program-transform-name \
1294 | --program-transform-nam | --program-transform-na \
1295 | --program-transform-n | --program-transform- \
1296 | --program-transform | --program-transfor \
1297 | --program-transfo | --program-transf \
1298 | --program-trans | --program-tran \
1299 | --progr-tra | --program-tr | --program-t)
1300 ac_prev
=program_transform_name
;;
1301 -program-transform-name=* | --program-transform-name=* \
1302 | --program-transform-nam=* | --program-transform-na=* \
1303 | --program-transform-n=* | --program-transform-=* \
1304 | --program-transform=* | --program-transfor=* \
1305 | --program-transfo=* | --program-transf=* \
1306 | --program-trans=* | --program-tran=* \
1307 | --progr-tra=* | --program-tr=* | --program-t=*)
1308 program_transform_name
=$ac_optarg ;;
1310 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1312 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1313 pdfdir
=$ac_optarg ;;
1315 -psdir | --psdir | --psdi | --psd | --ps)
1317 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1320 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1321 | -silent | --silent | --silen | --sile | --sil)
1324 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1326 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1328 sbindir
=$ac_optarg ;;
1330 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1331 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1332 | --sharedst | --shareds | --shared | --share | --shar \
1334 ac_prev
=sharedstatedir
;;
1335 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1336 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1337 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1339 sharedstatedir
=$ac_optarg ;;
1341 -site | --site | --sit)
1343 -site=* | --site=* | --sit=*)
1346 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1348 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1349 srcdir
=$ac_optarg ;;
1351 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1352 | --syscon | --sysco | --sysc | --sys | --sy)
1353 ac_prev
=sysconfdir
;;
1354 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1355 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1356 sysconfdir
=$ac_optarg ;;
1358 -target | --target | --targe | --targ | --tar | --ta | --t)
1359 ac_prev
=target_alias
;;
1360 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1361 target_alias
=$ac_optarg ;;
1363 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1366 -version | --version | --versio | --versi | --vers | -V)
1367 ac_init_version
=: ;;
1370 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1371 # Reject names that are not valid shell variable names.
1372 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1373 { echo "$as_me: error: invalid package name: $ac_package" >&2
1374 { (exit 1); exit 1; }; }
1375 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1376 eval with_
$ac_package=\
$ac_optarg ;;
1378 -without-* | --without-*)
1379 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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=no
;;
1388 # Obsolete; use --with-x.
1391 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1392 | --x-incl | --x-inc | --x-in | --x-i)
1393 ac_prev
=x_includes
;;
1394 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1395 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1396 x_includes
=$ac_optarg ;;
1398 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1399 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1400 ac_prev
=x_libraries
;;
1401 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1402 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1403 x_libraries
=$ac_optarg ;;
1405 -*) { echo "$as_me: error: unrecognized option: $ac_option
1406 Try \`$0 --help' for more information." >&2
1407 { (exit 1); exit 1; }; }
1411 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1412 # Reject names that are not valid shell variable names.
1413 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1414 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1415 { (exit 1); exit 1; }; }
1416 eval $ac_envvar=\
$ac_optarg
1417 export $ac_envvar ;;
1420 # FIXME: should be removed in autoconf 3.0.
1421 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1422 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1423 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1424 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1430 if test -n "$ac_prev"; then
1431 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1432 { echo "$as_me: error: missing argument to $ac_option" >&2
1433 { (exit 1); exit 1; }; }
1436 # Be sure to have absolute directory names.
1437 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1438 datadir sysconfdir sharedstatedir localstatedir includedir \
1439 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1440 libdir localedir mandir
1442 eval ac_val
=\$
$ac_var
1444 [\\/$
]* | ?
:[\\/]* ) continue;;
1445 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1447 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1448 { (exit 1); exit 1; }; }
1451 # There might be people who depend on the old broken behavior: `$host'
1452 # used to hold the argument of --host etc.
1453 # FIXME: To remove some day.
1456 target
=$target_alias
1458 # FIXME: To remove some day.
1459 if test "x$host_alias" != x
; then
1460 if test "x$build_alias" = x
; then
1461 cross_compiling
=maybe
1462 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1463 If a cross compiler is detected then cross compile mode will be used." >&2
1464 elif test "x$build_alias" != "x$host_alias"; then
1470 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1472 test "$silent" = yes && exec 6>/dev
/null
1475 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1476 ac_ls_di
=`ls -di .` &&
1477 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1478 { echo "$as_me: error: Working directory cannot be determined" >&2
1479 { (exit 1); exit 1; }; }
1480 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1481 { echo "$as_me: error: pwd does not report name of working directory" >&2
1482 { (exit 1); exit 1; }; }
1485 # Find the source files, if location was not specified.
1486 if test -z "$srcdir"; then
1487 ac_srcdir_defaulted
=yes
1488 # Try the directory containing this script, then the parent directory.
1489 ac_confdir
=`$as_dirname -- "$0" ||
1490 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1491 X"$0" : 'X\(//\)[^/]' \| \
1492 X"$0" : 'X\(//\)$' \| \
1493 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1513 if test ! -r "$srcdir/$ac_unique_file"; then
1517 ac_srcdir_defaulted
=no
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1520 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1521 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1522 { (exit 1); exit 1; }; }
1524 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1526 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1527 { (exit 1); exit 1; }; }
1529 # When building in place, set srcdir=.
1530 if test "$ac_abs_confdir" = "$ac_pwd"; then
1533 # Remove unnecessary trailing slashes from srcdir.
1534 # Double slashes in file names in object file debugging info
1535 # mess up M-x gdb in Emacs.
1537 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1539 for ac_var
in $ac_precious_vars; do
1540 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1541 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1542 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1543 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1547 # Report the --help message.
1549 if test "$ac_init_help" = "long"; then
1550 # Omit some internal or obsolete options to make the list less imposing.
1551 # This message is too long to be a string in the A/UX 3.1 sh.
1553 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1555 Usage: $0 [OPTION]... [VAR=VALUE]...
1557 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1558 VAR=VALUE. See below for descriptions of some of the useful variables.
1560 Defaults for the options are specified in brackets.
1563 -h, --help display this help and exit
1564 --help=short display options specific to this package
1565 --help=recursive display the short help of all the included packages
1566 -V, --version display version information and exit
1567 -q, --quiet, --silent do not print \`checking...' messages
1568 --cache-file=FILE cache test results in FILE [disabled]
1569 -C, --config-cache alias for \`--cache-file=config.cache'
1570 -n, --no-create do not create output files
1571 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1573 Installation directories:
1574 --prefix=PREFIX install architecture-independent files in PREFIX
1575 [$ac_default_prefix]
1576 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1579 By default, \`make install' will install all the files in
1580 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1581 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1582 for instance \`--prefix=\$HOME'.
1584 For better control, use the options below.
1586 Fine tuning of the installation directories:
1587 --bindir=DIR user executables [EPREFIX/bin]
1588 --sbindir=DIR system admin executables [EPREFIX/sbin]
1589 --libexecdir=DIR program executables [EPREFIX/libexec]
1590 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1591 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1592 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1593 --libdir=DIR object code libraries [EPREFIX/lib]
1594 --includedir=DIR C header files [PREFIX/include]
1595 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1596 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1597 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1598 --infodir=DIR info documentation [DATAROOTDIR/info]
1599 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1600 --mandir=DIR man documentation [DATAROOTDIR/man]
1601 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1602 --htmldir=DIR html documentation [DOCDIR]
1603 --dvidir=DIR dvi documentation [DOCDIR]
1604 --pdfdir=DIR pdf documentation [DOCDIR]
1605 --psdir=DIR ps documentation [DOCDIR]
1611 --x-includes=DIR X include files are
in DIR
1612 --x-libraries=DIR X library files are
in DIR
1615 --build=BUILD configure
for building on BUILD
[guessed
]
1616 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1617 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1621 if test -n "$ac_init_help"; then
1622 case $ac_init_help in
1623 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1628 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1629 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1630 --disable-gui don
't build GUI parts of the library
1631 --enable-monolithic build wxWidgets as single library
1632 --enable-plugins build parts of wxWidgets as loadable components
1633 --enable-official_build official build of wxWidgets (win32 DLL only)
1634 --enable-vendor=VENDOR vendor name (win32 DLL only)
1635 --disable-all-features disable all optional features to build minimal library
1636 --enable-universal use wxWidgets GUI controls instead of native ones
1637 --enable-nanox use NanoX
1638 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1639 --enable-gpe use GNOME PDA Environment features if possible
1640 --disable-shared create static library instead of shared
1641 --disable-optimise create optimised code
1642 --enable-debug same as debug_flag and debug_info
1643 --enable-stl use STL for containers
1644 --enable-std_iostreams use standard C++ stream classes
1645 --enable-std_string use standard C++ string classes
1646 --disable-unicode compile without Unicode support
1647 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1648 --enable-utf8 use UTF-8 representation for strings (Unix only)
1649 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1650 --enable-extended_rtti use extended RTTI (XTI)
1651 --enable-omf use OMF object format
1652 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1653 --enable-debug_info create code with debugging information
1654 --enable-debug_gdb create code with extra GDB debugging information
1655 --enable-debug_cntxt use wxDebugContext
1656 --enable-mem_tracing create code with memory tracing
1657 --enable-profile create code with profiling information
1658 --enable-no_rtti create code without RTTI information
1659 --enable-no_exceptions create code without C++ exceptions handling
1660 --enable-permissive compile code disregarding strict ANSI
1661 --enable-no_deps create code without dependency information
1662 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1663 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1664 --enable-compat26 enable wxWidgets
2.6 compatibility
1665 --disable-compat28 disable wxWidgets
2.8 compatibility
1666 --disable-rpath disable use of rpath
for uninstalled builds
1667 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1668 --disable-visibility disable use of ELF symbols visibility even
if supported
1669 --enable-intl use internationalization system
1670 --enable-config use wxConfig
(and derived
) classes
1671 --enable-protocols use wxProtocol and derived classes
1672 --enable-ftp use wxFTP
(requires wxProtocol
1673 --enable-http use wxHTTP
(requires wxProtocol
1674 --enable-fileproto use wxFileProto class
(requires wxProtocol
1675 --enable-sockets use socket
/network classes
1676 --enable-ipv6 enable IPv6 support
in wxSocket
1677 --enable-ole use OLE classes
(Win32 only
)
1678 --enable-dataobj use data object classes
1679 --enable-ipc use interprocess communication
(wxSocket etc.
)
1680 --enable-baseevtloop use event loop
in console programs too
1681 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1682 --enable-selectloop use wxSelectDispatcher class
1683 --enable-apple_ieee use the Apple IEEE codec
1684 --enable-arcstream use wxArchive streams
1685 --enable-base64 use base64 encoding
/decoding functions
1686 --enable-backtrace use wxStackWalker class
for getting backtraces
1687 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1688 --enable-cmdline use wxCmdLineParser class
1689 --enable-datetime use wxDateTime class
1690 --enable-debugreport use wxDebugReport class
1691 --enable-dialupman use dialup network classes
1692 --enable-dynlib use wxLibrary class
for DLL loading
1693 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1694 --enable-exceptions build exception
-safe library
1695 --enable-ffile use wxFFile class
1696 --enable-file use wxFile class
1697 --enable-filesystem use virtual
file systems classes
1698 --enable-fontenum use wxFontEnumerator class
1699 --enable-fontmap use font encodings conversion classes
1700 --enable-fs_archive use virtual archive filesystems
1701 --enable-fs_inet use virtual HTTP
/FTP filesystems
1702 --enable-fs_zip now replaced by fs_archive
1703 --enable-geometry use geometry class
1704 --enable-log use logging system
1705 --enable-longlong use wxLongLong class
1706 --enable-mimetype use wxMimeTypesManager
1707 --enable-snglinst use wxSingleInstanceChecker class
1708 --enable-stdpaths use wxStandardPaths class
1709 --enable-stopwatch use wxStopWatch class
1710 --enable-streams use wxStream etc classes
1711 --enable-sysoptions use wxSystemOptions
1712 --enable-tarstream use wxTar streams
1713 --enable-textbuf use wxTextBuffer class
1714 --enable-textfile use wxTextFile class
1715 --enable-timer use wxTimer class
1716 --enable-sound use wxSound class
1717 --enable-mediactrl use wxMediaCtrl class
1718 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1719 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1720 --enable-zipstream use wxZip streams
1721 --enable-url use wxURL class
1722 --enable-variant use wxVariant class
1723 --enable-protocol use wxProtocol class
1724 --enable-protocol-http HTTP support
in wxProtocol
1725 --enable-protocol-ftp FTP support
in wxProtocol
1726 --enable-protocol-file FILE support
in wxProtocol
1727 --enable-threads use threads
1728 --enable-iniconf use wxIniConfig
(Win32 only
)
1729 --enable-regkey use wxRegKey class
(Win32 only
)
1730 --enable-docview use document view architecture
1731 --enable-help use
help subsystem
1732 --enable-mshtmlhelp use MS HTML Help
(win32
)
1733 --enable-html use wxHTML sub
-library
1734 --enable-htmlhelp use wxHTML
-based help
1735 --enable-xrc use XRC resources sub
-library
1736 --enable-aui use AUI docking library
1737 --enable-stc use wxStyledTextCtrl library
1738 --enable-constraints use layout
-constraints system
1739 --enable-printarch use printing architecture
1740 --enable-mdi use multiple document interface architecture
1741 --enable-mdidoc use docview architecture with MDI
1742 --enable-loggui use standard GUI logger
1743 --enable-logwin use wxLogWindow
1744 --enable-logdialog use wxLogDialog
1745 --enable-webkit use wxWebKitCtrl
(Mac
)
1746 --enable-richtext use wxRichTextCtrl
1747 --enable-graphics_ctx use graphics context
2D drawing API
1748 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1749 --enable-svg use wxSVGFileDC device context
1750 --enable-clipboard use wxClipboard class
1751 --enable-dnd use Drag
'n'Drop classes
1752 --enable-metafile use win32 metafiles
1753 --disable-controls disable compilation of all standard controls
1754 --enable-accel use accelerators
1755 --enable-animatectrl use wxAnimationCtrl class
1756 --enable-button use wxButton class
1757 --enable-bmpbutton use wxBitmapButton class
1758 --enable-bmpcombobox use wxBitmapComboBox class
1759 --enable-calendar use wxCalendarCtrl class
1760 --enable-caret use wxCaret class
1761 --enable-checkbox use wxCheckBox class
1762 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1763 --enable-choice use wxChoice class
1764 --enable-choicebook use wxChoicebook class
1765 --enable-collpane use wxCollapsiblePane class
1766 --enable-colourpicker use wxColourPickerCtrl class
1767 --enable-combobox use wxComboBox class
1768 --enable-comboctrl use wxComboCtrl class
1769 --enable-datepick use wxDatePickerCtrl class
1770 --enable-dirpicker use wxDirPickerCtrl class
1771 --enable-display use wxDisplay class
1772 --enable-detect_sm use code to detect X11 session manager
1773 --enable-editablebox use wxEditableListBox class
1774 --enable-filepicker use wxFilePickerCtrl class
1775 --enable-filectrl use wxFileCtrl class
1776 --enable-fontpicker use wxFontPickerCtrl class
1777 --enable-gauge use wxGauge class
1778 --enable-grid use wxGrid class
1779 --enable-dataviewctrl use wxDataViewCtrl class
1780 --enable-hyperlink use wxHyperlinkCtrl class
1781 --enable-imaglist use wxImageList class
1782 --enable-listbook use wxListbook class
1783 --enable-listbox use wxListBox class
1784 --enable-listctrl use wxListCtrl class
1785 --enable-notebook use wxNotebook class
1786 --enable-notifmsg use wxNotificationMessage class
1787 --enable-odcombobox use wxOwnerDrawnComboBox class
1788 --enable-radiobox use wxRadioBox class
1789 --enable-radiobtn use wxRadioButton class
1790 --enable-sash use wxSashWindow class
1791 --enable-scrollbar use wxScrollBar class and scrollable windows
1792 --enable-searchctrl use wxSearchCtrl class
1793 --enable-slider use wxSlider class
1794 --enable-spinbtn use wxSpinButton class
1795 --enable-spinctrl use wxSpinCtrl class
1796 --enable-splitter use wxSplitterWindow class
1797 --enable-statbmp use wxStaticBitmap class
1798 --enable-statbox use wxStaticBox class
1799 --enable-statline use wxStaticLine class
1800 --enable-stattext use wxStaticText class
1801 --enable-statusbar use wxStatusBar class
1802 --enable-tabdialog use wxTabControl class
1803 --enable-taskbaricon use wxTaskBarIcon class
1804 --enable-textctrl use wxTextCtrl class
1805 --enable-togglebtn use wxToggleButton class
1806 --enable-toolbar use wxToolBar class
1807 --enable-tbarnative use native wxToolBar class
1808 --enable-treebook use wxTreebook class
1809 --enable-toolbook use wxToolbook class
1810 --enable-treectrl use wxTreeCtrl class
1811 --enable-tipwindow use wxTipWindow class
1812 --enable-popupwin use wxPopUpWindow class
1813 --enable-commondlg use all common dialogs
1814 --enable-aboutdlg use wxAboutBox
1815 --enable-choicedlg use wxChoiceDialog
1816 --enable-coldlg use wxColourDialog
1817 --enable-filedlg use wxFileDialog
1818 --enable-finddlg use wxFindReplaceDialog
1819 --enable-fontdlg use wxFontDialog
1820 --enable-dirdlg use wxDirDialog
1821 --enable-msgdlg use wxMessageDialog
1822 --enable-numberdlg use wxNumberEntryDialog
1823 --enable-splash use wxSplashScreen
1824 --enable-textdlg use wxTextDialog
1825 --enable-tipdlg use startup tips
1826 --enable-progressdlg use wxProgressDialog
1827 --enable-wizarddlg use wxWizard
1828 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1829 --enable-miniframe use wxMiniFrame class
1830 --enable-tooltips use wxToolTip class
1831 --enable-splines use spline drawing code
1832 --enable-mousewheel use mousewheel
1833 --enable-validators use wxValidator and derived classes
1834 --enable-busyinfo use wxBusyInfo
1835 --enable-joystick use wxJoystick
1836 --enable-metafiles use wxMetaFile
(Win32 only
)
1837 --enable-dragimage use wxDragImage
1838 --enable-accessibility enable accessibility support
1839 --enable-palette use wxPalette class
1840 --enable-image use wxImage class
1841 --enable-gif use gif images
(GIF
file format
)
1842 --enable-pcx use pcx images
(PCX
file format
)
1843 --enable-tga use tga images
(TGA
file format
)
1844 --enable-iff use iff images
(IFF
file format
)
1845 --enable-pnm use pnm images
(PNM
file format
)
1846 --enable-xpm use xpm images
(XPM
file format
)
1847 --enable-ico_cur use Windows ICO and CUR formats
1848 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1849 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1850 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1851 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1852 --enable-wxdib use wxDIB class
(Win32 only
)
1853 --enable-autoidman use automatic ids management
1854 --disable-largefile omit support
for large files
1855 --disable-gtktest do not try to compile and run a
test GTK
+ program
1856 --disable-gtktest Do not try to compile and run a
test GTK program
1857 --disable-sdltest Do not try to compile and run a
test SDL program
1858 --enable-omf use OMF object format
(OS
/2)
1859 --disable-dependency-tracking
1860 don
't use dependency tracking even if the compiler
1862 --disable-precomp-headers
1863 don't use precompiled headers even
if compiler can
1866 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1867 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1868 --without-subdirs don
't generate makefiles for samples/demos/...
1869 --with-flavour=NAME specify a name to identify this build
1870 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1871 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1872 --with-motif use Motif/Lesstif
1873 --with-mac use Mac OS X
1874 --with-cocoa use Cocoa
1875 --with-wine use Wine
1876 --with-msw use MS-Windows
1877 --with-pm use OS/2 Presentation Manager
1878 --with-mgl use SciTech MGL
1879 --with-directfb use DirectFB
1880 --with-microwin use MicroWindows
1882 --with-libpng use libpng (PNG image format)
1883 --with-libjpeg use libjpeg (JPEG file format)
1884 --with-libtiff use libtiff (TIFF file format)
1885 --with-libxpm use libxpm (XPM file format)
1886 --with-libmspack use libmspack (CHM help files loading)
1887 --without-gtkprint don't use GTK printing support
1888 --without-gnomeprint don
't use GNOME printing libraries
1889 --with-gnomevfs use GNOME VFS for associating MIME types
1890 --with-hildon use Hildon framework for Nokia 770
1891 --with-opengl use OpenGL (or Mesa)
1892 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1893 --with-sdl use SDL for audio on Unix
1894 --with-regex enable support for wxRegEx class
1895 --with-zlib use zlib for LZW compression
1896 --with-expat enable XML support using expat parser
1897 --with-macosx-sdk=PATH use an OS X SDK at PATH
1898 --with-macosx-version-min=VER build binaries which require at least this OS X version
1899 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1900 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1901 --with-x use the X Window System
1902 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1903 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1904 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1905 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1906 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1908 Some influential environment variables:
1909 CC C compiler command
1910 CFLAGS C compiler flags
1911 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1912 nonstandard directory <lib dir>
1913 LIBS libraries to pass to the linker, e.g. -l<library>
1914 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1915 you have headers in a nonstandard directory <include dir>
1917 CXX C++ compiler command
1918 CXXFLAGS C++ compiler flags
1919 PKG_CONFIG path to pkg-config utility
1921 C compiler flags for DIRECTFB, overriding pkg-config
1923 linker flags for DIRECTFB, overriding pkg-config
1924 XMKMF Path to xmkmf, Makefile generator for X Window System
1926 C compiler flags for PANGOX, overriding pkg-config
1927 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1929 C compiler flags for PANGOFT2, overriding pkg-config
1931 linker flags for PANGOFT2, overriding pkg-config
1933 C compiler flags for PANGOXFT, overriding pkg-config
1935 linker flags for PANGOXFT, overriding pkg-config
1937 C compiler flags for GTKPRINT, overriding pkg-config
1939 linker flags for GTKPRINT, overriding pkg-config
1940 LIBGNOMEPRINTUI_CFLAGS
1941 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1942 LIBGNOMEPRINTUI_LIBS
1943 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1945 C compiler flags for GNOMEVFS, overriding pkg-config
1947 linker flags for GNOMEVFS, overriding pkg-config
1949 C compiler flags for HILDON, overriding pkg-config
1950 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1952 C compiler flags for CAIRO, overriding pkg-config
1953 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1954 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1955 GST_LIBS linker flags for GST, overriding pkg-config
1957 Use these variables to override the choices made by `configure' or to
help
1958 it to
find libraries and programs with nonstandard names
/locations.
1960 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1965 if test "$ac_init_help" = "recursive"; then
1966 # If there are subdirs, report their specific --help.
1967 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1968 test -d "$ac_dir" || continue
1972 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1974 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1975 # A ".." for each directory in $ac_dir_suffix.
1976 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1977 case $ac_top_builddir_sub in
1978 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1979 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1982 ac_abs_top_builddir
=$ac_pwd
1983 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1984 # for backward compatibility:
1985 ac_top_builddir
=$ac_top_build_prefix
1988 .
) # We are building in place.
1990 ac_top_srcdir
=$ac_top_builddir_sub
1991 ac_abs_top_srcdir
=$ac_pwd ;;
1992 [\\/]* | ?
:[\\/]* ) # Absolute name.
1993 ac_srcdir
=$srcdir$ac_dir_suffix;
1994 ac_top_srcdir
=$srcdir
1995 ac_abs_top_srcdir
=$srcdir ;;
1997 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1998 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1999 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2001 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2003 cd "$ac_dir" || { ac_status
=$?
; continue; }
2004 # Check for guested configure.
2005 if test -f "$ac_srcdir/configure.gnu"; then
2007 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2008 elif test -f "$ac_srcdir/configure"; then
2010 $SHELL "$ac_srcdir/configure" --help=recursive
2012 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2014 cd "$ac_pwd" || { ac_status
=$?
; break; }
2018 test -n "$ac_init_help" && exit $ac_status
2019 if $ac_init_version; then
2021 wxWidgets configure
2.9.0
2022 generated by GNU Autoconf
2.61
2024 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2025 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2026 This configure
script is free software
; the Free Software Foundation
2027 gives unlimited permission to copy
, distribute and modify it.
2031 cat >config.log
<<_ACEOF
2032 This file contains any messages produced by compilers while
2033 running configure, to aid debugging if configure makes a mistake.
2035 It was created by wxWidgets $as_me 2.9.0, which was
2036 generated by GNU Autoconf 2.61. Invocation command line was
2048 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2049 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2050 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2051 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2052 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2054 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2055 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2057 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2058 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2059 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2060 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2061 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2062 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2063 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2071 test -z "$as_dir" && as_dir
=.
2072 echo "PATH: $as_dir"
2088 # Keep a trace of the command line.
2089 # Strip out --no-create and --no-recursion so they do not pile up.
2090 # Strip out --silent because we don't want to record it for future runs.
2091 # Also quote any args containing shell meta-characters.
2092 # Make two passes to allow for proper duplicate-argument suppression.
2096 ac_must_keep_next
=false
2102 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2103 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2104 | -silent | --silent | --silen | --sile | --sil)
2107 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2110 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2112 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2113 if test $ac_must_keep_next = true
; then
2114 ac_must_keep_next
=false
# Got value, back to normal.
2117 *=* | --config-cache | -C | -disable-* | --disable-* \
2118 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2119 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2120 | -with-* | --with-* | -without-* | --without-* | --x)
2121 case "$ac_configure_args0 " in
2122 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2125 -* ) ac_must_keep_next
=true
;;
2128 ac_configure_args
="$ac_configure_args '$ac_arg'"
2133 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2134 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2136 # When interrupted or exit'd, cleanup temporary files, and complete
2137 # config.log. We remove comments because anyway the quotes in there
2138 # would cause problems or look ugly.
2139 # WARNING: Use '\'' to represent an apostrophe within the trap.
2140 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2141 trap 'exit_status=$?
2142 # Save into config.log some information that might help in debugging.
2147 ## ---------------- ##
2148 ## Cache variables. ##
2149 ## ---------------- ##
2152 # The following way of writing the cache mishandles newlines in values,
2154 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2155 eval ac_val=\$$ac_var
2159 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2160 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2163 _ | IFS | as_nl) ;; #(
2164 *) $as_unset $ac_var ;;
2169 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2170 *${as_nl}ac_space=\ *)
2172 "s/'\''/'\''\\\\'\'''\''/g;
2173 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2176 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2184 ## ----------------- ##
2185 ## Output variables. ##
2186 ## ----------------- ##
2189 for ac_var in $ac_subst_vars
2191 eval ac_val=\$$ac_var
2193 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2195 echo "$ac_var='\''$ac_val'\''"
2199 if test -n "$ac_subst_files"; then
2201 ## ------------------- ##
2202 ## File substitutions. ##
2203 ## ------------------- ##
2206 for ac_var
in $ac_subst_files
2208 eval ac_val
=\$
$ac_var
2210 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2212 echo "$ac_var='\''$ac_val'\''"
2217 if test -s confdefs.h; then
2227 test "$ac_signal" != 0 &&
2228 echo "$as_me: caught signal $ac_signal"
2229 echo "$as_me: exit $exit_status"
2231 rm -f core *.core core.conftest.* &&
2232 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2235 for ac_signal
in 1 2 13 15; do
2236 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2240 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2241 rm -f -r conftest
* confdefs.h
2243 # Predefined preprocessor variables.
2245 cat >>confdefs.h
<<_ACEOF
2246 #define PACKAGE_NAME "$PACKAGE_NAME"
2250 cat >>confdefs.h
<<_ACEOF
2251 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2255 cat >>confdefs.h
<<_ACEOF
2256 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2260 cat >>confdefs.h
<<_ACEOF
2261 #define PACKAGE_STRING "$PACKAGE_STRING"
2265 cat >>confdefs.h
<<_ACEOF
2266 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2270 # Let the site file select an alternate cache file if it wants to.
2271 # Prefer explicitly selected file to automatically selected ones.
2272 if test -n "$CONFIG_SITE"; then
2273 set x
"$CONFIG_SITE"
2274 elif test "x$prefix" != xNONE
; then
2275 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2277 set x
"$ac_default_prefix/share/config.site" \
2278 "$ac_default_prefix/etc/config.site"
2283 if test -r "$ac_site_file"; then
2284 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2285 echo "$as_me: loading site script $ac_site_file" >&6;}
2286 sed 's/^/| /' "$ac_site_file" >&5
2291 if test -r "$cache_file"; then
2292 # Some versions of bash will fail to source /dev/null (special
2293 # files actually), so we avoid doing that.
2294 if test -f "$cache_file"; then
2295 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2296 echo "$as_me: loading cache $cache_file" >&6;}
2298 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2299 *) .
"./$cache_file";;
2303 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2304 echo "$as_me: creating cache $cache_file" >&6;}
2308 # Check that the precious variables saved in the cache have kept the same
2310 ac_cache_corrupted
=false
2311 for ac_var
in $ac_precious_vars; do
2312 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2313 eval ac_new_set
=\
$ac_env_${ac_var}_set
2314 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2315 eval ac_new_val
=\
$ac_env_${ac_var}_value
2316 case $ac_old_set,$ac_new_set in
2318 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2319 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2320 ac_cache_corrupted
=: ;;
2322 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2323 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2324 ac_cache_corrupted
=: ;;
2327 if test "x$ac_old_val" != "x$ac_new_val"; then
2328 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2329 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2330 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2331 echo "$as_me: former value: $ac_old_val" >&2;}
2332 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2333 echo "$as_me: current value: $ac_new_val" >&2;}
2334 ac_cache_corrupted
=:
2337 # Pass precious variables to config.status.
2338 if test "$ac_new_set" = set; then
2340 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2341 *) ac_arg
=$ac_var=$ac_new_val ;;
2343 case " $ac_configure_args " in
2344 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2345 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2349 if $ac_cache_corrupted; then
2350 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2351 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2352 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2353 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2354 { (exit 1); exit 1; }; }
2382 ac_cpp
='$CPP $CPPFLAGS'
2383 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2384 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2385 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2392 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2393 if test -f "$ac_dir/install-sh"; then
2395 ac_install_sh
="$ac_aux_dir/install-sh -c"
2397 elif test -f "$ac_dir/install.sh"; then
2399 ac_install_sh
="$ac_aux_dir/install.sh -c"
2401 elif test -f "$ac_dir/shtool"; then
2403 ac_install_sh
="$ac_aux_dir/shtool install -c"
2407 if test -z "$ac_aux_dir"; then
2408 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2409 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2410 { (exit 1); exit 1; }; }
2413 # These three variables are undocumented and unsupported,
2414 # and are intended to be withdrawn in a future Autoconf release.
2415 # They can cause serious problems if a builder's source tree is in a directory
2416 # whose full name contains unusual characters.
2417 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2418 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2419 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2422 # Make sure we can run config.sub.
2423 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2424 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2425 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2426 { (exit 1); exit 1; }; }
2428 { echo "$as_me:$LINENO: checking build system type" >&5
2429 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2430 if test "${ac_cv_build+set}" = set; then
2431 echo $ECHO_N "(cached) $ECHO_C" >&6
2433 ac_build_alias
=$build_alias
2434 test "x$ac_build_alias" = x
&&
2435 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2436 test "x$ac_build_alias" = x
&&
2437 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2438 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2439 { (exit 1); exit 1; }; }
2440 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2441 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2442 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2443 { (exit 1); exit 1; }; }
2446 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2447 echo "${ECHO_T}$ac_cv_build" >&6; }
2448 case $ac_cv_build in
2450 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2451 echo "$as_me: error: invalid value of canonical build" >&2;}
2452 { (exit 1); exit 1; }; };;
2455 ac_save_IFS
=$IFS; IFS
='-'
2461 # Remember, the first character of IFS is used to create $*,
2462 # except with old shells:
2465 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2468 { echo "$as_me:$LINENO: checking host system type" >&5
2469 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2470 if test "${ac_cv_host+set}" = set; then
2471 echo $ECHO_N "(cached) $ECHO_C" >&6
2473 if test "x$host_alias" = x
; then
2474 ac_cv_host
=$ac_cv_build
2476 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2477 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2478 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2479 { (exit 1); exit 1; }; }
2483 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2484 echo "${ECHO_T}$ac_cv_host" >&6; }
2487 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2488 echo "$as_me: error: invalid value of canonical host" >&2;}
2489 { (exit 1); exit 1; }; };;
2492 ac_save_IFS
=$IFS; IFS
='-'
2498 # Remember, the first character of IFS is used to create $*,
2499 # except with old shells:
2502 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2505 { echo "$as_me:$LINENO: checking target system type" >&5
2506 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2507 if test "${ac_cv_target+set}" = set; then
2508 echo $ECHO_N "(cached) $ECHO_C" >&6
2510 if test "x$target_alias" = x
; then
2511 ac_cv_target
=$ac_cv_host
2513 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2514 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2515 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2516 { (exit 1); exit 1; }; }
2520 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2521 echo "${ECHO_T}$ac_cv_target" >&6; }
2522 case $ac_cv_target in
2524 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2525 echo "$as_me: error: invalid value of canonical target" >&2;}
2526 { (exit 1); exit 1; }; };;
2528 target
=$ac_cv_target
2529 ac_save_IFS
=$IFS; IFS
='-'
2535 # Remember, the first character of IFS is used to create $*,
2536 # except with old shells:
2539 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2542 # The aliases save the names the user supplied, while $host etc.
2543 # will get canonicalized.
2544 test -n "$target_alias" &&
2545 test "$program_prefix$program_suffix$program_transform_name" = \
2547 program_prefix
=${target_alias}-
2551 wx_major_version_number
=2
2552 wx_minor_version_number
=9
2554 wx_subrelease_number
=0
2556 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2557 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2558 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2560 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2563 wx_top_builddir
="`pwd`"
2576 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2582 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2588 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2590 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2592 DEFAULT_wxUSE_COCOA
=0
2596 DEFAULT_wxUSE_MICROWIN
=0
2597 DEFAULT_wxUSE_MOTIF
=0
2603 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2604 DEFAULT_DEFAULT_wxUSE_GTK
=0
2605 DEFAULT_DEFAULT_wxUSE_MAC
=0
2606 DEFAULT_DEFAULT_wxUSE_MGL
=0
2607 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2608 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2609 DEFAULT_DEFAULT_wxUSE_MSW
=0
2610 DEFAULT_DEFAULT_wxUSE_PM
=0
2611 DEFAULT_DEFAULT_wxUSE_X11
=0
2612 DEFAULT_DEFAULT_wxUSE_DFB
=0
2617 SAMPLES_RPATH_POSTLINK
=
2619 DEFAULT_STD_FLAG
=yes
2624 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2625 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2627 cat >>confdefs.h
<<\_ACEOF
2632 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2636 cat >>confdefs.h
<<\_ACEOF
2641 if test "x$TMP" = "xalpha"; then
2643 cat >>confdefs.h
<<\_ACEOF
2648 DEFAULT_DEFAULT_wxUSE_GTK
=1
2650 *-*-gnu* | *-*-k*bsd
*-gnu )
2653 if test "x$TMP" = "xalpha"; then
2655 cat >>confdefs.h
<<\_ACEOF
2660 DEFAULT_DEFAULT_wxUSE_GTK
=1
2662 *-*-irix5* | *-*-irix6* )
2665 cat >>confdefs.h
<<\_ACEOF
2669 cat >>confdefs.h
<<\_ACEOF
2673 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2679 cat >>confdefs.h
<<\_ACEOF
2683 cat >>confdefs.h
<<\_ACEOF
2684 #define __SOLARIS__ 1
2687 cat >>confdefs.h
<<\_ACEOF
2691 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2692 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2698 cat >>confdefs.h
<<\_ACEOF
2702 cat >>confdefs.h
<<\_ACEOF
2706 cat >>confdefs.h
<<\_ACEOF
2710 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2715 cat >>confdefs.h
<<\_ACEOF
2716 #define __FREEBSD__ 1
2719 cat >>confdefs.h
<<\_ACEOF
2723 DEFAULT_DEFAULT_wxUSE_GTK
=1
2725 *-*-openbsd*|*-*-mirbsd*)
2728 cat >>confdefs.h
<<\_ACEOF
2729 #define __OPENBSD__ 1
2732 cat >>confdefs.h
<<\_ACEOF
2736 DEFAULT_DEFAULT_wxUSE_GTK
=1
2741 cat >>confdefs.h
<<\_ACEOF
2742 #define __NETBSD__ 1
2745 cat >>confdefs.h
<<\_ACEOF
2749 DEFAULT_DEFAULT_wxUSE_GTK
=1
2750 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2752 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2757 cat >>confdefs.h
<<\_ACEOF
2761 cat >>confdefs.h
<<\_ACEOF
2765 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2766 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2771 cat >>confdefs.h
<<\_ACEOF
2775 cat >>confdefs.h
<<\_ACEOF
2779 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2784 cat >>confdefs.h
<<\_ACEOF
2788 cat >>confdefs.h
<<\_ACEOF
2792 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2799 cat >>confdefs.h
<<\_ACEOF
2803 cat >>confdefs.h
<<\_ACEOF
2807 cat >>confdefs.h
<<\_ACEOF
2811 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2818 cat >>confdefs.h
<<\_ACEOF
2819 #define __UNIXWARE__ 1
2824 *-*-cygwin* | *-*-mingw32* )
2827 DEFAULT_DEFAULT_wxUSE_MSW
=1
2833 cat >>confdefs.h
<<\_ACEOF
2838 DEFAULT_DEFAULT_wxUSE_MGL
=1
2841 *-pc-os2_emx | *-pc-os2-emx )
2842 cat >>confdefs.h
<<\_ACEOF
2847 cat >>confdefs.h
<<\_ACEOF
2852 DEFAULT_DEFAULT_wxUSE_PM
=1
2854 LDFLAGS
="$LDFLAGS -Zcrtdll"
2855 ac_executable_extensions
=".exe"
2856 export ac_executable_extensions
2860 for ac_dir
in $PATH; do
2862 if test -z "$ac_TEMP_PATH"; then
2863 ac_TEMP_PATH
="$ac_dir"
2865 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2868 export PATH
="$ac_TEMP_PATH"
2877 cat >>confdefs.h
<<\_ACEOF
2881 cat >>confdefs.h
<<\_ACEOF
2882 #define __DARWIN__ 1
2885 cat >>confdefs.h
<<\_ACEOF
2886 #define TARGET_CARBON 1
2889 DEFAULT_DEFAULT_wxUSE_MAC
=1
2892 powerpc
-apple-macos* )
2894 ac_cv_c_bigendian
=yes
2896 DEFAULT_DEFAULT_wxUSE_MAC
=1
2902 cat >>confdefs.h
<<\_ACEOF
2909 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2910 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2911 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2912 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2914 DEFAULT_DEFAULT_wxUSE_X11
=1
2915 DEFAULT_wxUSE_SHARED
=no
2920 DEFAULT_wxUSE_ALL_FEATURES
=yes
2922 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2923 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2925 DEFAULT_wxUSE_DMALLOC
=no
2926 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2927 DEFAULT_wxUSE_LIBHILDON
=no
2928 DEFAULT_wxUSE_LIBMSPACK
=no
2929 DEFAULT_wxUSE_LIBSDL
=no
2930 DEFAULT_wxUSE_OPENGL
=no
2932 DEFAULT_wxUSE_ACCESSIBILITY
=no
2933 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2934 DEFAULT_wxUSE_IPV6
=no
2935 DEFAULT_wxUSE_MEDIACTRL
=no
2936 DEFAULT_wxUSE_TAB_DIALOG
=no
2937 DEFAULT_wxUSE_GSTREAMER8
=no
2939 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2940 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2942 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2944 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2946 DEFAULT_wxUSE_GTK2
=yes
2948 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2954 enablestring
=disable
2956 if test -z "$defaultval"; then
2957 if test x
"$enablestring" = xdisable
; then
2964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2965 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2966 # Check whether --enable-gui was given.
2967 if test "${enable_gui+set}" = set; then
2968 enableval
=$enable_gui;
2969 if test "$enableval" = yes; then
2970 wx_cv_use_gui
='wxUSE_GUI=yes'
2972 wx_cv_use_gui
='wxUSE_GUI=no'
2977 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2982 eval "$wx_cv_use_gui"
2984 if test x"$enablestring" = xdisable; then
2985 if test $wxUSE_GUI = yes; then
2994 { echo "$as_me:$LINENO: result: $result" >&5
2995 echo "${ECHO_T}$result" >&6; }
3000 if test -z "$defaultval"; then
3001 if test x"$enablestring" = xdisable; then
3008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3009 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3010 # Check whether --enable-monolithic was given.
3011 if test "${enable_monolithic+set}" = set; then
3012 enableval=$enable_monolithic;
3013 if test "$enableval" = yes; then
3014 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3016 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3021 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3026 eval "$wx_cv_use_monolithic"
3028 if test x"$enablestring" = xdisable; then
3029 if test $wxUSE_MONOLITHIC = yes; then
3035 result=$wxUSE_MONOLITHIC
3038 { echo "$as_me:$LINENO: result
: $result" >&5
3039 echo "${ECHO_T}$result" >&6; }
3044 if test -z "$defaultval"; then
3045 if test x"$enablestring" = xdisable; then
3052 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3053 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3054 # Check whether --enable-plugins was given.
3055 if test "${enable_plugins+set}" = set; then
3056 enableval=$enable_plugins;
3057 if test "$enableval" = yes; then
3058 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3060 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3065 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3070 eval "$wx_cv_use_plugins"
3072 if test x
"$enablestring" = xdisable
; then
3073 if test $wxUSE_PLUGINS = yes; then
3079 result
=$wxUSE_PLUGINS
3082 { echo "$as_me:$LINENO: result: $result" >&5
3083 echo "${ECHO_T}$result" >&6; }
3087 defaultval
=$wxUSE_ALL_FEATURES
3088 if test -z "$defaultval"; then
3089 if test x
"$withstring" = xwithout
; then
3095 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3096 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3098 # Check whether --with-subdirs was given.
3099 if test "${with_subdirs+set}" = set; then
3100 withval
=$with_subdirs;
3101 if test "$withval" = yes; then
3102 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3104 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3109 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3114 eval "$wx_cv_use_subdirs"
3116 if test x"$withstring" = xwithout; then
3117 if test $wxWITH_SUBDIRS = yes; then
3123 result=$wxWITH_SUBDIRS
3126 { echo "$as_me:$LINENO: result: $result" >&5
3127 echo "${ECHO_T}$result" >&6; }
3130 # Check whether --with-flavour was given.
3131 if test "${with_flavour+set}" = set; then
3132 withval=$with_flavour; WX_FLAVOUR="$withval"
3138 if test -z "$defaultval"; then
3139 if test x"$enablestring" = xdisable; then
3146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3147 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3148 # Check whether --enable-official_build was given.
3149 if test "${enable_official_build+set}" = set; then
3150 enableval=$enable_official_build;
3151 if test "$enableval" = yes; then
3152 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3154 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3159 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3164 eval "$wx_cv_use_official_build"
3166 if test x"$enablestring" = xdisable; then
3167 if test $wxUSE_OFFICIAL_BUILD = yes; then
3173 result=$wxUSE_OFFICIAL_BUILD
3176 { echo "$as_me:$LINENO: result
: $result" >&5
3177 echo "${ECHO_T}$result" >&6; }
3179 # Check whether --enable-vendor was given.
3180 if test "${enable_vendor+set}" = set; then
3181 enableval=$enable_vendor; VENDOR="$enableval"
3184 if test "x
$VENDOR" = "x
"; then
3189 enablestring=disable
3191 if test -z "$defaultval"; then
3192 if test x"$enablestring" = xdisable; then
3199 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3200 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3201 # Check whether --enable-all-features was given.
3202 if test "${enable_all_features+set}" = set; then
3203 enableval=$enable_all_features;
3204 if test "$enableval" = yes; then
3205 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3207 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3212 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3217 eval "$wx_cv_use_all_features"
3219 if test x
"$enablestring" = xdisable
; then
3220 if test $wxUSE_ALL_FEATURES = yes; then
3226 result
=$wxUSE_ALL_FEATURES
3229 { echo "$as_me:$LINENO: result: $result" >&5
3230 echo "${ECHO_T}$result" >&6; }
3234 if test "$wxUSE_GUI" = "yes"; then
3239 if test -z "$defaultval"; then
3240 if test x
"$enablestring" = xdisable
; then
3247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3248 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3249 # Check whether --enable-universal was given.
3250 if test "${enable_universal+set}" = set; then
3251 enableval
=$enable_universal;
3252 if test "$enableval" = yes; then
3253 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3255 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3260 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3265 eval "$wx_cv_use_universal"
3267 if test x"$enablestring" = xdisable; then
3268 if test $wxUSE_UNIVERSAL = yes; then
3274 result=$wxUSE_UNIVERSAL
3277 { echo "$as_me:$LINENO: result: $result" >&5
3278 echo "${ECHO_T}$result" >&6; }
3280 if test "$wxUSE_UNIVERSAL" = "yes"; then
3282 # Check whether --with-themes was given.
3283 if test "${with_themes+set}" = set; then
3284 withval=$with_themes; wxUNIV_THEMES="$withval"
3290 # Check whether --with-gtk was given.
3291 if test "${with_gtk+set}" = set; then
3292 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3296 # Check whether --with-motif was given.
3297 if test "${with_motif+set}" = set; then
3298 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3302 # Check whether --with-mac was given.
3303 if test "${with_mac+set}" = set; then
3304 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3308 # Check whether --with-cocoa was given.
3309 if test "${with_cocoa+set}" = set; then
3310 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3314 # Check whether --with-wine was given.
3315 if test "${with_wine+set}" = set; then
3316 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3320 # Check whether --with-msw was given.
3321 if test "${with_msw+set}" = set; then
3322 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3326 # Check whether --with-pm was given.
3327 if test "${with_pm+set}" = set; then
3328 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3332 # Check whether --with-mgl was given.
3333 if test "${with_mgl+set}" = set; then
3334 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3338 # Check whether --with-directfb was given.
3339 if test "${with_directfb+set}" = set; then
3340 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3344 # Check whether --with-microwin was given.
3345 if test "${with_microwin+set}" = set; then
3346 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3350 # Check whether --with-x11 was given.
3351 if test "${with_x11+set}" = set; then
3352 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3358 if test -z "$defaultval"; then
3359 if test x"$enablestring" = xdisable; then
3366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3367 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3368 # Check whether --enable-nanox was given.
3369 if test "${enable_nanox+set}" = set; then
3370 enableval=$enable_nanox;
3371 if test "$enableval" = yes; then
3372 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3374 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3379 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3384 eval "$wx_cv_use_nanox"
3386 if test x"$enablestring" = xdisable; then
3387 if test $wxUSE_NANOX = yes; then
3396 { echo "$as_me:$LINENO: result
: $result" >&5
3397 echo "${ECHO_T}$result" >&6; }
3400 # Check whether --enable-gtk2 was given.
3401 if test "${enable_gtk2+set}" = set; then
3402 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3408 if test -z "$defaultval"; then
3409 if test x"$enablestring" = xdisable; then
3416 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3417 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3418 # Check whether --enable-gpe was given.
3419 if test "${enable_gpe+set}" = set; then
3420 enableval=$enable_gpe;
3421 if test "$enableval" = yes; then
3422 wx_cv_use_gpe='wxUSE_GPE=yes'
3424 wx_cv_use_gpe='wxUSE_GPE=no'
3429 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3434 eval "$wx_cv_use_gpe"
3436 if test x
"$enablestring" = xdisable
; then
3437 if test $wxUSE_GPE = yes; then
3446 { echo "$as_me:$LINENO: result: $result" >&5
3447 echo "${ECHO_T}$result" >&6; }
3451 { echo "$as_me:$LINENO: checking for toolkit" >&5
3452 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3454 # In Wine, we need to default to MSW, not GTK or MOTIF
3455 if test "$wxUSE_WINE" = "yes"; then
3456 DEFAULT_DEFAULT_wxUSE_GTK
=0
3457 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3458 DEFAULT_DEFAULT_wxUSE_MSW
=1
3465 if test "$wxUSE_GUI" = "yes"; then
3467 if test "$USE_BEOS" = 1; then
3468 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3469 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3470 { (exit 1); exit 1; }; }
3473 if test "$TOOLKIT_GIVEN" = 1; then
3474 for toolkit
in $ALL_TOOLKITS; do
3476 eval "value=\$${var}"
3477 if test "x$value" = "xno"; then
3479 elif test "x$value" != "x"; then
3483 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3484 eval "wx${toolkit}_VERSION=$value"
3488 for toolkit
in $ALL_TOOLKITS; do
3489 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3490 eval "wxUSE_$toolkit=\$${var}"
3494 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
3495 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
3496 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3499 *-pc-os2_emx | *-pc-os2-emx )
3500 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3503 case "$NUM_TOOLKITS" in
3507 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3508 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3509 { (exit 1); exit 1; }; }
3512 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3513 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3514 { (exit 1); exit 1; }; }
3517 # to be removed when --disable-gtk2 isn't needed
3518 if test "x$wxUSE_GTK2" = "xyes"; then
3520 elif test "x$wxUSE_GTK2" = "xno"; then
3524 for toolkit
in $ALL_TOOLKITS; do
3526 eval "value=\$${var}"
3527 if test "$value" = 1; then
3528 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3529 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3530 echo "${ECHO_T}$toolkit_echo" >&6; }
3534 if test "x$host_alias" != "x"; then
3535 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3536 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3538 { echo "$as_me:$LINENO: result: base only" >&5
3539 echo "${ECHO_T}base only" >&6; }
3545 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3546 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3548 # Check whether --with-libpng was given.
3549 if test "${with_libpng+set}" = set; then
3550 withval
=$with_libpng;
3551 if test "$withval" = yes; then
3552 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3553 elif test "$withval" = no
; then
3554 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3555 elif test "$withval" = sys
; then
3556 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3557 elif test "$withval" = builtin; then
3558 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3560 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3561 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3562 { (exit 1); exit 1; }; }
3567 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3572 eval "$wx_cv_use_libpng"
3574 if test "$wxUSE_LIBPNG" = yes; then
3575 { echo "$as_me:$LINENO: result: yes" >&5
3576 echo "${ECHO_T}yes" >&6; }
3577 elif test "$wxUSE_LIBPNG" = no; then
3578 { echo "$as_me:$LINENO: result: no" >&5
3579 echo "${ECHO_T}no" >&6; }
3580 elif test "$wxUSE_LIBPNG" = sys; then
3581 { echo "$as_me:$LINENO: result: system version" >&5
3582 echo "${ECHO_T}system version" >&6; }
3583 elif test "$wxUSE_LIBPNG" = builtin; then
3584 { echo "$as_me:$LINENO: result: builtin version" >&5
3585 echo "${ECHO_T}builtin version" >&6; }
3587 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3588 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3589 { (exit 1); exit 1; }; }
3593 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3594 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3596 # Check whether --with-libjpeg was given.
3597 if test "${with_libjpeg+set}" = set; then
3598 withval=$with_libjpeg;
3599 if test "$withval" = yes; then
3600 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3601 elif test "$withval" = no; then
3602 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3603 elif test "$withval" = sys; then
3604 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3605 elif test "$withval" = builtin; then
3606 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3608 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3609 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3610 { (exit 1); exit 1; }; }
3615 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3620 eval "$wx_cv_use_libjpeg"
3622 if test "$wxUSE_LIBJPEG" = yes; then
3623 { echo "$as_me:$LINENO: result
: yes" >&5
3624 echo "${ECHO_T}yes" >&6; }
3625 elif test "$wxUSE_LIBJPEG" = no; then
3626 { echo "$as_me:$LINENO: result
: no
" >&5
3627 echo "${ECHO_T}no
" >&6; }
3628 elif test "$wxUSE_LIBJPEG" = sys; then
3629 { echo "$as_me:$LINENO: result
: system version
" >&5
3630 echo "${ECHO_T}system version
" >&6; }
3631 elif test "$wxUSE_LIBJPEG" = builtin; then
3632 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3633 echo "${ECHO_T}builtin version
" >&6; }
3635 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3636 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3637 { (exit 1); exit 1; }; }
3641 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3642 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3644 # Check whether --with-libtiff was given.
3645 if test "${with_libtiff+set}" = set; then
3646 withval=$with_libtiff;
3647 if test "$withval" = yes; then
3648 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3649 elif test "$withval" = no; then
3650 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3651 elif test "$withval" = sys; then
3652 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3653 elif test "$withval" = builtin; then
3654 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3656 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3657 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3658 { (exit 1); exit 1; }; }
3663 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3668 eval "$wx_cv_use_libtiff"
3670 if test "$wxUSE_LIBTIFF" = yes; then
3671 { echo "$as_me:$LINENO: result: yes" >&5
3672 echo "${ECHO_T}yes" >&6; }
3673 elif test "$wxUSE_LIBTIFF" = no
; then
3674 { echo "$as_me:$LINENO: result: no" >&5
3675 echo "${ECHO_T}no" >&6; }
3676 elif test "$wxUSE_LIBTIFF" = sys
; then
3677 { echo "$as_me:$LINENO: result: system version" >&5
3678 echo "${ECHO_T}system version" >&6; }
3679 elif test "$wxUSE_LIBTIFF" = builtin; then
3680 { echo "$as_me:$LINENO: result: builtin version" >&5
3681 echo "${ECHO_T}builtin version" >&6; }
3683 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3684 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3685 { (exit 1); exit 1; }; }
3689 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3690 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3692 # Check whether --with-libxpm was given.
3693 if test "${with_libxpm+set}" = set; then
3694 withval
=$with_libxpm;
3695 if test "$withval" = yes; then
3696 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3697 elif test "$withval" = no
; then
3698 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3699 elif test "$withval" = sys
; then
3700 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3701 elif test "$withval" = builtin; then
3702 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3704 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3705 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3706 { (exit 1); exit 1; }; }
3711 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3716 eval "$wx_cv_use_libxpm"
3718 if test "$wxUSE_LIBXPM" = yes; then
3719 { echo "$as_me:$LINENO: result: yes" >&5
3720 echo "${ECHO_T}yes" >&6; }
3721 elif test "$wxUSE_LIBXPM" = no; then
3722 { echo "$as_me:$LINENO: result: no" >&5
3723 echo "${ECHO_T}no" >&6; }
3724 elif test "$wxUSE_LIBXPM" = sys; then
3725 { echo "$as_me:$LINENO: result: system version" >&5
3726 echo "${ECHO_T}system version" >&6; }
3727 elif test "$wxUSE_LIBXPM" = builtin; then
3728 { echo "$as_me:$LINENO: result: builtin version" >&5
3729 echo "${ECHO_T}builtin version" >&6; }
3731 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3732 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3733 { (exit 1); exit 1; }; }
3738 defaultval=$wxUSE_ALL_FEATURES
3739 if test -z "$defaultval"; then
3740 if test x"$withstring" = xwithout; then
3746 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3747 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3749 # Check whether --with-libmspack was given.
3750 if test "${with_libmspack+set}" = set; then
3751 withval=$with_libmspack;
3752 if test "$withval" = yes; then
3753 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3755 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3760 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3765 eval "$wx_cv_use_libmspack"
3767 if test x"$withstring" = xwithout; then
3768 if test $wxUSE_LIBMSPACK = yes; then
3774 result=$wxUSE_LIBMSPACK
3777 { echo "$as_me:$LINENO: result
: $result" >&5
3778 echo "${ECHO_T}$result" >&6; }
3782 defaultval=$wxUSE_ALL_FEATURES
3783 if test -z "$defaultval"; then
3784 if test x"$withstring" = xwithout; then
3790 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gtkprint" >&5
3791 echo $ECHO_N "checking
for --${withstring:-with}-gtkprint...
$ECHO_C" >&6; }
3793 # Check whether --with-gtkprint was given.
3794 if test "${with_gtkprint+set}" = set; then
3795 withval=$with_gtkprint;
3796 if test "$withval" = yes; then
3797 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3799 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3804 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3809 eval "$wx_cv_use_gtkprint"
3811 if test x
"$withstring" = xwithout
; then
3812 if test $wxUSE_GTKPRINT = yes; then
3818 result
=$wxUSE_GTKPRINT
3821 { echo "$as_me:$LINENO: result: $result" >&5
3822 echo "${ECHO_T}$result" >&6; }
3826 defaultval
=$wxUSE_ALL_FEATURES
3827 if test -z "$defaultval"; then
3828 if test x
"$withstring" = xwithout
; then
3834 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3835 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3837 # Check whether --with-gnomeprint was given.
3838 if test "${with_gnomeprint+set}" = set; then
3839 withval
=$with_gnomeprint;
3840 if test "$withval" = yes; then
3841 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3843 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3848 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3853 eval "$wx_cv_use_gnomeprint"
3855 if test x"$withstring" = xwithout; then
3856 if test $wxUSE_LIBGNOMEPRINT = yes; then
3862 result=$wxUSE_LIBGNOMEPRINT
3865 { echo "$as_me:$LINENO: result: $result" >&5
3866 echo "${ECHO_T}$result" >&6; }
3870 defaultval=$wxUSE_ALL_FEATURES
3871 if test -z "$defaultval"; then
3872 if test x"$withstring" = xwithout; then
3878 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3879 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3881 # Check whether --with-gnomevfs was given.
3882 if test "${with_gnomevfs+set}" = set; then
3883 withval=$with_gnomevfs;
3884 if test "$withval" = yes; then
3885 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
3887 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
3892 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3897 eval "$wx_cv_use_gnomevfs"
3899 if test x"$withstring" = xwithout; then
3900 if test $wxUSE_LIBGNOMEVFS = yes; then
3906 result=$wxUSE_LIBGNOMEVFS
3909 { echo "$as_me:$LINENO: result
: $result" >&5
3910 echo "${ECHO_T}$result" >&6; }
3914 defaultval=$wxUSE_ALL_FEATURES
3915 if test -z "$defaultval"; then
3916 if test x"$withstring" = xwithout; then
3922 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-hildon" >&5
3923 echo $ECHO_N "checking
for --${withstring:-with}-hildon...
$ECHO_C" >&6; }
3925 # Check whether --with-hildon was given.
3926 if test "${with_hildon+set}" = set; then
3927 withval=$with_hildon;
3928 if test "$withval" = yes; then
3929 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3931 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3936 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3941 eval "$wx_cv_use_hildon"
3943 if test x
"$withstring" = xwithout
; then
3944 if test $wxUSE_LIBHILDON = yes; then
3950 result
=$wxUSE_LIBHILDON
3953 { echo "$as_me:$LINENO: result: $result" >&5
3954 echo "${ECHO_T}$result" >&6; }
3958 defaultval
=$wxUSE_ALL_FEATURES
3959 if test -z "$defaultval"; then
3960 if test x
"$withstring" = xwithout
; then
3966 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3967 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3969 # Check whether --with-opengl was given.
3970 if test "${with_opengl+set}" = set; then
3971 withval
=$with_opengl;
3972 if test "$withval" = yes; then
3973 wx_cv_use_opengl
='wxUSE_OPENGL=yes'
3975 wx_cv_use_opengl
='wxUSE_OPENGL=no'
3980 wx_cv_use_opengl
='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
3985 eval "$wx_cv_use_opengl"
3987 if test x"$withstring" = xwithout; then
3988 if test $wxUSE_OPENGL = yes; then
3994 result=$wxUSE_OPENGL
3997 { echo "$as_me:$LINENO: result: $result" >&5
3998 echo "${ECHO_T}$result" >&6; }
4005 defaultval=$wxUSE_ALL_FEATURES
4006 if test -z "$defaultval"; then
4007 if test x"$withstring" = xwithout; then
4013 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4014 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4016 # Check whether --with-dmalloc was given.
4017 if test "${with_dmalloc+set}" = set; then
4018 withval=$with_dmalloc;
4019 if test "$withval" = yes; then
4020 wx_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
4022 wx_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
4027 wx_cv_use_dmalloc='wxUSE_DMALLOC
=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4032 eval "$wx_cv_use_dmalloc"
4034 if test x"$withstring" = xwithout; then
4035 if test $wxUSE_DMALLOC = yes; then
4041 result=$wxUSE_DMALLOC
4044 { echo "$as_me:$LINENO: result
: $result" >&5
4045 echo "${ECHO_T}$result" >&6; }
4049 defaultval=$wxUSE_ALL_FEATURES
4050 if test -z "$defaultval"; then
4051 if test x"$withstring" = xwithout; then
4057 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-sdl" >&5
4058 echo $ECHO_N "checking
for --${withstring:-with}-sdl...
$ECHO_C" >&6; }
4060 # Check whether --with-sdl was given.
4061 if test "${with_sdl+set}" = set; then
4063 if test "$withval" = yes; then
4064 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4066 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4071 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4076 eval "$wx_cv_use_sdl"
4078 if test x
"$withstring" = xwithout
; then
4079 if test $wxUSE_LIBSDL = yes; then
4085 result
=$wxUSE_LIBSDL
4088 { echo "$as_me:$LINENO: result: $result" >&5
4089 echo "${ECHO_T}$result" >&6; }
4092 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4093 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4095 # Check whether --with-regex was given.
4096 if test "${with_regex+set}" = set; then
4097 withval
=$with_regex;
4098 if test "$withval" = yes; then
4099 wx_cv_use_regex
='wxUSE_REGEX=yes'
4100 elif test "$withval" = no
; then
4101 wx_cv_use_regex
='wxUSE_REGEX=no'
4102 elif test "$withval" = sys
; then
4103 wx_cv_use_regex
='wxUSE_REGEX=sys'
4104 elif test "$withval" = builtin; then
4105 wx_cv_use_regex
='wxUSE_REGEX=builtin'
4107 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4108 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4109 { (exit 1); exit 1; }; }
4114 wx_cv_use_regex
='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4119 eval "$wx_cv_use_regex"
4121 if test "$wxUSE_REGEX" = yes; then
4122 { echo "$as_me:$LINENO: result: yes" >&5
4123 echo "${ECHO_T}yes" >&6; }
4124 elif test "$wxUSE_REGEX" = no; then
4125 { echo "$as_me:$LINENO: result: no" >&5
4126 echo "${ECHO_T}no" >&6; }
4127 elif test "$wxUSE_REGEX" = sys; then
4128 { echo "$as_me:$LINENO: result: system version" >&5
4129 echo "${ECHO_T}system version" >&6; }
4130 elif test "$wxUSE_REGEX" = builtin; then
4131 { echo "$as_me:$LINENO: result: builtin version" >&5
4132 echo "${ECHO_T}builtin version" >&6; }
4134 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4135 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4136 { (exit 1); exit 1; }; }
4140 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4141 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4143 # Check whether --with-zlib was given.
4144 if test "${with_zlib+set}" = set; then
4146 if test "$withval" = yes; then
4147 wx_cv_use_zlib='wxUSE_ZLIB
=yes'
4148 elif test "$withval" = no; then
4149 wx_cv_use_zlib='wxUSE_ZLIB
=no
'
4150 elif test "$withval" = sys; then
4151 wx_cv_use_zlib='wxUSE_ZLIB
=sys
'
4152 elif test "$withval" = builtin; then
4153 wx_cv_use_zlib='wxUSE_ZLIB
=builtin'
4155 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4156 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4157 { (exit 1); exit 1; }; }
4162 wx_cv_use_zlib='wxUSE_ZLIB
=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4167 eval "$wx_cv_use_zlib"
4169 if test "$wxUSE_ZLIB" = yes; then
4170 { echo "$as_me:$LINENO: result
: yes" >&5
4171 echo "${ECHO_T}yes" >&6; }
4172 elif test "$wxUSE_ZLIB" = no; then
4173 { echo "$as_me:$LINENO: result
: no
" >&5
4174 echo "${ECHO_T}no
" >&6; }
4175 elif test "$wxUSE_ZLIB" = sys; then
4176 { echo "$as_me:$LINENO: result
: system version
" >&5
4177 echo "${ECHO_T}system version
" >&6; }
4178 elif test "$wxUSE_ZLIB" = builtin; then
4179 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4180 echo "${ECHO_T}builtin version
" >&6; }
4182 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4183 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4184 { (exit 1); exit 1; }; }
4188 { echo "$as_me:$LINENO: checking
for --with-expat" >&5
4189 echo $ECHO_N "checking
for --with-expat...
$ECHO_C" >&6; }
4191 # Check whether --with-expat was given.
4192 if test "${with_expat+set}" = set; then
4193 withval=$with_expat;
4194 if test "$withval" = yes; then
4195 wx_cv_use_expat='wxUSE_EXPAT=yes'
4196 elif test "$withval" = no; then
4197 wx_cv_use_expat='wxUSE_EXPAT=no'
4198 elif test "$withval" = sys; then
4199 wx_cv_use_expat='wxUSE_EXPAT=sys'
4200 elif test "$withval" = builtin; then
4201 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4203 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" >&5
4204 echo "$as_me: error
: Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" >&2;}
4205 { (exit 1); exit 1; }; }
4210 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4215 eval "$wx_cv_use_expat"
4217 if test "$wxUSE_EXPAT" = yes; then
4218 { echo "$as_me:$LINENO: result: yes" >&5
4219 echo "${ECHO_T}yes" >&6; }
4220 elif test "$wxUSE_EXPAT" = no
; then
4221 { echo "$as_me:$LINENO: result: no" >&5
4222 echo "${ECHO_T}no" >&6; }
4223 elif test "$wxUSE_EXPAT" = sys
; then
4224 { echo "$as_me:$LINENO: result: system version" >&5
4225 echo "${ECHO_T}system version" >&6; }
4226 elif test "$wxUSE_EXPAT" = builtin; then
4227 { echo "$as_me:$LINENO: result: builtin version" >&5
4228 echo "${ECHO_T}builtin version" >&6; }
4230 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4231 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4232 { (exit 1); exit 1; }; }
4236 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4237 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4239 # Check whether --with-macosx-sdk was given.
4240 if test "${with_macosx_sdk+set}" = set; then
4241 withval
=$with_macosx_sdk;
4242 wxUSE_MACOSX_SDK
=$withval
4243 wx_cv_use_macosx_sdk
="wxUSE_MACOSX_SDK=$withval"
4247 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4248 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4250 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4251 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4253 # Check whether --with-macosx-version-min was given.
4254 if test "${with_macosx_version_min+set}" = set; then
4255 withval
=$with_macosx_version_min;
4256 wxUSE_MACOSX_VERSION_MIN
=$withval
4257 wx_cv_use_macosx_version_min
="wxUSE_MACOSX_VERSION_MIN=$withval"
4261 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4262 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4266 enablestring
=disable
4268 if test -z "$defaultval"; then
4269 if test x
"$enablestring" = xdisable
; then
4276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4277 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4278 # Check whether --enable-shared was given.
4279 if test "${enable_shared+set}" = set; then
4280 enableval
=$enable_shared;
4281 if test "$enableval" = yes; then
4282 wx_cv_use_shared
='wxUSE_SHARED=yes'
4284 wx_cv_use_shared
='wxUSE_SHARED=no'
4289 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4294 eval "$wx_cv_use_shared"
4296 if test x"$enablestring" = xdisable; then
4297 if test $wxUSE_SHARED = yes; then
4303 result=$wxUSE_SHARED
4306 { echo "$as_me:$LINENO: result: $result" >&5
4307 echo "${ECHO_T}$result" >&6; }
4310 enablestring=disable
4312 if test -z "$defaultval"; then
4313 if test x"$enablestring" = xdisable; then
4320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4321 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4322 # Check whether --enable-optimise was given.
4323 if test "${enable_optimise+set}" = set; then
4324 enableval=$enable_optimise;
4325 if test "$enableval" = yes; then
4326 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4328 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4333 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4338 eval "$wx_cv_use_optimise"
4340 if test x"$enablestring" = xdisable; then
4341 if test $wxUSE_OPTIMISE = yes; then
4347 result=$wxUSE_OPTIMISE
4350 { echo "$as_me:$LINENO: result
: $result" >&5
4351 echo "${ECHO_T}$result" >&6; }
4356 if test -z "$defaultval"; then
4357 if test x"$enablestring" = xdisable; then
4364 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4365 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4366 # Check whether --enable-debug was given.
4367 if test "${enable_debug+set}" = set; then
4368 enableval=$enable_debug;
4369 if test "$enableval" = yes; then
4370 wx_cv_use_debug='wxUSE_DEBUG=yes'
4372 wx_cv_use_debug='wxUSE_DEBUG=no'
4377 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4382 eval "$wx_cv_use_debug"
4384 if test x
"$enablestring" = xdisable
; then
4385 if test $wxUSE_DEBUG = yes; then
4394 { echo "$as_me:$LINENO: result: $result" >&5
4395 echo "${ECHO_T}$result" >&6; }
4400 if test -z "$defaultval"; then
4401 if test x
"$enablestring" = xdisable
; then
4408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4409 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4410 # Check whether --enable-stl was given.
4411 if test "${enable_stl+set}" = set; then
4412 enableval
=$enable_stl;
4413 if test "$enableval" = yes; then
4414 wx_cv_use_stl
='wxUSE_STL=yes'
4416 wx_cv_use_stl
='wxUSE_STL=no'
4421 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4426 eval "$wx_cv_use_stl"
4428 if test x"$enablestring" = xdisable; then
4429 if test $wxUSE_STL = yes; then
4438 { echo "$as_me:$LINENO: result: $result" >&5
4439 echo "${ECHO_T}$result" >&6; }
4444 if test -z "$defaultval"; then
4445 if test x"$enablestring" = xdisable; then
4452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4453 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4454 # Check whether --enable-std_iostreams was given.
4455 if test "${enable_std_iostreams+set}" = set; then
4456 enableval=$enable_std_iostreams;
4457 if test "$enableval" = yes; then
4458 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4460 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4465 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4470 eval "$wx_cv_use_std_iostreams"
4472 if test x"$enablestring" = xdisable; then
4473 if test $wxUSE_STD_IOSTREAM = yes; then
4479 result=$wxUSE_STD_IOSTREAM
4482 { echo "$as_me:$LINENO: result
: $result" >&5
4483 echo "${ECHO_T}$result" >&6; }
4488 if test -z "$defaultval"; then
4489 if test x"$enablestring" = xdisable; then
4496 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4497 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4498 # Check whether --enable-std_string was given.
4499 if test "${enable_std_string+set}" = set; then
4500 enableval=$enable_std_string;
4501 if test "$enableval" = yes; then
4502 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4504 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4509 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4514 eval "$wx_cv_use_std_string"
4516 if test x
"$enablestring" = xdisable
; then
4517 if test $wxUSE_STD_STRING = yes; then
4523 result
=$wxUSE_STD_STRING
4526 { echo "$as_me:$LINENO: result: $result" >&5
4527 echo "${ECHO_T}$result" >&6; }
4530 enablestring
=disable
4532 if test -z "$defaultval"; then
4533 if test x
"$enablestring" = xdisable
; then
4540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4541 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4542 # Check whether --enable-unicode was given.
4543 if test "${enable_unicode+set}" = set; then
4544 enableval
=$enable_unicode;
4545 if test "$enableval" = yes; then
4546 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4548 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4553 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4558 eval "$wx_cv_use_unicode"
4560 if test x"$enablestring" = xdisable; then
4561 if test $wxUSE_UNICODE = yes; then
4567 result=$wxUSE_UNICODE
4570 { echo "$as_me:$LINENO: result: $result" >&5
4571 echo "${ECHO_T}$result" >&6; }
4576 if test -z "$defaultval"; then
4577 if test x"$enablestring" = xdisable; then
4584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4585 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4586 # Check whether --enable-mslu was given.
4587 if test "${enable_mslu+set}" = set; then
4588 enableval=$enable_mslu;
4589 if test "$enableval" = yes; then
4590 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4592 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4597 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4602 eval "$wx_cv_use_mslu"
4604 if test x"$enablestring" = xdisable; then
4605 if test $wxUSE_UNICODE_MSLU = yes; then
4611 result=$wxUSE_UNICODE_MSLU
4614 { echo "$as_me:$LINENO: result
: $result" >&5
4615 echo "${ECHO_T}$result" >&6; }
4619 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4620 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4621 # Check whether --enable-utf8 was given.
4622 if test "${enable_utf8+set}" = set; then
4623 enableval=$enable_utf8;
4624 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4628 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4633 eval "$wx_cv_use_utf8"
4635 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4636 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4641 if test -z "$defaultval"; then
4642 if test x"$enablestring" = xdisable; then
4649 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4650 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4651 # Check whether --enable-utf8only was given.
4652 if test "${enable_utf8only+set}" = set; then
4653 enableval=$enable_utf8only;
4654 if test "$enableval" = yes; then
4655 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4657 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4662 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4667 eval "$wx_cv_use_utf8only"
4669 if test x
"$enablestring" = xdisable
; then
4670 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4676 result
=$wxUSE_UNICODE_UTF8_LOCALE
4679 { echo "$as_me:$LINENO: result: $result" >&5
4680 echo "${ECHO_T}$result" >&6; }
4685 if test -z "$defaultval"; then
4686 if test x
"$enablestring" = xdisable
; then
4693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4694 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4695 # Check whether --enable-extended_rtti was given.
4696 if test "${enable_extended_rtti+set}" = set; then
4697 enableval
=$enable_extended_rtti;
4698 if test "$enableval" = yes; then
4699 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
4701 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
4706 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4711 eval "$wx_cv_use_extended_rtti"
4713 if test x"$enablestring" = xdisable; then
4714 if test $wxUSE_EXTENDED_RTTI = yes; then
4720 result=$wxUSE_EXTENDED_RTTI
4723 { echo "$as_me:$LINENO: result: $result" >&5
4724 echo "${ECHO_T}$result" >&6; }
4726 if test "$USE_OS2" = 1; then
4727 DEFAULT_wxUSE_OMF=no
4731 if test -z "$defaultval"; then
4732 if test x"$enablestring" = xdisable; then
4739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4740 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4741 # Check whether --enable-omf was given.
4742 if test "${enable_omf+set}" = set; then
4743 enableval=$enable_omf;
4744 if test "$enableval" = yes; then
4745 wx_cv_use_omf='wxUSE_OMF
=yes'
4747 wx_cv_use_omf='wxUSE_OMF
=no
'
4752 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4757 eval "$wx_cv_use_omf"
4759 if test x"$enablestring" = xdisable; then
4760 if test $wxUSE_OMF = yes; then
4769 { echo "$as_me:$LINENO: result
: $result" >&5
4770 echo "${ECHO_T}$result" >&6; }
4774 if test "$wxUSE_DEBUG" = "yes"; then
4775 DEFAULT_wxUSE_DEBUG_FLAG=yes
4776 DEFAULT_wxUSE_DEBUG_INFO=yes
4778 elif test "$wxUSE_DEBUG" = "no
"; then
4779 DEFAULT_wxUSE_DEBUG_FLAG=no
4780 DEFAULT_wxUSE_DEBUG_INFO=no
4787 if test -z "$defaultval"; then
4788 if test x"$enablestring" = xdisable; then
4795 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
4796 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
4797 # Check whether --enable-debug_flag was given.
4798 if test "${enable_debug_flag+set}" = set; then
4799 enableval=$enable_debug_flag;
4800 if test "$enableval" = yes; then
4801 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4803 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4808 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4813 eval "$wx_cv_use_debug_flag"
4815 if test x
"$enablestring" = xdisable
; then
4816 if test $wxUSE_DEBUG_FLAG = yes; then
4822 result
=$wxUSE_DEBUG_FLAG
4825 { echo "$as_me:$LINENO: result: $result" >&5
4826 echo "${ECHO_T}$result" >&6; }
4831 if test -z "$defaultval"; then
4832 if test x
"$enablestring" = xdisable
; then
4839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4840 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4841 # Check whether --enable-debug_info was given.
4842 if test "${enable_debug_info+set}" = set; then
4843 enableval
=$enable_debug_info;
4844 if test "$enableval" = yes; then
4845 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4847 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4852 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4857 eval "$wx_cv_use_debug_info"
4859 if test x"$enablestring" = xdisable; then
4860 if test $wxUSE_DEBUG_INFO = yes; then
4866 result=$wxUSE_DEBUG_INFO
4869 { echo "$as_me:$LINENO: result: $result" >&5
4870 echo "${ECHO_T}$result" >&6; }
4873 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4881 if test -z "$defaultval"; then
4882 if test x"$enablestring" = xdisable; then
4889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4890 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4891 # Check whether --enable-debug_gdb was given.
4892 if test "${enable_debug_gdb+set}" = set; then
4893 enableval=$enable_debug_gdb;
4894 if test "$enableval" = yes; then
4895 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
4897 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
4902 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4907 eval "$wx_cv_use_debug_gdb"
4909 if test x"$enablestring" = xdisable; then
4910 if test $wxUSE_DEBUG_GDB = yes; then
4916 result=$wxUSE_DEBUG_GDB
4919 { echo "$as_me:$LINENO: result
: $result" >&5
4920 echo "${ECHO_T}$result" >&6; }
4925 if test -z "$defaultval"; then
4926 if test x"$enablestring" = xdisable; then
4933 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_cntxt" >&5
4934 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_cntxt...
$ECHO_C" >&6; }
4935 # Check whether --enable-debug_cntxt was given.
4936 if test "${enable_debug_cntxt+set}" = set; then
4937 enableval=$enable_debug_cntxt;
4938 if test "$enableval" = yes; then
4939 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4941 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4946 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4951 eval "$wx_cv_use_debug_cntxt"
4953 if test x
"$enablestring" = xdisable
; then
4954 if test $wxUSE_DEBUG_CONTEXT = yes; then
4960 result
=$wxUSE_DEBUG_CONTEXT
4963 { echo "$as_me:$LINENO: result: $result" >&5
4964 echo "${ECHO_T}$result" >&6; }
4969 if test -z "$defaultval"; then
4970 if test x
"$enablestring" = xdisable
; then
4977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4978 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4979 # Check whether --enable-mem_tracing was given.
4980 if test "${enable_mem_tracing+set}" = set; then
4981 enableval
=$enable_mem_tracing;
4982 if test "$enableval" = yes; then
4983 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4985 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4990 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4995 eval "$wx_cv_use_mem_tracing"
4997 if test x"$enablestring" = xdisable; then
4998 if test $wxUSE_MEM_TRACING = yes; then
5004 result=$wxUSE_MEM_TRACING
5007 { echo "$as_me:$LINENO: result: $result" >&5
5008 echo "${ECHO_T}$result" >&6; }
5013 if test -z "$defaultval"; then
5014 if test x"$enablestring" = xdisable; then
5021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5022 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5023 # Check whether --enable-profile was given.
5024 if test "${enable_profile+set}" = set; then
5025 enableval=$enable_profile;
5026 if test "$enableval" = yes; then
5027 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5029 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5034 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5039 eval "$wx_cv_use_profile"
5041 if test x"$enablestring" = xdisable; then
5042 if test $wxUSE_PROFILE = yes; then
5048 result=$wxUSE_PROFILE
5051 { echo "$as_me:$LINENO: result
: $result" >&5
5052 echo "${ECHO_T}$result" >&6; }
5057 if test -z "$defaultval"; then
5058 if test x"$enablestring" = xdisable; then
5065 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5066 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5067 # Check whether --enable-no_rtti was given.
5068 if test "${enable_no_rtti+set}" = set; then
5069 enableval=$enable_no_rtti;
5070 if test "$enableval" = yes; then
5071 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5073 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5078 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5083 eval "$wx_cv_use_no_rtti"
5085 if test x
"$enablestring" = xdisable
; then
5086 if test $wxUSE_NO_RTTI = yes; then
5092 result
=$wxUSE_NO_RTTI
5095 { echo "$as_me:$LINENO: result: $result" >&5
5096 echo "${ECHO_T}$result" >&6; }
5101 if test -z "$defaultval"; then
5102 if test x
"$enablestring" = xdisable
; then
5109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5110 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5111 # Check whether --enable-no_exceptions was given.
5112 if test "${enable_no_exceptions+set}" = set; then
5113 enableval
=$enable_no_exceptions;
5114 if test "$enableval" = yes; then
5115 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5117 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5122 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5127 eval "$wx_cv_use_no_exceptions"
5129 if test x"$enablestring" = xdisable; then
5130 if test $wxUSE_NO_EXCEPTIONS = yes; then
5136 result=$wxUSE_NO_EXCEPTIONS
5139 { echo "$as_me:$LINENO: result: $result" >&5
5140 echo "${ECHO_T}$result" >&6; }
5145 if test -z "$defaultval"; then
5146 if test x"$enablestring" = xdisable; then
5153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5154 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5155 # Check whether --enable-permissive was given.
5156 if test "${enable_permissive+set}" = set; then
5157 enableval=$enable_permissive;
5158 if test "$enableval" = yes; then
5159 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5161 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5166 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5171 eval "$wx_cv_use_permissive"
5173 if test x"$enablestring" = xdisable; then
5174 if test $wxUSE_PERMISSIVE = yes; then
5180 result=$wxUSE_PERMISSIVE
5183 { echo "$as_me:$LINENO: result
: $result" >&5
5184 echo "${ECHO_T}$result" >&6; }
5189 if test -z "$defaultval"; then
5190 if test x"$enablestring" = xdisable; then
5197 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5198 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5199 # Check whether --enable-no_deps was given.
5200 if test "${enable_no_deps+set}" = set; then
5201 enableval=$enable_no_deps;
5202 if test "$enableval" = yes; then
5203 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5205 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5210 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5215 eval "$wx_cv_use_no_deps"
5217 if test x
"$enablestring" = xdisable
; then
5218 if test $wxUSE_NO_DEPS = yes; then
5224 result
=$wxUSE_NO_DEPS
5227 { echo "$as_me:$LINENO: result: $result" >&5
5228 echo "${ECHO_T}$result" >&6; }
5231 enablestring
=disable
5233 if test -z "$defaultval"; then
5234 if test x
"$enablestring" = xdisable
; then
5241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5242 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5243 # Check whether --enable-vararg_macros was given.
5244 if test "${enable_vararg_macros+set}" = set; then
5245 enableval
=$enable_vararg_macros;
5246 if test "$enableval" = yes; then
5247 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5249 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5254 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5259 eval "$wx_cv_use_vararg_macros"
5261 if test x"$enablestring" = xdisable; then
5262 if test $wxUSE_VARARG_MACROS = yes; then
5268 result=$wxUSE_VARARG_MACROS
5271 { echo "$as_me:$LINENO: result: $result" >&5
5272 echo "${ECHO_T}$result" >&6; }
5276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5277 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5278 # Check whether --enable-universal_binary was given.
5279 if test "${enable_universal_binary+set}" = set; then
5280 enableval=$enable_universal_binary;
5281 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5285 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5290 eval "$wx_cv_use_universal_binary"
5292 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5293 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5299 if test -z "$defaultval"; then
5300 if test x"$enablestring" = xdisable; then
5307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5308 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5309 # Check whether --enable-compat26 was given.
5310 if test "${enable_compat26+set}" = set; then
5311 enableval=$enable_compat26;
5312 if test "$enableval" = yes; then
5313 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5315 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5320 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5325 eval "$wx_cv_use_compat26"
5327 if test x"$enablestring" = xdisable; then
5328 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5334 result=$WXWIN_COMPATIBILITY_2_6
5337 { echo "$as_me:$LINENO: result
: $result" >&5
5338 echo "${ECHO_T}$result" >&6; }
5341 enablestring=disable
5343 if test -z "$defaultval"; then
5344 if test x"$enablestring" = xdisable; then
5351 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5352 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5353 # Check whether --enable-compat28 was given.
5354 if test "${enable_compat28+set}" = set; then
5355 enableval=$enable_compat28;
5356 if test "$enableval" = yes; then
5357 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5359 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5364 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5369 eval "$wx_cv_use_compat28"
5371 if test x
"$enablestring" = xdisable
; then
5372 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5378 result
=$WXWIN_COMPATIBILITY_2_8
5381 { echo "$as_me:$LINENO: result: $result" >&5
5382 echo "${ECHO_T}$result" >&6; }
5386 enablestring
=disable
5388 if test -z "$defaultval"; then
5389 if test x
"$enablestring" = xdisable
; then
5396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5397 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5398 # Check whether --enable-rpath was given.
5399 if test "${enable_rpath+set}" = set; then
5400 enableval
=$enable_rpath;
5401 if test "$enableval" = yes; then
5402 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5404 wx_cv_use_rpath
='wxUSE_RPATH=no'
5409 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5414 eval "$wx_cv_use_rpath"
5416 if test x"$enablestring" = xdisable; then
5417 if test $wxUSE_RPATH = yes; then
5426 { echo "$as_me:$LINENO: result: $result" >&5
5427 echo "${ECHO_T}$result" >&6; }
5433 if test -z "$defaultval"; then
5434 if test x"$enablestring" = xdisable; then
5441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5443 # Check whether --enable-objc_uniquifying was given.
5444 if test "${enable_objc_uniquifying+set}" = set; then
5445 enableval=$enable_objc_uniquifying;
5446 if test "$enableval" = yes; then
5447 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5449 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
5454 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5459 eval "$wx_cv_use_objc_uniquifying"
5461 if test x"$enablestring" = xdisable; then
5462 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5468 result=$wxUSE_OBJC_UNIQUIFYING
5471 { echo "$as_me:$LINENO: result
: $result" >&5
5472 echo "${ECHO_T}$result" >&6; }
5476 enablestring=disable
5478 if test -z "$defaultval"; then
5479 if test x"$enablestring" = xdisable; then
5486 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
5487 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
5488 # Check whether --enable-visibility was given.
5489 if test "${enable_visibility+set}" = set; then
5490 enableval=$enable_visibility;
5491 if test "$enableval" = yes; then
5492 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5494 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5499 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5504 eval "$wx_cv_use_visibility"
5506 if test x
"$enablestring" = xdisable
; then
5507 if test $wxUSE_VISIBILITY = yes; then
5513 result
=$wxUSE_VISIBILITY
5516 { echo "$as_me:$LINENO: result: $result" >&5
5517 echo "${ECHO_T}$result" >&6; }
5523 defaultval
=$wxUSE_ALL_FEATURES
5524 if test -z "$defaultval"; then
5525 if test x
"$enablestring" = xdisable
; then
5532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5533 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5534 # Check whether --enable-intl was given.
5535 if test "${enable_intl+set}" = set; then
5536 enableval
=$enable_intl;
5537 if test "$enableval" = yes; then
5538 wx_cv_use_intl
='wxUSE_INTL=yes'
5540 wx_cv_use_intl
='wxUSE_INTL=no'
5545 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5550 eval "$wx_cv_use_intl"
5552 if test x"$enablestring" = xdisable; then
5553 if test $wxUSE_INTL = yes; then
5562 { echo "$as_me:$LINENO: result: $result" >&5
5563 echo "${ECHO_T}$result" >&6; }
5567 defaultval=$wxUSE_ALL_FEATURES
5568 if test -z "$defaultval"; then
5569 if test x"$enablestring" = xdisable; then
5576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5577 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5578 # Check whether --enable-config was given.
5579 if test "${enable_config+set}" = set; then
5580 enableval=$enable_config;
5581 if test "$enableval" = yes; then
5582 wx_cv_use_config='wxUSE_CONFIG
=yes'
5584 wx_cv_use_config='wxUSE_CONFIG
=no
'
5589 wx_cv_use_config='wxUSE_CONFIG
=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5594 eval "$wx_cv_use_config"
5596 if test x"$enablestring" = xdisable; then
5597 if test $wxUSE_CONFIG = yes; then
5603 result=$wxUSE_CONFIG
5606 { echo "$as_me:$LINENO: result
: $result" >&5
5607 echo "${ECHO_T}$result" >&6; }
5612 defaultval=$wxUSE_ALL_FEATURES
5613 if test -z "$defaultval"; then
5614 if test x"$enablestring" = xdisable; then
5621 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocols" >&5
5622 echo $ECHO_N "checking
for --${enablestring:-enable}-protocols...
$ECHO_C" >&6; }
5623 # Check whether --enable-protocols was given.
5624 if test "${enable_protocols+set}" = set; then
5625 enableval=$enable_protocols;
5626 if test "$enableval" = yes; then
5627 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5629 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5634 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5639 eval "$wx_cv_use_protocols"
5641 if test x
"$enablestring" = xdisable
; then
5642 if test $wxUSE_PROTOCOL = yes; then
5648 result
=$wxUSE_PROTOCOL
5651 { echo "$as_me:$LINENO: result: $result" >&5
5652 echo "${ECHO_T}$result" >&6; }
5656 defaultval
=$wxUSE_ALL_FEATURES
5657 if test -z "$defaultval"; then
5658 if test x
"$enablestring" = xdisable
; then
5665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5666 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5667 # Check whether --enable-ftp was given.
5668 if test "${enable_ftp+set}" = set; then
5669 enableval
=$enable_ftp;
5670 if test "$enableval" = yes; then
5671 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
5673 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
5678 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5683 eval "$wx_cv_use_ftp"
5685 if test x"$enablestring" = xdisable; then
5686 if test $wxUSE_PROTOCOL_FTP = yes; then
5692 result=$wxUSE_PROTOCOL_FTP
5695 { echo "$as_me:$LINENO: result: $result" >&5
5696 echo "${ECHO_T}$result" >&6; }
5700 defaultval=$wxUSE_ALL_FEATURES
5701 if test -z "$defaultval"; then
5702 if test x"$enablestring" = xdisable; then
5709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5710 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5711 # Check whether --enable-http was given.
5712 if test "${enable_http+set}" = set; then
5713 enableval=$enable_http;
5714 if test "$enableval" = yes; then
5715 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
5717 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
5722 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5727 eval "$wx_cv_use_http"
5729 if test x"$enablestring" = xdisable; then
5730 if test $wxUSE_PROTOCOL_HTTP = yes; then
5736 result=$wxUSE_PROTOCOL_HTTP
5739 { echo "$as_me:$LINENO: result
: $result" >&5
5740 echo "${ECHO_T}$result" >&6; }
5744 defaultval=$wxUSE_ALL_FEATURES
5745 if test -z "$defaultval"; then
5746 if test x"$enablestring" = xdisable; then
5753 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fileproto" >&5
5754 echo $ECHO_N "checking
for --${enablestring:-enable}-fileproto...
$ECHO_C" >&6; }
5755 # Check whether --enable-fileproto was given.
5756 if test "${enable_fileproto+set}" = set; then
5757 enableval=$enable_fileproto;
5758 if test "$enableval" = yes; then
5759 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5761 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5766 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5771 eval "$wx_cv_use_fileproto"
5773 if test x
"$enablestring" = xdisable
; then
5774 if test $wxUSE_PROTOCOL_FILE = yes; then
5780 result
=$wxUSE_PROTOCOL_FILE
5783 { echo "$as_me:$LINENO: result: $result" >&5
5784 echo "${ECHO_T}$result" >&6; }
5788 defaultval
=$wxUSE_ALL_FEATURES
5789 if test -z "$defaultval"; then
5790 if test x
"$enablestring" = xdisable
; then
5797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5798 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5799 # Check whether --enable-sockets was given.
5800 if test "${enable_sockets+set}" = set; then
5801 enableval
=$enable_sockets;
5802 if test "$enableval" = yes; then
5803 wx_cv_use_sockets
='wxUSE_SOCKETS=yes'
5805 wx_cv_use_sockets
='wxUSE_SOCKETS=no'
5810 wx_cv_use_sockets
='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5815 eval "$wx_cv_use_sockets"
5817 if test x"$enablestring" = xdisable; then
5818 if test $wxUSE_SOCKETS = yes; then
5824 result=$wxUSE_SOCKETS
5827 { echo "$as_me:$LINENO: result: $result" >&5
5828 echo "${ECHO_T}$result" >&6; }
5832 defaultval=$wxUSE_ALL_FEATURES
5833 if test -z "$defaultval"; then
5834 if test x"$enablestring" = xdisable; then
5841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5842 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5843 # Check whether --enable-ipv6 was given.
5844 if test "${enable_ipv6+set}" = set; then
5845 enableval=$enable_ipv6;
5846 if test "$enableval" = yes; then
5847 wx_cv_use_ipv6='wxUSE_IPV6
=yes'
5849 wx_cv_use_ipv6='wxUSE_IPV6
=no
'
5854 wx_cv_use_ipv6='wxUSE_IPV6
=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5859 eval "$wx_cv_use_ipv6"
5861 if test x"$enablestring" = xdisable; then
5862 if test $wxUSE_IPV6 = yes; then
5871 { echo "$as_me:$LINENO: result
: $result" >&5
5872 echo "${ECHO_T}$result" >&6; }
5876 defaultval=$wxUSE_ALL_FEATURES
5877 if test -z "$defaultval"; then
5878 if test x"$enablestring" = xdisable; then
5885 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ole" >&5
5886 echo $ECHO_N "checking
for --${enablestring:-enable}-ole...
$ECHO_C" >&6; }
5887 # Check whether --enable-ole was given.
5888 if test "${enable_ole+set}" = set; then
5889 enableval=$enable_ole;
5890 if test "$enableval" = yes; then
5891 wx_cv_use_ole='wxUSE_OLE=yes'
5893 wx_cv_use_ole='wxUSE_OLE=no'
5898 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5903 eval "$wx_cv_use_ole"
5905 if test x
"$enablestring" = xdisable
; then
5906 if test $wxUSE_OLE = yes; then
5915 { echo "$as_me:$LINENO: result: $result" >&5
5916 echo "${ECHO_T}$result" >&6; }
5920 defaultval
=$wxUSE_ALL_FEATURES
5921 if test -z "$defaultval"; then
5922 if test x
"$enablestring" = xdisable
; then
5929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5930 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5931 # Check whether --enable-dataobj was given.
5932 if test "${enable_dataobj+set}" = set; then
5933 enableval
=$enable_dataobj;
5934 if test "$enableval" = yes; then
5935 wx_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
5937 wx_cv_use_dataobj
='wxUSE_DATAOBJ=no'
5942 wx_cv_use_dataobj
='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5947 eval "$wx_cv_use_dataobj"
5949 if test x"$enablestring" = xdisable; then
5950 if test $wxUSE_DATAOBJ = yes; then
5956 result=$wxUSE_DATAOBJ
5959 { echo "$as_me:$LINENO: result: $result" >&5
5960 echo "${ECHO_T}$result" >&6; }
5965 defaultval=$wxUSE_ALL_FEATURES
5966 if test -z "$defaultval"; then
5967 if test x"$enablestring" = xdisable; then
5974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5975 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5976 # Check whether --enable-ipc was given.
5977 if test "${enable_ipc+set}" = set; then
5978 enableval=$enable_ipc;
5979 if test "$enableval" = yes; then
5980 wx_cv_use_ipc='wxUSE_IPC
=yes'
5982 wx_cv_use_ipc='wxUSE_IPC
=no
'
5987 wx_cv_use_ipc='wxUSE_IPC
=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5992 eval "$wx_cv_use_ipc"
5994 if test x"$enablestring" = xdisable; then
5995 if test $wxUSE_IPC = yes; then
6004 { echo "$as_me:$LINENO: result
: $result" >&5
6005 echo "${ECHO_T}$result" >&6; }
6010 defaultval=$wxUSE_ALL_FEATURES
6011 if test -z "$defaultval"; then
6012 if test x"$enablestring" = xdisable; then
6019 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-baseevtloop" >&5
6020 echo $ECHO_N "checking
for --${enablestring:-enable}-baseevtloop...
$ECHO_C" >&6; }
6021 # Check whether --enable-baseevtloop was given.
6022 if test "${enable_baseevtloop+set}" = set; then
6023 enableval=$enable_baseevtloop;
6024 if test "$enableval" = yes; then
6025 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6027 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6032 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6037 eval "$wx_cv_use_baseevtloop"
6039 if test x
"$enablestring" = xdisable
; then
6040 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6046 result
=$wxUSE_CONSOLE_EVENTLOOP
6049 { echo "$as_me:$LINENO: result: $result" >&5
6050 echo "${ECHO_T}$result" >&6; }
6054 defaultval
=$wxUSE_ALL_FEATURES
6055 if test -z "$defaultval"; then
6056 if test x
"$enablestring" = xdisable
; then
6063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6064 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6065 # Check whether --enable-epollloop was given.
6066 if test "${enable_epollloop+set}" = set; then
6067 enableval
=$enable_epollloop;
6068 if test "$enableval" = yes; then
6069 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=yes'
6071 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=no'
6076 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6081 eval "$wx_cv_use_epollloop"
6083 if test x"$enablestring" = xdisable; then
6084 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6090 result=$wxUSE_EPOLL_DISPATCHER
6093 { echo "$as_me:$LINENO: result: $result" >&5
6094 echo "${ECHO_T}$result" >&6; }
6098 defaultval=$wxUSE_ALL_FEATURES
6099 if test -z "$defaultval"; then
6100 if test x"$enablestring" = xdisable; then
6107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6108 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6109 # Check whether --enable-selectloop was given.
6110 if test "${enable_selectloop+set}" = set; then
6111 enableval=$enable_selectloop;
6112 if test "$enableval" = yes; then
6113 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=yes'
6115 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=no
'
6120 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6125 eval "$wx_cv_use_selectloop"
6127 if test x"$enablestring" = xdisable; then
6128 if test $wxUSE_SELECT_DISPATCHER = yes; then
6134 result=$wxUSE_SELECT_DISPATCHER
6137 { echo "$as_me:$LINENO: result
: $result" >&5
6138 echo "${ECHO_T}$result" >&6; }
6143 defaultval=$wxUSE_ALL_FEATURES
6144 if test -z "$defaultval"; then
6145 if test x"$enablestring" = xdisable; then
6152 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6153 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6154 # Check whether --enable-apple_ieee was given.
6155 if test "${enable_apple_ieee+set}" = set; then
6156 enableval=$enable_apple_ieee;
6157 if test "$enableval" = yes; then
6158 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6160 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6165 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6170 eval "$wx_cv_use_apple_ieee"
6172 if test x
"$enablestring" = xdisable
; then
6173 if test $wxUSE_APPLE_IEEE = yes; then
6179 result
=$wxUSE_APPLE_IEEE
6182 { echo "$as_me:$LINENO: result: $result" >&5
6183 echo "${ECHO_T}$result" >&6; }
6187 defaultval
=$wxUSE_ALL_FEATURES
6188 if test -z "$defaultval"; then
6189 if test x
"$enablestring" = xdisable
; then
6196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6197 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6198 # Check whether --enable-arcstream was given.
6199 if test "${enable_arcstream+set}" = set; then
6200 enableval
=$enable_arcstream;
6201 if test "$enableval" = yes; then
6202 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6204 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6209 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6214 eval "$wx_cv_use_arcstream"
6216 if test x"$enablestring" = xdisable; then
6217 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6223 result=$wxUSE_ARCHIVE_STREAMS
6226 { echo "$as_me:$LINENO: result: $result" >&5
6227 echo "${ECHO_T}$result" >&6; }
6231 defaultval=$wxUSE_ALL_FEATURES
6232 if test -z "$defaultval"; then
6233 if test x"$enablestring" = xdisable; then
6240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6241 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6242 # Check whether --enable-base64 was given.
6243 if test "${enable_base64+set}" = set; then
6244 enableval=$enable_base64;
6245 if test "$enableval" = yes; then
6246 wx_cv_use_base64='wxUSE_BASE64
=yes'
6248 wx_cv_use_base64='wxUSE_BASE64
=no
'
6253 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6258 eval "$wx_cv_use_base64"
6260 if test x"$enablestring" = xdisable; then
6261 if test $wxUSE_BASE64 = yes; then
6267 result=$wxUSE_BASE64
6270 { echo "$as_me:$LINENO: result
: $result" >&5
6271 echo "${ECHO_T}$result" >&6; }
6275 defaultval=$wxUSE_ALL_FEATURES
6276 if test -z "$defaultval"; then
6277 if test x"$enablestring" = xdisable; then
6284 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
6285 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6286 # Check whether --enable-backtrace was given.
6287 if test "${enable_backtrace+set}" = set; then
6288 enableval=$enable_backtrace;
6289 if test "$enableval" = yes; then
6290 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6292 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6297 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6302 eval "$wx_cv_use_backtrace"
6304 if test x
"$enablestring" = xdisable
; then
6305 if test $wxUSE_STACKWALKER = yes; then
6311 result
=$wxUSE_STACKWALKER
6314 { echo "$as_me:$LINENO: result: $result" >&5
6315 echo "${ECHO_T}$result" >&6; }
6319 defaultval
=$wxUSE_ALL_FEATURES
6320 if test -z "$defaultval"; then
6321 if test x
"$enablestring" = xdisable
; then
6328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6329 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6330 # Check whether --enable-catch_segvs was given.
6331 if test "${enable_catch_segvs+set}" = set; then
6332 enableval
=$enable_catch_segvs;
6333 if test "$enableval" = yes; then
6334 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6336 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6341 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6346 eval "$wx_cv_use_catch_segvs"
6348 if test x"$enablestring" = xdisable; then
6349 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6355 result=$wxUSE_ON_FATAL_EXCEPTION
6358 { echo "$as_me:$LINENO: result: $result" >&5
6359 echo "${ECHO_T}$result" >&6; }
6363 defaultval=$wxUSE_ALL_FEATURES
6364 if test -z "$defaultval"; then
6365 if test x"$enablestring" = xdisable; then
6372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6373 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6374 # Check whether --enable-cmdline was given.
6375 if test "${enable_cmdline+set}" = set; then
6376 enableval=$enable_cmdline;
6377 if test "$enableval" = yes; then
6378 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6380 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6385 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6390 eval "$wx_cv_use_cmdline"
6392 if test x"$enablestring" = xdisable; then
6393 if test $wxUSE_CMDLINE_PARSER = yes; then
6399 result=$wxUSE_CMDLINE_PARSER
6402 { echo "$as_me:$LINENO: result
: $result" >&5
6403 echo "${ECHO_T}$result" >&6; }
6407 defaultval=$wxUSE_ALL_FEATURES
6408 if test -z "$defaultval"; then
6409 if test x"$enablestring" = xdisable; then
6416 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
6417 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6418 # Check whether --enable-datetime was given.
6419 if test "${enable_datetime+set}" = set; then
6420 enableval=$enable_datetime;
6421 if test "$enableval" = yes; then
6422 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6424 wx_cv_use_datetime='wxUSE_DATETIME=no'
6429 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6434 eval "$wx_cv_use_datetime"
6436 if test x
"$enablestring" = xdisable
; then
6437 if test $wxUSE_DATETIME = yes; then
6443 result
=$wxUSE_DATETIME
6446 { echo "$as_me:$LINENO: result: $result" >&5
6447 echo "${ECHO_T}$result" >&6; }
6451 defaultval
=$wxUSE_ALL_FEATURES
6452 if test -z "$defaultval"; then
6453 if test x
"$enablestring" = xdisable
; then
6460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6461 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6462 # Check whether --enable-debugreport was given.
6463 if test "${enable_debugreport+set}" = set; then
6464 enableval
=$enable_debugreport;
6465 if test "$enableval" = yes; then
6466 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6468 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6473 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6478 eval "$wx_cv_use_debugreport"
6480 if test x"$enablestring" = xdisable; then
6481 if test $wxUSE_DEBUGREPORT = yes; then
6487 result=$wxUSE_DEBUGREPORT
6490 { echo "$as_me:$LINENO: result: $result" >&5
6491 echo "${ECHO_T}$result" >&6; }
6495 defaultval=$wxUSE_ALL_FEATURES
6496 if test -z "$defaultval"; then
6497 if test x"$enablestring" = xdisable; then
6504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6505 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6506 # Check whether --enable-dialupman was given.
6507 if test "${enable_dialupman+set}" = set; then
6508 enableval=$enable_dialupman;
6509 if test "$enableval" = yes; then
6510 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6512 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6517 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6522 eval "$wx_cv_use_dialupman"
6524 if test x"$enablestring" = xdisable; then
6525 if test $wxUSE_DIALUP_MANAGER = yes; then
6531 result=$wxUSE_DIALUP_MANAGER
6534 { echo "$as_me:$LINENO: result
: $result" >&5
6535 echo "${ECHO_T}$result" >&6; }
6539 defaultval=$wxUSE_ALL_FEATURES
6540 if test -z "$defaultval"; then
6541 if test x"$enablestring" = xdisable; then
6548 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
6549 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6550 # Check whether --enable-dynlib was given.
6551 if test "${enable_dynlib+set}" = set; then
6552 enableval=$enable_dynlib;
6553 if test "$enableval" = yes; then
6554 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6556 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6561 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6566 eval "$wx_cv_use_dynlib"
6568 if test x
"$enablestring" = xdisable
; then
6569 if test $wxUSE_DYNLIB_CLASS = yes; then
6575 result
=$wxUSE_DYNLIB_CLASS
6578 { echo "$as_me:$LINENO: result: $result" >&5
6579 echo "${ECHO_T}$result" >&6; }
6583 defaultval
=$wxUSE_ALL_FEATURES
6584 if test -z "$defaultval"; then
6585 if test x
"$enablestring" = xdisable
; then
6592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6593 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6594 # Check whether --enable-dynamicloader was given.
6595 if test "${enable_dynamicloader+set}" = set; then
6596 enableval
=$enable_dynamicloader;
6597 if test "$enableval" = yes; then
6598 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6600 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6605 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6610 eval "$wx_cv_use_dynamicloader"
6612 if test x"$enablestring" = xdisable; then
6613 if test $wxUSE_DYNAMIC_LOADER = yes; then
6619 result=$wxUSE_DYNAMIC_LOADER
6622 { echo "$as_me:$LINENO: result: $result" >&5
6623 echo "${ECHO_T}$result" >&6; }
6627 defaultval=$wxUSE_ALL_FEATURES
6628 if test -z "$defaultval"; then
6629 if test x"$enablestring" = xdisable; then
6636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6637 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6638 # Check whether --enable-exceptions was given.
6639 if test "${enable_exceptions+set}" = set; then
6640 enableval=$enable_exceptions;
6641 if test "$enableval" = yes; then
6642 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6644 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6649 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6654 eval "$wx_cv_use_exceptions"
6656 if test x"$enablestring" = xdisable; then
6657 if test $wxUSE_EXCEPTIONS = yes; then
6663 result=$wxUSE_EXCEPTIONS
6666 { echo "$as_me:$LINENO: result
: $result" >&5
6667 echo "${ECHO_T}$result" >&6; }
6671 defaultval=$wxUSE_ALL_FEATURES
6672 if test -z "$defaultval"; then
6673 if test x"$enablestring" = xdisable; then
6680 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
6681 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6682 # Check whether --enable-ffile was given.
6683 if test "${enable_ffile+set}" = set; then
6684 enableval=$enable_ffile;
6685 if test "$enableval" = yes; then
6686 wx_cv_use_ffile='wxUSE_FFILE=yes'
6688 wx_cv_use_ffile='wxUSE_FFILE=no'
6693 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6698 eval "$wx_cv_use_ffile"
6700 if test x
"$enablestring" = xdisable
; then
6701 if test $wxUSE_FFILE = yes; then
6710 { echo "$as_me:$LINENO: result: $result" >&5
6711 echo "${ECHO_T}$result" >&6; }
6715 defaultval
=$wxUSE_ALL_FEATURES
6716 if test -z "$defaultval"; then
6717 if test x
"$enablestring" = xdisable
; then
6724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6725 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6726 # Check whether --enable-file was given.
6727 if test "${enable_file+set}" = set; then
6728 enableval
=$enable_file;
6729 if test "$enableval" = yes; then
6730 wx_cv_use_file
='wxUSE_FILE=yes'
6732 wx_cv_use_file
='wxUSE_FILE=no'
6737 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6742 eval "$wx_cv_use_file"
6744 if test x"$enablestring" = xdisable; then
6745 if test $wxUSE_FILE = yes; then
6754 { echo "$as_me:$LINENO: result: $result" >&5
6755 echo "${ECHO_T}$result" >&6; }
6759 defaultval=$wxUSE_ALL_FEATURES
6760 if test -z "$defaultval"; then
6761 if test x"$enablestring" = xdisable; then
6768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6769 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6770 # Check whether --enable-filesystem was given.
6771 if test "${enable_filesystem+set}" = set; then
6772 enableval=$enable_filesystem;
6773 if test "$enableval" = yes; then
6774 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
6776 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
6781 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6786 eval "$wx_cv_use_filesystem"
6788 if test x"$enablestring" = xdisable; then
6789 if test $wxUSE_FILESYSTEM = yes; then
6795 result=$wxUSE_FILESYSTEM
6798 { echo "$as_me:$LINENO: result
: $result" >&5
6799 echo "${ECHO_T}$result" >&6; }
6803 defaultval=$wxUSE_ALL_FEATURES
6804 if test -z "$defaultval"; then
6805 if test x"$enablestring" = xdisable; then
6812 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
6813 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
6814 # Check whether --enable-fontenum was given.
6815 if test "${enable_fontenum+set}" = set; then
6816 enableval=$enable_fontenum;
6817 if test "$enableval" = yes; then
6818 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6820 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6825 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6830 eval "$wx_cv_use_fontenum"
6832 if test x
"$enablestring" = xdisable
; then
6833 if test $wxUSE_FONTENUM = yes; then
6839 result
=$wxUSE_FONTENUM
6842 { echo "$as_me:$LINENO: result: $result" >&5
6843 echo "${ECHO_T}$result" >&6; }
6847 defaultval
=$wxUSE_ALL_FEATURES
6848 if test -z "$defaultval"; then
6849 if test x
"$enablestring" = xdisable
; then
6856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6857 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6858 # Check whether --enable-fontmap was given.
6859 if test "${enable_fontmap+set}" = set; then
6860 enableval
=$enable_fontmap;
6861 if test "$enableval" = yes; then
6862 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
6864 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
6869 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6874 eval "$wx_cv_use_fontmap"
6876 if test x"$enablestring" = xdisable; then
6877 if test $wxUSE_FONTMAP = yes; then
6883 result=$wxUSE_FONTMAP
6886 { echo "$as_me:$LINENO: result: $result" >&5
6887 echo "${ECHO_T}$result" >&6; }
6891 defaultval=$wxUSE_ALL_FEATURES
6892 if test -z "$defaultval"; then
6893 if test x"$enablestring" = xdisable; then
6900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6901 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6902 # Check whether --enable-fs_archive was given.
6903 if test "${enable_fs_archive+set}" = set; then
6904 enableval=$enable_fs_archive;
6905 if test "$enableval" = yes; then
6906 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
6908 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
6913 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6918 eval "$wx_cv_use_fs_archive"
6920 if test x"$enablestring" = xdisable; then
6921 if test $wxUSE_FS_ARCHIVE = yes; then
6927 result=$wxUSE_FS_ARCHIVE
6930 { echo "$as_me:$LINENO: result
: $result" >&5
6931 echo "${ECHO_T}$result" >&6; }
6935 defaultval=$wxUSE_ALL_FEATURES
6936 if test -z "$defaultval"; then
6937 if test x"$enablestring" = xdisable; then
6944 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
6945 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
6946 # Check whether --enable-fs_inet was given.
6947 if test "${enable_fs_inet+set}" = set; then
6948 enableval=$enable_fs_inet;
6949 if test "$enableval" = yes; then
6950 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
6952 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
6957 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
6962 eval "$wx_cv_use_fs_inet"
6964 if test x
"$enablestring" = xdisable
; then
6965 if test $wxUSE_FS_INET = yes; then
6971 result
=$wxUSE_FS_INET
6974 { echo "$as_me:$LINENO: result: $result" >&5
6975 echo "${ECHO_T}$result" >&6; }
6979 defaultval
=$wxUSE_ALL_FEATURES
6980 if test -z "$defaultval"; then
6981 if test x
"$enablestring" = xdisable
; then
6988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6989 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6990 # Check whether --enable-fs_zip was given.
6991 if test "${enable_fs_zip+set}" = set; then
6992 enableval
=$enable_fs_zip;
6993 if test "$enableval" = yes; then
6994 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
6996 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
7001 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7006 eval "$wx_cv_use_fs_zip"
7008 if test x"$enablestring" = xdisable; then
7009 if test $wxUSE_FS_ZIP = yes; then
7015 result=$wxUSE_FS_ZIP
7018 { echo "$as_me:$LINENO: result: $result" >&5
7019 echo "${ECHO_T}$result" >&6; }
7023 defaultval=$wxUSE_ALL_FEATURES
7024 if test -z "$defaultval"; then
7025 if test x"$enablestring" = xdisable; then
7032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7033 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7034 # Check whether --enable-geometry was given.
7035 if test "${enable_geometry+set}" = set; then
7036 enableval=$enable_geometry;
7037 if test "$enableval" = yes; then
7038 wx_cv_use_geometry='wxUSE_GEOMETRY
=yes'
7040 wx_cv_use_geometry='wxUSE_GEOMETRY
=no
'
7045 wx_cv_use_geometry='wxUSE_GEOMETRY
=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7050 eval "$wx_cv_use_geometry"
7052 if test x"$enablestring" = xdisable; then
7053 if test $wxUSE_GEOMETRY = yes; then
7059 result=$wxUSE_GEOMETRY
7062 { echo "$as_me:$LINENO: result
: $result" >&5
7063 echo "${ECHO_T}$result" >&6; }
7067 defaultval=$wxUSE_ALL_FEATURES
7068 if test -z "$defaultval"; then
7069 if test x"$enablestring" = xdisable; then
7076 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-log" >&5
7077 echo $ECHO_N "checking
for --${enablestring:-enable}-log...
$ECHO_C" >&6; }
7078 # Check whether --enable-log was given.
7079 if test "${enable_log+set}" = set; then
7080 enableval=$enable_log;
7081 if test "$enableval" = yes; then
7082 wx_cv_use_log='wxUSE_LOG=yes'
7084 wx_cv_use_log='wxUSE_LOG=no'
7089 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7094 eval "$wx_cv_use_log"
7096 if test x
"$enablestring" = xdisable
; then
7097 if test $wxUSE_LOG = yes; then
7106 { echo "$as_me:$LINENO: result: $result" >&5
7107 echo "${ECHO_T}$result" >&6; }
7111 defaultval
=$wxUSE_ALL_FEATURES
7112 if test -z "$defaultval"; then
7113 if test x
"$enablestring" = xdisable
; then
7120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7121 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7122 # Check whether --enable-longlong was given.
7123 if test "${enable_longlong+set}" = set; then
7124 enableval
=$enable_longlong;
7125 if test "$enableval" = yes; then
7126 wx_cv_use_longlong
='wxUSE_LONGLONG=yes'
7128 wx_cv_use_longlong
='wxUSE_LONGLONG=no'
7133 wx_cv_use_longlong
='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7138 eval "$wx_cv_use_longlong"
7140 if test x"$enablestring" = xdisable; then
7141 if test $wxUSE_LONGLONG = yes; then
7147 result=$wxUSE_LONGLONG
7150 { echo "$as_me:$LINENO: result: $result" >&5
7151 echo "${ECHO_T}$result" >&6; }
7155 defaultval=$wxUSE_ALL_FEATURES
7156 if test -z "$defaultval"; then
7157 if test x"$enablestring" = xdisable; then
7164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7165 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7166 # Check whether --enable-mimetype was given.
7167 if test "${enable_mimetype+set}" = set; then
7168 enableval=$enable_mimetype;
7169 if test "$enableval" = yes; then
7170 wx_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
7172 wx_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
7177 wx_cv_use_mimetype='wxUSE_MIMETYPE
=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7182 eval "$wx_cv_use_mimetype"
7184 if test x"$enablestring" = xdisable; then
7185 if test $wxUSE_MIMETYPE = yes; then
7191 result=$wxUSE_MIMETYPE
7194 { echo "$as_me:$LINENO: result
: $result" >&5
7195 echo "${ECHO_T}$result" >&6; }
7199 defaultval=$wxUSE_ALL_FEATURES
7200 if test -z "$defaultval"; then
7201 if test x"$enablestring" = xdisable; then
7208 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7209 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7210 # Check whether --enable-snglinst was given.
7211 if test "${enable_snglinst+set}" = set; then
7212 enableval=$enable_snglinst;
7213 if test "$enableval" = yes; then
7214 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7216 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7221 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7226 eval "$wx_cv_use_snglinst"
7228 if test x
"$enablestring" = xdisable
; then
7229 if test $wxUSE_SNGLINST_CHECKER = yes; then
7235 result
=$wxUSE_SNGLINST_CHECKER
7238 { echo "$as_me:$LINENO: result: $result" >&5
7239 echo "${ECHO_T}$result" >&6; }
7243 defaultval
=$wxUSE_ALL_FEATURES
7244 if test -z "$defaultval"; then
7245 if test x
"$enablestring" = xdisable
; then
7252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7253 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7254 # Check whether --enable-stdpaths was given.
7255 if test "${enable_stdpaths+set}" = set; then
7256 enableval
=$enable_stdpaths;
7257 if test "$enableval" = yes; then
7258 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
7260 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
7265 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7270 eval "$wx_cv_use_stdpaths"
7272 if test x"$enablestring" = xdisable; then
7273 if test $wxUSE_STDPATHS = yes; then
7279 result=$wxUSE_STDPATHS
7282 { echo "$as_me:$LINENO: result: $result" >&5
7283 echo "${ECHO_T}$result" >&6; }
7287 defaultval=$wxUSE_ALL_FEATURES
7288 if test -z "$defaultval"; then
7289 if test x"$enablestring" = xdisable; then
7296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7297 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7298 # Check whether --enable-stopwatch was given.
7299 if test "${enable_stopwatch+set}" = set; then
7300 enableval=$enable_stopwatch;
7301 if test "$enableval" = yes; then
7302 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
7304 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
7309 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7314 eval "$wx_cv_use_stopwatch"
7316 if test x"$enablestring" = xdisable; then
7317 if test $wxUSE_STOPWATCH = yes; then
7323 result=$wxUSE_STOPWATCH
7326 { echo "$as_me:$LINENO: result
: $result" >&5
7327 echo "${ECHO_T}$result" >&6; }
7331 defaultval=$wxUSE_ALL_FEATURES
7332 if test -z "$defaultval"; then
7333 if test x"$enablestring" = xdisable; then
7340 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-streams" >&5
7341 echo $ECHO_N "checking
for --${enablestring:-enable}-streams...
$ECHO_C" >&6; }
7342 # Check whether --enable-streams was given.
7343 if test "${enable_streams+set}" = set; then
7344 enableval=$enable_streams;
7345 if test "$enableval" = yes; then
7346 wx_cv_use_streams='wxUSE_STREAMS=yes'
7348 wx_cv_use_streams='wxUSE_STREAMS=no'
7353 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7358 eval "$wx_cv_use_streams"
7360 if test x
"$enablestring" = xdisable
; then
7361 if test $wxUSE_STREAMS = yes; then
7367 result
=$wxUSE_STREAMS
7370 { echo "$as_me:$LINENO: result: $result" >&5
7371 echo "${ECHO_T}$result" >&6; }
7375 defaultval
=$wxUSE_ALL_FEATURES
7376 if test -z "$defaultval"; then
7377 if test x
"$enablestring" = xdisable
; then
7384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7385 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7386 # Check whether --enable-system_options was given.
7387 if test "${enable_system_options+set}" = set; then
7388 enableval
=$enable_system_options;
7389 if test "$enableval" = yes; then
7390 wx_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
7392 wx_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
7397 wx_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7402 eval "$wx_cv_use_system_options"
7404 if test x"$enablestring" = xdisable; then
7405 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7411 result=$wxUSE_SYSTEM_OPTIONS
7414 { echo "$as_me:$LINENO: result: $result" >&5
7415 echo "${ECHO_T}$result" >&6; }
7419 defaultval=$wxUSE_ALL_FEATURES
7420 if test -z "$defaultval"; then
7421 if test x"$enablestring" = xdisable; then
7428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7429 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7430 # Check whether --enable-tarstream was given.
7431 if test "${enable_tarstream+set}" = set; then
7432 enableval=$enable_tarstream;
7433 if test "$enableval" = yes; then
7434 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
7436 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
7441 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7446 eval "$wx_cv_use_tarstream"
7448 if test x"$enablestring" = xdisable; then
7449 if test $wxUSE_TARSTREAM = yes; then
7455 result=$wxUSE_TARSTREAM
7458 { echo "$as_me:$LINENO: result
: $result" >&5
7459 echo "${ECHO_T}$result" >&6; }
7463 defaultval=$wxUSE_ALL_FEATURES
7464 if test -z "$defaultval"; then
7465 if test x"$enablestring" = xdisable; then
7472 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textbuf" >&5
7473 echo $ECHO_N "checking
for --${enablestring:-enable}-textbuf...
$ECHO_C" >&6; }
7474 # Check whether --enable-textbuf was given.
7475 if test "${enable_textbuf+set}" = set; then
7476 enableval=$enable_textbuf;
7477 if test "$enableval" = yes; then
7478 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7480 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7485 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7490 eval "$wx_cv_use_textbuf"
7492 if test x
"$enablestring" = xdisable
; then
7493 if test $wxUSE_TEXTBUFFER = yes; then
7499 result
=$wxUSE_TEXTBUFFER
7502 { echo "$as_me:$LINENO: result: $result" >&5
7503 echo "${ECHO_T}$result" >&6; }
7507 defaultval
=$wxUSE_ALL_FEATURES
7508 if test -z "$defaultval"; then
7509 if test x
"$enablestring" = xdisable
; then
7516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7517 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7518 # Check whether --enable-textfile was given.
7519 if test "${enable_textfile+set}" = set; then
7520 enableval
=$enable_textfile;
7521 if test "$enableval" = yes; then
7522 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
7524 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
7529 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7534 eval "$wx_cv_use_textfile"
7536 if test x"$enablestring" = xdisable; then
7537 if test $wxUSE_TEXTFILE = yes; then
7543 result=$wxUSE_TEXTFILE
7546 { echo "$as_me:$LINENO: result: $result" >&5
7547 echo "${ECHO_T}$result" >&6; }
7551 defaultval=$wxUSE_ALL_FEATURES
7552 if test -z "$defaultval"; then
7553 if test x"$enablestring" = xdisable; then
7560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7561 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7562 # Check whether --enable-timer was given.
7563 if test "${enable_timer+set}" = set; then
7564 enableval=$enable_timer;
7565 if test "$enableval" = yes; then
7566 wx_cv_use_timer='wxUSE_TIMER
=yes'
7568 wx_cv_use_timer='wxUSE_TIMER
=no
'
7573 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7578 eval "$wx_cv_use_timer"
7580 if test x"$enablestring" = xdisable; then
7581 if test $wxUSE_TIMER = yes; then
7590 { echo "$as_me:$LINENO: result
: $result" >&5
7591 echo "${ECHO_T}$result" >&6; }
7595 defaultval=$wxUSE_ALL_FEATURES
7596 if test -z "$defaultval"; then
7597 if test x"$enablestring" = xdisable; then
7604 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sound" >&5
7605 echo $ECHO_N "checking
for --${enablestring:-enable}-sound...
$ECHO_C" >&6; }
7606 # Check whether --enable-sound was given.
7607 if test "${enable_sound+set}" = set; then
7608 enableval=$enable_sound;
7609 if test "$enableval" = yes; then
7610 wx_cv_use_sound='wxUSE_SOUND=yes'
7612 wx_cv_use_sound='wxUSE_SOUND=no'
7617 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7622 eval "$wx_cv_use_sound"
7624 if test x
"$enablestring" = xdisable
; then
7625 if test $wxUSE_SOUND = yes; then
7634 { echo "$as_me:$LINENO: result: $result" >&5
7635 echo "${ECHO_T}$result" >&6; }
7639 defaultval
=$wxUSE_ALL_FEATURES
7640 if test -z "$defaultval"; then
7641 if test x
"$enablestring" = xdisable
; then
7648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7649 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7650 # Check whether --enable-mediactrl was given.
7651 if test "${enable_mediactrl+set}" = set; then
7652 enableval
=$enable_mediactrl;
7653 if test "$enableval" = yes; then
7654 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
7656 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
7661 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7666 eval "$wx_cv_use_mediactrl"
7668 if test x"$enablestring" = xdisable; then
7669 if test $wxUSE_MEDIACTRL = yes; then
7675 result=$wxUSE_MEDIACTRL
7678 { echo "$as_me:$LINENO: result: $result" >&5
7679 echo "${ECHO_T}$result" >&6; }
7683 defaultval=$wxUSE_ALL_FEATURES
7684 if test -z "$defaultval"; then
7685 if test x"$enablestring" = xdisable; then
7692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7693 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7694 # Check whether --enable-gstreamer8 was given.
7695 if test "${enable_gstreamer8+set}" = set; then
7696 enableval=$enable_gstreamer8;
7697 if test "$enableval" = yes; then
7698 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=yes'
7700 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=no
'
7705 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7710 eval "$wx_cv_use_gstreamer8"
7712 if test x"$enablestring" = xdisable; then
7713 if test $wxUSE_GSTREAMER8 = yes; then
7719 result=$wxUSE_GSTREAMER8
7722 { echo "$as_me:$LINENO: result
: $result" >&5
7723 echo "${ECHO_T}$result" >&6; }
7727 defaultval=$wxUSE_ALL_FEATURES
7728 if test -z "$defaultval"; then
7729 if test x"$enablestring" = xdisable; then
7736 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printfposparam" >&5
7737 echo $ECHO_N "checking
for --${enablestring:-enable}-printfposparam...
$ECHO_C" >&6; }
7738 # Check whether --enable-printfposparam was given.
7739 if test "${enable_printfposparam+set}" = set; then
7740 enableval=$enable_printfposparam;
7741 if test "$enableval" = yes; then
7742 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7744 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7749 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7754 eval "$wx_cv_use_printfposparam"
7756 if test x
"$enablestring" = xdisable
; then
7757 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7763 result
=$wxUSE_PRINTF_POS_PARAMS
7766 { echo "$as_me:$LINENO: result: $result" >&5
7767 echo "${ECHO_T}$result" >&6; }
7771 defaultval
=$wxUSE_ALL_FEATURES
7772 if test -z "$defaultval"; then
7773 if test x
"$enablestring" = xdisable
; then
7780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7781 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7782 # Check whether --enable-zipstream was given.
7783 if test "${enable_zipstream+set}" = set; then
7784 enableval
=$enable_zipstream;
7785 if test "$enableval" = yes; then
7786 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
7788 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
7793 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7798 eval "$wx_cv_use_zipstream"
7800 if test x"$enablestring" = xdisable; then
7801 if test $wxUSE_ZIPSTREAM = yes; then
7807 result=$wxUSE_ZIPSTREAM
7810 { echo "$as_me:$LINENO: result: $result" >&5
7811 echo "${ECHO_T}$result" >&6; }
7816 defaultval=$wxUSE_ALL_FEATURES
7817 if test -z "$defaultval"; then
7818 if test x"$enablestring" = xdisable; then
7825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7826 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7827 # Check whether --enable-url was given.
7828 if test "${enable_url+set}" = set; then
7829 enableval=$enable_url;
7830 if test "$enableval" = yes; then
7831 wx_cv_use_url='wxUSE_URL
=yes'
7833 wx_cv_use_url='wxUSE_URL
=no
'
7838 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
7843 eval "$wx_cv_use_url"
7845 if test x"$enablestring" = xdisable; then
7846 if test $wxUSE_URL = yes; then
7855 { echo "$as_me:$LINENO: result
: $result" >&5
7856 echo "${ECHO_T}$result" >&6; }
7860 defaultval=$wxUSE_ALL_FEATURES
7861 if test -z "$defaultval"; then
7862 if test x"$enablestring" = xdisable; then
7869 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-variant" >&5
7870 echo $ECHO_N "checking
for --${enablestring:-enable}-variant...
$ECHO_C" >&6; }
7871 # Check whether --enable-variant was given.
7872 if test "${enable_variant+set}" = set; then
7873 enableval=$enable_variant;
7874 if test "$enableval" = yes; then
7875 wx_cv_use_variant='wxUSE_VARIANT=yes'
7877 wx_cv_use_variant='wxUSE_VARIANT=no'
7882 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7887 eval "$wx_cv_use_variant"
7889 if test x
"$enablestring" = xdisable
; then
7890 if test $wxUSE_VARIANT = yes; then
7896 result
=$wxUSE_VARIANT
7899 { echo "$as_me:$LINENO: result: $result" >&5
7900 echo "${ECHO_T}$result" >&6; }
7904 defaultval
=$wxUSE_ALL_FEATURES
7905 if test -z "$defaultval"; then
7906 if test x
"$enablestring" = xdisable
; then
7913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7914 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7915 # Check whether --enable-protocol was given.
7916 if test "${enable_protocol+set}" = set; then
7917 enableval
=$enable_protocol;
7918 if test "$enableval" = yes; then
7919 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
7921 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
7926 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7931 eval "$wx_cv_use_protocol"
7933 if test x"$enablestring" = xdisable; then
7934 if test $wxUSE_PROTOCOL = yes; then
7940 result=$wxUSE_PROTOCOL
7943 { echo "$as_me:$LINENO: result: $result" >&5
7944 echo "${ECHO_T}$result" >&6; }
7948 defaultval=$wxUSE_ALL_FEATURES
7949 if test -z "$defaultval"; then
7950 if test x"$enablestring" = xdisable; then
7957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7958 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7959 # Check whether --enable-protocol_http was given.
7960 if test "${enable_protocol_http+set}" = set; then
7961 enableval=$enable_protocol_http;
7962 if test "$enableval" = yes; then
7963 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
7965 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
7970 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7975 eval "$wx_cv_use_protocol_http"
7977 if test x"$enablestring" = xdisable; then
7978 if test $wxUSE_PROTOCOL_HTTP = yes; then
7984 result=$wxUSE_PROTOCOL_HTTP
7987 { echo "$as_me:$LINENO: result
: $result" >&5
7988 echo "${ECHO_T}$result" >&6; }
7992 defaultval=$wxUSE_ALL_FEATURES
7993 if test -z "$defaultval"; then
7994 if test x"$enablestring" = xdisable; then
8001 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8002 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8003 # Check whether --enable-protocol_ftp was given.
8004 if test "${enable_protocol_ftp+set}" = set; then
8005 enableval=$enable_protocol_ftp;
8006 if test "$enableval" = yes; then
8007 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8009 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8014 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8019 eval "$wx_cv_use_protocol_ftp"
8021 if test x
"$enablestring" = xdisable
; then
8022 if test $wxUSE_PROTOCOL_FTP = yes; then
8028 result
=$wxUSE_PROTOCOL_FTP
8031 { echo "$as_me:$LINENO: result: $result" >&5
8032 echo "${ECHO_T}$result" >&6; }
8036 defaultval
=$wxUSE_ALL_FEATURES
8037 if test -z "$defaultval"; then
8038 if test x
"$enablestring" = xdisable
; then
8045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8046 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8047 # Check whether --enable-protocol_file was given.
8048 if test "${enable_protocol_file+set}" = set; then
8049 enableval
=$enable_protocol_file;
8050 if test "$enableval" = yes; then
8051 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8053 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8058 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8063 eval "$wx_cv_use_protocol_file"
8065 if test x"$enablestring" = xdisable; then
8066 if test $wxUSE_PROTOCOL_FILE = yes; then
8072 result=$wxUSE_PROTOCOL_FILE
8075 { echo "$as_me:$LINENO: result: $result" >&5
8076 echo "${ECHO_T}$result" >&6; }
8081 defaultval=$wxUSE_ALL_FEATURES
8082 if test -z "$defaultval"; then
8083 if test x"$enablestring" = xdisable; then
8090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8091 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8092 # Check whether --enable-threads was given.
8093 if test "${enable_threads+set}" = set; then
8094 enableval=$enable_threads;
8095 if test "$enableval" = yes; then
8096 wx_cv_use_threads='wxUSE_THREADS
=yes'
8098 wx_cv_use_threads='wxUSE_THREADS
=no
'
8103 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8108 eval "$wx_cv_use_threads"
8110 if test x"$enablestring" = xdisable; then
8111 if test $wxUSE_THREADS = yes; then
8117 result=$wxUSE_THREADS
8120 { echo "$as_me:$LINENO: result
: $result" >&5
8121 echo "${ECHO_T}$result" >&6; }
8127 if test -z "$defaultval"; then
8128 if test x"$enablestring" = xdisable; then
8135 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8136 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8137 # Check whether --enable-iniconf was given.
8138 if test "${enable_iniconf+set}" = set; then
8139 enableval=$enable_iniconf;
8140 if test "$enableval" = yes; then
8141 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8143 wx_cv_use_iniconf='wxUSE_INICONF=no'
8148 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8153 eval "$wx_cv_use_iniconf"
8155 if test x
"$enablestring" = xdisable
; then
8156 if test $wxUSE_INICONF = yes; then
8162 result
=$wxUSE_INICONF
8165 { echo "$as_me:$LINENO: result: $result" >&5
8166 echo "${ECHO_T}$result" >&6; }
8170 defaultval
=$wxUSE_ALL_FEATURES
8171 if test -z "$defaultval"; then
8172 if test x
"$enablestring" = xdisable
; then
8179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8180 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8181 # Check whether --enable-regkey was given.
8182 if test "${enable_regkey+set}" = set; then
8183 enableval
=$enable_regkey;
8184 if test "$enableval" = yes; then
8185 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8187 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8192 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8197 eval "$wx_cv_use_regkey"
8199 if test x"$enablestring" = xdisable; then
8200 if test $wxUSE_REGKEY = yes; then
8206 result=$wxUSE_REGKEY
8209 { echo "$as_me:$LINENO: result: $result" >&5
8210 echo "${ECHO_T}$result" >&6; }
8213 if test "$wxUSE_GUI" = "yes"; then
8218 defaultval=$wxUSE_ALL_FEATURES
8219 if test -z "$defaultval"; then
8220 if test x"$enablestring" = xdisable; then
8227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8228 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8229 # Check whether --enable-docview was given.
8230 if test "${enable_docview+set}" = set; then
8231 enableval=$enable_docview;
8232 if test "$enableval" = yes; then
8233 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8235 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8240 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8245 eval "$wx_cv_use_docview"
8247 if test x"$enablestring" = xdisable; then
8248 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8254 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8257 { echo "$as_me:$LINENO: result
: $result" >&5
8258 echo "${ECHO_T}$result" >&6; }
8262 defaultval=$wxUSE_ALL_FEATURES
8263 if test -z "$defaultval"; then
8264 if test x"$enablestring" = xdisable; then
8271 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8272 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8273 # Check whether --enable-help was given.
8274 if test "${enable_help+set}" = set; then
8275 enableval=$enable_help;
8276 if test "$enableval" = yes; then
8277 wx_cv_use_help='wxUSE_HELP=yes'
8279 wx_cv_use_help='wxUSE_HELP=no'
8284 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8289 eval "$wx_cv_use_help"
8291 if test x
"$enablestring" = xdisable
; then
8292 if test $wxUSE_HELP = yes; then
8301 { echo "$as_me:$LINENO: result: $result" >&5
8302 echo "${ECHO_T}$result" >&6; }
8306 defaultval
=$wxUSE_ALL_FEATURES
8307 if test -z "$defaultval"; then
8308 if test x
"$enablestring" = xdisable
; then
8315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8316 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8317 # Check whether --enable-mshtmlhelp was given.
8318 if test "${enable_mshtmlhelp+set}" = set; then
8319 enableval
=$enable_mshtmlhelp;
8320 if test "$enableval" = yes; then
8321 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8323 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8328 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8333 eval "$wx_cv_use_mshtmlhelp"
8335 if test x"$enablestring" = xdisable; then
8336 if test $wxUSE_MS_HTML_HELP = yes; then
8342 result=$wxUSE_MS_HTML_HELP
8345 { echo "$as_me:$LINENO: result: $result" >&5
8346 echo "${ECHO_T}$result" >&6; }
8350 defaultval=$wxUSE_ALL_FEATURES
8351 if test -z "$defaultval"; then
8352 if test x"$enablestring" = xdisable; then
8359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8360 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8361 # Check whether --enable-html was given.
8362 if test "${enable_html+set}" = set; then
8363 enableval=$enable_html;
8364 if test "$enableval" = yes; then
8365 wx_cv_use_html='wxUSE_HTML
=yes'
8367 wx_cv_use_html='wxUSE_HTML
=no
'
8372 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8377 eval "$wx_cv_use_html"
8379 if test x"$enablestring" = xdisable; then
8380 if test $wxUSE_HTML = yes; then
8389 { echo "$as_me:$LINENO: result
: $result" >&5
8390 echo "${ECHO_T}$result" >&6; }
8394 defaultval=$wxUSE_ALL_FEATURES
8395 if test -z "$defaultval"; then
8396 if test x"$enablestring" = xdisable; then
8403 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8404 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8405 # Check whether --enable-htmlhelp was given.
8406 if test "${enable_htmlhelp+set}" = set; then
8407 enableval=$enable_htmlhelp;
8408 if test "$enableval" = yes; then
8409 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8411 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8416 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8421 eval "$wx_cv_use_htmlhelp"
8423 if test x
"$enablestring" = xdisable
; then
8424 if test $wxUSE_WXHTML_HELP = yes; then
8430 result
=$wxUSE_WXHTML_HELP
8433 { echo "$as_me:$LINENO: result: $result" >&5
8434 echo "${ECHO_T}$result" >&6; }
8438 defaultval
=$wxUSE_ALL_FEATURES
8439 if test -z "$defaultval"; then
8440 if test x
"$enablestring" = xdisable
; then
8447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8448 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8449 # Check whether --enable-xrc was given.
8450 if test "${enable_xrc+set}" = set; then
8451 enableval
=$enable_xrc;
8452 if test "$enableval" = yes; then
8453 wx_cv_use_xrc
='wxUSE_XRC=yes'
8455 wx_cv_use_xrc
='wxUSE_XRC=no'
8460 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8465 eval "$wx_cv_use_xrc"
8467 if test x"$enablestring" = xdisable; then
8468 if test $wxUSE_XRC = yes; then
8477 { echo "$as_me:$LINENO: result: $result" >&5
8478 echo "${ECHO_T}$result" >&6; }
8482 defaultval=$wxUSE_ALL_FEATURES
8483 if test -z "$defaultval"; then
8484 if test x"$enablestring" = xdisable; then
8491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8492 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8493 # Check whether --enable-aui was given.
8494 if test "${enable_aui+set}" = set; then
8495 enableval=$enable_aui;
8496 if test "$enableval" = yes; then
8497 wx_cv_use_aui='wxUSE_AUI
=yes'
8499 wx_cv_use_aui='wxUSE_AUI
=no
'
8504 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8509 eval "$wx_cv_use_aui"
8511 if test x"$enablestring" = xdisable; then
8512 if test $wxUSE_AUI = yes; then
8521 { echo "$as_me:$LINENO: result
: $result" >&5
8522 echo "${ECHO_T}$result" >&6; }
8526 defaultval=$wxUSE_ALL_FEATURES
8527 if test -z "$defaultval"; then
8528 if test x"$enablestring" = xdisable; then
8535 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stc" >&5
8536 echo $ECHO_N "checking
for --${enablestring:-enable}-stc...
$ECHO_C" >&6; }
8537 # Check whether --enable-stc was given.
8538 if test "${enable_stc+set}" = set; then
8539 enableval=$enable_stc;
8540 if test "$enableval" = yes; then
8541 wx_cv_use_stc='wxUSE_STC=yes'
8543 wx_cv_use_stc='wxUSE_STC=no'
8548 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8553 eval "$wx_cv_use_stc"
8555 if test x
"$enablestring" = xdisable
; then
8556 if test $wxUSE_STC = yes; then
8565 { echo "$as_me:$LINENO: result: $result" >&5
8566 echo "${ECHO_T}$result" >&6; }
8570 defaultval
=$wxUSE_ALL_FEATURES
8571 if test -z "$defaultval"; then
8572 if test x
"$enablestring" = xdisable
; then
8579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8580 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8581 # Check whether --enable-constraints was given.
8582 if test "${enable_constraints+set}" = set; then
8583 enableval
=$enable_constraints;
8584 if test "$enableval" = yes; then
8585 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
8587 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
8592 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8597 eval "$wx_cv_use_constraints"
8599 if test x"$enablestring" = xdisable; then
8600 if test $wxUSE_CONSTRAINTS = yes; then
8606 result=$wxUSE_CONSTRAINTS
8609 { echo "$as_me:$LINENO: result: $result" >&5
8610 echo "${ECHO_T}$result" >&6; }
8614 defaultval=$wxUSE_ALL_FEATURES
8615 if test -z "$defaultval"; then
8616 if test x"$enablestring" = xdisable; then
8623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8624 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8625 # Check whether --enable-printarch was given.
8626 if test "${enable_printarch+set}" = set; then
8627 enableval=$enable_printarch;
8628 if test "$enableval" = yes; then
8629 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
8631 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
8636 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8641 eval "$wx_cv_use_printarch"
8643 if test x"$enablestring" = xdisable; then
8644 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8650 result=$wxUSE_PRINTING_ARCHITECTURE
8653 { echo "$as_me:$LINENO: result
: $result" >&5
8654 echo "${ECHO_T}$result" >&6; }
8658 defaultval=$wxUSE_ALL_FEATURES
8659 if test -z "$defaultval"; then
8660 if test x"$enablestring" = xdisable; then
8667 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
8668 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
8669 # Check whether --enable-mdi was given.
8670 if test "${enable_mdi+set}" = set; then
8671 enableval=$enable_mdi;
8672 if test "$enableval" = yes; then
8673 wx_cv_use_mdi='wxUSE_MDI=yes'
8675 wx_cv_use_mdi='wxUSE_MDI=no'
8680 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8685 eval "$wx_cv_use_mdi"
8687 if test x
"$enablestring" = xdisable
; then
8688 if test $wxUSE_MDI = yes; then
8697 { echo "$as_me:$LINENO: result: $result" >&5
8698 echo "${ECHO_T}$result" >&6; }
8702 defaultval
=$wxUSE_ALL_FEATURES
8703 if test -z "$defaultval"; then
8704 if test x
"$enablestring" = xdisable
; then
8711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8712 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8713 # Check whether --enable-mdidoc was given.
8714 if test "${enable_mdidoc+set}" = set; then
8715 enableval
=$enable_mdidoc;
8716 if test "$enableval" = yes; then
8717 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
8719 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
8724 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8729 eval "$wx_cv_use_mdidoc"
8731 if test x"$enablestring" = xdisable; then
8732 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8738 result=$wxUSE_MDI_ARCHITECTURE
8741 { echo "$as_me:$LINENO: result: $result" >&5
8742 echo "${ECHO_T}$result" >&6; }
8746 defaultval=$wxUSE_ALL_FEATURES
8747 if test -z "$defaultval"; then
8748 if test x"$enablestring" = xdisable; then
8755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8756 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8757 # Check whether --enable-loggui was given.
8758 if test "${enable_loggui+set}" = set; then
8759 enableval=$enable_loggui;
8760 if test "$enableval" = yes; then
8761 wx_cv_use_loggui='wxUSE_LOGGUI
=yes'
8763 wx_cv_use_loggui='wxUSE_LOGGUI
=no
'
8768 wx_cv_use_loggui='wxUSE_LOGGUI
=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8773 eval "$wx_cv_use_loggui"
8775 if test x"$enablestring" = xdisable; then
8776 if test $wxUSE_LOGGUI = yes; then
8782 result=$wxUSE_LOGGUI
8785 { echo "$as_me:$LINENO: result
: $result" >&5
8786 echo "${ECHO_T}$result" >&6; }
8790 defaultval=$wxUSE_ALL_FEATURES
8791 if test -z "$defaultval"; then
8792 if test x"$enablestring" = xdisable; then
8799 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logwin" >&5
8800 echo $ECHO_N "checking
for --${enablestring:-enable}-logwin...
$ECHO_C" >&6; }
8801 # Check whether --enable-logwin was given.
8802 if test "${enable_logwin+set}" = set; then
8803 enableval=$enable_logwin;
8804 if test "$enableval" = yes; then
8805 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8807 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8812 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8817 eval "$wx_cv_use_logwin"
8819 if test x
"$enablestring" = xdisable
; then
8820 if test $wxUSE_LOGWINDOW = yes; then
8826 result
=$wxUSE_LOGWINDOW
8829 { echo "$as_me:$LINENO: result: $result" >&5
8830 echo "${ECHO_T}$result" >&6; }
8834 defaultval
=$wxUSE_ALL_FEATURES
8835 if test -z "$defaultval"; then
8836 if test x
"$enablestring" = xdisable
; then
8843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8844 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8845 # Check whether --enable-logdialog was given.
8846 if test "${enable_logdialog+set}" = set; then
8847 enableval
=$enable_logdialog;
8848 if test "$enableval" = yes; then
8849 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
8851 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
8856 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8861 eval "$wx_cv_use_logdialog"
8863 if test x"$enablestring" = xdisable; then
8864 if test $wxUSE_LOGDIALOG = yes; then
8870 result=$wxUSE_LOGDIALOG
8873 { echo "$as_me:$LINENO: result: $result" >&5
8874 echo "${ECHO_T}$result" >&6; }
8878 defaultval=$wxUSE_ALL_FEATURES
8879 if test -z "$defaultval"; then
8880 if test x"$enablestring" = xdisable; then
8887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8888 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8889 # Check whether --enable-webkit was given.
8890 if test "${enable_webkit+set}" = set; then
8891 enableval=$enable_webkit;
8892 if test "$enableval" = yes; then
8893 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
8895 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
8900 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8905 eval "$wx_cv_use_webkit"
8907 if test x"$enablestring" = xdisable; then
8908 if test $wxUSE_WEBKIT = yes; then
8914 result=$wxUSE_WEBKIT
8917 { echo "$as_me:$LINENO: result
: $result" >&5
8918 echo "${ECHO_T}$result" >&6; }
8922 defaultval=$wxUSE_ALL_FEATURES
8923 if test -z "$defaultval"; then
8924 if test x"$enablestring" = xdisable; then
8931 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-richtext" >&5
8932 echo $ECHO_N "checking
for --${enablestring:-enable}-richtext...
$ECHO_C" >&6; }
8933 # Check whether --enable-richtext was given.
8934 if test "${enable_richtext+set}" = set; then
8935 enableval=$enable_richtext;
8936 if test "$enableval" = yes; then
8937 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8939 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8944 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8949 eval "$wx_cv_use_richtext"
8951 if test x
"$enablestring" = xdisable
; then
8952 if test $wxUSE_RICHTEXT = yes; then
8958 result
=$wxUSE_RICHTEXT
8961 { echo "$as_me:$LINENO: result: $result" >&5
8962 echo "${ECHO_T}$result" >&6; }
8966 defaultval
=$wxUSE_ALL_FEATURES
8967 if test -z "$defaultval"; then
8968 if test x
"$enablestring" = xdisable
; then
8975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8976 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8977 # Check whether --enable-graphics_ctx was given.
8978 if test "${enable_graphics_ctx+set}" = set; then
8979 enableval
=$enable_graphics_ctx;
8980 if test "$enableval" = yes; then
8981 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
8983 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
8988 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
8993 eval "$wx_cv_use_graphics_ctx"
8995 if test x"$enablestring" = xdisable; then
8996 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9002 result=$wxUSE_GRAPHICS_CONTEXT
9005 { echo "$as_me:$LINENO: result: $result" >&5
9006 echo "${ECHO_T}$result" >&6; }
9010 defaultval=$wxUSE_ALL_FEATURES
9011 if test -z "$defaultval"; then
9012 if test x"$enablestring" = xdisable; then
9019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9020 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9021 # Check whether --enable-postscript was given.
9022 if test "${enable_postscript+set}" = set; then
9023 enableval=$enable_postscript;
9024 if test "$enableval" = yes; then
9025 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
9027 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
9032 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9037 eval "$wx_cv_use_postscript"
9039 if test x"$enablestring" = xdisable; then
9040 if test $wxUSE_POSTSCRIPT = yes; then
9046 result=$wxUSE_POSTSCRIPT
9049 { echo "$as_me:$LINENO: result
: $result" >&5
9050 echo "${ECHO_T}$result" >&6; }
9054 defaultval=$wxUSE_ALL_FEATURES
9055 if test -z "$defaultval"; then
9056 if test x"$enablestring" = xdisable; then
9063 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9064 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
9065 # Check whether --enable-svg was given.
9066 if test "${enable_svg+set}" = set; then
9067 enableval=$enable_svg;
9068 if test "$enableval" = yes; then
9069 wx_cv_use_svg='wxUSE_SVG=yes'
9071 wx_cv_use_svg='wxUSE_SVG=no'
9076 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9081 eval "$wx_cv_use_svg"
9083 if test x
"$enablestring" = xdisable
; then
9084 if test $wxUSE_SVG = yes; then
9093 { echo "$as_me:$LINENO: result: $result" >&5
9094 echo "${ECHO_T}$result" >&6; }
9100 defaultval
=$wxUSE_ALL_FEATURES
9101 if test -z "$defaultval"; then
9102 if test x
"$enablestring" = xdisable
; then
9109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9110 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9111 # Check whether --enable-clipboard was given.
9112 if test "${enable_clipboard+set}" = set; then
9113 enableval
=$enable_clipboard;
9114 if test "$enableval" = yes; then
9115 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9117 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9122 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9127 eval "$wx_cv_use_clipboard"
9129 if test x"$enablestring" = xdisable; then
9130 if test $wxUSE_CLIPBOARD = yes; then
9136 result=$wxUSE_CLIPBOARD
9139 { echo "$as_me:$LINENO: result: $result" >&5
9140 echo "${ECHO_T}$result" >&6; }
9144 defaultval=$wxUSE_ALL_FEATURES
9145 if test -z "$defaultval"; then
9146 if test x"$enablestring" = xdisable; then
9153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9154 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9155 # Check whether --enable-dnd was given.
9156 if test "${enable_dnd+set}" = set; then
9157 enableval=$enable_dnd;
9158 if test "$enableval" = yes; then
9159 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9161 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9166 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9171 eval "$wx_cv_use_dnd"
9173 if test x"$enablestring" = xdisable; then
9174 if test $wxUSE_DRAG_AND_DROP = yes; then
9180 result=$wxUSE_DRAG_AND_DROP
9183 { echo "$as_me:$LINENO: result
: $result" >&5
9184 echo "${ECHO_T}$result" >&6; }
9188 defaultval=$wxUSE_ALL_FEATURES
9189 if test -z "$defaultval"; then
9190 if test x"$enablestring" = xdisable; then
9197 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9198 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9199 # Check whether --enable-metafile was given.
9200 if test "${enable_metafile+set}" = set; then
9201 enableval=$enable_metafile;
9202 if test "$enableval" = yes; then
9203 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9205 wx_cv_use_metafile='wxUSE_METAFILE=no'
9210 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9215 eval "$wx_cv_use_metafile"
9217 if test x
"$enablestring" = xdisable
; then
9218 if test $wxUSE_METAFILE = yes; then
9224 result
=$wxUSE_METAFILE
9227 { echo "$as_me:$LINENO: result: $result" >&5
9228 echo "${ECHO_T}$result" >&6; }
9232 DEFAULT_wxUSE_CONTROLS
=none
9234 enablestring
=disable
9236 if test -z "$defaultval"; then
9237 if test x
"$enablestring" = xdisable
; then
9244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9245 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9246 # Check whether --enable-controls was given.
9247 if test "${enable_controls+set}" = set; then
9248 enableval
=$enable_controls;
9249 if test "$enableval" = yes; then
9250 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9252 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9257 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9262 eval "$wx_cv_use_controls"
9264 if test x"$enablestring" = xdisable; then
9265 if test $wxUSE_CONTROLS = yes; then
9271 result=$wxUSE_CONTROLS
9274 { echo "$as_me:$LINENO: result: $result" >&5
9275 echo "${ECHO_T}$result" >&6; }
9278 if test "$wxUSE_CONTROLS" = "yes"; then
9279 DEFAULT_wxUSE_ACCEL=yes
9280 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9281 DEFAULT_wxUSE_BMPBUTTON=yes
9282 DEFAULT_wxUSE_BUTTON=yes
9283 DEFAULT_wxUSE_CALCTRL=yes
9284 DEFAULT_wxUSE_CARET=yes
9285 DEFAULT_wxUSE_COMBOBOX=yes
9286 DEFAULT_wxUSE_CHECKBOX=yes
9287 DEFAULT_wxUSE_CHECKLISTBOX=yes
9288 DEFAULT_wxUSE_CHOICE=yes
9289 DEFAULT_wxUSE_CHOICEBOOK=yes
9290 DEFAULT_wxUSE_COLLPANE=yes
9291 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9292 DEFAULT_wxUSE_COMBOBOX=yes
9293 DEFAULT_wxUSE_DATEPICKCTRL=yes
9294 DEFAULT_wxUSE_DISPLAY=yes
9295 DEFAULT_wxUSE_DETECT_SM=yes
9296 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9297 DEFAULT_wxUSE_FILECTRL=yes
9298 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9299 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9300 DEFAULT_wxUSE_GAUGE=yes
9301 DEFAULT_wxUSE_GRID=yes
9302 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9303 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9304 DEFAULT_wxUSE_IMAGLIST=yes
9305 DEFAULT_wxUSE_LISTBOOK=yes
9306 DEFAULT_wxUSE_LISTBOX=yes
9307 DEFAULT_wxUSE_LISTCTRL=yes
9308 DEFAULT_wxUSE_NOTEBOOK=yes
9309 DEFAULT_wxUSE_RADIOBOX=yes
9310 DEFAULT_wxUSE_RADIOBTN=yes
9311 DEFAULT_wxUSE_SASH=yes
9312 DEFAULT_wxUSE_SCROLLBAR=yes
9313 DEFAULT_wxUSE_SEARCHCTRL=yes
9314 DEFAULT_wxUSE_SLIDER=yes
9315 DEFAULT_wxUSE_SPINBTN=yes
9316 DEFAULT_wxUSE_SPINCTRL=yes
9317 DEFAULT_wxUSE_SPLITTER=yes
9318 DEFAULT_wxUSE_STATBMP=yes
9319 DEFAULT_wxUSE_STATBOX=yes
9320 DEFAULT_wxUSE_STATLINE=yes
9321 DEFAULT_wxUSE_STATUSBAR=yes
9322 DEFAULT_wxUSE_TAB_DIALOG=yes
9323 DEFAULT_wxUSE_TOGGLEBTN=yes
9324 DEFAULT_wxUSE_TOOLBAR=yes
9325 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9326 DEFAULT_wxUSE_TOOLTIPS=yes
9327 DEFAULT_wxUSE_TREEBOOK=yes
9328 DEFAULT_wxUSE_TOOLBOOK=yes
9329 DEFAULT_wxUSE_TREECTRL=yes
9330 DEFAULT_wxUSE_POPUPWIN=yes
9331 DEFAULT_wxUSE_TIPWINDOW=yes
9332 elif test "$wxUSE_CONTROLS" = "no"; then
9333 DEFAULT_wxUSE_ACCEL=no
9334 DEFAULT_wxUSE_ANIMATIONCTRL=no
9335 DEFAULT_wxUSE_BMPBUTTON=no
9336 DEFAULT_wxUSE_BUTTON=no
9337 DEFAULT_wxUSE_CALCTRL=no
9338 DEFAULT_wxUSE_CARET=no
9339 DEFAULT_wxUSE_COLLPANE=no
9340 DEFAULT_wxUSE_COMBOBOX=no
9341 DEFAULT_wxUSE_CHECKBOX=no
9342 DEFAULT_wxUSE_CHECKLISTBOX=no
9343 DEFAULT_wxUSE_CHOICE=no
9344 DEFAULT_wxUSE_CHOICEBOOK=no
9345 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9346 DEFAULT_wxUSE_COMBOBOX=no
9347 DEFAULT_wxUSE_DATEPICKCTRL=no
9348 DEFAULT_wxUSE_DISPLAY=no
9349 DEFAULT_wxUSE_DETECT_SM=no
9350 DEFAULT_wxUSE_DIRPICKERCTRL=no
9351 DEFAULT_wxUSE_FILECTRL=no
9352 DEFAULT_wxUSE_FILEPICKERCTRL=no
9353 DEFAULT_wxUSE_FONTPICKERCTRL=no
9354 DEFAULT_wxUSE_GAUGE=no
9355 DEFAULT_wxUSE_GRID=no
9356 DEFAULT_wxUSE_HYPERLINKCTRL=no
9357 DEFAULT_wxUSE_DATAVIEWCTRL=no
9358 DEFAULT_wxUSE_IMAGLIST=no
9359 DEFAULT_wxUSE_LISTBOOK=no
9360 DEFAULT_wxUSE_LISTBOX=no
9361 DEFAULT_wxUSE_LISTCTRL=no
9362 DEFAULT_wxUSE_NOTEBOOK=no
9363 DEFAULT_wxUSE_RADIOBOX=no
9364 DEFAULT_wxUSE_RADIOBTN=no
9365 DEFAULT_wxUSE_SASH=no
9366 DEFAULT_wxUSE_SCROLLBAR=no
9367 DEFAULT_wxUSE_SEARCHCTRL=no
9368 DEFAULT_wxUSE_SLIDER=no
9369 DEFAULT_wxUSE_SPINBTN=no
9370 DEFAULT_wxUSE_SPINCTRL=no
9371 DEFAULT_wxUSE_SPLITTER=no
9372 DEFAULT_wxUSE_STATBMP=no
9373 DEFAULT_wxUSE_STATBOX=no
9374 DEFAULT_wxUSE_STATLINE=no
9375 DEFAULT_wxUSE_STATUSBAR=no
9376 DEFAULT_wxUSE_TAB_DIALOG=no
9377 DEFAULT_wxUSE_TOGGLEBTN=no
9378 DEFAULT_wxUSE_TOOLBAR=no
9379 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9380 DEFAULT_wxUSE_TOOLTIPS=no
9381 DEFAULT_wxUSE_TREEBOOK=no
9382 DEFAULT_wxUSE_TOOLBOOK=no
9383 DEFAULT_wxUSE_TREECTRL=no
9384 DEFAULT_wxUSE_POPUPWIN=no
9385 DEFAULT_wxUSE_TIPWINDOW=no
9390 defaultval=$wxUSE_ALL_FEATURES
9391 if test -z "$defaultval"; then
9392 if test x"$enablestring" = xdisable; then
9399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9400 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9401 # Check whether --enable-accel was given.
9402 if test "${enable_accel+set}" = set; then
9403 enableval=$enable_accel;
9404 if test "$enableval" = yes; then
9405 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9407 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9412 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9417 eval "$wx_cv_use_accel"
9419 if test x"$enablestring" = xdisable; then
9420 if test $wxUSE_ACCEL = yes; then
9429 { echo "$as_me:$LINENO: result
: $result" >&5
9430 echo "${ECHO_T}$result" >&6; }
9434 defaultval=$wxUSE_ALL_FEATURES
9435 if test -z "$defaultval"; then
9436 if test x"$enablestring" = xdisable; then
9443 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
9444 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9445 # Check whether --enable-animatectrl was given.
9446 if test "${enable_animatectrl+set}" = set; then
9447 enableval=$enable_animatectrl;
9448 if test "$enableval" = yes; then
9449 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9451 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9456 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9461 eval "$wx_cv_use_animatectrl"
9463 if test x
"$enablestring" = xdisable
; then
9464 if test $wxUSE_ANIMATIONCTRL = yes; then
9470 result
=$wxUSE_ANIMATIONCTRL
9473 { echo "$as_me:$LINENO: result: $result" >&5
9474 echo "${ECHO_T}$result" >&6; }
9478 defaultval
=$wxUSE_ALL_FEATURES
9479 if test -z "$defaultval"; then
9480 if test x
"$enablestring" = xdisable
; then
9487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9488 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9489 # Check whether --enable-button was given.
9490 if test "${enable_button+set}" = set; then
9491 enableval
=$enable_button;
9492 if test "$enableval" = yes; then
9493 wx_cv_use_button
='wxUSE_BUTTON=yes'
9495 wx_cv_use_button
='wxUSE_BUTTON=no'
9500 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9505 eval "$wx_cv_use_button"
9507 if test x"$enablestring" = xdisable; then
9508 if test $wxUSE_BUTTON = yes; then
9514 result=$wxUSE_BUTTON
9517 { echo "$as_me:$LINENO: result: $result" >&5
9518 echo "${ECHO_T}$result" >&6; }
9522 defaultval=$wxUSE_ALL_FEATURES
9523 if test -z "$defaultval"; then
9524 if test x"$enablestring" = xdisable; then
9531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9532 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9533 # Check whether --enable-bmpbutton was given.
9534 if test "${enable_bmpbutton+set}" = set; then
9535 enableval=$enable_bmpbutton;
9536 if test "$enableval" = yes; then
9537 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
9539 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
9544 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9549 eval "$wx_cv_use_bmpbutton"
9551 if test x"$enablestring" = xdisable; then
9552 if test $wxUSE_BMPBUTTON = yes; then
9558 result=$wxUSE_BMPBUTTON
9561 { echo "$as_me:$LINENO: result
: $result" >&5
9562 echo "${ECHO_T}$result" >&6; }
9566 defaultval=$wxUSE_ALL_FEATURES
9567 if test -z "$defaultval"; then
9568 if test x"$enablestring" = xdisable; then
9575 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
9576 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
9577 # Check whether --enable-bmpcombobox was given.
9578 if test "${enable_bmpcombobox+set}" = set; then
9579 enableval=$enable_bmpcombobox;
9580 if test "$enableval" = yes; then
9581 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9583 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9588 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9593 eval "$wx_cv_use_bmpcombobox"
9595 if test x
"$enablestring" = xdisable
; then
9596 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9602 result
=$wxUSE_BITMAPCOMBOBOX
9605 { echo "$as_me:$LINENO: result: $result" >&5
9606 echo "${ECHO_T}$result" >&6; }
9610 defaultval
=$wxUSE_ALL_FEATURES
9611 if test -z "$defaultval"; then
9612 if test x
"$enablestring" = xdisable
; then
9619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9620 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9621 # Check whether --enable-calendar was given.
9622 if test "${enable_calendar+set}" = set; then
9623 enableval
=$enable_calendar;
9624 if test "$enableval" = yes; then
9625 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9627 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9632 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9637 eval "$wx_cv_use_calendar"
9639 if test x"$enablestring" = xdisable; then
9640 if test $wxUSE_CALCTRL = yes; then
9646 result=$wxUSE_CALCTRL
9649 { echo "$as_me:$LINENO: result: $result" >&5
9650 echo "${ECHO_T}$result" >&6; }
9654 defaultval=$wxUSE_ALL_FEATURES
9655 if test -z "$defaultval"; then
9656 if test x"$enablestring" = xdisable; then
9663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9664 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9665 # Check whether --enable-caret was given.
9666 if test "${enable_caret+set}" = set; then
9667 enableval=$enable_caret;
9668 if test "$enableval" = yes; then
9669 wx_cv_use_caret='wxUSE_CARET
=yes'
9671 wx_cv_use_caret='wxUSE_CARET
=no
'
9676 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9681 eval "$wx_cv_use_caret"
9683 if test x"$enablestring" = xdisable; then
9684 if test $wxUSE_CARET = yes; then
9693 { echo "$as_me:$LINENO: result
: $result" >&5
9694 echo "${ECHO_T}$result" >&6; }
9698 defaultval=$wxUSE_ALL_FEATURES
9699 if test -z "$defaultval"; then
9700 if test x"$enablestring" = xdisable; then
9707 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
9708 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
9709 # Check whether --enable-checkbox was given.
9710 if test "${enable_checkbox+set}" = set; then
9711 enableval=$enable_checkbox;
9712 if test "$enableval" = yes; then
9713 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9715 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9720 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9725 eval "$wx_cv_use_checkbox"
9727 if test x
"$enablestring" = xdisable
; then
9728 if test $wxUSE_CHECKBOX = yes; then
9734 result
=$wxUSE_CHECKBOX
9737 { echo "$as_me:$LINENO: result: $result" >&5
9738 echo "${ECHO_T}$result" >&6; }
9742 defaultval
=$wxUSE_ALL_FEATURES
9743 if test -z "$defaultval"; then
9744 if test x
"$enablestring" = xdisable
; then
9751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9752 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9753 # Check whether --enable-checklst was given.
9754 if test "${enable_checklst+set}" = set; then
9755 enableval
=$enable_checklst;
9756 if test "$enableval" = yes; then
9757 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
9759 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
9764 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9769 eval "$wx_cv_use_checklst"
9771 if test x"$enablestring" = xdisable; then
9772 if test $wxUSE_CHECKLST = yes; then
9778 result=$wxUSE_CHECKLST
9781 { echo "$as_me:$LINENO: result: $result" >&5
9782 echo "${ECHO_T}$result" >&6; }
9786 defaultval=$wxUSE_ALL_FEATURES
9787 if test -z "$defaultval"; then
9788 if test x"$enablestring" = xdisable; then
9795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9796 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9797 # Check whether --enable-choice was given.
9798 if test "${enable_choice+set}" = set; then
9799 enableval=$enable_choice;
9800 if test "$enableval" = yes; then
9801 wx_cv_use_choice='wxUSE_CHOICE
=yes'
9803 wx_cv_use_choice='wxUSE_CHOICE
=no
'
9808 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9813 eval "$wx_cv_use_choice"
9815 if test x"$enablestring" = xdisable; then
9816 if test $wxUSE_CHOICE = yes; then
9822 result=$wxUSE_CHOICE
9825 { echo "$as_me:$LINENO: result
: $result" >&5
9826 echo "${ECHO_T}$result" >&6; }
9830 defaultval=$wxUSE_ALL_FEATURES
9831 if test -z "$defaultval"; then
9832 if test x"$enablestring" = xdisable; then
9839 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
9840 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
9841 # Check whether --enable-choicebook was given.
9842 if test "${enable_choicebook+set}" = set; then
9843 enableval=$enable_choicebook;
9844 if test "$enableval" = yes; then
9845 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9847 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9852 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9857 eval "$wx_cv_use_choicebook"
9859 if test x
"$enablestring" = xdisable
; then
9860 if test $wxUSE_CHOICEBOOK = yes; then
9866 result
=$wxUSE_CHOICEBOOK
9869 { echo "$as_me:$LINENO: result: $result" >&5
9870 echo "${ECHO_T}$result" >&6; }
9874 defaultval
=$wxUSE_ALL_FEATURES
9875 if test -z "$defaultval"; then
9876 if test x
"$enablestring" = xdisable
; then
9883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9884 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9885 # Check whether --enable-collpane was given.
9886 if test "${enable_collpane+set}" = set; then
9887 enableval
=$enable_collpane;
9888 if test "$enableval" = yes; then
9889 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
9891 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
9896 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9901 eval "$wx_cv_use_collpane"
9903 if test x"$enablestring" = xdisable; then
9904 if test $wxUSE_COLLPANE = yes; then
9910 result=$wxUSE_COLLPANE
9913 { echo "$as_me:$LINENO: result: $result" >&5
9914 echo "${ECHO_T}$result" >&6; }
9918 defaultval=$wxUSE_ALL_FEATURES
9919 if test -z "$defaultval"; then
9920 if test x"$enablestring" = xdisable; then
9927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9928 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9929 # Check whether --enable-colourpicker was given.
9930 if test "${enable_colourpicker+set}" = set; then
9931 enableval=$enable_colourpicker;
9932 if test "$enableval" = yes; then
9933 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
9935 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
9940 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
9945 eval "$wx_cv_use_colourpicker"
9947 if test x"$enablestring" = xdisable; then
9948 if test $wxUSE_COLOURPICKERCTRL = yes; then
9954 result=$wxUSE_COLOURPICKERCTRL
9957 { echo "$as_me:$LINENO: result
: $result" >&5
9958 echo "${ECHO_T}$result" >&6; }
9962 defaultval=$wxUSE_ALL_FEATURES
9963 if test -z "$defaultval"; then
9964 if test x"$enablestring" = xdisable; then
9971 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
9972 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
9973 # Check whether --enable-combobox was given.
9974 if test "${enable_combobox+set}" = set; then
9975 enableval=$enable_combobox;
9976 if test "$enableval" = yes; then
9977 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
9979 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
9984 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
9989 eval "$wx_cv_use_combobox"
9991 if test x
"$enablestring" = xdisable
; then
9992 if test $wxUSE_COMBOBOX = yes; then
9998 result
=$wxUSE_COMBOBOX
10001 { echo "$as_me:$LINENO: result: $result" >&5
10002 echo "${ECHO_T}$result" >&6; }
10006 defaultval
=$wxUSE_ALL_FEATURES
10007 if test -z "$defaultval"; then
10008 if test x
"$enablestring" = xdisable
; then
10015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10016 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10017 # Check whether --enable-comboctrl was given.
10018 if test "${enable_comboctrl+set}" = set; then
10019 enableval
=$enable_comboctrl;
10020 if test "$enableval" = yes; then
10021 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10023 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10028 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10033 eval "$wx_cv_use_comboctrl"
10035 if test x"$enablestring" = xdisable; then
10036 if test $wxUSE_COMBOCTRL = yes; then
10042 result=$wxUSE_COMBOCTRL
10045 { echo "$as_me:$LINENO: result: $result" >&5
10046 echo "${ECHO_T}$result" >&6; }
10050 defaultval=$wxUSE_ALL_FEATURES
10051 if test -z "$defaultval"; then
10052 if test x"$enablestring" = xdisable; then
10059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10060 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10061 # Check whether --enable-datepick was given.
10062 if test "${enable_datepick+set}" = set; then
10063 enableval=$enable_datepick;
10064 if test "$enableval" = yes; then
10065 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
10067 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
10072 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10077 eval "$wx_cv_use_datepick"
10079 if test x"$enablestring" = xdisable; then
10080 if test $wxUSE_DATEPICKCTRL = yes; then
10086 result=$wxUSE_DATEPICKCTRL
10089 { echo "$as_me:$LINENO: result
: $result" >&5
10090 echo "${ECHO_T}$result" >&6; }
10094 defaultval=$wxUSE_ALL_FEATURES
10095 if test -z "$defaultval"; then
10096 if test x"$enablestring" = xdisable; then
10103 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirpicker" >&5
10104 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10105 # Check whether --enable-dirpicker was given.
10106 if test "${enable_dirpicker+set}" = set; then
10107 enableval=$enable_dirpicker;
10108 if test "$enableval" = yes; then
10109 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10111 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10116 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10121 eval "$wx_cv_use_dirpicker"
10123 if test x
"$enablestring" = xdisable
; then
10124 if test $wxUSE_DIRPICKERCTRL = yes; then
10130 result
=$wxUSE_DIRPICKERCTRL
10133 { echo "$as_me:$LINENO: result: $result" >&5
10134 echo "${ECHO_T}$result" >&6; }
10138 defaultval
=$wxUSE_ALL_FEATURES
10139 if test -z "$defaultval"; then
10140 if test x
"$enablestring" = xdisable
; then
10147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10148 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10149 # Check whether --enable-display was given.
10150 if test "${enable_display+set}" = set; then
10151 enableval
=$enable_display;
10152 if test "$enableval" = yes; then
10153 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10155 wx_cv_use_display
='wxUSE_DISPLAY=no'
10160 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10165 eval "$wx_cv_use_display"
10167 if test x"$enablestring" = xdisable; then
10168 if test $wxUSE_DISPLAY = yes; then
10174 result=$wxUSE_DISPLAY
10177 { echo "$as_me:$LINENO: result: $result" >&5
10178 echo "${ECHO_T}$result" >&6; }
10182 defaultval=$wxUSE_ALL_FEATURES
10183 if test -z "$defaultval"; then
10184 if test x"$enablestring" = xdisable; then
10191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10192 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10193 # Check whether --enable-detect_sm was given.
10194 if test "${enable_detect_sm+set}" = set; then
10195 enableval=$enable_detect_sm;
10196 if test "$enableval" = yes; then
10197 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10199 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10204 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10209 eval "$wx_cv_use_detect_sm"
10211 if test x"$enablestring" = xdisable; then
10212 if test $wxUSE_DETECT_SM = yes; then
10218 result=$wxUSE_DETECT_SM
10221 { echo "$as_me:$LINENO: result
: $result" >&5
10222 echo "${ECHO_T}$result" >&6; }
10226 defaultval=$wxUSE_ALL_FEATURES
10227 if test -z "$defaultval"; then
10228 if test x"$enablestring" = xdisable; then
10235 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
10236 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
10237 # Check whether --enable-editablebox was given.
10238 if test "${enable_editablebox+set}" = set; then
10239 enableval=$enable_editablebox;
10240 if test "$enableval" = yes; then
10241 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10243 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10248 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10253 eval "$wx_cv_use_editablebox"
10255 if test x
"$enablestring" = xdisable
; then
10256 if test $wxUSE_EDITABLELISTBOX = yes; then
10262 result
=$wxUSE_EDITABLELISTBOX
10265 { echo "$as_me:$LINENO: result: $result" >&5
10266 echo "${ECHO_T}$result" >&6; }
10270 defaultval
=$wxUSE_ALL_FEATURES
10271 if test -z "$defaultval"; then
10272 if test x
"$enablestring" = xdisable
; then
10279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10280 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10281 # Check whether --enable-filepicker was given.
10282 if test "${enable_filepicker+set}" = set; then
10283 enableval
=$enable_filepicker;
10284 if test "$enableval" = yes; then
10285 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
10287 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
10292 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10297 eval "$wx_cv_use_filepicker"
10299 if test x"$enablestring" = xdisable; then
10300 if test $wxUSE_FILEPICKERCTRL = yes; then
10306 result=$wxUSE_FILEPICKERCTRL
10309 { echo "$as_me:$LINENO: result: $result" >&5
10310 echo "${ECHO_T}$result" >&6; }
10314 defaultval=$wxUSE_ALL_FEATURES
10315 if test -z "$defaultval"; then
10316 if test x"$enablestring" = xdisable; then
10323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10324 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10325 # Check whether --enable-filectrl was given.
10326 if test "${enable_filectrl+set}" = set; then
10327 enableval=$enable_filectrl;
10328 if test "$enableval" = yes; then
10329 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10331 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10336 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10341 eval "$wx_cv_use_filectrl"
10343 if test x"$enablestring" = xdisable; then
10344 if test $wxUSE_FILECTRL = yes; then
10350 result=$wxUSE_FILECTRL
10353 { echo "$as_me:$LINENO: result
: $result" >&5
10354 echo "${ECHO_T}$result" >&6; }
10358 defaultval=$wxUSE_ALL_FEATURES
10359 if test -z "$defaultval"; then
10360 if test x"$enablestring" = xdisable; then
10367 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
10368 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
10369 # Check whether --enable-fontpicker was given.
10370 if test "${enable_fontpicker+set}" = set; then
10371 enableval=$enable_fontpicker;
10372 if test "$enableval" = yes; then
10373 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10375 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10380 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10385 eval "$wx_cv_use_fontpicker"
10387 if test x
"$enablestring" = xdisable
; then
10388 if test $wxUSE_FONTPICKERCTRL = yes; then
10394 result
=$wxUSE_FONTPICKERCTRL
10397 { echo "$as_me:$LINENO: result: $result" >&5
10398 echo "${ECHO_T}$result" >&6; }
10402 defaultval
=$wxUSE_ALL_FEATURES
10403 if test -z "$defaultval"; then
10404 if test x
"$enablestring" = xdisable
; then
10411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10412 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10413 # Check whether --enable-gauge was given.
10414 if test "${enable_gauge+set}" = set; then
10415 enableval
=$enable_gauge;
10416 if test "$enableval" = yes; then
10417 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
10419 wx_cv_use_gauge
='wxUSE_GAUGE=no'
10424 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10429 eval "$wx_cv_use_gauge"
10431 if test x"$enablestring" = xdisable; then
10432 if test $wxUSE_GAUGE = yes; then
10438 result=$wxUSE_GAUGE
10441 { echo "$as_me:$LINENO: result: $result" >&5
10442 echo "${ECHO_T}$result" >&6; }
10446 defaultval=$wxUSE_ALL_FEATURES
10447 if test -z "$defaultval"; then
10448 if test x"$enablestring" = xdisable; then
10455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10456 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10457 # Check whether --enable-grid was given.
10458 if test "${enable_grid+set}" = set; then
10459 enableval=$enable_grid;
10460 if test "$enableval" = yes; then
10461 wx_cv_use_grid='wxUSE_GRID
=yes'
10463 wx_cv_use_grid='wxUSE_GRID
=no
'
10468 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10473 eval "$wx_cv_use_grid"
10475 if test x"$enablestring" = xdisable; then
10476 if test $wxUSE_GRID = yes; then
10485 { echo "$as_me:$LINENO: result
: $result" >&5
10486 echo "${ECHO_T}$result" >&6; }
10490 defaultval=$wxUSE_ALL_FEATURES
10491 if test -z "$defaultval"; then
10492 if test x"$enablestring" = xdisable; then
10499 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
10500 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10501 # Check whether --enable-dataviewctrl was given.
10502 if test "${enable_dataviewctrl+set}" = set; then
10503 enableval=$enable_dataviewctrl;
10504 if test "$enableval" = yes; then
10505 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10507 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10512 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10517 eval "$wx_cv_use_dataviewctrl"
10519 if test x
"$enablestring" = xdisable
; then
10520 if test $wxUSE_DATAVIEWCTRL = yes; then
10526 result
=$wxUSE_DATAVIEWCTRL
10529 { echo "$as_me:$LINENO: result: $result" >&5
10530 echo "${ECHO_T}$result" >&6; }
10534 defaultval
=$wxUSE_ALL_FEATURES
10535 if test -z "$defaultval"; then
10536 if test x
"$enablestring" = xdisable
; then
10543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10544 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10545 # Check whether --enable-hyperlink was given.
10546 if test "${enable_hyperlink+set}" = set; then
10547 enableval
=$enable_hyperlink;
10548 if test "$enableval" = yes; then
10549 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
10551 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
10556 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10561 eval "$wx_cv_use_hyperlink"
10563 if test x"$enablestring" = xdisable; then
10564 if test $wxUSE_HYPERLINKCTRL = yes; then
10570 result=$wxUSE_HYPERLINKCTRL
10573 { echo "$as_me:$LINENO: result: $result" >&5
10574 echo "${ECHO_T}$result" >&6; }
10578 defaultval=$wxUSE_ALL_FEATURES
10579 if test -z "$defaultval"; then
10580 if test x"$enablestring" = xdisable; then
10587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10588 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10589 # Check whether --enable-imaglist was given.
10590 if test "${enable_imaglist+set}" = set; then
10591 enableval=$enable_imaglist;
10592 if test "$enableval" = yes; then
10593 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
10595 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
10600 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10605 eval "$wx_cv_use_imaglist"
10607 if test x"$enablestring" = xdisable; then
10608 if test $wxUSE_IMAGLIST = yes; then
10614 result=$wxUSE_IMAGLIST
10617 { echo "$as_me:$LINENO: result
: $result" >&5
10618 echo "${ECHO_T}$result" >&6; }
10622 defaultval=$wxUSE_ALL_FEATURES
10623 if test -z "$defaultval"; then
10624 if test x"$enablestring" = xdisable; then
10631 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbook" >&5
10632 echo $ECHO_N "checking
for --${enablestring:-enable}-listbook...
$ECHO_C" >&6; }
10633 # Check whether --enable-listbook was given.
10634 if test "${enable_listbook+set}" = set; then
10635 enableval=$enable_listbook;
10636 if test "$enableval" = yes; then
10637 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10639 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10644 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10649 eval "$wx_cv_use_listbook"
10651 if test x
"$enablestring" = xdisable
; then
10652 if test $wxUSE_LISTBOOK = yes; then
10658 result
=$wxUSE_LISTBOOK
10661 { echo "$as_me:$LINENO: result: $result" >&5
10662 echo "${ECHO_T}$result" >&6; }
10666 defaultval
=$wxUSE_ALL_FEATURES
10667 if test -z "$defaultval"; then
10668 if test x
"$enablestring" = xdisable
; then
10675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10676 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10677 # Check whether --enable-listbox was given.
10678 if test "${enable_listbox+set}" = set; then
10679 enableval
=$enable_listbox;
10680 if test "$enableval" = yes; then
10681 wx_cv_use_listbox
='wxUSE_LISTBOX=yes'
10683 wx_cv_use_listbox
='wxUSE_LISTBOX=no'
10688 wx_cv_use_listbox
='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10693 eval "$wx_cv_use_listbox"
10695 if test x"$enablestring" = xdisable; then
10696 if test $wxUSE_LISTBOX = yes; then
10702 result=$wxUSE_LISTBOX
10705 { echo "$as_me:$LINENO: result: $result" >&5
10706 echo "${ECHO_T}$result" >&6; }
10710 defaultval=$wxUSE_ALL_FEATURES
10711 if test -z "$defaultval"; then
10712 if test x"$enablestring" = xdisable; then
10719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10720 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10721 # Check whether --enable-listctrl was given.
10722 if test "${enable_listctrl+set}" = set; then
10723 enableval=$enable_listctrl;
10724 if test "$enableval" = yes; then
10725 wx_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
10727 wx_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
10732 wx_cv_use_listctrl='wxUSE_LISTCTRL
=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10737 eval "$wx_cv_use_listctrl"
10739 if test x"$enablestring" = xdisable; then
10740 if test $wxUSE_LISTCTRL = yes; then
10746 result=$wxUSE_LISTCTRL
10749 { echo "$as_me:$LINENO: result
: $result" >&5
10750 echo "${ECHO_T}$result" >&6; }
10754 defaultval=$wxUSE_ALL_FEATURES
10755 if test -z "$defaultval"; then
10756 if test x"$enablestring" = xdisable; then
10763 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notebook" >&5
10764 echo $ECHO_N "checking
for --${enablestring:-enable}-notebook...
$ECHO_C" >&6; }
10765 # Check whether --enable-notebook was given.
10766 if test "${enable_notebook+set}" = set; then
10767 enableval=$enable_notebook;
10768 if test "$enableval" = yes; then
10769 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10771 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10776 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10781 eval "$wx_cv_use_notebook"
10783 if test x
"$enablestring" = xdisable
; then
10784 if test $wxUSE_NOTEBOOK = yes; then
10790 result
=$wxUSE_NOTEBOOK
10793 { echo "$as_me:$LINENO: result: $result" >&5
10794 echo "${ECHO_T}$result" >&6; }
10798 defaultval
=$wxUSE_ALL_FEATURES
10799 if test -z "$defaultval"; then
10800 if test x
"$enablestring" = xdisable
; then
10807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10808 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10809 # Check whether --enable-notifmsg was given.
10810 if test "${enable_notifmsg+set}" = set; then
10811 enableval
=$enable_notifmsg;
10812 if test "$enableval" = yes; then
10813 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=yes'
10815 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=no'
10820 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10825 eval "$wx_cv_use_notifmsg"
10827 if test x"$enablestring" = xdisable; then
10828 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10834 result=$wxUSE_NOTIFICATION_MESSAGE
10837 { echo "$as_me:$LINENO: result: $result" >&5
10838 echo "${ECHO_T}$result" >&6; }
10842 defaultval=$wxUSE_ALL_FEATURES
10843 if test -z "$defaultval"; then
10844 if test x"$enablestring" = xdisable; then
10851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10852 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10853 # Check whether --enable-odcombobox was given.
10854 if test "${enable_odcombobox+set}" = set; then
10855 enableval=$enable_odcombobox;
10856 if test "$enableval" = yes; then
10857 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
10859 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
10864 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10869 eval "$wx_cv_use_odcombobox"
10871 if test x"$enablestring" = xdisable; then
10872 if test $wxUSE_ODCOMBOBOX = yes; then
10878 result=$wxUSE_ODCOMBOBOX
10881 { echo "$as_me:$LINENO: result
: $result" >&5
10882 echo "${ECHO_T}$result" >&6; }
10886 defaultval=$wxUSE_ALL_FEATURES
10887 if test -z "$defaultval"; then
10888 if test x"$enablestring" = xdisable; then
10895 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobox" >&5
10896 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6; }
10897 # Check whether --enable-radiobox was given.
10898 if test "${enable_radiobox+set}" = set; then
10899 enableval=$enable_radiobox;
10900 if test "$enableval" = yes; then
10901 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10903 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
10908 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
10913 eval "$wx_cv_use_radiobox"
10915 if test x
"$enablestring" = xdisable
; then
10916 if test $wxUSE_RADIOBOX = yes; then
10922 result
=$wxUSE_RADIOBOX
10925 { echo "$as_me:$LINENO: result: $result" >&5
10926 echo "${ECHO_T}$result" >&6; }
10930 defaultval
=$wxUSE_ALL_FEATURES
10931 if test -z "$defaultval"; then
10932 if test x
"$enablestring" = xdisable
; then
10939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10940 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10941 # Check whether --enable-radiobtn was given.
10942 if test "${enable_radiobtn+set}" = set; then
10943 enableval
=$enable_radiobtn;
10944 if test "$enableval" = yes; then
10945 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
10947 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
10952 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
10957 eval "$wx_cv_use_radiobtn"
10959 if test x"$enablestring" = xdisable; then
10960 if test $wxUSE_RADIOBTN = yes; then
10966 result=$wxUSE_RADIOBTN
10969 { echo "$as_me:$LINENO: result: $result" >&5
10970 echo "${ECHO_T}$result" >&6; }
10974 defaultval=$wxUSE_ALL_FEATURES
10975 if test -z "$defaultval"; then
10976 if test x"$enablestring" = xdisable; then
10983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10984 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10985 # Check whether --enable-sash was given.
10986 if test "${enable_sash+set}" = set; then
10987 enableval=$enable_sash;
10988 if test "$enableval" = yes; then
10989 wx_cv_use_sash='wxUSE_SASH
=yes'
10991 wx_cv_use_sash='wxUSE_SASH
=no
'
10996 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11001 eval "$wx_cv_use_sash"
11003 if test x"$enablestring" = xdisable; then
11004 if test $wxUSE_SASH = yes; then
11013 { echo "$as_me:$LINENO: result
: $result" >&5
11014 echo "${ECHO_T}$result" >&6; }
11018 defaultval=$wxUSE_ALL_FEATURES
11019 if test -z "$defaultval"; then
11020 if test x"$enablestring" = xdisable; then
11027 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
11028 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6; }
11029 # Check whether --enable-scrollbar was given.
11030 if test "${enable_scrollbar+set}" = set; then
11031 enableval=$enable_scrollbar;
11032 if test "$enableval" = yes; then
11033 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11035 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11040 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11045 eval "$wx_cv_use_scrollbar"
11047 if test x
"$enablestring" = xdisable
; then
11048 if test $wxUSE_SCROLLBAR = yes; then
11054 result
=$wxUSE_SCROLLBAR
11057 { echo "$as_me:$LINENO: result: $result" >&5
11058 echo "${ECHO_T}$result" >&6; }
11062 defaultval
=$wxUSE_ALL_FEATURES
11063 if test -z "$defaultval"; then
11064 if test x
"$enablestring" = xdisable
; then
11071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11072 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11073 # Check whether --enable-searchctrl was given.
11074 if test "${enable_searchctrl+set}" = set; then
11075 enableval
=$enable_searchctrl;
11076 if test "$enableval" = yes; then
11077 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
11079 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
11084 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11089 eval "$wx_cv_use_searchctrl"
11091 if test x"$enablestring" = xdisable; then
11092 if test $wxUSE_SEARCHCTRL = yes; then
11098 result=$wxUSE_SEARCHCTRL
11101 { echo "$as_me:$LINENO: result: $result" >&5
11102 echo "${ECHO_T}$result" >&6; }
11106 defaultval=$wxUSE_ALL_FEATURES
11107 if test -z "$defaultval"; then
11108 if test x"$enablestring" = xdisable; then
11115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11116 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11117 # Check whether --enable-slider was given.
11118 if test "${enable_slider+set}" = set; then
11119 enableval=$enable_slider;
11120 if test "$enableval" = yes; then
11121 wx_cv_use_slider='wxUSE_SLIDER
=yes'
11123 wx_cv_use_slider='wxUSE_SLIDER
=no
'
11128 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11133 eval "$wx_cv_use_slider"
11135 if test x"$enablestring" = xdisable; then
11136 if test $wxUSE_SLIDER = yes; then
11142 result=$wxUSE_SLIDER
11145 { echo "$as_me:$LINENO: result
: $result" >&5
11146 echo "${ECHO_T}$result" >&6; }
11150 defaultval=$wxUSE_ALL_FEATURES
11151 if test -z "$defaultval"; then
11152 if test x"$enablestring" = xdisable; then
11159 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
11160 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6; }
11161 # Check whether --enable-spinbtn was given.
11162 if test "${enable_spinbtn+set}" = set; then
11163 enableval=$enable_spinbtn;
11164 if test "$enableval" = yes; then
11165 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11167 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11172 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11177 eval "$wx_cv_use_spinbtn"
11179 if test x
"$enablestring" = xdisable
; then
11180 if test $wxUSE_SPINBTN = yes; then
11186 result
=$wxUSE_SPINBTN
11189 { echo "$as_me:$LINENO: result: $result" >&5
11190 echo "${ECHO_T}$result" >&6; }
11194 defaultval
=$wxUSE_ALL_FEATURES
11195 if test -z "$defaultval"; then
11196 if test x
"$enablestring" = xdisable
; then
11203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11204 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11205 # Check whether --enable-spinctrl was given.
11206 if test "${enable_spinctrl+set}" = set; then
11207 enableval
=$enable_spinctrl;
11208 if test "$enableval" = yes; then
11209 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
11211 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
11216 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11221 eval "$wx_cv_use_spinctrl"
11223 if test x"$enablestring" = xdisable; then
11224 if test $wxUSE_SPINCTRL = yes; then
11230 result=$wxUSE_SPINCTRL
11233 { echo "$as_me:$LINENO: result: $result" >&5
11234 echo "${ECHO_T}$result" >&6; }
11238 defaultval=$wxUSE_ALL_FEATURES
11239 if test -z "$defaultval"; then
11240 if test x"$enablestring" = xdisable; then
11247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11248 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11249 # Check whether --enable-splitter was given.
11250 if test "${enable_splitter+set}" = set; then
11251 enableval=$enable_splitter;
11252 if test "$enableval" = yes; then
11253 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
11255 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
11260 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11265 eval "$wx_cv_use_splitter"
11267 if test x"$enablestring" = xdisable; then
11268 if test $wxUSE_SPLITTER = yes; then
11274 result=$wxUSE_SPLITTER
11277 { echo "$as_me:$LINENO: result
: $result" >&5
11278 echo "${ECHO_T}$result" >&6; }
11282 defaultval=$wxUSE_ALL_FEATURES
11283 if test -z "$defaultval"; then
11284 if test x"$enablestring" = xdisable; then
11291 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
11292 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6; }
11293 # Check whether --enable-statbmp was given.
11294 if test "${enable_statbmp+set}" = set; then
11295 enableval=$enable_statbmp;
11296 if test "$enableval" = yes; then
11297 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11299 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11304 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11309 eval "$wx_cv_use_statbmp"
11311 if test x
"$enablestring" = xdisable
; then
11312 if test $wxUSE_STATBMP = yes; then
11318 result
=$wxUSE_STATBMP
11321 { echo "$as_me:$LINENO: result: $result" >&5
11322 echo "${ECHO_T}$result" >&6; }
11326 defaultval
=$wxUSE_ALL_FEATURES
11327 if test -z "$defaultval"; then
11328 if test x
"$enablestring" = xdisable
; then
11335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11336 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11337 # Check whether --enable-statbox was given.
11338 if test "${enable_statbox+set}" = set; then
11339 enableval
=$enable_statbox;
11340 if test "$enableval" = yes; then
11341 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
11343 wx_cv_use_statbox
='wxUSE_STATBOX=no'
11348 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11353 eval "$wx_cv_use_statbox"
11355 if test x"$enablestring" = xdisable; then
11356 if test $wxUSE_STATBOX = yes; then
11362 result=$wxUSE_STATBOX
11365 { echo "$as_me:$LINENO: result: $result" >&5
11366 echo "${ECHO_T}$result" >&6; }
11370 defaultval=$wxUSE_ALL_FEATURES
11371 if test -z "$defaultval"; then
11372 if test x"$enablestring" = xdisable; then
11379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11380 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11381 # Check whether --enable-statline was given.
11382 if test "${enable_statline+set}" = set; then
11383 enableval=$enable_statline;
11384 if test "$enableval" = yes; then
11385 wx_cv_use_statline='wxUSE_STATLINE
=yes'
11387 wx_cv_use_statline='wxUSE_STATLINE
=no
'
11392 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11397 eval "$wx_cv_use_statline"
11399 if test x"$enablestring" = xdisable; then
11400 if test $wxUSE_STATLINE = yes; then
11406 result=$wxUSE_STATLINE
11409 { echo "$as_me:$LINENO: result
: $result" >&5
11410 echo "${ECHO_T}$result" >&6; }
11414 defaultval=$wxUSE_ALL_FEATURES
11415 if test -z "$defaultval"; then
11416 if test x"$enablestring" = xdisable; then
11423 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
11424 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6; }
11425 # Check whether --enable-stattext was given.
11426 if test "${enable_stattext+set}" = set; then
11427 enableval=$enable_stattext;
11428 if test "$enableval" = yes; then
11429 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11431 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11436 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11441 eval "$wx_cv_use_stattext"
11443 if test x
"$enablestring" = xdisable
; then
11444 if test $wxUSE_STATTEXT = yes; then
11450 result
=$wxUSE_STATTEXT
11453 { echo "$as_me:$LINENO: result: $result" >&5
11454 echo "${ECHO_T}$result" >&6; }
11458 defaultval
=$wxUSE_ALL_FEATURES
11459 if test -z "$defaultval"; then
11460 if test x
"$enablestring" = xdisable
; then
11467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11468 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11469 # Check whether --enable-statusbar was given.
11470 if test "${enable_statusbar+set}" = set; then
11471 enableval
=$enable_statusbar;
11472 if test "$enableval" = yes; then
11473 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
11475 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
11480 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11485 eval "$wx_cv_use_statusbar"
11487 if test x"$enablestring" = xdisable; then
11488 if test $wxUSE_STATUSBAR = yes; then
11494 result=$wxUSE_STATUSBAR
11497 { echo "$as_me:$LINENO: result: $result" >&5
11498 echo "${ECHO_T}$result" >&6; }
11502 defaultval=$wxUSE_ALL_FEATURES
11503 if test -z "$defaultval"; then
11504 if test x"$enablestring" = xdisable; then
11511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11512 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11513 # Check whether --enable-tabdialog was given.
11514 if test "${enable_tabdialog+set}" = set; then
11515 enableval=$enable_tabdialog;
11516 if test "$enableval" = yes; then
11517 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=yes'
11519 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=no
'
11524 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11529 eval "$wx_cv_use_tabdialog"
11531 if test x"$enablestring" = xdisable; then
11532 if test $wxUSE_TAB_DIALOG = yes; then
11538 result=$wxUSE_TAB_DIALOG
11541 { echo "$as_me:$LINENO: result
: $result" >&5
11542 echo "${ECHO_T}$result" >&6; }
11546 defaultval=$wxUSE_ALL_FEATURES
11547 if test -z "$defaultval"; then
11548 if test x"$enablestring" = xdisable; then
11555 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
11556 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
11557 # Check whether --enable-taskbaricon was given.
11558 if test "${enable_taskbaricon+set}" = set; then
11559 enableval=$enable_taskbaricon;
11560 if test "$enableval" = yes; then
11561 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11563 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11568 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11573 eval "$wx_cv_use_taskbaricon"
11575 if test x
"$enablestring" = xdisable
; then
11576 if test $wxUSE_TASKBARICON = yes; then
11582 result
=$wxUSE_TASKBARICON
11585 { echo "$as_me:$LINENO: result: $result" >&5
11586 echo "${ECHO_T}$result" >&6; }
11590 defaultval
=$wxUSE_ALL_FEATURES
11591 if test -z "$defaultval"; then
11592 if test x
"$enablestring" = xdisable
; then
11599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11600 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11601 # Check whether --enable-textctrl was given.
11602 if test "${enable_textctrl+set}" = set; then
11603 enableval
=$enable_textctrl;
11604 if test "$enableval" = yes; then
11605 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
11607 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
11612 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11617 eval "$wx_cv_use_textctrl"
11619 if test x"$enablestring" = xdisable; then
11620 if test $wxUSE_TEXTCTRL = yes; then
11626 result=$wxUSE_TEXTCTRL
11629 { echo "$as_me:$LINENO: result: $result" >&5
11630 echo "${ECHO_T}$result" >&6; }
11634 defaultval=$wxUSE_ALL_FEATURES
11635 if test -z "$defaultval"; then
11636 if test x"$enablestring" = xdisable; then
11643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11644 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11645 # Check whether --enable-togglebtn was given.
11646 if test "${enable_togglebtn+set}" = set; then
11647 enableval=$enable_togglebtn;
11648 if test "$enableval" = yes; then
11649 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
11651 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
11656 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11661 eval "$wx_cv_use_togglebtn"
11663 if test x"$enablestring" = xdisable; then
11664 if test $wxUSE_TOGGLEBTN = yes; then
11670 result=$wxUSE_TOGGLEBTN
11673 { echo "$as_me:$LINENO: result
: $result" >&5
11674 echo "${ECHO_T}$result" >&6; }
11678 defaultval=$wxUSE_ALL_FEATURES
11679 if test -z "$defaultval"; then
11680 if test x"$enablestring" = xdisable; then
11687 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbar" >&5
11688 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbar...
$ECHO_C" >&6; }
11689 # Check whether --enable-toolbar was given.
11690 if test "${enable_toolbar+set}" = set; then
11691 enableval=$enable_toolbar;
11692 if test "$enableval" = yes; then
11693 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11695 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11700 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11705 eval "$wx_cv_use_toolbar"
11707 if test x
"$enablestring" = xdisable
; then
11708 if test $wxUSE_TOOLBAR = yes; then
11714 result
=$wxUSE_TOOLBAR
11717 { echo "$as_me:$LINENO: result: $result" >&5
11718 echo "${ECHO_T}$result" >&6; }
11722 defaultval
=$wxUSE_ALL_FEATURES
11723 if test -z "$defaultval"; then
11724 if test x
"$enablestring" = xdisable
; then
11731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11732 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11733 # Check whether --enable-tbarnative was given.
11734 if test "${enable_tbarnative+set}" = set; then
11735 enableval
=$enable_tbarnative;
11736 if test "$enableval" = yes; then
11737 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
11739 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
11744 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11749 eval "$wx_cv_use_tbarnative"
11751 if test x"$enablestring" = xdisable; then
11752 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11758 result=$wxUSE_TOOLBAR_NATIVE
11761 { echo "$as_me:$LINENO: result: $result" >&5
11762 echo "${ECHO_T}$result" >&6; }
11766 defaultval=$wxUSE_ALL_FEATURES
11767 if test -z "$defaultval"; then
11768 if test x"$enablestring" = xdisable; then
11775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11776 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11777 # Check whether --enable-treebook was given.
11778 if test "${enable_treebook+set}" = set; then
11779 enableval=$enable_treebook;
11780 if test "$enableval" = yes; then
11781 wx_cv_use_treebook='wxUSE_TREEBOOK
=yes'
11783 wx_cv_use_treebook='wxUSE_TREEBOOK
=no
'
11788 wx_cv_use_treebook='wxUSE_TREEBOOK
=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11793 eval "$wx_cv_use_treebook"
11795 if test x"$enablestring" = xdisable; then
11796 if test $wxUSE_TREEBOOK = yes; then
11802 result=$wxUSE_TREEBOOK
11805 { echo "$as_me:$LINENO: result
: $result" >&5
11806 echo "${ECHO_T}$result" >&6; }
11810 defaultval=$wxUSE_ALL_FEATURES
11811 if test -z "$defaultval"; then
11812 if test x"$enablestring" = xdisable; then
11819 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
11820 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
11821 # Check whether --enable-toolbook was given.
11822 if test "${enable_toolbook+set}" = set; then
11823 enableval=$enable_toolbook;
11824 if test "$enableval" = yes; then
11825 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11827 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11832 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11837 eval "$wx_cv_use_toolbook"
11839 if test x
"$enablestring" = xdisable
; then
11840 if test $wxUSE_TOOLBOOK = yes; then
11846 result
=$wxUSE_TOOLBOOK
11849 { echo "$as_me:$LINENO: result: $result" >&5
11850 echo "${ECHO_T}$result" >&6; }
11854 defaultval
=$wxUSE_ALL_FEATURES
11855 if test -z "$defaultval"; then
11856 if test x
"$enablestring" = xdisable
; then
11863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11864 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11865 # Check whether --enable-treectrl was given.
11866 if test "${enable_treectrl+set}" = set; then
11867 enableval
=$enable_treectrl;
11868 if test "$enableval" = yes; then
11869 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
11871 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
11876 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11881 eval "$wx_cv_use_treectrl"
11883 if test x"$enablestring" = xdisable; then
11884 if test $wxUSE_TREECTRL = yes; then
11890 result=$wxUSE_TREECTRL
11893 { echo "$as_me:$LINENO: result: $result" >&5
11894 echo "${ECHO_T}$result" >&6; }
11898 defaultval=$wxUSE_ALL_FEATURES
11899 if test -z "$defaultval"; then
11900 if test x"$enablestring" = xdisable; then
11907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11908 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11909 # Check whether --enable-tipwindow was given.
11910 if test "${enable_tipwindow+set}" = set; then
11911 enableval=$enable_tipwindow;
11912 if test "$enableval" = yes; then
11913 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
11915 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
11920 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11925 eval "$wx_cv_use_tipwindow"
11927 if test x"$enablestring" = xdisable; then
11928 if test $wxUSE_TIPWINDOW = yes; then
11934 result=$wxUSE_TIPWINDOW
11937 { echo "$as_me:$LINENO: result
: $result" >&5
11938 echo "${ECHO_T}$result" >&6; }
11942 defaultval=$wxUSE_ALL_FEATURES
11943 if test -z "$defaultval"; then
11944 if test x"$enablestring" = xdisable; then
11951 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-popupwin" >&5
11952 echo $ECHO_N "checking
for --${enablestring:-enable}-popupwin...
$ECHO_C" >&6; }
11953 # Check whether --enable-popupwin was given.
11954 if test "${enable_popupwin+set}" = set; then
11955 enableval=$enable_popupwin;
11956 if test "$enableval" = yes; then
11957 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11959 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11964 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11969 eval "$wx_cv_use_popupwin"
11971 if test x
"$enablestring" = xdisable
; then
11972 if test $wxUSE_POPUPWIN = yes; then
11978 result
=$wxUSE_POPUPWIN
11981 { echo "$as_me:$LINENO: result: $result" >&5
11982 echo "${ECHO_T}$result" >&6; }
11988 defaultval
=$wxUSE_ALL_FEATURES
11989 if test -z "$defaultval"; then
11990 if test x
"$enablestring" = xdisable
; then
11997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11998 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11999 # Check whether --enable-commondlg was given.
12000 if test "${enable_commondlg+set}" = set; then
12001 enableval
=$enable_commondlg;
12002 if test "$enableval" = yes; then
12003 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
12005 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
12010 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12015 eval "$wx_cv_use_commondlg"
12017 if test x"$enablestring" = xdisable; then
12018 if test $wxUSE_COMMONDLGS = yes; then
12024 result=$wxUSE_COMMONDLGS
12027 { echo "$as_me:$LINENO: result: $result" >&5
12028 echo "${ECHO_T}$result" >&6; }
12032 defaultval=$wxUSE_ALL_FEATURES
12033 if test -z "$defaultval"; then
12034 if test x"$enablestring" = xdisable; then
12041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12042 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12043 # Check whether --enable-aboutdlg was given.
12044 if test "${enable_aboutdlg+set}" = set; then
12045 enableval=$enable_aboutdlg;
12046 if test "$enableval" = yes; then
12047 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
12049 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
12054 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12059 eval "$wx_cv_use_aboutdlg"
12061 if test x"$enablestring" = xdisable; then
12062 if test $wxUSE_ABOUTDLG = yes; then
12068 result=$wxUSE_ABOUTDLG
12071 { echo "$as_me:$LINENO: result
: $result" >&5
12072 echo "${ECHO_T}$result" >&6; }
12076 defaultval=$wxUSE_ALL_FEATURES
12077 if test -z "$defaultval"; then
12078 if test x"$enablestring" = xdisable; then
12085 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicedlg" >&5
12086 echo $ECHO_N "checking
for --${enablestring:-enable}-choicedlg...
$ECHO_C" >&6; }
12087 # Check whether --enable-choicedlg was given.
12088 if test "${enable_choicedlg+set}" = set; then
12089 enableval=$enable_choicedlg;
12090 if test "$enableval" = yes; then
12091 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12093 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12098 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12103 eval "$wx_cv_use_choicedlg"
12105 if test x
"$enablestring" = xdisable
; then
12106 if test $wxUSE_CHOICEDLG = yes; then
12112 result
=$wxUSE_CHOICEDLG
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}-coldlg" >&5
12130 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12131 # Check whether --enable-coldlg was given.
12132 if test "${enable_coldlg+set}" = set; then
12133 enableval
=$enable_coldlg;
12134 if test "$enableval" = yes; then
12135 wx_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
12137 wx_cv_use_coldlg
='wxUSE_COLOURDLG=no'
12142 wx_cv_use_coldlg
='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12147 eval "$wx_cv_use_coldlg"
12149 if test x"$enablestring" = xdisable; then
12150 if test $wxUSE_COLOURDLG = yes; then
12156 result=$wxUSE_COLOURDLG
12159 { echo "$as_me:$LINENO: result: $result" >&5
12160 echo "${ECHO_T}$result" >&6; }
12164 defaultval=$wxUSE_ALL_FEATURES
12165 if test -z "$defaultval"; then
12166 if test x"$enablestring" = xdisable; then
12173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12174 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12175 # Check whether --enable-filedlg was given.
12176 if test "${enable_filedlg+set}" = set; then
12177 enableval=$enable_filedlg;
12178 if test "$enableval" = yes; then
12179 wx_cv_use_filedlg='wxUSE_FILEDLG
=yes'
12181 wx_cv_use_filedlg='wxUSE_FILEDLG
=no
'
12186 wx_cv_use_filedlg='wxUSE_FILEDLG
=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12191 eval "$wx_cv_use_filedlg"
12193 if test x"$enablestring" = xdisable; then
12194 if test $wxUSE_FILEDLG = yes; then
12200 result=$wxUSE_FILEDLG
12203 { echo "$as_me:$LINENO: result
: $result" >&5
12204 echo "${ECHO_T}$result" >&6; }
12208 defaultval=$wxUSE_ALL_FEATURES
12209 if test -z "$defaultval"; then
12210 if test x"$enablestring" = xdisable; then
12217 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-finddlg" >&5
12218 echo $ECHO_N "checking
for --${enablestring:-enable}-finddlg...
$ECHO_C" >&6; }
12219 # Check whether --enable-finddlg was given.
12220 if test "${enable_finddlg+set}" = set; then
12221 enableval=$enable_finddlg;
12222 if test "$enableval" = yes; then
12223 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12225 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12230 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12235 eval "$wx_cv_use_finddlg"
12237 if test x
"$enablestring" = xdisable
; then
12238 if test $wxUSE_FINDREPLDLG = yes; then
12244 result
=$wxUSE_FINDREPLDLG
12247 { echo "$as_me:$LINENO: result: $result" >&5
12248 echo "${ECHO_T}$result" >&6; }
12252 defaultval
=$wxUSE_ALL_FEATURES
12253 if test -z "$defaultval"; then
12254 if test x
"$enablestring" = xdisable
; then
12261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12262 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12263 # Check whether --enable-fontdlg was given.
12264 if test "${enable_fontdlg+set}" = set; then
12265 enableval
=$enable_fontdlg;
12266 if test "$enableval" = yes; then
12267 wx_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
12269 wx_cv_use_fontdlg
='wxUSE_FONTDLG=no'
12274 wx_cv_use_fontdlg
='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12279 eval "$wx_cv_use_fontdlg"
12281 if test x"$enablestring" = xdisable; then
12282 if test $wxUSE_FONTDLG = yes; then
12288 result=$wxUSE_FONTDLG
12291 { echo "$as_me:$LINENO: result: $result" >&5
12292 echo "${ECHO_T}$result" >&6; }
12296 defaultval=$wxUSE_ALL_FEATURES
12297 if test -z "$defaultval"; then
12298 if test x"$enablestring" = xdisable; then
12305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12306 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12307 # Check whether --enable-dirdlg was given.
12308 if test "${enable_dirdlg+set}" = set; then
12309 enableval=$enable_dirdlg;
12310 if test "$enableval" = yes; then
12311 wx_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
12313 wx_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
12318 wx_cv_use_dirdlg='wxUSE_DIRDLG
=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12323 eval "$wx_cv_use_dirdlg"
12325 if test x"$enablestring" = xdisable; then
12326 if test $wxUSE_DIRDLG = yes; then
12332 result=$wxUSE_DIRDLG
12335 { echo "$as_me:$LINENO: result
: $result" >&5
12336 echo "${ECHO_T}$result" >&6; }
12340 defaultval=$wxUSE_ALL_FEATURES
12341 if test -z "$defaultval"; then
12342 if test x"$enablestring" = xdisable; then
12349 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-msgdlg" >&5
12350 echo $ECHO_N "checking
for --${enablestring:-enable}-msgdlg...
$ECHO_C" >&6; }
12351 # Check whether --enable-msgdlg was given.
12352 if test "${enable_msgdlg+set}" = set; then
12353 enableval=$enable_msgdlg;
12354 if test "$enableval" = yes; then
12355 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12357 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12362 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12367 eval "$wx_cv_use_msgdlg"
12369 if test x
"$enablestring" = xdisable
; then
12370 if test $wxUSE_MSGDLG = yes; then
12376 result
=$wxUSE_MSGDLG
12379 { echo "$as_me:$LINENO: result: $result" >&5
12380 echo "${ECHO_T}$result" >&6; }
12384 defaultval
=$wxUSE_ALL_FEATURES
12385 if test -z "$defaultval"; then
12386 if test x
"$enablestring" = xdisable
; then
12393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12394 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12395 # Check whether --enable-numberdlg was given.
12396 if test "${enable_numberdlg+set}" = set; then
12397 enableval
=$enable_numberdlg;
12398 if test "$enableval" = yes; then
12399 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
12401 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
12406 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12411 eval "$wx_cv_use_numberdlg"
12413 if test x"$enablestring" = xdisable; then
12414 if test $wxUSE_NUMBERDLG = yes; then
12420 result=$wxUSE_NUMBERDLG
12423 { echo "$as_me:$LINENO: result: $result" >&5
12424 echo "${ECHO_T}$result" >&6; }
12428 defaultval=$wxUSE_ALL_FEATURES
12429 if test -z "$defaultval"; then
12430 if test x"$enablestring" = xdisable; then
12437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12438 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12439 # Check whether --enable-splash was given.
12440 if test "${enable_splash+set}" = set; then
12441 enableval=$enable_splash;
12442 if test "$enableval" = yes; then
12443 wx_cv_use_splash='wxUSE_SPLASH
=yes'
12445 wx_cv_use_splash='wxUSE_SPLASH
=no
'
12450 wx_cv_use_splash='wxUSE_SPLASH
=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12455 eval "$wx_cv_use_splash"
12457 if test x"$enablestring" = xdisable; then
12458 if test $wxUSE_SPLASH = yes; then
12464 result=$wxUSE_SPLASH
12467 { echo "$as_me:$LINENO: result
: $result" >&5
12468 echo "${ECHO_T}$result" >&6; }
12472 defaultval=$wxUSE_ALL_FEATURES
12473 if test -z "$defaultval"; then
12474 if test x"$enablestring" = xdisable; then
12481 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textdlg" >&5
12482 echo $ECHO_N "checking
for --${enablestring:-enable}-textdlg...
$ECHO_C" >&6; }
12483 # Check whether --enable-textdlg was given.
12484 if test "${enable_textdlg+set}" = set; then
12485 enableval=$enable_textdlg;
12486 if test "$enableval" = yes; then
12487 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12489 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12494 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12499 eval "$wx_cv_use_textdlg"
12501 if test x
"$enablestring" = xdisable
; then
12502 if test $wxUSE_TEXTDLG = yes; then
12508 result
=$wxUSE_TEXTDLG
12511 { echo "$as_me:$LINENO: result: $result" >&5
12512 echo "${ECHO_T}$result" >&6; }
12516 defaultval
=$wxUSE_ALL_FEATURES
12517 if test -z "$defaultval"; then
12518 if test x
"$enablestring" = xdisable
; then
12525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12526 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12527 # Check whether --enable-tipdlg was given.
12528 if test "${enable_tipdlg+set}" = set; then
12529 enableval
=$enable_tipdlg;
12530 if test "$enableval" = yes; then
12531 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
12533 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
12538 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12543 eval "$wx_cv_use_tipdlg"
12545 if test x"$enablestring" = xdisable; then
12546 if test $wxUSE_STARTUP_TIPS = yes; then
12552 result=$wxUSE_STARTUP_TIPS
12555 { echo "$as_me:$LINENO: result: $result" >&5
12556 echo "${ECHO_T}$result" >&6; }
12560 defaultval=$wxUSE_ALL_FEATURES
12561 if test -z "$defaultval"; then
12562 if test x"$enablestring" = xdisable; then
12569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12570 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12571 # Check whether --enable-progressdlg was given.
12572 if test "${enable_progressdlg+set}" = set; then
12573 enableval=$enable_progressdlg;
12574 if test "$enableval" = yes; then
12575 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
12577 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
12582 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12587 eval "$wx_cv_use_progressdlg"
12589 if test x"$enablestring" = xdisable; then
12590 if test $wxUSE_PROGRESSDLG = yes; then
12596 result=$wxUSE_PROGRESSDLG
12599 { echo "$as_me:$LINENO: result
: $result" >&5
12600 echo "${ECHO_T}$result" >&6; }
12604 defaultval=$wxUSE_ALL_FEATURES
12605 if test -z "$defaultval"; then
12606 if test x"$enablestring" = xdisable; then
12613 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wizarddlg" >&5
12614 echo $ECHO_N "checking
for --${enablestring:-enable}-wizarddlg...
$ECHO_C" >&6; }
12615 # Check whether --enable-wizarddlg was given.
12616 if test "${enable_wizarddlg+set}" = set; then
12617 enableval=$enable_wizarddlg;
12618 if test "$enableval" = yes; then
12619 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12621 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12626 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12631 eval "$wx_cv_use_wizarddlg"
12633 if test x
"$enablestring" = xdisable
; then
12634 if test $wxUSE_WIZARDDLG = yes; then
12640 result
=$wxUSE_WIZARDDLG
12643 { echo "$as_me:$LINENO: result: $result" >&5
12644 echo "${ECHO_T}$result" >&6; }
12650 defaultval
=$wxUSE_ALL_FEATURES
12651 if test -z "$defaultval"; then
12652 if test x
"$enablestring" = xdisable
; then
12659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12660 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12661 # Check whether --enable-menus was given.
12662 if test "${enable_menus+set}" = set; then
12663 enableval
=$enable_menus;
12664 if test "$enableval" = yes; then
12665 wx_cv_use_menus
='wxUSE_MENUS=yes'
12667 wx_cv_use_menus
='wxUSE_MENUS=no'
12672 wx_cv_use_menus
='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12677 eval "$wx_cv_use_menus"
12679 if test x"$enablestring" = xdisable; then
12680 if test $wxUSE_MENUS = yes; then
12686 result=$wxUSE_MENUS
12689 { echo "$as_me:$LINENO: result: $result" >&5
12690 echo "${ECHO_T}$result" >&6; }
12694 defaultval=$wxUSE_ALL_FEATURES
12695 if test -z "$defaultval"; then
12696 if test x"$enablestring" = xdisable; then
12703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12704 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12705 # Check whether --enable-miniframe was given.
12706 if test "${enable_miniframe+set}" = set; then
12707 enableval=$enable_miniframe;
12708 if test "$enableval" = yes; then
12709 wx_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
12711 wx_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
12716 wx_cv_use_miniframe='wxUSE_MINIFRAME
=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12721 eval "$wx_cv_use_miniframe"
12723 if test x"$enablestring" = xdisable; then
12724 if test $wxUSE_MINIFRAME = yes; then
12730 result=$wxUSE_MINIFRAME
12733 { echo "$as_me:$LINENO: result
: $result" >&5
12734 echo "${ECHO_T}$result" >&6; }
12738 defaultval=$wxUSE_ALL_FEATURES
12739 if test -z "$defaultval"; then
12740 if test x"$enablestring" = xdisable; then
12747 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tooltips" >&5
12748 echo $ECHO_N "checking
for --${enablestring:-enable}-tooltips...
$ECHO_C" >&6; }
12749 # Check whether --enable-tooltips was given.
12750 if test "${enable_tooltips+set}" = set; then
12751 enableval=$enable_tooltips;
12752 if test "$enableval" = yes; then
12753 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12755 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12760 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12765 eval "$wx_cv_use_tooltips"
12767 if test x
"$enablestring" = xdisable
; then
12768 if test $wxUSE_TOOLTIPS = yes; then
12774 result
=$wxUSE_TOOLTIPS
12777 { echo "$as_me:$LINENO: result: $result" >&5
12778 echo "${ECHO_T}$result" >&6; }
12782 defaultval
=$wxUSE_ALL_FEATURES
12783 if test -z "$defaultval"; then
12784 if test x
"$enablestring" = xdisable
; then
12791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12792 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12793 # Check whether --enable-splines was given.
12794 if test "${enable_splines+set}" = set; then
12795 enableval
=$enable_splines;
12796 if test "$enableval" = yes; then
12797 wx_cv_use_splines
='wxUSE_SPLINES=yes'
12799 wx_cv_use_splines
='wxUSE_SPLINES=no'
12804 wx_cv_use_splines
='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12809 eval "$wx_cv_use_splines"
12811 if test x"$enablestring" = xdisable; then
12812 if test $wxUSE_SPLINES = yes; then
12818 result=$wxUSE_SPLINES
12821 { echo "$as_me:$LINENO: result: $result" >&5
12822 echo "${ECHO_T}$result" >&6; }
12826 defaultval=$wxUSE_ALL_FEATURES
12827 if test -z "$defaultval"; then
12828 if test x"$enablestring" = xdisable; then
12835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12836 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12837 # Check whether --enable-mousewheel was given.
12838 if test "${enable_mousewheel+set}" = set; then
12839 enableval=$enable_mousewheel;
12840 if test "$enableval" = yes; then
12841 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
12843 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
12848 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12853 eval "$wx_cv_use_mousewheel"
12855 if test x"$enablestring" = xdisable; then
12856 if test $wxUSE_MOUSEWHEEL = yes; then
12862 result=$wxUSE_MOUSEWHEEL
12865 { echo "$as_me:$LINENO: result
: $result" >&5
12866 echo "${ECHO_T}$result" >&6; }
12870 defaultval=$wxUSE_ALL_FEATURES
12871 if test -z "$defaultval"; then
12872 if test x"$enablestring" = xdisable; then
12879 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-validators" >&5
12880 echo $ECHO_N "checking
for --${enablestring:-enable}-validators...
$ECHO_C" >&6; }
12881 # Check whether --enable-validators was given.
12882 if test "${enable_validators+set}" = set; then
12883 enableval=$enable_validators;
12884 if test "$enableval" = yes; then
12885 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12887 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12892 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12897 eval "$wx_cv_use_validators"
12899 if test x
"$enablestring" = xdisable
; then
12900 if test $wxUSE_VALIDATORS = yes; then
12906 result
=$wxUSE_VALIDATORS
12909 { echo "$as_me:$LINENO: result: $result" >&5
12910 echo "${ECHO_T}$result" >&6; }
12914 defaultval
=$wxUSE_ALL_FEATURES
12915 if test -z "$defaultval"; then
12916 if test x
"$enablestring" = xdisable
; then
12923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12924 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12925 # Check whether --enable-busyinfo was given.
12926 if test "${enable_busyinfo+set}" = set; then
12927 enableval
=$enable_busyinfo;
12928 if test "$enableval" = yes; then
12929 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
12931 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
12936 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
12941 eval "$wx_cv_use_busyinfo"
12943 if test x"$enablestring" = xdisable; then
12944 if test $wxUSE_BUSYINFO = yes; then
12950 result=$wxUSE_BUSYINFO
12953 { echo "$as_me:$LINENO: result: $result" >&5
12954 echo "${ECHO_T}$result" >&6; }
12958 defaultval=$wxUSE_ALL_FEATURES
12959 if test -z "$defaultval"; then
12960 if test x"$enablestring" = xdisable; then
12967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12968 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12969 # Check whether --enable-joystick was given.
12970 if test "${enable_joystick+set}" = set; then
12971 enableval=$enable_joystick;
12972 if test "$enableval" = yes; then
12973 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
12975 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
12980 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
12985 eval "$wx_cv_use_joystick"
12987 if test x"$enablestring" = xdisable; then
12988 if test $wxUSE_JOYSTICK = yes; then
12994 result=$wxUSE_JOYSTICK
12997 { echo "$as_me:$LINENO: result
: $result" >&5
12998 echo "${ECHO_T}$result" >&6; }
13002 defaultval=$wxUSE_ALL_FEATURES
13003 if test -z "$defaultval"; then
13004 if test x"$enablestring" = xdisable; then
13011 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
13012 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
13013 # Check whether --enable-metafile was given.
13014 if test "${enable_metafile+set}" = set; then
13015 enableval=$enable_metafile;
13016 if test "$enableval" = yes; then
13017 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13019 wx_cv_use_metafile='wxUSE_METAFILE=no'
13024 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13029 eval "$wx_cv_use_metafile"
13031 if test x
"$enablestring" = xdisable
; then
13032 if test $wxUSE_METAFILE = yes; then
13038 result
=$wxUSE_METAFILE
13041 { echo "$as_me:$LINENO: result: $result" >&5
13042 echo "${ECHO_T}$result" >&6; }
13046 defaultval
=$wxUSE_ALL_FEATURES
13047 if test -z "$defaultval"; then
13048 if test x
"$enablestring" = xdisable
; then
13055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13056 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13057 # Check whether --enable-dragimage was given.
13058 if test "${enable_dragimage+set}" = set; then
13059 enableval
=$enable_dragimage;
13060 if test "$enableval" = yes; then
13061 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
13063 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
13068 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13073 eval "$wx_cv_use_dragimage"
13075 if test x"$enablestring" = xdisable; then
13076 if test $wxUSE_DRAGIMAGE = yes; then
13082 result=$wxUSE_DRAGIMAGE
13085 { echo "$as_me:$LINENO: result: $result" >&5
13086 echo "${ECHO_T}$result" >&6; }
13090 defaultval=$wxUSE_ALL_FEATURES
13091 if test -z "$defaultval"; then
13092 if test x"$enablestring" = xdisable; then
13099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13100 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13101 # Check whether --enable-accessibility was given.
13102 if test "${enable_accessibility+set}" = set; then
13103 enableval=$enable_accessibility;
13104 if test "$enableval" = yes; then
13105 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
13107 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
13112 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13117 eval "$wx_cv_use_accessibility"
13119 if test x"$enablestring" = xdisable; then
13120 if test $wxUSE_ACCESSIBILITY = yes; then
13126 result=$wxUSE_ACCESSIBILITY
13129 { echo "$as_me:$LINENO: result
: $result" >&5
13130 echo "${ECHO_T}$result" >&6; }
13136 defaultval=$wxUSE_ALL_FEATURES
13137 if test -z "$defaultval"; then
13138 if test x"$enablestring" = xdisable; then
13145 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-palette" >&5
13146 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6; }
13147 # Check whether --enable-palette was given.
13148 if test "${enable_palette+set}" = set; then
13149 enableval=$enable_palette;
13150 if test "$enableval" = yes; then
13151 wx_cv_use_palette='wxUSE_PALETTE=yes'
13153 wx_cv_use_palette='wxUSE_PALETTE=no'
13158 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13163 eval "$wx_cv_use_palette"
13165 if test x
"$enablestring" = xdisable
; then
13166 if test $wxUSE_PALETTE = yes; then
13172 result
=$wxUSE_PALETTE
13175 { echo "$as_me:$LINENO: result: $result" >&5
13176 echo "${ECHO_T}$result" >&6; }
13180 defaultval
=$wxUSE_ALL_FEATURES
13181 if test -z "$defaultval"; then
13182 if test x
"$enablestring" = xdisable
; then
13189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13190 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13191 # Check whether --enable-image was given.
13192 if test "${enable_image+set}" = set; then
13193 enableval
=$enable_image;
13194 if test "$enableval" = yes; then
13195 wx_cv_use_image
='wxUSE_IMAGE=yes'
13197 wx_cv_use_image
='wxUSE_IMAGE=no'
13202 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13207 eval "$wx_cv_use_image"
13209 if test x"$enablestring" = xdisable; then
13210 if test $wxUSE_IMAGE = yes; then
13216 result=$wxUSE_IMAGE
13219 { echo "$as_me:$LINENO: result: $result" >&5
13220 echo "${ECHO_T}$result" >&6; }
13224 defaultval=$wxUSE_ALL_FEATURES
13225 if test -z "$defaultval"; then
13226 if test x"$enablestring" = xdisable; then
13233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13234 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13235 # Check whether --enable-gif was given.
13236 if test "${enable_gif+set}" = set; then
13237 enableval=$enable_gif;
13238 if test "$enableval" = yes; then
13239 wx_cv_use_gif='wxUSE_GIF
=yes'
13241 wx_cv_use_gif='wxUSE_GIF
=no
'
13246 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13251 eval "$wx_cv_use_gif"
13253 if test x"$enablestring" = xdisable; then
13254 if test $wxUSE_GIF = yes; then
13263 { echo "$as_me:$LINENO: result
: $result" >&5
13264 echo "${ECHO_T}$result" >&6; }
13268 defaultval=$wxUSE_ALL_FEATURES
13269 if test -z "$defaultval"; then
13270 if test x"$enablestring" = xdisable; then
13277 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pcx" >&5
13278 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6; }
13279 # Check whether --enable-pcx was given.
13280 if test "${enable_pcx+set}" = set; then
13281 enableval=$enable_pcx;
13282 if test "$enableval" = yes; then
13283 wx_cv_use_pcx='wxUSE_PCX=yes'
13285 wx_cv_use_pcx='wxUSE_PCX=no'
13290 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13295 eval "$wx_cv_use_pcx"
13297 if test x
"$enablestring" = xdisable
; then
13298 if test $wxUSE_PCX = yes; then
13307 { echo "$as_me:$LINENO: result: $result" >&5
13308 echo "${ECHO_T}$result" >&6; }
13312 defaultval
=$wxUSE_ALL_FEATURES
13313 if test -z "$defaultval"; then
13314 if test x
"$enablestring" = xdisable
; then
13321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13322 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13323 # Check whether --enable-tga was given.
13324 if test "${enable_tga+set}" = set; then
13325 enableval
=$enable_tga;
13326 if test "$enableval" = yes; then
13327 wx_cv_use_tga
='wxUSE_TGA=yes'
13329 wx_cv_use_tga
='wxUSE_TGA=no'
13334 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13339 eval "$wx_cv_use_tga"
13341 if test x"$enablestring" = xdisable; then
13342 if test $wxUSE_TGA = yes; then
13351 { echo "$as_me:$LINENO: result: $result" >&5
13352 echo "${ECHO_T}$result" >&6; }
13356 defaultval=$wxUSE_ALL_FEATURES
13357 if test -z "$defaultval"; then
13358 if test x"$enablestring" = xdisable; then
13365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13366 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13367 # Check whether --enable-iff was given.
13368 if test "${enable_iff+set}" = set; then
13369 enableval=$enable_iff;
13370 if test "$enableval" = yes; then
13371 wx_cv_use_iff='wxUSE_IFF
=yes'
13373 wx_cv_use_iff='wxUSE_IFF
=no
'
13378 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13383 eval "$wx_cv_use_iff"
13385 if test x"$enablestring" = xdisable; then
13386 if test $wxUSE_IFF = yes; then
13395 { echo "$as_me:$LINENO: result
: $result" >&5
13396 echo "${ECHO_T}$result" >&6; }
13400 defaultval=$wxUSE_ALL_FEATURES
13401 if test -z "$defaultval"; then
13402 if test x"$enablestring" = xdisable; then
13409 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pnm" >&5
13410 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6; }
13411 # Check whether --enable-pnm was given.
13412 if test "${enable_pnm+set}" = set; then
13413 enableval=$enable_pnm;
13414 if test "$enableval" = yes; then
13415 wx_cv_use_pnm='wxUSE_PNM=yes'
13417 wx_cv_use_pnm='wxUSE_PNM=no'
13422 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13427 eval "$wx_cv_use_pnm"
13429 if test x
"$enablestring" = xdisable
; then
13430 if test $wxUSE_PNM = yes; then
13439 { echo "$as_me:$LINENO: result: $result" >&5
13440 echo "${ECHO_T}$result" >&6; }
13444 defaultval
=$wxUSE_ALL_FEATURES
13445 if test -z "$defaultval"; then
13446 if test x
"$enablestring" = xdisable
; then
13453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13454 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13455 # Check whether --enable-xpm was given.
13456 if test "${enable_xpm+set}" = set; then
13457 enableval
=$enable_xpm;
13458 if test "$enableval" = yes; then
13459 wx_cv_use_xpm
='wxUSE_XPM=yes'
13461 wx_cv_use_xpm
='wxUSE_XPM=no'
13466 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13471 eval "$wx_cv_use_xpm"
13473 if test x"$enablestring" = xdisable; then
13474 if test $wxUSE_XPM = yes; then
13483 { echo "$as_me:$LINENO: result: $result" >&5
13484 echo "${ECHO_T}$result" >&6; }
13488 defaultval=$wxUSE_ALL_FEATURES
13489 if test -z "$defaultval"; then
13490 if test x"$enablestring" = xdisable; then
13497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13498 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13499 # Check whether --enable-ico_cur was given.
13500 if test "${enable_ico_cur+set}" = set; then
13501 enableval=$enable_ico_cur;
13502 if test "$enableval" = yes; then
13503 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
13505 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
13510 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13515 eval "$wx_cv_use_ico_cur"
13517 if test x"$enablestring" = xdisable; then
13518 if test $wxUSE_ICO_CUR = yes; then
13524 result=$wxUSE_ICO_CUR
13527 { echo "$as_me:$LINENO: result
: $result" >&5
13528 echo "${ECHO_T}$result" >&6; }
13534 defaultval=$wxUSE_ALL_FEATURES
13535 if test -z "$defaultval"; then
13536 if test x"$enablestring" = xdisable; then
13543 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dccache" >&5
13544 echo $ECHO_N "checking
for --${enablestring:-enable}-dccache...
$ECHO_C" >&6; }
13545 # Check whether --enable-dccache was given.
13546 if test "${enable_dccache+set}" = set; then
13547 enableval=$enable_dccache;
13548 if test "$enableval" = yes; then
13549 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13551 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13556 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13561 eval "$wx_cv_use_dccache"
13563 if test x
"$enablestring" = xdisable
; then
13564 if test $wxUSE_DC_CACHEING = yes; then
13570 result
=$wxUSE_DC_CACHEING
13573 { echo "$as_me:$LINENO: result: $result" >&5
13574 echo "${ECHO_T}$result" >&6; }
13578 defaultval
=$wxUSE_ALL_FEATURES
13579 if test -z "$defaultval"; then
13580 if test x
"$enablestring" = xdisable
; then
13587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13588 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13589 # Check whether --enable-ps-in-msw was given.
13590 if test "${enable_ps_in_msw+set}" = set; then
13591 enableval
=$enable_ps_in_msw;
13592 if test "$enableval" = yes; then
13593 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13595 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13600 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13605 eval "$wx_cv_use_ps_in_msw"
13607 if test x"$enablestring" = xdisable; then
13608 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13614 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13617 { echo "$as_me:$LINENO: result: $result" >&5
13618 echo "${ECHO_T}$result" >&6; }
13622 defaultval=$wxUSE_ALL_FEATURES
13623 if test -z "$defaultval"; then
13624 if test x"$enablestring" = xdisable; then
13631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13632 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13633 # Check whether --enable-ownerdrawn was given.
13634 if test "${enable_ownerdrawn+set}" = set; then
13635 enableval=$enable_ownerdrawn;
13636 if test "$enableval" = yes; then
13637 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
13639 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
13644 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13649 eval "$wx_cv_use_ownerdrawn"
13651 if test x"$enablestring" = xdisable; then
13652 if test $wxUSE_OWNER_DRAWN = yes; then
13658 result=$wxUSE_OWNER_DRAWN
13661 { echo "$as_me:$LINENO: result
: $result" >&5
13662 echo "${ECHO_T}$result" >&6; }
13666 defaultval=$wxUSE_ALL_FEATURES
13667 if test -z "$defaultval"; then
13668 if test x"$enablestring" = xdisable; then
13675 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uxtheme" >&5
13676 echo $ECHO_N "checking
for --${enablestring:-enable}-uxtheme...
$ECHO_C" >&6; }
13677 # Check whether --enable-uxtheme was given.
13678 if test "${enable_uxtheme+set}" = set; then
13679 enableval=$enable_uxtheme;
13680 if test "$enableval" = yes; then
13681 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13683 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13688 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13693 eval "$wx_cv_use_uxtheme"
13695 if test x
"$enablestring" = xdisable
; then
13696 if test $wxUSE_UXTHEME = yes; then
13702 result
=$wxUSE_UXTHEME
13705 { echo "$as_me:$LINENO: result: $result" >&5
13706 echo "${ECHO_T}$result" >&6; }
13710 defaultval
=$wxUSE_ALL_FEATURES
13711 if test -z "$defaultval"; then
13712 if test x
"$enablestring" = xdisable
; then
13719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13720 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13721 # Check whether --enable-wxdib was given.
13722 if test "${enable_wxdib+set}" = set; then
13723 enableval
=$enable_wxdib;
13724 if test "$enableval" = yes; then
13725 wx_cv_use_wxdib
='wxUSE_DIB=yes'
13727 wx_cv_use_wxdib
='wxUSE_DIB=no'
13732 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13737 eval "$wx_cv_use_wxdib"
13739 if test x"$enablestring" = xdisable; then
13740 if test $wxUSE_DIB = yes; then
13749 { echo "$as_me:$LINENO: result: $result" >&5
13750 echo "${ECHO_T}$result" >&6; }
13753 if test "$wxUSE_MSW" != 1; then
13754 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13759 defaultval=$wxUSE_ALL_FEATURES
13760 if test -z "$defaultval"; then
13761 if test x"$enablestring" = xdisable; then
13768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13769 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13770 # Check whether --enable-autoidman was given.
13771 if test "${enable_autoidman+set}" = set; then
13772 enableval=$enable_autoidman;
13773 if test "$enableval" = yes; then
13774 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=yes'
13776 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=no
'
13781 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13786 eval "$wx_cv_use_autoidman"
13788 if test x"$enablestring" = xdisable; then
13789 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13795 result=$wxUSE_AUTOID_MANAGEMENT
13798 { echo "$as_me:$LINENO: result
: $result" >&5
13799 echo "${ECHO_T}$result" >&6; }
13805 cat >confcache <<\_ACEOF
13806 # This file is a shell script that caches the results of configure
13807 # tests run on this system so they can be shared between configure
13808 # scripts and configure runs, see configure's option --config-cache.
13809 # It is not useful on other systems. If it contains results you don't
13810 # want to keep, you may remove or edit it.
13812 # config.status only pays attention to the cache file if you give it
13813 # the --recheck option to rerun configure.
13815 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13816 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13817 # following values.
13821 # The following way of writing the cache mishandles newlines in values,
13822 # but we know of no workaround that is simple, portable, and efficient.
13823 # So, we kill variables containing newlines.
13824 # Ultrix sh set writes to stderr and can't be redirected directly,
13825 # and sets the high bit in the cache file unless we assign to the vars.
13827 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13828 eval ac_val=\$$ac_var
13832 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
13833 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
13836 _ | IFS | as_nl) ;; #(
13837 *) $as_unset $ac_var ;;
13843 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13844 *${as_nl}ac_space=\ *)
13845 # `set' does not quote correctly, so add quotes (double-quote
13846 # substitution turns \\\\ into \\, and sed turns \\ into \).
13849 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
13852 # `set' quotes correctly as required by POSIX, so do not add quotes.
13853 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
13862 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13864 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13866 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13867 if test -w "$cache_file"; then
13868 test "x
$cache_file" != "x
/dev
/null
" &&
13869 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
13870 echo "$as_me: updating cache
$cache_file" >&6;}
13871 cat confcache >$cache_file
13873 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
13874 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
13884 ac_cpp='$CPP $CPPFLAGS'
13885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13888 if test -n "$ac_tool_prefix"; then
13889 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
13890 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13891 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13892 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13893 if test "${ac_cv_prog_CC+set}" = set; then
13894 echo $ECHO_N "(cached
) $ECHO_C" >&6
13896 if test -n "$CC"; then
13897 ac_cv_prog_CC="$CC" # Let the user override the test.
13899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13900 for as_dir in $PATH
13903 test -z "$as_dir" && as_dir=.
13904 for ac_exec_ext in '' $ac_executable_extensions; do
13905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13906 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
13907 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13917 if test -n "$CC"; then
13918 { echo "$as_me:$LINENO: result
: $CC" >&5
13919 echo "${ECHO_T}$CC" >&6; }
13921 { echo "$as_me:$LINENO: result
: no
" >&5
13922 echo "${ECHO_T}no
" >&6; }
13927 if test -z "$ac_cv_prog_CC"; then
13929 # Extract the first word of "gcc
", so it can be a program name with args.
13930 set dummy gcc; ac_word=$2
13931 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13932 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13933 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13934 echo $ECHO_N "(cached
) $ECHO_C" >&6
13936 if test -n "$ac_ct_CC"; then
13937 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13940 for as_dir in $PATH
13943 test -z "$as_dir" && as_dir=.
13944 for ac_exec_ext in '' $ac_executable_extensions; do
13945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13946 ac_cv_prog_ac_ct_CC="gcc
"
13947 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13956 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13957 if test -n "$ac_ct_CC"; then
13958 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
13959 echo "${ECHO_T}$ac_ct_CC" >&6; }
13961 { echo "$as_me:$LINENO: result
: no
" >&5
13962 echo "${ECHO_T}no
" >&6; }
13965 if test "x
$ac_ct_CC" = x; then
13968 case $cross_compiling:$ac_tool_warned in
13970 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
13971 whose name does not start with the
host triplet. If you think this
13972 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
13973 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
13974 whose name does not start with the
host triplet. If you think this
13975 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
13976 ac_tool_warned=yes ;;
13981 CC="$ac_cv_prog_CC"
13984 if test -z "$CC"; then
13985 if test -n "$ac_tool_prefix"; then
13986 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
13987 set dummy ${ac_tool_prefix}cc; ac_word=$2
13988 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13989 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13990 if test "${ac_cv_prog_CC+set}" = set; then
13991 echo $ECHO_N "(cached
) $ECHO_C" >&6
13993 if test -n "$CC"; then
13994 ac_cv_prog_CC="$CC" # Let the user override the test.
13996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13997 for as_dir in $PATH
14000 test -z "$as_dir" && as_dir=.
14001 for ac_exec_ext in '' $ac_executable_extensions; do
14002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14003 ac_cv_prog_CC="${ac_tool_prefix}cc
"
14004 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14014 if test -n "$CC"; then
14015 { echo "$as_me:$LINENO: result
: $CC" >&5
14016 echo "${ECHO_T}$CC" >&6; }
14018 { echo "$as_me:$LINENO: result
: no
" >&5
14019 echo "${ECHO_T}no
" >&6; }
14025 if test -z "$CC"; then
14026 # Extract the first word of "cc
", so it can be a program name with args.
14027 set dummy cc; ac_word=$2
14028 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14029 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14030 if test "${ac_cv_prog_CC+set}" = set; then
14031 echo $ECHO_N "(cached
) $ECHO_C" >&6
14033 if test -n "$CC"; then
14034 ac_cv_prog_CC="$CC" # Let the user override the test.
14036 ac_prog_rejected=no
14037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14038 for as_dir in $PATH
14041 test -z "$as_dir" && as_dir=.
14042 for ac_exec_ext in '' $ac_executable_extensions; do
14043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14044 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
14045 ac_prog_rejected=yes
14049 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14056 if test $ac_prog_rejected = yes; then
14057 # We found a bogon in the path, so make sure we never use it.
14058 set dummy $ac_cv_prog_CC
14060 if test $# != 0; then
14061 # We chose a different compiler from the bogus one.
14062 # However, it has the same basename, so the bogon will be chosen
14063 # first if we set CC to just the basename; use the full file name.
14065 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
14071 if test -n "$CC"; then
14072 { echo "$as_me:$LINENO: result
: $CC" >&5
14073 echo "${ECHO_T}$CC" >&6; }
14075 { echo "$as_me:$LINENO: result
: no
" >&5
14076 echo "${ECHO_T}no
" >&6; }
14081 if test -z "$CC"; then
14082 if test -n "$ac_tool_prefix"; then
14083 for ac_prog in cl.exe
14085 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14086 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14087 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14088 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14089 if test "${ac_cv_prog_CC+set}" = set; then
14090 echo $ECHO_N "(cached
) $ECHO_C" >&6
14092 if test -n "$CC"; then
14093 ac_cv_prog_CC="$CC" # Let the user override the test.
14095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14096 for as_dir in $PATH
14099 test -z "$as_dir" && as_dir=.
14100 for ac_exec_ext in '' $ac_executable_extensions; do
14101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14102 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14103 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14113 if test -n "$CC"; then
14114 { echo "$as_me:$LINENO: result
: $CC" >&5
14115 echo "${ECHO_T}$CC" >&6; }
14117 { echo "$as_me:$LINENO: result
: no
" >&5
14118 echo "${ECHO_T}no
" >&6; }
14122 test -n "$CC" && break
14125 if test -z "$CC"; then
14127 for ac_prog in cl.exe
14129 # Extract the first word of "$ac_prog", so it can be a program name with args.
14130 set dummy $ac_prog; ac_word=$2
14131 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14132 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14133 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14134 echo $ECHO_N "(cached
) $ECHO_C" >&6
14136 if test -n "$ac_ct_CC"; then
14137 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14140 for as_dir in $PATH
14143 test -z "$as_dir" && as_dir=.
14144 for ac_exec_ext in '' $ac_executable_extensions; do
14145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14146 ac_cv_prog_ac_ct_CC="$ac_prog"
14147 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14156 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14157 if test -n "$ac_ct_CC"; then
14158 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
14159 echo "${ECHO_T}$ac_ct_CC" >&6; }
14161 { echo "$as_me:$LINENO: result
: no
" >&5
14162 echo "${ECHO_T}no
" >&6; }
14166 test -n "$ac_ct_CC" && break
14169 if test "x
$ac_ct_CC" = x; then
14172 case $cross_compiling:$ac_tool_warned in
14174 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
14175 whose name does not start with the
host triplet. If you think this
14176 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14177 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
14178 whose name does not start with the
host triplet. If you think this
14179 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14180 ac_tool_warned=yes ;;
14189 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
14190 See \
`config.log' for more details." >&5
14191 echo "$as_me: error: no acceptable C compiler found in \$PATH
14192 See \`config.log
' for more details." >&2;}
14193 { (exit 1); exit 1; }; }
14195 # Provide some information about the compiler.
14196 echo "$as_me:$LINENO: checking for C compiler version" >&5
14197 ac_compiler=`set X $ac_compile; echo $2`
14198 { (ac_try="$ac_compiler --version >&5"
14199 case "(($ac_try" in
14200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14201 *) ac_try_echo=$ac_try;;
14203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14204 (eval "$ac_compiler --version >&5") 2>&5
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); }
14208 { (ac_try="$ac_compiler -v >&5"
14209 case "(($ac_try" in
14210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14211 *) ac_try_echo=$ac_try;;
14213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14214 (eval "$ac_compiler -v >&5") 2>&5
14216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217 (exit $ac_status); }
14218 { (ac_try="$ac_compiler -V >&5"
14219 case "(($ac_try" in
14220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14221 *) ac_try_echo=$ac_try;;
14223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14224 (eval "$ac_compiler -V >&5") 2>&5
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); }
14229 cat >conftest.$ac_ext <<_ACEOF
14232 cat confdefs.h >>conftest.$ac_ext
14233 cat >>conftest.$ac_ext <<_ACEOF
14234 /* end confdefs.h. */
14244 ac_clean_files_save=$ac_clean_files
14245 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14246 # Try to create an executable without -o first, disregard a.out.
14247 # It will help us diagnose broken compilers, and finding out an intuition
14249 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14250 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14251 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
14253 # List of possible output files, starting from the most likely.
14254 # The algorithm is not robust to junk in `.', hence go to wildcards
(a.
*)
14255 # only as a last resort. b.out is created by i960 compilers.
14256 ac_files
='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14258 # The IRIX 6 linker writes into existing files which may not be
14259 # executable, retaining their permissions. Remove them first so a
14260 # subsequent execution test works.
14262 for ac_file
in $ac_files
14265 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14266 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
14271 if { (ac_try
="$ac_link_default"
14272 case "(($ac_try" in
14273 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14274 *) ac_try_echo=$ac_try;;
14276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14277 (eval "$ac_link_default") 2>&5
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); }; then
14281 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
14282 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
14283 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14284 # so that the user can short-circuit this test for compilers unknown to
14286 for ac_file in $ac_files ''
14288 test -f "$ac_file" || continue
14290 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14293 # We found the default executable, but exeext='' is most
14297 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14299 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14301 # We set ac_cv_exeext here because the later test for it is not
14302 # safe: cross compilers may not add the suffix if given an `-o'
14303 # argument, so we may need to know it at that point already.
14304 # Even if this section looks crufty: it has the advantage of
14305 # actually working.
14311 test "$ac_cv_exeext" = no && ac_cv_exeext=
14317 { echo "$as_me:$LINENO: result: $ac_file" >&5
14318 echo "${ECHO_T}$ac_file" >&6; }
14319 if test -z "$ac_file"; then
14320 echo "$as_me: failed program was:" >&5
14321 sed 's
/^
/| /' conftest.$ac_ext >&5
14323 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14324 See \`config.log' for more details.
" >&5
14325 echo "$as_me: error
: C compiler cannot create executables
14326 See \
`config.log' for more details." >&2;}
14327 { (exit 77); exit 77; }; }
14330 ac_exeext=$ac_cv_exeext
14332 # Check that the compiler produces executables we can run. If not, either
14333 # the compiler is broken, or we cross compile.
14334 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14335 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14336 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14337 # If not cross compiling, check that we can run a simple program.
14338 if test "$cross_compiling" != yes; then
14339 if { ac_try='./$ac_file'
14340 { (case "(($ac_try" in
14341 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14342 *) ac_try_echo
=$ac_try;;
14344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14345 (eval "$ac_try") 2>&5
14347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14348 (exit $ac_status); }; }; then
14351 if test "$cross_compiling" = maybe
; then
14352 cross_compiling
=yes
14354 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14355 If you meant to cross compile, use \`--host'.
14356 See \`config.log' for more details." >&5
14357 echo "$as_me: error: cannot run C compiled programs.
14358 If you meant to cross compile, use \`--host'.
14359 See \`config.log' for more details." >&2;}
14360 { (exit 1); exit 1; }; }
14364 { echo "$as_me:$LINENO: result: yes" >&5
14365 echo "${ECHO_T}yes" >&6; }
14367 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
14368 ac_clean_files
=$ac_clean_files_save
14369 # Check that the compiler produces executables we can run. If not, either
14370 # the compiler is broken, or we cross compile.
14371 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14372 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14373 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14374 echo "${ECHO_T}$cross_compiling" >&6; }
14376 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14377 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14378 if { (ac_try
="$ac_link"
14379 case "(($ac_try" in
14380 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14381 *) ac_try_echo=$ac_try;;
14383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14384 (eval "$ac_link") 2>&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); }; then
14388 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
14389 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
14390 # work properly (i.e., refer to `conftest.exe'), while it won't with
14392 for ac_file
in conftest.exe conftest conftest.
*; do
14393 test -f "$ac_file" || continue
14395 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14396 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14402 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14403 See \`config.log' for more details." >&5
14404 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14405 See \`config.log' for more details." >&2;}
14406 { (exit 1); exit 1; }; }
14409 rm -f conftest
$ac_cv_exeext
14410 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14411 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14413 rm -f conftest.
$ac_ext
14414 EXEEXT
=$ac_cv_exeext
14416 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14417 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14418 if test "${ac_cv_objext+set}" = set; then
14419 echo $ECHO_N "(cached) $ECHO_C" >&6
14421 cat >conftest.
$ac_ext <<_ACEOF
14424 cat confdefs.h
>>conftest.
$ac_ext
14425 cat >>conftest.
$ac_ext <<_ACEOF
14426 /* end confdefs.h. */
14436 rm -f conftest.o conftest.obj
14437 if { (ac_try
="$ac_compile"
14438 case "(($ac_try" in
14439 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14440 *) ac_try_echo=$ac_try;;
14442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14443 (eval "$ac_compile") 2>&5
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); }; then
14447 for ac_file in conftest.o conftest.obj conftest.*; do
14448 test -f "$ac_file" || continue;
14450 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14451 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14456 echo "$as_me: failed program was:" >&5
14457 sed 's/^/| /' conftest.$ac_ext >&5
14459 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14460 See \`config.log
' for more details." >&5
14461 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14462 See \`config.log' for more details.
" >&2;}
14463 { (exit 1); exit 1; }; }
14466 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14468 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14469 echo "${ECHO_T}$ac_cv_objext" >&6; }
14470 OBJEXT=$ac_cv_objext
14472 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14473 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14474 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14475 echo $ECHO_N "(cached
) $ECHO_C" >&6
14477 cat >conftest.$ac_ext <<_ACEOF
14480 cat confdefs.h >>conftest.$ac_ext
14481 cat >>conftest.$ac_ext <<_ACEOF
14482 /* end confdefs.h. */
14495 rm -f conftest.$ac_objext
14496 if { (ac_try="$ac_compile"
14497 case "(($ac_try" in
14498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14499 *) ac_try_echo=$ac_try;;
14501 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14502 (eval "$ac_compile") 2>conftest.er1
14504 grep -v '^ *+' conftest.er1 >conftest.err
14506 cat conftest.err >&5
14507 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14508 (exit $ac_status); } && {
14509 test -z "$ac_c_werror_flag" ||
14510 test ! -s conftest.err
14511 } && test -s conftest.$ac_objext; then
14512 ac_compiler_gnu=yes
14514 echo "$as_me: failed program was
:" >&5
14515 sed 's/^/| /' conftest.$ac_ext >&5
14520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14521 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14524 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14525 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14526 GCC=`test $ac_compiler_gnu = yes && echo yes`
14527 ac_test_CFLAGS=${CFLAGS+set}
14528 ac_save_CFLAGS=$CFLAGS
14529 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14530 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14531 if test "${ac_cv_prog_cc_g+set}" = set; then
14532 echo $ECHO_N "(cached
) $ECHO_C" >&6
14534 ac_save_c_werror_flag=$ac_c_werror_flag
14535 ac_c_werror_flag=yes
14538 cat >conftest.$ac_ext <<_ACEOF
14541 cat confdefs.h >>conftest.$ac_ext
14542 cat >>conftest.$ac_ext <<_ACEOF
14543 /* end confdefs.h. */
14553 rm -f conftest.$ac_objext
14554 if { (ac_try="$ac_compile"
14555 case "(($ac_try" in
14556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14557 *) ac_try_echo=$ac_try;;
14559 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14560 (eval "$ac_compile") 2>conftest.er1
14562 grep -v '^ *+' conftest.er1 >conftest.err
14564 cat conftest.err >&5
14565 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14566 (exit $ac_status); } && {
14567 test -z "$ac_c_werror_flag" ||
14568 test ! -s conftest.err
14569 } && test -s conftest.$ac_objext; then
14570 ac_cv_prog_cc_g=yes
14572 echo "$as_me: failed program was
:" >&5
14573 sed 's/^/| /' conftest.$ac_ext >&5
14576 cat >conftest.$ac_ext <<_ACEOF
14579 cat confdefs.h >>conftest.$ac_ext
14580 cat >>conftest.$ac_ext <<_ACEOF
14581 /* end confdefs.h. */
14591 rm -f conftest.$ac_objext
14592 if { (ac_try="$ac_compile"
14593 case "(($ac_try" in
14594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14595 *) ac_try_echo=$ac_try;;
14597 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14598 (eval "$ac_compile") 2>conftest.er1
14600 grep -v '^ *+' conftest.er1 >conftest.err
14602 cat conftest.err >&5
14603 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14604 (exit $ac_status); } && {
14605 test -z "$ac_c_werror_flag" ||
14606 test ! -s conftest.err
14607 } && test -s conftest.$ac_objext; then
14610 echo "$as_me: failed program was
:" >&5
14611 sed 's/^/| /' conftest.$ac_ext >&5
14613 ac_c_werror_flag=$ac_save_c_werror_flag
14615 cat >conftest.$ac_ext <<_ACEOF
14618 cat confdefs.h >>conftest.$ac_ext
14619 cat >>conftest.$ac_ext <<_ACEOF
14620 /* end confdefs.h. */
14630 rm -f conftest.$ac_objext
14631 if { (ac_try="$ac_compile"
14632 case "(($ac_try" in
14633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14634 *) ac_try_echo=$ac_try;;
14636 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14637 (eval "$ac_compile") 2>conftest.er1
14639 grep -v '^ *+' conftest.er1 >conftest.err
14641 cat conftest.err >&5
14642 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14643 (exit $ac_status); } && {
14644 test -z "$ac_c_werror_flag" ||
14645 test ! -s conftest.err
14646 } && test -s conftest.$ac_objext; then
14647 ac_cv_prog_cc_g=yes
14649 echo "$as_me: failed program was
:" >&5
14650 sed 's/^/| /' conftest.$ac_ext >&5
14655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14662 ac_c_werror_flag=$ac_save_c_werror_flag
14664 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14665 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14666 if test "$ac_test_CFLAGS" = set; then
14667 CFLAGS=$ac_save_CFLAGS
14668 elif test $ac_cv_prog_cc_g = yes; then
14669 if test "$GCC" = yes; then
14675 if test "$GCC" = yes; then
14681 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14682 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14683 if test "${ac_cv_prog_cc_c89+set}" = set; then
14684 echo $ECHO_N "(cached
) $ECHO_C" >&6
14686 ac_cv_prog_cc_c89=no
14688 cat >conftest.$ac_ext <<_ACEOF
14691 cat confdefs.h >>conftest.$ac_ext
14692 cat >>conftest.$ac_ext <<_ACEOF
14693 /* end confdefs.h. */
14694 #include <stdarg.h>
14696 #include <sys/types.h>
14697 #include <sys/stat.h>
14698 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14699 struct buf { int x; };
14700 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14701 static char *e (p, i)
14707 static char *f (char * (*g) (char **, int), char **p, ...)
14712 s = g (p, va_arg (v,int));
14717 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14718 function prototypes and stuff, but not '\xHH' hex character constants.
14719 These don't provoke an error unfortunately, instead are silently treated
14720 as 'x'. The following induces an error, until -std is added to get
14721 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14722 array size at least. It's necessary to write '\x00'==0 to get something
14723 that's true only with -std. */
14724 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14726 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14727 inside strings and character constants. */
14729 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14731 int test (int i, double x);
14732 struct s1 {int (*f) (int a);};
14733 struct s2 {int (*f) (double a);};
14734 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14740 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14745 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14746 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14748 CC="$ac_save_CC $ac_arg"
14749 rm -f conftest.$ac_objext
14750 if { (ac_try="$ac_compile"
14751 case "(($ac_try" in
14752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14753 *) ac_try_echo=$ac_try;;
14755 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14756 (eval "$ac_compile") 2>conftest.er1
14758 grep -v '^ *+' conftest.er1 >conftest.err
14760 cat conftest.err >&5
14761 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14762 (exit $ac_status); } && {
14763 test -z "$ac_c_werror_flag" ||
14764 test ! -s conftest.err
14765 } && test -s conftest.$ac_objext; then
14766 ac_cv_prog_cc_c89=$ac_arg
14768 echo "$as_me: failed program was
:" >&5
14769 sed 's/^/| /' conftest.$ac_ext >&5
14774 rm -f core conftest.err conftest.$ac_objext
14775 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14777 rm -f conftest.$ac_ext
14782 case "x
$ac_cv_prog_cc_c89" in
14784 { echo "$as_me:$LINENO: result
: none needed
" >&5
14785 echo "${ECHO_T}none needed
" >&6; } ;;
14787 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14788 echo "${ECHO_T}unsupported
" >&6; } ;;
14790 CC="$CC $ac_cv_prog_cc_c89"
14791 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14792 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14797 ac_cpp='$CPP $CPPFLAGS'
14798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14806 ac_cpp='$CPP $CPPFLAGS'
14807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14811 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14812 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
14813 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14814 echo $ECHO_N "(cached
) $ECHO_C" >&6
14816 cat >conftest.$ac_ext <<_ACEOF
14819 cat confdefs.h >>conftest.$ac_ext
14820 cat >>conftest.$ac_ext <<_ACEOF
14821 /* end confdefs.h. */
14827 #ifndef __INTEL_COMPILER
14835 rm -f conftest.$ac_objext
14836 if { (ac_try="$ac_compile"
14837 case "(($ac_try" in
14838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14839 *) ac_try_echo=$ac_try;;
14841 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14842 (eval "$ac_compile") 2>conftest.er1
14844 grep -v '^ *+' conftest.er1 >conftest.err
14846 cat conftest.err >&5
14847 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14848 (exit $ac_status); } && {
14849 test -z "$ac_c_werror_flag" ||
14850 test ! -s conftest.err
14851 } && test -s conftest.$ac_objext; then
14852 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14854 echo "$as_me: failed program was
:" >&5
14855 sed 's/^/| /' conftest.$ac_ext >&5
14857 bakefile_cv_c_compiler___INTEL_COMPILER=no
14861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14865 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14866 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14867 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
14873 ac_cpp='$CPP $CPPFLAGS'
14874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14881 if test "x
$GCC" != "xyes
"; then
14882 if test "xCC
" = "xC
"; then
14883 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
14884 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
14885 if test "${bakefile_cv_c_exto+set}" = set; then
14886 echo $ECHO_N "(cached
) $ECHO_C" >&6
14888 cat >conftest.$ac_ext <<_ACEOF
14891 cat confdefs.h >>conftest.$ac_ext
14892 cat >>conftest.$ac_ext <<_ACEOF
14893 /* end confdefs.h. */
14903 rm -f conftest.$ac_objext conftest.$ac_ext.o
14904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14905 (eval $ac_compile) 2>&5
14907 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14908 (exit $ac_status); }; then
14909 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14911 conftest.$ac_ext.o)
14912 bakefile_cv_c_exto="-ext o
"
14919 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
14920 See \
`config.log' for more details." >&5
14921 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14922 See \`config.log
' for more details." >&2;}
14923 { (exit 1); exit 1; }; }
14927 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14930 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14931 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14932 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14933 if test "c" = "c"; then
14934 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14936 if test "c" = "cxx"; then
14937 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14941 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14942 unset ac_cv_prog_cc_g
14943 ac_test_CFLAGS=${CFLAGS+set}
14944 ac_save_CFLAGS=$CFLAGS
14945 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14946 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14947 if test "${ac_cv_prog_cc_g+set}" = set; then
14948 echo $ECHO_N "(cached) $ECHO_C" >&6
14950 ac_save_c_werror_flag=$ac_c_werror_flag
14951 ac_c_werror_flag=yes
14954 cat >conftest.$ac_ext <<_ACEOF
14957 cat confdefs.h >>conftest.$ac_ext
14958 cat >>conftest.$ac_ext <<_ACEOF
14959 /* end confdefs.h. */
14969 rm -f conftest.$ac_objext
14970 if { (ac_try="$ac_compile"
14971 case "(($ac_try" in
14972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14973 *) ac_try_echo=$ac_try;;
14975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14976 (eval "$ac_compile") 2>conftest.er1
14978 grep -v '^
*+' conftest.er1 >conftest.err
14980 cat conftest.err >&5
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); } && {
14983 test -z "$ac_c_werror_flag" ||
14984 test ! -s conftest.err
14985 } && test -s conftest.$ac_objext; then
14986 ac_cv_prog_cc_g=yes
14988 echo "$as_me: failed program was:" >&5
14989 sed 's
/^
/| /' conftest.$ac_ext >&5
14992 cat >conftest.$ac_ext <<_ACEOF
14995 cat confdefs.h >>conftest.$ac_ext
14996 cat >>conftest.$ac_ext <<_ACEOF
14997 /* end confdefs.h. */
15007 rm -f conftest.$ac_objext
15008 if { (ac_try="$ac_compile"
15009 case "(($ac_try" in
15010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15011 *) ac_try_echo=$ac_try;;
15013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15014 (eval "$ac_compile") 2>conftest.er1
15016 grep -v '^
*+' conftest.er1 >conftest.err
15018 cat conftest.err >&5
15019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15020 (exit $ac_status); } && {
15021 test -z "$ac_c_werror_flag" ||
15022 test ! -s conftest.err
15023 } && test -s conftest.$ac_objext; then
15026 echo "$as_me: failed program was:" >&5
15027 sed 's
/^
/| /' conftest.$ac_ext >&5
15029 ac_c_werror_flag=$ac_save_c_werror_flag
15031 cat >conftest.$ac_ext <<_ACEOF
15034 cat confdefs.h >>conftest.$ac_ext
15035 cat >>conftest.$ac_ext <<_ACEOF
15036 /* end confdefs.h. */
15046 rm -f conftest.$ac_objext
15047 if { (ac_try="$ac_compile"
15048 case "(($ac_try" in
15049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15050 *) ac_try_echo=$ac_try;;
15052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15053 (eval "$ac_compile") 2>conftest.er1
15055 grep -v '^
*+' conftest.er1 >conftest.err
15057 cat conftest.err >&5
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); } && {
15060 test -z "$ac_c_werror_flag" ||
15061 test ! -s conftest.err
15062 } && test -s conftest.$ac_objext; then
15063 ac_cv_prog_cc_g=yes
15065 echo "$as_me: failed program was:" >&5
15066 sed 's
/^
/| /' conftest.$ac_ext >&5
15071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15078 ac_c_werror_flag=$ac_save_c_werror_flag
15080 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15081 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15082 if test "$ac_test_CFLAGS" = set; then
15083 CFLAGS=$ac_save_CFLAGS
15084 elif test $ac_cv_prog_cc_g = yes; then
15085 if test "$GCC" = yes; then
15091 if test "$GCC" = yes; then
15105 ac_cpp='$CPP $CPPFLAGS'
15106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15107 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15110 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15111 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15112 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15113 echo $ECHO_N "(cached) $ECHO_C" >&6
15115 cat >conftest.$ac_ext <<_ACEOF
15118 cat confdefs.h >>conftest.$ac_ext
15119 cat >>conftest.$ac_ext <<_ACEOF
15120 /* end confdefs.h. */
15134 rm -f conftest.$ac_objext
15135 if { (ac_try="$ac_compile"
15136 case "(($ac_try" in
15137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15138 *) ac_try_echo=$ac_try;;
15140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15141 (eval "$ac_compile") 2>conftest.er1
15143 grep -v '^
*+' conftest.er1 >conftest.err
15145 cat conftest.err >&5
15146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15147 (exit $ac_status); } && {
15148 test -z "$ac_c_werror_flag" ||
15149 test ! -s conftest.err
15150 } && test -s conftest.$ac_objext; then
15151 bakefile_cv_c_compiler___xlC__=yes
15153 echo "$as_me: failed program was:" >&5
15154 sed 's
/^
/| /' conftest.$ac_ext >&5
15156 bakefile_cv_c_compiler___xlC__=no
15160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15164 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15165 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15166 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15172 ac_cpp='$CPP $CPPFLAGS'
15173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15174 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15185 ac_cpp='$CPP $CPPFLAGS'
15186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15187 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15190 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15191 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15192 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15193 echo $ECHO_N "(cached) $ECHO_C" >&6
15195 cat >conftest.$ac_ext <<_ACEOF
15198 cat confdefs.h >>conftest.$ac_ext
15199 cat >>conftest.$ac_ext <<_ACEOF
15200 /* end confdefs.h. */
15214 rm -f conftest.$ac_objext
15215 if { (ac_try="$ac_compile"
15216 case "(($ac_try" in
15217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15218 *) ac_try_echo=$ac_try;;
15220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15221 (eval "$ac_compile") 2>conftest.er1
15223 grep -v '^
*+' conftest.er1 >conftest.err
15225 cat conftest.err >&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); } && {
15228 test -z "$ac_c_werror_flag" ||
15229 test ! -s conftest.err
15230 } && test -s conftest.$ac_objext; then
15231 bakefile_cv_c_compiler___MWERKS__=yes
15233 echo "$as_me: failed program was:" >&5
15234 sed 's
/^
/| /' conftest.$ac_ext >&5
15236 bakefile_cv_c_compiler___MWERKS__=no
15240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15244 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15245 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15246 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15252 ac_cpp='$CPP $CPPFLAGS'
15253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15254 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15262 ac_cpp='$CPP $CPPFLAGS'
15263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15264 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15267 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15268 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15269 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15270 echo $ECHO_N "(cached) $ECHO_C" >&6
15272 cat >conftest.$ac_ext <<_ACEOF
15275 cat confdefs.h >>conftest.$ac_ext
15276 cat >>conftest.$ac_ext <<_ACEOF
15277 /* end confdefs.h. */
15291 rm -f conftest.$ac_objext
15292 if { (ac_try="$ac_compile"
15293 case "(($ac_try" in
15294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15295 *) ac_try_echo=$ac_try;;
15297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15298 (eval "$ac_compile") 2>conftest.er1
15300 grep -v '^
*+' conftest.er1 >conftest.err
15302 cat conftest.err >&5
15303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15304 (exit $ac_status); } && {
15305 test -z "$ac_c_werror_flag" ||
15306 test ! -s conftest.err
15307 } && test -s conftest.$ac_objext; then
15308 bakefile_cv_c_compiler___xlC__=yes
15310 echo "$as_me: failed program was:" >&5
15311 sed 's
/^
/| /' conftest.$ac_ext >&5
15313 bakefile_cv_c_compiler___xlC__=no
15317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15321 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15322 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15323 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15329 ac_cpp='$CPP $CPPFLAGS'
15330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15331 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15342 ac_cpp='$CPP $CPPFLAGS'
15343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15344 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15347 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15348 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15349 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15350 echo $ECHO_N "(cached) $ECHO_C" >&6
15352 cat >conftest.$ac_ext <<_ACEOF
15355 cat confdefs.h >>conftest.$ac_ext
15356 cat >>conftest.$ac_ext <<_ACEOF
15357 /* end confdefs.h. */
15363 #ifndef _SGI_COMPILER_VERSION
15371 rm -f conftest.$ac_objext
15372 if { (ac_try="$ac_compile"
15373 case "(($ac_try" in
15374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15375 *) ac_try_echo=$ac_try;;
15377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15378 (eval "$ac_compile") 2>conftest.er1
15380 grep -v '^
*+' conftest.er1 >conftest.err
15382 cat conftest.err >&5
15383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15384 (exit $ac_status); } && {
15385 test -z "$ac_c_werror_flag" ||
15386 test ! -s conftest.err
15387 } && test -s conftest.$ac_objext; then
15388 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15390 echo "$as_me: failed program was:" >&5
15391 sed 's
/^
/| /' conftest.$ac_ext >&5
15393 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15401 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15402 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15403 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15409 ac_cpp='$CPP $CPPFLAGS'
15410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15411 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15422 ac_cpp='$CPP $CPPFLAGS'
15423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15424 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15427 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15428 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15429 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15430 echo $ECHO_N "(cached) $ECHO_C" >&6
15432 cat >conftest.$ac_ext <<_ACEOF
15435 cat confdefs.h >>conftest.$ac_ext
15436 cat >>conftest.$ac_ext <<_ACEOF
15437 /* end confdefs.h. */
15451 rm -f conftest.$ac_objext
15452 if { (ac_try="$ac_compile"
15453 case "(($ac_try" in
15454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15455 *) ac_try_echo=$ac_try;;
15457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15458 (eval "$ac_compile") 2>conftest.er1
15460 grep -v '^
*+' conftest.er1 >conftest.err
15462 cat conftest.err >&5
15463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15464 (exit $ac_status); } && {
15465 test -z "$ac_c_werror_flag" ||
15466 test ! -s conftest.err
15467 } && test -s conftest.$ac_objext; then
15468 bakefile_cv_c_compiler___SUNPRO_C=yes
15470 echo "$as_me: failed program was:" >&5
15471 sed 's
/^
/| /' conftest.$ac_ext >&5
15473 bakefile_cv_c_compiler___SUNPRO_C=no
15477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15481 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15482 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15483 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15489 ac_cpp='$CPP $CPPFLAGS'
15490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15491 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15502 ac_cpp='$CPP $CPPFLAGS'
15503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15504 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15507 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15508 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15509 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15510 echo $ECHO_N "(cached) $ECHO_C" >&6
15512 cat >conftest.$ac_ext <<_ACEOF
15515 cat confdefs.h >>conftest.$ac_ext
15516 cat >>conftest.$ac_ext <<_ACEOF
15517 /* end confdefs.h. */
15531 rm -f conftest.$ac_objext
15532 if { (ac_try="$ac_compile"
15533 case "(($ac_try" in
15534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15535 *) ac_try_echo=$ac_try;;
15537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15538 (eval "$ac_compile") 2>conftest.er1
15540 grep -v '^
*+' conftest.er1 >conftest.err
15542 cat conftest.err >&5
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); } && {
15545 test -z "$ac_c_werror_flag" ||
15546 test ! -s conftest.err
15547 } && test -s conftest.$ac_objext; then
15548 bakefile_cv_c_compiler___HP_cc=yes
15550 echo "$as_me: failed program was:" >&5
15551 sed 's
/^
/| /' conftest.$ac_ext >&5
15553 bakefile_cv_c_compiler___HP_cc=no
15557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15561 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15562 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15563 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15569 ac_cpp='$CPP $CPPFLAGS'
15570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15571 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15582 ac_cpp='$CPP $CPPFLAGS'
15583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15584 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15587 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15588 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15589 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15590 echo $ECHO_N "(cached) $ECHO_C" >&6
15592 cat >conftest.$ac_ext <<_ACEOF
15595 cat confdefs.h >>conftest.$ac_ext
15596 cat >>conftest.$ac_ext <<_ACEOF
15597 /* end confdefs.h. */
15611 rm -f conftest.$ac_objext
15612 if { (ac_try="$ac_compile"
15613 case "(($ac_try" in
15614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15615 *) ac_try_echo=$ac_try;;
15617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15618 (eval "$ac_compile") 2>conftest.er1
15620 grep -v '^
*+' conftest.er1 >conftest.err
15622 cat conftest.err >&5
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); } && {
15625 test -z "$ac_c_werror_flag" ||
15626 test ! -s conftest.err
15627 } && test -s conftest.$ac_objext; then
15628 bakefile_cv_c_compiler___DECC=yes
15630 echo "$as_me: failed program was:" >&5
15631 sed 's
/^
/| /' conftest.$ac_ext >&5
15633 bakefile_cv_c_compiler___DECC=no
15637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15641 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15642 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15643 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15649 ac_cpp='$CPP $CPPFLAGS'
15650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15651 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15662 ac_cpp='$CPP $CPPFLAGS'
15663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15664 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15667 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15668 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15669 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15670 echo $ECHO_N "(cached) $ECHO_C" >&6
15672 cat >conftest.$ac_ext <<_ACEOF
15675 cat confdefs.h >>conftest.$ac_ext
15676 cat >>conftest.$ac_ext <<_ACEOF
15677 /* end confdefs.h. */
15691 rm -f conftest.$ac_objext
15692 if { (ac_try="$ac_compile"
15693 case "(($ac_try" in
15694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15695 *) ac_try_echo=$ac_try;;
15697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15698 (eval "$ac_compile") 2>conftest.er1
15700 grep -v '^
*+' conftest.er1 >conftest.err
15702 cat conftest.err >&5
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); } && {
15705 test -z "$ac_c_werror_flag" ||
15706 test ! -s conftest.err
15707 } && test -s conftest.$ac_objext; then
15708 bakefile_cv_c_compiler___SUNPRO_C=yes
15710 echo "$as_me: failed program was:" >&5
15711 sed 's
/^
/| /' conftest.$ac_ext >&5
15713 bakefile_cv_c_compiler___SUNPRO_C=no
15717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15721 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15722 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15723 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15729 ac_cpp='$CPP $CPPFLAGS'
15730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15731 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15743 ac_cpp='$CPP $CPPFLAGS'
15744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15745 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15747 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15748 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15749 # On Suns, sometimes $CPP names a directory.
15750 if test -n "$CPP" && test -d "$CPP"; then
15753 if test -z "$CPP"; then
15754 if test "${ac_cv_prog_CPP+set}" = set; then
15755 echo $ECHO_N "(cached) $ECHO_C" >&6
15757 # Double quotes because CPP needs to be expanded
15758 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15760 ac_preproc_ok=false
15761 for ac_c_preproc_warn_flag in '' yes
15763 # Use a header file that comes with gcc, so configuring glibc
15764 # with a fresh cross-compiler works.
15765 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15766 # <limits.h> exists even on freestanding compilers.
15767 # On the NeXT, cc -E runs the code through the compiler's parser
,
15768 # not just through cpp. "Syntax error" is here to catch this case.
15769 cat >conftest.
$ac_ext <<_ACEOF
15772 cat confdefs.h
>>conftest.
$ac_ext
15773 cat >>conftest.
$ac_ext <<_ACEOF
15774 /* end confdefs.h. */
15776 # include <limits.h>
15778 # include <assert.h>
15782 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15783 case "(($ac_try" in
15784 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15785 *) ac_try_echo=$ac_try;;
15787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15788 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15790 grep -v '^ *+' conftest.er1 >conftest.err
15792 cat conftest.err >&5
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); } >/dev/null && {
15795 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15796 test ! -s conftest.err
15800 echo "$as_me: failed program was:" >&5
15801 sed 's/^/| /' conftest.$ac_ext >&5
15803 # Broken: fails on valid input.
15807 rm -f conftest.err conftest.$ac_ext
15809 # OK, works on sane cases. Now check whether nonexistent headers
15810 # can be detected and how.
15811 cat >conftest.$ac_ext <<_ACEOF
15814 cat confdefs.h >>conftest.$ac_ext
15815 cat >>conftest.$ac_ext <<_ACEOF
15816 /* end confdefs.h. */
15817 #include <ac_nonexistent.h>
15819 if { (ac_try="$ac_cpp conftest.$ac_ext"
15820 case "(($ac_try" in
15821 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15822 *) ac_try_echo
=$ac_try;;
15824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15825 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15827 grep -v '^ *+' conftest.er1
>conftest.err
15829 cat conftest.err
>&5
15830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15831 (exit $ac_status); } >/dev
/null
&& {
15832 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15833 test ! -s conftest.err
15835 # Broken: success on invalid input.
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.
$ac_ext >&5
15841 # Passes both tests.
15846 rm -f conftest.err conftest.
$ac_ext
15849 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15850 rm -f conftest.err conftest.
$ac_ext
15851 if $ac_preproc_ok; then
15856 ac_cv_prog_CPP
=$CPP
15859 CPP
=$ac_cv_prog_CPP
15861 ac_cv_prog_CPP
=$CPP
15863 { echo "$as_me:$LINENO: result: $CPP" >&5
15864 echo "${ECHO_T}$CPP" >&6; }
15865 ac_preproc_ok
=false
15866 for ac_c_preproc_warn_flag
in '' yes
15868 # Use a header file that comes with gcc, so configuring glibc
15869 # with a fresh cross-compiler works.
15870 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15871 # <limits.h> exists even on freestanding compilers.
15872 # On the NeXT, cc -E runs the code through the compiler's parser,
15873 # not just through cpp. "Syntax error" is here to catch this case.
15874 cat >conftest.
$ac_ext <<_ACEOF
15877 cat confdefs.h
>>conftest.
$ac_ext
15878 cat >>conftest.
$ac_ext <<_ACEOF
15879 /* end confdefs.h. */
15881 # include <limits.h>
15883 # include <assert.h>
15887 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15888 case "(($ac_try" in
15889 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15890 *) ac_try_echo=$ac_try;;
15892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15893 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15895 grep -v '^ *+' conftest.er1 >conftest.err
15897 cat conftest.err >&5
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); } >/dev/null && {
15900 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15901 test ! -s conftest.err
15905 echo "$as_me: failed program was:" >&5
15906 sed 's/^/| /' conftest.$ac_ext >&5
15908 # Broken: fails on valid input.
15912 rm -f conftest.err conftest.$ac_ext
15914 # OK, works on sane cases. Now check whether nonexistent headers
15915 # can be detected and how.
15916 cat >conftest.$ac_ext <<_ACEOF
15919 cat confdefs.h >>conftest.$ac_ext
15920 cat >>conftest.$ac_ext <<_ACEOF
15921 /* end confdefs.h. */
15922 #include <ac_nonexistent.h>
15924 if { (ac_try="$ac_cpp conftest.$ac_ext"
15925 case "(($ac_try" in
15926 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15927 *) ac_try_echo
=$ac_try;;
15929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15930 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15932 grep -v '^ *+' conftest.er1
>conftest.err
15934 cat conftest.err
>&5
15935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15936 (exit $ac_status); } >/dev
/null
&& {
15937 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15938 test ! -s conftest.err
15940 # Broken: success on invalid input.
15943 echo "$as_me: failed program was:" >&5
15944 sed 's/^/| /' conftest.
$ac_ext >&5
15946 # Passes both tests.
15951 rm -f conftest.err conftest.
$ac_ext
15954 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15955 rm -f conftest.err conftest.
$ac_ext
15956 if $ac_preproc_ok; then
15959 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15960 See \`config.log' for more details." >&5
15961 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15962 See \`config.log' for more details." >&2;}
15963 { (exit 1); exit 1; }; }
15967 ac_cpp
='$CPP $CPPFLAGS'
15968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15973 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15974 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15975 if test "${ac_cv_path_GREP+set}" = set; then
15976 echo $ECHO_N "(cached) $ECHO_C" >&6
15978 # Extract the first word of "grep ggrep" to use in msg output
15979 if test -z "$GREP"; then
15980 set dummy
grep ggrep
; ac_prog_name
=$2
15981 if test "${ac_cv_path_GREP+set}" = set; then
15982 echo $ECHO_N "(cached) $ECHO_C" >&6
15984 ac_path_GREP_found
=false
15985 # Loop through the user's path and test for each of PROGNAME-LIST
15986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15987 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
15990 test -z "$as_dir" && as_dir
=.
15991 for ac_prog
in grep ggrep
; do
15992 for ac_exec_ext
in '' $ac_executable_extensions; do
15993 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
15994 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
15995 # Check for GNU ac_path_GREP and select it if it is found.
15996 # Check for GNU $ac_path_GREP
15997 case `"$ac_path_GREP" --version 2>&1` in
15999 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16002 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16005 cat "conftest.in" "conftest.in" >"conftest.tmp"
16006 mv "conftest.tmp" "conftest.in"
16007 cp "conftest.in" "conftest.nl"
16008 echo 'GREP' >> "conftest.nl"
16009 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16010 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16011 ac_count
=`expr $ac_count + 1`
16012 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16013 # Best one so far, save it but keep looking for a better one
16014 ac_cv_path_GREP
="$ac_path_GREP"
16015 ac_path_GREP_max
=$ac_count
16017 # 10*(2^10) chars as input seems more than enough
16018 test $ac_count -gt 10 && break
16020 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16024 $ac_path_GREP_found && break 3
16034 GREP
="$ac_cv_path_GREP"
16035 if test -z "$GREP"; then
16036 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16037 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16038 { (exit 1); exit 1; }; }
16042 ac_cv_path_GREP
=$GREP
16047 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16048 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16049 GREP
="$ac_cv_path_GREP"
16052 { echo "$as_me:$LINENO: checking for egrep" >&5
16053 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16054 if test "${ac_cv_path_EGREP+set}" = set; then
16055 echo $ECHO_N "(cached) $ECHO_C" >&6
16057 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16058 then ac_cv_path_EGREP
="$GREP -E"
16060 # Extract the first word of "egrep" to use in msg output
16061 if test -z "$EGREP"; then
16062 set dummy
egrep; ac_prog_name
=$2
16063 if test "${ac_cv_path_EGREP+set}" = set; then
16064 echo $ECHO_N "(cached) $ECHO_C" >&6
16066 ac_path_EGREP_found
=false
16067 # Loop through the user's path and test for each of PROGNAME-LIST
16068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16069 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16072 test -z "$as_dir" && as_dir
=.
16073 for ac_prog
in egrep; do
16074 for ac_exec_ext
in '' $ac_executable_extensions; do
16075 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16076 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16077 # Check for GNU ac_path_EGREP and select it if it is found.
16078 # Check for GNU $ac_path_EGREP
16079 case `"$ac_path_EGREP" --version 2>&1` in
16081 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16084 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16087 cat "conftest.in" "conftest.in" >"conftest.tmp"
16088 mv "conftest.tmp" "conftest.in"
16089 cp "conftest.in" "conftest.nl"
16090 echo 'EGREP' >> "conftest.nl"
16091 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16092 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16093 ac_count
=`expr $ac_count + 1`
16094 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16095 # Best one so far, save it but keep looking for a better one
16096 ac_cv_path_EGREP
="$ac_path_EGREP"
16097 ac_path_EGREP_max
=$ac_count
16099 # 10*(2^10) chars as input seems more than enough
16100 test $ac_count -gt 10 && break
16102 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16106 $ac_path_EGREP_found && break 3
16116 EGREP
="$ac_cv_path_EGREP"
16117 if test -z "$EGREP"; then
16118 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16119 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16120 { (exit 1); exit 1; }; }
16124 ac_cv_path_EGREP
=$EGREP
16130 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16131 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16132 EGREP
="$ac_cv_path_EGREP"
16135 if test $ac_cv_c_compiler_gnu = yes; then
16136 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16137 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16138 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16139 echo $ECHO_N "(cached) $ECHO_C" >&6
16141 ac_pattern
="Autoconf.*'x'"
16142 cat >conftest.
$ac_ext <<_ACEOF
16145 cat confdefs.h
>>conftest.
$ac_ext
16146 cat >>conftest.
$ac_ext <<_ACEOF
16147 /* end confdefs.h. */
16151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16152 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16153 ac_cv_prog_gcc_traditional
=yes
16155 ac_cv_prog_gcc_traditional
=no
16160 if test $ac_cv_prog_gcc_traditional = no
; then
16161 cat >conftest.
$ac_ext <<_ACEOF
16164 cat confdefs.h
>>conftest.
$ac_ext
16165 cat >>conftest.
$ac_ext <<_ACEOF
16166 /* end confdefs.h. */
16167 #include <termio.h>
16170 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16171 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16172 ac_cv_prog_gcc_traditional
=yes
16178 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16179 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16180 if test $ac_cv_prog_gcc_traditional = yes; then
16181 CC
="$CC -traditional"
16186 CXXFLAGS
=${CXXFLAGS:=}
16191 ac_cpp
='$CXXCPP $CPPFLAGS'
16192 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16193 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16194 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16195 if test -z "$CXX"; then
16196 if test -n "$CCC"; then
16199 if test -n "$ac_tool_prefix"; then
16200 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16202 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16203 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16206 if test "${ac_cv_prog_CXX+set}" = set; then
16207 echo $ECHO_N "(cached) $ECHO_C" >&6
16209 if test -n "$CXX"; then
16210 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16213 for as_dir
in $PATH
16216 test -z "$as_dir" && as_dir
=.
16217 for ac_exec_ext
in '' $ac_executable_extensions; do
16218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16219 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16229 CXX
=$ac_cv_prog_CXX
16230 if test -n "$CXX"; then
16231 { echo "$as_me:$LINENO: result: $CXX" >&5
16232 echo "${ECHO_T}$CXX" >&6; }
16234 { echo "$as_me:$LINENO: result: no" >&5
16235 echo "${ECHO_T}no" >&6; }
16239 test -n "$CXX" && break
16242 if test -z "$CXX"; then
16244 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16246 # Extract the first word of "$ac_prog", so it can be a program name with args.
16247 set dummy
$ac_prog; ac_word
=$2
16248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16250 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16251 echo $ECHO_N "(cached) $ECHO_C" >&6
16253 if test -n "$ac_ct_CXX"; then
16254 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16257 for as_dir
in $PATH
16260 test -z "$as_dir" && as_dir
=.
16261 for ac_exec_ext
in '' $ac_executable_extensions; do
16262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16263 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16273 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16274 if test -n "$ac_ct_CXX"; then
16275 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16276 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16278 { echo "$as_me:$LINENO: result: no" >&5
16279 echo "${ECHO_T}no" >&6; }
16283 test -n "$ac_ct_CXX" && break
16286 if test "x$ac_ct_CXX" = x
; then
16289 case $cross_compiling:$ac_tool_warned in
16291 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16292 whose name does not start with the host triplet. If you think this
16293 configuration is useful to you, please write to autoconf@gnu.org." >&5
16294 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16295 whose name does not start with the host triplet. If you think this
16296 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16297 ac_tool_warned
=yes ;;
16305 # Provide some information about the compiler.
16306 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16307 ac_compiler
=`set X $ac_compile; echo $2`
16308 { (ac_try
="$ac_compiler --version >&5"
16309 case "(($ac_try" in
16310 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16311 *) ac_try_echo=$ac_try;;
16313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16314 (eval "$ac_compiler --version >&5") 2>&5
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); }
16318 { (ac_try="$ac_compiler -v >&5"
16319 case "(($ac_try" in
16320 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16321 *) ac_try_echo
=$ac_try;;
16323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16324 (eval "$ac_compiler -v >&5") 2>&5
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); }
16328 { (ac_try
="$ac_compiler -V >&5"
16329 case "(($ac_try" in
16330 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16331 *) ac_try_echo=$ac_try;;
16333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16334 (eval "$ac_compiler -V >&5") 2>&5
16336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337 (exit $ac_status); }
16339 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16340 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16341 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16344 cat >conftest.$ac_ext <<_ACEOF
16347 cat confdefs.h >>conftest.$ac_ext
16348 cat >>conftest.$ac_ext <<_ACEOF
16349 /* end confdefs.h. */
16362 rm -f conftest.$ac_objext
16363 if { (ac_try="$ac_compile"
16364 case "(($ac_try" in
16365 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16366 *) ac_try_echo
=$ac_try;;
16368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16369 (eval "$ac_compile") 2>conftest.er1
16371 grep -v '^ *+' conftest.er1
>conftest.err
16373 cat conftest.err
>&5
16374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); } && {
16376 test -z "$ac_cxx_werror_flag" ||
16377 test ! -s conftest.err
16378 } && test -s conftest.
$ac_objext; then
16379 ac_compiler_gnu
=yes
16381 echo "$as_me: failed program was:" >&5
16382 sed 's/^/| /' conftest.
$ac_ext >&5
16387 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16388 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16391 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16392 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16393 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16394 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16395 ac_save_CXXFLAGS
=$CXXFLAGS
16396 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16397 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16398 if test "${ac_cv_prog_cxx_g+set}" = set; then
16399 echo $ECHO_N "(cached) $ECHO_C" >&6
16401 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16402 ac_cxx_werror_flag
=yes
16403 ac_cv_prog_cxx_g
=no
16405 cat >conftest.
$ac_ext <<_ACEOF
16408 cat confdefs.h
>>conftest.
$ac_ext
16409 cat >>conftest.
$ac_ext <<_ACEOF
16410 /* end confdefs.h. */
16420 rm -f conftest.
$ac_objext
16421 if { (ac_try
="$ac_compile"
16422 case "(($ac_try" in
16423 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16424 *) ac_try_echo=$ac_try;;
16426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16427 (eval "$ac_compile") 2>conftest.er1
16429 grep -v '^ *+' conftest.er1 >conftest.err
16431 cat conftest.err >&5
16432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433 (exit $ac_status); } && {
16434 test -z "$ac_cxx_werror_flag" ||
16435 test ! -s conftest.err
16436 } && test -s conftest.$ac_objext; then
16437 ac_cv_prog_cxx_g=yes
16439 echo "$as_me: failed program was:" >&5
16440 sed 's/^/| /' conftest.$ac_ext >&5
16443 cat >conftest.$ac_ext <<_ACEOF
16446 cat confdefs.h >>conftest.$ac_ext
16447 cat >>conftest.$ac_ext <<_ACEOF
16448 /* end confdefs.h. */
16458 rm -f conftest.$ac_objext
16459 if { (ac_try="$ac_compile"
16460 case "(($ac_try" in
16461 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16462 *) ac_try_echo
=$ac_try;;
16464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16465 (eval "$ac_compile") 2>conftest.er1
16467 grep -v '^ *+' conftest.er1
>conftest.err
16469 cat conftest.err
>&5
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); } && {
16472 test -z "$ac_cxx_werror_flag" ||
16473 test ! -s conftest.err
16474 } && test -s conftest.
$ac_objext; then
16477 echo "$as_me: failed program was:" >&5
16478 sed 's/^/| /' conftest.
$ac_ext >&5
16480 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16482 cat >conftest.
$ac_ext <<_ACEOF
16485 cat confdefs.h
>>conftest.
$ac_ext
16486 cat >>conftest.
$ac_ext <<_ACEOF
16487 /* end confdefs.h. */
16497 rm -f conftest.
$ac_objext
16498 if { (ac_try
="$ac_compile"
16499 case "(($ac_try" in
16500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16501 *) ac_try_echo=$ac_try;;
16503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16504 (eval "$ac_compile") 2>conftest.er1
16506 grep -v '^ *+' conftest.er1 >conftest.err
16508 cat conftest.err >&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); } && {
16511 test -z "$ac_cxx_werror_flag" ||
16512 test ! -s conftest.err
16513 } && test -s conftest.$ac_objext; then
16514 ac_cv_prog_cxx_g=yes
16516 echo "$as_me: failed program was:" >&5
16517 sed 's/^/| /' conftest.$ac_ext >&5
16522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16529 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16531 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16532 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16533 if test "$ac_test_CXXFLAGS" = set; then
16534 CXXFLAGS=$ac_save_CXXFLAGS
16535 elif test $ac_cv_prog_cxx_g = yes; then
16536 if test "$GXX" = yes; then
16542 if test "$GXX" = yes; then
16549 ac_cpp='$CPP $CPPFLAGS'
16550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16558 ac_cpp='$CXXCPP $CPPFLAGS'
16559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16563 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16564 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16565 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16566 echo $ECHO_N "(cached) $ECHO_C" >&6
16568 cat >conftest.$ac_ext <<_ACEOF
16571 cat confdefs.h >>conftest.$ac_ext
16572 cat >>conftest.$ac_ext <<_ACEOF
16573 /* end confdefs.h. */
16579 #ifndef __INTEL_COMPILER
16587 rm -f conftest.$ac_objext
16588 if { (ac_try="$ac_compile"
16589 case "(($ac_try" in
16590 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16591 *) ac_try_echo
=$ac_try;;
16593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16594 (eval "$ac_compile") 2>conftest.er1
16596 grep -v '^ *+' conftest.er1
>conftest.err
16598 cat conftest.err
>&5
16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); } && {
16601 test -z "$ac_cxx_werror_flag" ||
16602 test ! -s conftest.err
16603 } && test -s conftest.
$ac_objext; then
16604 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16606 echo "$as_me: failed program was:" >&5
16607 sed 's/^/| /' conftest.
$ac_ext >&5
16609 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16617 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16618 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16619 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16625 ac_cpp
='$CPP $CPPFLAGS'
16626 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16627 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16628 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16633 if test "x$GCXX" != "xyes"; then
16634 if test "xCXX" = "xC"; then
16635 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16636 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16637 if test "${bakefile_cv_c_exto+set}" = set; then
16638 echo $ECHO_N "(cached) $ECHO_C" >&6
16640 cat >conftest.
$ac_ext <<_ACEOF
16643 cat confdefs.h
>>conftest.
$ac_ext
16644 cat >>conftest.
$ac_ext <<_ACEOF
16645 /* end confdefs.h. */
16655 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
16656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16657 (eval $ac_compile) 2>&5
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); }; then
16661 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
16663 conftest.
$ac_ext.o
)
16664 bakefile_cv_c_exto
="-ext o"
16671 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16672 See \`config.log' for more details." >&5
16673 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16674 See \`config.log' for more details." >&2;}
16675 { (exit 1); exit 1; }; }
16679 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
16682 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16683 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16684 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16685 if test "c" = "c"; then
16686 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
16688 if test "c" = "cxx"; then
16689 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
16693 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16694 unset ac_cv_prog_cc_g
16695 ac_test_CFLAGS
=${CFLAGS+set}
16696 ac_save_CFLAGS
=$CFLAGS
16697 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16698 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16699 if test "${ac_cv_prog_cc_g+set}" = set; then
16700 echo $ECHO_N "(cached) $ECHO_C" >&6
16702 ac_save_c_werror_flag
=$ac_c_werror_flag
16703 ac_c_werror_flag
=yes
16706 cat >conftest.
$ac_ext <<_ACEOF
16709 cat confdefs.h
>>conftest.
$ac_ext
16710 cat >>conftest.
$ac_ext <<_ACEOF
16711 /* end confdefs.h. */
16721 rm -f conftest.
$ac_objext
16722 if { (ac_try
="$ac_compile"
16723 case "(($ac_try" in
16724 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16725 *) ac_try_echo=$ac_try;;
16727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16728 (eval "$ac_compile") 2>conftest.er1
16730 grep -v '^ *+' conftest.er1 >conftest.err
16732 cat conftest.err >&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); } && {
16735 test -z "$ac_c_werror_flag" ||
16736 test ! -s conftest.err
16737 } && test -s conftest.$ac_objext; then
16738 ac_cv_prog_cc_g=yes
16740 echo "$as_me: failed program was:" >&5
16741 sed 's/^/| /' conftest.$ac_ext >&5
16744 cat >conftest.$ac_ext <<_ACEOF
16747 cat confdefs.h >>conftest.$ac_ext
16748 cat >>conftest.$ac_ext <<_ACEOF
16749 /* end confdefs.h. */
16759 rm -f conftest.$ac_objext
16760 if { (ac_try="$ac_compile"
16761 case "(($ac_try" in
16762 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16763 *) ac_try_echo
=$ac_try;;
16765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16766 (eval "$ac_compile") 2>conftest.er1
16768 grep -v '^ *+' conftest.er1
>conftest.err
16770 cat conftest.err
>&5
16771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16772 (exit $ac_status); } && {
16773 test -z "$ac_c_werror_flag" ||
16774 test ! -s conftest.err
16775 } && test -s conftest.
$ac_objext; then
16778 echo "$as_me: failed program was:" >&5
16779 sed 's/^/| /' conftest.
$ac_ext >&5
16781 ac_c_werror_flag
=$ac_save_c_werror_flag
16783 cat >conftest.
$ac_ext <<_ACEOF
16786 cat confdefs.h
>>conftest.
$ac_ext
16787 cat >>conftest.
$ac_ext <<_ACEOF
16788 /* end confdefs.h. */
16798 rm -f conftest.
$ac_objext
16799 if { (ac_try
="$ac_compile"
16800 case "(($ac_try" in
16801 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16802 *) ac_try_echo=$ac_try;;
16804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16805 (eval "$ac_compile") 2>conftest.er1
16807 grep -v '^ *+' conftest.er1 >conftest.err
16809 cat conftest.err >&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); } && {
16812 test -z "$ac_c_werror_flag" ||
16813 test ! -s conftest.err
16814 } && test -s conftest.$ac_objext; then
16815 ac_cv_prog_cc_g=yes
16817 echo "$as_me: failed program was:" >&5
16818 sed 's/^/| /' conftest.$ac_ext >&5
16823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16830 ac_c_werror_flag=$ac_save_c_werror_flag
16832 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16833 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16834 if test "$ac_test_CFLAGS" = set; then
16835 CFLAGS=$ac_save_CFLAGS
16836 elif test $ac_cv_prog_cc_g = yes; then
16837 if test "$GCC" = yes; then
16843 if test "$GCC" = yes; then
16857 ac_cpp='$CXXCPP $CPPFLAGS'
16858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16862 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16863 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16864 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16865 echo $ECHO_N "(cached) $ECHO_C" >&6
16867 cat >conftest.$ac_ext <<_ACEOF
16870 cat confdefs.h >>conftest.$ac_ext
16871 cat >>conftest.$ac_ext <<_ACEOF
16872 /* end confdefs.h. */
16886 rm -f conftest.$ac_objext
16887 if { (ac_try="$ac_compile"
16888 case "(($ac_try" in
16889 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16890 *) ac_try_echo
=$ac_try;;
16892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16893 (eval "$ac_compile") 2>conftest.er1
16895 grep -v '^ *+' conftest.er1
>conftest.err
16897 cat conftest.err
>&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); } && {
16900 test -z "$ac_cxx_werror_flag" ||
16901 test ! -s conftest.err
16902 } && test -s conftest.
$ac_objext; then
16903 bakefile_cv_cxx_compiler___xlC__
=yes
16905 echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.
$ac_ext >&5
16908 bakefile_cv_cxx_compiler___xlC__
=no
16912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16916 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16917 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16918 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16924 ac_cpp
='$CPP $CPPFLAGS'
16925 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16926 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16927 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16937 ac_cpp
='$CXXCPP $CPPFLAGS'
16938 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16939 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16940 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16942 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16943 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16944 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16945 echo $ECHO_N "(cached) $ECHO_C" >&6
16947 cat >conftest.
$ac_ext <<_ACEOF
16950 cat confdefs.h
>>conftest.
$ac_ext
16951 cat >>conftest.
$ac_ext <<_ACEOF
16952 /* end confdefs.h. */
16966 rm -f conftest.
$ac_objext
16967 if { (ac_try
="$ac_compile"
16968 case "(($ac_try" in
16969 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16970 *) ac_try_echo=$ac_try;;
16972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16973 (eval "$ac_compile") 2>conftest.er1
16975 grep -v '^ *+' conftest.er1 >conftest.err
16977 cat conftest.err >&5
16978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); } && {
16980 test -z "$ac_cxx_werror_flag" ||
16981 test ! -s conftest.err
16982 } && test -s conftest.$ac_objext; then
16983 bakefile_cv_cxx_compiler___MWERKS__=yes
16985 echo "$as_me: failed program was:" >&5
16986 sed 's/^/| /' conftest.$ac_ext >&5
16988 bakefile_cv_cxx_compiler___MWERKS__=no
16992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16996 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
16997 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
16998 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17004 ac_cpp='$CPP $CPPFLAGS'
17005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17014 ac_cpp='$CXXCPP $CPPFLAGS'
17015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17019 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17020 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17021 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17022 echo $ECHO_N "(cached) $ECHO_C" >&6
17024 cat >conftest.$ac_ext <<_ACEOF
17027 cat confdefs.h >>conftest.$ac_ext
17028 cat >>conftest.$ac_ext <<_ACEOF
17029 /* end confdefs.h. */
17043 rm -f conftest.$ac_objext
17044 if { (ac_try="$ac_compile"
17045 case "(($ac_try" in
17046 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17047 *) ac_try_echo
=$ac_try;;
17049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17050 (eval "$ac_compile") 2>conftest.er1
17052 grep -v '^ *+' conftest.er1
>conftest.err
17054 cat conftest.err
>&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); } && {
17057 test -z "$ac_cxx_werror_flag" ||
17058 test ! -s conftest.err
17059 } && test -s conftest.
$ac_objext; then
17060 bakefile_cv_cxx_compiler___xlC__
=yes
17062 echo "$as_me: failed program was:" >&5
17063 sed 's/^/| /' conftest.
$ac_ext >&5
17065 bakefile_cv_cxx_compiler___xlC__
=no
17069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17073 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17074 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17075 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17081 ac_cpp
='$CPP $CPPFLAGS'
17082 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17083 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17084 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17094 ac_cpp
='$CXXCPP $CPPFLAGS'
17095 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17096 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17097 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17099 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17100 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17101 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17102 echo $ECHO_N "(cached) $ECHO_C" >&6
17104 cat >conftest.
$ac_ext <<_ACEOF
17107 cat confdefs.h
>>conftest.
$ac_ext
17108 cat >>conftest.
$ac_ext <<_ACEOF
17109 /* end confdefs.h. */
17115 #ifndef _SGI_COMPILER_VERSION
17123 rm -f conftest.
$ac_objext
17124 if { (ac_try
="$ac_compile"
17125 case "(($ac_try" in
17126 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17127 *) ac_try_echo=$ac_try;;
17129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17130 (eval "$ac_compile") 2>conftest.er1
17132 grep -v '^ *+' conftest.er1 >conftest.err
17134 cat conftest.err >&5
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); } && {
17137 test -z "$ac_cxx_werror_flag" ||
17138 test ! -s conftest.err
17139 } && test -s conftest.$ac_objext; then
17140 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17142 echo "$as_me: failed program was:" >&5
17143 sed 's/^/| /' conftest.$ac_ext >&5
17145 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17153 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17154 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17155 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17161 ac_cpp='$CPP $CPPFLAGS'
17162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17174 ac_cpp='$CXXCPP $CPPFLAGS'
17175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17179 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17180 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17181 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17182 echo $ECHO_N "(cached) $ECHO_C" >&6
17184 cat >conftest.$ac_ext <<_ACEOF
17187 cat confdefs.h >>conftest.$ac_ext
17188 cat >>conftest.$ac_ext <<_ACEOF
17189 /* end confdefs.h. */
17195 #ifndef __SUNPRO_CC
17203 rm -f conftest.$ac_objext
17204 if { (ac_try="$ac_compile"
17205 case "(($ac_try" in
17206 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17207 *) ac_try_echo
=$ac_try;;
17209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17210 (eval "$ac_compile") 2>conftest.er1
17212 grep -v '^ *+' conftest.er1
>conftest.err
17214 cat conftest.err
>&5
17215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17216 (exit $ac_status); } && {
17217 test -z "$ac_cxx_werror_flag" ||
17218 test ! -s conftest.err
17219 } && test -s conftest.
$ac_objext; then
17220 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17222 echo "$as_me: failed program was:" >&5
17223 sed 's/^/| /' conftest.
$ac_ext >&5
17225 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17233 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17234 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17235 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17241 ac_cpp
='$CPP $CPPFLAGS'
17242 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17243 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17244 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17254 ac_cpp
='$CXXCPP $CPPFLAGS'
17255 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17256 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17257 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17259 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17260 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17261 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17262 echo $ECHO_N "(cached) $ECHO_C" >&6
17264 cat >conftest.
$ac_ext <<_ACEOF
17267 cat confdefs.h
>>conftest.
$ac_ext
17268 cat >>conftest.
$ac_ext <<_ACEOF
17269 /* end confdefs.h. */
17283 rm -f conftest.
$ac_objext
17284 if { (ac_try
="$ac_compile"
17285 case "(($ac_try" in
17286 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17287 *) ac_try_echo=$ac_try;;
17289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17290 (eval "$ac_compile") 2>conftest.er1
17292 grep -v '^ *+' conftest.er1 >conftest.err
17294 cat conftest.err >&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); } && {
17297 test -z "$ac_cxx_werror_flag" ||
17298 test ! -s conftest.err
17299 } && test -s conftest.$ac_objext; then
17300 bakefile_cv_cxx_compiler___HP_aCC=yes
17302 echo "$as_me: failed program was:" >&5
17303 sed 's/^/| /' conftest.$ac_ext >&5
17305 bakefile_cv_cxx_compiler___HP_aCC=no
17309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17313 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17314 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17315 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17321 ac_cpp='$CPP $CPPFLAGS'
17322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17334 ac_cpp='$CXXCPP $CPPFLAGS'
17335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17339 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17340 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17341 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17342 echo $ECHO_N "(cached) $ECHO_C" >&6
17344 cat >conftest.$ac_ext <<_ACEOF
17347 cat confdefs.h >>conftest.$ac_ext
17348 cat >>conftest.$ac_ext <<_ACEOF
17349 /* end confdefs.h. */
17363 rm -f conftest.$ac_objext
17364 if { (ac_try="$ac_compile"
17365 case "(($ac_try" in
17366 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17367 *) ac_try_echo
=$ac_try;;
17369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17370 (eval "$ac_compile") 2>conftest.er1
17372 grep -v '^ *+' conftest.er1
>conftest.err
17374 cat conftest.err
>&5
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); } && {
17377 test -z "$ac_cxx_werror_flag" ||
17378 test ! -s conftest.err
17379 } && test -s conftest.
$ac_objext; then
17380 bakefile_cv_cxx_compiler___DECCXX
=yes
17382 echo "$as_me: failed program was:" >&5
17383 sed 's/^/| /' conftest.
$ac_ext >&5
17385 bakefile_cv_cxx_compiler___DECCXX
=no
17389 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17393 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17394 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17395 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17401 ac_cpp
='$CPP $CPPFLAGS'
17402 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17403 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17404 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17414 ac_cpp
='$CXXCPP $CPPFLAGS'
17415 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17416 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17417 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17419 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17420 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17421 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17422 echo $ECHO_N "(cached) $ECHO_C" >&6
17424 cat >conftest.
$ac_ext <<_ACEOF
17427 cat confdefs.h
>>conftest.
$ac_ext
17428 cat >>conftest.
$ac_ext <<_ACEOF
17429 /* end confdefs.h. */
17435 #ifndef __SUNPRO_CC
17443 rm -f conftest.
$ac_objext
17444 if { (ac_try
="$ac_compile"
17445 case "(($ac_try" in
17446 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17447 *) ac_try_echo=$ac_try;;
17449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17450 (eval "$ac_compile") 2>conftest.er1
17452 grep -v '^ *+' conftest.er1 >conftest.err
17454 cat conftest.err >&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); } && {
17457 test -z "$ac_cxx_werror_flag" ||
17458 test ! -s conftest.err
17459 } && test -s conftest.$ac_objext; then
17460 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17462 echo "$as_me: failed program was:" >&5
17463 sed 's/^/| /' conftest.$ac_ext >&5
17465 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17473 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17474 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17475 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17481 ac_cpp='$CPP $CPPFLAGS'
17482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17494 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17495 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17496 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17497 { (exit 1); exit 1; }; }
17500 if test "x$SUNCXX" != xyes; then
17501 if test -n "$ac_tool_prefix"; then
17502 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17503 set dummy ${ac_tool_prefix}ar; ac_word=$2
17504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17506 if test "${ac_cv_prog_AR+set}" = set; then
17507 echo $ECHO_N "(cached) $ECHO_C" >&6
17509 if test -n "$AR"; then
17510 ac_cv_prog_AR="$AR" # Let the user override the test.
17512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17513 for as_dir in $PATH
17516 test -z "$as_dir" && as_dir=.
17517 for ac_exec_ext in '' $ac_executable_extensions; do
17518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17519 ac_cv_prog_AR="${ac_tool_prefix}ar"
17520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17530 if test -n "$AR"; then
17531 { echo "$as_me:$LINENO: result: $AR" >&5
17532 echo "${ECHO_T}$AR" >&6; }
17534 { echo "$as_me:$LINENO: result: no" >&5
17535 echo "${ECHO_T}no" >&6; }
17540 if test -z "$ac_cv_prog_AR"; then
17542 # Extract the first word of "ar", so it can be a program name with args.
17543 set dummy ar; ac_word=$2
17544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17546 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17547 echo $ECHO_N "(cached) $ECHO_C" >&6
17549 if test -n "$ac_ct_AR"; then
17550 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17553 for as_dir in $PATH
17556 test -z "$as_dir" && as_dir=.
17557 for ac_exec_ext in '' $ac_executable_extensions; do
17558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17559 ac_cv_prog_ac_ct_AR="ar"
17560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17569 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17570 if test -n "$ac_ct_AR"; then
17571 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17572 echo "${ECHO_T}$ac_ct_AR" >&6; }
17574 { echo "$as_me:$LINENO: result: no" >&5
17575 echo "${ECHO_T}no" >&6; }
17578 if test "x$ac_ct_AR" = x; then
17581 case $cross_compiling:$ac_tool_warned in
17583 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17584 whose name does not start with the host triplet. If you think this
17585 configuration is useful to you, please write to autoconf@gnu.org." >&5
17586 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17587 whose name does not start with the host triplet. If you think this
17588 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17589 ac_tool_warned=yes ;;
17594 AR="$ac_cv_prog_AR"
17597 if test "x$AR" = "x" ; then
17598 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17599 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17600 { (exit 1); exit 1; }; }
17604 retest_macosx_linking=no
17606 #if test "$wxUSE_MAC" = 1; then
17607 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17608 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17609 # Implicitly turn on the new --with-macosx-sdk using the default
17610 # SDK which provides the behavior this option has always had.
17611 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17612 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17613 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17614 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17615 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17616 wxUSE_MACOSX_SDK=yes
17619 # Complain to user if he specified an argument to --enable-universal_binary
17620 # and also 1) specified --with-macosx-sdk using the default (yes) or
17621 # 2) specified --with-macosx-sdk using a path or 3) specified
17622 # --without-macosx-sdk (no).
17623 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17624 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17625 See \`config.log
' for more details." >&5
17626 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17627 See \`config.log' for more details.
" >&2;}
17628 { (exit 1); exit 1; }; }
17630 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17631 # special-case the empty string because the below test simply
17632 # converts "no
" to the empty string anyway.
17633 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17634 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
17635 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
17638 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
17639 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17640 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17641 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17642 retest_macosx_linking=yes
17644 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
17645 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
17650 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
17652 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
17653 # TODO: Search for most recent SDK and use it.
17654 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
17658 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
17659 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
17660 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
17661 if ! test -d "$wxUSE_MACOSX_SDK"; then
17662 { { echo "$as_me:$LINENO: error
: not found
17663 See \
`config.log' for more details." >&5
17664 echo "$as_me: error: not found
17665 See \`config.log
' for more details." >&2;}
17666 { (exit 1); exit 1; }; }
17668 { echo "$as_me:$LINENO: result: exists" >&5
17669 echo "${ECHO_T}exists" >&6; }
17671 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17672 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17673 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17674 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17675 retest_macosx_linking=yes
17678 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17679 wxUSE_MACOSX_VERSION_MIN=
17680 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17681 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17682 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17683 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17685 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/'`
17687 # If that failed, try again with the new key
17688 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17690 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/'`
17694 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17695 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17696 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17697 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17699 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17700 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17701 wxUSE_MACOSX_VERSION_MIN=
17704 wxUSE_MACOSX_VERSION_MIN=
17708 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17709 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17710 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17711 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17712 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17713 retest_macosx_linking=yes
17716 if test "x$retest_macosx_linking" = "xyes"; then
17718 ac_cpp='$CPP $CPPFLAGS'
17719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17720 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17723 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17724 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17725 cat >conftest.$ac_ext <<_ACEOF
17728 cat confdefs.h >>conftest.$ac_ext
17729 cat >>conftest.$ac_ext <<_ACEOF
17730 /* end confdefs.h. */
17740 rm -f conftest.$ac_objext conftest$ac_exeext
17741 if { (ac_try="$ac_link"
17742 case "(($ac_try" in
17743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17744 *) ac_try_echo=$ac_try;;
17746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17747 (eval "$ac_link") 2>conftest.er1
17749 grep -v '^
*+' conftest.er1 >conftest.err
17751 cat conftest.err >&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); } && {
17754 test -z "$ac_c_werror_flag" ||
17755 test ! -s conftest.err
17756 } && test -s conftest$ac_exeext &&
17757 $as_test_x conftest$ac_exeext; then
17758 { echo "$as_me:$LINENO: result: yes" >&5
17759 echo "${ECHO_T}yes" >&6; }
17761 echo "$as_me: failed program was:" >&5
17762 sed 's
/^
/| /' conftest.$ac_ext >&5
17764 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17765 See \`config.log' for more details.
" >&5
17766 echo "$as_me: error
: no. Try a different SDK
17767 See \
`config.log' for more details." >&2;}
17768 { (exit 1); exit 1; }; }; exit 1
17771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17772 conftest$ac_exeext conftest.$ac_ext
17774 ac_cpp='$CPP $CPPFLAGS'
17775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17781 ac_cpp='$CXXCPP $CPPFLAGS'
17782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17786 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17787 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17788 cat >conftest.$ac_ext <<_ACEOF
17791 cat confdefs.h >>conftest.$ac_ext
17792 cat >>conftest.$ac_ext <<_ACEOF
17793 /* end confdefs.h. */
17803 rm -f conftest.$ac_objext conftest$ac_exeext
17804 if { (ac_try="$ac_link"
17805 case "(($ac_try" in
17806 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17807 *) ac_try_echo
=$ac_try;;
17809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17810 (eval "$ac_link") 2>conftest.er1
17812 grep -v '^ *+' conftest.er1
>conftest.err
17814 cat conftest.err
>&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); } && {
17817 test -z "$ac_cxx_werror_flag" ||
17818 test ! -s conftest.err
17819 } && test -s conftest
$ac_exeext &&
17820 $as_test_x conftest
$ac_exeext; then
17821 { echo "$as_me:$LINENO: result: yes" >&5
17822 echo "${ECHO_T}yes" >&6; }
17824 echo "$as_me: failed program was:" >&5
17825 sed 's/^/| /' conftest.
$ac_ext >&5
17827 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17828 See \`config.log' for more details." >&5
17829 echo "$as_me: error: no. Try a different SDK
17830 See \`config.log' for more details." >&2;}
17831 { (exit 1); exit 1; }; }; exit 1
17834 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17835 conftest
$ac_exeext conftest.
$ac_ext
17837 ac_cpp
='$CPP $CPPFLAGS'
17838 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17839 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17840 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17848 INSTALL_PROGRAM
="cp -fp"
17849 INSTALL_DATA
="cp -fp"
17856 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17857 CXXFLAGS
="-qunique $CXXFLAGS"
17861 powerpc
-*-darwin* )
17862 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17863 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17864 cat >conftest.
$ac_ext <<_ACEOF
17867 cat confdefs.h
>>conftest.
$ac_ext
17868 cat >>conftest.
$ac_ext <<_ACEOF
17869 /* end confdefs.h. */
17874 #ifndef __POWERPC__
17875 choke me for lack of PowerPC
17882 rm -f conftest.
$ac_objext
17883 if { (ac_try
="$ac_compile"
17884 case "(($ac_try" in
17885 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17886 *) ac_try_echo=$ac_try;;
17888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17889 (eval "$ac_compile") 2>conftest.er1
17891 grep -v '^ *+' conftest.er1 >conftest.err
17893 cat conftest.err >&5
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); } && {
17896 test -z "$ac_c_werror_flag" ||
17897 test ! -s conftest.err
17898 } && test -s conftest.$ac_objext; then
17899 { echo "$as_me:$LINENO: result: yes" >&5
17900 echo "${ECHO_T}yes" >&6; }
17902 echo "$as_me: failed program was:" >&5
17903 sed 's/^/| /' conftest.$ac_ext >&5
17905 { echo "$as_me:$LINENO: result: no" >&5
17906 echo "${ECHO_T}no" >&6; }
17907 cat >>confdefs.h <<\_ACEOF
17908 #define __POWERPC__ 1
17914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17920 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17921 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17922 cat >conftest.$ac_ext <<_ACEOF
17925 cat confdefs.h >>conftest.$ac_ext
17926 cat >>conftest.$ac_ext <<_ACEOF
17927 /* end confdefs.h. */
17928 #include <CoreFoundation/CFBase.h>
17938 rm -f conftest.$ac_objext
17939 if { (ac_try="$ac_compile"
17940 case "(($ac_try" in
17941 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17942 *) ac_try_echo
=$ac_try;;
17944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17945 (eval "$ac_compile") 2>conftest.er1
17947 grep -v '^ *+' conftest.er1
>conftest.err
17949 cat conftest.err
>&5
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); } && {
17952 test -z "$ac_c_werror_flag" ||
17953 test ! -s conftest.err
17954 } && test -s conftest.
$ac_objext; then
17955 { echo "$as_me:$LINENO: result: yes" >&5
17956 echo "${ECHO_T}yes" >&6; }
17958 echo "$as_me: failed program was:" >&5
17959 sed 's/^/| /' conftest.
$ac_ext >&5
17961 { echo "$as_me:$LINENO: result: no" >&5
17962 echo "${ECHO_T}no" >&6; }
17963 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17964 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17965 cat >conftest.
$ac_ext <<_ACEOF
17968 cat confdefs.h
>>conftest.
$ac_ext
17969 cat >>conftest.
$ac_ext <<_ACEOF
17970 /* end confdefs.h. */
17971 #define __CF_USE_FRAMEWORK_INCLUDES__
17972 #include <CoreFoundation/CFBase.h>
17982 rm -f conftest.
$ac_objext
17983 if { (ac_try
="$ac_compile"
17984 case "(($ac_try" in
17985 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17986 *) ac_try_echo=$ac_try;;
17988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17989 (eval "$ac_compile") 2>conftest.er1
17991 grep -v '^ *+' conftest.er1 >conftest.err
17993 cat conftest.err >&5
17994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17995 (exit $ac_status); } && {
17996 test -z "$ac_c_werror_flag" ||
17997 test ! -s conftest.err
17998 } && test -s conftest.$ac_objext; then
17999 { echo "$as_me:$LINENO: result: yes" >&5
18000 echo "${ECHO_T}yes" >&6; }
18001 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18003 echo "$as_me: failed program was:" >&5
18004 sed 's/^/| /' conftest.$ac_ext >&5
18006 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18007 See \`config.log
' for more details." >&5
18008 echo "$as_me: error: no. CoreFoundation not available.
18009 See \`config.log' for more details.
" >&2;}
18010 { (exit 1); exit 1; }; }
18014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18024 doesnt_want_win32=0
18027 if test "$wxUSE_MSW" = 1 ; then
18030 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18031 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18032 if test "${wx_cv_nocygwin+set}" = set; then
18033 echo $ECHO_N "(cached
) $ECHO_C" >&6
18036 cat >conftest.$ac_ext <<_ACEOF
18039 cat confdefs.h >>conftest.$ac_ext
18040 cat >>conftest.$ac_ext <<_ACEOF
18041 /* end confdefs.h. */
18055 rm -f conftest.$ac_objext
18056 if { (ac_try="$ac_compile"
18057 case "(($ac_try" in
18058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18059 *) ac_try_echo=$ac_try;;
18061 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18062 (eval "$ac_compile") 2>conftest.er1
18064 grep -v '^ *+' conftest.er1 >conftest.err
18066 cat conftest.err >&5
18067 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18068 (exit $ac_status); } && {
18069 test -z "$ac_c_werror_flag" ||
18070 test ! -s conftest.err
18071 } && test -s conftest.$ac_objext; then
18074 echo "$as_me: failed program was
:" >&5
18075 sed 's/^/| /' conftest.$ac_ext >&5
18081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18085 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18086 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18088 if test "$wx_cv_nocygwin" = "yes"; then
18091 doesnt_want_win32=1
18094 if test "$wants_win32" = 1 ; then
18095 BAKEFILE_FORCE_PLATFORM=win32
18103 if test "$wxUSE_WINE" = "yes"; then
18105 LDFLAGS_GUI="-mwindows"
18108 if test "$wants_win32" = 1 ; then
18111 cat >>confdefs.h <<\_ACEOF
18112 #define __WIN32__ 1
18115 cat >>confdefs.h <<\_ACEOF
18116 #define __WIN95__ 1
18119 cat >>confdefs.h <<\_ACEOF
18120 #define __WINDOWS__ 1
18123 cat >>confdefs.h <<\_ACEOF
18124 #define __GNUWIN32__ 1
18127 cat >>confdefs.h <<\_ACEOF
18132 if test "$doesnt_want_win32" = 1 ; then
18137 if test "$USE_UNIX" = 1 ; then
18139 cat >>confdefs.h <<\_ACEOF
18146 *-pc-os2_emx | *-pc-os2-emx )
18147 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18148 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18149 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18150 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18151 echo $ECHO_N "(cached
) $ECHO_C" >&6
18153 ac_check_lib_save_LIBS=$LIBS
18154 LIBS="-lcExt $LIBS"
18155 cat >conftest.$ac_ext <<_ACEOF
18158 cat confdefs.h >>conftest.$ac_ext
18159 cat >>conftest.$ac_ext <<_ACEOF
18160 /* end confdefs.h. */
18162 /* Override any GCC internal prototype to avoid an error.
18163 Use char because int might match the return type of a GCC
18164 builtin and then its argument prototype would still apply. */
18177 rm -f conftest.$ac_objext conftest$ac_exeext
18178 if { (ac_try="$ac_link"
18179 case "(($ac_try" in
18180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18181 *) ac_try_echo=$ac_try;;
18183 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18184 (eval "$ac_link") 2>conftest.er1
18186 grep -v '^ *+' conftest.er1 >conftest.err
18188 cat conftest.err >&5
18189 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18190 (exit $ac_status); } && {
18191 test -z "$ac_c_werror_flag" ||
18192 test ! -s conftest.err
18193 } && test -s conftest$ac_exeext &&
18194 $as_test_x conftest$ac_exeext; then
18195 ac_cv_lib_cExt_drand48=yes
18197 echo "$as_me: failed program was
:" >&5
18198 sed 's/^/| /' conftest.$ac_ext >&5
18200 ac_cv_lib_cExt_drand48=no
18203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18204 conftest$ac_exeext conftest.$ac_ext
18205 LIBS=$ac_check_lib_save_LIBS
18207 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18208 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18209 if test $ac_cv_lib_cExt_drand48 = yes; then
18210 LIBS="$LIBS -lcExt"
18214 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18216 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18217 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18218 if test "${wx_cv_gccversion+set}" = set; then
18219 echo $ECHO_N "(cached
) $ECHO_C" >&6
18222 if test "$cross_compiling" = yes; then
18223 wx_cv_gccversion="EMX2
"
18226 cat >conftest.$ac_ext <<_ACEOF
18229 cat confdefs.h >>conftest.$ac_ext
18230 cat >>conftest.$ac_ext <<_ACEOF
18231 /* end confdefs.h. */
18237 FILE *f=fopen("conftestval
", "w
");
18242 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18244 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18254 rm -f conftest$ac_exeext
18255 if { (ac_try="$ac_link"
18256 case "(($ac_try" in
18257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18258 *) ac_try_echo=$ac_try;;
18260 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18261 (eval "$ac_link") 2>&5
18263 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18264 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18265 { (case "(($ac_try" in
18266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18267 *) ac_try_echo=$ac_try;;
18269 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18270 (eval "$ac_try") 2>&5
18272 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18273 (exit $ac_status); }; }; then
18274 wx_cv_gccversion=`cat conftestval`
18276 echo "$as_me: program exited with status
$ac_status" >&5
18277 echo "$as_me: failed program was
:" >&5
18278 sed 's/^/| /' conftest.$ac_ext >&5
18280 ( exit $ac_status )
18281 wx_cv_gccversion="EMX2
"
18283 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18289 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18290 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18291 if test "$wx_cv_gccversion" = "EMX2
"; then
18292 LIBS="$LIBS -lstdcpp"
18293 LDFLAGS="$LDFLAGS -Zsysv-signals"
18295 if test "$wx_cv_gccversion" = "EMX3
"; then
18296 LIBS="$LIBS -lstdcxx -lgcc"
18297 LDFLAGS="$LDFLAGS -Zsysv-signals"
18299 LIBS="$LIBS -lstdc++"
18302 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18303 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18304 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18311 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18312 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18313 if test "${ac_cv_string_strcasecmp+set}" = set; then
18314 echo $ECHO_N "(cached
) $ECHO_C" >&6
18317 cat >conftest.$ac_ext <<_ACEOF
18320 cat confdefs.h >>conftest.$ac_ext
18321 cat >>conftest.$ac_ext <<_ACEOF
18322 /* end confdefs.h. */
18324 #include <string.h>
18330 strcasecmp("foo
", "bar
");
18336 rm -f conftest.$ac_objext conftest$ac_exeext
18337 if { (ac_try="$ac_link"
18338 case "(($ac_try" in
18339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18340 *) ac_try_echo=$ac_try;;
18342 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18343 (eval "$ac_link") 2>conftest.er1
18345 grep -v '^ *+' conftest.er1 >conftest.err
18347 cat conftest.err >&5
18348 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18349 (exit $ac_status); } && {
18350 test -z "$ac_c_werror_flag" ||
18351 test ! -s conftest.err
18352 } && test -s conftest$ac_exeext &&
18353 $as_test_x conftest$ac_exeext; then
18354 ac_cv_string_strcasecmp=yes
18356 echo "$as_me: failed program was
:" >&5
18357 sed 's/^/| /' conftest.$ac_ext >&5
18359 ac_cv_string_strcasecmp=no
18363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18364 conftest$ac_exeext conftest.$ac_ext
18367 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18368 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18370 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18371 cat >>confdefs.h <<\_ACEOF
18372 #define HAVE_STRCASECMP_IN_STRING_H 1
18376 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18377 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18378 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18379 echo $ECHO_N "(cached
) $ECHO_C" >&6
18382 cat >conftest.$ac_ext <<_ACEOF
18385 cat confdefs.h >>conftest.$ac_ext
18386 cat >>conftest.$ac_ext <<_ACEOF
18387 /* end confdefs.h. */
18389 #include <strings.h>
18395 strcasecmp("foo
", "bar
");
18401 rm -f conftest.$ac_objext conftest$ac_exeext
18402 if { (ac_try="$ac_link"
18403 case "(($ac_try" in
18404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18405 *) ac_try_echo=$ac_try;;
18407 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18408 (eval "$ac_link") 2>conftest.er1
18410 grep -v '^ *+' conftest.er1 >conftest.err
18412 cat conftest.err >&5
18413 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18414 (exit $ac_status); } && {
18415 test -z "$ac_c_werror_flag" ||
18416 test ! -s conftest.err
18417 } && test -s conftest$ac_exeext &&
18418 $as_test_x conftest$ac_exeext; then
18419 ac_cv_strings_strcasecmp=yes
18421 echo "$as_me: failed program was
:" >&5
18422 sed 's/^/| /' conftest.$ac_ext >&5
18424 ac_cv_strings_strcasecmp=no
18428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18429 conftest$ac_exeext conftest.$ac_ext
18432 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18433 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18435 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18436 cat >>confdefs.h <<\_ACEOF
18437 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18441 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18442 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18443 { (exit 1); exit 1; }; }
18451 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18452 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18453 if test "${ac_cv_header_stdc+set}" = set; then
18454 echo $ECHO_N "(cached
) $ECHO_C" >&6
18456 cat >conftest.$ac_ext <<_ACEOF
18459 cat confdefs.h >>conftest.$ac_ext
18460 cat >>conftest.$ac_ext <<_ACEOF
18461 /* end confdefs.h. */
18462 #include <stdlib.h>
18463 #include <stdarg.h>
18464 #include <string.h>
18475 rm -f conftest.$ac_objext
18476 if { (ac_try="$ac_compile"
18477 case "(($ac_try" in
18478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18479 *) ac_try_echo=$ac_try;;
18481 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18482 (eval "$ac_compile") 2>conftest.er1
18484 grep -v '^ *+' conftest.er1 >conftest.err
18486 cat conftest.err >&5
18487 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18488 (exit $ac_status); } && {
18489 test -z "$ac_c_werror_flag" ||
18490 test ! -s conftest.err
18491 } && test -s conftest.$ac_objext; then
18492 ac_cv_header_stdc=yes
18494 echo "$as_me: failed program was
:" >&5
18495 sed 's/^/| /' conftest.$ac_ext >&5
18497 ac_cv_header_stdc=no
18500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18502 if test $ac_cv_header_stdc = yes; then
18503 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18504 cat >conftest.$ac_ext <<_ACEOF
18507 cat confdefs.h >>conftest.$ac_ext
18508 cat >>conftest.$ac_ext <<_ACEOF
18509 /* end confdefs.h. */
18510 #include <string.h>
18513 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18514 $EGREP "memchr
" >/dev/null 2>&1; then
18517 ac_cv_header_stdc=no
18523 if test $ac_cv_header_stdc = yes; then
18524 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18525 cat >conftest.$ac_ext <<_ACEOF
18528 cat confdefs.h >>conftest.$ac_ext
18529 cat >>conftest.$ac_ext <<_ACEOF
18530 /* end confdefs.h. */
18531 #include <stdlib.h>
18534 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18535 $EGREP "free
" >/dev/null 2>&1; then
18538 ac_cv_header_stdc=no
18544 if test $ac_cv_header_stdc = yes; then
18545 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18546 if test "$cross_compiling" = yes; then
18549 cat >conftest.$ac_ext <<_ACEOF
18552 cat confdefs.h >>conftest.$ac_ext
18553 cat >>conftest.$ac_ext <<_ACEOF
18554 /* end confdefs.h. */
18556 #include <stdlib.h>
18557 #if ((' ' & 0x0FF) == 0x020)
18558 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18559 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18561 # define ISLOWER(c) \
18562 (('a' <= (c) && (c) <= 'i') \
18563 || ('j' <= (c) && (c) <= 'r') \
18564 || ('s' <= (c) && (c) <= 'z'))
18565 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18568 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18573 for (i = 0; i < 256; i++)
18574 if (XOR (islower (i), ISLOWER (i))
18575 || toupper (i) != TOUPPER (i))
18580 rm -f conftest$ac_exeext
18581 if { (ac_try="$ac_link"
18582 case "(($ac_try" in
18583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18584 *) ac_try_echo=$ac_try;;
18586 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18587 (eval "$ac_link") 2>&5
18589 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18590 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18591 { (case "(($ac_try" in
18592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18593 *) ac_try_echo=$ac_try;;
18595 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18596 (eval "$ac_try") 2>&5
18598 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18599 (exit $ac_status); }; }; then
18602 echo "$as_me: program exited with status
$ac_status" >&5
18603 echo "$as_me: failed program was
:" >&5
18604 sed 's/^/| /' conftest.$ac_ext >&5
18606 ( exit $ac_status )
18607 ac_cv_header_stdc=no
18609 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18615 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
18616 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18617 if test $ac_cv_header_stdc = yes; then
18619 cat >>confdefs.h <<\_ACEOF
18620 #define STDC_HEADERS 1
18625 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18635 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18636 inttypes.h stdint.h unistd.h
18638 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18639 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18640 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18641 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18642 echo $ECHO_N "(cached
) $ECHO_C" >&6
18644 cat >conftest.$ac_ext <<_ACEOF
18647 cat confdefs.h >>conftest.$ac_ext
18648 cat >>conftest.$ac_ext <<_ACEOF
18649 /* end confdefs.h. */
18650 $ac_includes_default
18652 #include <$ac_header>
18654 rm -f conftest.$ac_objext
18655 if { (ac_try="$ac_compile"
18656 case "(($ac_try" in
18657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18658 *) ac_try_echo=$ac_try;;
18660 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18661 (eval "$ac_compile") 2>conftest.er1
18663 grep -v '^ *+' conftest.er1 >conftest.err
18665 cat conftest.err >&5
18666 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18667 (exit $ac_status); } && {
18668 test -z "$ac_c_werror_flag" ||
18669 test ! -s conftest.err
18670 } && test -s conftest.$ac_objext; then
18671 eval "$as_ac_Header=yes"
18673 echo "$as_me: failed program was
:" >&5
18674 sed 's/^/| /' conftest.$ac_ext >&5
18676 eval "$as_ac_Header=no
"
18679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18681 ac_res=`eval echo '${'$as_ac_Header'}'`
18682 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18683 echo "${ECHO_T}$ac_res" >&6; }
18684 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18685 cat >>confdefs.h <<_ACEOF
18686 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18696 for ac_header in langinfo.h wchar.h
18698 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18699 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18700 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18701 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18702 echo $ECHO_N "(cached
) $ECHO_C" >&6
18704 cat >conftest.$ac_ext <<_ACEOF
18707 cat confdefs.h >>conftest.$ac_ext
18708 cat >>conftest.$ac_ext <<_ACEOF
18709 /* end confdefs.h. */
18710 $ac_includes_default
18712 #include <$ac_header>
18714 rm -f conftest.$ac_objext
18715 if { (ac_try="$ac_compile"
18716 case "(($ac_try" in
18717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18718 *) ac_try_echo=$ac_try;;
18720 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18721 (eval "$ac_compile") 2>conftest.er1
18723 grep -v '^ *+' conftest.er1 >conftest.err
18725 cat conftest.err >&5
18726 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18727 (exit $ac_status); } && {
18728 test -z "$ac_c_werror_flag" ||
18729 test ! -s conftest.err
18730 } && test -s conftest.$ac_objext; then
18731 eval "$as_ac_Header=yes"
18733 echo "$as_me: failed program was
:" >&5
18734 sed 's/^/| /' conftest.$ac_ext >&5
18736 eval "$as_ac_Header=no
"
18739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18741 ac_res=`eval echo '${'$as_ac_Header'}'`
18742 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18743 echo "${ECHO_T}$ac_res" >&6; }
18744 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18745 cat >>confdefs.h <<_ACEOF
18746 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18754 if test "$ac_cv_header_wchar_h" != "yes"; then
18756 for ac_header in wcstr.h
18758 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18759 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18760 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18761 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18762 echo $ECHO_N "(cached
) $ECHO_C" >&6
18764 cat >conftest.$ac_ext <<_ACEOF
18767 cat confdefs.h >>conftest.$ac_ext
18768 cat >>conftest.$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18770 $ac_includes_default
18772 #include <$ac_header>
18774 rm -f conftest.$ac_objext
18775 if { (ac_try="$ac_compile"
18776 case "(($ac_try" in
18777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18778 *) ac_try_echo=$ac_try;;
18780 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18781 (eval "$ac_compile") 2>conftest.er1
18783 grep -v '^ *+' conftest.er1 >conftest.err
18785 cat conftest.err >&5
18786 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18787 (exit $ac_status); } && {
18788 test -z "$ac_c_werror_flag" ||
18789 test ! -s conftest.err
18790 } && test -s conftest.$ac_objext; then
18791 eval "$as_ac_Header=yes"
18793 echo "$as_me: failed program was
:" >&5
18794 sed 's/^/| /' conftest.$ac_ext >&5
18796 eval "$as_ac_Header=no
"
18799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18801 ac_res=`eval echo '${'$as_ac_Header'}'`
18802 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18803 echo "${ECHO_T}$ac_res" >&6; }
18804 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18805 cat >>confdefs.h <<_ACEOF
18806 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18816 *-pc-os2_emx | *-pc-os2-emx )
18817 if test $ac_cv_header_langinfo_h = "yes" \
18818 -a \( "$wx_cv_gccversion" = "EMX2
" \
18819 -o "$wx_cv_gccversion" = "EMX3
" \
18820 -o "$wx_cv_gccversion" = "Innotek5
" \); then
18821 LIBS="$LIBS -lintl"
18826 if test "$USE_UNIX" = 1 ; then
18828 for ac_header in sys/select.h
18830 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18831 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18832 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18833 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18834 echo $ECHO_N "(cached
) $ECHO_C" >&6
18836 cat >conftest.$ac_ext <<_ACEOF
18839 cat confdefs.h >>conftest.$ac_ext
18840 cat >>conftest.$ac_ext <<_ACEOF
18841 /* end confdefs.h. */
18842 $ac_includes_default
18844 #include <$ac_header>
18846 rm -f conftest.$ac_objext
18847 if { (ac_try="$ac_compile"
18848 case "(($ac_try" in
18849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18850 *) ac_try_echo=$ac_try;;
18852 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18853 (eval "$ac_compile") 2>conftest.er1
18855 grep -v '^ *+' conftest.er1 >conftest.err
18857 cat conftest.err >&5
18858 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18859 (exit $ac_status); } && {
18860 test -z "$ac_c_werror_flag" ||
18861 test ! -s conftest.err
18862 } && test -s conftest.$ac_objext; then
18863 eval "$as_ac_Header=yes"
18865 echo "$as_me: failed program was
:" >&5
18866 sed 's/^/| /' conftest.$ac_ext >&5
18868 eval "$as_ac_Header=no
"
18871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18873 ac_res=`eval echo '${'$as_ac_Header'}'`
18874 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18875 echo "${ECHO_T}$ac_res" >&6; }
18876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18877 cat >>confdefs.h <<_ACEOF
18878 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18888 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
18889 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
18890 if test "${ac_cv_c_const+set}" = set; then
18891 echo $ECHO_N "(cached
) $ECHO_C" >&6
18893 cat >conftest.$ac_ext <<_ACEOF
18896 cat confdefs.h >>conftest.$ac_ext
18897 cat >>conftest.$ac_ext <<_ACEOF
18898 /* end confdefs.h. */
18903 /* FIXME: Include the comments suggested by Paul. */
18904 #ifndef __cplusplus
18905 /* Ultrix mips cc rejects this. */
18906 typedef int charset[2];
18908 /* SunOS 4.1.1 cc rejects this. */
18909 char const *const *pcpcc;
18911 /* NEC SVR4.0.2 mips cc rejects this. */
18912 struct point {int x, y;};
18913 static struct point const zero = {0,0};
18914 /* AIX XL C 1.02.0.0 rejects this.
18915 It does not let you subtract one const X* pointer from another in
18916 an arm of an if-expression whose if-part is not a constant
18918 const char *g = "string
";
18919 pcpcc = &g + (g ? g-g : 0);
18920 /* HPUX 7.0 cc rejects these. */
18922 ppc = (char**) pcpcc;
18923 pcpcc = (char const *const *) ppc;
18924 { /* SCO 3.2v4 cc rejects this. */
18926 char const *s = 0 ? (char *) 0 : (char const *) 0;
18931 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18932 int x[] = {25, 17};
18933 const int *foo = &x[0];
18936 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18937 typedef const int *iptr;
18941 { /* AIX XL C 1.02.0.0 rejects this saying
18942 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18943 struct s { int j; const int *ap[3]; };
18944 struct s *b; b->j = 5;
18946 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18947 const int foo = 10;
18948 if (!foo) return 0;
18950 return !cs[0] && !zero.x;
18957 rm -f conftest.$ac_objext
18958 if { (ac_try="$ac_compile"
18959 case "(($ac_try" in
18960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18961 *) ac_try_echo=$ac_try;;
18963 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18964 (eval "$ac_compile") 2>conftest.er1
18966 grep -v '^ *+' conftest.er1 >conftest.err
18968 cat conftest.err >&5
18969 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18970 (exit $ac_status); } && {
18971 test -z "$ac_c_werror_flag" ||
18972 test ! -s conftest.err
18973 } && test -s conftest.$ac_objext; then
18976 echo "$as_me: failed program was
:" >&5
18977 sed 's/^/| /' conftest.$ac_ext >&5
18982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18984 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
18985 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18986 if test $ac_cv_c_const = no; then
18988 cat >>confdefs.h <<\_ACEOF
18994 { echo "$as_me:$LINENO: checking
for inline
" >&5
18995 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
18996 if test "${ac_cv_c_inline+set}" = set; then
18997 echo $ECHO_N "(cached
) $ECHO_C" >&6
19000 for ac_kw in inline __inline__ __inline; do
19001 cat >conftest.$ac_ext <<_ACEOF
19004 cat confdefs.h >>conftest.$ac_ext
19005 cat >>conftest.$ac_ext <<_ACEOF
19006 /* end confdefs.h. */
19007 #ifndef __cplusplus
19009 static $ac_kw foo_t static_foo () {return 0; }
19010 $ac_kw foo_t foo () {return 0; }
19014 rm -f conftest.$ac_objext
19015 if { (ac_try="$ac_compile"
19016 case "(($ac_try" in
19017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19018 *) ac_try_echo=$ac_try;;
19020 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19021 (eval "$ac_compile") 2>conftest.er1
19023 grep -v '^ *+' conftest.er1 >conftest.err
19025 cat conftest.err >&5
19026 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19027 (exit $ac_status); } && {
19028 test -z "$ac_c_werror_flag" ||
19029 test ! -s conftest.err
19030 } && test -s conftest.$ac_objext; then
19031 ac_cv_c_inline=$ac_kw
19033 echo "$as_me: failed program was
:" >&5
19034 sed 's/^/| /' conftest.$ac_ext >&5
19039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19040 test "$ac_cv_c_inline" != no && break
19044 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19045 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19048 case $ac_cv_c_inline in
19051 case $ac_cv_c_inline in
19053 *) ac_val=$ac_cv_c_inline;;
19055 cat >>confdefs.h <<_ACEOF
19056 #ifndef __cplusplus
19057 #define inline $ac_val
19064 { echo "$as_me:$LINENO: checking
for short
" >&5
19065 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19066 if test "${ac_cv_type_short+set}" = set; then
19067 echo $ECHO_N "(cached
) $ECHO_C" >&6
19069 cat >conftest.$ac_ext <<_ACEOF
19072 cat confdefs.h >>conftest.$ac_ext
19073 cat >>conftest.$ac_ext <<_ACEOF
19074 /* end confdefs.h. */
19075 $ac_includes_default
19076 typedef short ac__type_new_;
19080 if ((ac__type_new_ *) 0)
19082 if (sizeof (ac__type_new_))
19088 rm -f conftest.$ac_objext
19089 if { (ac_try="$ac_compile"
19090 case "(($ac_try" in
19091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19092 *) ac_try_echo=$ac_try;;
19094 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19095 (eval "$ac_compile") 2>conftest.er1
19097 grep -v '^ *+' conftest.er1 >conftest.err
19099 cat conftest.err >&5
19100 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19101 (exit $ac_status); } && {
19102 test -z "$ac_c_werror_flag" ||
19103 test ! -s conftest.err
19104 } && test -s conftest.$ac_objext; then
19105 ac_cv_type_short=yes
19107 echo "$as_me: failed program was
:" >&5
19108 sed 's/^/| /' conftest.$ac_ext >&5
19110 ac_cv_type_short=no
19113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19115 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19116 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19118 # The cast to long int works around a bug in the HP C Compiler
19119 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19120 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19121 # This bug is HP SR number 8606223364.
19122 { echo "$as_me:$LINENO: checking size of short
" >&5
19123 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19124 if test "${ac_cv_sizeof_short+set}" = set; then
19125 echo $ECHO_N "(cached
) $ECHO_C" >&6
19127 if test "$cross_compiling" = yes; then
19128 # Depending upon the size, compute the lo and hi bounds.
19129 cat >conftest.$ac_ext <<_ACEOF
19132 cat confdefs.h >>conftest.$ac_ext
19133 cat >>conftest.$ac_ext <<_ACEOF
19134 /* end confdefs.h. */
19135 $ac_includes_default
19136 typedef short ac__type_sizeof_;
19140 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19147 rm -f conftest.$ac_objext
19148 if { (ac_try="$ac_compile"
19149 case "(($ac_try" in
19150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19151 *) ac_try_echo=$ac_try;;
19153 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19154 (eval "$ac_compile") 2>conftest.er1
19156 grep -v '^ *+' conftest.er1 >conftest.err
19158 cat conftest.err >&5
19159 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19160 (exit $ac_status); } && {
19161 test -z "$ac_c_werror_flag" ||
19162 test ! -s conftest.err
19163 } && test -s conftest.$ac_objext; then
19166 cat >conftest.$ac_ext <<_ACEOF
19169 cat confdefs.h >>conftest.$ac_ext
19170 cat >>conftest.$ac_ext <<_ACEOF
19171 /* end confdefs.h. */
19172 $ac_includes_default
19173 typedef short ac__type_sizeof_;
19177 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19184 rm -f conftest.$ac_objext
19185 if { (ac_try="$ac_compile"
19186 case "(($ac_try" in
19187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19188 *) ac_try_echo=$ac_try;;
19190 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19191 (eval "$ac_compile") 2>conftest.er1
19193 grep -v '^ *+' conftest.er1 >conftest.err
19195 cat conftest.err >&5
19196 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19197 (exit $ac_status); } && {
19198 test -z "$ac_c_werror_flag" ||
19199 test ! -s conftest.err
19200 } && test -s conftest.$ac_objext; then
19201 ac_hi=$ac_mid; break
19203 echo "$as_me: failed program was
:" >&5
19204 sed 's/^/| /' conftest.$ac_ext >&5
19206 ac_lo=`expr $ac_mid + 1`
19207 if test $ac_lo -le $ac_mid; then
19211 ac_mid=`expr 2 '*' $ac_mid + 1`
19214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19217 echo "$as_me: failed program was
:" >&5
19218 sed 's/^/| /' conftest.$ac_ext >&5
19220 cat >conftest.$ac_ext <<_ACEOF
19223 cat confdefs.h >>conftest.$ac_ext
19224 cat >>conftest.$ac_ext <<_ACEOF
19225 /* end confdefs.h. */
19226 $ac_includes_default
19227 typedef short ac__type_sizeof_;
19231 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19238 rm -f conftest.$ac_objext
19239 if { (ac_try="$ac_compile"
19240 case "(($ac_try" in
19241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19242 *) ac_try_echo=$ac_try;;
19244 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19245 (eval "$ac_compile") 2>conftest.er1
19247 grep -v '^ *+' conftest.er1 >conftest.err
19249 cat conftest.err >&5
19250 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19251 (exit $ac_status); } && {
19252 test -z "$ac_c_werror_flag" ||
19253 test ! -s conftest.err
19254 } && test -s conftest.$ac_objext; then
19257 cat >conftest.$ac_ext <<_ACEOF
19260 cat confdefs.h >>conftest.$ac_ext
19261 cat >>conftest.$ac_ext <<_ACEOF
19262 /* end confdefs.h. */
19263 $ac_includes_default
19264 typedef short ac__type_sizeof_;
19268 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19275 rm -f conftest.$ac_objext
19276 if { (ac_try="$ac_compile"
19277 case "(($ac_try" in
19278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19279 *) ac_try_echo=$ac_try;;
19281 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19282 (eval "$ac_compile") 2>conftest.er1
19284 grep -v '^ *+' conftest.er1 >conftest.err
19286 cat conftest.err >&5
19287 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19288 (exit $ac_status); } && {
19289 test -z "$ac_c_werror_flag" ||
19290 test ! -s conftest.err
19291 } && test -s conftest.$ac_objext; then
19292 ac_lo=$ac_mid; break
19294 echo "$as_me: failed program was
:" >&5
19295 sed 's/^/| /' conftest.$ac_ext >&5
19297 ac_hi=`expr '(' $ac_mid ')' - 1`
19298 if test $ac_mid -le $ac_hi; then
19302 ac_mid=`expr 2 '*' $ac_mid`
19305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19308 echo "$as_me: failed program was
:" >&5
19309 sed 's/^/| /' conftest.$ac_ext >&5
19314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19318 # Binary search between lo and hi bounds.
19319 while test "x
$ac_lo" != "x
$ac_hi"; do
19320 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19321 cat >conftest.$ac_ext <<_ACEOF
19324 cat confdefs.h >>conftest.$ac_ext
19325 cat >>conftest.$ac_ext <<_ACEOF
19326 /* end confdefs.h. */
19327 $ac_includes_default
19328 typedef short ac__type_sizeof_;
19332 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19339 rm -f conftest.$ac_objext
19340 if { (ac_try="$ac_compile"
19341 case "(($ac_try" in
19342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19343 *) ac_try_echo=$ac_try;;
19345 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19346 (eval "$ac_compile") 2>conftest.er1
19348 grep -v '^ *+' conftest.er1 >conftest.err
19350 cat conftest.err >&5
19351 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19352 (exit $ac_status); } && {
19353 test -z "$ac_c_werror_flag" ||
19354 test ! -s conftest.err
19355 } && test -s conftest.$ac_objext; then
19358 echo "$as_me: failed program was
:" >&5
19359 sed 's/^/| /' conftest.$ac_ext >&5
19361 ac_lo=`expr '(' $ac_mid ')' + 1`
19364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19367 ?*) ac_cv_sizeof_short=$ac_lo;;
19368 '') if test "$ac_cv_type_short" = yes; then
19369 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19370 See \
`config.log' for more details." >&5
19371 echo "$as_me: error: cannot compute sizeof (short)
19372 See \`config.log
' for more details." >&2;}
19373 { (exit 77); exit 77; }; }
19375 ac_cv_sizeof_short=0
19379 cat >conftest.$ac_ext <<_ACEOF
19382 cat confdefs.h >>conftest.$ac_ext
19383 cat >>conftest.$ac_ext <<_ACEOF
19384 /* end confdefs.h. */
19385 $ac_includes_default
19386 typedef short ac__type_sizeof_;
19387 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19388 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19390 #include <stdlib.h>
19395 FILE *f = fopen ("conftest.val", "w");
19398 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19400 long int i = longval ();
19401 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19403 fprintf (f, "%ld\n", i);
19407 unsigned long int i = ulongval ();
19408 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19410 fprintf (f, "%lu\n", i);
19412 return ferror (f) || fclose (f) != 0;
19418 rm -f conftest$ac_exeext
19419 if { (ac_try="$ac_link"
19420 case "(($ac_try" in
19421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19422 *) ac_try_echo=$ac_try;;
19424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19425 (eval "$ac_link") 2>&5
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19429 { (case "(($ac_try" in
19430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19431 *) ac_try_echo=$ac_try;;
19433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19434 (eval "$ac_try") 2>&5
19436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19437 (exit $ac_status); }; }; then
19438 ac_cv_sizeof_short=`cat conftest.val`
19440 echo "$as_me: program exited with status $ac_status" >&5
19441 echo "$as_me: failed program was:" >&5
19442 sed 's
/^
/| /' conftest.$ac_ext >&5
19444 ( exit $ac_status )
19445 if test "$ac_cv_type_short" = yes; then
19446 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19447 See \`config.log' for more details.
" >&5
19448 echo "$as_me: error
: cannot compute sizeof
(short
)
19449 See \
`config.log' for more details." >&2;}
19450 { (exit 77); exit 77; }; }
19452 ac_cv_sizeof_short=0
19455 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19459 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19460 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19464 cat >>confdefs.h <<_ACEOF
19465 #define SIZEOF_SHORT $ac_cv_sizeof_short
19469 { echo "$as_me:$LINENO: checking for void *" >&5
19470 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19471 if test "${ac_cv_type_void_p+set}" = set; then
19472 echo $ECHO_N "(cached) $ECHO_C" >&6
19474 cat >conftest.$ac_ext <<_ACEOF
19477 cat confdefs.h >>conftest.$ac_ext
19478 cat >>conftest.$ac_ext <<_ACEOF
19479 /* end confdefs.h. */
19480 $ac_includes_default
19481 typedef void * ac__type_new_;
19485 if ((ac__type_new_ *) 0)
19487 if (sizeof (ac__type_new_))
19493 rm -f conftest.$ac_objext
19494 if { (ac_try="$ac_compile"
19495 case "(($ac_try" in
19496 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19497 *) ac_try_echo
=$ac_try;;
19499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19500 (eval "$ac_compile") 2>conftest.er1
19502 grep -v '^ *+' conftest.er1
>conftest.err
19504 cat conftest.err
>&5
19505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19506 (exit $ac_status); } && {
19507 test -z "$ac_c_werror_flag" ||
19508 test ! -s conftest.err
19509 } && test -s conftest.
$ac_objext; then
19510 ac_cv_type_void_p
=yes
19512 echo "$as_me: failed program was:" >&5
19513 sed 's/^/| /' conftest.
$ac_ext >&5
19515 ac_cv_type_void_p
=no
19518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19520 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19521 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19523 # The cast to long int works around a bug in the HP C Compiler
19524 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19525 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19526 # This bug is HP SR number 8606223364.
19527 { echo "$as_me:$LINENO: checking size of void *" >&5
19528 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19529 if test "${ac_cv_sizeof_void_p+set}" = set; then
19530 echo $ECHO_N "(cached) $ECHO_C" >&6
19532 if test "$cross_compiling" = yes; then
19533 # Depending upon the size, compute the lo and hi bounds.
19534 cat >conftest.
$ac_ext <<_ACEOF
19537 cat confdefs.h
>>conftest.
$ac_ext
19538 cat >>conftest.
$ac_ext <<_ACEOF
19539 /* end confdefs.h. */
19540 $ac_includes_default
19541 typedef void * ac__type_sizeof_;
19545 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19552 rm -f conftest.
$ac_objext
19553 if { (ac_try
="$ac_compile"
19554 case "(($ac_try" in
19555 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19556 *) ac_try_echo=$ac_try;;
19558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19559 (eval "$ac_compile") 2>conftest.er1
19561 grep -v '^ *+' conftest.er1 >conftest.err
19563 cat conftest.err >&5
19564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19565 (exit $ac_status); } && {
19566 test -z "$ac_c_werror_flag" ||
19567 test ! -s conftest.err
19568 } && test -s conftest.$ac_objext; then
19571 cat >conftest.$ac_ext <<_ACEOF
19574 cat confdefs.h >>conftest.$ac_ext
19575 cat >>conftest.$ac_ext <<_ACEOF
19576 /* end confdefs.h. */
19577 $ac_includes_default
19578 typedef void * ac__type_sizeof_;
19582 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19589 rm -f conftest.$ac_objext
19590 if { (ac_try="$ac_compile"
19591 case "(($ac_try" in
19592 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19593 *) ac_try_echo
=$ac_try;;
19595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19596 (eval "$ac_compile") 2>conftest.er1
19598 grep -v '^ *+' conftest.er1
>conftest.err
19600 cat conftest.err
>&5
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); } && {
19603 test -z "$ac_c_werror_flag" ||
19604 test ! -s conftest.err
19605 } && test -s conftest.
$ac_objext; then
19606 ac_hi
=$ac_mid; break
19608 echo "$as_me: failed program was:" >&5
19609 sed 's/^/| /' conftest.
$ac_ext >&5
19611 ac_lo
=`expr $ac_mid + 1`
19612 if test $ac_lo -le $ac_mid; then
19616 ac_mid
=`expr 2 '*' $ac_mid + 1`
19619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19622 echo "$as_me: failed program was:" >&5
19623 sed 's/^/| /' conftest.
$ac_ext >&5
19625 cat >conftest.
$ac_ext <<_ACEOF
19628 cat confdefs.h
>>conftest.
$ac_ext
19629 cat >>conftest.
$ac_ext <<_ACEOF
19630 /* end confdefs.h. */
19631 $ac_includes_default
19632 typedef void * ac__type_sizeof_;
19636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19643 rm -f conftest.
$ac_objext
19644 if { (ac_try
="$ac_compile"
19645 case "(($ac_try" in
19646 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19647 *) ac_try_echo=$ac_try;;
19649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19650 (eval "$ac_compile") 2>conftest.er1
19652 grep -v '^ *+' conftest.er1 >conftest.err
19654 cat conftest.err >&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); } && {
19657 test -z "$ac_c_werror_flag" ||
19658 test ! -s conftest.err
19659 } && test -s conftest.$ac_objext; then
19662 cat >conftest.$ac_ext <<_ACEOF
19665 cat confdefs.h >>conftest.$ac_ext
19666 cat >>conftest.$ac_ext <<_ACEOF
19667 /* end confdefs.h. */
19668 $ac_includes_default
19669 typedef void * ac__type_sizeof_;
19673 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19680 rm -f conftest.$ac_objext
19681 if { (ac_try="$ac_compile"
19682 case "(($ac_try" in
19683 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19684 *) ac_try_echo
=$ac_try;;
19686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19687 (eval "$ac_compile") 2>conftest.er1
19689 grep -v '^ *+' conftest.er1
>conftest.err
19691 cat conftest.err
>&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); } && {
19694 test -z "$ac_c_werror_flag" ||
19695 test ! -s conftest.err
19696 } && test -s conftest.
$ac_objext; then
19697 ac_lo
=$ac_mid; break
19699 echo "$as_me: failed program was:" >&5
19700 sed 's/^/| /' conftest.
$ac_ext >&5
19702 ac_hi
=`expr '(' $ac_mid ')' - 1`
19703 if test $ac_mid -le $ac_hi; then
19707 ac_mid
=`expr 2 '*' $ac_mid`
19710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19713 echo "$as_me: failed program was:" >&5
19714 sed 's/^/| /' conftest.
$ac_ext >&5
19719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19723 # Binary search between lo and hi bounds.
19724 while test "x$ac_lo" != "x$ac_hi"; do
19725 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19726 cat >conftest.
$ac_ext <<_ACEOF
19729 cat confdefs.h
>>conftest.
$ac_ext
19730 cat >>conftest.
$ac_ext <<_ACEOF
19731 /* end confdefs.h. */
19732 $ac_includes_default
19733 typedef void * ac__type_sizeof_;
19737 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19744 rm -f conftest.
$ac_objext
19745 if { (ac_try
="$ac_compile"
19746 case "(($ac_try" in
19747 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19748 *) ac_try_echo=$ac_try;;
19750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19751 (eval "$ac_compile") 2>conftest.er1
19753 grep -v '^ *+' conftest.er1 >conftest.err
19755 cat conftest.err >&5
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); } && {
19758 test -z "$ac_c_werror_flag" ||
19759 test ! -s conftest.err
19760 } && test -s conftest.$ac_objext; then
19763 echo "$as_me: failed program was:" >&5
19764 sed 's/^/| /' conftest.$ac_ext >&5
19766 ac_lo=`expr '(' $ac_mid ')' + 1`
19769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19772 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19773 '') if test "$ac_cv_type_void_p" = yes; then
19774 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19775 See \`config.log
' for more details." >&5
19776 echo "$as_me: error: cannot compute sizeof (void *)
19777 See \`config.log' for more details.
" >&2;}
19778 { (exit 77); exit 77; }; }
19780 ac_cv_sizeof_void_p=0
19784 cat >conftest.$ac_ext <<_ACEOF
19787 cat confdefs.h >>conftest.$ac_ext
19788 cat >>conftest.$ac_ext <<_ACEOF
19789 /* end confdefs.h. */
19790 $ac_includes_default
19791 typedef void * ac__type_sizeof_;
19792 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19793 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19795 #include <stdlib.h>
19800 FILE *f = fopen ("conftest.val
", "w
");
19803 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19805 long int i = longval ();
19806 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19808 fprintf (f, "%ld
\n", i);
19812 unsigned long int i = ulongval ();
19813 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19815 fprintf (f, "%lu
\n", i);
19817 return ferror (f) || fclose (f) != 0;
19823 rm -f conftest$ac_exeext
19824 if { (ac_try="$ac_link"
19825 case "(($ac_try" in
19826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19827 *) ac_try_echo=$ac_try;;
19829 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19830 (eval "$ac_link") 2>&5
19832 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19833 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19834 { (case "(($ac_try" in
19835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19836 *) ac_try_echo=$ac_try;;
19838 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19839 (eval "$ac_try") 2>&5
19841 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19842 (exit $ac_status); }; }; then
19843 ac_cv_sizeof_void_p=`cat conftest.val`
19845 echo "$as_me: program exited with status
$ac_status" >&5
19846 echo "$as_me: failed program was
:" >&5
19847 sed 's/^/| /' conftest.$ac_ext >&5
19849 ( exit $ac_status )
19850 if test "$ac_cv_type_void_p" = yes; then
19851 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
19852 See \
`config.log' for more details." >&5
19853 echo "$as_me: error: cannot compute sizeof (void *)
19854 See \`config.log
' for more details." >&2;}
19855 { (exit 77); exit 77; }; }
19857 ac_cv_sizeof_void_p=0
19860 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19864 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19865 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19869 cat >>confdefs.h <<_ACEOF
19870 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19874 { echo "$as_me:$LINENO: checking for int" >&5
19875 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19876 if test "${ac_cv_type_int+set}" = set; then
19877 echo $ECHO_N "(cached) $ECHO_C" >&6
19879 cat >conftest.$ac_ext <<_ACEOF
19882 cat confdefs.h >>conftest.$ac_ext
19883 cat >>conftest.$ac_ext <<_ACEOF
19884 /* end confdefs.h. */
19885 $ac_includes_default
19886 typedef int ac__type_new_;
19890 if ((ac__type_new_ *) 0)
19892 if (sizeof (ac__type_new_))
19898 rm -f conftest.$ac_objext
19899 if { (ac_try="$ac_compile"
19900 case "(($ac_try" in
19901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19902 *) ac_try_echo=$ac_try;;
19904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19905 (eval "$ac_compile") 2>conftest.er1
19907 grep -v '^
*+' conftest.er1 >conftest.err
19909 cat conftest.err >&5
19910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911 (exit $ac_status); } && {
19912 test -z "$ac_c_werror_flag" ||
19913 test ! -s conftest.err
19914 } && test -s conftest.$ac_objext; then
19917 echo "$as_me: failed program was:" >&5
19918 sed 's
/^
/| /' conftest.$ac_ext >&5
19923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19925 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19926 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19928 # The cast to long int works around a bug in the HP C Compiler
19929 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19930 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19931 # This bug is HP SR number 8606223364.
19932 { echo "$as_me:$LINENO: checking size of int" >&5
19933 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19934 if test "${ac_cv_sizeof_int+set}" = set; then
19935 echo $ECHO_N "(cached) $ECHO_C" >&6
19937 if test "$cross_compiling" = yes; then
19938 # Depending upon the size, compute the lo and hi bounds.
19939 cat >conftest.
$ac_ext <<_ACEOF
19942 cat confdefs.h
>>conftest.
$ac_ext
19943 cat >>conftest.
$ac_ext <<_ACEOF
19944 /* end confdefs.h. */
19945 $ac_includes_default
19946 typedef int ac__type_sizeof_;
19950 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19957 rm -f conftest.
$ac_objext
19958 if { (ac_try
="$ac_compile"
19959 case "(($ac_try" in
19960 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19961 *) ac_try_echo=$ac_try;;
19963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19964 (eval "$ac_compile") 2>conftest.er1
19966 grep -v '^ *+' conftest.er1 >conftest.err
19968 cat conftest.err >&5
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); } && {
19971 test -z "$ac_c_werror_flag" ||
19972 test ! -s conftest.err
19973 } && test -s conftest.$ac_objext; then
19976 cat >conftest.$ac_ext <<_ACEOF
19979 cat confdefs.h >>conftest.$ac_ext
19980 cat >>conftest.$ac_ext <<_ACEOF
19981 /* end confdefs.h. */
19982 $ac_includes_default
19983 typedef int ac__type_sizeof_;
19987 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19994 rm -f conftest.$ac_objext
19995 if { (ac_try="$ac_compile"
19996 case "(($ac_try" in
19997 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19998 *) ac_try_echo
=$ac_try;;
20000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20001 (eval "$ac_compile") 2>conftest.er1
20003 grep -v '^ *+' conftest.er1
>conftest.err
20005 cat conftest.err
>&5
20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); } && {
20008 test -z "$ac_c_werror_flag" ||
20009 test ! -s conftest.err
20010 } && test -s conftest.
$ac_objext; then
20011 ac_hi
=$ac_mid; break
20013 echo "$as_me: failed program was:" >&5
20014 sed 's/^/| /' conftest.
$ac_ext >&5
20016 ac_lo
=`expr $ac_mid + 1`
20017 if test $ac_lo -le $ac_mid; then
20021 ac_mid
=`expr 2 '*' $ac_mid + 1`
20024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20027 echo "$as_me: failed program was:" >&5
20028 sed 's/^/| /' conftest.
$ac_ext >&5
20030 cat >conftest.
$ac_ext <<_ACEOF
20033 cat confdefs.h
>>conftest.
$ac_ext
20034 cat >>conftest.
$ac_ext <<_ACEOF
20035 /* end confdefs.h. */
20036 $ac_includes_default
20037 typedef int ac__type_sizeof_;
20041 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20048 rm -f conftest.
$ac_objext
20049 if { (ac_try
="$ac_compile"
20050 case "(($ac_try" in
20051 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20052 *) ac_try_echo=$ac_try;;
20054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20055 (eval "$ac_compile") 2>conftest.er1
20057 grep -v '^ *+' conftest.er1 >conftest.err
20059 cat conftest.err >&5
20060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061 (exit $ac_status); } && {
20062 test -z "$ac_c_werror_flag" ||
20063 test ! -s conftest.err
20064 } && test -s conftest.$ac_objext; then
20067 cat >conftest.$ac_ext <<_ACEOF
20070 cat confdefs.h >>conftest.$ac_ext
20071 cat >>conftest.$ac_ext <<_ACEOF
20072 /* end confdefs.h. */
20073 $ac_includes_default
20074 typedef int ac__type_sizeof_;
20078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20085 rm -f conftest.$ac_objext
20086 if { (ac_try="$ac_compile"
20087 case "(($ac_try" in
20088 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20089 *) ac_try_echo
=$ac_try;;
20091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20092 (eval "$ac_compile") 2>conftest.er1
20094 grep -v '^ *+' conftest.er1
>conftest.err
20096 cat conftest.err
>&5
20097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 (exit $ac_status); } && {
20099 test -z "$ac_c_werror_flag" ||
20100 test ! -s conftest.err
20101 } && test -s conftest.
$ac_objext; then
20102 ac_lo
=$ac_mid; break
20104 echo "$as_me: failed program was:" >&5
20105 sed 's/^/| /' conftest.
$ac_ext >&5
20107 ac_hi
=`expr '(' $ac_mid ')' - 1`
20108 if test $ac_mid -le $ac_hi; then
20112 ac_mid
=`expr 2 '*' $ac_mid`
20115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20118 echo "$as_me: failed program was:" >&5
20119 sed 's/^/| /' conftest.
$ac_ext >&5
20124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20128 # Binary search between lo and hi bounds.
20129 while test "x$ac_lo" != "x$ac_hi"; do
20130 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20131 cat >conftest.
$ac_ext <<_ACEOF
20134 cat confdefs.h
>>conftest.
$ac_ext
20135 cat >>conftest.
$ac_ext <<_ACEOF
20136 /* end confdefs.h. */
20137 $ac_includes_default
20138 typedef int ac__type_sizeof_;
20142 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20149 rm -f conftest.
$ac_objext
20150 if { (ac_try
="$ac_compile"
20151 case "(($ac_try" in
20152 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20153 *) ac_try_echo=$ac_try;;
20155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20156 (eval "$ac_compile") 2>conftest.er1
20158 grep -v '^ *+' conftest.er1 >conftest.err
20160 cat conftest.err >&5
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); } && {
20163 test -z "$ac_c_werror_flag" ||
20164 test ! -s conftest.err
20165 } && test -s conftest.$ac_objext; then
20168 echo "$as_me: failed program was:" >&5
20169 sed 's/^/| /' conftest.$ac_ext >&5
20171 ac_lo=`expr '(' $ac_mid ')' + 1`
20174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20177 ?*) ac_cv_sizeof_int=$ac_lo;;
20178 '') if test "$ac_cv_type_int" = yes; then
20179 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20180 See \`config.log
' for more details." >&5
20181 echo "$as_me: error: cannot compute sizeof (int)
20182 See \`config.log' for more details.
" >&2;}
20183 { (exit 77); exit 77; }; }
20189 cat >conftest.$ac_ext <<_ACEOF
20192 cat confdefs.h >>conftest.$ac_ext
20193 cat >>conftest.$ac_ext <<_ACEOF
20194 /* end confdefs.h. */
20195 $ac_includes_default
20196 typedef int ac__type_sizeof_;
20197 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20198 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20200 #include <stdlib.h>
20205 FILE *f = fopen ("conftest.val
", "w
");
20208 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20210 long int i = longval ();
20211 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20213 fprintf (f, "%ld
\n", i);
20217 unsigned long int i = ulongval ();
20218 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20220 fprintf (f, "%lu
\n", i);
20222 return ferror (f) || fclose (f) != 0;
20228 rm -f conftest$ac_exeext
20229 if { (ac_try="$ac_link"
20230 case "(($ac_try" in
20231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20232 *) ac_try_echo=$ac_try;;
20234 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20235 (eval "$ac_link") 2>&5
20237 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20238 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20239 { (case "(($ac_try" in
20240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20241 *) ac_try_echo=$ac_try;;
20243 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20244 (eval "$ac_try") 2>&5
20246 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20247 (exit $ac_status); }; }; then
20248 ac_cv_sizeof_int=`cat conftest.val`
20250 echo "$as_me: program exited with status
$ac_status" >&5
20251 echo "$as_me: failed program was
:" >&5
20252 sed 's/^/| /' conftest.$ac_ext >&5
20254 ( exit $ac_status )
20255 if test "$ac_cv_type_int" = yes; then
20256 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20257 See \
`config.log' for more details." >&5
20258 echo "$as_me: error: cannot compute sizeof (int)
20259 See \`config.log
' for more details." >&2;}
20260 { (exit 77); exit 77; }; }
20265 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20269 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20270 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20274 cat >>confdefs.h <<_ACEOF
20275 #define SIZEOF_INT $ac_cv_sizeof_int
20279 { echo "$as_me:$LINENO: checking for long" >&5
20280 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20281 if test "${ac_cv_type_long+set}" = set; then
20282 echo $ECHO_N "(cached) $ECHO_C" >&6
20284 cat >conftest.$ac_ext <<_ACEOF
20287 cat confdefs.h >>conftest.$ac_ext
20288 cat >>conftest.$ac_ext <<_ACEOF
20289 /* end confdefs.h. */
20290 $ac_includes_default
20291 typedef long ac__type_new_;
20295 if ((ac__type_new_ *) 0)
20297 if (sizeof (ac__type_new_))
20303 rm -f conftest.$ac_objext
20304 if { (ac_try="$ac_compile"
20305 case "(($ac_try" in
20306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20307 *) ac_try_echo=$ac_try;;
20309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20310 (eval "$ac_compile") 2>conftest.er1
20312 grep -v '^
*+' conftest.er1 >conftest.err
20314 cat conftest.err >&5
20315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); } && {
20317 test -z "$ac_c_werror_flag" ||
20318 test ! -s conftest.err
20319 } && test -s conftest.$ac_objext; then
20320 ac_cv_type_long=yes
20322 echo "$as_me: failed program was:" >&5
20323 sed 's
/^
/| /' conftest.$ac_ext >&5
20328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20330 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20331 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20333 # The cast to long int works around a bug in the HP C Compiler
20334 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20335 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20336 # This bug is HP SR number 8606223364.
20337 { echo "$as_me:$LINENO: checking size of long" >&5
20338 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20339 if test "${ac_cv_sizeof_long+set}" = set; then
20340 echo $ECHO_N "(cached) $ECHO_C" >&6
20342 if test "$cross_compiling" = yes; then
20343 # Depending upon the size, compute the lo and hi bounds.
20344 cat >conftest.
$ac_ext <<_ACEOF
20347 cat confdefs.h
>>conftest.
$ac_ext
20348 cat >>conftest.
$ac_ext <<_ACEOF
20349 /* end confdefs.h. */
20350 $ac_includes_default
20351 typedef long ac__type_sizeof_;
20355 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20362 rm -f conftest.
$ac_objext
20363 if { (ac_try
="$ac_compile"
20364 case "(($ac_try" in
20365 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20366 *) ac_try_echo=$ac_try;;
20368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20369 (eval "$ac_compile") 2>conftest.er1
20371 grep -v '^ *+' conftest.er1 >conftest.err
20373 cat conftest.err >&5
20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375 (exit $ac_status); } && {
20376 test -z "$ac_c_werror_flag" ||
20377 test ! -s conftest.err
20378 } && test -s conftest.$ac_objext; then
20381 cat >conftest.$ac_ext <<_ACEOF
20384 cat confdefs.h >>conftest.$ac_ext
20385 cat >>conftest.$ac_ext <<_ACEOF
20386 /* end confdefs.h. */
20387 $ac_includes_default
20388 typedef long ac__type_sizeof_;
20392 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20399 rm -f conftest.$ac_objext
20400 if { (ac_try="$ac_compile"
20401 case "(($ac_try" in
20402 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20403 *) ac_try_echo
=$ac_try;;
20405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20406 (eval "$ac_compile") 2>conftest.er1
20408 grep -v '^ *+' conftest.er1
>conftest.err
20410 cat conftest.err
>&5
20411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 (exit $ac_status); } && {
20413 test -z "$ac_c_werror_flag" ||
20414 test ! -s conftest.err
20415 } && test -s conftest.
$ac_objext; then
20416 ac_hi
=$ac_mid; break
20418 echo "$as_me: failed program was:" >&5
20419 sed 's/^/| /' conftest.
$ac_ext >&5
20421 ac_lo
=`expr $ac_mid + 1`
20422 if test $ac_lo -le $ac_mid; then
20426 ac_mid
=`expr 2 '*' $ac_mid + 1`
20429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20432 echo "$as_me: failed program was:" >&5
20433 sed 's/^/| /' conftest.
$ac_ext >&5
20435 cat >conftest.
$ac_ext <<_ACEOF
20438 cat confdefs.h
>>conftest.
$ac_ext
20439 cat >>conftest.
$ac_ext <<_ACEOF
20440 /* end confdefs.h. */
20441 $ac_includes_default
20442 typedef long ac__type_sizeof_;
20446 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20453 rm -f conftest.
$ac_objext
20454 if { (ac_try
="$ac_compile"
20455 case "(($ac_try" in
20456 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20457 *) ac_try_echo=$ac_try;;
20459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20460 (eval "$ac_compile") 2>conftest.er1
20462 grep -v '^ *+' conftest.er1 >conftest.err
20464 cat conftest.err >&5
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); } && {
20467 test -z "$ac_c_werror_flag" ||
20468 test ! -s conftest.err
20469 } && test -s conftest.$ac_objext; then
20472 cat >conftest.$ac_ext <<_ACEOF
20475 cat confdefs.h >>conftest.$ac_ext
20476 cat >>conftest.$ac_ext <<_ACEOF
20477 /* end confdefs.h. */
20478 $ac_includes_default
20479 typedef long ac__type_sizeof_;
20483 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20490 rm -f conftest.$ac_objext
20491 if { (ac_try="$ac_compile"
20492 case "(($ac_try" in
20493 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20494 *) ac_try_echo
=$ac_try;;
20496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20497 (eval "$ac_compile") 2>conftest.er1
20499 grep -v '^ *+' conftest.er1
>conftest.err
20501 cat conftest.err
>&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); } && {
20504 test -z "$ac_c_werror_flag" ||
20505 test ! -s conftest.err
20506 } && test -s conftest.
$ac_objext; then
20507 ac_lo
=$ac_mid; break
20509 echo "$as_me: failed program was:" >&5
20510 sed 's/^/| /' conftest.
$ac_ext >&5
20512 ac_hi
=`expr '(' $ac_mid ')' - 1`
20513 if test $ac_mid -le $ac_hi; then
20517 ac_mid
=`expr 2 '*' $ac_mid`
20520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20523 echo "$as_me: failed program was:" >&5
20524 sed 's/^/| /' conftest.
$ac_ext >&5
20529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20532 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20533 # Binary search between lo and hi bounds.
20534 while test "x$ac_lo" != "x$ac_hi"; do
20535 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20536 cat >conftest.
$ac_ext <<_ACEOF
20539 cat confdefs.h
>>conftest.
$ac_ext
20540 cat >>conftest.
$ac_ext <<_ACEOF
20541 /* end confdefs.h. */
20542 $ac_includes_default
20543 typedef long ac__type_sizeof_;
20547 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20554 rm -f conftest.
$ac_objext
20555 if { (ac_try
="$ac_compile"
20556 case "(($ac_try" in
20557 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20558 *) ac_try_echo=$ac_try;;
20560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20561 (eval "$ac_compile") 2>conftest.er1
20563 grep -v '^ *+' conftest.er1 >conftest.err
20565 cat conftest.err >&5
20566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567 (exit $ac_status); } && {
20568 test -z "$ac_c_werror_flag" ||
20569 test ! -s conftest.err
20570 } && test -s conftest.$ac_objext; then
20573 echo "$as_me: failed program was:" >&5
20574 sed 's/^/| /' conftest.$ac_ext >&5
20576 ac_lo=`expr '(' $ac_mid ')' + 1`
20579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20582 ?*) ac_cv_sizeof_long=$ac_lo;;
20583 '') if test "$ac_cv_type_long" = yes; then
20584 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20585 See \`config.log
' for more details." >&5
20586 echo "$as_me: error: cannot compute sizeof (long)
20587 See \`config.log' for more details.
" >&2;}
20588 { (exit 77); exit 77; }; }
20590 ac_cv_sizeof_long=0
20594 cat >conftest.$ac_ext <<_ACEOF
20597 cat confdefs.h >>conftest.$ac_ext
20598 cat >>conftest.$ac_ext <<_ACEOF
20599 /* end confdefs.h. */
20600 $ac_includes_default
20601 typedef long ac__type_sizeof_;
20602 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20603 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20605 #include <stdlib.h>
20610 FILE *f = fopen ("conftest.val
", "w
");
20613 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20615 long int i = longval ();
20616 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20618 fprintf (f, "%ld
\n", i);
20622 unsigned long int i = ulongval ();
20623 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20625 fprintf (f, "%lu
\n", i);
20627 return ferror (f) || fclose (f) != 0;
20633 rm -f conftest$ac_exeext
20634 if { (ac_try="$ac_link"
20635 case "(($ac_try" in
20636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20637 *) ac_try_echo=$ac_try;;
20639 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20640 (eval "$ac_link") 2>&5
20642 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20643 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20644 { (case "(($ac_try" in
20645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20646 *) ac_try_echo=$ac_try;;
20648 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20649 (eval "$ac_try") 2>&5
20651 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20652 (exit $ac_status); }; }; then
20653 ac_cv_sizeof_long=`cat conftest.val`
20655 echo "$as_me: program exited with status
$ac_status" >&5
20656 echo "$as_me: failed program was
:" >&5
20657 sed 's/^/| /' conftest.$ac_ext >&5
20659 ( exit $ac_status )
20660 if test "$ac_cv_type_long" = yes; then
20661 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
20662 See \
`config.log' for more details." >&5
20663 echo "$as_me: error: cannot compute sizeof (long)
20664 See \`config.log
' for more details." >&2;}
20665 { (exit 77); exit 77; }; }
20667 ac_cv_sizeof_long=0
20670 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20674 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20675 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20679 cat >>confdefs.h <<_ACEOF
20680 #define SIZEOF_LONG $ac_cv_sizeof_long
20684 { echo "$as_me:$LINENO: checking for size_t" >&5
20685 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20686 if test "${ac_cv_type_size_t+set}" = set; then
20687 echo $ECHO_N "(cached) $ECHO_C" >&6
20689 cat >conftest.$ac_ext <<_ACEOF
20692 cat confdefs.h >>conftest.$ac_ext
20693 cat >>conftest.$ac_ext <<_ACEOF
20694 /* end confdefs.h. */
20695 $ac_includes_default
20696 typedef size_t ac__type_new_;
20700 if ((ac__type_new_ *) 0)
20702 if (sizeof (ac__type_new_))
20708 rm -f conftest.$ac_objext
20709 if { (ac_try="$ac_compile"
20710 case "(($ac_try" in
20711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20712 *) ac_try_echo=$ac_try;;
20714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20715 (eval "$ac_compile") 2>conftest.er1
20717 grep -v '^
*+' conftest.er1 >conftest.err
20719 cat conftest.err >&5
20720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20721 (exit $ac_status); } && {
20722 test -z "$ac_c_werror_flag" ||
20723 test ! -s conftest.err
20724 } && test -s conftest.$ac_objext; then
20725 ac_cv_type_size_t=yes
20727 echo "$as_me: failed program was:" >&5
20728 sed 's
/^
/| /' conftest.$ac_ext >&5
20730 ac_cv_type_size_t=no
20733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20735 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20736 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20738 # The cast to long int works around a bug in the HP C Compiler
20739 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20740 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20741 # This bug is HP SR number 8606223364.
20742 { echo "$as_me:$LINENO: checking size of size_t" >&5
20743 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20744 if test "${ac_cv_sizeof_size_t+set}" = set; then
20745 echo $ECHO_N "(cached) $ECHO_C" >&6
20747 if test "$cross_compiling" = yes; then
20748 # Depending upon the size, compute the lo and hi bounds.
20749 cat >conftest.
$ac_ext <<_ACEOF
20752 cat confdefs.h
>>conftest.
$ac_ext
20753 cat >>conftest.
$ac_ext <<_ACEOF
20754 /* end confdefs.h. */
20755 $ac_includes_default
20756 typedef size_t ac__type_sizeof_;
20760 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20767 rm -f conftest.
$ac_objext
20768 if { (ac_try
="$ac_compile"
20769 case "(($ac_try" in
20770 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20771 *) ac_try_echo=$ac_try;;
20773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20774 (eval "$ac_compile") 2>conftest.er1
20776 grep -v '^ *+' conftest.er1 >conftest.err
20778 cat conftest.err >&5
20779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20780 (exit $ac_status); } && {
20781 test -z "$ac_c_werror_flag" ||
20782 test ! -s conftest.err
20783 } && test -s conftest.$ac_objext; then
20786 cat >conftest.$ac_ext <<_ACEOF
20789 cat confdefs.h >>conftest.$ac_ext
20790 cat >>conftest.$ac_ext <<_ACEOF
20791 /* end confdefs.h. */
20792 $ac_includes_default
20793 typedef size_t ac__type_sizeof_;
20797 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20804 rm -f conftest.$ac_objext
20805 if { (ac_try="$ac_compile"
20806 case "(($ac_try" in
20807 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20808 *) ac_try_echo
=$ac_try;;
20810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20811 (eval "$ac_compile") 2>conftest.er1
20813 grep -v '^ *+' conftest.er1
>conftest.err
20815 cat conftest.err
>&5
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); } && {
20818 test -z "$ac_c_werror_flag" ||
20819 test ! -s conftest.err
20820 } && test -s conftest.
$ac_objext; then
20821 ac_hi
=$ac_mid; break
20823 echo "$as_me: failed program was:" >&5
20824 sed 's/^/| /' conftest.
$ac_ext >&5
20826 ac_lo
=`expr $ac_mid + 1`
20827 if test $ac_lo -le $ac_mid; then
20831 ac_mid
=`expr 2 '*' $ac_mid + 1`
20834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20837 echo "$as_me: failed program was:" >&5
20838 sed 's/^/| /' conftest.
$ac_ext >&5
20840 cat >conftest.
$ac_ext <<_ACEOF
20843 cat confdefs.h
>>conftest.
$ac_ext
20844 cat >>conftest.
$ac_ext <<_ACEOF
20845 /* end confdefs.h. */
20846 $ac_includes_default
20847 typedef size_t ac__type_sizeof_;
20851 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20858 rm -f conftest.
$ac_objext
20859 if { (ac_try
="$ac_compile"
20860 case "(($ac_try" in
20861 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20862 *) ac_try_echo=$ac_try;;
20864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20865 (eval "$ac_compile") 2>conftest.er1
20867 grep -v '^ *+' conftest.er1 >conftest.err
20869 cat conftest.err >&5
20870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20871 (exit $ac_status); } && {
20872 test -z "$ac_c_werror_flag" ||
20873 test ! -s conftest.err
20874 } && test -s conftest.$ac_objext; then
20877 cat >conftest.$ac_ext <<_ACEOF
20880 cat confdefs.h >>conftest.$ac_ext
20881 cat >>conftest.$ac_ext <<_ACEOF
20882 /* end confdefs.h. */
20883 $ac_includes_default
20884 typedef size_t ac__type_sizeof_;
20888 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20895 rm -f conftest.$ac_objext
20896 if { (ac_try="$ac_compile"
20897 case "(($ac_try" in
20898 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20899 *) ac_try_echo
=$ac_try;;
20901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20902 (eval "$ac_compile") 2>conftest.er1
20904 grep -v '^ *+' conftest.er1
>conftest.err
20906 cat conftest.err
>&5
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); } && {
20909 test -z "$ac_c_werror_flag" ||
20910 test ! -s conftest.err
20911 } && test -s conftest.
$ac_objext; then
20912 ac_lo
=$ac_mid; break
20914 echo "$as_me: failed program was:" >&5
20915 sed 's/^/| /' conftest.
$ac_ext >&5
20917 ac_hi
=`expr '(' $ac_mid ')' - 1`
20918 if test $ac_mid -le $ac_hi; then
20922 ac_mid
=`expr 2 '*' $ac_mid`
20925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20928 echo "$as_me: failed program was:" >&5
20929 sed 's/^/| /' conftest.
$ac_ext >&5
20934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20938 # Binary search between lo and hi bounds.
20939 while test "x$ac_lo" != "x$ac_hi"; do
20940 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20941 cat >conftest.
$ac_ext <<_ACEOF
20944 cat confdefs.h
>>conftest.
$ac_ext
20945 cat >>conftest.
$ac_ext <<_ACEOF
20946 /* end confdefs.h. */
20947 $ac_includes_default
20948 typedef size_t ac__type_sizeof_;
20952 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20959 rm -f conftest.
$ac_objext
20960 if { (ac_try
="$ac_compile"
20961 case "(($ac_try" in
20962 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20963 *) ac_try_echo=$ac_try;;
20965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20966 (eval "$ac_compile") 2>conftest.er1
20968 grep -v '^ *+' conftest.er1 >conftest.err
20970 cat conftest.err >&5
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); } && {
20973 test -z "$ac_c_werror_flag" ||
20974 test ! -s conftest.err
20975 } && test -s conftest.$ac_objext; then
20978 echo "$as_me: failed program was:" >&5
20979 sed 's/^/| /' conftest.$ac_ext >&5
20981 ac_lo=`expr '(' $ac_mid ')' + 1`
20984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20987 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20988 '') if test "$ac_cv_type_size_t" = yes; then
20989 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20990 See \`config.log
' for more details." >&5
20991 echo "$as_me: error: cannot compute sizeof (size_t)
20992 See \`config.log' for more details.
" >&2;}
20993 { (exit 77); exit 77; }; }
20995 ac_cv_sizeof_size_t=0
20999 cat >conftest.$ac_ext <<_ACEOF
21002 cat confdefs.h >>conftest.$ac_ext
21003 cat >>conftest.$ac_ext <<_ACEOF
21004 /* end confdefs.h. */
21005 $ac_includes_default
21006 typedef size_t ac__type_sizeof_;
21007 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21008 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21010 #include <stdlib.h>
21015 FILE *f = fopen ("conftest.val
", "w
");
21018 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21020 long int i = longval ();
21021 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21023 fprintf (f, "%ld
\n", i);
21027 unsigned long int i = ulongval ();
21028 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21030 fprintf (f, "%lu
\n", i);
21032 return ferror (f) || fclose (f) != 0;
21038 rm -f conftest$ac_exeext
21039 if { (ac_try="$ac_link"
21040 case "(($ac_try" in
21041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21042 *) ac_try_echo=$ac_try;;
21044 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21045 (eval "$ac_link") 2>&5
21047 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21048 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21049 { (case "(($ac_try" in
21050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21051 *) ac_try_echo=$ac_try;;
21053 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21054 (eval "$ac_try") 2>&5
21056 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21057 (exit $ac_status); }; }; then
21058 ac_cv_sizeof_size_t=`cat conftest.val`
21060 echo "$as_me: program exited with status
$ac_status" >&5
21061 echo "$as_me: failed program was
:" >&5
21062 sed 's/^/| /' conftest.$ac_ext >&5
21064 ( exit $ac_status )
21065 if test "$ac_cv_type_size_t" = yes; then
21066 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21067 See \
`config.log' for more details." >&5
21068 echo "$as_me: error: cannot compute sizeof (size_t)
21069 See \`config.log
' for more details." >&2;}
21070 { (exit 77); exit 77; }; }
21072 ac_cv_sizeof_size_t=0
21075 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21079 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21080 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21084 cat >>confdefs.h <<_ACEOF
21085 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21092 { echo "$as_me:$LINENO: checking for long long" >&5
21093 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21094 if test "${ac_cv_type_long_long+set}" = set; then
21095 echo $ECHO_N "(cached) $ECHO_C" >&6
21097 cat >conftest.$ac_ext <<_ACEOF
21100 cat confdefs.h >>conftest.$ac_ext
21101 cat >>conftest.$ac_ext <<_ACEOF
21102 /* end confdefs.h. */
21103 $ac_includes_default
21104 typedef long long ac__type_new_;
21108 if ((ac__type_new_ *) 0)
21110 if (sizeof (ac__type_new_))
21116 rm -f conftest.$ac_objext
21117 if { (ac_try="$ac_compile"
21118 case "(($ac_try" in
21119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21120 *) ac_try_echo=$ac_try;;
21122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21123 (eval "$ac_compile") 2>conftest.er1
21125 grep -v '^
*+' conftest.er1 >conftest.err
21127 cat conftest.err >&5
21128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21129 (exit $ac_status); } && {
21130 test -z "$ac_c_werror_flag" ||
21131 test ! -s conftest.err
21132 } && test -s conftest.$ac_objext; then
21133 ac_cv_type_long_long=yes
21135 echo "$as_me: failed program was:" >&5
21136 sed 's
/^
/| /' conftest.$ac_ext >&5
21138 ac_cv_type_long_long=no
21141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21143 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21144 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21146 # The cast to long int works around a bug in the HP C Compiler
21147 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21148 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21149 # This bug is HP SR number 8606223364.
21150 { echo "$as_me:$LINENO: checking size of long long" >&5
21151 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21152 if test "${ac_cv_sizeof_long_long+set}" = set; then
21153 echo $ECHO_N "(cached) $ECHO_C" >&6
21155 if test "$cross_compiling" = yes; then
21156 # Depending upon the size, compute the lo and hi bounds.
21157 cat >conftest.
$ac_ext <<_ACEOF
21160 cat confdefs.h
>>conftest.
$ac_ext
21161 cat >>conftest.
$ac_ext <<_ACEOF
21162 /* end confdefs.h. */
21163 $ac_includes_default
21164 typedef long long ac__type_sizeof_;
21168 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21175 rm -f conftest.
$ac_objext
21176 if { (ac_try
="$ac_compile"
21177 case "(($ac_try" in
21178 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21179 *) ac_try_echo=$ac_try;;
21181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21182 (eval "$ac_compile") 2>conftest.er1
21184 grep -v '^ *+' conftest.er1 >conftest.err
21186 cat conftest.err >&5
21187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188 (exit $ac_status); } && {
21189 test -z "$ac_c_werror_flag" ||
21190 test ! -s conftest.err
21191 } && test -s conftest.$ac_objext; then
21194 cat >conftest.$ac_ext <<_ACEOF
21197 cat confdefs.h >>conftest.$ac_ext
21198 cat >>conftest.$ac_ext <<_ACEOF
21199 /* end confdefs.h. */
21200 $ac_includes_default
21201 typedef long long ac__type_sizeof_;
21205 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21212 rm -f conftest.$ac_objext
21213 if { (ac_try="$ac_compile"
21214 case "(($ac_try" in
21215 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21216 *) ac_try_echo
=$ac_try;;
21218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21219 (eval "$ac_compile") 2>conftest.er1
21221 grep -v '^ *+' conftest.er1
>conftest.err
21223 cat conftest.err
>&5
21224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21225 (exit $ac_status); } && {
21226 test -z "$ac_c_werror_flag" ||
21227 test ! -s conftest.err
21228 } && test -s conftest.
$ac_objext; then
21229 ac_hi
=$ac_mid; break
21231 echo "$as_me: failed program was:" >&5
21232 sed 's/^/| /' conftest.
$ac_ext >&5
21234 ac_lo
=`expr $ac_mid + 1`
21235 if test $ac_lo -le $ac_mid; then
21239 ac_mid
=`expr 2 '*' $ac_mid + 1`
21242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21245 echo "$as_me: failed program was:" >&5
21246 sed 's/^/| /' conftest.
$ac_ext >&5
21248 cat >conftest.
$ac_ext <<_ACEOF
21251 cat confdefs.h
>>conftest.
$ac_ext
21252 cat >>conftest.
$ac_ext <<_ACEOF
21253 /* end confdefs.h. */
21254 $ac_includes_default
21255 typedef long long ac__type_sizeof_;
21259 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21266 rm -f conftest.
$ac_objext
21267 if { (ac_try
="$ac_compile"
21268 case "(($ac_try" in
21269 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21270 *) ac_try_echo=$ac_try;;
21272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21273 (eval "$ac_compile") 2>conftest.er1
21275 grep -v '^ *+' conftest.er1 >conftest.err
21277 cat conftest.err >&5
21278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21279 (exit $ac_status); } && {
21280 test -z "$ac_c_werror_flag" ||
21281 test ! -s conftest.err
21282 } && test -s conftest.$ac_objext; then
21285 cat >conftest.$ac_ext <<_ACEOF
21288 cat confdefs.h >>conftest.$ac_ext
21289 cat >>conftest.$ac_ext <<_ACEOF
21290 /* end confdefs.h. */
21291 $ac_includes_default
21292 typedef long long ac__type_sizeof_;
21296 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21303 rm -f conftest.$ac_objext
21304 if { (ac_try="$ac_compile"
21305 case "(($ac_try" in
21306 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21307 *) ac_try_echo
=$ac_try;;
21309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21310 (eval "$ac_compile") 2>conftest.er1
21312 grep -v '^ *+' conftest.er1
>conftest.err
21314 cat conftest.err
>&5
21315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21316 (exit $ac_status); } && {
21317 test -z "$ac_c_werror_flag" ||
21318 test ! -s conftest.err
21319 } && test -s conftest.
$ac_objext; then
21320 ac_lo
=$ac_mid; break
21322 echo "$as_me: failed program was:" >&5
21323 sed 's/^/| /' conftest.
$ac_ext >&5
21325 ac_hi
=`expr '(' $ac_mid ')' - 1`
21326 if test $ac_mid -le $ac_hi; then
21330 ac_mid
=`expr 2 '*' $ac_mid`
21333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21336 echo "$as_me: failed program was:" >&5
21337 sed 's/^/| /' conftest.
$ac_ext >&5
21342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21346 # Binary search between lo and hi bounds.
21347 while test "x$ac_lo" != "x$ac_hi"; do
21348 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21349 cat >conftest.
$ac_ext <<_ACEOF
21352 cat confdefs.h
>>conftest.
$ac_ext
21353 cat >>conftest.
$ac_ext <<_ACEOF
21354 /* end confdefs.h. */
21355 $ac_includes_default
21356 typedef long long ac__type_sizeof_;
21360 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21367 rm -f conftest.
$ac_objext
21368 if { (ac_try
="$ac_compile"
21369 case "(($ac_try" in
21370 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21371 *) ac_try_echo=$ac_try;;
21373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21374 (eval "$ac_compile") 2>conftest.er1
21376 grep -v '^ *+' conftest.er1 >conftest.err
21378 cat conftest.err >&5
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); } && {
21381 test -z "$ac_c_werror_flag" ||
21382 test ! -s conftest.err
21383 } && test -s conftest.$ac_objext; then
21386 echo "$as_me: failed program was:" >&5
21387 sed 's/^/| /' conftest.$ac_ext >&5
21389 ac_lo=`expr '(' $ac_mid ')' + 1`
21392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21395 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21396 '') if test "$ac_cv_type_long_long" = yes; then
21397 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21398 See \`config.log
' for more details." >&5
21399 echo "$as_me: error: cannot compute sizeof (long long)
21400 See \`config.log' for more details.
" >&2;}
21401 { (exit 77); exit 77; }; }
21403 ac_cv_sizeof_long_long=0
21407 cat >conftest.$ac_ext <<_ACEOF
21410 cat confdefs.h >>conftest.$ac_ext
21411 cat >>conftest.$ac_ext <<_ACEOF
21412 /* end confdefs.h. */
21413 $ac_includes_default
21414 typedef long long ac__type_sizeof_;
21415 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21416 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21418 #include <stdlib.h>
21423 FILE *f = fopen ("conftest.val
", "w
");
21426 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21428 long int i = longval ();
21429 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21431 fprintf (f, "%ld
\n", i);
21435 unsigned long int i = ulongval ();
21436 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21438 fprintf (f, "%lu
\n", i);
21440 return ferror (f) || fclose (f) != 0;
21446 rm -f conftest$ac_exeext
21447 if { (ac_try="$ac_link"
21448 case "(($ac_try" in
21449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21450 *) ac_try_echo=$ac_try;;
21452 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21453 (eval "$ac_link") 2>&5
21455 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21456 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21457 { (case "(($ac_try" in
21458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21459 *) ac_try_echo=$ac_try;;
21461 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21462 (eval "$ac_try") 2>&5
21464 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21465 (exit $ac_status); }; }; then
21466 ac_cv_sizeof_long_long=`cat conftest.val`
21468 echo "$as_me: program exited with status
$ac_status" >&5
21469 echo "$as_me: failed program was
:" >&5
21470 sed 's/^/| /' conftest.$ac_ext >&5
21472 ( exit $ac_status )
21473 if test "$ac_cv_type_long_long" = yes; then
21474 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21475 See \
`config.log' for more details." >&5
21476 echo "$as_me: error: cannot compute sizeof (long long)
21477 See \`config.log
' for more details." >&2;}
21478 { (exit 77); exit 77; }; }
21480 ac_cv_sizeof_long_long=0
21483 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21487 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21488 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21492 cat >>confdefs.h <<_ACEOF
21493 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21499 { echo "$as_me:$LINENO: checking for long long" >&5
21500 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21501 if test "${ac_cv_type_long_long+set}" = set; then
21502 echo $ECHO_N "(cached) $ECHO_C" >&6
21504 cat >conftest.$ac_ext <<_ACEOF
21507 cat confdefs.h >>conftest.$ac_ext
21508 cat >>conftest.$ac_ext <<_ACEOF
21509 /* end confdefs.h. */
21510 $ac_includes_default
21511 typedef long long ac__type_new_;
21515 if ((ac__type_new_ *) 0)
21517 if (sizeof (ac__type_new_))
21523 rm -f conftest.$ac_objext
21524 if { (ac_try="$ac_compile"
21525 case "(($ac_try" in
21526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21527 *) ac_try_echo=$ac_try;;
21529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21530 (eval "$ac_compile") 2>conftest.er1
21532 grep -v '^
*+' conftest.er1 >conftest.err
21534 cat conftest.err >&5
21535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536 (exit $ac_status); } && {
21537 test -z "$ac_c_werror_flag" ||
21538 test ! -s conftest.err
21539 } && test -s conftest.$ac_objext; then
21540 ac_cv_type_long_long=yes
21542 echo "$as_me: failed program was:" >&5
21543 sed 's
/^
/| /' conftest.$ac_ext >&5
21545 ac_cv_type_long_long=no
21548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21550 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21551 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21553 # The cast to long int works around a bug in the HP C Compiler
21554 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21555 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21556 # This bug is HP SR number 8606223364.
21557 { echo "$as_me:$LINENO: checking size of long long" >&5
21558 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21559 if test "${ac_cv_sizeof_long_long+set}" = set; then
21560 echo $ECHO_N "(cached) $ECHO_C" >&6
21562 if test "$cross_compiling" = yes; then
21563 # Depending upon the size, compute the lo and hi bounds.
21564 cat >conftest.
$ac_ext <<_ACEOF
21567 cat confdefs.h
>>conftest.
$ac_ext
21568 cat >>conftest.
$ac_ext <<_ACEOF
21569 /* end confdefs.h. */
21570 $ac_includes_default
21571 typedef long long ac__type_sizeof_;
21575 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21582 rm -f conftest.
$ac_objext
21583 if { (ac_try
="$ac_compile"
21584 case "(($ac_try" in
21585 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21586 *) ac_try_echo=$ac_try;;
21588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21589 (eval "$ac_compile") 2>conftest.er1
21591 grep -v '^ *+' conftest.er1 >conftest.err
21593 cat conftest.err >&5
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); } && {
21596 test -z "$ac_c_werror_flag" ||
21597 test ! -s conftest.err
21598 } && test -s conftest.$ac_objext; then
21601 cat >conftest.$ac_ext <<_ACEOF
21604 cat confdefs.h >>conftest.$ac_ext
21605 cat >>conftest.$ac_ext <<_ACEOF
21606 /* end confdefs.h. */
21607 $ac_includes_default
21608 typedef long long ac__type_sizeof_;
21612 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21619 rm -f conftest.$ac_objext
21620 if { (ac_try="$ac_compile"
21621 case "(($ac_try" in
21622 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21623 *) ac_try_echo
=$ac_try;;
21625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21626 (eval "$ac_compile") 2>conftest.er1
21628 grep -v '^ *+' conftest.er1
>conftest.err
21630 cat conftest.err
>&5
21631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21632 (exit $ac_status); } && {
21633 test -z "$ac_c_werror_flag" ||
21634 test ! -s conftest.err
21635 } && test -s conftest.
$ac_objext; then
21636 ac_hi
=$ac_mid; break
21638 echo "$as_me: failed program was:" >&5
21639 sed 's/^/| /' conftest.
$ac_ext >&5
21641 ac_lo
=`expr $ac_mid + 1`
21642 if test $ac_lo -le $ac_mid; then
21646 ac_mid
=`expr 2 '*' $ac_mid + 1`
21649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21652 echo "$as_me: failed program was:" >&5
21653 sed 's/^/| /' conftest.
$ac_ext >&5
21655 cat >conftest.
$ac_ext <<_ACEOF
21658 cat confdefs.h
>>conftest.
$ac_ext
21659 cat >>conftest.
$ac_ext <<_ACEOF
21660 /* end confdefs.h. */
21661 $ac_includes_default
21662 typedef long long ac__type_sizeof_;
21666 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21673 rm -f conftest.
$ac_objext
21674 if { (ac_try
="$ac_compile"
21675 case "(($ac_try" in
21676 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21677 *) ac_try_echo=$ac_try;;
21679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21680 (eval "$ac_compile") 2>conftest.er1
21682 grep -v '^ *+' conftest.er1 >conftest.err
21684 cat conftest.err >&5
21685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21686 (exit $ac_status); } && {
21687 test -z "$ac_c_werror_flag" ||
21688 test ! -s conftest.err
21689 } && test -s conftest.$ac_objext; then
21692 cat >conftest.$ac_ext <<_ACEOF
21695 cat confdefs.h >>conftest.$ac_ext
21696 cat >>conftest.$ac_ext <<_ACEOF
21697 /* end confdefs.h. */
21698 $ac_includes_default
21699 typedef long long ac__type_sizeof_;
21703 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21710 rm -f conftest.$ac_objext
21711 if { (ac_try="$ac_compile"
21712 case "(($ac_try" in
21713 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21714 *) ac_try_echo
=$ac_try;;
21716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21717 (eval "$ac_compile") 2>conftest.er1
21719 grep -v '^ *+' conftest.er1
>conftest.err
21721 cat conftest.err
>&5
21722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723 (exit $ac_status); } && {
21724 test -z "$ac_c_werror_flag" ||
21725 test ! -s conftest.err
21726 } && test -s conftest.
$ac_objext; then
21727 ac_lo
=$ac_mid; break
21729 echo "$as_me: failed program was:" >&5
21730 sed 's/^/| /' conftest.
$ac_ext >&5
21732 ac_hi
=`expr '(' $ac_mid ')' - 1`
21733 if test $ac_mid -le $ac_hi; then
21737 ac_mid
=`expr 2 '*' $ac_mid`
21740 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21743 echo "$as_me: failed program was:" >&5
21744 sed 's/^/| /' conftest.
$ac_ext >&5
21749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21753 # Binary search between lo and hi bounds.
21754 while test "x$ac_lo" != "x$ac_hi"; do
21755 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21756 cat >conftest.
$ac_ext <<_ACEOF
21759 cat confdefs.h
>>conftest.
$ac_ext
21760 cat >>conftest.
$ac_ext <<_ACEOF
21761 /* end confdefs.h. */
21762 $ac_includes_default
21763 typedef long long ac__type_sizeof_;
21767 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21774 rm -f conftest.
$ac_objext
21775 if { (ac_try
="$ac_compile"
21776 case "(($ac_try" in
21777 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21778 *) ac_try_echo=$ac_try;;
21780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21781 (eval "$ac_compile") 2>conftest.er1
21783 grep -v '^ *+' conftest.er1 >conftest.err
21785 cat conftest.err >&5
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); } && {
21788 test -z "$ac_c_werror_flag" ||
21789 test ! -s conftest.err
21790 } && test -s conftest.$ac_objext; then
21793 echo "$as_me: failed program was:" >&5
21794 sed 's/^/| /' conftest.$ac_ext >&5
21796 ac_lo=`expr '(' $ac_mid ')' + 1`
21799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21802 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21803 '') if test "$ac_cv_type_long_long" = yes; then
21804 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21805 See \`config.log
' for more details." >&5
21806 echo "$as_me: error: cannot compute sizeof (long long)
21807 See \`config.log' for more details.
" >&2;}
21808 { (exit 77); exit 77; }; }
21810 ac_cv_sizeof_long_long=0
21814 cat >conftest.$ac_ext <<_ACEOF
21817 cat confdefs.h >>conftest.$ac_ext
21818 cat >>conftest.$ac_ext <<_ACEOF
21819 /* end confdefs.h. */
21820 $ac_includes_default
21821 typedef long long ac__type_sizeof_;
21822 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21823 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21825 #include <stdlib.h>
21830 FILE *f = fopen ("conftest.val
", "w
");
21833 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21835 long int i = longval ();
21836 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21838 fprintf (f, "%ld
\n", i);
21842 unsigned long int i = ulongval ();
21843 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21845 fprintf (f, "%lu
\n", i);
21847 return ferror (f) || fclose (f) != 0;
21853 rm -f conftest$ac_exeext
21854 if { (ac_try="$ac_link"
21855 case "(($ac_try" in
21856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21857 *) ac_try_echo=$ac_try;;
21859 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21860 (eval "$ac_link") 2>&5
21862 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21863 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21864 { (case "(($ac_try" in
21865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21866 *) ac_try_echo=$ac_try;;
21868 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21869 (eval "$ac_try") 2>&5
21871 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21872 (exit $ac_status); }; }; then
21873 ac_cv_sizeof_long_long=`cat conftest.val`
21875 echo "$as_me: program exited with status
$ac_status" >&5
21876 echo "$as_me: failed program was
:" >&5
21877 sed 's/^/| /' conftest.$ac_ext >&5
21879 ( exit $ac_status )
21880 if test "$ac_cv_type_long_long" = yes; then
21881 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21882 See \
`config.log' for more details." >&5
21883 echo "$as_me: error: cannot compute sizeof (long long)
21884 See \`config.log
' for more details." >&2;}
21885 { (exit 77); exit 77; }; }
21887 ac_cv_sizeof_long_long=0
21890 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21894 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21895 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21899 cat >>confdefs.h <<_ACEOF
21900 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21904 if test "$ac_cv_sizeof_long_long" != 0; then
21905 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21909 { echo "$as_me:$LINENO: checking for long long" >&5
21910 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21911 if test "${ac_cv_type_long_long+set}" = set; then
21912 echo $ECHO_N "(cached) $ECHO_C" >&6
21914 cat >conftest.$ac_ext <<_ACEOF
21917 cat confdefs.h >>conftest.$ac_ext
21918 cat >>conftest.$ac_ext <<_ACEOF
21919 /* end confdefs.h. */
21920 $ac_includes_default
21921 typedef long long ac__type_new_;
21925 if ((ac__type_new_ *) 0)
21927 if (sizeof (ac__type_new_))
21933 rm -f conftest.$ac_objext
21934 if { (ac_try="$ac_compile"
21935 case "(($ac_try" in
21936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21937 *) ac_try_echo=$ac_try;;
21939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21940 (eval "$ac_compile") 2>conftest.er1
21942 grep -v '^
*+' conftest.er1 >conftest.err
21944 cat conftest.err >&5
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); } && {
21947 test -z "$ac_c_werror_flag" ||
21948 test ! -s conftest.err
21949 } && test -s conftest.$ac_objext; then
21950 ac_cv_type_long_long=yes
21952 echo "$as_me: failed program was:" >&5
21953 sed 's
/^
/| /' conftest.$ac_ext >&5
21955 ac_cv_type_long_long=no
21958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21960 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21961 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21963 # The cast to long int works around a bug in the HP C Compiler
21964 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21965 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21966 # This bug is HP SR number 8606223364.
21967 { echo "$as_me:$LINENO: checking size of long long" >&5
21968 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21969 if test "${ac_cv_sizeof_long_long+set}" = set; then
21970 echo $ECHO_N "(cached) $ECHO_C" >&6
21972 if test "$cross_compiling" = yes; then
21973 # Depending upon the size, compute the lo and hi bounds.
21974 cat >conftest.
$ac_ext <<_ACEOF
21977 cat confdefs.h
>>conftest.
$ac_ext
21978 cat >>conftest.
$ac_ext <<_ACEOF
21979 /* end confdefs.h. */
21980 $ac_includes_default
21981 typedef long long ac__type_sizeof_;
21985 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21992 rm -f conftest.
$ac_objext
21993 if { (ac_try
="$ac_compile"
21994 case "(($ac_try" in
21995 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21996 *) ac_try_echo=$ac_try;;
21998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21999 (eval "$ac_compile") 2>conftest.er1
22001 grep -v '^ *+' conftest.er1 >conftest.err
22003 cat conftest.err >&5
22004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22005 (exit $ac_status); } && {
22006 test -z "$ac_c_werror_flag" ||
22007 test ! -s conftest.err
22008 } && test -s conftest.$ac_objext; then
22011 cat >conftest.$ac_ext <<_ACEOF
22014 cat confdefs.h >>conftest.$ac_ext
22015 cat >>conftest.$ac_ext <<_ACEOF
22016 /* end confdefs.h. */
22017 $ac_includes_default
22018 typedef long long ac__type_sizeof_;
22022 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22029 rm -f conftest.$ac_objext
22030 if { (ac_try="$ac_compile"
22031 case "(($ac_try" in
22032 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22033 *) ac_try_echo
=$ac_try;;
22035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22036 (eval "$ac_compile") 2>conftest.er1
22038 grep -v '^ *+' conftest.er1
>conftest.err
22040 cat conftest.err
>&5
22041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22042 (exit $ac_status); } && {
22043 test -z "$ac_c_werror_flag" ||
22044 test ! -s conftest.err
22045 } && test -s conftest.
$ac_objext; then
22046 ac_hi
=$ac_mid; break
22048 echo "$as_me: failed program was:" >&5
22049 sed 's/^/| /' conftest.
$ac_ext >&5
22051 ac_lo
=`expr $ac_mid + 1`
22052 if test $ac_lo -le $ac_mid; then
22056 ac_mid
=`expr 2 '*' $ac_mid + 1`
22059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22062 echo "$as_me: failed program was:" >&5
22063 sed 's/^/| /' conftest.
$ac_ext >&5
22065 cat >conftest.
$ac_ext <<_ACEOF
22068 cat confdefs.h
>>conftest.
$ac_ext
22069 cat >>conftest.
$ac_ext <<_ACEOF
22070 /* end confdefs.h. */
22071 $ac_includes_default
22072 typedef long long ac__type_sizeof_;
22076 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22083 rm -f conftest.
$ac_objext
22084 if { (ac_try
="$ac_compile"
22085 case "(($ac_try" in
22086 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22087 *) ac_try_echo=$ac_try;;
22089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22090 (eval "$ac_compile") 2>conftest.er1
22092 grep -v '^ *+' conftest.er1 >conftest.err
22094 cat conftest.err >&5
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); } && {
22097 test -z "$ac_c_werror_flag" ||
22098 test ! -s conftest.err
22099 } && test -s conftest.$ac_objext; then
22102 cat >conftest.$ac_ext <<_ACEOF
22105 cat confdefs.h >>conftest.$ac_ext
22106 cat >>conftest.$ac_ext <<_ACEOF
22107 /* end confdefs.h. */
22108 $ac_includes_default
22109 typedef long long ac__type_sizeof_;
22113 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22120 rm -f conftest.$ac_objext
22121 if { (ac_try="$ac_compile"
22122 case "(($ac_try" in
22123 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22124 *) ac_try_echo
=$ac_try;;
22126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22127 (eval "$ac_compile") 2>conftest.er1
22129 grep -v '^ *+' conftest.er1
>conftest.err
22131 cat conftest.err
>&5
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); } && {
22134 test -z "$ac_c_werror_flag" ||
22135 test ! -s conftest.err
22136 } && test -s conftest.
$ac_objext; then
22137 ac_lo
=$ac_mid; break
22139 echo "$as_me: failed program was:" >&5
22140 sed 's/^/| /' conftest.
$ac_ext >&5
22142 ac_hi
=`expr '(' $ac_mid ')' - 1`
22143 if test $ac_mid -le $ac_hi; then
22147 ac_mid
=`expr 2 '*' $ac_mid`
22150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22153 echo "$as_me: failed program was:" >&5
22154 sed 's/^/| /' conftest.
$ac_ext >&5
22159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22163 # Binary search between lo and hi bounds.
22164 while test "x$ac_lo" != "x$ac_hi"; do
22165 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22166 cat >conftest.
$ac_ext <<_ACEOF
22169 cat confdefs.h
>>conftest.
$ac_ext
22170 cat >>conftest.
$ac_ext <<_ACEOF
22171 /* end confdefs.h. */
22172 $ac_includes_default
22173 typedef long long ac__type_sizeof_;
22177 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22184 rm -f conftest.
$ac_objext
22185 if { (ac_try
="$ac_compile"
22186 case "(($ac_try" in
22187 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22188 *) ac_try_echo=$ac_try;;
22190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22191 (eval "$ac_compile") 2>conftest.er1
22193 grep -v '^ *+' conftest.er1 >conftest.err
22195 cat conftest.err >&5
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); } && {
22198 test -z "$ac_c_werror_flag" ||
22199 test ! -s conftest.err
22200 } && test -s conftest.$ac_objext; then
22203 echo "$as_me: failed program was:" >&5
22204 sed 's/^/| /' conftest.$ac_ext >&5
22206 ac_lo=`expr '(' $ac_mid ')' + 1`
22209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22212 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22213 '') if test "$ac_cv_type_long_long" = yes; then
22214 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22215 See \`config.log
' for more details." >&5
22216 echo "$as_me: error: cannot compute sizeof (long long)
22217 See \`config.log' for more details.
" >&2;}
22218 { (exit 77); exit 77; }; }
22220 ac_cv_sizeof_long_long=0
22224 cat >conftest.$ac_ext <<_ACEOF
22227 cat confdefs.h >>conftest.$ac_ext
22228 cat >>conftest.$ac_ext <<_ACEOF
22229 /* end confdefs.h. */
22230 $ac_includes_default
22231 typedef long long ac__type_sizeof_;
22232 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22233 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22235 #include <stdlib.h>
22240 FILE *f = fopen ("conftest.val
", "w
");
22243 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22245 long int i = longval ();
22246 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22248 fprintf (f, "%ld
\n", i);
22252 unsigned long int i = ulongval ();
22253 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22255 fprintf (f, "%lu
\n", i);
22257 return ferror (f) || fclose (f) != 0;
22263 rm -f conftest$ac_exeext
22264 if { (ac_try="$ac_link"
22265 case "(($ac_try" in
22266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22267 *) ac_try_echo=$ac_try;;
22269 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22270 (eval "$ac_link") 2>&5
22272 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22273 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22274 { (case "(($ac_try" in
22275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22276 *) ac_try_echo=$ac_try;;
22278 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22279 (eval "$ac_try") 2>&5
22281 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22282 (exit $ac_status); }; }; then
22283 ac_cv_sizeof_long_long=`cat conftest.val`
22285 echo "$as_me: program exited with status
$ac_status" >&5
22286 echo "$as_me: failed program was
:" >&5
22287 sed 's/^/| /' conftest.$ac_ext >&5
22289 ( exit $ac_status )
22290 if test "$ac_cv_type_long_long" = yes; then
22291 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22292 See \
`config.log' for more details." >&5
22293 echo "$as_me: error: cannot compute sizeof (long long)
22294 See \`config.log
' for more details." >&2;}
22295 { (exit 77); exit 77; }; }
22297 ac_cv_sizeof_long_long=0
22300 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22304 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22305 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22309 cat >>confdefs.h <<_ACEOF
22310 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22316 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22317 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22318 if test "${ac_cv_type_wchar_t+set}" = set; then
22319 echo $ECHO_N "(cached) $ECHO_C" >&6
22321 cat >conftest.$ac_ext <<_ACEOF
22324 cat confdefs.h >>conftest.$ac_ext
22325 cat >>conftest.$ac_ext <<_ACEOF
22326 /* end confdefs.h. */
22328 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22329 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22330 # error "fake wchar_t"
22332 #ifdef HAVE_WCHAR_H
22334 # include <stddef.h>
22336 # include <wchar.h>
22338 #ifdef HAVE_STDLIB_H
22339 # include <stdlib.h>
22345 typedef wchar_t ac__type_new_
;
22349 if ((ac__type_new_
*) 0)
22351 if (sizeof
(ac__type_new_
))
22357 rm -f conftest.
$ac_objext
22358 if { (ac_try
="$ac_compile"
22359 case "(($ac_try" in
22360 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22361 *) ac_try_echo=$ac_try;;
22363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22364 (eval "$ac_compile") 2>conftest.er1
22366 grep -v '^ *+' conftest.er1 >conftest.err
22368 cat conftest.err >&5
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); } && {
22371 test -z "$ac_c_werror_flag" ||
22372 test ! -s conftest.err
22373 } && test -s conftest.$ac_objext; then
22374 ac_cv_type_wchar_t=yes
22376 echo "$as_me: failed program was:" >&5
22377 sed 's/^/| /' conftest.$ac_ext >&5
22379 ac_cv_type_wchar_t=no
22382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22384 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22385 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22387 # The cast to long int works around a bug in the HP C Compiler
22388 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22389 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22390 # This bug is HP SR number 8606223364.
22391 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22392 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22393 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22394 echo $ECHO_N "(cached) $ECHO_C" >&6
22396 if test "$cross_compiling" = yes; then
22397 # Depending upon the size, compute the lo and hi bounds.
22398 cat >conftest.$ac_ext <<_ACEOF
22401 cat confdefs.h >>conftest.$ac_ext
22402 cat >>conftest.$ac_ext <<_ACEOF
22403 /* end confdefs.h. */
22405 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22406 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22407 # error "fake wchar_t"
22409 #ifdef HAVE_WCHAR_H
22411 # include <stddef.h>
22413 # include <wchar.h>
22415 #ifdef HAVE_STDLIB_H
22416 # include <stdlib.h>
22422 typedef wchar_t ac__type_sizeof_
;
22426 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22433 rm -f conftest.
$ac_objext
22434 if { (ac_try
="$ac_compile"
22435 case "(($ac_try" in
22436 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22437 *) ac_try_echo=$ac_try;;
22439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22440 (eval "$ac_compile") 2>conftest.er1
22442 grep -v '^ *+' conftest.er1 >conftest.err
22444 cat conftest.err >&5
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); } && {
22447 test -z "$ac_c_werror_flag" ||
22448 test ! -s conftest.err
22449 } && test -s conftest.$ac_objext; then
22452 cat >conftest.$ac_ext <<_ACEOF
22455 cat confdefs.h >>conftest.$ac_ext
22456 cat >>conftest.$ac_ext <<_ACEOF
22457 /* end confdefs.h. */
22459 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22460 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22461 # error "fake wchar_t"
22463 #ifdef HAVE_WCHAR_H
22465 # include <stddef.h>
22467 # include <wchar.h>
22469 #ifdef HAVE_STDLIB_H
22470 # include <stdlib.h>
22476 typedef wchar_t ac__type_sizeof_;
22480 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22487 rm -f conftest.$ac_objext
22488 if { (ac_try="$ac_compile"
22489 case "(($ac_try" in
22490 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22491 *) ac_try_echo
=$ac_try;;
22493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22494 (eval "$ac_compile") 2>conftest.er1
22496 grep -v '^ *+' conftest.er1
>conftest.err
22498 cat conftest.err
>&5
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); } && {
22501 test -z "$ac_c_werror_flag" ||
22502 test ! -s conftest.err
22503 } && test -s conftest.
$ac_objext; then
22504 ac_hi
=$ac_mid; break
22506 echo "$as_me: failed program was:" >&5
22507 sed 's/^/| /' conftest.
$ac_ext >&5
22509 ac_lo
=`expr $ac_mid + 1`
22510 if test $ac_lo -le $ac_mid; then
22514 ac_mid
=`expr 2 '*' $ac_mid + 1`
22517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22520 echo "$as_me: failed program was:" >&5
22521 sed 's/^/| /' conftest.
$ac_ext >&5
22523 cat >conftest.
$ac_ext <<_ACEOF
22526 cat confdefs.h
>>conftest.
$ac_ext
22527 cat >>conftest.
$ac_ext <<_ACEOF
22528 /* end confdefs.h. */
22530 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22531 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22532 # error "fake wchar_t"
22534 #ifdef HAVE_WCHAR_H
22536 # include <stddef.h>
22538 # include <wchar.h>
22540 #ifdef HAVE_STDLIB_H
22541 # include <stdlib.h>
22547 typedef wchar_t ac__type_sizeof_;
22551 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22558 rm -f conftest.
$ac_objext
22559 if { (ac_try
="$ac_compile"
22560 case "(($ac_try" in
22561 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22562 *) ac_try_echo=$ac_try;;
22564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22565 (eval "$ac_compile") 2>conftest.er1
22567 grep -v '^ *+' conftest.er1 >conftest.err
22569 cat conftest.err >&5
22570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22571 (exit $ac_status); } && {
22572 test -z "$ac_c_werror_flag" ||
22573 test ! -s conftest.err
22574 } && test -s conftest.$ac_objext; then
22577 cat >conftest.$ac_ext <<_ACEOF
22580 cat confdefs.h >>conftest.$ac_ext
22581 cat >>conftest.$ac_ext <<_ACEOF
22582 /* end confdefs.h. */
22584 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22585 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22586 # error "fake wchar_t"
22588 #ifdef HAVE_WCHAR_H
22590 # include <stddef.h>
22592 # include <wchar.h>
22594 #ifdef HAVE_STDLIB_H
22595 # include <stdlib.h>
22601 typedef wchar_t ac__type_sizeof_;
22605 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22612 rm -f conftest.$ac_objext
22613 if { (ac_try="$ac_compile"
22614 case "(($ac_try" in
22615 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22616 *) ac_try_echo
=$ac_try;;
22618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22619 (eval "$ac_compile") 2>conftest.er1
22621 grep -v '^ *+' conftest.er1
>conftest.err
22623 cat conftest.err
>&5
22624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625 (exit $ac_status); } && {
22626 test -z "$ac_c_werror_flag" ||
22627 test ! -s conftest.err
22628 } && test -s conftest.
$ac_objext; then
22629 ac_lo
=$ac_mid; break
22631 echo "$as_me: failed program was:" >&5
22632 sed 's/^/| /' conftest.
$ac_ext >&5
22634 ac_hi
=`expr '(' $ac_mid ')' - 1`
22635 if test $ac_mid -le $ac_hi; then
22639 ac_mid
=`expr 2 '*' $ac_mid`
22642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22645 echo "$as_me: failed program was:" >&5
22646 sed 's/^/| /' conftest.
$ac_ext >&5
22651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22655 # Binary search between lo and hi bounds.
22656 while test "x$ac_lo" != "x$ac_hi"; do
22657 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22658 cat >conftest.
$ac_ext <<_ACEOF
22661 cat confdefs.h
>>conftest.
$ac_ext
22662 cat >>conftest.
$ac_ext <<_ACEOF
22663 /* end confdefs.h. */
22665 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22666 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22667 # error "fake wchar_t"
22669 #ifdef HAVE_WCHAR_H
22671 # include <stddef.h>
22673 # include <wchar.h>
22675 #ifdef HAVE_STDLIB_H
22676 # include <stdlib.h>
22682 typedef wchar_t ac__type_sizeof_;
22686 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22693 rm -f conftest.
$ac_objext
22694 if { (ac_try
="$ac_compile"
22695 case "(($ac_try" in
22696 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22697 *) ac_try_echo=$ac_try;;
22699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22700 (eval "$ac_compile") 2>conftest.er1
22702 grep -v '^ *+' conftest.er1 >conftest.err
22704 cat conftest.err >&5
22705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22706 (exit $ac_status); } && {
22707 test -z "$ac_c_werror_flag" ||
22708 test ! -s conftest.err
22709 } && test -s conftest.$ac_objext; then
22712 echo "$as_me: failed program was:" >&5
22713 sed 's/^/| /' conftest.$ac_ext >&5
22715 ac_lo=`expr '(' $ac_mid ')' + 1`
22718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22721 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22722 '') if test "$ac_cv_type_wchar_t" = yes; then
22723 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22724 See \`config.log
' for more details." >&5
22725 echo "$as_me: error: cannot compute sizeof (wchar_t)
22726 See \`config.log' for more details.
" >&2;}
22727 { (exit 77); exit 77; }; }
22729 ac_cv_sizeof_wchar_t=0
22733 cat >conftest.$ac_ext <<_ACEOF
22736 cat confdefs.h >>conftest.$ac_ext
22737 cat >>conftest.$ac_ext <<_ACEOF
22738 /* end confdefs.h. */
22740 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22741 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22742 # error "fake wchar_t
"
22744 #ifdef HAVE_WCHAR_H
22746 # include <stddef.h>
22748 # include <wchar.h>
22750 #ifdef HAVE_STDLIB_H
22751 # include <stdlib.h>
22757 typedef wchar_t ac__type_sizeof_;
22758 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22759 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22761 #include <stdlib.h>
22766 FILE *f = fopen ("conftest.val
", "w
");
22769 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22771 long int i = longval ();
22772 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22774 fprintf (f, "%ld
\n", i);
22778 unsigned long int i = ulongval ();
22779 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22781 fprintf (f, "%lu
\n", i);
22783 return ferror (f) || fclose (f) != 0;
22789 rm -f conftest$ac_exeext
22790 if { (ac_try="$ac_link"
22791 case "(($ac_try" in
22792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22793 *) ac_try_echo=$ac_try;;
22795 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22796 (eval "$ac_link") 2>&5
22798 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22799 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22800 { (case "(($ac_try" in
22801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22802 *) ac_try_echo=$ac_try;;
22804 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22805 (eval "$ac_try") 2>&5
22807 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22808 (exit $ac_status); }; }; then
22809 ac_cv_sizeof_wchar_t=`cat conftest.val`
22811 echo "$as_me: program exited with status
$ac_status" >&5
22812 echo "$as_me: failed program was
:" >&5
22813 sed 's/^/| /' conftest.$ac_ext >&5
22815 ( exit $ac_status )
22816 if test "$ac_cv_type_wchar_t" = yes; then
22817 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
22818 See \
`config.log' for more details." >&5
22819 echo "$as_me: error: cannot compute sizeof (wchar_t)
22820 See \`config.log
' for more details." >&2;}
22821 { (exit 77); exit 77; }; }
22823 ac_cv_sizeof_wchar_t=0
22826 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22830 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22831 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22835 cat >>confdefs.h <<_ACEOF
22836 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22840 if test "$ac_cv_sizeof_wchar_t" != 0; then
22846 { echo "$as_me:$LINENO: checking for va_copy" >&5
22847 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22848 if test "${wx_cv_func_va_copy+set}" = set; then
22849 echo $ECHO_N "(cached) $ECHO_C" >&6
22853 ac_cpp='$CXXCPP $CPPFLAGS'
22854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22855 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22858 cat >conftest.$ac_ext <<_ACEOF
22860 #include <stdarg.h>
22861 void foo(char *f, ...)
22875 rm -f conftest.$ac_objext conftest$ac_exeext
22876 if { (ac_try="$ac_link"
22877 case "(($ac_try" in
22878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22879 *) ac_try_echo=$ac_try;;
22881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22882 (eval "$ac_link") 2>conftest.er1
22884 grep -v '^
*+' conftest.er1 >conftest.err
22886 cat conftest.err >&5
22887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22888 (exit $ac_status); } && {
22889 test -z "$ac_cxx_werror_flag" ||
22890 test ! -s conftest.err
22891 } && test -s conftest$ac_exeext &&
22892 $as_test_x conftest$ac_exeext; then
22893 wx_cv_func_va_copy=yes
22895 echo "$as_me: failed program was:" >&5
22896 sed 's
/^
/| /' conftest.$ac_ext >&5
22898 wx_cv_func_va_copy=no
22902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22903 conftest$ac_exeext conftest.$ac_ext
22905 ac_cpp='$CPP $CPPFLAGS'
22906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22907 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22913 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22914 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22916 if test $wx_cv_func_va_copy = "yes"; then
22917 cat >>confdefs.h <<\_ACEOF
22918 #define HAVE_VA_COPY 1
22922 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22923 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22924 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22925 echo $ECHO_N "(cached) $ECHO_C" >&6
22928 if test "$cross_compiling" = yes; then
22929 wx_cv_type_va_list_lvalue=yes
22932 cat >conftest.$ac_ext <<_ACEOF
22934 #include <stdarg.h>
22935 int foo(char *f, ...)
22940 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22948 return foo("hi", 17);
22951 rm -f conftest$ac_exeext
22952 if { (ac_try="$ac_link"
22953 case "(($ac_try" in
22954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22955 *) ac_try_echo=$ac_try;;
22957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22958 (eval "$ac_link") 2>&5
22960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22961 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22962 { (case "(($ac_try" in
22963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22964 *) ac_try_echo=$ac_try;;
22966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22967 (eval "$ac_try") 2>&5
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); }; }; then
22971 wx_cv_type_va_list_lvalue=yes
22973 echo "$as_me: program exited with status $ac_status" >&5
22974 echo "$as_me: failed program was:" >&5
22975 sed 's
/^
/| /' conftest.$ac_ext >&5
22977 ( exit $ac_status )
22978 wx_cv_type_va_list_lvalue=no
22980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22987 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22988 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22990 if test $wx_cv_type_va_list_lvalue != "yes"; then
22991 cat >>confdefs.h <<\_ACEOF
22992 #define VA_LIST_IS_ARRAY 1
22998 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23000 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23001 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23002 if test "${wx_cv_have_variadic_macros+set}" = set; then
23003 echo $ECHO_N "(cached) $ECHO_C" >&6
23007 ac_cpp='$CXXCPP $CPPFLAGS'
23008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23009 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23012 cat >conftest.$ac_ext <<_ACEOF
23015 cat confdefs.h >>conftest.$ac_ext
23016 cat >>conftest.$ac_ext <<_ACEOF
23017 /* end confdefs.h. */
23020 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23026 test("%s %d %p", "test", 1, 0);
23033 rm -f conftest.$ac_objext
23034 if { (ac_try="$ac_compile"
23035 case "(($ac_try" in
23036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23037 *) ac_try_echo=$ac_try;;
23039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23040 (eval "$ac_compile") 2>conftest.er1
23042 grep -v '^
*+' conftest.er1 >conftest.err
23044 cat conftest.err >&5
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); } && {
23047 test -z "$ac_cxx_werror_flag" ||
23048 test ! -s conftest.err
23049 } && test -s conftest.$ac_objext; then
23050 wx_cv_have_variadic_macros=yes
23052 echo "$as_me: failed program was:" >&5
23053 sed 's
/^
/| /' conftest.$ac_ext >&5
23055 wx_cv_have_variadic_macros=no
23059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23061 ac_cpp='$CPP $CPPFLAGS'
23062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23063 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23069 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23070 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23072 if test $wx_cv_have_variadic_macros = "yes"; then
23073 cat >>confdefs.h <<\_ACEOF
23074 #define HAVE_VARIADIC_MACROS 1
23080 # Check whether --enable-largefile was given.
23081 if test "${enable_largefile+set}" = set; then
23082 enableval=$enable_largefile;
23085 if test "$enable_largefile" != no; then
23088 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23089 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23090 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23091 echo $ECHO_N "(cached) $ECHO_C" >&6
23094 cat >conftest.$ac_ext <<_ACEOF
23097 cat confdefs.h >>conftest.$ac_ext
23098 cat >>conftest.$ac_ext <<_ACEOF
23099 /* end confdefs.h. */
23100 #define _FILE_OFFSET_BITS 64
23101 #include <sys/types.h>
23106 unsigned int field: sizeof(off_t) == 8;
23113 rm -f conftest.$ac_objext
23114 if { (ac_try="$ac_compile"
23115 case "(($ac_try" in
23116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23117 *) ac_try_echo=$ac_try;;
23119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23120 (eval "$ac_compile") 2>conftest.er1
23122 grep -v '^
*+' conftest.er1 >conftest.err
23124 cat conftest.err >&5
23125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23126 (exit $ac_status); } && {
23127 test -z "$ac_c_werror_flag" ||
23128 test ! -s conftest.err
23129 } && test -s conftest.$ac_objext; then
23130 ac_cv_sys_file_offset_bits=64
23132 echo "$as_me: failed program was:" >&5
23133 sed 's
/^
/| /' conftest.$ac_ext >&5
23135 ac_cv_sys_file_offset_bits=no
23138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23142 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23143 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23145 if test "$ac_cv_sys_file_offset_bits" != no; then
23147 cat >>confdefs.h <<_ACEOF
23148 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23153 if test "x$wx_largefile" != "xyes"; then
23155 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23156 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23157 if test "${ac_cv_sys_large_files+set}" = set; then
23158 echo $ECHO_N "(cached) $ECHO_C" >&6
23161 cat >conftest.$ac_ext <<_ACEOF
23164 cat confdefs.h >>conftest.$ac_ext
23165 cat >>conftest.$ac_ext <<_ACEOF
23166 /* end confdefs.h. */
23167 #define _LARGE_FILES 1
23168 #include <sys/types.h>
23173 unsigned int field: sizeof(off_t) == 8;
23180 rm -f conftest.$ac_objext
23181 if { (ac_try="$ac_compile"
23182 case "(($ac_try" in
23183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23184 *) ac_try_echo=$ac_try;;
23186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23187 (eval "$ac_compile") 2>conftest.er1
23189 grep -v '^
*+' conftest.er1 >conftest.err
23191 cat conftest.err >&5
23192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23193 (exit $ac_status); } && {
23194 test -z "$ac_c_werror_flag" ||
23195 test ! -s conftest.err
23196 } && test -s conftest.$ac_objext; then
23197 ac_cv_sys_large_files=1
23199 echo "$as_me: failed program was:" >&5
23200 sed 's
/^
/| /' conftest.$ac_ext >&5
23202 ac_cv_sys_large_files=no
23205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23209 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23210 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23212 if test "$ac_cv_sys_large_files" != no; then
23214 cat >>confdefs.h <<_ACEOF
23215 #define _LARGE_FILES $ac_cv_sys_large_files
23222 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23223 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23224 if test "x$wx_largefile" = "xyes"; then
23225 cat >>confdefs.h <<\_ACEOF
23226 #define HAVE_LARGEFILE_SUPPORT 1
23230 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23231 echo "${ECHO_T}$wx_largefile" >&6; }
23235 if test "x$wx_largefile" = "xyes"; then
23236 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23237 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23239 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23240 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23241 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23242 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23243 echo $ECHO_N "(cached) $ECHO_C" >&6
23247 ac_cpp='$CXXCPP $CPPFLAGS'
23248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23249 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23252 cat >conftest.$ac_ext <<_ACEOF
23255 cat confdefs.h >>conftest.$ac_ext
23256 cat >>conftest.$ac_ext <<_ACEOF
23257 /* end confdefs.h. */
23263 #ifndef __STDC_EXT__
23271 rm -f conftest.$ac_objext
23272 if { (ac_try="$ac_compile"
23273 case "(($ac_try" in
23274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23275 *) ac_try_echo=$ac_try;;
23277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23278 (eval "$ac_compile") 2>conftest.er1
23280 grep -v '^
*+' conftest.er1 >conftest.err
23282 cat conftest.err >&5
23283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23284 (exit $ac_status); } && {
23285 test -z "$ac_cxx_werror_flag" ||
23286 test ! -s conftest.err
23287 } && test -s conftest.$ac_objext; then
23288 wx_cv_STDC_EXT_required=no
23290 echo "$as_me: failed program was:" >&5
23291 sed 's
/^
/| /' conftest.$ac_ext >&5
23293 wx_cv_STDC_EXT_required=yes
23297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23299 ac_cpp='$CPP $CPPFLAGS'
23300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23301 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23307 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23308 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23309 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23310 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23314 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23316 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23317 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23318 if test "${ac_cv_sys_largefile_source+set}" = set; then
23319 echo $ECHO_N "(cached) $ECHO_C" >&6
23322 cat >conftest.$ac_ext <<_ACEOF
23325 cat confdefs.h >>conftest.$ac_ext
23326 cat >>conftest.$ac_ext <<_ACEOF
23327 /* end confdefs.h. */
23328 #include <sys/types.h> /* for off_t */
23333 int (*fp) (FILE *, off_t, int) = fseeko;
23334 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23339 rm -f conftest.$ac_objext conftest$ac_exeext
23340 if { (ac_try="$ac_link"
23341 case "(($ac_try" in
23342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23343 *) ac_try_echo=$ac_try;;
23345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23346 (eval "$ac_link") 2>conftest.er1
23348 grep -v '^
*+' conftest.er1 >conftest.err
23350 cat conftest.err >&5
23351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23352 (exit $ac_status); } && {
23353 test -z "$ac_c_werror_flag" ||
23354 test ! -s conftest.err
23355 } && test -s conftest$ac_exeext &&
23356 $as_test_x conftest$ac_exeext; then
23357 ac_cv_sys_largefile_source=no; break
23359 echo "$as_me: failed program was:" >&5
23360 sed 's
/^
/| /' conftest.$ac_ext >&5
23365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23366 conftest$ac_exeext conftest.$ac_ext
23367 cat >conftest.$ac_ext <<_ACEOF
23370 cat confdefs.h >>conftest.$ac_ext
23371 cat >>conftest.$ac_ext <<_ACEOF
23372 /* end confdefs.h. */
23373 #define _LARGEFILE_SOURCE 1
23374 #include <sys/types.h> /* for off_t */
23379 int (*fp) (FILE *, off_t, int) = fseeko;
23380 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23385 rm -f conftest.$ac_objext conftest$ac_exeext
23386 if { (ac_try="$ac_link"
23387 case "(($ac_try" in
23388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23389 *) ac_try_echo=$ac_try;;
23391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23392 (eval "$ac_link") 2>conftest.er1
23394 grep -v '^
*+' conftest.er1 >conftest.err
23396 cat conftest.err >&5
23397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23398 (exit $ac_status); } && {
23399 test -z "$ac_c_werror_flag" ||
23400 test ! -s conftest.err
23401 } && test -s conftest$ac_exeext &&
23402 $as_test_x conftest$ac_exeext; then
23403 ac_cv_sys_largefile_source=1; break
23405 echo "$as_me: failed program was:" >&5
23406 sed 's
/^
/| /' conftest.$ac_ext >&5
23411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23412 conftest$ac_exeext conftest.$ac_ext
23413 ac_cv_sys_largefile_source=unknown
23417 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23418 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23419 case $ac_cv_sys_largefile_source in #(
23422 cat >>confdefs.h <<_ACEOF
23423 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23429 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23430 # in glibc 2.1.3, but that breaks too many other things.
23431 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23432 if test $ac_cv_sys_largefile_source != unknown; then
23434 cat >>confdefs.h <<\_ACEOF
23435 #define HAVE_FSEEKO 1
23440 if test "$ac_cv_sys_largefile_source" != no; then
23441 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23445 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23446 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23447 if test "${ac_cv_c_bigendian+set}" = set; then
23448 echo $ECHO_N "(cached) $ECHO_C" >&6
23450 ac_cv_c_bigendian=unknown
23451 # See if sys/param.h defines the BYTE_ORDER macro.
23452 cat >conftest.$ac_ext <<_ACEOF
23455 cat confdefs.h >>conftest.$ac_ext
23456 cat >>conftest.$ac_ext <<_ACEOF
23457 /* end confdefs.h. */
23458 #include <sys/types.h>
23459 #include <sys/param.h>
23464 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23465 bogus endian macros
23471 rm -f conftest.$ac_objext
23472 if { (ac_try="$ac_compile"
23473 case "(($ac_try" in
23474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23475 *) ac_try_echo=$ac_try;;
23477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23478 (eval "$ac_compile") 2>conftest.er1
23480 grep -v '^
*+' conftest.er1 >conftest.err
23482 cat conftest.err >&5
23483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484 (exit $ac_status); } && {
23485 test -z "$ac_c_werror_flag" ||
23486 test ! -s conftest.err
23487 } && test -s conftest.$ac_objext; then
23488 # It does; now see whether it defined to BIG_ENDIAN or not.
23489 cat >conftest.$ac_ext <<_ACEOF
23492 cat confdefs.h >>conftest.$ac_ext
23493 cat >>conftest.$ac_ext <<_ACEOF
23494 /* end confdefs.h. */
23495 #include <sys/types.h>
23496 #include <sys/param.h>
23501 #if BYTE_ORDER != BIG_ENDIAN
23508 rm -f conftest.$ac_objext
23509 if { (ac_try="$ac_compile"
23510 case "(($ac_try" in
23511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23512 *) ac_try_echo=$ac_try;;
23514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23515 (eval "$ac_compile") 2>conftest.er1
23517 grep -v '^
*+' conftest.er1 >conftest.err
23519 cat conftest.err >&5
23520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23521 (exit $ac_status); } && {
23522 test -z "$ac_c_werror_flag" ||
23523 test ! -s conftest.err
23524 } && test -s conftest.$ac_objext; then
23525 ac_cv_c_bigendian=yes
23527 echo "$as_me: failed program was:" >&5
23528 sed 's
/^
/| /' conftest.$ac_ext >&5
23530 ac_cv_c_bigendian=no
23533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23535 echo "$as_me: failed program was:" >&5
23536 sed 's
/^
/| /' conftest.$ac_ext >&5
23541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23542 if test $ac_cv_c_bigendian = unknown; then
23543 if test "$cross_compiling" = yes; then
23544 ac_cv_c_bigendian=unknown
23546 cat >conftest.$ac_ext <<_ACEOF
23549 cat confdefs.h >>conftest.$ac_ext
23550 cat >>conftest.$ac_ext <<_ACEOF
23551 /* end confdefs.h. */
23553 /* Are we little or big endian? From Harbison&Steele. */
23557 char c[sizeof (long)];
23560 exit (u.c[sizeof (long) - 1] == 1);
23563 rm -f conftest$ac_exeext
23564 if { (ac_try="$ac_link"
23565 case "(($ac_try" in
23566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23567 *) ac_try_echo=$ac_try;;
23569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23570 (eval "$ac_link") 2>&5
23572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23574 { (case "(($ac_try" in
23575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23576 *) ac_try_echo=$ac_try;;
23578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23579 (eval "$ac_try") 2>&5
23581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23582 (exit $ac_status); }; }; then
23583 ac_cv_c_bigendian=no
23585 echo "$as_me: program exited with status $ac_status" >&5
23586 echo "$as_me: failed program was:" >&5
23587 sed 's
/^
/| /' conftest.$ac_ext >&5
23589 ( exit $ac_status )
23590 ac_cv_c_bigendian=yes
23592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23598 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23599 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23600 if test $ac_cv_c_bigendian = unknown; then
23601 { 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
23602 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;}
23604 if test $ac_cv_c_bigendian = yes; then
23605 cat >>confdefs.h <<\_ACEOF
23606 #define WORDS_BIGENDIAN 1
23615 ac_cpp='$CXXCPP $CPPFLAGS'
23616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23617 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23622 for ac_header in iostream
23624 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23625 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23627 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23628 echo $ECHO_N "(cached) $ECHO_C" >&6
23630 cat >conftest.$ac_ext <<_ACEOF
23633 cat confdefs.h >>conftest.$ac_ext
23634 cat >>conftest.$ac_ext <<_ACEOF
23635 /* end confdefs.h. */
23638 #include <$ac_header>
23640 rm -f conftest.$ac_objext
23641 if { (ac_try="$ac_compile"
23642 case "(($ac_try" in
23643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23644 *) ac_try_echo=$ac_try;;
23646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23647 (eval "$ac_compile") 2>conftest.er1
23649 grep -v '^
*+' conftest.er1 >conftest.err
23651 cat conftest.err >&5
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); } && {
23654 test -z "$ac_cxx_werror_flag" ||
23655 test ! -s conftest.err
23656 } && test -s conftest.$ac_objext; then
23657 eval "$as_ac_Header=yes"
23659 echo "$as_me: failed program was:" >&5
23660 sed 's
/^
/| /' conftest.$ac_ext >&5
23662 eval "$as_ac_Header=no"
23665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23667 ac_res=`eval echo '${'$as_ac_Header'}'`
23668 { echo "$as_me:$LINENO: result: $ac_res" >&5
23669 echo "${ECHO_T}$ac_res" >&6; }
23670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23671 cat >>confdefs.h <<_ACEOF
23672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23680 if test "$ac_cv_header_iostream" = "yes" ; then
23683 cat >>confdefs.h <<\_ACEOF
23684 #define wxUSE_IOSTREAMH 1
23690 ac_cpp='$CPP $CPPFLAGS'
23691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23692 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23698 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23699 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23700 if test "${wx_cv_cpp_bool+set}" = set; then
23701 echo $ECHO_N "(cached) $ECHO_C" >&6
23706 ac_cpp='$CXXCPP $CPPFLAGS'
23707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23708 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23712 cat >conftest.$ac_ext <<_ACEOF
23715 cat confdefs.h >>conftest.$ac_ext
23716 cat >>conftest.$ac_ext <<_ACEOF
23717 /* end confdefs.h. */
23732 rm -f conftest.$ac_objext
23733 if { (ac_try="$ac_compile"
23734 case "(($ac_try" in
23735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23736 *) ac_try_echo=$ac_try;;
23738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23739 (eval "$ac_compile") 2>conftest.er1
23741 grep -v '^
*+' conftest.er1 >conftest.err
23743 cat conftest.err >&5
23744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23745 (exit $ac_status); } && {
23746 test -z "$ac_cxx_werror_flag" ||
23747 test ! -s conftest.err
23748 } && test -s conftest.$ac_objext; then
23753 echo "$as_me: failed program was:" >&5
23754 sed 's
/^
/| /' conftest.$ac_ext >&5
23762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23765 ac_cpp='$CPP $CPPFLAGS'
23766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23767 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23772 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23773 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23775 if test "$wx_cv_cpp_bool" = "yes"; then
23776 cat >>confdefs.h <<\_ACEOF
23777 #define HAVE_BOOL 1
23784 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23785 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23786 if test "${wx_cv_explicit+set}" = set; then
23787 echo $ECHO_N "(cached) $ECHO_C" >&6
23792 ac_cpp='$CXXCPP $CPPFLAGS'
23793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23794 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23798 cat >conftest.$ac_ext <<_ACEOF
23801 cat confdefs.h >>conftest.$ac_ext
23802 cat >>conftest.$ac_ext <<_ACEOF
23803 /* end confdefs.h. */
23805 class Foo { public: explicit Foo(int) {} };
23817 rm -f conftest.$ac_objext
23818 if { (ac_try="$ac_compile"
23819 case "(($ac_try" in
23820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23821 *) ac_try_echo=$ac_try;;
23823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23824 (eval "$ac_compile") 2>conftest.er1
23826 grep -v '^
*+' conftest.er1 >conftest.err
23828 cat conftest.err >&5
23829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23830 (exit $ac_status); } && {
23831 test -z "$ac_cxx_werror_flag" ||
23832 test ! -s conftest.err
23833 } && test -s conftest.$ac_objext; then
23835 cat >conftest.$ac_ext <<_ACEOF
23838 cat confdefs.h >>conftest.$ac_ext
23839 cat >>conftest.$ac_ext <<_ACEOF
23840 /* end confdefs.h. */
23842 class Foo { public: explicit Foo(int) {} };
23843 static void TakeFoo(const Foo& foo) { }
23856 rm -f conftest.$ac_objext
23857 if { (ac_try="$ac_compile"
23858 case "(($ac_try" in
23859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23860 *) ac_try_echo=$ac_try;;
23862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23863 (eval "$ac_compile") 2>conftest.er1
23865 grep -v '^
*+' conftest.er1 >conftest.err
23867 cat conftest.err >&5
23868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23869 (exit $ac_status); } && {
23870 test -z "$ac_cxx_werror_flag" ||
23871 test ! -s conftest.err
23872 } && test -s conftest.$ac_objext; then
23875 echo "$as_me: failed program was:" >&5
23876 sed 's
/^
/| /' conftest.$ac_ext >&5
23882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23885 echo "$as_me: failed program was:" >&5
23886 sed 's
/^
/| /' conftest.$ac_ext >&5
23892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23895 ac_cpp='$CPP $CPPFLAGS'
23896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23897 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23902 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23903 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23905 if test "$wx_cv_explicit" = "yes"; then
23906 cat >>confdefs.h <<\_ACEOF
23907 #define HAVE_EXPLICIT 1
23913 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23914 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23915 if test "${ac_cv_cxx_const_cast+set}" = set; then
23916 echo $ECHO_N "(cached) $ECHO_C" >&6
23920 ac_cpp='$CXXCPP $CPPFLAGS'
23921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23922 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23925 cat >conftest.$ac_ext <<_ACEOF
23928 cat confdefs.h >>conftest.$ac_ext
23929 cat >>conftest.$ac_ext <<_ACEOF
23930 /* end confdefs.h. */
23935 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23940 rm -f conftest.$ac_objext
23941 if { (ac_try="$ac_compile"
23942 case "(($ac_try" in
23943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23944 *) ac_try_echo=$ac_try;;
23946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23947 (eval "$ac_compile") 2>conftest.er1
23949 grep -v '^
*+' conftest.er1 >conftest.err
23951 cat conftest.err >&5
23952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23953 (exit $ac_status); } && {
23954 test -z "$ac_cxx_werror_flag" ||
23955 test ! -s conftest.err
23956 } && test -s conftest.$ac_objext; then
23957 ac_cv_cxx_const_cast=yes
23959 echo "$as_me: failed program was:" >&5
23960 sed 's
/^
/| /' conftest.$ac_ext >&5
23962 ac_cv_cxx_const_cast=no
23965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23967 ac_cpp='$CPP $CPPFLAGS'
23968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23969 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23974 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23975 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23976 if test "$ac_cv_cxx_const_cast" = yes; then
23978 cat >>confdefs.h <<\_ACEOF
23979 #define HAVE_CONST_CAST
23984 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23985 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23986 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23987 echo $ECHO_N "(cached) $ECHO_C" >&6
23991 ac_cpp='$CXXCPP $CPPFLAGS'
23992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23993 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23996 cat >conftest.$ac_ext <<_ACEOF
23999 cat confdefs.h >>conftest.$ac_ext
24000 cat >>conftest.$ac_ext <<_ACEOF
24001 /* end confdefs.h. */
24002 #include <typeinfo>
24003 class Base { public : Base () {} virtual void f () = 0;};
24004 class Derived : public Base { public : Derived () {} virtual void f () {} };
24005 class Unrelated { public : Unrelated () {} };
24006 int g (Unrelated&) { return 0; }
24011 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24016 rm -f conftest.$ac_objext
24017 if { (ac_try="$ac_compile"
24018 case "(($ac_try" in
24019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24020 *) ac_try_echo=$ac_try;;
24022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24023 (eval "$ac_compile") 2>conftest.er1
24025 grep -v '^
*+' conftest.er1 >conftest.err
24027 cat conftest.err >&5
24028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24029 (exit $ac_status); } && {
24030 test -z "$ac_cxx_werror_flag" ||
24031 test ! -s conftest.err
24032 } && test -s conftest.$ac_objext; then
24033 ac_cv_cxx_reinterpret_cast=yes
24035 echo "$as_me: failed program was:" >&5
24036 sed 's
/^
/| /' conftest.$ac_ext >&5
24038 ac_cv_cxx_reinterpret_cast=no
24041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24043 ac_cpp='$CPP $CPPFLAGS'
24044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24045 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24050 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24051 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24052 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24054 cat >>confdefs.h <<\_ACEOF
24055 #define HAVE_REINTERPRET_CAST
24060 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24061 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24062 if test "${ac_cv_cxx_static_cast+set}" = set; then
24063 echo $ECHO_N "(cached) $ECHO_C" >&6
24067 ac_cpp='$CXXCPP $CPPFLAGS'
24068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24069 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24072 cat >conftest.$ac_ext <<_ACEOF
24075 cat confdefs.h >>conftest.$ac_ext
24076 cat >>conftest.$ac_ext <<_ACEOF
24077 /* end confdefs.h. */
24078 #include <typeinfo>
24079 class Base { public : Base () {} virtual void f () = 0; };
24080 class Derived : public Base { public : Derived () {} virtual void f () {} };
24081 int g (Derived&) { return 0; }
24086 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24091 rm -f conftest.$ac_objext
24092 if { (ac_try="$ac_compile"
24093 case "(($ac_try" in
24094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24095 *) ac_try_echo=$ac_try;;
24097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24098 (eval "$ac_compile") 2>conftest.er1
24100 grep -v '^
*+' conftest.er1 >conftest.err
24102 cat conftest.err >&5
24103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24104 (exit $ac_status); } && {
24105 test -z "$ac_cxx_werror_flag" ||
24106 test ! -s conftest.err
24107 } && test -s conftest.$ac_objext; then
24108 ac_cv_cxx_static_cast=yes
24110 echo "$as_me: failed program was:" >&5
24111 sed 's
/^
/| /' conftest.$ac_ext >&5
24113 ac_cv_cxx_static_cast=no
24116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24118 ac_cpp='$CPP $CPPFLAGS'
24119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24120 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24125 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24126 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24127 if test "$ac_cv_cxx_static_cast" = yes; then
24129 cat >>confdefs.h <<\_ACEOF
24130 #define HAVE_STATIC_CAST
24136 if test "x$SUNCXX" = xyes; then
24137 CXXFLAGS="-features=tmplife $CXXFLAGS"
24140 if test "x$SUNCC" = xyes; then
24141 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24144 if test "x$SGICC" = "xyes"; then
24145 CFLAGS="-woff 3970 $CFLAGS"
24147 if test "x$SGICXX" = "xyes"; then
24148 CXXFLAGS="-woff 3970 $CXXFLAGS"
24151 if test "x$HPCC" = "xyes"; then
24152 CFLAGS="+W 2011,2450 $CFLAGS"
24154 if test "x$HPCXX" = "xyes"; then
24155 CXXFLAGS="+W 2340 $CXXFLAGS"
24158 if test "x$COMPAQCXX" = "xyes"; then
24159 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24163 ac_cpp='$CXXCPP $CPPFLAGS'
24164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24165 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24169 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24170 if test "$wxUSE_UNICODE" = "yes"; then
24171 std_string="std::wstring"
24172 char_type="wchar_t"
24174 std_string="std::string"
24178 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24179 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24180 if test "${wx_cv_class_stdstring+set}" = set; then
24181 echo $ECHO_N "(cached) $ECHO_C" >&6
24184 cat >conftest.$ac_ext <<_ACEOF
24187 cat confdefs.h >>conftest.$ac_ext
24188 cat >>conftest.$ac_ext <<_ACEOF
24189 /* end confdefs.h. */
24199 rm -f conftest.$ac_objext
24200 if { (ac_try="$ac_compile"
24201 case "(($ac_try" in
24202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24203 *) ac_try_echo=$ac_try;;
24205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24206 (eval "$ac_compile") 2>conftest.er1
24208 grep -v '^
*+' conftest.er1 >conftest.err
24210 cat conftest.err >&5
24211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212 (exit $ac_status); } && {
24213 test -z "$ac_cxx_werror_flag" ||
24214 test ! -s conftest.err
24215 } && test -s conftest.$ac_objext; then
24216 wx_cv_class_stdstring=yes
24218 echo "$as_me: failed program was:" >&5
24219 sed 's
/^
/| /' conftest.$ac_ext >&5
24221 wx_cv_class_stdstring=no
24225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24229 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24230 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24232 if test "$wx_cv_class_stdstring" = yes; then
24233 if test "$wxUSE_UNICODE" = "yes"; then
24234 cat >>confdefs.h <<\_ACEOF
24235 #define HAVE_STD_WSTRING 1
24240 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24241 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24242 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24243 echo $ECHO_N "(cached) $ECHO_C" >&6
24246 cat >conftest.$ac_ext <<_ACEOF
24249 cat confdefs.h >>conftest.$ac_ext
24250 cat >>conftest.$ac_ext <<_ACEOF
24251 /* end confdefs.h. */
24253 #ifdef HAVE_WCHAR_H
24255 # include <stddef.h>
24257 # include <wchar.h>
24259 #ifdef HAVE_STDLIB_H
24260 # include <stdlib.h>
24268 std::basic_string<$char_type> foo;
24269 const $char_type* dummy = foo.c_str();
24274 rm -f conftest.$ac_objext
24275 if { (ac_try="$ac_compile"
24276 case "(($ac_try" in
24277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24278 *) ac_try_echo=$ac_try;;
24280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24281 (eval "$ac_compile") 2>conftest.er1
24283 grep -v '^
*+' conftest.er1 >conftest.err
24285 cat conftest.err >&5
24286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24287 (exit $ac_status); } && {
24288 test -z "$ac_cxx_werror_flag" ||
24289 test ! -s conftest.err
24290 } && test -s conftest.$ac_objext; then
24291 wx_cv_class_stdbasicstring=yes
24293 echo "$as_me: failed program was:" >&5
24294 sed 's
/^
/| /' conftest.$ac_ext >&5
24296 wx_cv_class_stdbasicstring=no
24300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24304 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24305 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24307 if test "$wx_cv_class_stdbasicstring" != yes; then
24308 if test "$wxUSE_STL" = "yes"; then
24309 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24310 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24311 { (exit 1); exit 1; }; }
24312 elif test "$wxUSE_STD_STRING" = "yes"; then
24313 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24314 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24315 { (exit 1); exit 1; }; }
24317 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24318 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24319 wxUSE_STD_STRING=no
24325 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24326 { echo "$as_me:$LINENO: checking for std::istream" >&5
24327 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24328 if test "${ac_cv_type_std__istream+set}" = set; then
24329 echo $ECHO_N "(cached) $ECHO_C" >&6
24331 cat >conftest.$ac_ext <<_ACEOF
24334 cat confdefs.h >>conftest.$ac_ext
24335 cat >>conftest.$ac_ext <<_ACEOF
24336 /* end confdefs.h. */
24337 #include <iostream>
24339 typedef std::istream ac__type_new_;
24343 if ((ac__type_new_ *) 0)
24345 if (sizeof (ac__type_new_))
24351 rm -f conftest.$ac_objext
24352 if { (ac_try="$ac_compile"
24353 case "(($ac_try" in
24354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24355 *) ac_try_echo=$ac_try;;
24357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24358 (eval "$ac_compile") 2>conftest.er1
24360 grep -v '^
*+' conftest.er1 >conftest.err
24362 cat conftest.err >&5
24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364 (exit $ac_status); } && {
24365 test -z "$ac_cxx_werror_flag" ||
24366 test ! -s conftest.err
24367 } && test -s conftest.$ac_objext; then
24368 ac_cv_type_std__istream=yes
24370 echo "$as_me: failed program was:" >&5
24371 sed 's
/^
/| /' conftest.$ac_ext >&5
24373 ac_cv_type_std__istream=no
24376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24378 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24379 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24380 if test $ac_cv_type_std__istream = yes; then
24382 cat >>confdefs.h <<_ACEOF
24383 #define HAVE_STD__ISTREAM 1
24388 wxUSE_STD_IOSTREAM=no
24390 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24391 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24392 if test "${ac_cv_type_std__ostream+set}" = set; then
24393 echo $ECHO_N "(cached) $ECHO_C" >&6
24395 cat >conftest.$ac_ext <<_ACEOF
24398 cat confdefs.h >>conftest.$ac_ext
24399 cat >>conftest.$ac_ext <<_ACEOF
24400 /* end confdefs.h. */
24401 #include <iostream>
24403 typedef std::ostream ac__type_new_;
24407 if ((ac__type_new_ *) 0)
24409 if (sizeof (ac__type_new_))
24415 rm -f conftest.$ac_objext
24416 if { (ac_try="$ac_compile"
24417 case "(($ac_try" in
24418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24419 *) ac_try_echo=$ac_try;;
24421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24422 (eval "$ac_compile") 2>conftest.er1
24424 grep -v '^
*+' conftest.er1 >conftest.err
24426 cat conftest.err >&5
24427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24428 (exit $ac_status); } && {
24429 test -z "$ac_cxx_werror_flag" ||
24430 test ! -s conftest.err
24431 } && test -s conftest.$ac_objext; then
24432 ac_cv_type_std__ostream=yes
24434 echo "$as_me: failed program was:" >&5
24435 sed 's
/^
/| /' conftest.$ac_ext >&5
24437 ac_cv_type_std__ostream=no
24440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24442 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24443 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24444 if test $ac_cv_type_std__ostream = yes; then
24446 cat >>confdefs.h <<_ACEOF
24447 #define HAVE_STD__OSTREAM 1
24452 wxUSE_STD_IOSTREAM=no
24456 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24457 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24458 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24459 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24460 { (exit 1); exit 1; }; }
24462 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24463 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24468 if test "$wxUSE_STL" = "yes"; then
24469 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24470 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24471 if test "${wx_cv_lib_stl+set}" = set; then
24472 echo $ECHO_N "(cached) $ECHO_C" >&6
24474 cat >conftest.$ac_ext <<_ACEOF
24477 cat confdefs.h >>conftest.$ac_ext
24478 cat >>conftest.$ac_ext <<_ACEOF
24479 /* end confdefs.h. */
24481 #include <functional>
24482 #include <algorithm>
24488 std::vector<int> moo;
24489 std::list<int> foo;
24490 std::vector<int>::iterator it =
24491 std::find_if(moo.begin(), moo.end(),
24492 std::bind2nd(std::less<int>(), 3));
24497 rm -f conftest.$ac_objext
24498 if { (ac_try="$ac_compile"
24499 case "(($ac_try" in
24500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24501 *) ac_try_echo=$ac_try;;
24503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24504 (eval "$ac_compile") 2>conftest.er1
24506 grep -v '^
*+' conftest.er1 >conftest.err
24508 cat conftest.err >&5
24509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24510 (exit $ac_status); } && {
24511 test -z "$ac_cxx_werror_flag" ||
24512 test ! -s conftest.err
24513 } && test -s conftest.$ac_objext; then
24516 echo "$as_me: failed program was:" >&5
24517 sed 's
/^
/| /' conftest.$ac_ext >&5
24523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24526 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24527 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24529 if test "$wx_cv_lib_stl" != yes; then
24530 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24531 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24532 { (exit 1); exit 1; }; }
24535 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24536 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24537 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24538 echo $ECHO_N "(cached) $ECHO_C" >&6
24540 cat >conftest.$ac_ext <<_ACEOF
24543 cat confdefs.h >>conftest.$ac_ext
24544 cat >>conftest.$ac_ext <<_ACEOF
24545 /* end confdefs.h. */
24550 std::string foo, bar;
24552 foo.compare(1, 1, bar);
24553 foo.compare(1, 1, bar, 1, 1);
24555 foo.compare(1, 1, "");
24556 foo.compare(1, 1, "", 2);
24561 rm -f conftest.$ac_objext
24562 if { (ac_try="$ac_compile"
24563 case "(($ac_try" in
24564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24565 *) ac_try_echo=$ac_try;;
24567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24568 (eval "$ac_compile") 2>conftest.er1
24570 grep -v '^
*+' conftest.er1 >conftest.err
24572 cat conftest.err >&5
24573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24574 (exit $ac_status); } && {
24575 test -z "$ac_cxx_werror_flag" ||
24576 test ! -s conftest.err
24577 } && test -s conftest.$ac_objext; then
24578 wx_cv_func_stdstring_compare=yes
24580 echo "$as_me: failed program was:" >&5
24581 sed 's
/^
/| /' conftest.$ac_ext >&5
24583 wx_cv_func_stdstring_compare=no
24587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24590 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24591 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24593 if test "$wx_cv_func_stdstring_compare" = yes; then
24594 cat >>confdefs.h <<\_ACEOF
24595 #define HAVE_STD_STRING_COMPARE 1
24600 { echo "$as_me:$LINENO: checking for hash_map" >&5
24601 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24602 if test "${ac_cv_header_hash_map+set}" = set; then
24603 echo $ECHO_N "(cached) $ECHO_C" >&6
24605 cat >conftest.$ac_ext <<_ACEOF
24608 cat confdefs.h >>conftest.$ac_ext
24609 cat >>conftest.$ac_ext <<_ACEOF
24610 /* end confdefs.h. */
24614 #include <hash_map>
24616 rm -f conftest.$ac_objext
24617 if { (ac_try="$ac_compile"
24618 case "(($ac_try" in
24619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24620 *) ac_try_echo=$ac_try;;
24622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24623 (eval "$ac_compile") 2>conftest.er1
24625 grep -v '^
*+' conftest.er1 >conftest.err
24627 cat conftest.err >&5
24628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24629 (exit $ac_status); } && {
24630 test -z "$ac_cxx_werror_flag" ||
24631 test ! -s conftest.err
24632 } && test -s conftest.$ac_objext; then
24633 ac_cv_header_hash_map=yes
24635 echo "$as_me: failed program was:" >&5
24636 sed 's
/^
/| /' conftest.$ac_ext >&5
24638 ac_cv_header_hash_map=no
24641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24643 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24644 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24645 if test $ac_cv_header_hash_map = yes; then
24646 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24647 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24648 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24649 echo $ECHO_N "(cached) $ECHO_C" >&6
24651 cat >conftest.$ac_ext <<_ACEOF
24654 cat confdefs.h >>conftest.$ac_ext
24655 cat >>conftest.$ac_ext <<_ACEOF
24656 /* end confdefs.h. */
24657 #include <hash_map>
24658 #include <hash_set>
24662 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24663 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24668 rm -f conftest.$ac_objext
24669 if { (ac_try="$ac_compile"
24670 case "(($ac_try" in
24671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24672 *) ac_try_echo=$ac_try;;
24674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24675 (eval "$ac_compile") 2>conftest.er1
24677 grep -v '^
*+' conftest.er1 >conftest.err
24679 cat conftest.err >&5
24680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24681 (exit $ac_status); } && {
24682 test -z "$ac_cxx_werror_flag" ||
24683 test ! -s conftest.err
24684 } && test -s conftest.$ac_objext; then
24685 wx_cv_class_stdhashmapset=yes
24687 echo "$as_me: failed program was:" >&5
24688 sed 's
/^
/| /' conftest.$ac_ext >&5
24690 wx_cv_class_stdhashmapset=no
24693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24697 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24698 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24703 if test "$wx_cv_class_stdhashmapset" = yes; then
24704 cat >>confdefs.h <<\_ACEOF
24705 #define HAVE_HASH_MAP 1
24708 cat >>confdefs.h <<\_ACEOF
24709 #define HAVE_STD_HASH_MAP 1
24714 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24715 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24716 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24717 echo $ECHO_N "(cached) $ECHO_C" >&6
24719 cat >conftest.$ac_ext <<_ACEOF
24722 cat confdefs.h >>conftest.$ac_ext
24723 cat >>conftest.$ac_ext <<_ACEOF
24724 /* end confdefs.h. */
24728 #include <ext/hash_map>
24730 rm -f conftest.$ac_objext
24731 if { (ac_try="$ac_compile"
24732 case "(($ac_try" in
24733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24734 *) ac_try_echo=$ac_try;;
24736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24737 (eval "$ac_compile") 2>conftest.er1
24739 grep -v '^
*+' conftest.er1 >conftest.err
24741 cat conftest.err >&5
24742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24743 (exit $ac_status); } && {
24744 test -z "$ac_cxx_werror_flag" ||
24745 test ! -s conftest.err
24746 } && test -s conftest.$ac_objext; then
24747 ac_cv_header_ext_hash_map=yes
24749 echo "$as_me: failed program was:" >&5
24750 sed 's
/^
/| /' conftest.$ac_ext >&5
24752 ac_cv_header_ext_hash_map=no
24755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24757 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24758 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24759 if test $ac_cv_header_ext_hash_map = yes; then
24760 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24761 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24762 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24763 echo $ECHO_N "(cached) $ECHO_C" >&6
24765 cat >conftest.$ac_ext <<_ACEOF
24768 cat confdefs.h >>conftest.$ac_ext
24769 cat >>conftest.$ac_ext <<_ACEOF
24770 /* end confdefs.h. */
24771 #include <ext/hash_map>
24772 #include <ext/hash_set>
24776 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24777 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24782 rm -f conftest.$ac_objext
24783 if { (ac_try="$ac_compile"
24784 case "(($ac_try" in
24785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24786 *) ac_try_echo=$ac_try;;
24788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24789 (eval "$ac_compile") 2>conftest.er1
24791 grep -v '^
*+' conftest.er1 >conftest.err
24793 cat conftest.err >&5
24794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24795 (exit $ac_status); } && {
24796 test -z "$ac_cxx_werror_flag" ||
24797 test ! -s conftest.err
24798 } && test -s conftest.$ac_objext; then
24799 wx_cv_class_gnuhashmapset=yes
24801 echo "$as_me: failed program was:" >&5
24802 sed 's
/^
/| /' conftest.$ac_ext >&5
24804 wx_cv_class_gnuhashmapset=no
24807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24811 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24812 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24817 if test "$wx_cv_class_gnuhashmapset" = yes; then
24818 cat >>confdefs.h <<\_ACEOF
24819 #define HAVE_EXT_HASH_MAP 1
24822 cat >>confdefs.h <<\_ACEOF
24823 #define HAVE_GNU_CXX_HASH_MAP 1
24831 if test -n "$GCC"; then
24832 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
24833 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
24834 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24835 echo $ECHO_N "(cached) $ECHO_C" >&6
24838 cat >conftest.$ac_ext <<_ACEOF
24841 cat confdefs.h >>conftest.$ac_ext
24842 cat >>conftest.$ac_ext <<_ACEOF
24843 /* end confdefs.h. */
24849 unsigned int value=0;
24850 /* wxAtomicInc doesn't use
return value here
*/
24851 __sync_fetch_and_add
(&value
, 2);
24852 __sync_sub_and_fetch
(&value
, 1);
24853 /* but wxAtomicDec does
, so mimic that
: */
24854 unsigned int r2
= __sync_sub_and_fetch
(&value
, 1);
24860 rm -f conftest.
$ac_objext conftest
$ac_exeext
24861 if { (ac_try
="$ac_link"
24862 case "(($ac_try" in
24863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24864 *) ac_try_echo=$ac_try;;
24866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24867 (eval "$ac_link") 2>conftest.er1
24869 grep -v '^ *+' conftest.er1 >conftest.err
24871 cat conftest.err >&5
24872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24873 (exit $ac_status); } && {
24874 test -z "$ac_cxx_werror_flag" ||
24875 test ! -s conftest.err
24876 } && test -s conftest$ac_exeext &&
24877 $as_test_x conftest$ac_exeext; then
24878 wx_cv_cc_gcc_atomic_builtins=yes
24880 echo "$as_me: failed program was:" >&5
24881 sed 's/^/| /' conftest.$ac_ext >&5
24883 wx_cv_cc_gcc_atomic_builtins=no
24886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24887 conftest$ac_exeext conftest.$ac_ext
24891 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24892 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24893 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24894 cat >>confdefs.h <<\_ACEOF
24895 #define HAVE_GCC_ATOMIC_BUILTINS 1
24903 ac_cpp='$CPP $CPPFLAGS'
24904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24911 /usr/local/include \
24913 /usr/Motif-2.1/include \
24914 /usr/Motif-1.2/include \
24915 /usr/include/Motif1.2 \
24918 /usr/openwin/include \
24922 /usr/X11R6/include \
24923 /usr/X11R6.4/include \
24924 /usr/X11R5/include \
24925 /usr/X11R4/include \
24927 /usr/include/X11R6 \
24928 /usr/include/X11R5 \
24929 /usr/include/X11R4 \
24931 /usr/local/X11R6/include \
24932 /usr/local/X11R5/include \
24933 /usr/local/X11R4/include \
24935 /usr/local/include/X11R6 \
24936 /usr/local/include/X11R5 \
24937 /usr/local/include/X11R4 \
24941 /usr/local/X11/include \
24942 /usr/local/include/X11 \
24944 /usr/XFree86/include/X11 \
24947 /usr/openwin/share/include"
24949 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24950 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24954 if test "${wx_cv_std_libpath+set}" = set; then
24955 echo $ECHO_N "(cached) $ECHO_C" >&6
24958 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24959 for e in a so sl dylib dll.a; do
24961 if test -f $libc; then
24964 cat >conftest.$ac_ext <<_ACEOF
24965 int main() { return 0; }
24967 rm -f conftest.$ac_objext conftest$ac_exeext
24968 if { (ac_try="$ac_link"
24969 case "(($ac_try" in
24970 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24971 *) ac_try_echo
=$ac_try;;
24973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24974 (eval "$ac_link") 2>conftest.er1
24976 grep -v '^ *+' conftest.er1
>conftest.err
24978 cat conftest.err
>&5
24979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980 (exit $ac_status); } && {
24981 test -z "$ac_c_werror_flag" ||
24982 test ! -s conftest.err
24983 } && test -s conftest
$ac_exeext &&
24984 $as_test_x conftest
$ac_exeext; then
24985 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24987 echo "$as_me: failed program was:" >&5
24988 sed 's/^/| /' conftest.
$ac_ext >&5
24993 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24994 conftest
$ac_exeext conftest.
$ac_ext
24996 if test "x$wx_cv_std_libpath" != "x"; then
25002 if test "x$wx_cv_std_libpath" = "x"; then
25003 wx_cv_std_libpath
="lib"
25012 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25013 wx_cv_std_libpath
="lib/64"
25015 wx_cv_std_libpath
="lib"
25020 if test "$ac_cv_sizeof_void_p" = 8 -a \
25021 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25022 wx_cv_std_libpath
="lib64"
25024 wx_cv_std_libpath
="lib"
25029 wx_cv_std_libpath
="lib";
25033 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25034 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25036 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25038 if test "$build" != "$host" -a "$GCC" = yes; then
25039 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
25040 cross_root
=`dirname $cross_root`
25041 cross_root
=`dirname $cross_root`
25043 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25044 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25045 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
25047 if test -z "$PKG_CONFIG_PATH"; then
25048 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25049 export PKG_CONFIG_PATH
25052 if test -z "$x_includes" -o "$x_includes" = NONE
; then
25055 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25057 if test -f "$ac_dir/X11/Intrinsic.h"; then
25058 ac_find_includes
=$ac_dir
25063 x_includes
=$ac_find_includes
25065 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
25068 for ac_dir
in $SEARCH_LIB;
25070 for ac_extension
in a so sl dylib dll.a
; do
25071 if test -f "$ac_dir/libXt.$ac_extension"; then
25072 ac_find_libraries
=$ac_dir
25078 x_libraries
=$ac_find_libraries
25084 cat >confcache
<<\_ACEOF
25085 # This file is a shell script that caches the results of configure
25086 # tests run on this system so they can be shared between configure
25087 # scripts and configure runs, see configure's option --config-cache.
25088 # It is not useful on other systems. If it contains results you don't
25089 # want to keep, you may remove or edit it.
25091 # config.status only pays attention to the cache file if you give it
25092 # the --recheck option to rerun configure.
25094 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25095 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25096 # following values.
25100 # The following way of writing the cache mishandles newlines in values,
25101 # but we know of no workaround that is simple, portable, and efficient.
25102 # So, we kill variables containing newlines.
25103 # Ultrix sh set writes to stderr and can't be redirected directly,
25104 # and sets the high bit in the cache file unless we assign to the vars.
25106 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25107 eval ac_val
=\$
$ac_var
25111 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25112 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25115 _
| IFS
| as_nl
) ;; #(
25116 *) $as_unset $ac_var ;;
25122 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25123 *${as_nl}ac_space
=\
*)
25124 # `set' does not quote correctly, so add quotes (double-quote
25125 # substitution turns \\\\ into \\, and sed turns \\ into \).
25128 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25131 # `set' quotes correctly as required by POSIX, so do not add quotes.
25132 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25141 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25143 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25145 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25146 if test -w "$cache_file"; then
25147 test "x$cache_file" != "x/dev/null" &&
25148 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25149 echo "$as_me: updating cache $cache_file" >&6;}
25150 cat confcache
>$cache_file
25152 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25153 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25158 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25159 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25160 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25161 if test "${wx_cv_lib_glibc21+set}" = set; then
25162 echo $ECHO_N "(cached) $ECHO_C" >&6
25165 cat >conftest.
$ac_ext <<_ACEOF
25168 cat confdefs.h
>>conftest.
$ac_ext
25169 cat >>conftest.
$ac_ext <<_ACEOF
25170 /* end confdefs.h. */
25171 #include <features.h>
25176 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25184 rm -f conftest.
$ac_objext
25185 if { (ac_try
="$ac_compile"
25186 case "(($ac_try" in
25187 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25188 *) ac_try_echo=$ac_try;;
25190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25191 (eval "$ac_compile") 2>conftest.er1
25193 grep -v '^ *+' conftest.er1 >conftest.err
25195 cat conftest.err >&5
25196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25197 (exit $ac_status); } && {
25198 test -z "$ac_c_werror_flag" ||
25199 test ! -s conftest.err
25200 } && test -s conftest.$ac_objext; then
25202 wx_cv_lib_glibc21=yes
25205 echo "$as_me: failed program was:" >&5
25206 sed 's/^/| /' conftest.$ac_ext >&5
25209 wx_cv_lib_glibc21=no
25214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25217 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25218 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25219 if test "$wx_cv_lib_glibc21" = "yes"; then
25220 cat >>confdefs.h <<\_ACEOF
25221 #define wxHAVE_GLIBC2 1
25227 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25228 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25229 cat >>confdefs.h <<\_ACEOF
25230 #define _GNU_SOURCE 1
25241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25242 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25244 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25245 echo $ECHO_N "(cached) $ECHO_C" >&6
25247 cat >conftest.$ac_ext <<_ACEOF
25250 cat confdefs.h >>conftest.$ac_ext
25251 cat >>conftest.$ac_ext <<_ACEOF
25252 /* end confdefs.h. */
25253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25255 #define $ac_func innocuous_$ac_func
25257 /* System header to define __stub macros and hopefully few prototypes,
25258 which can conflict with char $ac_func (); below.
25259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25260 <limits.h> exists even on freestanding compilers. */
25263 # include <limits.h>
25265 # include <assert.h>
25270 /* Override any GCC internal prototype to avoid an error.
25271 Use char because int might match the return type of a GCC
25272 builtin and then its argument prototype would still apply. */
25277 /* The GNU C library defines this for functions which it implements
25278 to always fail with ENOSYS. Some functions are actually named
25279 something starting with __ and the normal name is an alias. */
25280 #if defined __stub_$ac_func || defined __stub___$ac_func
25287 return $ac_func ();
25292 rm -f conftest.$ac_objext conftest$ac_exeext
25293 if { (ac_try="$ac_link"
25294 case "(($ac_try" in
25295 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25296 *) ac_try_echo
=$ac_try;;
25298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25299 (eval "$ac_link") 2>conftest.er1
25301 grep -v '^ *+' conftest.er1
>conftest.err
25303 cat conftest.err
>&5
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); } && {
25306 test -z "$ac_c_werror_flag" ||
25307 test ! -s conftest.err
25308 } && test -s conftest
$ac_exeext &&
25309 $as_test_x conftest
$ac_exeext; then
25310 eval "$as_ac_var=yes"
25312 echo "$as_me: failed program was:" >&5
25313 sed 's/^/| /' conftest.
$ac_ext >&5
25315 eval "$as_ac_var=no"
25318 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25319 conftest
$ac_exeext conftest.
$ac_ext
25321 ac_res
=`eval echo '${'$as_ac_var'}'`
25322 { echo "$as_me:$LINENO: result: $ac_res" >&5
25323 echo "${ECHO_T}$ac_res" >&6; }
25324 if test `eval echo '${'$as_ac_var'}'` = yes; then
25325 cat >>confdefs.h
<<_ACEOF
25326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25333 for ac_func
in floor
25335 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25336 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25338 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25339 echo $ECHO_N "(cached) $ECHO_C" >&6
25341 cat >conftest.
$ac_ext <<_ACEOF
25344 cat confdefs.h
>>conftest.
$ac_ext
25345 cat >>conftest.
$ac_ext <<_ACEOF
25346 /* end confdefs.h. */
25347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25349 #define $ac_func innocuous_$ac_func
25351 /* System header to define __stub macros and hopefully few prototypes,
25352 which can conflict with char $ac_func (); below.
25353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25354 <limits.h> exists even on freestanding compilers. */
25357 # include <limits.h>
25359 # include <assert.h>
25364 /* Override any GCC internal prototype to avoid an error.
25365 Use char because int might match the return type of a GCC
25366 builtin and then its argument prototype would still apply. */
25371 /* The GNU C library defines this for functions which it implements
25372 to always fail with ENOSYS. Some functions are actually named
25373 something starting with __ and the normal name is an alias. */
25374 #if defined __stub_$ac_func || defined __stub___$ac_func
25381 return $ac_func ();
25386 rm -f conftest.
$ac_objext conftest
$ac_exeext
25387 if { (ac_try
="$ac_link"
25388 case "(($ac_try" in
25389 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25390 *) ac_try_echo=$ac_try;;
25392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25393 (eval "$ac_link") 2>conftest.er1
25395 grep -v '^ *+' conftest.er1 >conftest.err
25397 cat conftest.err >&5
25398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25399 (exit $ac_status); } && {
25400 test -z "$ac_c_werror_flag" ||
25401 test ! -s conftest.err
25402 } && test -s conftest$ac_exeext &&
25403 $as_test_x conftest$ac_exeext; then
25404 eval "$as_ac_var=yes"
25406 echo "$as_me: failed program was:" >&5
25407 sed 's/^/| /' conftest.$ac_ext >&5
25409 eval "$as_ac_var=no"
25412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25413 conftest$ac_exeext conftest.$ac_ext
25415 ac_res=`eval echo '${'$as_ac_var'}'`
25416 { echo "$as_me:$LINENO: result: $ac_res" >&5
25417 echo "${ECHO_T}$ac_res" >&6; }
25418 if test `eval echo '${'$as_ac_var'}'` = yes; then
25419 cat >>confdefs.h <<_ACEOF
25420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25426 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25427 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25428 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25429 { echo "$as_me:$LINENO: result: yes" >&5
25430 echo "${ECHO_T}yes" >&6; }
25432 { echo "$as_me:$LINENO: result: no" >&5
25433 echo "${ECHO_T}no" >&6; }
25435 # use different functions to avoid configure caching
25441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25442 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25444 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25445 echo $ECHO_N "(cached) $ECHO_C" >&6
25447 cat >conftest.$ac_ext <<_ACEOF
25450 cat confdefs.h >>conftest.$ac_ext
25451 cat >>conftest.$ac_ext <<_ACEOF
25452 /* end confdefs.h. */
25453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25455 #define $ac_func innocuous_$ac_func
25457 /* System header to define __stub macros and hopefully few prototypes,
25458 which can conflict with char $ac_func (); below.
25459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25460 <limits.h> exists even on freestanding compilers. */
25463 # include <limits.h>
25465 # include <assert.h>
25470 /* Override any GCC internal prototype to avoid an error.
25471 Use char because int might match the return type of a GCC
25472 builtin and then its argument prototype would still apply. */
25477 /* The GNU C library defines this for functions which it implements
25478 to always fail with ENOSYS. Some functions are actually named
25479 something starting with __ and the normal name is an alias. */
25480 #if defined __stub_$ac_func || defined __stub___$ac_func
25487 return $ac_func ();
25492 rm -f conftest.$ac_objext conftest$ac_exeext
25493 if { (ac_try="$ac_link"
25494 case "(($ac_try" in
25495 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25496 *) ac_try_echo
=$ac_try;;
25498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25499 (eval "$ac_link") 2>conftest.er1
25501 grep -v '^ *+' conftest.er1
>conftest.err
25503 cat conftest.err
>&5
25504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25505 (exit $ac_status); } && {
25506 test -z "$ac_c_werror_flag" ||
25507 test ! -s conftest.err
25508 } && test -s conftest
$ac_exeext &&
25509 $as_test_x conftest
$ac_exeext; then
25510 eval "$as_ac_var=yes"
25512 echo "$as_me: failed program was:" >&5
25513 sed 's/^/| /' conftest.
$ac_ext >&5
25515 eval "$as_ac_var=no"
25518 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25519 conftest
$ac_exeext conftest.
$ac_ext
25521 ac_res
=`eval echo '${'$as_ac_var'}'`
25522 { echo "$as_me:$LINENO: result: $ac_res" >&5
25523 echo "${ECHO_T}$ac_res" >&6; }
25524 if test `eval echo '${'$as_ac_var'}'` = yes; then
25525 cat >>confdefs.h
<<_ACEOF
25526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25533 for ac_func
in ceil
25535 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25536 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25538 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25539 echo $ECHO_N "(cached) $ECHO_C" >&6
25541 cat >conftest.
$ac_ext <<_ACEOF
25544 cat confdefs.h
>>conftest.
$ac_ext
25545 cat >>conftest.
$ac_ext <<_ACEOF
25546 /* end confdefs.h. */
25547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25549 #define $ac_func innocuous_$ac_func
25551 /* System header to define __stub macros and hopefully few prototypes,
25552 which can conflict with char $ac_func (); below.
25553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25554 <limits.h> exists even on freestanding compilers. */
25557 # include <limits.h>
25559 # include <assert.h>
25564 /* Override any GCC internal prototype to avoid an error.
25565 Use char because int might match the return type of a GCC
25566 builtin and then its argument prototype would still apply. */
25571 /* The GNU C library defines this for functions which it implements
25572 to always fail with ENOSYS. Some functions are actually named
25573 something starting with __ and the normal name is an alias. */
25574 #if defined __stub_$ac_func || defined __stub___$ac_func
25581 return $ac_func ();
25586 rm -f conftest.
$ac_objext conftest
$ac_exeext
25587 if { (ac_try
="$ac_link"
25588 case "(($ac_try" in
25589 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25590 *) ac_try_echo=$ac_try;;
25592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25593 (eval "$ac_link") 2>conftest.er1
25595 grep -v '^ *+' conftest.er1 >conftest.err
25597 cat conftest.err >&5
25598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25599 (exit $ac_status); } && {
25600 test -z "$ac_c_werror_flag" ||
25601 test ! -s conftest.err
25602 } && test -s conftest$ac_exeext &&
25603 $as_test_x conftest$ac_exeext; then
25604 eval "$as_ac_var=yes"
25606 echo "$as_me: failed program was:" >&5
25607 sed 's/^/| /' conftest.$ac_ext >&5
25609 eval "$as_ac_var=no"
25612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25613 conftest$ac_exeext conftest.$ac_ext
25615 ac_res=`eval echo '${'$as_ac_var'}'`
25616 { echo "$as_me:$LINENO: result: $ac_res" >&5
25617 echo "${ECHO_T}$ac_res" >&6; }
25618 if test `eval echo '${'$as_ac_var'}'` = yes; then
25619 cat >>confdefs.h <<_ACEOF
25620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25626 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25627 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25628 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25629 { echo "$as_me:$LINENO: result: yes" >&5
25630 echo "${ECHO_T}yes" >&6; }
25632 { echo "$as_me:$LINENO: result: no" >&5
25633 echo "${ECHO_T}no" >&6; }
25634 # not sure we should warn the user, crash, etc.
25639 ac_cpp='$CXXCPP $CPPFLAGS'
25640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25644 if test "wxUSE_UNICODE" = "yes"; then
25646 for wx_func in wcstoull
25648 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25649 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25650 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25651 echo $ECHO_N "(cached) $ECHO_C" >&6
25654 cat >conftest.$ac_ext <<_ACEOF
25658 cat confdefs.h >>conftest.$ac_ext
25659 cat >>conftest.$ac_ext <<_ACEOF
25660 /* end confdefs.h. */
25663 $ac_includes_default
25679 rm -f conftest.$ac_objext conftest$ac_exeext
25680 if { (ac_try="$ac_link"
25681 case "(($ac_try" in
25682 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25683 *) ac_try_echo
=$ac_try;;
25685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25686 (eval "$ac_link") 2>conftest.er1
25688 grep -v '^ *+' conftest.er1
>conftest.err
25690 cat conftest.err
>&5
25691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25692 (exit $ac_status); } && {
25693 test -z "$ac_cxx_werror_flag" ||
25694 test ! -s conftest.err
25695 } && test -s conftest
$ac_exeext &&
25696 $as_test_x conftest
$ac_exeext; then
25697 eval wx_cv_func_
$wx_func=yes
25699 echo "$as_me: failed program was:" >&5
25700 sed 's/^/| /' conftest.
$ac_ext >&5
25702 eval wx_cv_func_
$wx_func=no
25705 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25706 conftest
$ac_exeext conftest.
$ac_ext
25709 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
25710 { echo "$as_me:$LINENO: result: $ac_res" >&5
25711 echo "${ECHO_T}$ac_res" >&6; }
25713 if eval test \
$wx_cv_func_$wx_func = yes
25715 cat >>confdefs.h
<<_ACEOF
25716 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25728 for wx_func
in strtoull
25730 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25731 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25732 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25733 echo $ECHO_N "(cached) $ECHO_C" >&6
25736 cat >conftest.
$ac_ext <<_ACEOF
25740 cat confdefs.h
>>conftest.
$ac_ext
25741 cat >>conftest.
$ac_ext <<_ACEOF
25742 /* end confdefs.h. */
25745 $ac_includes_default
25761 rm -f conftest.
$ac_objext conftest
$ac_exeext
25762 if { (ac_try
="$ac_link"
25763 case "(($ac_try" in
25764 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25765 *) ac_try_echo=$ac_try;;
25767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25768 (eval "$ac_link") 2>conftest.er1
25770 grep -v '^ *+' conftest.er1 >conftest.err
25772 cat conftest.err >&5
25773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25774 (exit $ac_status); } && {
25775 test -z "$ac_cxx_werror_flag" ||
25776 test ! -s conftest.err
25777 } && test -s conftest$ac_exeext &&
25778 $as_test_x conftest$ac_exeext; then
25779 eval wx_cv_func_$wx_func=yes
25781 echo "$as_me: failed program was:" >&5
25782 sed 's/^/| /' conftest.$ac_ext >&5
25784 eval wx_cv_func_$wx_func=no
25787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25788 conftest$ac_exeext conftest.$ac_ext
25791 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25792 { echo "$as_me:$LINENO: result: $ac_res" >&5
25793 echo "${ECHO_T}$ac_res" >&6; }
25795 if eval test \$wx_cv_func_$wx_func = yes
25797 cat >>confdefs.h <<_ACEOF
25798 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25810 ac_cpp='$CPP $CPPFLAGS'
25811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25818 if test "$wxUSE_REGEX" != "no"; then
25819 cat >>confdefs.h <<\_ACEOF
25820 #define wxUSE_REGEX 1
25824 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25825 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25826 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25827 wxUSE_REGEX=builtin
25830 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25831 { echo "$as_me:$LINENO: checking for regex.h" >&5
25832 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25833 if test "${ac_cv_header_regex_h+set}" = set; then
25834 echo $ECHO_N "(cached) $ECHO_C" >&6
25836 cat >conftest.$ac_ext <<_ACEOF
25839 cat confdefs.h >>conftest.$ac_ext
25840 cat >>conftest.$ac_ext <<_ACEOF
25841 /* end confdefs.h. */
25846 rm -f conftest.$ac_objext
25847 if { (ac_try="$ac_compile"
25848 case "(($ac_try" in
25849 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25850 *) ac_try_echo
=$ac_try;;
25852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25853 (eval "$ac_compile") 2>conftest.er1
25855 grep -v '^ *+' conftest.er1
>conftest.err
25857 cat conftest.err
>&5
25858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25859 (exit $ac_status); } && {
25860 test -z "$ac_c_werror_flag" ||
25861 test ! -s conftest.err
25862 } && test -s conftest.
$ac_objext; then
25863 ac_cv_header_regex_h
=yes
25865 echo "$as_me: failed program was:" >&5
25866 sed 's/^/| /' conftest.
$ac_ext >&5
25868 ac_cv_header_regex_h
=no
25871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25873 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25874 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25875 if test $ac_cv_header_regex_h = yes; then
25878 for ac_func
in regcomp re_search
25880 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25881 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25883 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25884 echo $ECHO_N "(cached) $ECHO_C" >&6
25886 cat >conftest.
$ac_ext <<_ACEOF
25889 cat confdefs.h
>>conftest.
$ac_ext
25890 cat >>conftest.
$ac_ext <<_ACEOF
25891 /* end confdefs.h. */
25892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25894 #define $ac_func innocuous_$ac_func
25896 /* System header to define __stub macros and hopefully few prototypes,
25897 which can conflict with char $ac_func (); below.
25898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25899 <limits.h> exists even on freestanding compilers. */
25902 # include <limits.h>
25904 # include <assert.h>
25909 /* Override any GCC internal prototype to avoid an error.
25910 Use char because int might match the return type of a GCC
25911 builtin and then its argument prototype would still apply. */
25916 /* The GNU C library defines this for functions which it implements
25917 to always fail with ENOSYS. Some functions are actually named
25918 something starting with __ and the normal name is an alias. */
25919 #if defined __stub_$ac_func || defined __stub___$ac_func
25926 return $ac_func ();
25931 rm -f conftest.
$ac_objext conftest
$ac_exeext
25932 if { (ac_try
="$ac_link"
25933 case "(($ac_try" in
25934 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25935 *) ac_try_echo=$ac_try;;
25937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25938 (eval "$ac_link") 2>conftest.er1
25940 grep -v '^ *+' conftest.er1 >conftest.err
25942 cat conftest.err >&5
25943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25944 (exit $ac_status); } && {
25945 test -z "$ac_c_werror_flag" ||
25946 test ! -s conftest.err
25947 } && test -s conftest$ac_exeext &&
25948 $as_test_x conftest$ac_exeext; then
25949 eval "$as_ac_var=yes"
25951 echo "$as_me: failed program was:" >&5
25952 sed 's/^/| /' conftest.$ac_ext >&5
25954 eval "$as_ac_var=no"
25957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25958 conftest$ac_exeext conftest.$ac_ext
25960 ac_res=`eval echo '${'$as_ac_var'}'`
25961 { echo "$as_me:$LINENO: result: $ac_res" >&5
25962 echo "${ECHO_T}$ac_res" >&6; }
25963 if test `eval echo '${'$as_ac_var'}'` = yes; then
25964 cat >>confdefs.h <<_ACEOF
25965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25975 if test "x$ac_cv_func_regcomp" != "xyes"; then
25976 if test "$wxUSE_REGEX" = "sys" ; then
25977 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25978 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25979 { (exit 1); exit 1; }; }
25981 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25982 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25983 wxUSE_REGEX=builtin
25987 cat >>confdefs.h <<\_ACEOF
25988 #define WX_NO_REGEX_ADVANCED 1
25997 if test "$wxUSE_ZLIB" != "no" ; then
25998 cat >>confdefs.h <<\_ACEOF
25999 #define wxUSE_ZLIB 1
26003 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26004 if test "$USE_DARWIN" = 1; then
26005 system_zlib_h_ok="yes"
26007 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26008 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26009 if test "${ac_cv_header_zlib_h+set}" = set; then
26010 echo $ECHO_N "(cached) $ECHO_C" >&6
26012 if test "$cross_compiling" = yes; then
26013 unset ac_cv_header_zlib_h
26016 cat >conftest.$ac_ext <<_ACEOF
26019 cat confdefs.h >>conftest.$ac_ext
26020 cat >>conftest.$ac_ext <<_ACEOF
26021 /* end confdefs.h. */
26028 FILE *f=fopen("conftestval", "w");
26031 ZLIB_VERSION[0] == '1' &&
26032 (ZLIB_VERSION[2] > '1' ||
26033 (ZLIB_VERSION[2] == '1' &&
26034 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26039 rm -f conftest$ac_exeext
26040 if { (ac_try="$ac_link"
26041 case "(($ac_try" in
26042 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26043 *) ac_try_echo
=$ac_try;;
26045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26046 (eval "$ac_link") 2>&5
26048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26049 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26050 { (case "(($ac_try" in
26051 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26052 *) ac_try_echo=$ac_try;;
26054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26055 (eval "$ac_try") 2>&5
26057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058 (exit $ac_status); }; }; then
26059 ac_cv_header_zlib_h=`cat conftestval
`
26061 echo "$as_me: program exited with status $ac_status" >&5
26062 echo "$as_me: failed program was:" >&5
26063 sed 's/^/| /' conftest.$ac_ext >&5
26065 ( exit $ac_status )
26066 ac_cv_header_zlib_h=no
26068 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26074 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26075 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26076 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26077 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26078 if test "${ac_cv_header_zlib_h+set}" = set; then
26079 echo $ECHO_N "(cached) $ECHO_C" >&6
26081 cat >conftest.$ac_ext <<_ACEOF
26084 cat confdefs.h >>conftest.$ac_ext
26085 cat >>conftest.$ac_ext <<_ACEOF
26086 /* end confdefs.h. */
26091 rm -f conftest.$ac_objext
26092 if { (ac_try="$ac_compile"
26093 case "(($ac_try" in
26094 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26095 *) ac_try_echo
=$ac_try;;
26097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26098 (eval "$ac_compile") 2>conftest.er1
26100 grep -v '^ *+' conftest.er1
>conftest.err
26102 cat conftest.err
>&5
26103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104 (exit $ac_status); } && {
26105 test -z "$ac_c_werror_flag" ||
26106 test ! -s conftest.err
26107 } && test -s conftest.
$ac_objext; then
26108 ac_cv_header_zlib_h
=yes
26110 echo "$as_me: failed program was:" >&5
26111 sed 's/^/| /' conftest.
$ac_ext >&5
26113 ac_cv_header_zlib_h
=no
26116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26118 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26119 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26123 system_zlib_h_ok
=$ac_cv_header_zlib_h
26126 if test "$system_zlib_h_ok" = "yes"; then
26127 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26128 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26129 if test "${ac_cv_lib_z_deflate+set}" = set; then
26130 echo $ECHO_N "(cached) $ECHO_C" >&6
26132 ac_check_lib_save_LIBS
=$LIBS
26134 cat >conftest.
$ac_ext <<_ACEOF
26137 cat confdefs.h
>>conftest.
$ac_ext
26138 cat >>conftest.
$ac_ext <<_ACEOF
26139 /* end confdefs.h. */
26141 /* Override any GCC internal prototype to avoid an error.
26142 Use char because int might match the return type of a GCC
26143 builtin and then its argument prototype would still apply. */
26156 rm -f conftest.
$ac_objext conftest
$ac_exeext
26157 if { (ac_try
="$ac_link"
26158 case "(($ac_try" in
26159 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26160 *) ac_try_echo=$ac_try;;
26162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26163 (eval "$ac_link") 2>conftest.er1
26165 grep -v '^ *+' conftest.er1 >conftest.err
26167 cat conftest.err >&5
26168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169 (exit $ac_status); } && {
26170 test -z "$ac_c_werror_flag" ||
26171 test ! -s conftest.err
26172 } && test -s conftest$ac_exeext &&
26173 $as_test_x conftest$ac_exeext; then
26174 ac_cv_lib_z_deflate=yes
26176 echo "$as_me: failed program was:" >&5
26177 sed 's/^/| /' conftest.$ac_ext >&5
26179 ac_cv_lib_z_deflate=no
26182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26183 conftest$ac_exeext conftest.$ac_ext
26184 LIBS=$ac_check_lib_save_LIBS
26186 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26187 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26188 if test $ac_cv_lib_z_deflate = yes; then
26194 if test "x$ZLIB_LINK" = "x" ; then
26195 if test "$wxUSE_ZLIB" = "sys" ; then
26196 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26197 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26198 { (exit 1); exit 1; }; }
26200 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26201 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26212 if test "$wxUSE_LIBPNG" != "no" ; then
26213 cat >>confdefs.h <<\_ACEOF
26214 #define wxUSE_LIBPNG 1
26218 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26219 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26220 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26224 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26225 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26226 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26227 wxUSE_LIBPNG=builtin
26230 if test "$wxUSE_MGL" != 1 ; then
26231 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26232 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26233 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26234 if test "${ac_cv_header_png_h+set}" = set; then
26235 echo $ECHO_N "(cached) $ECHO_C" >&6
26237 if test "$cross_compiling" = yes; then
26238 unset ac_cv_header_png_h
26241 cat >conftest.$ac_ext <<_ACEOF
26244 cat confdefs.h >>conftest.$ac_ext
26245 cat >>conftest.$ac_ext <<_ACEOF
26246 /* end confdefs.h. */
26253 FILE *f=fopen("conftestval", "w");
26256 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26261 rm -f conftest$ac_exeext
26262 if { (ac_try="$ac_link"
26263 case "(($ac_try" in
26264 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26265 *) ac_try_echo
=$ac_try;;
26267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26268 (eval "$ac_link") 2>&5
26270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26272 { (case "(($ac_try" in
26273 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26274 *) ac_try_echo=$ac_try;;
26276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26277 (eval "$ac_try") 2>&5
26279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26280 (exit $ac_status); }; }; then
26281 ac_cv_header_png_h=`cat conftestval
`
26283 echo "$as_me: program exited with status $ac_status" >&5
26284 echo "$as_me: failed program was:" >&5
26285 sed 's/^/| /' conftest.$ac_ext >&5
26287 ( exit $ac_status )
26288 ac_cv_header_png_h=no
26290 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26296 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26297 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26298 { echo "$as_me:$LINENO: checking for png.h" >&5
26299 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26300 if test "${ac_cv_header_png_h+set}" = set; then
26301 echo $ECHO_N "(cached) $ECHO_C" >&6
26303 cat >conftest.$ac_ext <<_ACEOF
26306 cat confdefs.h >>conftest.$ac_ext
26307 cat >>conftest.$ac_ext <<_ACEOF
26308 /* end confdefs.h. */
26313 rm -f conftest.$ac_objext
26314 if { (ac_try="$ac_compile"
26315 case "(($ac_try" in
26316 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26317 *) ac_try_echo
=$ac_try;;
26319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26320 (eval "$ac_compile") 2>conftest.er1
26322 grep -v '^ *+' conftest.er1
>conftest.err
26324 cat conftest.err
>&5
26325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26326 (exit $ac_status); } && {
26327 test -z "$ac_c_werror_flag" ||
26328 test ! -s conftest.err
26329 } && test -s conftest.
$ac_objext; then
26330 ac_cv_header_png_h
=yes
26332 echo "$as_me: failed program was:" >&5
26333 sed 's/^/| /' conftest.
$ac_ext >&5
26335 ac_cv_header_png_h
=no
26338 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26340 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26341 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26345 if test "$ac_cv_header_png_h" = "yes"; then
26346 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26347 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26348 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26349 echo $ECHO_N "(cached) $ECHO_C" >&6
26351 ac_check_lib_save_LIBS
=$LIBS
26352 LIBS
="-lpng -lz -lm $LIBS"
26353 cat >conftest.
$ac_ext <<_ACEOF
26356 cat confdefs.h
>>conftest.
$ac_ext
26357 cat >>conftest.
$ac_ext <<_ACEOF
26358 /* end confdefs.h. */
26360 /* Override any GCC internal prototype to avoid an error.
26361 Use char because int might match the return type of a GCC
26362 builtin and then its argument prototype would still apply. */
26366 char png_check_sig ();
26370 return png_check_sig ();
26375 rm -f conftest.
$ac_objext conftest
$ac_exeext
26376 if { (ac_try
="$ac_link"
26377 case "(($ac_try" in
26378 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26379 *) ac_try_echo=$ac_try;;
26381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26382 (eval "$ac_link") 2>conftest.er1
26384 grep -v '^ *+' conftest.er1 >conftest.err
26386 cat conftest.err >&5
26387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26388 (exit $ac_status); } && {
26389 test -z "$ac_c_werror_flag" ||
26390 test ! -s conftest.err
26391 } && test -s conftest$ac_exeext &&
26392 $as_test_x conftest$ac_exeext; then
26393 ac_cv_lib_png_png_check_sig=yes
26395 echo "$as_me: failed program was:" >&5
26396 sed 's/^/| /' conftest.$ac_ext >&5
26398 ac_cv_lib_png_png_check_sig=no
26401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26402 conftest$ac_exeext conftest.$ac_ext
26403 LIBS=$ac_check_lib_save_LIBS
26405 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26406 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26407 if test $ac_cv_lib_png_png_check_sig = yes; then
26408 PNG_LINK=" -lpng -lz"
26413 if test "x$PNG_LINK" = "x" ; then
26414 if test "$wxUSE_LIBPNG" = "sys" ; then
26415 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26416 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26417 { (exit 1); exit 1; }; }
26419 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26420 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26421 wxUSE_LIBPNG=builtin
26432 if test "$wxUSE_LIBJPEG" != "no" ; then
26433 cat >>confdefs.h <<\_ACEOF
26434 #define wxUSE_LIBJPEG 1
26438 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26439 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26440 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26444 if test "$wxUSE_MGL" != 1 ; then
26445 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26446 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26447 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26448 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26449 echo $ECHO_N "(cached) $ECHO_C" >&6
26451 cat >conftest.$ac_ext <<_ACEOF
26454 cat confdefs.h >>conftest.$ac_ext
26455 cat >>conftest.$ac_ext <<_ACEOF
26456 /* end confdefs.h. */
26458 #undef HAVE_STDLIB_H
26460 #include <jpeglib.h>
26471 rm -f conftest.$ac_objext
26472 if { (ac_try="$ac_compile"
26473 case "(($ac_try" in
26474 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26475 *) ac_try_echo
=$ac_try;;
26477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26478 (eval "$ac_compile") 2>conftest.er1
26480 grep -v '^ *+' conftest.er1
>conftest.err
26482 cat conftest.err
>&5
26483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484 (exit $ac_status); } && {
26485 test -z "$ac_c_werror_flag" ||
26486 test ! -s conftest.err
26487 } && test -s conftest.
$ac_objext; then
26488 ac_cv_header_jpeglib_h
=yes
26490 echo "$as_me: failed program was:" >&5
26491 sed 's/^/| /' conftest.
$ac_ext >&5
26493 ac_cv_header_jpeglib_h
=no
26497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26501 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26502 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26504 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26505 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26506 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26507 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26508 echo $ECHO_N "(cached) $ECHO_C" >&6
26510 ac_check_lib_save_LIBS
=$LIBS
26511 LIBS
="-ljpeg $LIBS"
26512 cat >conftest.
$ac_ext <<_ACEOF
26515 cat confdefs.h
>>conftest.
$ac_ext
26516 cat >>conftest.
$ac_ext <<_ACEOF
26517 /* end confdefs.h. */
26519 /* Override any GCC internal prototype to avoid an error.
26520 Use char because int might match the return type of a GCC
26521 builtin and then its argument prototype would still apply. */
26525 char jpeg_read_header ();
26529 return jpeg_read_header ();
26534 rm -f conftest.
$ac_objext conftest
$ac_exeext
26535 if { (ac_try
="$ac_link"
26536 case "(($ac_try" in
26537 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26538 *) ac_try_echo=$ac_try;;
26540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26541 (eval "$ac_link") 2>conftest.er1
26543 grep -v '^ *+' conftest.er1 >conftest.err
26545 cat conftest.err >&5
26546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26547 (exit $ac_status); } && {
26548 test -z "$ac_c_werror_flag" ||
26549 test ! -s conftest.err
26550 } && test -s conftest$ac_exeext &&
26551 $as_test_x conftest$ac_exeext; then
26552 ac_cv_lib_jpeg_jpeg_read_header=yes
26554 echo "$as_me: failed program was:" >&5
26555 sed 's/^/| /' conftest.$ac_ext >&5
26557 ac_cv_lib_jpeg_jpeg_read_header=no
26560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26561 conftest$ac_exeext conftest.$ac_ext
26562 LIBS=$ac_check_lib_save_LIBS
26564 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26565 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26566 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26567 JPEG_LINK=" -ljpeg"
26572 if test "x$JPEG_LINK" = "x" ; then
26573 if test "$wxUSE_LIBJPEG" = "sys" ; then
26574 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26575 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26576 { (exit 1); exit 1; }; }
26578 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26579 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26580 wxUSE_LIBJPEG=builtin
26585 if test "$wxUSE_MSW" = 1; then
26586 { echo "$as_me:$LINENO: checking for boolean" >&5
26587 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26588 if test "${ac_cv_type_boolean+set}" = set; then
26589 echo $ECHO_N "(cached) $ECHO_C" >&6
26591 cat >conftest.$ac_ext <<_ACEOF
26594 cat confdefs.h >>conftest.$ac_ext
26595 cat >>conftest.$ac_ext <<_ACEOF
26596 /* end confdefs.h. */
26597 #include <windows.h>
26599 typedef boolean ac__type_new_;
26603 if ((ac__type_new_ *) 0)
26605 if (sizeof (ac__type_new_))
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_c_werror_flag" ||
26626 test ! -s conftest.err
26627 } && test -s conftest.
$ac_objext; then
26628 ac_cv_type_boolean
=yes
26630 echo "$as_me: failed program was:" >&5
26631 sed 's/^/| /' conftest.
$ac_ext >&5
26633 ac_cv_type_boolean
=no
26636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26638 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26639 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26640 if test $ac_cv_type_boolean = yes; then
26642 cat >>confdefs.h
<<_ACEOF
26643 #define HAVE_BOOLEAN 1
26647 { echo "$as_me:$LINENO: checking for boolean" >&5
26648 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26649 if test "${ac_cv_type_boolean+set}" = set; then
26650 echo $ECHO_N "(cached) $ECHO_C" >&6
26652 cat >conftest.
$ac_ext <<_ACEOF
26655 cat confdefs.h
>>conftest.
$ac_ext
26656 cat >>conftest.
$ac_ext <<_ACEOF
26657 /* end confdefs.h. */
26659 #undef HAVE_BOOLEAN
26661 #include <jpeglib.h>
26664 typedef boolean ac__type_new_;
26668 if ((ac__type_new_ *) 0)
26670 if (sizeof (ac__type_new_))
26676 rm -f conftest.
$ac_objext
26677 if { (ac_try
="$ac_compile"
26678 case "(($ac_try" in
26679 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26680 *) ac_try_echo=$ac_try;;
26682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26683 (eval "$ac_compile") 2>conftest.er1
26685 grep -v '^ *+' conftest.er1 >conftest.err
26687 cat conftest.err >&5
26688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26689 (exit $ac_status); } && {
26690 test -z "$ac_c_werror_flag" ||
26691 test ! -s conftest.err
26692 } && test -s conftest.$ac_objext; then
26693 ac_cv_type_boolean=yes
26695 echo "$as_me: failed program was:" >&5
26696 sed 's/^/| /' conftest.$ac_ext >&5
26698 ac_cv_type_boolean=no
26701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26703 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26704 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26706 # The cast to long int works around a bug in the HP C Compiler
26707 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26708 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
26709 # This bug is HP SR number 8606223364.
26710 { echo "$as_me:$LINENO: checking size of boolean" >&5
26711 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26712 if test "${ac_cv_sizeof_boolean+set}" = set; then
26713 echo $ECHO_N "(cached) $ECHO_C" >&6
26715 if test "$cross_compiling" = yes; then
26716 # Depending upon the size, compute the lo and hi bounds.
26717 cat >conftest.$ac_ext <<_ACEOF
26720 cat confdefs.h >>conftest.$ac_ext
26721 cat >>conftest.$ac_ext <<_ACEOF
26722 /* end confdefs.h. */
26724 #undef HAVE_BOOLEAN
26726 #include <jpeglib.h>
26729 typedef boolean ac__type_sizeof_;
26733 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26740 rm -f conftest.$ac_objext
26741 if { (ac_try="$ac_compile"
26742 case "(($ac_try" in
26743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26744 *) ac_try_echo=$ac_try;;
26746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26747 (eval "$ac_compile") 2>conftest.er1
26749 grep -v '^
*+' conftest.er1 >conftest.err
26751 cat conftest.err >&5
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); } && {
26754 test -z "$ac_c_werror_flag" ||
26755 test ! -s conftest.err
26756 } && test -s conftest.$ac_objext; then
26759 cat >conftest.$ac_ext <<_ACEOF
26762 cat confdefs.h >>conftest.$ac_ext
26763 cat >>conftest.$ac_ext <<_ACEOF
26764 /* end confdefs.h. */
26766 #undef HAVE_BOOLEAN
26768 #include <jpeglib.h>
26771 typedef boolean ac__type_sizeof_;
26775 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26782 rm -f conftest.$ac_objext
26783 if { (ac_try="$ac_compile"
26784 case "(($ac_try" in
26785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26786 *) ac_try_echo=$ac_try;;
26788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26789 (eval "$ac_compile") 2>conftest.er1
26791 grep -v '^
*+' conftest.er1 >conftest.err
26793 cat conftest.err >&5
26794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26795 (exit $ac_status); } && {
26796 test -z "$ac_c_werror_flag" ||
26797 test ! -s conftest.err
26798 } && test -s conftest.$ac_objext; then
26799 ac_hi=$ac_mid; break
26801 echo "$as_me: failed program was:" >&5
26802 sed 's
/^
/| /' conftest.$ac_ext >&5
26804 ac_lo=`expr $ac_mid + 1`
26805 if test $ac_lo -le $ac_mid; then
26809 ac_mid=`expr 2 '*' $ac_mid + 1`
26812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26815 echo "$as_me: failed program was:" >&5
26816 sed 's
/^
/| /' conftest.$ac_ext >&5
26818 cat >conftest.$ac_ext <<_ACEOF
26821 cat confdefs.h >>conftest.$ac_ext
26822 cat >>conftest.$ac_ext <<_ACEOF
26823 /* end confdefs.h. */
26825 #undef HAVE_BOOLEAN
26827 #include <jpeglib.h>
26830 typedef boolean ac__type_sizeof_;
26834 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26841 rm -f conftest.$ac_objext
26842 if { (ac_try="$ac_compile"
26843 case "(($ac_try" in
26844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26845 *) ac_try_echo=$ac_try;;
26847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26848 (eval "$ac_compile") 2>conftest.er1
26850 grep -v '^
*+' conftest.er1 >conftest.err
26852 cat conftest.err >&5
26853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26854 (exit $ac_status); } && {
26855 test -z "$ac_c_werror_flag" ||
26856 test ! -s conftest.err
26857 } && test -s conftest.$ac_objext; then
26860 cat >conftest.$ac_ext <<_ACEOF
26863 cat confdefs.h >>conftest.$ac_ext
26864 cat >>conftest.$ac_ext <<_ACEOF
26865 /* end confdefs.h. */
26867 #undef HAVE_BOOLEAN
26869 #include <jpeglib.h>
26872 typedef boolean ac__type_sizeof_;
26876 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26883 rm -f conftest.$ac_objext
26884 if { (ac_try="$ac_compile"
26885 case "(($ac_try" in
26886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26887 *) ac_try_echo=$ac_try;;
26889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26890 (eval "$ac_compile") 2>conftest.er1
26892 grep -v '^
*+' conftest.er1 >conftest.err
26894 cat conftest.err >&5
26895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26896 (exit $ac_status); } && {
26897 test -z "$ac_c_werror_flag" ||
26898 test ! -s conftest.err
26899 } && test -s conftest.$ac_objext; then
26900 ac_lo=$ac_mid; break
26902 echo "$as_me: failed program was:" >&5
26903 sed 's
/^
/| /' conftest.$ac_ext >&5
26905 ac_hi=`expr '(' $ac_mid ')' - 1`
26906 if test $ac_mid -le $ac_hi; then
26910 ac_mid=`expr 2 '*' $ac_mid`
26913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26916 echo "$as_me: failed program was:" >&5
26917 sed 's
/^
/| /' conftest.$ac_ext >&5
26922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26926 # Binary search between lo and hi bounds.
26927 while test "x$ac_lo" != "x$ac_hi"; do
26928 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26929 cat >conftest.$ac_ext <<_ACEOF
26932 cat confdefs.h >>conftest.$ac_ext
26933 cat >>conftest.$ac_ext <<_ACEOF
26934 /* end confdefs.h. */
26936 #undef HAVE_BOOLEAN
26938 #include <jpeglib.h>
26941 typedef boolean ac__type_sizeof_;
26945 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26952 rm -f conftest.$ac_objext
26953 if { (ac_try="$ac_compile"
26954 case "(($ac_try" in
26955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26956 *) ac_try_echo=$ac_try;;
26958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26959 (eval "$ac_compile") 2>conftest.er1
26961 grep -v '^
*+' conftest.er1 >conftest.err
26963 cat conftest.err >&5
26964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26965 (exit $ac_status); } && {
26966 test -z "$ac_c_werror_flag" ||
26967 test ! -s conftest.err
26968 } && test -s conftest.$ac_objext; then
26971 echo "$as_me: failed program was:" >&5
26972 sed 's
/^
/| /' conftest.$ac_ext >&5
26974 ac_lo=`expr '(' $ac_mid ')' + 1`
26977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26980 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26981 '') if test "$ac_cv_type_boolean" = yes; then
26982 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26983 See \`config.log' for more details.
" >&5
26984 echo "$as_me: error
: cannot compute sizeof
(boolean
)
26985 See \
`config.log' for more details." >&2;}
26986 { (exit 77); exit 77; }; }
26988 ac_cv_sizeof_boolean=0
26992 cat >conftest.$ac_ext <<_ACEOF
26995 cat confdefs.h >>conftest.$ac_ext
26996 cat >>conftest.$ac_ext <<_ACEOF
26997 /* end confdefs.h. */
26999 #undef HAVE_BOOLEAN
27001 #include <jpeglib.h>
27004 typedef boolean ac__type_sizeof_;
27005 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27006 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27008 #include <stdlib.h>
27013 FILE *f = fopen ("conftest.val", "w");
27016 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27018 long int i = longval ();
27019 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27021 fprintf (f, "%ld\n", i);
27025 unsigned long int i = ulongval ();
27026 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27028 fprintf (f, "%lu\n", i);
27030 return ferror (f) || fclose (f) != 0;
27036 rm -f conftest$ac_exeext
27037 if { (ac_try="$ac_link"
27038 case "(($ac_try" in
27039 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27040 *) ac_try_echo
=$ac_try;;
27042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27043 (eval "$ac_link") 2>&5
27045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27046 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27047 { (case "(($ac_try" in
27048 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27049 *) ac_try_echo=$ac_try;;
27051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27052 (eval "$ac_try") 2>&5
27054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27055 (exit $ac_status); }; }; then
27056 ac_cv_sizeof_boolean=`cat conftest.val
`
27058 echo "$as_me: program exited with status $ac_status" >&5
27059 echo "$as_me: failed program was:" >&5
27060 sed 's/^/| /' conftest.$ac_ext >&5
27062 ( exit $ac_status )
27063 if test "$ac_cv_type_boolean" = yes; then
27064 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27065 See \`config.log
' for more details." >&5
27066 echo "$as_me: error: cannot compute sizeof (boolean)
27067 See \`config.log' for more details.
" >&2;}
27068 { (exit 77); exit 77; }; }
27070 ac_cv_sizeof_boolean=0
27073 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27077 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27078 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27082 cat >>confdefs.h <<_ACEOF
27083 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27087 cat >>confdefs.h <<_ACEOF
27088 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27102 TIFF_PREREQ_LINKS=-lm
27103 if test "$wxUSE_LIBTIFF" != "no
" ; then
27104 cat >>confdefs.h <<\_ACEOF
27105 #define wxUSE_LIBTIFF 1
27109 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27110 if test "$wxUSE_LIBJPEG" = "sys
"; then
27111 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27113 if test "$wxUSE_ZLIB" = "sys
"; then
27114 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27116 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27117 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27118 if test "${ac_cv_header_tiffio_h+set}" = set; then
27119 echo $ECHO_N "(cached
) $ECHO_C" >&6
27121 cat >conftest.$ac_ext <<_ACEOF
27124 cat confdefs.h >>conftest.$ac_ext
27125 cat >>conftest.$ac_ext <<_ACEOF
27126 /* end confdefs.h. */
27130 #include <tiffio.h>
27132 rm -f conftest.$ac_objext
27133 if { (ac_try="$ac_compile"
27134 case "(($ac_try" in
27135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27136 *) ac_try_echo=$ac_try;;
27138 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27139 (eval "$ac_compile") 2>conftest.er1
27141 grep -v '^ *+' conftest.er1 >conftest.err
27143 cat conftest.err >&5
27144 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27145 (exit $ac_status); } && {
27146 test -z "$ac_c_werror_flag" ||
27147 test ! -s conftest.err
27148 } && test -s conftest.$ac_objext; then
27149 ac_cv_header_tiffio_h=yes
27151 echo "$as_me: failed program was
:" >&5
27152 sed 's/^/| /' conftest.$ac_ext >&5
27154 ac_cv_header_tiffio_h=no
27157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27159 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27160 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27161 if test $ac_cv_header_tiffio_h = yes; then
27163 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27164 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27165 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27166 echo $ECHO_N "(cached
) $ECHO_C" >&6
27168 ac_check_lib_save_LIBS=$LIBS
27169 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27170 cat >conftest.$ac_ext <<_ACEOF
27173 cat confdefs.h >>conftest.$ac_ext
27174 cat >>conftest.$ac_ext <<_ACEOF
27175 /* end confdefs.h. */
27177 /* Override any GCC internal prototype to avoid an error.
27178 Use char because int might match the return type of a GCC
27179 builtin and then its argument prototype would still apply. */
27187 return TIFFError ();
27192 rm -f conftest.$ac_objext conftest$ac_exeext
27193 if { (ac_try="$ac_link"
27194 case "(($ac_try" in
27195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27196 *) ac_try_echo=$ac_try;;
27198 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27199 (eval "$ac_link") 2>conftest.er1
27201 grep -v '^ *+' conftest.er1 >conftest.err
27203 cat conftest.err >&5
27204 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27205 (exit $ac_status); } && {
27206 test -z "$ac_c_werror_flag" ||
27207 test ! -s conftest.err
27208 } && test -s conftest$ac_exeext &&
27209 $as_test_x conftest$ac_exeext; then
27210 ac_cv_lib_tiff_TIFFError=yes
27212 echo "$as_me: failed program was
:" >&5
27213 sed 's/^/| /' conftest.$ac_ext >&5
27215 ac_cv_lib_tiff_TIFFError=no
27218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27219 conftest$ac_exeext conftest.$ac_ext
27220 LIBS=$ac_check_lib_save_LIBS
27222 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27223 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27224 if test $ac_cv_lib_tiff_TIFFError = yes; then
27225 TIFF_LINK=" -ltiff"
27233 if test "x
$TIFF_LINK" = "x
" ; then
27234 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27235 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27236 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27237 { (exit 1); exit 1; }; }
27239 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27240 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27241 wxUSE_LIBTIFF=builtin
27247 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27248 if test "$wxUSE_LIBJPEG" = "no
"; then
27249 ac_configure_args="$ac_configure_args --disable-jpeg"
27251 subdirs="$subdirs src
/tiff
"
27257 if test "$wxUSE_WCHAR_T" != "yes"; then
27258 if test "$wxUSE_EXPAT" != "no
"; then
27259 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27260 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27263 if test "$wxUSE_XML" != "no
"; then
27264 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27265 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27270 if test "$wxUSE_EXPAT" != "no
"; then
27272 cat >>confdefs.h <<\_ACEOF
27273 #define wxUSE_EXPAT 1
27276 cat >>confdefs.h <<\_ACEOF
27277 #define wxUSE_XML 1
27281 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27282 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27283 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27284 if test "${ac_cv_header_expat_h+set}" = set; then
27285 echo $ECHO_N "(cached
) $ECHO_C" >&6
27287 cat >conftest.$ac_ext <<_ACEOF
27290 cat confdefs.h >>conftest.$ac_ext
27291 cat >>conftest.$ac_ext <<_ACEOF
27292 /* end confdefs.h. */
27297 rm -f conftest.$ac_objext
27298 if { (ac_try="$ac_compile"
27299 case "(($ac_try" in
27300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27301 *) ac_try_echo=$ac_try;;
27303 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27304 (eval "$ac_compile") 2>conftest.er1
27306 grep -v '^ *+' conftest.er1 >conftest.err
27308 cat conftest.err >&5
27309 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27310 (exit $ac_status); } && {
27311 test -z "$ac_c_werror_flag" ||
27312 test ! -s conftest.err
27313 } && test -s conftest.$ac_objext; then
27314 ac_cv_header_expat_h=yes
27316 echo "$as_me: failed program was
:" >&5
27317 sed 's/^/| /' conftest.$ac_ext >&5
27319 ac_cv_header_expat_h=no
27322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27324 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27325 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27326 if test $ac_cv_header_expat_h = yes; then
27331 if test "x
$found_expat_h" = "x1
"; then
27332 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27333 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27334 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27335 echo $ECHO_N "(cached
) $ECHO_C" >&6
27339 ac_cpp='$CXXCPP $CPPFLAGS'
27340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27344 cat >conftest.$ac_ext <<_ACEOF
27347 cat confdefs.h >>conftest.$ac_ext
27348 cat >>conftest.$ac_ext <<_ACEOF
27349 /* end confdefs.h. */
27359 rm -f conftest.$ac_objext
27360 if { (ac_try="$ac_compile"
27361 case "(($ac_try" in
27362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27363 *) ac_try_echo=$ac_try;;
27365 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27366 (eval "$ac_compile") 2>conftest.er1
27368 grep -v '^ *+' conftest.er1 >conftest.err
27370 cat conftest.err >&5
27371 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27372 (exit $ac_status); } && {
27373 test -z "$ac_cxx_werror_flag" ||
27374 test ! -s conftest.err
27375 } && test -s conftest.$ac_objext; then
27376 wx_cv_expat_is_not_broken=yes
27378 echo "$as_me: failed program was
:" >&5
27379 sed 's/^/| /' conftest.$ac_ext >&5
27381 wx_cv_expat_is_not_broken=no
27385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27387 ac_cpp='$CPP $CPPFLAGS'
27388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27395 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27396 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27397 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27398 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27399 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27400 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27401 echo $ECHO_N "(cached
) $ECHO_C" >&6
27403 ac_check_lib_save_LIBS=$LIBS
27404 LIBS="-lexpat $LIBS"
27405 cat >conftest.$ac_ext <<_ACEOF
27408 cat confdefs.h >>conftest.$ac_ext
27409 cat >>conftest.$ac_ext <<_ACEOF
27410 /* end confdefs.h. */
27412 /* Override any GCC internal prototype to avoid an error.
27413 Use char because int might match the return type of a GCC
27414 builtin and then its argument prototype would still apply. */
27418 char XML_ParserCreate ();
27422 return XML_ParserCreate ();
27427 rm -f conftest.$ac_objext conftest$ac_exeext
27428 if { (ac_try="$ac_link"
27429 case "(($ac_try" in
27430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27431 *) ac_try_echo=$ac_try;;
27433 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27434 (eval "$ac_link") 2>conftest.er1
27436 grep -v '^ *+' conftest.er1 >conftest.err
27438 cat conftest.err >&5
27439 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27440 (exit $ac_status); } && {
27441 test -z "$ac_c_werror_flag" ||
27442 test ! -s conftest.err
27443 } && test -s conftest$ac_exeext &&
27444 $as_test_x conftest$ac_exeext; then
27445 ac_cv_lib_expat_XML_ParserCreate=yes
27447 echo "$as_me: failed program was
:" >&5
27448 sed 's/^/| /' conftest.$ac_ext >&5
27450 ac_cv_lib_expat_XML_ParserCreate=no
27453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27454 conftest$ac_exeext conftest.$ac_ext
27455 LIBS=$ac_check_lib_save_LIBS
27457 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27458 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27459 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27460 EXPAT_LINK=" -lexpat"
27465 if test "x
$EXPAT_LINK" = "x
" ; then
27466 if test "$wxUSE_EXPAT" = "sys
" ; then
27467 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27468 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27469 { (exit 1); exit 1; }; }
27471 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27472 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27473 wxUSE_EXPAT=builtin
27479 if test "$wxUSE_EXPAT" = "builtin" ; then
27480 subdirs="$subdirs src
/expat
"
27487 if test "$wxUSE_LIBMSPACK" != "no
"; then
27488 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27489 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27490 if test "${ac_cv_header_mspack_h+set}" = set; then
27491 echo $ECHO_N "(cached
) $ECHO_C" >&6
27493 cat >conftest.$ac_ext <<_ACEOF
27496 cat confdefs.h >>conftest.$ac_ext
27497 cat >>conftest.$ac_ext <<_ACEOF
27498 /* end confdefs.h. */
27501 #include <mspack.h>
27503 rm -f conftest.$ac_objext
27504 if { (ac_try="$ac_compile"
27505 case "(($ac_try" in
27506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27507 *) ac_try_echo=$ac_try;;
27509 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27510 (eval "$ac_compile") 2>conftest.er1
27512 grep -v '^ *+' conftest.er1 >conftest.err
27514 cat conftest.err >&5
27515 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27516 (exit $ac_status); } && {
27517 test -z "$ac_c_werror_flag" ||
27518 test ! -s conftest.err
27519 } && test -s conftest.$ac_objext; then
27520 ac_cv_header_mspack_h=yes
27522 echo "$as_me: failed program was
:" >&5
27523 sed 's/^/| /' conftest.$ac_ext >&5
27525 ac_cv_header_mspack_h=no
27528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27530 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27531 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27532 if test $ac_cv_header_mspack_h = yes; then
27537 if test "x
$found_mspack_h" = "x1
"; then
27538 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27539 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27540 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27541 echo $ECHO_N "(cached
) $ECHO_C" >&6
27543 ac_check_lib_save_LIBS=$LIBS
27544 LIBS="-lmspack $LIBS"
27545 cat >conftest.$ac_ext <<_ACEOF
27548 cat confdefs.h >>conftest.$ac_ext
27549 cat >>conftest.$ac_ext <<_ACEOF
27550 /* end confdefs.h. */
27552 /* Override any GCC internal prototype to avoid an error.
27553 Use char because int might match the return type of a GCC
27554 builtin and then its argument prototype would still apply. */
27558 char mspack_create_chm_decompressor ();
27562 return mspack_create_chm_decompressor ();
27567 rm -f conftest.$ac_objext conftest$ac_exeext
27568 if { (ac_try="$ac_link"
27569 case "(($ac_try" in
27570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27571 *) ac_try_echo=$ac_try;;
27573 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27574 (eval "$ac_link") 2>conftest.er1
27576 grep -v '^ *+' conftest.er1 >conftest.err
27578 cat conftest.err >&5
27579 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27580 (exit $ac_status); } && {
27581 test -z "$ac_c_werror_flag" ||
27582 test ! -s conftest.err
27583 } && test -s conftest$ac_exeext &&
27584 $as_test_x conftest$ac_exeext; then
27585 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27587 echo "$as_me: failed program was
:" >&5
27588 sed 's/^/| /' conftest.$ac_ext >&5
27590 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27594 conftest$ac_exeext conftest.$ac_ext
27595 LIBS=$ac_check_lib_save_LIBS
27597 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27598 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27599 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27600 MSPACK_LINK=" -lmspack"
27604 if test "x
$MSPACK_LINK" = "x
" ; then
27609 if test "$wxUSE_LIBMSPACK" != "no
"; then
27610 cat >>confdefs.h <<\_ACEOF
27611 #define wxUSE_LIBMSPACK 1
27625 if test "$USE_WIN32" = 1 ; then
27627 for ac_header in w32api.h
27629 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
27630 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
27631 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
27632 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
27633 echo $ECHO_N "(cached
) $ECHO_C" >&6
27635 cat >conftest.$ac_ext <<_ACEOF
27638 cat confdefs.h >>conftest.$ac_ext
27639 cat >>conftest.$ac_ext <<_ACEOF
27640 /* end confdefs.h. */
27643 #include <$ac_header>
27645 rm -f conftest.$ac_objext
27646 if { (ac_try="$ac_compile"
27647 case "(($ac_try" in
27648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27649 *) ac_try_echo=$ac_try;;
27651 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27652 (eval "$ac_compile") 2>conftest.er1
27654 grep -v '^ *+' conftest.er1 >conftest.err
27656 cat conftest.err >&5
27657 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27658 (exit $ac_status); } && {
27659 test -z "$ac_c_werror_flag" ||
27660 test ! -s conftest.err
27661 } && test -s conftest.$ac_objext; then
27662 eval "$as_ac_Header=yes"
27664 echo "$as_me: failed program was
:" >&5
27665 sed 's/^/| /' conftest.$ac_ext >&5
27667 eval "$as_ac_Header=no
"
27670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27672 ac_res=`eval echo '${'$as_ac_Header'}'`
27673 { echo "$as_me:$LINENO: result
: $ac_res" >&5
27674 echo "${ECHO_T}$ac_res" >&6; }
27675 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27676 cat >>confdefs.h <<_ACEOF
27677 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
27684 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
27685 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
27686 if test "${ac_cv_header_windows_h+set}" = set; then
27687 echo $ECHO_N "(cached
) $ECHO_C" >&6
27689 cat >conftest.$ac_ext <<_ACEOF
27692 cat confdefs.h >>conftest.$ac_ext
27693 cat >>conftest.$ac_ext <<_ACEOF
27694 /* end confdefs.h. */
27697 #include <windows.h>
27699 rm -f conftest.$ac_objext
27700 if { (ac_try="$ac_compile"
27701 case "(($ac_try" in
27702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27703 *) ac_try_echo=$ac_try;;
27705 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27706 (eval "$ac_compile") 2>conftest.er1
27708 grep -v '^ *+' conftest.er1 >conftest.err
27710 cat conftest.err >&5
27711 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27712 (exit $ac_status); } && {
27713 test -z "$ac_c_werror_flag" ||
27714 test ! -s conftest.err
27715 } && test -s conftest.$ac_objext; then
27716 ac_cv_header_windows_h=yes
27718 echo "$as_me: failed program was
:" >&5
27719 sed 's/^/| /' conftest.$ac_ext >&5
27721 ac_cv_header_windows_h=no
27724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27726 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
27727 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27728 if test $ac_cv_header_windows_h = yes; then
27732 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
27733 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
27734 { (exit 1); exit 1; }; }
27740 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27742 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27743 LIBS="$LIBS -loleacc"
27748 LIBS="$LIBS -lkernel32 -luser32"
27751 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27752 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
27754 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27756 WIN32INSTALL=win32install
27758 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
27759 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
27760 if test "${ac_cv_header_pbt_h+set}" = set; then
27761 echo $ECHO_N "(cached
) $ECHO_C" >&6
27763 cat >conftest.$ac_ext <<_ACEOF
27766 cat confdefs.h >>conftest.$ac_ext
27767 cat >>conftest.$ac_ext <<_ACEOF
27768 /* end confdefs.h. */
27773 rm -f conftest.$ac_objext
27774 if { (ac_try="$ac_compile"
27775 case "(($ac_try" in
27776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27777 *) ac_try_echo=$ac_try;;
27779 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27780 (eval "$ac_compile") 2>conftest.er1
27782 grep -v '^ *+' conftest.er1 >conftest.err
27784 cat conftest.err >&5
27785 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27786 (exit $ac_status); } && {
27787 test -z "$ac_c_werror_flag" ||
27788 test ! -s conftest.err
27789 } && test -s conftest.$ac_objext; then
27790 ac_cv_header_pbt_h=yes
27792 echo "$as_me: failed program was
:" >&5
27793 sed 's/^/| /' conftest.$ac_ext >&5
27795 ac_cv_header_pbt_h=no
27798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27800 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
27801 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27802 if test $ac_cv_header_pbt_h = yes; then
27805 cat >>confdefs.h <<\_ACEOF
27806 #define NEED_PBT_H 1
27814 if test "$wxUSE_GUI" = "yes"; then
27824 if test "$wxUSE_COCOA" = 1 ; then
27825 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27826 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
27827 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
27828 wxUSE_PRINTING_ARCHITECTURE=no
27830 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27831 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
27832 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
27833 wxUSE_DRAG_AND_DROP=no
27835 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27836 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
27837 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
27842 if test "$wxUSE_MSW" = 1 ; then
27848 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
27852 if test "$wxUSE_GTK" = 1; then
27853 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
27854 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
27856 gtk_version_cached=1
27857 if test "${wx_cv_lib_gtk+set}" = set; then
27858 echo $ECHO_N "(cached
) $ECHO_C" >&6
27861 gtk_version_cached=0
27862 { echo "$as_me:$LINENO: result
: " >&5
27863 echo "${ECHO_T}" >&6; }
27866 if test "$wxUSE_THREADS" = "yes"; then
27867 GTK_MODULES=gthread
27871 if test "x
$wxGTK_VERSION" != "x1
"
27875 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27880 # Check whether --enable-gtktest was given.
27881 if test "${enable_gtktest+set}" = set; then
27882 enableval=$enable_gtktest;
27888 pkg_config_args=gtk+-2.0
27889 for module in . $GTK_MODULES
27893 pkg_config_args="$pkg_config_args gthread
-2.0
"
27900 # Extract the first word of "pkg
-config", so it can be a program name with args.
27901 set dummy pkg-config; ac_word=$2
27902 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27903 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27904 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27905 echo $ECHO_N "(cached
) $ECHO_C" >&6
27907 case $PKG_CONFIG in
27909 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27913 for as_dir in $PATH
27916 test -z "$as_dir" && as_dir=.
27917 for ac_exec_ext in '' $ac_executable_extensions; do
27918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27919 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27920 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27927 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
27931 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27932 if test -n "$PKG_CONFIG"; then
27933 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
27934 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27936 { echo "$as_me:$LINENO: result
: no
" >&5
27937 echo "${ECHO_T}no
" >&6; }
27942 if test x$PKG_CONFIG != xno ; then
27943 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27946 echo "*** pkg
-config too old
; version
0.7 or better required.
"
27954 min_gtk_version=2.4.0
27955 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
27956 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
27958 if test x$PKG_CONFIG != xno ; then
27959 ## don't try to run the test against uninstalled libtool libs
27960 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27961 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
27965 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27972 if test x"$no_gtk" = x ; then
27973 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27974 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27975 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27976 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27977 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27978 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27979 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27980 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27981 if test "x
$enable_gtktest" = "xyes
" ; then
27982 ac_save_CFLAGS="$CFLAGS"
27983 ac_save_LIBS="$LIBS"
27984 CFLAGS="$CFLAGS $GTK_CFLAGS"
27985 LIBS="$GTK_LIBS $LIBS"
27987 if test "$cross_compiling" = yes; then
27988 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
27990 cat >conftest.$ac_ext <<_ACEOF
27993 cat confdefs.h >>conftest.$ac_ext
27994 cat >>conftest.$ac_ext <<_ACEOF
27995 /* end confdefs.h. */
27997 #include <gtk/gtk.h>
27999 #include <stdlib.h>
28004 int major, minor, micro;
28007 system ("touch conf.gtktest
");
28009 /* HP/UX 9 (%@#!) writes to sscanf strings */
28010 tmp_version = g_strdup("$min_gtk_version");
28011 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28012 printf("%s
, bad version string
\n", "$min_gtk_version");
28016 if ((gtk_major_version != $gtk_config_major_version) ||
28017 (gtk_minor_version != $gtk_config_minor_version) ||
28018 (gtk_micro_version != $gtk_config_micro_version))
28020 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28021 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28022 gtk_major_version, gtk_minor_version, gtk_micro_version);
28023 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28024 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28025 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28026 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28027 printf("*** required on your system.
\n");
28028 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28029 printf("*** to point to the correct configuration files
\n");
28031 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28032 (gtk_minor_version != GTK_MINOR_VERSION) ||
28033 (gtk_micro_version != GTK_MICRO_VERSION))
28035 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28036 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28037 printf("*** library
(version
%d.
%d.
%d
)\n",
28038 gtk_major_version, gtk_minor_version, gtk_micro_version);
28042 if ((gtk_major_version > major) ||
28043 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28044 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28050 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28051 gtk_major_version, gtk_minor_version, gtk_micro_version);
28052 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28053 major, minor, micro);
28054 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28056 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28057 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28058 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28059 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28060 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28061 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28062 printf("*** so that the correct libraries are found
at run
-time))\n");
28069 rm -f conftest$ac_exeext
28070 if { (ac_try="$ac_link"
28071 case "(($ac_try" in
28072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28073 *) ac_try_echo=$ac_try;;
28075 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28076 (eval "$ac_link") 2>&5
28078 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28079 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28080 { (case "(($ac_try" in
28081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28082 *) ac_try_echo=$ac_try;;
28084 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28085 (eval "$ac_try") 2>&5
28087 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28088 (exit $ac_status); }; }; then
28091 echo "$as_me: program exited with status
$ac_status" >&5
28092 echo "$as_me: failed program was
:" >&5
28093 sed 's/^/| /' conftest.$ac_ext >&5
28095 ( exit $ac_status )
28098 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28102 CFLAGS="$ac_save_CFLAGS"
28103 LIBS="$ac_save_LIBS"
28106 if test "x
$no_gtk" = x ; then
28107 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28108 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28111 { echo "$as_me:$LINENO: result
: no
" >&5
28112 echo "${ECHO_T}no
" >&6; }
28113 if test "$PKG_CONFIG" = "no
" ; then
28114 echo "*** A new enough version of pkg
-config was not found.
"
28115 echo "*** See http
://pkgconfig.sourceforge.net
"
28117 if test -f conf.gtktest ; then
28120 echo "*** Could not run GTK
+ test program
, checking why...
"
28121 ac_save_CFLAGS="$CFLAGS"
28122 ac_save_LIBS="$LIBS"
28123 CFLAGS="$CFLAGS $GTK_CFLAGS"
28124 LIBS="$LIBS $GTK_LIBS"
28125 cat >conftest.$ac_ext <<_ACEOF
28128 cat confdefs.h >>conftest.$ac_ext
28129 cat >>conftest.$ac_ext <<_ACEOF
28130 /* end confdefs.h. */
28132 #include <gtk/gtk.h>
28138 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28143 rm -f conftest.$ac_objext conftest$ac_exeext
28144 if { (ac_try="$ac_link"
28145 case "(($ac_try" in
28146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28147 *) ac_try_echo=$ac_try;;
28149 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28150 (eval "$ac_link") 2>conftest.er1
28152 grep -v '^ *+' conftest.er1 >conftest.err
28154 cat conftest.err >&5
28155 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28156 (exit $ac_status); } && {
28157 test -z "$ac_c_werror_flag" ||
28158 test ! -s conftest.err
28159 } && test -s conftest$ac_exeext &&
28160 $as_test_x conftest$ac_exeext; then
28161 echo "*** The
test program compiled
, but did not run. This usually means
"
28162 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28163 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28164 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28165 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28166 echo "*** is required on your system"
28168 echo "*** If you have an old version installed, it is best to remove it, although"
28169 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28171 echo "$as_me: failed program was:" >&5
28172 sed 's
/^
/| /' conftest.$ac_ext >&5
28174 echo "*** The test program failed to compile or link. See the file config.log for the"
28175 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28179 conftest$ac_exeext conftest.$ac_ext
28180 CFLAGS="$ac_save_CFLAGS"
28181 LIBS="$ac_save_LIBS"
28195 if test "$wxUSE_SHARED" != "yes"; then
28196 GTK_LIBS="$GTK_LIBS -lX11"
28201 if test -z "$wx_cv_lib_gtk"; then
28202 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28204 # Check whether --with-gtk-prefix was given.
28205 if test "${with_gtk_prefix+set}" = set; then
28206 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28208 gtk_config_prefix=""
28212 # Check whether --with-gtk-exec-prefix was given.
28213 if test "${with_gtk_exec_prefix+set}" = set; then
28214 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28216 gtk_config_exec_prefix=""
28219 # Check whether --enable-gtktest was given.
28220 if test "${enable_gtktest+set}" = set; then
28221 enableval=$enable_gtktest;
28227 for module in . $GTK_MODULES
28231 gtk_config_args="$gtk_config_args gthread"
28236 if test x$gtk_config_exec_prefix != x ; then
28237 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28238 if test x${GTK_CONFIG+set} != xset ; then
28239 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28242 if test x$gtk_config_prefix != x ; then
28243 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28244 if test x${GTK_CONFIG+set} != xset ; then
28245 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28249 # Extract the first word of "gtk-config", so it can be a program name with args.
28250 set dummy gtk-config; ac_word=$2
28251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28253 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28254 echo $ECHO_N "(cached) $ECHO_C" >&6
28256 case $GTK_CONFIG in
28258 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28262 for as_dir in $PATH
28265 test -z "$as_dir" && as_dir=.
28266 for ac_exec_ext in '' $ac_executable_extensions; do
28267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28268 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28276 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28280 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28281 if test -n "$GTK_CONFIG"; then
28282 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28283 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28285 { echo "$as_me:$LINENO: result: no" >&5
28286 echo "${ECHO_T}no" >&6; }
28290 min_gtk_version=1.2.7
28291 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28292 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28294 if test "$GTK_CONFIG" = "no" ; then
28297 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28298 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28299 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28300 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28301 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28302 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28303 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28304 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28305 if test "x$enable_gtktest" = "xyes" ; then
28306 ac_save_CFLAGS="$CFLAGS"
28307 ac_save_LIBS="$LIBS"
28308 CFLAGS="$CFLAGS $GTK_CFLAGS"
28309 LIBS="$GTK_LIBS $LIBS"
28311 if test "$cross_compiling" = yes; then
28312 echo $ac_n "cross compiling; assumed OK... $ac_c"
28314 cat >conftest.$ac_ext <<_ACEOF
28317 cat confdefs.h >>conftest.$ac_ext
28318 cat >>conftest.$ac_ext <<_ACEOF
28319 /* end confdefs.h. */
28321 #include <gtk/gtk.h>
28323 #include <stdlib.h>
28328 int major, minor, micro;
28331 system ("touch conf.gtktest");
28333 /* HP/UX 9 (%@#!) writes to sscanf strings */
28334 tmp_version = g_strdup("$min_gtk_version");
28335 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28336 printf("%s, bad version string\n", "$min_gtk_version");
28340 if ((gtk_major_version != $gtk_config_major_version) ||
28341 (gtk_minor_version != $gtk_config_minor_version) ||
28342 (gtk_micro_version != $gtk_config_micro_version))
28344 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28345 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28346 gtk_major_version, gtk_minor_version, gtk_micro_version);
28347 printf ("*** was found! If gtk-config was correct, then it is best\n");
28348 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28349 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28350 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28351 printf("*** required on your system.\n");
28352 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28353 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28354 printf("*** before re-running configure\n");
28356 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28357 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28358 (gtk_minor_version != GTK_MINOR_VERSION) ||
28359 (gtk_micro_version != GTK_MICRO_VERSION))
28361 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28362 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28363 printf("*** library (version %d.%d.%d)\n",
28364 gtk_major_version, gtk_minor_version, gtk_micro_version);
28366 #endif /* defined (GTK_MAJOR_VERSION) ... */
28369 if ((gtk_major_version > major) ||
28370 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28371 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28377 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28378 gtk_major_version, gtk_minor_version, gtk_micro_version);
28379 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28380 major, minor, micro);
28381 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28383 printf("*** If you have already installed a sufficiently new version, this error\n");
28384 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28385 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28386 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28387 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28388 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28389 printf("*** so that the correct libraries are found at run-time))\n");
28396 rm -f conftest$ac_exeext
28397 if { (ac_try="$ac_link"
28398 case "(($ac_try" in
28399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28400 *) ac_try_echo=$ac_try;;
28402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28403 (eval "$ac_link") 2>&5
28405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28406 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28407 { (case "(($ac_try" in
28408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28409 *) ac_try_echo=$ac_try;;
28411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28412 (eval "$ac_try") 2>&5
28414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28415 (exit $ac_status); }; }; then
28418 echo "$as_me: program exited with status $ac_status" >&5
28419 echo "$as_me: failed program was:" >&5
28420 sed 's
/^
/| /' conftest.$ac_ext >&5
28422 ( exit $ac_status )
28425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28429 CFLAGS="$ac_save_CFLAGS"
28430 LIBS="$ac_save_LIBS"
28433 if test "x$no_gtk" = x ; then
28434 { echo "$as_me:$LINENO: result: yes" >&5
28435 echo "${ECHO_T}yes" >&6; }
28436 wx_cv_lib_gtk=1.2.7
28438 { echo "$as_me:$LINENO: result: no" >&5
28439 echo "${ECHO_T}no" >&6; }
28440 if test "$GTK_CONFIG" = "no" ; then
28441 echo "*** The gtk-config script installed by GTK could not be found"
28442 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28443 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28444 echo "*** full path to gtk-config."
28446 if test -f conf.gtktest ; then
28449 echo "*** Could not run GTK test program, checking why..."
28450 CFLAGS="$CFLAGS $GTK_CFLAGS"
28451 LIBS="$LIBS $GTK_LIBS"
28452 cat >conftest.$ac_ext <<_ACEOF
28455 cat confdefs.h >>conftest.$ac_ext
28456 cat >>conftest.$ac_ext <<_ACEOF
28457 /* end confdefs.h. */
28459 #include <gtk/gtk.h>
28465 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28470 rm -f conftest.$ac_objext conftest$ac_exeext
28471 if { (ac_try="$ac_link"
28472 case "(($ac_try" in
28473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28474 *) ac_try_echo=$ac_try;;
28476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28477 (eval "$ac_link") 2>conftest.er1
28479 grep -v '^
*+' conftest.er1 >conftest.err
28481 cat conftest.err >&5
28482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28483 (exit $ac_status); } && {
28484 test -z "$ac_c_werror_flag" ||
28485 test ! -s conftest.err
28486 } && test -s conftest$ac_exeext &&
28487 $as_test_x conftest$ac_exeext; then
28488 echo "*** The test program compiled, but did not run. This usually means"
28489 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28490 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28491 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28492 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28493 echo "*** is required on your system
"
28495 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28496 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28498 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28499 echo "*** came with the system with the
command"
28501 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28503 echo "$as_me: failed program was
:" >&5
28504 sed 's/^/| /' conftest.$ac_ext >&5
28506 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28507 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28508 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28509 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28513 conftest$ac_exeext conftest.$ac_ext
28514 CFLAGS="$ac_save_CFLAGS"
28515 LIBS="$ac_save_LIBS"
28527 if test -z "$wx_cv_lib_gtk"; then
28529 # Check whether --with-gtk-prefix was given.
28530 if test "${with_gtk_prefix+set}" = set; then
28531 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28533 gtk_config_prefix=""
28537 # Check whether --with-gtk-exec-prefix was given.
28538 if test "${with_gtk_exec_prefix+set}" = set; then
28539 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28541 gtk_config_exec_prefix=""
28544 # Check whether --enable-gtktest was given.
28545 if test "${enable_gtktest+set}" = set; then
28546 enableval=$enable_gtktest;
28552 for module in . $GTK_MODULES
28556 gtk_config_args="$gtk_config_args gthread
"
28561 if test x$gtk_config_exec_prefix != x ; then
28562 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28563 if test x${GTK_CONFIG+set} != xset ; then
28564 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28567 if test x$gtk_config_prefix != x ; then
28568 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28569 if test x${GTK_CONFIG+set} != xset ; then
28570 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28574 # Extract the first word of "gtk
-config", so it can be a program name with args.
28575 set dummy gtk-config; ac_word=$2
28576 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28577 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28578 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28579 echo $ECHO_N "(cached
) $ECHO_C" >&6
28581 case $GTK_CONFIG in
28583 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28587 for as_dir in $PATH
28590 test -z "$as_dir" && as_dir=.
28591 for ac_exec_ext in '' $ac_executable_extensions; do
28592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28593 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28594 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28601 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
28605 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28606 if test -n "$GTK_CONFIG"; then
28607 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
28608 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28610 { echo "$as_me:$LINENO: result
: no
" >&5
28611 echo "${ECHO_T}no
" >&6; }
28615 min_gtk_version=1.2.3
28616 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
28617 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
28619 if test "$GTK_CONFIG" = "no
" ; then
28622 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28623 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28624 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28625 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28626 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28627 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28628 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28629 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28630 if test "x
$enable_gtktest" = "xyes
" ; then
28631 ac_save_CFLAGS="$CFLAGS"
28632 ac_save_LIBS="$LIBS"
28633 CFLAGS="$CFLAGS $GTK_CFLAGS"
28634 LIBS="$GTK_LIBS $LIBS"
28636 if test "$cross_compiling" = yes; then
28637 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28639 cat >conftest.$ac_ext <<_ACEOF
28642 cat confdefs.h >>conftest.$ac_ext
28643 cat >>conftest.$ac_ext <<_ACEOF
28644 /* end confdefs.h. */
28646 #include <gtk/gtk.h>
28648 #include <stdlib.h>
28653 int major, minor, micro;
28656 system ("touch conf.gtktest
");
28658 /* HP/UX 9 (%@#!) writes to sscanf strings */
28659 tmp_version = g_strdup("$min_gtk_version");
28660 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28661 printf("%s
, bad version string
\n", "$min_gtk_version");
28665 if ((gtk_major_version != $gtk_config_major_version) ||
28666 (gtk_minor_version != $gtk_config_minor_version) ||
28667 (gtk_micro_version != $gtk_config_micro_version))
28669 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28670 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28671 gtk_major_version, gtk_minor_version, gtk_micro_version);
28672 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
28673 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28674 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28675 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28676 printf("*** required on your system.
\n");
28677 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
28678 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
28679 printf("*** before re
-running configure
\n");
28681 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28682 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28683 (gtk_minor_version != GTK_MINOR_VERSION) ||
28684 (gtk_micro_version != GTK_MICRO_VERSION))
28686 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28687 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28688 printf("*** library
(version
%d.
%d.
%d
)\n",
28689 gtk_major_version, gtk_minor_version, gtk_micro_version);
28691 #endif /* defined (GTK_MAJOR_VERSION) ... */
28694 if ((gtk_major_version > major) ||
28695 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28696 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28702 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28703 gtk_major_version, gtk_minor_version, gtk_micro_version);
28704 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28705 major, minor, micro);
28706 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28708 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28709 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
28710 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28711 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
28712 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
28713 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28714 printf("*** so that the correct libraries are found
at run
-time))\n");
28721 rm -f conftest$ac_exeext
28722 if { (ac_try="$ac_link"
28723 case "(($ac_try" in
28724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28725 *) ac_try_echo=$ac_try;;
28727 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28728 (eval "$ac_link") 2>&5
28730 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28731 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28732 { (case "(($ac_try" in
28733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28734 *) ac_try_echo=$ac_try;;
28736 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28737 (eval "$ac_try") 2>&5
28739 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28740 (exit $ac_status); }; }; then
28743 echo "$as_me: program exited with status
$ac_status" >&5
28744 echo "$as_me: failed program was
:" >&5
28745 sed 's/^/| /' conftest.$ac_ext >&5
28747 ( exit $ac_status )
28750 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28754 CFLAGS="$ac_save_CFLAGS"
28755 LIBS="$ac_save_LIBS"
28758 if test "x
$no_gtk" = x ; then
28759 { echo "$as_me:$LINENO: result
: yes" >&5
28760 echo "${ECHO_T}yes" >&6; }
28761 wx_cv_lib_gtk=1.2.3
28763 { echo "$as_me:$LINENO: result
: no
" >&5
28764 echo "${ECHO_T}no
" >&6; }
28765 if test "$GTK_CONFIG" = "no
" ; then
28766 echo "*** The gtk
-config script installed by GTK could not be found
"
28767 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
28768 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
28769 echo "*** full path to gtk
-config.
"
28771 if test -f conf.gtktest ; then
28774 echo "*** Could not run GTK
test program
, checking why...
"
28775 CFLAGS="$CFLAGS $GTK_CFLAGS"
28776 LIBS="$LIBS $GTK_LIBS"
28777 cat >conftest.$ac_ext <<_ACEOF
28780 cat confdefs.h >>conftest.$ac_ext
28781 cat >>conftest.$ac_ext <<_ACEOF
28782 /* end confdefs.h. */
28784 #include <gtk/gtk.h>
28790 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28795 rm -f conftest.$ac_objext conftest$ac_exeext
28796 if { (ac_try="$ac_link"
28797 case "(($ac_try" in
28798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28799 *) ac_try_echo=$ac_try;;
28801 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28802 (eval "$ac_link") 2>conftest.er1
28804 grep -v '^ *+' conftest.er1 >conftest.err
28806 cat conftest.err >&5
28807 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28808 (exit $ac_status); } && {
28809 test -z "$ac_c_werror_flag" ||
28810 test ! -s conftest.err
28811 } && test -s conftest$ac_exeext &&
28812 $as_test_x conftest$ac_exeext; then
28813 echo "*** The
test program compiled
, but did not run. This usually means
"
28814 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
28815 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
28816 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28817 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28818 echo "*** is required on your system"
28820 echo "*** If you have an old version installed, it is best to remove it, although"
28821 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28823 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28824 echo "*** came with the system with the command"
28826 echo "*** rpm --erase --nodeps gtk gtk-devel"
28828 echo "$as_me: failed program was:" >&5
28829 sed 's
/^
/| /' conftest.$ac_ext >&5
28831 echo "*** The test program failed to compile or link. See the file config.log for the"
28832 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28833 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28834 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28838 conftest$ac_exeext conftest.$ac_ext
28839 CFLAGS="$ac_save_CFLAGS"
28840 LIBS="$ac_save_LIBS"
28855 if test -z "$wx_cv_lib_gtk"; then
28858 wx_cv_cflags_gtk=$GTK_CFLAGS
28859 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
28866 if test "$gtk_version_cached" = 1; then
28867 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28868 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28871 case "$wx_cv_lib_gtk" in
28880 *) { { echo "$as_me:$LINENO: error:
28881 The development files for GTK+ were not found. For GTK+ 2, please
28882 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28883 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28884 and that the version is 1.2.3 or above. Also check that the
28885 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28886 --libs' are in the LD_LIBRARY_PATH or equivalent.
28888 echo "$as_me: error:
28889 The development files for GTK+ were not found. For GTK+ 2, please
28890 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28891 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28892 and that the version is 1.2.3 or above. Also check that the
28893 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28894 --libs' are in the LD_LIBRARY_PATH or equivalent.
28896 { (exit 1); exit 1; }; }
28900 if test "$WXGTK2" = 1; then
28901 save_CFLAGS="$CFLAGS"
28903 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28904 LIBS="$LIBS $wx_cv_libs_gtk"
28906 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28907 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28908 cat >conftest.$ac_ext <<_ACEOF
28911 cat confdefs.h >>conftest.$ac_ext
28912 cat >>conftest.$ac_ext <<_ACEOF
28913 /* end confdefs.h. */
28915 #include <gtk/gtk.h>
28921 #if !GTK_CHECK_VERSION(2,10,0)
28929 rm -f conftest.$ac_objext
28930 if { (ac_try="$ac_compile"
28931 case "(($ac_try" in
28932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28933 *) ac_try_echo=$ac_try;;
28935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28936 (eval "$ac_compile") 2>conftest.er1
28938 grep -v '^
*+' conftest.er1 >conftest.err
28940 cat conftest.err >&5
28941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28942 (exit $ac_status); } && {
28943 test -z "$ac_c_werror_flag" ||
28944 test ! -s conftest.err
28945 } && test -s conftest.$ac_objext; then
28947 cat >>confdefs.h <<\_ACEOF
28948 #define __WXGTK210__ 1
28951 cat >>confdefs.h <<\_ACEOF
28952 #define __WXGTK26__ 1
28955 { echo "$as_me:$LINENO: result: yes" >&5
28956 echo "${ECHO_T}yes" >&6; }
28960 echo "$as_me: failed program was:" >&5
28961 sed 's
/^
/| /' conftest.$ac_ext >&5
28964 { echo "$as_me:$LINENO: result: no" >&5
28965 echo "${ECHO_T}no" >&6; }
28970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28972 if test "$ac_wxgtk210" = 0; then
28973 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28974 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28975 cat >conftest.$ac_ext <<_ACEOF
28978 cat confdefs.h >>conftest.$ac_ext
28979 cat >>conftest.$ac_ext <<_ACEOF
28980 /* end confdefs.h. */
28982 #include <gtk/gtk.h>
28988 #if !GTK_CHECK_VERSION(2,6,0)
28996 rm -f conftest.$ac_objext
28997 if { (ac_try="$ac_compile"
28998 case "(($ac_try" in
28999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29000 *) ac_try_echo=$ac_try;;
29002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29003 (eval "$ac_compile") 2>conftest.er1
29005 grep -v '^
*+' conftest.er1 >conftest.err
29007 cat conftest.err >&5
29008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29009 (exit $ac_status); } && {
29010 test -z "$ac_c_werror_flag" ||
29011 test ! -s conftest.err
29012 } && test -s conftest.$ac_objext; then
29014 cat >>confdefs.h <<\_ACEOF
29015 #define __WXGTK26__ 1
29018 { echo "$as_me:$LINENO: result: yes" >&5
29019 echo "${ECHO_T}yes" >&6; }
29023 echo "$as_me: failed program was:" >&5
29024 sed 's
/^
/| /' conftest.$ac_ext >&5
29027 { echo "$as_me:$LINENO: result: no" >&5
29028 echo "${ECHO_T}no" >&6; }
29033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29036 CFLAGS="$save_CFLAGS"
29039 if test "$wxUSE_UNICODE" = "yes"; then
29040 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29041 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29045 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29046 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29047 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29048 echo $ECHO_N "(cached) $ECHO_C" >&6
29050 ac_check_lib_save_LIBS=$LIBS
29052 cat >conftest.$ac_ext <<_ACEOF
29055 cat confdefs.h >>conftest.$ac_ext
29056 cat >>conftest.$ac_ext <<_ACEOF
29057 /* end confdefs.h. */
29059 /* Override any GCC internal prototype to avoid an error.
29060 Use char because int might match the return type of a GCC
29061 builtin and then its argument prototype would still apply. */
29065 char gdk_im_open ();
29069 return gdk_im_open ();
29074 rm -f conftest.$ac_objext conftest$ac_exeext
29075 if { (ac_try="$ac_link"
29076 case "(($ac_try" in
29077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29078 *) ac_try_echo=$ac_try;;
29080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29081 (eval "$ac_link") 2>conftest.er1
29083 grep -v '^
*+' conftest.er1 >conftest.err
29085 cat conftest.err >&5
29086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29087 (exit $ac_status); } && {
29088 test -z "$ac_c_werror_flag" ||
29089 test ! -s conftest.err
29090 } && test -s conftest$ac_exeext &&
29091 $as_test_x conftest$ac_exeext; then
29092 ac_cv_lib_gdk_gdk_im_open=yes
29094 echo "$as_me: failed program was:" >&5
29095 sed 's
/^
/| /' conftest.$ac_ext >&5
29097 ac_cv_lib_gdk_gdk_im_open=no
29100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29101 conftest$ac_exeext conftest.$ac_ext
29102 LIBS=$ac_check_lib_save_LIBS
29104 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29105 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29106 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29107 cat >>confdefs.h <<\_ACEOF
29114 if test "$USE_DARWIN" != 1; then
29116 for ac_func in poll
29118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29119 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29121 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29122 echo $ECHO_N "(cached) $ECHO_C" >&6
29124 cat >conftest.$ac_ext <<_ACEOF
29127 cat confdefs.h >>conftest.$ac_ext
29128 cat >>conftest.$ac_ext <<_ACEOF
29129 /* end confdefs.h. */
29130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29132 #define $ac_func innocuous_$ac_func
29134 /* System header to define __stub macros and hopefully few prototypes,
29135 which can conflict with char $ac_func (); below.
29136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29137 <limits.h> exists even on freestanding compilers. */
29140 # include <limits.h>
29142 # include <assert.h>
29147 /* Override any GCC internal prototype to avoid an error.
29148 Use char because int might match the return type of a GCC
29149 builtin and then its argument prototype would still apply. */
29154 /* The GNU C library defines this for functions which it implements
29155 to always fail with ENOSYS. Some functions are actually named
29156 something starting with __ and the normal name is an alias. */
29157 #if defined __stub_$ac_func || defined __stub___$ac_func
29164 return $ac_func ();
29169 rm -f conftest.$ac_objext conftest$ac_exeext
29170 if { (ac_try="$ac_link"
29171 case "(($ac_try" in
29172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29173 *) ac_try_echo=$ac_try;;
29175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29176 (eval "$ac_link") 2>conftest.er1
29178 grep -v '^
*+' conftest.er1 >conftest.err
29180 cat conftest.err >&5
29181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29182 (exit $ac_status); } && {
29183 test -z "$ac_c_werror_flag" ||
29184 test ! -s conftest.err
29185 } && test -s conftest$ac_exeext &&
29186 $as_test_x conftest$ac_exeext; then
29187 eval "$as_ac_var=yes"
29189 echo "$as_me: failed program was:" >&5
29190 sed 's
/^
/| /' conftest.$ac_ext >&5
29192 eval "$as_ac_var=no"
29195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29196 conftest$ac_exeext conftest.$ac_ext
29198 ac_res=`eval echo '${'$as_ac_var'}'`
29199 { echo "$as_me:$LINENO: result: $ac_res" >&5
29200 echo "${ECHO_T}$ac_res" >&6; }
29201 if test `eval echo '${'$as_ac_var'}'` = yes; then
29202 cat >>confdefs.h <<_ACEOF
29203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29212 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29213 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29215 AFMINSTALL=afminstall
29219 if test "$wxUSE_GPE" = "yes"; then
29220 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29221 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29224 for ac_dir in $SEARCH_LIB;
29226 for ac_extension in a so sl dylib dll.a; do
29227 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29228 ac_find_libraries=$ac_dir
29234 if test "$ac_find_libraries" != "" ; then
29236 if test "$ac_find_libraries" = "default location"; then
29239 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29241 if test $result = 0; then
29244 ac_path_to_link=" -L$ac_find_libraries"
29248 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29250 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29251 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29253 { echo "$as_me:$LINENO: result: not found" >&5
29254 echo "${ECHO_T}not found" >&6; }
29260 if test "$wxUSE_MGL" = 1; then
29261 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29262 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29263 if test "x$MGL_ROOT" = x ; then
29264 { echo "$as_me:$LINENO: result: not found" >&5
29265 echo "${ECHO_T}not found" >&6; }
29266 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29267 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29268 { (exit 1); exit 1; }; }
29270 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29271 echo "${ECHO_T}$MGL_ROOT" >&6; }
29274 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29275 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29278 if test "x$wxUSE_SHARED" = xyes ; then
29279 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29281 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29285 mgl_os_candidates="dos32/dj2"
29288 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29289 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29290 { (exit 1); exit 1; }; }
29296 for mgl_os_i in $mgl_os_candidates ; do
29297 if test "x$mgl_os" = x ; then
29298 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29299 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29300 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29305 if test "x$mgl_lib_type" = x ; then
29306 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29307 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29308 mgl_lib_type=release
29315 if test "x$mgl_os" = x ; then
29316 { echo "$as_me:$LINENO: result: not found" >&5
29317 echo "${ECHO_T}not found" >&6; }
29318 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29319 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29320 { (exit 1); exit 1; }; }
29322 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29323 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29325 wxUSE_UNIVERSAL="yes"
29327 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29328 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29330 AFMINSTALL=afminstall
29335 if test "$wxUSE_DFB" = 1; then
29338 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29339 if test -n "$ac_tool_prefix"; then
29340 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29341 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29344 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29345 echo $ECHO_N "(cached) $ECHO_C" >&6
29347 case $PKG_CONFIG in
29349 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29353 for as_dir in $PATH
29356 test -z "$as_dir" && as_dir=.
29357 for ac_exec_ext in '' $ac_executable_extensions; do
29358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29359 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29370 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29371 if test -n "$PKG_CONFIG"; then
29372 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29373 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29375 { echo "$as_me:$LINENO: result: no" >&5
29376 echo "${ECHO_T}no" >&6; }
29381 if test -z "$ac_cv_path_PKG_CONFIG"; then
29382 ac_pt_PKG_CONFIG=$PKG_CONFIG
29383 # Extract the first word of "pkg-config", so it can be a program name with args.
29384 set dummy pkg-config; ac_word=$2
29385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29387 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29388 echo $ECHO_N "(cached) $ECHO_C" >&6
29390 case $ac_pt_PKG_CONFIG in
29392 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29396 for as_dir in $PATH
29399 test -z "$as_dir" && as_dir=.
29400 for ac_exec_ext in '' $ac_executable_extensions; do
29401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29402 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29413 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29414 if test -n "$ac_pt_PKG_CONFIG"; then
29415 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29416 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29418 { echo "$as_me:$LINENO: result: no" >&5
29419 echo "${ECHO_T}no" >&6; }
29422 if test "x$ac_pt_PKG_CONFIG" = x; then
29425 case $cross_compiling:$ac_tool_warned in
29427 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29428 whose name does not start with the host triplet. If you think this
29429 configuration is useful to you, please write to autoconf@gnu.org." >&5
29430 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29431 whose name does not start with the host triplet. If you think this
29432 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29433 ac_tool_warned=yes ;;
29435 PKG_CONFIG=$ac_pt_PKG_CONFIG
29438 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29442 if test -n "$PKG_CONFIG"; then
29443 _pkg_min_version=0.9.0
29444 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29445 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29446 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29447 { echo "$as_me:$LINENO: result: yes" >&5
29448 echo "${ECHO_T}yes" >&6; }
29450 { echo "$as_me:$LINENO: result: no" >&5
29451 echo "${ECHO_T}no" >&6; }
29459 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29460 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29462 if test -n "$PKG_CONFIG"; then
29463 if test -n "$DIRECTFB_CFLAGS"; then
29464 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29466 if test -n "$PKG_CONFIG" && \
29467 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29468 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); }; then
29472 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29480 if test -n "$PKG_CONFIG"; then
29481 if test -n "$DIRECTFB_LIBS"; then
29482 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29484 if test -n "$PKG_CONFIG" && \
29485 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29486 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29489 (exit $ac_status); }; then
29490 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29501 if test $pkg_failed = yes; then
29503 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29504 _pkg_short_errors_supported=yes
29506 _pkg_short_errors_supported=no
29508 if test $_pkg_short_errors_supported = yes; then
29509 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29511 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29513 # Put the nasty error message in config.log where it belongs
29514 echo "$DIRECTFB_PKG_ERRORS" >&5
29517 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29518 echo "$as_me: error: DirectFB not found." >&2;}
29519 { (exit 1); exit 1; }; }
29522 elif test $pkg_failed = untried; then
29524 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29525 echo "$as_me: error: DirectFB not found." >&2;}
29526 { (exit 1); exit 1; }; }
29530 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29531 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29532 { echo "$as_me:$LINENO: result: yes" >&5
29533 echo "${ECHO_T}yes" >&6; }
29535 wxUSE_UNIVERSAL="yes"
29536 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29537 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29544 if test "$wxUSE_MICROWIN" = 1; then
29545 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29546 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29547 if test "x$MICROWINDOWS" = x ; then
29548 { echo "$as_me:$LINENO: result: not found" >&5
29549 echo "${ECHO_T}not found" >&6; }
29550 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29551 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29552 { (exit 1); exit 1; }; }
29554 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29555 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29558 if test -f $MICROWINDOWS/lib/libmwin.a; then
29559 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29560 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29562 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29563 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29564 { (exit 1); exit 1; }; }
29567 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29568 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29570 wxUSE_UNIVERSAL="yes"
29572 AFMINSTALL=afminstall
29574 GUIDIST=MICROWIN_DIST
29576 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29579 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29580 { echo "$as_me:$LINENO: checking for X" >&5
29581 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29584 # Check whether --with-x was given.
29585 if test "${with_x+set}" = set; then
29589 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
29590 if test "x$with_x" = xno; then
29591 # The user explicitly disabled X.
29594 case $x_includes,$x_libraries in #(
29595 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29596 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
29597 { (exit 1); exit 1; }; };; #(
29598 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29599 echo $ECHO_N "(cached) $ECHO_C" >&6
29601 # One or both of the vars are not set, and there is no cached value.
29602 ac_x_includes=no ac_x_libraries=no
29603 rm -f -r conftest.dir
29604 if mkdir conftest.dir; then
29606 cat >Imakefile <<'_ACEOF'
29608 @echo incroot='${INCROOT}'
29610 @echo usrlibdir='${USRLIBDIR}'
29612 @echo libdir='${LIBDIR}'
29614 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29615 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29616 for ac_var in incroot usrlibdir libdir; do
29617 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
29619 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29620 for ac_extension in a so sl; do
29621 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29622 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29623 ac_im_usrlibdir=$ac_im_libdir; break
29626 # Screen out bogus values from the imake configuration. They are
29627 # bogus both because they are the default anyway, and because
29628 # using them would break gcc on systems where it needs fixed includes.
29629 case $ac_im_incroot in
29630 /usr/include) ac_x_includes= ;;
29631 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29633 case $ac_im_usrlibdir in
29634 /usr/lib | /lib) ;;
29635 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29639 rm -f -r conftest.dir
29642 # Standard set of common directories for X headers.
29643 # Check X11 before X11Rn because it is often a symlink to the current release.
29655 /usr
/local
/X
11/include
29656 /usr
/local
/X
11R
6/include
29657 /usr
/local
/X
11R
5/include
29658 /usr
/local
/X
11R
4/include
29660 /usr
/local
/include
/X11
29661 /usr
/local
/include
/X11R6
29662 /usr
/local
/include
/X11R5
29663 /usr
/local
/include
/X11R4
29667 /usr
/XFree
86/include
/X11
29671 /usr
/unsupported
/include
29672 /usr
/athena
/include
29673 /usr
/local
/x
11r
5/include
29674 /usr
/lpp
/Xamples
/include
29676 /usr
/openwin
/include
29677 /usr
/openwin
/share
/include
'
29679 if test "$ac_x_includes" = no; then
29680 # Guess where to find include files, by looking for Xlib.h.
29681 # First, try using that file with no special directory specified.
29682 cat >conftest.$ac_ext <<_ACEOF
29685 cat confdefs.h >>conftest.$ac_ext
29686 cat >>conftest.$ac_ext <<_ACEOF
29687 /* end confdefs.h. */
29688 #include <X11/Xlib.h>
29690 if { (ac_try="$ac_cpp conftest.$ac_ext"
29691 case "(($ac_try" in
29692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29693 *) ac_try_echo=$ac_try;;
29695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29696 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29698 grep -v '^
*+' conftest.er1 >conftest.err
29700 cat conftest.err >&5
29701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29702 (exit $ac_status); } >/dev/null && {
29703 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29704 test ! -s conftest.err
29706 # We can compile using X headers with no special include directory.
29709 echo "$as_me: failed program was:" >&5
29710 sed 's
/^
/| /' conftest.$ac_ext >&5
29712 for ac_dir in $ac_x_header_dirs; do
29713 if test -r "$ac_dir/X11/Xlib.h"; then
29714 ac_x_includes=$ac_dir
29720 rm -f conftest.err conftest.$ac_ext
29721 fi # $ac_x_includes = no
29723 if test "$ac_x_libraries" = no; then
29724 # Check for the libraries.
29725 # See if we find them without any special options.
29726 # Don't add to
$LIBS permanently.
29729 cat >conftest.
$ac_ext <<_ACEOF
29732 cat confdefs.h
>>conftest.
$ac_ext
29733 cat >>conftest.
$ac_ext <<_ACEOF
29734 /* end confdefs.h. */
29735 #include <X11/Xlib.h>
29744 rm -f conftest.
$ac_objext conftest
$ac_exeext
29745 if { (ac_try
="$ac_link"
29746 case "(($ac_try" in
29747 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29748 *) ac_try_echo=$ac_try;;
29750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29751 (eval "$ac_link") 2>conftest.er1
29753 grep -v '^ *+' conftest.er1 >conftest.err
29755 cat conftest.err >&5
29756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29757 (exit $ac_status); } && {
29758 test -z "$ac_c_werror_flag" ||
29759 test ! -s conftest.err
29760 } && test -s conftest$ac_exeext &&
29761 $as_test_x conftest$ac_exeext; then
29763 # We can link X programs with no special library path.
29766 echo "$as_me: failed program was:" >&5
29767 sed 's/^/| /' conftest.$ac_ext >&5
29770 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
29772 # Don't even attempt the hair of trying to link an X program!
29773 for ac_extension in a so sl; do
29774 if test -r "$ac_dir/libX11.$ac_extension"; then
29775 ac_x_libraries=$ac_dir
29782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29783 conftest$ac_exeext conftest.$ac_ext
29784 fi # $ac_x_libraries = no
29786 case $ac_x_includes,$ac_x_libraries in #(
29787 no,* | *,no | *\'*)
29788 # Didn't find X, or a directory has "'" in its name.
29789 ac_cv_have_x="have_x=no";; #(
29791 # Record where we found X for the cache.
29792 ac_cv_have_x="have_x=yes\
29793 ac_x_includes='$ac_x_includes'\
29794 ac_x_libraries='$ac_x_libraries'"
29800 eval "$ac_cv_have_x"
29803 if test "$have_x" != yes; then
29804 { echo "$as_me:$LINENO: result: $have_x" >&5
29805 echo "${ECHO_T}$have_x" >&6; }
29808 # If each of the values was on the command line, it overrides each guess.
29809 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29810 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29811 # Update the cache value to reflect the command line values.
29812 ac_cv_have_x="have_x=yes\
29813 ac_x_includes='$x_includes'\
29814 ac_x_libraries='$x_libraries'"
29815 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29816 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29819 if test "$no_x" = yes; then
29820 # Not all programs may use this symbol, but it does not hurt to define it.
29822 cat >>confdefs.h <<\_ACEOF
29823 #define X_DISPLAY_MISSING 1
29826 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29828 if test -n "$x_includes"; then
29829 X_CFLAGS="$X_CFLAGS -I$x_includes"
29832 # It would also be nice to do this for all -L options, not just this one.
29833 if test -n "$x_libraries"; then
29834 X_LIBS="$X_LIBS -L$x_libraries"
29835 # For Solaris; some versions of Sun CC require a space after -R and
29836 # others require no space. Words are not sufficient . . . .
29837 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29838 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29839 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29840 ac_xsave_c_werror_flag=$ac_c_werror_flag
29841 ac_c_werror_flag=yes
29842 cat >conftest.$ac_ext <<_ACEOF
29845 cat confdefs.h >>conftest.$ac_ext
29846 cat >>conftest.$ac_ext <<_ACEOF
29847 /* end confdefs.h. */
29857 rm -f conftest.$ac_objext conftest$ac_exeext
29858 if { (ac_try="$ac_link"
29859 case "(($ac_try" in
29860 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29861 *) ac_try_echo
=$ac_try;;
29863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29864 (eval "$ac_link") 2>conftest.er1
29866 grep -v '^ *+' conftest.er1
>conftest.err
29868 cat conftest.err
>&5
29869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29870 (exit $ac_status); } && {
29871 test -z "$ac_c_werror_flag" ||
29872 test ! -s conftest.err
29873 } && test -s conftest
$ac_exeext &&
29874 $as_test_x conftest
$ac_exeext; then
29875 { echo "$as_me:$LINENO: result: no" >&5
29876 echo "${ECHO_T}no" >&6; }
29877 X_LIBS
="$X_LIBS -R$x_libraries"
29879 echo "$as_me: failed program was:" >&5
29880 sed 's/^/| /' conftest.
$ac_ext >&5
29882 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29883 cat >conftest.
$ac_ext <<_ACEOF
29886 cat confdefs.h
>>conftest.
$ac_ext
29887 cat >>conftest.
$ac_ext <<_ACEOF
29888 /* end confdefs.h. */
29898 rm -f conftest.
$ac_objext conftest
$ac_exeext
29899 if { (ac_try
="$ac_link"
29900 case "(($ac_try" in
29901 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29902 *) ac_try_echo=$ac_try;;
29904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29905 (eval "$ac_link") 2>conftest.er1
29907 grep -v '^ *+' conftest.er1 >conftest.err
29909 cat conftest.err >&5
29910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29911 (exit $ac_status); } && {
29912 test -z "$ac_c_werror_flag" ||
29913 test ! -s conftest.err
29914 } && test -s conftest$ac_exeext &&
29915 $as_test_x conftest$ac_exeext; then
29916 { echo "$as_me:$LINENO: result: yes" >&5
29917 echo "${ECHO_T}yes" >&6; }
29918 X_LIBS="$X_LIBS -R $x_libraries"
29920 echo "$as_me: failed program was:" >&5
29921 sed 's/^/| /' conftest.$ac_ext >&5
29923 { echo "$as_me:$LINENO: result: neither works" >&5
29924 echo "${ECHO_T}neither works" >&6; }
29927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29928 conftest$ac_exeext conftest.$ac_ext
29931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29932 conftest$ac_exeext conftest.$ac_ext
29933 ac_c_werror_flag=$ac_xsave_c_werror_flag
29934 LIBS=$ac_xsave_LIBS
29937 # Check for system-dependent libraries X programs must link with.
29938 # Do this before checking for the system-independent R6 libraries
29939 # (-lICE), since we may need -lsocket or whatever for X linking.
29941 if test "$ISC" = yes; then
29942 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29944 # Martyn Johnson says this is needed for Ultrix, if the X
29945 # libraries were built with DECnet support. And Karl Berry says
29946 # the Alpha needs dnet_stub (dnet does not exist).
29947 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29948 cat >conftest.$ac_ext <<_ACEOF
29951 cat confdefs.h >>conftest.$ac_ext
29952 cat >>conftest.$ac_ext <<_ACEOF
29953 /* end confdefs.h. */
29955 /* Override any GCC internal prototype to avoid an error.
29956 Use char because int might match the return type of a GCC
29957 builtin and then its argument prototype would still apply. */
29961 char XOpenDisplay ();
29965 return XOpenDisplay ();
29970 rm -f conftest.$ac_objext conftest$ac_exeext
29971 if { (ac_try="$ac_link"
29972 case "(($ac_try" in
29973 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29974 *) ac_try_echo
=$ac_try;;
29976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29977 (eval "$ac_link") 2>conftest.er1
29979 grep -v '^ *+' conftest.er1
>conftest.err
29981 cat conftest.err
>&5
29982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29983 (exit $ac_status); } && {
29984 test -z "$ac_c_werror_flag" ||
29985 test ! -s conftest.err
29986 } && test -s conftest
$ac_exeext &&
29987 $as_test_x conftest
$ac_exeext; then
29990 echo "$as_me: failed program was:" >&5
29991 sed 's/^/| /' conftest.
$ac_ext >&5
29993 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29994 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29995 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29996 echo $ECHO_N "(cached) $ECHO_C" >&6
29998 ac_check_lib_save_LIBS
=$LIBS
29999 LIBS
="-ldnet $LIBS"
30000 cat >conftest.
$ac_ext <<_ACEOF
30003 cat confdefs.h
>>conftest.
$ac_ext
30004 cat >>conftest.
$ac_ext <<_ACEOF
30005 /* end confdefs.h. */
30007 /* Override any GCC internal prototype to avoid an error.
30008 Use char because int might match the return type of a GCC
30009 builtin and then its argument prototype would still apply. */
30017 return dnet_ntoa ();
30022 rm -f conftest.
$ac_objext conftest
$ac_exeext
30023 if { (ac_try
="$ac_link"
30024 case "(($ac_try" in
30025 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30026 *) ac_try_echo=$ac_try;;
30028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30029 (eval "$ac_link") 2>conftest.er1
30031 grep -v '^ *+' conftest.er1 >conftest.err
30033 cat conftest.err >&5
30034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30035 (exit $ac_status); } && {
30036 test -z "$ac_c_werror_flag" ||
30037 test ! -s conftest.err
30038 } && test -s conftest$ac_exeext &&
30039 $as_test_x conftest$ac_exeext; then
30040 ac_cv_lib_dnet_dnet_ntoa=yes
30042 echo "$as_me: failed program was:" >&5
30043 sed 's/^/| /' conftest.$ac_ext >&5
30045 ac_cv_lib_dnet_dnet_ntoa=no
30048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30049 conftest$ac_exeext conftest.$ac_ext
30050 LIBS=$ac_check_lib_save_LIBS
30052 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30053 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30054 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30055 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30058 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30059 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30060 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30061 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30062 echo $ECHO_N "(cached) $ECHO_C" >&6
30064 ac_check_lib_save_LIBS=$LIBS
30065 LIBS="-ldnet_stub $LIBS"
30066 cat >conftest.$ac_ext <<_ACEOF
30069 cat confdefs.h >>conftest.$ac_ext
30070 cat >>conftest.$ac_ext <<_ACEOF
30071 /* end confdefs.h. */
30073 /* Override any GCC internal prototype to avoid an error.
30074 Use char because int might match the return type of a GCC
30075 builtin and then its argument prototype would still apply. */
30083 return dnet_ntoa ();
30088 rm -f conftest.$ac_objext conftest$ac_exeext
30089 if { (ac_try="$ac_link"
30090 case "(($ac_try" in
30091 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30092 *) ac_try_echo
=$ac_try;;
30094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30095 (eval "$ac_link") 2>conftest.er1
30097 grep -v '^ *+' conftest.er1
>conftest.err
30099 cat conftest.err
>&5
30100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30101 (exit $ac_status); } && {
30102 test -z "$ac_c_werror_flag" ||
30103 test ! -s conftest.err
30104 } && test -s conftest
$ac_exeext &&
30105 $as_test_x conftest
$ac_exeext; then
30106 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30108 echo "$as_me: failed program was:" >&5
30109 sed 's/^/| /' conftest.
$ac_ext >&5
30111 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30114 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30115 conftest
$ac_exeext conftest.
$ac_ext
30116 LIBS
=$ac_check_lib_save_LIBS
30118 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30119 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30120 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30121 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30127 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30128 conftest
$ac_exeext conftest.
$ac_ext
30129 LIBS
="$ac_xsave_LIBS"
30131 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30132 # to get the SysV transport functions.
30133 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30135 # The nsl library prevents programs from opening the X display
30136 # on Irix 5.2, according to T.E. Dickey.
30137 # The functions gethostbyname, getservbyname, and inet_addr are
30138 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30139 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30140 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30141 if test "${ac_cv_func_gethostbyname+set}" = set; then
30142 echo $ECHO_N "(cached) $ECHO_C" >&6
30144 cat >conftest.
$ac_ext <<_ACEOF
30147 cat confdefs.h
>>conftest.
$ac_ext
30148 cat >>conftest.
$ac_ext <<_ACEOF
30149 /* end confdefs.h. */
30150 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30152 #define gethostbyname innocuous_gethostbyname
30154 /* System header to define __stub macros and hopefully few prototypes,
30155 which can conflict with char gethostbyname (); below.
30156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30157 <limits.h> exists even on freestanding compilers. */
30160 # include <limits.h>
30162 # include <assert.h>
30165 #undef gethostbyname
30167 /* Override any GCC internal prototype to avoid an error.
30168 Use char because int might match the return type of a GCC
30169 builtin and then its argument prototype would still apply. */
30173 char gethostbyname ();
30174 /* The GNU C library defines this for functions which it implements
30175 to always fail with ENOSYS. Some functions are actually named
30176 something starting with __ and the normal name is an alias. */
30177 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30184 return gethostbyname ();
30189 rm -f conftest.
$ac_objext conftest
$ac_exeext
30190 if { (ac_try
="$ac_link"
30191 case "(($ac_try" in
30192 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30193 *) ac_try_echo=$ac_try;;
30195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30196 (eval "$ac_link") 2>conftest.er1
30198 grep -v '^ *+' conftest.er1 >conftest.err
30200 cat conftest.err >&5
30201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30202 (exit $ac_status); } && {
30203 test -z "$ac_c_werror_flag" ||
30204 test ! -s conftest.err
30205 } && test -s conftest$ac_exeext &&
30206 $as_test_x conftest$ac_exeext; then
30207 ac_cv_func_gethostbyname=yes
30209 echo "$as_me: failed program was:" >&5
30210 sed 's/^/| /' conftest.$ac_ext >&5
30212 ac_cv_func_gethostbyname=no
30215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30216 conftest$ac_exeext conftest.$ac_ext
30218 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30219 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30221 if test $ac_cv_func_gethostbyname = no; then
30222 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30223 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30224 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30225 echo $ECHO_N "(cached) $ECHO_C" >&6
30227 ac_check_lib_save_LIBS=$LIBS
30229 cat >conftest.$ac_ext <<_ACEOF
30232 cat confdefs.h >>conftest.$ac_ext
30233 cat >>conftest.$ac_ext <<_ACEOF
30234 /* end confdefs.h. */
30236 /* Override any GCC internal prototype to avoid an error.
30237 Use char because int might match the return type of a GCC
30238 builtin and then its argument prototype would still apply. */
30242 char gethostbyname ();
30246 return gethostbyname ();
30251 rm -f conftest.$ac_objext conftest$ac_exeext
30252 if { (ac_try="$ac_link"
30253 case "(($ac_try" in
30254 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30255 *) ac_try_echo
=$ac_try;;
30257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30258 (eval "$ac_link") 2>conftest.er1
30260 grep -v '^ *+' conftest.er1
>conftest.err
30262 cat conftest.err
>&5
30263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30264 (exit $ac_status); } && {
30265 test -z "$ac_c_werror_flag" ||
30266 test ! -s conftest.err
30267 } && test -s conftest
$ac_exeext &&
30268 $as_test_x conftest
$ac_exeext; then
30269 ac_cv_lib_nsl_gethostbyname
=yes
30271 echo "$as_me: failed program was:" >&5
30272 sed 's/^/| /' conftest.
$ac_ext >&5
30274 ac_cv_lib_nsl_gethostbyname
=no
30277 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30278 conftest
$ac_exeext conftest.
$ac_ext
30279 LIBS
=$ac_check_lib_save_LIBS
30281 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30282 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30283 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30284 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30287 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30288 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30289 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30290 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30291 echo $ECHO_N "(cached) $ECHO_C" >&6
30293 ac_check_lib_save_LIBS
=$LIBS
30295 cat >conftest.
$ac_ext <<_ACEOF
30298 cat confdefs.h
>>conftest.
$ac_ext
30299 cat >>conftest.
$ac_ext <<_ACEOF
30300 /* end confdefs.h. */
30302 /* Override any GCC internal prototype to avoid an error.
30303 Use char because int might match the return type of a GCC
30304 builtin and then its argument prototype would still apply. */
30308 char gethostbyname ();
30312 return gethostbyname ();
30317 rm -f conftest.
$ac_objext conftest
$ac_exeext
30318 if { (ac_try
="$ac_link"
30319 case "(($ac_try" in
30320 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30321 *) ac_try_echo=$ac_try;;
30323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30324 (eval "$ac_link") 2>conftest.er1
30326 grep -v '^ *+' conftest.er1 >conftest.err
30328 cat conftest.err >&5
30329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30330 (exit $ac_status); } && {
30331 test -z "$ac_c_werror_flag" ||
30332 test ! -s conftest.err
30333 } && test -s conftest$ac_exeext &&
30334 $as_test_x conftest$ac_exeext; then
30335 ac_cv_lib_bsd_gethostbyname=yes
30337 echo "$as_me: failed program was:" >&5
30338 sed 's/^/| /' conftest.$ac_ext >&5
30340 ac_cv_lib_bsd_gethostbyname=no
30343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30344 conftest$ac_exeext conftest.$ac_ext
30345 LIBS=$ac_check_lib_save_LIBS
30347 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30348 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30349 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30350 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30356 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30357 # socket/setsockopt and other routines are undefined under SCO ODT
30358 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30359 # on later versions), says Simon Leinen: it contains gethostby*
30360 # variants that don't use the name server (or something). -lsocket
30361 # must be given before -lnsl if both are needed. We assume that
30362 # if connect needs -lnsl, so does gethostbyname.
30363 { echo "$as_me:$LINENO: checking for connect" >&5
30364 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30365 if test "${ac_cv_func_connect+set}" = set; then
30366 echo $ECHO_N "(cached) $ECHO_C" >&6
30368 cat >conftest.$ac_ext <<_ACEOF
30371 cat confdefs.h >>conftest.$ac_ext
30372 cat >>conftest.$ac_ext <<_ACEOF
30373 /* end confdefs.h. */
30374 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30376 #define connect innocuous_connect
30378 /* System header to define __stub macros and hopefully few prototypes,
30379 which can conflict with char connect (); below.
30380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30381 <limits.h> exists even on freestanding compilers. */
30384 # include <limits.h>
30386 # include <assert.h>
30391 /* Override any GCC internal prototype to avoid an error.
30392 Use char because int might match the return type of a GCC
30393 builtin and then its argument prototype would still apply. */
30398 /* The GNU C library defines this for functions which it implements
30399 to always fail with ENOSYS. Some functions are actually named
30400 something starting with __ and the normal name is an alias. */
30401 #if defined __stub_connect || defined __stub___connect
30413 rm -f conftest.$ac_objext conftest$ac_exeext
30414 if { (ac_try="$ac_link"
30415 case "(($ac_try" in
30416 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30417 *) ac_try_echo
=$ac_try;;
30419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30420 (eval "$ac_link") 2>conftest.er1
30422 grep -v '^ *+' conftest.er1
>conftest.err
30424 cat conftest.err
>&5
30425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30426 (exit $ac_status); } && {
30427 test -z "$ac_c_werror_flag" ||
30428 test ! -s conftest.err
30429 } && test -s conftest
$ac_exeext &&
30430 $as_test_x conftest
$ac_exeext; then
30431 ac_cv_func_connect
=yes
30433 echo "$as_me: failed program was:" >&5
30434 sed 's/^/| /' conftest.
$ac_ext >&5
30436 ac_cv_func_connect
=no
30439 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30440 conftest
$ac_exeext conftest.
$ac_ext
30442 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30443 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30445 if test $ac_cv_func_connect = no
; then
30446 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30447 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30448 if test "${ac_cv_lib_socket_connect+set}" = set; then
30449 echo $ECHO_N "(cached) $ECHO_C" >&6
30451 ac_check_lib_save_LIBS
=$LIBS
30452 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30453 cat >conftest.
$ac_ext <<_ACEOF
30456 cat confdefs.h
>>conftest.
$ac_ext
30457 cat >>conftest.
$ac_ext <<_ACEOF
30458 /* end confdefs.h. */
30460 /* Override any GCC internal prototype to avoid an error.
30461 Use char because int might match the return type of a GCC
30462 builtin and then its argument prototype would still apply. */
30475 rm -f conftest.
$ac_objext conftest
$ac_exeext
30476 if { (ac_try
="$ac_link"
30477 case "(($ac_try" in
30478 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30479 *) ac_try_echo=$ac_try;;
30481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30482 (eval "$ac_link") 2>conftest.er1
30484 grep -v '^ *+' conftest.er1 >conftest.err
30486 cat conftest.err >&5
30487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30488 (exit $ac_status); } && {
30489 test -z "$ac_c_werror_flag" ||
30490 test ! -s conftest.err
30491 } && test -s conftest$ac_exeext &&
30492 $as_test_x conftest$ac_exeext; then
30493 ac_cv_lib_socket_connect=yes
30495 echo "$as_me: failed program was:" >&5
30496 sed 's/^/| /' conftest.$ac_ext >&5
30498 ac_cv_lib_socket_connect=no
30501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30502 conftest$ac_exeext conftest.$ac_ext
30503 LIBS=$ac_check_lib_save_LIBS
30505 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30506 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30507 if test $ac_cv_lib_socket_connect = yes; then
30508 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30513 # Guillermo Gomez says -lposix is necessary on A/UX.
30514 { echo "$as_me:$LINENO: checking for remove" >&5
30515 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30516 if test "${ac_cv_func_remove+set}" = set; then
30517 echo $ECHO_N "(cached) $ECHO_C" >&6
30519 cat >conftest.$ac_ext <<_ACEOF
30522 cat confdefs.h >>conftest.$ac_ext
30523 cat >>conftest.$ac_ext <<_ACEOF
30524 /* end confdefs.h. */
30525 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30527 #define remove innocuous_remove
30529 /* System header to define __stub macros and hopefully few prototypes,
30530 which can conflict with char remove (); below.
30531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30532 <limits.h> exists even on freestanding compilers. */
30535 # include <limits.h>
30537 # include <assert.h>
30542 /* Override any GCC internal prototype to avoid an error.
30543 Use char because int might match the return type of a GCC
30544 builtin and then its argument prototype would still apply. */
30549 /* The GNU C library defines this for functions which it implements
30550 to always fail with ENOSYS. Some functions are actually named
30551 something starting with __ and the normal name is an alias. */
30552 #if defined __stub_remove || defined __stub___remove
30564 rm -f conftest.$ac_objext conftest$ac_exeext
30565 if { (ac_try="$ac_link"
30566 case "(($ac_try" in
30567 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30568 *) ac_try_echo
=$ac_try;;
30570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30571 (eval "$ac_link") 2>conftest.er1
30573 grep -v '^ *+' conftest.er1
>conftest.err
30575 cat conftest.err
>&5
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); } && {
30578 test -z "$ac_c_werror_flag" ||
30579 test ! -s conftest.err
30580 } && test -s conftest
$ac_exeext &&
30581 $as_test_x conftest
$ac_exeext; then
30582 ac_cv_func_remove
=yes
30584 echo "$as_me: failed program was:" >&5
30585 sed 's/^/| /' conftest.
$ac_ext >&5
30587 ac_cv_func_remove
=no
30590 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30591 conftest
$ac_exeext conftest.
$ac_ext
30593 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30594 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30596 if test $ac_cv_func_remove = no
; then
30597 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30598 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30599 if test "${ac_cv_lib_posix_remove+set}" = set; then
30600 echo $ECHO_N "(cached) $ECHO_C" >&6
30602 ac_check_lib_save_LIBS
=$LIBS
30603 LIBS
="-lposix $LIBS"
30604 cat >conftest.
$ac_ext <<_ACEOF
30607 cat confdefs.h
>>conftest.
$ac_ext
30608 cat >>conftest.
$ac_ext <<_ACEOF
30609 /* end confdefs.h. */
30611 /* Override any GCC internal prototype to avoid an error.
30612 Use char because int might match the return type of a GCC
30613 builtin and then its argument prototype would still apply. */
30626 rm -f conftest.
$ac_objext conftest
$ac_exeext
30627 if { (ac_try
="$ac_link"
30628 case "(($ac_try" in
30629 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30630 *) ac_try_echo=$ac_try;;
30632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30633 (eval "$ac_link") 2>conftest.er1
30635 grep -v '^ *+' conftest.er1 >conftest.err
30637 cat conftest.err >&5
30638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30639 (exit $ac_status); } && {
30640 test -z "$ac_c_werror_flag" ||
30641 test ! -s conftest.err
30642 } && test -s conftest$ac_exeext &&
30643 $as_test_x conftest$ac_exeext; then
30644 ac_cv_lib_posix_remove=yes
30646 echo "$as_me: failed program was:" >&5
30647 sed 's/^/| /' conftest.$ac_ext >&5
30649 ac_cv_lib_posix_remove=no
30652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30653 conftest$ac_exeext conftest.$ac_ext
30654 LIBS=$ac_check_lib_save_LIBS
30656 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30657 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30658 if test $ac_cv_lib_posix_remove = yes; then
30659 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30664 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30665 { echo "$as_me:$LINENO: checking for shmat" >&5
30666 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30667 if test "${ac_cv_func_shmat+set}" = set; then
30668 echo $ECHO_N "(cached) $ECHO_C" >&6
30670 cat >conftest.$ac_ext <<_ACEOF
30673 cat confdefs.h >>conftest.$ac_ext
30674 cat >>conftest.$ac_ext <<_ACEOF
30675 /* end confdefs.h. */
30676 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30678 #define shmat innocuous_shmat
30680 /* System header to define __stub macros and hopefully few prototypes,
30681 which can conflict with char shmat (); below.
30682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30683 <limits.h> exists even on freestanding compilers. */
30686 # include <limits.h>
30688 # include <assert.h>
30693 /* Override any GCC internal prototype to avoid an error.
30694 Use char because int might match the return type of a GCC
30695 builtin and then its argument prototype would still apply. */
30700 /* The GNU C library defines this for functions which it implements
30701 to always fail with ENOSYS. Some functions are actually named
30702 something starting with __ and the normal name is an alias. */
30703 #if defined __stub_shmat || defined __stub___shmat
30715 rm -f conftest.$ac_objext conftest$ac_exeext
30716 if { (ac_try="$ac_link"
30717 case "(($ac_try" in
30718 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30719 *) ac_try_echo
=$ac_try;;
30721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30722 (eval "$ac_link") 2>conftest.er1
30724 grep -v '^ *+' conftest.er1
>conftest.err
30726 cat conftest.err
>&5
30727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30728 (exit $ac_status); } && {
30729 test -z "$ac_c_werror_flag" ||
30730 test ! -s conftest.err
30731 } && test -s conftest
$ac_exeext &&
30732 $as_test_x conftest
$ac_exeext; then
30733 ac_cv_func_shmat
=yes
30735 echo "$as_me: failed program was:" >&5
30736 sed 's/^/| /' conftest.
$ac_ext >&5
30738 ac_cv_func_shmat
=no
30741 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30742 conftest
$ac_exeext conftest.
$ac_ext
30744 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30745 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30747 if test $ac_cv_func_shmat = no
; then
30748 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30749 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30750 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30751 echo $ECHO_N "(cached) $ECHO_C" >&6
30753 ac_check_lib_save_LIBS
=$LIBS
30755 cat >conftest.
$ac_ext <<_ACEOF
30758 cat confdefs.h
>>conftest.
$ac_ext
30759 cat >>conftest.
$ac_ext <<_ACEOF
30760 /* end confdefs.h. */
30762 /* Override any GCC internal prototype to avoid an error.
30763 Use char because int might match the return type of a GCC
30764 builtin and then its argument prototype would still apply. */
30777 rm -f conftest.
$ac_objext conftest
$ac_exeext
30778 if { (ac_try
="$ac_link"
30779 case "(($ac_try" in
30780 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30781 *) ac_try_echo=$ac_try;;
30783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30784 (eval "$ac_link") 2>conftest.er1
30786 grep -v '^ *+' conftest.er1 >conftest.err
30788 cat conftest.err >&5
30789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790 (exit $ac_status); } && {
30791 test -z "$ac_c_werror_flag" ||
30792 test ! -s conftest.err
30793 } && test -s conftest$ac_exeext &&
30794 $as_test_x conftest$ac_exeext; then
30795 ac_cv_lib_ipc_shmat=yes
30797 echo "$as_me: failed program was:" >&5
30798 sed 's/^/| /' conftest.$ac_ext >&5
30800 ac_cv_lib_ipc_shmat=no
30803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30804 conftest$ac_exeext conftest.$ac_ext
30805 LIBS=$ac_check_lib_save_LIBS
30807 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30808 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30809 if test $ac_cv_lib_ipc_shmat = yes; then
30810 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30816 # Check for libraries that X11R6 Xt/Xaw programs need.
30817 ac_save_LDFLAGS=$LDFLAGS
30818 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30819 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30820 # check for ICE first), but we must link in the order -lSM -lICE or
30821 # we get undefined symbols. So assume we have SM if we have ICE.
30822 # These have to be linked with before -lX11, unlike the other
30823 # libraries we check for below, so use a different variable.
30824 # John Interrante, Karl Berry
30825 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30826 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30827 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30828 echo $ECHO_N "(cached) $ECHO_C" >&6
30830 ac_check_lib_save_LIBS=$LIBS
30831 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30832 cat >conftest.$ac_ext <<_ACEOF
30835 cat confdefs.h >>conftest.$ac_ext
30836 cat >>conftest.$ac_ext <<_ACEOF
30837 /* end confdefs.h. */
30839 /* Override any GCC internal prototype to avoid an error.
30840 Use char because int might match the return type of a GCC
30841 builtin and then its argument prototype would still apply. */
30845 char IceConnectionNumber ();
30849 return IceConnectionNumber ();
30854 rm -f conftest.$ac_objext conftest$ac_exeext
30855 if { (ac_try="$ac_link"
30856 case "(($ac_try" in
30857 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30858 *) ac_try_echo
=$ac_try;;
30860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30861 (eval "$ac_link") 2>conftest.er1
30863 grep -v '^ *+' conftest.er1
>conftest.err
30865 cat conftest.err
>&5
30866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30867 (exit $ac_status); } && {
30868 test -z "$ac_c_werror_flag" ||
30869 test ! -s conftest.err
30870 } && test -s conftest
$ac_exeext &&
30871 $as_test_x conftest
$ac_exeext; then
30872 ac_cv_lib_ICE_IceConnectionNumber
=yes
30874 echo "$as_me: failed program was:" >&5
30875 sed 's/^/| /' conftest.
$ac_ext >&5
30877 ac_cv_lib_ICE_IceConnectionNumber
=no
30880 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30881 conftest
$ac_exeext conftest.
$ac_ext
30882 LIBS
=$ac_check_lib_save_LIBS
30884 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30885 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30886 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30887 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30890 LDFLAGS
=$ac_save_LDFLAGS
30895 if test "$no_x" = "yes"; then
30896 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30897 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30898 { (exit 1); exit 1; }; }
30901 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30902 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30903 AFMINSTALL
=afminstall
30904 COMPILED_X_PROGRAM
=0
30908 if test "$wxUSE_X11" = 1; then
30909 if test "$wxUSE_NANOX" = "yes"; then
30910 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30911 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30912 if test "x$MICROWIN" = x
; then
30913 { echo "$as_me:$LINENO: result: not found" >&5
30914 echo "${ECHO_T}not found" >&6; }
30915 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30916 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30917 { (exit 1); exit 1; }; }
30919 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30920 echo "${ECHO_T}$MICROWIN" >&6; }
30921 cat >>confdefs.h
<<\_ACEOF
30922 #define wxUSE_NANOX 1
30928 if test "$wxUSE_UNICODE" = "yes"; then
30931 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30932 if test -n "$ac_tool_prefix"; then
30933 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30934 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30935 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30937 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30938 echo $ECHO_N "(cached) $ECHO_C" >&6
30940 case $PKG_CONFIG in
30942 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30946 for as_dir
in $PATH
30949 test -z "$as_dir" && as_dir
=.
30950 for ac_exec_ext
in '' $ac_executable_extensions; do
30951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30952 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30963 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30964 if test -n "$PKG_CONFIG"; then
30965 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30966 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30968 { echo "$as_me:$LINENO: result: no" >&5
30969 echo "${ECHO_T}no" >&6; }
30974 if test -z "$ac_cv_path_PKG_CONFIG"; then
30975 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30976 # Extract the first word of "pkg-config", so it can be a program name with args.
30977 set dummy pkg
-config; ac_word
=$2
30978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30980 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30981 echo $ECHO_N "(cached) $ECHO_C" >&6
30983 case $ac_pt_PKG_CONFIG in
30985 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30989 for as_dir
in $PATH
30992 test -z "$as_dir" && as_dir
=.
30993 for ac_exec_ext
in '' $ac_executable_extensions; do
30994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30995 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31006 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31007 if test -n "$ac_pt_PKG_CONFIG"; then
31008 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31009 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31011 { echo "$as_me:$LINENO: result: no" >&5
31012 echo "${ECHO_T}no" >&6; }
31015 if test "x$ac_pt_PKG_CONFIG" = x
; then
31018 case $cross_compiling:$ac_tool_warned in
31020 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31021 whose name does not start with the host triplet. If you think this
31022 configuration is useful to you, please write to autoconf@gnu.org." >&5
31023 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31024 whose name does not start with the host triplet. If you think this
31025 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31026 ac_tool_warned
=yes ;;
31028 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31031 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31035 if test -n "$PKG_CONFIG"; then
31036 _pkg_min_version
=0.9.0
31037 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31038 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31039 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31040 { echo "$as_me:$LINENO: result: yes" >&5
31041 echo "${ECHO_T}yes" >&6; }
31043 { echo "$as_me:$LINENO: result: no" >&5
31044 echo "${ECHO_T}no" >&6; }
31052 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31053 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31055 if test -n "$PKG_CONFIG"; then
31056 if test -n "$PANGOX_CFLAGS"; then
31057 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31059 if test -n "$PKG_CONFIG" && \
31060 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31061 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31064 (exit $ac_status); }; then
31065 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31073 if test -n "$PKG_CONFIG"; then
31074 if test -n "$PANGOX_LIBS"; then
31075 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31077 if test -n "$PKG_CONFIG" && \
31078 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31079 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31082 (exit $ac_status); }; then
31083 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31094 if test $pkg_failed = yes; then
31096 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31097 _pkg_short_errors_supported
=yes
31099 _pkg_short_errors_supported
=no
31101 if test $_pkg_short_errors_supported = yes; then
31102 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31104 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31106 # Put the nasty error message in config.log where it belongs
31107 echo "$PANGOX_PKG_ERRORS" >&5
31110 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31111 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31112 { (exit 1); exit 1; }; }
31115 elif test $pkg_failed = untried
; then
31117 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31118 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31119 { (exit 1); exit 1; }; }
31123 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31124 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31125 { echo "$as_me:$LINENO: result: yes" >&5
31126 echo "${ECHO_T}yes" >&6; }
31128 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31129 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31130 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31135 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31136 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31138 if test -n "$PKG_CONFIG"; then
31139 if test -n "$PANGOFT2_CFLAGS"; then
31140 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31142 if test -n "$PKG_CONFIG" && \
31143 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31144 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31147 (exit $ac_status); }; then
31148 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31156 if test -n "$PKG_CONFIG"; then
31157 if test -n "$PANGOFT2_LIBS"; then
31158 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31160 if test -n "$PKG_CONFIG" && \
31161 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31162 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31165 (exit $ac_status); }; then
31166 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31177 if test $pkg_failed = yes; then
31179 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31180 _pkg_short_errors_supported
=yes
31182 _pkg_short_errors_supported
=no
31184 if test $_pkg_short_errors_supported = yes; then
31185 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31187 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31189 # Put the nasty error message in config.log where it belongs
31190 echo "$PANGOFT2_PKG_ERRORS" >&5
31193 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31194 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31195 wxUSE_PRINTING_ARCHITECTURE
="no"
31198 elif test $pkg_failed = untried
; then
31200 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31201 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31202 wxUSE_PRINTING_ARCHITECTURE
="no"
31206 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31207 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31208 { echo "$as_me:$LINENO: result: yes" >&5
31209 echo "${ECHO_T}yes" >&6; }
31211 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31212 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31213 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31218 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31219 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31221 if test -n "$PKG_CONFIG"; then
31222 if test -n "$PANGOXFT_CFLAGS"; then
31223 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31225 if test -n "$PKG_CONFIG" && \
31226 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31227 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31230 (exit $ac_status); }; then
31231 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31239 if test -n "$PKG_CONFIG"; then
31240 if test -n "$PANGOXFT_LIBS"; then
31241 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31243 if test -n "$PKG_CONFIG" && \
31244 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31245 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31248 (exit $ac_status); }; then
31249 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31260 if test $pkg_failed = yes; then
31262 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31263 _pkg_short_errors_supported
=yes
31265 _pkg_short_errors_supported
=no
31267 if test $_pkg_short_errors_supported = yes; then
31268 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31270 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31272 # Put the nasty error message in config.log where it belongs
31273 echo "$PANGOXFT_PKG_ERRORS" >&5
31276 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31277 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31280 elif test $pkg_failed = untried
; then
31282 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31283 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31287 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31288 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31289 { echo "$as_me:$LINENO: result: yes" >&5
31290 echo "${ECHO_T}yes" >&6; }
31292 cat >>confdefs.h
<<\_ACEOF
31293 #define HAVE_PANGO_XFT 1
31296 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31297 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31298 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31302 LIBS
="$LIBS $PANGOX_LIBS"
31304 for ac_func
in pango_font_family_is_monospace
31306 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31307 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31309 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31310 echo $ECHO_N "(cached) $ECHO_C" >&6
31312 cat >conftest.
$ac_ext <<_ACEOF
31315 cat confdefs.h
>>conftest.
$ac_ext
31316 cat >>conftest.
$ac_ext <<_ACEOF
31317 /* end confdefs.h. */
31318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31320 #define $ac_func innocuous_$ac_func
31322 /* System header to define __stub macros and hopefully few prototypes,
31323 which can conflict with char $ac_func (); below.
31324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31325 <limits.h> exists even on freestanding compilers. */
31328 # include <limits.h>
31330 # include <assert.h>
31335 /* Override any GCC internal prototype to avoid an error.
31336 Use char because int might match the return type of a GCC
31337 builtin and then its argument prototype would still apply. */
31342 /* The GNU C library defines this for functions which it implements
31343 to always fail with ENOSYS. Some functions are actually named
31344 something starting with __ and the normal name is an alias. */
31345 #if defined __stub_$ac_func || defined __stub___$ac_func
31352 return $ac_func ();
31357 rm -f conftest.
$ac_objext conftest
$ac_exeext
31358 if { (ac_try
="$ac_link"
31359 case "(($ac_try" in
31360 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31361 *) ac_try_echo=$ac_try;;
31363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31364 (eval "$ac_link") 2>conftest.er1
31366 grep -v '^ *+' conftest.er1 >conftest.err
31368 cat conftest.err >&5
31369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31370 (exit $ac_status); } && {
31371 test -z "$ac_c_werror_flag" ||
31372 test ! -s conftest.err
31373 } && test -s conftest$ac_exeext &&
31374 $as_test_x conftest$ac_exeext; then
31375 eval "$as_ac_var=yes"
31377 echo "$as_me: failed program was:" >&5
31378 sed 's/^/| /' conftest.$ac_ext >&5
31380 eval "$as_ac_var=no"
31383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31384 conftest$ac_exeext conftest.$ac_ext
31386 ac_res=`eval echo '${'$as_ac_var'}'`
31387 { echo "$as_me:$LINENO: result: $ac_res" >&5
31388 echo "${ECHO_T}$ac_res" >&6; }
31389 if test `eval echo '${'$as_ac_var'}'` = yes; then
31390 cat >>confdefs.h <<_ACEOF
31391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31400 wxUSE_UNIVERSAL="yes"
31402 if test "$wxUSE_NANOX" = "yes"; then
31403 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31404 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"
31405 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31407 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31414 if test "$wxUSE_MOTIF" = 1; then
31415 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31416 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31419 for ac_dir in $SEARCH_INCLUDE /usr/include;
31421 if test -f "$ac_dir/Xm/Xm.h"; then
31422 ac_find_includes=$ac_dir
31427 if test "$ac_find_includes" != "" ; then
31428 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31429 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31431 if test "x$ac_find_includes" = "x/usr/include"; then
31432 ac_path_to_include=""
31434 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31436 if test $result = 0; then
31437 ac_path_to_include=""
31439 ac_path_to_include=" -I$ac_find_includes"
31443 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31445 save_CFLAGS=$CFLAGS
31446 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31448 cat >conftest.$ac_ext <<_ACEOF
31451 cat confdefs.h >>conftest.$ac_ext
31452 cat >>conftest.$ac_ext <<_ACEOF
31453 /* end confdefs.h. */
31462 version = xmUseVersion;
31468 rm -f conftest.$ac_objext
31469 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
31477 grep -v '^ *+' conftest.er1
>conftest.err
31479 cat conftest.err
>&5
31480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31481 (exit $ac_status); } && {
31482 test -z "$ac_c_werror_flag" ||
31483 test ! -s conftest.err
31484 } && test -s conftest.
$ac_objext; then
31486 { echo "$as_me:$LINENO: result: found in default search path" >&5
31487 echo "${ECHO_T}found in default search path" >&6; }
31488 COMPILED_X_PROGRAM
=1
31491 echo "$as_me: failed program was:" >&5
31492 sed 's/^/| /' conftest.
$ac_ext >&5
31495 { echo "$as_me:$LINENO: result: no" >&5
31496 echo "${ECHO_T}no" >&6; }
31497 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31498 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31499 { (exit 1); exit 1; }; }
31504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31506 CFLAGS
=$save_CFLAGS
31510 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31511 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31514 for ac_dir
in $SEARCH_LIB;
31516 for ac_extension
in a so sl dylib dll.a
; do
31517 if test -f "$ac_dir/libXm.$ac_extension"; then
31518 ac_find_libraries
=$ac_dir
31525 if test "x$ac_find_libraries" != "x" ; then
31526 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31527 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31530 if test "$ac_find_libraries" = "default location"; then
31533 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31535 if test $result = 0; then
31538 ac_path_to_link
=" -L$ac_find_libraries"
31542 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31544 save_CFLAGS
=$CFLAGS
31545 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31547 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31549 cat >conftest.
$ac_ext <<_ACEOF
31552 cat confdefs.h
>>conftest.
$ac_ext
31553 cat >>conftest.
$ac_ext <<_ACEOF
31554 /* end confdefs.h. */
31563 version = xmUseVersion;
31569 rm -f conftest.
$ac_objext conftest
$ac_exeext
31570 if { (ac_try
="$ac_link"
31571 case "(($ac_try" in
31572 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31573 *) ac_try_echo=$ac_try;;
31575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31576 (eval "$ac_link") 2>conftest.er1
31578 grep -v '^ *+' conftest.er1 >conftest.err
31580 cat conftest.err >&5
31581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31582 (exit $ac_status); } && {
31583 test -z "$ac_c_werror_flag" ||
31584 test ! -s conftest.err
31585 } && test -s conftest$ac_exeext &&
31586 $as_test_x conftest$ac_exeext; then
31588 { echo "$as_me:$LINENO: result: found in default search path" >&5
31589 echo "${ECHO_T}found in default search path" >&6; }
31590 COMPILED_X_PROGRAM=1
31593 echo "$as_me: failed program was:" >&5
31594 sed 's/^/| /' conftest.$ac_ext >&5
31597 { echo "$as_me:$LINENO: result: no" >&5
31598 echo "${ECHO_T}no" >&6; }
31599 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31600 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31601 { (exit 1); exit 1; }; }
31606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31607 conftest$ac_exeext conftest.$ac_ext
31609 CFLAGS=$save_CFLAGS
31613 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31614 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31618 for libp in "" " -lXp"; do
31619 if test "$libs_found" = 0; then
31620 for libsm_ice in "" " -lSM -lICE"; do
31621 if test "$libs_found" = 0; then
31623 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31624 save_CFLAGS=$CFLAGS
31625 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31627 cat >conftest.$ac_ext <<_ACEOF
31630 cat confdefs.h >>conftest.$ac_ext
31631 cat >>conftest.$ac_ext <<_ACEOF
31632 /* end confdefs.h. */
31635 #include <Xm/List.h>
31641 XmString string = NULL;
31644 XmListAddItem(w, string, position);
31650 rm -f conftest.$ac_objext conftest$ac_exeext
31651 if { (ac_try="$ac_link"
31652 case "(($ac_try" in
31653 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31654 *) ac_try_echo
=$ac_try;;
31656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31657 (eval "$ac_link") 2>conftest.er1
31659 grep -v '^ *+' conftest.er1
>conftest.err
31661 cat conftest.err
>&5
31662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31663 (exit $ac_status); } && {
31664 test -z "$ac_c_werror_flag" ||
31665 test ! -s conftest.err
31666 } && test -s conftest
$ac_exeext &&
31667 $as_test_x conftest
$ac_exeext; then
31670 libsm_ice_link
="$libsm_ice"
31671 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31672 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31676 echo "$as_me: failed program was:" >&5
31677 sed 's/^/| /' conftest.
$ac_ext >&5
31683 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31684 conftest
$ac_exeext conftest.
$ac_ext
31687 CFLAGS
=$save_CFLAGS
31693 if test "$libs_found" = 0; then
31694 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31695 echo "${ECHO_T}can't find the right libraries" >&6; }
31696 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31697 echo "$as_me: error: can't link a simple motif program" >&2;}
31698 { (exit 1); exit 1; }; }
31701 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31702 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31703 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31704 echo $ECHO_N "(cached) $ECHO_C" >&6
31706 ac_check_lib_save_LIBS
=$LIBS
31708 cat >conftest.
$ac_ext <<_ACEOF
31711 cat confdefs.h
>>conftest.
$ac_ext
31712 cat >>conftest.
$ac_ext <<_ACEOF
31713 /* end confdefs.h. */
31715 /* Override any GCC internal prototype to avoid an error.
31716 Use char because int might match the return type of a GCC
31717 builtin and then its argument prototype would still apply. */
31721 char SgCreateList ();
31725 return SgCreateList ();
31730 rm -f conftest.
$ac_objext conftest
$ac_exeext
31731 if { (ac_try
="$ac_link"
31732 case "(($ac_try" in
31733 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31734 *) ac_try_echo=$ac_try;;
31736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31737 (eval "$ac_link") 2>conftest.er1
31739 grep -v '^ *+' conftest.er1 >conftest.err
31741 cat conftest.err >&5
31742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31743 (exit $ac_status); } && {
31744 test -z "$ac_c_werror_flag" ||
31745 test ! -s conftest.err
31746 } && test -s conftest$ac_exeext &&
31747 $as_test_x conftest$ac_exeext; then
31748 ac_cv_lib_Sgm_SgCreateList=yes
31750 echo "$as_me: failed program was:" >&5
31751 sed 's/^/| /' conftest.$ac_ext >&5
31753 ac_cv_lib_Sgm_SgCreateList=no
31756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31757 conftest$ac_exeext conftest.$ac_ext
31758 LIBS=$ac_check_lib_save_LIBS
31760 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31761 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31762 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31763 libsgm_link=" -lSgm"
31767 save_CFLAGS=$CFLAGS
31768 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31770 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31771 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31772 if test "${wx_cv_lib_motif2+set}" = set; then
31773 echo $ECHO_N "(cached) $ECHO_C" >&6
31775 cat >conftest.$ac_ext <<_ACEOF
31778 cat confdefs.h >>conftest.$ac_ext
31779 cat >>conftest.$ac_ext <<_ACEOF
31780 /* end confdefs.h. */
31788 #if XmVersion < 2000
31796 rm -f conftest.$ac_objext
31797 if { (ac_try="$ac_compile"
31798 case "(($ac_try" in
31799 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31800 *) ac_try_echo
=$ac_try;;
31802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31803 (eval "$ac_compile") 2>conftest.er1
31805 grep -v '^ *+' conftest.er1
>conftest.err
31807 cat conftest.err
>&5
31808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809 (exit $ac_status); } && {
31810 test -z "$ac_c_werror_flag" ||
31811 test ! -s conftest.err
31812 } && test -s conftest.
$ac_objext; then
31813 wx_cv_lib_motif2
="yes"
31815 echo "$as_me: failed program was:" >&5
31816 sed 's/^/| /' conftest.
$ac_ext >&5
31818 wx_cv_lib_motif2
="no"
31821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31823 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31824 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31825 if test "$wx_cv_lib_motif2" = "yes"; then
31826 cat >>confdefs.h
<<\_ACEOF
31827 #define __WXMOTIF20__ 1
31831 cat >>confdefs.h
<<\_ACEOF
31832 #define __WXMOTIF20__ 0
31837 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31838 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31839 if test "${wx_cv_lib_lesstif+set}" = set; then
31840 echo $ECHO_N "(cached) $ECHO_C" >&6
31842 cat >conftest.
$ac_ext <<_ACEOF
31845 cat confdefs.h
>>conftest.
$ac_ext
31846 cat >>conftest.
$ac_ext <<_ACEOF
31847 /* end confdefs.h. */
31855 #if !defined(LesstifVersion) || LesstifVersion <= 0
31863 rm -f conftest.
$ac_objext
31864 if { (ac_try
="$ac_compile"
31865 case "(($ac_try" in
31866 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31867 *) ac_try_echo=$ac_try;;
31869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31870 (eval "$ac_compile") 2>conftest.er1
31872 grep -v '^ *+' conftest.er1 >conftest.err
31874 cat conftest.err >&5
31875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31876 (exit $ac_status); } && {
31877 test -z "$ac_c_werror_flag" ||
31878 test ! -s conftest.err
31879 } && test -s conftest.$ac_objext; then
31880 wx_cv_lib_lesstif="yes"
31882 echo "$as_me: failed program was:" >&5
31883 sed 's/^/| /' conftest.$ac_ext >&5
31885 wx_cv_lib_lesstif="no"
31888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31891 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31892 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31893 if test "$wx_cv_lib_lesstif" = "yes"; then
31894 cat >>confdefs.h <<\_ACEOF
31895 #define __WXLESSTIF__ 1
31899 cat >>confdefs.h <<\_ACEOF
31900 #define __WXLESSTIF__ 0
31905 CFLAGS=$save_CFLAGS
31907 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31912 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31913 if test "$wxUSE_LIBXPM" = "sys"; then
31914 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31915 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31918 for ac_dir in $SEARCH_LIB;
31920 for ac_extension in a so sl dylib dll.a; do
31921 if test -f "$ac_dir/libXpm.$ac_extension"; then
31922 ac_find_libraries=$ac_dir
31928 if test "$ac_find_libraries" != "" ; then
31930 if test "$ac_find_libraries" = "default location"; then
31933 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31935 if test $result = 0; then
31938 ac_path_to_link=" -L$ac_find_libraries"
31942 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31943 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31944 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31946 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31947 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31948 if test "${wx_cv_x11_xpm_h+set}" = set; then
31949 echo $ECHO_N "(cached) $ECHO_C" >&6
31952 save_CFLAGS=$CFLAGS
31953 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31955 cat >conftest.$ac_ext <<_ACEOF
31958 cat confdefs.h >>conftest.$ac_ext
31959 cat >>conftest.$ac_ext <<_ACEOF
31960 /* end confdefs.h. */
31962 #include <X11/xpm.h>
31969 version = XpmLibraryVersion();
31975 rm -f conftest.$ac_objext
31976 if { (ac_try="$ac_compile"
31977 case "(($ac_try" in
31978 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31979 *) ac_try_echo
=$ac_try;;
31981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31982 (eval "$ac_compile") 2>conftest.er1
31984 grep -v '^ *+' conftest.er1
>conftest.err
31986 cat conftest.err
>&5
31987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31988 (exit $ac_status); } && {
31989 test -z "$ac_c_werror_flag" ||
31990 test ! -s conftest.err
31991 } && test -s conftest.
$ac_objext; then
31992 wx_cv_x11_xpm_h
=yes
31994 echo "$as_me: failed program was:" >&5
31995 sed 's/^/| /' conftest.
$ac_ext >&5
32001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32003 CFLAGS
=$save_CFLAGS
32007 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32008 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32010 if test $wx_cv_x11_xpm_h = "yes"; then
32011 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32012 cat >>confdefs.h
<<\_ACEOF
32013 #define wxHAVE_LIB_XPM 1
32017 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32018 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32024 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32025 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32026 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32027 echo $ECHO_N "(cached) $ECHO_C" >&6
32029 ac_check_lib_save_LIBS
=$LIBS
32030 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32031 cat >conftest.
$ac_ext <<_ACEOF
32034 cat confdefs.h
>>conftest.
$ac_ext
32035 cat >>conftest.
$ac_ext <<_ACEOF
32036 /* end confdefs.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. */
32044 char XShapeQueryExtension ();
32048 return XShapeQueryExtension ();
32053 rm -f conftest.
$ac_objext conftest
$ac_exeext
32054 if { (ac_try
="$ac_link"
32055 case "(($ac_try" in
32056 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32057 *) ac_try_echo=$ac_try;;
32059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32060 (eval "$ac_link") 2>conftest.er1
32062 grep -v '^ *+' conftest.er1 >conftest.err
32064 cat conftest.err >&5
32065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32066 (exit $ac_status); } && {
32067 test -z "$ac_c_werror_flag" ||
32068 test ! -s conftest.err
32069 } && test -s conftest$ac_exeext &&
32070 $as_test_x conftest$ac_exeext; then
32071 ac_cv_lib_Xext_XShapeQueryExtension=yes
32073 echo "$as_me: failed program was:" >&5
32074 sed 's/^/| /' conftest.$ac_ext >&5
32076 ac_cv_lib_Xext_XShapeQueryExtension=no
32079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32080 conftest$ac_exeext conftest.$ac_ext
32081 LIBS=$ac_check_lib_save_LIBS
32083 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32084 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32085 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32087 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32093 if test "$wxHAVE_XEXT_LIB" = 1; then
32094 save_CFLAGS="$CFLAGS"
32095 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32097 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32098 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32099 cat >conftest.$ac_ext <<_ACEOF
32102 cat confdefs.h >>conftest.$ac_ext
32103 cat >>conftest.$ac_ext <<_ACEOF
32104 /* end confdefs.h. */
32106 #include <X11/Xlib.h>
32107 #include <X11/extensions/shape.h>
32113 int dummy1, dummy2;
32114 XShapeQueryExtension((Display*)NULL,
32115 (int*)NULL, (int*)NULL);
32121 rm -f conftest.$ac_objext
32122 if { (ac_try="$ac_compile"
32123 case "(($ac_try" in
32124 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32125 *) ac_try_echo
=$ac_try;;
32127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32128 (eval "$ac_compile") 2>conftest.er1
32130 grep -v '^ *+' conftest.er1
>conftest.err
32132 cat conftest.err
>&5
32133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32134 (exit $ac_status); } && {
32135 test -z "$ac_c_werror_flag" ||
32136 test ! -s conftest.err
32137 } && test -s conftest.
$ac_objext; then
32139 cat >>confdefs.h
<<\_ACEOF
32140 #define HAVE_XSHAPE 1
32143 { echo "$as_me:$LINENO: result: found" >&5
32144 echo "${ECHO_T}found" >&6; }
32147 echo "$as_me: failed program was:" >&5
32148 sed 's/^/| /' conftest.
$ac_ext >&5
32151 { echo "$as_me:$LINENO: result: not found" >&5
32152 echo "${ECHO_T}not found" >&6; }
32156 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32157 CFLAGS
="$save_CFLAGS"
32162 if test "$wxUSE_MAC" = 1; then
32163 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32164 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32165 if test "$GCC" = yes; then
32166 { echo "$as_me:$LINENO: result: gcc" >&5
32167 echo "${ECHO_T}gcc" >&6; }
32168 CPPFLAGS_PASCAL
="-fpascal-strings"
32169 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32170 { echo "$as_me:$LINENO: result: xlc" >&5
32171 echo "${ECHO_T}xlc" >&6; }
32172 CPPFLAGS_PASCAL
="-qmacpstr"
32174 { echo "$as_me:$LINENO: result: none" >&5
32175 echo "${ECHO_T}none" >&6; }
32178 if test "x$wxUSE_UNIX" = "xyes"; then
32179 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32181 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32186 WXBASEPORT
="_carbon"
32189 if test "$wxUSE_COCOA" = 1; then
32194 if test "$wxUSE_PM" = 1; then
32197 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32198 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32199 if test "${wx_cv_spbcdata+set}" = set; then
32200 echo $ECHO_N "(cached) $ECHO_C" >&6
32203 cat >conftest.
$ac_ext <<_ACEOF
32206 cat confdefs.h
>>conftest.
$ac_ext
32207 cat >>conftest.
$ac_ext <<_ACEOF
32208 /* end confdefs.h. */
32223 rm -f conftest.
$ac_objext
32224 if { (ac_try
="$ac_compile"
32225 case "(($ac_try" in
32226 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32227 *) ac_try_echo=$ac_try;;
32229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32230 (eval "$ac_compile") 2>conftest.er1
32232 grep -v '^ *+' conftest.er1 >conftest.err
32234 cat conftest.err >&5
32235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32236 (exit $ac_status); } && {
32237 test -z "$ac_c_werror_flag" ||
32238 test ! -s conftest.err
32239 } && test -s conftest.$ac_objext; then
32242 echo "$as_me: failed program was:" >&5
32243 sed 's/^/| /' conftest.$ac_ext >&5
32249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32253 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32254 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32256 if test $wx_cv_spbcdata = "yes"; then
32257 cat >>confdefs.h <<\_ACEOF
32258 #define HAVE_SPBCDATA 1
32264 if test "$TOOLKIT" = "PM" ; then
32267 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32270 if test "$wxUSE_UNIVERSAL" = "yes"; then
32271 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32275 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32276 DISTDIR="wx\$(TOOLKIT)"
32282 if test "$USE_WIN32" = 1 ; then
32286 GUIDIST="BASE_DIST"
32292 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32293 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32294 wxUSE_UNICODE_UTF8=yes
32295 elif test "$USE_OS2" = 1 ; then
32296 wxUSE_UNICODE_UTF8=yes
32298 wxUSE_UNICODE_UTF8=no
32303 if test "$wxUSE_GUI" = "yes"; then
32304 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32306 for ac_header in X11/Xlib.h
32308 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32309 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32311 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32312 echo $ECHO_N "(cached) $ECHO_C" >&6
32314 cat >conftest.$ac_ext <<_ACEOF
32317 cat confdefs.h >>conftest.$ac_ext
32318 cat >>conftest.$ac_ext <<_ACEOF
32319 /* end confdefs.h. */
32322 #include <$ac_header>
32324 rm -f conftest.$ac_objext
32325 if { (ac_try="$ac_compile"
32326 case "(($ac_try" in
32327 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32328 *) ac_try_echo
=$ac_try;;
32330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32331 (eval "$ac_compile") 2>conftest.er1
32333 grep -v '^ *+' conftest.er1
>conftest.err
32335 cat conftest.err
>&5
32336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337 (exit $ac_status); } && {
32338 test -z "$ac_c_werror_flag" ||
32339 test ! -s conftest.err
32340 } && test -s conftest.
$ac_objext; then
32341 eval "$as_ac_Header=yes"
32343 echo "$as_me: failed program was:" >&5
32344 sed 's/^/| /' conftest.
$ac_ext >&5
32346 eval "$as_ac_Header=no"
32349 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32351 ac_res
=`eval echo '${'$as_ac_Header'}'`
32352 { echo "$as_me:$LINENO: result: $ac_res" >&5
32353 echo "${ECHO_T}$ac_res" >&6; }
32354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32355 cat >>confdefs.h
<<_ACEOF
32356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32364 for ac_header
in X
11/XKBlib.h
32366 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32367 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32369 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32370 echo $ECHO_N "(cached) $ECHO_C" >&6
32372 cat >conftest.
$ac_ext <<_ACEOF
32375 cat confdefs.h
>>conftest.
$ac_ext
32376 cat >>conftest.
$ac_ext <<_ACEOF
32377 /* end confdefs.h. */
32379 #if HAVE_X11_XLIB_H
32380 #include <X11/Xlib.h>
32384 #include <$ac_header>
32386 rm -f conftest.
$ac_objext
32387 if { (ac_try
="$ac_compile"
32388 case "(($ac_try" in
32389 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32390 *) ac_try_echo=$ac_try;;
32392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32393 (eval "$ac_compile") 2>conftest.er1
32395 grep -v '^ *+' conftest.er1 >conftest.err
32397 cat conftest.err >&5
32398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32399 (exit $ac_status); } && {
32400 test -z "$ac_c_werror_flag" ||
32401 test ! -s conftest.err
32402 } && test -s conftest.$ac_objext; then
32403 eval "$as_ac_Header=yes"
32405 echo "$as_me: failed program was:" >&5
32406 sed 's/^/| /' conftest.$ac_ext >&5
32408 eval "$as_ac_Header=no"
32411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32413 ac_res=`eval echo '${'$as_ac_Header'}'`
32414 { echo "$as_me:$LINENO: result: $ac_res" >&5
32415 echo "${ECHO_T}$ac_res" >&6; }
32416 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32417 cat >>confdefs.h <<_ACEOF
32418 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32430 if test "$wxUSE_DISPLAY" = "yes"; then
32431 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32432 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32433 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32436 for ac_dir in $SEARCH_LIB;
32438 for ac_extension in a so sl dylib dll.a; do
32439 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32440 ac_find_libraries=$ac_dir
32446 if test "$ac_find_libraries" != "" ; then
32448 if test "$ac_find_libraries" = "default location"; then
32451 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32453 if test $result = 0; then
32456 ac_path_to_link=" -L$ac_find_libraries"
32460 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32461 LDFLAGS="$LDFLAGS $ac_path_to_link"
32463 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32464 { echo "$as_me:$LINENO: result: yes" >&5
32465 echo "${ECHO_T}yes" >&6; }
32467 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32468 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32471 for ac_dir in $SEARCH_LIB;
32473 for ac_extension in a so sl dylib dll.a; do
32474 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32475 ac_find_libraries=$ac_dir
32481 if test "$ac_find_libraries" != "" ; then
32482 { echo "$as_me:$LINENO: result: yes" >&5
32483 echo "${ECHO_T}yes" >&6; }
32485 for ac_header in X11/extensions/xf86vmode.h
32487 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32488 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32490 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32491 echo $ECHO_N "(cached) $ECHO_C" >&6
32493 cat >conftest.$ac_ext <<_ACEOF
32496 cat confdefs.h >>conftest.$ac_ext
32497 cat >>conftest.$ac_ext <<_ACEOF
32498 /* end confdefs.h. */
32500 #if HAVE_X11_XLIB_H
32501 #include <X11/Xlib.h>
32505 #include <$ac_header>
32507 rm -f conftest.$ac_objext
32508 if { (ac_try="$ac_compile"
32509 case "(($ac_try" in
32510 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32511 *) ac_try_echo
=$ac_try;;
32513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32514 (eval "$ac_compile") 2>conftest.er1
32516 grep -v '^ *+' conftest.er1
>conftest.err
32518 cat conftest.err
>&5
32519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32520 (exit $ac_status); } && {
32521 test -z "$ac_c_werror_flag" ||
32522 test ! -s conftest.err
32523 } && test -s conftest.
$ac_objext; then
32524 eval "$as_ac_Header=yes"
32526 echo "$as_me: failed program was:" >&5
32527 sed 's/^/| /' conftest.
$ac_ext >&5
32529 eval "$as_ac_Header=no"
32532 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32534 ac_res
=`eval echo '${'$as_ac_Header'}'`
32535 { echo "$as_me:$LINENO: result: $ac_res" >&5
32536 echo "${ECHO_T}$ac_res" >&6; }
32537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32538 cat >>confdefs.h
<<_ACEOF
32539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32542 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32549 { echo "$as_me:$LINENO: result: no" >&5
32550 echo "${ECHO_T}no" >&6; }
32554 { echo "$as_me:$LINENO: result: no" >&5
32555 echo "${ECHO_T}no" >&6; }
32556 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32557 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32560 elif test "$wxUSE_MSW" = 1; then
32561 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32562 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32563 if test "${ac_cv_header_ddraw_h+set}" = set; then
32564 echo $ECHO_N "(cached) $ECHO_C" >&6
32566 cat >conftest.
$ac_ext <<_ACEOF
32569 cat confdefs.h
>>conftest.
$ac_ext
32570 cat >>conftest.
$ac_ext <<_ACEOF
32571 /* end confdefs.h. */
32572 #include <windows.h>
32576 rm -f conftest.
$ac_objext
32577 if { (ac_try
="$ac_compile"
32578 case "(($ac_try" in
32579 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32580 *) ac_try_echo=$ac_try;;
32582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32583 (eval "$ac_compile") 2>conftest.er1
32585 grep -v '^ *+' conftest.er1 >conftest.err
32587 cat conftest.err >&5
32588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32589 (exit $ac_status); } && {
32590 test -z "$ac_c_werror_flag" ||
32591 test ! -s conftest.err
32592 } && test -s conftest.$ac_objext; then
32593 ac_cv_header_ddraw_h=yes
32595 echo "$as_me: failed program was:" >&5
32596 sed 's/^/| /' conftest.$ac_ext >&5
32598 ac_cv_header_ddraw_h=no
32601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32603 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32604 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32610 if test "$wxUSE_DETECT_SM" = "yes"; then
32611 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32612 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32613 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32616 for ac_dir in $SEARCH_LIB;
32618 for ac_extension in a so sl dylib dll.a; do
32619 if test -f "$ac_dir/libSM.$ac_extension"; then
32620 ac_find_libraries=$ac_dir
32626 if test "$ac_find_libraries" != "" ; then
32628 if test "$ac_find_libraries" = "default location"; then
32631 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32633 if test $result = 0; then
32636 ac_path_to_link=" -L$ac_find_libraries"
32640 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32641 LDFLAGS="$LDFLAGS $ac_path_to_link"
32643 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32644 { echo "$as_me:$LINENO: result: yes" >&5
32645 echo "${ECHO_T}yes" >&6; }
32647 { echo "$as_me:$LINENO: result: no" >&5
32648 echo "${ECHO_T}no" >&6; }
32649 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32650 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32651 wxUSE_DETECT_SM="no"
32654 wxUSE_DETECT_SM="no"
32661 if test "$wxUSE_OPENGL" = "yes"; then
32662 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32663 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32664 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32666 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32667 OPENGL_LIBS="-framework OpenGL -framework AGL"
32668 elif test "$wxUSE_MSW" = 1; then
32669 OPENGL_LIBS="-lopengl32 -lglu32"
32671 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32672 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32675 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32677 if test -f "$ac_dir/GL/gl.h"; then
32678 ac_find_includes=$ac_dir
32683 if test "$ac_find_includes" != "" ; then
32684 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32685 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32687 if test "x$ac_find_includes" = "x/usr/include"; then
32688 ac_path_to_include=""
32690 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32692 if test $result = 0; then
32693 ac_path_to_include=""
32695 ac_path_to_include=" -I$ac_find_includes"
32699 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32701 { echo "$as_me:$LINENO: result: not found" >&5
32702 echo "${ECHO_T}not found" >&6; }
32705 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32706 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32707 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32708 echo $ECHO_N "(cached) $ECHO_C" >&6
32710 cat >conftest.$ac_ext <<_ACEOF
32713 cat confdefs.h >>conftest.$ac_ext
32714 cat >>conftest.$ac_ext <<_ACEOF
32715 /* end confdefs.h. */
32720 rm -f conftest.$ac_objext
32721 if { (ac_try="$ac_compile"
32722 case "(($ac_try" in
32723 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32724 *) ac_try_echo
=$ac_try;;
32726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32727 (eval "$ac_compile") 2>conftest.er1
32729 grep -v '^ *+' conftest.er1
>conftest.err
32731 cat conftest.err
>&5
32732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32733 (exit $ac_status); } && {
32734 test -z "$ac_c_werror_flag" ||
32735 test ! -s conftest.err
32736 } && test -s conftest.
$ac_objext; then
32737 ac_cv_header_GL_gl_h
=yes
32739 echo "$as_me: failed program was:" >&5
32740 sed 's/^/| /' conftest.
$ac_ext >&5
32742 ac_cv_header_GL_gl_h
=no
32745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32747 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32748 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32749 if test $ac_cv_header_GL_gl_h = yes; then
32751 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32752 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32753 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32754 echo $ECHO_N "(cached) $ECHO_C" >&6
32756 cat >conftest.
$ac_ext <<_ACEOF
32759 cat confdefs.h
>>conftest.
$ac_ext
32760 cat >>conftest.
$ac_ext <<_ACEOF
32761 /* end confdefs.h. */
32764 #include <GL/glu.h>
32766 rm -f conftest.
$ac_objext
32767 if { (ac_try
="$ac_compile"
32768 case "(($ac_try" in
32769 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32770 *) ac_try_echo=$ac_try;;
32772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32773 (eval "$ac_compile") 2>conftest.er1
32775 grep -v '^ *+' conftest.er1 >conftest.err
32777 cat conftest.err >&5
32778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32779 (exit $ac_status); } && {
32780 test -z "$ac_c_werror_flag" ||
32781 test ! -s conftest.err
32782 } && test -s conftest.$ac_objext; then
32783 ac_cv_header_GL_glu_h=yes
32785 echo "$as_me: failed program was:" >&5
32786 sed 's/^/| /' conftest.$ac_ext >&5
32788 ac_cv_header_GL_glu_h=no
32791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32793 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32794 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32795 if test $ac_cv_header_GL_glu_h = yes; then
32799 { echo "$as_me:$LINENO: checking for -lGL" >&5
32800 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32803 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32805 for ac_extension in a so sl dylib dll.a; do
32806 if test -f "$ac_dir/libGL.$ac_extension"; then
32807 ac_find_libraries=$ac_dir
32813 if test "$ac_find_libraries" != "" ; then
32814 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32815 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32818 if test "$ac_find_libraries" = "default location"; then
32821 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32823 if test $result = 0; then
32826 ac_path_to_link=" -L$ac_find_libraries"
32830 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32831 LDFLAGS_GL="$ac_path_to_link"
32834 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32835 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32838 for ac_dir in $SEARCH_LIB;
32840 for ac_extension in a so sl dylib dll.a; do
32841 if test -f "$ac_dir/libGLU.$ac_extension"; then
32842 ac_find_libraries=$ac_dir
32848 if test "$ac_find_libraries" != "" ; then
32850 if test "$ac_find_libraries" = "default location"; then
32853 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32855 if test $result = 0; then
32858 ac_path_to_link=" -L$ac_find_libraries"
32862 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32863 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32864 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32868 OPENGL_LIBS="-lGL -lGLU"
32869 { echo "$as_me:$LINENO: result: yes" >&5
32870 echo "${ECHO_T}yes" >&6; }
32872 { echo "$as_me:$LINENO: result: no" >&5
32873 echo "${ECHO_T}no" >&6; }
32876 { echo "$as_me:$LINENO: result: no" >&5
32877 echo "${ECHO_T}no" >&6; }
32880 if test "$found_gl" != 1; then
32881 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32882 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32885 for ac_dir in $SEARCH_LIB;
32887 for ac_extension in a so sl dylib dll.a; do
32888 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32889 ac_find_libraries=$ac_dir
32895 if test "$ac_find_libraries" != "" ; then
32897 if test "$ac_find_libraries" = "default location"; then
32900 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32902 if test $result = 0; then
32905 ac_path_to_link=" -L$ac_find_libraries"
32909 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32910 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32911 { echo "$as_me:$LINENO: result: yes" >&5
32912 echo "${ECHO_T}yes" >&6; }
32914 { echo "$as_me:$LINENO: result: no" >&5
32915 echo "${ECHO_T}no" >&6; }
32927 if test "x$OPENGL_LIBS" = "x"; then
32928 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32929 echo "$as_me: error: OpenGL libraries not available" >&2;}
32930 { (exit 1); exit 1; }; }
32934 if test "$wxUSE_OPENGL" = "yes"; then
32936 cat >>confdefs.h <<\_ACEOF
32937 #define wxUSE_OPENGL 1
32940 cat >>confdefs.h <<\_ACEOF
32941 #define wxUSE_GLCANVAS 1
32944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32949 if test -n "$TOOLKIT" ; then
32950 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32955 if test "$wxUSE_SHARED" = "yes"; then
32959 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32960 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32965 if test "$wxUSE_SHARED" = "yes"; then
32969 *-*-cygwin* | *-*-mingw* )
32970 wx_cv_version_script=no
32974 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32975 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32976 if test "${wx_cv_version_script+set}" = set; then
32977 echo $ECHO_N "(cached) $ECHO_C" >&6
32980 echo "VER_1 { *; };" >conftest.sym
32981 echo "int main() { return 0; }" >conftest.cpp
32984 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32985 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32987 (eval $ac_try) 2>&5
32989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32990 (exit $ac_status); }; } ; then
32991 if test -s conftest.stderr ; then
32992 wx_cv_version_script=no
32994 wx_cv_version_script=yes
32997 wx_cv_version_script=no
33000 if test $wx_cv_version_script = yes
33002 echo "struct B { virtual ~B() { } }; \
33003 struct D : public B { }; \
33004 void F() { D d; }" > conftest.cpp
33007 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33008 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33010 (eval $ac_try) 2>&5
33012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33013 (exit $ac_status); }; } &&
33015 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33016 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33018 (eval $ac_try) 2>&5
33020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33021 (exit $ac_status); }; }
33024 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33025 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33027 (eval $ac_try) 2>&5
33029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33030 (exit $ac_status); }; }
33032 wx_cv_version_script=yes
33034 wx_cv_version_script=no
33039 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33040 rm -f conftest1.output conftest2.output conftest3.output
33043 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33044 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33046 if test $wx_cv_version_script = yes ; then
33047 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33053 if test "$wxUSE_VISIBILITY" != "no"; then
33056 if test -n "$GCC"; then
33057 CFLAGS_VISIBILITY="-fvisibility=hidden"
33058 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33059 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33060 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33061 if test "${wx_cv_cc_visibility+set}" = set; then
33062 echo $ECHO_N "(cached) $ECHO_C" >&6
33065 wx_save_CXXFLAGS="$CXXFLAGS"
33066 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33068 ac_cpp='$CXXCPP $CPPFLAGS'
33069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33073 cat >conftest.$ac_ext <<_ACEOF
33076 cat confdefs.h >>conftest.$ac_ext
33077 cat >>conftest.$ac_ext <<_ACEOF
33078 /* end confdefs.h. */
33080 /* we need gcc >= 4.0, older versions with visibility support
33081 didn't have class visibility: */
33082 #if defined(__GNUC__) && __GNUC__ < 4
33083 error this gcc is too old;
33086 /* visibility only makes sense for ELF shared libs: */
33087 #if !defined(__ELF__) && !defined(__APPLE__)
33088 error this platform has no visibility;
33091 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33092 extern __attribute__((__visibility__("default"))) int exportedvar;
33093 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33094 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33095 class __attribute__((__visibility__("default"))) Foo {
33107 rm -f conftest.$ac_objext
33108 if { (ac_try="$ac_compile"
33109 case "(($ac_try" in
33110 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33111 *) ac_try_echo
=$ac_try;;
33113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33114 (eval "$ac_compile") 2>conftest.er1
33116 grep -v '^ *+' conftest.er1
>conftest.err
33118 cat conftest.err
>&5
33119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33120 (exit $ac_status); } && {
33121 test -z "$ac_cxx_werror_flag" ||
33122 test ! -s conftest.err
33123 } && test -s conftest.
$ac_objext; then
33124 wx_cv_cc_visibility
=yes
33126 echo "$as_me: failed program was:" >&5
33127 sed 's/^/| /' conftest.
$ac_ext >&5
33129 wx_cv_cc_visibility
=no
33132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33134 ac_cpp
='$CPP $CPPFLAGS'
33135 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33136 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33137 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33139 CXXFLAGS
="$wx_save_CXXFLAGS"
33142 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33143 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33144 if test $wx_cv_cc_visibility = yes; then
33145 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33146 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33147 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33148 echo $ECHO_N "(cached) $ECHO_C" >&6
33151 wx_save_CXXFLAGS
="$CXXFLAGS"
33152 wx_save_LDFLAGS
="$LDFLAGS"
33153 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33154 LDFLAGS
="$LDFLAGS -shared -fPIC"
33156 ac_cpp
='$CXXCPP $CPPFLAGS'
33157 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33158 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33159 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33161 cat >conftest.
$ac_ext <<_ACEOF
33164 cat confdefs.h
>>conftest.
$ac_ext
33165 cat >>conftest.
$ac_ext <<_ACEOF
33166 /* end confdefs.h. */
33174 std::string s("hello");
33181 rm -f conftest.
$ac_objext conftest
$ac_exeext
33182 if { (ac_try
="$ac_link"
33183 case "(($ac_try" in
33184 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33185 *) ac_try_echo=$ac_try;;
33187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33188 (eval "$ac_link") 2>conftest.er1
33190 grep -v '^ *+' conftest.er1 >conftest.err
33192 cat conftest.err >&5
33193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33194 (exit $ac_status); } && {
33195 test -z "$ac_cxx_werror_flag" ||
33196 test ! -s conftest.err
33197 } && test -s conftest$ac_exeext &&
33198 $as_test_x conftest$ac_exeext; then
33199 wx_cv_cc_broken_libstdcxx_visibility=no
33201 echo "$as_me: failed program was:" >&5
33202 sed 's/^/| /' conftest.$ac_ext >&5
33204 wx_cv_cc_broken_libstdcxx_visibility=yes
33207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33208 conftest$ac_exeext conftest.$ac_ext
33210 ac_cpp='$CPP $CPPFLAGS'
33211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33215 CXXFLAGS="$wx_save_CXXFLAGS"
33216 LDFLAGS="$wx_save_LDFLAGS"
33219 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33220 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33222 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33223 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33224 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33225 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33226 echo $ECHO_N "(cached) $ECHO_C" >&6
33230 ac_cpp='$CXXCPP $CPPFLAGS'
33231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33235 cat >conftest.$ac_ext <<_ACEOF
33238 cat confdefs.h >>conftest.$ac_ext
33239 cat >>conftest.$ac_ext <<_ACEOF
33240 /* end confdefs.h. */
33242 #pragma GCC visibility push(default)
33244 #pragma GCC visibility pop
33250 std::string s("hello");
33257 rm -f conftest.$ac_objext conftest$ac_exeext
33258 if { (ac_try="$ac_link"
33259 case "(($ac_try" in
33260 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33261 *) ac_try_echo
=$ac_try;;
33263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33264 (eval "$ac_link") 2>conftest.er1
33266 grep -v '^ *+' conftest.er1
>conftest.err
33268 cat conftest.err
>&5
33269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33270 (exit $ac_status); } && {
33271 test -z "$ac_cxx_werror_flag" ||
33272 test ! -s conftest.err
33273 } && test -s conftest
$ac_exeext &&
33274 $as_test_x conftest
$ac_exeext; then
33275 wx_cv_cc_visibility_workaround
=no
33277 echo "$as_me: failed program was:" >&5
33278 sed 's/^/| /' conftest.
$ac_ext >&5
33280 wx_cv_cc_visibility_workaround
=yes
33283 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33284 conftest
$ac_exeext conftest.
$ac_ext
33286 ac_cpp
='$CPP $CPPFLAGS'
33287 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33288 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33289 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33294 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33295 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33297 if test $wx_cv_cc_visibility_workaround = no
; then
33298 wx_cv_cc_visibility
=no
33303 if test $wx_cv_cc_visibility = yes; then
33304 cat >>confdefs.h
<<\_ACEOF
33305 #define HAVE_VISIBILITY 1
33308 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33309 cat >>confdefs.h
<<\_ACEOF
33310 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33315 CFLAGS_VISIBILITY
=""
33316 CXXFLAGS_VISIBILITY
=""
33324 if test "x$SUNCXX" = xyes
; then
33325 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33326 WXCONFIG_RPATH
="-R\$libdir"
33329 *-*-linux* | *-*-gnu* )
33330 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33331 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33336 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33338 saveLdflags
="$LDFLAGS"
33339 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33340 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33341 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33342 cat >conftest.
$ac_ext <<_ACEOF
33345 cat confdefs.h
>>conftest.
$ac_ext
33346 cat >>conftest.
$ac_ext <<_ACEOF
33347 /* end confdefs.h. */
33357 rm -f conftest.
$ac_objext conftest
$ac_exeext
33358 if { (ac_try
="$ac_link"
33359 case "(($ac_try" in
33360 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33361 *) ac_try_echo=$ac_try;;
33363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33364 (eval "$ac_link") 2>conftest.er1
33366 grep -v '^ *+' conftest.er1 >conftest.err
33368 cat conftest.err >&5
33369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33370 (exit $ac_status); } && {
33371 test -z "$ac_c_werror_flag" ||
33372 test ! -s conftest.err
33373 } && test -s conftest$ac_exeext &&
33374 $as_test_x conftest$ac_exeext; then
33376 { echo "$as_me:$LINENO: result: yes" >&5
33377 echo "${ECHO_T}yes" >&6; }
33378 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33379 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33382 echo "$as_me: failed program was:" >&5
33383 sed 's/^/| /' conftest.$ac_ext >&5
33386 { echo "$as_me:$LINENO: result: no" >&5
33387 echo "${ECHO_T}no" >&6; }
33388 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33389 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33390 LDFLAGS="$saveLdflags -Wl,-R,/"
33391 cat >conftest.$ac_ext <<_ACEOF
33394 cat confdefs.h >>conftest.$ac_ext
33395 cat >>conftest.$ac_ext <<_ACEOF
33396 /* end confdefs.h. */
33406 rm -f conftest.$ac_objext conftest$ac_exeext
33407 if { (ac_try="$ac_link"
33408 case "(($ac_try" in
33409 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33410 *) ac_try_echo
=$ac_try;;
33412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33413 (eval "$ac_link") 2>conftest.er1
33415 grep -v '^ *+' conftest.er1
>conftest.err
33417 cat conftest.err
>&5
33418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33419 (exit $ac_status); } && {
33420 test -z "$ac_c_werror_flag" ||
33421 test ! -s conftest.err
33422 } && test -s conftest
$ac_exeext &&
33423 $as_test_x conftest
$ac_exeext; then
33425 { echo "$as_me:$LINENO: result: yes" >&5
33426 echo "${ECHO_T}yes" >&6; }
33427 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33428 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33431 echo "$as_me: failed program was:" >&5
33432 sed 's/^/| /' conftest.
$ac_ext >&5
33435 { echo "$as_me:$LINENO: result: no" >&5
33436 echo "${ECHO_T}no" >&6; }
33440 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33441 conftest
$ac_exeext conftest.
$ac_ext
33445 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33446 conftest
$ac_exeext conftest.
$ac_ext
33447 LDFLAGS
="$saveLdflags"
33451 install_name_tool
=`which install_name_tool`
33452 if test "$install_name_tool" -a -x "$install_name_tool"; then
33453 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33454 cat <<EOF >change-install-names
33456 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33457 inst_cmd="install_name_tool "
33458 for i in \${libnames} ; do
33459 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33463 chmod +x change
-install-names
33467 *-*-cygwin* | *-*-mingw32* )
33471 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33472 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33478 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33480 if test $wxUSE_RPATH = "no"; then
33481 SAMPLES_RPATH_FLAG
=''
33482 SAMPLES_RPATH_POSTLINK
=''
33490 config_linkage_component
="-static"
33497 lib_unicode_suffix
=
33499 if test "$wxUSE_UNICODE" = "yes"; then
33500 lib_unicode_suffix
=u
33501 WX_CHARTYPE
="unicode"
33506 WX_DEBUGTYPE
="release"
33508 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33510 WX_DEBUGTYPE
="debug"
33514 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33515 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33518 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33522 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33524 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33526 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33528 if test "$cross_compiling" = "yes"; then
33529 HOST_SUFFIX
="-$host_alias"
33530 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33531 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33534 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33535 if test "${TOOLKIT_DIR}" = "os2"; then
33536 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33538 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33543 if test "$wxUSE_COCOA" = 1; then
33546 ac_cpp
='$CPP $CPPFLAGS'
33547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33553 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33554 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33555 cat >conftest.
$ac_ext <<_ACEOF
33558 cat confdefs.h
>>conftest.
$ac_ext
33559 cat >>conftest.
$ac_ext <<_ACEOF
33560 /* end confdefs.h. */
33561 #include <AppKit/NSEvent.h>
33562 #include <CoreFoundation/CoreFoundation.h>
33572 rm -f conftest.
$ac_objext
33573 if { (ac_try
="$ac_compile"
33574 case "(($ac_try" in
33575 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33576 *) ac_try_echo=$ac_try;;
33578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33579 (eval "$ac_compile") 2>conftest.er1
33581 grep -v '^ *+' conftest.er1 >conftest.err
33583 cat conftest.err >&5
33584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33585 (exit $ac_status); } && {
33586 test -z "$ac_c_werror_flag" ||
33587 test ! -s conftest.err
33588 } && test -s conftest.$ac_objext; then
33589 { echo "$as_me:$LINENO: result: no" >&5
33590 echo "${ECHO_T}no" >&6; }
33592 echo "$as_me: failed program was:" >&5
33593 sed 's/^/| /' conftest.$ac_ext >&5
33595 { echo "$as_me:$LINENO: result: yes" >&5
33596 echo "${ECHO_T}yes" >&6; }
33597 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33598 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33599 cat >conftest.$ac_ext <<_ACEOF
33602 cat confdefs.h >>conftest.$ac_ext
33603 cat >>conftest.$ac_ext <<_ACEOF
33604 /* end confdefs.h. */
33605 #define __Point__ 1
33606 #include <AppKit/NSEvent.h>
33607 #include <CoreFoundation/CoreFoundation.h>
33617 rm -f conftest.$ac_objext
33618 if { (ac_try="$ac_compile"
33619 case "(($ac_try" in
33620 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33621 *) ac_try_echo
=$ac_try;;
33623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33624 (eval "$ac_compile") 2>conftest.er1
33626 grep -v '^ *+' conftest.er1
>conftest.err
33628 cat conftest.err
>&5
33629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33630 (exit $ac_status); } && {
33631 test -z "$ac_c_werror_flag" ||
33632 test ! -s conftest.err
33633 } && test -s conftest.
$ac_objext; then
33634 { echo "$as_me:$LINENO: result: yes" >&5
33635 echo "${ECHO_T}yes" >&6; }
33636 cat >>confdefs.h
<<\_ACEOF
33637 #define __Point__ 1
33642 echo "$as_me: failed program was:" >&5
33643 sed 's/^/| /' conftest.
$ac_ext >&5
33645 { { echo "$as_me:$LINENO: error: no
33646 See \`config.log' for more details." >&5
33647 echo "$as_me: error: no
33648 See \`config.log' for more details." >&2;}
33649 { (exit 1); exit 1; }; }
33653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33659 ac_cpp
='$CPP $CPPFLAGS'
33660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33667 { echo "$as_me:$LINENO: checking for mode_t" >&5
33668 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33669 if test "${ac_cv_type_mode_t+set}" = set; then
33670 echo $ECHO_N "(cached) $ECHO_C" >&6
33672 cat >conftest.
$ac_ext <<_ACEOF
33675 cat confdefs.h
>>conftest.
$ac_ext
33676 cat >>conftest.
$ac_ext <<_ACEOF
33677 /* end confdefs.h. */
33678 $ac_includes_default
33679 typedef mode_t ac__type_new_;
33683 if ((ac__type_new_ *) 0)
33685 if (sizeof (ac__type_new_))
33691 rm -f conftest.
$ac_objext
33692 if { (ac_try
="$ac_compile"
33693 case "(($ac_try" in
33694 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33695 *) ac_try_echo=$ac_try;;
33697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33698 (eval "$ac_compile") 2>conftest.er1
33700 grep -v '^ *+' conftest.er1 >conftest.err
33702 cat conftest.err >&5
33703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33704 (exit $ac_status); } && {
33705 test -z "$ac_c_werror_flag" ||
33706 test ! -s conftest.err
33707 } && test -s conftest.$ac_objext; then
33708 ac_cv_type_mode_t=yes
33710 echo "$as_me: failed program was:" >&5
33711 sed 's/^/| /' conftest.$ac_ext >&5
33713 ac_cv_type_mode_t=no
33716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33718 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33719 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33720 if test $ac_cv_type_mode_t = yes; then
33724 cat >>confdefs.h <<_ACEOF
33730 { echo "$as_me:$LINENO: checking for off_t" >&5
33731 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33732 if test "${ac_cv_type_off_t+set}" = set; then
33733 echo $ECHO_N "(cached) $ECHO_C" >&6
33735 cat >conftest.$ac_ext <<_ACEOF
33738 cat confdefs.h >>conftest.$ac_ext
33739 cat >>conftest.$ac_ext <<_ACEOF
33740 /* end confdefs.h. */
33741 $ac_includes_default
33742 typedef off_t ac__type_new_;
33746 if ((ac__type_new_ *) 0)
33748 if (sizeof (ac__type_new_))
33754 rm -f conftest.$ac_objext
33755 if { (ac_try="$ac_compile"
33756 case "(($ac_try" in
33757 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33758 *) ac_try_echo
=$ac_try;;
33760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33761 (eval "$ac_compile") 2>conftest.er1
33763 grep -v '^ *+' conftest.er1
>conftest.err
33765 cat conftest.err
>&5
33766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33767 (exit $ac_status); } && {
33768 test -z "$ac_c_werror_flag" ||
33769 test ! -s conftest.err
33770 } && test -s conftest.
$ac_objext; then
33771 ac_cv_type_off_t
=yes
33773 echo "$as_me: failed program was:" >&5
33774 sed 's/^/| /' conftest.
$ac_ext >&5
33776 ac_cv_type_off_t
=no
33779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33781 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33782 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33783 if test $ac_cv_type_off_t = yes; then
33787 cat >>confdefs.h
<<_ACEOF
33788 #define off_t long int
33793 { echo "$as_me:$LINENO: checking for pid_t" >&5
33794 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33795 if test "${ac_cv_type_pid_t+set}" = set; then
33796 echo $ECHO_N "(cached) $ECHO_C" >&6
33798 cat >conftest.
$ac_ext <<_ACEOF
33801 cat confdefs.h
>>conftest.
$ac_ext
33802 cat >>conftest.
$ac_ext <<_ACEOF
33803 /* end confdefs.h. */
33804 $ac_includes_default
33805 typedef pid_t ac__type_new_;
33809 if ((ac__type_new_ *) 0)
33811 if (sizeof (ac__type_new_))
33817 rm -f conftest.
$ac_objext
33818 if { (ac_try
="$ac_compile"
33819 case "(($ac_try" in
33820 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33821 *) ac_try_echo=$ac_try;;
33823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33824 (eval "$ac_compile") 2>conftest.er1
33826 grep -v '^ *+' conftest.er1 >conftest.err
33828 cat conftest.err >&5
33829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33830 (exit $ac_status); } && {
33831 test -z "$ac_c_werror_flag" ||
33832 test ! -s conftest.err
33833 } && test -s conftest.$ac_objext; then
33834 ac_cv_type_pid_t=yes
33836 echo "$as_me: failed program was:" >&5
33837 sed 's/^/| /' conftest.$ac_ext >&5
33839 ac_cv_type_pid_t=no
33842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33844 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33845 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33846 if test $ac_cv_type_pid_t = yes; then
33850 cat >>confdefs.h <<_ACEOF
33856 { echo "$as_me:$LINENO: checking for size_t" >&5
33857 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33858 if test "${ac_cv_type_size_t+set}" = set; then
33859 echo $ECHO_N "(cached) $ECHO_C" >&6
33861 cat >conftest.$ac_ext <<_ACEOF
33864 cat confdefs.h >>conftest.$ac_ext
33865 cat >>conftest.$ac_ext <<_ACEOF
33866 /* end confdefs.h. */
33867 $ac_includes_default
33868 typedef size_t ac__type_new_;
33872 if ((ac__type_new_ *) 0)
33874 if (sizeof (ac__type_new_))
33880 rm -f conftest.$ac_objext
33881 if { (ac_try="$ac_compile"
33882 case "(($ac_try" in
33883 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33884 *) ac_try_echo
=$ac_try;;
33886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33887 (eval "$ac_compile") 2>conftest.er1
33889 grep -v '^ *+' conftest.er1
>conftest.err
33891 cat conftest.err
>&5
33892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33893 (exit $ac_status); } && {
33894 test -z "$ac_c_werror_flag" ||
33895 test ! -s conftest.err
33896 } && test -s conftest.
$ac_objext; then
33897 ac_cv_type_size_t
=yes
33899 echo "$as_me: failed program was:" >&5
33900 sed 's/^/| /' conftest.
$ac_ext >&5
33902 ac_cv_type_size_t
=no
33905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33907 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33908 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33909 if test $ac_cv_type_size_t = yes; then
33913 cat >>confdefs.h
<<_ACEOF
33914 #define size_t unsigned int
33920 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33921 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33922 if test "${ac_cv_type_ssize_t+set}" = set; then
33923 echo $ECHO_N "(cached) $ECHO_C" >&6
33925 cat >conftest.
$ac_ext <<_ACEOF
33928 cat confdefs.h
>>conftest.
$ac_ext
33929 cat >>conftest.
$ac_ext <<_ACEOF
33930 /* end confdefs.h. */
33931 $ac_includes_default
33932 typedef ssize_t ac__type_new_;
33936 if ((ac__type_new_ *) 0)
33938 if (sizeof (ac__type_new_))
33944 rm -f conftest.
$ac_objext
33945 if { (ac_try
="$ac_compile"
33946 case "(($ac_try" in
33947 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33948 *) ac_try_echo=$ac_try;;
33950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33951 (eval "$ac_compile") 2>conftest.er1
33953 grep -v '^ *+' conftest.er1 >conftest.err
33955 cat conftest.err >&5
33956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33957 (exit $ac_status); } && {
33958 test -z "$ac_c_werror_flag" ||
33959 test ! -s conftest.err
33960 } && test -s conftest.$ac_objext; then
33961 ac_cv_type_ssize_t=yes
33963 echo "$as_me: failed program was:" >&5
33964 sed 's/^/| /' conftest.$ac_ext >&5
33966 ac_cv_type_ssize_t=no
33969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33971 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33972 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33973 if test $ac_cv_type_ssize_t = yes; then
33975 cat >>confdefs.h <<_ACEOF
33976 #define HAVE_SSIZE_T 1
33984 ac_cpp='$CXXCPP $CPPFLAGS'
33985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33988 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33989 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33990 if test "${wx_cv_size_t_is_uint+set}" = set; then
33991 echo $ECHO_N "(cached) $ECHO_C" >&6
33994 cat >conftest.$ac_ext <<_ACEOF
33997 cat confdefs.h >>conftest.$ac_ext
33998 cat >>conftest.$ac_ext <<_ACEOF
33999 /* end confdefs.h. */
34000 #include <stddef.h>
34007 struct Foo { void foo(size_t); void foo(unsigned int); };
34015 rm -f conftest.$ac_objext
34016 if { (ac_try="$ac_compile"
34017 case "(($ac_try" in
34018 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34019 *) ac_try_echo
=$ac_try;;
34021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34022 (eval "$ac_compile") 2>conftest.er1
34024 grep -v '^ *+' conftest.er1
>conftest.err
34026 cat conftest.err
>&5
34027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34028 (exit $ac_status); } && {
34029 test -z "$ac_cxx_werror_flag" ||
34030 test ! -s conftest.err
34031 } && test -s conftest.
$ac_objext; then
34032 wx_cv_size_t_is_uint
=no
34034 echo "$as_me: failed program was:" >&5
34035 sed 's/^/| /' conftest.
$ac_ext >&5
34037 wx_cv_size_t_is_uint
=yes
34041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34045 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34046 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34048 if test "$wx_cv_size_t_is_uint" = "yes"; then
34049 cat >>confdefs.h
<<\_ACEOF
34050 #define wxSIZE_T_IS_UINT 1
34054 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34055 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34056 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34057 echo $ECHO_N "(cached) $ECHO_C" >&6
34059 cat >conftest.
$ac_ext <<_ACEOF
34062 cat confdefs.h
>>conftest.
$ac_ext
34063 cat >>conftest.
$ac_ext <<_ACEOF
34064 /* end confdefs.h. */
34065 #include <stddef.h>
34072 struct Foo { void foo(size_t); void foo(unsigned long); };
34080 rm -f conftest.
$ac_objext
34081 if { (ac_try
="$ac_compile"
34082 case "(($ac_try" in
34083 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34084 *) ac_try_echo=$ac_try;;
34086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34087 (eval "$ac_compile") 2>conftest.er1
34089 grep -v '^ *+' conftest.er1 >conftest.err
34091 cat conftest.err >&5
34092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34093 (exit $ac_status); } && {
34094 test -z "$ac_cxx_werror_flag" ||
34095 test ! -s conftest.err
34096 } && test -s conftest.$ac_objext; then
34097 wx_cv_size_t_is_ulong=no
34099 echo "$as_me: failed program was:" >&5
34100 sed 's/^/| /' conftest.$ac_ext >&5
34102 wx_cv_size_t_is_ulong=yes
34106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34109 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34110 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34112 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34113 cat >>confdefs.h <<\_ACEOF
34114 #define wxSIZE_T_IS_ULONG 1
34120 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34121 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34122 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34123 echo $ECHO_N "(cached) $ECHO_C" >&6
34125 cat >conftest.$ac_ext <<_ACEOF
34128 cat confdefs.h >>conftest.$ac_ext
34129 cat >>conftest.$ac_ext <<_ACEOF
34130 /* end confdefs.h. */
34138 struct Foo { void foo(wchar_t);
34139 void foo(unsigned short);
34140 void foo(unsigned int);
34141 void foo(unsigned long); };
34149 rm -f conftest.$ac_objext
34150 if { (ac_try="$ac_compile"
34151 case "(($ac_try" in
34152 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34153 *) ac_try_echo
=$ac_try;;
34155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34156 (eval "$ac_compile") 2>conftest.er1
34158 grep -v '^ *+' conftest.er1
>conftest.err
34160 cat conftest.err
>&5
34161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34162 (exit $ac_status); } && {
34163 test -z "$ac_cxx_werror_flag" ||
34164 test ! -s conftest.err
34165 } && test -s conftest.
$ac_objext; then
34166 wx_cv_wchar_t_is_separate_type
=yes
34168 echo "$as_me: failed program was:" >&5
34169 sed 's/^/| /' conftest.
$ac_ext >&5
34171 wx_cv_wchar_t_is_separate_type
=no
34175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34178 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34179 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34181 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34182 cat >>confdefs.h
<<\_ACEOF
34183 #define wxWCHAR_T_IS_REAL_TYPE 1
34187 cat >>confdefs.h
<<\_ACEOF
34188 #define wxWCHAR_T_IS_REAL_TYPE 0
34194 ac_cpp
='$CPP $CPPFLAGS'
34195 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34196 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34197 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34200 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34201 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34202 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34203 echo $ECHO_N "(cached) $ECHO_C" >&6
34206 cat >conftest.
$ac_ext <<_ACEOF
34209 cat confdefs.h
>>conftest.
$ac_ext
34210 cat >>conftest.
$ac_ext <<_ACEOF
34211 /* end confdefs.h. */
34225 rm -f conftest.
$ac_objext
34226 if { (ac_try
="$ac_compile"
34227 case "(($ac_try" in
34228 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34229 *) ac_try_echo=$ac_try;;
34231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34232 (eval "$ac_compile") 2>conftest.er1
34234 grep -v '^ *+' conftest.er1 >conftest.err
34236 cat conftest.err >&5
34237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34238 (exit $ac_status); } && {
34239 test -z "$ac_c_werror_flag" ||
34240 test ! -s conftest.err
34241 } && test -s conftest.$ac_objext; then
34243 wx_cv_struct_pw_gecos=yes
34246 echo "$as_me: failed program was:" >&5
34247 sed 's/^/| /' conftest.$ac_ext >&5
34250 wx_cv_struct_pw_gecos=no
34255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34259 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34260 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34262 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34263 cat >>confdefs.h <<\_ACEOF
34264 #define HAVE_PW_GECOS 1
34270 if test "$wxUSE_WCHAR_T" = "yes"; then
34271 cat >>confdefs.h <<\_ACEOF
34272 #define wxUSE_WCHAR_T 1
34279 for ac_func in wcslen
34281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34282 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34284 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34285 echo $ECHO_N "(cached) $ECHO_C" >&6
34287 cat >conftest.$ac_ext <<_ACEOF
34290 cat confdefs.h >>conftest.$ac_ext
34291 cat >>conftest.$ac_ext <<_ACEOF
34292 /* end confdefs.h. */
34293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34295 #define $ac_func innocuous_$ac_func
34297 /* System header to define __stub macros and hopefully few prototypes,
34298 which can conflict with char $ac_func (); below.
34299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34300 <limits.h> exists even on freestanding compilers. */
34303 # include <limits.h>
34305 # include <assert.h>
34310 /* Override any GCC internal prototype to avoid an error.
34311 Use char because int might match the return type of a GCC
34312 builtin and then its argument prototype would still apply. */
34317 /* The GNU C library defines this for functions which it implements
34318 to always fail with ENOSYS. Some functions are actually named
34319 something starting with __ and the normal name is an alias. */
34320 #if defined __stub_$ac_func || defined __stub___$ac_func
34327 return $ac_func ();
34332 rm -f conftest.$ac_objext conftest$ac_exeext
34333 if { (ac_try="$ac_link"
34334 case "(($ac_try" in
34335 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34336 *) ac_try_echo
=$ac_try;;
34338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34339 (eval "$ac_link") 2>conftest.er1
34341 grep -v '^ *+' conftest.er1
>conftest.err
34343 cat conftest.err
>&5
34344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34345 (exit $ac_status); } && {
34346 test -z "$ac_c_werror_flag" ||
34347 test ! -s conftest.err
34348 } && test -s conftest
$ac_exeext &&
34349 $as_test_x conftest
$ac_exeext; then
34350 eval "$as_ac_var=yes"
34352 echo "$as_me: failed program was:" >&5
34353 sed 's/^/| /' conftest.
$ac_ext >&5
34355 eval "$as_ac_var=no"
34358 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34359 conftest
$ac_exeext conftest.
$ac_ext
34361 ac_res
=`eval echo '${'$as_ac_var'}'`
34362 { echo "$as_me:$LINENO: result: $ac_res" >&5
34363 echo "${ECHO_T}$ac_res" >&6; }
34364 if test `eval echo '${'$as_ac_var'}'` = yes; then
34365 cat >>confdefs.h
<<_ACEOF
34366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34373 if test "$WCSLEN_FOUND" = 0; then
34374 if test "$TOOLKIT" = "MSW"; then
34375 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34376 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34377 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34378 echo $ECHO_N "(cached) $ECHO_C" >&6
34380 ac_check_lib_save_LIBS
=$LIBS
34381 LIBS
="-lmsvcrt $LIBS"
34382 cat >conftest.
$ac_ext <<_ACEOF
34385 cat confdefs.h
>>conftest.
$ac_ext
34386 cat >>conftest.
$ac_ext <<_ACEOF
34387 /* end confdefs.h. */
34389 /* Override any GCC internal prototype to avoid an error.
34390 Use char because int might match the return type of a GCC
34391 builtin and then its argument prototype would still apply. */
34404 rm -f conftest.
$ac_objext conftest
$ac_exeext
34405 if { (ac_try
="$ac_link"
34406 case "(($ac_try" in
34407 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34408 *) ac_try_echo=$ac_try;;
34410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34411 (eval "$ac_link") 2>conftest.er1
34413 grep -v '^ *+' conftest.er1 >conftest.err
34415 cat conftest.err >&5
34416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34417 (exit $ac_status); } && {
34418 test -z "$ac_c_werror_flag" ||
34419 test ! -s conftest.err
34420 } && test -s conftest$ac_exeext &&
34421 $as_test_x conftest$ac_exeext; then
34422 ac_cv_lib_msvcrt_wcslen=yes
34424 echo "$as_me: failed program was:" >&5
34425 sed 's/^/| /' conftest.$ac_ext >&5
34427 ac_cv_lib_msvcrt_wcslen=no
34430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34431 conftest$ac_exeext conftest.$ac_ext
34432 LIBS=$ac_check_lib_save_LIBS
34434 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34435 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34436 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34441 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34442 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34443 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34444 echo $ECHO_N "(cached) $ECHO_C" >&6
34446 ac_check_lib_save_LIBS=$LIBS
34448 cat >conftest.$ac_ext <<_ACEOF
34451 cat confdefs.h >>conftest.$ac_ext
34452 cat >>conftest.$ac_ext <<_ACEOF
34453 /* end confdefs.h. */
34455 /* Override any GCC internal prototype to avoid an error.
34456 Use char because int might match the return type of a GCC
34457 builtin and then its argument prototype would still apply. */
34470 rm -f conftest.$ac_objext conftest$ac_exeext
34471 if { (ac_try="$ac_link"
34472 case "(($ac_try" in
34473 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34474 *) ac_try_echo
=$ac_try;;
34476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34477 (eval "$ac_link") 2>conftest.er1
34479 grep -v '^ *+' conftest.er1
>conftest.err
34481 cat conftest.err
>&5
34482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34483 (exit $ac_status); } && {
34484 test -z "$ac_c_werror_flag" ||
34485 test ! -s conftest.err
34486 } && test -s conftest
$ac_exeext &&
34487 $as_test_x conftest
$ac_exeext; then
34488 ac_cv_lib_w_wcslen
=yes
34490 echo "$as_me: failed program was:" >&5
34491 sed 's/^/| /' conftest.
$ac_ext >&5
34493 ac_cv_lib_w_wcslen
=no
34496 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34497 conftest
$ac_exeext conftest.
$ac_ext
34498 LIBS
=$ac_check_lib_save_LIBS
34500 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34501 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34502 if test $ac_cv_lib_w_wcslen = yes; then
34512 if test "$WCSLEN_FOUND" = 1; then
34513 cat >>confdefs.h
<<\_ACEOF
34514 #define HAVE_WCSLEN 1
34520 for ac_func
in wcsdup
34522 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34523 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34525 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34526 echo $ECHO_N "(cached) $ECHO_C" >&6
34528 cat >conftest.
$ac_ext <<_ACEOF
34531 cat confdefs.h
>>conftest.
$ac_ext
34532 cat >>conftest.
$ac_ext <<_ACEOF
34533 /* end confdefs.h. */
34534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34536 #define $ac_func innocuous_$ac_func
34538 /* System header to define __stub macros and hopefully few prototypes,
34539 which can conflict with char $ac_func (); below.
34540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34541 <limits.h> exists even on freestanding compilers. */
34544 # include <limits.h>
34546 # include <assert.h>
34551 /* Override any GCC internal prototype to avoid an error.
34552 Use char because int might match the return type of a GCC
34553 builtin and then its argument prototype would still apply. */
34558 /* The GNU C library defines this for functions which it implements
34559 to always fail with ENOSYS. Some functions are actually named
34560 something starting with __ and the normal name is an alias. */
34561 #if defined __stub_$ac_func || defined __stub___$ac_func
34568 return $ac_func ();
34573 rm -f conftest.
$ac_objext conftest
$ac_exeext
34574 if { (ac_try
="$ac_link"
34575 case "(($ac_try" in
34576 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34577 *) ac_try_echo=$ac_try;;
34579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34580 (eval "$ac_link") 2>conftest.er1
34582 grep -v '^ *+' conftest.er1 >conftest.err
34584 cat conftest.err >&5
34585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34586 (exit $ac_status); } && {
34587 test -z "$ac_c_werror_flag" ||
34588 test ! -s conftest.err
34589 } && test -s conftest$ac_exeext &&
34590 $as_test_x conftest$ac_exeext; then
34591 eval "$as_ac_var=yes"
34593 echo "$as_me: failed program was:" >&5
34594 sed 's/^/| /' conftest.$ac_ext >&5
34596 eval "$as_ac_var=no"
34599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34600 conftest$ac_exeext conftest.$ac_ext
34602 ac_res=`eval echo '${'$as_ac_var'}'`
34603 { echo "$as_me:$LINENO: result: $ac_res" >&5
34604 echo "${ECHO_T}$ac_res" >&6; }
34605 if test `eval echo '${'$as_ac_var'}'` = yes; then
34606 cat >>confdefs.h <<_ACEOF
34607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34614 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34615 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34618 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34619 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34620 if test "${ac_cv_type_mbstate_t+set}" = set; then
34621 echo $ECHO_N "(cached) $ECHO_C" >&6
34623 cat >conftest.$ac_ext <<_ACEOF
34626 cat confdefs.h >>conftest.$ac_ext
34627 cat >>conftest.$ac_ext <<_ACEOF
34628 /* end confdefs.h. */
34631 typedef mbstate_t ac__type_new_;
34635 if ((ac__type_new_ *) 0)
34637 if (sizeof (ac__type_new_))
34643 rm -f conftest.$ac_objext
34644 if { (ac_try="$ac_compile"
34645 case "(($ac_try" in
34646 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34647 *) ac_try_echo
=$ac_try;;
34649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34650 (eval "$ac_compile") 2>conftest.er1
34652 grep -v '^ *+' conftest.er1
>conftest.err
34654 cat conftest.err
>&5
34655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34656 (exit $ac_status); } && {
34657 test -z "$ac_c_werror_flag" ||
34658 test ! -s conftest.err
34659 } && test -s conftest.
$ac_objext; then
34660 ac_cv_type_mbstate_t
=yes
34662 echo "$as_me: failed program was:" >&5
34663 sed 's/^/| /' conftest.
$ac_ext >&5
34665 ac_cv_type_mbstate_t
=no
34668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34670 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34671 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34672 if test $ac_cv_type_mbstate_t = yes; then
34674 cat >>confdefs.h
<<_ACEOF
34675 #define HAVE_MBSTATE_T 1
34679 for ac_func
in wcsrtombs
34681 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34682 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34684 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34685 echo $ECHO_N "(cached) $ECHO_C" >&6
34687 cat >conftest.
$ac_ext <<_ACEOF
34690 cat confdefs.h
>>conftest.
$ac_ext
34691 cat >>conftest.
$ac_ext <<_ACEOF
34692 /* end confdefs.h. */
34693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34695 #define $ac_func innocuous_$ac_func
34697 /* System header to define __stub macros and hopefully few prototypes,
34698 which can conflict with char $ac_func (); below.
34699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34700 <limits.h> exists even on freestanding compilers. */
34703 # include <limits.h>
34705 # include <assert.h>
34710 /* Override any GCC internal prototype to avoid an error.
34711 Use char because int might match the return type of a GCC
34712 builtin and then its argument prototype would still apply. */
34717 /* The GNU C library defines this for functions which it implements
34718 to always fail with ENOSYS. Some functions are actually named
34719 something starting with __ and the normal name is an alias. */
34720 #if defined __stub_$ac_func || defined __stub___$ac_func
34727 return $ac_func ();
34732 rm -f conftest.
$ac_objext conftest
$ac_exeext
34733 if { (ac_try
="$ac_link"
34734 case "(($ac_try" in
34735 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34736 *) ac_try_echo=$ac_try;;
34738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34739 (eval "$ac_link") 2>conftest.er1
34741 grep -v '^ *+' conftest.er1 >conftest.err
34743 cat conftest.err >&5
34744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34745 (exit $ac_status); } && {
34746 test -z "$ac_c_werror_flag" ||
34747 test ! -s conftest.err
34748 } && test -s conftest$ac_exeext &&
34749 $as_test_x conftest$ac_exeext; then
34750 eval "$as_ac_var=yes"
34752 echo "$as_me: failed program was:" >&5
34753 sed 's/^/| /' conftest.$ac_ext >&5
34755 eval "$as_ac_var=no"
34758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34759 conftest$ac_exeext conftest.$ac_ext
34761 ac_res=`eval echo '${'$as_ac_var'}'`
34762 { echo "$as_me:$LINENO: result: $ac_res" >&5
34763 echo "${ECHO_T}$ac_res" >&6; }
34764 if test `eval echo '${'$as_ac_var'}'` = yes; then
34765 cat >>confdefs.h <<_ACEOF
34766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34775 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34776 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34781 for ac_func in snprintf vsnprintf
34783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34784 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34786 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34787 echo $ECHO_N "(cached) $ECHO_C" >&6
34789 cat >conftest.$ac_ext <<_ACEOF
34792 cat confdefs.h >>conftest.$ac_ext
34793 cat >>conftest.$ac_ext <<_ACEOF
34794 /* end confdefs.h. */
34795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34797 #define $ac_func innocuous_$ac_func
34799 /* System header to define __stub macros and hopefully few prototypes,
34800 which can conflict with char $ac_func (); below.
34801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34802 <limits.h> exists even on freestanding compilers. */
34805 # include <limits.h>
34807 # include <assert.h>
34812 /* Override any GCC internal prototype to avoid an error.
34813 Use char because int might match the return type of a GCC
34814 builtin and then its argument prototype would still apply. */
34819 /* The GNU C library defines this for functions which it implements
34820 to always fail with ENOSYS. Some functions are actually named
34821 something starting with __ and the normal name is an alias. */
34822 #if defined __stub_$ac_func || defined __stub___$ac_func
34829 return $ac_func ();
34834 rm -f conftest.$ac_objext conftest$ac_exeext
34835 if { (ac_try="$ac_link"
34836 case "(($ac_try" in
34837 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34838 *) ac_try_echo
=$ac_try;;
34840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34841 (eval "$ac_link") 2>conftest.er1
34843 grep -v '^ *+' conftest.er1
>conftest.err
34845 cat conftest.err
>&5
34846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34847 (exit $ac_status); } && {
34848 test -z "$ac_c_werror_flag" ||
34849 test ! -s conftest.err
34850 } && test -s conftest
$ac_exeext &&
34851 $as_test_x conftest
$ac_exeext; then
34852 eval "$as_ac_var=yes"
34854 echo "$as_me: failed program was:" >&5
34855 sed 's/^/| /' conftest.
$ac_ext >&5
34857 eval "$as_ac_var=no"
34860 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34861 conftest
$ac_exeext conftest.
$ac_ext
34863 ac_res
=`eval echo '${'$as_ac_var'}'`
34864 { echo "$as_me:$LINENO: result: $ac_res" >&5
34865 echo "${ECHO_T}$ac_res" >&6; }
34866 if test `eval echo '${'$as_ac_var'}'` = yes; then
34867 cat >>confdefs.h
<<_ACEOF
34868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34875 if test "$ac_cv_func_vsnprintf" = "yes"; then
34876 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34877 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34878 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34879 echo $ECHO_N "(cached) $ECHO_C" >&6
34882 cat >conftest.
$ac_ext <<_ACEOF
34885 cat confdefs.h
>>conftest.
$ac_ext
34886 cat >>conftest.
$ac_ext <<_ACEOF
34887 /* end confdefs.h. */
34890 #include <stdarg.h>
34892 #if __MSL__ >= 0x6000
34894 using namespace std;
34904 vsnprintf(buf, 10u, "%s", ap);
34910 rm -f conftest.
$ac_objext
34911 if { (ac_try
="$ac_compile"
34912 case "(($ac_try" in
34913 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34914 *) ac_try_echo=$ac_try;;
34916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34917 (eval "$ac_compile") 2>conftest.er1
34919 grep -v '^ *+' conftest.er1 >conftest.err
34921 cat conftest.err >&5
34922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34923 (exit $ac_status); } && {
34924 test -z "$ac_c_werror_flag" ||
34925 test ! -s conftest.err
34926 } && test -s conftest.$ac_objext; then
34927 wx_cv_func_vsnprintf_decl=yes
34929 echo "$as_me: failed program was:" >&5
34930 sed 's/^/| /' conftest.$ac_ext >&5
34932 wx_cv_func_vsnprintf_decl=no
34936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34940 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34941 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34943 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34944 cat >>confdefs.h <<\_ACEOF
34945 #define HAVE_VSNPRINTF_DECL 1
34949 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34950 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34951 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34952 echo $ECHO_N "(cached) $ECHO_C" >&6
34955 cat >conftest.$ac_ext <<_ACEOF
34958 cat confdefs.h >>conftest.$ac_ext
34959 cat >>conftest.$ac_ext <<_ACEOF
34960 /* end confdefs.h. */
34963 #include <stdarg.h>
34965 #if __MSL__ >= 0x6000
34967 using namespace std;
34977 const char *fmt = "%s";
34978 vsnprintf(buf, 10u, fmt, ap);
34984 rm -f conftest.$ac_objext
34985 if { (ac_try="$ac_compile"
34986 case "(($ac_try" in
34987 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34988 *) ac_try_echo
=$ac_try;;
34990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34991 (eval "$ac_compile") 2>conftest.er1
34993 grep -v '^ *+' conftest.er1
>conftest.err
34995 cat conftest.err
>&5
34996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997 (exit $ac_status); } && {
34998 test -z "$ac_c_werror_flag" ||
34999 test ! -s conftest.err
35000 } && test -s conftest.
$ac_objext; then
35001 wx_cv_func_broken_vsnprintf_decl
=no
35003 echo "$as_me: failed program was:" >&5
35004 sed 's/^/| /' conftest.
$ac_ext >&5
35006 wx_cv_func_broken_vsnprintf_decl
=yes
35010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35014 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35015 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35017 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35018 cat >>confdefs.h
<<\_ACEOF
35019 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35026 if test "$ac_cv_func_snprintf" = "yes"; then
35027 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35028 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35029 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35030 echo $ECHO_N "(cached) $ECHO_C" >&6
35033 cat >conftest.
$ac_ext <<_ACEOF
35036 cat confdefs.h
>>conftest.
$ac_ext
35037 cat >>conftest.
$ac_ext <<_ACEOF
35038 /* end confdefs.h. */
35041 #include <stdarg.h>
35043 #if __MSL__ >= 0x6000
35045 using namespace std;
35054 snprintf(buf, 10u, "%s", "wx");
35060 rm -f conftest.
$ac_objext
35061 if { (ac_try
="$ac_compile"
35062 case "(($ac_try" in
35063 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35064 *) ac_try_echo=$ac_try;;
35066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35067 (eval "$ac_compile") 2>conftest.er1
35069 grep -v '^ *+' conftest.er1 >conftest.err
35071 cat conftest.err >&5
35072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35073 (exit $ac_status); } && {
35074 test -z "$ac_c_werror_flag" ||
35075 test ! -s conftest.err
35076 } && test -s conftest.$ac_objext; then
35077 wx_cv_func_snprintf_decl=yes
35079 echo "$as_me: failed program was:" >&5
35080 sed 's/^/| /' conftest.$ac_ext >&5
35082 wx_cv_func_snprintf_decl=no
35086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35090 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35091 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35093 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35094 cat >>confdefs.h <<\_ACEOF
35095 #define HAVE_SNPRINTF_DECL 1
35100 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35102 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35103 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35104 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35105 echo $ECHO_N "(cached) $ECHO_C" >&6
35108 if test "$cross_compiling" = yes; then
35110 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35111 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35112 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35113 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35114 wx_cv_func_snprintf_pos_params=no
35118 cat >conftest.$ac_ext <<_ACEOF
35121 cat confdefs.h >>conftest.$ac_ext
35122 cat >>conftest.$ac_ext <<_ACEOF
35123 /* end confdefs.h. */
35130 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35131 if (strcmp ("2 3 1", buffer) == 0)
35137 rm -f conftest$ac_exeext
35138 if { (ac_try="$ac_link"
35139 case "(($ac_try" in
35140 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35141 *) ac_try_echo
=$ac_try;;
35143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35144 (eval "$ac_link") 2>&5
35146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35147 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35148 { (case "(($ac_try" in
35149 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35150 *) ac_try_echo=$ac_try;;
35152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35153 (eval "$ac_try") 2>&5
35155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35156 (exit $ac_status); }; }; then
35157 wx_cv_func_snprintf_pos_params=no
35159 echo "$as_me: program exited with status $ac_status" >&5
35160 echo "$as_me: failed program was:" >&5
35161 sed 's/^/| /' conftest.$ac_ext >&5
35163 ( exit $ac_status )
35164 wx_cv_func_snprintf_pos_params=yes
35166 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35173 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35174 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35176 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35177 cat >>confdefs.h <<\_ACEOF
35178 #define HAVE_UNIX98_PRINTF 1
35185 if test "$wxUSE_UNICODE" = yes; then
35187 wchar_headers="#include <stdio.h>
35188 #include <wchar.h>"
35192 for ac_header in widec.h
35194 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35195 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35197 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35198 echo $ECHO_N "(cached) $ECHO_C" >&6
35200 cat >conftest.$ac_ext <<_ACEOF
35203 cat confdefs.h >>conftest.$ac_ext
35204 cat >>conftest.$ac_ext <<_ACEOF
35205 /* end confdefs.h. */
35206 $ac_includes_default
35208 #include <$ac_header>
35210 rm -f conftest.$ac_objext
35211 if { (ac_try="$ac_compile"
35212 case "(($ac_try" in
35213 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35214 *) ac_try_echo
=$ac_try;;
35216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35217 (eval "$ac_compile") 2>conftest.er1
35219 grep -v '^ *+' conftest.er1
>conftest.err
35221 cat conftest.err
>&5
35222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35223 (exit $ac_status); } && {
35224 test -z "$ac_c_werror_flag" ||
35225 test ! -s conftest.err
35226 } && test -s conftest.
$ac_objext; then
35227 eval "$as_ac_Header=yes"
35229 echo "$as_me: failed program was:" >&5
35230 sed 's/^/| /' conftest.
$ac_ext >&5
35232 eval "$as_ac_Header=no"
35235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35237 ac_res
=`eval echo '${'$as_ac_Header'}'`
35238 { echo "$as_me:$LINENO: result: $ac_res" >&5
35239 echo "${ECHO_T}$ac_res" >&6; }
35240 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35241 cat >>confdefs.h
<<_ACEOF
35242 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35249 if test "$ac_cv_header_widec_h" = "yes"; then
35250 wchar_headers
="$wchar_headers
35251 #include <widec.h>"
35256 for wx_func
in putws fputws wprintf vswprintf
35258 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35259 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35260 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35261 echo $ECHO_N "(cached) $ECHO_C" >&6
35264 cat >conftest.
$ac_ext <<_ACEOF
35268 cat confdefs.h
>>conftest.
$ac_ext
35269 cat >>conftest.
$ac_ext <<_ACEOF
35270 /* end confdefs.h. */
35273 $ac_includes_default
35289 rm -f conftest.
$ac_objext conftest
$ac_exeext
35290 if { (ac_try
="$ac_link"
35291 case "(($ac_try" in
35292 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35293 *) ac_try_echo=$ac_try;;
35295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35296 (eval "$ac_link") 2>conftest.er1
35298 grep -v '^ *+' conftest.er1 >conftest.err
35300 cat conftest.err >&5
35301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35302 (exit $ac_status); } && {
35303 test -z "$ac_c_werror_flag" ||
35304 test ! -s conftest.err
35305 } && test -s conftest$ac_exeext &&
35306 $as_test_x conftest$ac_exeext; then
35307 eval wx_cv_func_$wx_func=yes
35309 echo "$as_me: failed program was:" >&5
35310 sed 's/^/| /' conftest.$ac_ext >&5
35312 eval wx_cv_func_$wx_func=no
35315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35316 conftest$ac_exeext conftest.$ac_ext
35319 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35320 { echo "$as_me:$LINENO: result: $ac_res" >&5
35321 echo "${ECHO_T}$ac_res" >&6; }
35323 if eval test \$wx_cv_func_$wx_func = yes
35325 cat >>confdefs.h <<_ACEOF
35326 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35337 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35338 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35339 cat >conftest.$ac_ext <<_ACEOF
35342 cat confdefs.h >>conftest.$ac_ext
35343 cat >>conftest.$ac_ext <<_ACEOF
35344 /* end confdefs.h. */
35354 rm -f conftest.$ac_objext
35355 if { (ac_try="$ac_compile"
35356 case "(($ac_try" in
35357 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35358 *) ac_try_echo
=$ac_try;;
35360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35361 (eval "$ac_compile") 2>conftest.er1
35363 grep -v '^ *+' conftest.er1
>conftest.err
35365 cat conftest.err
>&5
35366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35367 (exit $ac_status); } && {
35368 test -z "$ac_c_werror_flag" ||
35369 test ! -s conftest.err
35370 } && test -s conftest.
$ac_objext; then
35371 { echo "$as_me:$LINENO: result: yes" >&5
35372 echo "${ECHO_T}yes" >&6; }
35373 cat >>confdefs.h
<<\_ACEOF
35374 #define HAVE__VSNWPRINTF 1
35378 echo "$as_me: failed program was:" >&5
35379 sed 's/^/| /' conftest.
$ac_ext >&5
35381 { echo "$as_me:$LINENO: result: no" >&5
35382 echo "${ECHO_T}no" >&6; }
35385 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
35388 if test "$wxUSE_FILE" = "yes"; then
35390 for wx_func
in fsync
35392 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35393 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35394 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35395 echo $ECHO_N "(cached) $ECHO_C" >&6
35398 cat >conftest.
$ac_ext <<_ACEOF
35402 cat confdefs.h
>>conftest.
$ac_ext
35403 cat >>conftest.
$ac_ext <<_ACEOF
35404 /* end confdefs.h. */
35407 $ac_includes_default
35423 rm -f conftest.
$ac_objext conftest
$ac_exeext
35424 if { (ac_try
="$ac_link"
35425 case "(($ac_try" in
35426 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35427 *) ac_try_echo=$ac_try;;
35429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35430 (eval "$ac_link") 2>conftest.er1
35432 grep -v '^ *+' conftest.er1 >conftest.err
35434 cat conftest.err >&5
35435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35436 (exit $ac_status); } && {
35437 test -z "$ac_c_werror_flag" ||
35438 test ! -s conftest.err
35439 } && test -s conftest$ac_exeext &&
35440 $as_test_x conftest$ac_exeext; then
35441 eval wx_cv_func_$wx_func=yes
35443 echo "$as_me: failed program was:" >&5
35444 sed 's/^/| /' conftest.$ac_ext >&5
35446 eval wx_cv_func_$wx_func=no
35449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35450 conftest$ac_exeext conftest.$ac_ext
35453 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35454 { echo "$as_me:$LINENO: result: $ac_res" >&5
35455 echo "${ECHO_T}$ac_res" >&6; }
35457 if eval test \$wx_cv_func_$wx_func = yes
35459 cat >>confdefs.h <<_ACEOF
35460 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35473 ac_cpp='$CXXCPP $CPPFLAGS'
35474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35479 for wx_func in round
35481 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35482 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35483 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35484 echo $ECHO_N "(cached) $ECHO_C" >&6
35487 cat >conftest.$ac_ext <<_ACEOF
35491 cat confdefs.h >>conftest.$ac_ext
35492 cat >>conftest.$ac_ext <<_ACEOF
35493 /* end confdefs.h. */
35496 $ac_includes_default
35512 rm -f conftest.$ac_objext conftest$ac_exeext
35513 if { (ac_try="$ac_link"
35514 case "(($ac_try" in
35515 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35516 *) ac_try_echo
=$ac_try;;
35518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35519 (eval "$ac_link") 2>conftest.er1
35521 grep -v '^ *+' conftest.er1
>conftest.err
35523 cat conftest.err
>&5
35524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35525 (exit $ac_status); } && {
35526 test -z "$ac_cxx_werror_flag" ||
35527 test ! -s conftest.err
35528 } && test -s conftest
$ac_exeext &&
35529 $as_test_x conftest
$ac_exeext; then
35530 eval wx_cv_func_
$wx_func=yes
35532 echo "$as_me: failed program was:" >&5
35533 sed 's/^/| /' conftest.
$ac_ext >&5
35535 eval wx_cv_func_
$wx_func=no
35538 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35539 conftest
$ac_exeext conftest.
$ac_ext
35542 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35543 { echo "$as_me:$LINENO: result: $ac_res" >&5
35544 echo "${ECHO_T}$ac_res" >&6; }
35546 if eval test \
$wx_cv_func_$wx_func = yes
35548 cat >>confdefs.h
<<_ACEOF
35549 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35560 ac_cpp
='$CPP $CPPFLAGS'
35561 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35562 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35563 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35566 if test "$TOOLKIT" != "MSW"; then
35572 # Check whether --with-libiconv-prefix was given.
35573 if test "${with_libiconv_prefix+set}" = set; then
35574 withval
=$with_libiconv_prefix;
35575 for dir
in `echo "$withval" | tr : ' '`; do
35576 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35577 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35583 { echo "$as_me:$LINENO: checking for iconv" >&5
35584 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35585 if test "${am_cv_func_iconv+set}" = set; then
35586 echo $ECHO_N "(cached) $ECHO_C" >&6
35589 am_cv_func_iconv
="no, consider installing GNU libiconv"
35591 cat >conftest.
$ac_ext <<_ACEOF
35594 cat confdefs.h
>>conftest.
$ac_ext
35595 cat >>conftest.
$ac_ext <<_ACEOF
35596 /* end confdefs.h. */
35597 #include <stdlib.h>
35602 iconv_t cd = iconv_open("","");
35603 iconv(cd,NULL,NULL,NULL,NULL);
35609 rm -f conftest.
$ac_objext conftest
$ac_exeext
35610 if { (ac_try
="$ac_link"
35611 case "(($ac_try" in
35612 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35613 *) ac_try_echo=$ac_try;;
35615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35616 (eval "$ac_link") 2>conftest.er1
35618 grep -v '^ *+' conftest.er1 >conftest.err
35620 cat conftest.err >&5
35621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35622 (exit $ac_status); } && {
35623 test -z "$ac_c_werror_flag" ||
35624 test ! -s conftest.err
35625 } && test -s conftest$ac_exeext &&
35626 $as_test_x conftest$ac_exeext; then
35627 am_cv_func_iconv=yes
35629 echo "$as_me: failed program was:" >&5
35630 sed 's/^/| /' conftest.$ac_ext >&5
35635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35636 conftest$ac_exeext conftest.$ac_ext
35637 if test "$am_cv_func_iconv" != yes; then
35638 am_save_LIBS="$LIBS"
35639 LIBS="$LIBS -liconv"
35640 cat >conftest.$ac_ext <<_ACEOF
35643 cat confdefs.h >>conftest.$ac_ext
35644 cat >>conftest.$ac_ext <<_ACEOF
35645 /* end confdefs.h. */
35646 #include <stdlib.h>
35651 iconv_t cd = iconv_open("","");
35652 iconv(cd,NULL,NULL,NULL,NULL);
35658 rm -f conftest.$ac_objext conftest$ac_exeext
35659 if { (ac_try="$ac_link"
35660 case "(($ac_try" in
35661 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35662 *) ac_try_echo
=$ac_try;;
35664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35665 (eval "$ac_link") 2>conftest.er1
35667 grep -v '^ *+' conftest.er1
>conftest.err
35669 cat conftest.err
>&5
35670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35671 (exit $ac_status); } && {
35672 test -z "$ac_c_werror_flag" ||
35673 test ! -s conftest.err
35674 } && test -s conftest
$ac_exeext &&
35675 $as_test_x conftest
$ac_exeext; then
35676 am_cv_lib_iconv
=yes
35677 am_cv_func_iconv
=yes
35679 echo "$as_me: failed program was:" >&5
35680 sed 's/^/| /' conftest.
$ac_ext >&5
35685 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35686 conftest
$ac_exeext conftest.
$ac_ext
35687 LIBS
="$am_save_LIBS"
35691 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35692 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35693 if test "$am_cv_func_iconv" = yes; then
35695 cat >>confdefs.h
<<\_ACEOF
35696 #define HAVE_ICONV 1
35699 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35700 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35701 if test "${wx_cv_func_iconv_const+set}" = set; then
35702 echo $ECHO_N "(cached) $ECHO_C" >&6
35704 cat >conftest.
$ac_ext <<_ACEOF
35707 cat confdefs.h
>>conftest.
$ac_ext
35708 cat >>conftest.
$ac_ext <<_ACEOF
35709 /* end confdefs.h. */
35711 #include <stdlib.h>
35717 #if defined(__STDC__) || defined(__cplusplus)
35718 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35731 rm -f conftest.
$ac_objext
35732 if { (ac_try
="$ac_compile"
35733 case "(($ac_try" in
35734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35735 *) ac_try_echo=$ac_try;;
35737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35738 (eval "$ac_compile") 2>conftest.er1
35740 grep -v '^ *+' conftest.er1 >conftest.err
35742 cat conftest.err >&5
35743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35744 (exit $ac_status); } && {
35745 test -z "$ac_c_werror_flag" ||
35746 test ! -s conftest.err
35747 } && test -s conftest.$ac_objext; then
35748 wx_cv_func_iconv_const="no"
35750 echo "$as_me: failed program was:" >&5
35751 sed 's/^/| /' conftest.$ac_ext >&5
35753 wx_cv_func_iconv_const="yes"
35757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35760 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35761 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35764 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35765 iconv_const="const"
35769 cat >>confdefs.h <<_ACEOF
35770 #define ICONV_CONST $iconv_const
35775 if test "$am_cv_lib_iconv" = yes; then
35780 LIBS="$LIBICONV $LIBS"
35782 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35784 for ac_func in sigaction
35786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35787 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35789 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35790 echo $ECHO_N "(cached) $ECHO_C" >&6
35792 cat >conftest.$ac_ext <<_ACEOF
35795 cat confdefs.h >>conftest.$ac_ext
35796 cat >>conftest.$ac_ext <<_ACEOF
35797 /* end confdefs.h. */
35798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35800 #define $ac_func innocuous_$ac_func
35802 /* System header to define __stub macros and hopefully few prototypes,
35803 which can conflict with char $ac_func (); below.
35804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35805 <limits.h> exists even on freestanding compilers. */
35808 # include <limits.h>
35810 # include <assert.h>
35815 /* Override any GCC internal prototype to avoid an error.
35816 Use char because int might match the return type of a GCC
35817 builtin and then its argument prototype would still apply. */
35822 /* The GNU C library defines this for functions which it implements
35823 to always fail with ENOSYS. Some functions are actually named
35824 something starting with __ and the normal name is an alias. */
35825 #if defined __stub_$ac_func || defined __stub___$ac_func
35832 return $ac_func ();
35837 rm -f conftest.$ac_objext conftest$ac_exeext
35838 if { (ac_try="$ac_link"
35839 case "(($ac_try" in
35840 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35841 *) ac_try_echo
=$ac_try;;
35843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35844 (eval "$ac_link") 2>conftest.er1
35846 grep -v '^ *+' conftest.er1
>conftest.err
35848 cat conftest.err
>&5
35849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35850 (exit $ac_status); } && {
35851 test -z "$ac_c_werror_flag" ||
35852 test ! -s conftest.err
35853 } && test -s conftest
$ac_exeext &&
35854 $as_test_x conftest
$ac_exeext; then
35855 eval "$as_ac_var=yes"
35857 echo "$as_me: failed program was:" >&5
35858 sed 's/^/| /' conftest.
$ac_ext >&5
35860 eval "$as_ac_var=no"
35863 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35864 conftest
$ac_exeext conftest.
$ac_ext
35866 ac_res
=`eval echo '${'$as_ac_var'}'`
35867 { echo "$as_me:$LINENO: result: $ac_res" >&5
35868 echo "${ECHO_T}$ac_res" >&6; }
35869 if test `eval echo '${'$as_ac_var'}'` = yes; then
35870 cat >>confdefs.h
<<_ACEOF
35871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35878 if test "$ac_cv_func_sigaction" = "no"; then
35879 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35880 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35881 wxUSE_ON_FATAL_EXCEPTION
=no
35884 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35885 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35886 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35887 if test "${wx_cv_type_sa_handler+set}" = set; then
35888 echo $ECHO_N "(cached) $ECHO_C" >&6
35892 ac_cpp
='$CXXCPP $CPPFLAGS'
35893 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35894 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35895 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35897 cat >conftest.
$ac_ext <<_ACEOF
35900 cat confdefs.h
>>conftest.
$ac_ext
35901 cat >>conftest.
$ac_ext <<_ACEOF
35902 /* end confdefs.h. */
35903 #include <signal.h>
35908 extern void testSigHandler(int);
35910 struct sigaction sa;
35911 sa.sa_handler = testSigHandler;
35917 rm -f conftest.
$ac_objext
35918 if { (ac_try
="$ac_compile"
35919 case "(($ac_try" in
35920 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35921 *) ac_try_echo=$ac_try;;
35923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35924 (eval "$ac_compile") 2>conftest.er1
35926 grep -v '^ *+' conftest.er1 >conftest.err
35928 cat conftest.err >&5
35929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35930 (exit $ac_status); } && {
35931 test -z "$ac_cxx_werror_flag" ||
35932 test ! -s conftest.err
35933 } && test -s conftest.$ac_objext; then
35935 wx_cv_type_sa_handler=int
35938 echo "$as_me: failed program was:" >&5
35939 sed 's/^/| /' conftest.$ac_ext >&5
35942 wx_cv_type_sa_handler=void
35946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35948 ac_cpp='$CPP $CPPFLAGS'
35949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35955 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35956 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35958 cat >>confdefs.h <<_ACEOF
35959 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35965 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35966 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35967 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35968 if test "${wx_cv_func_backtrace+set}" = set; then
35969 echo $ECHO_N "(cached) $ECHO_C" >&6
35973 ac_cpp='$CXXCPP $CPPFLAGS'
35974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35978 cat >conftest.$ac_ext <<_ACEOF
35981 cat confdefs.h >>conftest.$ac_ext
35982 cat >>conftest.$ac_ext <<_ACEOF
35983 /* end confdefs.h. */
35984 #include <execinfo.h>
35992 backtrace(trace, 1);
35993 messages = backtrace_symbols(trace, 1);
35999 rm -f conftest.$ac_objext
36000 if { (ac_try="$ac_compile"
36001 case "(($ac_try" in
36002 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36003 *) ac_try_echo
=$ac_try;;
36005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36006 (eval "$ac_compile") 2>conftest.er1
36008 grep -v '^ *+' conftest.er1
>conftest.err
36010 cat conftest.err
>&5
36011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36012 (exit $ac_status); } && {
36013 test -z "$ac_cxx_werror_flag" ||
36014 test ! -s conftest.err
36015 } && test -s conftest.
$ac_objext; then
36016 wx_cv_func_backtrace
=yes
36018 echo "$as_me: failed program was:" >&5
36019 sed 's/^/| /' conftest.
$ac_ext >&5
36021 wx_cv_func_backtrace
=no
36025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36027 ac_cpp
='$CPP $CPPFLAGS'
36028 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36029 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36030 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36035 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36036 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36039 if test "$wx_cv_func_backtrace" = "no"; then
36040 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36041 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36042 wxUSE_STACKWALKER
=no
36044 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36045 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36046 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36047 echo $ECHO_N "(cached) $ECHO_C" >&6
36051 ac_cpp
='$CXXCPP $CPPFLAGS'
36052 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36053 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36054 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36056 cat >conftest.
$ac_ext <<_ACEOF
36059 cat confdefs.h
>>conftest.
$ac_ext
36060 cat >>conftest.
$ac_ext <<_ACEOF
36061 /* end confdefs.h. */
36062 #include <cxxabi.h>
36068 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36074 rm -f conftest.
$ac_objext conftest
$ac_exeext
36075 if { (ac_try
="$ac_link"
36076 case "(($ac_try" in
36077 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36078 *) ac_try_echo=$ac_try;;
36080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36081 (eval "$ac_link") 2>conftest.er1
36083 grep -v '^ *+' conftest.er1 >conftest.err
36085 cat conftest.err >&5
36086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36087 (exit $ac_status); } && {
36088 test -z "$ac_cxx_werror_flag" ||
36089 test ! -s conftest.err
36090 } && test -s conftest$ac_exeext &&
36091 $as_test_x conftest$ac_exeext; then
36092 wx_cv_func_cxa_demangle=yes
36094 echo "$as_me: failed program was:" >&5
36095 sed 's/^/| /' conftest.$ac_ext >&5
36097 wx_cv_func_cxa_demangle=no
36101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36102 conftest$ac_exeext conftest.$ac_ext
36104 ac_cpp='$CPP $CPPFLAGS'
36105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36112 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36113 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36115 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36116 cat >>confdefs.h <<\_ACEOF
36117 #define HAVE_CXA_DEMANGLE 1
36124 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36125 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36126 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36127 wxUSE_STACKWALKER=no
36133 for ac_func in mkstemp mktemp
36135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36136 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36138 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36139 echo $ECHO_N "(cached) $ECHO_C" >&6
36141 cat >conftest.$ac_ext <<_ACEOF
36144 cat confdefs.h >>conftest.$ac_ext
36145 cat >>conftest.$ac_ext <<_ACEOF
36146 /* end confdefs.h. */
36147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36149 #define $ac_func innocuous_$ac_func
36151 /* System header to define __stub macros and hopefully few prototypes,
36152 which can conflict with char $ac_func (); below.
36153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36154 <limits.h> exists even on freestanding compilers. */
36157 # include <limits.h>
36159 # include <assert.h>
36164 /* Override any GCC internal prototype to avoid an error.
36165 Use char because int might match the return type of a GCC
36166 builtin and then its argument prototype would still apply. */
36171 /* The GNU C library defines this for functions which it implements
36172 to always fail with ENOSYS. Some functions are actually named
36173 something starting with __ and the normal name is an alias. */
36174 #if defined __stub_$ac_func || defined __stub___$ac_func
36181 return $ac_func ();
36186 rm -f conftest.$ac_objext conftest$ac_exeext
36187 if { (ac_try="$ac_link"
36188 case "(($ac_try" in
36189 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36190 *) ac_try_echo
=$ac_try;;
36192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36193 (eval "$ac_link") 2>conftest.er1
36195 grep -v '^ *+' conftest.er1
>conftest.err
36197 cat conftest.err
>&5
36198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36199 (exit $ac_status); } && {
36200 test -z "$ac_c_werror_flag" ||
36201 test ! -s conftest.err
36202 } && test -s conftest
$ac_exeext &&
36203 $as_test_x conftest
$ac_exeext; then
36204 eval "$as_ac_var=yes"
36206 echo "$as_me: failed program was:" >&5
36207 sed 's/^/| /' conftest.
$ac_ext >&5
36209 eval "$as_ac_var=no"
36212 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36213 conftest
$ac_exeext conftest.
$ac_ext
36215 ac_res
=`eval echo '${'$as_ac_var'}'`
36216 { echo "$as_me:$LINENO: result: $ac_res" >&5
36217 echo "${ECHO_T}$ac_res" >&6; }
36218 if test `eval echo '${'$as_ac_var'}'` = yes; then
36219 cat >>confdefs.h
<<_ACEOF
36220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36227 { echo "$as_me:$LINENO: checking for statfs" >&5
36228 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36229 if test "${wx_cv_func_statfs+set}" = set; then
36230 echo $ECHO_N "(cached) $ECHO_C" >&6
36232 cat >conftest.
$ac_ext <<_ACEOF
36235 cat confdefs.h
>>conftest.
$ac_ext
36236 cat >>conftest.
$ac_ext <<_ACEOF
36237 /* end confdefs.h. */
36239 #if defined(__BSD__)
36240 #include <sys/param.h>
36241 #include <sys/mount.h>
36243 #include <sys/vfs.h>
36261 rm -f conftest.
$ac_objext
36262 if { (ac_try
="$ac_compile"
36263 case "(($ac_try" in
36264 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36265 *) ac_try_echo=$ac_try;;
36267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36268 (eval "$ac_compile") 2>conftest.er1
36270 grep -v '^ *+' conftest.er1 >conftest.err
36272 cat conftest.err >&5
36273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36274 (exit $ac_status); } && {
36275 test -z "$ac_c_werror_flag" ||
36276 test ! -s conftest.err
36277 } && test -s conftest.$ac_objext; then
36278 wx_cv_func_statfs=yes
36280 echo "$as_me: failed program was:" >&5
36281 sed 's/^/| /' conftest.$ac_ext >&5
36283 wx_cv_func_statfs=no
36287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36290 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36291 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36293 if test "$wx_cv_func_statfs" = "yes"; then
36294 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36295 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36296 if test "${wx_cv_func_statfs_decl+set}" = set; then
36297 echo $ECHO_N "(cached) $ECHO_C" >&6
36300 ac_cpp='$CXXCPP $CPPFLAGS'
36301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36305 cat >conftest.$ac_ext <<_ACEOF
36308 cat confdefs.h >>conftest.$ac_ext
36309 cat >>conftest.$ac_ext <<_ACEOF
36310 /* end confdefs.h. */
36312 #if defined(__BSD__)
36313 #include <sys/param.h>
36314 #include <sys/mount.h>
36316 #include <sys/vfs.h>
36330 rm -f conftest.$ac_objext
36331 if { (ac_try="$ac_compile"
36332 case "(($ac_try" in
36333 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36334 *) ac_try_echo
=$ac_try;;
36336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36337 (eval "$ac_compile") 2>conftest.er1
36339 grep -v '^ *+' conftest.er1
>conftest.err
36341 cat conftest.err
>&5
36342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36343 (exit $ac_status); } && {
36344 test -z "$ac_cxx_werror_flag" ||
36345 test ! -s conftest.err
36346 } && test -s conftest.
$ac_objext; then
36347 wx_cv_func_statfs_decl
=yes
36349 echo "$as_me: failed program was:" >&5
36350 sed 's/^/| /' conftest.
$ac_ext >&5
36352 wx_cv_func_statfs_decl
=no
36356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36358 ac_cpp
='$CPP $CPPFLAGS'
36359 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36360 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36361 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36365 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36366 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36368 if test "$wx_cv_func_statfs_decl" = "yes"; then
36369 cat >>confdefs.h
<<\_ACEOF
36370 #define HAVE_STATFS_DECL 1
36375 wx_cv_type_statvfs_t
="struct statfs"
36376 cat >>confdefs.h
<<\_ACEOF
36377 #define HAVE_STATFS 1
36381 { echo "$as_me:$LINENO: checking for statvfs" >&5
36382 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36383 if test "${wx_cv_func_statvfs+set}" = set; then
36384 echo $ECHO_N "(cached) $ECHO_C" >&6
36386 cat >conftest.
$ac_ext <<_ACEOF
36389 cat confdefs.h
>>conftest.
$ac_ext
36390 cat >>conftest.
$ac_ext <<_ACEOF
36391 /* end confdefs.h. */
36393 #include <stddef.h>
36394 #include <sys/statvfs.h>
36400 statvfs("/", NULL);
36406 rm -f conftest.
$ac_objext
36407 if { (ac_try
="$ac_compile"
36408 case "(($ac_try" in
36409 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36410 *) ac_try_echo=$ac_try;;
36412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36413 (eval "$ac_compile") 2>conftest.er1
36415 grep -v '^ *+' conftest.er1 >conftest.err
36417 cat conftest.err >&5
36418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36419 (exit $ac_status); } && {
36420 test -z "$ac_c_werror_flag" ||
36421 test ! -s conftest.err
36422 } && test -s conftest.$ac_objext; then
36423 wx_cv_func_statvfs=yes
36425 echo "$as_me: failed program was:" >&5
36426 sed 's/^/| /' conftest.$ac_ext >&5
36428 wx_cv_func_statvfs=no
36432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36435 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36436 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36438 if test "$wx_cv_func_statvfs" = "yes"; then
36439 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36440 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36441 if test "${wx_cv_type_statvfs_t+set}" = set; then
36442 echo $ECHO_N "(cached) $ECHO_C" >&6
36445 ac_cpp='$CXXCPP $CPPFLAGS'
36446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36450 cat >conftest.$ac_ext <<_ACEOF
36453 cat confdefs.h >>conftest.$ac_ext
36454 cat >>conftest.$ac_ext <<_ACEOF
36455 /* end confdefs.h. */
36457 #include <sys/statvfs.h>
36474 rm -f conftest.$ac_objext
36475 if { (ac_try="$ac_compile"
36476 case "(($ac_try" in
36477 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36478 *) ac_try_echo
=$ac_try;;
36480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36481 (eval "$ac_compile") 2>conftest.er1
36483 grep -v '^ *+' conftest.er1
>conftest.err
36485 cat conftest.err
>&5
36486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36487 (exit $ac_status); } && {
36488 test -z "$ac_cxx_werror_flag" ||
36489 test ! -s conftest.err
36490 } && test -s conftest.
$ac_objext; then
36491 wx_cv_type_statvfs_t
=statvfs_t
36493 echo "$as_me: failed program was:" >&5
36494 sed 's/^/| /' conftest.
$ac_ext >&5
36497 cat >conftest.
$ac_ext <<_ACEOF
36500 cat confdefs.h
>>conftest.
$ac_ext
36501 cat >>conftest.
$ac_ext <<_ACEOF
36502 /* end confdefs.h. */
36504 #include <sys/statvfs.h>
36521 rm -f conftest.
$ac_objext
36522 if { (ac_try
="$ac_compile"
36523 case "(($ac_try" in
36524 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36525 *) ac_try_echo=$ac_try;;
36527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36528 (eval "$ac_compile") 2>conftest.er1
36530 grep -v '^ *+' conftest.er1 >conftest.err
36532 cat conftest.err >&5
36533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36534 (exit $ac_status); } && {
36535 test -z "$ac_cxx_werror_flag" ||
36536 test ! -s conftest.err
36537 } && test -s conftest.$ac_objext; then
36538 wx_cv_type_statvfs_t="struct statvfs"
36540 echo "$as_me: failed program was:" >&5
36541 sed 's/^/| /' conftest.$ac_ext >&5
36543 wx_cv_type_statvfs_t="unknown"
36547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36554 ac_cpp='$CPP $CPPFLAGS'
36555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36561 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36562 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36564 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36565 cat >>confdefs.h <<\_ACEOF
36566 #define HAVE_STATVFS 1
36571 wx_cv_type_statvfs_t="unknown"
36575 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36576 cat >>confdefs.h <<_ACEOF
36577 #define WX_STATFS_T $wx_cv_type_statvfs_t
36581 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36582 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36585 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36588 for ac_func in fcntl flock
36590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36591 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36593 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36594 echo $ECHO_N "(cached) $ECHO_C" >&6
36596 cat >conftest.$ac_ext <<_ACEOF
36599 cat confdefs.h >>conftest.$ac_ext
36600 cat >>conftest.$ac_ext <<_ACEOF
36601 /* end confdefs.h. */
36602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36604 #define $ac_func innocuous_$ac_func
36606 /* System header to define __stub macros and hopefully few prototypes,
36607 which can conflict with char $ac_func (); below.
36608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36609 <limits.h> exists even on freestanding compilers. */
36612 # include <limits.h>
36614 # include <assert.h>
36619 /* Override any GCC internal prototype to avoid an error.
36620 Use char because int might match the return type of a GCC
36621 builtin and then its argument prototype would still apply. */
36626 /* The GNU C library defines this for functions which it implements
36627 to always fail with ENOSYS. Some functions are actually named
36628 something starting with __ and the normal name is an alias. */
36629 #if defined __stub_$ac_func || defined __stub___$ac_func
36636 return $ac_func ();
36641 rm -f conftest.$ac_objext conftest$ac_exeext
36642 if { (ac_try="$ac_link"
36643 case "(($ac_try" in
36644 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36645 *) ac_try_echo
=$ac_try;;
36647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36648 (eval "$ac_link") 2>conftest.er1
36650 grep -v '^ *+' conftest.er1
>conftest.err
36652 cat conftest.err
>&5
36653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36654 (exit $ac_status); } && {
36655 test -z "$ac_c_werror_flag" ||
36656 test ! -s conftest.err
36657 } && test -s conftest
$ac_exeext &&
36658 $as_test_x conftest
$ac_exeext; then
36659 eval "$as_ac_var=yes"
36661 echo "$as_me: failed program was:" >&5
36662 sed 's/^/| /' conftest.
$ac_ext >&5
36664 eval "$as_ac_var=no"
36667 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36668 conftest
$ac_exeext conftest.
$ac_ext
36670 ac_res
=`eval echo '${'$as_ac_var'}'`
36671 { echo "$as_me:$LINENO: result: $ac_res" >&5
36672 echo "${ECHO_T}$ac_res" >&6; }
36673 if test `eval echo '${'$as_ac_var'}'` = yes; then
36674 cat >>confdefs.h
<<_ACEOF
36675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36682 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36683 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36684 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36685 wxUSE_SNGLINST_CHECKER
=no
36691 for ac_func
in setenv putenv
36693 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36694 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36696 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36697 echo $ECHO_N "(cached) $ECHO_C" >&6
36699 cat >conftest.
$ac_ext <<_ACEOF
36702 cat confdefs.h
>>conftest.
$ac_ext
36703 cat >>conftest.
$ac_ext <<_ACEOF
36704 /* end confdefs.h. */
36705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36707 #define $ac_func innocuous_$ac_func
36709 /* System header to define __stub macros and hopefully few prototypes,
36710 which can conflict with char $ac_func (); below.
36711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36712 <limits.h> exists even on freestanding compilers. */
36715 # include <limits.h>
36717 # include <assert.h>
36722 /* Override any GCC internal prototype to avoid an error.
36723 Use char because int might match the return type of a GCC
36724 builtin and then its argument prototype would still apply. */
36729 /* The GNU C library defines this for functions which it implements
36730 to always fail with ENOSYS. Some functions are actually named
36731 something starting with __ and the normal name is an alias. */
36732 #if defined __stub_$ac_func || defined __stub___$ac_func
36739 return $ac_func ();
36744 rm -f conftest.
$ac_objext conftest
$ac_exeext
36745 if { (ac_try
="$ac_link"
36746 case "(($ac_try" in
36747 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36748 *) ac_try_echo=$ac_try;;
36750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36751 (eval "$ac_link") 2>conftest.er1
36753 grep -v '^ *+' conftest.er1 >conftest.err
36755 cat conftest.err >&5
36756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36757 (exit $ac_status); } && {
36758 test -z "$ac_c_werror_flag" ||
36759 test ! -s conftest.err
36760 } && test -s conftest$ac_exeext &&
36761 $as_test_x conftest$ac_exeext; then
36762 eval "$as_ac_var=yes"
36764 echo "$as_me: failed program was:" >&5
36765 sed 's/^/| /' conftest.$ac_ext >&5
36767 eval "$as_ac_var=no"
36770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36771 conftest$ac_exeext conftest.$ac_ext
36773 ac_res=`eval echo '${'$as_ac_var'}'`
36774 { echo "$as_me:$LINENO: result: $ac_res" >&5
36775 echo "${ECHO_T}$ac_res" >&6; }
36776 if test `eval echo '${'$as_ac_var'}'` = yes; then
36777 cat >>confdefs.h <<_ACEOF
36778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36784 if test "$ac_cv_func_setenv" = "yes"; then
36786 for ac_func in unsetenv
36788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36789 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36791 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36792 echo $ECHO_N "(cached) $ECHO_C" >&6
36794 cat >conftest.$ac_ext <<_ACEOF
36797 cat confdefs.h >>conftest.$ac_ext
36798 cat >>conftest.$ac_ext <<_ACEOF
36799 /* end confdefs.h. */
36800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36802 #define $ac_func innocuous_$ac_func
36804 /* System header to define __stub macros and hopefully few prototypes,
36805 which can conflict with char $ac_func (); below.
36806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36807 <limits.h> exists even on freestanding compilers. */
36810 # include <limits.h>
36812 # include <assert.h>
36817 /* Override any GCC internal prototype to avoid an error.
36818 Use char because int might match the return type of a GCC
36819 builtin and then its argument prototype would still apply. */
36824 /* The GNU C library defines this for functions which it implements
36825 to always fail with ENOSYS. Some functions are actually named
36826 something starting with __ and the normal name is an alias. */
36827 #if defined __stub_$ac_func || defined __stub___$ac_func
36834 return $ac_func ();
36839 rm -f conftest.$ac_objext conftest$ac_exeext
36840 if { (ac_try="$ac_link"
36841 case "(($ac_try" in
36842 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36843 *) ac_try_echo
=$ac_try;;
36845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36846 (eval "$ac_link") 2>conftest.er1
36848 grep -v '^ *+' conftest.er1
>conftest.err
36850 cat conftest.err
>&5
36851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36852 (exit $ac_status); } && {
36853 test -z "$ac_c_werror_flag" ||
36854 test ! -s conftest.err
36855 } && test -s conftest
$ac_exeext &&
36856 $as_test_x conftest
$ac_exeext; then
36857 eval "$as_ac_var=yes"
36859 echo "$as_me: failed program was:" >&5
36860 sed 's/^/| /' conftest.
$ac_ext >&5
36862 eval "$as_ac_var=no"
36865 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36866 conftest
$ac_exeext conftest.
$ac_ext
36868 ac_res
=`eval echo '${'$as_ac_var'}'`
36869 { echo "$as_me:$LINENO: result: $ac_res" >&5
36870 echo "${ECHO_T}$ac_res" >&6; }
36871 if test `eval echo '${'$as_ac_var'}'` = yes; then
36872 cat >>confdefs.h
<<_ACEOF
36873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36881 HAVE_SOME_SLEEP_FUNC
=0
36882 if test "$USE_BEOS" = 1; then
36883 cat >>confdefs.h
<<\_ACEOF
36884 #define HAVE_SLEEP 1
36887 HAVE_SOME_SLEEP_FUNC
=1
36890 if test "$USE_DARWIN" = 1; then
36891 cat >>confdefs.h
<<\_ACEOF
36892 #define HAVE_USLEEP 1
36895 HAVE_SOME_SLEEP_FUNC
=1
36898 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36901 for ac_func
in nanosleep
36903 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36904 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36906 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36907 echo $ECHO_N "(cached) $ECHO_C" >&6
36909 cat >conftest.
$ac_ext <<_ACEOF
36912 cat confdefs.h
>>conftest.
$ac_ext
36913 cat >>conftest.
$ac_ext <<_ACEOF
36914 /* end confdefs.h. */
36915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36917 #define $ac_func innocuous_$ac_func
36919 /* System header to define __stub macros and hopefully few prototypes,
36920 which can conflict with char $ac_func (); below.
36921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36922 <limits.h> exists even on freestanding compilers. */
36925 # include <limits.h>
36927 # include <assert.h>
36932 /* Override any GCC internal prototype to avoid an error.
36933 Use char because int might match the return type of a GCC
36934 builtin and then its argument prototype would still apply. */
36939 /* The GNU C library defines this for functions which it implements
36940 to always fail with ENOSYS. Some functions are actually named
36941 something starting with __ and the normal name is an alias. */
36942 #if defined __stub_$ac_func || defined __stub___$ac_func
36949 return $ac_func ();
36954 rm -f conftest.
$ac_objext conftest
$ac_exeext
36955 if { (ac_try
="$ac_link"
36956 case "(($ac_try" in
36957 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36958 *) ac_try_echo=$ac_try;;
36960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36961 (eval "$ac_link") 2>conftest.er1
36963 grep -v '^ *+' conftest.er1 >conftest.err
36965 cat conftest.err >&5
36966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36967 (exit $ac_status); } && {
36968 test -z "$ac_c_werror_flag" ||
36969 test ! -s conftest.err
36970 } && test -s conftest$ac_exeext &&
36971 $as_test_x conftest$ac_exeext; then
36972 eval "$as_ac_var=yes"
36974 echo "$as_me: failed program was:" >&5
36975 sed 's/^/| /' conftest.$ac_ext >&5
36977 eval "$as_ac_var=no"
36980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36981 conftest$ac_exeext conftest.$ac_ext
36983 ac_res=`eval echo '${'$as_ac_var'}'`
36984 { echo "$as_me:$LINENO: result: $ac_res" >&5
36985 echo "${ECHO_T}$ac_res" >&6; }
36986 if test `eval echo '${'$as_ac_var'}'` = yes; then
36987 cat >>confdefs.h <<_ACEOF
36988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36990 cat >>confdefs.h <<\_ACEOF
36991 #define HAVE_NANOSLEEP 1
36996 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36997 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36998 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36999 echo $ECHO_N "(cached) $ECHO_C" >&6
37001 ac_check_lib_save_LIBS=$LIBS
37002 LIBS="-lposix4 $LIBS"
37003 cat >conftest.$ac_ext <<_ACEOF
37006 cat confdefs.h >>conftest.$ac_ext
37007 cat >>conftest.$ac_ext <<_ACEOF
37008 /* end confdefs.h. */
37010 /* Override any GCC internal prototype to avoid an error.
37011 Use char because int might match the return type of a GCC
37012 builtin and then its argument prototype would still apply. */
37020 return nanosleep ();
37025 rm -f conftest.$ac_objext conftest$ac_exeext
37026 if { (ac_try="$ac_link"
37027 case "(($ac_try" in
37028 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37029 *) ac_try_echo
=$ac_try;;
37031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37032 (eval "$ac_link") 2>conftest.er1
37034 grep -v '^ *+' conftest.er1
>conftest.err
37036 cat conftest.err
>&5
37037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37038 (exit $ac_status); } && {
37039 test -z "$ac_c_werror_flag" ||
37040 test ! -s conftest.err
37041 } && test -s conftest
$ac_exeext &&
37042 $as_test_x conftest
$ac_exeext; then
37043 ac_cv_lib_posix4_nanosleep
=yes
37045 echo "$as_me: failed program was:" >&5
37046 sed 's/^/| /' conftest.
$ac_ext >&5
37048 ac_cv_lib_posix4_nanosleep
=no
37051 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37052 conftest
$ac_exeext conftest.
$ac_ext
37053 LIBS
=$ac_check_lib_save_LIBS
37055 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37056 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37057 if test $ac_cv_lib_posix4_nanosleep = yes; then
37059 cat >>confdefs.h
<<\_ACEOF
37060 #define HAVE_NANOSLEEP 1
37063 POSIX4_LINK
=" -lposix4"
37068 for wx_func
in usleep
37070 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37071 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37072 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37073 echo $ECHO_N "(cached) $ECHO_C" >&6
37076 cat >conftest.
$ac_ext <<_ACEOF
37080 cat confdefs.h
>>conftest.
$ac_ext
37081 cat >>conftest.
$ac_ext <<_ACEOF
37082 /* end confdefs.h. */
37085 $ac_includes_default
37101 rm -f conftest.
$ac_objext conftest
$ac_exeext
37102 if { (ac_try
="$ac_link"
37103 case "(($ac_try" in
37104 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37105 *) ac_try_echo=$ac_try;;
37107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37108 (eval "$ac_link") 2>conftest.er1
37110 grep -v '^ *+' conftest.er1 >conftest.err
37112 cat conftest.err >&5
37113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37114 (exit $ac_status); } && {
37115 test -z "$ac_c_werror_flag" ||
37116 test ! -s conftest.err
37117 } && test -s conftest$ac_exeext &&
37118 $as_test_x conftest$ac_exeext; then
37119 eval wx_cv_func_$wx_func=yes
37121 echo "$as_me: failed program was:" >&5
37122 sed 's/^/| /' conftest.$ac_ext >&5
37124 eval wx_cv_func_$wx_func=no
37127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37128 conftest$ac_exeext conftest.$ac_ext
37131 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37132 { echo "$as_me:$LINENO: result: $ac_res" >&5
37133 echo "${ECHO_T}$ac_res" >&6; }
37135 if eval test \$wx_cv_func_$wx_func = yes
37137 cat >>confdefs.h <<_ACEOF
37138 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37144 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37145 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37162 for wx_func in uname
37164 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37165 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37166 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37167 echo $ECHO_N "(cached) $ECHO_C" >&6
37170 cat >conftest.$ac_ext <<_ACEOF
37174 cat confdefs.h >>conftest.$ac_ext
37175 cat >>conftest.$ac_ext <<_ACEOF
37176 /* end confdefs.h. */
37178 #include <sys/utsname.h>
37179 $ac_includes_default
37195 rm -f conftest.$ac_objext conftest$ac_exeext
37196 if { (ac_try="$ac_link"
37197 case "(($ac_try" in
37198 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37199 *) ac_try_echo
=$ac_try;;
37201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37202 (eval "$ac_link") 2>conftest.er1
37204 grep -v '^ *+' conftest.er1
>conftest.err
37206 cat conftest.err
>&5
37207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37208 (exit $ac_status); } && {
37209 test -z "$ac_c_werror_flag" ||
37210 test ! -s conftest.err
37211 } && test -s conftest
$ac_exeext &&
37212 $as_test_x conftest
$ac_exeext; then
37213 eval wx_cv_func_
$wx_func=yes
37215 echo "$as_me: failed program was:" >&5
37216 sed 's/^/| /' conftest.
$ac_ext >&5
37218 eval wx_cv_func_
$wx_func=no
37221 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37222 conftest
$ac_exeext conftest.
$ac_ext
37225 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37226 { echo "$as_me:$LINENO: result: $ac_res" >&5
37227 echo "${ECHO_T}$ac_res" >&6; }
37229 if eval test \
$wx_cv_func_$wx_func = yes
37231 cat >>confdefs.h
<<_ACEOF
37232 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37242 if test "$wx_cv_func_uname" != yes; then
37244 for wx_func
in gethostname
37246 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37247 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37248 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37249 echo $ECHO_N "(cached) $ECHO_C" >&6
37252 cat >conftest.
$ac_ext <<_ACEOF
37256 cat confdefs.h
>>conftest.
$ac_ext
37257 cat >>conftest.
$ac_ext <<_ACEOF
37258 /* end confdefs.h. */
37261 $ac_includes_default
37277 rm -f conftest.
$ac_objext conftest
$ac_exeext
37278 if { (ac_try
="$ac_link"
37279 case "(($ac_try" in
37280 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37281 *) ac_try_echo=$ac_try;;
37283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37284 (eval "$ac_link") 2>conftest.er1
37286 grep -v '^ *+' conftest.er1 >conftest.err
37288 cat conftest.err >&5
37289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37290 (exit $ac_status); } && {
37291 test -z "$ac_c_werror_flag" ||
37292 test ! -s conftest.err
37293 } && test -s conftest$ac_exeext &&
37294 $as_test_x conftest$ac_exeext; then
37295 eval wx_cv_func_$wx_func=yes
37297 echo "$as_me: failed program was:" >&5
37298 sed 's/^/| /' conftest.$ac_ext >&5
37300 eval wx_cv_func_$wx_func=no
37303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37304 conftest$ac_exeext conftest.$ac_ext
37307 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37308 { echo "$as_me:$LINENO: result: $ac_res" >&5
37309 echo "${ECHO_T}$ac_res" >&6; }
37311 if eval test \$wx_cv_func_$wx_func = yes
37313 cat >>confdefs.h <<_ACEOF
37314 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37327 for wx_func in strtok_r
37329 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37330 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37331 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37332 echo $ECHO_N "(cached) $ECHO_C" >&6
37335 cat >conftest.$ac_ext <<_ACEOF
37339 cat confdefs.h >>conftest.$ac_ext
37340 cat >>conftest.$ac_ext <<_ACEOF
37341 /* end confdefs.h. */
37344 $ac_includes_default
37360 rm -f conftest.$ac_objext conftest$ac_exeext
37361 if { (ac_try="$ac_link"
37362 case "(($ac_try" in
37363 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37364 *) ac_try_echo
=$ac_try;;
37366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37367 (eval "$ac_link") 2>conftest.er1
37369 grep -v '^ *+' conftest.er1
>conftest.err
37371 cat conftest.err
>&5
37372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37373 (exit $ac_status); } && {
37374 test -z "$ac_c_werror_flag" ||
37375 test ! -s conftest.err
37376 } && test -s conftest
$ac_exeext &&
37377 $as_test_x conftest
$ac_exeext; then
37378 eval wx_cv_func_
$wx_func=yes
37380 echo "$as_me: failed program was:" >&5
37381 sed 's/^/| /' conftest.
$ac_ext >&5
37383 eval wx_cv_func_
$wx_func=no
37386 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37387 conftest
$ac_exeext conftest.
$ac_ext
37390 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37391 { echo "$as_me:$LINENO: result: $ac_res" >&5
37392 echo "${ECHO_T}$ac_res" >&6; }
37394 if eval test \
$wx_cv_func_$wx_func = yes
37396 cat >>confdefs.h
<<_ACEOF
37397 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37410 for ac_func
in inet_addr
37412 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37413 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37415 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37416 echo $ECHO_N "(cached) $ECHO_C" >&6
37418 cat >conftest.
$ac_ext <<_ACEOF
37421 cat confdefs.h
>>conftest.
$ac_ext
37422 cat >>conftest.
$ac_ext <<_ACEOF
37423 /* end confdefs.h. */
37424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37426 #define $ac_func innocuous_$ac_func
37428 /* System header to define __stub macros and hopefully few prototypes,
37429 which can conflict with char $ac_func (); below.
37430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37431 <limits.h> exists even on freestanding compilers. */
37434 # include <limits.h>
37436 # include <assert.h>
37441 /* Override any GCC internal prototype to avoid an error.
37442 Use char because int might match the return type of a GCC
37443 builtin and then its argument prototype would still apply. */
37448 /* The GNU C library defines this for functions which it implements
37449 to always fail with ENOSYS. Some functions are actually named
37450 something starting with __ and the normal name is an alias. */
37451 #if defined __stub_$ac_func || defined __stub___$ac_func
37458 return $ac_func ();
37463 rm -f conftest.
$ac_objext conftest
$ac_exeext
37464 if { (ac_try
="$ac_link"
37465 case "(($ac_try" in
37466 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37467 *) ac_try_echo=$ac_try;;
37469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37470 (eval "$ac_link") 2>conftest.er1
37472 grep -v '^ *+' conftest.er1 >conftest.err
37474 cat conftest.err >&5
37475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37476 (exit $ac_status); } && {
37477 test -z "$ac_c_werror_flag" ||
37478 test ! -s conftest.err
37479 } && test -s conftest$ac_exeext &&
37480 $as_test_x conftest$ac_exeext; then
37481 eval "$as_ac_var=yes"
37483 echo "$as_me: failed program was:" >&5
37484 sed 's/^/| /' conftest.$ac_ext >&5
37486 eval "$as_ac_var=no"
37489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37490 conftest$ac_exeext conftest.$ac_ext
37492 ac_res=`eval echo '${'$as_ac_var'}'`
37493 { echo "$as_me:$LINENO: result: $ac_res" >&5
37494 echo "${ECHO_T}$ac_res" >&6; }
37495 if test `eval echo '${'$as_ac_var'}'` = yes; then
37496 cat >>confdefs.h <<_ACEOF
37497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37499 cat >>confdefs.h <<\_ACEOF
37500 #define HAVE_INET_ADDR 1
37505 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37506 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37507 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37508 echo $ECHO_N "(cached) $ECHO_C" >&6
37510 ac_check_lib_save_LIBS=$LIBS
37512 cat >conftest.$ac_ext <<_ACEOF
37515 cat confdefs.h >>conftest.$ac_ext
37516 cat >>conftest.$ac_ext <<_ACEOF
37517 /* end confdefs.h. */
37519 /* Override any GCC internal prototype to avoid an error.
37520 Use char because int might match the return type of a GCC
37521 builtin and then its argument prototype would still apply. */
37529 return inet_addr ();
37534 rm -f conftest.$ac_objext conftest$ac_exeext
37535 if { (ac_try="$ac_link"
37536 case "(($ac_try" in
37537 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37538 *) ac_try_echo
=$ac_try;;
37540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37541 (eval "$ac_link") 2>conftest.er1
37543 grep -v '^ *+' conftest.er1
>conftest.err
37545 cat conftest.err
>&5
37546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37547 (exit $ac_status); } && {
37548 test -z "$ac_c_werror_flag" ||
37549 test ! -s conftest.err
37550 } && test -s conftest
$ac_exeext &&
37551 $as_test_x conftest
$ac_exeext; then
37552 ac_cv_lib_nsl_inet_addr
=yes
37554 echo "$as_me: failed program was:" >&5
37555 sed 's/^/| /' conftest.
$ac_ext >&5
37557 ac_cv_lib_nsl_inet_addr
=no
37560 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37561 conftest
$ac_exeext conftest.
$ac_ext
37562 LIBS
=$ac_check_lib_save_LIBS
37564 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37565 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37566 if test $ac_cv_lib_nsl_inet_addr = yes; then
37570 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37571 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37572 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37573 echo $ECHO_N "(cached) $ECHO_C" >&6
37575 ac_check_lib_save_LIBS
=$LIBS
37576 LIBS
="-lresolv $LIBS"
37577 cat >conftest.
$ac_ext <<_ACEOF
37580 cat confdefs.h
>>conftest.
$ac_ext
37581 cat >>conftest.
$ac_ext <<_ACEOF
37582 /* end confdefs.h. */
37584 /* Override any GCC internal prototype to avoid an error.
37585 Use char because int might match the return type of a GCC
37586 builtin and then its argument prototype would still apply. */
37594 return inet_addr ();
37599 rm -f conftest.
$ac_objext conftest
$ac_exeext
37600 if { (ac_try
="$ac_link"
37601 case "(($ac_try" in
37602 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37603 *) ac_try_echo=$ac_try;;
37605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37606 (eval "$ac_link") 2>conftest.er1
37608 grep -v '^ *+' conftest.er1 >conftest.err
37610 cat conftest.err >&5
37611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37612 (exit $ac_status); } && {
37613 test -z "$ac_c_werror_flag" ||
37614 test ! -s conftest.err
37615 } && test -s conftest$ac_exeext &&
37616 $as_test_x conftest$ac_exeext; then
37617 ac_cv_lib_resolv_inet_addr=yes
37619 echo "$as_me: failed program was:" >&5
37620 sed 's/^/| /' conftest.$ac_ext >&5
37622 ac_cv_lib_resolv_inet_addr=no
37625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37626 conftest$ac_exeext conftest.$ac_ext
37627 LIBS=$ac_check_lib_save_LIBS
37629 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37630 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37631 if test $ac_cv_lib_resolv_inet_addr = yes; then
37635 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37636 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37637 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37638 echo $ECHO_N "(cached) $ECHO_C" >&6
37640 ac_check_lib_save_LIBS=$LIBS
37641 LIBS="-lsocket $LIBS"
37642 cat >conftest.$ac_ext <<_ACEOF
37645 cat confdefs.h >>conftest.$ac_ext
37646 cat >>conftest.$ac_ext <<_ACEOF
37647 /* end confdefs.h. */
37649 /* Override any GCC internal prototype to avoid an error.
37650 Use char because int might match the return type of a GCC
37651 builtin and then its argument prototype would still apply. */
37659 return inet_addr ();
37664 rm -f conftest.$ac_objext conftest$ac_exeext
37665 if { (ac_try="$ac_link"
37666 case "(($ac_try" in
37667 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37668 *) ac_try_echo
=$ac_try;;
37670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37671 (eval "$ac_link") 2>conftest.er1
37673 grep -v '^ *+' conftest.er1
>conftest.err
37675 cat conftest.err
>&5
37676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37677 (exit $ac_status); } && {
37678 test -z "$ac_c_werror_flag" ||
37679 test ! -s conftest.err
37680 } && test -s conftest
$ac_exeext &&
37681 $as_test_x conftest
$ac_exeext; then
37682 ac_cv_lib_socket_inet_addr
=yes
37684 echo "$as_me: failed program was:" >&5
37685 sed 's/^/| /' conftest.
$ac_ext >&5
37687 ac_cv_lib_socket_inet_addr
=no
37690 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37691 conftest
$ac_exeext conftest.
$ac_ext
37692 LIBS
=$ac_check_lib_save_LIBS
37694 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37695 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37696 if test $ac_cv_lib_socket_inet_addr = yes; then
37716 for ac_func
in inet_aton
37718 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37719 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37721 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37722 echo $ECHO_N "(cached) $ECHO_C" >&6
37724 cat >conftest.
$ac_ext <<_ACEOF
37727 cat confdefs.h
>>conftest.
$ac_ext
37728 cat >>conftest.
$ac_ext <<_ACEOF
37729 /* end confdefs.h. */
37730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37732 #define $ac_func innocuous_$ac_func
37734 /* System header to define __stub macros and hopefully few prototypes,
37735 which can conflict with char $ac_func (); below.
37736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37737 <limits.h> exists even on freestanding compilers. */
37740 # include <limits.h>
37742 # include <assert.h>
37747 /* Override any GCC internal prototype to avoid an error.
37748 Use char because int might match the return type of a GCC
37749 builtin and then its argument prototype would still apply. */
37754 /* The GNU C library defines this for functions which it implements
37755 to always fail with ENOSYS. Some functions are actually named
37756 something starting with __ and the normal name is an alias. */
37757 #if defined __stub_$ac_func || defined __stub___$ac_func
37764 return $ac_func ();
37769 rm -f conftest.
$ac_objext conftest
$ac_exeext
37770 if { (ac_try
="$ac_link"
37771 case "(($ac_try" in
37772 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37773 *) ac_try_echo=$ac_try;;
37775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37776 (eval "$ac_link") 2>conftest.er1
37778 grep -v '^ *+' conftest.er1 >conftest.err
37780 cat conftest.err >&5
37781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37782 (exit $ac_status); } && {
37783 test -z "$ac_c_werror_flag" ||
37784 test ! -s conftest.err
37785 } && test -s conftest$ac_exeext &&
37786 $as_test_x conftest$ac_exeext; then
37787 eval "$as_ac_var=yes"
37789 echo "$as_me: failed program was:" >&5
37790 sed 's/^/| /' conftest.$ac_ext >&5
37792 eval "$as_ac_var=no"
37795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37796 conftest$ac_exeext conftest.$ac_ext
37798 ac_res=`eval echo '${'$as_ac_var'}'`
37799 { echo "$as_me:$LINENO: result: $ac_res" >&5
37800 echo "${ECHO_T}$ac_res" >&6; }
37801 if test `eval echo '${'$as_ac_var'}'` = yes; then
37802 cat >>confdefs.h <<_ACEOF
37803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37805 cat >>confdefs.h <<\_ACEOF
37806 #define HAVE_INET_ATON 1
37811 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37812 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37813 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37814 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37815 echo $ECHO_N "(cached) $ECHO_C" >&6
37817 ac_check_lib_save_LIBS=$LIBS
37818 LIBS="-l$INET_LINK $LIBS"
37819 cat >conftest.$ac_ext <<_ACEOF
37822 cat confdefs.h >>conftest.$ac_ext
37823 cat >>conftest.$ac_ext <<_ACEOF
37824 /* end confdefs.h. */
37826 /* Override any GCC internal prototype to avoid an error.
37827 Use char because int might match the return type of a GCC
37828 builtin and then its argument prototype would still apply. */
37836 return inet_aton ();
37841 rm -f conftest.$ac_objext conftest$ac_exeext
37842 if { (ac_try="$ac_link"
37843 case "(($ac_try" in
37844 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37845 *) ac_try_echo
=$ac_try;;
37847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37848 (eval "$ac_link") 2>conftest.er1
37850 grep -v '^ *+' conftest.er1
>conftest.err
37852 cat conftest.err
>&5
37853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37854 (exit $ac_status); } && {
37855 test -z "$ac_c_werror_flag" ||
37856 test ! -s conftest.err
37857 } && test -s conftest
$ac_exeext &&
37858 $as_test_x conftest
$ac_exeext; then
37859 eval "$as_ac_Lib=yes"
37861 echo "$as_me: failed program was:" >&5
37862 sed 's/^/| /' conftest.
$ac_ext >&5
37864 eval "$as_ac_Lib=no"
37867 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37868 conftest
$ac_exeext conftest.
$ac_ext
37869 LIBS
=$ac_check_lib_save_LIBS
37871 ac_res
=`eval echo '${'$as_ac_Lib'}'`
37872 { echo "$as_me:$LINENO: result: $ac_res" >&5
37873 echo "${ECHO_T}$ac_res" >&6; }
37874 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37875 cat >>confdefs.h
<<\_ACEOF
37876 #define HAVE_INET_ATON 1
37886 if test "x$INET_LINK" != "x"; then
37887 cat >>confdefs.h
<<\_ACEOF
37888 #define HAVE_INET_ADDR 1
37891 INET_LINK
=" -l$INET_LINK"
37895 for wx_func
in fdopen
37897 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37898 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37899 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37900 echo $ECHO_N "(cached) $ECHO_C" >&6
37903 cat >conftest.
$ac_ext <<_ACEOF
37907 cat confdefs.h
>>conftest.
$ac_ext
37908 cat >>conftest.
$ac_ext <<_ACEOF
37909 /* end confdefs.h. */
37912 $ac_includes_default
37928 rm -f conftest.
$ac_objext conftest
$ac_exeext
37929 if { (ac_try
="$ac_link"
37930 case "(($ac_try" in
37931 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37932 *) ac_try_echo=$ac_try;;
37934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37935 (eval "$ac_link") 2>conftest.er1
37937 grep -v '^ *+' conftest.er1 >conftest.err
37939 cat conftest.err >&5
37940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37941 (exit $ac_status); } && {
37942 test -z "$ac_c_werror_flag" ||
37943 test ! -s conftest.err
37944 } && test -s conftest$ac_exeext &&
37945 $as_test_x conftest$ac_exeext; then
37946 eval wx_cv_func_$wx_func=yes
37948 echo "$as_me: failed program was:" >&5
37949 sed 's/^/| /' conftest.$ac_ext >&5
37951 eval wx_cv_func_$wx_func=no
37954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37955 conftest$ac_exeext conftest.$ac_ext
37958 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37959 { echo "$as_me:$LINENO: result: $ac_res" >&5
37960 echo "${ECHO_T}$ac_res" >&6; }
37962 if eval test \$wx_cv_func_$wx_func = yes
37964 cat >>confdefs.h <<_ACEOF
37965 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37976 if test "$wxUSE_TARSTREAM" = "yes"; then
37978 for wx_func in sysconf
37980 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37981 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37982 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37983 echo $ECHO_N "(cached) $ECHO_C" >&6
37986 cat >conftest.$ac_ext <<_ACEOF
37990 cat confdefs.h >>conftest.$ac_ext
37991 cat >>conftest.$ac_ext <<_ACEOF
37992 /* end confdefs.h. */
37995 $ac_includes_default
38011 rm -f conftest.$ac_objext conftest$ac_exeext
38012 if { (ac_try="$ac_link"
38013 case "(($ac_try" in
38014 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38015 *) ac_try_echo
=$ac_try;;
38017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38018 (eval "$ac_link") 2>conftest.er1
38020 grep -v '^ *+' conftest.er1
>conftest.err
38022 cat conftest.err
>&5
38023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38024 (exit $ac_status); } && {
38025 test -z "$ac_c_werror_flag" ||
38026 test ! -s conftest.err
38027 } && test -s conftest
$ac_exeext &&
38028 $as_test_x conftest
$ac_exeext; then
38029 eval wx_cv_func_
$wx_func=yes
38031 echo "$as_me: failed program was:" >&5
38032 sed 's/^/| /' conftest.
$ac_ext >&5
38034 eval wx_cv_func_
$wx_func=no
38037 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38038 conftest
$ac_exeext conftest.
$ac_ext
38041 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38042 { echo "$as_me:$LINENO: result: $ac_res" >&5
38043 echo "${ECHO_T}$ac_res" >&6; }
38045 if eval test \
$wx_cv_func_$wx_func = yes
38047 cat >>confdefs.h
<<_ACEOF
38048 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38060 for wx_func
in getpwuid_r
38062 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38063 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38064 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38065 echo $ECHO_N "(cached) $ECHO_C" >&6
38068 cat >conftest.
$ac_ext <<_ACEOF
38072 cat confdefs.h
>>conftest.
$ac_ext
38073 cat >>conftest.
$ac_ext <<_ACEOF
38074 /* end confdefs.h. */
38080 $ac_includes_default
38090 struct passwd pw, *ppw;
38092 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38100 rm -f conftest.
$ac_objext conftest
$ac_exeext
38101 if { (ac_try
="$ac_link"
38102 case "(($ac_try" in
38103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38104 *) ac_try_echo=$ac_try;;
38106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38107 (eval "$ac_link") 2>conftest.er1
38109 grep -v '^ *+' conftest.er1 >conftest.err
38111 cat conftest.err >&5
38112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38113 (exit $ac_status); } && {
38114 test -z "$ac_c_werror_flag" ||
38115 test ! -s conftest.err
38116 } && test -s conftest$ac_exeext &&
38117 $as_test_x conftest$ac_exeext; then
38118 eval wx_cv_func_$wx_func=yes
38120 echo "$as_me: failed program was:" >&5
38121 sed 's/^/| /' conftest.$ac_ext >&5
38123 eval wx_cv_func_$wx_func=no
38126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38127 conftest$ac_exeext conftest.$ac_ext
38130 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38131 { echo "$as_me:$LINENO: result: $ac_res" >&5
38132 echo "${ECHO_T}$ac_res" >&6; }
38134 if eval test \$wx_cv_func_$wx_func = yes
38136 cat >>confdefs.h <<_ACEOF
38137 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38149 for wx_func in getgrgid_r
38151 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38152 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38153 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38154 echo $ECHO_N "(cached) $ECHO_C" >&6
38157 cat >conftest.$ac_ext <<_ACEOF
38161 cat confdefs.h >>conftest.$ac_ext
38162 cat >>conftest.$ac_ext <<_ACEOF
38163 /* end confdefs.h. */
38169 $ac_includes_default
38179 struct group grp, *pgrp;
38181 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38189 rm -f conftest.$ac_objext conftest$ac_exeext
38190 if { (ac_try="$ac_link"
38191 case "(($ac_try" in
38192 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38193 *) ac_try_echo
=$ac_try;;
38195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38196 (eval "$ac_link") 2>conftest.er1
38198 grep -v '^ *+' conftest.er1
>conftest.err
38200 cat conftest.err
>&5
38201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38202 (exit $ac_status); } && {
38203 test -z "$ac_c_werror_flag" ||
38204 test ! -s conftest.err
38205 } && test -s conftest
$ac_exeext &&
38206 $as_test_x conftest
$ac_exeext; then
38207 eval wx_cv_func_
$wx_func=yes
38209 echo "$as_me: failed program was:" >&5
38210 sed 's/^/| /' conftest.
$ac_ext >&5
38212 eval wx_cv_func_
$wx_func=no
38215 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38216 conftest
$ac_exeext conftest.
$ac_ext
38219 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38220 { echo "$as_me:$LINENO: result: $ac_res" >&5
38221 echo "${ECHO_T}$ac_res" >&6; }
38223 if eval test \
$wx_cv_func_$wx_func = yes
38225 cat >>confdefs.h
<<_ACEOF
38226 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38242 cat >confcache
<<\_ACEOF
38243 # This file is a shell script that caches the results of configure
38244 # tests run on this system so they can be shared between configure
38245 # scripts and configure runs, see configure's option --config-cache.
38246 # It is not useful on other systems. If it contains results you don't
38247 # want to keep, you may remove or edit it.
38249 # config.status only pays attention to the cache file if you give it
38250 # the --recheck option to rerun configure.
38252 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38253 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38254 # following values.
38258 # The following way of writing the cache mishandles newlines in values,
38259 # but we know of no workaround that is simple, portable, and efficient.
38260 # So, we kill variables containing newlines.
38261 # Ultrix sh set writes to stderr and can't be redirected directly,
38262 # and sets the high bit in the cache file unless we assign to the vars.
38264 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38265 eval ac_val
=\$
$ac_var
38269 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38270 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38273 _
| IFS
| as_nl
) ;; #(
38274 *) $as_unset $ac_var ;;
38280 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38281 *${as_nl}ac_space
=\
*)
38282 # `set' does not quote correctly, so add quotes (double-quote
38283 # substitution turns \\\\ into \\, and sed turns \\ into \).
38286 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38289 # `set' quotes correctly as required by POSIX, so do not add quotes.
38290 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38299 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38301 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38303 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38304 if test -w "$cache_file"; then
38305 test "x$cache_file" != "x/dev/null" &&
38306 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38307 echo "$as_me: updating cache $cache_file" >&6;}
38308 cat confcache
>$cache_file
38310 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38311 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38317 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38323 if test "$wxUSE_THREADS" = "yes" ; then
38324 if test "$USE_BEOS" = 1; then
38325 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38326 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38331 if test "$wxUSE_THREADS" = "yes" ; then
38334 THREAD_OPTS
="-pthread"
38335 if test "x$SUNCXX" = xyes
; then
38336 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38340 *-*-solaris2* | *-*-sunos4* )
38341 if test "x$GCC" = "xyes"; then
38342 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38346 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38348 *-*-darwin* | *-*-cygwin* )
38352 THREAD_OPTS
="pthreads"
38355 if test "x$GCC" = "xyes"; then
38356 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38364 if test "x$GCC" = "xyes"; then
38370 if test "x$GCC" != "xyes"; then
38371 THREAD_OPTS
="-Ethread"
38376 THREAD_OPTS
="$THREAD_OPTS pthread none"
38379 for flag
in $THREAD_OPTS; do
38382 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38383 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38387 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38388 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38389 THREADS_CFLAGS
="$flag"
38393 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38394 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38395 THREADS_LINK
="-l$flag"
38400 save_CFLAGS
="$CFLAGS"
38401 LIBS
="$THREADS_LINK $LIBS"
38402 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38404 cat >conftest.
$ac_ext <<_ACEOF
38407 cat confdefs.h
>>conftest.
$ac_ext
38408 cat >>conftest.
$ac_ext <<_ACEOF
38409 /* end confdefs.h. */
38410 #include <pthread.h>
38414 pthread_create(0,0,0,0);
38419 rm -f conftest.
$ac_objext conftest
$ac_exeext
38420 if { (ac_try
="$ac_link"
38421 case "(($ac_try" in
38422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38423 *) ac_try_echo=$ac_try;;
38425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38426 (eval "$ac_link") 2>conftest.er1
38428 grep -v '^ *+' conftest.er1 >conftest.err
38430 cat conftest.err >&5
38431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38432 (exit $ac_status); } && {
38433 test -z "$ac_c_werror_flag" ||
38434 test ! -s conftest.err
38435 } && test -s conftest$ac_exeext &&
38436 $as_test_x conftest$ac_exeext; then
38439 echo "$as_me: failed program was:" >&5
38440 sed 's/^/| /' conftest.$ac_ext >&5
38445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38446 conftest$ac_exeext conftest.$ac_ext
38449 CFLAGS="$save_CFLAGS"
38451 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38452 echo "${ECHO_T}$THREADS_OK" >&6; }
38453 if test "x$THREADS_OK" = "xyes"; then
38461 if test "x$THREADS_OK" != "xyes"; then
38463 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38464 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38466 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38467 LIBS="$THREADS_LINK $LIBS"
38469 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38470 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38474 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38475 flag="-D_THREAD_SAFE"
38478 flag="-D_THREAD_SAFE"
38481 flag="-D_REENTRANT"
38482 if test "x$GCC" != "xyes"; then
38483 flag="$flag -D_RWSTD_MULTI_THREAD"
38486 *solaris* | alpha*-osf*)
38487 flag="-D_REENTRANT"
38490 { echo "$as_me:$LINENO: result: ${flag}" >&5
38491 echo "${ECHO_T}${flag}" >&6; }
38492 if test "x$flag" != xno; then
38493 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38496 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38500 if test "$wxUSE_THREADS" = "yes" ; then
38502 for ac_func in thr_setconcurrency
38504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38505 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38507 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38508 echo $ECHO_N "(cached) $ECHO_C" >&6
38510 cat >conftest.$ac_ext <<_ACEOF
38513 cat confdefs.h >>conftest.$ac_ext
38514 cat >>conftest.$ac_ext <<_ACEOF
38515 /* end confdefs.h. */
38516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38518 #define $ac_func innocuous_$ac_func
38520 /* System header to define __stub macros and hopefully few prototypes,
38521 which can conflict with char $ac_func (); below.
38522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38523 <limits.h> exists even on freestanding compilers. */
38526 # include <limits.h>
38528 # include <assert.h>
38533 /* Override any GCC internal prototype to avoid an error.
38534 Use char because int might match the return type of a GCC
38535 builtin and then its argument prototype would still apply. */
38540 /* The GNU C library defines this for functions which it implements
38541 to always fail with ENOSYS. Some functions are actually named
38542 something starting with __ and the normal name is an alias. */
38543 #if defined __stub_$ac_func || defined __stub___$ac_func
38550 return $ac_func ();
38555 rm -f conftest.$ac_objext conftest$ac_exeext
38556 if { (ac_try="$ac_link"
38557 case "(($ac_try" in
38558 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38559 *) ac_try_echo
=$ac_try;;
38561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38562 (eval "$ac_link") 2>conftest.er1
38564 grep -v '^ *+' conftest.er1
>conftest.err
38566 cat conftest.err
>&5
38567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38568 (exit $ac_status); } && {
38569 test -z "$ac_c_werror_flag" ||
38570 test ! -s conftest.err
38571 } && test -s conftest
$ac_exeext &&
38572 $as_test_x conftest
$ac_exeext; then
38573 eval "$as_ac_var=yes"
38575 echo "$as_me: failed program was:" >&5
38576 sed 's/^/| /' conftest.
$ac_ext >&5
38578 eval "$as_ac_var=no"
38581 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38582 conftest
$ac_exeext conftest.
$ac_ext
38584 ac_res
=`eval echo '${'$as_ac_var'}'`
38585 { echo "$as_me:$LINENO: result: $ac_res" >&5
38586 echo "${ECHO_T}$ac_res" >&6; }
38587 if test `eval echo '${'$as_ac_var'}'` = yes; then
38588 cat >>confdefs.h
<<_ACEOF
38589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38596 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38597 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38598 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38599 echo $ECHO_N "(cached) $ECHO_C" >&6
38603 ac_cpp
='$CXXCPP $CPPFLAGS'
38604 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38605 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38606 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38608 cat >conftest.
$ac_ext <<_ACEOF
38611 cat confdefs.h
>>conftest.
$ac_ext
38612 cat >>conftest.
$ac_ext <<_ACEOF
38613 /* end confdefs.h. */
38614 #include <pthread.h>
38615 void ThreadCleanupFunc(void *p);
38622 pthread_cleanup_push(ThreadCleanupFunc, p);
38623 pthread_cleanup_pop(0);
38629 rm -f conftest.
$ac_objext
38630 if { (ac_try
="$ac_compile"
38631 case "(($ac_try" in
38632 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38633 *) ac_try_echo=$ac_try;;
38635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38636 (eval "$ac_compile") 2>conftest.er1
38638 grep -v '^ *+' conftest.er1 >conftest.err
38640 cat conftest.err >&5
38641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38642 (exit $ac_status); } && {
38643 test -z "$ac_cxx_werror_flag" ||
38644 test ! -s conftest.err
38645 } && test -s conftest.$ac_objext; then
38647 wx_cv_func_pthread_cleanup=yes
38650 echo "$as_me: failed program was:" >&5
38651 sed 's/^/| /' conftest.$ac_ext >&5
38654 wx_cv_func_pthread_cleanup=no
38659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38661 ac_cpp='$CPP $CPPFLAGS'
38662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38668 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38669 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38670 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38671 cat >>confdefs.h <<\_ACEOF
38672 #define wxHAVE_PTHREAD_CLEANUP 1
38678 for ac_header in sched.h
38680 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38681 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38683 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38684 echo $ECHO_N "(cached) $ECHO_C" >&6
38686 cat >conftest.$ac_ext <<_ACEOF
38689 cat confdefs.h >>conftest.$ac_ext
38690 cat >>conftest.$ac_ext <<_ACEOF
38691 /* end confdefs.h. */
38692 $ac_includes_default
38694 #include <$ac_header>
38696 rm -f conftest.$ac_objext
38697 if { (ac_try="$ac_compile"
38698 case "(($ac_try" in
38699 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38700 *) ac_try_echo
=$ac_try;;
38702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38703 (eval "$ac_compile") 2>conftest.er1
38705 grep -v '^ *+' conftest.er1
>conftest.err
38707 cat conftest.err
>&5
38708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38709 (exit $ac_status); } && {
38710 test -z "$ac_c_werror_flag" ||
38711 test ! -s conftest.err
38712 } && test -s conftest.
$ac_objext; then
38713 eval "$as_ac_Header=yes"
38715 echo "$as_me: failed program was:" >&5
38716 sed 's/^/| /' conftest.
$ac_ext >&5
38718 eval "$as_ac_Header=no"
38721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38723 ac_res
=`eval echo '${'$as_ac_Header'}'`
38724 { echo "$as_me:$LINENO: result: $ac_res" >&5
38725 echo "${ECHO_T}$ac_res" >&6; }
38726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38727 cat >>confdefs.h
<<_ACEOF
38728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38735 if test "$ac_cv_header_sched_h" = "yes"; then
38736 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38737 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38738 if test "${ac_cv_func_sched_yield+set}" = set; then
38739 echo $ECHO_N "(cached) $ECHO_C" >&6
38741 cat >conftest.
$ac_ext <<_ACEOF
38744 cat confdefs.h
>>conftest.
$ac_ext
38745 cat >>conftest.
$ac_ext <<_ACEOF
38746 /* end confdefs.h. */
38747 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38749 #define sched_yield innocuous_sched_yield
38751 /* System header to define __stub macros and hopefully few prototypes,
38752 which can conflict with char sched_yield (); below.
38753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38754 <limits.h> exists even on freestanding compilers. */
38757 # include <limits.h>
38759 # include <assert.h>
38764 /* Override any GCC internal prototype to avoid an error.
38765 Use char because int might match the return type of a GCC
38766 builtin and then its argument prototype would still apply. */
38770 char sched_yield ();
38771 /* The GNU C library defines this for functions which it implements
38772 to always fail with ENOSYS. Some functions are actually named
38773 something starting with __ and the normal name is an alias. */
38774 #if defined __stub_sched_yield || defined __stub___sched_yield
38781 return sched_yield ();
38786 rm -f conftest.
$ac_objext conftest
$ac_exeext
38787 if { (ac_try
="$ac_link"
38788 case "(($ac_try" in
38789 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38790 *) ac_try_echo=$ac_try;;
38792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38793 (eval "$ac_link") 2>conftest.er1
38795 grep -v '^ *+' conftest.er1 >conftest.err
38797 cat conftest.err >&5
38798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38799 (exit $ac_status); } && {
38800 test -z "$ac_c_werror_flag" ||
38801 test ! -s conftest.err
38802 } && test -s conftest$ac_exeext &&
38803 $as_test_x conftest$ac_exeext; then
38804 ac_cv_func_sched_yield=yes
38806 echo "$as_me: failed program was:" >&5
38807 sed 's/^/| /' conftest.$ac_ext >&5
38809 ac_cv_func_sched_yield=no
38812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38813 conftest$ac_exeext conftest.$ac_ext
38815 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38816 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38817 if test $ac_cv_func_sched_yield = yes; then
38818 cat >>confdefs.h <<\_ACEOF
38819 #define HAVE_SCHED_YIELD 1
38824 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38825 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38826 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38827 echo $ECHO_N "(cached) $ECHO_C" >&6
38829 ac_check_lib_save_LIBS=$LIBS
38830 LIBS="-lposix4 $LIBS"
38831 cat >conftest.$ac_ext <<_ACEOF
38834 cat confdefs.h >>conftest.$ac_ext
38835 cat >>conftest.$ac_ext <<_ACEOF
38836 /* end confdefs.h. */
38838 /* Override any GCC internal prototype to avoid an error.
38839 Use char because int might match the return type of a GCC
38840 builtin and then its argument prototype would still apply. */
38844 char sched_yield ();
38848 return sched_yield ();
38853 rm -f conftest.$ac_objext conftest$ac_exeext
38854 if { (ac_try="$ac_link"
38855 case "(($ac_try" in
38856 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38857 *) ac_try_echo
=$ac_try;;
38859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38860 (eval "$ac_link") 2>conftest.er1
38862 grep -v '^ *+' conftest.er1
>conftest.err
38864 cat conftest.err
>&5
38865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38866 (exit $ac_status); } && {
38867 test -z "$ac_c_werror_flag" ||
38868 test ! -s conftest.err
38869 } && test -s conftest
$ac_exeext &&
38870 $as_test_x conftest
$ac_exeext; then
38871 ac_cv_lib_posix4_sched_yield
=yes
38873 echo "$as_me: failed program was:" >&5
38874 sed 's/^/| /' conftest.
$ac_ext >&5
38876 ac_cv_lib_posix4_sched_yield
=no
38879 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38880 conftest
$ac_exeext conftest.
$ac_ext
38881 LIBS
=$ac_check_lib_save_LIBS
38883 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38884 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38885 if test $ac_cv_lib_posix4_sched_yield = yes; then
38886 cat >>confdefs.h
<<\_ACEOF
38887 #define HAVE_SCHED_YIELD 1
38889 POSIX4_LINK
=" -lposix4"
38891 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38892 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38903 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38904 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38905 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38906 echo $ECHO_N "(cached) $ECHO_C" >&6
38908 cat >conftest.
$ac_ext <<_ACEOF
38911 cat confdefs.h
>>conftest.
$ac_ext
38912 cat >>conftest.
$ac_ext <<_ACEOF
38913 /* end confdefs.h. */
38914 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38916 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38918 /* System header to define __stub macros and hopefully few prototypes,
38919 which can conflict with char pthread_attr_getschedpolicy (); below.
38920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38921 <limits.h> exists even on freestanding compilers. */
38924 # include <limits.h>
38926 # include <assert.h>
38929 #undef pthread_attr_getschedpolicy
38931 /* Override any GCC internal prototype to avoid an error.
38932 Use char because int might match the return type of a GCC
38933 builtin and then its argument prototype would still apply. */
38937 char pthread_attr_getschedpolicy ();
38938 /* The GNU C library defines this for functions which it implements
38939 to always fail with ENOSYS. Some functions are actually named
38940 something starting with __ and the normal name is an alias. */
38941 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38948 return pthread_attr_getschedpolicy ();
38953 rm -f conftest.
$ac_objext conftest
$ac_exeext
38954 if { (ac_try
="$ac_link"
38955 case "(($ac_try" in
38956 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38957 *) ac_try_echo=$ac_try;;
38959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38960 (eval "$ac_link") 2>conftest.er1
38962 grep -v '^ *+' conftest.er1 >conftest.err
38964 cat conftest.err >&5
38965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38966 (exit $ac_status); } && {
38967 test -z "$ac_c_werror_flag" ||
38968 test ! -s conftest.err
38969 } && test -s conftest$ac_exeext &&
38970 $as_test_x conftest$ac_exeext; then
38971 ac_cv_func_pthread_attr_getschedpolicy=yes
38973 echo "$as_me: failed program was:" >&5
38974 sed 's/^/| /' conftest.$ac_ext >&5
38976 ac_cv_func_pthread_attr_getschedpolicy=no
38979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38980 conftest$ac_exeext conftest.$ac_ext
38982 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38983 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38984 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38985 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38986 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38987 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38988 echo $ECHO_N "(cached) $ECHO_C" >&6
38990 cat >conftest.$ac_ext <<_ACEOF
38993 cat confdefs.h >>conftest.$ac_ext
38994 cat >>conftest.$ac_ext <<_ACEOF
38995 /* end confdefs.h. */
38996 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38998 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39000 /* System header to define __stub macros and hopefully few prototypes,
39001 which can conflict with char pthread_attr_setschedparam (); below.
39002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39003 <limits.h> exists even on freestanding compilers. */
39006 # include <limits.h>
39008 # include <assert.h>
39011 #undef pthread_attr_setschedparam
39013 /* Override any GCC internal prototype to avoid an error.
39014 Use char because int might match the return type of a GCC
39015 builtin and then its argument prototype would still apply. */
39019 char pthread_attr_setschedparam ();
39020 /* The GNU C library defines this for functions which it implements
39021 to always fail with ENOSYS. Some functions are actually named
39022 something starting with __ and the normal name is an alias. */
39023 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39030 return pthread_attr_setschedparam ();
39035 rm -f conftest.$ac_objext conftest$ac_exeext
39036 if { (ac_try="$ac_link"
39037 case "(($ac_try" in
39038 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39039 *) ac_try_echo
=$ac_try;;
39041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39042 (eval "$ac_link") 2>conftest.er1
39044 grep -v '^ *+' conftest.er1
>conftest.err
39046 cat conftest.err
>&5
39047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39048 (exit $ac_status); } && {
39049 test -z "$ac_c_werror_flag" ||
39050 test ! -s conftest.err
39051 } && test -s conftest
$ac_exeext &&
39052 $as_test_x conftest
$ac_exeext; then
39053 ac_cv_func_pthread_attr_setschedparam
=yes
39055 echo "$as_me: failed program was:" >&5
39056 sed 's/^/| /' conftest.
$ac_ext >&5
39058 ac_cv_func_pthread_attr_setschedparam
=no
39061 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39062 conftest
$ac_exeext conftest.
$ac_ext
39064 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39065 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39066 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39067 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39068 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39069 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39070 echo $ECHO_N "(cached) $ECHO_C" >&6
39072 cat >conftest.
$ac_ext <<_ACEOF
39075 cat confdefs.h
>>conftest.
$ac_ext
39076 cat >>conftest.
$ac_ext <<_ACEOF
39077 /* end confdefs.h. */
39078 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39080 #define sched_get_priority_max innocuous_sched_get_priority_max
39082 /* System header to define __stub macros and hopefully few prototypes,
39083 which can conflict with char sched_get_priority_max (); below.
39084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39085 <limits.h> exists even on freestanding compilers. */
39088 # include <limits.h>
39090 # include <assert.h>
39093 #undef sched_get_priority_max
39095 /* Override any GCC internal prototype to avoid an error.
39096 Use char because int might match the return type of a GCC
39097 builtin and then its argument prototype would still apply. */
39101 char sched_get_priority_max ();
39102 /* The GNU C library defines this for functions which it implements
39103 to always fail with ENOSYS. Some functions are actually named
39104 something starting with __ and the normal name is an alias. */
39105 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39112 return sched_get_priority_max ();
39117 rm -f conftest.
$ac_objext conftest
$ac_exeext
39118 if { (ac_try
="$ac_link"
39119 case "(($ac_try" in
39120 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39121 *) ac_try_echo=$ac_try;;
39123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39124 (eval "$ac_link") 2>conftest.er1
39126 grep -v '^ *+' conftest.er1 >conftest.err
39128 cat conftest.err >&5
39129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39130 (exit $ac_status); } && {
39131 test -z "$ac_c_werror_flag" ||
39132 test ! -s conftest.err
39133 } && test -s conftest$ac_exeext &&
39134 $as_test_x conftest$ac_exeext; then
39135 ac_cv_func_sched_get_priority_max=yes
39137 echo "$as_me: failed program was:" >&5
39138 sed 's/^/| /' conftest.$ac_ext >&5
39140 ac_cv_func_sched_get_priority_max=no
39143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39144 conftest$ac_exeext conftest.$ac_ext
39146 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39147 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39148 if test $ac_cv_func_sched_get_priority_max = yes; then
39151 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39152 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39153 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39154 echo $ECHO_N "(cached) $ECHO_C" >&6
39156 ac_check_lib_save_LIBS=$LIBS
39157 LIBS="-lposix4 $LIBS"
39158 cat >conftest.$ac_ext <<_ACEOF
39161 cat confdefs.h >>conftest.$ac_ext
39162 cat >>conftest.$ac_ext <<_ACEOF
39163 /* end confdefs.h. */
39165 /* Override any GCC internal prototype to avoid an error.
39166 Use char because int might match the return type of a GCC
39167 builtin and then its argument prototype would still apply. */
39171 char sched_get_priority_max ();
39175 return sched_get_priority_max ();
39180 rm -f conftest.$ac_objext conftest$ac_exeext
39181 if { (ac_try="$ac_link"
39182 case "(($ac_try" in
39183 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39184 *) ac_try_echo
=$ac_try;;
39186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39187 (eval "$ac_link") 2>conftest.er1
39189 grep -v '^ *+' conftest.er1
>conftest.err
39191 cat conftest.err
>&5
39192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39193 (exit $ac_status); } && {
39194 test -z "$ac_c_werror_flag" ||
39195 test ! -s conftest.err
39196 } && test -s conftest
$ac_exeext &&
39197 $as_test_x conftest
$ac_exeext; then
39198 ac_cv_lib_posix4_sched_get_priority_max
=yes
39200 echo "$as_me: failed program was:" >&5
39201 sed 's/^/| /' conftest.
$ac_ext >&5
39203 ac_cv_lib_posix4_sched_get_priority_max
=no
39206 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39207 conftest
$ac_exeext conftest.
$ac_ext
39208 LIBS
=$ac_check_lib_save_LIBS
39210 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39211 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39212 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39215 POSIX4_LINK
=" -lposix4"
39229 if test "$HAVE_PRIOR_FUNCS" = 1; then
39230 cat >>confdefs.h
<<\_ACEOF
39231 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39235 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39236 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39239 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39240 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39241 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39242 echo $ECHO_N "(cached) $ECHO_C" >&6
39244 cat >conftest.
$ac_ext <<_ACEOF
39247 cat confdefs.h
>>conftest.
$ac_ext
39248 cat >>conftest.
$ac_ext <<_ACEOF
39249 /* end confdefs.h. */
39250 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39252 #define pthread_cancel innocuous_pthread_cancel
39254 /* System header to define __stub macros and hopefully few prototypes,
39255 which can conflict with char pthread_cancel (); below.
39256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39257 <limits.h> exists even on freestanding compilers. */
39260 # include <limits.h>
39262 # include <assert.h>
39265 #undef pthread_cancel
39267 /* Override any GCC internal prototype to avoid an error.
39268 Use char because int might match the return type of a GCC
39269 builtin and then its argument prototype would still apply. */
39273 char pthread_cancel ();
39274 /* The GNU C library defines this for functions which it implements
39275 to always fail with ENOSYS. Some functions are actually named
39276 something starting with __ and the normal name is an alias. */
39277 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39284 return pthread_cancel ();
39289 rm -f conftest.
$ac_objext conftest
$ac_exeext
39290 if { (ac_try
="$ac_link"
39291 case "(($ac_try" in
39292 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39293 *) ac_try_echo=$ac_try;;
39295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39296 (eval "$ac_link") 2>conftest.er1
39298 grep -v '^ *+' conftest.er1 >conftest.err
39300 cat conftest.err >&5
39301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39302 (exit $ac_status); } && {
39303 test -z "$ac_c_werror_flag" ||
39304 test ! -s conftest.err
39305 } && test -s conftest$ac_exeext &&
39306 $as_test_x conftest$ac_exeext; then
39307 ac_cv_func_pthread_cancel=yes
39309 echo "$as_me: failed program was:" >&5
39310 sed 's/^/| /' conftest.$ac_ext >&5
39312 ac_cv_func_pthread_cancel=no
39315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39316 conftest$ac_exeext conftest.$ac_ext
39318 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39319 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39320 if test $ac_cv_func_pthread_cancel = yes; then
39321 cat >>confdefs.h <<\_ACEOF
39322 #define HAVE_PTHREAD_CANCEL 1
39326 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39327 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39331 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39332 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39333 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39334 echo $ECHO_N "(cached) $ECHO_C" >&6
39336 cat >conftest.$ac_ext <<_ACEOF
39339 cat confdefs.h >>conftest.$ac_ext
39340 cat >>conftest.$ac_ext <<_ACEOF
39341 /* end confdefs.h. */
39342 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39344 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39346 /* System header to define __stub macros and hopefully few prototypes,
39347 which can conflict with char pthread_mutex_timedlock (); below.
39348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39349 <limits.h> exists even on freestanding compilers. */
39352 # include <limits.h>
39354 # include <assert.h>
39357 #undef pthread_mutex_timedlock
39359 /* Override any GCC internal prototype to avoid an error.
39360 Use char because int might match the return type of a GCC
39361 builtin and then its argument prototype would still apply. */
39365 char pthread_mutex_timedlock ();
39366 /* The GNU C library defines this for functions which it implements
39367 to always fail with ENOSYS. Some functions are actually named
39368 something starting with __ and the normal name is an alias. */
39369 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39376 return pthread_mutex_timedlock ();
39381 rm -f conftest.$ac_objext conftest$ac_exeext
39382 if { (ac_try="$ac_link"
39383 case "(($ac_try" in
39384 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39385 *) ac_try_echo
=$ac_try;;
39387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39388 (eval "$ac_link") 2>conftest.er1
39390 grep -v '^ *+' conftest.er1
>conftest.err
39392 cat conftest.err
>&5
39393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39394 (exit $ac_status); } && {
39395 test -z "$ac_c_werror_flag" ||
39396 test ! -s conftest.err
39397 } && test -s conftest
$ac_exeext &&
39398 $as_test_x conftest
$ac_exeext; then
39399 ac_cv_func_pthread_mutex_timedlock
=yes
39401 echo "$as_me: failed program was:" >&5
39402 sed 's/^/| /' conftest.
$ac_ext >&5
39404 ac_cv_func_pthread_mutex_timedlock
=no
39407 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39408 conftest
$ac_exeext conftest.
$ac_ext
39410 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39411 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39412 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39413 cat >>confdefs.h
<<\_ACEOF
39414 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39418 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39419 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39423 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39424 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39425 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39426 echo $ECHO_N "(cached) $ECHO_C" >&6
39428 cat >conftest.
$ac_ext <<_ACEOF
39431 cat confdefs.h
>>conftest.
$ac_ext
39432 cat >>conftest.
$ac_ext <<_ACEOF
39433 /* end confdefs.h. */
39434 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39436 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39438 /* System header to define __stub macros and hopefully few prototypes,
39439 which can conflict with char pthread_attr_setstacksize (); below.
39440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39441 <limits.h> exists even on freestanding compilers. */
39444 # include <limits.h>
39446 # include <assert.h>
39449 #undef pthread_attr_setstacksize
39451 /* Override any GCC internal prototype to avoid an error.
39452 Use char because int might match the return type of a GCC
39453 builtin and then its argument prototype would still apply. */
39457 char pthread_attr_setstacksize ();
39458 /* The GNU C library defines this for functions which it implements
39459 to always fail with ENOSYS. Some functions are actually named
39460 something starting with __ and the normal name is an alias. */
39461 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39468 return pthread_attr_setstacksize ();
39473 rm -f conftest.
$ac_objext conftest
$ac_exeext
39474 if { (ac_try
="$ac_link"
39475 case "(($ac_try" in
39476 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39477 *) ac_try_echo=$ac_try;;
39479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39480 (eval "$ac_link") 2>conftest.er1
39482 grep -v '^ *+' conftest.er1 >conftest.err
39484 cat conftest.err >&5
39485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39486 (exit $ac_status); } && {
39487 test -z "$ac_c_werror_flag" ||
39488 test ! -s conftest.err
39489 } && test -s conftest$ac_exeext &&
39490 $as_test_x conftest$ac_exeext; then
39491 ac_cv_func_pthread_attr_setstacksize=yes
39493 echo "$as_me: failed program was:" >&5
39494 sed 's/^/| /' conftest.$ac_ext >&5
39496 ac_cv_func_pthread_attr_setstacksize=no
39499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39500 conftest$ac_exeext conftest.$ac_ext
39502 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39503 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39504 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39505 cat >>confdefs.h <<\_ACEOF
39506 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39513 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39514 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39515 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39516 echo $ECHO_N "(cached) $ECHO_C" >&6
39519 cat >conftest.$ac_ext <<_ACEOF
39522 cat confdefs.h >>conftest.$ac_ext
39523 cat >>conftest.$ac_ext <<_ACEOF
39524 /* end confdefs.h. */
39525 #include <pthread.h>
39530 pthread_mutexattr_t attr;
39531 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39537 rm -f conftest.$ac_objext
39538 if { (ac_try="$ac_compile"
39539 case "(($ac_try" in
39540 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39541 *) ac_try_echo
=$ac_try;;
39543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39544 (eval "$ac_compile") 2>conftest.er1
39546 grep -v '^ *+' conftest.er1
>conftest.err
39548 cat conftest.err
>&5
39549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39550 (exit $ac_status); } && {
39551 test -z "$ac_c_werror_flag" ||
39552 test ! -s conftest.err
39553 } && test -s conftest.
$ac_objext; then
39554 wx_cv_type_pthread_mutexattr_t
=yes
39556 echo "$as_me: failed program was:" >&5
39557 sed 's/^/| /' conftest.
$ac_ext >&5
39559 wx_cv_type_pthread_mutexattr_t
=no
39563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39566 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39567 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39569 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39570 cat >>confdefs.h
<<\_ACEOF
39571 #define HAVE_PTHREAD_MUTEXATTR_T 1
39575 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39576 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39577 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39578 echo $ECHO_N "(cached) $ECHO_C" >&6
39581 cat >conftest.
$ac_ext <<_ACEOF
39584 cat confdefs.h
>>conftest.
$ac_ext
39585 cat >>conftest.
$ac_ext <<_ACEOF
39586 /* end confdefs.h. */
39587 #include <pthread.h>
39592 pthread_mutexattr_t attr;
39593 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39599 rm -f conftest.
$ac_objext
39600 if { (ac_try
="$ac_compile"
39601 case "(($ac_try" in
39602 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39603 *) ac_try_echo=$ac_try;;
39605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39606 (eval "$ac_compile") 2>conftest.er1
39608 grep -v '^ *+' conftest.er1 >conftest.err
39610 cat conftest.err >&5
39611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39612 (exit $ac_status); } && {
39613 test -z "$ac_c_werror_flag" ||
39614 test ! -s conftest.err
39615 } && test -s conftest.$ac_objext; then
39616 wx_cv_func_pthread_mutexattr_settype_decl=yes
39618 echo "$as_me: failed program was:" >&5
39619 sed 's/^/| /' conftest.$ac_ext >&5
39621 wx_cv_func_pthread_mutexattr_settype_decl=no
39625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39628 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39629 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39630 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39631 cat >>confdefs.h <<\_ACEOF
39632 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39637 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39638 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39639 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39640 echo $ECHO_N "(cached) $ECHO_C" >&6
39643 cat >conftest.$ac_ext <<_ACEOF
39646 cat confdefs.h >>conftest.$ac_ext
39647 cat >>conftest.$ac_ext <<_ACEOF
39648 /* end confdefs.h. */
39649 #include <pthread.h>
39654 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39660 rm -f conftest.$ac_objext
39661 if { (ac_try="$ac_compile"
39662 case "(($ac_try" in
39663 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39664 *) ac_try_echo
=$ac_try;;
39666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39667 (eval "$ac_compile") 2>conftest.er1
39669 grep -v '^ *+' conftest.er1
>conftest.err
39671 cat conftest.err
>&5
39672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39673 (exit $ac_status); } && {
39674 test -z "$ac_c_werror_flag" ||
39675 test ! -s conftest.err
39676 } && test -s conftest.
$ac_objext; then
39678 wx_cv_type_pthread_rec_mutex_init
=yes
39681 echo "$as_me: failed program was:" >&5
39682 sed 's/^/| /' conftest.
$ac_ext >&5
39685 wx_cv_type_pthread_rec_mutex_init
=no
39690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39693 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39694 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39695 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39696 cat >>confdefs.h
<<\_ACEOF
39697 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39701 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39702 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39708 if test "$wxUSE_THREADS" = "yes" ; then
39711 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39712 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39713 if test "${wx_cv_cflags_mthread+set}" = set; then
39714 echo $ECHO_N "(cached) $ECHO_C" >&6
39717 CFLAGS_OLD
="$CFLAGS"
39718 CFLAGS
="-mthreads $CFLAGS"
39719 cat >conftest.
$ac_ext <<_ACEOF
39722 cat confdefs.h
>>conftest.
$ac_ext
39723 cat >>conftest.
$ac_ext <<_ACEOF
39724 /* end confdefs.h. */
39734 rm -f conftest.
$ac_objext
39735 if { (ac_try
="$ac_compile"
39736 case "(($ac_try" in
39737 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39738 *) ac_try_echo=$ac_try;;
39740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39741 (eval "$ac_compile") 2>conftest.er1
39743 grep -v '^ *+' conftest.er1 >conftest.err
39745 cat conftest.err >&5
39746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39747 (exit $ac_status); } && {
39748 test -z "$ac_c_werror_flag" ||
39749 test ! -s conftest.err
39750 } && test -s conftest.$ac_objext; then
39751 wx_cv_cflags_mthread=yes
39753 echo "$as_me: failed program was:" >&5
39754 sed 's/^/| /' conftest.$ac_ext >&5
39756 wx_cv_cflags_mthread=no
39760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39764 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39765 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39767 if test "$wx_cv_cflags_mthread" = "yes"; then
39768 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39769 LDFLAGS="$LDFLAGS -mthreads"
39771 CFLAGS="$CFLAGS_OLD"
39775 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39776 LDFLAGS="$LDFLAGS -Zmt"
39782 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39783 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39784 if test "${ac_cv_func_localtime_r+set}" = set; then
39785 echo $ECHO_N "(cached) $ECHO_C" >&6
39787 cat >conftest.$ac_ext <<_ACEOF
39790 cat confdefs.h >>conftest.$ac_ext
39791 cat >>conftest.$ac_ext <<_ACEOF
39792 /* end confdefs.h. */
39793 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39795 #define localtime_r innocuous_localtime_r
39797 /* System header to define __stub macros and hopefully few prototypes,
39798 which can conflict with char localtime_r (); below.
39799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39800 <limits.h> exists even on freestanding compilers. */
39803 # include <limits.h>
39805 # include <assert.h>
39810 /* Override any GCC internal prototype to avoid an error.
39811 Use char because int might match the return type of a GCC
39812 builtin and then its argument prototype would still apply. */
39816 char localtime_r ();
39817 /* The GNU C library defines this for functions which it implements
39818 to always fail with ENOSYS. Some functions are actually named
39819 something starting with __ and the normal name is an alias. */
39820 #if defined __stub_localtime_r || defined __stub___localtime_r
39827 return localtime_r ();
39832 rm -f conftest.$ac_objext conftest$ac_exeext
39833 if { (ac_try="$ac_link"
39834 case "(($ac_try" in
39835 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39836 *) ac_try_echo
=$ac_try;;
39838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39839 (eval "$ac_link") 2>conftest.er1
39841 grep -v '^ *+' conftest.er1
>conftest.err
39843 cat conftest.err
>&5
39844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39845 (exit $ac_status); } && {
39846 test -z "$ac_c_werror_flag" ||
39847 test ! -s conftest.err
39848 } && test -s conftest
$ac_exeext &&
39849 $as_test_x conftest
$ac_exeext; then
39850 ac_cv_func_localtime_r
=yes
39852 echo "$as_me: failed program was:" >&5
39853 sed 's/^/| /' conftest.
$ac_ext >&5
39855 ac_cv_func_localtime_r
=no
39858 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39859 conftest
$ac_exeext conftest.
$ac_ext
39861 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39862 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39863 if test $ac_cv_func_localtime_r = yes; then
39864 cat >>confdefs.h
<<\_ACEOF
39865 #define HAVE_LOCALTIME_R 1
39870 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39871 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39872 if test "${ac_cv_func_gmtime_r+set}" = set; then
39873 echo $ECHO_N "(cached) $ECHO_C" >&6
39875 cat >conftest.
$ac_ext <<_ACEOF
39878 cat confdefs.h
>>conftest.
$ac_ext
39879 cat >>conftest.
$ac_ext <<_ACEOF
39880 /* end confdefs.h. */
39881 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39883 #define gmtime_r innocuous_gmtime_r
39885 /* System header to define __stub macros and hopefully few prototypes,
39886 which can conflict with char gmtime_r (); below.
39887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39888 <limits.h> exists even on freestanding compilers. */
39891 # include <limits.h>
39893 # include <assert.h>
39898 /* Override any GCC internal prototype to avoid an error.
39899 Use char because int might match the return type of a GCC
39900 builtin and then its argument prototype would still apply. */
39905 /* The GNU C library defines this for functions which it implements
39906 to always fail with ENOSYS. Some functions are actually named
39907 something starting with __ and the normal name is an alias. */
39908 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39915 return gmtime_r ();
39920 rm -f conftest.
$ac_objext conftest
$ac_exeext
39921 if { (ac_try
="$ac_link"
39922 case "(($ac_try" in
39923 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39924 *) ac_try_echo=$ac_try;;
39926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39927 (eval "$ac_link") 2>conftest.er1
39929 grep -v '^ *+' conftest.er1 >conftest.err
39931 cat conftest.err >&5
39932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39933 (exit $ac_status); } && {
39934 test -z "$ac_c_werror_flag" ||
39935 test ! -s conftest.err
39936 } && test -s conftest$ac_exeext &&
39937 $as_test_x conftest$ac_exeext; then
39938 ac_cv_func_gmtime_r=yes
39940 echo "$as_me: failed program was:" >&5
39941 sed 's/^/| /' conftest.$ac_ext >&5
39943 ac_cv_func_gmtime_r=no
39946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39947 conftest$ac_exeext conftest.$ac_ext
39949 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39950 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39951 if test $ac_cv_func_gmtime_r = yes; then
39952 cat >>confdefs.h <<\_ACEOF
39953 #define HAVE_GMTIME_R 1
39962 ac_cpp='$CPP $CPPFLAGS'
39963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39967 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39968 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39970 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39971 echo $ECHO_N "(cached) $ECHO_C" >&6
39975 ################################################################
39977 ac_cv_func_which_gethostbyname_r=unknown
39980 # ONE ARGUMENT (sanity check)
39983 # This should fail, as there is no variant of gethostbyname_r() that takes
39984 # a single argument. If it actually compiles, then we can assume that
39985 # netdb.h is not declaring the function, and the compiler is thereby
39986 # assuming an implicit prototype. In which case, we're out of luck.
39988 cat >conftest.$ac_ext <<_ACEOF
39991 cat confdefs.h >>conftest.$ac_ext
39992 cat >>conftest.$ac_ext <<_ACEOF
39993 /* end confdefs.h. */
39999 char *name = "www.gnu.org";
40000 (void)gethostbyname_r(name) /* ; */
40006 rm -f conftest.$ac_objext
40007 if { (ac_try="$ac_compile"
40008 case "(($ac_try" in
40009 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40010 *) ac_try_echo
=$ac_try;;
40012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40013 (eval "$ac_compile") 2>conftest.er1
40015 grep -v '^ *+' conftest.er1
>conftest.err
40017 cat conftest.err
>&5
40018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40019 (exit $ac_status); } && {
40020 test -z "$ac_c_werror_flag" ||
40021 test ! -s conftest.err
40022 } && test -s conftest.
$ac_objext; then
40023 ac_cv_func_which_gethostbyname_r
=no
40025 echo "$as_me: failed program was:" >&5
40026 sed 's/^/| /' conftest.
$ac_ext >&5
40031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40038 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40040 cat >conftest.
$ac_ext <<_ACEOF
40043 cat confdefs.h
>>conftest.
$ac_ext
40044 cat >>conftest.
$ac_ext <<_ACEOF
40045 /* end confdefs.h. */
40051 char *name = "www.gnu.org";
40052 struct hostent ret, *retp;
40056 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40062 rm -f conftest.
$ac_objext
40063 if { (ac_try
="$ac_compile"
40064 case "(($ac_try" in
40065 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40066 *) ac_try_echo=$ac_try;;
40068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40069 (eval "$ac_compile") 2>conftest.er1
40071 grep -v '^ *+' conftest.er1 >conftest.err
40073 cat conftest.err >&5
40074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40075 (exit $ac_status); } && {
40076 test -z "$ac_c_werror_flag" ||
40077 test ! -s conftest.err
40078 } && test -s conftest.$ac_objext; then
40079 ac_cv_func_which_gethostbyname_r=six
40081 echo "$as_me: failed program was:" >&5
40082 sed 's/^/| /' conftest.$ac_ext >&5
40087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40096 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40098 cat >conftest.$ac_ext <<_ACEOF
40101 cat confdefs.h >>conftest.$ac_ext
40102 cat >>conftest.$ac_ext <<_ACEOF
40103 /* end confdefs.h. */
40109 char *name = "www.gnu.org";
40110 struct hostent ret;
40114 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40120 rm -f conftest.$ac_objext
40121 if { (ac_try="$ac_compile"
40122 case "(($ac_try" in
40123 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40124 *) ac_try_echo
=$ac_try;;
40126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40127 (eval "$ac_compile") 2>conftest.er1
40129 grep -v '^ *+' conftest.er1
>conftest.err
40131 cat conftest.err
>&5
40132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40133 (exit $ac_status); } && {
40134 test -z "$ac_c_werror_flag" ||
40135 test ! -s conftest.err
40136 } && test -s conftest.
$ac_objext; then
40137 ac_cv_func_which_gethostbyname_r
=five
40139 echo "$as_me: failed program was:" >&5
40140 sed 's/^/| /' conftest.
$ac_ext >&5
40145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40151 # (e.g. AIX, HP-UX, Tru64)
40154 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40156 cat >conftest.
$ac_ext <<_ACEOF
40159 cat confdefs.h
>>conftest.
$ac_ext
40160 cat >>conftest.
$ac_ext <<_ACEOF
40161 /* end confdefs.h. */
40167 char *name = "www.gnu.org";
40168 struct hostent ret;
40169 struct hostent_data data;
40170 (void)gethostbyname_r(name, &ret, &data) /* ; */
40176 rm -f conftest.
$ac_objext
40177 if { (ac_try
="$ac_compile"
40178 case "(($ac_try" in
40179 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40180 *) ac_try_echo=$ac_try;;
40182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40183 (eval "$ac_compile") 2>conftest.er1
40185 grep -v '^ *+' conftest.er1 >conftest.err
40187 cat conftest.err >&5
40188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40189 (exit $ac_status); } && {
40190 test -z "$ac_c_werror_flag" ||
40191 test ! -s conftest.err
40192 } && test -s conftest.$ac_objext; then
40193 ac_cv_func_which_gethostbyname_r=three
40195 echo "$as_me: failed program was:" >&5
40196 sed 's/^/| /' conftest.$ac_ext >&5
40201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40205 ################################################################
40210 case "$ac_cv_func_which_gethostbyname_r" in
40212 { echo "$as_me:$LINENO: result: three" >&5
40213 echo "${ECHO_T}three" >&6; }
40214 cat >>confdefs.h <<\_ACEOF
40215 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40221 { echo "$as_me:$LINENO: result: five" >&5
40222 echo "${ECHO_T}five" >&6; }
40223 cat >>confdefs.h <<\_ACEOF
40224 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40230 { echo "$as_me:$LINENO: result: six" >&5
40231 echo "${ECHO_T}six" >&6; }
40232 cat >>confdefs.h <<\_ACEOF
40233 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40239 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40240 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40244 { echo "$as_me:$LINENO: result: can't tell" >&5
40245 echo "${ECHO_T}can't tell" >&6; }
40249 { { echo "$as_me:$LINENO: error: internal error" >&5
40250 echo "$as_me: error: internal error" >&2;}
40251 { (exit 1); exit 1; }; }
40256 ac_cpp='$CPP $CPPFLAGS'
40257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40263 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40264 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40265 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40266 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40267 if test "${ac_cv_func_gethostbyname+set}" = set; then
40268 echo $ECHO_N "(cached) $ECHO_C" >&6
40270 cat >conftest.$ac_ext <<_ACEOF
40273 cat confdefs.h >>conftest.$ac_ext
40274 cat >>conftest.$ac_ext <<_ACEOF
40275 /* end confdefs.h. */
40276 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40278 #define gethostbyname innocuous_gethostbyname
40280 /* System header to define __stub macros and hopefully few prototypes,
40281 which can conflict with char gethostbyname (); below.
40282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40283 <limits.h> exists even on freestanding compilers. */
40286 # include <limits.h>
40288 # include <assert.h>
40291 #undef gethostbyname
40293 /* Override any GCC internal prototype to avoid an error.
40294 Use char because int might match the return type of a GCC
40295 builtin and then its argument prototype would still apply. */
40299 char gethostbyname ();
40300 /* The GNU C library defines this for functions which it implements
40301 to always fail with ENOSYS. Some functions are actually named
40302 something starting with __ and the normal name is an alias. */
40303 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40310 return gethostbyname ();
40315 rm -f conftest.$ac_objext conftest$ac_exeext
40316 if { (ac_try="$ac_link"
40317 case "(($ac_try" in
40318 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40319 *) ac_try_echo
=$ac_try;;
40321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40322 (eval "$ac_link") 2>conftest.er1
40324 grep -v '^ *+' conftest.er1
>conftest.err
40326 cat conftest.err
>&5
40327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40328 (exit $ac_status); } && {
40329 test -z "$ac_c_werror_flag" ||
40330 test ! -s conftest.err
40331 } && test -s conftest
$ac_exeext &&
40332 $as_test_x conftest
$ac_exeext; then
40333 ac_cv_func_gethostbyname
=yes
40335 echo "$as_me: failed program was:" >&5
40336 sed 's/^/| /' conftest.
$ac_ext >&5
40338 ac_cv_func_gethostbyname
=no
40341 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40342 conftest
$ac_exeext conftest.
$ac_ext
40344 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40345 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40346 if test $ac_cv_func_gethostbyname = yes; then
40347 cat >>confdefs.h
<<\_ACEOF
40348 #define HAVE_GETHOSTBYNAME 1
40355 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40356 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40357 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40358 echo $ECHO_N "(cached) $ECHO_C" >&6
40362 ac_cpp
='$CXXCPP $CPPFLAGS'
40363 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40364 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40365 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40368 cat >conftest.
$ac_ext <<_ACEOF
40371 cat confdefs.h
>>conftest.
$ac_ext
40372 cat >>conftest.
$ac_ext <<_ACEOF
40373 /* end confdefs.h. */
40381 struct servent *se, *res;
40384 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40390 rm -f conftest.
$ac_objext
40391 if { (ac_try
="$ac_compile"
40392 case "(($ac_try" in
40393 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40394 *) ac_try_echo=$ac_try;;
40396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40397 (eval "$ac_compile") 2>conftest.er1
40399 grep -v '^ *+' conftest.er1 >conftest.err
40401 cat conftest.err >&5
40402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40403 (exit $ac_status); } && {
40404 test -z "$ac_cxx_werror_flag" ||
40405 test ! -s conftest.err
40406 } && test -s conftest.$ac_objext; then
40407 ac_cv_func_which_getservbyname_r=six
40409 echo "$as_me: failed program was:" >&5
40410 sed 's/^/| /' conftest.$ac_ext >&5
40413 cat >conftest.$ac_ext <<_ACEOF
40416 cat confdefs.h >>conftest.$ac_ext
40417 cat >>conftest.$ac_ext <<_ACEOF
40418 /* end confdefs.h. */
40426 struct servent *se;
40429 (void) getservbyname_r(name, proto, se, buffer, buflen)
40435 rm -f conftest.$ac_objext
40436 if { (ac_try="$ac_compile"
40437 case "(($ac_try" in
40438 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40439 *) ac_try_echo
=$ac_try;;
40441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40442 (eval "$ac_compile") 2>conftest.er1
40444 grep -v '^ *+' conftest.er1
>conftest.err
40446 cat conftest.err
>&5
40447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40448 (exit $ac_status); } && {
40449 test -z "$ac_cxx_werror_flag" ||
40450 test ! -s conftest.err
40451 } && test -s conftest.
$ac_objext; then
40452 ac_cv_func_which_getservbyname_r
=five
40454 echo "$as_me: failed program was:" >&5
40455 sed 's/^/| /' conftest.
$ac_ext >&5
40458 cat >conftest.
$ac_ext <<_ACEOF
40461 cat confdefs.h
>>conftest.
$ac_ext
40462 cat >>conftest.
$ac_ext <<_ACEOF
40463 /* end confdefs.h. */
40471 struct servent *se;
40472 struct servent_data data;
40473 (void) getservbyname_r(name, proto, se, &data);
40479 rm -f conftest.
$ac_objext
40480 if { (ac_try
="$ac_compile"
40481 case "(($ac_try" in
40482 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40483 *) ac_try_echo=$ac_try;;
40485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40486 (eval "$ac_compile") 2>conftest.er1
40488 grep -v '^ *+' conftest.er1 >conftest.err
40490 cat conftest.err >&5
40491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40492 (exit $ac_status); } && {
40493 test -z "$ac_cxx_werror_flag" ||
40494 test ! -s conftest.err
40495 } && test -s conftest.$ac_objext; then
40496 ac_cv_func_which_getservbyname_r=four
40498 echo "$as_me: failed program was:" >&5
40499 sed 's/^/| /' conftest.$ac_ext >&5
40501 ac_cv_func_which_getservbyname_r=no
40505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40517 ac_cpp='$CPP $CPPFLAGS'
40518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40525 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40526 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40528 if test $ac_cv_func_which_getservbyname_r = six; then
40529 cat >>confdefs.h <<\_ACEOF
40530 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40533 elif test $ac_cv_func_which_getservbyname_r = five; then
40534 cat >>confdefs.h <<\_ACEOF
40535 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40538 elif test $ac_cv_func_which_getservbyname_r = four; then
40539 cat >>confdefs.h <<\_ACEOF
40540 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40546 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40547 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40549 for ac_func in getservbyname
40551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40552 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40554 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40555 echo $ECHO_N "(cached) $ECHO_C" >&6
40557 cat >conftest.$ac_ext <<_ACEOF
40560 cat confdefs.h >>conftest.$ac_ext
40561 cat >>conftest.$ac_ext <<_ACEOF
40562 /* end confdefs.h. */
40563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40565 #define $ac_func innocuous_$ac_func
40567 /* System header to define __stub macros and hopefully few prototypes,
40568 which can conflict with char $ac_func (); below.
40569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40570 <limits.h> exists even on freestanding compilers. */
40573 # include <limits.h>
40575 # include <assert.h>
40580 /* Override any GCC internal prototype to avoid an error.
40581 Use char because int might match the return type of a GCC
40582 builtin and then its argument prototype would still apply. */
40587 /* The GNU C library defines this for functions which it implements
40588 to always fail with ENOSYS. Some functions are actually named
40589 something starting with __ and the normal name is an alias. */
40590 #if defined __stub_$ac_func || defined __stub___$ac_func
40597 return $ac_func ();
40602 rm -f conftest.$ac_objext conftest$ac_exeext
40603 if { (ac_try="$ac_link"
40604 case "(($ac_try" in
40605 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40606 *) ac_try_echo
=$ac_try;;
40608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40609 (eval "$ac_link") 2>conftest.er1
40611 grep -v '^ *+' conftest.er1
>conftest.err
40613 cat conftest.err
>&5
40614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40615 (exit $ac_status); } && {
40616 test -z "$ac_c_werror_flag" ||
40617 test ! -s conftest.err
40618 } && test -s conftest
$ac_exeext &&
40619 $as_test_x conftest
$ac_exeext; then
40620 eval "$as_ac_var=yes"
40622 echo "$as_me: failed program was:" >&5
40623 sed 's/^/| /' conftest.
$ac_ext >&5
40625 eval "$as_ac_var=no"
40628 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40629 conftest
$ac_exeext conftest.
$ac_ext
40631 ac_res
=`eval echo '${'$as_ac_var'}'`
40632 { echo "$as_me:$LINENO: result: $ac_res" >&5
40633 echo "${ECHO_T}$ac_res" >&6; }
40634 if test `eval echo '${'$as_ac_var'}'` = yes; then
40635 cat >>confdefs.h
<<_ACEOF
40636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40638 cat >>confdefs.h
<<\_ACEOF
40639 #define HAVE_GETSERVBYNAME 1
40647 if test "$wxUSE_THREADS" = "yes"; then
40648 cat >>confdefs.h
<<\_ACEOF
40649 #define wxUSE_THREADS 1
40653 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
40655 if test "$wx_cv_func_strtok_r" = "yes"; then
40656 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40657 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40658 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40659 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40660 { echo "$as_me:$LINENO: result: yes" >&5
40661 echo "${ECHO_T}yes" >&6; }
40663 { echo "$as_me:$LINENO: result: no" >&5
40664 echo "${ECHO_T}no" >&6; }
40669 if test "$WXGTK2" = 1 ; then
40670 cat >>confdefs.h
<<_ACEOF
40671 #define __WXGTK20__ $WXGTK2
40677 if test "$WXGTK12" = 1 ; then
40678 cat >>confdefs.h
<<_ACEOF
40679 #define __WXGTK12__ $WXGTK12
40684 if test "$WXGTK127" = 1 ; then
40685 cat >>confdefs.h
<<_ACEOF
40686 #define __WXGTK127__ $WXGTK127
40691 if test "$WXGPE" = 1 ; then
40692 cat >>confdefs.h
<<_ACEOF
40693 #define __WXGPE__ $WXGPE
40699 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40704 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40705 wxUSE_DEBUG_INFO
=yes
40706 if test "$GCC" = yes; then
40707 DEBUG_CFLAGS
="-ggdb"
40711 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40712 cat >>confdefs.h
<<\_ACEOF
40716 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40718 if test "$wxUSE_GTK" = 1 ; then
40719 if test "x$wxGTK_VERSION" = "x1" ; then
40720 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40725 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40726 cat >>confdefs.h
<<\_ACEOF
40727 #define wxUSE_MEMORY_TRACING 1
40730 cat >>confdefs.h
<<\_ACEOF
40731 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40734 cat >>confdefs.h
<<\_ACEOF
40735 #define wxUSE_DEBUG_NEW_ALWAYS 1
40738 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
40741 if test "$wxUSE_DMALLOC" = "yes" ; then
40742 DMALLOC_LIBS
="-ldmallocthcxx"
40746 if test "$wxUSE_PROFILE" = "yes" ; then
40747 PROFILE_FLAGS
=" -pg"
40750 if test "$GCC" = "yes" ; then
40751 if test "$wxUSE_NO_RTTI" = "yes" ; then
40752 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
40754 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40755 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
40757 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40758 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
40763 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
40766 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
40772 if test "$wxUSE_OPTIMISE" = "no" ; then
40773 if test "$GCC" = yes ; then
40774 OPTIMISE_CFLAGS
="-O0"
40777 if test "$GCC" = yes ; then
40779 *-pc-os2_emx | *-pc-os2-emx )
40780 OPTIMISE_CFLAGS
="-O2"
40783 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
40787 OPTIMISE_CFLAGS
="-O"
40792 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40793 cat >>confdefs.h
<<\_ACEOF
40794 #define WXWIN_COMPATIBILITY_2_6 1
40798 WXWIN_COMPATIBILITY_2_8
="yes"
40801 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40802 cat >>confdefs.h
<<\_ACEOF
40803 #define WXWIN_COMPATIBILITY_2_8 1
40809 if test "$wxUSE_GUI" = "yes"; then
40810 cat >>confdefs.h
<<\_ACEOF
40811 #define wxUSE_GUI 1
40818 if test "$wxUSE_UNIX" = "yes"; then
40819 cat >>confdefs.h
<<\_ACEOF
40820 #define wxUSE_UNIX 1
40826 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40830 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40831 if test "$USE_DARWIN" = 1; then
40833 elif test "$USE_DOS" = 1; then
40837 for ac_func
in dlopen
40839 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40840 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40842 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40843 echo $ECHO_N "(cached) $ECHO_C" >&6
40845 cat >conftest.
$ac_ext <<_ACEOF
40848 cat confdefs.h
>>conftest.
$ac_ext
40849 cat >>conftest.
$ac_ext <<_ACEOF
40850 /* end confdefs.h. */
40851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40853 #define $ac_func innocuous_$ac_func
40855 /* System header to define __stub macros and hopefully few prototypes,
40856 which can conflict with char $ac_func (); below.
40857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40858 <limits.h> exists even on freestanding compilers. */
40861 # include <limits.h>
40863 # include <assert.h>
40868 /* Override any GCC internal prototype to avoid an error.
40869 Use char because int might match the return type of a GCC
40870 builtin and then its argument prototype would still apply. */
40875 /* The GNU C library defines this for functions which it implements
40876 to always fail with ENOSYS. Some functions are actually named
40877 something starting with __ and the normal name is an alias. */
40878 #if defined __stub_$ac_func || defined __stub___$ac_func
40885 return $ac_func ();
40890 rm -f conftest.
$ac_objext conftest
$ac_exeext
40891 if { (ac_try
="$ac_link"
40892 case "(($ac_try" in
40893 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40894 *) ac_try_echo=$ac_try;;
40896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40897 (eval "$ac_link") 2>conftest.er1
40899 grep -v '^ *+' conftest.er1 >conftest.err
40901 cat conftest.err >&5
40902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40903 (exit $ac_status); } && {
40904 test -z "$ac_c_werror_flag" ||
40905 test ! -s conftest.err
40906 } && test -s conftest$ac_exeext &&
40907 $as_test_x conftest$ac_exeext; then
40908 eval "$as_ac_var=yes"
40910 echo "$as_me: failed program was:" >&5
40911 sed 's/^/| /' conftest.$ac_ext >&5
40913 eval "$as_ac_var=no"
40916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40917 conftest$ac_exeext conftest.$ac_ext
40919 ac_res=`eval echo '${'$as_ac_var'}'`
40920 { echo "$as_me:$LINENO: result: $ac_res" >&5
40921 echo "${ECHO_T}$ac_res" >&6; }
40922 if test `eval echo '${'$as_ac_var'}'` = yes; then
40923 cat >>confdefs.h <<_ACEOF
40924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40927 cat >>confdefs.h <<\_ACEOF
40928 #define HAVE_DLOPEN 1
40935 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40936 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40937 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40938 echo $ECHO_N "(cached) $ECHO_C" >&6
40940 ac_check_lib_save_LIBS=$LIBS
40942 cat >conftest.$ac_ext <<_ACEOF
40945 cat confdefs.h >>conftest.$ac_ext
40946 cat >>conftest.$ac_ext <<_ACEOF
40947 /* end confdefs.h. */
40949 /* Override any GCC internal prototype to avoid an error.
40950 Use char because int might match the return type of a GCC
40951 builtin and then its argument prototype would still apply. */
40964 rm -f conftest.$ac_objext conftest$ac_exeext
40965 if { (ac_try="$ac_link"
40966 case "(($ac_try" in
40967 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40968 *) ac_try_echo
=$ac_try;;
40970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40971 (eval "$ac_link") 2>conftest.er1
40973 grep -v '^ *+' conftest.er1
>conftest.err
40975 cat conftest.err
>&5
40976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40977 (exit $ac_status); } && {
40978 test -z "$ac_c_werror_flag" ||
40979 test ! -s conftest.err
40980 } && test -s conftest
$ac_exeext &&
40981 $as_test_x conftest
$ac_exeext; then
40982 ac_cv_lib_dl_dlopen
=yes
40984 echo "$as_me: failed program was:" >&5
40985 sed 's/^/| /' conftest.
$ac_ext >&5
40987 ac_cv_lib_dl_dlopen
=no
40990 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40991 conftest
$ac_exeext conftest.
$ac_ext
40992 LIBS
=$ac_check_lib_save_LIBS
40994 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40995 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40996 if test $ac_cv_lib_dl_dlopen = yes; then
40998 cat >>confdefs.h
<<\_ACEOF
40999 #define HAVE_DLOPEN 1
41003 DL_LINK
=" -ldl$DL_LINK"
41008 for ac_func
in shl_load
41010 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41011 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41013 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41014 echo $ECHO_N "(cached) $ECHO_C" >&6
41016 cat >conftest.
$ac_ext <<_ACEOF
41019 cat confdefs.h
>>conftest.
$ac_ext
41020 cat >>conftest.
$ac_ext <<_ACEOF
41021 /* end confdefs.h. */
41022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41024 #define $ac_func innocuous_$ac_func
41026 /* System header to define __stub macros and hopefully few prototypes,
41027 which can conflict with char $ac_func (); below.
41028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41029 <limits.h> exists even on freestanding compilers. */
41032 # include <limits.h>
41034 # include <assert.h>
41039 /* Override any GCC internal prototype to avoid an error.
41040 Use char because int might match the return type of a GCC
41041 builtin and then its argument prototype would still apply. */
41046 /* The GNU C library defines this for functions which it implements
41047 to always fail with ENOSYS. Some functions are actually named
41048 something starting with __ and the normal name is an alias. */
41049 #if defined __stub_$ac_func || defined __stub___$ac_func
41056 return $ac_func ();
41061 rm -f conftest.
$ac_objext conftest
$ac_exeext
41062 if { (ac_try
="$ac_link"
41063 case "(($ac_try" in
41064 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41065 *) ac_try_echo=$ac_try;;
41067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41068 (eval "$ac_link") 2>conftest.er1
41070 grep -v '^ *+' conftest.er1 >conftest.err
41072 cat conftest.err >&5
41073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41074 (exit $ac_status); } && {
41075 test -z "$ac_c_werror_flag" ||
41076 test ! -s conftest.err
41077 } && test -s conftest$ac_exeext &&
41078 $as_test_x conftest$ac_exeext; then
41079 eval "$as_ac_var=yes"
41081 echo "$as_me: failed program was:" >&5
41082 sed 's/^/| /' conftest.$ac_ext >&5
41084 eval "$as_ac_var=no"
41087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41088 conftest$ac_exeext conftest.$ac_ext
41090 ac_res=`eval echo '${'$as_ac_var'}'`
41091 { echo "$as_me:$LINENO: result: $ac_res" >&5
41092 echo "${ECHO_T}$ac_res" >&6; }
41093 if test `eval echo '${'$as_ac_var'}'` = yes; then
41094 cat >>confdefs.h <<_ACEOF
41095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41098 cat >>confdefs.h <<\_ACEOF
41099 #define HAVE_SHL_LOAD 1
41106 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41107 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41108 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41109 echo $ECHO_N "(cached) $ECHO_C" >&6
41111 ac_check_lib_save_LIBS=$LIBS
41112 LIBS="-lshl_load $LIBS"
41113 cat >conftest.$ac_ext <<_ACEOF
41116 cat confdefs.h >>conftest.$ac_ext
41117 cat >>conftest.$ac_ext <<_ACEOF
41118 /* end confdefs.h. */
41120 /* Override any GCC internal prototype to avoid an error.
41121 Use char because int might match the return type of a GCC
41122 builtin and then its argument prototype would still apply. */
41135 rm -f conftest.$ac_objext conftest$ac_exeext
41136 if { (ac_try="$ac_link"
41137 case "(($ac_try" in
41138 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41139 *) ac_try_echo
=$ac_try;;
41141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41142 (eval "$ac_link") 2>conftest.er1
41144 grep -v '^ *+' conftest.er1
>conftest.err
41146 cat conftest.err
>&5
41147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41148 (exit $ac_status); } && {
41149 test -z "$ac_c_werror_flag" ||
41150 test ! -s conftest.err
41151 } && test -s conftest
$ac_exeext &&
41152 $as_test_x conftest
$ac_exeext; then
41153 ac_cv_lib_shl_load_dld
=yes
41155 echo "$as_me: failed program was:" >&5
41156 sed 's/^/| /' conftest.
$ac_ext >&5
41158 ac_cv_lib_shl_load_dld
=no
41161 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41162 conftest
$ac_exeext conftest.
$ac_ext
41163 LIBS
=$ac_check_lib_save_LIBS
41165 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41166 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41167 if test $ac_cv_lib_shl_load_dld = yes; then
41170 DL_LINK
=" -ldld$DL_LINK"
41186 if test "$HAVE_DL_FUNCS" = 1; then
41188 for ac_func
in dlerror
41190 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41191 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41193 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41194 echo $ECHO_N "(cached) $ECHO_C" >&6
41196 cat >conftest.
$ac_ext <<_ACEOF
41199 cat confdefs.h
>>conftest.
$ac_ext
41200 cat >>conftest.
$ac_ext <<_ACEOF
41201 /* end confdefs.h. */
41202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41204 #define $ac_func innocuous_$ac_func
41206 /* System header to define __stub macros and hopefully few prototypes,
41207 which can conflict with char $ac_func (); below.
41208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41209 <limits.h> exists even on freestanding compilers. */
41212 # include <limits.h>
41214 # include <assert.h>
41219 /* Override any GCC internal prototype to avoid an error.
41220 Use char because int might match the return type of a GCC
41221 builtin and then its argument prototype would still apply. */
41226 /* The GNU C library defines this for functions which it implements
41227 to always fail with ENOSYS. Some functions are actually named
41228 something starting with __ and the normal name is an alias. */
41229 #if defined __stub_$ac_func || defined __stub___$ac_func
41236 return $ac_func ();
41241 rm -f conftest.
$ac_objext conftest
$ac_exeext
41242 if { (ac_try
="$ac_link"
41243 case "(($ac_try" in
41244 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41245 *) ac_try_echo=$ac_try;;
41247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41248 (eval "$ac_link") 2>conftest.er1
41250 grep -v '^ *+' conftest.er1 >conftest.err
41252 cat conftest.err >&5
41253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41254 (exit $ac_status); } && {
41255 test -z "$ac_c_werror_flag" ||
41256 test ! -s conftest.err
41257 } && test -s conftest$ac_exeext &&
41258 $as_test_x conftest$ac_exeext; then
41259 eval "$as_ac_var=yes"
41261 echo "$as_me: failed program was:" >&5
41262 sed 's/^/| /' conftest.$ac_ext >&5
41264 eval "$as_ac_var=no"
41267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41268 conftest$ac_exeext conftest.$ac_ext
41270 ac_res=`eval echo '${'$as_ac_var'}'`
41271 { echo "$as_me:$LINENO: result: $ac_res" >&5
41272 echo "${ECHO_T}$ac_res" >&6; }
41273 if test `eval echo '${'$as_ac_var'}'` = yes; then
41274 cat >>confdefs.h <<_ACEOF
41275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41277 cat >>confdefs.h <<\_ACEOF
41278 #define HAVE_DLERROR 1
41283 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41284 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41285 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41286 echo $ECHO_N "(cached) $ECHO_C" >&6
41288 ac_check_lib_save_LIBS=$LIBS
41290 cat >conftest.$ac_ext <<_ACEOF
41293 cat confdefs.h >>conftest.$ac_ext
41294 cat >>conftest.$ac_ext <<_ACEOF
41295 /* end confdefs.h. */
41297 /* Override any GCC internal prototype to avoid an error.
41298 Use char because int might match the return type of a GCC
41299 builtin and then its argument prototype would still apply. */
41312 rm -f conftest.$ac_objext conftest$ac_exeext
41313 if { (ac_try="$ac_link"
41314 case "(($ac_try" in
41315 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41316 *) ac_try_echo
=$ac_try;;
41318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41319 (eval "$ac_link") 2>conftest.er1
41321 grep -v '^ *+' conftest.er1
>conftest.err
41323 cat conftest.err
>&5
41324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41325 (exit $ac_status); } && {
41326 test -z "$ac_c_werror_flag" ||
41327 test ! -s conftest.err
41328 } && test -s conftest
$ac_exeext &&
41329 $as_test_x conftest
$ac_exeext; then
41330 ac_cv_lib_dl_dlerror
=yes
41332 echo "$as_me: failed program was:" >&5
41333 sed 's/^/| /' conftest.
$ac_ext >&5
41335 ac_cv_lib_dl_dlerror
=no
41338 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41339 conftest
$ac_exeext conftest.
$ac_ext
41340 LIBS
=$ac_check_lib_save_LIBS
41342 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41343 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41344 if test $ac_cv_lib_dl_dlerror = yes; then
41345 cat >>confdefs.h
<<\_ACEOF
41346 #define HAVE_DLERROR 1
41359 if test "$HAVE_DL_FUNCS" = 0; then
41360 if test "$HAVE_SHL_FUNCS" = 0; then
41361 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41362 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41363 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41364 wxUSE_DYNAMIC_LOADER
=no
41365 wxUSE_DYNLIB_CLASS
=no
41367 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41368 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41375 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41376 cat >>confdefs.h
<<\_ACEOF
41377 #define wxUSE_DYNAMIC_LOADER 1
41381 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41382 cat >>confdefs.h
<<\_ACEOF
41383 #define wxUSE_DYNLIB_CLASS 1
41390 if test "$wxUSE_PLUGINS" = "yes" ; then
41391 if test "$wxUSE_SHARED" = "no" ; then
41392 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41393 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41396 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41397 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41398 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41401 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41402 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41403 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41406 if test "$wxUSE_PLUGINS" = "yes" ; then
41407 cat >>confdefs.h
<<\_ACEOF
41408 #define wxUSE_PLUGINS 1
41415 if test "$wxUSE_STL" = "yes"; then
41416 cat >>confdefs.h
<<\_ACEOF
41417 #define wxUSE_STL 1
41422 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41423 cat >>confdefs.h
<<\_ACEOF
41424 #define wxUSE_EXTENDED_RTTI 1
41429 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41430 cat >>confdefs.h
<<\_ACEOF
41431 #define wxUSE_APPLE_IEEE 1
41436 if test "$wxUSE_TIMER" = "yes"; then
41437 cat >>confdefs.h
<<\_ACEOF
41438 #define wxUSE_TIMER 1
41443 if test "$USE_UNIX" = 1 ; then
41444 if test "$wxUSE_MGL" != 1; then
41445 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41446 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41447 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41448 echo $ECHO_N "(cached) $ECHO_C" >&6
41451 cat >conftest.
$ac_ext <<_ACEOF
41454 cat confdefs.h
>>conftest.
$ac_ext
41455 cat >>conftest.
$ac_ext <<_ACEOF
41456 /* end confdefs.h. */
41458 #include <sys/ioctl.h>
41459 #include <sys/soundcard.h>
41465 ioctl(0, SNDCTL_DSP_SPEED, 0);
41471 rm -f conftest.
$ac_objext conftest
$ac_exeext
41472 if { (ac_try
="$ac_link"
41473 case "(($ac_try" in
41474 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41475 *) ac_try_echo=$ac_try;;
41477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41478 (eval "$ac_link") 2>conftest.er1
41480 grep -v '^ *+' conftest.er1 >conftest.err
41482 cat conftest.err >&5
41483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41484 (exit $ac_status); } && {
41485 test -z "$ac_c_werror_flag" ||
41486 test ! -s conftest.err
41487 } && test -s conftest$ac_exeext &&
41488 $as_test_x conftest$ac_exeext; then
41489 ac_cv_header_sys_soundcard=yes
41491 echo "$as_me: failed program was:" >&5
41492 sed 's/^/| /' conftest.$ac_ext >&5
41496 LIBS="$saveLibs -lossaudio"
41497 cat >conftest.$ac_ext <<_ACEOF
41500 cat confdefs.h >>conftest.$ac_ext
41501 cat >>conftest.$ac_ext <<_ACEOF
41502 /* end confdefs.h. */
41504 #include <sys/ioctl.h>
41505 #include <sys/soundcard.h>
41511 ioctl(0, SNDCTL_DSP_SPEED, 0);
41517 rm -f conftest.$ac_objext conftest$ac_exeext
41518 if { (ac_try="$ac_link"
41519 case "(($ac_try" in
41520 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41521 *) ac_try_echo
=$ac_try;;
41523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41524 (eval "$ac_link") 2>conftest.er1
41526 grep -v '^ *+' conftest.er1
>conftest.err
41528 cat conftest.err
>&5
41529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41530 (exit $ac_status); } && {
41531 test -z "$ac_c_werror_flag" ||
41532 test ! -s conftest.err
41533 } && test -s conftest
$ac_exeext &&
41534 $as_test_x conftest
$ac_exeext; then
41535 ac_cv_header_sys_soundcard
=yes
41537 echo "$as_me: failed program was:" >&5
41538 sed 's/^/| /' conftest.
$ac_ext >&5
41542 ac_cv_header_sys_soundcard
=no
41547 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41548 conftest
$ac_exeext conftest.
$ac_ext
41553 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41554 conftest
$ac_exeext conftest.
$ac_ext
41557 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41558 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41561 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41562 cat >>confdefs.h
<<\_ACEOF
41563 #define HAVE_SYS_SOUNDCARD_H 1
41570 if test "$wxUSE_SOUND" = "yes"; then
41571 if test "$USE_UNIX" = 1 ; then
41572 if test "$wxUSE_LIBSDL" != "no"; then
41574 # Check whether --with-sdl-prefix was given.
41575 if test "${with_sdl_prefix+set}" = set; then
41576 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
41582 # Check whether --with-sdl-exec-prefix was given.
41583 if test "${with_sdl_exec_prefix+set}" = set; then
41584 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
41589 # Check whether --enable-sdltest was given.
41590 if test "${enable_sdltest+set}" = set; then
41591 enableval
=$enable_sdltest;
41597 if test x
$sdl_exec_prefix != x
; then
41598 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
41599 if test x
${SDL_CONFIG+set} != xset
; then
41600 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
41603 if test x
$sdl_prefix != x
; then
41604 sdl_args
="$sdl_args --prefix=$sdl_prefix"
41605 if test x
${SDL_CONFIG+set} != xset
; then
41606 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
41610 if test "x$prefix" != xNONE
; then
41611 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
41613 # Extract the first word of "sdl-config", so it can be a program name with args.
41614 set dummy sdl
-config; ac_word
=$2
41615 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41617 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41618 echo $ECHO_N "(cached) $ECHO_C" >&6
41620 case $SDL_CONFIG in
41622 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
41625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41626 for as_dir
in $PATH
41629 test -z "$as_dir" && as_dir
=.
41630 for ac_exec_ext
in '' $ac_executable_extensions; do
41631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41632 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41640 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
41644 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
41645 if test -n "$SDL_CONFIG"; then
41646 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41647 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41649 { echo "$as_me:$LINENO: result: no" >&5
41650 echo "${ECHO_T}no" >&6; }
41654 min_sdl_version
=1.2.0
41655 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41656 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41658 if test "$SDL_CONFIG" = "no" ; then
41661 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
41662 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
41664 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
41665 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41666 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
41667 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41668 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
41669 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41670 if test "x$enable_sdltest" = "xyes" ; then
41671 ac_save_CFLAGS
="$CFLAGS"
41672 ac_save_CXXFLAGS
="$CXXFLAGS"
41673 ac_save_LIBS
="$LIBS"
41674 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41675 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41676 LIBS
="$LIBS $SDL_LIBS"
41678 if test "$cross_compiling" = yes; then
41679 echo $ac_n "cross compiling; assumed OK... $ac_c"
41681 cat >conftest.
$ac_ext <<_ACEOF
41684 cat confdefs.h
>>conftest.
$ac_ext
41685 cat >>conftest.
$ac_ext <<_ACEOF
41686 /* end confdefs.h. */
41689 #include <stdlib.h>
41690 #include <string.h>
41694 my_strdup (char *str)
41700 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41701 strcpy (new_str, str);
41709 int main (int argc, char *argv[])
41711 int major, minor, micro;
41714 /* This hangs on some systems (?)
41715 system ("touch conf.sdltest");
41717 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41719 /* HP/UX 9 (%@#!) writes to sscanf strings */
41720 tmp_version = my_strdup("$min_sdl_version");
41721 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41722 printf("%s, bad version string\n", "$min_sdl_version");
41726 if (($sdl_major_version > major) ||
41727 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41728 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41734 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41735 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41736 printf("*** best to upgrade to the required version.\n");
41737 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41738 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41739 printf("*** config.cache before re-running configure\n");
41746 rm -f conftest
$ac_exeext
41747 if { (ac_try
="$ac_link"
41748 case "(($ac_try" in
41749 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41750 *) ac_try_echo=$ac_try;;
41752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41753 (eval "$ac_link") 2>&5
41755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41756 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41757 { (case "(($ac_try" in
41758 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41759 *) ac_try_echo
=$ac_try;;
41761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41762 (eval "$ac_try") 2>&5
41764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41765 (exit $ac_status); }; }; then
41768 echo "$as_me: program exited with status $ac_status" >&5
41769 echo "$as_me: failed program was:" >&5
41770 sed 's/^/| /' conftest.
$ac_ext >&5
41772 ( exit $ac_status )
41775 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
41779 CFLAGS
="$ac_save_CFLAGS"
41780 CXXFLAGS
="$ac_save_CXXFLAGS"
41781 LIBS
="$ac_save_LIBS"
41784 if test "x$no_sdl" = x
; then
41785 { echo "$as_me:$LINENO: result: yes" >&5
41786 echo "${ECHO_T}yes" >&6; }
41788 EXTRALIBS_SDL
="$SDL_LIBS"
41789 CFLAGS
="$SDL_CFLAGS $CFLAGS"
41790 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
41791 cat >>confdefs.h
<<\_ACEOF
41792 #define wxUSE_LIBSDL 1
41797 { echo "$as_me:$LINENO: result: no" >&5
41798 echo "${ECHO_T}no" >&6; }
41799 if test "$SDL_CONFIG" = "no" ; then
41800 echo "*** The sdl-config script installed by SDL could not be found"
41801 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41802 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41803 echo "*** full path to sdl-config."
41805 if test -f conf.sdltest
; then
41808 echo "*** Could not run SDL test program, checking why..."
41809 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41810 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41811 LIBS
="$LIBS $SDL_LIBS"
41812 cat >conftest.
$ac_ext <<_ACEOF
41815 cat confdefs.h
>>conftest.
$ac_ext
41816 cat >>conftest.
$ac_ext <<_ACEOF
41817 /* end confdefs.h. */
41822 int main(int argc, char *argv[])
41825 #define main K_and_R_C_main
41835 rm -f conftest.
$ac_objext conftest
$ac_exeext
41836 if { (ac_try
="$ac_link"
41837 case "(($ac_try" in
41838 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41839 *) ac_try_echo=$ac_try;;
41841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41842 (eval "$ac_link") 2>conftest.er1
41844 grep -v '^ *+' conftest.er1 >conftest.err
41846 cat conftest.err >&5
41847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41848 (exit $ac_status); } && {
41849 test -z "$ac_c_werror_flag" ||
41850 test ! -s conftest.err
41851 } && test -s conftest$ac_exeext &&
41852 $as_test_x conftest$ac_exeext; then
41853 echo "*** The test program compiled, but did not run. This usually means"
41854 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41855 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41856 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41857 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41858 echo "*** is required on your system"
41860 echo "*** If you have an old version installed, it is best to remove it, although"
41861 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41863 echo "$as_me: failed program was:" >&5
41864 sed 's/^/| /' conftest.$ac_ext >&5
41866 echo "*** The test program failed to compile or link. See the file config.log for the"
41867 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41868 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41869 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41873 conftest$ac_exeext conftest.$ac_ext
41874 CFLAGS="$ac_save_CFLAGS"
41875 CXXFLAGS="$ac_save_CXXFLAGS"
41876 LIBS="$ac_save_LIBS"
41887 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41892 if test "$wxUSE_MGL" = 1; then
41893 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41894 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41900 if test "$wxUSE_SOUND" = "yes"; then
41901 cat >>confdefs.h <<\_ACEOF
41902 #define wxUSE_SOUND 1
41905 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41908 if test "$WXGTK2" = 1; then
41911 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41912 if test -n "$ac_tool_prefix"; then
41913 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41914 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41915 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41917 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41918 echo $ECHO_N "(cached) $ECHO_C" >&6
41920 case $PKG_CONFIG in
41922 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41926 for as_dir in $PATH
41929 test -z "$as_dir" && as_dir=.
41930 for ac_exec_ext in '' $ac_executable_extensions; do
41931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41932 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41943 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41944 if test -n "$PKG_CONFIG"; then
41945 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41946 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41948 { echo "$as_me:$LINENO: result: no" >&5
41949 echo "${ECHO_T}no" >&6; }
41954 if test -z "$ac_cv_path_PKG_CONFIG"; then
41955 ac_pt_PKG_CONFIG=$PKG_CONFIG
41956 # Extract the first word of "pkg-config", so it can be a program name with args.
41957 set dummy pkg-config; ac_word=$2
41958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41960 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41961 echo $ECHO_N "(cached) $ECHO_C" >&6
41963 case $ac_pt_PKG_CONFIG in
41965 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41969 for as_dir in $PATH
41972 test -z "$as_dir" && as_dir=.
41973 for ac_exec_ext in '' $ac_executable_extensions; do
41974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41975 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41986 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41987 if test -n "$ac_pt_PKG_CONFIG"; then
41988 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41989 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41991 { echo "$as_me:$LINENO: result: no" >&5
41992 echo "${ECHO_T}no" >&6; }
41995 if test "x$ac_pt_PKG_CONFIG" = x; then
41998 case $cross_compiling:$ac_tool_warned in
42000 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42001 whose name does not start with the host triplet. If you think this
42002 configuration is useful to you, please write to autoconf@gnu.org." >&5
42003 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42004 whose name does not start with the host triplet. If you think this
42005 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42006 ac_tool_warned=yes ;;
42008 PKG_CONFIG=$ac_pt_PKG_CONFIG
42011 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42015 if test -n "$PKG_CONFIG"; then
42016 _pkg_min_version=0.9.0
42017 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42018 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42019 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42020 { echo "$as_me:$LINENO: result: yes" >&5
42021 echo "${ECHO_T}yes" >&6; }
42023 { echo "$as_me:$LINENO: result: no" >&5
42024 echo "${ECHO_T}no" >&6; }
42030 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42032 if test "$wxUSE_GTKPRINT" = "yes" ; then
42036 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42037 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42039 if test -n "$PKG_CONFIG"; then
42040 if test -n "$GTKPRINT_CFLAGS"; then
42041 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42043 if test -n "$PKG_CONFIG" && \
42044 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42045 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42048 (exit $ac_status); }; then
42049 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
42057 if test -n "$PKG_CONFIG"; then
42058 if test -n "$GTKPRINT_LIBS"; then
42059 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42061 if test -n "$PKG_CONFIG" && \
42062 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42063 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42066 (exit $ac_status); }; then
42067 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
42078 if test $pkg_failed = yes; then
42080 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42081 _pkg_short_errors_supported=yes
42083 _pkg_short_errors_supported=no
42085 if test $_pkg_short_errors_supported = yes; then
42086 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42088 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42090 # Put the nasty error message in config.log where it belongs
42091 echo "$GTKPRINT_PKG_ERRORS" >&5
42094 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42095 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42096 wxUSE_GTKPRINT="no"
42099 elif test $pkg_failed = untried; then
42101 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42102 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42103 wxUSE_GTKPRINT="no"
42107 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42108 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42109 { echo "$as_me:$LINENO: result: yes" >&5
42110 echo "${ECHO_T}yes" >&6; }
42112 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42113 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42114 cat >>confdefs.h <<\_ACEOF
42115 #define wxUSE_GTKPRINT 1
42122 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42126 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42127 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42129 if test -n "$PKG_CONFIG"; then
42130 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42131 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42133 if test -n "$PKG_CONFIG" && \
42134 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42135 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42138 (exit $ac_status); }; then
42139 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
42147 if test -n "$PKG_CONFIG"; then
42148 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42149 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42151 if test -n "$PKG_CONFIG" && \
42152 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42153 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42156 (exit $ac_status); }; then
42157 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
42168 if test $pkg_failed = yes; then
42170 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42171 _pkg_short_errors_supported=yes
42173 _pkg_short_errors_supported=no
42175 if test $_pkg_short_errors_supported = yes; then
42176 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42178 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42180 # Put the nasty error message in config.log where it belongs
42181 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42184 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42185 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42186 wxUSE_LIBGNOMEPRINT="no"
42189 elif test $pkg_failed = untried; then
42191 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42192 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42193 wxUSE_LIBGNOMEPRINT="no"
42197 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42198 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42199 { echo "$as_me:$LINENO: result: yes" >&5
42200 echo "${ECHO_T}yes" >&6; }
42202 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42203 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42204 cat >>confdefs.h <<\_ACEOF
42205 #define wxUSE_LIBGNOMEPRINT 1
42213 if test "$wxUSE_MIMETYPE" = "yes" ; then
42214 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42218 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42219 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42221 if test -n "$PKG_CONFIG"; then
42222 if test -n "$GNOMEVFS_CFLAGS"; then
42223 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42225 if test -n "$PKG_CONFIG" && \
42226 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42227 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42230 (exit $ac_status); }; then
42231 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
42239 if test -n "$PKG_CONFIG"; then
42240 if test -n "$GNOMEVFS_LIBS"; then
42241 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42243 if test -n "$PKG_CONFIG" && \
42244 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42245 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42248 (exit $ac_status); }; then
42249 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
42260 if test $pkg_failed = yes; then
42262 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42263 _pkg_short_errors_supported=yes
42265 _pkg_short_errors_supported=no
42267 if test $_pkg_short_errors_supported = yes; then
42268 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42270 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42272 # Put the nasty error message in config.log where it belongs
42273 echo "$GNOMEVFS_PKG_ERRORS" >&5
42276 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42277 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42278 wxUSE_LIBGNOMEVFS="no"
42281 elif test $pkg_failed = untried; then
42283 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42284 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42285 wxUSE_LIBGNOMEVFS="no"
42289 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42290 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42291 { echo "$as_me:$LINENO: result: yes" >&5
42292 echo "${ECHO_T}yes" >&6; }
42294 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42295 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42296 cat >>confdefs.h <<\_ACEOF
42297 #define wxUSE_LIBGNOMEVFS 1
42305 if test "$wxUSE_LIBHILDON" = "yes" ; then
42308 { echo "$as_me:$LINENO: checking for HILDON" >&5
42309 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42311 if test -n "$PKG_CONFIG"; then
42312 if test -n "$HILDON_CFLAGS"; then
42313 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42315 if test -n "$PKG_CONFIG" && \
42316 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42317 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42320 (exit $ac_status); }; then
42321 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev
/null
`
42329 if test -n "$PKG_CONFIG"; then
42330 if test -n "$HILDON_LIBS"; then
42331 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42333 if test -n "$PKG_CONFIG" && \
42334 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42335 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42338 (exit $ac_status); }; then
42339 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev
/null
`
42350 if test $pkg_failed = yes; then
42352 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42353 _pkg_short_errors_supported=yes
42355 _pkg_short_errors_supported=no
42357 if test $_pkg_short_errors_supported = yes; then
42358 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42360 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42362 # Put the nasty error message in config.log where it belongs
42363 echo "$HILDON_PKG_ERRORS" >&5
42366 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42367 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42368 wxUSE_LIBHILDON="no"
42371 elif test $pkg_failed = untried; then
42373 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42374 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42375 wxUSE_LIBHILDON="no"
42379 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42380 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42381 { echo "$as_me:$LINENO: result: yes" >&5
42382 echo "${ECHO_T}yes" >&6; }
42384 EXTRALIBS_HILDON="$HILDON_LIBS"
42385 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42386 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42387 cat >>confdefs.h <<\_ACEOF
42388 #define wxUSE_LIBHILDON 1
42396 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42397 cat >>confdefs.h <<\_ACEOF
42398 #define wxUSE_CMDLINE_PARSER 1
42403 if test "$wxUSE_STOPWATCH" = "yes"; then
42404 cat >>confdefs.h <<\_ACEOF
42405 #define wxUSE_STOPWATCH 1
42410 if test "$wxUSE_DATETIME" = "yes"; then
42411 cat >>confdefs.h <<\_ACEOF
42412 #define wxUSE_DATETIME 1
42417 if test "$wxUSE_FILE" = "yes"; then
42418 cat >>confdefs.h <<\_ACEOF
42419 #define wxUSE_FILE 1
42424 if test "$wxUSE_FFILE" = "yes"; then
42425 cat >>confdefs.h <<\_ACEOF
42426 #define wxUSE_FFILE 1
42431 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42432 if test "$wxUSE_STREAMS" != yes; then
42433 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42434 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42435 wxUSE_ARCHIVE_STREAMS=no
42437 cat >>confdefs.h <<\_ACEOF
42438 #define wxUSE_ARCHIVE_STREAMS 1
42444 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42445 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42446 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42447 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42448 elif test "$wxUSE_ZLIB" = "no"; then
42449 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42450 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42452 cat >>confdefs.h <<\_ACEOF
42453 #define wxUSE_ZIPSTREAM 1
42459 if test "$wxUSE_TARSTREAM" = "yes"; then
42460 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42461 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42462 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42464 cat >>confdefs.h <<\_ACEOF
42465 #define wxUSE_TARSTREAM 1
42471 if test "$wxUSE_FILESYSTEM" = "yes"; then
42472 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42473 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42474 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42475 wxUSE_FILESYSTEM=no
42477 cat >>confdefs.h <<\_ACEOF
42478 #define wxUSE_FILESYSTEM 1
42484 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42485 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42486 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42487 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42489 cat >>confdefs.h <<\_ACEOF
42490 #define wxUSE_FS_ARCHIVE 1
42496 if test "$wxUSE_FS_ZIP" = "yes"; then
42497 if test "$wxUSE_FS_ARCHIVE" != yes; then
42498 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42499 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42501 cat >>confdefs.h <<\_ACEOF
42502 #define wxUSE_FS_ZIP 1
42508 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42509 if test "$USE_UNIX" != 1; then
42510 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42511 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42512 wxUSE_ON_FATAL_EXCEPTION=no
42514 cat >>confdefs.h <<\_ACEOF
42515 #define wxUSE_ON_FATAL_EXCEPTION 1
42521 if test "$wxUSE_STACKWALKER" = "yes"; then
42522 cat >>confdefs.h <<\_ACEOF
42523 #define wxUSE_STACKWALKER 1
42528 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42529 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42530 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42531 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42532 wxUSE_DEBUGREPORT=no
42534 cat >>confdefs.h <<\_ACEOF
42535 #define wxUSE_DEBUGREPORT 1
42538 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42544 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42545 cat >>confdefs.h <<\_ACEOF
42546 #define wxUSE_SNGLINST_CHECKER 1
42551 if test "$wxUSE_BUSYINFO" = "yes"; then
42552 cat >>confdefs.h <<\_ACEOF
42553 #define wxUSE_BUSYINFO 1
42558 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42559 cat >>confdefs.h <<\_ACEOF
42560 #define wxUSE_STD_IOSTREAM 1
42565 if test "$wxUSE_STD_STRING" = "yes"; then
42566 cat >>confdefs.h <<\_ACEOF
42567 #define wxUSE_STD_STRING 1
42572 if test "$wxUSE_STDPATHS" = "yes"; then
42573 cat >>confdefs.h <<\_ACEOF
42574 #define wxUSE_STDPATHS 1
42579 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42580 cat >>confdefs.h <<\_ACEOF
42581 #define wxUSE_TEXTBUFFER 1
42586 if test "$wxUSE_TEXTFILE" = "yes"; then
42587 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42588 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42589 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42591 cat >>confdefs.h <<\_ACEOF
42592 #define wxUSE_TEXTFILE 1
42598 if test "$wxUSE_CONFIG" = "yes" ; then
42599 if test "$wxUSE_TEXTFILE" != "yes"; then
42600 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42601 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42603 cat >>confdefs.h <<\_ACEOF
42604 #define wxUSE_CONFIG 1
42607 cat >>confdefs.h <<\_ACEOF
42608 #define wxUSE_CONFIG_NATIVE 1
42611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42615 if test "$wxUSE_INTL" = "yes" ; then
42616 if test "$wxUSE_FILE" != "yes"; then
42617 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42618 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42620 cat >>confdefs.h <<\_ACEOF
42621 #define wxUSE_INTL 1
42624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42625 GUIDIST="$GUIDIST INTL_DIST"
42629 if test "$wxUSE_LOG" = "yes"; then
42630 cat >>confdefs.h <<\_ACEOF
42631 #define wxUSE_LOG 1
42635 if test "$wxUSE_LOGGUI" = "yes"; then
42636 cat >>confdefs.h <<\_ACEOF
42637 #define wxUSE_LOGGUI 1
42642 if test "$wxUSE_LOGWINDOW" = "yes"; then
42643 cat >>confdefs.h <<\_ACEOF
42644 #define wxUSE_LOGWINDOW 1
42649 if test "$wxUSE_LOGDIALOG" = "yes"; then
42650 cat >>confdefs.h <<\_ACEOF
42651 #define wxUSE_LOG_DIALOG 1
42656 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42659 if test "$wxUSE_LONGLONG" = "yes"; then
42660 cat >>confdefs.h <<\_ACEOF
42661 #define wxUSE_LONGLONG 1
42666 if test "$wxUSE_GEOMETRY" = "yes"; then
42667 cat >>confdefs.h <<\_ACEOF
42668 #define wxUSE_GEOMETRY 1
42673 if test "$wxUSE_BASE64" = "yes"; then
42674 cat >>confdefs.h <<\_ACEOF
42675 #define wxUSE_BASE64 1
42680 if test "$wxUSE_STREAMS" = "yes" ; then
42681 cat >>confdefs.h <<\_ACEOF
42682 #define wxUSE_STREAMS 1
42687 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42688 cat >>confdefs.h <<\_ACEOF
42689 #define wxUSE_PRINTF_POS_PARAMS 1
42694 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42695 cat >>confdefs.h <<\_ACEOF
42696 #define wxUSE_OBJC_UNIQUIFYING 1
42702 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42703 cat >>confdefs.h <<\_ACEOF
42704 #define wxUSE_CONSOLE_EVENTLOOP 1
42708 if test "$wxUSE_UNIX" = "yes"; then
42709 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42710 cat >>confdefs.h <<\_ACEOF
42711 #define wxUSE_SELECT_DISPATCHER 1
42716 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42718 for ac_header in sys/epoll.h
42720 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42721 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42723 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42724 echo $ECHO_N "(cached) $ECHO_C" >&6
42726 cat >conftest.$ac_ext <<_ACEOF
42729 cat confdefs.h >>conftest.$ac_ext
42730 cat >>conftest.$ac_ext <<_ACEOF
42731 /* end confdefs.h. */
42732 $ac_includes_default
42734 #include <$ac_header>
42736 rm -f conftest.$ac_objext
42737 if { (ac_try="$ac_compile"
42738 case "(($ac_try" in
42739 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42740 *) ac_try_echo
=$ac_try;;
42742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42743 (eval "$ac_compile") 2>conftest.er1
42745 grep -v '^ *+' conftest.er1
>conftest.err
42747 cat conftest.err
>&5
42748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42749 (exit $ac_status); } && {
42750 test -z "$ac_c_werror_flag" ||
42751 test ! -s conftest.err
42752 } && test -s conftest.
$ac_objext; then
42753 eval "$as_ac_Header=yes"
42755 echo "$as_me: failed program was:" >&5
42756 sed 's/^/| /' conftest.
$ac_ext >&5
42758 eval "$as_ac_Header=no"
42761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42763 ac_res
=`eval echo '${'$as_ac_Header'}'`
42764 { echo "$as_me:$LINENO: result: $ac_res" >&5
42765 echo "${ECHO_T}$ac_res" >&6; }
42766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42767 cat >>confdefs.h
<<_ACEOF
42768 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42775 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42776 cat >>confdefs.h
<<\_ACEOF
42777 #define wxUSE_EPOLL_DISPATCHER 1
42781 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42782 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42791 for ac_func
in gettimeofday ftime
42793 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42794 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42796 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42797 echo $ECHO_N "(cached) $ECHO_C" >&6
42799 cat >conftest.
$ac_ext <<_ACEOF
42802 cat confdefs.h
>>conftest.
$ac_ext
42803 cat >>conftest.
$ac_ext <<_ACEOF
42804 /* end confdefs.h. */
42805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42807 #define $ac_func innocuous_$ac_func
42809 /* System header to define __stub macros and hopefully few prototypes,
42810 which can conflict with char $ac_func (); below.
42811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42812 <limits.h> exists even on freestanding compilers. */
42815 # include <limits.h>
42817 # include <assert.h>
42822 /* Override any GCC internal prototype to avoid an error.
42823 Use char because int might match the return type of a GCC
42824 builtin and then its argument prototype would still apply. */
42829 /* The GNU C library defines this for functions which it implements
42830 to always fail with ENOSYS. Some functions are actually named
42831 something starting with __ and the normal name is an alias. */
42832 #if defined __stub_$ac_func || defined __stub___$ac_func
42839 return $ac_func ();
42844 rm -f conftest.
$ac_objext conftest
$ac_exeext
42845 if { (ac_try
="$ac_link"
42846 case "(($ac_try" in
42847 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42848 *) ac_try_echo=$ac_try;;
42850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42851 (eval "$ac_link") 2>conftest.er1
42853 grep -v '^ *+' conftest.er1 >conftest.err
42855 cat conftest.err >&5
42856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42857 (exit $ac_status); } && {
42858 test -z "$ac_c_werror_flag" ||
42859 test ! -s conftest.err
42860 } && test -s conftest$ac_exeext &&
42861 $as_test_x conftest$ac_exeext; then
42862 eval "$as_ac_var=yes"
42864 echo "$as_me: failed program was:" >&5
42865 sed 's/^/| /' conftest.$ac_ext >&5
42867 eval "$as_ac_var=no"
42870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42871 conftest$ac_exeext conftest.$ac_ext
42873 ac_res=`eval echo '${'$as_ac_var'}'`
42874 { echo "$as_me:$LINENO: result: $ac_res" >&5
42875 echo "${ECHO_T}$ac_res" >&6; }
42876 if test `eval echo '${'$as_ac_var'}'` = yes; then
42877 cat >>confdefs.h <<_ACEOF
42878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42885 if test "$ac_cv_func_gettimeofday" = "yes"; then
42886 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42887 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42888 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42889 echo $ECHO_N "(cached) $ECHO_C" >&6
42892 cat >conftest.$ac_ext <<_ACEOF
42895 cat confdefs.h >>conftest.$ac_ext
42896 cat >>conftest.$ac_ext <<_ACEOF
42897 /* end confdefs.h. */
42899 #include <sys/time.h>
42900 #include <unistd.h>
42907 gettimeofday(&tv, NULL);
42913 rm -f conftest.$ac_objext
42914 if { (ac_try="$ac_compile"
42915 case "(($ac_try" in
42916 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42917 *) ac_try_echo
=$ac_try;;
42919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42920 (eval "$ac_compile") 2>conftest.er1
42922 grep -v '^ *+' conftest.er1
>conftest.err
42924 cat conftest.err
>&5
42925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42926 (exit $ac_status); } && {
42927 test -z "$ac_c_werror_flag" ||
42928 test ! -s conftest.err
42929 } && test -s conftest.
$ac_objext; then
42930 wx_cv_func_gettimeofday_has_2_args
=yes
42932 echo "$as_me: failed program was:" >&5
42933 sed 's/^/| /' conftest.
$ac_ext >&5
42935 cat >conftest.
$ac_ext <<_ACEOF
42938 cat confdefs.h
>>conftest.
$ac_ext
42939 cat >>conftest.
$ac_ext <<_ACEOF
42940 /* end confdefs.h. */
42942 #include <sys/time.h>
42943 #include <unistd.h>
42956 rm -f conftest.
$ac_objext
42957 if { (ac_try
="$ac_compile"
42958 case "(($ac_try" in
42959 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42960 *) ac_try_echo=$ac_try;;
42962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42963 (eval "$ac_compile") 2>conftest.er1
42965 grep -v '^ *+' conftest.er1 >conftest.err
42967 cat conftest.err >&5
42968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42969 (exit $ac_status); } && {
42970 test -z "$ac_c_werror_flag" ||
42971 test ! -s conftest.err
42972 } && test -s conftest.$ac_objext; then
42973 wx_cv_func_gettimeofday_has_2_args=no
42975 echo "$as_me: failed program was:" >&5
42976 sed 's/^/| /' conftest.$ac_ext >&5
42979 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42980 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42981 wx_cv_func_gettimeofday_has_2_args=unknown
42986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42993 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42994 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42996 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42997 cat >>confdefs.h <<\_ACEOF
42998 #define WX_GETTIMEOFDAY_NO_TZ 1
43004 if test "$wxUSE_DATETIME" = "yes"; then
43005 { echo "$as_me:$LINENO: checking for strptime" >&5
43006 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43007 if test "${ac_cv_func_strptime+set}" = set; then
43008 echo $ECHO_N "(cached) $ECHO_C" >&6
43010 cat >conftest.$ac_ext <<_ACEOF
43013 cat confdefs.h >>conftest.$ac_ext
43014 cat >>conftest.$ac_ext <<_ACEOF
43015 /* end confdefs.h. */
43016 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43018 #define strptime innocuous_strptime
43020 /* System header to define __stub macros and hopefully few prototypes,
43021 which can conflict with char strptime (); below.
43022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43023 <limits.h> exists even on freestanding compilers. */
43026 # include <limits.h>
43028 # include <assert.h>
43033 /* Override any GCC internal prototype to avoid an error.
43034 Use char because int might match the return type of a GCC
43035 builtin and then its argument prototype would still apply. */
43040 /* The GNU C library defines this for functions which it implements
43041 to always fail with ENOSYS. Some functions are actually named
43042 something starting with __ and the normal name is an alias. */
43043 #if defined __stub_strptime || defined __stub___strptime
43050 return strptime ();
43055 rm -f conftest.$ac_objext conftest$ac_exeext
43056 if { (ac_try="$ac_link"
43057 case "(($ac_try" in
43058 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43059 *) ac_try_echo
=$ac_try;;
43061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43062 (eval "$ac_link") 2>conftest.er1
43064 grep -v '^ *+' conftest.er1
>conftest.err
43066 cat conftest.err
>&5
43067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43068 (exit $ac_status); } && {
43069 test -z "$ac_c_werror_flag" ||
43070 test ! -s conftest.err
43071 } && test -s conftest
$ac_exeext &&
43072 $as_test_x conftest
$ac_exeext; then
43073 ac_cv_func_strptime
=yes
43075 echo "$as_me: failed program was:" >&5
43076 sed 's/^/| /' conftest.
$ac_ext >&5
43078 ac_cv_func_strptime
=no
43081 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43082 conftest
$ac_exeext conftest.
$ac_ext
43084 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43085 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43087 if test "$ac_cv_func_strptime" = "yes"; then
43088 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43089 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43090 if test "${wx_cv_func_strptime_decl+set}" = set; then
43091 echo $ECHO_N "(cached) $ECHO_C" >&6
43095 ac_cpp
='$CXXCPP $CPPFLAGS'
43096 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43097 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43098 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43100 cat >conftest.
$ac_ext <<_ACEOF
43103 cat confdefs.h
>>conftest.
$ac_ext
43104 cat >>conftest.
$ac_ext <<_ACEOF
43105 /* end confdefs.h. */
43114 strptime("foo", "bar", &t);
43120 rm -f conftest.
$ac_objext
43121 if { (ac_try
="$ac_compile"
43122 case "(($ac_try" in
43123 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43124 *) ac_try_echo=$ac_try;;
43126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43127 (eval "$ac_compile") 2>conftest.er1
43129 grep -v '^ *+' conftest.er1 >conftest.err
43131 cat conftest.err >&5
43132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43133 (exit $ac_status); } && {
43134 test -z "$ac_cxx_werror_flag" ||
43135 test ! -s conftest.err
43136 } && test -s conftest.$ac_objext; then
43137 wx_cv_func_strptime_decl=yes
43139 echo "$as_me: failed program was:" >&5
43140 sed 's/^/| /' conftest.$ac_ext >&5
43142 wx_cv_func_strptime_decl=no
43146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43148 ac_cpp='$CPP $CPPFLAGS'
43149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43156 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43157 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43159 if test "$wx_cv_func_strptime_decl" = "yes"; then
43160 cat >>confdefs.h <<\_ACEOF
43161 #define HAVE_STRPTIME_DECL 1
43165 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43167 if test "$ac_cv_func_strptime" = "yes"; then
43168 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43169 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43170 if test "${wx_cv_func_strptime_ok+set}" = set; then
43171 echo $ECHO_N "(cached) $ECHO_C" >&6
43173 if test "$cross_compiling" = yes; then
43174 wx_cv_func_strptime_ok=no
43177 cat >conftest.$ac_ext <<_ACEOF
43179 #include <stdlib.h>
43181 #include "confdefs.h"
43188 return !!strptime("", "%x", &t);
43192 rm -f conftest$ac_exeext
43193 if { (ac_try="$ac_link"
43194 case "(($ac_try" in
43195 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43196 *) ac_try_echo
=$ac_try;;
43198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43199 (eval "$ac_link") 2>&5
43201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43202 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43203 { (case "(($ac_try" in
43204 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43205 *) ac_try_echo=$ac_try;;
43207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43208 (eval "$ac_try") 2>&5
43210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43211 (exit $ac_status); }; }; then
43212 wx_cv_func_strptime_ok=yes
43214 echo "$as_me: program exited with status $ac_status" >&5
43215 echo "$as_me: failed program was:" >&5
43216 sed 's/^/| /' conftest.$ac_ext >&5
43218 ( exit $ac_status )
43219 wx_cv_func_strptime_ok=no
43221 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43227 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43228 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43230 if test "$wx_cv_func_strptime_ok" = "yes"; then
43231 cat >>confdefs.h <<\_ACEOF
43232 #define HAVE_STRPTIME 1
43238 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43239 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43240 if test "${wx_cv_var_timezone+set}" = set; then
43241 echo $ECHO_N "(cached) $ECHO_C" >&6
43245 ac_cpp='$CXXCPP $CPPFLAGS'
43246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43250 cat >conftest.$ac_ext <<_ACEOF
43253 cat confdefs.h >>conftest.$ac_ext
43254 cat >>conftest.$ac_ext <<_ACEOF
43255 /* end confdefs.h. */
43270 rm -f conftest.$ac_objext
43271 if { (ac_try="$ac_compile"
43272 case "(($ac_try" in
43273 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43274 *) ac_try_echo
=$ac_try;;
43276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43277 (eval "$ac_compile") 2>conftest.er1
43279 grep -v '^ *+' conftest.er1
>conftest.err
43281 cat conftest.err
>&5
43282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43283 (exit $ac_status); } && {
43284 test -z "$ac_cxx_werror_flag" ||
43285 test ! -s conftest.err
43286 } && test -s conftest.
$ac_objext; then
43288 wx_cv_var_timezone
=timezone
43291 echo "$as_me: failed program was:" >&5
43292 sed 's/^/| /' conftest.
$ac_ext >&5
43295 cat >conftest.
$ac_ext <<_ACEOF
43298 cat confdefs.h
>>conftest.
$ac_ext
43299 cat >>conftest.
$ac_ext <<_ACEOF
43300 /* end confdefs.h. */
43315 rm -f conftest.
$ac_objext
43316 if { (ac_try
="$ac_compile"
43317 case "(($ac_try" in
43318 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43319 *) ac_try_echo=$ac_try;;
43321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43322 (eval "$ac_compile") 2>conftest.er1
43324 grep -v '^ *+' conftest.er1 >conftest.err
43326 cat conftest.err >&5
43327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43328 (exit $ac_status); } && {
43329 test -z "$ac_cxx_werror_flag" ||
43330 test ! -s conftest.err
43331 } && test -s conftest.$ac_objext; then
43333 wx_cv_var_timezone=_timezone
43336 echo "$as_me: failed program was:" >&5
43337 sed 's/^/| /' conftest.$ac_ext >&5
43340 cat >conftest.$ac_ext <<_ACEOF
43343 cat confdefs.h >>conftest.$ac_ext
43344 cat >>conftest.$ac_ext <<_ACEOF
43345 /* end confdefs.h. */
43360 rm -f conftest.$ac_objext
43361 if { (ac_try="$ac_compile"
43362 case "(($ac_try" in
43363 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43364 *) ac_try_echo
=$ac_try;;
43366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43367 (eval "$ac_compile") 2>conftest.er1
43369 grep -v '^ *+' conftest.er1
>conftest.err
43371 cat conftest.err
>&5
43372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43373 (exit $ac_status); } && {
43374 test -z "$ac_cxx_werror_flag" ||
43375 test ! -s conftest.err
43376 } && test -s conftest.
$ac_objext; then
43378 wx_cv_var_timezone
=__timezone
43381 echo "$as_me: failed program was:" >&5
43382 sed 's/^/| /' conftest.
$ac_ext >&5
43385 if test "$USE_DOS" = 0 ; then
43386 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43387 echo "$as_me: WARNING: no timezone variable" >&2;}
43393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43398 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43405 ac_cpp
='$CPP $CPPFLAGS'
43406 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43407 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43408 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43413 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43414 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43416 if test "x$wx_cv_var_timezone" != x
; then
43417 cat >>confdefs.h
<<_ACEOF
43418 #define WX_TIMEZONE $wx_cv_var_timezone
43424 for ac_func
in localtime
43426 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43427 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43429 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43430 echo $ECHO_N "(cached) $ECHO_C" >&6
43432 cat >conftest.
$ac_ext <<_ACEOF
43435 cat confdefs.h
>>conftest.
$ac_ext
43436 cat >>conftest.
$ac_ext <<_ACEOF
43437 /* end confdefs.h. */
43438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43440 #define $ac_func innocuous_$ac_func
43442 /* System header to define __stub macros and hopefully few prototypes,
43443 which can conflict with char $ac_func (); below.
43444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43445 <limits.h> exists even on freestanding compilers. */
43448 # include <limits.h>
43450 # include <assert.h>
43455 /* Override any GCC internal prototype to avoid an error.
43456 Use char because int might match the return type of a GCC
43457 builtin and then its argument prototype would still apply. */
43462 /* The GNU C library defines this for functions which it implements
43463 to always fail with ENOSYS. Some functions are actually named
43464 something starting with __ and the normal name is an alias. */
43465 #if defined __stub_$ac_func || defined __stub___$ac_func
43472 return $ac_func ();
43477 rm -f conftest.
$ac_objext conftest
$ac_exeext
43478 if { (ac_try
="$ac_link"
43479 case "(($ac_try" in
43480 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43481 *) ac_try_echo=$ac_try;;
43483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43484 (eval "$ac_link") 2>conftest.er1
43486 grep -v '^ *+' conftest.er1 >conftest.err
43488 cat conftest.err >&5
43489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43490 (exit $ac_status); } && {
43491 test -z "$ac_c_werror_flag" ||
43492 test ! -s conftest.err
43493 } && test -s conftest$ac_exeext &&
43494 $as_test_x conftest$ac_exeext; then
43495 eval "$as_ac_var=yes"
43497 echo "$as_me: failed program was:" >&5
43498 sed 's/^/| /' conftest.$ac_ext >&5
43500 eval "$as_ac_var=no"
43503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43504 conftest$ac_exeext conftest.$ac_ext
43506 ac_res=`eval echo '${'$as_ac_var'}'`
43507 { echo "$as_me:$LINENO: result: $ac_res" >&5
43508 echo "${ECHO_T}$ac_res" >&6; }
43509 if test `eval echo '${'$as_ac_var'}'` = yes; then
43510 cat >>confdefs.h <<_ACEOF
43511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43518 if test "$ac_cv_func_localtime" = "yes"; then
43519 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43520 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43521 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43522 echo $ECHO_N "(cached) $ECHO_C" >&6
43525 cat >conftest.$ac_ext <<_ACEOF
43528 cat confdefs.h >>conftest.$ac_ext
43529 cat >>conftest.$ac_ext <<_ACEOF
43530 /* end confdefs.h. */
43545 rm -f conftest.$ac_objext
43546 if { (ac_try="$ac_compile"
43547 case "(($ac_try" in
43548 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43549 *) ac_try_echo
=$ac_try;;
43551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43552 (eval "$ac_compile") 2>conftest.er1
43554 grep -v '^ *+' conftest.er1
>conftest.err
43556 cat conftest.err
>&5
43557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43558 (exit $ac_status); } && {
43559 test -z "$ac_c_werror_flag" ||
43560 test ! -s conftest.err
43561 } && test -s conftest.
$ac_objext; then
43563 wx_cv_struct_tm_has_gmtoff
=yes
43566 echo "$as_me: failed program was:" >&5
43567 sed 's/^/| /' conftest.
$ac_ext >&5
43569 wx_cv_struct_tm_has_gmtoff
=no
43573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43576 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43577 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43580 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43581 cat >>confdefs.h
<<\_ACEOF
43582 #define WX_GMTOFF_IN_TM 1
43587 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
43591 if test "$wxUSE_SOCKETS" = "yes"; then
43592 if test "$wxUSE_MGL" = 1; then
43593 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43594 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43599 if test "$wxUSE_SOCKETS" = "yes"; then
43600 if test "$TOOLKIT" != "MSW"; then
43601 { echo "$as_me:$LINENO: checking for socket" >&5
43602 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43603 if test "${ac_cv_func_socket+set}" = set; then
43604 echo $ECHO_N "(cached) $ECHO_C" >&6
43606 cat >conftest.
$ac_ext <<_ACEOF
43609 cat confdefs.h
>>conftest.
$ac_ext
43610 cat >>conftest.
$ac_ext <<_ACEOF
43611 /* end confdefs.h. */
43612 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43614 #define socket innocuous_socket
43616 /* System header to define __stub macros and hopefully few prototypes,
43617 which can conflict with char socket (); below.
43618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43619 <limits.h> exists even on freestanding compilers. */
43622 # include <limits.h>
43624 # include <assert.h>
43629 /* Override any GCC internal prototype to avoid an error.
43630 Use char because int might match the return type of a GCC
43631 builtin and then its argument prototype would still apply. */
43636 /* The GNU C library defines this for functions which it implements
43637 to always fail with ENOSYS. Some functions are actually named
43638 something starting with __ and the normal name is an alias. */
43639 #if defined __stub_socket || defined __stub___socket
43651 rm -f conftest.
$ac_objext conftest
$ac_exeext
43652 if { (ac_try
="$ac_link"
43653 case "(($ac_try" in
43654 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43655 *) ac_try_echo=$ac_try;;
43657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43658 (eval "$ac_link") 2>conftest.er1
43660 grep -v '^ *+' conftest.er1 >conftest.err
43662 cat conftest.err >&5
43663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43664 (exit $ac_status); } && {
43665 test -z "$ac_c_werror_flag" ||
43666 test ! -s conftest.err
43667 } && test -s conftest$ac_exeext &&
43668 $as_test_x conftest$ac_exeext; then
43669 ac_cv_func_socket=yes
43671 echo "$as_me: failed program was:" >&5
43672 sed 's/^/| /' conftest.$ac_ext >&5
43674 ac_cv_func_socket=no
43677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43678 conftest$ac_exeext conftest.$ac_ext
43680 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43681 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43682 if test $ac_cv_func_socket = yes; then
43686 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43687 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43688 if test "${ac_cv_lib_socket_socket+set}" = set; then
43689 echo $ECHO_N "(cached) $ECHO_C" >&6
43691 ac_check_lib_save_LIBS=$LIBS
43692 LIBS="-lsocket $LIBS"
43693 cat >conftest.$ac_ext <<_ACEOF
43696 cat confdefs.h >>conftest.$ac_ext
43697 cat >>conftest.$ac_ext <<_ACEOF
43698 /* end confdefs.h. */
43700 /* Override any GCC internal prototype to avoid an error.
43701 Use char because int might match the return type of a GCC
43702 builtin and then its argument prototype would still apply. */
43715 rm -f conftest.$ac_objext conftest$ac_exeext
43716 if { (ac_try="$ac_link"
43717 case "(($ac_try" in
43718 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43719 *) ac_try_echo
=$ac_try;;
43721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43722 (eval "$ac_link") 2>conftest.er1
43724 grep -v '^ *+' conftest.er1
>conftest.err
43726 cat conftest.err
>&5
43727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43728 (exit $ac_status); } && {
43729 test -z "$ac_c_werror_flag" ||
43730 test ! -s conftest.err
43731 } && test -s conftest
$ac_exeext &&
43732 $as_test_x conftest
$ac_exeext; then
43733 ac_cv_lib_socket_socket
=yes
43735 echo "$as_me: failed program was:" >&5
43736 sed 's/^/| /' conftest.
$ac_ext >&5
43738 ac_cv_lib_socket_socket
=no
43741 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43742 conftest
$ac_exeext conftest.
$ac_ext
43743 LIBS
=$ac_check_lib_save_LIBS
43745 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43746 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43747 if test $ac_cv_lib_socket_socket = yes; then
43748 if test "$INET_LINK" != " -lsocket"; then
43749 INET_LINK
="$INET_LINK -lsocket"
43753 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43754 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43767 if test "$wxUSE_SOCKETS" = "yes" ; then
43768 if test "$TOOLKIT" != "MSW"; then
43769 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43770 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43771 if test "${wx_cv_type_getsockname3+set}" = set; then
43772 echo $ECHO_N "(cached) $ECHO_C" >&6
43776 ac_cpp
='$CXXCPP $CPPFLAGS'
43777 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43778 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43779 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43781 cat >conftest.
$ac_ext <<_ACEOF
43784 cat confdefs.h
>>conftest.
$ac_ext
43785 cat >>conftest.
$ac_ext <<_ACEOF
43786 /* end confdefs.h. */
43788 #include <sys/types.h>
43789 #include <sys/socket.h>
43796 getsockname(0, 0, &len);
43802 rm -f conftest.
$ac_objext
43803 if { (ac_try
="$ac_compile"
43804 case "(($ac_try" in
43805 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43806 *) ac_try_echo=$ac_try;;
43808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43809 (eval "$ac_compile") 2>conftest.er1
43811 grep -v '^ *+' conftest.er1 >conftest.err
43813 cat conftest.err >&5
43814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43815 (exit $ac_status); } && {
43816 test -z "$ac_cxx_werror_flag" ||
43817 test ! -s conftest.err
43818 } && test -s conftest.$ac_objext; then
43819 wx_cv_type_getsockname3=socklen_t
43821 echo "$as_me: failed program was:" >&5
43822 sed 's/^/| /' conftest.$ac_ext >&5
43825 CFLAGS_OLD="$CFLAGS"
43826 if test "$GCC" = yes ; then
43827 CFLAGS="-Werror $CFLAGS"
43830 cat >conftest.$ac_ext <<_ACEOF
43833 cat confdefs.h >>conftest.$ac_ext
43834 cat >>conftest.$ac_ext <<_ACEOF
43835 /* end confdefs.h. */
43837 #include <sys/types.h>
43838 #include <sys/socket.h>
43845 getsockname(0, 0, &len);
43851 rm -f conftest.$ac_objext
43852 if { (ac_try="$ac_compile"
43853 case "(($ac_try" in
43854 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43855 *) ac_try_echo
=$ac_try;;
43857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43858 (eval "$ac_compile") 2>conftest.er1
43860 grep -v '^ *+' conftest.er1
>conftest.err
43862 cat conftest.err
>&5
43863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43864 (exit $ac_status); } && {
43865 test -z "$ac_cxx_werror_flag" ||
43866 test ! -s conftest.err
43867 } && test -s conftest.
$ac_objext; then
43868 wx_cv_type_getsockname3
=size_t
43870 echo "$as_me: failed program was:" >&5
43871 sed 's/^/| /' conftest.
$ac_ext >&5
43873 cat >conftest.
$ac_ext <<_ACEOF
43876 cat confdefs.h
>>conftest.
$ac_ext
43877 cat >>conftest.
$ac_ext <<_ACEOF
43878 /* end confdefs.h. */
43880 #include <sys/types.h>
43881 #include <sys/socket.h>
43888 getsockname(0, 0, &len);
43894 rm -f conftest.
$ac_objext
43895 if { (ac_try
="$ac_compile"
43896 case "(($ac_try" in
43897 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43898 *) ac_try_echo=$ac_try;;
43900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43901 (eval "$ac_compile") 2>conftest.er1
43903 grep -v '^ *+' conftest.er1 >conftest.err
43905 cat conftest.err >&5
43906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43907 (exit $ac_status); } && {
43908 test -z "$ac_cxx_werror_flag" ||
43909 test ! -s conftest.err
43910 } && test -s conftest.$ac_objext; then
43911 wx_cv_type_getsockname3=int
43913 echo "$as_me: failed program was:" >&5
43914 sed 's/^/| /' conftest.$ac_ext >&5
43916 wx_cv_type_getsockname3=unknown
43920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43926 CFLAGS="$CFLAGS_OLD"
43931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43933 ac_cpp='$CPP $CPPFLAGS'
43934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43940 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43941 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43943 if test "$wx_cv_type_getsockname3" = "unknown"; then
43945 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43946 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43948 cat >>confdefs.h <<_ACEOF
43949 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43953 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43954 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43955 if test "${wx_cv_type_getsockopt5+set}" = set; then
43956 echo $ECHO_N "(cached) $ECHO_C" >&6
43960 ac_cpp='$CXXCPP $CPPFLAGS'
43961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43965 cat >conftest.$ac_ext <<_ACEOF
43968 cat confdefs.h >>conftest.$ac_ext
43969 cat >>conftest.$ac_ext <<_ACEOF
43970 /* end confdefs.h. */
43972 #include <sys/types.h>
43973 #include <sys/socket.h>
43980 getsockopt(0, 0, 0, 0, &len);
43986 rm -f conftest.$ac_objext
43987 if { (ac_try="$ac_compile"
43988 case "(($ac_try" in
43989 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43990 *) ac_try_echo
=$ac_try;;
43992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43993 (eval "$ac_compile") 2>conftest.er1
43995 grep -v '^ *+' conftest.er1
>conftest.err
43997 cat conftest.err
>&5
43998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43999 (exit $ac_status); } && {
44000 test -z "$ac_cxx_werror_flag" ||
44001 test ! -s conftest.err
44002 } && test -s conftest.
$ac_objext; then
44003 wx_cv_type_getsockopt5
=socklen_t
44005 echo "$as_me: failed program was:" >&5
44006 sed 's/^/| /' conftest.
$ac_ext >&5
44009 cat >conftest.
$ac_ext <<_ACEOF
44012 cat confdefs.h
>>conftest.
$ac_ext
44013 cat >>conftest.
$ac_ext <<_ACEOF
44014 /* end confdefs.h. */
44016 #include <sys/types.h>
44017 #include <sys/socket.h>
44024 getsockopt(0, 0, 0, 0, &len);
44030 rm -f conftest.
$ac_objext
44031 if { (ac_try
="$ac_compile"
44032 case "(($ac_try" in
44033 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44034 *) ac_try_echo=$ac_try;;
44036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44037 (eval "$ac_compile") 2>conftest.er1
44039 grep -v '^ *+' conftest.er1 >conftest.err
44041 cat conftest.err >&5
44042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44043 (exit $ac_status); } && {
44044 test -z "$ac_cxx_werror_flag" ||
44045 test ! -s conftest.err
44046 } && test -s conftest.$ac_objext; then
44047 wx_cv_type_getsockopt5=size_t
44049 echo "$as_me: failed program was:" >&5
44050 sed 's/^/| /' conftest.$ac_ext >&5
44052 cat >conftest.$ac_ext <<_ACEOF
44055 cat confdefs.h >>conftest.$ac_ext
44056 cat >>conftest.$ac_ext <<_ACEOF
44057 /* end confdefs.h. */
44059 #include <sys/types.h>
44060 #include <sys/socket.h>
44067 getsockopt(0, 0, 0, 0, &len);
44073 rm -f conftest.$ac_objext
44074 if { (ac_try="$ac_compile"
44075 case "(($ac_try" in
44076 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44077 *) ac_try_echo
=$ac_try;;
44079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44080 (eval "$ac_compile") 2>conftest.er1
44082 grep -v '^ *+' conftest.er1
>conftest.err
44084 cat conftest.err
>&5
44085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44086 (exit $ac_status); } && {
44087 test -z "$ac_cxx_werror_flag" ||
44088 test ! -s conftest.err
44089 } && test -s conftest.
$ac_objext; then
44090 wx_cv_type_getsockopt5
=int
44092 echo "$as_me: failed program was:" >&5
44093 sed 's/^/| /' conftest.
$ac_ext >&5
44095 wx_cv_type_getsockopt5
=unknown
44099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44110 ac_cpp
='$CPP $CPPFLAGS'
44111 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44112 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44113 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44117 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44118 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44120 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44122 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44123 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44125 cat >>confdefs.h
<<_ACEOF
44126 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44133 if test "$wxUSE_SOCKETS" = "yes" ; then
44134 if test "$wxUSE_IPV6" = "yes"; then
44135 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44136 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44137 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44138 echo $ECHO_N "(cached) $ECHO_C" >&6
44141 cat >conftest.
$ac_ext <<_ACEOF
44144 cat confdefs.h
>>conftest.
$ac_ext
44145 cat >>conftest.
$ac_ext <<_ACEOF
44146 /* end confdefs.h. */
44148 #include <sys/types.h>
44149 #include <sys/socket.h>
44150 #include <netinet/in.h>
44156 struct sockaddr_in6 sa6;
44162 rm -f conftest.
$ac_objext
44163 if { (ac_try
="$ac_compile"
44164 case "(($ac_try" in
44165 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44166 *) ac_try_echo=$ac_try;;
44168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44169 (eval "$ac_compile") 2>conftest.er1
44171 grep -v '^ *+' conftest.er1 >conftest.err
44173 cat conftest.err >&5
44174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44175 (exit $ac_status); } && {
44176 test -z "$ac_c_werror_flag" ||
44177 test ! -s conftest.err
44178 } && test -s conftest.$ac_objext; then
44179 wx_cv_type_sockaddr_in6=yes
44181 echo "$as_me: failed program was:" >&5
44182 sed 's/^/| /' conftest.$ac_ext >&5
44184 wx_cv_type_sockaddr_in6=no
44188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44192 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44193 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44195 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44196 cat >>confdefs.h <<\_ACEOF
44197 #define wxUSE_IPV6 1
44201 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44202 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44206 cat >>confdefs.h <<\_ACEOF
44207 #define wxUSE_SOCKETS 1
44210 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44213 if test "$wxUSE_PROTOCOL" = "yes"; then
44214 if test "$wxUSE_SOCKETS" != "yes"; then
44215 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44216 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44221 if test "$wxUSE_PROTOCOL" = "yes"; then
44222 cat >>confdefs.h <<\_ACEOF
44223 #define wxUSE_PROTOCOL 1
44227 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44228 cat >>confdefs.h <<\_ACEOF
44229 #define wxUSE_PROTOCOL_HTTP 1
44233 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44234 cat >>confdefs.h <<\_ACEOF
44235 #define wxUSE_PROTOCOL_FTP 1
44239 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44240 cat >>confdefs.h <<\_ACEOF
44241 #define wxUSE_PROTOCOL_FILE 1
44246 if test "$wxUSE_FS_INET" = "yes"; then
44247 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44248 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44253 if test "$wxUSE_URL" = "yes"; then
44254 if test "$wxUSE_PROTOCOL" != "yes"; then
44255 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44256 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44259 if test "$wxUSE_URL" = "yes"; then
44260 cat >>confdefs.h <<\_ACEOF
44261 #define wxUSE_URL 1
44267 if test "$wxUSE_VARIANT" = "yes"; then
44268 cat >>confdefs.h <<\_ACEOF
44269 #define wxUSE_VARIANT 1
44274 if test "$wxUSE_FS_INET" = "yes"; then
44275 cat >>confdefs.h <<\_ACEOF
44276 #define wxUSE_FS_INET 1
44282 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44285 if test "$TOOLKIT" = "MSW"; then
44288 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44289 if test "$USE_DARWIN" = 1; then
44290 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44291 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44293 ac_cpp='$CXXCPP $CPPFLAGS'
44294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44298 cat >conftest.$ac_ext <<_ACEOF
44301 cat confdefs.h >>conftest.$ac_ext
44302 cat >>conftest.$ac_ext <<_ACEOF
44303 /* end confdefs.h. */
44304 #include <IOKit/hid/IOHIDLib.h>
44308 IOHIDQueueInterface *qi = NULL;
44309 IOHIDCallbackFunction cb = NULL;
44310 qi->setEventCallout(NULL, cb, NULL, NULL);
44315 rm -f conftest.$ac_objext
44316 if { (ac_try="$ac_compile"
44317 case "(($ac_try" in
44318 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44319 *) ac_try_echo
=$ac_try;;
44321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44322 (eval "$ac_compile") 2>conftest.er1
44324 grep -v '^ *+' conftest.er1
>conftest.err
44326 cat conftest.err
>&5
44327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44328 (exit $ac_status); } && {
44329 test -z "$ac_cxx_werror_flag" ||
44330 test ! -s conftest.err
44331 } && test -s conftest.
$ac_objext; then
44335 echo "$as_me: failed program was:" >&5
44336 sed 's/^/| /' conftest.
$ac_ext >&5
44341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44343 ac_cpp
='$CPP $CPPFLAGS'
44344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44348 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44349 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44353 if test "$wxUSE_MGL" != 1; then
44355 for ac_header
in linux
/joystick.h
44357 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44358 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44360 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44361 echo $ECHO_N "(cached) $ECHO_C" >&6
44363 cat >conftest.
$ac_ext <<_ACEOF
44366 cat confdefs.h
>>conftest.
$ac_ext
44367 cat >>conftest.
$ac_ext <<_ACEOF
44368 /* end confdefs.h. */
44369 $ac_includes_default
44371 #include <$ac_header>
44373 rm -f conftest.
$ac_objext
44374 if { (ac_try
="$ac_compile"
44375 case "(($ac_try" in
44376 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44377 *) ac_try_echo=$ac_try;;
44379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44380 (eval "$ac_compile") 2>conftest.er1
44382 grep -v '^ *+' conftest.er1 >conftest.err
44384 cat conftest.err >&5
44385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44386 (exit $ac_status); } && {
44387 test -z "$ac_c_werror_flag" ||
44388 test ! -s conftest.err
44389 } && test -s conftest.$ac_objext; then
44390 eval "$as_ac_Header=yes"
44392 echo "$as_me: failed program was:" >&5
44393 sed 's/^/| /' conftest.$ac_ext >&5
44395 eval "$as_ac_Header=no"
44398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44400 ac_res=`eval echo '${'$as_ac_Header'}'`
44401 { echo "$as_me:$LINENO: result: $ac_res" >&5
44402 echo "${ECHO_T}$ac_res" >&6; }
44403 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44404 cat >>confdefs.h <<_ACEOF
44405 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44415 if test "$wxUSE_JOYSTICK" = "yes"; then
44416 cat >>confdefs.h <<\_ACEOF
44417 #define wxUSE_JOYSTICK 1
44420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44422 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44423 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44429 if test "$wxUSE_FONTENUM" = "yes" ; then
44430 cat >>confdefs.h <<\_ACEOF
44431 #define wxUSE_FONTENUM 1
44436 if test "$wxUSE_FONTMAP" = "yes" ; then
44437 cat >>confdefs.h <<\_ACEOF
44438 #define wxUSE_FONTMAP 1
44443 if test "$wxUSE_UNICODE" = "yes" ; then
44444 cat >>confdefs.h <<\_ACEOF
44445 #define wxUSE_UNICODE 1
44449 if test "$USE_WIN32" != 1; then
44450 wxUSE_UNICODE_MSLU=no
44453 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44454 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44455 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44456 if test "${ac_cv_lib_unicows_main+set}" = set; then
44457 echo $ECHO_N "(cached) $ECHO_C" >&6
44459 ac_check_lib_save_LIBS=$LIBS
44460 LIBS="-lunicows $LIBS"
44461 cat >conftest.$ac_ext <<_ACEOF
44464 cat confdefs.h >>conftest.$ac_ext
44465 cat >>conftest.$ac_ext <<_ACEOF
44466 /* end confdefs.h. */
44477 rm -f conftest.$ac_objext conftest$ac_exeext
44478 if { (ac_try="$ac_link"
44479 case "(($ac_try" in
44480 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44481 *) ac_try_echo
=$ac_try;;
44483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44484 (eval "$ac_link") 2>conftest.er1
44486 grep -v '^ *+' conftest.er1
>conftest.err
44488 cat conftest.err
>&5
44489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44490 (exit $ac_status); } && {
44491 test -z "$ac_c_werror_flag" ||
44492 test ! -s conftest.err
44493 } && test -s conftest
$ac_exeext &&
44494 $as_test_x conftest
$ac_exeext; then
44495 ac_cv_lib_unicows_main
=yes
44497 echo "$as_me: failed program was:" >&5
44498 sed 's/^/| /' conftest.
$ac_ext >&5
44500 ac_cv_lib_unicows_main
=no
44503 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44504 conftest
$ac_exeext conftest.
$ac_ext
44505 LIBS
=$ac_check_lib_save_LIBS
44507 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44508 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44509 if test $ac_cv_lib_unicows_main = yes; then
44511 cat >>confdefs.h
<<\_ACEOF
44512 #define wxUSE_UNICODE_MSLU 1
44518 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44519 Applications will only run on Windows NT/2000/XP!" >&5
44520 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44521 Applications will only run on Windows NT/2000/XP!" >&2;}
44522 wxUSE_UNICODE_MSLU
=no
44529 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44530 cat >>confdefs.h
<<\_ACEOF
44531 #define wxUSE_UNICODE_UTF8 1
44535 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44536 cat >>confdefs.h
<<\_ACEOF
44537 #define wxUSE_UTF8_LOCALE_ONLY 1
44544 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44545 cat >>confdefs.h
<<\_ACEOF
44546 #define wxUSE_CONSTRAINTS 1
44549 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
44552 if test "$wxUSE_MDI" = "yes"; then
44553 cat >>confdefs.h
<<\_ACEOF
44554 #define wxUSE_MDI 1
44558 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44559 cat >>confdefs.h
<<\_ACEOF
44560 #define wxUSE_MDI_ARCHITECTURE 1
44563 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
44567 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44568 cat >>confdefs.h
<<\_ACEOF
44569 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44572 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
44573 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44574 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
44578 if test "$wxUSE_HELP" = "yes"; then
44579 cat >>confdefs.h
<<\_ACEOF
44580 #define wxUSE_HELP 1
44583 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
44585 if test "$wxUSE_MSW" = 1; then
44586 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44587 cat >>confdefs.h
<<\_ACEOF
44588 #define wxUSE_MS_HTML_HELP 1
44594 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44595 if test "$wxUSE_HTML" = "yes"; then
44596 cat >>confdefs.h
<<\_ACEOF
44597 #define wxUSE_WXHTML_HELP 1
44601 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44602 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44603 wxUSE_WXHTML_HELP
=no
44608 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44609 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44610 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44611 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44613 cat >>confdefs.h
<<\_ACEOF
44614 #define wxUSE_PRINTING_ARCHITECTURE 1
44618 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
44621 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44622 cat >>confdefs.h
<<\_ACEOF
44623 #define wxUSE_POSTSCRIPT 1
44628 cat >>confdefs.h
<<\_ACEOF
44629 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44633 if test "$wxUSE_SVG" = "yes"; then
44634 cat >>confdefs.h
<<\_ACEOF
44635 #define wxUSE_SVG 1
44641 if test "$wxUSE_METAFILE" = "yes"; then
44642 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44643 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44644 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44650 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
44651 -o "$wxUSE_CLIPBOARD" = "yes" \
44652 -o "$wxUSE_OLE" = "yes" \
44653 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
44654 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44655 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44656 if test "${ac_cv_header_ole2_h+set}" = set; then
44657 echo $ECHO_N "(cached) $ECHO_C" >&6
44659 cat >conftest.
$ac_ext <<_ACEOF
44662 cat confdefs.h
>>conftest.
$ac_ext
44663 cat >>conftest.
$ac_ext <<_ACEOF
44664 /* end confdefs.h. */
44669 rm -f conftest.
$ac_objext
44670 if { (ac_try
="$ac_compile"
44671 case "(($ac_try" in
44672 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44673 *) ac_try_echo=$ac_try;;
44675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44676 (eval "$ac_compile") 2>conftest.er1
44678 grep -v '^ *+' conftest.er1 >conftest.err
44680 cat conftest.err >&5
44681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44682 (exit $ac_status); } && {
44683 test -z "$ac_c_werror_flag" ||
44684 test ! -s conftest.err
44685 } && test -s conftest.$ac_objext; then
44686 ac_cv_header_ole2_h=yes
44688 echo "$as_me: failed program was:" >&5
44689 sed 's/^/| /' conftest.$ac_ext >&5
44691 ac_cv_header_ole2_h=no
44694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44696 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44697 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44701 if test "$ac_cv_header_ole2_h" = "yes" ; then
44702 if test "$GCC" = yes ; then
44703 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44704 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44705 cat >conftest.$ac_ext <<_ACEOF
44708 cat confdefs.h >>conftest.$ac_ext
44709 cat >>conftest.$ac_ext <<_ACEOF
44710 /* end confdefs.h. */
44711 #include <windows.h>
44721 rm -f conftest.$ac_objext
44722 if { (ac_try="$ac_compile"
44723 case "(($ac_try" in
44724 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44725 *) ac_try_echo
=$ac_try;;
44727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44728 (eval "$ac_compile") 2>conftest.er1
44730 grep -v '^ *+' conftest.er1
>conftest.err
44732 cat conftest.err
>&5
44733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44734 (exit $ac_status); } && {
44735 test -z "$ac_c_werror_flag" ||
44736 test ! -s conftest.err
44737 } && test -s conftest.
$ac_objext; then
44738 { echo "$as_me:$LINENO: result: no" >&5
44739 echo "${ECHO_T}no" >&6; }
44741 echo "$as_me: failed program was:" >&5
44742 sed 's/^/| /' conftest.
$ac_ext >&5
44744 { echo "$as_me:$LINENO: result: yes" >&5
44745 echo "${ECHO_T}yes" >&6; }
44746 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44750 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44751 if test "$wxUSE_OLE" = "yes" ; then
44752 cat >>confdefs.h
<<\_ACEOF
44753 #define wxUSE_OLE 1
44756 cat >>confdefs.h
<<\_ACEOF
44757 #define wxUSE_OLE_AUTOMATION 1
44760 cat >>confdefs.h
<<\_ACEOF
44761 #define wxUSE_ACTIVEX 1
44764 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
44768 if test "$wxUSE_DATAOBJ" = "yes" ; then
44769 cat >>confdefs.h
<<\_ACEOF
44770 #define wxUSE_DATAOBJ 1
44775 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44776 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44779 wxUSE_DRAG_AND_DROP
=no
44784 if test "$wxUSE_METAFILE" = "yes"; then
44785 cat >>confdefs.h
<<\_ACEOF
44786 #define wxUSE_METAFILE 1
44790 cat >>confdefs.h
<<\_ACEOF
44791 #define wxUSE_ENH_METAFILE 1
44797 if test "$wxUSE_IPC" = "yes"; then
44798 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44799 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44800 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44804 if test "$wxUSE_IPC" = "yes"; then
44805 cat >>confdefs.h
<<\_ACEOF
44806 #define wxUSE_IPC 1
44809 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
44813 if test "$wxUSE_DATAOBJ" = "yes"; then
44814 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44815 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44816 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44819 cat >>confdefs.h
<<\_ACEOF
44820 #define wxUSE_DATAOBJ 1
44825 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44826 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44828 wxUSE_DRAG_AND_DROP
=no
44831 if test "$wxUSE_CLIPBOARD" = "yes"; then
44832 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44833 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44834 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44838 if test "$wxUSE_CLIPBOARD" = "yes"; then
44839 cat >>confdefs.h
<<\_ACEOF
44840 #define wxUSE_CLIPBOARD 1
44846 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44847 if test "$wxUSE_GTK" = 1; then
44848 if test "$WXGTK12" != 1; then
44849 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44850 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44851 wxUSE_DRAG_AND_DROP
=no
44855 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44856 "$wxUSE_DFB" = 1; then
44857 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44858 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44859 wxUSE_DRAG_AND_DROP
=no
44862 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44863 cat >>confdefs.h
<<\_ACEOF
44864 #define wxUSE_DRAG_AND_DROP 1
44871 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44872 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
44875 if test "$wxUSE_SPLINES" = "yes" ; then
44876 cat >>confdefs.h
<<\_ACEOF
44877 #define wxUSE_SPLINES 1
44882 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44883 cat >>confdefs.h
<<\_ACEOF
44884 #define wxUSE_MOUSEWHEEL 1
44891 if test "$wxUSE_CONTROLS" = "yes"; then
44895 if test "$wxUSE_ACCEL" = "yes"; then
44896 cat >>confdefs.h
<<\_ACEOF
44897 #define wxUSE_ACCEL 1
44903 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44904 cat >>confdefs.h
<<\_ACEOF
44905 #define wxUSE_ANIMATIONCTRL 1
44909 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
44912 if test "$wxUSE_BUTTON" = "yes"; then
44913 cat >>confdefs.h
<<\_ACEOF
44914 #define wxUSE_BUTTON 1
44920 if test "$wxUSE_BMPBUTTON" = "yes"; then
44921 cat >>confdefs.h
<<\_ACEOF
44922 #define wxUSE_BMPBUTTON 1
44928 if test "$wxUSE_CALCTRL" = "yes"; then
44929 cat >>confdefs.h
<<\_ACEOF
44930 #define wxUSE_CALENDARCTRL 1
44934 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
44937 if test "$wxUSE_CARET" = "yes"; then
44938 cat >>confdefs.h
<<\_ACEOF
44939 #define wxUSE_CARET 1
44943 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
44946 if test "$wxUSE_COLLPANE" = "yes"; then
44947 cat >>confdefs.h
<<\_ACEOF
44948 #define wxUSE_COLLPANE 1
44952 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
44955 if test "$wxUSE_COMBOBOX" = "yes"; then
44956 cat >>confdefs.h
<<\_ACEOF
44957 #define wxUSE_COMBOBOX 1
44963 if test "$wxUSE_COMBOCTRL" = "yes"; then
44964 cat >>confdefs.h
<<\_ACEOF
44965 #define wxUSE_COMBOCTRL 1
44971 if test "$wxUSE_CHOICE" = "yes"; then
44972 cat >>confdefs.h
<<\_ACEOF
44973 #define wxUSE_CHOICE 1
44979 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44980 cat >>confdefs.h
<<\_ACEOF
44981 #define wxUSE_CHOICEBOOK 1
44987 if test "$wxUSE_CHECKBOX" = "yes"; then
44988 cat >>confdefs.h
<<\_ACEOF
44989 #define wxUSE_CHECKBOX 1
44995 if test "$wxUSE_CHECKLST" = "yes"; then
44996 cat >>confdefs.h
<<\_ACEOF
44997 #define wxUSE_CHECKLISTBOX 1
45003 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45004 cat >>confdefs.h
<<\_ACEOF
45005 #define wxUSE_COLOURPICKERCTRL 1
45011 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45012 cat >>confdefs.h
<<\_ACEOF
45013 #define wxUSE_DATEPICKCTRL 1
45019 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45020 cat >>confdefs.h
<<\_ACEOF
45021 #define wxUSE_DIRPICKERCTRL 1
45027 if test "$wxUSE_FILECTRL" = "yes"; then
45028 cat >>confdefs.h
<<\_ACEOF
45029 #define wxUSE_FILECTRL 1
45035 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45036 cat >>confdefs.h
<<\_ACEOF
45037 #define wxUSE_FILEPICKERCTRL 1
45043 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45044 cat >>confdefs.h
<<\_ACEOF
45045 #define wxUSE_FONTPICKERCTRL 1
45051 if test "$wxUSE_DISPLAY" = "yes"; then
45052 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45053 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45054 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45057 cat >>confdefs.h
<<\_ACEOF
45058 #define wxUSE_DISPLAY 1
45061 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45065 if test "$wxUSE_DETECT_SM" = "yes"; then
45066 cat >>confdefs.h
<<\_ACEOF
45067 #define wxUSE_DETECT_SM 1
45072 if test "$wxUSE_GAUGE" = "yes"; then
45073 cat >>confdefs.h
<<\_ACEOF
45074 #define wxUSE_GAUGE 1
45080 if test "$wxUSE_GRID" = "yes"; then
45081 cat >>confdefs.h
<<\_ACEOF
45082 #define wxUSE_GRID 1
45086 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45089 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45090 cat >>confdefs.h
<<\_ACEOF
45091 #define wxUSE_HYPERLINKCTRL 1
45097 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45098 cat >>confdefs.h
<<\_ACEOF
45099 #define wxUSE_BITMAPCOMBOBOX 1
45105 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45106 cat >>confdefs.h
<<\_ACEOF
45107 #define wxUSE_DATAVIEWCTRL 1
45111 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45114 if test "$wxUSE_IMAGLIST" = "yes"; then
45115 cat >>confdefs.h
<<\_ACEOF
45116 #define wxUSE_IMAGLIST 1
45121 if test "$wxUSE_LISTBOOK" = "yes"; then
45122 cat >>confdefs.h
<<\_ACEOF
45123 #define wxUSE_LISTBOOK 1
45129 if test "$wxUSE_LISTBOX" = "yes"; then
45130 cat >>confdefs.h
<<\_ACEOF
45131 #define wxUSE_LISTBOX 1
45137 if test "$wxUSE_LISTCTRL" = "yes"; then
45138 if test "$wxUSE_IMAGLIST" = "yes"; then
45139 cat >>confdefs.h
<<\_ACEOF
45140 #define wxUSE_LISTCTRL 1
45144 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45146 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45147 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45151 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45152 cat >>confdefs.h
<<\_ACEOF
45153 #define wxUSE_EDITABLELISTBOX 1
45157 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
45160 if test "$wxUSE_NOTEBOOK" = "yes"; then
45161 cat >>confdefs.h
<<\_ACEOF
45162 #define wxUSE_NOTEBOOK 1
45166 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45169 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45170 cat >>confdefs.h
<<\_ACEOF
45171 #define wxUSE_NOTIFICATION_MESSAGE 1
45176 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45177 cat >>confdefs.h
<<\_ACEOF
45178 #define wxUSE_ODCOMBOBOX 1
45182 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45185 if test "$wxUSE_RADIOBOX" = "yes"; then
45186 cat >>confdefs.h
<<\_ACEOF
45187 #define wxUSE_RADIOBOX 1
45193 if test "$wxUSE_RADIOBTN" = "yes"; then
45194 cat >>confdefs.h
<<\_ACEOF
45195 #define wxUSE_RADIOBTN 1
45201 if test "$wxUSE_SASH" = "yes"; then
45202 cat >>confdefs.h
<<\_ACEOF
45203 #define wxUSE_SASH 1
45206 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45209 if test "$wxUSE_SCROLLBAR" = "yes"; then
45210 cat >>confdefs.h
<<\_ACEOF
45211 #define wxUSE_SCROLLBAR 1
45215 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45218 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45219 cat >>confdefs.h
<<\_ACEOF
45220 #define wxUSE_SEARCHCTRL 1
45226 if test "$wxUSE_SLIDER" = "yes"; then
45227 cat >>confdefs.h
<<\_ACEOF
45228 #define wxUSE_SLIDER 1
45234 if test "$wxUSE_SPINBTN" = "yes"; then
45235 cat >>confdefs.h
<<\_ACEOF
45236 #define wxUSE_SPINBTN 1
45242 if test "$wxUSE_SPINCTRL" = "yes"; then
45243 cat >>confdefs.h
<<\_ACEOF
45244 #define wxUSE_SPINCTRL 1
45250 if test "$wxUSE_SPLITTER" = "yes"; then
45251 cat >>confdefs.h
<<\_ACEOF
45252 #define wxUSE_SPLITTER 1
45255 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45258 if test "$wxUSE_STATBMP" = "yes"; then
45259 cat >>confdefs.h
<<\_ACEOF
45260 #define wxUSE_STATBMP 1
45266 if test "$wxUSE_STATBOX" = "yes"; then
45267 cat >>confdefs.h
<<\_ACEOF
45268 #define wxUSE_STATBOX 1
45274 if test "$wxUSE_STATTEXT" = "yes"; then
45275 cat >>confdefs.h
<<\_ACEOF
45276 #define wxUSE_STATTEXT 1
45282 if test "$wxUSE_STATLINE" = "yes"; then
45283 cat >>confdefs.h
<<\_ACEOF
45284 #define wxUSE_STATLINE 1
45290 if test "$wxUSE_STATUSBAR" = "yes"; then
45291 cat >>confdefs.h
<<\_ACEOF
45292 #define wxUSE_NATIVE_STATUSBAR 1
45295 cat >>confdefs.h
<<\_ACEOF
45296 #define wxUSE_STATUSBAR 1
45301 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45304 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45305 cat >>confdefs.h
<<\_ACEOF
45306 #define wxUSE_TAB_DIALOG 1
45311 if test "$wxUSE_TEXTCTRL" = "yes"; then
45312 cat >>confdefs.h
<<\_ACEOF
45313 #define wxUSE_TEXTCTRL 1
45317 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45320 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45321 if test "$wxUSE_COCOA" = 1 ; then
45322 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45323 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45327 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45328 cat >>confdefs.h
<<\_ACEOF
45329 #define wxUSE_TOGGLEBTN 1
45336 if test "$wxUSE_TOOLBAR" = "yes"; then
45337 cat >>confdefs.h
<<\_ACEOF
45338 #define wxUSE_TOOLBAR 1
45343 if test "$wxUSE_UNIVERSAL" = "yes"; then
45344 wxUSE_TOOLBAR_NATIVE
="no"
45346 wxUSE_TOOLBAR_NATIVE
="yes"
45347 cat >>confdefs.h
<<\_ACEOF
45348 #define wxUSE_TOOLBAR_NATIVE 1
45353 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45356 if test "$wxUSE_TOOLTIPS" = "yes"; then
45357 if test "$wxUSE_MOTIF" = 1; then
45358 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45359 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45361 if test "$wxUSE_UNIVERSAL" = "yes"; then
45362 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45363 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45365 cat >>confdefs.h
<<\_ACEOF
45366 #define wxUSE_TOOLTIPS 1
45373 if test "$wxUSE_TREEBOOK" = "yes"; then
45374 cat >>confdefs.h
<<\_ACEOF
45375 #define wxUSE_TREEBOOK 1
45381 if test "$wxUSE_TOOLBOOK" = "yes"; then
45382 cat >>confdefs.h
<<\_ACEOF
45383 #define wxUSE_TOOLBOOK 1
45389 if test "$wxUSE_TREECTRL" = "yes"; then
45390 if test "$wxUSE_IMAGLIST" = "yes"; then
45391 cat >>confdefs.h
<<\_ACEOF
45392 #define wxUSE_TREECTRL 1
45396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45398 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45399 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45403 if test "$wxUSE_POPUPWIN" = "yes"; then
45404 if test "$wxUSE_COCOA" = 1 ; then
45405 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45406 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45408 if test "$wxUSE_PM" = 1; then
45409 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45410 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45412 cat >>confdefs.h
<<\_ACEOF
45413 #define wxUSE_POPUPWIN 1
45416 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
45423 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45424 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45425 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45426 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45428 cat >>confdefs.h
<<\_ACEOF
45429 #define wxUSE_DIALUP_MANAGER 1
45432 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
45436 if test "$wxUSE_TIPWINDOW" = "yes"; then
45437 if test "$wxUSE_PM" = 1; then
45438 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45439 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45441 cat >>confdefs.h
<<\_ACEOF
45442 #define wxUSE_TIPWINDOW 1
45448 if test "$USES_CONTROLS" = 1; then
45449 cat >>confdefs.h
<<\_ACEOF
45450 #define wxUSE_CONTROLS 1
45456 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45457 cat >>confdefs.h
<<\_ACEOF
45458 #define wxUSE_ACCESSIBILITY 1
45461 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
45464 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45465 cat >>confdefs.h
<<\_ACEOF
45466 #define wxUSE_DRAGIMAGE 1
45469 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
45472 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45473 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45474 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45475 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45477 cat >>confdefs.h
<<\_ACEOF
45478 #define wxUSE_EXCEPTIONS 1
45481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
45486 if test "$wxUSE_HTML" = "yes"; then
45487 cat >>confdefs.h
<<\_ACEOF
45488 #define wxUSE_HTML 1
45492 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45493 if test "$wxUSE_MAC" = 1; then
45494 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
45497 if test "$wxUSE_WEBKIT" = "yes"; then
45498 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45499 old_CPPFLAGS
="$CPPFLAGS"
45500 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
45501 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45502 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45503 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45504 echo $ECHO_N "(cached) $ECHO_C" >&6
45506 cat >conftest.
$ac_ext <<_ACEOF
45509 cat confdefs.h
>>conftest.
$ac_ext
45510 cat >>conftest.
$ac_ext <<_ACEOF
45511 /* end confdefs.h. */
45513 #include <Carbon/Carbon.h>
45514 #include <WebKit/WebKit.h>
45517 #include <WebKit/HIWebView.h>
45519 rm -f conftest.
$ac_objext
45520 if { (ac_try
="$ac_compile"
45521 case "(($ac_try" in
45522 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45523 *) ac_try_echo=$ac_try;;
45525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45526 (eval "$ac_compile") 2>conftest.er1
45528 grep -v '^ *+' conftest.er1 >conftest.err
45530 cat conftest.err >&5
45531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45532 (exit $ac_status); } && {
45533 test -z "$ac_c_werror_flag" ||
45534 test ! -s conftest.err
45535 } && test -s conftest.$ac_objext; then
45536 ac_cv_header_WebKit_HIWebView_h=yes
45538 echo "$as_me: failed program was:" >&5
45539 sed 's/^/| /' conftest.$ac_ext >&5
45541 ac_cv_header_WebKit_HIWebView_h=no
45544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45546 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45547 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45548 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45550 cat >>confdefs.h <<\_ACEOF
45551 #define wxUSE_WEBKIT 1
45554 WEBKIT_LINK="-framework WebKit"
45558 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45559 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45565 CPPFLAGS="$old_CPPFLAGS"
45566 elif test "$wxUSE_COCOA" = 1; then
45567 cat >>confdefs.h <<\_ACEOF
45568 #define wxUSE_WEBKIT 1
45577 if test "$wxUSE_XRC" = "yes"; then
45578 if test "$wxUSE_XML" != "yes"; then
45579 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45580 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45583 cat >>confdefs.h <<\_ACEOF
45584 #define wxUSE_XRC 1
45588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45593 if test "$wxUSE_AUI" = "yes"; then
45594 cat >>confdefs.h <<\_ACEOF
45595 #define wxUSE_AUI 1
45599 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45603 if test "$wxUSE_STC" = "yes"; then
45604 cat >>confdefs.h <<\_ACEOF
45605 #define wxUSE_STC 1
45609 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45612 if test "$wxUSE_MENUS" = "yes"; then
45613 cat >>confdefs.h <<\_ACEOF
45614 #define wxUSE_MENUS 1
45617 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45620 if test "$wxUSE_METAFILE" = "yes"; then
45621 cat >>confdefs.h <<\_ACEOF
45622 #define wxUSE_METAFILE 1
45627 if test "$wxUSE_MIMETYPE" = "yes"; then
45628 cat >>confdefs.h <<\_ACEOF
45629 #define wxUSE_MIMETYPE 1
45634 if test "$wxUSE_MINIFRAME" = "yes"; then
45635 cat >>confdefs.h <<\_ACEOF
45636 #define wxUSE_MINIFRAME 1
45641 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45642 cat >>confdefs.h <<\_ACEOF
45643 #define wxUSE_SYSTEM_OPTIONS 1
45648 if test "$wxUSE_TASKBARICON" = "yes"; then
45649 cat >>confdefs.h <<\_ACEOF
45650 #define wxUSE_TASKBARICON 1
45653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45657 if test "$wxUSE_VALIDATORS" = "yes"; then
45658 cat >>confdefs.h <<\_ACEOF
45659 #define wxUSE_VALIDATORS 1
45662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45665 if test "$wxUSE_PALETTE" = "yes" ; then
45666 if test "$wxUSE_DFB" = 1; then
45667 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45668 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45671 cat >>confdefs.h <<\_ACEOF
45672 #define wxUSE_PALETTE 1
45678 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45679 LIBS=" -lunicows $LIBS"
45683 if test "$wxUSE_RICHTEXT" = "yes"; then
45684 cat >>confdefs.h <<\_ACEOF
45685 #define wxUSE_RICHTEXT 1
45689 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45693 if test "$wxUSE_IMAGE" = "yes" ; then
45694 cat >>confdefs.h <<\_ACEOF
45695 #define wxUSE_IMAGE 1
45699 if test "$wxUSE_GIF" = "yes" ; then
45700 cat >>confdefs.h <<\_ACEOF
45701 #define wxUSE_GIF 1
45706 if test "$wxUSE_PCX" = "yes" ; then
45707 cat >>confdefs.h <<\_ACEOF
45708 #define wxUSE_PCX 1
45713 if test "$wxUSE_TGA" = "yes" ; then
45714 cat >>confdefs.h <<\_ACEOF
45715 #define wxUSE_TGA 1
45720 if test "$wxUSE_IFF" = "yes" ; then
45721 cat >>confdefs.h <<\_ACEOF
45722 #define wxUSE_IFF 1
45727 if test "$wxUSE_PNM" = "yes" ; then
45728 cat >>confdefs.h <<\_ACEOF
45729 #define wxUSE_PNM 1
45734 if test "$wxUSE_XPM" = "yes" ; then
45735 cat >>confdefs.h <<\_ACEOF
45736 #define wxUSE_XPM 1
45741 if test "$wxUSE_ICO_CUR" = "yes" ; then
45742 cat >>confdefs.h <<\_ACEOF
45743 #define wxUSE_ICO_CUR 1
45750 if test "$wxUSE_ABOUTDLG" = "yes"; then
45751 cat >>confdefs.h <<\_ACEOF
45752 #define wxUSE_ABOUTDLG 1
45757 if test "$wxUSE_CHOICEDLG" = "yes"; then
45758 cat >>confdefs.h <<\_ACEOF
45759 #define wxUSE_CHOICEDLG 1
45764 if test "$wxUSE_COLOURDLG" = "yes"; then
45765 cat >>confdefs.h <<\_ACEOF
45766 #define wxUSE_COLOURDLG 1
45771 if test "$wxUSE_FILEDLG" = "yes"; then
45772 cat >>confdefs.h <<\_ACEOF
45773 #define wxUSE_FILEDLG 1
45778 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45779 cat >>confdefs.h <<\_ACEOF
45780 #define wxUSE_FINDREPLDLG 1
45785 if test "$wxUSE_FONTDLG" = "yes"; then
45786 cat >>confdefs.h <<\_ACEOF
45787 #define wxUSE_FONTDLG 1
45792 if test "$wxUSE_DIRDLG" = "yes"; then
45793 if test "$wxUSE_TREECTRL" != "yes"; then
45794 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45795 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45797 cat >>confdefs.h <<\_ACEOF
45798 #define wxUSE_DIRDLG 1
45804 if test "$wxUSE_MSGDLG" = "yes"; then
45805 cat >>confdefs.h <<\_ACEOF
45806 #define wxUSE_MSGDLG 1
45811 if test "$wxUSE_NUMBERDLG" = "yes"; then
45812 cat >>confdefs.h <<\_ACEOF
45813 #define wxUSE_NUMBERDLG 1
45818 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45819 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45820 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45821 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45823 cat >>confdefs.h <<\_ACEOF
45824 #define wxUSE_PROGRESSDLG 1
45830 if test "$wxUSE_SPLASH" = "yes"; then
45831 cat >>confdefs.h <<\_ACEOF
45832 #define wxUSE_SPLASH 1
45835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45838 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45839 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45840 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45841 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45843 cat >>confdefs.h <<\_ACEOF
45844 #define wxUSE_STARTUP_TIPS 1
45850 if test "$wxUSE_TEXTDLG" = "yes"; then
45851 cat >>confdefs.h <<\_ACEOF
45852 #define wxUSE_TEXTDLG 1
45857 if test "$wxUSE_WIZARDDLG" = "yes"; then
45858 cat >>confdefs.h <<\_ACEOF
45859 #define wxUSE_WIZARDDLG 1
45862 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45866 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45867 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45868 cat >>confdefs.h <<\_ACEOF
45869 #define wxUSE_OWNER_DRAWN 1
45876 if test "$wxUSE_MSW" = 1 ; then
45878 if test "$wxUSE_DC_CACHEING" = "yes"; then
45879 cat >>confdefs.h <<\_ACEOF
45880 #define wxUSE_DC_CACHEING 1
45885 if test "$wxUSE_DIB" = "yes"; then
45886 cat >>confdefs.h <<\_ACEOF
45887 #define wxUSE_WXDIB 1
45892 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45893 cat >>confdefs.h <<\_ACEOF
45894 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45899 if test "$wxUSE_UXTHEME" = "yes"; then
45900 cat >>confdefs.h <<\_ACEOF
45901 #define wxUSE_UXTHEME 1
45908 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
45909 cat >>confdefs.h <<\_ACEOF
45910 #define wxUSE_AUTOID_MANAGEMENT 1
45915 if test "$USE_WIN32" = 1 ; then
45916 if test "$wxUSE_INICONF" = "yes"; then
45917 cat >>confdefs.h <<\_ACEOF
45918 #define wxUSE_INICONF 1
45923 if test "$wxUSE_REGKEY" = "yes"; then
45924 cat >>confdefs.h <<\_ACEOF
45925 #define wxUSE_REGKEY 1
45932 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45933 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45934 cat >>confdefs.h <<\_ACEOF
45935 #define wxUSE_GRAPHICS_CONTEXT 1
45938 elif test "$wxUSE_GTK" != 1; then
45939 cat >>confdefs.h <<\_ACEOF
45940 #define wxUSE_GRAPHICS_CONTEXT 1
45946 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45947 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45949 if test -n "$PKG_CONFIG"; then
45950 if test -n "$CAIRO_CFLAGS"; then
45951 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45953 if test -n "$PKG_CONFIG" && \
45954 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45955 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45958 (exit $ac_status); }; then
45959 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
45967 if test -n "$PKG_CONFIG"; then
45968 if test -n "$CAIRO_LIBS"; then
45969 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45971 if test -n "$PKG_CONFIG" && \
45972 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45973 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45976 (exit $ac_status); }; then
45977 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
45988 if test $pkg_failed = yes; then
45990 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45991 _pkg_short_errors_supported=yes
45993 _pkg_short_errors_supported=no
45995 if test $_pkg_short_errors_supported = yes; then
45996 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45998 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46000 # Put the nasty error message in config.log where it belongs
46001 echo "$CAIRO_PKG_ERRORS" >&5
46003 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46004 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46006 elif test $pkg_failed = untried; then
46007 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46008 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46011 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46012 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46013 { echo "$as_me:$LINENO: result: yes" >&5
46014 echo "${ECHO_T}yes" >&6; }
46015 cat >>confdefs.h <<\_ACEOF
46016 #define wxUSE_GRAPHICS_CONTEXT 1
46026 if test "$wxUSE_MEDIACTRL" = "yes"; then
46029 if test "$wxUSE_GTK" = 1; then
46030 wxUSE_GSTREAMER="no"
46032 GST_VERSION_MAJOR=0
46033 GST_VERSION_MINOR=10
46034 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46036 if test "$wxUSE_GSTREAMER8" = "no"; then
46039 { echo "$as_me:$LINENO: checking for GST" >&5
46040 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46042 if test -n "$PKG_CONFIG"; then
46043 if test -n "$GST_CFLAGS"; then
46044 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46046 if test -n "$PKG_CONFIG" && \
46047 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46048 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46051 (exit $ac_status); }; then
46052 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46060 if test -n "$PKG_CONFIG"; then
46061 if test -n "$GST_LIBS"; then
46062 pkg_cv_GST_LIBS="$GST_LIBS"
46064 if test -n "$PKG_CONFIG" && \
46065 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46066 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46069 (exit $ac_status); }; then
46070 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46081 if test $pkg_failed = yes; then
46083 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46084 _pkg_short_errors_supported=yes
46086 _pkg_short_errors_supported=no
46088 if test $_pkg_short_errors_supported = yes; then
46089 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46091 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46093 # Put the nasty error message in config.log where it belongs
46094 echo "$GST_PKG_ERRORS" >&5
46097 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46098 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46099 GST_VERSION_MINOR=8
46102 elif test $pkg_failed = untried; then
46104 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46105 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46106 GST_VERSION_MINOR=8
46110 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46111 GST_LIBS=$pkg_cv_GST_LIBS
46112 { echo "$as_me:$LINENO: result: yes" >&5
46113 echo "${ECHO_T}yes" >&6; }
46115 wxUSE_GSTREAMER="yes"
46116 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46120 GST_VERSION_MINOR=8
46123 if test $GST_VERSION_MINOR = "8"; then
46124 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46127 { echo "$as_me:$LINENO: checking for GST" >&5
46128 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46130 if test -n "$PKG_CONFIG"; then
46131 if test -n "$GST_CFLAGS"; then
46132 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46134 if test -n "$PKG_CONFIG" && \
46135 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46136 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46139 (exit $ac_status); }; then
46140 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46148 if test -n "$PKG_CONFIG"; then
46149 if test -n "$GST_LIBS"; then
46150 pkg_cv_GST_LIBS="$GST_LIBS"
46152 if test -n "$PKG_CONFIG" && \
46153 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46154 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46157 (exit $ac_status); }; then
46158 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46169 if test $pkg_failed = yes; then
46171 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46172 _pkg_short_errors_supported=yes
46174 _pkg_short_errors_supported=no
46176 if test $_pkg_short_errors_supported = yes; then
46177 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46179 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46181 # Put the nasty error message in config.log where it belongs
46182 echo "$GST_PKG_ERRORS" >&5
46185 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46186 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46188 elif test $pkg_failed = untried; then
46190 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46191 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46194 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46195 GST_LIBS=$pkg_cv_GST_LIBS
46196 { echo "$as_me:$LINENO: result: yes" >&5
46197 echo "${ECHO_T}yes" >&6; }
46198 wxUSE_GSTREAMER="yes"
46203 if test "$wxUSE_GSTREAMER" = "yes"; then
46204 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46205 EXTRALIBS_MEDIA="$GST_LIBS"
46207 cat >>confdefs.h <<\_ACEOF
46208 #define wxUSE_GSTREAMER 1
46216 if test $USE_MEDIA = 1; then
46217 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46218 cat >>confdefs.h <<\_ACEOF
46219 #define wxUSE_MEDIACTRL 1
46226 if test "$cross_compiling" = "yes"; then
46229 OSINFO=`uname
-s -r -m`
46230 OSINFO="\"$OSINFO\""
46233 cat >>confdefs.h <<_ACEOF
46234 #define WXWIN_OS_DESCRIPTION $OSINFO
46239 if test "x$prefix" != "xNONE"; then
46242 wxPREFIX=$ac_default_prefix
46245 cat >>confdefs.h <<_ACEOF
46246 #define wxINSTALL_PREFIX "$wxPREFIX"
46252 STD_BASE_LIBS="base"
46254 BUILT_WX_LIBS="base"
46255 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46257 if test "$wxUSE_SOCKETS" = "yes" ; then
46258 STD_BASE_LIBS="net $STD_BASE_LIBS"
46259 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46261 if test "$wxUSE_XML" = "yes" ; then
46262 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46263 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46266 if test "$wxUSE_GUI" = "yes"; then
46267 STD_GUI_LIBS="adv core"
46268 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46270 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46271 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46272 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46274 if test "$wxUSE_HTML" = "yes" ; then
46275 STD_GUI_LIBS="html $STD_GUI_LIBS"
46276 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46278 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46279 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46281 if test "$wxUSE_OPENGL" = "yes" ; then
46282 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46284 if test "$wxUSE_AUI" = "yes" ; then
46285 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46287 if test "$wxUSE_STC" = "yes" ; then
46288 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46290 if test "$wxUSE_XRC" = "yes" ; then
46291 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46292 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46303 if test "$wxUSE_MAC" = 1 ; then
46304 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46305 if test "$USE_DARWIN" = 1; then
46306 LDFLAGS="$LDFLAGS -framework QuickTime"
46308 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46311 if test "$USE_DARWIN" = 1; then
46312 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46314 LDFLAGS="$LDFLAGS -lCarbonLib"
46317 if test "$wxUSE_COCOA" = 1 ; then
46318 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46319 if test "$wxUSE_MEDIACTRL" = "yes"; then
46320 LDFLAGS="$LDFLAGS -framework QuickTime"
46323 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46324 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46327 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46329 if test "$wxUSE_GUI" = "yes"; then
46332 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46333 erase event exec font image minimal mobile \
46334 mobile/wxedit mobile/styles render \
46335 shaped svg taborder vscroll widgets"
46337 if test "$wxUSE_MONOLITHIC" != "yes"; then
46338 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46340 if test "$TOOLKIT" = "MSW"; then
46341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46342 if test "$wxUSE_UNIVERSAL" != "yes"; then
46343 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46346 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46347 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46350 SAMPLES_SUBDIRS="console"
46351 if test "$wxUSE_SOCKETS" = "yes" ; then
46352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46357 if test "x$INTELCC" = "xyes" ; then
46358 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46359 elif test "$GCC" = yes ; then
46360 CWARNINGS="-Wall -Wundef"
46363 if test "x$INTELCXX" = "xyes" ; then
46364 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46365 elif test "$GXX" = yes ; then
46366 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46370 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46371 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46374 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46375 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
46376 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
46379 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46380 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46381 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46383 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46386 if test "x$MWCC" = "xyes"; then
46388 CC="$CC -cwd source -I-"
46389 CXX="$CXX -cwd source -I-"
46394 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46395 EXTRALIBS_XML="$EXPAT_LINK"
46396 EXTRALIBS_HTML="$MSPACK_LINK"
46397 EXTRALIBS_MEDIA="$GST_LIBS"
46398 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46399 if test "$wxUSE_GUI" = "yes"; then
46400 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46402 if test "$wxUSE_OPENGL" = "yes"; then
46403 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46406 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46408 WXCONFIG_LIBS="$LIBS"
46410 if test "$wxUSE_REGEX" = "builtin" ; then
46411 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46413 if test "$wxUSE_EXPAT" = "builtin" ; then
46414 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46416 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46417 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46419 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46420 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46422 if test "$wxUSE_LIBPNG" = "builtin" ; then
46423 wxconfig_3rdparty="png $wxconfig_3rdparty"
46425 if test "$wxUSE_ZLIB" = "builtin" ; then
46426 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46429 for i in $wxconfig_3rdparty ; do
46430 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46434 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46437 case "$wxUNIV_THEMES" in
46439 cat >>confdefs.h <<\_ACEOF
46440 #define wxUSE_ALL_THEMES 1
46446 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46447 cat >>confdefs.h <<_ACEOF
46448 #define wxUSE_THEME_$t 1
46464 if test $wxUSE_MONOLITHIC = "yes" ; then
46470 if test $wxUSE_PLUGINS = "yes" ; then
46476 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46482 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46514 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46525 TOOLKIT_DESC="GTK+"
46526 if test "$WXGTK2" = 1; then
46527 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46528 if test "$wxUSE_GTKPRINT" = "yes" ; then
46529 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46531 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46532 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46534 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46535 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46537 if test "$wxUSE_LIBHILDON" = "yes"; then
46538 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46541 if test "$TOOLKIT_EXTRA" != ""; then
46542 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46548 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46552 TOOLKIT_DESC="base only"
46556 if test "$wxUSE_WINE" = "yes"; then
46557 BAKEFILE_FORCE_PLATFORM=win32
46560 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46562 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46563 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46564 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46565 echo $ECHO_N "(cached) $ECHO_C" >&6
46568 echo '#include <stdio.h>
46569 const wchar_t test_var[] = L"awidetest";' > conftest.h
46571 echo '#include "conftest.h"
46574 printf("%ls", test_var);
46578 wx_cv_gcc_pch_bug="pch not supported"
46580 if $CXX conftest.h >/dev/null 2>&1
46584 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46586 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46587 grep awidetest >/dev/null
46589 wx_cv_gcc_pch_bug=no
46591 wx_cv_gcc_pch_bug=yes
46596 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46599 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46600 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46602 if test "$wx_cv_gcc_pch_bug" = yes; then
46610 if test "x$BAKEFILE_HOST" = "x"; then
46611 if test "x${host}" = "x" ; then
46612 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46613 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46614 { (exit 1); exit 1; }; }
46617 BAKEFILE_HOST="${host}"
46620 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46622 if test -n "$ac_tool_prefix"; then
46623 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46624 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46627 if test "${ac_cv_prog_RANLIB+set}" = set; then
46628 echo $ECHO_N "(cached) $ECHO_C" >&6
46630 if test -n "$RANLIB"; then
46631 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46634 for as_dir in $PATH
46637 test -z "$as_dir" && as_dir=.
46638 for ac_exec_ext in '' $ac_executable_extensions; do
46639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46640 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46650 RANLIB=$ac_cv_prog_RANLIB
46651 if test -n "$RANLIB"; then
46652 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46653 echo "${ECHO_T}$RANLIB" >&6; }
46655 { echo "$as_me:$LINENO: result: no" >&5
46656 echo "${ECHO_T}no" >&6; }
46661 if test -z "$ac_cv_prog_RANLIB"; then
46662 ac_ct_RANLIB=$RANLIB
46663 # Extract the first word of "ranlib", so it can be a program name with args.
46664 set dummy ranlib; ac_word=$2
46665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46667 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46668 echo $ECHO_N "(cached) $ECHO_C" >&6
46670 if test -n "$ac_ct_RANLIB"; then
46671 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46674 for as_dir in $PATH
46677 test -z "$as_dir" && as_dir=.
46678 for ac_exec_ext in '' $ac_executable_extensions; do
46679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46680 ac_cv_prog_ac_ct_RANLIB="ranlib"
46681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46690 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46691 if test -n "$ac_ct_RANLIB"; then
46692 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46693 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46695 { echo "$as_me:$LINENO: result: no" >&5
46696 echo "${ECHO_T}no" >&6; }
46699 if test "x$ac_ct_RANLIB" = x; then
46702 case $cross_compiling:$ac_tool_warned in
46704 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46705 whose name does not start with the host triplet. If you think this
46706 configuration is useful to you, please write to autoconf@gnu.org." >&5
46707 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46708 whose name does not start with the host triplet. If you think this
46709 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46710 ac_tool_warned=yes ;;
46712 RANLIB=$ac_ct_RANLIB
46715 RANLIB="$ac_cv_prog_RANLIB"
46718 # Find a good install program. We prefer a C program (faster),
46719 # so one script is as good as another. But avoid the broken or
46720 # incompatible versions:
46721 # SysV /etc/install, /usr/sbin/install
46722 # SunOS /usr/etc/install
46723 # IRIX /sbin/install
46725 # AmigaOS /C/install, which installs bootblocks on floppy discs
46726 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46727 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46728 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46729 # OS/2's system install, which has a completely different semantic
46730 # ./install, which can be erroneously created by make from ./install.sh.
46731 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46732 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46733 if test -z "$INSTALL"; then
46734 if test "${ac_cv_path_install+set}" = set; then
46735 echo $ECHO_N "(cached) $ECHO_C" >&6
46737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46738 for as_dir in $PATH
46741 test -z "$as_dir" && as_dir=.
46742 # Account for people who put trailing slashes in PATH elements.
46744 ./ | .// | /cC/* | \
46745 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46746 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46749 # OSF1 and SCO ODT 3.0 have their own names for install.
46750 # Don't use installbsd from OSF since it installs stuff as root
46752 for ac_prog in ginstall scoinst install; do
46753 for ac_exec_ext in '' $ac_executable_extensions; do
46754 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46755 if test $ac_prog = install &&
46756 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46757 # AIX install. It has an incompatible calling convention.
46759 elif test $ac_prog = install &&
46760 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46761 # program-specific install script used by HP pwplus--don't use.
46764 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46777 if test "${ac_cv_path_install+set}" = set; then
46778 INSTALL=$ac_cv_path_install
46780 # As a last resort, use the slow shell script. Don't cache a
46781 # value for INSTALL within a source directory, because that will
46782 # break other packages using the cache if that directory is
46783 # removed, or if the value is a relative name.
46784 INSTALL=$ac_install_sh
46787 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46788 echo "${ECHO_T}$INSTALL" >&6; }
46790 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46791 # It thinks the first close brace ends the variable substitution.
46792 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46794 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46796 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46798 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46799 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46801 if test "$LN_S" = "ln -s"; then
46802 { echo "$as_me:$LINENO: result: yes" >&5
46803 echo "${ECHO_T}yes" >&6; }
46805 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46806 echo "${ECHO_T}no, using $LN_S" >&6; }
46810 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46811 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46812 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46813 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46814 echo $ECHO_N "(cached) $ECHO_C" >&6
46816 cat >conftest.make <<\_ACEOF
46819 @echo '@@@%%%=$(MAKE)=@@@%%%'
46821 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46822 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
46823 *@@@%%%=?*=@@@%%%*)
46824 eval ac_cv_prog_make_${ac_make}_set=yes;;
46826 eval ac_cv_prog_make_${ac_make}_set=no;;
46828 rm -f conftest.make
46830 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46831 { echo "$as_me:$LINENO: result: yes" >&5
46832 echo "${ECHO_T}yes" >&6; }
46835 { echo "$as_me:$LINENO: result: no" >&5
46836 echo "${ECHO_T}no" >&6; }
46837 SET_MAKE="MAKE=${MAKE-make}"
46842 if test "x$SUNCXX" = "xyes"; then
46844 AROPTIONS="-xar -o"
46846 elif test "x$SGICC" = "xyes"; then
46851 if test -n "$ac_tool_prefix"; then
46852 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46853 set dummy ${ac_tool_prefix}ar; ac_word=$2
46854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46856 if test "${ac_cv_prog_AR+set}" = set; then
46857 echo $ECHO_N "(cached) $ECHO_C" >&6
46859 if test -n "$AR"; then
46860 ac_cv_prog_AR="$AR" # Let the user override the test.
46862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46863 for as_dir in $PATH
46866 test -z "$as_dir" && as_dir=.
46867 for ac_exec_ext in '' $ac_executable_extensions; do
46868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46869 ac_cv_prog_AR="${ac_tool_prefix}ar"
46870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46880 if test -n "$AR"; then
46881 { echo "$as_me:$LINENO: result: $AR" >&5
46882 echo "${ECHO_T}$AR" >&6; }
46884 { echo "$as_me:$LINENO: result: no" >&5
46885 echo "${ECHO_T}no" >&6; }
46890 if test -z "$ac_cv_prog_AR"; then
46892 # Extract the first word of "ar", so it can be a program name with args.
46893 set dummy ar; ac_word=$2
46894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46896 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46897 echo $ECHO_N "(cached) $ECHO_C" >&6
46899 if test -n "$ac_ct_AR"; then
46900 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46903 for as_dir in $PATH
46906 test -z "$as_dir" && as_dir=.
46907 for ac_exec_ext in '' $ac_executable_extensions; do
46908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46909 ac_cv_prog_ac_ct_AR="ar"
46910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46919 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46920 if test -n "$ac_ct_AR"; then
46921 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46922 echo "${ECHO_T}$ac_ct_AR" >&6; }
46924 { echo "$as_me:$LINENO: result: no" >&5
46925 echo "${ECHO_T}no" >&6; }
46928 if test "x$ac_ct_AR" = x; then
46931 case $cross_compiling:$ac_tool_warned in
46933 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46934 whose name does not start with the host triplet. If you think this
46935 configuration is useful to you, please write to autoconf@gnu.org." >&5
46936 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46937 whose name does not start with the host triplet. If you think this
46938 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46939 ac_tool_warned=yes ;;
46944 AR="$ac_cv_prog_AR"
46951 if test -n "$ac_tool_prefix"; then
46952 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46953 set dummy ${ac_tool_prefix}strip; ac_word=$2
46954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46956 if test "${ac_cv_prog_STRIP+set}" = set; then
46957 echo $ECHO_N "(cached) $ECHO_C" >&6
46959 if test -n "$STRIP"; then
46960 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46963 for as_dir in $PATH
46966 test -z "$as_dir" && as_dir=.
46967 for ac_exec_ext in '' $ac_executable_extensions; do
46968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46969 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46979 STRIP=$ac_cv_prog_STRIP
46980 if test -n "$STRIP"; then
46981 { echo "$as_me:$LINENO: result: $STRIP" >&5
46982 echo "${ECHO_T}$STRIP" >&6; }
46984 { echo "$as_me:$LINENO: result: no" >&5
46985 echo "${ECHO_T}no" >&6; }
46990 if test -z "$ac_cv_prog_STRIP"; then
46992 # Extract the first word of "strip", so it can be a program name with args.
46993 set dummy strip; ac_word=$2
46994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46996 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46997 echo $ECHO_N "(cached) $ECHO_C" >&6
46999 if test -n "$ac_ct_STRIP"; then
47000 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47003 for as_dir in $PATH
47006 test -z "$as_dir" && as_dir=.
47007 for ac_exec_ext in '' $ac_executable_extensions; do
47008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47009 ac_cv_prog_ac_ct_STRIP="strip"
47010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47019 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47020 if test -n "$ac_ct_STRIP"; then
47021 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47022 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47024 { echo "$as_me:$LINENO: result: no" >&5
47025 echo "${ECHO_T}no" >&6; }
47028 if test "x$ac_ct_STRIP" = x; then
47031 case $cross_compiling:$ac_tool_warned in
47033 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47034 whose name does not start with the host triplet. If you think this
47035 configuration is useful to you, please write to autoconf@gnu.org." >&5
47036 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47037 whose name does not start with the host triplet. If you think this
47038 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47039 ac_tool_warned=yes ;;
47044 STRIP="$ac_cv_prog_STRIP"
47047 if test -n "$ac_tool_prefix"; then
47048 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47049 set dummy ${ac_tool_prefix}nm; ac_word=$2
47050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47052 if test "${ac_cv_prog_NM+set}" = set; then
47053 echo $ECHO_N "(cached) $ECHO_C" >&6
47055 if test -n "$NM"; then
47056 ac_cv_prog_NM="$NM" # Let the user override the test.
47058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47059 for as_dir in $PATH
47062 test -z "$as_dir" && as_dir=.
47063 for ac_exec_ext in '' $ac_executable_extensions; do
47064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47065 ac_cv_prog_NM="${ac_tool_prefix}nm"
47066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47076 if test -n "$NM"; then
47077 { echo "$as_me:$LINENO: result: $NM" >&5
47078 echo "${ECHO_T}$NM" >&6; }
47080 { echo "$as_me:$LINENO: result: no" >&5
47081 echo "${ECHO_T}no" >&6; }
47086 if test -z "$ac_cv_prog_NM"; then
47088 # Extract the first word of "nm", so it can be a program name with args.
47089 set dummy nm; ac_word=$2
47090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47092 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47093 echo $ECHO_N "(cached) $ECHO_C" >&6
47095 if test -n "$ac_ct_NM"; then
47096 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47099 for as_dir in $PATH
47102 test -z "$as_dir" && as_dir=.
47103 for ac_exec_ext in '' $ac_executable_extensions; do
47104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47105 ac_cv_prog_ac_ct_NM="nm"
47106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47115 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47116 if test -n "$ac_ct_NM"; then
47117 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47118 echo "${ECHO_T}$ac_ct_NM" >&6; }
47120 { echo "$as_me:$LINENO: result: no" >&5
47121 echo "${ECHO_T}no" >&6; }
47124 if test "x$ac_ct_NM" = x; then
47127 case $cross_compiling:$ac_tool_warned in
47129 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47130 whose name does not start with the host triplet. If you think this
47131 configuration is useful to you, please write to autoconf@gnu.org." >&5
47132 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47133 whose name does not start with the host triplet. If you think this
47134 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47135 ac_tool_warned=yes ;;
47140 NM="$ac_cv_prog_NM"
47144 case ${BAKEFILE_HOST} in
47146 INSTALL_DIR="mkdir -p"
47149 INSTALL_DIR='$(INSTALL) -d'
47155 case ${BAKEFILE_HOST} in
47156 *-*-cygwin* | *-*-mingw32* )
47157 LDFLAGS_GUI="-mwindows"
47163 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47164 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47165 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47166 echo $ECHO_N "(cached) $ECHO_C" >&6
47169 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47170 egrep -s GNU > /dev/null); then
47171 bakefile_cv_prog_makeisgnu="yes"
47173 bakefile_cv_prog_makeisgnu="no"
47177 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47178 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47180 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47197 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47198 case "${BAKEFILE_HOST}" in
47205 *-pc-os2_emx | *-pc-os2-emx )
47215 powerpc-apple-macos* )
47224 case "$BAKEFILE_FORCE_PLATFORM" in
47259 # Check whether --enable-omf was given.
47260 if test "${enable_omf+set}" = set; then
47261 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47265 case "${BAKEFILE_HOST}" in
47267 if test "x$GCC" = "xyes"; then
47268 CFLAGS="$CFLAGS -fno-common"
47269 CXXFLAGS="$CXXFLAGS -fno-common"
47271 if test "x$XLCC" = "xyes"; then
47272 CFLAGS="$CFLAGS -qnocommon"
47273 CXXFLAGS="$CXXFLAGS -qnocommon"
47277 *-pc-os2_emx | *-pc-os2-emx )
47278 if test "x$bk_os2_use_omf" = "xyes" ; then
47281 LDFLAGS="-Zomf $LDFLAGS"
47282 CFLAGS="-Zomf $CFLAGS"
47283 CXXFLAGS="-Zomf $CXXFLAGS"
47291 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47297 SO_SUFFIX_MODULE="so"
47302 DLLPREFIX_MODULE=""
47306 case "${BAKEFILE_HOST}" in
47309 SO_SUFFIX_MODULE="sl"
47313 SO_SUFFIX_MODULE="a"
47317 SO_SUFFIX_MODULE="dll"
47318 DLLIMP_SUFFIX="dll.a"
47325 SO_SUFFIX_MODULE="dll"
47326 DLLIMP_SUFFIX="dll.a"
47336 *-pc-os2_emx | *-pc-os2-emx )
47338 SO_SUFFIX_MODULE="dll"
47339 DLLIMP_SUFFIX=$OS2_LIBEXT
47343 LIBEXT=".$OS2_LIBEXT"
47348 SO_SUFFIX_MODULE="bundle"
47352 if test "x$DLLIMP_SUFFIX" = "x" ; then
47353 DLLIMP_SUFFIX="$SO_SUFFIX"
47368 if test "x$GCC" = "xyes"; then
47372 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47373 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47376 case "${BAKEFILE_HOST}" in
47378 if test "x$GCC" != "xyes"; then
47379 LDFLAGS="$LDFLAGS -L/usr/lib"
47381 SHARED_LD_CC="${CC} -b -o"
47382 SHARED_LD_CXX="${CXX} -b -o"
47388 if test "$INTELCC" = "yes"; then
47390 elif test "x$SUNCXX" = "xyes"; then
47391 SHARED_LD_CC="${CC} -G -o"
47392 SHARED_LD_CXX="${CXX} -G -o"
47398 if test "x$SUNCXX" = xyes ; then
47399 SHARED_LD_CC="${CC} -G -o"
47400 SHARED_LD_CXX="${CXX} -G -o"
47408 cat <<EOF >shared-ld-sh
47410 #-----------------------------------------------------------------------------
47411 #-- Name: distrib/mac/shared-ld-sh
47412 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47413 #-- Author: Gilles Depeyrot
47414 #-- Copyright: (c) 2002 Gilles Depeyrot
47415 #-- Licence: any use permitted
47416 #-----------------------------------------------------------------------------
47421 linking_flag="-dynamiclib"
47422 ldargs="-r -keep_private_externs -nostdlib"
47424 while test ${D}# -gt 0; do
47431 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47432 # collect these options and values
47433 args="${D}{args} ${D}1 ${D}2"
47438 # collect these load args
47439 ldargs="${D}{ldargs} ${D}1"
47442 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47443 # collect these options
47444 args="${D}{args} ${D}1"
47447 -dynamiclib|-bundle)
47448 linking_flag="${D}1"
47452 echo "shared-ld: unhandled option '${D}1'"
47456 *.o | *.a | *.dylib)
47457 # collect object files
47458 objects="${D}{objects} ${D}1"
47462 echo "shared-ld: unhandled argument '${D}1'"
47473 # Link one module containing all the others
47475 if test ${D}{verbose} = 1; then
47476 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47478 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47482 # Link the shared library from the single module created, but only if the
47483 # previous command didn't fail:
47485 if test ${D}{status} = 0; then
47486 if test ${D}{verbose} = 1; then
47487 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47489 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47494 # Remove intermediate module
47496 rm -f master.${D}${D}.o
47501 chmod +x shared-ld-sh
47503 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47504 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47507 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47508 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47509 if test "${bakefile_cv_gcc31+set}" = set; then
47510 echo $ECHO_N "(cached) $ECHO_C" >&6
47513 cat >conftest.$ac_ext <<_ACEOF
47516 cat confdefs.h >>conftest.$ac_ext
47517 cat >>conftest.$ac_ext <<_ACEOF
47518 /* end confdefs.h. */
47524 #if (__GNUC__ < 3) || \
47525 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47533 rm -f conftest.$ac_objext
47534 if { (ac_try="$ac_compile"
47535 case "(($ac_try" in
47536 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47537 *) ac_try_echo
=$ac_try;;
47539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47540 (eval "$ac_compile") 2>conftest.er1
47542 grep -v '^ *+' conftest.er1
>conftest.err
47544 cat conftest.err
>&5
47545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47546 (exit $ac_status); } && {
47547 test -z "$ac_c_werror_flag" ||
47548 test ! -s conftest.err
47549 } && test -s conftest.
$ac_objext; then
47551 bakefile_cv_gcc31
=yes
47554 echo "$as_me: failed program was:" >&5
47555 sed 's/^/| /' conftest.
$ac_ext >&5
47558 bakefile_cv_gcc31
=no
47563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47566 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47567 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47568 if test "$bakefile_cv_gcc31" = "no"; then
47569 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47570 SHARED_LD_CXX
="$SHARED_LD_CC"
47572 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47573 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47576 if test "x$GCC" == "xyes"; then
47577 PIC_FLAG
="-dynamic -fPIC"
47579 if test "x$XLCC" = "xyes"; then
47580 PIC_FLAG
="-dynamic -DPIC"
47585 if test "x$GCC" = "xyes"; then
47588 case "${BAKEFILE_HOST}" in
47590 LD_EXPFULL
="-Wl,-bexpfull"
47594 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
47595 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
47597 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47598 set dummy makeC
++SharedLib
; ac_word
=$2
47599 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47601 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47602 echo $ECHO_N "(cached) $ECHO_C" >&6
47604 if test -n "$AIX_CXX_LD"; then
47605 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
47607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47608 for as_dir
in $PATH
47611 test -z "$as_dir" && as_dir
=.
47612 for ac_exec_ext
in '' $ac_executable_extensions; do
47613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47614 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
47615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47622 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
47625 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
47626 if test -n "$AIX_CXX_LD"; then
47627 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47628 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47630 { echo "$as_me:$LINENO: result: no" >&5
47631 echo "${ECHO_T}no" >&6; }
47635 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
47636 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
47641 SHARED_LD_CC
="${LD} -nostart -o"
47642 SHARED_LD_CXX
="${LD} -nostart -o"
47646 if test "x$GCC" != "xyes"; then
47651 *-*-cygwin* | *-*-mingw32* )
47653 SHARED_LD_CC
="\$(CC) -shared -o"
47654 SHARED_LD_CXX
="\$(CXX) -shared -o"
47658 *-pc-os2_emx | *-pc-os2-emx )
47659 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47660 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47664 cat <<EOF >dllar.sh
47667 # dllar - a tool to build both a .dll and an .a file
47668 # from a set of object (.o) files for EMX/OS2.
47670 # Written by Andrew Zabolotny, bit@freya.etu.ru
47671 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47673 # This script will accept a set of files on the command line.
47674 # All the public symbols from the .o files will be exported into
47675 # a .DEF file, then linker will be run (through gcc) against them to
47676 # build a shared library consisting of all given .o files. All libraries
47677 # (.a) will be first decompressed into component .o files then act as
47678 # described above. You can optionally give a description (-d "description")
47679 # which will be put into .DLL. To see the list of accepted options (as well
47680 # as command-line format) simply run this program without options. The .DLL
47681 # is built to be imported by name (there is no guarantee that new versions
47682 # of the library you build will have same ordinals for same symbols).
47684 # dllar is free software; you can redistribute it and/or modify
47685 # it under the terms of the GNU General Public License as published by
47686 # the Free Software Foundation; either version 2, or (at your option)
47687 # any later version.
47689 # dllar is distributed in the hope that it will be useful,
47690 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47691 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47692 # GNU General Public License for more details.
47694 # You should have received a copy of the GNU General Public License
47695 # along with dllar; see the file COPYING. If not, write to the Free
47696 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47699 # To successfuly run this program you will need:
47700 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47701 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47703 # (used to build the .dll)
47705 # (used to create .def file from .o files)
47707 # (used to create .a file from .def file)
47708 # - GNU text utilites (cat, sort, uniq)
47709 # used to process emxexp output
47710 # - GNU file utilities (mv, rm)
47712 # - lxlite (optional, see flag below)
47713 # (used for general .dll cleanup)
47720 # basnam, variant of basename, which does _not_ remove the path, _iff_
47721 # second argument (suffix to remove) is given
47725 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47728 echo ${D}1 | sed 's/'${D}2'${D}//'
47731 echo "error in basnam ${D}*"
47737 # Cleanup temporary files and output
47740 for i in ${D}inputFiles ; do
47743 rm -rf \`basnam ${D}i !\`
47750 # Kill result in case of failure as there is just to many stupid make/nmake
47751 # things out there which doesn't do this.
47752 if [ ${D}# -eq 0 ]; then
47753 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47757 # Print usage and exit script with rc=1.
47759 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47760 echo ' [-name-mangler-script script.sh]'
47761 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47762 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47763 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47764 echo ' [*.o] [*.a]'
47765 echo '*> "output_file" should have no extension.'
47766 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47767 echo ' The import library name is derived from this and is set to "name".a,'
47768 echo ' unless overridden by -import'
47769 echo '*> "importlib_name" should have no extension.'
47770 echo ' If it has the .o, or .a extension, it is automatically removed.'
47771 echo ' This name is used as the import library name and may be longer and'
47772 echo ' more descriptive than the DLL name which has to follow the old '
47773 echo ' 8.3 convention of FAT.'
47774 echo '*> "script.sh may be given to override the output_file name by a'
47775 echo ' different name. It is mainly useful if the regular make process'
47776 echo ' of some package does not take into account OS/2 restriction of'
47777 echo ' DLL name lengths. It takes the importlib name as input and is'
47778 echo ' supposed to procude a shorter name as output. The script should'
47779 echo ' expect to get importlib_name without extension and should produce'
47780 echo ' a (max.) 8 letter name without extension.'
47781 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47782 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47783 echo ' These flags will be put at the start of GCC command line.'
47784 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47785 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47786 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47787 echo ' If the last character of a symbol is "*", all symbols beginning'
47788 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47789 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47790 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47791 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47792 echo ' C runtime DLLs.'
47793 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47794 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47795 echo ' unchanged to GCC at the end of command line.'
47796 echo '*> If you create a DLL from a library and you do not specify -o,'
47797 echo ' the basename for DLL and import library will be set to library name,'
47798 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47799 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47800 echo ' library will be renamed into gcc_s.a.'
47803 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47804 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47809 # Execute a command.
47810 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47811 # @Uses Whatever CleanUp() uses.
47817 if [ ${D}rcCmd -ne 0 ]; then
47818 echo "command failed, exit code="${D}rcCmd
47833 CFLAGS="-s -Zcrtdll"
47835 EXPORT_BY_ORDINALS=0
47840 case ${D}curDirS in
47844 curDirS=${D}{curDirS}"/"
47847 # Parse commandline
47850 while [ ${D}1 ]; do
47853 EXPORT_BY_ORDINALS=1;
47863 -name-mangler-script)
47884 exclude_symbols=${D}{exclude_symbols}${D}1" "
47888 library_flags=${D}{library_flags}${D}1" "
47907 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47910 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47911 if [ ${D}omfLinking -eq 1 ]; then
47912 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47914 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47919 if [ ${D}libsToLink -ne 0 ]; then
47920 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47922 for file in ${D}1 ; do
47923 if [ -f ${D}file ]; then
47924 inputFiles="${D}{inputFiles} ${D}file"
47928 if [ ${D}found -eq 0 ]; then
47929 echo "ERROR: No file(s) found: "${D}1
47936 done # iterate cmdline words
47939 if [ -z "${D}inputFiles" ]; then
47940 echo "dllar: no input files"
47944 # Now extract all .o files from .a files
47946 for file in ${D}inputFiles ; do
47957 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47962 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47964 if [ ${D}? -ne 0 ]; then
47965 echo "Failed to create subdirectory ./${D}dirname"
47969 # Append '!' to indicate archive
47970 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47971 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47974 for subfile in ${D}dirname/*.o* ; do
47975 if [ -f ${D}subfile ]; then
47977 if [ -s ${D}subfile ]; then
47978 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47979 newInputFiles="${D}newInputFiles ${D}subfile"
47983 if [ ${D}found -eq 0 ]; then
47984 echo "WARNING: there are no files in archive \\'${D}file\\'"
47988 newInputFiles="${D}{newInputFiles} ${D}file"
47992 inputFiles="${D}newInputFiles"
47994 # Output filename(s).
47996 if [ -z ${D}outFile ]; then
47998 set outFile ${D}inputFiles; outFile=${D}2
48001 # If it is an archive, remove the '!' and the '_%' suffixes
48002 case ${D}outFile in
48004 outFile=\`basnam ${D}outFile _%!\`
48009 case ${D}outFile in
48011 outFile=\`basnam ${D}outFile .dll\`
48014 outFile=\`basnam ${D}outFile .DLL\`
48017 outFile=\`basnam ${D}outFile .o\`
48020 outFile=\`basnam ${D}outFile .obj\`
48023 outFile=\`basnam ${D}outFile .a\`
48026 outFile=\`basnam ${D}outFile .lib\`
48031 case ${D}outimpFile in
48033 outimpFile=\`basnam ${D}outimpFile .a\`
48036 outimpFile=\`basnam ${D}outimpFile .lib\`
48041 if [ -z ${D}outimpFile ]; then
48042 outimpFile=${D}outFile
48044 defFile="${D}{outFile}.def"
48045 arcFile="${D}{outimpFile}.a"
48046 arcFile2="${D}{outimpFile}.lib"
48048 #create ${D}dllFile as something matching 8.3 restrictions,
48049 if [ -z ${D}renameScript ] ; then
48050 dllFile="${D}outFile"
48052 dllFile=\`${D}renameScript ${D}outimpFile\`
48055 if [ ${D}do_backup -ne 0 ] ; then
48056 if [ -f ${D}arcFile ] ; then
48057 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48059 if [ -f ${D}arcFile2 ] ; then
48060 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48064 # Extract public symbols from all the object files.
48065 tmpdefFile=${D}{defFile}_%
48066 rm -f ${D}tmpdefFile
48067 for file in ${D}inputFiles ; do
48072 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48077 # Create the def file.
48079 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48080 dllFile="${D}{dllFile}.dll"
48081 if [ ! -z ${D}description ]; then
48082 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48084 echo "EXPORTS" >> ${D}defFile
48086 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48087 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48089 # Checks if the export is ok or not.
48090 for word in ${D}exclude_symbols; do
48091 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48092 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48096 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48097 sed "=" < ${D}tmpdefFile | \\
48101 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48103 ' > ${D}{tmpdefFile}%
48104 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48106 rm -f ${D}{tmpdefFile}%
48108 cat ${D}tmpdefFile >> ${D}defFile
48109 rm -f ${D}tmpdefFile
48111 # Do linking, create implib, and apply lxlite.
48113 for file in ${D}inputFiles ; do
48118 gccCmdl="${D}gccCmdl ${D}file"
48122 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48123 touch "${D}{outFile}.dll"
48125 doCommand "emximp -o ${D}arcFile ${D}defFile"
48126 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48128 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48131 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48133 doCommand "emxomf -s -l ${D}arcFile"
48143 powerpc
-apple-macos* | \
48144 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48154 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48155 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48156 { (exit 1); exit 1; }; }
48159 if test "x$PIC_FLAG" != "x" ; then
48160 PIC_FLAG
="$PIC_FLAG -DPIC"
48163 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48164 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48166 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48167 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48186 case "${BAKEFILE_HOST}" in
48187 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
48188 if test "x$SUNCXX" = "xyes"; then
48191 SONAME_FLAG
="-Wl,-soname,"
48226 # Check whether --enable-dependency-tracking was given.
48227 if test "${enable_dependency_tracking+set}" = set; then
48228 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
48232 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48233 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48236 if test "x$bk_use_trackdeps" = "xno" ; then
48238 { echo "$as_me:$LINENO: result: disabled" >&5
48239 echo "${ECHO_T}disabled" >&6; }
48243 if test "x$GCC" = "xyes"; then
48245 case "${BAKEFILE_HOST}" in
48247 DEPSFLAG
="-no-cpp-precomp -MMD"
48253 { echo "$as_me:$LINENO: result: gcc" >&5
48254 echo "${ECHO_T}gcc" >&6; }
48255 elif test "x$MWCC" = "xyes"; then
48258 { echo "$as_me:$LINENO: result: mwcc" >&5
48259 echo "${ECHO_T}mwcc" >&6; }
48260 elif test "x$SUNCC" = "xyes"; then
48263 { echo "$as_me:$LINENO: result: Sun cc" >&5
48264 echo "${ECHO_T}Sun cc" >&6; }
48265 elif test "x$SGICC" = "xyes"; then
48268 { echo "$as_me:$LINENO: result: SGI cc" >&5
48269 echo "${ECHO_T}SGI cc" >&6; }
48270 elif test "x$HPCC" = "xyes"; then
48273 { echo "$as_me:$LINENO: result: HP cc" >&5
48274 echo "${ECHO_T}HP cc" >&6; }
48275 elif test "x$COMPAQCC" = "xyes"; then
48278 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48279 echo "${ECHO_T}Compaq cc" >&6; }
48282 { echo "$as_me:$LINENO: result: none" >&5
48283 echo "${ECHO_T}none" >&6; }
48286 if test $DEPS_TRACKING = 1 ; then
48292 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48293 # script. It is used to track C/C++ files dependencies in portable way.
48295 # Permission is given to use this file in any way.
48297 DEPSMODE=${DEPSMODE}
48299 DEPSFLAG="${DEPSFLAG}"
48301 mkdir -p ${D}DEPSDIR
48303 if test ${D}DEPSMODE = gcc ; then
48304 ${D}* ${D}{DEPSFLAG}
48306 if test ${D}{status} != 0 ; then
48309 # move created file to the location we want it in:
48310 while test ${D}# -gt 0; do
48324 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48325 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48326 if test -f ${D}depfile ; then
48327 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48330 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48331 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48332 if test ! -f ${D}depfile ; then
48333 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48334 depfile="${D}objfile.d"
48336 if test -f ${D}depfile ; then
48337 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48342 elif test ${D}DEPSMODE = mwcc ; then
48343 ${D}* || exit ${D}?
48344 # Run mwcc again with -MM and redirect into the dep file we want
48345 # NOTE: We can't use shift here because we need ${D}* to be valid
48347 for arg in ${D}* ; do
48348 if test "${D}prevarg" = "-o"; then
48361 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48363 elif test ${D}DEPSMODE = unixcc; then
48364 ${D}* || exit ${D}?
48365 # Run compiler again with deps flag and redirect into the dep file.
48366 # It doesn't work if the '-o FILE' option is used, but without it the
48367 # dependency file will contain the wrong name for the object. So it is
48368 # removed from the command line, and the dep file is fixed with sed.
48370 while test ${D}# -gt 0; do
48377 eval arg${D}#=\\${D}1
48378 cmd="${D}cmd \\${D}arg${D}#"
48383 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48392 BK_DEPS
="`pwd`/bk-deps"
48400 case ${BAKEFILE_HOST} in
48401 *-*-cygwin* | *-*-mingw32* )
48402 if test -n "$ac_tool_prefix"; then
48403 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48404 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
48405 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48407 if test "${ac_cv_prog_WINDRES+set}" = set; then
48408 echo $ECHO_N "(cached) $ECHO_C" >&6
48410 if test -n "$WINDRES"; then
48411 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
48413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48414 for as_dir
in $PATH
48417 test -z "$as_dir" && as_dir
=.
48418 for ac_exec_ext
in '' $ac_executable_extensions; do
48419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48420 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
48421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48430 WINDRES
=$ac_cv_prog_WINDRES
48431 if test -n "$WINDRES"; then
48432 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48433 echo "${ECHO_T}$WINDRES" >&6; }
48435 { echo "$as_me:$LINENO: result: no" >&5
48436 echo "${ECHO_T}no" >&6; }
48441 if test -z "$ac_cv_prog_WINDRES"; then
48442 ac_ct_WINDRES
=$WINDRES
48443 # Extract the first word of "windres", so it can be a program name with args.
48444 set dummy windres
; ac_word
=$2
48445 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48447 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48448 echo $ECHO_N "(cached) $ECHO_C" >&6
48450 if test -n "$ac_ct_WINDRES"; then
48451 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
48453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48454 for as_dir
in $PATH
48457 test -z "$as_dir" && as_dir
=.
48458 for ac_exec_ext
in '' $ac_executable_extensions; do
48459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48460 ac_cv_prog_ac_ct_WINDRES
="windres"
48461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48470 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
48471 if test -n "$ac_ct_WINDRES"; then
48472 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48473 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48475 { echo "$as_me:$LINENO: result: no" >&5
48476 echo "${ECHO_T}no" >&6; }
48479 if test "x$ac_ct_WINDRES" = x
; then
48482 case $cross_compiling:$ac_tool_warned in
48484 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48485 whose name does not start with the host triplet. If you think this
48486 configuration is useful to you, please write to autoconf@gnu.org." >&5
48487 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48488 whose name does not start with the host triplet. If you think this
48489 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48490 ac_tool_warned
=yes ;;
48492 WINDRES
=$ac_ct_WINDRES
48495 WINDRES
="$ac_cv_prog_WINDRES"
48500 *-*-darwin* | powerpc
-apple-macos* )
48501 # Extract the first word of "Rez", so it can be a program name with args.
48502 set dummy Rez
; ac_word
=$2
48503 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48505 if test "${ac_cv_prog_REZ+set}" = set; then
48506 echo $ECHO_N "(cached) $ECHO_C" >&6
48508 if test -n "$REZ"; then
48509 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
48511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48512 for as_dir
in $PATH
48515 test -z "$as_dir" && as_dir
=.
48516 for ac_exec_ext
in '' $ac_executable_extensions; do
48517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48518 ac_cv_prog_REZ
="Rez"
48519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48526 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
48529 REZ
=$ac_cv_prog_REZ
48530 if test -n "$REZ"; then
48531 { echo "$as_me:$LINENO: result: $REZ" >&5
48532 echo "${ECHO_T}$REZ" >&6; }
48534 { echo "$as_me:$LINENO: result: no" >&5
48535 echo "${ECHO_T}no" >&6; }
48539 # Extract the first word of "SetFile", so it can be a program name with args.
48540 set dummy SetFile
; ac_word
=$2
48541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48543 if test "${ac_cv_prog_SETFILE+set}" = set; then
48544 echo $ECHO_N "(cached) $ECHO_C" >&6
48546 if test -n "$SETFILE"; then
48547 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
48549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48550 for as_dir
in $PATH
48553 test -z "$as_dir" && as_dir
=.
48554 for ac_exec_ext
in '' $ac_executable_extensions; do
48555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48556 ac_cv_prog_SETFILE
="SetFile"
48557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48564 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
48567 SETFILE
=$ac_cv_prog_SETFILE
48568 if test -n "$SETFILE"; then
48569 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48570 echo "${ECHO_T}$SETFILE" >&6; }
48572 { echo "$as_me:$LINENO: result: no" >&5
48573 echo "${ECHO_T}no" >&6; }
48585 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.2"
48588 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.2"
48592 # Check whether --enable-precomp-headers was given.
48593 if test "${enable_precomp_headers+set}" = set; then
48594 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
48603 case ${BAKEFILE_HOST} in
48609 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48610 if test "x$GCC" = "xyes"; then
48611 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48612 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48613 cat >conftest.
$ac_ext <<_ACEOF
48616 cat confdefs.h
>>conftest.
$ac_ext
48617 cat >>conftest.
$ac_ext <<_ACEOF
48618 /* end confdefs.h. */
48624 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48625 There is no PCH support
48628 There is no PCH support
48630 #if (__GNUC__ == 3) && \
48631 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48632 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48633 ( defined(__INTEL_COMPILER) )
48634 There is no PCH support
48641 rm -f conftest.
$ac_objext
48642 if { (ac_try
="$ac_compile"
48643 case "(($ac_try" in
48644 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48645 *) ac_try_echo=$ac_try;;
48647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48648 (eval "$ac_compile") 2>conftest.er1
48650 grep -v '^ *+' conftest.er1 >conftest.err
48652 cat conftest.err >&5
48653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48654 (exit $ac_status); } && {
48655 test -z "$ac_c_werror_flag" ||
48656 test ! -s conftest.err
48657 } && test -s conftest.$ac_objext; then
48659 { echo "$as_me:$LINENO: result: yes" >&5
48660 echo "${ECHO_T}yes" >&6; }
48664 echo "$as_me: failed program was:" >&5
48665 sed 's/^/| /' conftest.$ac_ext >&5
48668 cat >conftest.$ac_ext <<_ACEOF
48671 cat confdefs.h >>conftest.$ac_ext
48672 cat >>conftest.$ac_ext <<_ACEOF
48673 /* end confdefs.h. */
48679 #if !defined(__INTEL_COMPILER) || \
48680 (__INTEL_COMPILER < 800)
48681 There is no PCH support
48688 rm -f conftest.$ac_objext
48689 if { (ac_try="$ac_compile"
48690 case "(($ac_try" in
48691 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48692 *) ac_try_echo
=$ac_try;;
48694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48695 (eval "$ac_compile") 2>conftest.er1
48697 grep -v '^ *+' conftest.er1
>conftest.err
48699 cat conftest.err
>&5
48700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48701 (exit $ac_status); } && {
48702 test -z "$ac_c_werror_flag" ||
48703 test ! -s conftest.err
48704 } && test -s conftest.
$ac_objext; then
48706 { echo "$as_me:$LINENO: result: yes" >&5
48707 echo "${ECHO_T}yes" >&6; }
48711 echo "$as_me: failed program was:" >&5
48712 sed 's/^/| /' conftest.
$ac_ext >&5
48715 { echo "$as_me:$LINENO: result: no" >&5
48716 echo "${ECHO_T}no" >&6; }
48720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48725 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48729 cat <<EOF >bk-make-pch
48732 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48733 # script. It is used to generated precompiled headers.
48735 # Permission is given to use this file in any way.
48745 while test ${D}{#} -gt 0; do
48749 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48750 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48751 headerfile="${D}{incdir}/${D}{header}"
48754 -use-pch|-use_pch )
48759 if test ${D}add_to_cmdline = 1 ; then
48760 compiler="${D}{compiler} ${D}{1}"
48765 if test "x${D}{headerfile}" = "x" ; then
48766 echo "error: can't find header ${D}{header} in include paths" >&2
48768 if test -f ${D}{outfile} ; then
48769 rm -f ${D}{outfile}
48771 mkdir -p \`dirname ${D}{outfile}\`
48773 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48775 if test "x${GCC_PCH}" = "x1" ; then
48776 # can do this because gcc is >= 3.4:
48777 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48778 elif test "x${ICC_PCH}" = "x1" ; then
48779 filename=pch_gen-${D}${D}
48780 file=${D}{filename}.c
48781 dfile=${D}{filename}.d
48782 cat > ${D}file <<EOT
48783 #include "${D}header"
48785 # using -MF icc complains about differing command lines in creation/use
48786 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48787 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48788 rm -f ${D}file ${D}dfile ${D}{filename}.o
48794 chmod +x bk
-make-pch
48795 BK_MAKE_PCH
="`pwd`/bk-make-pch"
48804 COND_BUILD_DEBUG
="#"
48805 if test "x$BUILD" = "xdebug" ; then
48806 COND_BUILD_DEBUG
=""
48809 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
48810 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48811 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
48814 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
48815 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48816 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
48819 COND_BUILD_DEBUG_UNICODE_0
="#"
48820 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48821 COND_BUILD_DEBUG_UNICODE_0
=""
48824 COND_BUILD_DEBUG_UNICODE_1
="#"
48825 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48826 COND_BUILD_DEBUG_UNICODE_1
=""
48829 COND_BUILD_RELEASE
="#"
48830 if test "x$BUILD" = "xrelease" ; then
48831 COND_BUILD_RELEASE
=""
48834 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
48835 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48836 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
48839 COND_BUILD_RELEASE_UNICODE_0
="#"
48840 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48841 COND_BUILD_RELEASE_UNICODE_0
=""
48844 COND_BUILD_RELEASE_UNICODE_1
="#"
48845 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48846 COND_BUILD_RELEASE_UNICODE_1
=""
48849 COND_DEBUG_FLAG_1
="#"
48850 if test "x$DEBUG_FLAG" = "x1" ; then
48851 COND_DEBUG_FLAG_1
=""
48854 COND_DEBUG_INFO_0
="#"
48855 if test "x$DEBUG_INFO" = "x0" ; then
48856 COND_DEBUG_INFO_0
=""
48859 COND_DEBUG_INFO_1
="#"
48860 if test "x$DEBUG_INFO" = "x1" ; then
48861 COND_DEBUG_INFO_1
=""
48864 COND_DEPS_TRACKING_0
="#"
48865 if test "x$DEPS_TRACKING" = "x0" ; then
48866 COND_DEPS_TRACKING_0
=""
48869 COND_DEPS_TRACKING_1
="#"
48870 if test "x$DEPS_TRACKING" = "x1" ; then
48871 COND_DEPS_TRACKING_1
=""
48875 if test "x$GCC_PCH" = "x1" ; then
48880 if test "x$ICC_PCH" = "x1" ; then
48884 COND_MONOLITHIC_0
="#"
48885 if test "x$MONOLITHIC" = "x0" ; then
48886 COND_MONOLITHIC_0
=""
48889 COND_MONOLITHIC_0_SHARED_0
="#"
48890 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48891 COND_MONOLITHIC_0_SHARED_0
=""
48894 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
48895 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48896 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
48899 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
48900 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48901 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
48904 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
48905 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48906 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
48909 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
48910 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48911 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
48914 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
48915 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48916 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
48919 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
48920 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48921 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
48924 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
48925 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48926 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
48929 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
48930 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48931 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
48934 COND_MONOLITHIC_0_SHARED_1
="#"
48935 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48936 COND_MONOLITHIC_0_SHARED_1
=""
48939 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
48940 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48941 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
48944 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
48945 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48946 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
48949 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
48950 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48951 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
48954 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
48955 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48956 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
48959 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
48960 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48961 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
48964 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
48965 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48966 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
48969 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
48970 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48971 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
48974 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
48975 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48976 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
48979 COND_MONOLITHIC_0_USE_AUI_1
="#"
48980 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48981 COND_MONOLITHIC_0_USE_AUI_1
=""
48984 COND_MONOLITHIC_0_USE_GUI_1
="#"
48985 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48986 COND_MONOLITHIC_0_USE_GUI_1
=""
48989 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
48990 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48991 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
48994 COND_MONOLITHIC_0_USE_HTML_1
="#"
48995 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48996 COND_MONOLITHIC_0_USE_HTML_1
=""
48999 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49000 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49001 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49004 COND_MONOLITHIC_0_USE_QA_1
="#"
49005 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49006 COND_MONOLITHIC_0_USE_QA_1
=""
49009 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
49010 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49011 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
49014 COND_MONOLITHIC_0_USE_STC_1
="#"
49015 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49016 COND_MONOLITHIC_0_USE_STC_1
=""
49019 COND_MONOLITHIC_0_USE_XRC_1
="#"
49020 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49021 COND_MONOLITHIC_0_USE_XRC_1
=""
49024 COND_MONOLITHIC_1
="#"
49025 if test "x$MONOLITHIC" = "x1" ; then
49026 COND_MONOLITHIC_1
=""
49029 COND_MONOLITHIC_1_SHARED_0
="#"
49030 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49031 COND_MONOLITHIC_1_SHARED_0
=""
49034 COND_MONOLITHIC_1_SHARED_1
="#"
49035 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49036 COND_MONOLITHIC_1_SHARED_1
=""
49039 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49040 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49041 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49044 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49045 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49046 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49049 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49050 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49051 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49054 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49055 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49056 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49059 COND_PLATFORM_MACOSX_1
="#"
49060 if test "x$PLATFORM_MACOSX" = "x1" ; then
49061 COND_PLATFORM_MACOSX_1
=""
49064 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
49065 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49066 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
49069 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
49070 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49071 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
49074 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
49075 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49076 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
49079 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
49080 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49081 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
49084 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
49085 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49086 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
49089 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
49090 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49091 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49094 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49095 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49096 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49099 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49100 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49101 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49104 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49105 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49106 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49109 COND_PLATFORM_MACOS_1
="#"
49110 if test "x$PLATFORM_MACOS" = "x1" ; then
49111 COND_PLATFORM_MACOS_1
=""
49114 COND_PLATFORM_MAC_1
="#"
49115 if test "x$PLATFORM_MAC" = "x1" ; then
49116 COND_PLATFORM_MAC_1
=""
49119 COND_PLATFORM_MSDOS_0
="#"
49120 if test "x$PLATFORM_MSDOS" = "x0" ; then
49121 COND_PLATFORM_MSDOS_0
=""
49124 COND_PLATFORM_MSDOS_1
="#"
49125 if test "x$PLATFORM_MSDOS" = "x1" ; then
49126 COND_PLATFORM_MSDOS_1
=""
49129 COND_PLATFORM_OS2_1
="#"
49130 if test "x$PLATFORM_OS2" = "x1" ; then
49131 COND_PLATFORM_OS2_1
=""
49134 COND_PLATFORM_UNIX_0
="#"
49135 if test "x$PLATFORM_UNIX" = "x0" ; then
49136 COND_PLATFORM_UNIX_0
=""
49139 COND_PLATFORM_UNIX_1
="#"
49140 if test "x$PLATFORM_UNIX" = "x1" ; then
49141 COND_PLATFORM_UNIX_1
=""
49144 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
49145 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49146 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
49149 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
49150 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49151 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
49154 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49155 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49156 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49159 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49160 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49161 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49164 COND_PLATFORM_WIN32_0
="#"
49165 if test "x$PLATFORM_WIN32" = "x0" ; then
49166 COND_PLATFORM_WIN32_0
=""
49169 COND_PLATFORM_WIN32_1
="#"
49170 if test "x$PLATFORM_WIN32" = "x1" ; then
49171 COND_PLATFORM_WIN32_1
=""
49175 if test "x$SHARED" = "x0" ; then
49179 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49180 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49181 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49184 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49185 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49186 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49189 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49190 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49191 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49194 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49195 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49196 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49199 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49200 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49201 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49204 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49205 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49206 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49209 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49210 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49211 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49214 COND_SHARED_0_USE_STC_1
="#"
49215 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49216 COND_SHARED_0_USE_STC_1
=""
49219 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49220 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49221 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49224 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49225 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49226 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49229 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49230 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49231 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49235 if test "x$SHARED" = "x1" ; then
49239 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49240 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49241 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49245 if test "x$TOOLKIT" = "x" ; then
49249 COND_TOOLKIT_COCOA
="#"
49250 if test "x$TOOLKIT" = "xCOCOA" ; then
49251 COND_TOOLKIT_COCOA
=""
49254 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49255 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49256 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49259 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49260 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49261 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49264 COND_TOOLKIT_DFB
="#"
49265 if test "x$TOOLKIT" = "xDFB" ; then
49266 COND_TOOLKIT_DFB
=""
49269 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49270 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49271 COND_TOOLKIT_DFB_USE_GUI_1
=""
49274 COND_TOOLKIT_GTK
="#"
49275 if test "x$TOOLKIT" = "xGTK" ; then
49276 COND_TOOLKIT_GTK
=""
49279 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49280 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49281 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49284 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49285 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49286 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49289 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49290 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49291 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49294 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49295 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49296 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49299 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
49300 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49301 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
49304 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49305 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49306 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49309 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49310 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49311 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49314 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49315 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49316 COND_TOOLKIT_GTK_USE_GUI_1
=""
49319 COND_TOOLKIT_MAC
="#"
49320 if test "x$TOOLKIT" = "xMAC" ; then
49321 COND_TOOLKIT_MAC
=""
49324 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49325 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49326 COND_TOOLKIT_MAC_USE_GUI_1
=""
49329 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49330 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49331 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49334 COND_TOOLKIT_MGL
="#"
49335 if test "x$TOOLKIT" = "xMGL" ; then
49336 COND_TOOLKIT_MGL
=""
49339 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49340 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49341 COND_TOOLKIT_MGL_USE_GUI_1
=""
49344 COND_TOOLKIT_MOTIF
="#"
49345 if test "x$TOOLKIT" = "xMOTIF" ; then
49346 COND_TOOLKIT_MOTIF
=""
49349 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49350 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49351 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49354 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49355 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49356 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49359 COND_TOOLKIT_MSW
="#"
49360 if test "x$TOOLKIT" = "xMSW" ; then
49361 COND_TOOLKIT_MSW
=""
49364 COND_TOOLKIT_MSW_USE_GUI_1
="#"
49365 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49366 COND_TOOLKIT_MSW_USE_GUI_1
=""
49369 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
49370 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49371 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
49374 COND_TOOLKIT_MSW_WXUNIV_0
="#"
49375 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49376 COND_TOOLKIT_MSW_WXUNIV_0
=""
49379 COND_TOOLKIT_PM
="#"
49380 if test "x$TOOLKIT" = "xPM" ; then
49384 COND_TOOLKIT_PM_USE_GUI_1
="#"
49385 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49386 COND_TOOLKIT_PM_USE_GUI_1
=""
49389 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
49390 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49391 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
49394 COND_TOOLKIT_WINCE
="#"
49395 if test "x$TOOLKIT" = "xWINCE" ; then
49396 COND_TOOLKIT_WINCE
=""
49399 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
49400 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49401 COND_TOOLKIT_WINCE_USE_GUI_1
=""
49404 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
49405 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49406 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
49409 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
49410 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49411 COND_TOOLKIT_WINCE_WXUNIV_0
=""
49414 COND_TOOLKIT_X11
="#"
49415 if test "x$TOOLKIT" = "xX11" ; then
49416 COND_TOOLKIT_X11
=""
49419 COND_TOOLKIT_X11_USE_GUI_1
="#"
49420 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49421 COND_TOOLKIT_X11_USE_GUI_1
=""
49425 if test "x$UNICODE" = "x1" ; then
49429 COND_USE_EXCEPTIONS_0
="#"
49430 if test "x$USE_EXCEPTIONS" = "x0" ; then
49431 COND_USE_EXCEPTIONS_0
=""
49434 COND_USE_EXCEPTIONS_1
="#"
49435 if test "x$USE_EXCEPTIONS" = "x1" ; then
49436 COND_USE_EXCEPTIONS_1
=""
49440 if test "x$USE_GUI" = "x0" ; then
49445 if test "x$USE_GUI" = "x1" ; then
49449 COND_USE_GUI_1_USE_OPENGL_1
="#"
49450 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49451 COND_USE_GUI_1_USE_OPENGL_1
=""
49454 COND_USE_GUI_1_WXUNIV_0
="#"
49455 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49456 COND_USE_GUI_1_WXUNIV_0
=""
49459 COND_USE_GUI_1_WXUNIV_1
="#"
49460 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49461 COND_USE_GUI_1_WXUNIV_1
=""
49464 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49465 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49466 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49469 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49470 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49471 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49474 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49475 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49476 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49479 COND_USE_OPENGL_1
="#"
49480 if test "x$USE_OPENGL" = "x1" ; then
49481 COND_USE_OPENGL_1
=""
49485 if test "x$USE_PCH" = "x1" ; then
49489 COND_USE_PLUGINS_0
="#"
49490 if test "x$USE_PLUGINS" = "x0" ; then
49491 COND_USE_PLUGINS_0
=""
49494 COND_USE_RTTI_0
="#"
49495 if test "x$USE_RTTI" = "x0" ; then
49499 COND_USE_RTTI_1
="#"
49500 if test "x$USE_RTTI" = "x1" ; then
49504 COND_USE_SOSYMLINKS_1
="#"
49505 if test "x$USE_SOSYMLINKS" = "x1" ; then
49506 COND_USE_SOSYMLINKS_1
=""
49509 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
49510 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49511 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
49514 COND_USE_SOVERLINUX_1
="#"
49515 if test "x$USE_SOVERLINUX" = "x1" ; then
49516 COND_USE_SOVERLINUX_1
=""
49519 COND_USE_SOVERSION_0
="#"
49520 if test "x$USE_SOVERSION" = "x0" ; then
49521 COND_USE_SOVERSION_0
=""
49524 COND_USE_SOVERSOLARIS_1
="#"
49525 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49526 COND_USE_SOVERSOLARIS_1
=""
49530 if test "x$USE_STC" = "x1" ; then
49534 COND_USE_THREADS_0
="#"
49535 if test "x$USE_THREADS" = "x0" ; then
49536 COND_USE_THREADS_0
=""
49539 COND_USE_THREADS_1
="#"
49540 if test "x$USE_THREADS" = "x1" ; then
49541 COND_USE_THREADS_1
=""
49545 if test "x$USE_XRC" = "x1" ; then
49549 COND_WINDOWS_IMPLIB_1
="#"
49550 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49551 COND_WINDOWS_IMPLIB_1
=""
49554 COND_WITH_PLUGIN_SDL_1
="#"
49555 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49556 COND_WITH_PLUGIN_SDL_1
=""
49560 if test "x$WXUNIV" = "x0" ; then
49565 if test "x$WXUNIV" = "x1" ; then
49569 COND_WXUSE_EXPAT_BUILTIN
="#"
49570 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49571 COND_WXUSE_EXPAT_BUILTIN
=""
49574 COND_WXUSE_LIBJPEG_BUILTIN
="#"
49575 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49576 COND_WXUSE_LIBJPEG_BUILTIN
=""
49579 COND_WXUSE_LIBPNG_BUILTIN
="#"
49580 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49581 COND_WXUSE_LIBPNG_BUILTIN
=""
49584 COND_WXUSE_LIBTIFF_BUILTIN
="#"
49585 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49586 COND_WXUSE_LIBTIFF_BUILTIN
=""
49589 COND_WXUSE_REGEX_BUILTIN
="#"
49590 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49591 COND_WXUSE_REGEX_BUILTIN
=""
49594 COND_WXUSE_ZLIB_BUILTIN
="#"
49595 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49596 COND_WXUSE_ZLIB_BUILTIN
=""
49601 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49602 { { 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
49603 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;}
49604 { (exit 1); exit 1; }; }
49607 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49608 { { 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
49609 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;}
49610 { (exit 1); exit 1; }; }
49617 ?
:* ) # Drive letter, considered as absolute.
49620 INSTALL
=`pwd`/${INSTALL} ;;
49623 if test "$wxUSE_GUI" = "yes"; then
49625 if test "$wxUSE_MSW" = 1 ; then
49626 if test "x$WINDRES" = "x"; then
49627 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49628 echo "$as_me: error: Required windres program not found" >&2;}
49629 { (exit 1); exit 1; }; }
49635 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49636 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49637 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49639 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49641 # Extract the first word of "DeRez", so it can be a program name with args.
49642 set dummy DeRez
; ac_word
=$2
49643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49645 if test "${ac_cv_prog_DEREZ+set}" = set; then
49646 echo $ECHO_N "(cached) $ECHO_C" >&6
49648 if test -n "$DEREZ"; then
49649 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
49651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49652 for as_dir
in $PATH
49655 test -z "$as_dir" && as_dir
=.
49656 for ac_exec_ext
in '' $ac_executable_extensions; do
49657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49658 ac_cv_prog_DEREZ
="DeRez"
49659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49666 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
49669 DEREZ
=$ac_cv_prog_DEREZ
49670 if test -n "$DEREZ"; then
49671 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49672 echo "${ECHO_T}$DEREZ" >&6; }
49674 { echo "$as_me:$LINENO: result: no" >&5
49675 echo "${ECHO_T}no" >&6; }
49680 MACSETFILE
="\$(SETFILE)"
49682 if test "$wxUSE_MAC" = 1; then
49683 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49685 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
49687 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49688 RESCOMP
="cat /dev/null \| $REZ"
49689 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49695 if test "$wxUSE_PM" = 1; then
49697 WXCONFIG_RESFLAGS
="-ep"
49699 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
49701 POSTLINK_COMMAND
="@true"
49708 if test $GCC_PCH = 1
49710 if test "$wx_cv_gcc_pch_bug" = yes; then
49711 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49712 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49713 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49714 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49715 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49716 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49719 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
49723 if test "$wxUSE_MAC" = 1 ; then
49724 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49725 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
49731 if test "$wxUSE_SHARED" = "yes"; then
49733 *-pc-os2_emx | *-pc-os2-emx )
49734 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49735 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49736 cp -p ${srcdir}/src
/os
2/dllnames.sh .
49737 cp -p ${srcdir}/src
/os
2/dllar.sh .
49741 if test "$wxUSE_OMF" = "yes"; then
49743 *-pc-os2_emx | *-pc-os2-emx )
49744 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
49745 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49746 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49751 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49756 if test "$GCC" = yes; then
49757 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
49758 LIBS
=`echo $LIBS | sed 's/-mt//'`
49759 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49764 if test "x$SUNCXX" = xyes
; then
49765 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
49766 LIBS
=`echo $LIBS | sed 's/-pthread//'`
49767 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49772 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
49773 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49775 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49836 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49837 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49838 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49839 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49840 echo $ECHO_N "(cached) $ECHO_C" >&6
49842 cat >conftest.
make <<\_ACEOF
49845 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49847 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49848 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49849 *@@@
%%%=?
*=@@@
%%%*)
49850 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49852 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49854 rm -f conftest.
make
49856 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49857 { echo "$as_me:$LINENO: result: yes" >&5
49858 echo "${ECHO_T}yes" >&6; }
49861 { echo "$as_me:$LINENO: result: no" >&5
49862 echo "${ECHO_T}no" >&6; }
49863 SET_MAKE
="MAKE=${MAKE-make}"
49868 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49871 if test "$USE_WIN32" = 1; then
49872 ac_config_commands
="$ac_config_commands
49878 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49881 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49884 if test "$wx_cv_version_script" = "yes"; then
49885 ac_config_files
="$ac_config_files version-script"
49888 ac_config_files
="$ac_config_files Makefile"
49891 ac_config_commands
="$ac_config_commands wx-config"
49895 if test "$wxWITH_SUBDIRS" != "no"; then
49896 if test "$wxUSE_GUI" = "yes"; then
49897 SUBDIRS
="samples demos utils"
49899 SUBDIRS
="samples utils"
49904 # Check whether --with-cppunit-prefix was given.
49905 if test "${with_cppunit_prefix+set}" = set; then
49906 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
49908 cppunit_config_prefix
=""
49912 # Check whether --with-cppunit-exec-prefix was given.
49913 if test "${with_cppunit_exec_prefix+set}" = set; then
49914 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
49916 cppunit_config_exec_prefix
=""
49920 if test x
$cppunit_config_exec_prefix != x
; then
49921 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49922 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49923 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
49926 if test x
$cppunit_config_prefix != x
; then
49927 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
49928 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49929 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
49933 # Extract the first word of "cppunit-config", so it can be a program name with args.
49934 set dummy cppunit
-config; ac_word
=$2
49935 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49937 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49938 echo $ECHO_N "(cached) $ECHO_C" >&6
49940 case $CPPUNIT_CONFIG in
49942 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49946 for as_dir
in $PATH
49949 test -z "$as_dir" && as_dir
=.
49950 for ac_exec_ext
in '' $ac_executable_extensions; do
49951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49952 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49960 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
49964 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
49965 if test -n "$CPPUNIT_CONFIG"; then
49966 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49967 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49969 { echo "$as_me:$LINENO: result: no" >&5
49970 echo "${ECHO_T}no" >&6; }
49974 cppunit_version_min
=1.8.0
49976 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49977 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49979 if test "$CPPUNIT_CONFIG" = "no" ; then
49980 { echo "$as_me:$LINENO: result: no" >&5
49981 echo "${ECHO_T}no" >&6; }
49984 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
49985 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
49986 cppunit_version
=`$CPPUNIT_CONFIG --version`
49988 cppunit_major_version
=`echo $cppunit_version | \
49989 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49990 cppunit_minor_version
=`echo $cppunit_version | \
49991 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49992 cppunit_micro_version
=`echo $cppunit_version | \
49993 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49995 cppunit_major_min
=`echo $cppunit_version_min | \
49996 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49997 cppunit_minor_min
=`echo $cppunit_version_min | \
49998 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49999 cppunit_micro_min
=`echo $cppunit_version_min | \
50000 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50002 cppunit_version_proper
=`expr \
50003 $cppunit_major_version \> $cppunit_major_min \| \
50004 $cppunit_major_version \= $cppunit_major_min \& \
50005 $cppunit_minor_version \> $cppunit_minor_min \| \
50006 $cppunit_major_version \= $cppunit_major_min \& \
50007 $cppunit_minor_version \= $cppunit_minor_min \& \
50008 $cppunit_micro_version \>= $cppunit_micro_min `
50010 if test "$cppunit_version_proper" = "1" ; then
50011 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50012 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50014 { echo "$as_me:$LINENO: result: no" >&5
50015 echo "${ECHO_T}no" >&6; }
50020 if test "x$no_cppunit" = x
; then
50021 SUBDIRS
="$SUBDIRS tests"
50032 for subdir
in $SUBDIRS; do
50033 if test -d ${srcdir}/${subdir} ; then
50034 if test "$wxUSE_GUI" = "yes"; then
50035 if test ${subdir} = "samples"; then
50036 makefiles
="samples/Makefile.in $makefiles"
50037 for sample
in $SAMPLES_SUBDIRS; do
50038 if test -d $srcdir/samples
/$sample; then
50039 makefiles
="samples/$sample/Makefile.in $makefiles"
50043 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
50044 eval "disabled=\$$disabled_var"
50045 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50046 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50049 if test ${subdir} = "samples"; then
50050 makefiles
="samples/Makefile.in $makefiles"
50051 for sample
in `echo $SAMPLES_SUBDIRS`; do
50052 if test -d $srcdir/samples
/$sample; then
50053 makefiles
="samples/$sample/Makefile.in $makefiles"
50056 elif test ${subdir} = "utils"; then
50058 for util
in HelpGen tex2rtf
; do
50059 if test -d $srcdir/utils
/$util ; then
50060 makefiles
="utils/$util/Makefile.in \
50061 utils/$util/src/Makefile.in \
50066 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50070 for mkin
in $makefiles ; do
50071 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50072 ac_config_files
="$ac_config_files $mk"
50078 cat >confcache
<<\_ACEOF
50079 # This file is a shell script that caches the results of configure
50080 # tests run on this system so they can be shared between configure
50081 # scripts and configure runs, see configure's option --config-cache.
50082 # It is not useful on other systems. If it contains results you don't
50083 # want to keep, you may remove or edit it.
50085 # config.status only pays attention to the cache file if you give it
50086 # the --recheck option to rerun configure.
50088 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50089 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50090 # following values.
50094 # The following way of writing the cache mishandles newlines in values,
50095 # but we know of no workaround that is simple, portable, and efficient.
50096 # So, we kill variables containing newlines.
50097 # Ultrix sh set writes to stderr and can't be redirected directly,
50098 # and sets the high bit in the cache file unless we assign to the vars.
50100 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50101 eval ac_val
=\$
$ac_var
50105 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50106 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50109 _
| IFS
| as_nl
) ;; #(
50110 *) $as_unset $ac_var ;;
50116 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50117 *${as_nl}ac_space
=\
*)
50118 # `set' does not quote correctly, so add quotes (double-quote
50119 # substitution turns \\\\ into \\, and sed turns \\ into \).
50122 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50125 # `set' quotes correctly as required by POSIX, so do not add quotes.
50126 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50135 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50137 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50139 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
50140 if test -w "$cache_file"; then
50141 test "x$cache_file" != "x/dev/null" &&
50142 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50143 echo "$as_me: updating cache $cache_file" >&6;}
50144 cat confcache
>$cache_file
50146 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50147 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50152 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50153 # Let make expand exec_prefix.
50154 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50156 DEFS
=-DHAVE_CONFIG_H
50160 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50161 # 1. Remove the extension, and $U if already installed.
50162 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
50163 ac_i
=`echo "$ac_i" | sed "$ac_script"`
50164 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50165 # will be set to the directory where LIBOBJS objects are built.
50166 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50167 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50169 LIBOBJS
=$ac_libobjs
50171 LTLIBOBJS
=$ac_ltlibobjs
50175 : ${CONFIG_STATUS=./config.status}
50176 ac_clean_files_save
=$ac_clean_files
50177 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50178 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50179 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50180 cat >$CONFIG_STATUS <<_ACEOF
50182 # Generated by $as_me.
50183 # Run this file to recreate the current configuration.
50184 # Compiler output produced by configure, useful for debugging
50185 # configure, is in config.log if it exists.
50188 ac_cs_recheck=false
50190 SHELL=\${CONFIG_SHELL-$SHELL}
50193 cat >>$CONFIG_STATUS <<\_ACEOF
50194 ## --------------------- ##
50195 ## M4sh Initialization. ##
50196 ## --------------------- ##
50198 # Be more Bourne compatible
50199 DUALCASE
=1; export DUALCASE
# for MKS sh
50200 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50203 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50204 # is contrary to our usage. Disable this feature.
50205 alias -g '${1+"$@"}'='"$@"'
50206 setopt NO_GLOB_SUBST
50208 case `(set -o) 2>/dev/null` in
50209 *posix
*) set -o posix
;;
50218 # Avoid depending upon Character Ranges.
50219 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50220 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50221 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50222 as_cr_digits
='0123456789'
50223 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50225 # The user is always right.
50226 if test "${PATH_SEPARATOR+set}" != set; then
50227 echo "#! /bin/sh" >conf$$.sh
50228 echo "exit 0" >>conf$$.sh
50230 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50238 # Support unset when possible.
50239 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50247 # We need space, tab and new line, in precisely that order. Quoting is
50248 # there to prevent editors from complaining about space-tab.
50249 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50250 # splitting by setting IFS to empty value.)
50255 # Find who we are. Look in the path if we contain no directory separator.
50257 *[\\/]* ) as_myself
=$0 ;;
50258 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50259 for as_dir
in $PATH
50262 test -z "$as_dir" && as_dir
=.
50263 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50269 # We did not find ourselves, most probably we were run as `sh COMMAND'
50270 # in which case we are not to be found in the path.
50271 if test "x$as_myself" = x
; then
50274 if test ! -f "$as_myself"; then
50275 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50276 { (exit 1); exit 1; }
50279 # Work around bugs in pre-3.0 UWIN ksh.
50280 for as_var
in ENV MAIL MAILPATH
50281 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50289 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50290 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50291 LC_TELEPHONE LC_TIME
50293 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50294 eval $as_var=C
; export $as_var
50296 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50300 # Required to use basename.
50301 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50302 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50308 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50309 as_basename
=basename
50315 # Name of the executable.
50316 as_me
=`$as_basename -- "$0" ||
50317 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50318 X"$0" : 'X\(//\)$' \| \
50319 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50321 sed '/^.*\/\([^/][^/]*\)\/*$/{
50340 as_lineno_1
=$LINENO
50341 as_lineno_2
=$LINENO
50342 test "x$as_lineno_1" != "x$as_lineno_2" &&
50343 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50345 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50346 # uniformly replaced by the line number. The first 'sed' inserts a
50347 # line-number line after each line using $LINENO; the second 'sed'
50348 # does the real work. The second script uses 'N' to pair each
50349 # line-number line with the line containing $LINENO, and appends
50350 # trailing '-' during substitution so that $LINENO is not a special
50351 # case at line end.
50352 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50353 # scripts with optimization help from Paolo Bonzini. Blame Lee
50354 # E. McMahon (1931-1989) for sed's syntax. :-)
50366 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50369 ' >$as_me.lineno
&&
50370 chmod +x
"$as_me.lineno" ||
50371 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50372 { (exit 1); exit 1; }; }
50374 # Don't try to exec as it changes $[0], causing all sort of problems
50375 # (the dirname of $[0] is not the place where we might find the
50376 # original and so on. Autoconf is especially sensitive to this).
50377 .
"./$as_me.lineno"
50378 # Exit status is that of the last command.
50383 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
50389 ECHO_C
= ECHO_N
= ECHO_T
=
50390 case `echo -n x` in
50392 case `echo 'x\c'` in
50393 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
50400 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50401 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50407 rm -f conf$$ conf$$.exe conf$$.
file
50408 if test -d conf$$.dir
; then
50409 rm -f conf$$.dir
/conf$$.
file
50415 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50417 # ... but there are two gotchas:
50418 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50419 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50420 # In both cases, we have to default to `cp -p'.
50421 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
50423 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50428 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
50429 rmdir conf$$.dir
2>/dev
/null
50431 if mkdir -p .
2>/dev
/null
; then
50434 test -d .
/-p && rmdir .
/-p
50438 if test -x / >/dev
/null
2>&1; then
50439 as_test_x
='test -x'
50441 if ls -dL / >/dev
/null
2>&1; then
50448 if test -d "$1"; then
50454 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50455 ???[sx]*):;;*)false;;esac;fi
50459 as_executable_p
=$as_test_x
50461 # Sed expression to map a string onto a valid CPP name.
50462 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50464 # Sed expression to map a string onto a valid variable name.
50465 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50470 # Save the log message, to keep $[0] and so on meaningful, and to
50471 # report actual input values of CONFIG_FILES etc. instead of their
50472 # values after options handling.
50474 This file was extended by wxWidgets $as_me 2.9.0, which was
50475 generated by GNU Autoconf 2.61. Invocation command line was
50477 CONFIG_FILES = $CONFIG_FILES
50478 CONFIG_HEADERS = $CONFIG_HEADERS
50479 CONFIG_LINKS = $CONFIG_LINKS
50480 CONFIG_COMMANDS = $CONFIG_COMMANDS
50483 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50488 cat >>$CONFIG_STATUS <<_ACEOF
50489 # Files that config.status was made for.
50490 config_files="$ac_config_files"
50491 config_headers="$ac_config_headers"
50492 config_commands="$ac_config_commands"
50496 cat >>$CONFIG_STATUS <<\_ACEOF
50498 \`$as_me' instantiates files from templates according to the
50499 current configuration.
50501 Usage: $0 [OPTIONS] [FILE]...
50503 -h, --help print this help, then exit
50504 -V, --version print version number and configuration settings, then exit
50505 -q, --quiet do not print progress messages
50506 -d, --debug don't remove temporary files
50507 --recheck update $as_me by reconfiguring in the same conditions
50508 --file=FILE[:TEMPLATE]
50509 instantiate the configuration file FILE
50510 --header=FILE[:TEMPLATE]
50511 instantiate the configuration header FILE
50513 Configuration files:
50516 Configuration headers:
50519 Configuration commands:
50522 Report bugs to <bug-autoconf@gnu.org>."
50525 cat >>$CONFIG_STATUS <<_ACEOF
50527 wxWidgets config.status 2.9.0
50528 configured by $0, generated by GNU Autoconf 2.61,
50529 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50531 Copyright (C) 2006 Free Software Foundation, Inc.
50532 This config.status script is free software; the Free Software Foundation
50533 gives unlimited permission to copy, distribute and modify it."
50540 cat >>$CONFIG_STATUS <<\_ACEOF
50541 # If no file are specified by the user, then we need to provide default
50542 # value. By we need to know if files were specified by the user.
50548 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
50549 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
50560 # Handling of the options.
50561 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50563 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50564 echo "$ac_cs_version"; exit ;;
50565 --debug | --debu | --deb | --de | --d | -d )
50567 --file | --fil | --fi | --f )
50569 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
50570 ac_need_defaults
=false
;;
50571 --header | --heade | --head | --hea )
50573 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
50574 ac_need_defaults
=false
;;
50576 # Conflict between --help and --header
50577 { echo "$as_me: error: ambiguous option: $1
50578 Try \`$0 --help' for more information." >&2
50579 { (exit 1); exit 1; }; };;
50580 --help | --hel | -h )
50581 echo "$ac_cs_usage"; exit ;;
50582 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50583 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50586 # This is an error.
50587 -*) { echo "$as_me: error: unrecognized option: $1
50588 Try \`$0 --help' for more information." >&2
50589 { (exit 1); exit 1; }; } ;;
50591 *) ac_config_targets
="$ac_config_targets $1"
50592 ac_need_defaults
=false
;;
50598 ac_configure_extra_args
=
50600 if $ac_cs_silent; then
50602 ac_configure_extra_args
="$ac_configure_extra_args --silent"
50606 cat >>$CONFIG_STATUS <<_ACEOF
50607 if \$ac_cs_recheck; then
50608 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50609 CONFIG_SHELL=$SHELL
50610 export CONFIG_SHELL
50611 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50615 cat >>$CONFIG_STATUS <<\_ACEOF
50619 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50620 ## Running $as_me. ##
50626 cat >>$CONFIG_STATUS <<_ACEOF
50632 infile="$srcdir/include/wx/msw/genrcdefs.h"
50633 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50636 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50637 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50638 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50644 cat >>$CONFIG_STATUS <<\_ACEOF
50646 # Handling of arguments.
50647 for ac_config_target
in $ac_config_targets
50649 case $ac_config_target in
50650 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50651 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
50652 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50653 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50654 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
50655 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
50656 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
50657 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
50659 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50660 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50661 { (exit 1); exit 1; }; };;
50666 # If the user did not use the arguments to specify the items to instantiate,
50667 # then the envvar interface is used. Set only those that are not.
50668 # We use the long form for the default assignment because of an extremely
50669 # bizarre bug on SunOS 4.1.3.
50670 if $ac_need_defaults; then
50671 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
50672 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
50673 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
50676 # Have a temporary directory for convenience. Make it in the build tree
50677 # simply because there is no reason against having it here, and in addition,
50678 # creating and moving files from /tmp can sometimes cause problems.
50679 # Hook for its removal unless debugging.
50680 # Note that there is a small window in which the directory will not be cleaned:
50681 # after its creation but before its name has been assigned to `$tmp'.
50685 trap 'exit_status=$?
50686 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50688 trap '{ (exit 1); exit 1; }' 1 2 13 15
50690 # Create a (secure) tmp directory for tmp files.
50693 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50694 test -n "$tmp" && test -d "$tmp"
50697 tmp
=.
/conf$$
-$RANDOM
50698 (umask 077 && mkdir "$tmp")
50701 echo "$me: cannot create a temporary directory in ." >&2
50702 { (exit 1); exit 1; }
50706 # Set up the sed scripts for CONFIG_FILES section.
50709 # No need to generate the scripts if there are no CONFIG_FILES.
50710 # This happens for instance when ./config.status config.h
50711 if test -n "$CONFIG_FILES"; then
50718 for ac_last_try
in false false false false false
:; do
50719 cat >conf$
$subs.
sed <<_ACEOF
50720 SHELL!$SHELL$ac_delim
50721 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50722 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50723 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50724 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50725 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50726 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50727 exec_prefix!$exec_prefix$ac_delim
50728 prefix!$prefix$ac_delim
50729 program_transform_name!$program_transform_name$ac_delim
50730 bindir!$bindir$ac_delim
50731 sbindir!$sbindir$ac_delim
50732 libexecdir!$libexecdir$ac_delim
50733 datarootdir!$datarootdir$ac_delim
50734 datadir!$datadir$ac_delim
50735 sysconfdir!$sysconfdir$ac_delim
50736 sharedstatedir!$sharedstatedir$ac_delim
50737 localstatedir!$localstatedir$ac_delim
50738 includedir!$includedir$ac_delim
50739 oldincludedir!$oldincludedir$ac_delim
50740 docdir!$docdir$ac_delim
50741 infodir!$infodir$ac_delim
50742 htmldir!$htmldir$ac_delim
50743 dvidir!$dvidir$ac_delim
50744 pdfdir!$pdfdir$ac_delim
50745 psdir!$psdir$ac_delim
50746 libdir!$libdir$ac_delim
50747 localedir!$localedir$ac_delim
50748 mandir!$mandir$ac_delim
50749 DEFS!$DEFS$ac_delim
50750 ECHO_C!$ECHO_C$ac_delim
50751 ECHO_N!$ECHO_N$ac_delim
50752 ECHO_T!$ECHO_T$ac_delim
50753 LIBS!$LIBS$ac_delim
50754 build_alias!$build_alias$ac_delim
50755 host_alias!$host_alias$ac_delim
50756 target_alias!$target_alias$ac_delim
50757 build!$build$ac_delim
50758 build_cpu!$build_cpu$ac_delim
50759 build_vendor!$build_vendor$ac_delim
50760 build_os!$build_os$ac_delim
50761 host!$host$ac_delim
50762 host_cpu!$host_cpu$ac_delim
50763 host_vendor!$host_vendor$ac_delim
50764 host_os!$host_os$ac_delim
50765 target!$target$ac_delim
50766 target_cpu!$target_cpu$ac_delim
50767 target_vendor!$target_vendor$ac_delim
50768 target_os!$target_os$ac_delim
50769 wx_top_builddir!$wx_top_builddir$ac_delim
50771 CFLAGS!$CFLAGS$ac_delim
50772 LDFLAGS!$LDFLAGS$ac_delim
50773 CPPFLAGS!$CPPFLAGS$ac_delim
50774 ac_ct_CC!$ac_ct_CC$ac_delim
50775 EXEEXT!$EXEEXT$ac_delim
50776 OBJEXT!$OBJEXT$ac_delim
50778 GREP!$GREP$ac_delim
50779 EGREP!$EGREP$ac_delim
50781 CXXFLAGS!$CXXFLAGS$ac_delim
50782 ac_ct_CXX!$ac_ct_CXX$ac_delim
50784 subdirs!$subdirs$ac_delim
50785 PKG_CONFIG!$PKG_CONFIG$ac_delim
50786 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50787 GTK_LIBS!$GTK_LIBS$ac_delim
50788 GTK_CONFIG!$GTK_CONFIG$ac_delim
50789 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50790 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50791 XMKMF!$XMKMF$ac_delim
50792 X_CFLAGS!$X_CFLAGS$ac_delim
50793 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50794 X_LIBS!$X_LIBS$ac_delim
50795 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50796 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50797 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50798 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50799 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50800 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50801 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50802 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50803 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50804 LIBICONV!$LIBICONV$ac_delim
50805 SDL_CONFIG!$SDL_CONFIG$ac_delim
50806 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50807 SDL_LIBS!$SDL_LIBS$ac_delim
50808 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50809 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50810 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50811 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50812 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50813 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50814 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50815 HILDON_LIBS!$HILDON_LIBS$ac_delim
50816 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50819 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50821 elif $ac_last_try; then
50822 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50823 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50824 { (exit 1); exit 1; }; }
50826 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50830 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50831 if test -n "$ac_eof"; then
50832 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50833 ac_eof
=`expr $ac_eof + 1`
50836 cat >>$CONFIG_STATUS <<_ACEOF
50837 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50838 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50841 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50842 s/^/s,@/; s/!/@,|#_!!_#|/
50845 s/'"$ac_delim"'$/,g/; t
50847 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50848 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50849 rm -f conf$
$subs.
sed
50850 cat >>$CONFIG_STATUS <<_ACEOF
50856 for ac_last_try
in false false false false false
:; do
50857 cat >conf$
$subs.
sed <<_ACEOF
50858 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50859 GST_CFLAGS!$GST_CFLAGS$ac_delim
50860 GST_LIBS!$GST_LIBS$ac_delim
50861 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50862 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50863 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50864 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50865 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50866 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50867 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50868 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50869 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50870 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50871 VENDOR!$VENDOR$ac_delim
50872 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50873 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50874 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50875 WXUNIV!$WXUNIV$ac_delim
50876 MONOLITHIC!$MONOLITHIC$ac_delim
50877 USE_PLUGINS!$USE_PLUGINS$ac_delim
50878 CXXWARNINGS!$CXXWARNINGS$ac_delim
50879 EXTRALIBS!$EXTRALIBS$ac_delim
50880 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50881 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50882 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50883 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50884 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50885 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50886 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50887 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50888 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50889 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50890 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50891 UNICODE!$UNICODE$ac_delim
50892 BUILD!$BUILD$ac_delim
50893 DEBUG_INFO!$DEBUG_INFO$ac_delim
50894 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50895 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50896 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50897 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50898 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50899 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50900 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50901 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50902 RANLIB!$RANLIB$ac_delim
50903 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50904 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50905 INSTALL_DATA!$INSTALL_DATA$ac_delim
50906 LN_S!$LN_S$ac_delim
50907 SET_MAKE!$SET_MAKE$ac_delim
50908 MAKE_SET!$MAKE_SET$ac_delim
50909 AROPTIONS!$AROPTIONS$ac_delim
50910 STRIP!$STRIP$ac_delim
50912 INSTALL_DIR!$INSTALL_DIR$ac_delim
50913 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50914 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50915 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50916 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50917 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50918 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50919 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50920 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50921 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50922 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50923 SO_SUFFIX!$SO_SUFFIX$ac_delim
50924 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50925 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50926 LIBPREFIX!$LIBPREFIX$ac_delim
50927 LIBEXT!$LIBEXT$ac_delim
50928 DLLPREFIX!$DLLPREFIX$ac_delim
50929 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50930 dlldir!$dlldir$ac_delim
50931 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50932 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50933 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50934 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50935 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50936 PIC_FLAG!$PIC_FLAG$ac_delim
50937 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50938 USE_SOVERSION!$USE_SOVERSION$ac_delim
50939 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50940 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50941 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50942 USE_MACVERSION!$USE_MACVERSION$ac_delim
50943 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50944 SONAME_FLAG!$SONAME_FLAG$ac_delim
50945 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50946 BK_DEPS!$BK_DEPS$ac_delim
50947 WINDRES!$WINDRES$ac_delim
50949 SETFILE!$SETFILE$ac_delim
50950 GCC_PCH!$GCC_PCH$ac_delim
50951 ICC_PCH!$ICC_PCH$ac_delim
50952 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50953 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50954 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50957 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50959 elif $ac_last_try; then
50960 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50961 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50962 { (exit 1); exit 1; }; }
50964 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50968 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50969 if test -n "$ac_eof"; then
50970 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50971 ac_eof
=`expr $ac_eof + 1`
50974 cat >>$CONFIG_STATUS <<_ACEOF
50975 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50976 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50979 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50980 s/^/s,@/; s/!/@,|#_!!_#|/
50983 s/'"$ac_delim"'$/,g/; t
50985 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50986 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50987 rm -f conf$
$subs.
sed
50988 cat >>$CONFIG_STATUS <<_ACEOF
50994 for ac_last_try
in false false false false false
:; do
50995 cat >conf$
$subs.
sed <<_ACEOF
50996 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50997 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50998 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50999 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51000 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51001 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51002 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51003 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51004 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51005 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51006 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51007 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51008 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51009 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51010 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51011 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51012 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51013 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51014 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51015 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51016 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51017 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51018 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51019 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51020 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51021 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51022 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51023 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51024 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51025 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51026 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51027 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51028 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51029 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51030 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51031 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51032 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51033 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51034 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51035 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51036 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51037 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51038 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51039 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51040 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51041 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51042 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51043 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51044 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51045 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51046 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51047 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51048 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51049 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51050 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51051 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51052 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51053 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51054 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51055 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51056 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51057 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51058 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51059 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51060 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51061 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51062 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51063 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51064 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51065 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51066 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51067 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51068 COND_SHARED_0!$COND_SHARED_0$ac_delim
51069 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51070 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51071 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51072 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51073 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51074 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51075 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51076 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51077 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51078 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51079 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51080 COND_SHARED_1!$COND_SHARED_1$ac_delim
51081 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51082 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51083 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51084 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51085 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51086 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51087 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51088 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51089 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51090 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51091 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51092 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51095 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51097 elif $ac_last_try; then
51098 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51099 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51100 { (exit 1); exit 1; }; }
51102 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51106 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51107 if test -n "$ac_eof"; then
51108 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51109 ac_eof
=`expr $ac_eof + 1`
51112 cat >>$CONFIG_STATUS <<_ACEOF
51113 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51114 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51117 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51118 s/^/s,@/; s/!/@,|#_!!_#|/
51121 s/'"$ac_delim"'$/,g/; t
51123 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51124 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51125 rm -f conf$
$subs.
sed
51126 cat >>$CONFIG_STATUS <<_ACEOF
51132 for ac_last_try
in false false false false false
:; do
51133 cat >conf$
$subs.
sed <<_ACEOF
51134 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51135 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51136 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51137 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51138 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51139 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51140 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51141 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51142 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51143 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51144 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51145 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51146 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51147 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51148 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51149 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51150 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51151 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51152 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51153 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51154 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51155 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51156 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51157 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51158 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51159 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51160 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51161 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51162 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51163 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51164 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51165 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51166 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51167 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51168 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51169 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51170 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51171 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51172 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51173 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51174 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51175 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51176 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51177 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51178 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51179 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51180 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51181 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51182 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51183 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51184 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51185 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51186 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51187 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51188 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51189 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51190 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51191 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51192 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51193 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51194 DEREZ!$DEREZ$ac_delim
51195 SHARED!$SHARED$ac_delim
51196 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51197 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51198 USE_GUI!$USE_GUI$ac_delim
51199 AFMINSTALL!$AFMINSTALL$ac_delim
51200 WIN32INSTALL!$WIN32INSTALL$ac_delim
51201 TOOLKIT!$TOOLKIT$ac_delim
51202 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51203 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51204 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51205 cross_compiling!$cross_compiling$ac_delim
51206 WIDGET_SET!$WIDGET_SET$ac_delim
51207 WX_RELEASE!$WX_RELEASE$ac_delim
51208 WX_VERSION!$WX_VERSION$ac_delim
51209 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51210 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51211 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51212 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51213 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51214 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51215 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51216 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51217 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51218 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51219 GUIDIST!$GUIDIST$ac_delim
51220 DISTDIR!$DISTDIR$ac_delim
51221 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51222 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51223 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51224 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51225 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51226 RESCOMP!$RESCOMP$ac_delim
51227 RESFLAGS!$RESFLAGS$ac_delim
51228 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51229 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51230 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51233 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51235 elif $ac_last_try; then
51236 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51237 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51238 { (exit 1); exit 1; }; }
51240 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51244 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51245 if test -n "$ac_eof"; then
51246 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51247 ac_eof
=`expr $ac_eof + 1`
51250 cat >>$CONFIG_STATUS <<_ACEOF
51251 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51252 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51255 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51256 s/^/s,@/; s/!/@,|#_!!_#|/
51259 s/'"$ac_delim"'$/,g/; t
51261 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51262 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51263 rm -f conf$
$subs.
sed
51264 cat >>$CONFIG_STATUS <<_ACEOF
51270 for ac_last_try
in false false false false false
:; do
51271 cat >conf$
$subs.
sed <<_ACEOF
51272 LIBWXMACRES!$LIBWXMACRES$ac_delim
51273 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51274 MACSETFILE!$MACSETFILE$ac_delim
51276 DLLTOOL!$DLLTOOL$ac_delim
51277 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51278 LIBOBJS!$LIBOBJS$ac_delim
51279 LTLIBOBJS!$LTLIBOBJS$ac_delim
51282 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 8; then
51284 elif $ac_last_try; then
51285 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51286 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51287 { (exit 1); exit 1; }; }
51289 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51293 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51294 if test -n "$ac_eof"; then
51295 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51296 ac_eof
=`expr $ac_eof + 1`
51299 cat >>$CONFIG_STATUS <<_ACEOF
51300 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51301 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51304 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51305 s/^/s,@/; s/!/@,|#_!!_#|/
51308 s/'"$ac_delim"'$/,g/; t
51310 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51311 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51312 rm -f conf$
$subs.
sed
51313 cat >>$CONFIG_STATUS <<_ACEOF
51320 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51321 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51322 # trailing colons and then remove the whole line if VPATH becomes empty
51323 # (actually we leave an empty line to preserve line numbers).
51324 if test "x$srcdir" = x.
; then
51325 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
51326 s/:*\$(srcdir):*/:/
51327 s/:*\${srcdir}:*/:/
51329 s/^\([^=]*=[ ]*\):*/\1/
51335 cat >>$CONFIG_STATUS <<\_ACEOF
51336 fi # test -n "$CONFIG_FILES"
51339 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
51342 :[FHLC
]) ac_mode
=$ac_tag; continue;;
51344 case $ac_mode$ac_tag in
51346 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51347 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51348 { (exit 1); exit 1; }; };;
51349 :[FH
]-) ac_tag
=-:-;;
51350 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
51367 -) ac_f
="$tmp/stdin";;
51368 *) # Look for the file first in the build tree, then in the source tree
51369 # (if the path is not absolute). The absolute path cannot be DOS-style,
51370 # because $ac_f cannot contain `:'.
51374 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
51376 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51377 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51378 { (exit 1); exit 1; }; };;
51380 ac_file_inputs
="$ac_file_inputs $ac_f"
51383 # Let's still pretend it is `configure' which instantiates (i.e., don't
51384 # use $as_me), people would be surprised to read:
51385 # /* config.h. Generated by config.status. */
51386 configure_input
="Generated from "`IFS=:
51387 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51388 if test x
"$ac_file" != x
-; then
51389 configure_input
="$ac_file. $configure_input"
51390 { echo "$as_me:$LINENO: creating $ac_file" >&5
51391 echo "$as_me: creating $ac_file" >&6;}
51395 *:-:* | *:-) cat >"$tmp/stdin";;
51400 ac_dir
=`$as_dirname -- "$ac_file" ||
51401 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51402 X"$ac_file" : 'X\(//\)[^/]' \| \
51403 X"$ac_file" : 'X\(//\)$' \| \
51404 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51410 /^X\(\/\/\)[^/].*/{
51425 -*) as_dir
=.
/$as_dir;;
51427 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51431 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51432 *) as_qdir
=$as_dir;;
51434 as_dirs
="'$as_qdir' $as_dirs"
51435 as_dir
=`$as_dirname -- "$as_dir" ||
51436 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51437 X"$as_dir" : 'X\(//\)[^/]' \| \
51438 X"$as_dir" : 'X\(//\)$' \| \
51439 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51445 /^X\(\/\/\)[^/].*/{
51458 test -d "$as_dir" && break
51460 test -z "$as_dirs" || eval "mkdir $as_dirs"
51461 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51462 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51463 { (exit 1); exit 1; }; }; }
51467 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51469 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51470 # A ".." for each directory in $ac_dir_suffix.
51471 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51472 case $ac_top_builddir_sub in
51473 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51474 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
51477 ac_abs_top_builddir
=$ac_pwd
51478 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
51479 # for backward compatibility:
51480 ac_top_builddir
=$ac_top_build_prefix
51483 .
) # We are building in place.
51485 ac_top_srcdir
=$ac_top_builddir_sub
51486 ac_abs_top_srcdir
=$ac_pwd ;;
51487 [\\/]* | ?
:[\\/]* ) # Absolute name.
51488 ac_srcdir
=$srcdir$ac_dir_suffix;
51489 ac_top_srcdir
=$srcdir
51490 ac_abs_top_srcdir
=$srcdir ;;
51491 *) # Relative name.
51492 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
51493 ac_top_srcdir
=$ac_top_build_prefix$srcdir
51494 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
51496 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
51506 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
51507 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
51511 cat >>$CONFIG_STATUS <<\_ACEOF
51512 # If the template does not know about datarootdir, expand it.
51513 # FIXME: This hack should be removed a few years after 2.60.
51514 ac_datarootdir_hack
=; ac_datarootdir_seen
=
51516 case `sed -n '/datarootdir/ {
51525 ' $ac_file_inputs` in
51526 *datarootdir
*) ac_datarootdir_seen
=yes;;
51527 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
51528 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51529 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51531 cat >>$CONFIG_STATUS <<_ACEOF
51532 ac_datarootdir_hack='
51533 s&@datadir@&$datadir&g
51534 s&@docdir@&$docdir&g
51535 s&@infodir@&$infodir&g
51536 s&@localedir@&$localedir&g
51537 s&@mandir@&$mandir&g
51538 s&\\\${datarootdir}&$datarootdir&g' ;;
51542 # Neutralize VPATH when `$srcdir' = `.'.
51543 # Shell code in configure.ac might set extrasub.
51544 # FIXME: do we really want to maintain this feature?
51545 cat >>$CONFIG_STATUS <<_ACEOF
51549 cat >>$CONFIG_STATUS <<\_ACEOF
51551 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51552 s
&@configure_input@
&$configure_input&;t t
51553 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
51554 s
&@srcdir@
&$ac_srcdir&;t t
51555 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
51556 s
&@top_srcdir@
&$ac_top_srcdir&;t t
51557 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
51558 s
&@builddir@
&$ac_builddir&;t t
51559 s
&@abs_builddir@
&$ac_abs_builddir&;t t
51560 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
51561 s
&@INSTALL@
&$ac_INSTALL&;t t
51562 $ac_datarootdir_hack
51563 " $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
51565 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51566 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
51567 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
51568 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
51569 which seems to be undefined. Please make sure it is defined." >&5
51570 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
51571 which seems to be undefined. Please make sure it is defined." >&2;}
51575 -) cat "$tmp/out"; rm -f "$tmp/out";;
51576 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51585 # Transform confdefs.h into a sed script `conftest.defines', that
51586 # substitutes the proper values into config.h.in to produce config.h.
51587 rm -f conftest.defines conftest.
tail
51588 # First, append a space to every undef/define line, to ease matching.
51589 echo 's/$/ /' >conftest.defines
51590 # Then, protect against being on the right side of a sed subst, or in
51591 # an unquoted here document, in config.status. If some macros were
51592 # called several times there might be several #defines for the same
51593 # symbol, which is useless. But do not sort them, since the last
51594 # AC_DEFINE must be honored.
51595 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
51596 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51597 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51598 # PARAMS is the parameter list in the macro definition--in most cases, it's
51599 # just an empty string.
51600 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51601 ac_dB
='\\)[ (].*,\\1define\\2'
51609 s/^[ ]*#[ ]*define[ ][ ]*//
51614 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51615 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51616 ' >>conftest.defines
51618 # Remove the space that was appended to ease matching.
51619 # Then replace #undef with comments. This is necessary, for
51620 # example, in the case of _POSIX_SOURCE, which is predefined and required
51621 # on some systems where configure will not decide to define it.
51622 # (The regexp can be short, since the line contains either #define or #undef.)
51624 s,^[ #]*u.*,/* & */,' >>conftest.defines
51626 # Break up conftest.defines:
51627 ac_max_sed_lines
=50
51629 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51630 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51631 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51633 ac_in
='$ac_file_inputs'
51634 ac_out
='"$tmp/out1"'
51635 ac_nxt
='"$tmp/out2"'
51639 # Write a here document:
51640 cat >>$CONFIG_STATUS <<_ACEOF
51641 # First, check the format of the line:
51642 cat >"\$tmp/defines.sed" <<\\CEOF
51643 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51644 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51648 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
51650 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51651 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
51652 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
51653 grep . conftest.
tail >/dev
/null
|| break
51654 rm -f conftest.defines
51655 mv conftest.
tail conftest.defines
51657 rm -f conftest.defines conftest.
tail
51659 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51660 cat >>$CONFIG_STATUS <<\_ACEOF
51661 if test x
"$ac_file" != x
-; then
51662 echo "/* $configure_input */" >"$tmp/config.h"
51663 cat "$ac_result" >>"$tmp/config.h"
51664 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
51665 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51666 echo "$as_me: $ac_file is unchanged" >&6;}
51669 mv "$tmp/config.h" $ac_file
51672 echo "/* $configure_input */"
51678 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51679 echo "$as_me: executing $ac_file commands" >&6;}
51684 case $ac_file$ac_mode in
51686 mkdir -p $outdir &&
51687 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51689 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
51690 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
51691 "wx-config":C
) rm -f wx
-config
51692 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
51699 { (exit 0); exit 0; }
51701 chmod +x
$CONFIG_STATUS
51702 ac_clean_files
=$ac_clean_files_save
51705 # configure is writing to config.log, and then calls config.status.
51706 # config.status does its own redirection, appending to config.log.
51707 # Unfortunately, on DOS this fails, as config.log is still kept open
51708 # by configure, so config.status won't be able to write to it; its
51709 # output is simply discarded. So we exec the FD to /dev/null,
51710 # effectively closing config.log, so it can be properly (re)opened and
51711 # appended to by config.status. When coming back to configure, we
51712 # need to make the FD available again.
51713 if test "$no_create" != yes; then
51715 ac_config_status_args
=
51716 test "$silent" = yes &&
51717 ac_config_status_args
="$ac_config_status_args --quiet"
51719 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
51721 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51722 # would make configure fail if this is the last instruction.
51723 $ac_cs_success || { (exit 1); exit 1; }
51727 # CONFIG_SUBDIRS section.
51729 if test "$no_recursion" != yes; then
51731 # Remove --cache-file and --srcdir arguments so they do not pile up.
51732 ac_sub_configure_args
=
51734 eval "set x $ac_configure_args"
51738 if test -n "$ac_prev"; then
51743 -cache-file | --cache-file | --cache-fil | --cache-fi \
51744 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51745 ac_prev
=cache_file
;;
51746 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51747 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51750 --config-cache | -C)
51752 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51754 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51756 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51758 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51762 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51764 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
51768 # Always prepend --prefix to ensure using the same prefix
51769 # in subdir configurations.
51770 ac_arg
="--prefix=$prefix"
51772 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51774 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
51777 if test "$silent" = yes; then
51778 ac_sub_configure_args
="--silent $ac_sub_configure_args"
51782 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
51784 # Do not complain, so a configure script can configure whichever
51785 # parts of a large source tree are present.
51786 test -d "$srcdir/$ac_dir" || continue
51788 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51789 echo "$as_me:$LINENO: $ac_msg" >&5
51793 -*) as_dir
=.
/$as_dir;;
51795 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51799 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51800 *) as_qdir
=$as_dir;;
51802 as_dirs
="'$as_qdir' $as_dirs"
51803 as_dir
=`$as_dirname -- "$as_dir" ||
51804 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51805 X"$as_dir" : 'X\(//\)[^/]' \| \
51806 X"$as_dir" : 'X\(//\)$' \| \
51807 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51813 /^X\(\/\/\)[^/].*/{
51826 test -d "$as_dir" && break
51828 test -z "$as_dirs" || eval "mkdir $as_dirs"
51829 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51830 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51831 { (exit 1); exit 1; }; }; }
51835 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51837 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51838 # A ".." for each directory in $ac_dir_suffix.
51839 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51840 case $ac_top_builddir_sub in
51841 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51842 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
51845 ac_abs_top_builddir
=$ac_pwd
51846 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
51847 # for backward compatibility:
51848 ac_top_builddir
=$ac_top_build_prefix
51851 .
) # We are building in place.
51853 ac_top_srcdir
=$ac_top_builddir_sub
51854 ac_abs_top_srcdir
=$ac_pwd ;;
51855 [\\/]* | ?
:[\\/]* ) # Absolute name.
51856 ac_srcdir
=$srcdir$ac_dir_suffix;
51857 ac_top_srcdir
=$srcdir
51858 ac_abs_top_srcdir
=$srcdir ;;
51859 *) # Relative name.
51860 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
51861 ac_top_srcdir
=$ac_top_build_prefix$srcdir
51862 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
51864 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
51869 # Check for guested configure; otherwise get Cygnus style configure.
51870 if test -f "$ac_srcdir/configure.gnu"; then
51871 ac_sub_configure
=$ac_srcdir/configure.gnu
51872 elif test -f "$ac_srcdir/configure"; then
51873 ac_sub_configure
=$ac_srcdir/configure
51874 elif test -f "$ac_srcdir/configure.in"; then
51875 # This should be Cygnus configure.
51876 ac_sub_configure
=$ac_aux_dir/configure
51878 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51879 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51883 # The recursion is here.
51884 if test -n "$ac_sub_configure"; then
51885 # Make the cache file name correct relative to the subdirectory.
51886 case $cache_file in
51887 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
51888 *) # Relative name.
51889 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
51892 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51893 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51894 # The eval makes quoting arguments work.
51895 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51896 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51897 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51898 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51899 { (exit 1); exit 1; }; }
51908 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51910 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51911 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51913 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51914 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51915 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
51916 if test "$wxUSE_UNICODE" = "yes"; then
51917 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51918 echo " (using UTF-8)"
51920 echo " (using wchar_t)"
51926 echo " What level of wxWidgets compatibility should be enabled?"
51927 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51928 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51930 echo " Which libraries should wxWidgets use?"
51931 echo " STL ${wxUSE_STL}"
51932 echo " jpeg ${wxUSE_LIBJPEG-none}"
51933 echo " png ${wxUSE_LIBPNG-none}"
51934 echo " regex ${wxUSE_REGEX}"
51935 echo " tiff ${wxUSE_LIBTIFF-none}"
51936 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51937 echo " xpm ${wxUSE_LIBXPM-none}"
51939 echo " zlib ${wxUSE_ZLIB}"
51940 echo " expat ${wxUSE_EXPAT}"
51941 echo " libmspack ${wxUSE_LIBMSPACK}"
51942 echo " sdl ${wxUSE_LIBSDL}"