2 # From configure.in Id: configure.in 50595 2007-12-09 12:40:58Z RR .
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_1
878 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
879 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
880 COND_PLATFORM_UNIX_1_USE_GUI_1
881 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
882 COND_PLATFORM_WIN32_0
883 COND_PLATFORM_WIN32_1
885 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
886 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
887 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
888 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
889 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
892 COND_SHARED_0_USE_STC_1
893 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
894 COND_SHARED_0_WXUSE_REGEX_BUILTIN
895 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
897 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
900 COND_TOOLKIT_COCOA_USE_GUI_1
901 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
903 COND_TOOLKIT_DFB_USE_GUI_1
905 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
906 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_GTK_USE_GUI_1
914 COND_TOOLKIT_MAC_USE_GUI_1
915 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_MGL_USE_GUI_1
919 COND_TOOLKIT_MOTIF_USE_GUI_1
920 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_MSW_USE_GUI_1
923 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_MSW_WXUNIV_0
926 COND_TOOLKIT_PM_USE_GUI_1
927 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_WINCE_USE_GUI_1
930 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_WINCE_WXUNIV_0
933 COND_TOOLKIT_X11_USE_GUI_1
935 COND_USE_EXCEPTIONS_0
936 COND_USE_EXCEPTIONS_1
939 COND_USE_GUI_1_USE_OPENGL_1
940 COND_USE_GUI_1_WXUNIV_0
941 COND_USE_GUI_1_WXUNIV_1
942 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
943 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
944 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
949 COND_USE_SOSYMLINKS_1
950 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
951 COND_USE_SOVERLINUX_1
953 COND_USE_SOVERSOLARIS_1
958 COND_WINDOWS_IMPLIB_1
959 COND_WITH_PLUGIN_SDL_1
962 COND_WXUSE_EXPAT_BUILTIN
963 COND_WXUSE_LIBJPEG_BUILTIN
964 COND_WXUSE_LIBPNG_BUILTIN
965 COND_WXUSE_LIBTIFF_BUILTIN
966 COND_WXUSE_REGEX_BUILTIN
967 COND_WXUSE_ZLIB_BUILTIN
970 WX_LIBRARY_BASENAME_NOGUI
971 WX_LIBRARY_BASENAME_GUI
1003 WX_RESOURCES_MACOSX_ASCII
1004 WX_RESOURCES_MACOSX_DATA
1014 ac_precious_vars
='build_alias
1038 LIBGNOMEPRINTUI_CFLAGS
1039 LIBGNOMEPRINTUI_LIBS
1048 ac_subdirs_all
='src/tiff
1051 # Initialize some variables set by options.
1053 ac_init_version
=false
1054 # The variables have the same names as the options, with
1055 # dashes changed to underlines.
1056 cache_file
=/dev
/null
1063 program_transform_name
=s
,x
,x
,
1071 # Installation directory options.
1072 # These are left unexpanded so users can "make install exec_prefix=/foo"
1073 # and all the variables that are supposed to be based on exec_prefix
1074 # by default will actually change.
1075 # Use braces instead of parens because sh, perl, etc. also accept them.
1076 # (The list follows the same order as the GNU Coding Standards.)
1077 bindir
='${exec_prefix}/bin'
1078 sbindir
='${exec_prefix}/sbin'
1079 libexecdir
='${exec_prefix}/libexec'
1080 datarootdir
='${prefix}/share'
1081 datadir
='${datarootdir}'
1082 sysconfdir
='${prefix}/etc'
1083 sharedstatedir
='${prefix}/com'
1084 localstatedir
='${prefix}/var'
1085 includedir
='${prefix}/include'
1086 oldincludedir
='/usr/include'
1087 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1088 infodir
='${datarootdir}/info'
1093 libdir
='${exec_prefix}/lib'
1094 localedir
='${datarootdir}/locale'
1095 mandir
='${datarootdir}/man'
1101 # If the previous option needs an argument, assign it.
1102 if test -n "$ac_prev"; then
1103 eval $ac_prev=\
$ac_option
1109 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1113 # Accept the important Cygnus configure options, so we can diagnose typos.
1115 case $ac_dashdash$ac_option in
1119 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1121 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1122 bindir
=$ac_optarg ;;
1124 -build | --build | --buil | --bui | --bu)
1125 ac_prev
=build_alias
;;
1126 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1127 build_alias
=$ac_optarg ;;
1129 -cache-file | --cache-file | --cache-fil | --cache-fi \
1130 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1131 ac_prev
=cache_file
;;
1132 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1133 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1134 cache_file
=$ac_optarg ;;
1136 --config-cache | -C)
1137 cache_file
=config.cache
;;
1139 -datadir | --datadir | --datadi | --datad)
1141 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1142 datadir
=$ac_optarg ;;
1144 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1145 | --dataroo | --dataro | --datar)
1146 ac_prev
=datarootdir
;;
1147 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1148 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1149 datarootdir
=$ac_optarg ;;
1151 -disable-* | --disable-*)
1152 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1155 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1156 { (exit 1); exit 1; }; }
1157 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1158 eval enable_
$ac_feature=no
;;
1160 -docdir | --docdir | --docdi | --doc | --do)
1162 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1163 docdir
=$ac_optarg ;;
1165 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1167 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1168 dvidir
=$ac_optarg ;;
1170 -enable-* | --enable-*)
1171 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1174 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1175 { (exit 1); exit 1; }; }
1176 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1177 eval enable_
$ac_feature=\
$ac_optarg ;;
1179 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1180 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1181 | --exec | --exe | --ex)
1182 ac_prev
=exec_prefix
;;
1183 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1184 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1185 | --exec=* | --exe=* | --ex=*)
1186 exec_prefix
=$ac_optarg ;;
1188 -gas | --gas | --ga | --g)
1189 # Obsolete; use --with-gas.
1192 -help | --help | --hel | --he | -h)
1193 ac_init_help
=long
;;
1194 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1195 ac_init_help
=recursive
;;
1196 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1197 ac_init_help
=short
;;
1199 -host | --host | --hos | --ho)
1200 ac_prev
=host_alias
;;
1201 -host=* | --host=* | --hos=* | --ho=*)
1202 host_alias
=$ac_optarg ;;
1204 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1206 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1208 htmldir
=$ac_optarg ;;
1210 -includedir | --includedir | --includedi | --included | --include \
1211 | --includ | --inclu | --incl | --inc)
1212 ac_prev
=includedir
;;
1213 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1214 | --includ=* | --inclu=* | --incl=* | --inc=*)
1215 includedir
=$ac_optarg ;;
1217 -infodir | --infodir | --infodi | --infod | --info | --inf)
1219 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1220 infodir
=$ac_optarg ;;
1222 -libdir | --libdir | --libdi | --libd)
1224 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1225 libdir
=$ac_optarg ;;
1227 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1228 | --libexe | --libex | --libe)
1229 ac_prev
=libexecdir
;;
1230 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1231 | --libexe=* | --libex=* | --libe=*)
1232 libexecdir
=$ac_optarg ;;
1234 -localedir | --localedir | --localedi | --localed | --locale)
1235 ac_prev
=localedir
;;
1236 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1237 localedir
=$ac_optarg ;;
1239 -localstatedir | --localstatedir | --localstatedi | --localstated \
1240 | --localstate | --localstat | --localsta | --localst | --locals)
1241 ac_prev
=localstatedir
;;
1242 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1243 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1244 localstatedir
=$ac_optarg ;;
1246 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1248 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1249 mandir
=$ac_optarg ;;
1251 -nfp | --nfp | --nf)
1252 # Obsolete; use --without-fp.
1255 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1256 | --no-cr | --no-c | -n)
1259 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1260 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1263 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1264 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1265 | --oldin | --oldi | --old | --ol | --o)
1266 ac_prev
=oldincludedir
;;
1267 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1268 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1269 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1270 oldincludedir
=$ac_optarg ;;
1272 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1274 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1275 prefix
=$ac_optarg ;;
1277 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1278 | --program-pre | --program-pr | --program-p)
1279 ac_prev
=program_prefix
;;
1280 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1281 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1282 program_prefix
=$ac_optarg ;;
1284 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1285 | --program-suf | --program-su | --program-s)
1286 ac_prev
=program_suffix
;;
1287 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1288 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1289 program_suffix
=$ac_optarg ;;
1291 -program-transform-name | --program-transform-name \
1292 | --program-transform-nam | --program-transform-na \
1293 | --program-transform-n | --program-transform- \
1294 | --program-transform | --program-transfor \
1295 | --program-transfo | --program-transf \
1296 | --program-trans | --program-tran \
1297 | --progr-tra | --program-tr | --program-t)
1298 ac_prev
=program_transform_name
;;
1299 -program-transform-name=* | --program-transform-name=* \
1300 | --program-transform-nam=* | --program-transform-na=* \
1301 | --program-transform-n=* | --program-transform-=* \
1302 | --program-transform=* | --program-transfor=* \
1303 | --program-transfo=* | --program-transf=* \
1304 | --program-trans=* | --program-tran=* \
1305 | --progr-tra=* | --program-tr=* | --program-t=*)
1306 program_transform_name
=$ac_optarg ;;
1308 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1310 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1311 pdfdir
=$ac_optarg ;;
1313 -psdir | --psdir | --psdi | --psd | --ps)
1315 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1318 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1319 | -silent | --silent | --silen | --sile | --sil)
1322 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1324 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1326 sbindir
=$ac_optarg ;;
1328 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1329 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1330 | --sharedst | --shareds | --shared | --share | --shar \
1332 ac_prev
=sharedstatedir
;;
1333 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1334 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1335 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1337 sharedstatedir
=$ac_optarg ;;
1339 -site | --site | --sit)
1341 -site=* | --site=* | --sit=*)
1344 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1346 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1347 srcdir
=$ac_optarg ;;
1349 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1350 | --syscon | --sysco | --sysc | --sys | --sy)
1351 ac_prev
=sysconfdir
;;
1352 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1353 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1354 sysconfdir
=$ac_optarg ;;
1356 -target | --target | --targe | --targ | --tar | --ta | --t)
1357 ac_prev
=target_alias
;;
1358 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1359 target_alias
=$ac_optarg ;;
1361 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1364 -version | --version | --versio | --versi | --vers | -V)
1365 ac_init_version
=: ;;
1368 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1369 # Reject names that are not valid shell variable names.
1370 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1371 { echo "$as_me: error: invalid package name: $ac_package" >&2
1372 { (exit 1); exit 1; }; }
1373 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1374 eval with_
$ac_package=\
$ac_optarg ;;
1376 -without-* | --without-*)
1377 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1378 # Reject names that are not valid shell variable names.
1379 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1380 { echo "$as_me: error: invalid package name: $ac_package" >&2
1381 { (exit 1); exit 1; }; }
1382 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1383 eval with_
$ac_package=no
;;
1386 # Obsolete; use --with-x.
1389 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1390 | --x-incl | --x-inc | --x-in | --x-i)
1391 ac_prev
=x_includes
;;
1392 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1393 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1394 x_includes
=$ac_optarg ;;
1396 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1397 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1398 ac_prev
=x_libraries
;;
1399 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1400 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1401 x_libraries
=$ac_optarg ;;
1403 -*) { echo "$as_me: error: unrecognized option: $ac_option
1404 Try \`$0 --help' for more information." >&2
1405 { (exit 1); exit 1; }; }
1409 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1412 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1413 { (exit 1); exit 1; }; }
1414 eval $ac_envvar=\
$ac_optarg
1415 export $ac_envvar ;;
1418 # FIXME: should be removed in autoconf 3.0.
1419 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1420 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1421 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1422 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1428 if test -n "$ac_prev"; then
1429 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1430 { echo "$as_me: error: missing argument to $ac_option" >&2
1431 { (exit 1); exit 1; }; }
1434 # Be sure to have absolute directory names.
1435 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1436 datadir sysconfdir sharedstatedir localstatedir includedir \
1437 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1438 libdir localedir mandir
1440 eval ac_val
=\$
$ac_var
1442 [\\/$
]* | ?
:[\\/]* ) continue;;
1443 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1445 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1446 { (exit 1); exit 1; }; }
1449 # There might be people who depend on the old broken behavior: `$host'
1450 # used to hold the argument of --host etc.
1451 # FIXME: To remove some day.
1454 target
=$target_alias
1456 # FIXME: To remove some day.
1457 if test "x$host_alias" != x
; then
1458 if test "x$build_alias" = x
; then
1459 cross_compiling
=maybe
1460 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1461 If a cross compiler is detected then cross compile mode will be used." >&2
1462 elif test "x$build_alias" != "x$host_alias"; then
1468 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1470 test "$silent" = yes && exec 6>/dev
/null
1473 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1474 ac_ls_di
=`ls -di .` &&
1475 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1476 { echo "$as_me: error: Working directory cannot be determined" >&2
1477 { (exit 1); exit 1; }; }
1478 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1479 { echo "$as_me: error: pwd does not report name of working directory" >&2
1480 { (exit 1); exit 1; }; }
1483 # Find the source files, if location was not specified.
1484 if test -z "$srcdir"; then
1485 ac_srcdir_defaulted
=yes
1486 # Try the directory containing this script, then the parent directory.
1487 ac_confdir
=`$as_dirname -- "$0" ||
1488 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1489 X"$0" : 'X\(//\)[^/]' \| \
1490 X"$0" : 'X\(//\)$' \| \
1491 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1511 if test ! -r "$srcdir/$ac_unique_file"; then
1515 ac_srcdir_defaulted
=no
1517 if test ! -r "$srcdir/$ac_unique_file"; then
1518 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1519 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1520 { (exit 1); exit 1; }; }
1522 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1524 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1525 { (exit 1); exit 1; }; }
1527 # When building in place, set srcdir=.
1528 if test "$ac_abs_confdir" = "$ac_pwd"; then
1531 # Remove unnecessary trailing slashes from srcdir.
1532 # Double slashes in file names in object file debugging info
1533 # mess up M-x gdb in Emacs.
1535 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1537 for ac_var
in $ac_precious_vars; do
1538 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1539 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1540 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1541 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1545 # Report the --help message.
1547 if test "$ac_init_help" = "long"; then
1548 # Omit some internal or obsolete options to make the list less imposing.
1549 # This message is too long to be a string in the A/UX 3.1 sh.
1551 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1553 Usage: $0 [OPTION]... [VAR=VALUE]...
1555 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1556 VAR=VALUE. See below for descriptions of some of the useful variables.
1558 Defaults for the options are specified in brackets.
1561 -h, --help display this help and exit
1562 --help=short display options specific to this package
1563 --help=recursive display the short help of all the included packages
1564 -V, --version display version information and exit
1565 -q, --quiet, --silent do not print \`checking...' messages
1566 --cache-file=FILE cache test results in FILE [disabled]
1567 -C, --config-cache alias for \`--cache-file=config.cache'
1568 -n, --no-create do not create output files
1569 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1571 Installation directories:
1572 --prefix=PREFIX install architecture-independent files in PREFIX
1573 [$ac_default_prefix]
1574 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1577 By default, \`make install' will install all the files in
1578 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1579 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1580 for instance \`--prefix=\$HOME'.
1582 For better control, use the options below.
1584 Fine tuning of the installation directories:
1585 --bindir=DIR user executables [EPREFIX/bin]
1586 --sbindir=DIR system admin executables [EPREFIX/sbin]
1587 --libexecdir=DIR program executables [EPREFIX/libexec]
1588 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1589 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1590 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1591 --libdir=DIR object code libraries [EPREFIX/lib]
1592 --includedir=DIR C header files [PREFIX/include]
1593 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1594 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1595 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1596 --infodir=DIR info documentation [DATAROOTDIR/info]
1597 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1598 --mandir=DIR man documentation [DATAROOTDIR/man]
1599 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1600 --htmldir=DIR html documentation [DOCDIR]
1601 --dvidir=DIR dvi documentation [DOCDIR]
1602 --pdfdir=DIR pdf documentation [DOCDIR]
1603 --psdir=DIR ps documentation [DOCDIR]
1609 --x-includes=DIR X include files are
in DIR
1610 --x-libraries=DIR X library files are
in DIR
1613 --build=BUILD configure
for building on BUILD
[guessed
]
1614 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1615 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1619 if test -n "$ac_init_help"; then
1620 case $ac_init_help in
1621 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1626 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1627 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1628 --disable-gui don
't build GUI parts of the library
1629 --enable-monolithic build wxWidgets as single library
1630 --enable-plugins build parts of wxWidgets as loadable components
1631 --enable-official_build official build of wxWidgets (win32 DLL only)
1632 --enable-vendor=VENDOR vendor name (win32 DLL only)
1633 --disable-all-features disable all optional features to build minimal library
1634 --enable-universal use wxWidgets GUI controls instead of native ones
1635 --enable-nanox use NanoX
1636 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1637 --enable-gpe use GNOME PDA Environment features if possible
1638 --disable-shared create static library instead of shared
1639 --disable-optimise create optimised code
1640 --enable-debug same as debug_flag and debug_info
1641 --enable-stl use STL for containers
1642 --enable-std_iostreams use standard C++ stream classes
1643 --enable-std_string use standard C++ string classes
1644 --disable-unicode compile without Unicode support
1645 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1646 --enable-utf8 use UTF-8 representation for strings (Unix only)
1647 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1648 --enable-extended_rtti use extended RTTI (XTI)
1649 --enable-omf use OMF object format
1650 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1651 --enable-debug_info create code with debugging information
1652 --enable-debug_gdb create code with extra GDB debugging information
1653 --enable-debug_cntxt use wxDebugContext
1654 --enable-mem_tracing create code with memory tracing
1655 --enable-profile create code with profiling information
1656 --enable-no_rtti create code without RTTI information
1657 --enable-no_exceptions create code without C++ exceptions handling
1658 --enable-permissive compile code disregarding strict ANSI
1659 --enable-no_deps create code without dependency information
1660 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1661 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1662 --enable-compat26 enable wxWidgets
2.6 compatibility
1663 --disable-compat28 disable wxWidgets
2.8 compatibility
1664 --disable-rpath disable use of rpath
for uninstalled builds
1665 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1666 --disable-visibility disable use of ELF symbols visibility even
if supported
1667 --enable-intl use internationalization system
1668 --enable-config use wxConfig
(and derived
) classes
1669 --enable-protocols use wxProtocol and derived classes
1670 --enable-ftp use wxFTP
(requires wxProtocol
1671 --enable-http use wxHTTP
(requires wxProtocol
1672 --enable-fileproto use wxFileProto class
(requires wxProtocol
1673 --enable-sockets use socket
/network classes
1674 --enable-ipv6 enable IPv6 support
in wxSocket
1675 --enable-ole use OLE classes
(Win32 only
)
1676 --enable-dataobj use data object classes
1677 --enable-ipc use interprocess communication
(wxSocket etc.
)
1678 --enable-baseevtloop use event loop
in console programs too
1679 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1680 --enable-selectloop use wxSelectDispatcher class
1681 --enable-apple_ieee use the Apple IEEE codec
1682 --enable-arcstream use wxArchive streams
1683 --enable-base64 use base64 encoding
/decoding functions
1684 --enable-backtrace use wxStackWalker class
for getting backtraces
1685 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1686 --enable-cmdline use wxCmdLineParser class
1687 --enable-datetime use wxDateTime class
1688 --enable-debugreport use wxDebugReport class
1689 --enable-dialupman use dialup network classes
1690 --enable-dynlib use wxLibrary class
for DLL loading
1691 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1692 --enable-exceptions build exception
-safe library
1693 --enable-ffile use wxFFile class
1694 --enable-file use wxFile class
1695 --enable-filesystem use virtual
file systems classes
1696 --enable-fontenum use wxFontEnumerator class
1697 --enable-fontmap use font encodings conversion classes
1698 --enable-fs_archive use virtual archive filesystems
1699 --enable-fs_inet use virtual HTTP
/FTP filesystems
1700 --enable-fs_zip now replaced by fs_archive
1701 --enable-geometry use geometry class
1702 --enable-log use logging system
1703 --enable-longlong use wxLongLong class
1704 --enable-mimetype use wxMimeTypesManager
1705 --enable-snglinst use wxSingleInstanceChecker class
1706 --enable-stdpaths use wxStandardPaths class
1707 --enable-stopwatch use wxStopWatch class
1708 --enable-streams use wxStream etc classes
1709 --enable-sysoptions use wxSystemOptions
1710 --enable-tarstream use wxTar streams
1711 --enable-textbuf use wxTextBuffer class
1712 --enable-textfile use wxTextFile class
1713 --enable-timer use wxTimer class
1714 --enable-sound use wxSound class
1715 --enable-mediactrl use wxMediaCtrl class
1716 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1717 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1718 --enable-zipstream use wxZip streams
1719 --enable-url use wxURL class
1720 --enable-variant use wxVariant class
1721 --enable-protocol use wxProtocol class
1722 --enable-protocol-http HTTP support
in wxProtocol
1723 --enable-protocol-ftp FTP support
in wxProtocol
1724 --enable-protocol-file FILE support
in wxProtocol
1725 --enable-threads use threads
1726 --enable-iniconf use wxIniConfig
(Win32 only
)
1727 --enable-regkey use wxRegKey class
(Win32 only
)
1728 --enable-docview use document view architecture
1729 --enable-help use
help subsystem
1730 --enable-mshtmlhelp use MS HTML Help
(win32
)
1731 --enable-html use wxHTML sub
-library
1732 --enable-htmlhelp use wxHTML
-based help
1733 --enable-xrc use XRC resources sub
-library
1734 --enable-aui use AUI docking library
1735 --enable-stc use wxStyledTextCtrl library
1736 --enable-constraints use layout
-constraints system
1737 --enable-printarch use printing architecture
1738 --enable-mdi use multiple document interface architecture
1739 --enable-mdidoc use docview architecture with MDI
1740 --enable-loggui use standard GUI logger
1741 --enable-logwin use wxLogWindow
1742 --enable-logdialog use wxLogDialog
1743 --enable-webkit use wxWebKitCtrl
(Mac
)
1744 --enable-richtext use wxRichTextCtrl
1745 --enable-graphics_ctx use graphics context
2D drawing API
1746 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1747 --enable-svg use wxSVGFileDC device context
1748 --enable-clipboard use wxClipboard class
1749 --enable-dnd use Drag
'n'Drop classes
1750 --enable-metafile use win32 metafiles
1751 --disable-controls disable compilation of all standard controls
1752 --enable-accel use accelerators
1753 --enable-animatectrl use wxAnimationCtrl class
1754 --enable-button use wxButton class
1755 --enable-bmpbutton use wxBitmapButton class
1756 --enable-bmpcombobox use wxBitmapComboBox class
1757 --enable-calendar use wxCalendarCtrl class
1758 --enable-caret use wxCaret class
1759 --enable-checkbox use wxCheckBox class
1760 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1761 --enable-choice use wxChoice class
1762 --enable-choicebook use wxChoicebook class
1763 --enable-collpane use wxCollapsiblePane class
1764 --enable-colourpicker use wxColourPickerCtrl class
1765 --enable-combobox use wxComboBox class
1766 --enable-comboctrl use wxComboCtrl class
1767 --enable-datepick use wxDatePickerCtrl class
1768 --enable-dirpicker use wxDirPickerCtrl class
1769 --enable-display use wxDisplay class
1770 --enable-detect_sm use code to detect X11 session manager
1771 --enable-editablebox use wxEditableListBox class
1772 --enable-filepicker use wxFilePickerCtrl class
1773 --enable-filectrl use wxFileCtrl class
1774 --enable-fontpicker use wxFontPickerCtrl class
1775 --enable-gauge use wxGauge class
1776 --enable-grid use wxGrid class
1777 --enable-dataviewctrl use wxDataViewCtrl class
1778 --enable-hyperlink use wxHyperlinkCtrl class
1779 --enable-imaglist use wxImageList class
1780 --enable-listbook use wxListbook class
1781 --enable-listbox use wxListBox class
1782 --enable-listctrl use wxListCtrl class
1783 --enable-notebook use wxNotebook class
1784 --enable-notifmsg use wxNotificationMessage class
1785 --enable-odcombobox use wxOwnerDrawnComboBox class
1786 --enable-radiobox use wxRadioBox class
1787 --enable-radiobtn use wxRadioButton class
1788 --enable-sash use wxSashWindow class
1789 --enable-scrollbar use wxScrollBar class and scrollable windows
1790 --enable-searchctrl use wxSearchCtrl class
1791 --enable-slider use wxSlider class
1792 --enable-spinbtn use wxSpinButton class
1793 --enable-spinctrl use wxSpinCtrl class
1794 --enable-splitter use wxSplitterWindow class
1795 --enable-statbmp use wxStaticBitmap class
1796 --enable-statbox use wxStaticBox class
1797 --enable-statline use wxStaticLine class
1798 --enable-stattext use wxStaticText class
1799 --enable-statusbar use wxStatusBar class
1800 --enable-tabdialog use wxTabControl class
1801 --enable-taskbaricon use wxTaskBarIcon class
1802 --enable-textctrl use wxTextCtrl class
1803 --enable-togglebtn use wxToggleButton class
1804 --enable-toolbar use wxToolBar class
1805 --enable-tbarnative use native wxToolBar class
1806 --enable-treebook use wxTreebook class
1807 --enable-toolbook use wxToolbook class
1808 --enable-treectrl use wxTreeCtrl class
1809 --enable-tipwindow use wxTipWindow class
1810 --enable-popupwin use wxPopUpWindow class
1811 --enable-commondlg use all common dialogs
1812 --enable-aboutdlg use wxAboutBox
1813 --enable-choicedlg use wxChoiceDialog
1814 --enable-coldlg use wxColourDialog
1815 --enable-filedlg use wxFileDialog
1816 --enable-finddlg use wxFindReplaceDialog
1817 --enable-fontdlg use wxFontDialog
1818 --enable-dirdlg use wxDirDialog
1819 --enable-msgdlg use wxMessageDialog
1820 --enable-numberdlg use wxNumberEntryDialog
1821 --enable-splash use wxSplashScreen
1822 --enable-textdlg use wxTextDialog
1823 --enable-tipdlg use startup tips
1824 --enable-progressdlg use wxProgressDialog
1825 --enable-wizarddlg use wxWizard
1826 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1827 --enable-miniframe use wxMiniFrame class
1828 --enable-tooltips use wxToolTip class
1829 --enable-splines use spline drawing code
1830 --enable-mousewheel use mousewheel
1831 --enable-validators use wxValidator and derived classes
1832 --enable-busyinfo use wxBusyInfo
1833 --enable-joystick use wxJoystick
1834 --enable-metafiles use wxMetaFile
(Win32 only
)
1835 --enable-dragimage use wxDragImage
1836 --enable-accessibility enable accessibility support
1837 --enable-palette use wxPalette class
1838 --enable-image use wxImage class
1839 --enable-gif use gif images
(GIF
file format
)
1840 --enable-pcx use pcx images
(PCX
file format
)
1841 --enable-tga use tga images
(TGA
file format
)
1842 --enable-iff use iff images
(IFF
file format
)
1843 --enable-pnm use pnm images
(PNM
file format
)
1844 --enable-xpm use xpm images
(XPM
file format
)
1845 --enable-icocur use Windows ICO and CUR formats
1846 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1847 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1848 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1849 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1850 --enable-wxdib use wxDIB class
(Win32 only
)
1851 --disable-largefile omit support
for large files
1852 --disable-gtktest do not try to compile and run a
test GTK
+ program
1853 --disable-gtktest Do not try to compile and run a
test GTK program
1854 --disable-sdltest Do not try to compile and run a
test SDL program
1855 --enable-omf use OMF object format
(OS
/2)
1856 --disable-dependency-tracking
1857 don
't use dependency tracking even if the compiler
1859 --disable-precomp-headers
1860 don't use precompiled headers even
if compiler can
1863 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1864 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1865 --without-subdirs don
't generate makefiles for samples/demos/...
1866 --with-flavour=NAME specify a name to identify this build
1867 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1868 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1869 --with-motif use Motif/Lesstif
1870 --with-mac use Mac OS X
1871 --with-cocoa use Cocoa
1872 --with-wine use Wine
1873 --with-msw use MS-Windows
1874 --with-pm use OS/2 Presentation Manager
1875 --with-mgl use SciTech MGL
1876 --with-directfb use DirectFB
1877 --with-microwin use MicroWindows
1879 --with-libpng use libpng (PNG image format)
1880 --with-libjpeg use libjpeg (JPEG file format)
1881 --with-libtiff use libtiff (TIFF file format)
1882 --with-libxpm use libxpm (XPM file format)
1883 --with-libmspack use libmspack (CHM help files loading)
1884 --without-gtkprint don't use GTK printing support
1885 --without-gnomeprint don
't use GNOME printing libraries
1886 --with-gnomevfs use GNOME VFS for associating MIME types
1887 --with-hildon use Hildon framework for Nokia 770
1888 --with-opengl use OpenGL (or Mesa)
1889 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1890 --with-sdl use SDL for audio on Unix
1891 --with-regex enable support for wxRegEx class
1892 --with-zlib use zlib for LZW compression
1893 --with-expat enable XML support using expat parser
1894 --with-macosx-sdk=PATH use an OS X SDK at PATH
1895 --with-macosx-version-min=VER build binaries which require at least this OS X version
1896 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1897 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1898 --with-x use the X Window System
1899 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1900 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1901 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1902 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1903 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1905 Some influential environment variables:
1906 CC C compiler command
1907 CFLAGS C compiler flags
1908 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1909 nonstandard directory <lib dir>
1910 LIBS libraries to pass to the linker, e.g. -l<library>
1911 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1912 you have headers in a nonstandard directory <include dir>
1914 CXX C++ compiler command
1915 CXXFLAGS C++ compiler flags
1916 PKG_CONFIG path to pkg-config utility
1918 C compiler flags for DIRECTFB, overriding pkg-config
1920 linker flags for DIRECTFB, overriding pkg-config
1921 XMKMF Path to xmkmf, Makefile generator for X Window System
1923 C compiler flags for PANGOX, overriding pkg-config
1924 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1926 C compiler flags for PANGOFT2, overriding pkg-config
1928 linker flags for PANGOFT2, overriding pkg-config
1930 C compiler flags for PANGOXFT, overriding pkg-config
1932 linker flags for PANGOXFT, overriding pkg-config
1934 C compiler flags for GTKPRINT, overriding pkg-config
1936 linker flags for GTKPRINT, overriding pkg-config
1937 LIBGNOMEPRINTUI_CFLAGS
1938 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1939 LIBGNOMEPRINTUI_LIBS
1940 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1942 C compiler flags for GNOMEVFS, overriding pkg-config
1944 linker flags for GNOMEVFS, overriding pkg-config
1946 C compiler flags for HILDON, overriding pkg-config
1947 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1949 C compiler flags for CAIRO, overriding pkg-config
1950 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1951 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1952 GST_LIBS linker flags for GST, overriding pkg-config
1954 Use these variables to override the choices made by `configure' or to
help
1955 it to
find libraries and programs with nonstandard names
/locations.
1957 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1962 if test "$ac_init_help" = "recursive"; then
1963 # If there are subdirs, report their specific --help.
1964 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1965 test -d "$ac_dir" || continue
1969 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1971 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1972 # A ".." for each directory in $ac_dir_suffix.
1973 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1974 case $ac_top_builddir_sub in
1975 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1976 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1979 ac_abs_top_builddir
=$ac_pwd
1980 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1981 # for backward compatibility:
1982 ac_top_builddir
=$ac_top_build_prefix
1985 .
) # We are building in place.
1987 ac_top_srcdir
=$ac_top_builddir_sub
1988 ac_abs_top_srcdir
=$ac_pwd ;;
1989 [\\/]* | ?
:[\\/]* ) # Absolute name.
1990 ac_srcdir
=$srcdir$ac_dir_suffix;
1991 ac_top_srcdir
=$srcdir
1992 ac_abs_top_srcdir
=$srcdir ;;
1994 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1995 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1996 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1998 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2000 cd "$ac_dir" || { ac_status
=$?
; continue; }
2001 # Check for guested configure.
2002 if test -f "$ac_srcdir/configure.gnu"; then
2004 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2005 elif test -f "$ac_srcdir/configure"; then
2007 $SHELL "$ac_srcdir/configure" --help=recursive
2009 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2011 cd "$ac_pwd" || { ac_status
=$?
; break; }
2015 test -n "$ac_init_help" && exit $ac_status
2016 if $ac_init_version; then
2018 wxWidgets configure
2.9.0
2019 generated by GNU Autoconf
2.61
2021 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2022 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2023 This configure
script is free software
; the Free Software Foundation
2024 gives unlimited permission to copy
, distribute and modify it.
2028 cat >config.log
<<_ACEOF
2029 This file contains any messages produced by compilers while
2030 running configure, to aid debugging if configure makes a mistake.
2032 It was created by wxWidgets $as_me 2.9.0, which was
2033 generated by GNU Autoconf 2.61. Invocation command line was
2045 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2046 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2047 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2048 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2049 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2051 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2052 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2054 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2055 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2056 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2057 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2058 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2059 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2060 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2068 test -z "$as_dir" && as_dir
=.
2069 echo "PATH: $as_dir"
2085 # Keep a trace of the command line.
2086 # Strip out --no-create and --no-recursion so they do not pile up.
2087 # Strip out --silent because we don't want to record it for future runs.
2088 # Also quote any args containing shell meta-characters.
2089 # Make two passes to allow for proper duplicate-argument suppression.
2093 ac_must_keep_next
=false
2099 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2100 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2101 | -silent | --silent | --silen | --sile | --sil)
2104 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2107 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2109 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2110 if test $ac_must_keep_next = true
; then
2111 ac_must_keep_next
=false
# Got value, back to normal.
2114 *=* | --config-cache | -C | -disable-* | --disable-* \
2115 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2116 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2117 | -with-* | --with-* | -without-* | --without-* | --x)
2118 case "$ac_configure_args0 " in
2119 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2122 -* ) ac_must_keep_next
=true
;;
2125 ac_configure_args
="$ac_configure_args '$ac_arg'"
2130 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2131 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2133 # When interrupted or exit'd, cleanup temporary files, and complete
2134 # config.log. We remove comments because anyway the quotes in there
2135 # would cause problems or look ugly.
2136 # WARNING: Use '\'' to represent an apostrophe within the trap.
2137 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2138 trap 'exit_status=$?
2139 # Save into config.log some information that might help in debugging.
2144 ## ---------------- ##
2145 ## Cache variables. ##
2146 ## ---------------- ##
2149 # The following way of writing the cache mishandles newlines in values,
2151 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2152 eval ac_val=\$$ac_var
2156 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2157 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2160 _ | IFS | as_nl) ;; #(
2161 *) $as_unset $ac_var ;;
2166 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2167 *${as_nl}ac_space=\ *)
2169 "s/'\''/'\''\\\\'\'''\''/g;
2170 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2173 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2181 ## ----------------- ##
2182 ## Output variables. ##
2183 ## ----------------- ##
2186 for ac_var in $ac_subst_vars
2188 eval ac_val=\$$ac_var
2190 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2192 echo "$ac_var='\''$ac_val'\''"
2196 if test -n "$ac_subst_files"; then
2198 ## ------------------- ##
2199 ## File substitutions. ##
2200 ## ------------------- ##
2203 for ac_var
in $ac_subst_files
2205 eval ac_val
=\$
$ac_var
2207 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2209 echo "$ac_var='\''$ac_val'\''"
2214 if test -s confdefs.h; then
2224 test "$ac_signal" != 0 &&
2225 echo "$as_me: caught signal $ac_signal"
2226 echo "$as_me: exit $exit_status"
2228 rm -f core *.core core.conftest.* &&
2229 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2232 for ac_signal
in 1 2 13 15; do
2233 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2237 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2238 rm -f -r conftest
* confdefs.h
2240 # Predefined preprocessor variables.
2242 cat >>confdefs.h
<<_ACEOF
2243 #define PACKAGE_NAME "$PACKAGE_NAME"
2247 cat >>confdefs.h
<<_ACEOF
2248 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2252 cat >>confdefs.h
<<_ACEOF
2253 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2257 cat >>confdefs.h
<<_ACEOF
2258 #define PACKAGE_STRING "$PACKAGE_STRING"
2262 cat >>confdefs.h
<<_ACEOF
2263 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2267 # Let the site file select an alternate cache file if it wants to.
2268 # Prefer explicitly selected file to automatically selected ones.
2269 if test -n "$CONFIG_SITE"; then
2270 set x
"$CONFIG_SITE"
2271 elif test "x$prefix" != xNONE
; then
2272 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2274 set x
"$ac_default_prefix/share/config.site" \
2275 "$ac_default_prefix/etc/config.site"
2280 if test -r "$ac_site_file"; then
2281 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2282 echo "$as_me: loading site script $ac_site_file" >&6;}
2283 sed 's/^/| /' "$ac_site_file" >&5
2288 if test -r "$cache_file"; then
2289 # Some versions of bash will fail to source /dev/null (special
2290 # files actually), so we avoid doing that.
2291 if test -f "$cache_file"; then
2292 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2293 echo "$as_me: loading cache $cache_file" >&6;}
2295 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2296 *) .
"./$cache_file";;
2300 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2301 echo "$as_me: creating cache $cache_file" >&6;}
2305 # Check that the precious variables saved in the cache have kept the same
2307 ac_cache_corrupted
=false
2308 for ac_var
in $ac_precious_vars; do
2309 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2310 eval ac_new_set
=\
$ac_env_${ac_var}_set
2311 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2312 eval ac_new_val
=\
$ac_env_${ac_var}_value
2313 case $ac_old_set,$ac_new_set in
2315 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2316 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2317 ac_cache_corrupted
=: ;;
2319 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2320 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2321 ac_cache_corrupted
=: ;;
2324 if test "x$ac_old_val" != "x$ac_new_val"; then
2325 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2326 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2327 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2328 echo "$as_me: former value: $ac_old_val" >&2;}
2329 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2330 echo "$as_me: current value: $ac_new_val" >&2;}
2331 ac_cache_corrupted
=:
2334 # Pass precious variables to config.status.
2335 if test "$ac_new_set" = set; then
2337 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2338 *) ac_arg
=$ac_var=$ac_new_val ;;
2340 case " $ac_configure_args " in
2341 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2342 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2346 if $ac_cache_corrupted; then
2347 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2348 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2349 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2350 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2351 { (exit 1); exit 1; }; }
2379 ac_cpp
='$CPP $CPPFLAGS'
2380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2389 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2390 if test -f "$ac_dir/install-sh"; then
2392 ac_install_sh
="$ac_aux_dir/install-sh -c"
2394 elif test -f "$ac_dir/install.sh"; then
2396 ac_install_sh
="$ac_aux_dir/install.sh -c"
2398 elif test -f "$ac_dir/shtool"; then
2400 ac_install_sh
="$ac_aux_dir/shtool install -c"
2404 if test -z "$ac_aux_dir"; then
2405 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2406 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2407 { (exit 1); exit 1; }; }
2410 # These three variables are undocumented and unsupported,
2411 # and are intended to be withdrawn in a future Autoconf release.
2412 # They can cause serious problems if a builder's source tree is in a directory
2413 # whose full name contains unusual characters.
2414 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2415 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2416 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2419 # Make sure we can run config.sub.
2420 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2421 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2422 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2423 { (exit 1); exit 1; }; }
2425 { echo "$as_me:$LINENO: checking build system type" >&5
2426 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2427 if test "${ac_cv_build+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2430 ac_build_alias
=$build_alias
2431 test "x$ac_build_alias" = x
&&
2432 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2433 test "x$ac_build_alias" = x
&&
2434 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2435 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2436 { (exit 1); exit 1; }; }
2437 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2438 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2439 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2440 { (exit 1); exit 1; }; }
2443 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2444 echo "${ECHO_T}$ac_cv_build" >&6; }
2445 case $ac_cv_build in
2447 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2448 echo "$as_me: error: invalid value of canonical build" >&2;}
2449 { (exit 1); exit 1; }; };;
2452 ac_save_IFS
=$IFS; IFS
='-'
2458 # Remember, the first character of IFS is used to create $*,
2459 # except with old shells:
2462 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2465 { echo "$as_me:$LINENO: checking host system type" >&5
2466 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2467 if test "${ac_cv_host+set}" = set; then
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
2470 if test "x$host_alias" = x
; then
2471 ac_cv_host
=$ac_cv_build
2473 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2474 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2475 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2476 { (exit 1); exit 1; }; }
2480 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2481 echo "${ECHO_T}$ac_cv_host" >&6; }
2484 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2485 echo "$as_me: error: invalid value of canonical host" >&2;}
2486 { (exit 1); exit 1; }; };;
2489 ac_save_IFS
=$IFS; IFS
='-'
2495 # Remember, the first character of IFS is used to create $*,
2496 # except with old shells:
2499 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2502 { echo "$as_me:$LINENO: checking target system type" >&5
2503 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2504 if test "${ac_cv_target+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 if test "x$target_alias" = x
; then
2508 ac_cv_target
=$ac_cv_host
2510 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2511 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2512 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2513 { (exit 1); exit 1; }; }
2517 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2518 echo "${ECHO_T}$ac_cv_target" >&6; }
2519 case $ac_cv_target in
2521 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2522 echo "$as_me: error: invalid value of canonical target" >&2;}
2523 { (exit 1); exit 1; }; };;
2525 target
=$ac_cv_target
2526 ac_save_IFS
=$IFS; IFS
='-'
2532 # Remember, the first character of IFS is used to create $*,
2533 # except with old shells:
2536 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2539 # The aliases save the names the user supplied, while $host etc.
2540 # will get canonicalized.
2541 test -n "$target_alias" &&
2542 test "$program_prefix$program_suffix$program_transform_name" = \
2544 program_prefix
=${target_alias}-
2548 wx_major_version_number
=2
2549 wx_minor_version_number
=9
2551 wx_subrelease_number
=0
2553 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2554 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2555 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2557 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2560 wx_top_builddir
="`pwd`"
2573 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2579 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2585 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2587 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2589 DEFAULT_wxUSE_COCOA
=0
2593 DEFAULT_wxUSE_MICROWIN
=0
2594 DEFAULT_wxUSE_MOTIF
=0
2600 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2601 DEFAULT_DEFAULT_wxUSE_GTK
=0
2602 DEFAULT_DEFAULT_wxUSE_MAC
=0
2603 DEFAULT_DEFAULT_wxUSE_MGL
=0
2604 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2605 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2606 DEFAULT_DEFAULT_wxUSE_MSW
=0
2607 DEFAULT_DEFAULT_wxUSE_PM
=0
2608 DEFAULT_DEFAULT_wxUSE_X11
=0
2609 DEFAULT_DEFAULT_wxUSE_DFB
=0
2614 SAMPLES_RPATH_POSTLINK
=
2616 DEFAULT_STD_FLAG
=yes
2621 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2622 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2624 cat >>confdefs.h
<<\_ACEOF
2629 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2633 cat >>confdefs.h
<<\_ACEOF
2638 if test "x$TMP" = "xalpha"; then
2640 cat >>confdefs.h
<<\_ACEOF
2645 DEFAULT_DEFAULT_wxUSE_GTK
=1
2647 *-*-gnu* | *-*-k*bsd
*-gnu )
2650 if test "x$TMP" = "xalpha"; then
2652 cat >>confdefs.h
<<\_ACEOF
2657 DEFAULT_DEFAULT_wxUSE_GTK
=1
2659 *-*-irix5* | *-*-irix6* )
2662 cat >>confdefs.h
<<\_ACEOF
2666 cat >>confdefs.h
<<\_ACEOF
2670 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2676 cat >>confdefs.h
<<\_ACEOF
2680 cat >>confdefs.h
<<\_ACEOF
2681 #define __SOLARIS__ 1
2684 cat >>confdefs.h
<<\_ACEOF
2688 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2689 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2695 cat >>confdefs.h
<<\_ACEOF
2699 cat >>confdefs.h
<<\_ACEOF
2703 cat >>confdefs.h
<<\_ACEOF
2707 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2712 cat >>confdefs.h
<<\_ACEOF
2713 #define __FREEBSD__ 1
2716 cat >>confdefs.h
<<\_ACEOF
2720 DEFAULT_DEFAULT_wxUSE_GTK
=1
2722 *-*-openbsd*|*-*-mirbsd*)
2725 cat >>confdefs.h
<<\_ACEOF
2726 #define __OPENBSD__ 1
2729 cat >>confdefs.h
<<\_ACEOF
2733 DEFAULT_DEFAULT_wxUSE_GTK
=1
2738 cat >>confdefs.h
<<\_ACEOF
2739 #define __NETBSD__ 1
2742 cat >>confdefs.h
<<\_ACEOF
2746 DEFAULT_DEFAULT_wxUSE_GTK
=1
2747 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2749 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2754 cat >>confdefs.h
<<\_ACEOF
2758 cat >>confdefs.h
<<\_ACEOF
2762 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2763 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2768 cat >>confdefs.h
<<\_ACEOF
2772 cat >>confdefs.h
<<\_ACEOF
2776 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2781 cat >>confdefs.h
<<\_ACEOF
2785 cat >>confdefs.h
<<\_ACEOF
2789 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2796 cat >>confdefs.h
<<\_ACEOF
2800 cat >>confdefs.h
<<\_ACEOF
2804 cat >>confdefs.h
<<\_ACEOF
2808 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2815 cat >>confdefs.h
<<\_ACEOF
2816 #define __UNIXWARE__ 1
2821 *-*-cygwin* | *-*-mingw32* )
2824 DEFAULT_DEFAULT_wxUSE_MSW
=1
2830 cat >>confdefs.h
<<\_ACEOF
2835 DEFAULT_DEFAULT_wxUSE_MGL
=1
2838 *-pc-os2_emx | *-pc-os2-emx )
2839 cat >>confdefs.h
<<\_ACEOF
2844 cat >>confdefs.h
<<\_ACEOF
2849 DEFAULT_DEFAULT_wxUSE_PM
=1
2851 LDFLAGS
="$LDFLAGS -Zcrtdll"
2852 ac_executable_extensions
=".exe"
2853 export ac_executable_extensions
2857 for ac_dir
in $PATH; do
2859 if test -z "$ac_TEMP_PATH"; then
2860 ac_TEMP_PATH
="$ac_dir"
2862 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2865 export PATH
="$ac_TEMP_PATH"
2874 cat >>confdefs.h
<<\_ACEOF
2878 cat >>confdefs.h
<<\_ACEOF
2879 #define __DARWIN__ 1
2882 cat >>confdefs.h
<<\_ACEOF
2883 #define TARGET_CARBON 1
2886 DEFAULT_DEFAULT_wxUSE_MAC
=1
2889 powerpc
-apple-macos* )
2891 ac_cv_c_bigendian
=yes
2893 DEFAULT_DEFAULT_wxUSE_MAC
=1
2899 cat >>confdefs.h
<<\_ACEOF
2906 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2907 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2908 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2909 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2911 DEFAULT_DEFAULT_wxUSE_X11
=1
2912 DEFAULT_wxUSE_SHARED
=no
2917 DEFAULT_wxUSE_ALL_FEATURES
=yes
2919 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2920 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2922 DEFAULT_wxUSE_DMALLOC
=no
2923 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2924 DEFAULT_wxUSE_LIBHILDON
=no
2925 DEFAULT_wxUSE_LIBMSPACK
=no
2926 DEFAULT_wxUSE_LIBSDL
=no
2927 DEFAULT_wxUSE_OPENGL
=no
2929 DEFAULT_wxUSE_ACCESSIBILITY
=no
2930 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2931 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2932 DEFAULT_wxUSE_IPV6
=no
2933 DEFAULT_wxUSE_MEDIACTRL
=no
2934 DEFAULT_wxUSE_TAB_DIALOG
=no
2935 DEFAULT_wxUSE_GSTREAMER8
=no
2937 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2938 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2940 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2942 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2944 DEFAULT_wxUSE_GTK2
=yes
2946 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2952 enablestring
=disable
2954 if test -z "$defaultval"; then
2955 if test x
"$enablestring" = xdisable
; then
2962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2963 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2964 # Check whether --enable-gui was given.
2965 if test "${enable_gui+set}" = set; then
2966 enableval
=$enable_gui;
2967 if test "$enableval" = yes; then
2968 wx_cv_use_gui
='wxUSE_GUI=yes'
2970 wx_cv_use_gui
='wxUSE_GUI=no'
2975 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2980 eval "$wx_cv_use_gui"
2982 if test x"$enablestring" = xdisable; then
2983 if test $wxUSE_GUI = yes; then
2992 { echo "$as_me:$LINENO: result: $result" >&5
2993 echo "${ECHO_T}$result" >&6; }
2998 if test -z "$defaultval"; then
2999 if test x"$enablestring" = xdisable; then
3006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3007 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3008 # Check whether --enable-monolithic was given.
3009 if test "${enable_monolithic+set}" = set; then
3010 enableval=$enable_monolithic;
3011 if test "$enableval" = yes; then
3012 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3014 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3019 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3024 eval "$wx_cv_use_monolithic"
3026 if test x"$enablestring" = xdisable; then
3027 if test $wxUSE_MONOLITHIC = yes; then
3033 result=$wxUSE_MONOLITHIC
3036 { echo "$as_me:$LINENO: result
: $result" >&5
3037 echo "${ECHO_T}$result" >&6; }
3042 if test -z "$defaultval"; then
3043 if test x"$enablestring" = xdisable; then
3050 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3051 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3052 # Check whether --enable-plugins was given.
3053 if test "${enable_plugins+set}" = set; then
3054 enableval=$enable_plugins;
3055 if test "$enableval" = yes; then
3056 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3058 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3063 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3068 eval "$wx_cv_use_plugins"
3070 if test x
"$enablestring" = xdisable
; then
3071 if test $wxUSE_PLUGINS = yes; then
3077 result
=$wxUSE_PLUGINS
3080 { echo "$as_me:$LINENO: result: $result" >&5
3081 echo "${ECHO_T}$result" >&6; }
3085 defaultval
=$wxUSE_ALL_FEATURES
3086 if test -z "$defaultval"; then
3087 if test x
"$withstring" = xwithout
; then
3093 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3094 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3096 # Check whether --with-subdirs was given.
3097 if test "${with_subdirs+set}" = set; then
3098 withval
=$with_subdirs;
3099 if test "$withval" = yes; then
3100 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3102 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3107 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3112 eval "$wx_cv_use_subdirs"
3114 if test x"$withstring" = xwithout; then
3115 if test $wxWITH_SUBDIRS = yes; then
3121 result=$wxWITH_SUBDIRS
3124 { echo "$as_me:$LINENO: result: $result" >&5
3125 echo "${ECHO_T}$result" >&6; }
3128 # Check whether --with-flavour was given.
3129 if test "${with_flavour+set}" = set; then
3130 withval=$with_flavour; WX_FLAVOUR="$withval"
3136 if test -z "$defaultval"; then
3137 if test x"$enablestring" = xdisable; then
3144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3145 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3146 # Check whether --enable-official_build was given.
3147 if test "${enable_official_build+set}" = set; then
3148 enableval=$enable_official_build;
3149 if test "$enableval" = yes; then
3150 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3152 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3157 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3162 eval "$wx_cv_use_official_build"
3164 if test x"$enablestring" = xdisable; then
3165 if test $wxUSE_OFFICIAL_BUILD = yes; then
3171 result=$wxUSE_OFFICIAL_BUILD
3174 { echo "$as_me:$LINENO: result
: $result" >&5
3175 echo "${ECHO_T}$result" >&6; }
3177 # Check whether --enable-vendor was given.
3178 if test "${enable_vendor+set}" = set; then
3179 enableval=$enable_vendor; VENDOR="$enableval"
3182 if test "x
$VENDOR" = "x
"; then
3187 enablestring=disable
3189 if test -z "$defaultval"; then
3190 if test x"$enablestring" = xdisable; then
3197 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3198 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3199 # Check whether --enable-all-features was given.
3200 if test "${enable_all_features+set}" = set; then
3201 enableval=$enable_all_features;
3202 if test "$enableval" = yes; then
3203 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3205 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3210 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3215 eval "$wx_cv_use_all_features"
3217 if test x
"$enablestring" = xdisable
; then
3218 if test $wxUSE_ALL_FEATURES = yes; then
3224 result
=$wxUSE_ALL_FEATURES
3227 { echo "$as_me:$LINENO: result: $result" >&5
3228 echo "${ECHO_T}$result" >&6; }
3232 if test "$wxUSE_GUI" = "yes"; then
3237 if test -z "$defaultval"; then
3238 if test x
"$enablestring" = xdisable
; then
3245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3246 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3247 # Check whether --enable-universal was given.
3248 if test "${enable_universal+set}" = set; then
3249 enableval
=$enable_universal;
3250 if test "$enableval" = yes; then
3251 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3253 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3258 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3263 eval "$wx_cv_use_universal"
3265 if test x"$enablestring" = xdisable; then
3266 if test $wxUSE_UNIVERSAL = yes; then
3272 result=$wxUSE_UNIVERSAL
3275 { echo "$as_me:$LINENO: result: $result" >&5
3276 echo "${ECHO_T}$result" >&6; }
3278 if test "$wxUSE_UNIVERSAL" = "yes"; then
3280 # Check whether --with-themes was given.
3281 if test "${with_themes+set}" = set; then
3282 withval=$with_themes; wxUNIV_THEMES="$withval"
3288 # Check whether --with-gtk was given.
3289 if test "${with_gtk+set}" = set; then
3290 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3294 # Check whether --with-motif was given.
3295 if test "${with_motif+set}" = set; then
3296 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3300 # Check whether --with-mac was given.
3301 if test "${with_mac+set}" = set; then
3302 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3306 # Check whether --with-cocoa was given.
3307 if test "${with_cocoa+set}" = set; then
3308 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3312 # Check whether --with-wine was given.
3313 if test "${with_wine+set}" = set; then
3314 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3318 # Check whether --with-msw was given.
3319 if test "${with_msw+set}" = set; then
3320 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3324 # Check whether --with-pm was given.
3325 if test "${with_pm+set}" = set; then
3326 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3330 # Check whether --with-mgl was given.
3331 if test "${with_mgl+set}" = set; then
3332 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3336 # Check whether --with-directfb was given.
3337 if test "${with_directfb+set}" = set; then
3338 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3342 # Check whether --with-microwin was given.
3343 if test "${with_microwin+set}" = set; then
3344 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3348 # Check whether --with-x11 was given.
3349 if test "${with_x11+set}" = set; then
3350 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3356 if test -z "$defaultval"; then
3357 if test x"$enablestring" = xdisable; then
3364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3365 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3366 # Check whether --enable-nanox was given.
3367 if test "${enable_nanox+set}" = set; then
3368 enableval=$enable_nanox;
3369 if test "$enableval" = yes; then
3370 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3372 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3377 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3382 eval "$wx_cv_use_nanox"
3384 if test x"$enablestring" = xdisable; then
3385 if test $wxUSE_NANOX = yes; then
3394 { echo "$as_me:$LINENO: result
: $result" >&5
3395 echo "${ECHO_T}$result" >&6; }
3398 # Check whether --enable-gtk2 was given.
3399 if test "${enable_gtk2+set}" = set; then
3400 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3406 if test -z "$defaultval"; then
3407 if test x"$enablestring" = xdisable; then
3414 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3415 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3416 # Check whether --enable-gpe was given.
3417 if test "${enable_gpe+set}" = set; then
3418 enableval=$enable_gpe;
3419 if test "$enableval" = yes; then
3420 wx_cv_use_gpe='wxUSE_GPE=yes'
3422 wx_cv_use_gpe='wxUSE_GPE=no'
3427 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3432 eval "$wx_cv_use_gpe"
3434 if test x
"$enablestring" = xdisable
; then
3435 if test $wxUSE_GPE = yes; then
3444 { echo "$as_me:$LINENO: result: $result" >&5
3445 echo "${ECHO_T}$result" >&6; }
3450 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3451 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3453 # Check whether --with-libpng was given.
3454 if test "${with_libpng+set}" = set; then
3455 withval
=$with_libpng;
3456 if test "$withval" = yes; then
3457 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3458 elif test "$withval" = no
; then
3459 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3460 elif test "$withval" = sys
; then
3461 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3462 elif test "$withval" = builtin; then
3463 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3465 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3466 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3467 { (exit 1); exit 1; }; }
3472 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3477 eval "$wx_cv_use_libpng"
3479 if test "$wxUSE_LIBPNG" = yes; then
3480 { echo "$as_me:$LINENO: result: yes" >&5
3481 echo "${ECHO_T}yes" >&6; }
3482 elif test "$wxUSE_LIBPNG" = no; then
3483 { echo "$as_me:$LINENO: result: no" >&5
3484 echo "${ECHO_T}no" >&6; }
3485 elif test "$wxUSE_LIBPNG" = sys; then
3486 { echo "$as_me:$LINENO: result: system version" >&5
3487 echo "${ECHO_T}system version" >&6; }
3488 elif test "$wxUSE_LIBPNG" = builtin; then
3489 { echo "$as_me:$LINENO: result: builtin version" >&5
3490 echo "${ECHO_T}builtin version" >&6; }
3492 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3493 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3494 { (exit 1); exit 1; }; }
3498 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3499 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3501 # Check whether --with-libjpeg was given.
3502 if test "${with_libjpeg+set}" = set; then
3503 withval=$with_libjpeg;
3504 if test "$withval" = yes; then
3505 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3506 elif test "$withval" = no; then
3507 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3508 elif test "$withval" = sys; then
3509 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3510 elif test "$withval" = builtin; then
3511 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3513 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3514 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3515 { (exit 1); exit 1; }; }
3520 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3525 eval "$wx_cv_use_libjpeg"
3527 if test "$wxUSE_LIBJPEG" = yes; then
3528 { echo "$as_me:$LINENO: result
: yes" >&5
3529 echo "${ECHO_T}yes" >&6; }
3530 elif test "$wxUSE_LIBJPEG" = no; then
3531 { echo "$as_me:$LINENO: result
: no
" >&5
3532 echo "${ECHO_T}no
" >&6; }
3533 elif test "$wxUSE_LIBJPEG" = sys; then
3534 { echo "$as_me:$LINENO: result
: system version
" >&5
3535 echo "${ECHO_T}system version
" >&6; }
3536 elif test "$wxUSE_LIBJPEG" = builtin; then
3537 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3538 echo "${ECHO_T}builtin version
" >&6; }
3540 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3541 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3542 { (exit 1); exit 1; }; }
3546 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3547 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3549 # Check whether --with-libtiff was given.
3550 if test "${with_libtiff+set}" = set; then
3551 withval=$with_libtiff;
3552 if test "$withval" = yes; then
3553 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3554 elif test "$withval" = no; then
3555 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3556 elif test "$withval" = sys; then
3557 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3558 elif test "$withval" = builtin; then
3559 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3561 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3562 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3563 { (exit 1); exit 1; }; }
3568 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3573 eval "$wx_cv_use_libtiff"
3575 if test "$wxUSE_LIBTIFF" = yes; then
3576 { echo "$as_me:$LINENO: result: yes" >&5
3577 echo "${ECHO_T}yes" >&6; }
3578 elif test "$wxUSE_LIBTIFF" = no
; then
3579 { echo "$as_me:$LINENO: result: no" >&5
3580 echo "${ECHO_T}no" >&6; }
3581 elif test "$wxUSE_LIBTIFF" = sys
; then
3582 { echo "$as_me:$LINENO: result: system version" >&5
3583 echo "${ECHO_T}system version" >&6; }
3584 elif test "$wxUSE_LIBTIFF" = builtin; then
3585 { echo "$as_me:$LINENO: result: builtin version" >&5
3586 echo "${ECHO_T}builtin version" >&6; }
3588 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3589 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3590 { (exit 1); exit 1; }; }
3594 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3595 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3597 # Check whether --with-libxpm was given.
3598 if test "${with_libxpm+set}" = set; then
3599 withval
=$with_libxpm;
3600 if test "$withval" = yes; then
3601 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3602 elif test "$withval" = no
; then
3603 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3604 elif test "$withval" = sys
; then
3605 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3606 elif test "$withval" = builtin; then
3607 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3609 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3610 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3611 { (exit 1); exit 1; }; }
3616 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3621 eval "$wx_cv_use_libxpm"
3623 if test "$wxUSE_LIBXPM" = yes; then
3624 { echo "$as_me:$LINENO: result: yes" >&5
3625 echo "${ECHO_T}yes" >&6; }
3626 elif test "$wxUSE_LIBXPM" = no; then
3627 { echo "$as_me:$LINENO: result: no" >&5
3628 echo "${ECHO_T}no" >&6; }
3629 elif test "$wxUSE_LIBXPM" = sys; then
3630 { echo "$as_me:$LINENO: result: system version" >&5
3631 echo "${ECHO_T}system version" >&6; }
3632 elif test "$wxUSE_LIBXPM" = builtin; then
3633 { echo "$as_me:$LINENO: result: builtin version" >&5
3634 echo "${ECHO_T}builtin version" >&6; }
3636 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3637 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3638 { (exit 1); exit 1; }; }
3643 defaultval=$wxUSE_ALL_FEATURES
3644 if test -z "$defaultval"; then
3645 if test x"$withstring" = xwithout; then
3651 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3652 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3654 # Check whether --with-libmspack was given.
3655 if test "${with_libmspack+set}" = set; then
3656 withval=$with_libmspack;
3657 if test "$withval" = yes; then
3658 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3660 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3665 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3670 eval "$wx_cv_use_libmspack"
3672 if test x"$withstring" = xwithout; then
3673 if test $wxUSE_LIBMSPACK = yes; then
3679 result=$wxUSE_LIBMSPACK
3682 { echo "$as_me:$LINENO: result
: $result" >&5
3683 echo "${ECHO_T}$result" >&6; }
3687 defaultval=$wxUSE_ALL_FEATURES
3688 if test -z "$defaultval"; then
3689 if test x"$withstring" = xwithout; then
3695 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gtkprint" >&5
3696 echo $ECHO_N "checking
for --${withstring:-with}-gtkprint...
$ECHO_C" >&6; }
3698 # Check whether --with-gtkprint was given.
3699 if test "${with_gtkprint+set}" = set; then
3700 withval=$with_gtkprint;
3701 if test "$withval" = yes; then
3702 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3704 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3709 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3714 eval "$wx_cv_use_gtkprint"
3716 if test x
"$withstring" = xwithout
; then
3717 if test $wxUSE_GTKPRINT = yes; then
3723 result
=$wxUSE_GTKPRINT
3726 { echo "$as_me:$LINENO: result: $result" >&5
3727 echo "${ECHO_T}$result" >&6; }
3731 defaultval
=$wxUSE_ALL_FEATURES
3732 if test -z "$defaultval"; then
3733 if test x
"$withstring" = xwithout
; then
3739 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3740 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3742 # Check whether --with-gnomeprint was given.
3743 if test "${with_gnomeprint+set}" = set; then
3744 withval
=$with_gnomeprint;
3745 if test "$withval" = yes; then
3746 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3748 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3753 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3758 eval "$wx_cv_use_gnomeprint"
3760 if test x"$withstring" = xwithout; then
3761 if test $wxUSE_LIBGNOMEPRINT = yes; then
3767 result=$wxUSE_LIBGNOMEPRINT
3770 { echo "$as_me:$LINENO: result: $result" >&5
3771 echo "${ECHO_T}$result" >&6; }
3775 defaultval=$wxUSE_ALL_FEATURES
3776 if test -z "$defaultval"; then
3777 if test x"$withstring" = xwithout; then
3783 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3784 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3786 # Check whether --with-gnomevfs was given.
3787 if test "${with_gnomevfs+set}" = set; then
3788 withval=$with_gnomevfs;
3789 if test "$withval" = yes; then
3790 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
3792 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
3797 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3802 eval "$wx_cv_use_gnomevfs"
3804 if test x"$withstring" = xwithout; then
3805 if test $wxUSE_LIBGNOMEVFS = yes; then
3811 result=$wxUSE_LIBGNOMEVFS
3814 { echo "$as_me:$LINENO: result
: $result" >&5
3815 echo "${ECHO_T}$result" >&6; }
3819 defaultval=$wxUSE_ALL_FEATURES
3820 if test -z "$defaultval"; then
3821 if test x"$withstring" = xwithout; then
3827 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-hildon" >&5
3828 echo $ECHO_N "checking
for --${withstring:-with}-hildon...
$ECHO_C" >&6; }
3830 # Check whether --with-hildon was given.
3831 if test "${with_hildon+set}" = set; then
3832 withval=$with_hildon;
3833 if test "$withval" = yes; then
3834 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3836 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3841 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3846 eval "$wx_cv_use_hildon"
3848 if test x
"$withstring" = xwithout
; then
3849 if test $wxUSE_LIBHILDON = yes; then
3855 result
=$wxUSE_LIBHILDON
3858 { echo "$as_me:$LINENO: result: $result" >&5
3859 echo "${ECHO_T}$result" >&6; }
3863 defaultval
=$wxUSE_ALL_FEATURES
3864 if test -z "$defaultval"; then
3865 if test x
"$withstring" = xwithout
; then
3871 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3872 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3874 # Check whether --with-opengl was given.
3875 if test "${with_opengl+set}" = set; then
3876 withval
=$with_opengl;
3877 if test "$withval" = yes; then
3878 wx_cv_use_opengl
='wxUSE_OPENGL=yes'
3880 wx_cv_use_opengl
='wxUSE_OPENGL=no'
3885 wx_cv_use_opengl
='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
3890 eval "$wx_cv_use_opengl"
3892 if test x"$withstring" = xwithout; then
3893 if test $wxUSE_OPENGL = yes; then
3899 result=$wxUSE_OPENGL
3902 { echo "$as_me:$LINENO: result: $result" >&5
3903 echo "${ECHO_T}$result" >&6; }
3910 defaultval=$wxUSE_ALL_FEATURES
3911 if test -z "$defaultval"; then
3912 if test x"$withstring" = xwithout; then
3918 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3919 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
3921 # Check whether --with-dmalloc was given.
3922 if test "${with_dmalloc+set}" = set; then
3923 withval=$with_dmalloc;
3924 if test "$withval" = yes; then
3925 wx_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
3927 wx_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
3932 wx_cv_use_dmalloc='wxUSE_DMALLOC
=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
3937 eval "$wx_cv_use_dmalloc"
3939 if test x"$withstring" = xwithout; then
3940 if test $wxUSE_DMALLOC = yes; then
3946 result=$wxUSE_DMALLOC
3949 { echo "$as_me:$LINENO: result
: $result" >&5
3950 echo "${ECHO_T}$result" >&6; }
3954 defaultval=$wxUSE_ALL_FEATURES
3955 if test -z "$defaultval"; then
3956 if test x"$withstring" = xwithout; then
3962 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-sdl" >&5
3963 echo $ECHO_N "checking
for --${withstring:-with}-sdl...
$ECHO_C" >&6; }
3965 # Check whether --with-sdl was given.
3966 if test "${with_sdl+set}" = set; then
3968 if test "$withval" = yes; then
3969 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
3971 wx_cv_use_sdl='wxUSE_LIBSDL=no'
3976 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
3981 eval "$wx_cv_use_sdl"
3983 if test x
"$withstring" = xwithout
; then
3984 if test $wxUSE_LIBSDL = yes; then
3990 result
=$wxUSE_LIBSDL
3993 { echo "$as_me:$LINENO: result: $result" >&5
3994 echo "${ECHO_T}$result" >&6; }
3997 { echo "$as_me:$LINENO: checking for --with-regex" >&5
3998 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4000 # Check whether --with-regex was given.
4001 if test "${with_regex+set}" = set; then
4002 withval
=$with_regex;
4003 if test "$withval" = yes; then
4004 wx_cv_use_regex
='wxUSE_REGEX=yes'
4005 elif test "$withval" = no
; then
4006 wx_cv_use_regex
='wxUSE_REGEX=no'
4007 elif test "$withval" = sys
; then
4008 wx_cv_use_regex
='wxUSE_REGEX=sys'
4009 elif test "$withval" = builtin; then
4010 wx_cv_use_regex
='wxUSE_REGEX=builtin'
4012 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4013 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4014 { (exit 1); exit 1; }; }
4019 wx_cv_use_regex
='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4024 eval "$wx_cv_use_regex"
4026 if test "$wxUSE_REGEX" = yes; then
4027 { echo "$as_me:$LINENO: result: yes" >&5
4028 echo "${ECHO_T}yes" >&6; }
4029 elif test "$wxUSE_REGEX" = no; then
4030 { echo "$as_me:$LINENO: result: no" >&5
4031 echo "${ECHO_T}no" >&6; }
4032 elif test "$wxUSE_REGEX" = sys; then
4033 { echo "$as_me:$LINENO: result: system version" >&5
4034 echo "${ECHO_T}system version" >&6; }
4035 elif test "$wxUSE_REGEX" = builtin; then
4036 { echo "$as_me:$LINENO: result: builtin version" >&5
4037 echo "${ECHO_T}builtin version" >&6; }
4039 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4040 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4041 { (exit 1); exit 1; }; }
4045 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4046 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4048 # Check whether --with-zlib was given.
4049 if test "${with_zlib+set}" = set; then
4051 if test "$withval" = yes; then
4052 wx_cv_use_zlib='wxUSE_ZLIB
=yes'
4053 elif test "$withval" = no; then
4054 wx_cv_use_zlib='wxUSE_ZLIB
=no
'
4055 elif test "$withval" = sys; then
4056 wx_cv_use_zlib='wxUSE_ZLIB
=sys
'
4057 elif test "$withval" = builtin; then
4058 wx_cv_use_zlib='wxUSE_ZLIB
=builtin'
4060 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4061 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4062 { (exit 1); exit 1; }; }
4067 wx_cv_use_zlib='wxUSE_ZLIB
=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4072 eval "$wx_cv_use_zlib"
4074 if test "$wxUSE_ZLIB" = yes; then
4075 { echo "$as_me:$LINENO: result
: yes" >&5
4076 echo "${ECHO_T}yes" >&6; }
4077 elif test "$wxUSE_ZLIB" = no; then
4078 { echo "$as_me:$LINENO: result
: no
" >&5
4079 echo "${ECHO_T}no
" >&6; }
4080 elif test "$wxUSE_ZLIB" = sys; then
4081 { echo "$as_me:$LINENO: result
: system version
" >&5
4082 echo "${ECHO_T}system version
" >&6; }
4083 elif test "$wxUSE_ZLIB" = builtin; then
4084 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4085 echo "${ECHO_T}builtin version
" >&6; }
4087 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4088 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4089 { (exit 1); exit 1; }; }
4093 { echo "$as_me:$LINENO: checking
for --with-expat" >&5
4094 echo $ECHO_N "checking
for --with-expat...
$ECHO_C" >&6; }
4096 # Check whether --with-expat was given.
4097 if test "${with_expat+set}" = set; then
4098 withval=$with_expat;
4099 if test "$withval" = yes; then
4100 wx_cv_use_expat='wxUSE_EXPAT=yes'
4101 elif test "$withval" = no; then
4102 wx_cv_use_expat='wxUSE_EXPAT=no'
4103 elif test "$withval" = sys; then
4104 wx_cv_use_expat='wxUSE_EXPAT=sys'
4105 elif test "$withval" = builtin; then
4106 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4108 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" >&5
4109 echo "$as_me: error
: Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" >&2;}
4110 { (exit 1); exit 1; }; }
4115 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4120 eval "$wx_cv_use_expat"
4122 if test "$wxUSE_EXPAT" = yes; then
4123 { echo "$as_me:$LINENO: result: yes" >&5
4124 echo "${ECHO_T}yes" >&6; }
4125 elif test "$wxUSE_EXPAT" = no
; then
4126 { echo "$as_me:$LINENO: result: no" >&5
4127 echo "${ECHO_T}no" >&6; }
4128 elif test "$wxUSE_EXPAT" = sys
; then
4129 { echo "$as_me:$LINENO: result: system version" >&5
4130 echo "${ECHO_T}system version" >&6; }
4131 elif test "$wxUSE_EXPAT" = builtin; then
4132 { echo "$as_me:$LINENO: result: builtin version" >&5
4133 echo "${ECHO_T}builtin version" >&6; }
4135 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4136 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4137 { (exit 1); exit 1; }; }
4141 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4142 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4144 # Check whether --with-macosx-sdk was given.
4145 if test "${with_macosx_sdk+set}" = set; then
4146 withval
=$with_macosx_sdk;
4147 wxUSE_MACOSX_SDK
=$withval
4148 wx_cv_use_macosx_sdk
="wxUSE_MACOSX_SDK=$withval"
4152 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4153 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4155 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4156 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4158 # Check whether --with-macosx-version-min was given.
4159 if test "${with_macosx_version_min+set}" = set; then
4160 withval
=$with_macosx_version_min;
4161 wxUSE_MACOSX_VERSION_MIN
=$withval
4162 wx_cv_use_macosx_version_min
="wxUSE_MACOSX_VERSION_MIN=$withval"
4166 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4167 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4171 enablestring
=disable
4173 if test -z "$defaultval"; then
4174 if test x
"$enablestring" = xdisable
; then
4181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4182 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4183 # Check whether --enable-shared was given.
4184 if test "${enable_shared+set}" = set; then
4185 enableval
=$enable_shared;
4186 if test "$enableval" = yes; then
4187 wx_cv_use_shared
='wxUSE_SHARED=yes'
4189 wx_cv_use_shared
='wxUSE_SHARED=no'
4194 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4199 eval "$wx_cv_use_shared"
4201 if test x"$enablestring" = xdisable; then
4202 if test $wxUSE_SHARED = yes; then
4208 result=$wxUSE_SHARED
4211 { echo "$as_me:$LINENO: result: $result" >&5
4212 echo "${ECHO_T}$result" >&6; }
4215 enablestring=disable
4217 if test -z "$defaultval"; then
4218 if test x"$enablestring" = xdisable; then
4225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4226 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4227 # Check whether --enable-optimise was given.
4228 if test "${enable_optimise+set}" = set; then
4229 enableval=$enable_optimise;
4230 if test "$enableval" = yes; then
4231 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4233 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4238 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4243 eval "$wx_cv_use_optimise"
4245 if test x"$enablestring" = xdisable; then
4246 if test $wxUSE_OPTIMISE = yes; then
4252 result=$wxUSE_OPTIMISE
4255 { echo "$as_me:$LINENO: result
: $result" >&5
4256 echo "${ECHO_T}$result" >&6; }
4261 if test -z "$defaultval"; then
4262 if test x"$enablestring" = xdisable; then
4269 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4270 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4271 # Check whether --enable-debug was given.
4272 if test "${enable_debug+set}" = set; then
4273 enableval=$enable_debug;
4274 if test "$enableval" = yes; then
4275 wx_cv_use_debug='wxUSE_DEBUG=yes'
4277 wx_cv_use_debug='wxUSE_DEBUG=no'
4282 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4287 eval "$wx_cv_use_debug"
4289 if test x
"$enablestring" = xdisable
; then
4290 if test $wxUSE_DEBUG = yes; then
4299 { echo "$as_me:$LINENO: result: $result" >&5
4300 echo "${ECHO_T}$result" >&6; }
4305 if test -z "$defaultval"; then
4306 if test x
"$enablestring" = xdisable
; then
4313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4314 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4315 # Check whether --enable-stl was given.
4316 if test "${enable_stl+set}" = set; then
4317 enableval
=$enable_stl;
4318 if test "$enableval" = yes; then
4319 wx_cv_use_stl
='wxUSE_STL=yes'
4321 wx_cv_use_stl
='wxUSE_STL=no'
4326 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4331 eval "$wx_cv_use_stl"
4333 if test x"$enablestring" = xdisable; then
4334 if test $wxUSE_STL = yes; then
4343 { echo "$as_me:$LINENO: result: $result" >&5
4344 echo "${ECHO_T}$result" >&6; }
4349 if test -z "$defaultval"; then
4350 if test x"$enablestring" = xdisable; then
4357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4358 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4359 # Check whether --enable-std_iostreams was given.
4360 if test "${enable_std_iostreams+set}" = set; then
4361 enableval=$enable_std_iostreams;
4362 if test "$enableval" = yes; then
4363 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4365 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4370 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4375 eval "$wx_cv_use_std_iostreams"
4377 if test x"$enablestring" = xdisable; then
4378 if test $wxUSE_STD_IOSTREAM = yes; then
4384 result=$wxUSE_STD_IOSTREAM
4387 { echo "$as_me:$LINENO: result
: $result" >&5
4388 echo "${ECHO_T}$result" >&6; }
4393 if test -z "$defaultval"; then
4394 if test x"$enablestring" = xdisable; then
4401 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4402 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4403 # Check whether --enable-std_string was given.
4404 if test "${enable_std_string+set}" = set; then
4405 enableval=$enable_std_string;
4406 if test "$enableval" = yes; then
4407 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4409 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4414 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4419 eval "$wx_cv_use_std_string"
4421 if test x
"$enablestring" = xdisable
; then
4422 if test $wxUSE_STD_STRING = yes; then
4428 result
=$wxUSE_STD_STRING
4431 { echo "$as_me:$LINENO: result: $result" >&5
4432 echo "${ECHO_T}$result" >&6; }
4435 enablestring
=disable
4437 if test -z "$defaultval"; then
4438 if test x
"$enablestring" = xdisable
; then
4445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4446 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4447 # Check whether --enable-unicode was given.
4448 if test "${enable_unicode+set}" = set; then
4449 enableval
=$enable_unicode;
4450 if test "$enableval" = yes; then
4451 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4453 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4458 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4463 eval "$wx_cv_use_unicode"
4465 if test x"$enablestring" = xdisable; then
4466 if test $wxUSE_UNICODE = yes; then
4472 result=$wxUSE_UNICODE
4475 { echo "$as_me:$LINENO: result: $result" >&5
4476 echo "${ECHO_T}$result" >&6; }
4481 if test -z "$defaultval"; then
4482 if test x"$enablestring" = xdisable; then
4489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4490 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4491 # Check whether --enable-mslu was given.
4492 if test "${enable_mslu+set}" = set; then
4493 enableval=$enable_mslu;
4494 if test "$enableval" = yes; then
4495 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4497 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4502 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4507 eval "$wx_cv_use_mslu"
4509 if test x"$enablestring" = xdisable; then
4510 if test $wxUSE_UNICODE_MSLU = yes; then
4516 result=$wxUSE_UNICODE_MSLU
4519 { echo "$as_me:$LINENO: result
: $result" >&5
4520 echo "${ECHO_T}$result" >&6; }
4524 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4525 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4526 # Check whether --enable-utf8 was given.
4527 if test "${enable_utf8+set}" = set; then
4528 enableval=$enable_utf8;
4529 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4533 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4538 eval "$wx_cv_use_utf8"
4540 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4541 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4546 if test -z "$defaultval"; then
4547 if test x"$enablestring" = xdisable; then
4554 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4555 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4556 # Check whether --enable-utf8only was given.
4557 if test "${enable_utf8only+set}" = set; then
4558 enableval=$enable_utf8only;
4559 if test "$enableval" = yes; then
4560 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4562 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4567 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4572 eval "$wx_cv_use_utf8only"
4574 if test x
"$enablestring" = xdisable
; then
4575 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4581 result
=$wxUSE_UNICODE_UTF8_LOCALE
4584 { echo "$as_me:$LINENO: result: $result" >&5
4585 echo "${ECHO_T}$result" >&6; }
4590 if test -z "$defaultval"; then
4591 if test x
"$enablestring" = xdisable
; then
4598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4599 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4600 # Check whether --enable-extended_rtti was given.
4601 if test "${enable_extended_rtti+set}" = set; then
4602 enableval
=$enable_extended_rtti;
4603 if test "$enableval" = yes; then
4604 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
4606 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
4611 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4616 eval "$wx_cv_use_extended_rtti"
4618 if test x"$enablestring" = xdisable; then
4619 if test $wxUSE_EXTENDED_RTTI = yes; then
4625 result=$wxUSE_EXTENDED_RTTI
4628 { echo "$as_me:$LINENO: result: $result" >&5
4629 echo "${ECHO_T}$result" >&6; }
4631 if test "$USE_OS2" = 1; then
4632 DEFAULT_wxUSE_OMF=no
4636 if test -z "$defaultval"; then
4637 if test x"$enablestring" = xdisable; then
4644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4645 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4646 # Check whether --enable-omf was given.
4647 if test "${enable_omf+set}" = set; then
4648 enableval=$enable_omf;
4649 if test "$enableval" = yes; then
4650 wx_cv_use_omf='wxUSE_OMF
=yes'
4652 wx_cv_use_omf='wxUSE_OMF
=no
'
4657 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4662 eval "$wx_cv_use_omf"
4664 if test x"$enablestring" = xdisable; then
4665 if test $wxUSE_OMF = yes; then
4674 { echo "$as_me:$LINENO: result
: $result" >&5
4675 echo "${ECHO_T}$result" >&6; }
4679 if test "$wxUSE_DEBUG" = "yes"; then
4680 DEFAULT_wxUSE_DEBUG_FLAG=yes
4681 DEFAULT_wxUSE_DEBUG_INFO=yes
4683 elif test "$wxUSE_DEBUG" = "no
"; then
4684 DEFAULT_wxUSE_DEBUG_FLAG=no
4685 DEFAULT_wxUSE_DEBUG_INFO=no
4692 if test -z "$defaultval"; then
4693 if test x"$enablestring" = xdisable; then
4700 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
4701 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
4702 # Check whether --enable-debug_flag was given.
4703 if test "${enable_debug_flag+set}" = set; then
4704 enableval=$enable_debug_flag;
4705 if test "$enableval" = yes; then
4706 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4708 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4713 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4718 eval "$wx_cv_use_debug_flag"
4720 if test x
"$enablestring" = xdisable
; then
4721 if test $wxUSE_DEBUG_FLAG = yes; then
4727 result
=$wxUSE_DEBUG_FLAG
4730 { echo "$as_me:$LINENO: result: $result" >&5
4731 echo "${ECHO_T}$result" >&6; }
4736 if test -z "$defaultval"; then
4737 if test x
"$enablestring" = xdisable
; then
4744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4746 # Check whether --enable-debug_info was given.
4747 if test "${enable_debug_info+set}" = set; then
4748 enableval
=$enable_debug_info;
4749 if test "$enableval" = yes; then
4750 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4752 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4757 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4762 eval "$wx_cv_use_debug_info"
4764 if test x"$enablestring" = xdisable; then
4765 if test $wxUSE_DEBUG_INFO = yes; then
4771 result=$wxUSE_DEBUG_INFO
4774 { echo "$as_me:$LINENO: result: $result" >&5
4775 echo "${ECHO_T}$result" >&6; }
4778 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4786 if test -z "$defaultval"; then
4787 if test x"$enablestring" = xdisable; then
4794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4795 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4796 # Check whether --enable-debug_gdb was given.
4797 if test "${enable_debug_gdb+set}" = set; then
4798 enableval=$enable_debug_gdb;
4799 if test "$enableval" = yes; then
4800 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
4802 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
4807 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4812 eval "$wx_cv_use_debug_gdb"
4814 if test x"$enablestring" = xdisable; then
4815 if test $wxUSE_DEBUG_GDB = yes; then
4821 result=$wxUSE_DEBUG_GDB
4824 { echo "$as_me:$LINENO: result
: $result" >&5
4825 echo "${ECHO_T}$result" >&6; }
4830 if test -z "$defaultval"; then
4831 if test x"$enablestring" = xdisable; then
4838 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_cntxt" >&5
4839 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_cntxt...
$ECHO_C" >&6; }
4840 # Check whether --enable-debug_cntxt was given.
4841 if test "${enable_debug_cntxt+set}" = set; then
4842 enableval=$enable_debug_cntxt;
4843 if test "$enableval" = yes; then
4844 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4846 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4851 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4856 eval "$wx_cv_use_debug_cntxt"
4858 if test x
"$enablestring" = xdisable
; then
4859 if test $wxUSE_DEBUG_CONTEXT = yes; then
4865 result
=$wxUSE_DEBUG_CONTEXT
4868 { echo "$as_me:$LINENO: result: $result" >&5
4869 echo "${ECHO_T}$result" >&6; }
4874 if test -z "$defaultval"; then
4875 if test x
"$enablestring" = xdisable
; then
4882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4883 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4884 # Check whether --enable-mem_tracing was given.
4885 if test "${enable_mem_tracing+set}" = set; then
4886 enableval
=$enable_mem_tracing;
4887 if test "$enableval" = yes; then
4888 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4890 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4895 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4900 eval "$wx_cv_use_mem_tracing"
4902 if test x"$enablestring" = xdisable; then
4903 if test $wxUSE_MEM_TRACING = yes; then
4909 result=$wxUSE_MEM_TRACING
4912 { echo "$as_me:$LINENO: result: $result" >&5
4913 echo "${ECHO_T}$result" >&6; }
4918 if test -z "$defaultval"; then
4919 if test x"$enablestring" = xdisable; then
4926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4927 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4928 # Check whether --enable-profile was given.
4929 if test "${enable_profile+set}" = set; then
4930 enableval=$enable_profile;
4931 if test "$enableval" = yes; then
4932 wx_cv_use_profile='wxUSE_PROFILE
=yes'
4934 wx_cv_use_profile='wxUSE_PROFILE
=no
'
4939 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
4944 eval "$wx_cv_use_profile"
4946 if test x"$enablestring" = xdisable; then
4947 if test $wxUSE_PROFILE = yes; then
4953 result=$wxUSE_PROFILE
4956 { echo "$as_me:$LINENO: result
: $result" >&5
4957 echo "${ECHO_T}$result" >&6; }
4962 if test -z "$defaultval"; then
4963 if test x"$enablestring" = xdisable; then
4970 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
4971 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
4972 # Check whether --enable-no_rtti was given.
4973 if test "${enable_no_rtti+set}" = set; then
4974 enableval=$enable_no_rtti;
4975 if test "$enableval" = yes; then
4976 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4978 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4983 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
4988 eval "$wx_cv_use_no_rtti"
4990 if test x
"$enablestring" = xdisable
; then
4991 if test $wxUSE_NO_RTTI = yes; then
4997 result
=$wxUSE_NO_RTTI
5000 { echo "$as_me:$LINENO: result: $result" >&5
5001 echo "${ECHO_T}$result" >&6; }
5006 if test -z "$defaultval"; then
5007 if test x
"$enablestring" = xdisable
; then
5014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5015 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5016 # Check whether --enable-no_exceptions was given.
5017 if test "${enable_no_exceptions+set}" = set; then
5018 enableval
=$enable_no_exceptions;
5019 if test "$enableval" = yes; then
5020 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5022 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5027 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5032 eval "$wx_cv_use_no_exceptions"
5034 if test x"$enablestring" = xdisable; then
5035 if test $wxUSE_NO_EXCEPTIONS = yes; then
5041 result=$wxUSE_NO_EXCEPTIONS
5044 { echo "$as_me:$LINENO: result: $result" >&5
5045 echo "${ECHO_T}$result" >&6; }
5050 if test -z "$defaultval"; then
5051 if test x"$enablestring" = xdisable; then
5058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5059 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5060 # Check whether --enable-permissive was given.
5061 if test "${enable_permissive+set}" = set; then
5062 enableval=$enable_permissive;
5063 if test "$enableval" = yes; then
5064 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5066 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5071 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5076 eval "$wx_cv_use_permissive"
5078 if test x"$enablestring" = xdisable; then
5079 if test $wxUSE_PERMISSIVE = yes; then
5085 result=$wxUSE_PERMISSIVE
5088 { echo "$as_me:$LINENO: result
: $result" >&5
5089 echo "${ECHO_T}$result" >&6; }
5094 if test -z "$defaultval"; then
5095 if test x"$enablestring" = xdisable; then
5102 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5103 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5104 # Check whether --enable-no_deps was given.
5105 if test "${enable_no_deps+set}" = set; then
5106 enableval=$enable_no_deps;
5107 if test "$enableval" = yes; then
5108 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5110 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5115 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5120 eval "$wx_cv_use_no_deps"
5122 if test x
"$enablestring" = xdisable
; then
5123 if test $wxUSE_NO_DEPS = yes; then
5129 result
=$wxUSE_NO_DEPS
5132 { echo "$as_me:$LINENO: result: $result" >&5
5133 echo "${ECHO_T}$result" >&6; }
5136 enablestring
=disable
5138 if test -z "$defaultval"; then
5139 if test x
"$enablestring" = xdisable
; then
5146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5147 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5148 # Check whether --enable-vararg_macros was given.
5149 if test "${enable_vararg_macros+set}" = set; then
5150 enableval
=$enable_vararg_macros;
5151 if test "$enableval" = yes; then
5152 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5154 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5159 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5164 eval "$wx_cv_use_vararg_macros"
5166 if test x"$enablestring" = xdisable; then
5167 if test $wxUSE_VARARG_MACROS = yes; then
5173 result=$wxUSE_VARARG_MACROS
5176 { echo "$as_me:$LINENO: result: $result" >&5
5177 echo "${ECHO_T}$result" >&6; }
5181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5182 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5183 # Check whether --enable-universal_binary was given.
5184 if test "${enable_universal_binary+set}" = set; then
5185 enableval=$enable_universal_binary;
5186 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5190 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5195 eval "$wx_cv_use_universal_binary"
5197 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5198 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5204 if test -z "$defaultval"; then
5205 if test x"$enablestring" = xdisable; then
5212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5213 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5214 # Check whether --enable-compat26 was given.
5215 if test "${enable_compat26+set}" = set; then
5216 enableval=$enable_compat26;
5217 if test "$enableval" = yes; then
5218 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5220 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5225 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5230 eval "$wx_cv_use_compat26"
5232 if test x"$enablestring" = xdisable; then
5233 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5239 result=$WXWIN_COMPATIBILITY_2_6
5242 { echo "$as_me:$LINENO: result
: $result" >&5
5243 echo "${ECHO_T}$result" >&6; }
5246 enablestring=disable
5248 if test -z "$defaultval"; then
5249 if test x"$enablestring" = xdisable; then
5256 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5257 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5258 # Check whether --enable-compat28 was given.
5259 if test "${enable_compat28+set}" = set; then
5260 enableval=$enable_compat28;
5261 if test "$enableval" = yes; then
5262 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5264 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5269 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5274 eval "$wx_cv_use_compat28"
5276 if test x
"$enablestring" = xdisable
; then
5277 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5283 result
=$WXWIN_COMPATIBILITY_2_8
5286 { echo "$as_me:$LINENO: result: $result" >&5
5287 echo "${ECHO_T}$result" >&6; }
5291 enablestring
=disable
5293 if test -z "$defaultval"; then
5294 if test x
"$enablestring" = xdisable
; then
5301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5302 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5303 # Check whether --enable-rpath was given.
5304 if test "${enable_rpath+set}" = set; then
5305 enableval
=$enable_rpath;
5306 if test "$enableval" = yes; then
5307 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5309 wx_cv_use_rpath
='wxUSE_RPATH=no'
5314 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5319 eval "$wx_cv_use_rpath"
5321 if test x"$enablestring" = xdisable; then
5322 if test $wxUSE_RPATH = yes; then
5331 { echo "$as_me:$LINENO: result: $result" >&5
5332 echo "${ECHO_T}$result" >&6; }
5338 if test -z "$defaultval"; then
5339 if test x"$enablestring" = xdisable; then
5346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5347 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5348 # Check whether --enable-objc_uniquifying was given.
5349 if test "${enable_objc_uniquifying+set}" = set; then
5350 enableval=$enable_objc_uniquifying;
5351 if test "$enableval" = yes; then
5352 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5354 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
5359 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5364 eval "$wx_cv_use_objc_uniquifying"
5366 if test x"$enablestring" = xdisable; then
5367 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5373 result=$wxUSE_OBJC_UNIQUIFYING
5376 { echo "$as_me:$LINENO: result
: $result" >&5
5377 echo "${ECHO_T}$result" >&6; }
5381 enablestring=disable
5383 if test -z "$defaultval"; then
5384 if test x"$enablestring" = xdisable; then
5391 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
5392 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
5393 # Check whether --enable-visibility was given.
5394 if test "${enable_visibility+set}" = set; then
5395 enableval=$enable_visibility;
5396 if test "$enableval" = yes; then
5397 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5399 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5404 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5409 eval "$wx_cv_use_visibility"
5411 if test x
"$enablestring" = xdisable
; then
5412 if test $wxUSE_VISIBILITY = yes; then
5418 result
=$wxUSE_VISIBILITY
5421 { echo "$as_me:$LINENO: result: $result" >&5
5422 echo "${ECHO_T}$result" >&6; }
5428 defaultval
=$wxUSE_ALL_FEATURES
5429 if test -z "$defaultval"; then
5430 if test x
"$enablestring" = xdisable
; then
5437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5438 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5439 # Check whether --enable-intl was given.
5440 if test "${enable_intl+set}" = set; then
5441 enableval
=$enable_intl;
5442 if test "$enableval" = yes; then
5443 wx_cv_use_intl
='wxUSE_INTL=yes'
5445 wx_cv_use_intl
='wxUSE_INTL=no'
5450 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5455 eval "$wx_cv_use_intl"
5457 if test x"$enablestring" = xdisable; then
5458 if test $wxUSE_INTL = yes; then
5467 { echo "$as_me:$LINENO: result: $result" >&5
5468 echo "${ECHO_T}$result" >&6; }
5472 defaultval=$wxUSE_ALL_FEATURES
5473 if test -z "$defaultval"; then
5474 if test x"$enablestring" = xdisable; then
5481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5482 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5483 # Check whether --enable-config was given.
5484 if test "${enable_config+set}" = set; then
5485 enableval=$enable_config;
5486 if test "$enableval" = yes; then
5487 wx_cv_use_config='wxUSE_CONFIG
=yes'
5489 wx_cv_use_config='wxUSE_CONFIG
=no
'
5494 wx_cv_use_config='wxUSE_CONFIG
=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5499 eval "$wx_cv_use_config"
5501 if test x"$enablestring" = xdisable; then
5502 if test $wxUSE_CONFIG = yes; then
5508 result=$wxUSE_CONFIG
5511 { echo "$as_me:$LINENO: result
: $result" >&5
5512 echo "${ECHO_T}$result" >&6; }
5517 defaultval=$wxUSE_ALL_FEATURES
5518 if test -z "$defaultval"; then
5519 if test x"$enablestring" = xdisable; then
5526 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocols" >&5
5527 echo $ECHO_N "checking
for --${enablestring:-enable}-protocols...
$ECHO_C" >&6; }
5528 # Check whether --enable-protocols was given.
5529 if test "${enable_protocols+set}" = set; then
5530 enableval=$enable_protocols;
5531 if test "$enableval" = yes; then
5532 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5534 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5539 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5544 eval "$wx_cv_use_protocols"
5546 if test x
"$enablestring" = xdisable
; then
5547 if test $wxUSE_PROTOCOL = yes; then
5553 result
=$wxUSE_PROTOCOL
5556 { echo "$as_me:$LINENO: result: $result" >&5
5557 echo "${ECHO_T}$result" >&6; }
5561 defaultval
=$wxUSE_ALL_FEATURES
5562 if test -z "$defaultval"; then
5563 if test x
"$enablestring" = xdisable
; then
5570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5571 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5572 # Check whether --enable-ftp was given.
5573 if test "${enable_ftp+set}" = set; then
5574 enableval
=$enable_ftp;
5575 if test "$enableval" = yes; then
5576 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
5578 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
5583 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5588 eval "$wx_cv_use_ftp"
5590 if test x"$enablestring" = xdisable; then
5591 if test $wxUSE_PROTOCOL_FTP = yes; then
5597 result=$wxUSE_PROTOCOL_FTP
5600 { echo "$as_me:$LINENO: result: $result" >&5
5601 echo "${ECHO_T}$result" >&6; }
5605 defaultval=$wxUSE_ALL_FEATURES
5606 if test -z "$defaultval"; then
5607 if test x"$enablestring" = xdisable; then
5614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5615 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5616 # Check whether --enable-http was given.
5617 if test "${enable_http+set}" = set; then
5618 enableval=$enable_http;
5619 if test "$enableval" = yes; then
5620 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
5622 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
5627 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5632 eval "$wx_cv_use_http"
5634 if test x"$enablestring" = xdisable; then
5635 if test $wxUSE_PROTOCOL_HTTP = yes; then
5641 result=$wxUSE_PROTOCOL_HTTP
5644 { echo "$as_me:$LINENO: result
: $result" >&5
5645 echo "${ECHO_T}$result" >&6; }
5649 defaultval=$wxUSE_ALL_FEATURES
5650 if test -z "$defaultval"; then
5651 if test x"$enablestring" = xdisable; then
5658 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fileproto" >&5
5659 echo $ECHO_N "checking
for --${enablestring:-enable}-fileproto...
$ECHO_C" >&6; }
5660 # Check whether --enable-fileproto was given.
5661 if test "${enable_fileproto+set}" = set; then
5662 enableval=$enable_fileproto;
5663 if test "$enableval" = yes; then
5664 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5666 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5671 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5676 eval "$wx_cv_use_fileproto"
5678 if test x
"$enablestring" = xdisable
; then
5679 if test $wxUSE_PROTOCOL_FILE = yes; then
5685 result
=$wxUSE_PROTOCOL_FILE
5688 { echo "$as_me:$LINENO: result: $result" >&5
5689 echo "${ECHO_T}$result" >&6; }
5693 defaultval
=$wxUSE_ALL_FEATURES
5694 if test -z "$defaultval"; then
5695 if test x
"$enablestring" = xdisable
; then
5702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5703 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5704 # Check whether --enable-sockets was given.
5705 if test "${enable_sockets+set}" = set; then
5706 enableval
=$enable_sockets;
5707 if test "$enableval" = yes; then
5708 wx_cv_use_sockets
='wxUSE_SOCKETS=yes'
5710 wx_cv_use_sockets
='wxUSE_SOCKETS=no'
5715 wx_cv_use_sockets
='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5720 eval "$wx_cv_use_sockets"
5722 if test x"$enablestring" = xdisable; then
5723 if test $wxUSE_SOCKETS = yes; then
5729 result=$wxUSE_SOCKETS
5732 { echo "$as_me:$LINENO: result: $result" >&5
5733 echo "${ECHO_T}$result" >&6; }
5737 defaultval=$wxUSE_ALL_FEATURES
5738 if test -z "$defaultval"; then
5739 if test x"$enablestring" = xdisable; then
5746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5747 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5748 # Check whether --enable-ipv6 was given.
5749 if test "${enable_ipv6+set}" = set; then
5750 enableval=$enable_ipv6;
5751 if test "$enableval" = yes; then
5752 wx_cv_use_ipv6='wxUSE_IPV6
=yes'
5754 wx_cv_use_ipv6='wxUSE_IPV6
=no
'
5759 wx_cv_use_ipv6='wxUSE_IPV6
=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5764 eval "$wx_cv_use_ipv6"
5766 if test x"$enablestring" = xdisable; then
5767 if test $wxUSE_IPV6 = yes; then
5776 { echo "$as_me:$LINENO: result
: $result" >&5
5777 echo "${ECHO_T}$result" >&6; }
5781 defaultval=$wxUSE_ALL_FEATURES
5782 if test -z "$defaultval"; then
5783 if test x"$enablestring" = xdisable; then
5790 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ole" >&5
5791 echo $ECHO_N "checking
for --${enablestring:-enable}-ole...
$ECHO_C" >&6; }
5792 # Check whether --enable-ole was given.
5793 if test "${enable_ole+set}" = set; then
5794 enableval=$enable_ole;
5795 if test "$enableval" = yes; then
5796 wx_cv_use_ole='wxUSE_OLE=yes'
5798 wx_cv_use_ole='wxUSE_OLE=no'
5803 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5808 eval "$wx_cv_use_ole"
5810 if test x
"$enablestring" = xdisable
; then
5811 if test $wxUSE_OLE = yes; then
5820 { echo "$as_me:$LINENO: result: $result" >&5
5821 echo "${ECHO_T}$result" >&6; }
5825 defaultval
=$wxUSE_ALL_FEATURES
5826 if test -z "$defaultval"; then
5827 if test x
"$enablestring" = xdisable
; then
5834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5835 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5836 # Check whether --enable-dataobj was given.
5837 if test "${enable_dataobj+set}" = set; then
5838 enableval
=$enable_dataobj;
5839 if test "$enableval" = yes; then
5840 wx_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
5842 wx_cv_use_dataobj
='wxUSE_DATAOBJ=no'
5847 wx_cv_use_dataobj
='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5852 eval "$wx_cv_use_dataobj"
5854 if test x"$enablestring" = xdisable; then
5855 if test $wxUSE_DATAOBJ = yes; then
5861 result=$wxUSE_DATAOBJ
5864 { echo "$as_me:$LINENO: result: $result" >&5
5865 echo "${ECHO_T}$result" >&6; }
5870 defaultval=$wxUSE_ALL_FEATURES
5871 if test -z "$defaultval"; then
5872 if test x"$enablestring" = xdisable; then
5879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5880 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5881 # Check whether --enable-ipc was given.
5882 if test "${enable_ipc+set}" = set; then
5883 enableval=$enable_ipc;
5884 if test "$enableval" = yes; then
5885 wx_cv_use_ipc='wxUSE_IPC
=yes'
5887 wx_cv_use_ipc='wxUSE_IPC
=no
'
5892 wx_cv_use_ipc='wxUSE_IPC
=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5897 eval "$wx_cv_use_ipc"
5899 if test x"$enablestring" = xdisable; then
5900 if test $wxUSE_IPC = yes; then
5909 { echo "$as_me:$LINENO: result
: $result" >&5
5910 echo "${ECHO_T}$result" >&6; }
5915 defaultval=$wxUSE_ALL_FEATURES
5916 if test -z "$defaultval"; then
5917 if test x"$enablestring" = xdisable; then
5924 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-baseevtloop" >&5
5925 echo $ECHO_N "checking
for --${enablestring:-enable}-baseevtloop...
$ECHO_C" >&6; }
5926 # Check whether --enable-baseevtloop was given.
5927 if test "${enable_baseevtloop+set}" = set; then
5928 enableval=$enable_baseevtloop;
5929 if test "$enableval" = yes; then
5930 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
5932 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
5937 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
5942 eval "$wx_cv_use_baseevtloop"
5944 if test x
"$enablestring" = xdisable
; then
5945 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
5951 result
=$wxUSE_CONSOLE_EVENTLOOP
5954 { echo "$as_me:$LINENO: result: $result" >&5
5955 echo "${ECHO_T}$result" >&6; }
5959 defaultval
=$wxUSE_ALL_FEATURES
5960 if test -z "$defaultval"; then
5961 if test x
"$enablestring" = xdisable
; then
5968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
5969 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
5970 # Check whether --enable-epollloop was given.
5971 if test "${enable_epollloop+set}" = set; then
5972 enableval
=$enable_epollloop;
5973 if test "$enableval" = yes; then
5974 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=yes'
5976 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=no'
5981 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
5986 eval "$wx_cv_use_epollloop"
5988 if test x"$enablestring" = xdisable; then
5989 if test $wxUSE_EPOLL_DISPATCHER = yes; then
5995 result=$wxUSE_EPOLL_DISPATCHER
5998 { echo "$as_me:$LINENO: result: $result" >&5
5999 echo "${ECHO_T}$result" >&6; }
6003 defaultval=$wxUSE_ALL_FEATURES
6004 if test -z "$defaultval"; then
6005 if test x"$enablestring" = xdisable; then
6012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6013 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6014 # Check whether --enable-selectloop was given.
6015 if test "${enable_selectloop+set}" = set; then
6016 enableval=$enable_selectloop;
6017 if test "$enableval" = yes; then
6018 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=yes'
6020 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=no
'
6025 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6030 eval "$wx_cv_use_selectloop"
6032 if test x"$enablestring" = xdisable; then
6033 if test $wxUSE_SELECT_DISPATCHER = yes; then
6039 result=$wxUSE_SELECT_DISPATCHER
6042 { echo "$as_me:$LINENO: result
: $result" >&5
6043 echo "${ECHO_T}$result" >&6; }
6048 defaultval=$wxUSE_ALL_FEATURES
6049 if test -z "$defaultval"; then
6050 if test x"$enablestring" = xdisable; then
6057 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6058 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6059 # Check whether --enable-apple_ieee was given.
6060 if test "${enable_apple_ieee+set}" = set; then
6061 enableval=$enable_apple_ieee;
6062 if test "$enableval" = yes; then
6063 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6065 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6070 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6075 eval "$wx_cv_use_apple_ieee"
6077 if test x
"$enablestring" = xdisable
; then
6078 if test $wxUSE_APPLE_IEEE = yes; then
6084 result
=$wxUSE_APPLE_IEEE
6087 { echo "$as_me:$LINENO: result: $result" >&5
6088 echo "${ECHO_T}$result" >&6; }
6092 defaultval
=$wxUSE_ALL_FEATURES
6093 if test -z "$defaultval"; then
6094 if test x
"$enablestring" = xdisable
; then
6101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6102 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6103 # Check whether --enable-arcstream was given.
6104 if test "${enable_arcstream+set}" = set; then
6105 enableval
=$enable_arcstream;
6106 if test "$enableval" = yes; then
6107 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6109 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6114 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6119 eval "$wx_cv_use_arcstream"
6121 if test x"$enablestring" = xdisable; then
6122 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6128 result=$wxUSE_ARCHIVE_STREAMS
6131 { echo "$as_me:$LINENO: result: $result" >&5
6132 echo "${ECHO_T}$result" >&6; }
6136 defaultval=$wxUSE_ALL_FEATURES
6137 if test -z "$defaultval"; then
6138 if test x"$enablestring" = xdisable; then
6145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6146 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6147 # Check whether --enable-base64 was given.
6148 if test "${enable_base64+set}" = set; then
6149 enableval=$enable_base64;
6150 if test "$enableval" = yes; then
6151 wx_cv_use_base64='wxUSE_BASE64
=yes'
6153 wx_cv_use_base64='wxUSE_BASE64
=no
'
6158 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6163 eval "$wx_cv_use_base64"
6165 if test x"$enablestring" = xdisable; then
6166 if test $wxUSE_BASE64 = yes; then
6172 result=$wxUSE_BASE64
6175 { echo "$as_me:$LINENO: result
: $result" >&5
6176 echo "${ECHO_T}$result" >&6; }
6180 defaultval=$wxUSE_ALL_FEATURES
6181 if test -z "$defaultval"; then
6182 if test x"$enablestring" = xdisable; then
6189 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
6190 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6191 # Check whether --enable-backtrace was given.
6192 if test "${enable_backtrace+set}" = set; then
6193 enableval=$enable_backtrace;
6194 if test "$enableval" = yes; then
6195 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6197 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6202 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6207 eval "$wx_cv_use_backtrace"
6209 if test x
"$enablestring" = xdisable
; then
6210 if test $wxUSE_STACKWALKER = yes; then
6216 result
=$wxUSE_STACKWALKER
6219 { echo "$as_me:$LINENO: result: $result" >&5
6220 echo "${ECHO_T}$result" >&6; }
6224 defaultval
=$wxUSE_ALL_FEATURES
6225 if test -z "$defaultval"; then
6226 if test x
"$enablestring" = xdisable
; then
6233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6234 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6235 # Check whether --enable-catch_segvs was given.
6236 if test "${enable_catch_segvs+set}" = set; then
6237 enableval
=$enable_catch_segvs;
6238 if test "$enableval" = yes; then
6239 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6241 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6246 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6251 eval "$wx_cv_use_catch_segvs"
6253 if test x"$enablestring" = xdisable; then
6254 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6260 result=$wxUSE_ON_FATAL_EXCEPTION
6263 { echo "$as_me:$LINENO: result: $result" >&5
6264 echo "${ECHO_T}$result" >&6; }
6268 defaultval=$wxUSE_ALL_FEATURES
6269 if test -z "$defaultval"; then
6270 if test x"$enablestring" = xdisable; then
6277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6278 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6279 # Check whether --enable-cmdline was given.
6280 if test "${enable_cmdline+set}" = set; then
6281 enableval=$enable_cmdline;
6282 if test "$enableval" = yes; then
6283 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6285 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6290 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6295 eval "$wx_cv_use_cmdline"
6297 if test x"$enablestring" = xdisable; then
6298 if test $wxUSE_CMDLINE_PARSER = yes; then
6304 result=$wxUSE_CMDLINE_PARSER
6307 { echo "$as_me:$LINENO: result
: $result" >&5
6308 echo "${ECHO_T}$result" >&6; }
6312 defaultval=$wxUSE_ALL_FEATURES
6313 if test -z "$defaultval"; then
6314 if test x"$enablestring" = xdisable; then
6321 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
6322 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6323 # Check whether --enable-datetime was given.
6324 if test "${enable_datetime+set}" = set; then
6325 enableval=$enable_datetime;
6326 if test "$enableval" = yes; then
6327 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6329 wx_cv_use_datetime='wxUSE_DATETIME=no'
6334 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6339 eval "$wx_cv_use_datetime"
6341 if test x
"$enablestring" = xdisable
; then
6342 if test $wxUSE_DATETIME = yes; then
6348 result
=$wxUSE_DATETIME
6351 { echo "$as_me:$LINENO: result: $result" >&5
6352 echo "${ECHO_T}$result" >&6; }
6356 defaultval
=$wxUSE_ALL_FEATURES
6357 if test -z "$defaultval"; then
6358 if test x
"$enablestring" = xdisable
; then
6365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6366 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6367 # Check whether --enable-debugreport was given.
6368 if test "${enable_debugreport+set}" = set; then
6369 enableval
=$enable_debugreport;
6370 if test "$enableval" = yes; then
6371 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6373 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6378 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6383 eval "$wx_cv_use_debugreport"
6385 if test x"$enablestring" = xdisable; then
6386 if test $wxUSE_DEBUGREPORT = yes; then
6392 result=$wxUSE_DEBUGREPORT
6395 { echo "$as_me:$LINENO: result: $result" >&5
6396 echo "${ECHO_T}$result" >&6; }
6400 defaultval=$wxUSE_ALL_FEATURES
6401 if test -z "$defaultval"; then
6402 if test x"$enablestring" = xdisable; then
6409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6410 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6411 # Check whether --enable-dialupman was given.
6412 if test "${enable_dialupman+set}" = set; then
6413 enableval=$enable_dialupman;
6414 if test "$enableval" = yes; then
6415 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6417 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6422 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6427 eval "$wx_cv_use_dialupman"
6429 if test x"$enablestring" = xdisable; then
6430 if test $wxUSE_DIALUP_MANAGER = yes; then
6436 result=$wxUSE_DIALUP_MANAGER
6439 { echo "$as_me:$LINENO: result
: $result" >&5
6440 echo "${ECHO_T}$result" >&6; }
6444 defaultval=$wxUSE_ALL_FEATURES
6445 if test -z "$defaultval"; then
6446 if test x"$enablestring" = xdisable; then
6453 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
6454 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6455 # Check whether --enable-dynlib was given.
6456 if test "${enable_dynlib+set}" = set; then
6457 enableval=$enable_dynlib;
6458 if test "$enableval" = yes; then
6459 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6461 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6466 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6471 eval "$wx_cv_use_dynlib"
6473 if test x
"$enablestring" = xdisable
; then
6474 if test $wxUSE_DYNLIB_CLASS = yes; then
6480 result
=$wxUSE_DYNLIB_CLASS
6483 { echo "$as_me:$LINENO: result: $result" >&5
6484 echo "${ECHO_T}$result" >&6; }
6488 defaultval
=$wxUSE_ALL_FEATURES
6489 if test -z "$defaultval"; then
6490 if test x
"$enablestring" = xdisable
; then
6497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6498 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6499 # Check whether --enable-dynamicloader was given.
6500 if test "${enable_dynamicloader+set}" = set; then
6501 enableval
=$enable_dynamicloader;
6502 if test "$enableval" = yes; then
6503 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6505 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6510 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6515 eval "$wx_cv_use_dynamicloader"
6517 if test x"$enablestring" = xdisable; then
6518 if test $wxUSE_DYNAMIC_LOADER = yes; then
6524 result=$wxUSE_DYNAMIC_LOADER
6527 { echo "$as_me:$LINENO: result: $result" >&5
6528 echo "${ECHO_T}$result" >&6; }
6532 defaultval=$wxUSE_ALL_FEATURES
6533 if test -z "$defaultval"; then
6534 if test x"$enablestring" = xdisable; then
6541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6542 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6543 # Check whether --enable-exceptions was given.
6544 if test "${enable_exceptions+set}" = set; then
6545 enableval=$enable_exceptions;
6546 if test "$enableval" = yes; then
6547 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6549 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6554 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6559 eval "$wx_cv_use_exceptions"
6561 if test x"$enablestring" = xdisable; then
6562 if test $wxUSE_EXCEPTIONS = yes; then
6568 result=$wxUSE_EXCEPTIONS
6571 { echo "$as_me:$LINENO: result
: $result" >&5
6572 echo "${ECHO_T}$result" >&6; }
6576 defaultval=$wxUSE_ALL_FEATURES
6577 if test -z "$defaultval"; then
6578 if test x"$enablestring" = xdisable; then
6585 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
6586 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6587 # Check whether --enable-ffile was given.
6588 if test "${enable_ffile+set}" = set; then
6589 enableval=$enable_ffile;
6590 if test "$enableval" = yes; then
6591 wx_cv_use_ffile='wxUSE_FFILE=yes'
6593 wx_cv_use_ffile='wxUSE_FFILE=no'
6598 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6603 eval "$wx_cv_use_ffile"
6605 if test x
"$enablestring" = xdisable
; then
6606 if test $wxUSE_FFILE = yes; then
6615 { echo "$as_me:$LINENO: result: $result" >&5
6616 echo "${ECHO_T}$result" >&6; }
6620 defaultval
=$wxUSE_ALL_FEATURES
6621 if test -z "$defaultval"; then
6622 if test x
"$enablestring" = xdisable
; then
6629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6630 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6631 # Check whether --enable-file was given.
6632 if test "${enable_file+set}" = set; then
6633 enableval
=$enable_file;
6634 if test "$enableval" = yes; then
6635 wx_cv_use_file
='wxUSE_FILE=yes'
6637 wx_cv_use_file
='wxUSE_FILE=no'
6642 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6647 eval "$wx_cv_use_file"
6649 if test x"$enablestring" = xdisable; then
6650 if test $wxUSE_FILE = yes; then
6659 { echo "$as_me:$LINENO: result: $result" >&5
6660 echo "${ECHO_T}$result" >&6; }
6664 defaultval=$wxUSE_ALL_FEATURES
6665 if test -z "$defaultval"; then
6666 if test x"$enablestring" = xdisable; then
6673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6674 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6675 # Check whether --enable-filesystem was given.
6676 if test "${enable_filesystem+set}" = set; then
6677 enableval=$enable_filesystem;
6678 if test "$enableval" = yes; then
6679 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
6681 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
6686 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6691 eval "$wx_cv_use_filesystem"
6693 if test x"$enablestring" = xdisable; then
6694 if test $wxUSE_FILESYSTEM = yes; then
6700 result=$wxUSE_FILESYSTEM
6703 { echo "$as_me:$LINENO: result
: $result" >&5
6704 echo "${ECHO_T}$result" >&6; }
6708 defaultval=$wxUSE_ALL_FEATURES
6709 if test -z "$defaultval"; then
6710 if test x"$enablestring" = xdisable; then
6717 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
6718 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
6719 # Check whether --enable-fontenum was given.
6720 if test "${enable_fontenum+set}" = set; then
6721 enableval=$enable_fontenum;
6722 if test "$enableval" = yes; then
6723 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6725 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6730 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6735 eval "$wx_cv_use_fontenum"
6737 if test x
"$enablestring" = xdisable
; then
6738 if test $wxUSE_FONTENUM = yes; then
6744 result
=$wxUSE_FONTENUM
6747 { echo "$as_me:$LINENO: result: $result" >&5
6748 echo "${ECHO_T}$result" >&6; }
6752 defaultval
=$wxUSE_ALL_FEATURES
6753 if test -z "$defaultval"; then
6754 if test x
"$enablestring" = xdisable
; then
6761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6762 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6763 # Check whether --enable-fontmap was given.
6764 if test "${enable_fontmap+set}" = set; then
6765 enableval
=$enable_fontmap;
6766 if test "$enableval" = yes; then
6767 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
6769 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
6774 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6779 eval "$wx_cv_use_fontmap"
6781 if test x"$enablestring" = xdisable; then
6782 if test $wxUSE_FONTMAP = yes; then
6788 result=$wxUSE_FONTMAP
6791 { echo "$as_me:$LINENO: result: $result" >&5
6792 echo "${ECHO_T}$result" >&6; }
6796 defaultval=$wxUSE_ALL_FEATURES
6797 if test -z "$defaultval"; then
6798 if test x"$enablestring" = xdisable; then
6805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6806 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6807 # Check whether --enable-fs_archive was given.
6808 if test "${enable_fs_archive+set}" = set; then
6809 enableval=$enable_fs_archive;
6810 if test "$enableval" = yes; then
6811 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
6813 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
6818 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6823 eval "$wx_cv_use_fs_archive"
6825 if test x"$enablestring" = xdisable; then
6826 if test $wxUSE_FS_ARCHIVE = yes; then
6832 result=$wxUSE_FS_ARCHIVE
6835 { echo "$as_me:$LINENO: result
: $result" >&5
6836 echo "${ECHO_T}$result" >&6; }
6840 defaultval=$wxUSE_ALL_FEATURES
6841 if test -z "$defaultval"; then
6842 if test x"$enablestring" = xdisable; then
6849 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
6850 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
6851 # Check whether --enable-fs_inet was given.
6852 if test "${enable_fs_inet+set}" = set; then
6853 enableval=$enable_fs_inet;
6854 if test "$enableval" = yes; then
6855 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
6857 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
6862 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
6867 eval "$wx_cv_use_fs_inet"
6869 if test x
"$enablestring" = xdisable
; then
6870 if test $wxUSE_FS_INET = yes; then
6876 result
=$wxUSE_FS_INET
6879 { echo "$as_me:$LINENO: result: $result" >&5
6880 echo "${ECHO_T}$result" >&6; }
6884 defaultval
=$wxUSE_ALL_FEATURES
6885 if test -z "$defaultval"; then
6886 if test x
"$enablestring" = xdisable
; then
6893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6894 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6895 # Check whether --enable-fs_zip was given.
6896 if test "${enable_fs_zip+set}" = set; then
6897 enableval
=$enable_fs_zip;
6898 if test "$enableval" = yes; then
6899 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
6901 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
6906 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
6911 eval "$wx_cv_use_fs_zip"
6913 if test x"$enablestring" = xdisable; then
6914 if test $wxUSE_FS_ZIP = yes; then
6920 result=$wxUSE_FS_ZIP
6923 { echo "$as_me:$LINENO: result: $result" >&5
6924 echo "${ECHO_T}$result" >&6; }
6928 defaultval=$wxUSE_ALL_FEATURES
6929 if test -z "$defaultval"; then
6930 if test x"$enablestring" = xdisable; then
6937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6938 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6939 # Check whether --enable-geometry was given.
6940 if test "${enable_geometry+set}" = set; then
6941 enableval=$enable_geometry;
6942 if test "$enableval" = yes; then
6943 wx_cv_use_geometry='wxUSE_GEOMETRY
=yes'
6945 wx_cv_use_geometry='wxUSE_GEOMETRY
=no
'
6950 wx_cv_use_geometry='wxUSE_GEOMETRY
=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
6955 eval "$wx_cv_use_geometry"
6957 if test x"$enablestring" = xdisable; then
6958 if test $wxUSE_GEOMETRY = yes; then
6964 result=$wxUSE_GEOMETRY
6967 { echo "$as_me:$LINENO: result
: $result" >&5
6968 echo "${ECHO_T}$result" >&6; }
6972 defaultval=$wxUSE_ALL_FEATURES
6973 if test -z "$defaultval"; then
6974 if test x"$enablestring" = xdisable; then
6981 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-log" >&5
6982 echo $ECHO_N "checking
for --${enablestring:-enable}-log...
$ECHO_C" >&6; }
6983 # Check whether --enable-log was given.
6984 if test "${enable_log+set}" = set; then
6985 enableval=$enable_log;
6986 if test "$enableval" = yes; then
6987 wx_cv_use_log='wxUSE_LOG=yes'
6989 wx_cv_use_log='wxUSE_LOG=no'
6994 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
6999 eval "$wx_cv_use_log"
7001 if test x
"$enablestring" = xdisable
; then
7002 if test $wxUSE_LOG = yes; then
7011 { echo "$as_me:$LINENO: result: $result" >&5
7012 echo "${ECHO_T}$result" >&6; }
7016 defaultval
=$wxUSE_ALL_FEATURES
7017 if test -z "$defaultval"; then
7018 if test x
"$enablestring" = xdisable
; then
7025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7026 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7027 # Check whether --enable-longlong was given.
7028 if test "${enable_longlong+set}" = set; then
7029 enableval
=$enable_longlong;
7030 if test "$enableval" = yes; then
7031 wx_cv_use_longlong
='wxUSE_LONGLONG=yes'
7033 wx_cv_use_longlong
='wxUSE_LONGLONG=no'
7038 wx_cv_use_longlong
='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7043 eval "$wx_cv_use_longlong"
7045 if test x"$enablestring" = xdisable; then
7046 if test $wxUSE_LONGLONG = yes; then
7052 result=$wxUSE_LONGLONG
7055 { echo "$as_me:$LINENO: result: $result" >&5
7056 echo "${ECHO_T}$result" >&6; }
7060 defaultval=$wxUSE_ALL_FEATURES
7061 if test -z "$defaultval"; then
7062 if test x"$enablestring" = xdisable; then
7069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7070 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7071 # Check whether --enable-mimetype was given.
7072 if test "${enable_mimetype+set}" = set; then
7073 enableval=$enable_mimetype;
7074 if test "$enableval" = yes; then
7075 wx_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
7077 wx_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
7082 wx_cv_use_mimetype='wxUSE_MIMETYPE
=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7087 eval "$wx_cv_use_mimetype"
7089 if test x"$enablestring" = xdisable; then
7090 if test $wxUSE_MIMETYPE = yes; then
7096 result=$wxUSE_MIMETYPE
7099 { echo "$as_me:$LINENO: result
: $result" >&5
7100 echo "${ECHO_T}$result" >&6; }
7104 defaultval=$wxUSE_ALL_FEATURES
7105 if test -z "$defaultval"; then
7106 if test x"$enablestring" = xdisable; then
7113 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7114 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7115 # Check whether --enable-snglinst was given.
7116 if test "${enable_snglinst+set}" = set; then
7117 enableval=$enable_snglinst;
7118 if test "$enableval" = yes; then
7119 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7121 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7126 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7131 eval "$wx_cv_use_snglinst"
7133 if test x
"$enablestring" = xdisable
; then
7134 if test $wxUSE_SNGLINST_CHECKER = yes; then
7140 result
=$wxUSE_SNGLINST_CHECKER
7143 { echo "$as_me:$LINENO: result: $result" >&5
7144 echo "${ECHO_T}$result" >&6; }
7148 defaultval
=$wxUSE_ALL_FEATURES
7149 if test -z "$defaultval"; then
7150 if test x
"$enablestring" = xdisable
; then
7157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7158 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7159 # Check whether --enable-stdpaths was given.
7160 if test "${enable_stdpaths+set}" = set; then
7161 enableval
=$enable_stdpaths;
7162 if test "$enableval" = yes; then
7163 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
7165 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
7170 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7175 eval "$wx_cv_use_stdpaths"
7177 if test x"$enablestring" = xdisable; then
7178 if test $wxUSE_STDPATHS = yes; then
7184 result=$wxUSE_STDPATHS
7187 { echo "$as_me:$LINENO: result: $result" >&5
7188 echo "${ECHO_T}$result" >&6; }
7192 defaultval=$wxUSE_ALL_FEATURES
7193 if test -z "$defaultval"; then
7194 if test x"$enablestring" = xdisable; then
7201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7202 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7203 # Check whether --enable-stopwatch was given.
7204 if test "${enable_stopwatch+set}" = set; then
7205 enableval=$enable_stopwatch;
7206 if test "$enableval" = yes; then
7207 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
7209 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
7214 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7219 eval "$wx_cv_use_stopwatch"
7221 if test x"$enablestring" = xdisable; then
7222 if test $wxUSE_STOPWATCH = yes; then
7228 result=$wxUSE_STOPWATCH
7231 { echo "$as_me:$LINENO: result
: $result" >&5
7232 echo "${ECHO_T}$result" >&6; }
7236 defaultval=$wxUSE_ALL_FEATURES
7237 if test -z "$defaultval"; then
7238 if test x"$enablestring" = xdisable; then
7245 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-streams" >&5
7246 echo $ECHO_N "checking
for --${enablestring:-enable}-streams...
$ECHO_C" >&6; }
7247 # Check whether --enable-streams was given.
7248 if test "${enable_streams+set}" = set; then
7249 enableval=$enable_streams;
7250 if test "$enableval" = yes; then
7251 wx_cv_use_streams='wxUSE_STREAMS=yes'
7253 wx_cv_use_streams='wxUSE_STREAMS=no'
7258 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7263 eval "$wx_cv_use_streams"
7265 if test x
"$enablestring" = xdisable
; then
7266 if test $wxUSE_STREAMS = yes; then
7272 result
=$wxUSE_STREAMS
7275 { echo "$as_me:$LINENO: result: $result" >&5
7276 echo "${ECHO_T}$result" >&6; }
7280 defaultval
=$wxUSE_ALL_FEATURES
7281 if test -z "$defaultval"; then
7282 if test x
"$enablestring" = xdisable
; then
7289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7290 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7291 # Check whether --enable-system_options was given.
7292 if test "${enable_system_options+set}" = set; then
7293 enableval
=$enable_system_options;
7294 if test "$enableval" = yes; then
7295 wx_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
7297 wx_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
7302 wx_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7307 eval "$wx_cv_use_system_options"
7309 if test x"$enablestring" = xdisable; then
7310 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7316 result=$wxUSE_SYSTEM_OPTIONS
7319 { echo "$as_me:$LINENO: result: $result" >&5
7320 echo "${ECHO_T}$result" >&6; }
7324 defaultval=$wxUSE_ALL_FEATURES
7325 if test -z "$defaultval"; then
7326 if test x"$enablestring" = xdisable; then
7333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7334 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7335 # Check whether --enable-tarstream was given.
7336 if test "${enable_tarstream+set}" = set; then
7337 enableval=$enable_tarstream;
7338 if test "$enableval" = yes; then
7339 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
7341 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
7346 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7351 eval "$wx_cv_use_tarstream"
7353 if test x"$enablestring" = xdisable; then
7354 if test $wxUSE_TARSTREAM = yes; then
7360 result=$wxUSE_TARSTREAM
7363 { echo "$as_me:$LINENO: result
: $result" >&5
7364 echo "${ECHO_T}$result" >&6; }
7368 defaultval=$wxUSE_ALL_FEATURES
7369 if test -z "$defaultval"; then
7370 if test x"$enablestring" = xdisable; then
7377 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textbuf" >&5
7378 echo $ECHO_N "checking
for --${enablestring:-enable}-textbuf...
$ECHO_C" >&6; }
7379 # Check whether --enable-textbuf was given.
7380 if test "${enable_textbuf+set}" = set; then
7381 enableval=$enable_textbuf;
7382 if test "$enableval" = yes; then
7383 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7385 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7390 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7395 eval "$wx_cv_use_textbuf"
7397 if test x
"$enablestring" = xdisable
; then
7398 if test $wxUSE_TEXTBUFFER = yes; then
7404 result
=$wxUSE_TEXTBUFFER
7407 { echo "$as_me:$LINENO: result: $result" >&5
7408 echo "${ECHO_T}$result" >&6; }
7412 defaultval
=$wxUSE_ALL_FEATURES
7413 if test -z "$defaultval"; then
7414 if test x
"$enablestring" = xdisable
; then
7421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7422 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7423 # Check whether --enable-textfile was given.
7424 if test "${enable_textfile+set}" = set; then
7425 enableval
=$enable_textfile;
7426 if test "$enableval" = yes; then
7427 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
7429 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
7434 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7439 eval "$wx_cv_use_textfile"
7441 if test x"$enablestring" = xdisable; then
7442 if test $wxUSE_TEXTFILE = yes; then
7448 result=$wxUSE_TEXTFILE
7451 { echo "$as_me:$LINENO: result: $result" >&5
7452 echo "${ECHO_T}$result" >&6; }
7456 defaultval=$wxUSE_ALL_FEATURES
7457 if test -z "$defaultval"; then
7458 if test x"$enablestring" = xdisable; then
7465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7466 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7467 # Check whether --enable-timer was given.
7468 if test "${enable_timer+set}" = set; then
7469 enableval=$enable_timer;
7470 if test "$enableval" = yes; then
7471 wx_cv_use_timer='wxUSE_TIMER
=yes'
7473 wx_cv_use_timer='wxUSE_TIMER
=no
'
7478 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7483 eval "$wx_cv_use_timer"
7485 if test x"$enablestring" = xdisable; then
7486 if test $wxUSE_TIMER = yes; then
7495 { echo "$as_me:$LINENO: result
: $result" >&5
7496 echo "${ECHO_T}$result" >&6; }
7500 defaultval=$wxUSE_ALL_FEATURES
7501 if test -z "$defaultval"; then
7502 if test x"$enablestring" = xdisable; then
7509 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sound" >&5
7510 echo $ECHO_N "checking
for --${enablestring:-enable}-sound...
$ECHO_C" >&6; }
7511 # Check whether --enable-sound was given.
7512 if test "${enable_sound+set}" = set; then
7513 enableval=$enable_sound;
7514 if test "$enableval" = yes; then
7515 wx_cv_use_sound='wxUSE_SOUND=yes'
7517 wx_cv_use_sound='wxUSE_SOUND=no'
7522 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7527 eval "$wx_cv_use_sound"
7529 if test x
"$enablestring" = xdisable
; then
7530 if test $wxUSE_SOUND = yes; then
7539 { echo "$as_me:$LINENO: result: $result" >&5
7540 echo "${ECHO_T}$result" >&6; }
7544 defaultval
=$wxUSE_ALL_FEATURES
7545 if test -z "$defaultval"; then
7546 if test x
"$enablestring" = xdisable
; then
7553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7554 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7555 # Check whether --enable-mediactrl was given.
7556 if test "${enable_mediactrl+set}" = set; then
7557 enableval
=$enable_mediactrl;
7558 if test "$enableval" = yes; then
7559 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
7561 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
7566 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7571 eval "$wx_cv_use_mediactrl"
7573 if test x"$enablestring" = xdisable; then
7574 if test $wxUSE_MEDIACTRL = yes; then
7580 result=$wxUSE_MEDIACTRL
7583 { echo "$as_me:$LINENO: result: $result" >&5
7584 echo "${ECHO_T}$result" >&6; }
7588 defaultval=$wxUSE_ALL_FEATURES
7589 if test -z "$defaultval"; then
7590 if test x"$enablestring" = xdisable; then
7597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7598 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7599 # Check whether --enable-gstreamer8 was given.
7600 if test "${enable_gstreamer8+set}" = set; then
7601 enableval=$enable_gstreamer8;
7602 if test "$enableval" = yes; then
7603 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=yes'
7605 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=no
'
7610 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7615 eval "$wx_cv_use_gstreamer8"
7617 if test x"$enablestring" = xdisable; then
7618 if test $wxUSE_GSTREAMER8 = yes; then
7624 result=$wxUSE_GSTREAMER8
7627 { echo "$as_me:$LINENO: result
: $result" >&5
7628 echo "${ECHO_T}$result" >&6; }
7632 defaultval=$wxUSE_ALL_FEATURES
7633 if test -z "$defaultval"; then
7634 if test x"$enablestring" = xdisable; then
7641 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printfposparam" >&5
7642 echo $ECHO_N "checking
for --${enablestring:-enable}-printfposparam...
$ECHO_C" >&6; }
7643 # Check whether --enable-printfposparam was given.
7644 if test "${enable_printfposparam+set}" = set; then
7645 enableval=$enable_printfposparam;
7646 if test "$enableval" = yes; then
7647 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7649 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7654 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7659 eval "$wx_cv_use_printfposparam"
7661 if test x
"$enablestring" = xdisable
; then
7662 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7668 result
=$wxUSE_PRINTF_POS_PARAMS
7671 { echo "$as_me:$LINENO: result: $result" >&5
7672 echo "${ECHO_T}$result" >&6; }
7676 defaultval
=$wxUSE_ALL_FEATURES
7677 if test -z "$defaultval"; then
7678 if test x
"$enablestring" = xdisable
; then
7685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7686 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7687 # Check whether --enable-zipstream was given.
7688 if test "${enable_zipstream+set}" = set; then
7689 enableval
=$enable_zipstream;
7690 if test "$enableval" = yes; then
7691 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
7693 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
7698 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7703 eval "$wx_cv_use_zipstream"
7705 if test x"$enablestring" = xdisable; then
7706 if test $wxUSE_ZIPSTREAM = yes; then
7712 result=$wxUSE_ZIPSTREAM
7715 { echo "$as_me:$LINENO: result: $result" >&5
7716 echo "${ECHO_T}$result" >&6; }
7721 defaultval=$wxUSE_ALL_FEATURES
7722 if test -z "$defaultval"; then
7723 if test x"$enablestring" = xdisable; then
7730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7731 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7732 # Check whether --enable-url was given.
7733 if test "${enable_url+set}" = set; then
7734 enableval=$enable_url;
7735 if test "$enableval" = yes; then
7736 wx_cv_use_url='wxUSE_URL
=yes'
7738 wx_cv_use_url='wxUSE_URL
=no
'
7743 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
7748 eval "$wx_cv_use_url"
7750 if test x"$enablestring" = xdisable; then
7751 if test $wxUSE_URL = yes; then
7760 { echo "$as_me:$LINENO: result
: $result" >&5
7761 echo "${ECHO_T}$result" >&6; }
7765 defaultval=$wxUSE_ALL_FEATURES
7766 if test -z "$defaultval"; then
7767 if test x"$enablestring" = xdisable; then
7774 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-variant" >&5
7775 echo $ECHO_N "checking
for --${enablestring:-enable}-variant...
$ECHO_C" >&6; }
7776 # Check whether --enable-variant was given.
7777 if test "${enable_variant+set}" = set; then
7778 enableval=$enable_variant;
7779 if test "$enableval" = yes; then
7780 wx_cv_use_variant='wxUSE_VARIANT=yes'
7782 wx_cv_use_variant='wxUSE_VARIANT=no'
7787 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7792 eval "$wx_cv_use_variant"
7794 if test x
"$enablestring" = xdisable
; then
7795 if test $wxUSE_VARIANT = yes; then
7801 result
=$wxUSE_VARIANT
7804 { echo "$as_me:$LINENO: result: $result" >&5
7805 echo "${ECHO_T}$result" >&6; }
7809 defaultval
=$wxUSE_ALL_FEATURES
7810 if test -z "$defaultval"; then
7811 if test x
"$enablestring" = xdisable
; then
7818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7819 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7820 # Check whether --enable-protocol was given.
7821 if test "${enable_protocol+set}" = set; then
7822 enableval
=$enable_protocol;
7823 if test "$enableval" = yes; then
7824 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
7826 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
7831 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7836 eval "$wx_cv_use_protocol"
7838 if test x"$enablestring" = xdisable; then
7839 if test $wxUSE_PROTOCOL = yes; then
7845 result=$wxUSE_PROTOCOL
7848 { echo "$as_me:$LINENO: result: $result" >&5
7849 echo "${ECHO_T}$result" >&6; }
7853 defaultval=$wxUSE_ALL_FEATURES
7854 if test -z "$defaultval"; then
7855 if test x"$enablestring" = xdisable; then
7862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7863 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7864 # Check whether --enable-protocol_http was given.
7865 if test "${enable_protocol_http+set}" = set; then
7866 enableval=$enable_protocol_http;
7867 if test "$enableval" = yes; then
7868 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
7870 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
7875 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7880 eval "$wx_cv_use_protocol_http"
7882 if test x"$enablestring" = xdisable; then
7883 if test $wxUSE_PROTOCOL_HTTP = yes; then
7889 result=$wxUSE_PROTOCOL_HTTP
7892 { echo "$as_me:$LINENO: result
: $result" >&5
7893 echo "${ECHO_T}$result" >&6; }
7897 defaultval=$wxUSE_ALL_FEATURES
7898 if test -z "$defaultval"; then
7899 if test x"$enablestring" = xdisable; then
7906 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
7907 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
7908 # Check whether --enable-protocol_ftp was given.
7909 if test "${enable_protocol_ftp+set}" = set; then
7910 enableval=$enable_protocol_ftp;
7911 if test "$enableval" = yes; then
7912 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7914 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7919 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7924 eval "$wx_cv_use_protocol_ftp"
7926 if test x
"$enablestring" = xdisable
; then
7927 if test $wxUSE_PROTOCOL_FTP = yes; then
7933 result
=$wxUSE_PROTOCOL_FTP
7936 { echo "$as_me:$LINENO: result: $result" >&5
7937 echo "${ECHO_T}$result" >&6; }
7941 defaultval
=$wxUSE_ALL_FEATURES
7942 if test -z "$defaultval"; then
7943 if test x
"$enablestring" = xdisable
; then
7950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7951 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7952 # Check whether --enable-protocol_file was given.
7953 if test "${enable_protocol_file+set}" = set; then
7954 enableval
=$enable_protocol_file;
7955 if test "$enableval" = yes; then
7956 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
7958 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
7963 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7968 eval "$wx_cv_use_protocol_file"
7970 if test x"$enablestring" = xdisable; then
7971 if test $wxUSE_PROTOCOL_FILE = yes; then
7977 result=$wxUSE_PROTOCOL_FILE
7980 { echo "$as_me:$LINENO: result: $result" >&5
7981 echo "${ECHO_T}$result" >&6; }
7986 defaultval=$wxUSE_ALL_FEATURES
7987 if test -z "$defaultval"; then
7988 if test x"$enablestring" = xdisable; then
7995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7996 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7997 # Check whether --enable-threads was given.
7998 if test "${enable_threads+set}" = set; then
7999 enableval=$enable_threads;
8000 if test "$enableval" = yes; then
8001 wx_cv_use_threads='wxUSE_THREADS
=yes'
8003 wx_cv_use_threads='wxUSE_THREADS
=no
'
8008 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8013 eval "$wx_cv_use_threads"
8015 if test x"$enablestring" = xdisable; then
8016 if test $wxUSE_THREADS = yes; then
8022 result=$wxUSE_THREADS
8025 { echo "$as_me:$LINENO: result
: $result" >&5
8026 echo "${ECHO_T}$result" >&6; }
8032 if test -z "$defaultval"; then
8033 if test x"$enablestring" = xdisable; then
8040 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8041 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8042 # Check whether --enable-iniconf was given.
8043 if test "${enable_iniconf+set}" = set; then
8044 enableval=$enable_iniconf;
8045 if test "$enableval" = yes; then
8046 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8048 wx_cv_use_iniconf='wxUSE_INICONF=no'
8053 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8058 eval "$wx_cv_use_iniconf"
8060 if test x
"$enablestring" = xdisable
; then
8061 if test $wxUSE_INICONF = yes; then
8067 result
=$wxUSE_INICONF
8070 { echo "$as_me:$LINENO: result: $result" >&5
8071 echo "${ECHO_T}$result" >&6; }
8075 defaultval
=$wxUSE_ALL_FEATURES
8076 if test -z "$defaultval"; then
8077 if test x
"$enablestring" = xdisable
; then
8084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8085 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8086 # Check whether --enable-regkey was given.
8087 if test "${enable_regkey+set}" = set; then
8088 enableval
=$enable_regkey;
8089 if test "$enableval" = yes; then
8090 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8092 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8097 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8102 eval "$wx_cv_use_regkey"
8104 if test x"$enablestring" = xdisable; then
8105 if test $wxUSE_REGKEY = yes; then
8111 result=$wxUSE_REGKEY
8114 { echo "$as_me:$LINENO: result: $result" >&5
8115 echo "${ECHO_T}$result" >&6; }
8118 if test "$wxUSE_GUI" = "yes"; then
8123 defaultval=$wxUSE_ALL_FEATURES
8124 if test -z "$defaultval"; then
8125 if test x"$enablestring" = xdisable; then
8132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8133 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8134 # Check whether --enable-docview was given.
8135 if test "${enable_docview+set}" = set; then
8136 enableval=$enable_docview;
8137 if test "$enableval" = yes; then
8138 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8140 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8145 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8150 eval "$wx_cv_use_docview"
8152 if test x"$enablestring" = xdisable; then
8153 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8159 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8162 { echo "$as_me:$LINENO: result
: $result" >&5
8163 echo "${ECHO_T}$result" >&6; }
8167 defaultval=$wxUSE_ALL_FEATURES
8168 if test -z "$defaultval"; then
8169 if test x"$enablestring" = xdisable; then
8176 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8177 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8178 # Check whether --enable-help was given.
8179 if test "${enable_help+set}" = set; then
8180 enableval=$enable_help;
8181 if test "$enableval" = yes; then
8182 wx_cv_use_help='wxUSE_HELP=yes'
8184 wx_cv_use_help='wxUSE_HELP=no'
8189 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8194 eval "$wx_cv_use_help"
8196 if test x
"$enablestring" = xdisable
; then
8197 if test $wxUSE_HELP = yes; then
8206 { echo "$as_me:$LINENO: result: $result" >&5
8207 echo "${ECHO_T}$result" >&6; }
8211 defaultval
=$wxUSE_ALL_FEATURES
8212 if test -z "$defaultval"; then
8213 if test x
"$enablestring" = xdisable
; then
8220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8221 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8222 # Check whether --enable-mshtmlhelp was given.
8223 if test "${enable_mshtmlhelp+set}" = set; then
8224 enableval
=$enable_mshtmlhelp;
8225 if test "$enableval" = yes; then
8226 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8228 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8233 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8238 eval "$wx_cv_use_mshtmlhelp"
8240 if test x"$enablestring" = xdisable; then
8241 if test $wxUSE_MS_HTML_HELP = yes; then
8247 result=$wxUSE_MS_HTML_HELP
8250 { echo "$as_me:$LINENO: result: $result" >&5
8251 echo "${ECHO_T}$result" >&6; }
8255 defaultval=$wxUSE_ALL_FEATURES
8256 if test -z "$defaultval"; then
8257 if test x"$enablestring" = xdisable; then
8264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8265 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8266 # Check whether --enable-html was given.
8267 if test "${enable_html+set}" = set; then
8268 enableval=$enable_html;
8269 if test "$enableval" = yes; then
8270 wx_cv_use_html='wxUSE_HTML
=yes'
8272 wx_cv_use_html='wxUSE_HTML
=no
'
8277 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8282 eval "$wx_cv_use_html"
8284 if test x"$enablestring" = xdisable; then
8285 if test $wxUSE_HTML = yes; then
8294 { echo "$as_me:$LINENO: result
: $result" >&5
8295 echo "${ECHO_T}$result" >&6; }
8299 defaultval=$wxUSE_ALL_FEATURES
8300 if test -z "$defaultval"; then
8301 if test x"$enablestring" = xdisable; then
8308 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8309 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8310 # Check whether --enable-htmlhelp was given.
8311 if test "${enable_htmlhelp+set}" = set; then
8312 enableval=$enable_htmlhelp;
8313 if test "$enableval" = yes; then
8314 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8316 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8321 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8326 eval "$wx_cv_use_htmlhelp"
8328 if test x
"$enablestring" = xdisable
; then
8329 if test $wxUSE_WXHTML_HELP = yes; then
8335 result
=$wxUSE_WXHTML_HELP
8338 { echo "$as_me:$LINENO: result: $result" >&5
8339 echo "${ECHO_T}$result" >&6; }
8343 defaultval
=$wxUSE_ALL_FEATURES
8344 if test -z "$defaultval"; then
8345 if test x
"$enablestring" = xdisable
; then
8352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8353 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8354 # Check whether --enable-xrc was given.
8355 if test "${enable_xrc+set}" = set; then
8356 enableval
=$enable_xrc;
8357 if test "$enableval" = yes; then
8358 wx_cv_use_xrc
='wxUSE_XRC=yes'
8360 wx_cv_use_xrc
='wxUSE_XRC=no'
8365 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8370 eval "$wx_cv_use_xrc"
8372 if test x"$enablestring" = xdisable; then
8373 if test $wxUSE_XRC = yes; then
8382 { echo "$as_me:$LINENO: result: $result" >&5
8383 echo "${ECHO_T}$result" >&6; }
8387 defaultval=$wxUSE_ALL_FEATURES
8388 if test -z "$defaultval"; then
8389 if test x"$enablestring" = xdisable; then
8396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8397 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8398 # Check whether --enable-aui was given.
8399 if test "${enable_aui+set}" = set; then
8400 enableval=$enable_aui;
8401 if test "$enableval" = yes; then
8402 wx_cv_use_aui='wxUSE_AUI
=yes'
8404 wx_cv_use_aui='wxUSE_AUI
=no
'
8409 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8414 eval "$wx_cv_use_aui"
8416 if test x"$enablestring" = xdisable; then
8417 if test $wxUSE_AUI = yes; then
8426 { echo "$as_me:$LINENO: result
: $result" >&5
8427 echo "${ECHO_T}$result" >&6; }
8431 defaultval=$wxUSE_ALL_FEATURES
8432 if test -z "$defaultval"; then
8433 if test x"$enablestring" = xdisable; then
8440 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stc" >&5
8441 echo $ECHO_N "checking
for --${enablestring:-enable}-stc...
$ECHO_C" >&6; }
8442 # Check whether --enable-stc was given.
8443 if test "${enable_stc+set}" = set; then
8444 enableval=$enable_stc;
8445 if test "$enableval" = yes; then
8446 wx_cv_use_stc='wxUSE_STC=yes'
8448 wx_cv_use_stc='wxUSE_STC=no'
8453 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8458 eval "$wx_cv_use_stc"
8460 if test x
"$enablestring" = xdisable
; then
8461 if test $wxUSE_STC = yes; then
8470 { echo "$as_me:$LINENO: result: $result" >&5
8471 echo "${ECHO_T}$result" >&6; }
8475 defaultval
=$wxUSE_ALL_FEATURES
8476 if test -z "$defaultval"; then
8477 if test x
"$enablestring" = xdisable
; then
8484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8485 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8486 # Check whether --enable-constraints was given.
8487 if test "${enable_constraints+set}" = set; then
8488 enableval
=$enable_constraints;
8489 if test "$enableval" = yes; then
8490 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
8492 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
8497 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8502 eval "$wx_cv_use_constraints"
8504 if test x"$enablestring" = xdisable; then
8505 if test $wxUSE_CONSTRAINTS = yes; then
8511 result=$wxUSE_CONSTRAINTS
8514 { echo "$as_me:$LINENO: result: $result" >&5
8515 echo "${ECHO_T}$result" >&6; }
8519 defaultval=$wxUSE_ALL_FEATURES
8520 if test -z "$defaultval"; then
8521 if test x"$enablestring" = xdisable; then
8528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8529 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8530 # Check whether --enable-printarch was given.
8531 if test "${enable_printarch+set}" = set; then
8532 enableval=$enable_printarch;
8533 if test "$enableval" = yes; then
8534 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
8536 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
8541 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8546 eval "$wx_cv_use_printarch"
8548 if test x"$enablestring" = xdisable; then
8549 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8555 result=$wxUSE_PRINTING_ARCHITECTURE
8558 { echo "$as_me:$LINENO: result
: $result" >&5
8559 echo "${ECHO_T}$result" >&6; }
8563 defaultval=$wxUSE_ALL_FEATURES
8564 if test -z "$defaultval"; then
8565 if test x"$enablestring" = xdisable; then
8572 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
8573 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
8574 # Check whether --enable-mdi was given.
8575 if test "${enable_mdi+set}" = set; then
8576 enableval=$enable_mdi;
8577 if test "$enableval" = yes; then
8578 wx_cv_use_mdi='wxUSE_MDI=yes'
8580 wx_cv_use_mdi='wxUSE_MDI=no'
8585 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8590 eval "$wx_cv_use_mdi"
8592 if test x
"$enablestring" = xdisable
; then
8593 if test $wxUSE_MDI = yes; then
8602 { echo "$as_me:$LINENO: result: $result" >&5
8603 echo "${ECHO_T}$result" >&6; }
8607 defaultval
=$wxUSE_ALL_FEATURES
8608 if test -z "$defaultval"; then
8609 if test x
"$enablestring" = xdisable
; then
8616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8617 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8618 # Check whether --enable-mdidoc was given.
8619 if test "${enable_mdidoc+set}" = set; then
8620 enableval
=$enable_mdidoc;
8621 if test "$enableval" = yes; then
8622 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
8624 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
8629 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8634 eval "$wx_cv_use_mdidoc"
8636 if test x"$enablestring" = xdisable; then
8637 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8643 result=$wxUSE_MDI_ARCHITECTURE
8646 { echo "$as_me:$LINENO: result: $result" >&5
8647 echo "${ECHO_T}$result" >&6; }
8651 defaultval=$wxUSE_ALL_FEATURES
8652 if test -z "$defaultval"; then
8653 if test x"$enablestring" = xdisable; then
8660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8661 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8662 # Check whether --enable-loggui was given.
8663 if test "${enable_loggui+set}" = set; then
8664 enableval=$enable_loggui;
8665 if test "$enableval" = yes; then
8666 wx_cv_use_loggui='wxUSE_LOGGUI
=yes'
8668 wx_cv_use_loggui='wxUSE_LOGGUI
=no
'
8673 wx_cv_use_loggui='wxUSE_LOGGUI
=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8678 eval "$wx_cv_use_loggui"
8680 if test x"$enablestring" = xdisable; then
8681 if test $wxUSE_LOGGUI = yes; then
8687 result=$wxUSE_LOGGUI
8690 { echo "$as_me:$LINENO: result
: $result" >&5
8691 echo "${ECHO_T}$result" >&6; }
8695 defaultval=$wxUSE_ALL_FEATURES
8696 if test -z "$defaultval"; then
8697 if test x"$enablestring" = xdisable; then
8704 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logwin" >&5
8705 echo $ECHO_N "checking
for --${enablestring:-enable}-logwin...
$ECHO_C" >&6; }
8706 # Check whether --enable-logwin was given.
8707 if test "${enable_logwin+set}" = set; then
8708 enableval=$enable_logwin;
8709 if test "$enableval" = yes; then
8710 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8712 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8717 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8722 eval "$wx_cv_use_logwin"
8724 if test x
"$enablestring" = xdisable
; then
8725 if test $wxUSE_LOGWINDOW = yes; then
8731 result
=$wxUSE_LOGWINDOW
8734 { echo "$as_me:$LINENO: result: $result" >&5
8735 echo "${ECHO_T}$result" >&6; }
8739 defaultval
=$wxUSE_ALL_FEATURES
8740 if test -z "$defaultval"; then
8741 if test x
"$enablestring" = xdisable
; then
8748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8749 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8750 # Check whether --enable-logdialog was given.
8751 if test "${enable_logdialog+set}" = set; then
8752 enableval
=$enable_logdialog;
8753 if test "$enableval" = yes; then
8754 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
8756 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
8761 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8766 eval "$wx_cv_use_logdialog"
8768 if test x"$enablestring" = xdisable; then
8769 if test $wxUSE_LOGDIALOG = yes; then
8775 result=$wxUSE_LOGDIALOG
8778 { echo "$as_me:$LINENO: result: $result" >&5
8779 echo "${ECHO_T}$result" >&6; }
8783 defaultval=$wxUSE_ALL_FEATURES
8784 if test -z "$defaultval"; then
8785 if test x"$enablestring" = xdisable; then
8792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8793 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8794 # Check whether --enable-webkit was given.
8795 if test "${enable_webkit+set}" = set; then
8796 enableval=$enable_webkit;
8797 if test "$enableval" = yes; then
8798 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
8800 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
8805 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8810 eval "$wx_cv_use_webkit"
8812 if test x"$enablestring" = xdisable; then
8813 if test $wxUSE_WEBKIT = yes; then
8819 result=$wxUSE_WEBKIT
8822 { echo "$as_me:$LINENO: result
: $result" >&5
8823 echo "${ECHO_T}$result" >&6; }
8827 defaultval=$wxUSE_ALL_FEATURES
8828 if test -z "$defaultval"; then
8829 if test x"$enablestring" = xdisable; then
8836 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-richtext" >&5
8837 echo $ECHO_N "checking
for --${enablestring:-enable}-richtext...
$ECHO_C" >&6; }
8838 # Check whether --enable-richtext was given.
8839 if test "${enable_richtext+set}" = set; then
8840 enableval=$enable_richtext;
8841 if test "$enableval" = yes; then
8842 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8844 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8849 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8854 eval "$wx_cv_use_richtext"
8856 if test x
"$enablestring" = xdisable
; then
8857 if test $wxUSE_RICHTEXT = yes; then
8863 result
=$wxUSE_RICHTEXT
8866 { echo "$as_me:$LINENO: result: $result" >&5
8867 echo "${ECHO_T}$result" >&6; }
8871 defaultval
=$wxUSE_ALL_FEATURES
8872 if test -z "$defaultval"; then
8873 if test x
"$enablestring" = xdisable
; then
8880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8881 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8882 # Check whether --enable-graphics_ctx was given.
8883 if test "${enable_graphics_ctx+set}" = set; then
8884 enableval
=$enable_graphics_ctx;
8885 if test "$enableval" = yes; then
8886 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
8888 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
8893 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
8898 eval "$wx_cv_use_graphics_ctx"
8900 if test x"$enablestring" = xdisable; then
8901 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
8907 result=$wxUSE_GRAPHICS_CONTEXT
8910 { echo "$as_me:$LINENO: result: $result" >&5
8911 echo "${ECHO_T}$result" >&6; }
8915 defaultval=$wxUSE_ALL_FEATURES
8916 if test -z "$defaultval"; then
8917 if test x"$enablestring" = xdisable; then
8924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8925 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8926 # Check whether --enable-postscript was given.
8927 if test "${enable_postscript+set}" = set; then
8928 enableval=$enable_postscript;
8929 if test "$enableval" = yes; then
8930 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
8932 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
8937 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
8942 eval "$wx_cv_use_postscript"
8944 if test x"$enablestring" = xdisable; then
8945 if test $wxUSE_POSTSCRIPT = yes; then
8951 result=$wxUSE_POSTSCRIPT
8954 { echo "$as_me:$LINENO: result
: $result" >&5
8955 echo "${ECHO_T}$result" >&6; }
8959 defaultval=$wxUSE_ALL_FEATURES
8960 if test -z "$defaultval"; then
8961 if test x"$enablestring" = xdisable; then
8968 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
8969 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
8970 # Check whether --enable-svg was given.
8971 if test "${enable_svg+set}" = set; then
8972 enableval=$enable_svg;
8973 if test "$enableval" = yes; then
8974 wx_cv_use_svg='wxUSE_SVG=yes'
8976 wx_cv_use_svg='wxUSE_SVG=no'
8981 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
8986 eval "$wx_cv_use_svg"
8988 if test x
"$enablestring" = xdisable
; then
8989 if test $wxUSE_SVG = yes; then
8998 { echo "$as_me:$LINENO: result: $result" >&5
8999 echo "${ECHO_T}$result" >&6; }
9005 defaultval
=$wxUSE_ALL_FEATURES
9006 if test -z "$defaultval"; then
9007 if test x
"$enablestring" = xdisable
; then
9014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9015 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9016 # Check whether --enable-clipboard was given.
9017 if test "${enable_clipboard+set}" = set; then
9018 enableval
=$enable_clipboard;
9019 if test "$enableval" = yes; then
9020 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9022 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9027 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9032 eval "$wx_cv_use_clipboard"
9034 if test x"$enablestring" = xdisable; then
9035 if test $wxUSE_CLIPBOARD = yes; then
9041 result=$wxUSE_CLIPBOARD
9044 { echo "$as_me:$LINENO: result: $result" >&5
9045 echo "${ECHO_T}$result" >&6; }
9049 defaultval=$wxUSE_ALL_FEATURES
9050 if test -z "$defaultval"; then
9051 if test x"$enablestring" = xdisable; then
9058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9060 # Check whether --enable-dnd was given.
9061 if test "${enable_dnd+set}" = set; then
9062 enableval=$enable_dnd;
9063 if test "$enableval" = yes; then
9064 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9066 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9071 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9076 eval "$wx_cv_use_dnd"
9078 if test x"$enablestring" = xdisable; then
9079 if test $wxUSE_DRAG_AND_DROP = yes; then
9085 result=$wxUSE_DRAG_AND_DROP
9088 { echo "$as_me:$LINENO: result
: $result" >&5
9089 echo "${ECHO_T}$result" >&6; }
9093 defaultval=$wxUSE_ALL_FEATURES
9094 if test -z "$defaultval"; then
9095 if test x"$enablestring" = xdisable; then
9102 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9103 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9104 # Check whether --enable-metafile was given.
9105 if test "${enable_metafile+set}" = set; then
9106 enableval=$enable_metafile;
9107 if test "$enableval" = yes; then
9108 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9110 wx_cv_use_metafile='wxUSE_METAFILE=no'
9115 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9120 eval "$wx_cv_use_metafile"
9122 if test x
"$enablestring" = xdisable
; then
9123 if test $wxUSE_METAFILE = yes; then
9129 result
=$wxUSE_METAFILE
9132 { echo "$as_me:$LINENO: result: $result" >&5
9133 echo "${ECHO_T}$result" >&6; }
9137 DEFAULT_wxUSE_CONTROLS
=none
9139 enablestring
=disable
9141 if test -z "$defaultval"; then
9142 if test x
"$enablestring" = xdisable
; then
9149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9150 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9151 # Check whether --enable-controls was given.
9152 if test "${enable_controls+set}" = set; then
9153 enableval
=$enable_controls;
9154 if test "$enableval" = yes; then
9155 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9157 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9162 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9167 eval "$wx_cv_use_controls"
9169 if test x"$enablestring" = xdisable; then
9170 if test $wxUSE_CONTROLS = yes; then
9176 result=$wxUSE_CONTROLS
9179 { echo "$as_me:$LINENO: result: $result" >&5
9180 echo "${ECHO_T}$result" >&6; }
9183 if test "$wxUSE_CONTROLS" = "yes"; then
9184 DEFAULT_wxUSE_ACCEL=yes
9185 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9186 DEFAULT_wxUSE_BMPBUTTON=yes
9187 DEFAULT_wxUSE_BUTTON=yes
9188 DEFAULT_wxUSE_CALCTRL=yes
9189 DEFAULT_wxUSE_CARET=yes
9190 DEFAULT_wxUSE_COMBOBOX=yes
9191 DEFAULT_wxUSE_CHECKBOX=yes
9192 DEFAULT_wxUSE_CHECKLISTBOX=yes
9193 DEFAULT_wxUSE_CHOICE=yes
9194 DEFAULT_wxUSE_CHOICEBOOK=yes
9195 DEFAULT_wxUSE_COLLPANE=yes
9196 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9197 DEFAULT_wxUSE_COMBOBOX=yes
9198 DEFAULT_wxUSE_DATEPICKCTRL=yes
9199 DEFAULT_wxUSE_DISPLAY=yes
9200 DEFAULT_wxUSE_DETECT_SM=yes
9201 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9202 DEFAULT_wxUSE_FILECTRL=yes
9203 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9204 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9205 DEFAULT_wxUSE_GAUGE=yes
9206 DEFAULT_wxUSE_GRID=yes
9207 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9208 DEFAULT_wxUSE_DATAVIEWCTRL=no
9209 DEFAULT_wxUSE_IMAGLIST=yes
9210 DEFAULT_wxUSE_LISTBOOK=yes
9211 DEFAULT_wxUSE_LISTBOX=yes
9212 DEFAULT_wxUSE_LISTCTRL=yes
9213 DEFAULT_wxUSE_NOTEBOOK=yes
9214 DEFAULT_wxUSE_RADIOBOX=yes
9215 DEFAULT_wxUSE_RADIOBTN=yes
9216 DEFAULT_wxUSE_SASH=yes
9217 DEFAULT_wxUSE_SCROLLBAR=yes
9218 DEFAULT_wxUSE_SEARCHCTRL=yes
9219 DEFAULT_wxUSE_SLIDER=yes
9220 DEFAULT_wxUSE_SPINBTN=yes
9221 DEFAULT_wxUSE_SPINCTRL=yes
9222 DEFAULT_wxUSE_SPLITTER=yes
9223 DEFAULT_wxUSE_STATBMP=yes
9224 DEFAULT_wxUSE_STATBOX=yes
9225 DEFAULT_wxUSE_STATLINE=yes
9226 DEFAULT_wxUSE_STATUSBAR=yes
9227 DEFAULT_wxUSE_TAB_DIALOG=yes
9228 DEFAULT_wxUSE_TOGGLEBTN=yes
9229 DEFAULT_wxUSE_TOOLBAR=yes
9230 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9231 DEFAULT_wxUSE_TOOLTIPS=yes
9232 DEFAULT_wxUSE_TREEBOOK=yes
9233 DEFAULT_wxUSE_TOOLBOOK=yes
9234 DEFAULT_wxUSE_TREECTRL=yes
9235 DEFAULT_wxUSE_POPUPWIN=yes
9236 DEFAULT_wxUSE_TIPWINDOW=yes
9237 elif test "$wxUSE_CONTROLS" = "no"; then
9238 DEFAULT_wxUSE_ACCEL=no
9239 DEFAULT_wxUSE_ANIMATIONCTRL=no
9240 DEFAULT_wxUSE_BMPBUTTON=no
9241 DEFAULT_wxUSE_BUTTON=no
9242 DEFAULT_wxUSE_CALCTRL=no
9243 DEFAULT_wxUSE_CARET=no
9244 DEFAULT_wxUSE_COLLPANE=no
9245 DEFAULT_wxUSE_COMBOBOX=no
9246 DEFAULT_wxUSE_CHECKBOX=no
9247 DEFAULT_wxUSE_CHECKLISTBOX=no
9248 DEFAULT_wxUSE_CHOICE=no
9249 DEFAULT_wxUSE_CHOICEBOOK=no
9250 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9251 DEFAULT_wxUSE_COMBOBOX=no
9252 DEFAULT_wxUSE_DATEPICKCTRL=no
9253 DEFAULT_wxUSE_DISPLAY=no
9254 DEFAULT_wxUSE_DETECT_SM=no
9255 DEFAULT_wxUSE_DIRPICKERCTRL=no
9256 DEFAULT_wxUSE_FILECTRL=no
9257 DEFAULT_wxUSE_FILEPICKERCTRL=no
9258 DEFAULT_wxUSE_FONTPICKERCTRL=no
9259 DEFAULT_wxUSE_GAUGE=no
9260 DEFAULT_wxUSE_GRID=no
9261 DEFAULT_wxUSE_HYPERLINKCTRL=no
9262 DEFAULT_wxUSE_DATAVIEWCTRL=no
9263 DEFAULT_wxUSE_IMAGLIST=no
9264 DEFAULT_wxUSE_LISTBOOK=no
9265 DEFAULT_wxUSE_LISTBOX=no
9266 DEFAULT_wxUSE_LISTCTRL=no
9267 DEFAULT_wxUSE_NOTEBOOK=no
9268 DEFAULT_wxUSE_RADIOBOX=no
9269 DEFAULT_wxUSE_RADIOBTN=no
9270 DEFAULT_wxUSE_SASH=no
9271 DEFAULT_wxUSE_SCROLLBAR=no
9272 DEFAULT_wxUSE_SEARCHCTRL=no
9273 DEFAULT_wxUSE_SLIDER=no
9274 DEFAULT_wxUSE_SPINBTN=no
9275 DEFAULT_wxUSE_SPINCTRL=no
9276 DEFAULT_wxUSE_SPLITTER=no
9277 DEFAULT_wxUSE_STATBMP=no
9278 DEFAULT_wxUSE_STATBOX=no
9279 DEFAULT_wxUSE_STATLINE=no
9280 DEFAULT_wxUSE_STATUSBAR=no
9281 DEFAULT_wxUSE_TAB_DIALOG=no
9282 DEFAULT_wxUSE_TOGGLEBTN=no
9283 DEFAULT_wxUSE_TOOLBAR=no
9284 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9285 DEFAULT_wxUSE_TOOLTIPS=no
9286 DEFAULT_wxUSE_TREEBOOK=no
9287 DEFAULT_wxUSE_TOOLBOOK=no
9288 DEFAULT_wxUSE_TREECTRL=no
9289 DEFAULT_wxUSE_POPUPWIN=no
9290 DEFAULT_wxUSE_TIPWINDOW=no
9295 defaultval=$wxUSE_ALL_FEATURES
9296 if test -z "$defaultval"; then
9297 if test x"$enablestring" = xdisable; then
9304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9305 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9306 # Check whether --enable-accel was given.
9307 if test "${enable_accel+set}" = set; then
9308 enableval=$enable_accel;
9309 if test "$enableval" = yes; then
9310 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9312 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9317 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9322 eval "$wx_cv_use_accel"
9324 if test x"$enablestring" = xdisable; then
9325 if test $wxUSE_ACCEL = yes; then
9334 { echo "$as_me:$LINENO: result
: $result" >&5
9335 echo "${ECHO_T}$result" >&6; }
9339 defaultval=$wxUSE_ALL_FEATURES
9340 if test -z "$defaultval"; then
9341 if test x"$enablestring" = xdisable; then
9348 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
9349 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9350 # Check whether --enable-animatectrl was given.
9351 if test "${enable_animatectrl+set}" = set; then
9352 enableval=$enable_animatectrl;
9353 if test "$enableval" = yes; then
9354 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9356 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9361 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9366 eval "$wx_cv_use_animatectrl"
9368 if test x
"$enablestring" = xdisable
; then
9369 if test $wxUSE_ANIMATIONCTRL = yes; then
9375 result
=$wxUSE_ANIMATIONCTRL
9378 { echo "$as_me:$LINENO: result: $result" >&5
9379 echo "${ECHO_T}$result" >&6; }
9383 defaultval
=$wxUSE_ALL_FEATURES
9384 if test -z "$defaultval"; then
9385 if test x
"$enablestring" = xdisable
; then
9392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9393 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9394 # Check whether --enable-button was given.
9395 if test "${enable_button+set}" = set; then
9396 enableval
=$enable_button;
9397 if test "$enableval" = yes; then
9398 wx_cv_use_button
='wxUSE_BUTTON=yes'
9400 wx_cv_use_button
='wxUSE_BUTTON=no'
9405 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9410 eval "$wx_cv_use_button"
9412 if test x"$enablestring" = xdisable; then
9413 if test $wxUSE_BUTTON = yes; then
9419 result=$wxUSE_BUTTON
9422 { echo "$as_me:$LINENO: result: $result" >&5
9423 echo "${ECHO_T}$result" >&6; }
9427 defaultval=$wxUSE_ALL_FEATURES
9428 if test -z "$defaultval"; then
9429 if test x"$enablestring" = xdisable; then
9436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9437 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9438 # Check whether --enable-bmpbutton was given.
9439 if test "${enable_bmpbutton+set}" = set; then
9440 enableval=$enable_bmpbutton;
9441 if test "$enableval" = yes; then
9442 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
9444 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
9449 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9454 eval "$wx_cv_use_bmpbutton"
9456 if test x"$enablestring" = xdisable; then
9457 if test $wxUSE_BMPBUTTON = yes; then
9463 result=$wxUSE_BMPBUTTON
9466 { echo "$as_me:$LINENO: result
: $result" >&5
9467 echo "${ECHO_T}$result" >&6; }
9471 defaultval=$wxUSE_ALL_FEATURES
9472 if test -z "$defaultval"; then
9473 if test x"$enablestring" = xdisable; then
9480 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
9481 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
9482 # Check whether --enable-bmpcombobox was given.
9483 if test "${enable_bmpcombobox+set}" = set; then
9484 enableval=$enable_bmpcombobox;
9485 if test "$enableval" = yes; then
9486 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9488 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9493 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9498 eval "$wx_cv_use_bmpcombobox"
9500 if test x
"$enablestring" = xdisable
; then
9501 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9507 result
=$wxUSE_BITMAPCOMBOBOX
9510 { echo "$as_me:$LINENO: result: $result" >&5
9511 echo "${ECHO_T}$result" >&6; }
9515 defaultval
=$wxUSE_ALL_FEATURES
9516 if test -z "$defaultval"; then
9517 if test x
"$enablestring" = xdisable
; then
9524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9525 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9526 # Check whether --enable-calendar was given.
9527 if test "${enable_calendar+set}" = set; then
9528 enableval
=$enable_calendar;
9529 if test "$enableval" = yes; then
9530 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9532 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9537 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9542 eval "$wx_cv_use_calendar"
9544 if test x"$enablestring" = xdisable; then
9545 if test $wxUSE_CALCTRL = yes; then
9551 result=$wxUSE_CALCTRL
9554 { echo "$as_me:$LINENO: result: $result" >&5
9555 echo "${ECHO_T}$result" >&6; }
9559 defaultval=$wxUSE_ALL_FEATURES
9560 if test -z "$defaultval"; then
9561 if test x"$enablestring" = xdisable; then
9568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9569 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9570 # Check whether --enable-caret was given.
9571 if test "${enable_caret+set}" = set; then
9572 enableval=$enable_caret;
9573 if test "$enableval" = yes; then
9574 wx_cv_use_caret='wxUSE_CARET
=yes'
9576 wx_cv_use_caret='wxUSE_CARET
=no
'
9581 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9586 eval "$wx_cv_use_caret"
9588 if test x"$enablestring" = xdisable; then
9589 if test $wxUSE_CARET = yes; then
9598 { echo "$as_me:$LINENO: result
: $result" >&5
9599 echo "${ECHO_T}$result" >&6; }
9603 defaultval=$wxUSE_ALL_FEATURES
9604 if test -z "$defaultval"; then
9605 if test x"$enablestring" = xdisable; then
9612 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
9613 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
9614 # Check whether --enable-checkbox was given.
9615 if test "${enable_checkbox+set}" = set; then
9616 enableval=$enable_checkbox;
9617 if test "$enableval" = yes; then
9618 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9620 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9625 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9630 eval "$wx_cv_use_checkbox"
9632 if test x
"$enablestring" = xdisable
; then
9633 if test $wxUSE_CHECKBOX = yes; then
9639 result
=$wxUSE_CHECKBOX
9642 { echo "$as_me:$LINENO: result: $result" >&5
9643 echo "${ECHO_T}$result" >&6; }
9647 defaultval
=$wxUSE_ALL_FEATURES
9648 if test -z "$defaultval"; then
9649 if test x
"$enablestring" = xdisable
; then
9656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9657 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9658 # Check whether --enable-checklst was given.
9659 if test "${enable_checklst+set}" = set; then
9660 enableval
=$enable_checklst;
9661 if test "$enableval" = yes; then
9662 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
9664 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
9669 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9674 eval "$wx_cv_use_checklst"
9676 if test x"$enablestring" = xdisable; then
9677 if test $wxUSE_CHECKLST = yes; then
9683 result=$wxUSE_CHECKLST
9686 { echo "$as_me:$LINENO: result: $result" >&5
9687 echo "${ECHO_T}$result" >&6; }
9691 defaultval=$wxUSE_ALL_FEATURES
9692 if test -z "$defaultval"; then
9693 if test x"$enablestring" = xdisable; then
9700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9701 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9702 # Check whether --enable-choice was given.
9703 if test "${enable_choice+set}" = set; then
9704 enableval=$enable_choice;
9705 if test "$enableval" = yes; then
9706 wx_cv_use_choice='wxUSE_CHOICE
=yes'
9708 wx_cv_use_choice='wxUSE_CHOICE
=no
'
9713 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9718 eval "$wx_cv_use_choice"
9720 if test x"$enablestring" = xdisable; then
9721 if test $wxUSE_CHOICE = yes; then
9727 result=$wxUSE_CHOICE
9730 { echo "$as_me:$LINENO: result
: $result" >&5
9731 echo "${ECHO_T}$result" >&6; }
9735 defaultval=$wxUSE_ALL_FEATURES
9736 if test -z "$defaultval"; then
9737 if test x"$enablestring" = xdisable; then
9744 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
9745 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
9746 # Check whether --enable-choicebook was given.
9747 if test "${enable_choicebook+set}" = set; then
9748 enableval=$enable_choicebook;
9749 if test "$enableval" = yes; then
9750 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9752 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9757 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9762 eval "$wx_cv_use_choicebook"
9764 if test x
"$enablestring" = xdisable
; then
9765 if test $wxUSE_CHOICEBOOK = yes; then
9771 result
=$wxUSE_CHOICEBOOK
9774 { echo "$as_me:$LINENO: result: $result" >&5
9775 echo "${ECHO_T}$result" >&6; }
9779 defaultval
=$wxUSE_ALL_FEATURES
9780 if test -z "$defaultval"; then
9781 if test x
"$enablestring" = xdisable
; then
9788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9789 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9790 # Check whether --enable-collpane was given.
9791 if test "${enable_collpane+set}" = set; then
9792 enableval
=$enable_collpane;
9793 if test "$enableval" = yes; then
9794 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
9796 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
9801 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9806 eval "$wx_cv_use_collpane"
9808 if test x"$enablestring" = xdisable; then
9809 if test $wxUSE_COLLPANE = yes; then
9815 result=$wxUSE_COLLPANE
9818 { echo "$as_me:$LINENO: result: $result" >&5
9819 echo "${ECHO_T}$result" >&6; }
9823 defaultval=$wxUSE_ALL_FEATURES
9824 if test -z "$defaultval"; then
9825 if test x"$enablestring" = xdisable; then
9832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9833 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9834 # Check whether --enable-colourpicker was given.
9835 if test "${enable_colourpicker+set}" = set; then
9836 enableval=$enable_colourpicker;
9837 if test "$enableval" = yes; then
9838 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
9840 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
9845 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
9850 eval "$wx_cv_use_colourpicker"
9852 if test x"$enablestring" = xdisable; then
9853 if test $wxUSE_COLOURPICKERCTRL = yes; then
9859 result=$wxUSE_COLOURPICKERCTRL
9862 { echo "$as_me:$LINENO: result
: $result" >&5
9863 echo "${ECHO_T}$result" >&6; }
9867 defaultval=$wxUSE_ALL_FEATURES
9868 if test -z "$defaultval"; then
9869 if test x"$enablestring" = xdisable; then
9876 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
9877 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
9878 # Check whether --enable-combobox was given.
9879 if test "${enable_combobox+set}" = set; then
9880 enableval=$enable_combobox;
9881 if test "$enableval" = yes; then
9882 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
9884 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
9889 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
9894 eval "$wx_cv_use_combobox"
9896 if test x
"$enablestring" = xdisable
; then
9897 if test $wxUSE_COMBOBOX = yes; then
9903 result
=$wxUSE_COMBOBOX
9906 { echo "$as_me:$LINENO: result: $result" >&5
9907 echo "${ECHO_T}$result" >&6; }
9911 defaultval
=$wxUSE_ALL_FEATURES
9912 if test -z "$defaultval"; then
9913 if test x
"$enablestring" = xdisable
; then
9920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9921 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9922 # Check whether --enable-comboctrl was given.
9923 if test "${enable_comboctrl+set}" = set; then
9924 enableval
=$enable_comboctrl;
9925 if test "$enableval" = yes; then
9926 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
9928 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
9933 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
9938 eval "$wx_cv_use_comboctrl"
9940 if test x"$enablestring" = xdisable; then
9941 if test $wxUSE_COMBOCTRL = yes; then
9947 result=$wxUSE_COMBOCTRL
9950 { echo "$as_me:$LINENO: result: $result" >&5
9951 echo "${ECHO_T}$result" >&6; }
9955 defaultval=$wxUSE_ALL_FEATURES
9956 if test -z "$defaultval"; then
9957 if test x"$enablestring" = xdisable; then
9964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9965 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9966 # Check whether --enable-datepick was given.
9967 if test "${enable_datepick+set}" = set; then
9968 enableval=$enable_datepick;
9969 if test "$enableval" = yes; then
9970 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
9972 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
9977 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
9982 eval "$wx_cv_use_datepick"
9984 if test x"$enablestring" = xdisable; then
9985 if test $wxUSE_DATEPICKCTRL = yes; then
9991 result=$wxUSE_DATEPICKCTRL
9994 { echo "$as_me:$LINENO: result
: $result" >&5
9995 echo "${ECHO_T}$result" >&6; }
9999 defaultval=$wxUSE_ALL_FEATURES
10000 if test -z "$defaultval"; then
10001 if test x"$enablestring" = xdisable; then
10008 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirpicker" >&5
10009 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10010 # Check whether --enable-dirpicker was given.
10011 if test "${enable_dirpicker+set}" = set; then
10012 enableval=$enable_dirpicker;
10013 if test "$enableval" = yes; then
10014 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10016 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10021 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10026 eval "$wx_cv_use_dirpicker"
10028 if test x
"$enablestring" = xdisable
; then
10029 if test $wxUSE_DIRPICKERCTRL = yes; then
10035 result
=$wxUSE_DIRPICKERCTRL
10038 { echo "$as_me:$LINENO: result: $result" >&5
10039 echo "${ECHO_T}$result" >&6; }
10043 defaultval
=$wxUSE_ALL_FEATURES
10044 if test -z "$defaultval"; then
10045 if test x
"$enablestring" = xdisable
; then
10052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10053 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10054 # Check whether --enable-display was given.
10055 if test "${enable_display+set}" = set; then
10056 enableval
=$enable_display;
10057 if test "$enableval" = yes; then
10058 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10060 wx_cv_use_display
='wxUSE_DISPLAY=no'
10065 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10070 eval "$wx_cv_use_display"
10072 if test x"$enablestring" = xdisable; then
10073 if test $wxUSE_DISPLAY = yes; then
10079 result=$wxUSE_DISPLAY
10082 { echo "$as_me:$LINENO: result: $result" >&5
10083 echo "${ECHO_T}$result" >&6; }
10087 defaultval=$wxUSE_ALL_FEATURES
10088 if test -z "$defaultval"; then
10089 if test x"$enablestring" = xdisable; then
10096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10097 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10098 # Check whether --enable-detect_sm was given.
10099 if test "${enable_detect_sm+set}" = set; then
10100 enableval=$enable_detect_sm;
10101 if test "$enableval" = yes; then
10102 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10104 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10109 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10114 eval "$wx_cv_use_detect_sm"
10116 if test x"$enablestring" = xdisable; then
10117 if test $wxUSE_DETECT_SM = yes; then
10123 result=$wxUSE_DETECT_SM
10126 { echo "$as_me:$LINENO: result
: $result" >&5
10127 echo "${ECHO_T}$result" >&6; }
10131 defaultval=$wxUSE_ALL_FEATURES
10132 if test -z "$defaultval"; then
10133 if test x"$enablestring" = xdisable; then
10140 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
10141 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
10142 # Check whether --enable-editablebox was given.
10143 if test "${enable_editablebox+set}" = set; then
10144 enableval=$enable_editablebox;
10145 if test "$enableval" = yes; then
10146 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10148 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10153 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10158 eval "$wx_cv_use_editablebox"
10160 if test x
"$enablestring" = xdisable
; then
10161 if test $wxUSE_EDITABLELISTBOX = yes; then
10167 result
=$wxUSE_EDITABLELISTBOX
10170 { echo "$as_me:$LINENO: result: $result" >&5
10171 echo "${ECHO_T}$result" >&6; }
10175 defaultval
=$wxUSE_ALL_FEATURES
10176 if test -z "$defaultval"; then
10177 if test x
"$enablestring" = xdisable
; then
10184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10185 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10186 # Check whether --enable-filepicker was given.
10187 if test "${enable_filepicker+set}" = set; then
10188 enableval
=$enable_filepicker;
10189 if test "$enableval" = yes; then
10190 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
10192 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
10197 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10202 eval "$wx_cv_use_filepicker"
10204 if test x"$enablestring" = xdisable; then
10205 if test $wxUSE_FILEPICKERCTRL = yes; then
10211 result=$wxUSE_FILEPICKERCTRL
10214 { echo "$as_me:$LINENO: result: $result" >&5
10215 echo "${ECHO_T}$result" >&6; }
10219 defaultval=$wxUSE_ALL_FEATURES
10220 if test -z "$defaultval"; then
10221 if test x"$enablestring" = xdisable; then
10228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10229 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10230 # Check whether --enable-filectrl was given.
10231 if test "${enable_filectrl+set}" = set; then
10232 enableval=$enable_filectrl;
10233 if test "$enableval" = yes; then
10234 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10236 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10241 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10246 eval "$wx_cv_use_filectrl"
10248 if test x"$enablestring" = xdisable; then
10249 if test $wxUSE_FILECTRL = yes; then
10255 result=$wxUSE_FILECTRL
10258 { echo "$as_me:$LINENO: result
: $result" >&5
10259 echo "${ECHO_T}$result" >&6; }
10263 defaultval=$wxUSE_ALL_FEATURES
10264 if test -z "$defaultval"; then
10265 if test x"$enablestring" = xdisable; then
10272 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
10273 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
10274 # Check whether --enable-fontpicker was given.
10275 if test "${enable_fontpicker+set}" = set; then
10276 enableval=$enable_fontpicker;
10277 if test "$enableval" = yes; then
10278 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10280 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10285 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10290 eval "$wx_cv_use_fontpicker"
10292 if test x
"$enablestring" = xdisable
; then
10293 if test $wxUSE_FONTPICKERCTRL = yes; then
10299 result
=$wxUSE_FONTPICKERCTRL
10302 { echo "$as_me:$LINENO: result: $result" >&5
10303 echo "${ECHO_T}$result" >&6; }
10307 defaultval
=$wxUSE_ALL_FEATURES
10308 if test -z "$defaultval"; then
10309 if test x
"$enablestring" = xdisable
; then
10316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10317 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10318 # Check whether --enable-gauge was given.
10319 if test "${enable_gauge+set}" = set; then
10320 enableval
=$enable_gauge;
10321 if test "$enableval" = yes; then
10322 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
10324 wx_cv_use_gauge
='wxUSE_GAUGE=no'
10329 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10334 eval "$wx_cv_use_gauge"
10336 if test x"$enablestring" = xdisable; then
10337 if test $wxUSE_GAUGE = yes; then
10343 result=$wxUSE_GAUGE
10346 { echo "$as_me:$LINENO: result: $result" >&5
10347 echo "${ECHO_T}$result" >&6; }
10351 defaultval=$wxUSE_ALL_FEATURES
10352 if test -z "$defaultval"; then
10353 if test x"$enablestring" = xdisable; then
10360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10361 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10362 # Check whether --enable-grid was given.
10363 if test "${enable_grid+set}" = set; then
10364 enableval=$enable_grid;
10365 if test "$enableval" = yes; then
10366 wx_cv_use_grid='wxUSE_GRID
=yes'
10368 wx_cv_use_grid='wxUSE_GRID
=no
'
10373 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10378 eval "$wx_cv_use_grid"
10380 if test x"$enablestring" = xdisable; then
10381 if test $wxUSE_GRID = yes; then
10390 { echo "$as_me:$LINENO: result
: $result" >&5
10391 echo "${ECHO_T}$result" >&6; }
10395 defaultval=$wxUSE_ALL_FEATURES
10396 if test -z "$defaultval"; then
10397 if test x"$enablestring" = xdisable; then
10404 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
10405 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10406 # Check whether --enable-dataviewctrl was given.
10407 if test "${enable_dataviewctrl+set}" = set; then
10408 enableval=$enable_dataviewctrl;
10409 if test "$enableval" = yes; then
10410 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10412 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10417 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10422 eval "$wx_cv_use_dataviewctrl"
10424 if test x
"$enablestring" = xdisable
; then
10425 if test $wxUSE_DATAVIEWCTRL = yes; then
10431 result
=$wxUSE_DATAVIEWCTRL
10434 { echo "$as_me:$LINENO: result: $result" >&5
10435 echo "${ECHO_T}$result" >&6; }
10439 defaultval
=$wxUSE_ALL_FEATURES
10440 if test -z "$defaultval"; then
10441 if test x
"$enablestring" = xdisable
; then
10448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10449 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10450 # Check whether --enable-hyperlink was given.
10451 if test "${enable_hyperlink+set}" = set; then
10452 enableval
=$enable_hyperlink;
10453 if test "$enableval" = yes; then
10454 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
10456 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
10461 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10466 eval "$wx_cv_use_hyperlink"
10468 if test x"$enablestring" = xdisable; then
10469 if test $wxUSE_HYPERLINKCTRL = yes; then
10475 result=$wxUSE_HYPERLINKCTRL
10478 { echo "$as_me:$LINENO: result: $result" >&5
10479 echo "${ECHO_T}$result" >&6; }
10483 defaultval=$wxUSE_ALL_FEATURES
10484 if test -z "$defaultval"; then
10485 if test x"$enablestring" = xdisable; then
10492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10493 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10494 # Check whether --enable-imaglist was given.
10495 if test "${enable_imaglist+set}" = set; then
10496 enableval=$enable_imaglist;
10497 if test "$enableval" = yes; then
10498 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
10500 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
10505 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10510 eval "$wx_cv_use_imaglist"
10512 if test x"$enablestring" = xdisable; then
10513 if test $wxUSE_IMAGLIST = yes; then
10519 result=$wxUSE_IMAGLIST
10522 { echo "$as_me:$LINENO: result
: $result" >&5
10523 echo "${ECHO_T}$result" >&6; }
10527 defaultval=$wxUSE_ALL_FEATURES
10528 if test -z "$defaultval"; then
10529 if test x"$enablestring" = xdisable; then
10536 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbook" >&5
10537 echo $ECHO_N "checking
for --${enablestring:-enable}-listbook...
$ECHO_C" >&6; }
10538 # Check whether --enable-listbook was given.
10539 if test "${enable_listbook+set}" = set; then
10540 enableval=$enable_listbook;
10541 if test "$enableval" = yes; then
10542 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10544 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10549 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10554 eval "$wx_cv_use_listbook"
10556 if test x
"$enablestring" = xdisable
; then
10557 if test $wxUSE_LISTBOOK = yes; then
10563 result
=$wxUSE_LISTBOOK
10566 { echo "$as_me:$LINENO: result: $result" >&5
10567 echo "${ECHO_T}$result" >&6; }
10571 defaultval
=$wxUSE_ALL_FEATURES
10572 if test -z "$defaultval"; then
10573 if test x
"$enablestring" = xdisable
; then
10580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10581 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10582 # Check whether --enable-listbox was given.
10583 if test "${enable_listbox+set}" = set; then
10584 enableval
=$enable_listbox;
10585 if test "$enableval" = yes; then
10586 wx_cv_use_listbox
='wxUSE_LISTBOX=yes'
10588 wx_cv_use_listbox
='wxUSE_LISTBOX=no'
10593 wx_cv_use_listbox
='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10598 eval "$wx_cv_use_listbox"
10600 if test x"$enablestring" = xdisable; then
10601 if test $wxUSE_LISTBOX = yes; then
10607 result=$wxUSE_LISTBOX
10610 { echo "$as_me:$LINENO: result: $result" >&5
10611 echo "${ECHO_T}$result" >&6; }
10615 defaultval=$wxUSE_ALL_FEATURES
10616 if test -z "$defaultval"; then
10617 if test x"$enablestring" = xdisable; then
10624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10625 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10626 # Check whether --enable-listctrl was given.
10627 if test "${enable_listctrl+set}" = set; then
10628 enableval=$enable_listctrl;
10629 if test "$enableval" = yes; then
10630 wx_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
10632 wx_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
10637 wx_cv_use_listctrl='wxUSE_LISTCTRL
=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10642 eval "$wx_cv_use_listctrl"
10644 if test x"$enablestring" = xdisable; then
10645 if test $wxUSE_LISTCTRL = yes; then
10651 result=$wxUSE_LISTCTRL
10654 { echo "$as_me:$LINENO: result
: $result" >&5
10655 echo "${ECHO_T}$result" >&6; }
10659 defaultval=$wxUSE_ALL_FEATURES
10660 if test -z "$defaultval"; then
10661 if test x"$enablestring" = xdisable; then
10668 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notebook" >&5
10669 echo $ECHO_N "checking
for --${enablestring:-enable}-notebook...
$ECHO_C" >&6; }
10670 # Check whether --enable-notebook was given.
10671 if test "${enable_notebook+set}" = set; then
10672 enableval=$enable_notebook;
10673 if test "$enableval" = yes; then
10674 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10676 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10681 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10686 eval "$wx_cv_use_notebook"
10688 if test x
"$enablestring" = xdisable
; then
10689 if test $wxUSE_NOTEBOOK = yes; then
10695 result
=$wxUSE_NOTEBOOK
10698 { echo "$as_me:$LINENO: result: $result" >&5
10699 echo "${ECHO_T}$result" >&6; }
10703 defaultval
=$wxUSE_ALL_FEATURES
10704 if test -z "$defaultval"; then
10705 if test x
"$enablestring" = xdisable
; then
10712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10713 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10714 # Check whether --enable-notifmsg was given.
10715 if test "${enable_notifmsg+set}" = set; then
10716 enableval
=$enable_notifmsg;
10717 if test "$enableval" = yes; then
10718 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=yes'
10720 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=no'
10725 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10730 eval "$wx_cv_use_notifmsg"
10732 if test x"$enablestring" = xdisable; then
10733 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10739 result=$wxUSE_NOTIFICATION_MESSAGE
10742 { echo "$as_me:$LINENO: result: $result" >&5
10743 echo "${ECHO_T}$result" >&6; }
10747 defaultval=$wxUSE_ALL_FEATURES
10748 if test -z "$defaultval"; then
10749 if test x"$enablestring" = xdisable; then
10756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10757 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10758 # Check whether --enable-odcombobox was given.
10759 if test "${enable_odcombobox+set}" = set; then
10760 enableval=$enable_odcombobox;
10761 if test "$enableval" = yes; then
10762 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
10764 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
10769 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10774 eval "$wx_cv_use_odcombobox"
10776 if test x"$enablestring" = xdisable; then
10777 if test $wxUSE_ODCOMBOBOX = yes; then
10783 result=$wxUSE_ODCOMBOBOX
10786 { echo "$as_me:$LINENO: result
: $result" >&5
10787 echo "${ECHO_T}$result" >&6; }
10791 defaultval=$wxUSE_ALL_FEATURES
10792 if test -z "$defaultval"; then
10793 if test x"$enablestring" = xdisable; then
10800 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobox" >&5
10801 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6; }
10802 # Check whether --enable-radiobox was given.
10803 if test "${enable_radiobox+set}" = set; then
10804 enableval=$enable_radiobox;
10805 if test "$enableval" = yes; then
10806 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10808 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
10813 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
10818 eval "$wx_cv_use_radiobox"
10820 if test x
"$enablestring" = xdisable
; then
10821 if test $wxUSE_RADIOBOX = yes; then
10827 result
=$wxUSE_RADIOBOX
10830 { echo "$as_me:$LINENO: result: $result" >&5
10831 echo "${ECHO_T}$result" >&6; }
10835 defaultval
=$wxUSE_ALL_FEATURES
10836 if test -z "$defaultval"; then
10837 if test x
"$enablestring" = xdisable
; then
10844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10845 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10846 # Check whether --enable-radiobtn was given.
10847 if test "${enable_radiobtn+set}" = set; then
10848 enableval
=$enable_radiobtn;
10849 if test "$enableval" = yes; then
10850 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
10852 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
10857 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
10862 eval "$wx_cv_use_radiobtn"
10864 if test x"$enablestring" = xdisable; then
10865 if test $wxUSE_RADIOBTN = yes; then
10871 result=$wxUSE_RADIOBTN
10874 { echo "$as_me:$LINENO: result: $result" >&5
10875 echo "${ECHO_T}$result" >&6; }
10879 defaultval=$wxUSE_ALL_FEATURES
10880 if test -z "$defaultval"; then
10881 if test x"$enablestring" = xdisable; then
10888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10889 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10890 # Check whether --enable-sash was given.
10891 if test "${enable_sash+set}" = set; then
10892 enableval=$enable_sash;
10893 if test "$enableval" = yes; then
10894 wx_cv_use_sash='wxUSE_SASH
=yes'
10896 wx_cv_use_sash='wxUSE_SASH
=no
'
10901 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
10906 eval "$wx_cv_use_sash"
10908 if test x"$enablestring" = xdisable; then
10909 if test $wxUSE_SASH = yes; then
10918 { echo "$as_me:$LINENO: result
: $result" >&5
10919 echo "${ECHO_T}$result" >&6; }
10923 defaultval=$wxUSE_ALL_FEATURES
10924 if test -z "$defaultval"; then
10925 if test x"$enablestring" = xdisable; then
10932 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
10933 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6; }
10934 # Check whether --enable-scrollbar was given.
10935 if test "${enable_scrollbar+set}" = set; then
10936 enableval=$enable_scrollbar;
10937 if test "$enableval" = yes; then
10938 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10940 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10945 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
10950 eval "$wx_cv_use_scrollbar"
10952 if test x
"$enablestring" = xdisable
; then
10953 if test $wxUSE_SCROLLBAR = yes; then
10959 result
=$wxUSE_SCROLLBAR
10962 { echo "$as_me:$LINENO: result: $result" >&5
10963 echo "${ECHO_T}$result" >&6; }
10967 defaultval
=$wxUSE_ALL_FEATURES
10968 if test -z "$defaultval"; then
10969 if test x
"$enablestring" = xdisable
; then
10976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10977 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10978 # Check whether --enable-searchctrl was given.
10979 if test "${enable_searchctrl+set}" = set; then
10980 enableval
=$enable_searchctrl;
10981 if test "$enableval" = yes; then
10982 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
10984 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
10989 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
10994 eval "$wx_cv_use_searchctrl"
10996 if test x"$enablestring" = xdisable; then
10997 if test $wxUSE_SEARCHCTRL = yes; then
11003 result=$wxUSE_SEARCHCTRL
11006 { echo "$as_me:$LINENO: result: $result" >&5
11007 echo "${ECHO_T}$result" >&6; }
11011 defaultval=$wxUSE_ALL_FEATURES
11012 if test -z "$defaultval"; then
11013 if test x"$enablestring" = xdisable; then
11020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11021 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11022 # Check whether --enable-slider was given.
11023 if test "${enable_slider+set}" = set; then
11024 enableval=$enable_slider;
11025 if test "$enableval" = yes; then
11026 wx_cv_use_slider='wxUSE_SLIDER
=yes'
11028 wx_cv_use_slider='wxUSE_SLIDER
=no
'
11033 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11038 eval "$wx_cv_use_slider"
11040 if test x"$enablestring" = xdisable; then
11041 if test $wxUSE_SLIDER = yes; then
11047 result=$wxUSE_SLIDER
11050 { echo "$as_me:$LINENO: result
: $result" >&5
11051 echo "${ECHO_T}$result" >&6; }
11055 defaultval=$wxUSE_ALL_FEATURES
11056 if test -z "$defaultval"; then
11057 if test x"$enablestring" = xdisable; then
11064 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
11065 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6; }
11066 # Check whether --enable-spinbtn was given.
11067 if test "${enable_spinbtn+set}" = set; then
11068 enableval=$enable_spinbtn;
11069 if test "$enableval" = yes; then
11070 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11072 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11077 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11082 eval "$wx_cv_use_spinbtn"
11084 if test x
"$enablestring" = xdisable
; then
11085 if test $wxUSE_SPINBTN = yes; then
11091 result
=$wxUSE_SPINBTN
11094 { echo "$as_me:$LINENO: result: $result" >&5
11095 echo "${ECHO_T}$result" >&6; }
11099 defaultval
=$wxUSE_ALL_FEATURES
11100 if test -z "$defaultval"; then
11101 if test x
"$enablestring" = xdisable
; then
11108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11109 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11110 # Check whether --enable-spinctrl was given.
11111 if test "${enable_spinctrl+set}" = set; then
11112 enableval
=$enable_spinctrl;
11113 if test "$enableval" = yes; then
11114 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
11116 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
11121 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11126 eval "$wx_cv_use_spinctrl"
11128 if test x"$enablestring" = xdisable; then
11129 if test $wxUSE_SPINCTRL = yes; then
11135 result=$wxUSE_SPINCTRL
11138 { echo "$as_me:$LINENO: result: $result" >&5
11139 echo "${ECHO_T}$result" >&6; }
11143 defaultval=$wxUSE_ALL_FEATURES
11144 if test -z "$defaultval"; then
11145 if test x"$enablestring" = xdisable; then
11152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11153 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11154 # Check whether --enable-splitter was given.
11155 if test "${enable_splitter+set}" = set; then
11156 enableval=$enable_splitter;
11157 if test "$enableval" = yes; then
11158 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
11160 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
11165 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11170 eval "$wx_cv_use_splitter"
11172 if test x"$enablestring" = xdisable; then
11173 if test $wxUSE_SPLITTER = yes; then
11179 result=$wxUSE_SPLITTER
11182 { echo "$as_me:$LINENO: result
: $result" >&5
11183 echo "${ECHO_T}$result" >&6; }
11187 defaultval=$wxUSE_ALL_FEATURES
11188 if test -z "$defaultval"; then
11189 if test x"$enablestring" = xdisable; then
11196 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
11197 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6; }
11198 # Check whether --enable-statbmp was given.
11199 if test "${enable_statbmp+set}" = set; then
11200 enableval=$enable_statbmp;
11201 if test "$enableval" = yes; then
11202 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11204 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11209 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11214 eval "$wx_cv_use_statbmp"
11216 if test x
"$enablestring" = xdisable
; then
11217 if test $wxUSE_STATBMP = yes; then
11223 result
=$wxUSE_STATBMP
11226 { echo "$as_me:$LINENO: result: $result" >&5
11227 echo "${ECHO_T}$result" >&6; }
11231 defaultval
=$wxUSE_ALL_FEATURES
11232 if test -z "$defaultval"; then
11233 if test x
"$enablestring" = xdisable
; then
11240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11241 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11242 # Check whether --enable-statbox was given.
11243 if test "${enable_statbox+set}" = set; then
11244 enableval
=$enable_statbox;
11245 if test "$enableval" = yes; then
11246 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
11248 wx_cv_use_statbox
='wxUSE_STATBOX=no'
11253 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11258 eval "$wx_cv_use_statbox"
11260 if test x"$enablestring" = xdisable; then
11261 if test $wxUSE_STATBOX = yes; then
11267 result=$wxUSE_STATBOX
11270 { echo "$as_me:$LINENO: result: $result" >&5
11271 echo "${ECHO_T}$result" >&6; }
11275 defaultval=$wxUSE_ALL_FEATURES
11276 if test -z "$defaultval"; then
11277 if test x"$enablestring" = xdisable; then
11284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11285 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11286 # Check whether --enable-statline was given.
11287 if test "${enable_statline+set}" = set; then
11288 enableval=$enable_statline;
11289 if test "$enableval" = yes; then
11290 wx_cv_use_statline='wxUSE_STATLINE
=yes'
11292 wx_cv_use_statline='wxUSE_STATLINE
=no
'
11297 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11302 eval "$wx_cv_use_statline"
11304 if test x"$enablestring" = xdisable; then
11305 if test $wxUSE_STATLINE = yes; then
11311 result=$wxUSE_STATLINE
11314 { echo "$as_me:$LINENO: result
: $result" >&5
11315 echo "${ECHO_T}$result" >&6; }
11319 defaultval=$wxUSE_ALL_FEATURES
11320 if test -z "$defaultval"; then
11321 if test x"$enablestring" = xdisable; then
11328 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
11329 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6; }
11330 # Check whether --enable-stattext was given.
11331 if test "${enable_stattext+set}" = set; then
11332 enableval=$enable_stattext;
11333 if test "$enableval" = yes; then
11334 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11336 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11341 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11346 eval "$wx_cv_use_stattext"
11348 if test x
"$enablestring" = xdisable
; then
11349 if test $wxUSE_STATTEXT = yes; then
11355 result
=$wxUSE_STATTEXT
11358 { echo "$as_me:$LINENO: result: $result" >&5
11359 echo "${ECHO_T}$result" >&6; }
11363 defaultval
=$wxUSE_ALL_FEATURES
11364 if test -z "$defaultval"; then
11365 if test x
"$enablestring" = xdisable
; then
11372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11373 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11374 # Check whether --enable-statusbar was given.
11375 if test "${enable_statusbar+set}" = set; then
11376 enableval
=$enable_statusbar;
11377 if test "$enableval" = yes; then
11378 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
11380 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
11385 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11390 eval "$wx_cv_use_statusbar"
11392 if test x"$enablestring" = xdisable; then
11393 if test $wxUSE_STATUSBAR = yes; then
11399 result=$wxUSE_STATUSBAR
11402 { echo "$as_me:$LINENO: result: $result" >&5
11403 echo "${ECHO_T}$result" >&6; }
11407 defaultval=$wxUSE_ALL_FEATURES
11408 if test -z "$defaultval"; then
11409 if test x"$enablestring" = xdisable; then
11416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11417 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11418 # Check whether --enable-tabdialog was given.
11419 if test "${enable_tabdialog+set}" = set; then
11420 enableval=$enable_tabdialog;
11421 if test "$enableval" = yes; then
11422 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=yes'
11424 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=no
'
11429 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11434 eval "$wx_cv_use_tabdialog"
11436 if test x"$enablestring" = xdisable; then
11437 if test $wxUSE_TAB_DIALOG = yes; then
11443 result=$wxUSE_TAB_DIALOG
11446 { echo "$as_me:$LINENO: result
: $result" >&5
11447 echo "${ECHO_T}$result" >&6; }
11451 defaultval=$wxUSE_ALL_FEATURES
11452 if test -z "$defaultval"; then
11453 if test x"$enablestring" = xdisable; then
11460 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
11461 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
11462 # Check whether --enable-taskbaricon was given.
11463 if test "${enable_taskbaricon+set}" = set; then
11464 enableval=$enable_taskbaricon;
11465 if test "$enableval" = yes; then
11466 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11468 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11473 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11478 eval "$wx_cv_use_taskbaricon"
11480 if test x
"$enablestring" = xdisable
; then
11481 if test $wxUSE_TASKBARICON = yes; then
11487 result
=$wxUSE_TASKBARICON
11490 { echo "$as_me:$LINENO: result: $result" >&5
11491 echo "${ECHO_T}$result" >&6; }
11495 defaultval
=$wxUSE_ALL_FEATURES
11496 if test -z "$defaultval"; then
11497 if test x
"$enablestring" = xdisable
; then
11504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11505 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11506 # Check whether --enable-textctrl was given.
11507 if test "${enable_textctrl+set}" = set; then
11508 enableval
=$enable_textctrl;
11509 if test "$enableval" = yes; then
11510 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
11512 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
11517 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11522 eval "$wx_cv_use_textctrl"
11524 if test x"$enablestring" = xdisable; then
11525 if test $wxUSE_TEXTCTRL = yes; then
11531 result=$wxUSE_TEXTCTRL
11534 { echo "$as_me:$LINENO: result: $result" >&5
11535 echo "${ECHO_T}$result" >&6; }
11539 defaultval=$wxUSE_ALL_FEATURES
11540 if test -z "$defaultval"; then
11541 if test x"$enablestring" = xdisable; then
11548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11549 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11550 # Check whether --enable-togglebtn was given.
11551 if test "${enable_togglebtn+set}" = set; then
11552 enableval=$enable_togglebtn;
11553 if test "$enableval" = yes; then
11554 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
11556 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
11561 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11566 eval "$wx_cv_use_togglebtn"
11568 if test x"$enablestring" = xdisable; then
11569 if test $wxUSE_TOGGLEBTN = yes; then
11575 result=$wxUSE_TOGGLEBTN
11578 { echo "$as_me:$LINENO: result
: $result" >&5
11579 echo "${ECHO_T}$result" >&6; }
11583 defaultval=$wxUSE_ALL_FEATURES
11584 if test -z "$defaultval"; then
11585 if test x"$enablestring" = xdisable; then
11592 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbar" >&5
11593 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbar...
$ECHO_C" >&6; }
11594 # Check whether --enable-toolbar was given.
11595 if test "${enable_toolbar+set}" = set; then
11596 enableval=$enable_toolbar;
11597 if test "$enableval" = yes; then
11598 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11600 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11605 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11610 eval "$wx_cv_use_toolbar"
11612 if test x
"$enablestring" = xdisable
; then
11613 if test $wxUSE_TOOLBAR = yes; then
11619 result
=$wxUSE_TOOLBAR
11622 { echo "$as_me:$LINENO: result: $result" >&5
11623 echo "${ECHO_T}$result" >&6; }
11627 defaultval
=$wxUSE_ALL_FEATURES
11628 if test -z "$defaultval"; then
11629 if test x
"$enablestring" = xdisable
; then
11636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11637 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11638 # Check whether --enable-tbarnative was given.
11639 if test "${enable_tbarnative+set}" = set; then
11640 enableval
=$enable_tbarnative;
11641 if test "$enableval" = yes; then
11642 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
11644 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
11649 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11654 eval "$wx_cv_use_tbarnative"
11656 if test x"$enablestring" = xdisable; then
11657 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11663 result=$wxUSE_TOOLBAR_NATIVE
11666 { echo "$as_me:$LINENO: result: $result" >&5
11667 echo "${ECHO_T}$result" >&6; }
11671 defaultval=$wxUSE_ALL_FEATURES
11672 if test -z "$defaultval"; then
11673 if test x"$enablestring" = xdisable; then
11680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11681 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11682 # Check whether --enable-treebook was given.
11683 if test "${enable_treebook+set}" = set; then
11684 enableval=$enable_treebook;
11685 if test "$enableval" = yes; then
11686 wx_cv_use_treebook='wxUSE_TREEBOOK
=yes'
11688 wx_cv_use_treebook='wxUSE_TREEBOOK
=no
'
11693 wx_cv_use_treebook='wxUSE_TREEBOOK
=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11698 eval "$wx_cv_use_treebook"
11700 if test x"$enablestring" = xdisable; then
11701 if test $wxUSE_TREEBOOK = yes; then
11707 result=$wxUSE_TREEBOOK
11710 { echo "$as_me:$LINENO: result
: $result" >&5
11711 echo "${ECHO_T}$result" >&6; }
11715 defaultval=$wxUSE_ALL_FEATURES
11716 if test -z "$defaultval"; then
11717 if test x"$enablestring" = xdisable; then
11724 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
11725 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
11726 # Check whether --enable-toolbook was given.
11727 if test "${enable_toolbook+set}" = set; then
11728 enableval=$enable_toolbook;
11729 if test "$enableval" = yes; then
11730 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11732 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11737 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11742 eval "$wx_cv_use_toolbook"
11744 if test x
"$enablestring" = xdisable
; then
11745 if test $wxUSE_TOOLBOOK = yes; then
11751 result
=$wxUSE_TOOLBOOK
11754 { echo "$as_me:$LINENO: result: $result" >&5
11755 echo "${ECHO_T}$result" >&6; }
11759 defaultval
=$wxUSE_ALL_FEATURES
11760 if test -z "$defaultval"; then
11761 if test x
"$enablestring" = xdisable
; then
11768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11769 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11770 # Check whether --enable-treectrl was given.
11771 if test "${enable_treectrl+set}" = set; then
11772 enableval
=$enable_treectrl;
11773 if test "$enableval" = yes; then
11774 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
11776 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
11781 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11786 eval "$wx_cv_use_treectrl"
11788 if test x"$enablestring" = xdisable; then
11789 if test $wxUSE_TREECTRL = yes; then
11795 result=$wxUSE_TREECTRL
11798 { echo "$as_me:$LINENO: result: $result" >&5
11799 echo "${ECHO_T}$result" >&6; }
11803 defaultval=$wxUSE_ALL_FEATURES
11804 if test -z "$defaultval"; then
11805 if test x"$enablestring" = xdisable; then
11812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11813 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11814 # Check whether --enable-tipwindow was given.
11815 if test "${enable_tipwindow+set}" = set; then
11816 enableval=$enable_tipwindow;
11817 if test "$enableval" = yes; then
11818 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
11820 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
11825 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11830 eval "$wx_cv_use_tipwindow"
11832 if test x"$enablestring" = xdisable; then
11833 if test $wxUSE_TIPWINDOW = yes; then
11839 result=$wxUSE_TIPWINDOW
11842 { echo "$as_me:$LINENO: result
: $result" >&5
11843 echo "${ECHO_T}$result" >&6; }
11847 defaultval=$wxUSE_ALL_FEATURES
11848 if test -z "$defaultval"; then
11849 if test x"$enablestring" = xdisable; then
11856 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-popupwin" >&5
11857 echo $ECHO_N "checking
for --${enablestring:-enable}-popupwin...
$ECHO_C" >&6; }
11858 # Check whether --enable-popupwin was given.
11859 if test "${enable_popupwin+set}" = set; then
11860 enableval=$enable_popupwin;
11861 if test "$enableval" = yes; then
11862 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11864 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11869 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11874 eval "$wx_cv_use_popupwin"
11876 if test x
"$enablestring" = xdisable
; then
11877 if test $wxUSE_POPUPWIN = yes; then
11883 result
=$wxUSE_POPUPWIN
11886 { echo "$as_me:$LINENO: result: $result" >&5
11887 echo "${ECHO_T}$result" >&6; }
11893 defaultval
=$wxUSE_ALL_FEATURES
11894 if test -z "$defaultval"; then
11895 if test x
"$enablestring" = xdisable
; then
11902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11903 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11904 # Check whether --enable-commondlg was given.
11905 if test "${enable_commondlg+set}" = set; then
11906 enableval
=$enable_commondlg;
11907 if test "$enableval" = yes; then
11908 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
11910 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
11915 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
11920 eval "$wx_cv_use_commondlg"
11922 if test x"$enablestring" = xdisable; then
11923 if test $wxUSE_COMMONDLGS = yes; then
11929 result=$wxUSE_COMMONDLGS
11932 { echo "$as_me:$LINENO: result: $result" >&5
11933 echo "${ECHO_T}$result" >&6; }
11937 defaultval=$wxUSE_ALL_FEATURES
11938 if test -z "$defaultval"; then
11939 if test x"$enablestring" = xdisable; then
11946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11947 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11948 # Check whether --enable-aboutdlg was given.
11949 if test "${enable_aboutdlg+set}" = set; then
11950 enableval=$enable_aboutdlg;
11951 if test "$enableval" = yes; then
11952 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
11954 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
11959 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
11964 eval "$wx_cv_use_aboutdlg"
11966 if test x"$enablestring" = xdisable; then
11967 if test $wxUSE_ABOUTDLG = yes; then
11973 result=$wxUSE_ABOUTDLG
11976 { echo "$as_me:$LINENO: result
: $result" >&5
11977 echo "${ECHO_T}$result" >&6; }
11981 defaultval=$wxUSE_ALL_FEATURES
11982 if test -z "$defaultval"; then
11983 if test x"$enablestring" = xdisable; then
11990 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicedlg" >&5
11991 echo $ECHO_N "checking
for --${enablestring:-enable}-choicedlg...
$ECHO_C" >&6; }
11992 # Check whether --enable-choicedlg was given.
11993 if test "${enable_choicedlg+set}" = set; then
11994 enableval=$enable_choicedlg;
11995 if test "$enableval" = yes; then
11996 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11998 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12003 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12008 eval "$wx_cv_use_choicedlg"
12010 if test x
"$enablestring" = xdisable
; then
12011 if test $wxUSE_CHOICEDLG = yes; then
12017 result
=$wxUSE_CHOICEDLG
12020 { echo "$as_me:$LINENO: result: $result" >&5
12021 echo "${ECHO_T}$result" >&6; }
12025 defaultval
=$wxUSE_ALL_FEATURES
12026 if test -z "$defaultval"; then
12027 if test x
"$enablestring" = xdisable
; then
12034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12035 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12036 # Check whether --enable-coldlg was given.
12037 if test "${enable_coldlg+set}" = set; then
12038 enableval
=$enable_coldlg;
12039 if test "$enableval" = yes; then
12040 wx_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
12042 wx_cv_use_coldlg
='wxUSE_COLOURDLG=no'
12047 wx_cv_use_coldlg
='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12052 eval "$wx_cv_use_coldlg"
12054 if test x"$enablestring" = xdisable; then
12055 if test $wxUSE_COLOURDLG = yes; then
12061 result=$wxUSE_COLOURDLG
12064 { echo "$as_me:$LINENO: result: $result" >&5
12065 echo "${ECHO_T}$result" >&6; }
12069 defaultval=$wxUSE_ALL_FEATURES
12070 if test -z "$defaultval"; then
12071 if test x"$enablestring" = xdisable; then
12078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12079 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12080 # Check whether --enable-filedlg was given.
12081 if test "${enable_filedlg+set}" = set; then
12082 enableval=$enable_filedlg;
12083 if test "$enableval" = yes; then
12084 wx_cv_use_filedlg='wxUSE_FILEDLG
=yes'
12086 wx_cv_use_filedlg='wxUSE_FILEDLG
=no
'
12091 wx_cv_use_filedlg='wxUSE_FILEDLG
=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12096 eval "$wx_cv_use_filedlg"
12098 if test x"$enablestring" = xdisable; then
12099 if test $wxUSE_FILEDLG = yes; then
12105 result=$wxUSE_FILEDLG
12108 { echo "$as_me:$LINENO: result
: $result" >&5
12109 echo "${ECHO_T}$result" >&6; }
12113 defaultval=$wxUSE_ALL_FEATURES
12114 if test -z "$defaultval"; then
12115 if test x"$enablestring" = xdisable; then
12122 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-finddlg" >&5
12123 echo $ECHO_N "checking
for --${enablestring:-enable}-finddlg...
$ECHO_C" >&6; }
12124 # Check whether --enable-finddlg was given.
12125 if test "${enable_finddlg+set}" = set; then
12126 enableval=$enable_finddlg;
12127 if test "$enableval" = yes; then
12128 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12130 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12135 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12140 eval "$wx_cv_use_finddlg"
12142 if test x
"$enablestring" = xdisable
; then
12143 if test $wxUSE_FINDREPLDLG = yes; then
12149 result
=$wxUSE_FINDREPLDLG
12152 { echo "$as_me:$LINENO: result: $result" >&5
12153 echo "${ECHO_T}$result" >&6; }
12157 defaultval
=$wxUSE_ALL_FEATURES
12158 if test -z "$defaultval"; then
12159 if test x
"$enablestring" = xdisable
; then
12166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12167 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12168 # Check whether --enable-fontdlg was given.
12169 if test "${enable_fontdlg+set}" = set; then
12170 enableval
=$enable_fontdlg;
12171 if test "$enableval" = yes; then
12172 wx_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
12174 wx_cv_use_fontdlg
='wxUSE_FONTDLG=no'
12179 wx_cv_use_fontdlg
='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12184 eval "$wx_cv_use_fontdlg"
12186 if test x"$enablestring" = xdisable; then
12187 if test $wxUSE_FONTDLG = yes; then
12193 result=$wxUSE_FONTDLG
12196 { echo "$as_me:$LINENO: result: $result" >&5
12197 echo "${ECHO_T}$result" >&6; }
12201 defaultval=$wxUSE_ALL_FEATURES
12202 if test -z "$defaultval"; then
12203 if test x"$enablestring" = xdisable; then
12210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12211 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12212 # Check whether --enable-dirdlg was given.
12213 if test "${enable_dirdlg+set}" = set; then
12214 enableval=$enable_dirdlg;
12215 if test "$enableval" = yes; then
12216 wx_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
12218 wx_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
12223 wx_cv_use_dirdlg='wxUSE_DIRDLG
=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12228 eval "$wx_cv_use_dirdlg"
12230 if test x"$enablestring" = xdisable; then
12231 if test $wxUSE_DIRDLG = yes; then
12237 result=$wxUSE_DIRDLG
12240 { echo "$as_me:$LINENO: result
: $result" >&5
12241 echo "${ECHO_T}$result" >&6; }
12245 defaultval=$wxUSE_ALL_FEATURES
12246 if test -z "$defaultval"; then
12247 if test x"$enablestring" = xdisable; then
12254 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-msgdlg" >&5
12255 echo $ECHO_N "checking
for --${enablestring:-enable}-msgdlg...
$ECHO_C" >&6; }
12256 # Check whether --enable-msgdlg was given.
12257 if test "${enable_msgdlg+set}" = set; then
12258 enableval=$enable_msgdlg;
12259 if test "$enableval" = yes; then
12260 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12262 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12267 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12272 eval "$wx_cv_use_msgdlg"
12274 if test x
"$enablestring" = xdisable
; then
12275 if test $wxUSE_MSGDLG = yes; then
12281 result
=$wxUSE_MSGDLG
12284 { echo "$as_me:$LINENO: result: $result" >&5
12285 echo "${ECHO_T}$result" >&6; }
12289 defaultval
=$wxUSE_ALL_FEATURES
12290 if test -z "$defaultval"; then
12291 if test x
"$enablestring" = xdisable
; then
12298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12299 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12300 # Check whether --enable-numberdlg was given.
12301 if test "${enable_numberdlg+set}" = set; then
12302 enableval
=$enable_numberdlg;
12303 if test "$enableval" = yes; then
12304 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
12306 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
12311 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12316 eval "$wx_cv_use_numberdlg"
12318 if test x"$enablestring" = xdisable; then
12319 if test $wxUSE_NUMBERDLG = yes; then
12325 result=$wxUSE_NUMBERDLG
12328 { echo "$as_me:$LINENO: result: $result" >&5
12329 echo "${ECHO_T}$result" >&6; }
12333 defaultval=$wxUSE_ALL_FEATURES
12334 if test -z "$defaultval"; then
12335 if test x"$enablestring" = xdisable; then
12342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12343 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12344 # Check whether --enable-splash was given.
12345 if test "${enable_splash+set}" = set; then
12346 enableval=$enable_splash;
12347 if test "$enableval" = yes; then
12348 wx_cv_use_splash='wxUSE_SPLASH
=yes'
12350 wx_cv_use_splash='wxUSE_SPLASH
=no
'
12355 wx_cv_use_splash='wxUSE_SPLASH
=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12360 eval "$wx_cv_use_splash"
12362 if test x"$enablestring" = xdisable; then
12363 if test $wxUSE_SPLASH = yes; then
12369 result=$wxUSE_SPLASH
12372 { echo "$as_me:$LINENO: result
: $result" >&5
12373 echo "${ECHO_T}$result" >&6; }
12377 defaultval=$wxUSE_ALL_FEATURES
12378 if test -z "$defaultval"; then
12379 if test x"$enablestring" = xdisable; then
12386 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textdlg" >&5
12387 echo $ECHO_N "checking
for --${enablestring:-enable}-textdlg...
$ECHO_C" >&6; }
12388 # Check whether --enable-textdlg was given.
12389 if test "${enable_textdlg+set}" = set; then
12390 enableval=$enable_textdlg;
12391 if test "$enableval" = yes; then
12392 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12394 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12399 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12404 eval "$wx_cv_use_textdlg"
12406 if test x
"$enablestring" = xdisable
; then
12407 if test $wxUSE_TEXTDLG = yes; then
12413 result
=$wxUSE_TEXTDLG
12416 { echo "$as_me:$LINENO: result: $result" >&5
12417 echo "${ECHO_T}$result" >&6; }
12421 defaultval
=$wxUSE_ALL_FEATURES
12422 if test -z "$defaultval"; then
12423 if test x
"$enablestring" = xdisable
; then
12430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12431 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12432 # Check whether --enable-tipdlg was given.
12433 if test "${enable_tipdlg+set}" = set; then
12434 enableval
=$enable_tipdlg;
12435 if test "$enableval" = yes; then
12436 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
12438 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
12443 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12448 eval "$wx_cv_use_tipdlg"
12450 if test x"$enablestring" = xdisable; then
12451 if test $wxUSE_STARTUP_TIPS = yes; then
12457 result=$wxUSE_STARTUP_TIPS
12460 { echo "$as_me:$LINENO: result: $result" >&5
12461 echo "${ECHO_T}$result" >&6; }
12465 defaultval=$wxUSE_ALL_FEATURES
12466 if test -z "$defaultval"; then
12467 if test x"$enablestring" = xdisable; then
12474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12475 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12476 # Check whether --enable-progressdlg was given.
12477 if test "${enable_progressdlg+set}" = set; then
12478 enableval=$enable_progressdlg;
12479 if test "$enableval" = yes; then
12480 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
12482 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
12487 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12492 eval "$wx_cv_use_progressdlg"
12494 if test x"$enablestring" = xdisable; then
12495 if test $wxUSE_PROGRESSDLG = yes; then
12501 result=$wxUSE_PROGRESSDLG
12504 { echo "$as_me:$LINENO: result
: $result" >&5
12505 echo "${ECHO_T}$result" >&6; }
12509 defaultval=$wxUSE_ALL_FEATURES
12510 if test -z "$defaultval"; then
12511 if test x"$enablestring" = xdisable; then
12518 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wizarddlg" >&5
12519 echo $ECHO_N "checking
for --${enablestring:-enable}-wizarddlg...
$ECHO_C" >&6; }
12520 # Check whether --enable-wizarddlg was given.
12521 if test "${enable_wizarddlg+set}" = set; then
12522 enableval=$enable_wizarddlg;
12523 if test "$enableval" = yes; then
12524 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12526 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12531 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12536 eval "$wx_cv_use_wizarddlg"
12538 if test x
"$enablestring" = xdisable
; then
12539 if test $wxUSE_WIZARDDLG = yes; then
12545 result
=$wxUSE_WIZARDDLG
12548 { echo "$as_me:$LINENO: result: $result" >&5
12549 echo "${ECHO_T}$result" >&6; }
12555 defaultval
=$wxUSE_ALL_FEATURES
12556 if test -z "$defaultval"; then
12557 if test x
"$enablestring" = xdisable
; then
12564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12565 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12566 # Check whether --enable-menus was given.
12567 if test "${enable_menus+set}" = set; then
12568 enableval
=$enable_menus;
12569 if test "$enableval" = yes; then
12570 wx_cv_use_menus
='wxUSE_MENUS=yes'
12572 wx_cv_use_menus
='wxUSE_MENUS=no'
12577 wx_cv_use_menus
='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12582 eval "$wx_cv_use_menus"
12584 if test x"$enablestring" = xdisable; then
12585 if test $wxUSE_MENUS = yes; then
12591 result=$wxUSE_MENUS
12594 { echo "$as_me:$LINENO: result: $result" >&5
12595 echo "${ECHO_T}$result" >&6; }
12599 defaultval=$wxUSE_ALL_FEATURES
12600 if test -z "$defaultval"; then
12601 if test x"$enablestring" = xdisable; then
12608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12609 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12610 # Check whether --enable-miniframe was given.
12611 if test "${enable_miniframe+set}" = set; then
12612 enableval=$enable_miniframe;
12613 if test "$enableval" = yes; then
12614 wx_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
12616 wx_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
12621 wx_cv_use_miniframe='wxUSE_MINIFRAME
=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12626 eval "$wx_cv_use_miniframe"
12628 if test x"$enablestring" = xdisable; then
12629 if test $wxUSE_MINIFRAME = yes; then
12635 result=$wxUSE_MINIFRAME
12638 { echo "$as_me:$LINENO: result
: $result" >&5
12639 echo "${ECHO_T}$result" >&6; }
12643 defaultval=$wxUSE_ALL_FEATURES
12644 if test -z "$defaultval"; then
12645 if test x"$enablestring" = xdisable; then
12652 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tooltips" >&5
12653 echo $ECHO_N "checking
for --${enablestring:-enable}-tooltips...
$ECHO_C" >&6; }
12654 # Check whether --enable-tooltips was given.
12655 if test "${enable_tooltips+set}" = set; then
12656 enableval=$enable_tooltips;
12657 if test "$enableval" = yes; then
12658 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12660 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12665 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12670 eval "$wx_cv_use_tooltips"
12672 if test x
"$enablestring" = xdisable
; then
12673 if test $wxUSE_TOOLTIPS = yes; then
12679 result
=$wxUSE_TOOLTIPS
12682 { echo "$as_me:$LINENO: result: $result" >&5
12683 echo "${ECHO_T}$result" >&6; }
12687 defaultval
=$wxUSE_ALL_FEATURES
12688 if test -z "$defaultval"; then
12689 if test x
"$enablestring" = xdisable
; then
12696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12697 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12698 # Check whether --enable-splines was given.
12699 if test "${enable_splines+set}" = set; then
12700 enableval
=$enable_splines;
12701 if test "$enableval" = yes; then
12702 wx_cv_use_splines
='wxUSE_SPLINES=yes'
12704 wx_cv_use_splines
='wxUSE_SPLINES=no'
12709 wx_cv_use_splines
='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12714 eval "$wx_cv_use_splines"
12716 if test x"$enablestring" = xdisable; then
12717 if test $wxUSE_SPLINES = yes; then
12723 result=$wxUSE_SPLINES
12726 { echo "$as_me:$LINENO: result: $result" >&5
12727 echo "${ECHO_T}$result" >&6; }
12731 defaultval=$wxUSE_ALL_FEATURES
12732 if test -z "$defaultval"; then
12733 if test x"$enablestring" = xdisable; then
12740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12741 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12742 # Check whether --enable-mousewheel was given.
12743 if test "${enable_mousewheel+set}" = set; then
12744 enableval=$enable_mousewheel;
12745 if test "$enableval" = yes; then
12746 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
12748 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
12753 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12758 eval "$wx_cv_use_mousewheel"
12760 if test x"$enablestring" = xdisable; then
12761 if test $wxUSE_MOUSEWHEEL = yes; then
12767 result=$wxUSE_MOUSEWHEEL
12770 { echo "$as_me:$LINENO: result
: $result" >&5
12771 echo "${ECHO_T}$result" >&6; }
12775 defaultval=$wxUSE_ALL_FEATURES
12776 if test -z "$defaultval"; then
12777 if test x"$enablestring" = xdisable; then
12784 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-validators" >&5
12785 echo $ECHO_N "checking
for --${enablestring:-enable}-validators...
$ECHO_C" >&6; }
12786 # Check whether --enable-validators was given.
12787 if test "${enable_validators+set}" = set; then
12788 enableval=$enable_validators;
12789 if test "$enableval" = yes; then
12790 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12792 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12797 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12802 eval "$wx_cv_use_validators"
12804 if test x
"$enablestring" = xdisable
; then
12805 if test $wxUSE_VALIDATORS = yes; then
12811 result
=$wxUSE_VALIDATORS
12814 { echo "$as_me:$LINENO: result: $result" >&5
12815 echo "${ECHO_T}$result" >&6; }
12819 defaultval
=$wxUSE_ALL_FEATURES
12820 if test -z "$defaultval"; then
12821 if test x
"$enablestring" = xdisable
; then
12828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12829 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12830 # Check whether --enable-busyinfo was given.
12831 if test "${enable_busyinfo+set}" = set; then
12832 enableval
=$enable_busyinfo;
12833 if test "$enableval" = yes; then
12834 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
12836 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
12841 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
12846 eval "$wx_cv_use_busyinfo"
12848 if test x"$enablestring" = xdisable; then
12849 if test $wxUSE_BUSYINFO = yes; then
12855 result=$wxUSE_BUSYINFO
12858 { echo "$as_me:$LINENO: result: $result" >&5
12859 echo "${ECHO_T}$result" >&6; }
12863 defaultval=$wxUSE_ALL_FEATURES
12864 if test -z "$defaultval"; then
12865 if test x"$enablestring" = xdisable; then
12872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12873 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12874 # Check whether --enable-joystick was given.
12875 if test "${enable_joystick+set}" = set; then
12876 enableval=$enable_joystick;
12877 if test "$enableval" = yes; then
12878 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
12880 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
12885 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
12890 eval "$wx_cv_use_joystick"
12892 if test x"$enablestring" = xdisable; then
12893 if test $wxUSE_JOYSTICK = yes; then
12899 result=$wxUSE_JOYSTICK
12902 { echo "$as_me:$LINENO: result
: $result" >&5
12903 echo "${ECHO_T}$result" >&6; }
12907 defaultval=$wxUSE_ALL_FEATURES
12908 if test -z "$defaultval"; then
12909 if test x"$enablestring" = xdisable; then
12916 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
12917 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
12918 # Check whether --enable-metafile was given.
12919 if test "${enable_metafile+set}" = set; then
12920 enableval=$enable_metafile;
12921 if test "$enableval" = yes; then
12922 wx_cv_use_metafile='wxUSE_METAFILE=yes'
12924 wx_cv_use_metafile='wxUSE_METAFILE=no'
12929 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
12934 eval "$wx_cv_use_metafile"
12936 if test x
"$enablestring" = xdisable
; then
12937 if test $wxUSE_METAFILE = yes; then
12943 result
=$wxUSE_METAFILE
12946 { echo "$as_me:$LINENO: result: $result" >&5
12947 echo "${ECHO_T}$result" >&6; }
12951 defaultval
=$wxUSE_ALL_FEATURES
12952 if test -z "$defaultval"; then
12953 if test x
"$enablestring" = xdisable
; then
12960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12961 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12962 # Check whether --enable-dragimage was given.
12963 if test "${enable_dragimage+set}" = set; then
12964 enableval
=$enable_dragimage;
12965 if test "$enableval" = yes; then
12966 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
12968 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
12973 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
12978 eval "$wx_cv_use_dragimage"
12980 if test x"$enablestring" = xdisable; then
12981 if test $wxUSE_DRAGIMAGE = yes; then
12987 result=$wxUSE_DRAGIMAGE
12990 { echo "$as_me:$LINENO: result: $result" >&5
12991 echo "${ECHO_T}$result" >&6; }
12995 defaultval=$wxUSE_ALL_FEATURES
12996 if test -z "$defaultval"; then
12997 if test x"$enablestring" = xdisable; then
13004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13005 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13006 # Check whether --enable-accessibility was given.
13007 if test "${enable_accessibility+set}" = set; then
13008 enableval=$enable_accessibility;
13009 if test "$enableval" = yes; then
13010 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
13012 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
13017 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13022 eval "$wx_cv_use_accessibility"
13024 if test x"$enablestring" = xdisable; then
13025 if test $wxUSE_ACCESSIBILITY = yes; then
13031 result=$wxUSE_ACCESSIBILITY
13034 { echo "$as_me:$LINENO: result
: $result" >&5
13035 echo "${ECHO_T}$result" >&6; }
13041 defaultval=$wxUSE_ALL_FEATURES
13042 if test -z "$defaultval"; then
13043 if test x"$enablestring" = xdisable; then
13050 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-palette" >&5
13051 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6; }
13052 # Check whether --enable-palette was given.
13053 if test "${enable_palette+set}" = set; then
13054 enableval=$enable_palette;
13055 if test "$enableval" = yes; then
13056 wx_cv_use_palette='wxUSE_PALETTE=yes'
13058 wx_cv_use_palette='wxUSE_PALETTE=no'
13063 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13068 eval "$wx_cv_use_palette"
13070 if test x
"$enablestring" = xdisable
; then
13071 if test $wxUSE_PALETTE = yes; then
13077 result
=$wxUSE_PALETTE
13080 { echo "$as_me:$LINENO: result: $result" >&5
13081 echo "${ECHO_T}$result" >&6; }
13085 defaultval
=$wxUSE_ALL_FEATURES
13086 if test -z "$defaultval"; then
13087 if test x
"$enablestring" = xdisable
; then
13094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13095 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13096 # Check whether --enable-image was given.
13097 if test "${enable_image+set}" = set; then
13098 enableval
=$enable_image;
13099 if test "$enableval" = yes; then
13100 wx_cv_use_image
='wxUSE_IMAGE=yes'
13102 wx_cv_use_image
='wxUSE_IMAGE=no'
13107 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13112 eval "$wx_cv_use_image"
13114 if test x"$enablestring" = xdisable; then
13115 if test $wxUSE_IMAGE = yes; then
13121 result=$wxUSE_IMAGE
13124 { echo "$as_me:$LINENO: result: $result" >&5
13125 echo "${ECHO_T}$result" >&6; }
13129 defaultval=$wxUSE_ALL_FEATURES
13130 if test -z "$defaultval"; then
13131 if test x"$enablestring" = xdisable; then
13138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13139 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13140 # Check whether --enable-gif was given.
13141 if test "${enable_gif+set}" = set; then
13142 enableval=$enable_gif;
13143 if test "$enableval" = yes; then
13144 wx_cv_use_gif='wxUSE_GIF
=yes'
13146 wx_cv_use_gif='wxUSE_GIF
=no
'
13151 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13156 eval "$wx_cv_use_gif"
13158 if test x"$enablestring" = xdisable; then
13159 if test $wxUSE_GIF = yes; then
13168 { echo "$as_me:$LINENO: result
: $result" >&5
13169 echo "${ECHO_T}$result" >&6; }
13173 defaultval=$wxUSE_ALL_FEATURES
13174 if test -z "$defaultval"; then
13175 if test x"$enablestring" = xdisable; then
13182 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pcx" >&5
13183 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6; }
13184 # Check whether --enable-pcx was given.
13185 if test "${enable_pcx+set}" = set; then
13186 enableval=$enable_pcx;
13187 if test "$enableval" = yes; then
13188 wx_cv_use_pcx='wxUSE_PCX=yes'
13190 wx_cv_use_pcx='wxUSE_PCX=no'
13195 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13200 eval "$wx_cv_use_pcx"
13202 if test x
"$enablestring" = xdisable
; then
13203 if test $wxUSE_PCX = yes; then
13212 { echo "$as_me:$LINENO: result: $result" >&5
13213 echo "${ECHO_T}$result" >&6; }
13217 defaultval
=$wxUSE_ALL_FEATURES
13218 if test -z "$defaultval"; then
13219 if test x
"$enablestring" = xdisable
; then
13226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13227 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13228 # Check whether --enable-tga was given.
13229 if test "${enable_tga+set}" = set; then
13230 enableval
=$enable_tga;
13231 if test "$enableval" = yes; then
13232 wx_cv_use_tga
='wxUSE_TGA=yes'
13234 wx_cv_use_tga
='wxUSE_TGA=no'
13239 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13244 eval "$wx_cv_use_tga"
13246 if test x"$enablestring" = xdisable; then
13247 if test $wxUSE_TGA = yes; then
13256 { echo "$as_me:$LINENO: result: $result" >&5
13257 echo "${ECHO_T}$result" >&6; }
13261 defaultval=$wxUSE_ALL_FEATURES
13262 if test -z "$defaultval"; then
13263 if test x"$enablestring" = xdisable; then
13270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13271 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13272 # Check whether --enable-iff was given.
13273 if test "${enable_iff+set}" = set; then
13274 enableval=$enable_iff;
13275 if test "$enableval" = yes; then
13276 wx_cv_use_iff='wxUSE_IFF
=yes'
13278 wx_cv_use_iff='wxUSE_IFF
=no
'
13283 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13288 eval "$wx_cv_use_iff"
13290 if test x"$enablestring" = xdisable; then
13291 if test $wxUSE_IFF = yes; then
13300 { echo "$as_me:$LINENO: result
: $result" >&5
13301 echo "${ECHO_T}$result" >&6; }
13305 defaultval=$wxUSE_ALL_FEATURES
13306 if test -z "$defaultval"; then
13307 if test x"$enablestring" = xdisable; then
13314 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pnm" >&5
13315 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6; }
13316 # Check whether --enable-pnm was given.
13317 if test "${enable_pnm+set}" = set; then
13318 enableval=$enable_pnm;
13319 if test "$enableval" = yes; then
13320 wx_cv_use_pnm='wxUSE_PNM=yes'
13322 wx_cv_use_pnm='wxUSE_PNM=no'
13327 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13332 eval "$wx_cv_use_pnm"
13334 if test x
"$enablestring" = xdisable
; then
13335 if test $wxUSE_PNM = yes; then
13344 { echo "$as_me:$LINENO: result: $result" >&5
13345 echo "${ECHO_T}$result" >&6; }
13349 defaultval
=$wxUSE_ALL_FEATURES
13350 if test -z "$defaultval"; then
13351 if test x
"$enablestring" = xdisable
; then
13358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13359 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13360 # Check whether --enable-xpm was given.
13361 if test "${enable_xpm+set}" = set; then
13362 enableval
=$enable_xpm;
13363 if test "$enableval" = yes; then
13364 wx_cv_use_xpm
='wxUSE_XPM=yes'
13366 wx_cv_use_xpm
='wxUSE_XPM=no'
13371 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13376 eval "$wx_cv_use_xpm"
13378 if test x"$enablestring" = xdisable; then
13379 if test $wxUSE_XPM = yes; then
13388 { echo "$as_me:$LINENO: result: $result" >&5
13389 echo "${ECHO_T}$result" >&6; }
13393 defaultval=$wxUSE_ALL_FEATURES
13394 if test -z "$defaultval"; then
13395 if test x"$enablestring" = xdisable; then
13402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13403 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13404 # Check whether --enable-ico_cur was given.
13405 if test "${enable_ico_cur+set}" = set; then
13406 enableval=$enable_ico_cur;
13407 if test "$enableval" = yes; then
13408 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
13410 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
13415 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13420 eval "$wx_cv_use_ico_cur"
13422 if test x"$enablestring" = xdisable; then
13423 if test $wxUSE_ICO_CUR = yes; then
13429 result=$wxUSE_ICO_CUR
13432 { echo "$as_me:$LINENO: result
: $result" >&5
13433 echo "${ECHO_T}$result" >&6; }
13439 defaultval=$wxUSE_ALL_FEATURES
13440 if test -z "$defaultval"; then
13441 if test x"$enablestring" = xdisable; then
13448 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dccache" >&5
13449 echo $ECHO_N "checking
for --${enablestring:-enable}-dccache...
$ECHO_C" >&6; }
13450 # Check whether --enable-dccache was given.
13451 if test "${enable_dccache+set}" = set; then
13452 enableval=$enable_dccache;
13453 if test "$enableval" = yes; then
13454 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13456 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13461 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13466 eval "$wx_cv_use_dccache"
13468 if test x
"$enablestring" = xdisable
; then
13469 if test $wxUSE_DC_CACHEING = yes; then
13475 result
=$wxUSE_DC_CACHEING
13478 { echo "$as_me:$LINENO: result: $result" >&5
13479 echo "${ECHO_T}$result" >&6; }
13483 defaultval
=$wxUSE_ALL_FEATURES
13484 if test -z "$defaultval"; then
13485 if test x
"$enablestring" = xdisable
; then
13492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13493 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13494 # Check whether --enable-ps-in-msw was given.
13495 if test "${enable_ps_in_msw+set}" = set; then
13496 enableval
=$enable_ps_in_msw;
13497 if test "$enableval" = yes; then
13498 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13500 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13505 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13510 eval "$wx_cv_use_ps_in_msw"
13512 if test x"$enablestring" = xdisable; then
13513 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13519 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13522 { echo "$as_me:$LINENO: result: $result" >&5
13523 echo "${ECHO_T}$result" >&6; }
13527 defaultval=$wxUSE_ALL_FEATURES
13528 if test -z "$defaultval"; then
13529 if test x"$enablestring" = xdisable; then
13536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13537 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13538 # Check whether --enable-ownerdrawn was given.
13539 if test "${enable_ownerdrawn+set}" = set; then
13540 enableval=$enable_ownerdrawn;
13541 if test "$enableval" = yes; then
13542 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
13544 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
13549 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13554 eval "$wx_cv_use_ownerdrawn"
13556 if test x"$enablestring" = xdisable; then
13557 if test $wxUSE_OWNER_DRAWN = yes; then
13563 result=$wxUSE_OWNER_DRAWN
13566 { echo "$as_me:$LINENO: result
: $result" >&5
13567 echo "${ECHO_T}$result" >&6; }
13571 defaultval=$wxUSE_ALL_FEATURES
13572 if test -z "$defaultval"; then
13573 if test x"$enablestring" = xdisable; then
13580 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uxtheme" >&5
13581 echo $ECHO_N "checking
for --${enablestring:-enable}-uxtheme...
$ECHO_C" >&6; }
13582 # Check whether --enable-uxtheme was given.
13583 if test "${enable_uxtheme+set}" = set; then
13584 enableval=$enable_uxtheme;
13585 if test "$enableval" = yes; then
13586 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13588 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13593 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13598 eval "$wx_cv_use_uxtheme"
13600 if test x
"$enablestring" = xdisable
; then
13601 if test $wxUSE_UXTHEME = yes; then
13607 result
=$wxUSE_UXTHEME
13610 { echo "$as_me:$LINENO: result: $result" >&5
13611 echo "${ECHO_T}$result" >&6; }
13615 defaultval
=$wxUSE_ALL_FEATURES
13616 if test -z "$defaultval"; then
13617 if test x
"$enablestring" = xdisable
; then
13624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13625 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13626 # Check whether --enable-wxdib was given.
13627 if test "${enable_wxdib+set}" = set; then
13628 enableval
=$enable_wxdib;
13629 if test "$enableval" = yes; then
13630 wx_cv_use_wxdib
='wxUSE_DIB=yes'
13632 wx_cv_use_wxdib
='wxUSE_DIB=no'
13637 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13642 eval "$wx_cv_use_wxdib"
13644 if test x"$enablestring" = xdisable; then
13645 if test $wxUSE_DIB = yes; then
13654 { echo "$as_me:$LINENO: result: $result" >&5
13655 echo "${ECHO_T}$result" >&6; }
13661 { echo "$as_me:$LINENO: checking for toolkit" >&5
13662 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
13664 # In Wine, we need to default to MSW, not GTK or MOTIF
13665 if test "$wxUSE_WINE" = "yes"; then
13666 DEFAULT_DEFAULT_wxUSE_GTK=0
13667 DEFAULT_DEFAULT_wxUSE_MOTIF=0
13668 DEFAULT_DEFAULT_wxUSE_MSW=1
13671 CXX=${CXX:-wineg++}
13675 if test "$wxUSE_GUI" = "yes"; then
13677 if test "$USE_BEOS" = 1; then
13678 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
13679 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
13680 { (exit 1); exit 1; }; }
13683 if test "$TOOLKIT_GIVEN" = 1; then
13684 for toolkit in $ALL_TOOLKITS; do
13686 eval "value=\$${var}"
13687 if test "x$value" = "xno"; then
13689 elif test "x$value" != "x"; then
13693 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
13694 eval "wx${toolkit}_VERSION=$value"
13698 for toolkit in $ALL_TOOLKITS; do
13699 var=DEFAULT_DEFAULT_wxUSE_$toolkit
13700 eval "wxUSE_$toolkit=\$${var}"
13704 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
13705 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
13706 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
13709 *-pc-os2_emx | *-pc-os2-emx )
13710 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
13713 case "$NUM_TOOLKITS" in
13717 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
13718 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
13719 { (exit 1); exit 1; }; }
13722 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
13723 echo "$as_me: error: Please specify at most one toolkit" >&2;}
13724 { (exit 1); exit 1; }; }
13727 # to be removed when --disable-gtk2 isn't needed
13728 if test "x$wxUSE_GTK2" = "xyes"; then
13730 elif test "x$wxUSE_GTK2" = "xno"; then
13734 for toolkit
in $ALL_TOOLKITS; do
13736 eval "value=\$${var}"
13737 if test "$value" = 1; then
13738 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
13739 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
13740 echo "${ECHO_T}$toolkit_echo" >&6; }
13744 if test "x$host_alias" != "x"; then
13745 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
13746 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
13748 { echo "$as_me:$LINENO: result: base only" >&5
13749 echo "${ECHO_T}base only" >&6; }
13754 cat >confcache
<<\_ACEOF
13755 # This file is a shell script that caches the results of configure
13756 # tests run on this system so they can be shared between configure
13757 # scripts and configure runs, see configure's option --config-cache.
13758 # It is not useful on other systems. If it contains results you don't
13759 # want to keep, you may remove or edit it.
13761 # config.status only pays attention to the cache file if you give it
13762 # the --recheck option to rerun configure.
13764 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13765 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13766 # following values.
13770 # The following way of writing the cache mishandles newlines in values,
13771 # but we know of no workaround that is simple, portable, and efficient.
13772 # So, we kill variables containing newlines.
13773 # Ultrix sh set writes to stderr and can't be redirected directly,
13774 # and sets the high bit in the cache file unless we assign to the vars.
13776 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13777 eval ac_val
=\$
$ac_var
13781 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13782 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13785 _
| IFS
| as_nl
) ;; #(
13786 *) $as_unset $ac_var ;;
13792 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13793 *${as_nl}ac_space
=\
*)
13794 # `set' does not quote correctly, so add quotes (double-quote
13795 # substitution turns \\\\ into \\, and sed turns \\ into \).
13798 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13801 # `set' quotes correctly as required by POSIX, so do not add quotes.
13802 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13811 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13813 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13815 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13816 if test -w "$cache_file"; then
13817 test "x$cache_file" != "x/dev/null" &&
13818 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13819 echo "$as_me: updating cache $cache_file" >&6;}
13820 cat confcache
>$cache_file
13822 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13823 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13833 ac_cpp
='$CPP $CPPFLAGS'
13834 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13835 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13836 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13837 if test -n "$ac_tool_prefix"; then
13838 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13839 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
13840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13842 if test "${ac_cv_prog_CC+set}" = set; then
13843 echo $ECHO_N "(cached) $ECHO_C" >&6
13845 if test -n "$CC"; then
13846 ac_cv_prog_CC
="$CC" # Let the user override the test.
13848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13849 for as_dir
in $PATH
13852 test -z "$as_dir" && as_dir
=.
13853 for ac_exec_ext
in '' $ac_executable_extensions; do
13854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13855 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
13856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13866 if test -n "$CC"; then
13867 { echo "$as_me:$LINENO: result: $CC" >&5
13868 echo "${ECHO_T}$CC" >&6; }
13870 { echo "$as_me:$LINENO: result: no" >&5
13871 echo "${ECHO_T}no" >&6; }
13876 if test -z "$ac_cv_prog_CC"; then
13878 # Extract the first word of "gcc", so it can be a program name with args.
13879 set dummy gcc
; ac_word
=$2
13880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13882 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13883 echo $ECHO_N "(cached) $ECHO_C" >&6
13885 if test -n "$ac_ct_CC"; then
13886 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13889 for as_dir
in $PATH
13892 test -z "$as_dir" && as_dir
=.
13893 for ac_exec_ext
in '' $ac_executable_extensions; do
13894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13895 ac_cv_prog_ac_ct_CC
="gcc"
13896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13905 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13906 if test -n "$ac_ct_CC"; then
13907 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13908 echo "${ECHO_T}$ac_ct_CC" >&6; }
13910 { echo "$as_me:$LINENO: result: no" >&5
13911 echo "${ECHO_T}no" >&6; }
13914 if test "x$ac_ct_CC" = x
; then
13917 case $cross_compiling:$ac_tool_warned in
13919 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13920 whose name does not start with the host triplet. If you think this
13921 configuration is useful to you, please write to autoconf@gnu.org." >&5
13922 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13923 whose name does not start with the host triplet. If you think this
13924 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13925 ac_tool_warned
=yes ;;
13930 CC
="$ac_cv_prog_CC"
13933 if test -z "$CC"; then
13934 if test -n "$ac_tool_prefix"; then
13935 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13936 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
13937 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13939 if test "${ac_cv_prog_CC+set}" = set; then
13940 echo $ECHO_N "(cached) $ECHO_C" >&6
13942 if test -n "$CC"; then
13943 ac_cv_prog_CC
="$CC" # Let the user override the test.
13945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13946 for as_dir
in $PATH
13949 test -z "$as_dir" && as_dir
=.
13950 for ac_exec_ext
in '' $ac_executable_extensions; do
13951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13952 ac_cv_prog_CC
="${ac_tool_prefix}cc"
13953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13963 if test -n "$CC"; then
13964 { echo "$as_me:$LINENO: result: $CC" >&5
13965 echo "${ECHO_T}$CC" >&6; }
13967 { echo "$as_me:$LINENO: result: no" >&5
13968 echo "${ECHO_T}no" >&6; }
13974 if test -z "$CC"; then
13975 # Extract the first word of "cc", so it can be a program name with args.
13976 set dummy cc
; ac_word
=$2
13977 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13979 if test "${ac_cv_prog_CC+set}" = set; then
13980 echo $ECHO_N "(cached) $ECHO_C" >&6
13982 if test -n "$CC"; then
13983 ac_cv_prog_CC
="$CC" # Let the user override the test.
13985 ac_prog_rejected
=no
13986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13987 for as_dir
in $PATH
13990 test -z "$as_dir" && as_dir
=.
13991 for ac_exec_ext
in '' $ac_executable_extensions; do
13992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13993 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13994 ac_prog_rejected
=yes
13998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14005 if test $ac_prog_rejected = yes; then
14006 # We found a bogon in the path, so make sure we never use it.
14007 set dummy
$ac_cv_prog_CC
14009 if test $# != 0; then
14010 # We chose a different compiler from the bogus one.
14011 # However, it has the same basename, so the bogon will be chosen
14012 # first if we set CC to just the basename; use the full file name.
14014 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14020 if test -n "$CC"; then
14021 { echo "$as_me:$LINENO: result: $CC" >&5
14022 echo "${ECHO_T}$CC" >&6; }
14024 { echo "$as_me:$LINENO: result: no" >&5
14025 echo "${ECHO_T}no" >&6; }
14030 if test -z "$CC"; then
14031 if test -n "$ac_tool_prefix"; then
14032 for ac_prog
in cl.exe
14034 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14035 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14038 if test "${ac_cv_prog_CC+set}" = set; then
14039 echo $ECHO_N "(cached) $ECHO_C" >&6
14041 if test -n "$CC"; then
14042 ac_cv_prog_CC
="$CC" # Let the user override the test.
14044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14045 for as_dir
in $PATH
14048 test -z "$as_dir" && as_dir
=.
14049 for ac_exec_ext
in '' $ac_executable_extensions; do
14050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14051 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14062 if test -n "$CC"; then
14063 { echo "$as_me:$LINENO: result: $CC" >&5
14064 echo "${ECHO_T}$CC" >&6; }
14066 { echo "$as_me:$LINENO: result: no" >&5
14067 echo "${ECHO_T}no" >&6; }
14071 test -n "$CC" && break
14074 if test -z "$CC"; then
14076 for ac_prog
in cl.exe
14078 # Extract the first word of "$ac_prog", so it can be a program name with args.
14079 set dummy
$ac_prog; ac_word
=$2
14080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14082 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14083 echo $ECHO_N "(cached) $ECHO_C" >&6
14085 if test -n "$ac_ct_CC"; then
14086 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14089 for as_dir
in $PATH
14092 test -z "$as_dir" && as_dir
=.
14093 for ac_exec_ext
in '' $ac_executable_extensions; do
14094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14095 ac_cv_prog_ac_ct_CC
="$ac_prog"
14096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14105 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14106 if test -n "$ac_ct_CC"; then
14107 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14108 echo "${ECHO_T}$ac_ct_CC" >&6; }
14110 { echo "$as_me:$LINENO: result: no" >&5
14111 echo "${ECHO_T}no" >&6; }
14115 test -n "$ac_ct_CC" && break
14118 if test "x$ac_ct_CC" = x
; then
14121 case $cross_compiling:$ac_tool_warned in
14123 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14124 whose name does not start with the host triplet. If you think this
14125 configuration is useful to you, please write to autoconf@gnu.org." >&5
14126 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14127 whose name does not start with the host triplet. If you think this
14128 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14129 ac_tool_warned
=yes ;;
14138 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14139 See \`config.log' for more details." >&5
14140 echo "$as_me: error: no acceptable C compiler found in \$PATH
14141 See \`config.log' for more details." >&2;}
14142 { (exit 1); exit 1; }; }
14144 # Provide some information about the compiler.
14145 echo "$as_me:$LINENO: checking for C compiler version" >&5
14146 ac_compiler
=`set X $ac_compile; echo $2`
14147 { (ac_try
="$ac_compiler --version >&5"
14148 case "(($ac_try" in
14149 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14150 *) ac_try_echo=$ac_try;;
14152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14153 (eval "$ac_compiler --version >&5") 2>&5
14155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14156 (exit $ac_status); }
14157 { (ac_try="$ac_compiler -v >&5"
14158 case "(($ac_try" in
14159 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14160 *) ac_try_echo
=$ac_try;;
14162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14163 (eval "$ac_compiler -v >&5") 2>&5
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); }
14167 { (ac_try
="$ac_compiler -V >&5"
14168 case "(($ac_try" in
14169 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14170 *) ac_try_echo=$ac_try;;
14172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14173 (eval "$ac_compiler -V >&5") 2>&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); }
14178 cat >conftest.$ac_ext <<_ACEOF
14181 cat confdefs.h >>conftest.$ac_ext
14182 cat >>conftest.$ac_ext <<_ACEOF
14183 /* end confdefs.h. */
14193 ac_clean_files_save=$ac_clean_files
14194 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14195 # Try to create an executable without -o first, disregard a.out.
14196 # It will help us diagnose broken compilers, and finding out an intuition
14198 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14199 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14200 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14202 # List of possible output files, starting from the most likely.
14203 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14204 # only as a last resort. b.out is created by i960 compilers.
14205 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14207 # The IRIX 6 linker writes into existing files which may not be
14208 # executable, retaining their permissions. Remove them first so a
14209 # subsequent execution test works.
14211 for ac_file in $ac_files
14214 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14215 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14220 if { (ac_try="$ac_link_default"
14221 case "(($ac_try" in
14222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14223 *) ac_try_echo=$ac_try;;
14225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14226 (eval "$ac_link_default") 2>&5
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); }; then
14230 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14231 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14232 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14233 # so that the user can short-circuit this test for compilers unknown to
14235 for ac_file
in $ac_files ''
14237 test -f "$ac_file" || continue
14239 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14242 # We found the default executable, but exeext='' is most
14246 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14248 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14250 # We set ac_cv_exeext here because the later test for it is not
14251 # safe: cross compilers may not add the suffix if given an `-o'
14252 # argument, so we may need to know it at that point already.
14253 # Even if this section looks crufty: it has the advantage of
14254 # actually working.
14260 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14266 { echo "$as_me:$LINENO: result: $ac_file" >&5
14267 echo "${ECHO_T}$ac_file" >&6; }
14268 if test -z "$ac_file"; then
14269 echo "$as_me: failed program was:" >&5
14270 sed 's/^/| /' conftest.
$ac_ext >&5
14272 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14273 See \`config.log' for more details." >&5
14274 echo "$as_me: error: C compiler cannot create executables
14275 See \`config.log' for more details." >&2;}
14276 { (exit 77); exit 77; }; }
14279 ac_exeext
=$ac_cv_exeext
14281 # Check that the compiler produces executables we can run. If not, either
14282 # the compiler is broken, or we cross compile.
14283 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14284 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14285 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14286 # If not cross compiling, check that we can run a simple program.
14287 if test "$cross_compiling" != yes; then
14288 if { ac_try
='./$ac_file'
14289 { (case "(($ac_try" in
14290 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14291 *) ac_try_echo=$ac_try;;
14293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14294 (eval "$ac_try") 2>&5
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 (exit $ac_status); }; }; then
14300 if test "$cross_compiling" = maybe; then
14301 cross_compiling=yes
14303 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14304 If you meant to cross compile, use \`--host'.
14305 See \`config.log' for more details.
" >&5
14306 echo "$as_me: error
: cannot run C compiled programs.
14307 If you meant to cross compile
, use \
`--host'.
14308 See \`config.log
' for more details." >&2;}
14309 { (exit 1); exit 1; }; }
14313 { echo "$as_me:$LINENO: result: yes" >&5
14314 echo "${ECHO_T}yes" >&6; }
14316 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14317 ac_clean_files=$ac_clean_files_save
14318 # Check that the compiler produces executables we can run. If not, either
14319 # the compiler is broken, or we cross compile.
14320 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14321 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14322 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14323 echo "${ECHO_T}$cross_compiling" >&6; }
14325 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14326 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14327 if { (ac_try="$ac_link"
14328 case "(($ac_try" in
14329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14330 *) ac_try_echo=$ac_try;;
14332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14333 (eval "$ac_link") 2>&5
14335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14336 (exit $ac_status); }; then
14337 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14338 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14339 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14341 for ac_file
in conftest.exe conftest conftest.
*; do
14342 test -f "$ac_file" || continue
14344 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14345 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14351 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14352 See \`config.log' for more details." >&5
14353 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14354 See \`config.log' for more details." >&2;}
14355 { (exit 1); exit 1; }; }
14358 rm -f conftest
$ac_cv_exeext
14359 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14360 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14362 rm -f conftest.
$ac_ext
14363 EXEEXT
=$ac_cv_exeext
14365 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14366 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14367 if test "${ac_cv_objext+set}" = set; then
14368 echo $ECHO_N "(cached) $ECHO_C" >&6
14370 cat >conftest.
$ac_ext <<_ACEOF
14373 cat confdefs.h
>>conftest.
$ac_ext
14374 cat >>conftest.
$ac_ext <<_ACEOF
14375 /* end confdefs.h. */
14385 rm -f conftest.o conftest.obj
14386 if { (ac_try
="$ac_compile"
14387 case "(($ac_try" in
14388 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14389 *) ac_try_echo=$ac_try;;
14391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14392 (eval "$ac_compile") 2>&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); }; then
14396 for ac_file in conftest.o conftest.obj conftest.*; do
14397 test -f "$ac_file" || continue;
14399 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14400 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14405 echo "$as_me: failed program was:" >&5
14406 sed 's/^/| /' conftest.$ac_ext >&5
14408 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14409 See \`config.log
' for more details." >&5
14410 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14411 See \`config.log' for more details.
" >&2;}
14412 { (exit 1); exit 1; }; }
14415 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14417 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14418 echo "${ECHO_T}$ac_cv_objext" >&6; }
14419 OBJEXT=$ac_cv_objext
14421 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14422 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14423 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14424 echo $ECHO_N "(cached
) $ECHO_C" >&6
14426 cat >conftest.$ac_ext <<_ACEOF
14429 cat confdefs.h >>conftest.$ac_ext
14430 cat >>conftest.$ac_ext <<_ACEOF
14431 /* end confdefs.h. */
14444 rm -f conftest.$ac_objext
14445 if { (ac_try="$ac_compile"
14446 case "(($ac_try" in
14447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14448 *) ac_try_echo=$ac_try;;
14450 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14451 (eval "$ac_compile") 2>conftest.er1
14453 grep -v '^ *+' conftest.er1 >conftest.err
14455 cat conftest.err >&5
14456 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14457 (exit $ac_status); } && {
14458 test -z "$ac_c_werror_flag" ||
14459 test ! -s conftest.err
14460 } && test -s conftest.$ac_objext; then
14461 ac_compiler_gnu=yes
14463 echo "$as_me: failed program was
:" >&5
14464 sed 's/^/| /' conftest.$ac_ext >&5
14469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14470 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14473 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14474 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14475 GCC=`test $ac_compiler_gnu = yes && echo yes`
14476 ac_test_CFLAGS=${CFLAGS+set}
14477 ac_save_CFLAGS=$CFLAGS
14478 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14479 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14480 if test "${ac_cv_prog_cc_g+set}" = set; then
14481 echo $ECHO_N "(cached
) $ECHO_C" >&6
14483 ac_save_c_werror_flag=$ac_c_werror_flag
14484 ac_c_werror_flag=yes
14487 cat >conftest.$ac_ext <<_ACEOF
14490 cat confdefs.h >>conftest.$ac_ext
14491 cat >>conftest.$ac_ext <<_ACEOF
14492 /* end confdefs.h. */
14502 rm -f conftest.$ac_objext
14503 if { (ac_try="$ac_compile"
14504 case "(($ac_try" in
14505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14506 *) ac_try_echo=$ac_try;;
14508 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14509 (eval "$ac_compile") 2>conftest.er1
14511 grep -v '^ *+' conftest.er1 >conftest.err
14513 cat conftest.err >&5
14514 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14515 (exit $ac_status); } && {
14516 test -z "$ac_c_werror_flag" ||
14517 test ! -s conftest.err
14518 } && test -s conftest.$ac_objext; then
14519 ac_cv_prog_cc_g=yes
14521 echo "$as_me: failed program was
:" >&5
14522 sed 's/^/| /' conftest.$ac_ext >&5
14525 cat >conftest.$ac_ext <<_ACEOF
14528 cat confdefs.h >>conftest.$ac_ext
14529 cat >>conftest.$ac_ext <<_ACEOF
14530 /* end confdefs.h. */
14540 rm -f conftest.$ac_objext
14541 if { (ac_try="$ac_compile"
14542 case "(($ac_try" in
14543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14544 *) ac_try_echo=$ac_try;;
14546 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14547 (eval "$ac_compile") 2>conftest.er1
14549 grep -v '^ *+' conftest.er1 >conftest.err
14551 cat conftest.err >&5
14552 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14553 (exit $ac_status); } && {
14554 test -z "$ac_c_werror_flag" ||
14555 test ! -s conftest.err
14556 } && test -s conftest.$ac_objext; then
14559 echo "$as_me: failed program was
:" >&5
14560 sed 's/^/| /' conftest.$ac_ext >&5
14562 ac_c_werror_flag=$ac_save_c_werror_flag
14564 cat >conftest.$ac_ext <<_ACEOF
14567 cat confdefs.h >>conftest.$ac_ext
14568 cat >>conftest.$ac_ext <<_ACEOF
14569 /* end confdefs.h. */
14579 rm -f conftest.$ac_objext
14580 if { (ac_try="$ac_compile"
14581 case "(($ac_try" in
14582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14583 *) ac_try_echo=$ac_try;;
14585 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14586 (eval "$ac_compile") 2>conftest.er1
14588 grep -v '^ *+' conftest.er1 >conftest.err
14590 cat conftest.err >&5
14591 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14592 (exit $ac_status); } && {
14593 test -z "$ac_c_werror_flag" ||
14594 test ! -s conftest.err
14595 } && test -s conftest.$ac_objext; then
14596 ac_cv_prog_cc_g=yes
14598 echo "$as_me: failed program was
:" >&5
14599 sed 's/^/| /' conftest.$ac_ext >&5
14604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14611 ac_c_werror_flag=$ac_save_c_werror_flag
14613 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14614 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14615 if test "$ac_test_CFLAGS" = set; then
14616 CFLAGS=$ac_save_CFLAGS
14617 elif test $ac_cv_prog_cc_g = yes; then
14618 if test "$GCC" = yes; then
14624 if test "$GCC" = yes; then
14630 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14631 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14632 if test "${ac_cv_prog_cc_c89+set}" = set; then
14633 echo $ECHO_N "(cached
) $ECHO_C" >&6
14635 ac_cv_prog_cc_c89=no
14637 cat >conftest.$ac_ext <<_ACEOF
14640 cat confdefs.h >>conftest.$ac_ext
14641 cat >>conftest.$ac_ext <<_ACEOF
14642 /* end confdefs.h. */
14643 #include <stdarg.h>
14645 #include <sys/types.h>
14646 #include <sys/stat.h>
14647 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14648 struct buf { int x; };
14649 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14650 static char *e (p, i)
14656 static char *f (char * (*g) (char **, int), char **p, ...)
14661 s = g (p, va_arg (v,int));
14666 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14667 function prototypes and stuff, but not '\xHH' hex character constants.
14668 These don't provoke an error unfortunately, instead are silently treated
14669 as 'x'. The following induces an error, until -std is added to get
14670 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14671 array size at least. It's necessary to write '\x00'==0 to get something
14672 that's true only with -std. */
14673 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14675 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14676 inside strings and character constants. */
14678 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14680 int test (int i, double x);
14681 struct s1 {int (*f) (int a);};
14682 struct s2 {int (*f) (double a);};
14683 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14689 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14694 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14695 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14697 CC="$ac_save_CC $ac_arg"
14698 rm -f conftest.$ac_objext
14699 if { (ac_try="$ac_compile"
14700 case "(($ac_try" in
14701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14702 *) ac_try_echo=$ac_try;;
14704 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14705 (eval "$ac_compile") 2>conftest.er1
14707 grep -v '^ *+' conftest.er1 >conftest.err
14709 cat conftest.err >&5
14710 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14711 (exit $ac_status); } && {
14712 test -z "$ac_c_werror_flag" ||
14713 test ! -s conftest.err
14714 } && test -s conftest.$ac_objext; then
14715 ac_cv_prog_cc_c89=$ac_arg
14717 echo "$as_me: failed program was
:" >&5
14718 sed 's/^/| /' conftest.$ac_ext >&5
14723 rm -f core conftest.err conftest.$ac_objext
14724 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14726 rm -f conftest.$ac_ext
14731 case "x
$ac_cv_prog_cc_c89" in
14733 { echo "$as_me:$LINENO: result
: none needed
" >&5
14734 echo "${ECHO_T}none needed
" >&6; } ;;
14736 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14737 echo "${ECHO_T}unsupported
" >&6; } ;;
14739 CC="$CC $ac_cv_prog_cc_c89"
14740 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14741 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14746 ac_cpp='$CPP $CPPFLAGS'
14747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14755 ac_cpp='$CPP $CPPFLAGS'
14756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14760 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14761 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
14762 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14763 echo $ECHO_N "(cached
) $ECHO_C" >&6
14765 cat >conftest.$ac_ext <<_ACEOF
14768 cat confdefs.h >>conftest.$ac_ext
14769 cat >>conftest.$ac_ext <<_ACEOF
14770 /* end confdefs.h. */
14776 #ifndef __INTEL_COMPILER
14784 rm -f conftest.$ac_objext
14785 if { (ac_try="$ac_compile"
14786 case "(($ac_try" in
14787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14788 *) ac_try_echo=$ac_try;;
14790 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14791 (eval "$ac_compile") 2>conftest.er1
14793 grep -v '^ *+' conftest.er1 >conftest.err
14795 cat conftest.err >&5
14796 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14797 (exit $ac_status); } && {
14798 test -z "$ac_c_werror_flag" ||
14799 test ! -s conftest.err
14800 } && test -s conftest.$ac_objext; then
14801 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14803 echo "$as_me: failed program was
:" >&5
14804 sed 's/^/| /' conftest.$ac_ext >&5
14806 bakefile_cv_c_compiler___INTEL_COMPILER=no
14810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14814 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14815 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14816 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
14822 ac_cpp='$CPP $CPPFLAGS'
14823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14830 if test "x
$GCC" != "xyes
"; then
14831 if test "xCC
" = "xC
"; then
14832 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
14833 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
14834 if test "${bakefile_cv_c_exto+set}" = set; then
14835 echo $ECHO_N "(cached
) $ECHO_C" >&6
14837 cat >conftest.$ac_ext <<_ACEOF
14840 cat confdefs.h >>conftest.$ac_ext
14841 cat >>conftest.$ac_ext <<_ACEOF
14842 /* end confdefs.h. */
14852 rm -f conftest.$ac_objext conftest.$ac_ext.o
14853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14854 (eval $ac_compile) 2>&5
14856 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14857 (exit $ac_status); }; then
14858 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14860 conftest.$ac_ext.o)
14861 bakefile_cv_c_exto="-ext o
"
14868 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
14869 See \
`config.log' for more details." >&5
14870 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14871 See \`config.log
' for more details." >&2;}
14872 { (exit 1); exit 1; }; }
14876 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14879 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14880 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14881 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14882 if test "c" = "c"; then
14883 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14885 if test "c" = "cxx"; then
14886 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14890 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14891 unset ac_cv_prog_cc_g
14892 ac_test_CFLAGS=${CFLAGS+set}
14893 ac_save_CFLAGS=$CFLAGS
14894 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14895 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14896 if test "${ac_cv_prog_cc_g+set}" = set; then
14897 echo $ECHO_N "(cached) $ECHO_C" >&6
14899 ac_save_c_werror_flag=$ac_c_werror_flag
14900 ac_c_werror_flag=yes
14903 cat >conftest.$ac_ext <<_ACEOF
14906 cat confdefs.h >>conftest.$ac_ext
14907 cat >>conftest.$ac_ext <<_ACEOF
14908 /* end confdefs.h. */
14918 rm -f conftest.$ac_objext
14919 if { (ac_try="$ac_compile"
14920 case "(($ac_try" in
14921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14922 *) ac_try_echo=$ac_try;;
14924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14925 (eval "$ac_compile") 2>conftest.er1
14927 grep -v '^
*+' conftest.er1 >conftest.err
14929 cat conftest.err >&5
14930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); } && {
14932 test -z "$ac_c_werror_flag" ||
14933 test ! -s conftest.err
14934 } && test -s conftest.$ac_objext; then
14935 ac_cv_prog_cc_g=yes
14937 echo "$as_me: failed program was:" >&5
14938 sed 's
/^
/| /' conftest.$ac_ext >&5
14941 cat >conftest.$ac_ext <<_ACEOF
14944 cat confdefs.h >>conftest.$ac_ext
14945 cat >>conftest.$ac_ext <<_ACEOF
14946 /* end confdefs.h. */
14956 rm -f conftest.$ac_objext
14957 if { (ac_try="$ac_compile"
14958 case "(($ac_try" in
14959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14960 *) ac_try_echo=$ac_try;;
14962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14963 (eval "$ac_compile") 2>conftest.er1
14965 grep -v '^
*+' conftest.er1 >conftest.err
14967 cat conftest.err >&5
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); } && {
14970 test -z "$ac_c_werror_flag" ||
14971 test ! -s conftest.err
14972 } && test -s conftest.$ac_objext; then
14975 echo "$as_me: failed program was:" >&5
14976 sed 's
/^
/| /' conftest.$ac_ext >&5
14978 ac_c_werror_flag=$ac_save_c_werror_flag
14980 cat >conftest.$ac_ext <<_ACEOF
14983 cat confdefs.h >>conftest.$ac_ext
14984 cat >>conftest.$ac_ext <<_ACEOF
14985 /* end confdefs.h. */
14995 rm -f conftest.$ac_objext
14996 if { (ac_try="$ac_compile"
14997 case "(($ac_try" in
14998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14999 *) ac_try_echo=$ac_try;;
15001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15002 (eval "$ac_compile") 2>conftest.er1
15004 grep -v '^
*+' conftest.er1 >conftest.err
15006 cat conftest.err >&5
15007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008 (exit $ac_status); } && {
15009 test -z "$ac_c_werror_flag" ||
15010 test ! -s conftest.err
15011 } && test -s conftest.$ac_objext; then
15012 ac_cv_prog_cc_g=yes
15014 echo "$as_me: failed program was:" >&5
15015 sed 's
/^
/| /' conftest.$ac_ext >&5
15020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15027 ac_c_werror_flag=$ac_save_c_werror_flag
15029 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15030 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15031 if test "$ac_test_CFLAGS" = set; then
15032 CFLAGS=$ac_save_CFLAGS
15033 elif test $ac_cv_prog_cc_g = yes; then
15034 if test "$GCC" = yes; then
15040 if test "$GCC" = yes; then
15054 ac_cpp='$CPP $CPPFLAGS'
15055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15056 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15059 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15060 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15061 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15062 echo $ECHO_N "(cached) $ECHO_C" >&6
15064 cat >conftest.$ac_ext <<_ACEOF
15067 cat confdefs.h >>conftest.$ac_ext
15068 cat >>conftest.$ac_ext <<_ACEOF
15069 /* end confdefs.h. */
15083 rm -f conftest.$ac_objext
15084 if { (ac_try="$ac_compile"
15085 case "(($ac_try" in
15086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15087 *) ac_try_echo=$ac_try;;
15089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15090 (eval "$ac_compile") 2>conftest.er1
15092 grep -v '^
*+' conftest.er1 >conftest.err
15094 cat conftest.err >&5
15095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15096 (exit $ac_status); } && {
15097 test -z "$ac_c_werror_flag" ||
15098 test ! -s conftest.err
15099 } && test -s conftest.$ac_objext; then
15100 bakefile_cv_c_compiler___xlC__=yes
15102 echo "$as_me: failed program was:" >&5
15103 sed 's
/^
/| /' conftest.$ac_ext >&5
15105 bakefile_cv_c_compiler___xlC__=no
15109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15113 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15114 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15115 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15121 ac_cpp='$CPP $CPPFLAGS'
15122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15123 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15134 ac_cpp='$CPP $CPPFLAGS'
15135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15136 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15139 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15140 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15141 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15142 echo $ECHO_N "(cached) $ECHO_C" >&6
15144 cat >conftest.$ac_ext <<_ACEOF
15147 cat confdefs.h >>conftest.$ac_ext
15148 cat >>conftest.$ac_ext <<_ACEOF
15149 /* end confdefs.h. */
15163 rm -f conftest.$ac_objext
15164 if { (ac_try="$ac_compile"
15165 case "(($ac_try" in
15166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15167 *) ac_try_echo=$ac_try;;
15169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15170 (eval "$ac_compile") 2>conftest.er1
15172 grep -v '^
*+' conftest.er1 >conftest.err
15174 cat conftest.err >&5
15175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15176 (exit $ac_status); } && {
15177 test -z "$ac_c_werror_flag" ||
15178 test ! -s conftest.err
15179 } && test -s conftest.$ac_objext; then
15180 bakefile_cv_c_compiler___MWERKS__=yes
15182 echo "$as_me: failed program was:" >&5
15183 sed 's
/^
/| /' conftest.$ac_ext >&5
15185 bakefile_cv_c_compiler___MWERKS__=no
15189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15193 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15194 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15195 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15201 ac_cpp='$CPP $CPPFLAGS'
15202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15203 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15211 ac_cpp='$CPP $CPPFLAGS'
15212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15213 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15216 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15217 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15218 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15219 echo $ECHO_N "(cached) $ECHO_C" >&6
15221 cat >conftest.$ac_ext <<_ACEOF
15224 cat confdefs.h >>conftest.$ac_ext
15225 cat >>conftest.$ac_ext <<_ACEOF
15226 /* end confdefs.h. */
15240 rm -f conftest.$ac_objext
15241 if { (ac_try="$ac_compile"
15242 case "(($ac_try" in
15243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15244 *) ac_try_echo=$ac_try;;
15246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15247 (eval "$ac_compile") 2>conftest.er1
15249 grep -v '^
*+' conftest.er1 >conftest.err
15251 cat conftest.err >&5
15252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15253 (exit $ac_status); } && {
15254 test -z "$ac_c_werror_flag" ||
15255 test ! -s conftest.err
15256 } && test -s conftest.$ac_objext; then
15257 bakefile_cv_c_compiler___xlC__=yes
15259 echo "$as_me: failed program was:" >&5
15260 sed 's
/^
/| /' conftest.$ac_ext >&5
15262 bakefile_cv_c_compiler___xlC__=no
15266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15270 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15271 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15272 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15278 ac_cpp='$CPP $CPPFLAGS'
15279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15280 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15291 ac_cpp='$CPP $CPPFLAGS'
15292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15293 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15296 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15297 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15298 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15299 echo $ECHO_N "(cached) $ECHO_C" >&6
15301 cat >conftest.$ac_ext <<_ACEOF
15304 cat confdefs.h >>conftest.$ac_ext
15305 cat >>conftest.$ac_ext <<_ACEOF
15306 /* end confdefs.h. */
15312 #ifndef _SGI_COMPILER_VERSION
15320 rm -f conftest.$ac_objext
15321 if { (ac_try="$ac_compile"
15322 case "(($ac_try" in
15323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15324 *) ac_try_echo=$ac_try;;
15326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15327 (eval "$ac_compile") 2>conftest.er1
15329 grep -v '^
*+' conftest.er1 >conftest.err
15331 cat conftest.err >&5
15332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333 (exit $ac_status); } && {
15334 test -z "$ac_c_werror_flag" ||
15335 test ! -s conftest.err
15336 } && test -s conftest.$ac_objext; then
15337 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15339 echo "$as_me: failed program was:" >&5
15340 sed 's
/^
/| /' conftest.$ac_ext >&5
15342 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15350 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15351 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15352 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15358 ac_cpp='$CPP $CPPFLAGS'
15359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15360 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15371 ac_cpp='$CPP $CPPFLAGS'
15372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15373 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15376 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15377 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15378 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15379 echo $ECHO_N "(cached) $ECHO_C" >&6
15381 cat >conftest.$ac_ext <<_ACEOF
15384 cat confdefs.h >>conftest.$ac_ext
15385 cat >>conftest.$ac_ext <<_ACEOF
15386 /* end confdefs.h. */
15400 rm -f conftest.$ac_objext
15401 if { (ac_try="$ac_compile"
15402 case "(($ac_try" in
15403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15404 *) ac_try_echo=$ac_try;;
15406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15407 (eval "$ac_compile") 2>conftest.er1
15409 grep -v '^
*+' conftest.er1 >conftest.err
15411 cat conftest.err >&5
15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15413 (exit $ac_status); } && {
15414 test -z "$ac_c_werror_flag" ||
15415 test ! -s conftest.err
15416 } && test -s conftest.$ac_objext; then
15417 bakefile_cv_c_compiler___SUNPRO_C=yes
15419 echo "$as_me: failed program was:" >&5
15420 sed 's
/^
/| /' conftest.$ac_ext >&5
15422 bakefile_cv_c_compiler___SUNPRO_C=no
15426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15430 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15431 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15432 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15438 ac_cpp='$CPP $CPPFLAGS'
15439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15440 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15451 ac_cpp='$CPP $CPPFLAGS'
15452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15453 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15456 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15457 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15458 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15459 echo $ECHO_N "(cached) $ECHO_C" >&6
15461 cat >conftest.$ac_ext <<_ACEOF
15464 cat confdefs.h >>conftest.$ac_ext
15465 cat >>conftest.$ac_ext <<_ACEOF
15466 /* end confdefs.h. */
15480 rm -f conftest.$ac_objext
15481 if { (ac_try="$ac_compile"
15482 case "(($ac_try" in
15483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15484 *) ac_try_echo=$ac_try;;
15486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15487 (eval "$ac_compile") 2>conftest.er1
15489 grep -v '^
*+' conftest.er1 >conftest.err
15491 cat conftest.err >&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } && {
15494 test -z "$ac_c_werror_flag" ||
15495 test ! -s conftest.err
15496 } && test -s conftest.$ac_objext; then
15497 bakefile_cv_c_compiler___HP_cc=yes
15499 echo "$as_me: failed program was:" >&5
15500 sed 's
/^
/| /' conftest.$ac_ext >&5
15502 bakefile_cv_c_compiler___HP_cc=no
15506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15510 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15511 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15512 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15518 ac_cpp='$CPP $CPPFLAGS'
15519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15520 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15531 ac_cpp='$CPP $CPPFLAGS'
15532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15533 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15536 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15537 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15538 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15539 echo $ECHO_N "(cached) $ECHO_C" >&6
15541 cat >conftest.$ac_ext <<_ACEOF
15544 cat confdefs.h >>conftest.$ac_ext
15545 cat >>conftest.$ac_ext <<_ACEOF
15546 /* end confdefs.h. */
15560 rm -f conftest.$ac_objext
15561 if { (ac_try="$ac_compile"
15562 case "(($ac_try" in
15563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15564 *) ac_try_echo=$ac_try;;
15566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15567 (eval "$ac_compile") 2>conftest.er1
15569 grep -v '^
*+' conftest.er1 >conftest.err
15571 cat conftest.err >&5
15572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15573 (exit $ac_status); } && {
15574 test -z "$ac_c_werror_flag" ||
15575 test ! -s conftest.err
15576 } && test -s conftest.$ac_objext; then
15577 bakefile_cv_c_compiler___DECC=yes
15579 echo "$as_me: failed program was:" >&5
15580 sed 's
/^
/| /' conftest.$ac_ext >&5
15582 bakefile_cv_c_compiler___DECC=no
15586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15590 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15591 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15592 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15598 ac_cpp='$CPP $CPPFLAGS'
15599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15600 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15611 ac_cpp='$CPP $CPPFLAGS'
15612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15613 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15616 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15617 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15618 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15619 echo $ECHO_N "(cached) $ECHO_C" >&6
15621 cat >conftest.$ac_ext <<_ACEOF
15624 cat confdefs.h >>conftest.$ac_ext
15625 cat >>conftest.$ac_ext <<_ACEOF
15626 /* end confdefs.h. */
15640 rm -f conftest.$ac_objext
15641 if { (ac_try="$ac_compile"
15642 case "(($ac_try" in
15643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15644 *) ac_try_echo=$ac_try;;
15646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15647 (eval "$ac_compile") 2>conftest.er1
15649 grep -v '^
*+' conftest.er1 >conftest.err
15651 cat conftest.err >&5
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); } && {
15654 test -z "$ac_c_werror_flag" ||
15655 test ! -s conftest.err
15656 } && test -s conftest.$ac_objext; then
15657 bakefile_cv_c_compiler___SUNPRO_C=yes
15659 echo "$as_me: failed program was:" >&5
15660 sed 's
/^
/| /' conftest.$ac_ext >&5
15662 bakefile_cv_c_compiler___SUNPRO_C=no
15666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15670 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15671 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15672 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15678 ac_cpp='$CPP $CPPFLAGS'
15679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15680 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15692 ac_cpp='$CPP $CPPFLAGS'
15693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15694 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15696 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15697 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15698 # On Suns, sometimes $CPP names a directory.
15699 if test -n "$CPP" && test -d "$CPP"; then
15702 if test -z "$CPP"; then
15703 if test "${ac_cv_prog_CPP+set}" = set; then
15704 echo $ECHO_N "(cached) $ECHO_C" >&6
15706 # Double quotes because CPP needs to be expanded
15707 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15709 ac_preproc_ok=false
15710 for ac_c_preproc_warn_flag in '' yes
15712 # Use a header file that comes with gcc, so configuring glibc
15713 # with a fresh cross-compiler works.
15714 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15715 # <limits.h> exists even on freestanding compilers.
15716 # On the NeXT, cc -E runs the code through the compiler's parser
,
15717 # not just through cpp. "Syntax error" is here to catch this case.
15718 cat >conftest.
$ac_ext <<_ACEOF
15721 cat confdefs.h
>>conftest.
$ac_ext
15722 cat >>conftest.
$ac_ext <<_ACEOF
15723 /* end confdefs.h. */
15725 # include <limits.h>
15727 # include <assert.h>
15731 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15732 case "(($ac_try" in
15733 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15734 *) ac_try_echo=$ac_try;;
15736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15737 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15739 grep -v '^ *+' conftest.er1 >conftest.err
15741 cat conftest.err >&5
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); } >/dev/null && {
15744 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15745 test ! -s conftest.err
15749 echo "$as_me: failed program was:" >&5
15750 sed 's/^/| /' conftest.$ac_ext >&5
15752 # Broken: fails on valid input.
15756 rm -f conftest.err conftest.$ac_ext
15758 # OK, works on sane cases. Now check whether nonexistent headers
15759 # can be detected and how.
15760 cat >conftest.$ac_ext <<_ACEOF
15763 cat confdefs.h >>conftest.$ac_ext
15764 cat >>conftest.$ac_ext <<_ACEOF
15765 /* end confdefs.h. */
15766 #include <ac_nonexistent.h>
15768 if { (ac_try="$ac_cpp conftest.$ac_ext"
15769 case "(($ac_try" in
15770 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15771 *) ac_try_echo
=$ac_try;;
15773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15774 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15776 grep -v '^ *+' conftest.er1
>conftest.err
15778 cat conftest.err
>&5
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); } >/dev
/null
&& {
15781 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15782 test ! -s conftest.err
15784 # Broken: success on invalid input.
15787 echo "$as_me: failed program was:" >&5
15788 sed 's/^/| /' conftest.
$ac_ext >&5
15790 # Passes both tests.
15795 rm -f conftest.err conftest.
$ac_ext
15798 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15799 rm -f conftest.err conftest.
$ac_ext
15800 if $ac_preproc_ok; then
15805 ac_cv_prog_CPP
=$CPP
15808 CPP
=$ac_cv_prog_CPP
15810 ac_cv_prog_CPP
=$CPP
15812 { echo "$as_me:$LINENO: result: $CPP" >&5
15813 echo "${ECHO_T}$CPP" >&6; }
15814 ac_preproc_ok
=false
15815 for ac_c_preproc_warn_flag
in '' yes
15817 # Use a header file that comes with gcc, so configuring glibc
15818 # with a fresh cross-compiler works.
15819 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15820 # <limits.h> exists even on freestanding compilers.
15821 # On the NeXT, cc -E runs the code through the compiler's parser,
15822 # not just through cpp. "Syntax error" is here to catch this case.
15823 cat >conftest.
$ac_ext <<_ACEOF
15826 cat confdefs.h
>>conftest.
$ac_ext
15827 cat >>conftest.
$ac_ext <<_ACEOF
15828 /* end confdefs.h. */
15830 # include <limits.h>
15832 # include <assert.h>
15836 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15837 case "(($ac_try" in
15838 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15839 *) ac_try_echo=$ac_try;;
15841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15842 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15844 grep -v '^ *+' conftest.er1 >conftest.err
15846 cat conftest.err >&5
15847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848 (exit $ac_status); } >/dev/null && {
15849 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15850 test ! -s conftest.err
15854 echo "$as_me: failed program was:" >&5
15855 sed 's/^/| /' conftest.$ac_ext >&5
15857 # Broken: fails on valid input.
15861 rm -f conftest.err conftest.$ac_ext
15863 # OK, works on sane cases. Now check whether nonexistent headers
15864 # can be detected and how.
15865 cat >conftest.$ac_ext <<_ACEOF
15868 cat confdefs.h >>conftest.$ac_ext
15869 cat >>conftest.$ac_ext <<_ACEOF
15870 /* end confdefs.h. */
15871 #include <ac_nonexistent.h>
15873 if { (ac_try="$ac_cpp conftest.$ac_ext"
15874 case "(($ac_try" in
15875 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15876 *) ac_try_echo
=$ac_try;;
15878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15879 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15881 grep -v '^ *+' conftest.er1
>conftest.err
15883 cat conftest.err
>&5
15884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); } >/dev
/null
&& {
15886 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15887 test ! -s conftest.err
15889 # Broken: success on invalid input.
15892 echo "$as_me: failed program was:" >&5
15893 sed 's/^/| /' conftest.
$ac_ext >&5
15895 # Passes both tests.
15900 rm -f conftest.err conftest.
$ac_ext
15903 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15904 rm -f conftest.err conftest.
$ac_ext
15905 if $ac_preproc_ok; then
15908 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15909 See \`config.log' for more details." >&5
15910 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15911 See \`config.log' for more details." >&2;}
15912 { (exit 1); exit 1; }; }
15916 ac_cpp
='$CPP $CPPFLAGS'
15917 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15918 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15919 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15922 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15923 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15924 if test "${ac_cv_path_GREP+set}" = set; then
15925 echo $ECHO_N "(cached) $ECHO_C" >&6
15927 # Extract the first word of "grep ggrep" to use in msg output
15928 if test -z "$GREP"; then
15929 set dummy
grep ggrep
; ac_prog_name
=$2
15930 if test "${ac_cv_path_GREP+set}" = set; then
15931 echo $ECHO_N "(cached) $ECHO_C" >&6
15933 ac_path_GREP_found
=false
15934 # Loop through the user's path and test for each of PROGNAME-LIST
15935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15936 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
15939 test -z "$as_dir" && as_dir
=.
15940 for ac_prog
in grep ggrep
; do
15941 for ac_exec_ext
in '' $ac_executable_extensions; do
15942 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
15943 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
15944 # Check for GNU ac_path_GREP and select it if it is found.
15945 # Check for GNU $ac_path_GREP
15946 case `"$ac_path_GREP" --version 2>&1` in
15948 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
15951 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15954 cat "conftest.in" "conftest.in" >"conftest.tmp"
15955 mv "conftest.tmp" "conftest.in"
15956 cp "conftest.in" "conftest.nl"
15957 echo 'GREP' >> "conftest.nl"
15958 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
15959 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
15960 ac_count
=`expr $ac_count + 1`
15961 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15962 # Best one so far, save it but keep looking for a better one
15963 ac_cv_path_GREP
="$ac_path_GREP"
15964 ac_path_GREP_max
=$ac_count
15966 # 10*(2^10) chars as input seems more than enough
15967 test $ac_count -gt 10 && break
15969 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
15973 $ac_path_GREP_found && break 3
15983 GREP
="$ac_cv_path_GREP"
15984 if test -z "$GREP"; then
15985 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15986 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15987 { (exit 1); exit 1; }; }
15991 ac_cv_path_GREP
=$GREP
15996 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15997 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15998 GREP
="$ac_cv_path_GREP"
16001 { echo "$as_me:$LINENO: checking for egrep" >&5
16002 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16003 if test "${ac_cv_path_EGREP+set}" = set; then
16004 echo $ECHO_N "(cached) $ECHO_C" >&6
16006 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16007 then ac_cv_path_EGREP
="$GREP -E"
16009 # Extract the first word of "egrep" to use in msg output
16010 if test -z "$EGREP"; then
16011 set dummy
egrep; ac_prog_name
=$2
16012 if test "${ac_cv_path_EGREP+set}" = set; then
16013 echo $ECHO_N "(cached) $ECHO_C" >&6
16015 ac_path_EGREP_found
=false
16016 # Loop through the user's path and test for each of PROGNAME-LIST
16017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16018 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16021 test -z "$as_dir" && as_dir
=.
16022 for ac_prog
in egrep; do
16023 for ac_exec_ext
in '' $ac_executable_extensions; do
16024 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16025 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16026 # Check for GNU ac_path_EGREP and select it if it is found.
16027 # Check for GNU $ac_path_EGREP
16028 case `"$ac_path_EGREP" --version 2>&1` in
16030 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16033 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16036 cat "conftest.in" "conftest.in" >"conftest.tmp"
16037 mv "conftest.tmp" "conftest.in"
16038 cp "conftest.in" "conftest.nl"
16039 echo 'EGREP' >> "conftest.nl"
16040 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16041 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16042 ac_count
=`expr $ac_count + 1`
16043 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16044 # Best one so far, save it but keep looking for a better one
16045 ac_cv_path_EGREP
="$ac_path_EGREP"
16046 ac_path_EGREP_max
=$ac_count
16048 # 10*(2^10) chars as input seems more than enough
16049 test $ac_count -gt 10 && break
16051 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16055 $ac_path_EGREP_found && break 3
16065 EGREP
="$ac_cv_path_EGREP"
16066 if test -z "$EGREP"; then
16067 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16068 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16069 { (exit 1); exit 1; }; }
16073 ac_cv_path_EGREP
=$EGREP
16079 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16080 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16081 EGREP
="$ac_cv_path_EGREP"
16084 if test $ac_cv_c_compiler_gnu = yes; then
16085 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16086 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16087 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16088 echo $ECHO_N "(cached) $ECHO_C" >&6
16090 ac_pattern
="Autoconf.*'x'"
16091 cat >conftest.
$ac_ext <<_ACEOF
16094 cat confdefs.h
>>conftest.
$ac_ext
16095 cat >>conftest.
$ac_ext <<_ACEOF
16096 /* end confdefs.h. */
16100 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16101 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16102 ac_cv_prog_gcc_traditional
=yes
16104 ac_cv_prog_gcc_traditional
=no
16109 if test $ac_cv_prog_gcc_traditional = no
; then
16110 cat >conftest.
$ac_ext <<_ACEOF
16113 cat confdefs.h
>>conftest.
$ac_ext
16114 cat >>conftest.
$ac_ext <<_ACEOF
16115 /* end confdefs.h. */
16116 #include <termio.h>
16119 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16120 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16121 ac_cv_prog_gcc_traditional
=yes
16127 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16128 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16129 if test $ac_cv_prog_gcc_traditional = yes; then
16130 CC
="$CC -traditional"
16135 CXXFLAGS
=${CXXFLAGS:=}
16140 ac_cpp
='$CXXCPP $CPPFLAGS'
16141 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16142 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16143 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16144 if test -z "$CXX"; then
16145 if test -n "$CCC"; then
16148 if test -n "$ac_tool_prefix"; then
16149 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16151 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16152 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16155 if test "${ac_cv_prog_CXX+set}" = set; then
16156 echo $ECHO_N "(cached) $ECHO_C" >&6
16158 if test -n "$CXX"; then
16159 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16162 for as_dir
in $PATH
16165 test -z "$as_dir" && as_dir
=.
16166 for ac_exec_ext
in '' $ac_executable_extensions; do
16167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16168 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16178 CXX
=$ac_cv_prog_CXX
16179 if test -n "$CXX"; then
16180 { echo "$as_me:$LINENO: result: $CXX" >&5
16181 echo "${ECHO_T}$CXX" >&6; }
16183 { echo "$as_me:$LINENO: result: no" >&5
16184 echo "${ECHO_T}no" >&6; }
16188 test -n "$CXX" && break
16191 if test -z "$CXX"; then
16193 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16195 # Extract the first word of "$ac_prog", so it can be a program name with args.
16196 set dummy
$ac_prog; ac_word
=$2
16197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16199 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16200 echo $ECHO_N "(cached) $ECHO_C" >&6
16202 if test -n "$ac_ct_CXX"; then
16203 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16206 for as_dir
in $PATH
16209 test -z "$as_dir" && as_dir
=.
16210 for ac_exec_ext
in '' $ac_executable_extensions; do
16211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16212 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16222 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16223 if test -n "$ac_ct_CXX"; then
16224 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16225 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16227 { echo "$as_me:$LINENO: result: no" >&5
16228 echo "${ECHO_T}no" >&6; }
16232 test -n "$ac_ct_CXX" && break
16235 if test "x$ac_ct_CXX" = x
; then
16238 case $cross_compiling:$ac_tool_warned in
16240 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16241 whose name does not start with the host triplet. If you think this
16242 configuration is useful to you, please write to autoconf@gnu.org." >&5
16243 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16244 whose name does not start with the host triplet. If you think this
16245 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16246 ac_tool_warned
=yes ;;
16254 # Provide some information about the compiler.
16255 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16256 ac_compiler
=`set X $ac_compile; echo $2`
16257 { (ac_try
="$ac_compiler --version >&5"
16258 case "(($ac_try" in
16259 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16260 *) ac_try_echo=$ac_try;;
16262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16263 (eval "$ac_compiler --version >&5") 2>&5
16265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16266 (exit $ac_status); }
16267 { (ac_try="$ac_compiler -v >&5"
16268 case "(($ac_try" in
16269 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16270 *) ac_try_echo
=$ac_try;;
16272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16273 (eval "$ac_compiler -v >&5") 2>&5
16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276 (exit $ac_status); }
16277 { (ac_try
="$ac_compiler -V >&5"
16278 case "(($ac_try" in
16279 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16280 *) ac_try_echo=$ac_try;;
16282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16283 (eval "$ac_compiler -V >&5") 2>&5
16285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286 (exit $ac_status); }
16288 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16289 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16290 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16291 echo $ECHO_N "(cached) $ECHO_C" >&6
16293 cat >conftest.$ac_ext <<_ACEOF
16296 cat confdefs.h >>conftest.$ac_ext
16297 cat >>conftest.$ac_ext <<_ACEOF
16298 /* end confdefs.h. */
16311 rm -f conftest.$ac_objext
16312 if { (ac_try="$ac_compile"
16313 case "(($ac_try" in
16314 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16315 *) ac_try_echo
=$ac_try;;
16317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16318 (eval "$ac_compile") 2>conftest.er1
16320 grep -v '^ *+' conftest.er1
>conftest.err
16322 cat conftest.err
>&5
16323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16324 (exit $ac_status); } && {
16325 test -z "$ac_cxx_werror_flag" ||
16326 test ! -s conftest.err
16327 } && test -s conftest.
$ac_objext; then
16328 ac_compiler_gnu
=yes
16330 echo "$as_me: failed program was:" >&5
16331 sed 's/^/| /' conftest.
$ac_ext >&5
16336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16337 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16340 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16341 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16342 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16343 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16344 ac_save_CXXFLAGS
=$CXXFLAGS
16345 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16346 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16347 if test "${ac_cv_prog_cxx_g+set}" = set; then
16348 echo $ECHO_N "(cached) $ECHO_C" >&6
16350 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16351 ac_cxx_werror_flag
=yes
16352 ac_cv_prog_cxx_g
=no
16354 cat >conftest.
$ac_ext <<_ACEOF
16357 cat confdefs.h
>>conftest.
$ac_ext
16358 cat >>conftest.
$ac_ext <<_ACEOF
16359 /* end confdefs.h. */
16369 rm -f conftest.
$ac_objext
16370 if { (ac_try
="$ac_compile"
16371 case "(($ac_try" in
16372 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16373 *) ac_try_echo=$ac_try;;
16375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16376 (eval "$ac_compile") 2>conftest.er1
16378 grep -v '^ *+' conftest.er1 >conftest.err
16380 cat conftest.err >&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); } && {
16383 test -z "$ac_cxx_werror_flag" ||
16384 test ! -s conftest.err
16385 } && test -s conftest.$ac_objext; then
16386 ac_cv_prog_cxx_g=yes
16388 echo "$as_me: failed program was:" >&5
16389 sed 's/^/| /' conftest.$ac_ext >&5
16392 cat >conftest.$ac_ext <<_ACEOF
16395 cat confdefs.h >>conftest.$ac_ext
16396 cat >>conftest.$ac_ext <<_ACEOF
16397 /* end confdefs.h. */
16407 rm -f conftest.$ac_objext
16408 if { (ac_try="$ac_compile"
16409 case "(($ac_try" in
16410 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16411 *) ac_try_echo
=$ac_try;;
16413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16414 (eval "$ac_compile") 2>conftest.er1
16416 grep -v '^ *+' conftest.er1
>conftest.err
16418 cat conftest.err
>&5
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); } && {
16421 test -z "$ac_cxx_werror_flag" ||
16422 test ! -s conftest.err
16423 } && test -s conftest.
$ac_objext; then
16426 echo "$as_me: failed program was:" >&5
16427 sed 's/^/| /' conftest.
$ac_ext >&5
16429 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16431 cat >conftest.
$ac_ext <<_ACEOF
16434 cat confdefs.h
>>conftest.
$ac_ext
16435 cat >>conftest.
$ac_ext <<_ACEOF
16436 /* end confdefs.h. */
16446 rm -f conftest.
$ac_objext
16447 if { (ac_try
="$ac_compile"
16448 case "(($ac_try" in
16449 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16450 *) ac_try_echo=$ac_try;;
16452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16453 (eval "$ac_compile") 2>conftest.er1
16455 grep -v '^ *+' conftest.er1 >conftest.err
16457 cat conftest.err >&5
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); } && {
16460 test -z "$ac_cxx_werror_flag" ||
16461 test ! -s conftest.err
16462 } && test -s conftest.$ac_objext; then
16463 ac_cv_prog_cxx_g=yes
16465 echo "$as_me: failed program was:" >&5
16466 sed 's/^/| /' conftest.$ac_ext >&5
16471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16478 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16480 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16481 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16482 if test "$ac_test_CXXFLAGS" = set; then
16483 CXXFLAGS=$ac_save_CXXFLAGS
16484 elif test $ac_cv_prog_cxx_g = yes; then
16485 if test "$GXX" = yes; then
16491 if test "$GXX" = yes; then
16498 ac_cpp='$CPP $CPPFLAGS'
16499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16507 ac_cpp='$CXXCPP $CPPFLAGS'
16508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16512 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16513 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16514 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16515 echo $ECHO_N "(cached) $ECHO_C" >&6
16517 cat >conftest.$ac_ext <<_ACEOF
16520 cat confdefs.h >>conftest.$ac_ext
16521 cat >>conftest.$ac_ext <<_ACEOF
16522 /* end confdefs.h. */
16528 #ifndef __INTEL_COMPILER
16536 rm -f conftest.$ac_objext
16537 if { (ac_try="$ac_compile"
16538 case "(($ac_try" in
16539 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16540 *) ac_try_echo
=$ac_try;;
16542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16543 (eval "$ac_compile") 2>conftest.er1
16545 grep -v '^ *+' conftest.er1
>conftest.err
16547 cat conftest.err
>&5
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); } && {
16550 test -z "$ac_cxx_werror_flag" ||
16551 test ! -s conftest.err
16552 } && test -s conftest.
$ac_objext; then
16553 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16555 echo "$as_me: failed program was:" >&5
16556 sed 's/^/| /' conftest.
$ac_ext >&5
16558 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16566 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16567 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16568 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16574 ac_cpp
='$CPP $CPPFLAGS'
16575 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16576 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16577 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16582 if test "x$GCXX" != "xyes"; then
16583 if test "xCXX" = "xC"; then
16584 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16585 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16586 if test "${bakefile_cv_c_exto+set}" = set; then
16587 echo $ECHO_N "(cached) $ECHO_C" >&6
16589 cat >conftest.
$ac_ext <<_ACEOF
16592 cat confdefs.h
>>conftest.
$ac_ext
16593 cat >>conftest.
$ac_ext <<_ACEOF
16594 /* end confdefs.h. */
16604 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
16605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16606 (eval $ac_compile) 2>&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); }; then
16610 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
16612 conftest.
$ac_ext.o
)
16613 bakefile_cv_c_exto
="-ext o"
16620 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16621 See \`config.log' for more details." >&5
16622 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16623 See \`config.log' for more details." >&2;}
16624 { (exit 1); exit 1; }; }
16628 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
16631 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16632 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16633 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16634 if test "c" = "c"; then
16635 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
16637 if test "c" = "cxx"; then
16638 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
16642 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16643 unset ac_cv_prog_cc_g
16644 ac_test_CFLAGS
=${CFLAGS+set}
16645 ac_save_CFLAGS
=$CFLAGS
16646 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16647 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16648 if test "${ac_cv_prog_cc_g+set}" = set; then
16649 echo $ECHO_N "(cached) $ECHO_C" >&6
16651 ac_save_c_werror_flag
=$ac_c_werror_flag
16652 ac_c_werror_flag
=yes
16655 cat >conftest.
$ac_ext <<_ACEOF
16658 cat confdefs.h
>>conftest.
$ac_ext
16659 cat >>conftest.
$ac_ext <<_ACEOF
16660 /* end confdefs.h. */
16670 rm -f conftest.
$ac_objext
16671 if { (ac_try
="$ac_compile"
16672 case "(($ac_try" in
16673 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16674 *) ac_try_echo=$ac_try;;
16676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16677 (eval "$ac_compile") 2>conftest.er1
16679 grep -v '^ *+' conftest.er1 >conftest.err
16681 cat conftest.err >&5
16682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16683 (exit $ac_status); } && {
16684 test -z "$ac_c_werror_flag" ||
16685 test ! -s conftest.err
16686 } && test -s conftest.$ac_objext; then
16687 ac_cv_prog_cc_g=yes
16689 echo "$as_me: failed program was:" >&5
16690 sed 's/^/| /' conftest.$ac_ext >&5
16693 cat >conftest.$ac_ext <<_ACEOF
16696 cat confdefs.h >>conftest.$ac_ext
16697 cat >>conftest.$ac_ext <<_ACEOF
16698 /* end confdefs.h. */
16708 rm -f conftest.$ac_objext
16709 if { (ac_try="$ac_compile"
16710 case "(($ac_try" in
16711 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16712 *) ac_try_echo
=$ac_try;;
16714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16715 (eval "$ac_compile") 2>conftest.er1
16717 grep -v '^ *+' conftest.er1
>conftest.err
16719 cat conftest.err
>&5
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); } && {
16722 test -z "$ac_c_werror_flag" ||
16723 test ! -s conftest.err
16724 } && test -s conftest.
$ac_objext; then
16727 echo "$as_me: failed program was:" >&5
16728 sed 's/^/| /' conftest.
$ac_ext >&5
16730 ac_c_werror_flag
=$ac_save_c_werror_flag
16732 cat >conftest.
$ac_ext <<_ACEOF
16735 cat confdefs.h
>>conftest.
$ac_ext
16736 cat >>conftest.
$ac_ext <<_ACEOF
16737 /* end confdefs.h. */
16747 rm -f conftest.
$ac_objext
16748 if { (ac_try
="$ac_compile"
16749 case "(($ac_try" in
16750 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16751 *) ac_try_echo=$ac_try;;
16753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16754 (eval "$ac_compile") 2>conftest.er1
16756 grep -v '^ *+' conftest.er1 >conftest.err
16758 cat conftest.err >&5
16759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16760 (exit $ac_status); } && {
16761 test -z "$ac_c_werror_flag" ||
16762 test ! -s conftest.err
16763 } && test -s conftest.$ac_objext; then
16764 ac_cv_prog_cc_g=yes
16766 echo "$as_me: failed program was:" >&5
16767 sed 's/^/| /' conftest.$ac_ext >&5
16772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16779 ac_c_werror_flag=$ac_save_c_werror_flag
16781 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16782 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16783 if test "$ac_test_CFLAGS" = set; then
16784 CFLAGS=$ac_save_CFLAGS
16785 elif test $ac_cv_prog_cc_g = yes; then
16786 if test "$GCC" = yes; then
16792 if test "$GCC" = yes; then
16806 ac_cpp='$CXXCPP $CPPFLAGS'
16807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16811 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16812 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16813 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16814 echo $ECHO_N "(cached) $ECHO_C" >&6
16816 cat >conftest.$ac_ext <<_ACEOF
16819 cat confdefs.h >>conftest.$ac_ext
16820 cat >>conftest.$ac_ext <<_ACEOF
16821 /* end confdefs.h. */
16835 rm -f conftest.$ac_objext
16836 if { (ac_try="$ac_compile"
16837 case "(($ac_try" in
16838 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16839 *) ac_try_echo
=$ac_try;;
16841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16842 (eval "$ac_compile") 2>conftest.er1
16844 grep -v '^ *+' conftest.er1
>conftest.err
16846 cat conftest.err
>&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); } && {
16849 test -z "$ac_cxx_werror_flag" ||
16850 test ! -s conftest.err
16851 } && test -s conftest.
$ac_objext; then
16852 bakefile_cv_cxx_compiler___xlC__
=yes
16854 echo "$as_me: failed program was:" >&5
16855 sed 's/^/| /' conftest.
$ac_ext >&5
16857 bakefile_cv_cxx_compiler___xlC__
=no
16861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16865 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16866 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16867 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16873 ac_cpp
='$CPP $CPPFLAGS'
16874 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16875 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16876 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16886 ac_cpp
='$CXXCPP $CPPFLAGS'
16887 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16888 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16889 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16891 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16892 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16893 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16894 echo $ECHO_N "(cached) $ECHO_C" >&6
16896 cat >conftest.
$ac_ext <<_ACEOF
16899 cat confdefs.h
>>conftest.
$ac_ext
16900 cat >>conftest.
$ac_ext <<_ACEOF
16901 /* end confdefs.h. */
16915 rm -f conftest.
$ac_objext
16916 if { (ac_try
="$ac_compile"
16917 case "(($ac_try" in
16918 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16919 *) ac_try_echo=$ac_try;;
16921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16922 (eval "$ac_compile") 2>conftest.er1
16924 grep -v '^ *+' conftest.er1 >conftest.err
16926 cat conftest.err >&5
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); } && {
16929 test -z "$ac_cxx_werror_flag" ||
16930 test ! -s conftest.err
16931 } && test -s conftest.$ac_objext; then
16932 bakefile_cv_cxx_compiler___MWERKS__=yes
16934 echo "$as_me: failed program was:" >&5
16935 sed 's/^/| /' conftest.$ac_ext >&5
16937 bakefile_cv_cxx_compiler___MWERKS__=no
16941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16945 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
16946 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
16947 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
16953 ac_cpp='$CPP $CPPFLAGS'
16954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16963 ac_cpp='$CXXCPP $CPPFLAGS'
16964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16968 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16969 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16970 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16971 echo $ECHO_N "(cached) $ECHO_C" >&6
16973 cat >conftest.$ac_ext <<_ACEOF
16976 cat confdefs.h >>conftest.$ac_ext
16977 cat >>conftest.$ac_ext <<_ACEOF
16978 /* end confdefs.h. */
16992 rm -f conftest.$ac_objext
16993 if { (ac_try="$ac_compile"
16994 case "(($ac_try" in
16995 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16996 *) ac_try_echo
=$ac_try;;
16998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16999 (eval "$ac_compile") 2>conftest.er1
17001 grep -v '^ *+' conftest.er1
>conftest.err
17003 cat conftest.err
>&5
17004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17005 (exit $ac_status); } && {
17006 test -z "$ac_cxx_werror_flag" ||
17007 test ! -s conftest.err
17008 } && test -s conftest.
$ac_objext; then
17009 bakefile_cv_cxx_compiler___xlC__
=yes
17011 echo "$as_me: failed program was:" >&5
17012 sed 's/^/| /' conftest.
$ac_ext >&5
17014 bakefile_cv_cxx_compiler___xlC__
=no
17018 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17022 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17023 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17024 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17030 ac_cpp
='$CPP $CPPFLAGS'
17031 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17032 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17033 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17043 ac_cpp
='$CXXCPP $CPPFLAGS'
17044 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17045 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17046 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17048 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17049 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17050 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17051 echo $ECHO_N "(cached) $ECHO_C" >&6
17053 cat >conftest.
$ac_ext <<_ACEOF
17056 cat confdefs.h
>>conftest.
$ac_ext
17057 cat >>conftest.
$ac_ext <<_ACEOF
17058 /* end confdefs.h. */
17064 #ifndef _SGI_COMPILER_VERSION
17072 rm -f conftest.
$ac_objext
17073 if { (ac_try
="$ac_compile"
17074 case "(($ac_try" in
17075 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17076 *) ac_try_echo=$ac_try;;
17078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17079 (eval "$ac_compile") 2>conftest.er1
17081 grep -v '^ *+' conftest.er1 >conftest.err
17083 cat conftest.err >&5
17084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17085 (exit $ac_status); } && {
17086 test -z "$ac_cxx_werror_flag" ||
17087 test ! -s conftest.err
17088 } && test -s conftest.$ac_objext; then
17089 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17091 echo "$as_me: failed program was:" >&5
17092 sed 's/^/| /' conftest.$ac_ext >&5
17094 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17102 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17103 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17104 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17110 ac_cpp='$CPP $CPPFLAGS'
17111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17123 ac_cpp='$CXXCPP $CPPFLAGS'
17124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17128 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17129 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17130 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17131 echo $ECHO_N "(cached) $ECHO_C" >&6
17133 cat >conftest.$ac_ext <<_ACEOF
17136 cat confdefs.h >>conftest.$ac_ext
17137 cat >>conftest.$ac_ext <<_ACEOF
17138 /* end confdefs.h. */
17144 #ifndef __SUNPRO_CC
17152 rm -f conftest.$ac_objext
17153 if { (ac_try="$ac_compile"
17154 case "(($ac_try" in
17155 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17156 *) ac_try_echo
=$ac_try;;
17158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17159 (eval "$ac_compile") 2>conftest.er1
17161 grep -v '^ *+' conftest.er1
>conftest.err
17163 cat conftest.err
>&5
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); } && {
17166 test -z "$ac_cxx_werror_flag" ||
17167 test ! -s conftest.err
17168 } && test -s conftest.
$ac_objext; then
17169 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17171 echo "$as_me: failed program was:" >&5
17172 sed 's/^/| /' conftest.
$ac_ext >&5
17174 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17182 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17183 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17184 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17190 ac_cpp
='$CPP $CPPFLAGS'
17191 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17192 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17193 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17203 ac_cpp
='$CXXCPP $CPPFLAGS'
17204 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17205 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17206 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17208 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17209 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17210 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17211 echo $ECHO_N "(cached) $ECHO_C" >&6
17213 cat >conftest.
$ac_ext <<_ACEOF
17216 cat confdefs.h
>>conftest.
$ac_ext
17217 cat >>conftest.
$ac_ext <<_ACEOF
17218 /* end confdefs.h. */
17232 rm -f conftest.
$ac_objext
17233 if { (ac_try
="$ac_compile"
17234 case "(($ac_try" in
17235 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17236 *) ac_try_echo=$ac_try;;
17238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17239 (eval "$ac_compile") 2>conftest.er1
17241 grep -v '^ *+' conftest.er1 >conftest.err
17243 cat conftest.err >&5
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); } && {
17246 test -z "$ac_cxx_werror_flag" ||
17247 test ! -s conftest.err
17248 } && test -s conftest.$ac_objext; then
17249 bakefile_cv_cxx_compiler___HP_aCC=yes
17251 echo "$as_me: failed program was:" >&5
17252 sed 's/^/| /' conftest.$ac_ext >&5
17254 bakefile_cv_cxx_compiler___HP_aCC=no
17258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17262 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17263 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17264 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17270 ac_cpp='$CPP $CPPFLAGS'
17271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17283 ac_cpp='$CXXCPP $CPPFLAGS'
17284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17288 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17289 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17290 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17291 echo $ECHO_N "(cached) $ECHO_C" >&6
17293 cat >conftest.$ac_ext <<_ACEOF
17296 cat confdefs.h >>conftest.$ac_ext
17297 cat >>conftest.$ac_ext <<_ACEOF
17298 /* end confdefs.h. */
17312 rm -f conftest.$ac_objext
17313 if { (ac_try="$ac_compile"
17314 case "(($ac_try" in
17315 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17316 *) ac_try_echo
=$ac_try;;
17318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17319 (eval "$ac_compile") 2>conftest.er1
17321 grep -v '^ *+' conftest.er1
>conftest.err
17323 cat conftest.err
>&5
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); } && {
17326 test -z "$ac_cxx_werror_flag" ||
17327 test ! -s conftest.err
17328 } && test -s conftest.
$ac_objext; then
17329 bakefile_cv_cxx_compiler___DECCXX
=yes
17331 echo "$as_me: failed program was:" >&5
17332 sed 's/^/| /' conftest.
$ac_ext >&5
17334 bakefile_cv_cxx_compiler___DECCXX
=no
17338 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17342 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17343 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17344 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17350 ac_cpp
='$CPP $CPPFLAGS'
17351 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17352 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17353 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17363 ac_cpp
='$CXXCPP $CPPFLAGS'
17364 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17365 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17366 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17368 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17369 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17370 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17371 echo $ECHO_N "(cached) $ECHO_C" >&6
17373 cat >conftest.
$ac_ext <<_ACEOF
17376 cat confdefs.h
>>conftest.
$ac_ext
17377 cat >>conftest.
$ac_ext <<_ACEOF
17378 /* end confdefs.h. */
17384 #ifndef __SUNPRO_CC
17392 rm -f conftest.
$ac_objext
17393 if { (ac_try
="$ac_compile"
17394 case "(($ac_try" in
17395 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17396 *) ac_try_echo=$ac_try;;
17398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17399 (eval "$ac_compile") 2>conftest.er1
17401 grep -v '^ *+' conftest.er1 >conftest.err
17403 cat conftest.err >&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); } && {
17406 test -z "$ac_cxx_werror_flag" ||
17407 test ! -s conftest.err
17408 } && test -s conftest.$ac_objext; then
17409 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.$ac_ext >&5
17414 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17422 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17423 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17424 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17430 ac_cpp='$CPP $CPPFLAGS'
17431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17443 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17444 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17445 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17446 { (exit 1); exit 1; }; }
17449 if test "x$SUNCXX" != xyes; then
17450 if test -n "$ac_tool_prefix"; then
17451 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17452 set dummy ${ac_tool_prefix}ar; ac_word=$2
17453 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17455 if test "${ac_cv_prog_AR+set}" = set; then
17456 echo $ECHO_N "(cached) $ECHO_C" >&6
17458 if test -n "$AR"; then
17459 ac_cv_prog_AR="$AR" # Let the user override the test.
17461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17462 for as_dir in $PATH
17465 test -z "$as_dir" && as_dir=.
17466 for ac_exec_ext in '' $ac_executable_extensions; do
17467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17468 ac_cv_prog_AR="${ac_tool_prefix}ar"
17469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17479 if test -n "$AR"; then
17480 { echo "$as_me:$LINENO: result: $AR" >&5
17481 echo "${ECHO_T}$AR" >&6; }
17483 { echo "$as_me:$LINENO: result: no" >&5
17484 echo "${ECHO_T}no" >&6; }
17489 if test -z "$ac_cv_prog_AR"; then
17491 # Extract the first word of "ar", so it can be a program name with args.
17492 set dummy ar; ac_word=$2
17493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17495 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17496 echo $ECHO_N "(cached) $ECHO_C" >&6
17498 if test -n "$ac_ct_AR"; then
17499 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17502 for as_dir in $PATH
17505 test -z "$as_dir" && as_dir=.
17506 for ac_exec_ext in '' $ac_executable_extensions; do
17507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17508 ac_cv_prog_ac_ct_AR="ar"
17509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17518 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17519 if test -n "$ac_ct_AR"; then
17520 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17521 echo "${ECHO_T}$ac_ct_AR" >&6; }
17523 { echo "$as_me:$LINENO: result: no" >&5
17524 echo "${ECHO_T}no" >&6; }
17527 if test "x$ac_ct_AR" = x; then
17530 case $cross_compiling:$ac_tool_warned in
17532 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17533 whose name does not start with the host triplet. If you think this
17534 configuration is useful to you, please write to autoconf@gnu.org." >&5
17535 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17536 whose name does not start with the host triplet. If you think this
17537 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17538 ac_tool_warned=yes ;;
17543 AR="$ac_cv_prog_AR"
17546 if test "x$AR" = "x" ; then
17547 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17548 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17549 { (exit 1); exit 1; }; }
17553 retest_macosx_linking=no
17555 #if test "$wxUSE_MAC" = 1; then
17556 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17557 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17558 # Implicitly turn on the new --with-macosx-sdk using the default
17559 # SDK which provides the behavior this option has always had.
17560 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17561 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17562 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17563 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17564 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17565 wxUSE_MACOSX_SDK=yes
17568 # Complain to user if he specified an argument to --enable-universal_binary
17569 # and also 1) specified --with-macosx-sdk using the default (yes) or
17570 # 2) specified --with-macosx-sdk using a path or 3) specified
17571 # --without-macosx-sdk (no).
17572 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17573 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17574 See \`config.log
' for more details." >&5
17575 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17576 See \`config.log' for more details.
" >&2;}
17577 { (exit 1); exit 1; }; }
17579 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17580 # special-case the empty string because the below test simply
17581 # converts "no
" to the empty string anyway.
17582 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17583 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
17584 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
17587 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
17588 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17589 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17590 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17591 retest_macosx_linking=yes
17593 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
17594 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
17599 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
17601 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
17602 # TODO: Search for most recent SDK and use it.
17603 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
17607 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
17608 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
17609 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
17610 if ! test -d "$wxUSE_MACOSX_SDK"; then
17611 { { echo "$as_me:$LINENO: error
: not found
17612 See \
`config.log' for more details." >&5
17613 echo "$as_me: error: not found
17614 See \`config.log
' for more details." >&2;}
17615 { (exit 1); exit 1; }; }
17617 { echo "$as_me:$LINENO: result: exists" >&5
17618 echo "${ECHO_T}exists" >&6; }
17620 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17621 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17622 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17623 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17624 retest_macosx_linking=yes
17627 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17628 wxUSE_MACOSX_VERSION_MIN=
17629 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17630 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17631 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17632 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17634 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/'`
17636 # If that failed, try again with the new key
17637 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17639 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/'`
17643 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17644 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17645 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17646 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17648 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17649 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17650 wxUSE_MACOSX_VERSION_MIN=
17653 wxUSE_MACOSX_VERSION_MIN=
17657 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17658 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17659 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17660 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17661 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17662 retest_macosx_linking=yes
17665 if test "x$retest_macosx_linking" = "xyes"; then
17667 ac_cpp='$CPP $CPPFLAGS'
17668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17669 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17672 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17673 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17674 cat >conftest.$ac_ext <<_ACEOF
17677 cat confdefs.h >>conftest.$ac_ext
17678 cat >>conftest.$ac_ext <<_ACEOF
17679 /* end confdefs.h. */
17689 rm -f conftest.$ac_objext conftest$ac_exeext
17690 if { (ac_try="$ac_link"
17691 case "(($ac_try" in
17692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17693 *) ac_try_echo=$ac_try;;
17695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17696 (eval "$ac_link") 2>conftest.er1
17698 grep -v '^
*+' conftest.er1 >conftest.err
17700 cat conftest.err >&5
17701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17702 (exit $ac_status); } && {
17703 test -z "$ac_c_werror_flag" ||
17704 test ! -s conftest.err
17705 } && test -s conftest$ac_exeext &&
17706 $as_test_x conftest$ac_exeext; then
17707 { echo "$as_me:$LINENO: result: yes" >&5
17708 echo "${ECHO_T}yes" >&6; }
17710 echo "$as_me: failed program was:" >&5
17711 sed 's
/^
/| /' conftest.$ac_ext >&5
17713 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17714 See \`config.log' for more details.
" >&5
17715 echo "$as_me: error
: no. Try a different SDK
17716 See \
`config.log' for more details." >&2;}
17717 { (exit 1); exit 1; }; }; exit 1
17720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17721 conftest$ac_exeext conftest.$ac_ext
17723 ac_cpp='$CPP $CPPFLAGS'
17724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17730 ac_cpp='$CXXCPP $CPPFLAGS'
17731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17735 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17736 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17737 cat >conftest.$ac_ext <<_ACEOF
17740 cat confdefs.h >>conftest.$ac_ext
17741 cat >>conftest.$ac_ext <<_ACEOF
17742 /* end confdefs.h. */
17752 rm -f conftest.$ac_objext conftest$ac_exeext
17753 if { (ac_try="$ac_link"
17754 case "(($ac_try" in
17755 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17756 *) ac_try_echo
=$ac_try;;
17758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17759 (eval "$ac_link") 2>conftest.er1
17761 grep -v '^ *+' conftest.er1
>conftest.err
17763 cat conftest.err
>&5
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); } && {
17766 test -z "$ac_cxx_werror_flag" ||
17767 test ! -s conftest.err
17768 } && test -s conftest
$ac_exeext &&
17769 $as_test_x conftest
$ac_exeext; then
17770 { echo "$as_me:$LINENO: result: yes" >&5
17771 echo "${ECHO_T}yes" >&6; }
17773 echo "$as_me: failed program was:" >&5
17774 sed 's/^/| /' conftest.
$ac_ext >&5
17776 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17777 See \`config.log' for more details." >&5
17778 echo "$as_me: error: no. Try a different SDK
17779 See \`config.log' for more details." >&2;}
17780 { (exit 1); exit 1; }; }; exit 1
17783 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17784 conftest
$ac_exeext conftest.
$ac_ext
17786 ac_cpp
='$CPP $CPPFLAGS'
17787 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17788 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17789 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17797 INSTALL_PROGRAM
="cp -fp"
17798 INSTALL_DATA
="cp -fp"
17805 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17806 CXXFLAGS
="-qunique $CXXFLAGS"
17810 powerpc
-*-darwin* )
17811 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17812 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17813 cat >conftest.
$ac_ext <<_ACEOF
17816 cat confdefs.h
>>conftest.
$ac_ext
17817 cat >>conftest.
$ac_ext <<_ACEOF
17818 /* end confdefs.h. */
17823 #ifndef __POWERPC__
17824 choke me for lack of PowerPC
17831 rm -f conftest.
$ac_objext
17832 if { (ac_try
="$ac_compile"
17833 case "(($ac_try" in
17834 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17835 *) ac_try_echo=$ac_try;;
17837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17838 (eval "$ac_compile") 2>conftest.er1
17840 grep -v '^ *+' conftest.er1 >conftest.err
17842 cat conftest.err >&5
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); } && {
17845 test -z "$ac_c_werror_flag" ||
17846 test ! -s conftest.err
17847 } && test -s conftest.$ac_objext; then
17848 { echo "$as_me:$LINENO: result: yes" >&5
17849 echo "${ECHO_T}yes" >&6; }
17851 echo "$as_me: failed program was:" >&5
17852 sed 's/^/| /' conftest.$ac_ext >&5
17854 { echo "$as_me:$LINENO: result: no" >&5
17855 echo "${ECHO_T}no" >&6; }
17856 cat >>confdefs.h <<\_ACEOF
17857 #define __POWERPC__ 1
17863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17869 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17870 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17871 cat >conftest.$ac_ext <<_ACEOF
17874 cat confdefs.h >>conftest.$ac_ext
17875 cat >>conftest.$ac_ext <<_ACEOF
17876 /* end confdefs.h. */
17877 #include <CoreFoundation/CFBase.h>
17887 rm -f conftest.$ac_objext
17888 if { (ac_try="$ac_compile"
17889 case "(($ac_try" in
17890 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17891 *) ac_try_echo
=$ac_try;;
17893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17894 (eval "$ac_compile") 2>conftest.er1
17896 grep -v '^ *+' conftest.er1
>conftest.err
17898 cat conftest.err
>&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); } && {
17901 test -z "$ac_c_werror_flag" ||
17902 test ! -s conftest.err
17903 } && test -s conftest.
$ac_objext; then
17904 { echo "$as_me:$LINENO: result: yes" >&5
17905 echo "${ECHO_T}yes" >&6; }
17907 echo "$as_me: failed program was:" >&5
17908 sed 's/^/| /' conftest.
$ac_ext >&5
17910 { echo "$as_me:$LINENO: result: no" >&5
17911 echo "${ECHO_T}no" >&6; }
17912 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17913 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17914 cat >conftest.
$ac_ext <<_ACEOF
17917 cat confdefs.h
>>conftest.
$ac_ext
17918 cat >>conftest.
$ac_ext <<_ACEOF
17919 /* end confdefs.h. */
17920 #define __CF_USE_FRAMEWORK_INCLUDES__
17921 #include <CoreFoundation/CFBase.h>
17931 rm -f conftest.
$ac_objext
17932 if { (ac_try
="$ac_compile"
17933 case "(($ac_try" in
17934 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17935 *) ac_try_echo=$ac_try;;
17937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17938 (eval "$ac_compile") 2>conftest.er1
17940 grep -v '^ *+' conftest.er1 >conftest.err
17942 cat conftest.err >&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); } && {
17945 test -z "$ac_c_werror_flag" ||
17946 test ! -s conftest.err
17947 } && test -s conftest.$ac_objext; then
17948 { echo "$as_me:$LINENO: result: yes" >&5
17949 echo "${ECHO_T}yes" >&6; }
17950 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17952 echo "$as_me: failed program was:" >&5
17953 sed 's/^/| /' conftest.$ac_ext >&5
17955 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17956 See \`config.log
' for more details." >&5
17957 echo "$as_me: error: no. CoreFoundation not available.
17958 See \`config.log' for more details.
" >&2;}
17959 { (exit 1); exit 1; }; }
17963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17973 doesnt_want_win32=0
17976 if test "$wxUSE_MSW" = 1 ; then
17979 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
17980 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
17981 if test "${wx_cv_nocygwin+set}" = set; then
17982 echo $ECHO_N "(cached
) $ECHO_C" >&6
17985 cat >conftest.$ac_ext <<_ACEOF
17988 cat confdefs.h >>conftest.$ac_ext
17989 cat >>conftest.$ac_ext <<_ACEOF
17990 /* end confdefs.h. */
18004 rm -f conftest.$ac_objext
18005 if { (ac_try="$ac_compile"
18006 case "(($ac_try" in
18007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18008 *) ac_try_echo=$ac_try;;
18010 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18011 (eval "$ac_compile") 2>conftest.er1
18013 grep -v '^ *+' conftest.er1 >conftest.err
18015 cat conftest.err >&5
18016 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18017 (exit $ac_status); } && {
18018 test -z "$ac_c_werror_flag" ||
18019 test ! -s conftest.err
18020 } && test -s conftest.$ac_objext; then
18023 echo "$as_me: failed program was
:" >&5
18024 sed 's/^/| /' conftest.$ac_ext >&5
18030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18034 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18035 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18037 if test "$wx_cv_nocygwin" = "yes"; then
18040 doesnt_want_win32=1
18043 if test "$wants_win32" = 1 ; then
18044 BAKEFILE_FORCE_PLATFORM=win32
18052 if test "$wxUSE_WINE" = "yes"; then
18054 LDFLAGS_GUI="-mwindows"
18057 if test "$wants_win32" = 1 ; then
18060 cat >>confdefs.h <<\_ACEOF
18061 #define __WIN32__ 1
18064 cat >>confdefs.h <<\_ACEOF
18065 #define __WIN95__ 1
18068 cat >>confdefs.h <<\_ACEOF
18069 #define __WINDOWS__ 1
18072 cat >>confdefs.h <<\_ACEOF
18073 #define __GNUWIN32__ 1
18076 cat >>confdefs.h <<\_ACEOF
18081 if test "$doesnt_want_win32" = 1 ; then
18086 if test "$USE_UNIX" = 1 ; then
18088 cat >>confdefs.h <<\_ACEOF
18095 *-pc-os2_emx | *-pc-os2-emx )
18096 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18097 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18098 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18099 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18100 echo $ECHO_N "(cached
) $ECHO_C" >&6
18102 ac_check_lib_save_LIBS=$LIBS
18103 LIBS="-lcExt $LIBS"
18104 cat >conftest.$ac_ext <<_ACEOF
18107 cat confdefs.h >>conftest.$ac_ext
18108 cat >>conftest.$ac_ext <<_ACEOF
18109 /* end confdefs.h. */
18111 /* Override any GCC internal prototype to avoid an error.
18112 Use char because int might match the return type of a GCC
18113 builtin and then its argument prototype would still apply. */
18126 rm -f conftest.$ac_objext conftest$ac_exeext
18127 if { (ac_try="$ac_link"
18128 case "(($ac_try" in
18129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18130 *) ac_try_echo=$ac_try;;
18132 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18133 (eval "$ac_link") 2>conftest.er1
18135 grep -v '^ *+' conftest.er1 >conftest.err
18137 cat conftest.err >&5
18138 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18139 (exit $ac_status); } && {
18140 test -z "$ac_c_werror_flag" ||
18141 test ! -s conftest.err
18142 } && test -s conftest$ac_exeext &&
18143 $as_test_x conftest$ac_exeext; then
18144 ac_cv_lib_cExt_drand48=yes
18146 echo "$as_me: failed program was
:" >&5
18147 sed 's/^/| /' conftest.$ac_ext >&5
18149 ac_cv_lib_cExt_drand48=no
18152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18153 conftest$ac_exeext conftest.$ac_ext
18154 LIBS=$ac_check_lib_save_LIBS
18156 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18157 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18158 if test $ac_cv_lib_cExt_drand48 = yes; then
18159 LIBS="$LIBS -lcExt"
18163 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18165 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18166 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18167 if test "${wx_cv_gccversion+set}" = set; then
18168 echo $ECHO_N "(cached
) $ECHO_C" >&6
18171 if test "$cross_compiling" = yes; then
18172 wx_cv_gccversion="EMX2
"
18175 cat >conftest.$ac_ext <<_ACEOF
18178 cat confdefs.h >>conftest.$ac_ext
18179 cat >>conftest.$ac_ext <<_ACEOF
18180 /* end confdefs.h. */
18186 FILE *f=fopen("conftestval
", "w
");
18191 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18193 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18203 rm -f conftest$ac_exeext
18204 if { (ac_try="$ac_link"
18205 case "(($ac_try" in
18206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18207 *) ac_try_echo=$ac_try;;
18209 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18210 (eval "$ac_link") 2>&5
18212 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18213 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18214 { (case "(($ac_try" in
18215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18216 *) ac_try_echo=$ac_try;;
18218 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18219 (eval "$ac_try") 2>&5
18221 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18222 (exit $ac_status); }; }; then
18223 wx_cv_gccversion=`cat conftestval`
18225 echo "$as_me: program exited with status
$ac_status" >&5
18226 echo "$as_me: failed program was
:" >&5
18227 sed 's/^/| /' conftest.$ac_ext >&5
18229 ( exit $ac_status )
18230 wx_cv_gccversion="EMX2
"
18232 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18238 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18239 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18240 if test "$wx_cv_gccversion" = "EMX2
"; then
18241 LIBS="$LIBS -lstdcpp"
18242 LDFLAGS="$LDFLAGS -Zsysv-signals"
18244 if test "$wx_cv_gccversion" = "EMX3
"; then
18245 LIBS="$LIBS -lstdcxx -lgcc"
18246 LDFLAGS="$LDFLAGS -Zsysv-signals"
18248 LIBS="$LIBS -lstdc++"
18251 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18252 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18253 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18260 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18261 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18262 if test "${ac_cv_string_strcasecmp+set}" = set; then
18263 echo $ECHO_N "(cached
) $ECHO_C" >&6
18266 cat >conftest.$ac_ext <<_ACEOF
18269 cat confdefs.h >>conftest.$ac_ext
18270 cat >>conftest.$ac_ext <<_ACEOF
18271 /* end confdefs.h. */
18273 #include <string.h>
18279 strcasecmp("foo
", "bar
");
18285 rm -f conftest.$ac_objext conftest$ac_exeext
18286 if { (ac_try="$ac_link"
18287 case "(($ac_try" in
18288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18289 *) ac_try_echo=$ac_try;;
18291 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18292 (eval "$ac_link") 2>conftest.er1
18294 grep -v '^ *+' conftest.er1 >conftest.err
18296 cat conftest.err >&5
18297 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18298 (exit $ac_status); } && {
18299 test -z "$ac_c_werror_flag" ||
18300 test ! -s conftest.err
18301 } && test -s conftest$ac_exeext &&
18302 $as_test_x conftest$ac_exeext; then
18303 ac_cv_string_strcasecmp=yes
18305 echo "$as_me: failed program was
:" >&5
18306 sed 's/^/| /' conftest.$ac_ext >&5
18308 ac_cv_string_strcasecmp=no
18312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18313 conftest$ac_exeext conftest.$ac_ext
18316 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18317 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18319 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18320 cat >>confdefs.h <<\_ACEOF
18321 #define HAVE_STRCASECMP_IN_STRING_H 1
18325 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18326 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18327 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18328 echo $ECHO_N "(cached
) $ECHO_C" >&6
18331 cat >conftest.$ac_ext <<_ACEOF
18334 cat confdefs.h >>conftest.$ac_ext
18335 cat >>conftest.$ac_ext <<_ACEOF
18336 /* end confdefs.h. */
18338 #include <strings.h>
18344 strcasecmp("foo
", "bar
");
18350 rm -f conftest.$ac_objext conftest$ac_exeext
18351 if { (ac_try="$ac_link"
18352 case "(($ac_try" in
18353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18354 *) ac_try_echo=$ac_try;;
18356 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18357 (eval "$ac_link") 2>conftest.er1
18359 grep -v '^ *+' conftest.er1 >conftest.err
18361 cat conftest.err >&5
18362 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18363 (exit $ac_status); } && {
18364 test -z "$ac_c_werror_flag" ||
18365 test ! -s conftest.err
18366 } && test -s conftest$ac_exeext &&
18367 $as_test_x conftest$ac_exeext; then
18368 ac_cv_strings_strcasecmp=yes
18370 echo "$as_me: failed program was
:" >&5
18371 sed 's/^/| /' conftest.$ac_ext >&5
18373 ac_cv_strings_strcasecmp=no
18377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18378 conftest$ac_exeext conftest.$ac_ext
18381 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18382 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18384 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18385 cat >>confdefs.h <<\_ACEOF
18386 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18390 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18391 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18392 { (exit 1); exit 1; }; }
18400 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18401 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18402 if test "${ac_cv_header_stdc+set}" = set; then
18403 echo $ECHO_N "(cached
) $ECHO_C" >&6
18405 cat >conftest.$ac_ext <<_ACEOF
18408 cat confdefs.h >>conftest.$ac_ext
18409 cat >>conftest.$ac_ext <<_ACEOF
18410 /* end confdefs.h. */
18411 #include <stdlib.h>
18412 #include <stdarg.h>
18413 #include <string.h>
18424 rm -f conftest.$ac_objext
18425 if { (ac_try="$ac_compile"
18426 case "(($ac_try" in
18427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18428 *) ac_try_echo=$ac_try;;
18430 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18431 (eval "$ac_compile") 2>conftest.er1
18433 grep -v '^ *+' conftest.er1 >conftest.err
18435 cat conftest.err >&5
18436 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18437 (exit $ac_status); } && {
18438 test -z "$ac_c_werror_flag" ||
18439 test ! -s conftest.err
18440 } && test -s conftest.$ac_objext; then
18441 ac_cv_header_stdc=yes
18443 echo "$as_me: failed program was
:" >&5
18444 sed 's/^/| /' conftest.$ac_ext >&5
18446 ac_cv_header_stdc=no
18449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18451 if test $ac_cv_header_stdc = yes; then
18452 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18453 cat >conftest.$ac_ext <<_ACEOF
18456 cat confdefs.h >>conftest.$ac_ext
18457 cat >>conftest.$ac_ext <<_ACEOF
18458 /* end confdefs.h. */
18459 #include <string.h>
18462 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18463 $EGREP "memchr
" >/dev/null 2>&1; then
18466 ac_cv_header_stdc=no
18472 if test $ac_cv_header_stdc = yes; then
18473 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18474 cat >conftest.$ac_ext <<_ACEOF
18477 cat confdefs.h >>conftest.$ac_ext
18478 cat >>conftest.$ac_ext <<_ACEOF
18479 /* end confdefs.h. */
18480 #include <stdlib.h>
18483 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18484 $EGREP "free
" >/dev/null 2>&1; then
18487 ac_cv_header_stdc=no
18493 if test $ac_cv_header_stdc = yes; then
18494 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18495 if test "$cross_compiling" = yes; then
18498 cat >conftest.$ac_ext <<_ACEOF
18501 cat confdefs.h >>conftest.$ac_ext
18502 cat >>conftest.$ac_ext <<_ACEOF
18503 /* end confdefs.h. */
18505 #include <stdlib.h>
18506 #if ((' ' & 0x0FF) == 0x020)
18507 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18508 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18510 # define ISLOWER(c) \
18511 (('a' <= (c) && (c) <= 'i') \
18512 || ('j' <= (c) && (c) <= 'r') \
18513 || ('s' <= (c) && (c) <= 'z'))
18514 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18517 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18522 for (i = 0; i < 256; i++)
18523 if (XOR (islower (i), ISLOWER (i))
18524 || toupper (i) != TOUPPER (i))
18529 rm -f conftest$ac_exeext
18530 if { (ac_try="$ac_link"
18531 case "(($ac_try" in
18532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18533 *) ac_try_echo=$ac_try;;
18535 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18536 (eval "$ac_link") 2>&5
18538 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18539 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18540 { (case "(($ac_try" in
18541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18542 *) ac_try_echo=$ac_try;;
18544 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18545 (eval "$ac_try") 2>&5
18547 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18548 (exit $ac_status); }; }; then
18551 echo "$as_me: program exited with status
$ac_status" >&5
18552 echo "$as_me: failed program was
:" >&5
18553 sed 's/^/| /' conftest.$ac_ext >&5
18555 ( exit $ac_status )
18556 ac_cv_header_stdc=no
18558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18564 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
18565 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18566 if test $ac_cv_header_stdc = yes; then
18568 cat >>confdefs.h <<\_ACEOF
18569 #define STDC_HEADERS 1
18574 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18584 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18585 inttypes.h stdint.h unistd.h
18587 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18588 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18589 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18590 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18591 echo $ECHO_N "(cached
) $ECHO_C" >&6
18593 cat >conftest.$ac_ext <<_ACEOF
18596 cat confdefs.h >>conftest.$ac_ext
18597 cat >>conftest.$ac_ext <<_ACEOF
18598 /* end confdefs.h. */
18599 $ac_includes_default
18601 #include <$ac_header>
18603 rm -f conftest.$ac_objext
18604 if { (ac_try="$ac_compile"
18605 case "(($ac_try" in
18606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18607 *) ac_try_echo=$ac_try;;
18609 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18610 (eval "$ac_compile") 2>conftest.er1
18612 grep -v '^ *+' conftest.er1 >conftest.err
18614 cat conftest.err >&5
18615 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18616 (exit $ac_status); } && {
18617 test -z "$ac_c_werror_flag" ||
18618 test ! -s conftest.err
18619 } && test -s conftest.$ac_objext; then
18620 eval "$as_ac_Header=yes"
18622 echo "$as_me: failed program was
:" >&5
18623 sed 's/^/| /' conftest.$ac_ext >&5
18625 eval "$as_ac_Header=no
"
18628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18630 ac_res=`eval echo '${'$as_ac_Header'}'`
18631 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18632 echo "${ECHO_T}$ac_res" >&6; }
18633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18634 cat >>confdefs.h <<_ACEOF
18635 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18645 for ac_header in langinfo.h wchar.h
18647 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18648 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18649 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18650 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18651 echo $ECHO_N "(cached
) $ECHO_C" >&6
18653 cat >conftest.$ac_ext <<_ACEOF
18656 cat confdefs.h >>conftest.$ac_ext
18657 cat >>conftest.$ac_ext <<_ACEOF
18658 /* end confdefs.h. */
18659 $ac_includes_default
18661 #include <$ac_header>
18663 rm -f conftest.$ac_objext
18664 if { (ac_try="$ac_compile"
18665 case "(($ac_try" in
18666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18667 *) ac_try_echo=$ac_try;;
18669 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18670 (eval "$ac_compile") 2>conftest.er1
18672 grep -v '^ *+' conftest.er1 >conftest.err
18674 cat conftest.err >&5
18675 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18676 (exit $ac_status); } && {
18677 test -z "$ac_c_werror_flag" ||
18678 test ! -s conftest.err
18679 } && test -s conftest.$ac_objext; then
18680 eval "$as_ac_Header=yes"
18682 echo "$as_me: failed program was
:" >&5
18683 sed 's/^/| /' conftest.$ac_ext >&5
18685 eval "$as_ac_Header=no
"
18688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18690 ac_res=`eval echo '${'$as_ac_Header'}'`
18691 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18692 echo "${ECHO_T}$ac_res" >&6; }
18693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18694 cat >>confdefs.h <<_ACEOF
18695 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18703 if test "$ac_cv_header_wchar_h" != "yes"; then
18705 for ac_header in wcstr.h
18707 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18708 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18709 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18710 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18711 echo $ECHO_N "(cached
) $ECHO_C" >&6
18713 cat >conftest.$ac_ext <<_ACEOF
18716 cat confdefs.h >>conftest.$ac_ext
18717 cat >>conftest.$ac_ext <<_ACEOF
18718 /* end confdefs.h. */
18719 $ac_includes_default
18721 #include <$ac_header>
18723 rm -f conftest.$ac_objext
18724 if { (ac_try="$ac_compile"
18725 case "(($ac_try" in
18726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18727 *) ac_try_echo=$ac_try;;
18729 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18730 (eval "$ac_compile") 2>conftest.er1
18732 grep -v '^ *+' conftest.er1 >conftest.err
18734 cat conftest.err >&5
18735 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18736 (exit $ac_status); } && {
18737 test -z "$ac_c_werror_flag" ||
18738 test ! -s conftest.err
18739 } && test -s conftest.$ac_objext; then
18740 eval "$as_ac_Header=yes"
18742 echo "$as_me: failed program was
:" >&5
18743 sed 's/^/| /' conftest.$ac_ext >&5
18745 eval "$as_ac_Header=no
"
18748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18750 ac_res=`eval echo '${'$as_ac_Header'}'`
18751 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18752 echo "${ECHO_T}$ac_res" >&6; }
18753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18754 cat >>confdefs.h <<_ACEOF
18755 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18765 *-pc-os2_emx | *-pc-os2-emx )
18766 if test $ac_cv_header_langinfo_h = "yes" \
18767 -a \( "$wx_cv_gccversion" = "EMX2
" \
18768 -o "$wx_cv_gccversion" = "EMX3
" \
18769 -o "$wx_cv_gccversion" = "Innotek5
" \); then
18770 LIBS="$LIBS -lintl"
18775 if test "$USE_UNIX" = 1 ; then
18777 for ac_header in sys/select.h
18779 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18780 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18781 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18782 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18783 echo $ECHO_N "(cached
) $ECHO_C" >&6
18785 cat >conftest.$ac_ext <<_ACEOF
18788 cat confdefs.h >>conftest.$ac_ext
18789 cat >>conftest.$ac_ext <<_ACEOF
18790 /* end confdefs.h. */
18791 $ac_includes_default
18793 #include <$ac_header>
18795 rm -f conftest.$ac_objext
18796 if { (ac_try="$ac_compile"
18797 case "(($ac_try" in
18798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18799 *) ac_try_echo=$ac_try;;
18801 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18802 (eval "$ac_compile") 2>conftest.er1
18804 grep -v '^ *+' conftest.er1 >conftest.err
18806 cat conftest.err >&5
18807 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18808 (exit $ac_status); } && {
18809 test -z "$ac_c_werror_flag" ||
18810 test ! -s conftest.err
18811 } && test -s conftest.$ac_objext; then
18812 eval "$as_ac_Header=yes"
18814 echo "$as_me: failed program was
:" >&5
18815 sed 's/^/| /' conftest.$ac_ext >&5
18817 eval "$as_ac_Header=no
"
18820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18822 ac_res=`eval echo '${'$as_ac_Header'}'`
18823 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18824 echo "${ECHO_T}$ac_res" >&6; }
18825 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18826 cat >>confdefs.h <<_ACEOF
18827 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18837 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
18838 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
18839 if test "${ac_cv_c_const+set}" = set; then
18840 echo $ECHO_N "(cached
) $ECHO_C" >&6
18842 cat >conftest.$ac_ext <<_ACEOF
18845 cat confdefs.h >>conftest.$ac_ext
18846 cat >>conftest.$ac_ext <<_ACEOF
18847 /* end confdefs.h. */
18852 /* FIXME: Include the comments suggested by Paul. */
18853 #ifndef __cplusplus
18854 /* Ultrix mips cc rejects this. */
18855 typedef int charset[2];
18857 /* SunOS 4.1.1 cc rejects this. */
18858 char const *const *pcpcc;
18860 /* NEC SVR4.0.2 mips cc rejects this. */
18861 struct point {int x, y;};
18862 static struct point const zero = {0,0};
18863 /* AIX XL C 1.02.0.0 rejects this.
18864 It does not let you subtract one const X* pointer from another in
18865 an arm of an if-expression whose if-part is not a constant
18867 const char *g = "string
";
18868 pcpcc = &g + (g ? g-g : 0);
18869 /* HPUX 7.0 cc rejects these. */
18871 ppc = (char**) pcpcc;
18872 pcpcc = (char const *const *) ppc;
18873 { /* SCO 3.2v4 cc rejects this. */
18875 char const *s = 0 ? (char *) 0 : (char const *) 0;
18880 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18881 int x[] = {25, 17};
18882 const int *foo = &x[0];
18885 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18886 typedef const int *iptr;
18890 { /* AIX XL C 1.02.0.0 rejects this saying
18891 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18892 struct s { int j; const int *ap[3]; };
18893 struct s *b; b->j = 5;
18895 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18896 const int foo = 10;
18897 if (!foo) return 0;
18899 return !cs[0] && !zero.x;
18906 rm -f conftest.$ac_objext
18907 if { (ac_try="$ac_compile"
18908 case "(($ac_try" in
18909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18910 *) ac_try_echo=$ac_try;;
18912 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18913 (eval "$ac_compile") 2>conftest.er1
18915 grep -v '^ *+' conftest.er1 >conftest.err
18917 cat conftest.err >&5
18918 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18919 (exit $ac_status); } && {
18920 test -z "$ac_c_werror_flag" ||
18921 test ! -s conftest.err
18922 } && test -s conftest.$ac_objext; then
18925 echo "$as_me: failed program was
:" >&5
18926 sed 's/^/| /' conftest.$ac_ext >&5
18931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18933 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
18934 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18935 if test $ac_cv_c_const = no; then
18937 cat >>confdefs.h <<\_ACEOF
18943 { echo "$as_me:$LINENO: checking
for inline
" >&5
18944 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
18945 if test "${ac_cv_c_inline+set}" = set; then
18946 echo $ECHO_N "(cached
) $ECHO_C" >&6
18949 for ac_kw in inline __inline__ __inline; do
18950 cat >conftest.$ac_ext <<_ACEOF
18953 cat confdefs.h >>conftest.$ac_ext
18954 cat >>conftest.$ac_ext <<_ACEOF
18955 /* end confdefs.h. */
18956 #ifndef __cplusplus
18958 static $ac_kw foo_t static_foo () {return 0; }
18959 $ac_kw foo_t foo () {return 0; }
18963 rm -f conftest.$ac_objext
18964 if { (ac_try="$ac_compile"
18965 case "(($ac_try" in
18966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18967 *) ac_try_echo=$ac_try;;
18969 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18970 (eval "$ac_compile") 2>conftest.er1
18972 grep -v '^ *+' conftest.er1 >conftest.err
18974 cat conftest.err >&5
18975 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18976 (exit $ac_status); } && {
18977 test -z "$ac_c_werror_flag" ||
18978 test ! -s conftest.err
18979 } && test -s conftest.$ac_objext; then
18980 ac_cv_c_inline=$ac_kw
18982 echo "$as_me: failed program was
:" >&5
18983 sed 's/^/| /' conftest.$ac_ext >&5
18988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18989 test "$ac_cv_c_inline" != no && break
18993 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
18994 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18997 case $ac_cv_c_inline in
19000 case $ac_cv_c_inline in
19002 *) ac_val=$ac_cv_c_inline;;
19004 cat >>confdefs.h <<_ACEOF
19005 #ifndef __cplusplus
19006 #define inline $ac_val
19013 { echo "$as_me:$LINENO: checking
for short
" >&5
19014 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19015 if test "${ac_cv_type_short+set}" = set; then
19016 echo $ECHO_N "(cached
) $ECHO_C" >&6
19018 cat >conftest.$ac_ext <<_ACEOF
19021 cat confdefs.h >>conftest.$ac_ext
19022 cat >>conftest.$ac_ext <<_ACEOF
19023 /* end confdefs.h. */
19024 $ac_includes_default
19025 typedef short ac__type_new_;
19029 if ((ac__type_new_ *) 0)
19031 if (sizeof (ac__type_new_))
19037 rm -f conftest.$ac_objext
19038 if { (ac_try="$ac_compile"
19039 case "(($ac_try" in
19040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19041 *) ac_try_echo=$ac_try;;
19043 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19044 (eval "$ac_compile") 2>conftest.er1
19046 grep -v '^ *+' conftest.er1 >conftest.err
19048 cat conftest.err >&5
19049 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19050 (exit $ac_status); } && {
19051 test -z "$ac_c_werror_flag" ||
19052 test ! -s conftest.err
19053 } && test -s conftest.$ac_objext; then
19054 ac_cv_type_short=yes
19056 echo "$as_me: failed program was
:" >&5
19057 sed 's/^/| /' conftest.$ac_ext >&5
19059 ac_cv_type_short=no
19062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19064 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19065 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19067 # The cast to long int works around a bug in the HP C Compiler
19068 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19069 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19070 # This bug is HP SR number 8606223364.
19071 { echo "$as_me:$LINENO: checking size of short
" >&5
19072 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19073 if test "${ac_cv_sizeof_short+set}" = set; then
19074 echo $ECHO_N "(cached
) $ECHO_C" >&6
19076 if test "$cross_compiling" = yes; then
19077 # Depending upon the size, compute the lo and hi bounds.
19078 cat >conftest.$ac_ext <<_ACEOF
19081 cat confdefs.h >>conftest.$ac_ext
19082 cat >>conftest.$ac_ext <<_ACEOF
19083 /* end confdefs.h. */
19084 $ac_includes_default
19085 typedef short ac__type_sizeof_;
19089 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19096 rm -f conftest.$ac_objext
19097 if { (ac_try="$ac_compile"
19098 case "(($ac_try" in
19099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19100 *) ac_try_echo=$ac_try;;
19102 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19103 (eval "$ac_compile") 2>conftest.er1
19105 grep -v '^ *+' conftest.er1 >conftest.err
19107 cat conftest.err >&5
19108 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19109 (exit $ac_status); } && {
19110 test -z "$ac_c_werror_flag" ||
19111 test ! -s conftest.err
19112 } && test -s conftest.$ac_objext; then
19115 cat >conftest.$ac_ext <<_ACEOF
19118 cat confdefs.h >>conftest.$ac_ext
19119 cat >>conftest.$ac_ext <<_ACEOF
19120 /* end confdefs.h. */
19121 $ac_includes_default
19122 typedef short ac__type_sizeof_;
19126 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19133 rm -f conftest.$ac_objext
19134 if { (ac_try="$ac_compile"
19135 case "(($ac_try" in
19136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19137 *) ac_try_echo=$ac_try;;
19139 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19140 (eval "$ac_compile") 2>conftest.er1
19142 grep -v '^ *+' conftest.er1 >conftest.err
19144 cat conftest.err >&5
19145 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19146 (exit $ac_status); } && {
19147 test -z "$ac_c_werror_flag" ||
19148 test ! -s conftest.err
19149 } && test -s conftest.$ac_objext; then
19150 ac_hi=$ac_mid; break
19152 echo "$as_me: failed program was
:" >&5
19153 sed 's/^/| /' conftest.$ac_ext >&5
19155 ac_lo=`expr $ac_mid + 1`
19156 if test $ac_lo -le $ac_mid; then
19160 ac_mid=`expr 2 '*' $ac_mid + 1`
19163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19166 echo "$as_me: failed program was
:" >&5
19167 sed 's/^/| /' conftest.$ac_ext >&5
19169 cat >conftest.$ac_ext <<_ACEOF
19172 cat confdefs.h >>conftest.$ac_ext
19173 cat >>conftest.$ac_ext <<_ACEOF
19174 /* end confdefs.h. */
19175 $ac_includes_default
19176 typedef short ac__type_sizeof_;
19180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19187 rm -f conftest.$ac_objext
19188 if { (ac_try="$ac_compile"
19189 case "(($ac_try" in
19190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19191 *) ac_try_echo=$ac_try;;
19193 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19194 (eval "$ac_compile") 2>conftest.er1
19196 grep -v '^ *+' conftest.er1 >conftest.err
19198 cat conftest.err >&5
19199 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19200 (exit $ac_status); } && {
19201 test -z "$ac_c_werror_flag" ||
19202 test ! -s conftest.err
19203 } && test -s conftest.$ac_objext; then
19206 cat >conftest.$ac_ext <<_ACEOF
19209 cat confdefs.h >>conftest.$ac_ext
19210 cat >>conftest.$ac_ext <<_ACEOF
19211 /* end confdefs.h. */
19212 $ac_includes_default
19213 typedef short ac__type_sizeof_;
19217 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19224 rm -f conftest.$ac_objext
19225 if { (ac_try="$ac_compile"
19226 case "(($ac_try" in
19227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19228 *) ac_try_echo=$ac_try;;
19230 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19231 (eval "$ac_compile") 2>conftest.er1
19233 grep -v '^ *+' conftest.er1 >conftest.err
19235 cat conftest.err >&5
19236 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19237 (exit $ac_status); } && {
19238 test -z "$ac_c_werror_flag" ||
19239 test ! -s conftest.err
19240 } && test -s conftest.$ac_objext; then
19241 ac_lo=$ac_mid; break
19243 echo "$as_me: failed program was
:" >&5
19244 sed 's/^/| /' conftest.$ac_ext >&5
19246 ac_hi=`expr '(' $ac_mid ')' - 1`
19247 if test $ac_mid -le $ac_hi; then
19251 ac_mid=`expr 2 '*' $ac_mid`
19254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19257 echo "$as_me: failed program was
:" >&5
19258 sed 's/^/| /' conftest.$ac_ext >&5
19263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19267 # Binary search between lo and hi bounds.
19268 while test "x
$ac_lo" != "x
$ac_hi"; do
19269 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19270 cat >conftest.$ac_ext <<_ACEOF
19273 cat confdefs.h >>conftest.$ac_ext
19274 cat >>conftest.$ac_ext <<_ACEOF
19275 /* end confdefs.h. */
19276 $ac_includes_default
19277 typedef short ac__type_sizeof_;
19281 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19288 rm -f conftest.$ac_objext
19289 if { (ac_try="$ac_compile"
19290 case "(($ac_try" in
19291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19292 *) ac_try_echo=$ac_try;;
19294 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19295 (eval "$ac_compile") 2>conftest.er1
19297 grep -v '^ *+' conftest.er1 >conftest.err
19299 cat conftest.err >&5
19300 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19301 (exit $ac_status); } && {
19302 test -z "$ac_c_werror_flag" ||
19303 test ! -s conftest.err
19304 } && test -s conftest.$ac_objext; then
19307 echo "$as_me: failed program was
:" >&5
19308 sed 's/^/| /' conftest.$ac_ext >&5
19310 ac_lo=`expr '(' $ac_mid ')' + 1`
19313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19316 ?*) ac_cv_sizeof_short=$ac_lo;;
19317 '') if test "$ac_cv_type_short" = yes; then
19318 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19319 See \
`config.log' for more details." >&5
19320 echo "$as_me: error: cannot compute sizeof (short)
19321 See \`config.log
' for more details." >&2;}
19322 { (exit 77); exit 77; }; }
19324 ac_cv_sizeof_short=0
19328 cat >conftest.$ac_ext <<_ACEOF
19331 cat confdefs.h >>conftest.$ac_ext
19332 cat >>conftest.$ac_ext <<_ACEOF
19333 /* end confdefs.h. */
19334 $ac_includes_default
19335 typedef short ac__type_sizeof_;
19336 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19337 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19339 #include <stdlib.h>
19344 FILE *f = fopen ("conftest.val", "w");
19347 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19349 long int i = longval ();
19350 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19352 fprintf (f, "%ld\n", i);
19356 unsigned long int i = ulongval ();
19357 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19359 fprintf (f, "%lu\n", i);
19361 return ferror (f) || fclose (f) != 0;
19367 rm -f conftest$ac_exeext
19368 if { (ac_try="$ac_link"
19369 case "(($ac_try" in
19370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19371 *) ac_try_echo=$ac_try;;
19373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19374 (eval "$ac_link") 2>&5
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19378 { (case "(($ac_try" in
19379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19380 *) ac_try_echo=$ac_try;;
19382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19383 (eval "$ac_try") 2>&5
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); }; }; then
19387 ac_cv_sizeof_short=`cat conftest.val`
19389 echo "$as_me: program exited with status $ac_status" >&5
19390 echo "$as_me: failed program was:" >&5
19391 sed 's
/^
/| /' conftest.$ac_ext >&5
19393 ( exit $ac_status )
19394 if test "$ac_cv_type_short" = yes; then
19395 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19396 See \`config.log' for more details.
" >&5
19397 echo "$as_me: error
: cannot compute sizeof
(short
)
19398 See \
`config.log' for more details." >&2;}
19399 { (exit 77); exit 77; }; }
19401 ac_cv_sizeof_short=0
19404 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19408 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19409 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19413 cat >>confdefs.h <<_ACEOF
19414 #define SIZEOF_SHORT $ac_cv_sizeof_short
19418 { echo "$as_me:$LINENO: checking for void *" >&5
19419 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19420 if test "${ac_cv_type_void_p+set}" = set; then
19421 echo $ECHO_N "(cached) $ECHO_C" >&6
19423 cat >conftest.$ac_ext <<_ACEOF
19426 cat confdefs.h >>conftest.$ac_ext
19427 cat >>conftest.$ac_ext <<_ACEOF
19428 /* end confdefs.h. */
19429 $ac_includes_default
19430 typedef void * ac__type_new_;
19434 if ((ac__type_new_ *) 0)
19436 if (sizeof (ac__type_new_))
19442 rm -f conftest.$ac_objext
19443 if { (ac_try="$ac_compile"
19444 case "(($ac_try" in
19445 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19446 *) ac_try_echo
=$ac_try;;
19448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19449 (eval "$ac_compile") 2>conftest.er1
19451 grep -v '^ *+' conftest.er1
>conftest.err
19453 cat conftest.err
>&5
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); } && {
19456 test -z "$ac_c_werror_flag" ||
19457 test ! -s conftest.err
19458 } && test -s conftest.
$ac_objext; then
19459 ac_cv_type_void_p
=yes
19461 echo "$as_me: failed program was:" >&5
19462 sed 's/^/| /' conftest.
$ac_ext >&5
19464 ac_cv_type_void_p
=no
19467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19469 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19470 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19472 # The cast to long int works around a bug in the HP C Compiler
19473 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19474 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19475 # This bug is HP SR number 8606223364.
19476 { echo "$as_me:$LINENO: checking size of void *" >&5
19477 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19478 if test "${ac_cv_sizeof_void_p+set}" = set; then
19479 echo $ECHO_N "(cached) $ECHO_C" >&6
19481 if test "$cross_compiling" = yes; then
19482 # Depending upon the size, compute the lo and hi bounds.
19483 cat >conftest.
$ac_ext <<_ACEOF
19486 cat confdefs.h
>>conftest.
$ac_ext
19487 cat >>conftest.
$ac_ext <<_ACEOF
19488 /* end confdefs.h. */
19489 $ac_includes_default
19490 typedef void * ac__type_sizeof_;
19494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19501 rm -f conftest.
$ac_objext
19502 if { (ac_try
="$ac_compile"
19503 case "(($ac_try" in
19504 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19505 *) ac_try_echo=$ac_try;;
19507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19508 (eval "$ac_compile") 2>conftest.er1
19510 grep -v '^ *+' conftest.er1 >conftest.err
19512 cat conftest.err >&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); } && {
19515 test -z "$ac_c_werror_flag" ||
19516 test ! -s conftest.err
19517 } && test -s conftest.$ac_objext; then
19520 cat >conftest.$ac_ext <<_ACEOF
19523 cat confdefs.h >>conftest.$ac_ext
19524 cat >>conftest.$ac_ext <<_ACEOF
19525 /* end confdefs.h. */
19526 $ac_includes_default
19527 typedef void * ac__type_sizeof_;
19531 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19538 rm -f conftest.$ac_objext
19539 if { (ac_try="$ac_compile"
19540 case "(($ac_try" in
19541 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19542 *) ac_try_echo
=$ac_try;;
19544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19545 (eval "$ac_compile") 2>conftest.er1
19547 grep -v '^ *+' conftest.er1
>conftest.err
19549 cat conftest.err
>&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); } && {
19552 test -z "$ac_c_werror_flag" ||
19553 test ! -s conftest.err
19554 } && test -s conftest.
$ac_objext; then
19555 ac_hi
=$ac_mid; break
19557 echo "$as_me: failed program was:" >&5
19558 sed 's/^/| /' conftest.
$ac_ext >&5
19560 ac_lo
=`expr $ac_mid + 1`
19561 if test $ac_lo -le $ac_mid; then
19565 ac_mid
=`expr 2 '*' $ac_mid + 1`
19568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19571 echo "$as_me: failed program was:" >&5
19572 sed 's/^/| /' conftest.
$ac_ext >&5
19574 cat >conftest.
$ac_ext <<_ACEOF
19577 cat confdefs.h
>>conftest.
$ac_ext
19578 cat >>conftest.
$ac_ext <<_ACEOF
19579 /* end confdefs.h. */
19580 $ac_includes_default
19581 typedef void * ac__type_sizeof_;
19585 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19592 rm -f conftest.
$ac_objext
19593 if { (ac_try
="$ac_compile"
19594 case "(($ac_try" in
19595 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19596 *) ac_try_echo=$ac_try;;
19598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19599 (eval "$ac_compile") 2>conftest.er1
19601 grep -v '^ *+' conftest.er1 >conftest.err
19603 cat conftest.err >&5
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); } && {
19606 test -z "$ac_c_werror_flag" ||
19607 test ! -s conftest.err
19608 } && test -s conftest.$ac_objext; then
19611 cat >conftest.$ac_ext <<_ACEOF
19614 cat confdefs.h >>conftest.$ac_ext
19615 cat >>conftest.$ac_ext <<_ACEOF
19616 /* end confdefs.h. */
19617 $ac_includes_default
19618 typedef void * ac__type_sizeof_;
19622 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19629 rm -f conftest.$ac_objext
19630 if { (ac_try="$ac_compile"
19631 case "(($ac_try" in
19632 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19633 *) ac_try_echo
=$ac_try;;
19635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19636 (eval "$ac_compile") 2>conftest.er1
19638 grep -v '^ *+' conftest.er1
>conftest.err
19640 cat conftest.err
>&5
19641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19642 (exit $ac_status); } && {
19643 test -z "$ac_c_werror_flag" ||
19644 test ! -s conftest.err
19645 } && test -s conftest.
$ac_objext; then
19646 ac_lo
=$ac_mid; break
19648 echo "$as_me: failed program was:" >&5
19649 sed 's/^/| /' conftest.
$ac_ext >&5
19651 ac_hi
=`expr '(' $ac_mid ')' - 1`
19652 if test $ac_mid -le $ac_hi; then
19656 ac_mid
=`expr 2 '*' $ac_mid`
19659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19662 echo "$as_me: failed program was:" >&5
19663 sed 's/^/| /' conftest.
$ac_ext >&5
19668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19672 # Binary search between lo and hi bounds.
19673 while test "x$ac_lo" != "x$ac_hi"; do
19674 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19675 cat >conftest.
$ac_ext <<_ACEOF
19678 cat confdefs.h
>>conftest.
$ac_ext
19679 cat >>conftest.
$ac_ext <<_ACEOF
19680 /* end confdefs.h. */
19681 $ac_includes_default
19682 typedef void * ac__type_sizeof_;
19686 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19693 rm -f conftest.
$ac_objext
19694 if { (ac_try
="$ac_compile"
19695 case "(($ac_try" in
19696 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19697 *) ac_try_echo=$ac_try;;
19699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19700 (eval "$ac_compile") 2>conftest.er1
19702 grep -v '^ *+' conftest.er1 >conftest.err
19704 cat conftest.err >&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); } && {
19707 test -z "$ac_c_werror_flag" ||
19708 test ! -s conftest.err
19709 } && test -s conftest.$ac_objext; then
19712 echo "$as_me: failed program was:" >&5
19713 sed 's/^/| /' conftest.$ac_ext >&5
19715 ac_lo=`expr '(' $ac_mid ')' + 1`
19718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19721 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19722 '') if test "$ac_cv_type_void_p" = yes; then
19723 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19724 See \`config.log
' for more details." >&5
19725 echo "$as_me: error: cannot compute sizeof (void *)
19726 See \`config.log' for more details.
" >&2;}
19727 { (exit 77); exit 77; }; }
19729 ac_cv_sizeof_void_p=0
19733 cat >conftest.$ac_ext <<_ACEOF
19736 cat confdefs.h >>conftest.$ac_ext
19737 cat >>conftest.$ac_ext <<_ACEOF
19738 /* end confdefs.h. */
19739 $ac_includes_default
19740 typedef void * ac__type_sizeof_;
19741 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19742 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19744 #include <stdlib.h>
19749 FILE *f = fopen ("conftest.val
", "w
");
19752 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19754 long int i = longval ();
19755 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19757 fprintf (f, "%ld
\n", i);
19761 unsigned long int i = ulongval ();
19762 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19764 fprintf (f, "%lu
\n", i);
19766 return ferror (f) || fclose (f) != 0;
19772 rm -f conftest$ac_exeext
19773 if { (ac_try="$ac_link"
19774 case "(($ac_try" in
19775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19776 *) ac_try_echo=$ac_try;;
19778 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19779 (eval "$ac_link") 2>&5
19781 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19782 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19783 { (case "(($ac_try" in
19784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19785 *) ac_try_echo=$ac_try;;
19787 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19788 (eval "$ac_try") 2>&5
19790 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19791 (exit $ac_status); }; }; then
19792 ac_cv_sizeof_void_p=`cat conftest.val`
19794 echo "$as_me: program exited with status
$ac_status" >&5
19795 echo "$as_me: failed program was
:" >&5
19796 sed 's/^/| /' conftest.$ac_ext >&5
19798 ( exit $ac_status )
19799 if test "$ac_cv_type_void_p" = yes; then
19800 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
19801 See \
`config.log' for more details." >&5
19802 echo "$as_me: error: cannot compute sizeof (void *)
19803 See \`config.log
' for more details." >&2;}
19804 { (exit 77); exit 77; }; }
19806 ac_cv_sizeof_void_p=0
19809 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19813 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19814 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19818 cat >>confdefs.h <<_ACEOF
19819 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19823 { echo "$as_me:$LINENO: checking for int" >&5
19824 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19825 if test "${ac_cv_type_int+set}" = set; then
19826 echo $ECHO_N "(cached) $ECHO_C" >&6
19828 cat >conftest.$ac_ext <<_ACEOF
19831 cat confdefs.h >>conftest.$ac_ext
19832 cat >>conftest.$ac_ext <<_ACEOF
19833 /* end confdefs.h. */
19834 $ac_includes_default
19835 typedef int ac__type_new_;
19839 if ((ac__type_new_ *) 0)
19841 if (sizeof (ac__type_new_))
19847 rm -f conftest.$ac_objext
19848 if { (ac_try="$ac_compile"
19849 case "(($ac_try" in
19850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19851 *) ac_try_echo=$ac_try;;
19853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19854 (eval "$ac_compile") 2>conftest.er1
19856 grep -v '^
*+' conftest.er1 >conftest.err
19858 cat conftest.err >&5
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); } && {
19861 test -z "$ac_c_werror_flag" ||
19862 test ! -s conftest.err
19863 } && test -s conftest.$ac_objext; then
19866 echo "$as_me: failed program was:" >&5
19867 sed 's
/^
/| /' conftest.$ac_ext >&5
19872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19874 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19875 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19877 # The cast to long int works around a bug in the HP C Compiler
19878 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19879 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19880 # This bug is HP SR number 8606223364.
19881 { echo "$as_me:$LINENO: checking size of int" >&5
19882 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19883 if test "${ac_cv_sizeof_int+set}" = set; then
19884 echo $ECHO_N "(cached) $ECHO_C" >&6
19886 if test "$cross_compiling" = yes; then
19887 # Depending upon the size, compute the lo and hi bounds.
19888 cat >conftest.
$ac_ext <<_ACEOF
19891 cat confdefs.h
>>conftest.
$ac_ext
19892 cat >>conftest.
$ac_ext <<_ACEOF
19893 /* end confdefs.h. */
19894 $ac_includes_default
19895 typedef int ac__type_sizeof_;
19899 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19906 rm -f conftest.
$ac_objext
19907 if { (ac_try
="$ac_compile"
19908 case "(($ac_try" in
19909 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19910 *) ac_try_echo=$ac_try;;
19912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19913 (eval "$ac_compile") 2>conftest.er1
19915 grep -v '^ *+' conftest.er1 >conftest.err
19917 cat conftest.err >&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); } && {
19920 test -z "$ac_c_werror_flag" ||
19921 test ! -s conftest.err
19922 } && test -s conftest.$ac_objext; then
19925 cat >conftest.$ac_ext <<_ACEOF
19928 cat confdefs.h >>conftest.$ac_ext
19929 cat >>conftest.$ac_ext <<_ACEOF
19930 /* end confdefs.h. */
19931 $ac_includes_default
19932 typedef int ac__type_sizeof_;
19936 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19943 rm -f conftest.$ac_objext
19944 if { (ac_try="$ac_compile"
19945 case "(($ac_try" in
19946 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19947 *) ac_try_echo
=$ac_try;;
19949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19950 (eval "$ac_compile") 2>conftest.er1
19952 grep -v '^ *+' conftest.er1
>conftest.err
19954 cat conftest.err
>&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); } && {
19957 test -z "$ac_c_werror_flag" ||
19958 test ! -s conftest.err
19959 } && test -s conftest.
$ac_objext; then
19960 ac_hi
=$ac_mid; break
19962 echo "$as_me: failed program was:" >&5
19963 sed 's/^/| /' conftest.
$ac_ext >&5
19965 ac_lo
=`expr $ac_mid + 1`
19966 if test $ac_lo -le $ac_mid; then
19970 ac_mid
=`expr 2 '*' $ac_mid + 1`
19973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19976 echo "$as_me: failed program was:" >&5
19977 sed 's/^/| /' conftest.
$ac_ext >&5
19979 cat >conftest.
$ac_ext <<_ACEOF
19982 cat confdefs.h
>>conftest.
$ac_ext
19983 cat >>conftest.
$ac_ext <<_ACEOF
19984 /* end confdefs.h. */
19985 $ac_includes_default
19986 typedef int ac__type_sizeof_;
19990 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19997 rm -f conftest.
$ac_objext
19998 if { (ac_try
="$ac_compile"
19999 case "(($ac_try" in
20000 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20001 *) ac_try_echo=$ac_try;;
20003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20004 (eval "$ac_compile") 2>conftest.er1
20006 grep -v '^ *+' conftest.er1 >conftest.err
20008 cat conftest.err >&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); } && {
20011 test -z "$ac_c_werror_flag" ||
20012 test ! -s conftest.err
20013 } && test -s conftest.$ac_objext; then
20016 cat >conftest.$ac_ext <<_ACEOF
20019 cat confdefs.h >>conftest.$ac_ext
20020 cat >>conftest.$ac_ext <<_ACEOF
20021 /* end confdefs.h. */
20022 $ac_includes_default
20023 typedef int ac__type_sizeof_;
20027 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20034 rm -f conftest.$ac_objext
20035 if { (ac_try="$ac_compile"
20036 case "(($ac_try" in
20037 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20038 *) ac_try_echo
=$ac_try;;
20040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20041 (eval "$ac_compile") 2>conftest.er1
20043 grep -v '^ *+' conftest.er1
>conftest.err
20045 cat conftest.err
>&5
20046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); } && {
20048 test -z "$ac_c_werror_flag" ||
20049 test ! -s conftest.err
20050 } && test -s conftest.
$ac_objext; then
20051 ac_lo
=$ac_mid; break
20053 echo "$as_me: failed program was:" >&5
20054 sed 's/^/| /' conftest.
$ac_ext >&5
20056 ac_hi
=`expr '(' $ac_mid ')' - 1`
20057 if test $ac_mid -le $ac_hi; then
20061 ac_mid
=`expr 2 '*' $ac_mid`
20064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20067 echo "$as_me: failed program was:" >&5
20068 sed 's/^/| /' conftest.
$ac_ext >&5
20073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20077 # Binary search between lo and hi bounds.
20078 while test "x$ac_lo" != "x$ac_hi"; do
20079 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20080 cat >conftest.
$ac_ext <<_ACEOF
20083 cat confdefs.h
>>conftest.
$ac_ext
20084 cat >>conftest.
$ac_ext <<_ACEOF
20085 /* end confdefs.h. */
20086 $ac_includes_default
20087 typedef int ac__type_sizeof_;
20091 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20098 rm -f conftest.
$ac_objext
20099 if { (ac_try
="$ac_compile"
20100 case "(($ac_try" in
20101 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20102 *) ac_try_echo=$ac_try;;
20104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20105 (eval "$ac_compile") 2>conftest.er1
20107 grep -v '^ *+' conftest.er1 >conftest.err
20109 cat conftest.err >&5
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); } && {
20112 test -z "$ac_c_werror_flag" ||
20113 test ! -s conftest.err
20114 } && test -s conftest.$ac_objext; then
20117 echo "$as_me: failed program was:" >&5
20118 sed 's/^/| /' conftest.$ac_ext >&5
20120 ac_lo=`expr '(' $ac_mid ')' + 1`
20123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20126 ?*) ac_cv_sizeof_int=$ac_lo;;
20127 '') if test "$ac_cv_type_int" = yes; then
20128 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20129 See \`config.log
' for more details." >&5
20130 echo "$as_me: error: cannot compute sizeof (int)
20131 See \`config.log' for more details.
" >&2;}
20132 { (exit 77); exit 77; }; }
20138 cat >conftest.$ac_ext <<_ACEOF
20141 cat confdefs.h >>conftest.$ac_ext
20142 cat >>conftest.$ac_ext <<_ACEOF
20143 /* end confdefs.h. */
20144 $ac_includes_default
20145 typedef int ac__type_sizeof_;
20146 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20147 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20149 #include <stdlib.h>
20154 FILE *f = fopen ("conftest.val
", "w
");
20157 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20159 long int i = longval ();
20160 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20162 fprintf (f, "%ld
\n", i);
20166 unsigned long int i = ulongval ();
20167 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20169 fprintf (f, "%lu
\n", i);
20171 return ferror (f) || fclose (f) != 0;
20177 rm -f conftest$ac_exeext
20178 if { (ac_try="$ac_link"
20179 case "(($ac_try" in
20180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20181 *) ac_try_echo=$ac_try;;
20183 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20184 (eval "$ac_link") 2>&5
20186 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20187 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20188 { (case "(($ac_try" in
20189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20190 *) ac_try_echo=$ac_try;;
20192 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20193 (eval "$ac_try") 2>&5
20195 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20196 (exit $ac_status); }; }; then
20197 ac_cv_sizeof_int=`cat conftest.val`
20199 echo "$as_me: program exited with status
$ac_status" >&5
20200 echo "$as_me: failed program was
:" >&5
20201 sed 's/^/| /' conftest.$ac_ext >&5
20203 ( exit $ac_status )
20204 if test "$ac_cv_type_int" = yes; then
20205 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20206 See \
`config.log' for more details." >&5
20207 echo "$as_me: error: cannot compute sizeof (int)
20208 See \`config.log
' for more details." >&2;}
20209 { (exit 77); exit 77; }; }
20214 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20218 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20219 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20223 cat >>confdefs.h <<_ACEOF
20224 #define SIZEOF_INT $ac_cv_sizeof_int
20228 { echo "$as_me:$LINENO: checking for long" >&5
20229 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20230 if test "${ac_cv_type_long+set}" = set; then
20231 echo $ECHO_N "(cached) $ECHO_C" >&6
20233 cat >conftest.$ac_ext <<_ACEOF
20236 cat confdefs.h >>conftest.$ac_ext
20237 cat >>conftest.$ac_ext <<_ACEOF
20238 /* end confdefs.h. */
20239 $ac_includes_default
20240 typedef long ac__type_new_;
20244 if ((ac__type_new_ *) 0)
20246 if (sizeof (ac__type_new_))
20252 rm -f conftest.$ac_objext
20253 if { (ac_try="$ac_compile"
20254 case "(($ac_try" in
20255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20256 *) ac_try_echo=$ac_try;;
20258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20259 (eval "$ac_compile") 2>conftest.er1
20261 grep -v '^
*+' conftest.er1 >conftest.err
20263 cat conftest.err >&5
20264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265 (exit $ac_status); } && {
20266 test -z "$ac_c_werror_flag" ||
20267 test ! -s conftest.err
20268 } && test -s conftest.$ac_objext; then
20269 ac_cv_type_long=yes
20271 echo "$as_me: failed program was:" >&5
20272 sed 's
/^
/| /' conftest.$ac_ext >&5
20277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20279 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20280 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20282 # The cast to long int works around a bug in the HP C Compiler
20283 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20284 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20285 # This bug is HP SR number 8606223364.
20286 { echo "$as_me:$LINENO: checking size of long" >&5
20287 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20288 if test "${ac_cv_sizeof_long+set}" = set; then
20289 echo $ECHO_N "(cached) $ECHO_C" >&6
20291 if test "$cross_compiling" = yes; then
20292 # Depending upon the size, compute the lo and hi bounds.
20293 cat >conftest.
$ac_ext <<_ACEOF
20296 cat confdefs.h
>>conftest.
$ac_ext
20297 cat >>conftest.
$ac_ext <<_ACEOF
20298 /* end confdefs.h. */
20299 $ac_includes_default
20300 typedef long ac__type_sizeof_;
20304 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20311 rm -f conftest.
$ac_objext
20312 if { (ac_try
="$ac_compile"
20313 case "(($ac_try" in
20314 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20315 *) ac_try_echo=$ac_try;;
20317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20318 (eval "$ac_compile") 2>conftest.er1
20320 grep -v '^ *+' conftest.er1 >conftest.err
20322 cat conftest.err >&5
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); } && {
20325 test -z "$ac_c_werror_flag" ||
20326 test ! -s conftest.err
20327 } && test -s conftest.$ac_objext; then
20330 cat >conftest.$ac_ext <<_ACEOF
20333 cat confdefs.h >>conftest.$ac_ext
20334 cat >>conftest.$ac_ext <<_ACEOF
20335 /* end confdefs.h. */
20336 $ac_includes_default
20337 typedef long ac__type_sizeof_;
20341 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20348 rm -f conftest.$ac_objext
20349 if { (ac_try="$ac_compile"
20350 case "(($ac_try" in
20351 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20352 *) ac_try_echo
=$ac_try;;
20354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20355 (eval "$ac_compile") 2>conftest.er1
20357 grep -v '^ *+' conftest.er1
>conftest.err
20359 cat conftest.err
>&5
20360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20361 (exit $ac_status); } && {
20362 test -z "$ac_c_werror_flag" ||
20363 test ! -s conftest.err
20364 } && test -s conftest.
$ac_objext; then
20365 ac_hi
=$ac_mid; break
20367 echo "$as_me: failed program was:" >&5
20368 sed 's/^/| /' conftest.
$ac_ext >&5
20370 ac_lo
=`expr $ac_mid + 1`
20371 if test $ac_lo -le $ac_mid; then
20375 ac_mid
=`expr 2 '*' $ac_mid + 1`
20378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20381 echo "$as_me: failed program was:" >&5
20382 sed 's/^/| /' conftest.
$ac_ext >&5
20384 cat >conftest.
$ac_ext <<_ACEOF
20387 cat confdefs.h
>>conftest.
$ac_ext
20388 cat >>conftest.
$ac_ext <<_ACEOF
20389 /* end confdefs.h. */
20390 $ac_includes_default
20391 typedef long ac__type_sizeof_;
20395 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20402 rm -f conftest.
$ac_objext
20403 if { (ac_try
="$ac_compile"
20404 case "(($ac_try" in
20405 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20406 *) ac_try_echo=$ac_try;;
20408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20409 (eval "$ac_compile") 2>conftest.er1
20411 grep -v '^ *+' conftest.er1 >conftest.err
20413 cat conftest.err >&5
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); } && {
20416 test -z "$ac_c_werror_flag" ||
20417 test ! -s conftest.err
20418 } && test -s conftest.$ac_objext; then
20421 cat >conftest.$ac_ext <<_ACEOF
20424 cat confdefs.h >>conftest.$ac_ext
20425 cat >>conftest.$ac_ext <<_ACEOF
20426 /* end confdefs.h. */
20427 $ac_includes_default
20428 typedef long ac__type_sizeof_;
20432 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20439 rm -f conftest.$ac_objext
20440 if { (ac_try="$ac_compile"
20441 case "(($ac_try" in
20442 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20443 *) ac_try_echo
=$ac_try;;
20445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20446 (eval "$ac_compile") 2>conftest.er1
20448 grep -v '^ *+' conftest.er1
>conftest.err
20450 cat conftest.err
>&5
20451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20452 (exit $ac_status); } && {
20453 test -z "$ac_c_werror_flag" ||
20454 test ! -s conftest.err
20455 } && test -s conftest.
$ac_objext; then
20456 ac_lo
=$ac_mid; break
20458 echo "$as_me: failed program was:" >&5
20459 sed 's/^/| /' conftest.
$ac_ext >&5
20461 ac_hi
=`expr '(' $ac_mid ')' - 1`
20462 if test $ac_mid -le $ac_hi; then
20466 ac_mid
=`expr 2 '*' $ac_mid`
20469 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20472 echo "$as_me: failed program was:" >&5
20473 sed 's/^/| /' conftest.
$ac_ext >&5
20478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20482 # Binary search between lo and hi bounds.
20483 while test "x$ac_lo" != "x$ac_hi"; do
20484 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20485 cat >conftest.
$ac_ext <<_ACEOF
20488 cat confdefs.h
>>conftest.
$ac_ext
20489 cat >>conftest.
$ac_ext <<_ACEOF
20490 /* end confdefs.h. */
20491 $ac_includes_default
20492 typedef long ac__type_sizeof_;
20496 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20503 rm -f conftest.
$ac_objext
20504 if { (ac_try
="$ac_compile"
20505 case "(($ac_try" in
20506 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20507 *) ac_try_echo=$ac_try;;
20509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20510 (eval "$ac_compile") 2>conftest.er1
20512 grep -v '^ *+' conftest.er1 >conftest.err
20514 cat conftest.err >&5
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); } && {
20517 test -z "$ac_c_werror_flag" ||
20518 test ! -s conftest.err
20519 } && test -s conftest.$ac_objext; then
20522 echo "$as_me: failed program was:" >&5
20523 sed 's/^/| /' conftest.$ac_ext >&5
20525 ac_lo=`expr '(' $ac_mid ')' + 1`
20528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20531 ?*) ac_cv_sizeof_long=$ac_lo;;
20532 '') if test "$ac_cv_type_long" = yes; then
20533 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20534 See \`config.log
' for more details." >&5
20535 echo "$as_me: error: cannot compute sizeof (long)
20536 See \`config.log' for more details.
" >&2;}
20537 { (exit 77); exit 77; }; }
20539 ac_cv_sizeof_long=0
20543 cat >conftest.$ac_ext <<_ACEOF
20546 cat confdefs.h >>conftest.$ac_ext
20547 cat >>conftest.$ac_ext <<_ACEOF
20548 /* end confdefs.h. */
20549 $ac_includes_default
20550 typedef long ac__type_sizeof_;
20551 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20552 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20554 #include <stdlib.h>
20559 FILE *f = fopen ("conftest.val
", "w
");
20562 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20564 long int i = longval ();
20565 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20567 fprintf (f, "%ld
\n", i);
20571 unsigned long int i = ulongval ();
20572 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20574 fprintf (f, "%lu
\n", i);
20576 return ferror (f) || fclose (f) != 0;
20582 rm -f conftest$ac_exeext
20583 if { (ac_try="$ac_link"
20584 case "(($ac_try" in
20585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20586 *) ac_try_echo=$ac_try;;
20588 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20589 (eval "$ac_link") 2>&5
20591 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20592 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20593 { (case "(($ac_try" in
20594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20595 *) ac_try_echo=$ac_try;;
20597 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20598 (eval "$ac_try") 2>&5
20600 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20601 (exit $ac_status); }; }; then
20602 ac_cv_sizeof_long=`cat conftest.val`
20604 echo "$as_me: program exited with status
$ac_status" >&5
20605 echo "$as_me: failed program was
:" >&5
20606 sed 's/^/| /' conftest.$ac_ext >&5
20608 ( exit $ac_status )
20609 if test "$ac_cv_type_long" = yes; then
20610 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
20611 See \
`config.log' for more details." >&5
20612 echo "$as_me: error: cannot compute sizeof (long)
20613 See \`config.log
' for more details." >&2;}
20614 { (exit 77); exit 77; }; }
20616 ac_cv_sizeof_long=0
20619 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20623 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20624 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20628 cat >>confdefs.h <<_ACEOF
20629 #define SIZEOF_LONG $ac_cv_sizeof_long
20633 { echo "$as_me:$LINENO: checking for size_t" >&5
20634 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20635 if test "${ac_cv_type_size_t+set}" = set; then
20636 echo $ECHO_N "(cached) $ECHO_C" >&6
20638 cat >conftest.$ac_ext <<_ACEOF
20641 cat confdefs.h >>conftest.$ac_ext
20642 cat >>conftest.$ac_ext <<_ACEOF
20643 /* end confdefs.h. */
20644 $ac_includes_default
20645 typedef size_t ac__type_new_;
20649 if ((ac__type_new_ *) 0)
20651 if (sizeof (ac__type_new_))
20657 rm -f conftest.$ac_objext
20658 if { (ac_try="$ac_compile"
20659 case "(($ac_try" in
20660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20661 *) ac_try_echo=$ac_try;;
20663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20664 (eval "$ac_compile") 2>conftest.er1
20666 grep -v '^
*+' conftest.er1 >conftest.err
20668 cat conftest.err >&5
20669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20670 (exit $ac_status); } && {
20671 test -z "$ac_c_werror_flag" ||
20672 test ! -s conftest.err
20673 } && test -s conftest.$ac_objext; then
20674 ac_cv_type_size_t=yes
20676 echo "$as_me: failed program was:" >&5
20677 sed 's
/^
/| /' conftest.$ac_ext >&5
20679 ac_cv_type_size_t=no
20682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20684 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20685 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20687 # The cast to long int works around a bug in the HP C Compiler
20688 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20689 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20690 # This bug is HP SR number 8606223364.
20691 { echo "$as_me:$LINENO: checking size of size_t" >&5
20692 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20693 if test "${ac_cv_sizeof_size_t+set}" = set; then
20694 echo $ECHO_N "(cached) $ECHO_C" >&6
20696 if test "$cross_compiling" = yes; then
20697 # Depending upon the size, compute the lo and hi bounds.
20698 cat >conftest.
$ac_ext <<_ACEOF
20701 cat confdefs.h
>>conftest.
$ac_ext
20702 cat >>conftest.
$ac_ext <<_ACEOF
20703 /* end confdefs.h. */
20704 $ac_includes_default
20705 typedef size_t ac__type_sizeof_;
20709 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20716 rm -f conftest.
$ac_objext
20717 if { (ac_try
="$ac_compile"
20718 case "(($ac_try" in
20719 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20720 *) ac_try_echo=$ac_try;;
20722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20723 (eval "$ac_compile") 2>conftest.er1
20725 grep -v '^ *+' conftest.er1 >conftest.err
20727 cat conftest.err >&5
20728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20729 (exit $ac_status); } && {
20730 test -z "$ac_c_werror_flag" ||
20731 test ! -s conftest.err
20732 } && test -s conftest.$ac_objext; then
20735 cat >conftest.$ac_ext <<_ACEOF
20738 cat confdefs.h >>conftest.$ac_ext
20739 cat >>conftest.$ac_ext <<_ACEOF
20740 /* end confdefs.h. */
20741 $ac_includes_default
20742 typedef size_t ac__type_sizeof_;
20746 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20753 rm -f conftest.$ac_objext
20754 if { (ac_try="$ac_compile"
20755 case "(($ac_try" in
20756 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20757 *) ac_try_echo
=$ac_try;;
20759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20760 (eval "$ac_compile") 2>conftest.er1
20762 grep -v '^ *+' conftest.er1
>conftest.err
20764 cat conftest.err
>&5
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); } && {
20767 test -z "$ac_c_werror_flag" ||
20768 test ! -s conftest.err
20769 } && test -s conftest.
$ac_objext; then
20770 ac_hi
=$ac_mid; break
20772 echo "$as_me: failed program was:" >&5
20773 sed 's/^/| /' conftest.
$ac_ext >&5
20775 ac_lo
=`expr $ac_mid + 1`
20776 if test $ac_lo -le $ac_mid; then
20780 ac_mid
=`expr 2 '*' $ac_mid + 1`
20783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20786 echo "$as_me: failed program was:" >&5
20787 sed 's/^/| /' conftest.
$ac_ext >&5
20789 cat >conftest.
$ac_ext <<_ACEOF
20792 cat confdefs.h
>>conftest.
$ac_ext
20793 cat >>conftest.
$ac_ext <<_ACEOF
20794 /* end confdefs.h. */
20795 $ac_includes_default
20796 typedef size_t ac__type_sizeof_;
20800 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20807 rm -f conftest.
$ac_objext
20808 if { (ac_try
="$ac_compile"
20809 case "(($ac_try" in
20810 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20811 *) ac_try_echo=$ac_try;;
20813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20814 (eval "$ac_compile") 2>conftest.er1
20816 grep -v '^ *+' conftest.er1 >conftest.err
20818 cat conftest.err >&5
20819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820 (exit $ac_status); } && {
20821 test -z "$ac_c_werror_flag" ||
20822 test ! -s conftest.err
20823 } && test -s conftest.$ac_objext; then
20826 cat >conftest.$ac_ext <<_ACEOF
20829 cat confdefs.h >>conftest.$ac_ext
20830 cat >>conftest.$ac_ext <<_ACEOF
20831 /* end confdefs.h. */
20832 $ac_includes_default
20833 typedef size_t ac__type_sizeof_;
20837 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20844 rm -f conftest.$ac_objext
20845 if { (ac_try="$ac_compile"
20846 case "(($ac_try" in
20847 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20848 *) ac_try_echo
=$ac_try;;
20850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20851 (eval "$ac_compile") 2>conftest.er1
20853 grep -v '^ *+' conftest.er1
>conftest.err
20855 cat conftest.err
>&5
20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857 (exit $ac_status); } && {
20858 test -z "$ac_c_werror_flag" ||
20859 test ! -s conftest.err
20860 } && test -s conftest.
$ac_objext; then
20861 ac_lo
=$ac_mid; break
20863 echo "$as_me: failed program was:" >&5
20864 sed 's/^/| /' conftest.
$ac_ext >&5
20866 ac_hi
=`expr '(' $ac_mid ')' - 1`
20867 if test $ac_mid -le $ac_hi; then
20871 ac_mid
=`expr 2 '*' $ac_mid`
20874 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20877 echo "$as_me: failed program was:" >&5
20878 sed 's/^/| /' conftest.
$ac_ext >&5
20883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20887 # Binary search between lo and hi bounds.
20888 while test "x$ac_lo" != "x$ac_hi"; do
20889 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20890 cat >conftest.
$ac_ext <<_ACEOF
20893 cat confdefs.h
>>conftest.
$ac_ext
20894 cat >>conftest.
$ac_ext <<_ACEOF
20895 /* end confdefs.h. */
20896 $ac_includes_default
20897 typedef size_t ac__type_sizeof_;
20901 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20908 rm -f conftest.
$ac_objext
20909 if { (ac_try
="$ac_compile"
20910 case "(($ac_try" in
20911 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20912 *) ac_try_echo=$ac_try;;
20914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20915 (eval "$ac_compile") 2>conftest.er1
20917 grep -v '^ *+' conftest.er1 >conftest.err
20919 cat conftest.err >&5
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); } && {
20922 test -z "$ac_c_werror_flag" ||
20923 test ! -s conftest.err
20924 } && test -s conftest.$ac_objext; then
20927 echo "$as_me: failed program was:" >&5
20928 sed 's/^/| /' conftest.$ac_ext >&5
20930 ac_lo=`expr '(' $ac_mid ')' + 1`
20933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20936 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20937 '') if test "$ac_cv_type_size_t" = yes; then
20938 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20939 See \`config.log
' for more details." >&5
20940 echo "$as_me: error: cannot compute sizeof (size_t)
20941 See \`config.log' for more details.
" >&2;}
20942 { (exit 77); exit 77; }; }
20944 ac_cv_sizeof_size_t=0
20948 cat >conftest.$ac_ext <<_ACEOF
20951 cat confdefs.h >>conftest.$ac_ext
20952 cat >>conftest.$ac_ext <<_ACEOF
20953 /* end confdefs.h. */
20954 $ac_includes_default
20955 typedef size_t ac__type_sizeof_;
20956 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20957 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20959 #include <stdlib.h>
20964 FILE *f = fopen ("conftest.val
", "w
");
20967 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20969 long int i = longval ();
20970 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20972 fprintf (f, "%ld
\n", i);
20976 unsigned long int i = ulongval ();
20977 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20979 fprintf (f, "%lu
\n", i);
20981 return ferror (f) || fclose (f) != 0;
20987 rm -f conftest$ac_exeext
20988 if { (ac_try="$ac_link"
20989 case "(($ac_try" in
20990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20991 *) ac_try_echo=$ac_try;;
20993 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20994 (eval "$ac_link") 2>&5
20996 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20997 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20998 { (case "(($ac_try" in
20999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21000 *) ac_try_echo=$ac_try;;
21002 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21003 (eval "$ac_try") 2>&5
21005 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21006 (exit $ac_status); }; }; then
21007 ac_cv_sizeof_size_t=`cat conftest.val`
21009 echo "$as_me: program exited with status
$ac_status" >&5
21010 echo "$as_me: failed program was
:" >&5
21011 sed 's/^/| /' conftest.$ac_ext >&5
21013 ( exit $ac_status )
21014 if test "$ac_cv_type_size_t" = yes; then
21015 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21016 See \
`config.log' for more details." >&5
21017 echo "$as_me: error: cannot compute sizeof (size_t)
21018 See \`config.log
' for more details." >&2;}
21019 { (exit 77); exit 77; }; }
21021 ac_cv_sizeof_size_t=0
21024 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21028 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21029 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21033 cat >>confdefs.h <<_ACEOF
21034 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21041 { echo "$as_me:$LINENO: checking for long long" >&5
21042 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21043 if test "${ac_cv_type_long_long+set}" = set; then
21044 echo $ECHO_N "(cached) $ECHO_C" >&6
21046 cat >conftest.$ac_ext <<_ACEOF
21049 cat confdefs.h >>conftest.$ac_ext
21050 cat >>conftest.$ac_ext <<_ACEOF
21051 /* end confdefs.h. */
21052 $ac_includes_default
21053 typedef long long ac__type_new_;
21057 if ((ac__type_new_ *) 0)
21059 if (sizeof (ac__type_new_))
21065 rm -f conftest.$ac_objext
21066 if { (ac_try="$ac_compile"
21067 case "(($ac_try" in
21068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21069 *) ac_try_echo=$ac_try;;
21071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21072 (eval "$ac_compile") 2>conftest.er1
21074 grep -v '^
*+' conftest.er1 >conftest.err
21076 cat conftest.err >&5
21077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078 (exit $ac_status); } && {
21079 test -z "$ac_c_werror_flag" ||
21080 test ! -s conftest.err
21081 } && test -s conftest.$ac_objext; then
21082 ac_cv_type_long_long=yes
21084 echo "$as_me: failed program was:" >&5
21085 sed 's
/^
/| /' conftest.$ac_ext >&5
21087 ac_cv_type_long_long=no
21090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21092 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21093 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21095 # The cast to long int works around a bug in the HP C Compiler
21096 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21097 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21098 # This bug is HP SR number 8606223364.
21099 { echo "$as_me:$LINENO: checking size of long long" >&5
21100 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21101 if test "${ac_cv_sizeof_long_long+set}" = set; then
21102 echo $ECHO_N "(cached) $ECHO_C" >&6
21104 if test "$cross_compiling" = yes; then
21105 # Depending upon the size, compute the lo and hi bounds.
21106 cat >conftest.
$ac_ext <<_ACEOF
21109 cat confdefs.h
>>conftest.
$ac_ext
21110 cat >>conftest.
$ac_ext <<_ACEOF
21111 /* end confdefs.h. */
21112 $ac_includes_default
21113 typedef long long ac__type_sizeof_;
21117 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21124 rm -f conftest.
$ac_objext
21125 if { (ac_try
="$ac_compile"
21126 case "(($ac_try" in
21127 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21128 *) ac_try_echo=$ac_try;;
21130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21131 (eval "$ac_compile") 2>conftest.er1
21133 grep -v '^ *+' conftest.er1 >conftest.err
21135 cat conftest.err >&5
21136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21137 (exit $ac_status); } && {
21138 test -z "$ac_c_werror_flag" ||
21139 test ! -s conftest.err
21140 } && test -s conftest.$ac_objext; then
21143 cat >conftest.$ac_ext <<_ACEOF
21146 cat confdefs.h >>conftest.$ac_ext
21147 cat >>conftest.$ac_ext <<_ACEOF
21148 /* end confdefs.h. */
21149 $ac_includes_default
21150 typedef long long ac__type_sizeof_;
21154 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21161 rm -f conftest.$ac_objext
21162 if { (ac_try="$ac_compile"
21163 case "(($ac_try" in
21164 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21165 *) ac_try_echo
=$ac_try;;
21167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21168 (eval "$ac_compile") 2>conftest.er1
21170 grep -v '^ *+' conftest.er1
>conftest.err
21172 cat conftest.err
>&5
21173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174 (exit $ac_status); } && {
21175 test -z "$ac_c_werror_flag" ||
21176 test ! -s conftest.err
21177 } && test -s conftest.
$ac_objext; then
21178 ac_hi
=$ac_mid; break
21180 echo "$as_me: failed program was:" >&5
21181 sed 's/^/| /' conftest.
$ac_ext >&5
21183 ac_lo
=`expr $ac_mid + 1`
21184 if test $ac_lo -le $ac_mid; then
21188 ac_mid
=`expr 2 '*' $ac_mid + 1`
21191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21194 echo "$as_me: failed program was:" >&5
21195 sed 's/^/| /' conftest.
$ac_ext >&5
21197 cat >conftest.
$ac_ext <<_ACEOF
21200 cat confdefs.h
>>conftest.
$ac_ext
21201 cat >>conftest.
$ac_ext <<_ACEOF
21202 /* end confdefs.h. */
21203 $ac_includes_default
21204 typedef long long ac__type_sizeof_;
21208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21215 rm -f conftest.
$ac_objext
21216 if { (ac_try
="$ac_compile"
21217 case "(($ac_try" in
21218 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21219 *) ac_try_echo=$ac_try;;
21221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21222 (eval "$ac_compile") 2>conftest.er1
21224 grep -v '^ *+' conftest.er1 >conftest.err
21226 cat conftest.err >&5
21227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228 (exit $ac_status); } && {
21229 test -z "$ac_c_werror_flag" ||
21230 test ! -s conftest.err
21231 } && test -s conftest.$ac_objext; then
21234 cat >conftest.$ac_ext <<_ACEOF
21237 cat confdefs.h >>conftest.$ac_ext
21238 cat >>conftest.$ac_ext <<_ACEOF
21239 /* end confdefs.h. */
21240 $ac_includes_default
21241 typedef long long ac__type_sizeof_;
21245 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21252 rm -f conftest.$ac_objext
21253 if { (ac_try="$ac_compile"
21254 case "(($ac_try" in
21255 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21256 *) ac_try_echo
=$ac_try;;
21258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21259 (eval "$ac_compile") 2>conftest.er1
21261 grep -v '^ *+' conftest.er1
>conftest.err
21263 cat conftest.err
>&5
21264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21265 (exit $ac_status); } && {
21266 test -z "$ac_c_werror_flag" ||
21267 test ! -s conftest.err
21268 } && test -s conftest.
$ac_objext; then
21269 ac_lo
=$ac_mid; break
21271 echo "$as_me: failed program was:" >&5
21272 sed 's/^/| /' conftest.
$ac_ext >&5
21274 ac_hi
=`expr '(' $ac_mid ')' - 1`
21275 if test $ac_mid -le $ac_hi; then
21279 ac_mid
=`expr 2 '*' $ac_mid`
21282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21285 echo "$as_me: failed program was:" >&5
21286 sed 's/^/| /' conftest.
$ac_ext >&5
21291 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21295 # Binary search between lo and hi bounds.
21296 while test "x$ac_lo" != "x$ac_hi"; do
21297 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21298 cat >conftest.
$ac_ext <<_ACEOF
21301 cat confdefs.h
>>conftest.
$ac_ext
21302 cat >>conftest.
$ac_ext <<_ACEOF
21303 /* end confdefs.h. */
21304 $ac_includes_default
21305 typedef long long ac__type_sizeof_;
21309 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21316 rm -f conftest.
$ac_objext
21317 if { (ac_try
="$ac_compile"
21318 case "(($ac_try" in
21319 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21320 *) ac_try_echo=$ac_try;;
21322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21323 (eval "$ac_compile") 2>conftest.er1
21325 grep -v '^ *+' conftest.er1 >conftest.err
21327 cat conftest.err >&5
21328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21329 (exit $ac_status); } && {
21330 test -z "$ac_c_werror_flag" ||
21331 test ! -s conftest.err
21332 } && test -s conftest.$ac_objext; then
21335 echo "$as_me: failed program was:" >&5
21336 sed 's/^/| /' conftest.$ac_ext >&5
21338 ac_lo=`expr '(' $ac_mid ')' + 1`
21341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21344 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21345 '') if test "$ac_cv_type_long_long" = yes; then
21346 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21347 See \`config.log
' for more details." >&5
21348 echo "$as_me: error: cannot compute sizeof (long long)
21349 See \`config.log' for more details.
" >&2;}
21350 { (exit 77); exit 77; }; }
21352 ac_cv_sizeof_long_long=0
21356 cat >conftest.$ac_ext <<_ACEOF
21359 cat confdefs.h >>conftest.$ac_ext
21360 cat >>conftest.$ac_ext <<_ACEOF
21361 /* end confdefs.h. */
21362 $ac_includes_default
21363 typedef long long ac__type_sizeof_;
21364 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21365 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21367 #include <stdlib.h>
21372 FILE *f = fopen ("conftest.val
", "w
");
21375 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21377 long int i = longval ();
21378 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21380 fprintf (f, "%ld
\n", i);
21384 unsigned long int i = ulongval ();
21385 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21387 fprintf (f, "%lu
\n", i);
21389 return ferror (f) || fclose (f) != 0;
21395 rm -f conftest$ac_exeext
21396 if { (ac_try="$ac_link"
21397 case "(($ac_try" in
21398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21399 *) ac_try_echo=$ac_try;;
21401 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21402 (eval "$ac_link") 2>&5
21404 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21405 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21406 { (case "(($ac_try" in
21407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21408 *) ac_try_echo=$ac_try;;
21410 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21411 (eval "$ac_try") 2>&5
21413 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21414 (exit $ac_status); }; }; then
21415 ac_cv_sizeof_long_long=`cat conftest.val`
21417 echo "$as_me: program exited with status
$ac_status" >&5
21418 echo "$as_me: failed program was
:" >&5
21419 sed 's/^/| /' conftest.$ac_ext >&5
21421 ( exit $ac_status )
21422 if test "$ac_cv_type_long_long" = yes; then
21423 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21424 See \
`config.log' for more details." >&5
21425 echo "$as_me: error: cannot compute sizeof (long long)
21426 See \`config.log
' for more details." >&2;}
21427 { (exit 77); exit 77; }; }
21429 ac_cv_sizeof_long_long=0
21432 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21436 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21437 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21441 cat >>confdefs.h <<_ACEOF
21442 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21448 { echo "$as_me:$LINENO: checking for long long" >&5
21449 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21450 if test "${ac_cv_type_long_long+set}" = set; then
21451 echo $ECHO_N "(cached) $ECHO_C" >&6
21453 cat >conftest.$ac_ext <<_ACEOF
21456 cat confdefs.h >>conftest.$ac_ext
21457 cat >>conftest.$ac_ext <<_ACEOF
21458 /* end confdefs.h. */
21459 $ac_includes_default
21460 typedef long long ac__type_new_;
21464 if ((ac__type_new_ *) 0)
21466 if (sizeof (ac__type_new_))
21472 rm -f conftest.$ac_objext
21473 if { (ac_try="$ac_compile"
21474 case "(($ac_try" in
21475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21476 *) ac_try_echo=$ac_try;;
21478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21479 (eval "$ac_compile") 2>conftest.er1
21481 grep -v '^
*+' conftest.er1 >conftest.err
21483 cat conftest.err >&5
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); } && {
21486 test -z "$ac_c_werror_flag" ||
21487 test ! -s conftest.err
21488 } && test -s conftest.$ac_objext; then
21489 ac_cv_type_long_long=yes
21491 echo "$as_me: failed program was:" >&5
21492 sed 's
/^
/| /' conftest.$ac_ext >&5
21494 ac_cv_type_long_long=no
21497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21499 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21500 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21502 # The cast to long int works around a bug in the HP C Compiler
21503 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21504 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21505 # This bug is HP SR number 8606223364.
21506 { echo "$as_me:$LINENO: checking size of long long" >&5
21507 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21508 if test "${ac_cv_sizeof_long_long+set}" = set; then
21509 echo $ECHO_N "(cached) $ECHO_C" >&6
21511 if test "$cross_compiling" = yes; then
21512 # Depending upon the size, compute the lo and hi bounds.
21513 cat >conftest.
$ac_ext <<_ACEOF
21516 cat confdefs.h
>>conftest.
$ac_ext
21517 cat >>conftest.
$ac_ext <<_ACEOF
21518 /* end confdefs.h. */
21519 $ac_includes_default
21520 typedef long long ac__type_sizeof_;
21524 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21531 rm -f conftest.
$ac_objext
21532 if { (ac_try
="$ac_compile"
21533 case "(($ac_try" in
21534 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21535 *) ac_try_echo=$ac_try;;
21537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21538 (eval "$ac_compile") 2>conftest.er1
21540 grep -v '^ *+' conftest.er1 >conftest.err
21542 cat conftest.err >&5
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); } && {
21545 test -z "$ac_c_werror_flag" ||
21546 test ! -s conftest.err
21547 } && test -s conftest.$ac_objext; then
21550 cat >conftest.$ac_ext <<_ACEOF
21553 cat confdefs.h >>conftest.$ac_ext
21554 cat >>conftest.$ac_ext <<_ACEOF
21555 /* end confdefs.h. */
21556 $ac_includes_default
21557 typedef long long ac__type_sizeof_;
21561 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21568 rm -f conftest.$ac_objext
21569 if { (ac_try="$ac_compile"
21570 case "(($ac_try" in
21571 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21572 *) ac_try_echo
=$ac_try;;
21574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21575 (eval "$ac_compile") 2>conftest.er1
21577 grep -v '^ *+' conftest.er1
>conftest.err
21579 cat conftest.err
>&5
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); } && {
21582 test -z "$ac_c_werror_flag" ||
21583 test ! -s conftest.err
21584 } && test -s conftest.
$ac_objext; then
21585 ac_hi
=$ac_mid; break
21587 echo "$as_me: failed program was:" >&5
21588 sed 's/^/| /' conftest.
$ac_ext >&5
21590 ac_lo
=`expr $ac_mid + 1`
21591 if test $ac_lo -le $ac_mid; then
21595 ac_mid
=`expr 2 '*' $ac_mid + 1`
21598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21601 echo "$as_me: failed program was:" >&5
21602 sed 's/^/| /' conftest.
$ac_ext >&5
21604 cat >conftest.
$ac_ext <<_ACEOF
21607 cat confdefs.h
>>conftest.
$ac_ext
21608 cat >>conftest.
$ac_ext <<_ACEOF
21609 /* end confdefs.h. */
21610 $ac_includes_default
21611 typedef long long ac__type_sizeof_;
21615 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21622 rm -f conftest.
$ac_objext
21623 if { (ac_try
="$ac_compile"
21624 case "(($ac_try" in
21625 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21626 *) ac_try_echo=$ac_try;;
21628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21629 (eval "$ac_compile") 2>conftest.er1
21631 grep -v '^ *+' conftest.er1 >conftest.err
21633 cat conftest.err >&5
21634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635 (exit $ac_status); } && {
21636 test -z "$ac_c_werror_flag" ||
21637 test ! -s conftest.err
21638 } && test -s conftest.$ac_objext; then
21641 cat >conftest.$ac_ext <<_ACEOF
21644 cat confdefs.h >>conftest.$ac_ext
21645 cat >>conftest.$ac_ext <<_ACEOF
21646 /* end confdefs.h. */
21647 $ac_includes_default
21648 typedef long long ac__type_sizeof_;
21652 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21659 rm -f conftest.$ac_objext
21660 if { (ac_try="$ac_compile"
21661 case "(($ac_try" in
21662 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21663 *) ac_try_echo
=$ac_try;;
21665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21666 (eval "$ac_compile") 2>conftest.er1
21668 grep -v '^ *+' conftest.er1
>conftest.err
21670 cat conftest.err
>&5
21671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21672 (exit $ac_status); } && {
21673 test -z "$ac_c_werror_flag" ||
21674 test ! -s conftest.err
21675 } && test -s conftest.
$ac_objext; then
21676 ac_lo
=$ac_mid; break
21678 echo "$as_me: failed program was:" >&5
21679 sed 's/^/| /' conftest.
$ac_ext >&5
21681 ac_hi
=`expr '(' $ac_mid ')' - 1`
21682 if test $ac_mid -le $ac_hi; then
21686 ac_mid
=`expr 2 '*' $ac_mid`
21689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21692 echo "$as_me: failed program was:" >&5
21693 sed 's/^/| /' conftest.
$ac_ext >&5
21698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21702 # Binary search between lo and hi bounds.
21703 while test "x$ac_lo" != "x$ac_hi"; do
21704 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21705 cat >conftest.
$ac_ext <<_ACEOF
21708 cat confdefs.h
>>conftest.
$ac_ext
21709 cat >>conftest.
$ac_ext <<_ACEOF
21710 /* end confdefs.h. */
21711 $ac_includes_default
21712 typedef long long ac__type_sizeof_;
21716 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21723 rm -f conftest.
$ac_objext
21724 if { (ac_try
="$ac_compile"
21725 case "(($ac_try" in
21726 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21727 *) ac_try_echo=$ac_try;;
21729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21730 (eval "$ac_compile") 2>conftest.er1
21732 grep -v '^ *+' conftest.er1 >conftest.err
21734 cat conftest.err >&5
21735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736 (exit $ac_status); } && {
21737 test -z "$ac_c_werror_flag" ||
21738 test ! -s conftest.err
21739 } && test -s conftest.$ac_objext; then
21742 echo "$as_me: failed program was:" >&5
21743 sed 's/^/| /' conftest.$ac_ext >&5
21745 ac_lo=`expr '(' $ac_mid ')' + 1`
21748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21751 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21752 '') if test "$ac_cv_type_long_long" = yes; then
21753 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21754 See \`config.log
' for more details." >&5
21755 echo "$as_me: error: cannot compute sizeof (long long)
21756 See \`config.log' for more details.
" >&2;}
21757 { (exit 77); exit 77; }; }
21759 ac_cv_sizeof_long_long=0
21763 cat >conftest.$ac_ext <<_ACEOF
21766 cat confdefs.h >>conftest.$ac_ext
21767 cat >>conftest.$ac_ext <<_ACEOF
21768 /* end confdefs.h. */
21769 $ac_includes_default
21770 typedef long long ac__type_sizeof_;
21771 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21772 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21774 #include <stdlib.h>
21779 FILE *f = fopen ("conftest.val
", "w
");
21782 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21784 long int i = longval ();
21785 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21787 fprintf (f, "%ld
\n", i);
21791 unsigned long int i = ulongval ();
21792 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21794 fprintf (f, "%lu
\n", i);
21796 return ferror (f) || fclose (f) != 0;
21802 rm -f conftest$ac_exeext
21803 if { (ac_try="$ac_link"
21804 case "(($ac_try" in
21805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21806 *) ac_try_echo=$ac_try;;
21808 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21809 (eval "$ac_link") 2>&5
21811 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21812 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21813 { (case "(($ac_try" in
21814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21815 *) ac_try_echo=$ac_try;;
21817 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21818 (eval "$ac_try") 2>&5
21820 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21821 (exit $ac_status); }; }; then
21822 ac_cv_sizeof_long_long=`cat conftest.val`
21824 echo "$as_me: program exited with status
$ac_status" >&5
21825 echo "$as_me: failed program was
:" >&5
21826 sed 's/^/| /' conftest.$ac_ext >&5
21828 ( exit $ac_status )
21829 if test "$ac_cv_type_long_long" = yes; then
21830 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21831 See \
`config.log' for more details." >&5
21832 echo "$as_me: error: cannot compute sizeof (long long)
21833 See \`config.log
' for more details." >&2;}
21834 { (exit 77); exit 77; }; }
21836 ac_cv_sizeof_long_long=0
21839 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21843 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21844 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21848 cat >>confdefs.h <<_ACEOF
21849 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21853 if test "$ac_cv_sizeof_long_long" != 0; then
21854 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21858 { echo "$as_me:$LINENO: checking for long long" >&5
21859 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21860 if test "${ac_cv_type_long_long+set}" = set; then
21861 echo $ECHO_N "(cached) $ECHO_C" >&6
21863 cat >conftest.$ac_ext <<_ACEOF
21866 cat confdefs.h >>conftest.$ac_ext
21867 cat >>conftest.$ac_ext <<_ACEOF
21868 /* end confdefs.h. */
21869 $ac_includes_default
21870 typedef long long ac__type_new_;
21874 if ((ac__type_new_ *) 0)
21876 if (sizeof (ac__type_new_))
21882 rm -f conftest.$ac_objext
21883 if { (ac_try="$ac_compile"
21884 case "(($ac_try" in
21885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21886 *) ac_try_echo=$ac_try;;
21888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21889 (eval "$ac_compile") 2>conftest.er1
21891 grep -v '^
*+' conftest.er1 >conftest.err
21893 cat conftest.err >&5
21894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895 (exit $ac_status); } && {
21896 test -z "$ac_c_werror_flag" ||
21897 test ! -s conftest.err
21898 } && test -s conftest.$ac_objext; then
21899 ac_cv_type_long_long=yes
21901 echo "$as_me: failed program was:" >&5
21902 sed 's
/^
/| /' conftest.$ac_ext >&5
21904 ac_cv_type_long_long=no
21907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21909 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21910 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21912 # The cast to long int works around a bug in the HP C Compiler
21913 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21914 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21915 # This bug is HP SR number 8606223364.
21916 { echo "$as_me:$LINENO: checking size of long long" >&5
21917 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21918 if test "${ac_cv_sizeof_long_long+set}" = set; then
21919 echo $ECHO_N "(cached) $ECHO_C" >&6
21921 if test "$cross_compiling" = yes; then
21922 # Depending upon the size, compute the lo and hi bounds.
21923 cat >conftest.
$ac_ext <<_ACEOF
21926 cat confdefs.h
>>conftest.
$ac_ext
21927 cat >>conftest.
$ac_ext <<_ACEOF
21928 /* end confdefs.h. */
21929 $ac_includes_default
21930 typedef long long ac__type_sizeof_;
21934 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21941 rm -f conftest.
$ac_objext
21942 if { (ac_try
="$ac_compile"
21943 case "(($ac_try" in
21944 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21945 *) ac_try_echo=$ac_try;;
21947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21948 (eval "$ac_compile") 2>conftest.er1
21950 grep -v '^ *+' conftest.er1 >conftest.err
21952 cat conftest.err >&5
21953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21954 (exit $ac_status); } && {
21955 test -z "$ac_c_werror_flag" ||
21956 test ! -s conftest.err
21957 } && test -s conftest.$ac_objext; then
21960 cat >conftest.$ac_ext <<_ACEOF
21963 cat confdefs.h >>conftest.$ac_ext
21964 cat >>conftest.$ac_ext <<_ACEOF
21965 /* end confdefs.h. */
21966 $ac_includes_default
21967 typedef long long ac__type_sizeof_;
21971 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21978 rm -f conftest.$ac_objext
21979 if { (ac_try="$ac_compile"
21980 case "(($ac_try" in
21981 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21982 *) ac_try_echo
=$ac_try;;
21984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21985 (eval "$ac_compile") 2>conftest.er1
21987 grep -v '^ *+' conftest.er1
>conftest.err
21989 cat conftest.err
>&5
21990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21991 (exit $ac_status); } && {
21992 test -z "$ac_c_werror_flag" ||
21993 test ! -s conftest.err
21994 } && test -s conftest.
$ac_objext; then
21995 ac_hi
=$ac_mid; break
21997 echo "$as_me: failed program was:" >&5
21998 sed 's/^/| /' conftest.
$ac_ext >&5
22000 ac_lo
=`expr $ac_mid + 1`
22001 if test $ac_lo -le $ac_mid; then
22005 ac_mid
=`expr 2 '*' $ac_mid + 1`
22008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22011 echo "$as_me: failed program was:" >&5
22012 sed 's/^/| /' conftest.
$ac_ext >&5
22014 cat >conftest.
$ac_ext <<_ACEOF
22017 cat confdefs.h
>>conftest.
$ac_ext
22018 cat >>conftest.
$ac_ext <<_ACEOF
22019 /* end confdefs.h. */
22020 $ac_includes_default
22021 typedef long long ac__type_sizeof_;
22025 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22032 rm -f conftest.
$ac_objext
22033 if { (ac_try
="$ac_compile"
22034 case "(($ac_try" in
22035 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22036 *) ac_try_echo=$ac_try;;
22038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22039 (eval "$ac_compile") 2>conftest.er1
22041 grep -v '^ *+' conftest.er1 >conftest.err
22043 cat conftest.err >&5
22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22045 (exit $ac_status); } && {
22046 test -z "$ac_c_werror_flag" ||
22047 test ! -s conftest.err
22048 } && test -s conftest.$ac_objext; then
22051 cat >conftest.$ac_ext <<_ACEOF
22054 cat confdefs.h >>conftest.$ac_ext
22055 cat >>conftest.$ac_ext <<_ACEOF
22056 /* end confdefs.h. */
22057 $ac_includes_default
22058 typedef long long ac__type_sizeof_;
22062 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22069 rm -f conftest.$ac_objext
22070 if { (ac_try="$ac_compile"
22071 case "(($ac_try" in
22072 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22073 *) ac_try_echo
=$ac_try;;
22075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22076 (eval "$ac_compile") 2>conftest.er1
22078 grep -v '^ *+' conftest.er1
>conftest.err
22080 cat conftest.err
>&5
22081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22082 (exit $ac_status); } && {
22083 test -z "$ac_c_werror_flag" ||
22084 test ! -s conftest.err
22085 } && test -s conftest.
$ac_objext; then
22086 ac_lo
=$ac_mid; break
22088 echo "$as_me: failed program was:" >&5
22089 sed 's/^/| /' conftest.
$ac_ext >&5
22091 ac_hi
=`expr '(' $ac_mid ')' - 1`
22092 if test $ac_mid -le $ac_hi; then
22096 ac_mid
=`expr 2 '*' $ac_mid`
22099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22102 echo "$as_me: failed program was:" >&5
22103 sed 's/^/| /' conftest.
$ac_ext >&5
22108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22112 # Binary search between lo and hi bounds.
22113 while test "x$ac_lo" != "x$ac_hi"; do
22114 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22115 cat >conftest.
$ac_ext <<_ACEOF
22118 cat confdefs.h
>>conftest.
$ac_ext
22119 cat >>conftest.
$ac_ext <<_ACEOF
22120 /* end confdefs.h. */
22121 $ac_includes_default
22122 typedef long long ac__type_sizeof_;
22126 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22133 rm -f conftest.
$ac_objext
22134 if { (ac_try
="$ac_compile"
22135 case "(($ac_try" in
22136 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22137 *) ac_try_echo=$ac_try;;
22139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22140 (eval "$ac_compile") 2>conftest.er1
22142 grep -v '^ *+' conftest.er1 >conftest.err
22144 cat conftest.err >&5
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); } && {
22147 test -z "$ac_c_werror_flag" ||
22148 test ! -s conftest.err
22149 } && test -s conftest.$ac_objext; then
22152 echo "$as_me: failed program was:" >&5
22153 sed 's/^/| /' conftest.$ac_ext >&5
22155 ac_lo=`expr '(' $ac_mid ')' + 1`
22158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22161 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22162 '') if test "$ac_cv_type_long_long" = yes; then
22163 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22164 See \`config.log
' for more details." >&5
22165 echo "$as_me: error: cannot compute sizeof (long long)
22166 See \`config.log' for more details.
" >&2;}
22167 { (exit 77); exit 77; }; }
22169 ac_cv_sizeof_long_long=0
22173 cat >conftest.$ac_ext <<_ACEOF
22176 cat confdefs.h >>conftest.$ac_ext
22177 cat >>conftest.$ac_ext <<_ACEOF
22178 /* end confdefs.h. */
22179 $ac_includes_default
22180 typedef long long ac__type_sizeof_;
22181 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22182 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22184 #include <stdlib.h>
22189 FILE *f = fopen ("conftest.val
", "w
");
22192 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22194 long int i = longval ();
22195 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22197 fprintf (f, "%ld
\n", i);
22201 unsigned long int i = ulongval ();
22202 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22204 fprintf (f, "%lu
\n", i);
22206 return ferror (f) || fclose (f) != 0;
22212 rm -f conftest$ac_exeext
22213 if { (ac_try="$ac_link"
22214 case "(($ac_try" in
22215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22216 *) ac_try_echo=$ac_try;;
22218 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22219 (eval "$ac_link") 2>&5
22221 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22222 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22223 { (case "(($ac_try" in
22224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22225 *) ac_try_echo=$ac_try;;
22227 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22228 (eval "$ac_try") 2>&5
22230 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22231 (exit $ac_status); }; }; then
22232 ac_cv_sizeof_long_long=`cat conftest.val`
22234 echo "$as_me: program exited with status
$ac_status" >&5
22235 echo "$as_me: failed program was
:" >&5
22236 sed 's/^/| /' conftest.$ac_ext >&5
22238 ( exit $ac_status )
22239 if test "$ac_cv_type_long_long" = yes; then
22240 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22241 See \
`config.log' for more details." >&5
22242 echo "$as_me: error: cannot compute sizeof (long long)
22243 See \`config.log
' for more details." >&2;}
22244 { (exit 77); exit 77; }; }
22246 ac_cv_sizeof_long_long=0
22249 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22253 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22254 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22258 cat >>confdefs.h <<_ACEOF
22259 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22265 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22266 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22267 if test "${ac_cv_type_wchar_t+set}" = set; then
22268 echo $ECHO_N "(cached) $ECHO_C" >&6
22270 cat >conftest.$ac_ext <<_ACEOF
22273 cat confdefs.h >>conftest.$ac_ext
22274 cat >>conftest.$ac_ext <<_ACEOF
22275 /* end confdefs.h. */
22277 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22278 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22279 # error "fake wchar_t"
22281 #ifdef HAVE_WCHAR_H
22283 # include <stddef.h>
22285 # include <wchar.h>
22287 #ifdef HAVE_STDLIB_H
22288 # include <stdlib.h>
22294 typedef wchar_t ac__type_new_
;
22298 if ((ac__type_new_
*) 0)
22300 if (sizeof
(ac__type_new_
))
22306 rm -f conftest.
$ac_objext
22307 if { (ac_try
="$ac_compile"
22308 case "(($ac_try" in
22309 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22310 *) ac_try_echo=$ac_try;;
22312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22313 (eval "$ac_compile") 2>conftest.er1
22315 grep -v '^ *+' conftest.er1 >conftest.err
22317 cat conftest.err >&5
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); } && {
22320 test -z "$ac_c_werror_flag" ||
22321 test ! -s conftest.err
22322 } && test -s conftest.$ac_objext; then
22323 ac_cv_type_wchar_t=yes
22325 echo "$as_me: failed program was:" >&5
22326 sed 's/^/| /' conftest.$ac_ext >&5
22328 ac_cv_type_wchar_t=no
22331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22333 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22334 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22336 # The cast to long int works around a bug in the HP C Compiler
22337 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22338 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22339 # This bug is HP SR number 8606223364.
22340 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22341 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22342 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22343 echo $ECHO_N "(cached) $ECHO_C" >&6
22345 if test "$cross_compiling" = yes; then
22346 # Depending upon the size, compute the lo and hi bounds.
22347 cat >conftest.$ac_ext <<_ACEOF
22350 cat confdefs.h >>conftest.$ac_ext
22351 cat >>conftest.$ac_ext <<_ACEOF
22352 /* end confdefs.h. */
22354 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22355 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22356 # error "fake wchar_t"
22358 #ifdef HAVE_WCHAR_H
22360 # include <stddef.h>
22362 # include <wchar.h>
22364 #ifdef HAVE_STDLIB_H
22365 # include <stdlib.h>
22371 typedef wchar_t ac__type_sizeof_
;
22375 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22382 rm -f conftest.
$ac_objext
22383 if { (ac_try
="$ac_compile"
22384 case "(($ac_try" in
22385 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22386 *) ac_try_echo=$ac_try;;
22388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22389 (eval "$ac_compile") 2>conftest.er1
22391 grep -v '^ *+' conftest.er1 >conftest.err
22393 cat conftest.err >&5
22394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395 (exit $ac_status); } && {
22396 test -z "$ac_c_werror_flag" ||
22397 test ! -s conftest.err
22398 } && test -s conftest.$ac_objext; then
22401 cat >conftest.$ac_ext <<_ACEOF
22404 cat confdefs.h >>conftest.$ac_ext
22405 cat >>conftest.$ac_ext <<_ACEOF
22406 /* end confdefs.h. */
22408 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22409 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22410 # error "fake wchar_t"
22412 #ifdef HAVE_WCHAR_H
22414 # include <stddef.h>
22416 # include <wchar.h>
22418 #ifdef HAVE_STDLIB_H
22419 # include <stdlib.h>
22425 typedef wchar_t ac__type_sizeof_;
22429 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22436 rm -f conftest.$ac_objext
22437 if { (ac_try="$ac_compile"
22438 case "(($ac_try" in
22439 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22440 *) ac_try_echo
=$ac_try;;
22442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22443 (eval "$ac_compile") 2>conftest.er1
22445 grep -v '^ *+' conftest.er1
>conftest.err
22447 cat conftest.err
>&5
22448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22449 (exit $ac_status); } && {
22450 test -z "$ac_c_werror_flag" ||
22451 test ! -s conftest.err
22452 } && test -s conftest.
$ac_objext; then
22453 ac_hi
=$ac_mid; break
22455 echo "$as_me: failed program was:" >&5
22456 sed 's/^/| /' conftest.
$ac_ext >&5
22458 ac_lo
=`expr $ac_mid + 1`
22459 if test $ac_lo -le $ac_mid; then
22463 ac_mid
=`expr 2 '*' $ac_mid + 1`
22466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22469 echo "$as_me: failed program was:" >&5
22470 sed 's/^/| /' conftest.
$ac_ext >&5
22472 cat >conftest.
$ac_ext <<_ACEOF
22475 cat confdefs.h
>>conftest.
$ac_ext
22476 cat >>conftest.
$ac_ext <<_ACEOF
22477 /* end confdefs.h. */
22479 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22480 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22481 # error "fake wchar_t"
22483 #ifdef HAVE_WCHAR_H
22485 # include <stddef.h>
22487 # include <wchar.h>
22489 #ifdef HAVE_STDLIB_H
22490 # include <stdlib.h>
22496 typedef wchar_t ac__type_sizeof_;
22500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22507 rm -f conftest.
$ac_objext
22508 if { (ac_try
="$ac_compile"
22509 case "(($ac_try" in
22510 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22511 *) ac_try_echo=$ac_try;;
22513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22514 (eval "$ac_compile") 2>conftest.er1
22516 grep -v '^ *+' conftest.er1 >conftest.err
22518 cat conftest.err >&5
22519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22520 (exit $ac_status); } && {
22521 test -z "$ac_c_werror_flag" ||
22522 test ! -s conftest.err
22523 } && test -s conftest.$ac_objext; then
22526 cat >conftest.$ac_ext <<_ACEOF
22529 cat confdefs.h >>conftest.$ac_ext
22530 cat >>conftest.$ac_ext <<_ACEOF
22531 /* end confdefs.h. */
22533 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22534 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22535 # error "fake wchar_t"
22537 #ifdef HAVE_WCHAR_H
22539 # include <stddef.h>
22541 # include <wchar.h>
22543 #ifdef HAVE_STDLIB_H
22544 # include <stdlib.h>
22550 typedef wchar_t ac__type_sizeof_;
22554 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22561 rm -f conftest.$ac_objext
22562 if { (ac_try="$ac_compile"
22563 case "(($ac_try" in
22564 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22565 *) ac_try_echo
=$ac_try;;
22567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22568 (eval "$ac_compile") 2>conftest.er1
22570 grep -v '^ *+' conftest.er1
>conftest.err
22572 cat conftest.err
>&5
22573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22574 (exit $ac_status); } && {
22575 test -z "$ac_c_werror_flag" ||
22576 test ! -s conftest.err
22577 } && test -s conftest.
$ac_objext; then
22578 ac_lo
=$ac_mid; break
22580 echo "$as_me: failed program was:" >&5
22581 sed 's/^/| /' conftest.
$ac_ext >&5
22583 ac_hi
=`expr '(' $ac_mid ')' - 1`
22584 if test $ac_mid -le $ac_hi; then
22588 ac_mid
=`expr 2 '*' $ac_mid`
22591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22594 echo "$as_me: failed program was:" >&5
22595 sed 's/^/| /' conftest.
$ac_ext >&5
22600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22603 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22604 # Binary search between lo and hi bounds.
22605 while test "x$ac_lo" != "x$ac_hi"; do
22606 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22607 cat >conftest.
$ac_ext <<_ACEOF
22610 cat confdefs.h
>>conftest.
$ac_ext
22611 cat >>conftest.
$ac_ext <<_ACEOF
22612 /* end confdefs.h. */
22614 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22615 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22616 # error "fake wchar_t"
22618 #ifdef HAVE_WCHAR_H
22620 # include <stddef.h>
22622 # include <wchar.h>
22624 #ifdef HAVE_STDLIB_H
22625 # include <stdlib.h>
22631 typedef wchar_t ac__type_sizeof_;
22635 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22642 rm -f conftest.
$ac_objext
22643 if { (ac_try
="$ac_compile"
22644 case "(($ac_try" in
22645 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22646 *) ac_try_echo=$ac_try;;
22648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22649 (eval "$ac_compile") 2>conftest.er1
22651 grep -v '^ *+' conftest.er1 >conftest.err
22653 cat conftest.err >&5
22654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22655 (exit $ac_status); } && {
22656 test -z "$ac_c_werror_flag" ||
22657 test ! -s conftest.err
22658 } && test -s conftest.$ac_objext; then
22661 echo "$as_me: failed program was:" >&5
22662 sed 's/^/| /' conftest.$ac_ext >&5
22664 ac_lo=`expr '(' $ac_mid ')' + 1`
22667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22670 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22671 '') if test "$ac_cv_type_wchar_t" = yes; then
22672 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22673 See \`config.log
' for more details." >&5
22674 echo "$as_me: error: cannot compute sizeof (wchar_t)
22675 See \`config.log' for more details.
" >&2;}
22676 { (exit 77); exit 77; }; }
22678 ac_cv_sizeof_wchar_t=0
22682 cat >conftest.$ac_ext <<_ACEOF
22685 cat confdefs.h >>conftest.$ac_ext
22686 cat >>conftest.$ac_ext <<_ACEOF
22687 /* end confdefs.h. */
22689 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22690 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22691 # error "fake wchar_t
"
22693 #ifdef HAVE_WCHAR_H
22695 # include <stddef.h>
22697 # include <wchar.h>
22699 #ifdef HAVE_STDLIB_H
22700 # include <stdlib.h>
22706 typedef wchar_t ac__type_sizeof_;
22707 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22708 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22710 #include <stdlib.h>
22715 FILE *f = fopen ("conftest.val
", "w
");
22718 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22720 long int i = longval ();
22721 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22723 fprintf (f, "%ld
\n", i);
22727 unsigned long int i = ulongval ();
22728 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22730 fprintf (f, "%lu
\n", i);
22732 return ferror (f) || fclose (f) != 0;
22738 rm -f conftest$ac_exeext
22739 if { (ac_try="$ac_link"
22740 case "(($ac_try" in
22741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22742 *) ac_try_echo=$ac_try;;
22744 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22745 (eval "$ac_link") 2>&5
22747 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22749 { (case "(($ac_try" in
22750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22751 *) ac_try_echo=$ac_try;;
22753 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22754 (eval "$ac_try") 2>&5
22756 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22757 (exit $ac_status); }; }; then
22758 ac_cv_sizeof_wchar_t=`cat conftest.val`
22760 echo "$as_me: program exited with status
$ac_status" >&5
22761 echo "$as_me: failed program was
:" >&5
22762 sed 's/^/| /' conftest.$ac_ext >&5
22764 ( exit $ac_status )
22765 if test "$ac_cv_type_wchar_t" = yes; then
22766 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
22767 See \
`config.log' for more details." >&5
22768 echo "$as_me: error: cannot compute sizeof (wchar_t)
22769 See \`config.log
' for more details." >&2;}
22770 { (exit 77); exit 77; }; }
22772 ac_cv_sizeof_wchar_t=0
22775 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22779 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22780 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22784 cat >>confdefs.h <<_ACEOF
22785 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22789 if test "$ac_cv_sizeof_wchar_t" != 0; then
22795 { echo "$as_me:$LINENO: checking for va_copy" >&5
22796 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22797 if test "${wx_cv_func_va_copy+set}" = set; then
22798 echo $ECHO_N "(cached) $ECHO_C" >&6
22802 ac_cpp='$CXXCPP $CPPFLAGS'
22803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22804 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22807 cat >conftest.$ac_ext <<_ACEOF
22809 #include <stdarg.h>
22810 void foo(char *f, ...)
22824 rm -f conftest.$ac_objext conftest$ac_exeext
22825 if { (ac_try="$ac_link"
22826 case "(($ac_try" in
22827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22828 *) ac_try_echo=$ac_try;;
22830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22831 (eval "$ac_link") 2>conftest.er1
22833 grep -v '^
*+' conftest.er1 >conftest.err
22835 cat conftest.err >&5
22836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837 (exit $ac_status); } && {
22838 test -z "$ac_cxx_werror_flag" ||
22839 test ! -s conftest.err
22840 } && test -s conftest$ac_exeext &&
22841 $as_test_x conftest$ac_exeext; then
22842 wx_cv_func_va_copy=yes
22844 echo "$as_me: failed program was:" >&5
22845 sed 's
/^
/| /' conftest.$ac_ext >&5
22847 wx_cv_func_va_copy=no
22851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22852 conftest$ac_exeext conftest.$ac_ext
22854 ac_cpp='$CPP $CPPFLAGS'
22855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22856 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22862 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22863 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22865 if test $wx_cv_func_va_copy = "yes"; then
22866 cat >>confdefs.h <<\_ACEOF
22867 #define HAVE_VA_COPY 1
22871 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22872 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22873 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22874 echo $ECHO_N "(cached) $ECHO_C" >&6
22877 if test "$cross_compiling" = yes; then
22878 wx_cv_type_va_list_lvalue=yes
22881 cat >conftest.$ac_ext <<_ACEOF
22883 #include <stdarg.h>
22884 int foo(char *f, ...)
22889 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22897 return foo("hi", 17);
22900 rm -f conftest$ac_exeext
22901 if { (ac_try="$ac_link"
22902 case "(($ac_try" in
22903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22904 *) ac_try_echo=$ac_try;;
22906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22907 (eval "$ac_link") 2>&5
22909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22910 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22911 { (case "(($ac_try" in
22912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22913 *) ac_try_echo=$ac_try;;
22915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22916 (eval "$ac_try") 2>&5
22918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 (exit $ac_status); }; }; then
22920 wx_cv_type_va_list_lvalue=yes
22922 echo "$as_me: program exited with status $ac_status" >&5
22923 echo "$as_me: failed program was:" >&5
22924 sed 's
/^
/| /' conftest.$ac_ext >&5
22926 ( exit $ac_status )
22927 wx_cv_type_va_list_lvalue=no
22929 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22936 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22937 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22939 if test $wx_cv_type_va_list_lvalue != "yes"; then
22940 cat >>confdefs.h <<\_ACEOF
22941 #define VA_LIST_IS_ARRAY 1
22947 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22949 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22950 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22951 if test "${wx_cv_have_variadic_macros+set}" = set; then
22952 echo $ECHO_N "(cached) $ECHO_C" >&6
22956 ac_cpp='$CXXCPP $CPPFLAGS'
22957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22958 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22961 cat >conftest.$ac_ext <<_ACEOF
22964 cat confdefs.h >>conftest.$ac_ext
22965 cat >>conftest.$ac_ext <<_ACEOF
22966 /* end confdefs.h. */
22969 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22975 test("%s %d %p", "test", 1, 0);
22982 rm -f conftest.$ac_objext
22983 if { (ac_try="$ac_compile"
22984 case "(($ac_try" in
22985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22986 *) ac_try_echo=$ac_try;;
22988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22989 (eval "$ac_compile") 2>conftest.er1
22991 grep -v '^
*+' conftest.er1 >conftest.err
22993 cat conftest.err >&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); } && {
22996 test -z "$ac_cxx_werror_flag" ||
22997 test ! -s conftest.err
22998 } && test -s conftest.$ac_objext; then
22999 wx_cv_have_variadic_macros=yes
23001 echo "$as_me: failed program was:" >&5
23002 sed 's
/^
/| /' conftest.$ac_ext >&5
23004 wx_cv_have_variadic_macros=no
23008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23010 ac_cpp='$CPP $CPPFLAGS'
23011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23012 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23018 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23019 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23021 if test $wx_cv_have_variadic_macros = "yes"; then
23022 cat >>confdefs.h <<\_ACEOF
23023 #define HAVE_VARIADIC_MACROS 1
23029 # Check whether --enable-largefile was given.
23030 if test "${enable_largefile+set}" = set; then
23031 enableval=$enable_largefile;
23034 if test "$enable_largefile" != no; then
23037 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23038 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23039 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23040 echo $ECHO_N "(cached) $ECHO_C" >&6
23043 cat >conftest.$ac_ext <<_ACEOF
23046 cat confdefs.h >>conftest.$ac_ext
23047 cat >>conftest.$ac_ext <<_ACEOF
23048 /* end confdefs.h. */
23049 #define _FILE_OFFSET_BITS 64
23050 #include <sys/types.h>
23055 unsigned int field: sizeof(off_t) == 8;
23062 rm -f conftest.$ac_objext
23063 if { (ac_try="$ac_compile"
23064 case "(($ac_try" in
23065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23066 *) ac_try_echo=$ac_try;;
23068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23069 (eval "$ac_compile") 2>conftest.er1
23071 grep -v '^
*+' conftest.er1 >conftest.err
23073 cat conftest.err >&5
23074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23075 (exit $ac_status); } && {
23076 test -z "$ac_c_werror_flag" ||
23077 test ! -s conftest.err
23078 } && test -s conftest.$ac_objext; then
23079 ac_cv_sys_file_offset_bits=64
23081 echo "$as_me: failed program was:" >&5
23082 sed 's
/^
/| /' conftest.$ac_ext >&5
23084 ac_cv_sys_file_offset_bits=no
23087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23091 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23092 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23094 if test "$ac_cv_sys_file_offset_bits" != no; then
23096 cat >>confdefs.h <<_ACEOF
23097 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23102 if test "x$wx_largefile" != "xyes"; then
23104 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23105 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23106 if test "${ac_cv_sys_large_files+set}" = set; then
23107 echo $ECHO_N "(cached) $ECHO_C" >&6
23110 cat >conftest.$ac_ext <<_ACEOF
23113 cat confdefs.h >>conftest.$ac_ext
23114 cat >>conftest.$ac_ext <<_ACEOF
23115 /* end confdefs.h. */
23116 #define _LARGE_FILES 1
23117 #include <sys/types.h>
23122 unsigned int field: sizeof(off_t) == 8;
23129 rm -f conftest.$ac_objext
23130 if { (ac_try="$ac_compile"
23131 case "(($ac_try" in
23132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23133 *) ac_try_echo=$ac_try;;
23135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23136 (eval "$ac_compile") 2>conftest.er1
23138 grep -v '^
*+' conftest.er1 >conftest.err
23140 cat conftest.err >&5
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); } && {
23143 test -z "$ac_c_werror_flag" ||
23144 test ! -s conftest.err
23145 } && test -s conftest.$ac_objext; then
23146 ac_cv_sys_large_files=1
23148 echo "$as_me: failed program was:" >&5
23149 sed 's
/^
/| /' conftest.$ac_ext >&5
23151 ac_cv_sys_large_files=no
23154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23158 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23159 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23161 if test "$ac_cv_sys_large_files" != no; then
23163 cat >>confdefs.h <<_ACEOF
23164 #define _LARGE_FILES $ac_cv_sys_large_files
23171 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23172 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23173 if test "x$wx_largefile" = "xyes"; then
23174 cat >>confdefs.h <<\_ACEOF
23175 #define HAVE_LARGEFILE_SUPPORT 1
23179 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23180 echo "${ECHO_T}$wx_largefile" >&6; }
23184 if test "x$wx_largefile" = "xyes"; then
23185 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23186 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23188 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23189 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23190 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23191 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23192 echo $ECHO_N "(cached) $ECHO_C" >&6
23196 ac_cpp='$CXXCPP $CPPFLAGS'
23197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23198 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23201 cat >conftest.$ac_ext <<_ACEOF
23204 cat confdefs.h >>conftest.$ac_ext
23205 cat >>conftest.$ac_ext <<_ACEOF
23206 /* end confdefs.h. */
23212 #ifndef __STDC_EXT__
23220 rm -f conftest.$ac_objext
23221 if { (ac_try="$ac_compile"
23222 case "(($ac_try" in
23223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23224 *) ac_try_echo=$ac_try;;
23226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23227 (eval "$ac_compile") 2>conftest.er1
23229 grep -v '^
*+' conftest.er1 >conftest.err
23231 cat conftest.err >&5
23232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23233 (exit $ac_status); } && {
23234 test -z "$ac_cxx_werror_flag" ||
23235 test ! -s conftest.err
23236 } && test -s conftest.$ac_objext; then
23237 wx_cv_STDC_EXT_required=no
23239 echo "$as_me: failed program was:" >&5
23240 sed 's
/^
/| /' conftest.$ac_ext >&5
23242 wx_cv_STDC_EXT_required=yes
23246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23248 ac_cpp='$CPP $CPPFLAGS'
23249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23250 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23256 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23257 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23258 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23259 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23263 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23265 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23266 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23267 if test "${ac_cv_sys_largefile_source+set}" = set; then
23268 echo $ECHO_N "(cached) $ECHO_C" >&6
23271 cat >conftest.$ac_ext <<_ACEOF
23274 cat confdefs.h >>conftest.$ac_ext
23275 cat >>conftest.$ac_ext <<_ACEOF
23276 /* end confdefs.h. */
23277 #include <sys/types.h> /* for off_t */
23282 int (*fp) (FILE *, off_t, int) = fseeko;
23283 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23288 rm -f conftest.$ac_objext conftest$ac_exeext
23289 if { (ac_try="$ac_link"
23290 case "(($ac_try" in
23291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23292 *) ac_try_echo=$ac_try;;
23294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23295 (eval "$ac_link") 2>conftest.er1
23297 grep -v '^
*+' conftest.er1 >conftest.err
23299 cat conftest.err >&5
23300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23301 (exit $ac_status); } && {
23302 test -z "$ac_c_werror_flag" ||
23303 test ! -s conftest.err
23304 } && test -s conftest$ac_exeext &&
23305 $as_test_x conftest$ac_exeext; then
23306 ac_cv_sys_largefile_source=no; break
23308 echo "$as_me: failed program was:" >&5
23309 sed 's
/^
/| /' conftest.$ac_ext >&5
23314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23315 conftest$ac_exeext conftest.$ac_ext
23316 cat >conftest.$ac_ext <<_ACEOF
23319 cat confdefs.h >>conftest.$ac_ext
23320 cat >>conftest.$ac_ext <<_ACEOF
23321 /* end confdefs.h. */
23322 #define _LARGEFILE_SOURCE 1
23323 #include <sys/types.h> /* for off_t */
23328 int (*fp) (FILE *, off_t, int) = fseeko;
23329 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23334 rm -f conftest.$ac_objext conftest$ac_exeext
23335 if { (ac_try="$ac_link"
23336 case "(($ac_try" in
23337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23338 *) ac_try_echo=$ac_try;;
23340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23341 (eval "$ac_link") 2>conftest.er1
23343 grep -v '^
*+' conftest.er1 >conftest.err
23345 cat conftest.err >&5
23346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23347 (exit $ac_status); } && {
23348 test -z "$ac_c_werror_flag" ||
23349 test ! -s conftest.err
23350 } && test -s conftest$ac_exeext &&
23351 $as_test_x conftest$ac_exeext; then
23352 ac_cv_sys_largefile_source=1; break
23354 echo "$as_me: failed program was:" >&5
23355 sed 's
/^
/| /' conftest.$ac_ext >&5
23360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23361 conftest$ac_exeext conftest.$ac_ext
23362 ac_cv_sys_largefile_source=unknown
23366 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23367 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23368 case $ac_cv_sys_largefile_source in #(
23371 cat >>confdefs.h <<_ACEOF
23372 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23378 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23379 # in glibc 2.1.3, but that breaks too many other things.
23380 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23381 if test $ac_cv_sys_largefile_source != unknown; then
23383 cat >>confdefs.h <<\_ACEOF
23384 #define HAVE_FSEEKO 1
23389 if test "$ac_cv_sys_largefile_source" != no; then
23390 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23394 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23395 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23396 if test "${ac_cv_c_bigendian+set}" = set; then
23397 echo $ECHO_N "(cached) $ECHO_C" >&6
23399 ac_cv_c_bigendian=unknown
23400 # See if sys/param.h defines the BYTE_ORDER macro.
23401 cat >conftest.$ac_ext <<_ACEOF
23404 cat confdefs.h >>conftest.$ac_ext
23405 cat >>conftest.$ac_ext <<_ACEOF
23406 /* end confdefs.h. */
23407 #include <sys/types.h>
23408 #include <sys/param.h>
23413 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23414 bogus endian macros
23420 rm -f conftest.$ac_objext
23421 if { (ac_try="$ac_compile"
23422 case "(($ac_try" in
23423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23424 *) ac_try_echo=$ac_try;;
23426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23427 (eval "$ac_compile") 2>conftest.er1
23429 grep -v '^
*+' conftest.er1 >conftest.err
23431 cat conftest.err >&5
23432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23433 (exit $ac_status); } && {
23434 test -z "$ac_c_werror_flag" ||
23435 test ! -s conftest.err
23436 } && test -s conftest.$ac_objext; then
23437 # It does; now see whether it defined to BIG_ENDIAN or not.
23438 cat >conftest.$ac_ext <<_ACEOF
23441 cat confdefs.h >>conftest.$ac_ext
23442 cat >>conftest.$ac_ext <<_ACEOF
23443 /* end confdefs.h. */
23444 #include <sys/types.h>
23445 #include <sys/param.h>
23450 #if BYTE_ORDER != BIG_ENDIAN
23457 rm -f conftest.$ac_objext
23458 if { (ac_try="$ac_compile"
23459 case "(($ac_try" in
23460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23461 *) ac_try_echo=$ac_try;;
23463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23464 (eval "$ac_compile") 2>conftest.er1
23466 grep -v '^
*+' conftest.er1 >conftest.err
23468 cat conftest.err >&5
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); } && {
23471 test -z "$ac_c_werror_flag" ||
23472 test ! -s conftest.err
23473 } && test -s conftest.$ac_objext; then
23474 ac_cv_c_bigendian=yes
23476 echo "$as_me: failed program was:" >&5
23477 sed 's
/^
/| /' conftest.$ac_ext >&5
23479 ac_cv_c_bigendian=no
23482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23484 echo "$as_me: failed program was:" >&5
23485 sed 's
/^
/| /' conftest.$ac_ext >&5
23490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23491 if test $ac_cv_c_bigendian = unknown; then
23492 if test "$cross_compiling" = yes; then
23493 ac_cv_c_bigendian=unknown
23495 cat >conftest.$ac_ext <<_ACEOF
23498 cat confdefs.h >>conftest.$ac_ext
23499 cat >>conftest.$ac_ext <<_ACEOF
23500 /* end confdefs.h. */
23502 /* Are we little or big endian? From Harbison&Steele. */
23506 char c[sizeof (long)];
23509 exit (u.c[sizeof (long) - 1] == 1);
23512 rm -f conftest$ac_exeext
23513 if { (ac_try="$ac_link"
23514 case "(($ac_try" in
23515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23516 *) ac_try_echo=$ac_try;;
23518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23519 (eval "$ac_link") 2>&5
23521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23522 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23523 { (case "(($ac_try" in
23524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23525 *) ac_try_echo=$ac_try;;
23527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23528 (eval "$ac_try") 2>&5
23530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531 (exit $ac_status); }; }; then
23532 ac_cv_c_bigendian=no
23534 echo "$as_me: program exited with status $ac_status" >&5
23535 echo "$as_me: failed program was:" >&5
23536 sed 's
/^
/| /' conftest.$ac_ext >&5
23538 ( exit $ac_status )
23539 ac_cv_c_bigendian=yes
23541 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23547 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23548 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23549 if test $ac_cv_c_bigendian = unknown; then
23550 { 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
23551 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;}
23553 if test $ac_cv_c_bigendian = yes; then
23554 cat >>confdefs.h <<\_ACEOF
23555 #define WORDS_BIGENDIAN 1
23564 ac_cpp='$CXXCPP $CPPFLAGS'
23565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23566 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23571 for ac_header in iostream
23573 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23574 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23576 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23577 echo $ECHO_N "(cached) $ECHO_C" >&6
23579 cat >conftest.$ac_ext <<_ACEOF
23582 cat confdefs.h >>conftest.$ac_ext
23583 cat >>conftest.$ac_ext <<_ACEOF
23584 /* end confdefs.h. */
23587 #include <$ac_header>
23589 rm -f conftest.$ac_objext
23590 if { (ac_try="$ac_compile"
23591 case "(($ac_try" in
23592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23593 *) ac_try_echo=$ac_try;;
23595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23596 (eval "$ac_compile") 2>conftest.er1
23598 grep -v '^
*+' conftest.er1 >conftest.err
23600 cat conftest.err >&5
23601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602 (exit $ac_status); } && {
23603 test -z "$ac_cxx_werror_flag" ||
23604 test ! -s conftest.err
23605 } && test -s conftest.$ac_objext; then
23606 eval "$as_ac_Header=yes"
23608 echo "$as_me: failed program was:" >&5
23609 sed 's
/^
/| /' conftest.$ac_ext >&5
23611 eval "$as_ac_Header=no"
23614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23616 ac_res=`eval echo '${'$as_ac_Header'}'`
23617 { echo "$as_me:$LINENO: result: $ac_res" >&5
23618 echo "${ECHO_T}$ac_res" >&6; }
23619 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23620 cat >>confdefs.h <<_ACEOF
23621 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23629 if test "$ac_cv_header_iostream" = "yes" ; then
23632 cat >>confdefs.h <<\_ACEOF
23633 #define wxUSE_IOSTREAMH 1
23639 ac_cpp='$CPP $CPPFLAGS'
23640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23641 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23647 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23648 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23649 if test "${wx_cv_cpp_bool+set}" = set; then
23650 echo $ECHO_N "(cached) $ECHO_C" >&6
23655 ac_cpp='$CXXCPP $CPPFLAGS'
23656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23657 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23661 cat >conftest.$ac_ext <<_ACEOF
23664 cat confdefs.h >>conftest.$ac_ext
23665 cat >>conftest.$ac_ext <<_ACEOF
23666 /* end confdefs.h. */
23681 rm -f conftest.$ac_objext
23682 if { (ac_try="$ac_compile"
23683 case "(($ac_try" in
23684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23685 *) ac_try_echo=$ac_try;;
23687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23688 (eval "$ac_compile") 2>conftest.er1
23690 grep -v '^
*+' conftest.er1 >conftest.err
23692 cat conftest.err >&5
23693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23694 (exit $ac_status); } && {
23695 test -z "$ac_cxx_werror_flag" ||
23696 test ! -s conftest.err
23697 } && test -s conftest.$ac_objext; then
23702 echo "$as_me: failed program was:" >&5
23703 sed 's
/^
/| /' conftest.$ac_ext >&5
23711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23714 ac_cpp='$CPP $CPPFLAGS'
23715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23716 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23721 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23722 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23724 if test "$wx_cv_cpp_bool" = "yes"; then
23725 cat >>confdefs.h <<\_ACEOF
23726 #define HAVE_BOOL 1
23733 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23734 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23735 if test "${wx_cv_explicit+set}" = set; then
23736 echo $ECHO_N "(cached) $ECHO_C" >&6
23741 ac_cpp='$CXXCPP $CPPFLAGS'
23742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23743 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23747 cat >conftest.$ac_ext <<_ACEOF
23750 cat confdefs.h >>conftest.$ac_ext
23751 cat >>conftest.$ac_ext <<_ACEOF
23752 /* end confdefs.h. */
23754 class Foo { public: explicit Foo(int) {} };
23766 rm -f conftest.$ac_objext
23767 if { (ac_try="$ac_compile"
23768 case "(($ac_try" in
23769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23770 *) ac_try_echo=$ac_try;;
23772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23773 (eval "$ac_compile") 2>conftest.er1
23775 grep -v '^
*+' conftest.er1 >conftest.err
23777 cat conftest.err >&5
23778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23779 (exit $ac_status); } && {
23780 test -z "$ac_cxx_werror_flag" ||
23781 test ! -s conftest.err
23782 } && test -s conftest.$ac_objext; then
23784 cat >conftest.$ac_ext <<_ACEOF
23787 cat confdefs.h >>conftest.$ac_ext
23788 cat >>conftest.$ac_ext <<_ACEOF
23789 /* end confdefs.h. */
23791 class Foo { public: explicit Foo(int) {} };
23792 static void TakeFoo(const Foo& foo) { }
23805 rm -f conftest.$ac_objext
23806 if { (ac_try="$ac_compile"
23807 case "(($ac_try" in
23808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23809 *) ac_try_echo=$ac_try;;
23811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23812 (eval "$ac_compile") 2>conftest.er1
23814 grep -v '^
*+' conftest.er1 >conftest.err
23816 cat conftest.err >&5
23817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23818 (exit $ac_status); } && {
23819 test -z "$ac_cxx_werror_flag" ||
23820 test ! -s conftest.err
23821 } && test -s conftest.$ac_objext; then
23824 echo "$as_me: failed program was:" >&5
23825 sed 's
/^
/| /' conftest.$ac_ext >&5
23831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23834 echo "$as_me: failed program was:" >&5
23835 sed 's
/^
/| /' conftest.$ac_ext >&5
23841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23844 ac_cpp='$CPP $CPPFLAGS'
23845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23846 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23851 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23852 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23854 if test "$wx_cv_explicit" = "yes"; then
23855 cat >>confdefs.h <<\_ACEOF
23856 #define HAVE_EXPLICIT 1
23862 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23863 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23864 if test "${ac_cv_cxx_const_cast+set}" = set; then
23865 echo $ECHO_N "(cached) $ECHO_C" >&6
23869 ac_cpp='$CXXCPP $CPPFLAGS'
23870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23871 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23874 cat >conftest.$ac_ext <<_ACEOF
23877 cat confdefs.h >>conftest.$ac_ext
23878 cat >>conftest.$ac_ext <<_ACEOF
23879 /* end confdefs.h. */
23884 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23889 rm -f conftest.$ac_objext
23890 if { (ac_try="$ac_compile"
23891 case "(($ac_try" in
23892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23893 *) ac_try_echo=$ac_try;;
23895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23896 (eval "$ac_compile") 2>conftest.er1
23898 grep -v '^
*+' conftest.er1 >conftest.err
23900 cat conftest.err >&5
23901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23902 (exit $ac_status); } && {
23903 test -z "$ac_cxx_werror_flag" ||
23904 test ! -s conftest.err
23905 } && test -s conftest.$ac_objext; then
23906 ac_cv_cxx_const_cast=yes
23908 echo "$as_me: failed program was:" >&5
23909 sed 's
/^
/| /' conftest.$ac_ext >&5
23911 ac_cv_cxx_const_cast=no
23914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23916 ac_cpp='$CPP $CPPFLAGS'
23917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23918 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23923 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23924 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23925 if test "$ac_cv_cxx_const_cast" = yes; then
23927 cat >>confdefs.h <<\_ACEOF
23928 #define HAVE_CONST_CAST
23933 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23934 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23935 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23936 echo $ECHO_N "(cached) $ECHO_C" >&6
23940 ac_cpp='$CXXCPP $CPPFLAGS'
23941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23942 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23945 cat >conftest.$ac_ext <<_ACEOF
23948 cat confdefs.h >>conftest.$ac_ext
23949 cat >>conftest.$ac_ext <<_ACEOF
23950 /* end confdefs.h. */
23951 #include <typeinfo>
23952 class Base { public : Base () {} virtual void f () = 0;};
23953 class Derived : public Base { public : Derived () {} virtual void f () {} };
23954 class Unrelated { public : Unrelated () {} };
23955 int g (Unrelated&) { return 0; }
23960 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23965 rm -f conftest.$ac_objext
23966 if { (ac_try="$ac_compile"
23967 case "(($ac_try" in
23968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23969 *) ac_try_echo=$ac_try;;
23971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23972 (eval "$ac_compile") 2>conftest.er1
23974 grep -v '^
*+' conftest.er1 >conftest.err
23976 cat conftest.err >&5
23977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23978 (exit $ac_status); } && {
23979 test -z "$ac_cxx_werror_flag" ||
23980 test ! -s conftest.err
23981 } && test -s conftest.$ac_objext; then
23982 ac_cv_cxx_reinterpret_cast=yes
23984 echo "$as_me: failed program was:" >&5
23985 sed 's
/^
/| /' conftest.$ac_ext >&5
23987 ac_cv_cxx_reinterpret_cast=no
23990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23992 ac_cpp='$CPP $CPPFLAGS'
23993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23994 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23999 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24000 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24001 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24003 cat >>confdefs.h <<\_ACEOF
24004 #define HAVE_REINTERPRET_CAST
24009 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24010 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24011 if test "${ac_cv_cxx_static_cast+set}" = set; then
24012 echo $ECHO_N "(cached) $ECHO_C" >&6
24016 ac_cpp='$CXXCPP $CPPFLAGS'
24017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24018 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24021 cat >conftest.$ac_ext <<_ACEOF
24024 cat confdefs.h >>conftest.$ac_ext
24025 cat >>conftest.$ac_ext <<_ACEOF
24026 /* end confdefs.h. */
24027 #include <typeinfo>
24028 class Base { public : Base () {} virtual void f () = 0; };
24029 class Derived : public Base { public : Derived () {} virtual void f () {} };
24030 int g (Derived&) { return 0; }
24035 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24040 rm -f conftest.$ac_objext
24041 if { (ac_try="$ac_compile"
24042 case "(($ac_try" in
24043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24044 *) ac_try_echo=$ac_try;;
24046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24047 (eval "$ac_compile") 2>conftest.er1
24049 grep -v '^
*+' conftest.er1 >conftest.err
24051 cat conftest.err >&5
24052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24053 (exit $ac_status); } && {
24054 test -z "$ac_cxx_werror_flag" ||
24055 test ! -s conftest.err
24056 } && test -s conftest.$ac_objext; then
24057 ac_cv_cxx_static_cast=yes
24059 echo "$as_me: failed program was:" >&5
24060 sed 's
/^
/| /' conftest.$ac_ext >&5
24062 ac_cv_cxx_static_cast=no
24065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24067 ac_cpp='$CPP $CPPFLAGS'
24068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24069 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24074 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24075 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24076 if test "$ac_cv_cxx_static_cast" = yes; then
24078 cat >>confdefs.h <<\_ACEOF
24079 #define HAVE_STATIC_CAST
24085 if test "x$SUNCXX" = xyes; then
24086 CXXFLAGS="-features=tmplife $CXXFLAGS"
24089 if test "x$SUNCC" = xyes; then
24090 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24093 if test "x$SGICC" = "xyes"; then
24094 CFLAGS="-woff 3970 $CFLAGS"
24096 if test "x$SGICXX" = "xyes"; then
24097 CXXFLAGS="-woff 3970 $CXXFLAGS"
24100 if test "x$HPCC" = "xyes"; then
24101 CFLAGS="+W 2011,2450 $CFLAGS"
24103 if test "x$HPCXX" = "xyes"; then
24104 CXXFLAGS="+W 2340 $CXXFLAGS"
24107 if test "x$COMPAQCXX" = "xyes"; then
24108 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24112 ac_cpp='$CXXCPP $CPPFLAGS'
24113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24114 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24118 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24119 if test "$wxUSE_UNICODE" = "yes"; then
24120 std_string="std::wstring"
24121 char_type="wchar_t"
24123 std_string="std::string"
24127 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24128 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24129 if test "${wx_cv_class_stdstring+set}" = set; then
24130 echo $ECHO_N "(cached) $ECHO_C" >&6
24133 cat >conftest.$ac_ext <<_ACEOF
24136 cat confdefs.h >>conftest.$ac_ext
24137 cat >>conftest.$ac_ext <<_ACEOF
24138 /* end confdefs.h. */
24148 rm -f conftest.$ac_objext
24149 if { (ac_try="$ac_compile"
24150 case "(($ac_try" in
24151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24152 *) ac_try_echo=$ac_try;;
24154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24155 (eval "$ac_compile") 2>conftest.er1
24157 grep -v '^
*+' conftest.er1 >conftest.err
24159 cat conftest.err >&5
24160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24161 (exit $ac_status); } && {
24162 test -z "$ac_cxx_werror_flag" ||
24163 test ! -s conftest.err
24164 } && test -s conftest.$ac_objext; then
24165 wx_cv_class_stdstring=yes
24167 echo "$as_me: failed program was:" >&5
24168 sed 's
/^
/| /' conftest.$ac_ext >&5
24170 wx_cv_class_stdstring=no
24174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24178 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24179 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24181 if test "$wx_cv_class_stdstring" = yes; then
24182 if test "$wxUSE_UNICODE" = "yes"; then
24183 cat >>confdefs.h <<\_ACEOF
24184 #define HAVE_STD_WSTRING 1
24189 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24190 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24191 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24192 echo $ECHO_N "(cached) $ECHO_C" >&6
24195 cat >conftest.$ac_ext <<_ACEOF
24198 cat confdefs.h >>conftest.$ac_ext
24199 cat >>conftest.$ac_ext <<_ACEOF
24200 /* end confdefs.h. */
24202 #ifdef HAVE_WCHAR_H
24204 # include <stddef.h>
24206 # include <wchar.h>
24208 #ifdef HAVE_STDLIB_H
24209 # include <stdlib.h>
24217 std::basic_string<$char_type> foo;
24218 const $char_type* dummy = foo.c_str();
24223 rm -f conftest.$ac_objext
24224 if { (ac_try="$ac_compile"
24225 case "(($ac_try" in
24226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24227 *) ac_try_echo=$ac_try;;
24229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24230 (eval "$ac_compile") 2>conftest.er1
24232 grep -v '^
*+' conftest.er1 >conftest.err
24234 cat conftest.err >&5
24235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24236 (exit $ac_status); } && {
24237 test -z "$ac_cxx_werror_flag" ||
24238 test ! -s conftest.err
24239 } && test -s conftest.$ac_objext; then
24240 wx_cv_class_stdbasicstring=yes
24242 echo "$as_me: failed program was:" >&5
24243 sed 's
/^
/| /' conftest.$ac_ext >&5
24245 wx_cv_class_stdbasicstring=no
24249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24253 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24254 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24256 if test "$wx_cv_class_stdbasicstring" != yes; then
24257 if test "$wxUSE_STL" = "yes"; then
24258 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24259 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24260 { (exit 1); exit 1; }; }
24261 elif test "$wxUSE_STD_STRING" = "yes"; then
24262 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24263 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24264 { (exit 1); exit 1; }; }
24266 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24267 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24268 wxUSE_STD_STRING=no
24274 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24275 { echo "$as_me:$LINENO: checking for std::istream" >&5
24276 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24277 if test "${ac_cv_type_std__istream+set}" = set; then
24278 echo $ECHO_N "(cached) $ECHO_C" >&6
24280 cat >conftest.$ac_ext <<_ACEOF
24283 cat confdefs.h >>conftest.$ac_ext
24284 cat >>conftest.$ac_ext <<_ACEOF
24285 /* end confdefs.h. */
24286 #include <iostream>
24288 typedef std::istream ac__type_new_;
24292 if ((ac__type_new_ *) 0)
24294 if (sizeof (ac__type_new_))
24300 rm -f conftest.$ac_objext
24301 if { (ac_try="$ac_compile"
24302 case "(($ac_try" in
24303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24304 *) ac_try_echo=$ac_try;;
24306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24307 (eval "$ac_compile") 2>conftest.er1
24309 grep -v '^
*+' conftest.er1 >conftest.err
24311 cat conftest.err >&5
24312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24313 (exit $ac_status); } && {
24314 test -z "$ac_cxx_werror_flag" ||
24315 test ! -s conftest.err
24316 } && test -s conftest.$ac_objext; then
24317 ac_cv_type_std__istream=yes
24319 echo "$as_me: failed program was:" >&5
24320 sed 's
/^
/| /' conftest.$ac_ext >&5
24322 ac_cv_type_std__istream=no
24325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24327 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24328 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24329 if test $ac_cv_type_std__istream = yes; then
24331 cat >>confdefs.h <<_ACEOF
24332 #define HAVE_STD__ISTREAM 1
24337 wxUSE_STD_IOSTREAM=no
24339 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24340 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24341 if test "${ac_cv_type_std__ostream+set}" = set; then
24342 echo $ECHO_N "(cached) $ECHO_C" >&6
24344 cat >conftest.$ac_ext <<_ACEOF
24347 cat confdefs.h >>conftest.$ac_ext
24348 cat >>conftest.$ac_ext <<_ACEOF
24349 /* end confdefs.h. */
24350 #include <iostream>
24352 typedef std::ostream ac__type_new_;
24356 if ((ac__type_new_ *) 0)
24358 if (sizeof (ac__type_new_))
24364 rm -f conftest.$ac_objext
24365 if { (ac_try="$ac_compile"
24366 case "(($ac_try" in
24367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24368 *) ac_try_echo=$ac_try;;
24370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24371 (eval "$ac_compile") 2>conftest.er1
24373 grep -v '^
*+' conftest.er1 >conftest.err
24375 cat conftest.err >&5
24376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24377 (exit $ac_status); } && {
24378 test -z "$ac_cxx_werror_flag" ||
24379 test ! -s conftest.err
24380 } && test -s conftest.$ac_objext; then
24381 ac_cv_type_std__ostream=yes
24383 echo "$as_me: failed program was:" >&5
24384 sed 's
/^
/| /' conftest.$ac_ext >&5
24386 ac_cv_type_std__ostream=no
24389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24391 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24392 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24393 if test $ac_cv_type_std__ostream = yes; then
24395 cat >>confdefs.h <<_ACEOF
24396 #define HAVE_STD__OSTREAM 1
24401 wxUSE_STD_IOSTREAM=no
24405 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24406 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24407 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24408 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24409 { (exit 1); exit 1; }; }
24411 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24412 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24417 if test "$wxUSE_STL" = "yes"; then
24418 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24419 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24420 if test "${wx_cv_lib_stl+set}" = set; then
24421 echo $ECHO_N "(cached) $ECHO_C" >&6
24423 cat >conftest.$ac_ext <<_ACEOF
24426 cat confdefs.h >>conftest.$ac_ext
24427 cat >>conftest.$ac_ext <<_ACEOF
24428 /* end confdefs.h. */
24430 #include <functional>
24431 #include <algorithm>
24437 std::vector<int> moo;
24438 std::list<int> foo;
24439 std::vector<int>::iterator it =
24440 std::find_if(moo.begin(), moo.end(),
24441 std::bind2nd(std::less<int>(), 3));
24446 rm -f conftest.$ac_objext
24447 if { (ac_try="$ac_compile"
24448 case "(($ac_try" in
24449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24450 *) ac_try_echo=$ac_try;;
24452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24453 (eval "$ac_compile") 2>conftest.er1
24455 grep -v '^
*+' conftest.er1 >conftest.err
24457 cat conftest.err >&5
24458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24459 (exit $ac_status); } && {
24460 test -z "$ac_cxx_werror_flag" ||
24461 test ! -s conftest.err
24462 } && test -s conftest.$ac_objext; then
24465 echo "$as_me: failed program was:" >&5
24466 sed 's
/^
/| /' conftest.$ac_ext >&5
24472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24475 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24476 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24478 if test "$wx_cv_lib_stl" != yes; then
24479 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24480 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24481 { (exit 1); exit 1; }; }
24484 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24485 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24486 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24487 echo $ECHO_N "(cached) $ECHO_C" >&6
24489 cat >conftest.$ac_ext <<_ACEOF
24492 cat confdefs.h >>conftest.$ac_ext
24493 cat >>conftest.$ac_ext <<_ACEOF
24494 /* end confdefs.h. */
24499 std::string foo, bar;
24501 foo.compare(1, 1, bar);
24502 foo.compare(1, 1, bar, 1, 1);
24504 foo.compare(1, 1, "");
24505 foo.compare(1, 1, "", 2);
24510 rm -f conftest.$ac_objext
24511 if { (ac_try="$ac_compile"
24512 case "(($ac_try" in
24513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24514 *) ac_try_echo=$ac_try;;
24516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24517 (eval "$ac_compile") 2>conftest.er1
24519 grep -v '^
*+' conftest.er1 >conftest.err
24521 cat conftest.err >&5
24522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24523 (exit $ac_status); } && {
24524 test -z "$ac_cxx_werror_flag" ||
24525 test ! -s conftest.err
24526 } && test -s conftest.$ac_objext; then
24527 wx_cv_func_stdstring_compare=yes
24529 echo "$as_me: failed program was:" >&5
24530 sed 's
/^
/| /' conftest.$ac_ext >&5
24532 wx_cv_func_stdstring_compare=no
24536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24539 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24540 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24542 if test "$wx_cv_func_stdstring_compare" = yes; then
24543 cat >>confdefs.h <<\_ACEOF
24544 #define HAVE_STD_STRING_COMPARE 1
24549 { echo "$as_me:$LINENO: checking for hash_map" >&5
24550 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24551 if test "${ac_cv_header_hash_map+set}" = set; then
24552 echo $ECHO_N "(cached) $ECHO_C" >&6
24554 cat >conftest.$ac_ext <<_ACEOF
24557 cat confdefs.h >>conftest.$ac_ext
24558 cat >>conftest.$ac_ext <<_ACEOF
24559 /* end confdefs.h. */
24563 #include <hash_map>
24565 rm -f conftest.$ac_objext
24566 if { (ac_try="$ac_compile"
24567 case "(($ac_try" in
24568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24569 *) ac_try_echo=$ac_try;;
24571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24572 (eval "$ac_compile") 2>conftest.er1
24574 grep -v '^
*+' conftest.er1 >conftest.err
24576 cat conftest.err >&5
24577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24578 (exit $ac_status); } && {
24579 test -z "$ac_cxx_werror_flag" ||
24580 test ! -s conftest.err
24581 } && test -s conftest.$ac_objext; then
24582 ac_cv_header_hash_map=yes
24584 echo "$as_me: failed program was:" >&5
24585 sed 's
/^
/| /' conftest.$ac_ext >&5
24587 ac_cv_header_hash_map=no
24590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24592 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24593 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24594 if test $ac_cv_header_hash_map = yes; then
24595 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24596 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24597 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24598 echo $ECHO_N "(cached) $ECHO_C" >&6
24600 cat >conftest.$ac_ext <<_ACEOF
24603 cat confdefs.h >>conftest.$ac_ext
24604 cat >>conftest.$ac_ext <<_ACEOF
24605 /* end confdefs.h. */
24606 #include <hash_map>
24607 #include <hash_set>
24611 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24612 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24617 rm -f conftest.$ac_objext
24618 if { (ac_try="$ac_compile"
24619 case "(($ac_try" in
24620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24621 *) ac_try_echo=$ac_try;;
24623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24624 (eval "$ac_compile") 2>conftest.er1
24626 grep -v '^
*+' conftest.er1 >conftest.err
24628 cat conftest.err >&5
24629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24630 (exit $ac_status); } && {
24631 test -z "$ac_cxx_werror_flag" ||
24632 test ! -s conftest.err
24633 } && test -s conftest.$ac_objext; then
24634 wx_cv_class_stdhashmapset=yes
24636 echo "$as_me: failed program was:" >&5
24637 sed 's
/^
/| /' conftest.$ac_ext >&5
24639 wx_cv_class_stdhashmapset=no
24642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24646 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24647 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24652 if test "$wx_cv_class_stdhashmapset" = yes; then
24653 cat >>confdefs.h <<\_ACEOF
24654 #define HAVE_HASH_MAP 1
24657 cat >>confdefs.h <<\_ACEOF
24658 #define HAVE_STD_HASH_MAP 1
24663 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24664 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24665 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24666 echo $ECHO_N "(cached) $ECHO_C" >&6
24668 cat >conftest.$ac_ext <<_ACEOF
24671 cat confdefs.h >>conftest.$ac_ext
24672 cat >>conftest.$ac_ext <<_ACEOF
24673 /* end confdefs.h. */
24677 #include <ext/hash_map>
24679 rm -f conftest.$ac_objext
24680 if { (ac_try="$ac_compile"
24681 case "(($ac_try" in
24682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24683 *) ac_try_echo=$ac_try;;
24685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24686 (eval "$ac_compile") 2>conftest.er1
24688 grep -v '^
*+' conftest.er1 >conftest.err
24690 cat conftest.err >&5
24691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24692 (exit $ac_status); } && {
24693 test -z "$ac_cxx_werror_flag" ||
24694 test ! -s conftest.err
24695 } && test -s conftest.$ac_objext; then
24696 ac_cv_header_ext_hash_map=yes
24698 echo "$as_me: failed program was:" >&5
24699 sed 's
/^
/| /' conftest.$ac_ext >&5
24701 ac_cv_header_ext_hash_map=no
24704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24706 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24707 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24708 if test $ac_cv_header_ext_hash_map = yes; then
24709 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24710 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24711 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24712 echo $ECHO_N "(cached) $ECHO_C" >&6
24714 cat >conftest.$ac_ext <<_ACEOF
24717 cat confdefs.h >>conftest.$ac_ext
24718 cat >>conftest.$ac_ext <<_ACEOF
24719 /* end confdefs.h. */
24720 #include <ext/hash_map>
24721 #include <ext/hash_set>
24725 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24726 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24731 rm -f conftest.$ac_objext
24732 if { (ac_try="$ac_compile"
24733 case "(($ac_try" in
24734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24735 *) ac_try_echo=$ac_try;;
24737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24738 (eval "$ac_compile") 2>conftest.er1
24740 grep -v '^
*+' conftest.er1 >conftest.err
24742 cat conftest.err >&5
24743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744 (exit $ac_status); } && {
24745 test -z "$ac_cxx_werror_flag" ||
24746 test ! -s conftest.err
24747 } && test -s conftest.$ac_objext; then
24748 wx_cv_class_gnuhashmapset=yes
24750 echo "$as_me: failed program was:" >&5
24751 sed 's
/^
/| /' conftest.$ac_ext >&5
24753 wx_cv_class_gnuhashmapset=no
24756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24760 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24761 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24766 if test "$wx_cv_class_gnuhashmapset" = yes; then
24767 cat >>confdefs.h <<\_ACEOF
24768 #define HAVE_EXT_HASH_MAP 1
24771 cat >>confdefs.h <<\_ACEOF
24772 #define HAVE_GNU_CXX_HASH_MAP 1
24780 if test -n "$GCC"; then
24781 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
24782 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
24783 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24784 echo $ECHO_N "(cached) $ECHO_C" >&6
24787 cat >conftest.$ac_ext <<_ACEOF
24790 cat confdefs.h >>conftest.$ac_ext
24791 cat >>conftest.$ac_ext <<_ACEOF
24792 /* end confdefs.h. */
24798 unsigned int value=0;
24799 /* wxAtomicInc doesn't use
return value here
*/
24800 __sync_fetch_and_add
(&value
, 2);
24801 __sync_sub_and_fetch
(&value
, 1);
24802 /* but wxAtomicDec does
, so mimic that
: */
24803 unsigned int r2
= __sync_sub_and_fetch
(&value
, 1);
24809 rm -f conftest.
$ac_objext conftest
$ac_exeext
24810 if { (ac_try
="$ac_link"
24811 case "(($ac_try" in
24812 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24813 *) ac_try_echo=$ac_try;;
24815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24816 (eval "$ac_link") 2>conftest.er1
24818 grep -v '^ *+' conftest.er1 >conftest.err
24820 cat conftest.err >&5
24821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24822 (exit $ac_status); } && {
24823 test -z "$ac_cxx_werror_flag" ||
24824 test ! -s conftest.err
24825 } && test -s conftest$ac_exeext &&
24826 $as_test_x conftest$ac_exeext; then
24827 wx_cv_cc_gcc_atomic_builtins=yes
24829 echo "$as_me: failed program was:" >&5
24830 sed 's/^/| /' conftest.$ac_ext >&5
24832 wx_cv_cc_gcc_atomic_builtins=no
24835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24836 conftest$ac_exeext conftest.$ac_ext
24840 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24841 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24842 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24843 cat >>confdefs.h <<\_ACEOF
24844 #define HAVE_GCC_ATOMIC_BUILTINS 1
24852 ac_cpp='$CPP $CPPFLAGS'
24853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24860 /usr/local/include \
24862 /usr/Motif-2.1/include \
24863 /usr/Motif-1.2/include \
24864 /usr/include/Motif1.2 \
24867 /usr/openwin/include \
24871 /usr/X11R6/include \
24872 /usr/X11R6.4/include \
24873 /usr/X11R5/include \
24874 /usr/X11R4/include \
24876 /usr/include/X11R6 \
24877 /usr/include/X11R5 \
24878 /usr/include/X11R4 \
24880 /usr/local/X11R6/include \
24881 /usr/local/X11R5/include \
24882 /usr/local/X11R4/include \
24884 /usr/local/include/X11R6 \
24885 /usr/local/include/X11R5 \
24886 /usr/local/include/X11R4 \
24890 /usr/local/X11/include \
24891 /usr/local/include/X11 \
24893 /usr/XFree86/include/X11 \
24896 /usr/openwin/share/include"
24898 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24899 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24903 if test "${wx_cv_std_libpath+set}" = set; then
24904 echo $ECHO_N "(cached) $ECHO_C" >&6
24907 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24908 for e in a so sl dylib dll.a; do
24910 if test -f $libc; then
24913 cat >conftest.$ac_ext <<_ACEOF
24914 int main() { return 0; }
24916 rm -f conftest.$ac_objext conftest$ac_exeext
24917 if { (ac_try="$ac_link"
24918 case "(($ac_try" in
24919 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24920 *) ac_try_echo
=$ac_try;;
24922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24923 (eval "$ac_link") 2>conftest.er1
24925 grep -v '^ *+' conftest.er1
>conftest.err
24927 cat conftest.err
>&5
24928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24929 (exit $ac_status); } && {
24930 test -z "$ac_c_werror_flag" ||
24931 test ! -s conftest.err
24932 } && test -s conftest
$ac_exeext &&
24933 $as_test_x conftest
$ac_exeext; then
24934 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24936 echo "$as_me: failed program was:" >&5
24937 sed 's/^/| /' conftest.
$ac_ext >&5
24942 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24943 conftest
$ac_exeext conftest.
$ac_ext
24945 if test "x$wx_cv_std_libpath" != "x"; then
24951 if test "x$wx_cv_std_libpath" = "x"; then
24952 wx_cv_std_libpath
="lib"
24961 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24962 wx_cv_std_libpath
="lib/64"
24964 wx_cv_std_libpath
="lib"
24969 if test "$ac_cv_sizeof_void_p" = 8 -a \
24970 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24971 wx_cv_std_libpath
="lib64"
24973 wx_cv_std_libpath
="lib"
24978 wx_cv_std_libpath
="lib";
24982 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24983 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24985 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24987 if test "$build" != "$host" -a "$GCC" = yes; then
24988 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24989 cross_root
=`dirname $cross_root`
24990 cross_root
=`dirname $cross_root`
24992 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24993 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24994 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24996 if test -z "$PKG_CONFIG_PATH"; then
24997 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24998 export PKG_CONFIG_PATH
25001 if test -z "$x_includes" -o "$x_includes" = NONE
; then
25004 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25006 if test -f "$ac_dir/X11/Intrinsic.h"; then
25007 ac_find_includes
=$ac_dir
25012 x_includes
=$ac_find_includes
25014 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
25017 for ac_dir
in $SEARCH_LIB;
25019 for ac_extension
in a so sl dylib dll.a
; do
25020 if test -f "$ac_dir/libXt.$ac_extension"; then
25021 ac_find_libraries
=$ac_dir
25027 x_libraries
=$ac_find_libraries
25033 cat >confcache
<<\_ACEOF
25034 # This file is a shell script that caches the results of configure
25035 # tests run on this system so they can be shared between configure
25036 # scripts and configure runs, see configure's option --config-cache.
25037 # It is not useful on other systems. If it contains results you don't
25038 # want to keep, you may remove or edit it.
25040 # config.status only pays attention to the cache file if you give it
25041 # the --recheck option to rerun configure.
25043 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25044 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25045 # following values.
25049 # The following way of writing the cache mishandles newlines in values,
25050 # but we know of no workaround that is simple, portable, and efficient.
25051 # So, we kill variables containing newlines.
25052 # Ultrix sh set writes to stderr and can't be redirected directly,
25053 # and sets the high bit in the cache file unless we assign to the vars.
25055 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25056 eval ac_val
=\$
$ac_var
25060 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25061 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25064 _
| IFS
| as_nl
) ;; #(
25065 *) $as_unset $ac_var ;;
25071 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25072 *${as_nl}ac_space
=\
*)
25073 # `set' does not quote correctly, so add quotes (double-quote
25074 # substitution turns \\\\ into \\, and sed turns \\ into \).
25077 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25080 # `set' quotes correctly as required by POSIX, so do not add quotes.
25081 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25090 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25092 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25094 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25095 if test -w "$cache_file"; then
25096 test "x$cache_file" != "x/dev/null" &&
25097 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25098 echo "$as_me: updating cache $cache_file" >&6;}
25099 cat confcache
>$cache_file
25101 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25102 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25107 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25108 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25109 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25110 if test "${wx_cv_lib_glibc21+set}" = set; then
25111 echo $ECHO_N "(cached) $ECHO_C" >&6
25114 cat >conftest.
$ac_ext <<_ACEOF
25117 cat confdefs.h
>>conftest.
$ac_ext
25118 cat >>conftest.
$ac_ext <<_ACEOF
25119 /* end confdefs.h. */
25120 #include <features.h>
25125 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25133 rm -f conftest.
$ac_objext
25134 if { (ac_try
="$ac_compile"
25135 case "(($ac_try" in
25136 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25137 *) ac_try_echo=$ac_try;;
25139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25140 (eval "$ac_compile") 2>conftest.er1
25142 grep -v '^ *+' conftest.er1 >conftest.err
25144 cat conftest.err >&5
25145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25146 (exit $ac_status); } && {
25147 test -z "$ac_c_werror_flag" ||
25148 test ! -s conftest.err
25149 } && test -s conftest.$ac_objext; then
25151 wx_cv_lib_glibc21=yes
25154 echo "$as_me: failed program was:" >&5
25155 sed 's/^/| /' conftest.$ac_ext >&5
25158 wx_cv_lib_glibc21=no
25163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25166 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25167 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25168 if test "$wx_cv_lib_glibc21" = "yes"; then
25169 cat >>confdefs.h <<\_ACEOF
25170 #define wxHAVE_GLIBC2 1
25176 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25177 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25178 cat >>confdefs.h <<\_ACEOF
25179 #define _GNU_SOURCE 1
25190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25191 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25193 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25194 echo $ECHO_N "(cached) $ECHO_C" >&6
25196 cat >conftest.$ac_ext <<_ACEOF
25199 cat confdefs.h >>conftest.$ac_ext
25200 cat >>conftest.$ac_ext <<_ACEOF
25201 /* end confdefs.h. */
25202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25204 #define $ac_func innocuous_$ac_func
25206 /* System header to define __stub macros and hopefully few prototypes,
25207 which can conflict with char $ac_func (); below.
25208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25209 <limits.h> exists even on freestanding compilers. */
25212 # include <limits.h>
25214 # include <assert.h>
25219 /* Override any GCC internal prototype to avoid an error.
25220 Use char because int might match the return type of a GCC
25221 builtin and then its argument prototype would still apply. */
25226 /* The GNU C library defines this for functions which it implements
25227 to always fail with ENOSYS. Some functions are actually named
25228 something starting with __ and the normal name is an alias. */
25229 #if defined __stub_$ac_func || defined __stub___$ac_func
25236 return $ac_func ();
25241 rm -f conftest.$ac_objext conftest$ac_exeext
25242 if { (ac_try="$ac_link"
25243 case "(($ac_try" in
25244 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25245 *) ac_try_echo
=$ac_try;;
25247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25248 (eval "$ac_link") 2>conftest.er1
25250 grep -v '^ *+' conftest.er1
>conftest.err
25252 cat conftest.err
>&5
25253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25254 (exit $ac_status); } && {
25255 test -z "$ac_c_werror_flag" ||
25256 test ! -s conftest.err
25257 } && test -s conftest
$ac_exeext &&
25258 $as_test_x conftest
$ac_exeext; then
25259 eval "$as_ac_var=yes"
25261 echo "$as_me: failed program was:" >&5
25262 sed 's/^/| /' conftest.
$ac_ext >&5
25264 eval "$as_ac_var=no"
25267 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25268 conftest
$ac_exeext conftest.
$ac_ext
25270 ac_res
=`eval echo '${'$as_ac_var'}'`
25271 { echo "$as_me:$LINENO: result: $ac_res" >&5
25272 echo "${ECHO_T}$ac_res" >&6; }
25273 if test `eval echo '${'$as_ac_var'}'` = yes; then
25274 cat >>confdefs.h
<<_ACEOF
25275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25282 for ac_func
in floor
25284 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25285 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25287 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25288 echo $ECHO_N "(cached) $ECHO_C" >&6
25290 cat >conftest.
$ac_ext <<_ACEOF
25293 cat confdefs.h
>>conftest.
$ac_ext
25294 cat >>conftest.
$ac_ext <<_ACEOF
25295 /* end confdefs.h. */
25296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25298 #define $ac_func innocuous_$ac_func
25300 /* System header to define __stub macros and hopefully few prototypes,
25301 which can conflict with char $ac_func (); below.
25302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25303 <limits.h> exists even on freestanding compilers. */
25306 # include <limits.h>
25308 # include <assert.h>
25313 /* Override any GCC internal prototype to avoid an error.
25314 Use char because int might match the return type of a GCC
25315 builtin and then its argument prototype would still apply. */
25320 /* The GNU C library defines this for functions which it implements
25321 to always fail with ENOSYS. Some functions are actually named
25322 something starting with __ and the normal name is an alias. */
25323 #if defined __stub_$ac_func || defined __stub___$ac_func
25330 return $ac_func ();
25335 rm -f conftest.
$ac_objext conftest
$ac_exeext
25336 if { (ac_try
="$ac_link"
25337 case "(($ac_try" in
25338 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25339 *) ac_try_echo=$ac_try;;
25341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25342 (eval "$ac_link") 2>conftest.er1
25344 grep -v '^ *+' conftest.er1 >conftest.err
25346 cat conftest.err >&5
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); } && {
25349 test -z "$ac_c_werror_flag" ||
25350 test ! -s conftest.err
25351 } && test -s conftest$ac_exeext &&
25352 $as_test_x conftest$ac_exeext; then
25353 eval "$as_ac_var=yes"
25355 echo "$as_me: failed program was:" >&5
25356 sed 's/^/| /' conftest.$ac_ext >&5
25358 eval "$as_ac_var=no"
25361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25362 conftest$ac_exeext conftest.$ac_ext
25364 ac_res=`eval echo '${'$as_ac_var'}'`
25365 { echo "$as_me:$LINENO: result: $ac_res" >&5
25366 echo "${ECHO_T}$ac_res" >&6; }
25367 if test `eval echo '${'$as_ac_var'}'` = yes; then
25368 cat >>confdefs.h <<_ACEOF
25369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25375 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25376 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25377 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25378 { echo "$as_me:$LINENO: result: yes" >&5
25379 echo "${ECHO_T}yes" >&6; }
25381 { echo "$as_me:$LINENO: result: no" >&5
25382 echo "${ECHO_T}no" >&6; }
25384 # use different functions to avoid configure caching
25390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25391 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25393 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25394 echo $ECHO_N "(cached) $ECHO_C" >&6
25396 cat >conftest.$ac_ext <<_ACEOF
25399 cat confdefs.h >>conftest.$ac_ext
25400 cat >>conftest.$ac_ext <<_ACEOF
25401 /* end confdefs.h. */
25402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25404 #define $ac_func innocuous_$ac_func
25406 /* System header to define __stub macros and hopefully few prototypes,
25407 which can conflict with char $ac_func (); below.
25408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25409 <limits.h> exists even on freestanding compilers. */
25412 # include <limits.h>
25414 # include <assert.h>
25419 /* Override any GCC internal prototype to avoid an error.
25420 Use char because int might match the return type of a GCC
25421 builtin and then its argument prototype would still apply. */
25426 /* The GNU C library defines this for functions which it implements
25427 to always fail with ENOSYS. Some functions are actually named
25428 something starting with __ and the normal name is an alias. */
25429 #if defined __stub_$ac_func || defined __stub___$ac_func
25436 return $ac_func ();
25441 rm -f conftest.$ac_objext conftest$ac_exeext
25442 if { (ac_try="$ac_link"
25443 case "(($ac_try" in
25444 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25445 *) ac_try_echo
=$ac_try;;
25447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25448 (eval "$ac_link") 2>conftest.er1
25450 grep -v '^ *+' conftest.er1
>conftest.err
25452 cat conftest.err
>&5
25453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25454 (exit $ac_status); } && {
25455 test -z "$ac_c_werror_flag" ||
25456 test ! -s conftest.err
25457 } && test -s conftest
$ac_exeext &&
25458 $as_test_x conftest
$ac_exeext; then
25459 eval "$as_ac_var=yes"
25461 echo "$as_me: failed program was:" >&5
25462 sed 's/^/| /' conftest.
$ac_ext >&5
25464 eval "$as_ac_var=no"
25467 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25468 conftest
$ac_exeext conftest.
$ac_ext
25470 ac_res
=`eval echo '${'$as_ac_var'}'`
25471 { echo "$as_me:$LINENO: result: $ac_res" >&5
25472 echo "${ECHO_T}$ac_res" >&6; }
25473 if test `eval echo '${'$as_ac_var'}'` = yes; then
25474 cat >>confdefs.h
<<_ACEOF
25475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25482 for ac_func
in ceil
25484 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25485 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25487 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25488 echo $ECHO_N "(cached) $ECHO_C" >&6
25490 cat >conftest.
$ac_ext <<_ACEOF
25493 cat confdefs.h
>>conftest.
$ac_ext
25494 cat >>conftest.
$ac_ext <<_ACEOF
25495 /* end confdefs.h. */
25496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25498 #define $ac_func innocuous_$ac_func
25500 /* System header to define __stub macros and hopefully few prototypes,
25501 which can conflict with char $ac_func (); below.
25502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25503 <limits.h> exists even on freestanding compilers. */
25506 # include <limits.h>
25508 # include <assert.h>
25513 /* Override any GCC internal prototype to avoid an error.
25514 Use char because int might match the return type of a GCC
25515 builtin and then its argument prototype would still apply. */
25520 /* The GNU C library defines this for functions which it implements
25521 to always fail with ENOSYS. Some functions are actually named
25522 something starting with __ and the normal name is an alias. */
25523 #if defined __stub_$ac_func || defined __stub___$ac_func
25530 return $ac_func ();
25535 rm -f conftest.
$ac_objext conftest
$ac_exeext
25536 if { (ac_try
="$ac_link"
25537 case "(($ac_try" in
25538 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25539 *) ac_try_echo=$ac_try;;
25541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25542 (eval "$ac_link") 2>conftest.er1
25544 grep -v '^ *+' conftest.er1 >conftest.err
25546 cat conftest.err >&5
25547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25548 (exit $ac_status); } && {
25549 test -z "$ac_c_werror_flag" ||
25550 test ! -s conftest.err
25551 } && test -s conftest$ac_exeext &&
25552 $as_test_x conftest$ac_exeext; then
25553 eval "$as_ac_var=yes"
25555 echo "$as_me: failed program was:" >&5
25556 sed 's/^/| /' conftest.$ac_ext >&5
25558 eval "$as_ac_var=no"
25561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25562 conftest$ac_exeext conftest.$ac_ext
25564 ac_res=`eval echo '${'$as_ac_var'}'`
25565 { echo "$as_me:$LINENO: result: $ac_res" >&5
25566 echo "${ECHO_T}$ac_res" >&6; }
25567 if test `eval echo '${'$as_ac_var'}'` = yes; then
25568 cat >>confdefs.h <<_ACEOF
25569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25575 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25576 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25577 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25578 { echo "$as_me:$LINENO: result: yes" >&5
25579 echo "${ECHO_T}yes" >&6; }
25581 { echo "$as_me:$LINENO: result: no" >&5
25582 echo "${ECHO_T}no" >&6; }
25583 # not sure we should warn the user, crash, etc.
25588 ac_cpp='$CXXCPP $CPPFLAGS'
25589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25593 if test "wxUSE_UNICODE" = "yes"; then
25595 for wx_func in wcstoull
25597 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25598 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25599 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25600 echo $ECHO_N "(cached) $ECHO_C" >&6
25603 cat >conftest.$ac_ext <<_ACEOF
25607 cat confdefs.h >>conftest.$ac_ext
25608 cat >>conftest.$ac_ext <<_ACEOF
25609 /* end confdefs.h. */
25612 $ac_includes_default
25628 rm -f conftest.$ac_objext conftest$ac_exeext
25629 if { (ac_try="$ac_link"
25630 case "(($ac_try" in
25631 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25632 *) ac_try_echo
=$ac_try;;
25634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25635 (eval "$ac_link") 2>conftest.er1
25637 grep -v '^ *+' conftest.er1
>conftest.err
25639 cat conftest.err
>&5
25640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25641 (exit $ac_status); } && {
25642 test -z "$ac_cxx_werror_flag" ||
25643 test ! -s conftest.err
25644 } && test -s conftest
$ac_exeext &&
25645 $as_test_x conftest
$ac_exeext; then
25646 eval wx_cv_func_
$wx_func=yes
25648 echo "$as_me: failed program was:" >&5
25649 sed 's/^/| /' conftest.
$ac_ext >&5
25651 eval wx_cv_func_
$wx_func=no
25654 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25655 conftest
$ac_exeext conftest.
$ac_ext
25658 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
25659 { echo "$as_me:$LINENO: result: $ac_res" >&5
25660 echo "${ECHO_T}$ac_res" >&6; }
25662 if eval test \
$wx_cv_func_$wx_func = yes
25664 cat >>confdefs.h
<<_ACEOF
25665 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25677 for wx_func
in strtoull
25679 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25680 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25681 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25682 echo $ECHO_N "(cached) $ECHO_C" >&6
25685 cat >conftest.
$ac_ext <<_ACEOF
25689 cat confdefs.h
>>conftest.
$ac_ext
25690 cat >>conftest.
$ac_ext <<_ACEOF
25691 /* end confdefs.h. */
25694 $ac_includes_default
25710 rm -f conftest.
$ac_objext conftest
$ac_exeext
25711 if { (ac_try
="$ac_link"
25712 case "(($ac_try" in
25713 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25714 *) ac_try_echo=$ac_try;;
25716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25717 (eval "$ac_link") 2>conftest.er1
25719 grep -v '^ *+' conftest.er1 >conftest.err
25721 cat conftest.err >&5
25722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25723 (exit $ac_status); } && {
25724 test -z "$ac_cxx_werror_flag" ||
25725 test ! -s conftest.err
25726 } && test -s conftest$ac_exeext &&
25727 $as_test_x conftest$ac_exeext; then
25728 eval wx_cv_func_$wx_func=yes
25730 echo "$as_me: failed program was:" >&5
25731 sed 's/^/| /' conftest.$ac_ext >&5
25733 eval wx_cv_func_$wx_func=no
25736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25737 conftest$ac_exeext conftest.$ac_ext
25740 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25741 { echo "$as_me:$LINENO: result: $ac_res" >&5
25742 echo "${ECHO_T}$ac_res" >&6; }
25744 if eval test \$wx_cv_func_$wx_func = yes
25746 cat >>confdefs.h <<_ACEOF
25747 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25759 ac_cpp='$CPP $CPPFLAGS'
25760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25767 if test "$wxUSE_REGEX" != "no"; then
25768 cat >>confdefs.h <<\_ACEOF
25769 #define wxUSE_REGEX 1
25773 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25774 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25775 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25776 wxUSE_REGEX=builtin
25779 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25780 { echo "$as_me:$LINENO: checking for regex.h" >&5
25781 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25782 if test "${ac_cv_header_regex_h+set}" = set; then
25783 echo $ECHO_N "(cached) $ECHO_C" >&6
25785 cat >conftest.$ac_ext <<_ACEOF
25788 cat confdefs.h >>conftest.$ac_ext
25789 cat >>conftest.$ac_ext <<_ACEOF
25790 /* end confdefs.h. */
25795 rm -f conftest.$ac_objext
25796 if { (ac_try="$ac_compile"
25797 case "(($ac_try" in
25798 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25799 *) ac_try_echo
=$ac_try;;
25801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25802 (eval "$ac_compile") 2>conftest.er1
25804 grep -v '^ *+' conftest.er1
>conftest.err
25806 cat conftest.err
>&5
25807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25808 (exit $ac_status); } && {
25809 test -z "$ac_c_werror_flag" ||
25810 test ! -s conftest.err
25811 } && test -s conftest.
$ac_objext; then
25812 ac_cv_header_regex_h
=yes
25814 echo "$as_me: failed program was:" >&5
25815 sed 's/^/| /' conftest.
$ac_ext >&5
25817 ac_cv_header_regex_h
=no
25820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25822 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25823 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25824 if test $ac_cv_header_regex_h = yes; then
25827 for ac_func
in regcomp re_search
25829 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25830 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25832 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25833 echo $ECHO_N "(cached) $ECHO_C" >&6
25835 cat >conftest.
$ac_ext <<_ACEOF
25838 cat confdefs.h
>>conftest.
$ac_ext
25839 cat >>conftest.
$ac_ext <<_ACEOF
25840 /* end confdefs.h. */
25841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25843 #define $ac_func innocuous_$ac_func
25845 /* System header to define __stub macros and hopefully few prototypes,
25846 which can conflict with char $ac_func (); below.
25847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25848 <limits.h> exists even on freestanding compilers. */
25851 # include <limits.h>
25853 # include <assert.h>
25858 /* Override any GCC internal prototype to avoid an error.
25859 Use char because int might match the return type of a GCC
25860 builtin and then its argument prototype would still apply. */
25865 /* The GNU C library defines this for functions which it implements
25866 to always fail with ENOSYS. Some functions are actually named
25867 something starting with __ and the normal name is an alias. */
25868 #if defined __stub_$ac_func || defined __stub___$ac_func
25875 return $ac_func ();
25880 rm -f conftest.
$ac_objext conftest
$ac_exeext
25881 if { (ac_try
="$ac_link"
25882 case "(($ac_try" in
25883 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25884 *) ac_try_echo=$ac_try;;
25886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25887 (eval "$ac_link") 2>conftest.er1
25889 grep -v '^ *+' conftest.er1 >conftest.err
25891 cat conftest.err >&5
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); } && {
25894 test -z "$ac_c_werror_flag" ||
25895 test ! -s conftest.err
25896 } && test -s conftest$ac_exeext &&
25897 $as_test_x conftest$ac_exeext; then
25898 eval "$as_ac_var=yes"
25900 echo "$as_me: failed program was:" >&5
25901 sed 's/^/| /' conftest.$ac_ext >&5
25903 eval "$as_ac_var=no"
25906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25907 conftest$ac_exeext conftest.$ac_ext
25909 ac_res=`eval echo '${'$as_ac_var'}'`
25910 { echo "$as_me:$LINENO: result: $ac_res" >&5
25911 echo "${ECHO_T}$ac_res" >&6; }
25912 if test `eval echo '${'$as_ac_var'}'` = yes; then
25913 cat >>confdefs.h <<_ACEOF
25914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25924 if test "x$ac_cv_func_regcomp" != "xyes"; then
25925 if test "$wxUSE_REGEX" = "sys" ; then
25926 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25927 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25928 { (exit 1); exit 1; }; }
25930 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25931 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25932 wxUSE_REGEX=builtin
25936 cat >>confdefs.h <<\_ACEOF
25937 #define WX_NO_REGEX_ADVANCED 1
25946 if test "$wxUSE_ZLIB" != "no" ; then
25947 cat >>confdefs.h <<\_ACEOF
25948 #define wxUSE_ZLIB 1
25952 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25953 if test "$USE_DARWIN" = 1; then
25954 system_zlib_h_ok="yes"
25956 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25957 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25958 if test "${ac_cv_header_zlib_h+set}" = set; then
25959 echo $ECHO_N "(cached) $ECHO_C" >&6
25961 if test "$cross_compiling" = yes; then
25962 unset ac_cv_header_zlib_h
25965 cat >conftest.$ac_ext <<_ACEOF
25968 cat confdefs.h >>conftest.$ac_ext
25969 cat >>conftest.$ac_ext <<_ACEOF
25970 /* end confdefs.h. */
25977 FILE *f=fopen("conftestval", "w");
25980 ZLIB_VERSION[0] == '1' &&
25981 (ZLIB_VERSION[2] > '1' ||
25982 (ZLIB_VERSION[2] == '1' &&
25983 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25988 rm -f conftest$ac_exeext
25989 if { (ac_try="$ac_link"
25990 case "(($ac_try" in
25991 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25992 *) ac_try_echo
=$ac_try;;
25994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25995 (eval "$ac_link") 2>&5
25997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25998 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25999 { (case "(($ac_try" in
26000 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26001 *) ac_try_echo=$ac_try;;
26003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26004 (eval "$ac_try") 2>&5
26006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26007 (exit $ac_status); }; }; then
26008 ac_cv_header_zlib_h=`cat conftestval
`
26010 echo "$as_me: program exited with status $ac_status" >&5
26011 echo "$as_me: failed program was:" >&5
26012 sed 's/^/| /' conftest.$ac_ext >&5
26014 ( exit $ac_status )
26015 ac_cv_header_zlib_h=no
26017 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26023 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26024 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26025 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26026 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26027 if test "${ac_cv_header_zlib_h+set}" = set; then
26028 echo $ECHO_N "(cached) $ECHO_C" >&6
26030 cat >conftest.$ac_ext <<_ACEOF
26033 cat confdefs.h >>conftest.$ac_ext
26034 cat >>conftest.$ac_ext <<_ACEOF
26035 /* end confdefs.h. */
26040 rm -f conftest.$ac_objext
26041 if { (ac_try="$ac_compile"
26042 case "(($ac_try" in
26043 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26044 *) ac_try_echo
=$ac_try;;
26046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26047 (eval "$ac_compile") 2>conftest.er1
26049 grep -v '^ *+' conftest.er1
>conftest.err
26051 cat conftest.err
>&5
26052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053 (exit $ac_status); } && {
26054 test -z "$ac_c_werror_flag" ||
26055 test ! -s conftest.err
26056 } && test -s conftest.
$ac_objext; then
26057 ac_cv_header_zlib_h
=yes
26059 echo "$as_me: failed program was:" >&5
26060 sed 's/^/| /' conftest.
$ac_ext >&5
26062 ac_cv_header_zlib_h
=no
26065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26067 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26068 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26072 system_zlib_h_ok
=$ac_cv_header_zlib_h
26075 if test "$system_zlib_h_ok" = "yes"; then
26076 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26077 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26078 if test "${ac_cv_lib_z_deflate+set}" = set; then
26079 echo $ECHO_N "(cached) $ECHO_C" >&6
26081 ac_check_lib_save_LIBS
=$LIBS
26083 cat >conftest.
$ac_ext <<_ACEOF
26086 cat confdefs.h
>>conftest.
$ac_ext
26087 cat >>conftest.
$ac_ext <<_ACEOF
26088 /* end confdefs.h. */
26090 /* Override any GCC internal prototype to avoid an error.
26091 Use char because int might match the return type of a GCC
26092 builtin and then its argument prototype would still apply. */
26105 rm -f conftest.
$ac_objext conftest
$ac_exeext
26106 if { (ac_try
="$ac_link"
26107 case "(($ac_try" in
26108 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26109 *) ac_try_echo=$ac_try;;
26111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26112 (eval "$ac_link") 2>conftest.er1
26114 grep -v '^ *+' conftest.er1 >conftest.err
26116 cat conftest.err >&5
26117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26118 (exit $ac_status); } && {
26119 test -z "$ac_c_werror_flag" ||
26120 test ! -s conftest.err
26121 } && test -s conftest$ac_exeext &&
26122 $as_test_x conftest$ac_exeext; then
26123 ac_cv_lib_z_deflate=yes
26125 echo "$as_me: failed program was:" >&5
26126 sed 's/^/| /' conftest.$ac_ext >&5
26128 ac_cv_lib_z_deflate=no
26131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26132 conftest$ac_exeext conftest.$ac_ext
26133 LIBS=$ac_check_lib_save_LIBS
26135 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26136 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26137 if test $ac_cv_lib_z_deflate = yes; then
26143 if test "x$ZLIB_LINK" = "x" ; then
26144 if test "$wxUSE_ZLIB" = "sys" ; then
26145 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26146 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26147 { (exit 1); exit 1; }; }
26149 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26150 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26161 if test "$wxUSE_LIBPNG" != "no" ; then
26162 cat >>confdefs.h <<\_ACEOF
26163 #define wxUSE_LIBPNG 1
26167 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26168 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26169 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26173 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26174 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26175 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26176 wxUSE_LIBPNG=builtin
26179 if test "$wxUSE_MGL" != 1 ; then
26180 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26181 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26182 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26183 if test "${ac_cv_header_png_h+set}" = set; then
26184 echo $ECHO_N "(cached) $ECHO_C" >&6
26186 if test "$cross_compiling" = yes; then
26187 unset ac_cv_header_png_h
26190 cat >conftest.$ac_ext <<_ACEOF
26193 cat confdefs.h >>conftest.$ac_ext
26194 cat >>conftest.$ac_ext <<_ACEOF
26195 /* end confdefs.h. */
26202 FILE *f=fopen("conftestval", "w");
26205 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26210 rm -f conftest$ac_exeext
26211 if { (ac_try="$ac_link"
26212 case "(($ac_try" in
26213 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26214 *) ac_try_echo
=$ac_try;;
26216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26217 (eval "$ac_link") 2>&5
26219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26221 { (case "(($ac_try" in
26222 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26223 *) ac_try_echo=$ac_try;;
26225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26226 (eval "$ac_try") 2>&5
26228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26229 (exit $ac_status); }; }; then
26230 ac_cv_header_png_h=`cat conftestval
`
26232 echo "$as_me: program exited with status $ac_status" >&5
26233 echo "$as_me: failed program was:" >&5
26234 sed 's/^/| /' conftest.$ac_ext >&5
26236 ( exit $ac_status )
26237 ac_cv_header_png_h=no
26239 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26245 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26246 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26247 { echo "$as_me:$LINENO: checking for png.h" >&5
26248 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26249 if test "${ac_cv_header_png_h+set}" = set; then
26250 echo $ECHO_N "(cached) $ECHO_C" >&6
26252 cat >conftest.$ac_ext <<_ACEOF
26255 cat confdefs.h >>conftest.$ac_ext
26256 cat >>conftest.$ac_ext <<_ACEOF
26257 /* end confdefs.h. */
26262 rm -f conftest.$ac_objext
26263 if { (ac_try="$ac_compile"
26264 case "(($ac_try" in
26265 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26266 *) ac_try_echo
=$ac_try;;
26268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26269 (eval "$ac_compile") 2>conftest.er1
26271 grep -v '^ *+' conftest.er1
>conftest.err
26273 cat conftest.err
>&5
26274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26275 (exit $ac_status); } && {
26276 test -z "$ac_c_werror_flag" ||
26277 test ! -s conftest.err
26278 } && test -s conftest.
$ac_objext; then
26279 ac_cv_header_png_h
=yes
26281 echo "$as_me: failed program was:" >&5
26282 sed 's/^/| /' conftest.
$ac_ext >&5
26284 ac_cv_header_png_h
=no
26287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26289 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26290 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26294 if test "$ac_cv_header_png_h" = "yes"; then
26295 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26296 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26297 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26298 echo $ECHO_N "(cached) $ECHO_C" >&6
26300 ac_check_lib_save_LIBS
=$LIBS
26301 LIBS
="-lpng -lz -lm $LIBS"
26302 cat >conftest.
$ac_ext <<_ACEOF
26305 cat confdefs.h
>>conftest.
$ac_ext
26306 cat >>conftest.
$ac_ext <<_ACEOF
26307 /* end confdefs.h. */
26309 /* Override any GCC internal prototype to avoid an error.
26310 Use char because int might match the return type of a GCC
26311 builtin and then its argument prototype would still apply. */
26315 char png_check_sig ();
26319 return png_check_sig ();
26324 rm -f conftest.
$ac_objext conftest
$ac_exeext
26325 if { (ac_try
="$ac_link"
26326 case "(($ac_try" in
26327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26328 *) ac_try_echo=$ac_try;;
26330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26331 (eval "$ac_link") 2>conftest.er1
26333 grep -v '^ *+' conftest.er1 >conftest.err
26335 cat conftest.err >&5
26336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26337 (exit $ac_status); } && {
26338 test -z "$ac_c_werror_flag" ||
26339 test ! -s conftest.err
26340 } && test -s conftest$ac_exeext &&
26341 $as_test_x conftest$ac_exeext; then
26342 ac_cv_lib_png_png_check_sig=yes
26344 echo "$as_me: failed program was:" >&5
26345 sed 's/^/| /' conftest.$ac_ext >&5
26347 ac_cv_lib_png_png_check_sig=no
26350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26351 conftest$ac_exeext conftest.$ac_ext
26352 LIBS=$ac_check_lib_save_LIBS
26354 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26355 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26356 if test $ac_cv_lib_png_png_check_sig = yes; then
26357 PNG_LINK=" -lpng -lz"
26362 if test "x$PNG_LINK" = "x" ; then
26363 if test "$wxUSE_LIBPNG" = "sys" ; then
26364 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26365 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26366 { (exit 1); exit 1; }; }
26368 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26369 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26370 wxUSE_LIBPNG=builtin
26381 if test "$wxUSE_LIBJPEG" != "no" ; then
26382 cat >>confdefs.h <<\_ACEOF
26383 #define wxUSE_LIBJPEG 1
26387 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26388 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26389 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26393 if test "$wxUSE_MGL" != 1 ; then
26394 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26395 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26396 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26397 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26398 echo $ECHO_N "(cached) $ECHO_C" >&6
26400 cat >conftest.$ac_ext <<_ACEOF
26403 cat confdefs.h >>conftest.$ac_ext
26404 cat >>conftest.$ac_ext <<_ACEOF
26405 /* end confdefs.h. */
26407 #undef HAVE_STDLIB_H
26409 #include <jpeglib.h>
26420 rm -f conftest.$ac_objext
26421 if { (ac_try="$ac_compile"
26422 case "(($ac_try" in
26423 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26424 *) ac_try_echo
=$ac_try;;
26426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26427 (eval "$ac_compile") 2>conftest.er1
26429 grep -v '^ *+' conftest.er1
>conftest.err
26431 cat conftest.err
>&5
26432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26433 (exit $ac_status); } && {
26434 test -z "$ac_c_werror_flag" ||
26435 test ! -s conftest.err
26436 } && test -s conftest.
$ac_objext; then
26437 ac_cv_header_jpeglib_h
=yes
26439 echo "$as_me: failed program was:" >&5
26440 sed 's/^/| /' conftest.
$ac_ext >&5
26442 ac_cv_header_jpeglib_h
=no
26446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26450 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26451 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26453 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26454 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26455 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26456 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26457 echo $ECHO_N "(cached) $ECHO_C" >&6
26459 ac_check_lib_save_LIBS
=$LIBS
26460 LIBS
="-ljpeg $LIBS"
26461 cat >conftest.
$ac_ext <<_ACEOF
26464 cat confdefs.h
>>conftest.
$ac_ext
26465 cat >>conftest.
$ac_ext <<_ACEOF
26466 /* end confdefs.h. */
26468 /* Override any GCC internal prototype to avoid an error.
26469 Use char because int might match the return type of a GCC
26470 builtin and then its argument prototype would still apply. */
26474 char jpeg_read_header ();
26478 return jpeg_read_header ();
26483 rm -f conftest.
$ac_objext conftest
$ac_exeext
26484 if { (ac_try
="$ac_link"
26485 case "(($ac_try" in
26486 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26487 *) ac_try_echo=$ac_try;;
26489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26490 (eval "$ac_link") 2>conftest.er1
26492 grep -v '^ *+' conftest.er1 >conftest.err
26494 cat conftest.err >&5
26495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26496 (exit $ac_status); } && {
26497 test -z "$ac_c_werror_flag" ||
26498 test ! -s conftest.err
26499 } && test -s conftest$ac_exeext &&
26500 $as_test_x conftest$ac_exeext; then
26501 ac_cv_lib_jpeg_jpeg_read_header=yes
26503 echo "$as_me: failed program was:" >&5
26504 sed 's/^/| /' conftest.$ac_ext >&5
26506 ac_cv_lib_jpeg_jpeg_read_header=no
26509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26510 conftest$ac_exeext conftest.$ac_ext
26511 LIBS=$ac_check_lib_save_LIBS
26513 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26514 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26515 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26516 JPEG_LINK=" -ljpeg"
26521 if test "x$JPEG_LINK" = "x" ; then
26522 if test "$wxUSE_LIBJPEG" = "sys" ; then
26523 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26524 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26525 { (exit 1); exit 1; }; }
26527 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26528 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26529 wxUSE_LIBJPEG=builtin
26534 if test "$wxUSE_MSW" = 1; then
26535 { echo "$as_me:$LINENO: checking for boolean" >&5
26536 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26537 if test "${ac_cv_type_boolean+set}" = set; then
26538 echo $ECHO_N "(cached) $ECHO_C" >&6
26540 cat >conftest.$ac_ext <<_ACEOF
26543 cat confdefs.h >>conftest.$ac_ext
26544 cat >>conftest.$ac_ext <<_ACEOF
26545 /* end confdefs.h. */
26546 #include <windows.h>
26548 typedef boolean ac__type_new_;
26552 if ((ac__type_new_ *) 0)
26554 if (sizeof (ac__type_new_))
26560 rm -f conftest.$ac_objext
26561 if { (ac_try="$ac_compile"
26562 case "(($ac_try" in
26563 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26564 *) ac_try_echo
=$ac_try;;
26566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26567 (eval "$ac_compile") 2>conftest.er1
26569 grep -v '^ *+' conftest.er1
>conftest.err
26571 cat conftest.err
>&5
26572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26573 (exit $ac_status); } && {
26574 test -z "$ac_c_werror_flag" ||
26575 test ! -s conftest.err
26576 } && test -s conftest.
$ac_objext; then
26577 ac_cv_type_boolean
=yes
26579 echo "$as_me: failed program was:" >&5
26580 sed 's/^/| /' conftest.
$ac_ext >&5
26582 ac_cv_type_boolean
=no
26585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26587 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26588 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26589 if test $ac_cv_type_boolean = yes; then
26591 cat >>confdefs.h
<<_ACEOF
26592 #define HAVE_BOOLEAN 1
26596 { echo "$as_me:$LINENO: checking for boolean" >&5
26597 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26598 if test "${ac_cv_type_boolean+set}" = set; then
26599 echo $ECHO_N "(cached) $ECHO_C" >&6
26601 cat >conftest.
$ac_ext <<_ACEOF
26604 cat confdefs.h
>>conftest.
$ac_ext
26605 cat >>conftest.
$ac_ext <<_ACEOF
26606 /* end confdefs.h. */
26608 #undef HAVE_BOOLEAN
26610 #include <jpeglib.h>
26613 typedef boolean ac__type_new_;
26617 if ((ac__type_new_ *) 0)
26619 if (sizeof (ac__type_new_))
26625 rm -f conftest.
$ac_objext
26626 if { (ac_try
="$ac_compile"
26627 case "(($ac_try" in
26628 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26629 *) ac_try_echo=$ac_try;;
26631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26632 (eval "$ac_compile") 2>conftest.er1
26634 grep -v '^ *+' conftest.er1 >conftest.err
26636 cat conftest.err >&5
26637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26638 (exit $ac_status); } && {
26639 test -z "$ac_c_werror_flag" ||
26640 test ! -s conftest.err
26641 } && test -s conftest.$ac_objext; then
26642 ac_cv_type_boolean=yes
26644 echo "$as_me: failed program was:" >&5
26645 sed 's/^/| /' conftest.$ac_ext >&5
26647 ac_cv_type_boolean=no
26650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26652 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26653 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26655 # The cast to long int works around a bug in the HP C Compiler
26656 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26657 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
26658 # This bug is HP SR number 8606223364.
26659 { echo "$as_me:$LINENO: checking size of boolean" >&5
26660 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26661 if test "${ac_cv_sizeof_boolean+set}" = set; then
26662 echo $ECHO_N "(cached) $ECHO_C" >&6
26664 if test "$cross_compiling" = yes; then
26665 # Depending upon the size, compute the lo and hi bounds.
26666 cat >conftest.$ac_ext <<_ACEOF
26669 cat confdefs.h >>conftest.$ac_ext
26670 cat >>conftest.$ac_ext <<_ACEOF
26671 /* end confdefs.h. */
26673 #undef HAVE_BOOLEAN
26675 #include <jpeglib.h>
26678 typedef boolean ac__type_sizeof_;
26682 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26689 rm -f conftest.$ac_objext
26690 if { (ac_try="$ac_compile"
26691 case "(($ac_try" in
26692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26693 *) ac_try_echo=$ac_try;;
26695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26696 (eval "$ac_compile") 2>conftest.er1
26698 grep -v '^
*+' conftest.er1 >conftest.err
26700 cat conftest.err >&5
26701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26702 (exit $ac_status); } && {
26703 test -z "$ac_c_werror_flag" ||
26704 test ! -s conftest.err
26705 } && test -s conftest.$ac_objext; then
26708 cat >conftest.$ac_ext <<_ACEOF
26711 cat confdefs.h >>conftest.$ac_ext
26712 cat >>conftest.$ac_ext <<_ACEOF
26713 /* end confdefs.h. */
26715 #undef HAVE_BOOLEAN
26717 #include <jpeglib.h>
26720 typedef boolean ac__type_sizeof_;
26724 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26731 rm -f conftest.$ac_objext
26732 if { (ac_try="$ac_compile"
26733 case "(($ac_try" in
26734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26735 *) ac_try_echo=$ac_try;;
26737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26738 (eval "$ac_compile") 2>conftest.er1
26740 grep -v '^
*+' conftest.er1 >conftest.err
26742 cat conftest.err >&5
26743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26744 (exit $ac_status); } && {
26745 test -z "$ac_c_werror_flag" ||
26746 test ! -s conftest.err
26747 } && test -s conftest.$ac_objext; then
26748 ac_hi=$ac_mid; break
26750 echo "$as_me: failed program was:" >&5
26751 sed 's
/^
/| /' conftest.$ac_ext >&5
26753 ac_lo=`expr $ac_mid + 1`
26754 if test $ac_lo -le $ac_mid; then
26758 ac_mid=`expr 2 '*' $ac_mid + 1`
26761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26764 echo "$as_me: failed program was:" >&5
26765 sed 's
/^
/| /' conftest.$ac_ext >&5
26767 cat >conftest.$ac_ext <<_ACEOF
26770 cat confdefs.h >>conftest.$ac_ext
26771 cat >>conftest.$ac_ext <<_ACEOF
26772 /* end confdefs.h. */
26774 #undef HAVE_BOOLEAN
26776 #include <jpeglib.h>
26779 typedef boolean ac__type_sizeof_;
26783 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26790 rm -f conftest.$ac_objext
26791 if { (ac_try="$ac_compile"
26792 case "(($ac_try" in
26793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26794 *) ac_try_echo=$ac_try;;
26796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26797 (eval "$ac_compile") 2>conftest.er1
26799 grep -v '^
*+' conftest.er1 >conftest.err
26801 cat conftest.err >&5
26802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26803 (exit $ac_status); } && {
26804 test -z "$ac_c_werror_flag" ||
26805 test ! -s conftest.err
26806 } && test -s conftest.$ac_objext; then
26809 cat >conftest.$ac_ext <<_ACEOF
26812 cat confdefs.h >>conftest.$ac_ext
26813 cat >>conftest.$ac_ext <<_ACEOF
26814 /* end confdefs.h. */
26816 #undef HAVE_BOOLEAN
26818 #include <jpeglib.h>
26821 typedef boolean ac__type_sizeof_;
26825 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26832 rm -f conftest.$ac_objext
26833 if { (ac_try="$ac_compile"
26834 case "(($ac_try" in
26835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26836 *) ac_try_echo=$ac_try;;
26838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26839 (eval "$ac_compile") 2>conftest.er1
26841 grep -v '^
*+' conftest.er1 >conftest.err
26843 cat conftest.err >&5
26844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26845 (exit $ac_status); } && {
26846 test -z "$ac_c_werror_flag" ||
26847 test ! -s conftest.err
26848 } && test -s conftest.$ac_objext; then
26849 ac_lo=$ac_mid; break
26851 echo "$as_me: failed program was:" >&5
26852 sed 's
/^
/| /' conftest.$ac_ext >&5
26854 ac_hi=`expr '(' $ac_mid ')' - 1`
26855 if test $ac_mid -le $ac_hi; then
26859 ac_mid=`expr 2 '*' $ac_mid`
26862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26865 echo "$as_me: failed program was:" >&5
26866 sed 's
/^
/| /' conftest.$ac_ext >&5
26871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26875 # Binary search between lo and hi bounds.
26876 while test "x$ac_lo" != "x$ac_hi"; do
26877 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26878 cat >conftest.$ac_ext <<_ACEOF
26881 cat confdefs.h >>conftest.$ac_ext
26882 cat >>conftest.$ac_ext <<_ACEOF
26883 /* end confdefs.h. */
26885 #undef HAVE_BOOLEAN
26887 #include <jpeglib.h>
26890 typedef boolean ac__type_sizeof_;
26894 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26901 rm -f conftest.$ac_objext
26902 if { (ac_try="$ac_compile"
26903 case "(($ac_try" in
26904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26905 *) ac_try_echo=$ac_try;;
26907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26908 (eval "$ac_compile") 2>conftest.er1
26910 grep -v '^
*+' conftest.er1 >conftest.err
26912 cat conftest.err >&5
26913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26914 (exit $ac_status); } && {
26915 test -z "$ac_c_werror_flag" ||
26916 test ! -s conftest.err
26917 } && test -s conftest.$ac_objext; then
26920 echo "$as_me: failed program was:" >&5
26921 sed 's
/^
/| /' conftest.$ac_ext >&5
26923 ac_lo=`expr '(' $ac_mid ')' + 1`
26926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26929 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26930 '') if test "$ac_cv_type_boolean" = yes; then
26931 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26932 See \`config.log' for more details.
" >&5
26933 echo "$as_me: error
: cannot compute sizeof
(boolean
)
26934 See \
`config.log' for more details." >&2;}
26935 { (exit 77); exit 77; }; }
26937 ac_cv_sizeof_boolean=0
26941 cat >conftest.$ac_ext <<_ACEOF
26944 cat confdefs.h >>conftest.$ac_ext
26945 cat >>conftest.$ac_ext <<_ACEOF
26946 /* end confdefs.h. */
26948 #undef HAVE_BOOLEAN
26950 #include <jpeglib.h>
26953 typedef boolean ac__type_sizeof_;
26954 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26955 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26957 #include <stdlib.h>
26962 FILE *f = fopen ("conftest.val", "w");
26965 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26967 long int i = longval ();
26968 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26970 fprintf (f, "%ld\n", i);
26974 unsigned long int i = ulongval ();
26975 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26977 fprintf (f, "%lu\n", i);
26979 return ferror (f) || fclose (f) != 0;
26985 rm -f conftest$ac_exeext
26986 if { (ac_try="$ac_link"
26987 case "(($ac_try" in
26988 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26989 *) ac_try_echo
=$ac_try;;
26991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26992 (eval "$ac_link") 2>&5
26994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26995 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26996 { (case "(($ac_try" in
26997 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26998 *) ac_try_echo=$ac_try;;
27000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27001 (eval "$ac_try") 2>&5
27003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27004 (exit $ac_status); }; }; then
27005 ac_cv_sizeof_boolean=`cat conftest.val
`
27007 echo "$as_me: program exited with status $ac_status" >&5
27008 echo "$as_me: failed program was:" >&5
27009 sed 's/^/| /' conftest.$ac_ext >&5
27011 ( exit $ac_status )
27012 if test "$ac_cv_type_boolean" = yes; then
27013 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27014 See \`config.log
' for more details." >&5
27015 echo "$as_me: error: cannot compute sizeof (boolean)
27016 See \`config.log' for more details.
" >&2;}
27017 { (exit 77); exit 77; }; }
27019 ac_cv_sizeof_boolean=0
27022 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27026 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27027 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27031 cat >>confdefs.h <<_ACEOF
27032 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27036 cat >>confdefs.h <<_ACEOF
27037 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27051 TIFF_PREREQ_LINKS=-lm
27052 if test "$wxUSE_LIBTIFF" != "no
" ; then
27053 cat >>confdefs.h <<\_ACEOF
27054 #define wxUSE_LIBTIFF 1
27058 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27059 if test "$wxUSE_LIBJPEG" = "sys
"; then
27060 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27062 if test "$wxUSE_ZLIB" = "sys
"; then
27063 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27065 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27066 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27067 if test "${ac_cv_header_tiffio_h+set}" = set; then
27068 echo $ECHO_N "(cached
) $ECHO_C" >&6
27070 cat >conftest.$ac_ext <<_ACEOF
27073 cat confdefs.h >>conftest.$ac_ext
27074 cat >>conftest.$ac_ext <<_ACEOF
27075 /* end confdefs.h. */
27079 #include <tiffio.h>
27081 rm -f conftest.$ac_objext
27082 if { (ac_try="$ac_compile"
27083 case "(($ac_try" in
27084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27085 *) ac_try_echo=$ac_try;;
27087 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27088 (eval "$ac_compile") 2>conftest.er1
27090 grep -v '^ *+' conftest.er1 >conftest.err
27092 cat conftest.err >&5
27093 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27094 (exit $ac_status); } && {
27095 test -z "$ac_c_werror_flag" ||
27096 test ! -s conftest.err
27097 } && test -s conftest.$ac_objext; then
27098 ac_cv_header_tiffio_h=yes
27100 echo "$as_me: failed program was
:" >&5
27101 sed 's/^/| /' conftest.$ac_ext >&5
27103 ac_cv_header_tiffio_h=no
27106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27108 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27109 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27110 if test $ac_cv_header_tiffio_h = yes; then
27112 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27113 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27114 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27115 echo $ECHO_N "(cached
) $ECHO_C" >&6
27117 ac_check_lib_save_LIBS=$LIBS
27118 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27119 cat >conftest.$ac_ext <<_ACEOF
27122 cat confdefs.h >>conftest.$ac_ext
27123 cat >>conftest.$ac_ext <<_ACEOF
27124 /* end confdefs.h. */
27126 /* Override any GCC internal prototype to avoid an error.
27127 Use char because int might match the return type of a GCC
27128 builtin and then its argument prototype would still apply. */
27136 return TIFFError ();
27141 rm -f conftest.$ac_objext conftest$ac_exeext
27142 if { (ac_try="$ac_link"
27143 case "(($ac_try" in
27144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27145 *) ac_try_echo=$ac_try;;
27147 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27148 (eval "$ac_link") 2>conftest.er1
27150 grep -v '^ *+' conftest.er1 >conftest.err
27152 cat conftest.err >&5
27153 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27154 (exit $ac_status); } && {
27155 test -z "$ac_c_werror_flag" ||
27156 test ! -s conftest.err
27157 } && test -s conftest$ac_exeext &&
27158 $as_test_x conftest$ac_exeext; then
27159 ac_cv_lib_tiff_TIFFError=yes
27161 echo "$as_me: failed program was
:" >&5
27162 sed 's/^/| /' conftest.$ac_ext >&5
27164 ac_cv_lib_tiff_TIFFError=no
27167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27168 conftest$ac_exeext conftest.$ac_ext
27169 LIBS=$ac_check_lib_save_LIBS
27171 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27172 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27173 if test $ac_cv_lib_tiff_TIFFError = yes; then
27174 TIFF_LINK=" -ltiff"
27182 if test "x
$TIFF_LINK" = "x
" ; then
27183 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27184 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27185 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27186 { (exit 1); exit 1; }; }
27188 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27189 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27190 wxUSE_LIBTIFF=builtin
27196 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27197 if test "$wxUSE_LIBJPEG" = "no
"; then
27198 ac_configure_args="$ac_configure_args --disable-jpeg"
27200 subdirs="$subdirs src
/tiff
"
27206 if test "$wxUSE_WCHAR_T" != "yes"; then
27207 if test "$wxUSE_EXPAT" != "no
"; then
27208 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27209 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27212 if test "$wxUSE_XML" != "no
"; then
27213 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27214 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27219 if test "$wxUSE_EXPAT" != "no
"; then
27221 cat >>confdefs.h <<\_ACEOF
27222 #define wxUSE_EXPAT 1
27225 cat >>confdefs.h <<\_ACEOF
27226 #define wxUSE_XML 1
27230 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27231 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27232 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27233 if test "${ac_cv_header_expat_h+set}" = set; then
27234 echo $ECHO_N "(cached
) $ECHO_C" >&6
27236 cat >conftest.$ac_ext <<_ACEOF
27239 cat confdefs.h >>conftest.$ac_ext
27240 cat >>conftest.$ac_ext <<_ACEOF
27241 /* end confdefs.h. */
27246 rm -f conftest.$ac_objext
27247 if { (ac_try="$ac_compile"
27248 case "(($ac_try" in
27249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27250 *) ac_try_echo=$ac_try;;
27252 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27253 (eval "$ac_compile") 2>conftest.er1
27255 grep -v '^ *+' conftest.er1 >conftest.err
27257 cat conftest.err >&5
27258 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27259 (exit $ac_status); } && {
27260 test -z "$ac_c_werror_flag" ||
27261 test ! -s conftest.err
27262 } && test -s conftest.$ac_objext; then
27263 ac_cv_header_expat_h=yes
27265 echo "$as_me: failed program was
:" >&5
27266 sed 's/^/| /' conftest.$ac_ext >&5
27268 ac_cv_header_expat_h=no
27271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27273 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27274 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27275 if test $ac_cv_header_expat_h = yes; then
27280 if test "x
$found_expat_h" = "x1
"; then
27281 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27282 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27283 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27284 echo $ECHO_N "(cached
) $ECHO_C" >&6
27288 ac_cpp='$CXXCPP $CPPFLAGS'
27289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27293 cat >conftest.$ac_ext <<_ACEOF
27296 cat confdefs.h >>conftest.$ac_ext
27297 cat >>conftest.$ac_ext <<_ACEOF
27298 /* end confdefs.h. */
27308 rm -f conftest.$ac_objext
27309 if { (ac_try="$ac_compile"
27310 case "(($ac_try" in
27311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27312 *) ac_try_echo=$ac_try;;
27314 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27315 (eval "$ac_compile") 2>conftest.er1
27317 grep -v '^ *+' conftest.er1 >conftest.err
27319 cat conftest.err >&5
27320 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27321 (exit $ac_status); } && {
27322 test -z "$ac_cxx_werror_flag" ||
27323 test ! -s conftest.err
27324 } && test -s conftest.$ac_objext; then
27325 wx_cv_expat_is_not_broken=yes
27327 echo "$as_me: failed program was
:" >&5
27328 sed 's/^/| /' conftest.$ac_ext >&5
27330 wx_cv_expat_is_not_broken=no
27334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27336 ac_cpp='$CPP $CPPFLAGS'
27337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27344 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27345 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27346 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27347 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27348 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27349 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27350 echo $ECHO_N "(cached
) $ECHO_C" >&6
27352 ac_check_lib_save_LIBS=$LIBS
27353 LIBS="-lexpat $LIBS"
27354 cat >conftest.$ac_ext <<_ACEOF
27357 cat confdefs.h >>conftest.$ac_ext
27358 cat >>conftest.$ac_ext <<_ACEOF
27359 /* end confdefs.h. */
27361 /* Override any GCC internal prototype to avoid an error.
27362 Use char because int might match the return type of a GCC
27363 builtin and then its argument prototype would still apply. */
27367 char XML_ParserCreate ();
27371 return XML_ParserCreate ();
27376 rm -f conftest.$ac_objext conftest$ac_exeext
27377 if { (ac_try="$ac_link"
27378 case "(($ac_try" in
27379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27380 *) ac_try_echo=$ac_try;;
27382 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27383 (eval "$ac_link") 2>conftest.er1
27385 grep -v '^ *+' conftest.er1 >conftest.err
27387 cat conftest.err >&5
27388 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27389 (exit $ac_status); } && {
27390 test -z "$ac_c_werror_flag" ||
27391 test ! -s conftest.err
27392 } && test -s conftest$ac_exeext &&
27393 $as_test_x conftest$ac_exeext; then
27394 ac_cv_lib_expat_XML_ParserCreate=yes
27396 echo "$as_me: failed program was
:" >&5
27397 sed 's/^/| /' conftest.$ac_ext >&5
27399 ac_cv_lib_expat_XML_ParserCreate=no
27402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27403 conftest$ac_exeext conftest.$ac_ext
27404 LIBS=$ac_check_lib_save_LIBS
27406 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27407 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27408 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27409 EXPAT_LINK=" -lexpat"
27414 if test "x
$EXPAT_LINK" = "x
" ; then
27415 if test "$wxUSE_EXPAT" = "sys
" ; then
27416 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27417 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27418 { (exit 1); exit 1; }; }
27420 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27421 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27422 wxUSE_EXPAT=builtin
27428 if test "$wxUSE_EXPAT" = "builtin" ; then
27429 subdirs="$subdirs src
/expat
"
27436 if test "$wxUSE_LIBMSPACK" != "no
"; then
27437 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27438 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27439 if test "${ac_cv_header_mspack_h+set}" = set; then
27440 echo $ECHO_N "(cached
) $ECHO_C" >&6
27442 cat >conftest.$ac_ext <<_ACEOF
27445 cat confdefs.h >>conftest.$ac_ext
27446 cat >>conftest.$ac_ext <<_ACEOF
27447 /* end confdefs.h. */
27450 #include <mspack.h>
27452 rm -f conftest.$ac_objext
27453 if { (ac_try="$ac_compile"
27454 case "(($ac_try" in
27455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27456 *) ac_try_echo=$ac_try;;
27458 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27459 (eval "$ac_compile") 2>conftest.er1
27461 grep -v '^ *+' conftest.er1 >conftest.err
27463 cat conftest.err >&5
27464 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27465 (exit $ac_status); } && {
27466 test -z "$ac_c_werror_flag" ||
27467 test ! -s conftest.err
27468 } && test -s conftest.$ac_objext; then
27469 ac_cv_header_mspack_h=yes
27471 echo "$as_me: failed program was
:" >&5
27472 sed 's/^/| /' conftest.$ac_ext >&5
27474 ac_cv_header_mspack_h=no
27477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27479 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27480 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27481 if test $ac_cv_header_mspack_h = yes; then
27486 if test "x
$found_mspack_h" = "x1
"; then
27487 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27488 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27489 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27490 echo $ECHO_N "(cached
) $ECHO_C" >&6
27492 ac_check_lib_save_LIBS=$LIBS
27493 LIBS="-lmspack $LIBS"
27494 cat >conftest.$ac_ext <<_ACEOF
27497 cat confdefs.h >>conftest.$ac_ext
27498 cat >>conftest.$ac_ext <<_ACEOF
27499 /* end confdefs.h. */
27501 /* Override any GCC internal prototype to avoid an error.
27502 Use char because int might match the return type of a GCC
27503 builtin and then its argument prototype would still apply. */
27507 char mspack_create_chm_decompressor ();
27511 return mspack_create_chm_decompressor ();
27516 rm -f conftest.$ac_objext conftest$ac_exeext
27517 if { (ac_try="$ac_link"
27518 case "(($ac_try" in
27519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27520 *) ac_try_echo=$ac_try;;
27522 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27523 (eval "$ac_link") 2>conftest.er1
27525 grep -v '^ *+' conftest.er1 >conftest.err
27527 cat conftest.err >&5
27528 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27529 (exit $ac_status); } && {
27530 test -z "$ac_c_werror_flag" ||
27531 test ! -s conftest.err
27532 } && test -s conftest$ac_exeext &&
27533 $as_test_x conftest$ac_exeext; then
27534 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27536 echo "$as_me: failed program was
:" >&5
27537 sed 's/^/| /' conftest.$ac_ext >&5
27539 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27543 conftest$ac_exeext conftest.$ac_ext
27544 LIBS=$ac_check_lib_save_LIBS
27546 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27547 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27548 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27549 MSPACK_LINK=" -lmspack"
27553 if test "x
$MSPACK_LINK" = "x
" ; then
27558 if test "$wxUSE_LIBMSPACK" != "no
"; then
27559 cat >>confdefs.h <<\_ACEOF
27560 #define wxUSE_LIBMSPACK 1
27574 if test "$USE_WIN32" = 1 ; then
27576 for ac_header in w32api.h
27578 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
27579 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
27580 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
27581 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
27582 echo $ECHO_N "(cached
) $ECHO_C" >&6
27584 cat >conftest.$ac_ext <<_ACEOF
27587 cat confdefs.h >>conftest.$ac_ext
27588 cat >>conftest.$ac_ext <<_ACEOF
27589 /* end confdefs.h. */
27592 #include <$ac_header>
27594 rm -f conftest.$ac_objext
27595 if { (ac_try="$ac_compile"
27596 case "(($ac_try" in
27597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27598 *) ac_try_echo=$ac_try;;
27600 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27601 (eval "$ac_compile") 2>conftest.er1
27603 grep -v '^ *+' conftest.er1 >conftest.err
27605 cat conftest.err >&5
27606 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27607 (exit $ac_status); } && {
27608 test -z "$ac_c_werror_flag" ||
27609 test ! -s conftest.err
27610 } && test -s conftest.$ac_objext; then
27611 eval "$as_ac_Header=yes"
27613 echo "$as_me: failed program was
:" >&5
27614 sed 's/^/| /' conftest.$ac_ext >&5
27616 eval "$as_ac_Header=no
"
27619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27621 ac_res=`eval echo '${'$as_ac_Header'}'`
27622 { echo "$as_me:$LINENO: result
: $ac_res" >&5
27623 echo "${ECHO_T}$ac_res" >&6; }
27624 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27625 cat >>confdefs.h <<_ACEOF
27626 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
27633 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
27634 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
27635 if test "${ac_cv_header_windows_h+set}" = set; then
27636 echo $ECHO_N "(cached
) $ECHO_C" >&6
27638 cat >conftest.$ac_ext <<_ACEOF
27641 cat confdefs.h >>conftest.$ac_ext
27642 cat >>conftest.$ac_ext <<_ACEOF
27643 /* end confdefs.h. */
27646 #include <windows.h>
27648 rm -f conftest.$ac_objext
27649 if { (ac_try="$ac_compile"
27650 case "(($ac_try" in
27651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27652 *) ac_try_echo=$ac_try;;
27654 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27655 (eval "$ac_compile") 2>conftest.er1
27657 grep -v '^ *+' conftest.er1 >conftest.err
27659 cat conftest.err >&5
27660 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27661 (exit $ac_status); } && {
27662 test -z "$ac_c_werror_flag" ||
27663 test ! -s conftest.err
27664 } && test -s conftest.$ac_objext; then
27665 ac_cv_header_windows_h=yes
27667 echo "$as_me: failed program was
:" >&5
27668 sed 's/^/| /' conftest.$ac_ext >&5
27670 ac_cv_header_windows_h=no
27673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27675 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
27676 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27677 if test $ac_cv_header_windows_h = yes; then
27681 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
27682 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
27683 { (exit 1); exit 1; }; }
27689 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27691 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27692 LIBS="$LIBS -loleacc"
27697 LIBS="$LIBS -lkernel32 -luser32"
27700 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27701 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
27703 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27705 WIN32INSTALL=win32install
27707 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
27708 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
27709 if test "${ac_cv_header_pbt_h+set}" = set; then
27710 echo $ECHO_N "(cached
) $ECHO_C" >&6
27712 cat >conftest.$ac_ext <<_ACEOF
27715 cat confdefs.h >>conftest.$ac_ext
27716 cat >>conftest.$ac_ext <<_ACEOF
27717 /* end confdefs.h. */
27722 rm -f conftest.$ac_objext
27723 if { (ac_try="$ac_compile"
27724 case "(($ac_try" in
27725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27726 *) ac_try_echo=$ac_try;;
27728 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27729 (eval "$ac_compile") 2>conftest.er1
27731 grep -v '^ *+' conftest.er1 >conftest.err
27733 cat conftest.err >&5
27734 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27735 (exit $ac_status); } && {
27736 test -z "$ac_c_werror_flag" ||
27737 test ! -s conftest.err
27738 } && test -s conftest.$ac_objext; then
27739 ac_cv_header_pbt_h=yes
27741 echo "$as_me: failed program was
:" >&5
27742 sed 's/^/| /' conftest.$ac_ext >&5
27744 ac_cv_header_pbt_h=no
27747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27749 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
27750 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27751 if test $ac_cv_header_pbt_h = yes; then
27754 cat >>confdefs.h <<\_ACEOF
27755 #define NEED_PBT_H 1
27763 if test "$wxUSE_GUI" = "yes"; then
27773 if test "$wxUSE_COCOA" = 1 ; then
27774 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27775 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
27776 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
27777 wxUSE_PRINTING_ARCHITECTURE=no
27779 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27780 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
27781 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
27782 wxUSE_DRAG_AND_DROP=no
27784 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27785 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
27786 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
27791 if test "$wxUSE_MSW" = 1 ; then
27797 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
27801 if test "$wxUSE_GTK" = 1; then
27802 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
27803 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
27805 gtk_version_cached=1
27806 if test "${wx_cv_lib_gtk+set}" = set; then
27807 echo $ECHO_N "(cached
) $ECHO_C" >&6
27810 gtk_version_cached=0
27811 { echo "$as_me:$LINENO: result
: " >&5
27812 echo "${ECHO_T}" >&6; }
27815 if test "$wxUSE_THREADS" = "yes"; then
27816 GTK_MODULES=gthread
27820 if test "x
$wxGTK_VERSION" != "x1
"
27824 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27829 # Check whether --enable-gtktest was given.
27830 if test "${enable_gtktest+set}" = set; then
27831 enableval=$enable_gtktest;
27837 pkg_config_args=gtk+-2.0
27838 for module in . $GTK_MODULES
27842 pkg_config_args="$pkg_config_args gthread
-2.0
"
27849 # Extract the first word of "pkg
-config", so it can be a program name with args.
27850 set dummy pkg-config; ac_word=$2
27851 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27852 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27853 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27854 echo $ECHO_N "(cached
) $ECHO_C" >&6
27856 case $PKG_CONFIG in
27858 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27862 for as_dir in $PATH
27865 test -z "$as_dir" && as_dir=.
27866 for ac_exec_ext in '' $ac_executable_extensions; do
27867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27868 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27869 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27876 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
27880 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27881 if test -n "$PKG_CONFIG"; then
27882 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
27883 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27885 { echo "$as_me:$LINENO: result
: no
" >&5
27886 echo "${ECHO_T}no
" >&6; }
27891 if test x$PKG_CONFIG != xno ; then
27892 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27895 echo "*** pkg
-config too old
; version
0.7 or better required.
"
27903 min_gtk_version=2.4.0
27904 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
27905 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
27907 if test x$PKG_CONFIG != xno ; then
27908 ## don't try to run the test against uninstalled libtool libs
27909 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27910 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
27914 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27921 if test x"$no_gtk" = x ; then
27922 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27923 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27924 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27925 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27926 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27927 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27928 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27929 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27930 if test "x
$enable_gtktest" = "xyes
" ; then
27931 ac_save_CFLAGS="$CFLAGS"
27932 ac_save_LIBS="$LIBS"
27933 CFLAGS="$CFLAGS $GTK_CFLAGS"
27934 LIBS="$GTK_LIBS $LIBS"
27936 if test "$cross_compiling" = yes; then
27937 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
27939 cat >conftest.$ac_ext <<_ACEOF
27942 cat confdefs.h >>conftest.$ac_ext
27943 cat >>conftest.$ac_ext <<_ACEOF
27944 /* end confdefs.h. */
27946 #include <gtk/gtk.h>
27948 #include <stdlib.h>
27953 int major, minor, micro;
27956 system ("touch conf.gtktest
");
27958 /* HP/UX 9 (%@#!) writes to sscanf strings */
27959 tmp_version = g_strdup("$min_gtk_version");
27960 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
27961 printf("%s
, bad version string
\n", "$min_gtk_version");
27965 if ((gtk_major_version != $gtk_config_major_version) ||
27966 (gtk_minor_version != $gtk_config_minor_version) ||
27967 (gtk_micro_version != $gtk_config_micro_version))
27969 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
27970 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27971 gtk_major_version, gtk_minor_version, gtk_micro_version);
27972 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
27973 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
27974 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
27975 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
27976 printf("*** required on your system.
\n");
27977 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
27978 printf("*** to point to the correct configuration files
\n");
27980 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27981 (gtk_minor_version != GTK_MINOR_VERSION) ||
27982 (gtk_micro_version != GTK_MICRO_VERSION))
27984 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
27985 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27986 printf("*** library
(version
%d.
%d.
%d
)\n",
27987 gtk_major_version, gtk_minor_version, gtk_micro_version);
27991 if ((gtk_major_version > major) ||
27992 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27993 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27999 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28000 gtk_major_version, gtk_minor_version, gtk_micro_version);
28001 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28002 major, minor, micro);
28003 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28005 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28006 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28007 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28008 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28009 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28010 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28011 printf("*** so that the correct libraries are found
at run
-time))\n");
28018 rm -f conftest$ac_exeext
28019 if { (ac_try="$ac_link"
28020 case "(($ac_try" in
28021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28022 *) ac_try_echo=$ac_try;;
28024 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28025 (eval "$ac_link") 2>&5
28027 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28028 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28029 { (case "(($ac_try" in
28030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28031 *) ac_try_echo=$ac_try;;
28033 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28034 (eval "$ac_try") 2>&5
28036 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28037 (exit $ac_status); }; }; then
28040 echo "$as_me: program exited with status
$ac_status" >&5
28041 echo "$as_me: failed program was
:" >&5
28042 sed 's/^/| /' conftest.$ac_ext >&5
28044 ( exit $ac_status )
28047 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28051 CFLAGS="$ac_save_CFLAGS"
28052 LIBS="$ac_save_LIBS"
28055 if test "x
$no_gtk" = x ; then
28056 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28057 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28060 { echo "$as_me:$LINENO: result
: no
" >&5
28061 echo "${ECHO_T}no
" >&6; }
28062 if test "$PKG_CONFIG" = "no
" ; then
28063 echo "*** A new enough version of pkg
-config was not found.
"
28064 echo "*** See http
://pkgconfig.sourceforge.net
"
28066 if test -f conf.gtktest ; then
28069 echo "*** Could not run GTK
+ test program
, checking why...
"
28070 ac_save_CFLAGS="$CFLAGS"
28071 ac_save_LIBS="$LIBS"
28072 CFLAGS="$CFLAGS $GTK_CFLAGS"
28073 LIBS="$LIBS $GTK_LIBS"
28074 cat >conftest.$ac_ext <<_ACEOF
28077 cat confdefs.h >>conftest.$ac_ext
28078 cat >>conftest.$ac_ext <<_ACEOF
28079 /* end confdefs.h. */
28081 #include <gtk/gtk.h>
28087 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28092 rm -f conftest.$ac_objext conftest$ac_exeext
28093 if { (ac_try="$ac_link"
28094 case "(($ac_try" in
28095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28096 *) ac_try_echo=$ac_try;;
28098 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28099 (eval "$ac_link") 2>conftest.er1
28101 grep -v '^ *+' conftest.er1 >conftest.err
28103 cat conftest.err >&5
28104 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28105 (exit $ac_status); } && {
28106 test -z "$ac_c_werror_flag" ||
28107 test ! -s conftest.err
28108 } && test -s conftest$ac_exeext &&
28109 $as_test_x conftest$ac_exeext; then
28110 echo "*** The
test program compiled
, but did not run. This usually means
"
28111 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28112 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28113 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28114 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28115 echo "*** is required on your system"
28117 echo "*** If you have an old version installed, it is best to remove it, although"
28118 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28120 echo "$as_me: failed program was:" >&5
28121 sed 's
/^
/| /' conftest.$ac_ext >&5
28123 echo "*** The test program failed to compile or link. See the file config.log for the"
28124 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28128 conftest$ac_exeext conftest.$ac_ext
28129 CFLAGS="$ac_save_CFLAGS"
28130 LIBS="$ac_save_LIBS"
28144 if test "$wxUSE_SHARED" != "yes"; then
28145 GTK_LIBS="$GTK_LIBS -lX11"
28150 if test -z "$wx_cv_lib_gtk"; then
28151 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28153 # Check whether --with-gtk-prefix was given.
28154 if test "${with_gtk_prefix+set}" = set; then
28155 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28157 gtk_config_prefix=""
28161 # Check whether --with-gtk-exec-prefix was given.
28162 if test "${with_gtk_exec_prefix+set}" = set; then
28163 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28165 gtk_config_exec_prefix=""
28168 # Check whether --enable-gtktest was given.
28169 if test "${enable_gtktest+set}" = set; then
28170 enableval=$enable_gtktest;
28176 for module in . $GTK_MODULES
28180 gtk_config_args="$gtk_config_args gthread"
28185 if test x$gtk_config_exec_prefix != x ; then
28186 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28187 if test x${GTK_CONFIG+set} != xset ; then
28188 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28191 if test x$gtk_config_prefix != x ; then
28192 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28193 if test x${GTK_CONFIG+set} != xset ; then
28194 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28198 # Extract the first word of "gtk-config", so it can be a program name with args.
28199 set dummy gtk-config; ac_word=$2
28200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28202 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28203 echo $ECHO_N "(cached) $ECHO_C" >&6
28205 case $GTK_CONFIG in
28207 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28211 for as_dir in $PATH
28214 test -z "$as_dir" && as_dir=.
28215 for ac_exec_ext in '' $ac_executable_extensions; do
28216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28217 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28225 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28229 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28230 if test -n "$GTK_CONFIG"; then
28231 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28232 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28234 { echo "$as_me:$LINENO: result: no" >&5
28235 echo "${ECHO_T}no" >&6; }
28239 min_gtk_version=1.2.7
28240 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28241 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28243 if test "$GTK_CONFIG" = "no" ; then
28246 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28247 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28248 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28249 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28250 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28251 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28252 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28253 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28254 if test "x$enable_gtktest" = "xyes" ; then
28255 ac_save_CFLAGS="$CFLAGS"
28256 ac_save_LIBS="$LIBS"
28257 CFLAGS="$CFLAGS $GTK_CFLAGS"
28258 LIBS="$GTK_LIBS $LIBS"
28260 if test "$cross_compiling" = yes; then
28261 echo $ac_n "cross compiling; assumed OK... $ac_c"
28263 cat >conftest.$ac_ext <<_ACEOF
28266 cat confdefs.h >>conftest.$ac_ext
28267 cat >>conftest.$ac_ext <<_ACEOF
28268 /* end confdefs.h. */
28270 #include <gtk/gtk.h>
28272 #include <stdlib.h>
28277 int major, minor, micro;
28280 system ("touch conf.gtktest");
28282 /* HP/UX 9 (%@#!) writes to sscanf strings */
28283 tmp_version = g_strdup("$min_gtk_version");
28284 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28285 printf("%s, bad version string\n", "$min_gtk_version");
28289 if ((gtk_major_version != $gtk_config_major_version) ||
28290 (gtk_minor_version != $gtk_config_minor_version) ||
28291 (gtk_micro_version != $gtk_config_micro_version))
28293 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28294 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28295 gtk_major_version, gtk_minor_version, gtk_micro_version);
28296 printf ("*** was found! If gtk-config was correct, then it is best\n");
28297 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28298 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28299 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28300 printf("*** required on your system.\n");
28301 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28302 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28303 printf("*** before re-running configure\n");
28305 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28306 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28307 (gtk_minor_version != GTK_MINOR_VERSION) ||
28308 (gtk_micro_version != GTK_MICRO_VERSION))
28310 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28311 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28312 printf("*** library (version %d.%d.%d)\n",
28313 gtk_major_version, gtk_minor_version, gtk_micro_version);
28315 #endif /* defined (GTK_MAJOR_VERSION) ... */
28318 if ((gtk_major_version > major) ||
28319 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28320 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28326 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28327 gtk_major_version, gtk_minor_version, gtk_micro_version);
28328 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28329 major, minor, micro);
28330 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28332 printf("*** If you have already installed a sufficiently new version, this error\n");
28333 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28334 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28335 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28336 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28337 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28338 printf("*** so that the correct libraries are found at run-time))\n");
28345 rm -f conftest$ac_exeext
28346 if { (ac_try="$ac_link"
28347 case "(($ac_try" in
28348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28349 *) ac_try_echo=$ac_try;;
28351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28352 (eval "$ac_link") 2>&5
28354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28355 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28356 { (case "(($ac_try" in
28357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28358 *) ac_try_echo=$ac_try;;
28360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28361 (eval "$ac_try") 2>&5
28363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28364 (exit $ac_status); }; }; then
28367 echo "$as_me: program exited with status $ac_status" >&5
28368 echo "$as_me: failed program was:" >&5
28369 sed 's
/^
/| /' conftest.$ac_ext >&5
28371 ( exit $ac_status )
28374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28378 CFLAGS="$ac_save_CFLAGS"
28379 LIBS="$ac_save_LIBS"
28382 if test "x$no_gtk" = x ; then
28383 { echo "$as_me:$LINENO: result: yes" >&5
28384 echo "${ECHO_T}yes" >&6; }
28385 wx_cv_lib_gtk=1.2.7
28387 { echo "$as_me:$LINENO: result: no" >&5
28388 echo "${ECHO_T}no" >&6; }
28389 if test "$GTK_CONFIG" = "no" ; then
28390 echo "*** The gtk-config script installed by GTK could not be found"
28391 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28392 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28393 echo "*** full path to gtk-config."
28395 if test -f conf.gtktest ; then
28398 echo "*** Could not run GTK test program, checking why..."
28399 CFLAGS="$CFLAGS $GTK_CFLAGS"
28400 LIBS="$LIBS $GTK_LIBS"
28401 cat >conftest.$ac_ext <<_ACEOF
28404 cat confdefs.h >>conftest.$ac_ext
28405 cat >>conftest.$ac_ext <<_ACEOF
28406 /* end confdefs.h. */
28408 #include <gtk/gtk.h>
28414 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28419 rm -f conftest.$ac_objext conftest$ac_exeext
28420 if { (ac_try="$ac_link"
28421 case "(($ac_try" in
28422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28423 *) ac_try_echo=$ac_try;;
28425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28426 (eval "$ac_link") 2>conftest.er1
28428 grep -v '^
*+' conftest.er1 >conftest.err
28430 cat conftest.err >&5
28431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28432 (exit $ac_status); } && {
28433 test -z "$ac_c_werror_flag" ||
28434 test ! -s conftest.err
28435 } && test -s conftest$ac_exeext &&
28436 $as_test_x conftest$ac_exeext; then
28437 echo "*** The test program compiled, but did not run. This usually means"
28438 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28439 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28440 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28441 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28442 echo "*** is required on your system
"
28444 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28445 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28447 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28448 echo "*** came with the system with the
command"
28450 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28452 echo "$as_me: failed program was
:" >&5
28453 sed 's/^/| /' conftest.$ac_ext >&5
28455 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28456 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28457 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28458 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28462 conftest$ac_exeext conftest.$ac_ext
28463 CFLAGS="$ac_save_CFLAGS"
28464 LIBS="$ac_save_LIBS"
28476 if test -z "$wx_cv_lib_gtk"; then
28478 # Check whether --with-gtk-prefix was given.
28479 if test "${with_gtk_prefix+set}" = set; then
28480 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28482 gtk_config_prefix=""
28486 # Check whether --with-gtk-exec-prefix was given.
28487 if test "${with_gtk_exec_prefix+set}" = set; then
28488 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28490 gtk_config_exec_prefix=""
28493 # Check whether --enable-gtktest was given.
28494 if test "${enable_gtktest+set}" = set; then
28495 enableval=$enable_gtktest;
28501 for module in . $GTK_MODULES
28505 gtk_config_args="$gtk_config_args gthread
"
28510 if test x$gtk_config_exec_prefix != x ; then
28511 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28512 if test x${GTK_CONFIG+set} != xset ; then
28513 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28516 if test x$gtk_config_prefix != x ; then
28517 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28518 if test x${GTK_CONFIG+set} != xset ; then
28519 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28523 # Extract the first word of "gtk
-config", so it can be a program name with args.
28524 set dummy gtk-config; ac_word=$2
28525 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28526 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28527 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28528 echo $ECHO_N "(cached
) $ECHO_C" >&6
28530 case $GTK_CONFIG in
28532 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28536 for as_dir in $PATH
28539 test -z "$as_dir" && as_dir=.
28540 for ac_exec_ext in '' $ac_executable_extensions; do
28541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28542 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28543 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28550 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
28554 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28555 if test -n "$GTK_CONFIG"; then
28556 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
28557 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28559 { echo "$as_me:$LINENO: result
: no
" >&5
28560 echo "${ECHO_T}no
" >&6; }
28564 min_gtk_version=1.2.3
28565 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
28566 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
28568 if test "$GTK_CONFIG" = "no
" ; then
28571 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28572 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28573 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28574 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28575 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28576 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28577 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28578 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28579 if test "x
$enable_gtktest" = "xyes
" ; then
28580 ac_save_CFLAGS="$CFLAGS"
28581 ac_save_LIBS="$LIBS"
28582 CFLAGS="$CFLAGS $GTK_CFLAGS"
28583 LIBS="$GTK_LIBS $LIBS"
28585 if test "$cross_compiling" = yes; then
28586 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28588 cat >conftest.$ac_ext <<_ACEOF
28591 cat confdefs.h >>conftest.$ac_ext
28592 cat >>conftest.$ac_ext <<_ACEOF
28593 /* end confdefs.h. */
28595 #include <gtk/gtk.h>
28597 #include <stdlib.h>
28602 int major, minor, micro;
28605 system ("touch conf.gtktest
");
28607 /* HP/UX 9 (%@#!) writes to sscanf strings */
28608 tmp_version = g_strdup("$min_gtk_version");
28609 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28610 printf("%s
, bad version string
\n", "$min_gtk_version");
28614 if ((gtk_major_version != $gtk_config_major_version) ||
28615 (gtk_minor_version != $gtk_config_minor_version) ||
28616 (gtk_micro_version != $gtk_config_micro_version))
28618 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28619 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28620 gtk_major_version, gtk_minor_version, gtk_micro_version);
28621 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
28622 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28623 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28624 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28625 printf("*** required on your system.
\n");
28626 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
28627 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
28628 printf("*** before re
-running configure
\n");
28630 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28631 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28632 (gtk_minor_version != GTK_MINOR_VERSION) ||
28633 (gtk_micro_version != GTK_MICRO_VERSION))
28635 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28636 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28637 printf("*** library
(version
%d.
%d.
%d
)\n",
28638 gtk_major_version, gtk_minor_version, gtk_micro_version);
28640 #endif /* defined (GTK_MAJOR_VERSION) ... */
28643 if ((gtk_major_version > major) ||
28644 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28645 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28651 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28652 gtk_major_version, gtk_minor_version, gtk_micro_version);
28653 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28654 major, minor, micro);
28655 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28657 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28658 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
28659 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28660 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
28661 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
28662 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28663 printf("*** so that the correct libraries are found
at run
-time))\n");
28670 rm -f conftest$ac_exeext
28671 if { (ac_try="$ac_link"
28672 case "(($ac_try" in
28673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28674 *) ac_try_echo=$ac_try;;
28676 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28677 (eval "$ac_link") 2>&5
28679 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28680 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28681 { (case "(($ac_try" in
28682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28683 *) ac_try_echo=$ac_try;;
28685 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28686 (eval "$ac_try") 2>&5
28688 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28689 (exit $ac_status); }; }; then
28692 echo "$as_me: program exited with status
$ac_status" >&5
28693 echo "$as_me: failed program was
:" >&5
28694 sed 's/^/| /' conftest.$ac_ext >&5
28696 ( exit $ac_status )
28699 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28703 CFLAGS="$ac_save_CFLAGS"
28704 LIBS="$ac_save_LIBS"
28707 if test "x
$no_gtk" = x ; then
28708 { echo "$as_me:$LINENO: result
: yes" >&5
28709 echo "${ECHO_T}yes" >&6; }
28710 wx_cv_lib_gtk=1.2.3
28712 { echo "$as_me:$LINENO: result
: no
" >&5
28713 echo "${ECHO_T}no
" >&6; }
28714 if test "$GTK_CONFIG" = "no
" ; then
28715 echo "*** The gtk
-config script installed by GTK could not be found
"
28716 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
28717 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
28718 echo "*** full path to gtk
-config.
"
28720 if test -f conf.gtktest ; then
28723 echo "*** Could not run GTK
test program
, checking why...
"
28724 CFLAGS="$CFLAGS $GTK_CFLAGS"
28725 LIBS="$LIBS $GTK_LIBS"
28726 cat >conftest.$ac_ext <<_ACEOF
28729 cat confdefs.h >>conftest.$ac_ext
28730 cat >>conftest.$ac_ext <<_ACEOF
28731 /* end confdefs.h. */
28733 #include <gtk/gtk.h>
28739 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28744 rm -f conftest.$ac_objext conftest$ac_exeext
28745 if { (ac_try="$ac_link"
28746 case "(($ac_try" in
28747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28748 *) ac_try_echo=$ac_try;;
28750 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28751 (eval "$ac_link") 2>conftest.er1
28753 grep -v '^ *+' conftest.er1 >conftest.err
28755 cat conftest.err >&5
28756 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28757 (exit $ac_status); } && {
28758 test -z "$ac_c_werror_flag" ||
28759 test ! -s conftest.err
28760 } && test -s conftest$ac_exeext &&
28761 $as_test_x conftest$ac_exeext; then
28762 echo "*** The
test program compiled
, but did not run. This usually means
"
28763 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
28764 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
28765 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28766 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28767 echo "*** is required on your system"
28769 echo "*** If you have an old version installed, it is best to remove it, although"
28770 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28772 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28773 echo "*** came with the system with the command"
28775 echo "*** rpm --erase --nodeps gtk gtk-devel"
28777 echo "$as_me: failed program was:" >&5
28778 sed 's
/^
/| /' conftest.$ac_ext >&5
28780 echo "*** The test program failed to compile or link. See the file config.log for the"
28781 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28782 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28783 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28787 conftest$ac_exeext conftest.$ac_ext
28788 CFLAGS="$ac_save_CFLAGS"
28789 LIBS="$ac_save_LIBS"
28804 if test -z "$wx_cv_lib_gtk"; then
28807 wx_cv_cflags_gtk=$GTK_CFLAGS
28808 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
28815 if test "$gtk_version_cached" = 1; then
28816 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28817 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28820 case "$wx_cv_lib_gtk" in
28829 *) { { echo "$as_me:$LINENO: error:
28830 The development files for GTK+ were not found. For GTK+ 2, please
28831 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28832 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28833 and that the version is 1.2.3 or above. Also check that the
28834 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28835 --libs' are in the LD_LIBRARY_PATH or equivalent.
28837 echo "$as_me: error:
28838 The development files for GTK+ were not found. For GTK+ 2, please
28839 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28840 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28841 and that the version is 1.2.3 or above. Also check that the
28842 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28843 --libs' are in the LD_LIBRARY_PATH or equivalent.
28845 { (exit 1); exit 1; }; }
28849 if test "$WXGTK2" = 1; then
28850 save_CFLAGS="$CFLAGS"
28852 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28853 LIBS="$LIBS $wx_cv_libs_gtk"
28855 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28856 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28857 cat >conftest.$ac_ext <<_ACEOF
28860 cat confdefs.h >>conftest.$ac_ext
28861 cat >>conftest.$ac_ext <<_ACEOF
28862 /* end confdefs.h. */
28864 #include <gtk/gtk.h>
28870 #if !GTK_CHECK_VERSION(2,10,0)
28878 rm -f conftest.$ac_objext
28879 if { (ac_try="$ac_compile"
28880 case "(($ac_try" in
28881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28882 *) ac_try_echo=$ac_try;;
28884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28885 (eval "$ac_compile") 2>conftest.er1
28887 grep -v '^
*+' conftest.er1 >conftest.err
28889 cat conftest.err >&5
28890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28891 (exit $ac_status); } && {
28892 test -z "$ac_c_werror_flag" ||
28893 test ! -s conftest.err
28894 } && test -s conftest.$ac_objext; then
28896 cat >>confdefs.h <<\_ACEOF
28897 #define __WXGTK210__ 1
28900 cat >>confdefs.h <<\_ACEOF
28901 #define __WXGTK26__ 1
28904 { echo "$as_me:$LINENO: result: yes" >&5
28905 echo "${ECHO_T}yes" >&6; }
28909 echo "$as_me: failed program was:" >&5
28910 sed 's
/^
/| /' conftest.$ac_ext >&5
28913 { echo "$as_me:$LINENO: result: no" >&5
28914 echo "${ECHO_T}no" >&6; }
28919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28921 if test "$ac_wxgtk210" = 0; then
28922 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28923 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28924 cat >conftest.$ac_ext <<_ACEOF
28927 cat confdefs.h >>conftest.$ac_ext
28928 cat >>conftest.$ac_ext <<_ACEOF
28929 /* end confdefs.h. */
28931 #include <gtk/gtk.h>
28937 #if !GTK_CHECK_VERSION(2,6,0)
28945 rm -f conftest.$ac_objext
28946 if { (ac_try="$ac_compile"
28947 case "(($ac_try" in
28948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28949 *) ac_try_echo=$ac_try;;
28951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28952 (eval "$ac_compile") 2>conftest.er1
28954 grep -v '^
*+' conftest.er1 >conftest.err
28956 cat conftest.err >&5
28957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28958 (exit $ac_status); } && {
28959 test -z "$ac_c_werror_flag" ||
28960 test ! -s conftest.err
28961 } && test -s conftest.$ac_objext; then
28963 cat >>confdefs.h <<\_ACEOF
28964 #define __WXGTK26__ 1
28967 { echo "$as_me:$LINENO: result: yes" >&5
28968 echo "${ECHO_T}yes" >&6; }
28972 echo "$as_me: failed program was:" >&5
28973 sed 's
/^
/| /' conftest.$ac_ext >&5
28976 { echo "$as_me:$LINENO: result: no" >&5
28977 echo "${ECHO_T}no" >&6; }
28982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28985 CFLAGS="$save_CFLAGS"
28988 if test "$wxUSE_UNICODE" = "yes"; then
28989 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28990 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28994 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28995 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28996 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28997 echo $ECHO_N "(cached) $ECHO_C" >&6
28999 ac_check_lib_save_LIBS=$LIBS
29001 cat >conftest.$ac_ext <<_ACEOF
29004 cat confdefs.h >>conftest.$ac_ext
29005 cat >>conftest.$ac_ext <<_ACEOF
29006 /* end confdefs.h. */
29008 /* Override any GCC internal prototype to avoid an error.
29009 Use char because int might match the return type of a GCC
29010 builtin and then its argument prototype would still apply. */
29014 char gdk_im_open ();
29018 return gdk_im_open ();
29023 rm -f conftest.$ac_objext conftest$ac_exeext
29024 if { (ac_try="$ac_link"
29025 case "(($ac_try" in
29026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29027 *) ac_try_echo=$ac_try;;
29029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29030 (eval "$ac_link") 2>conftest.er1
29032 grep -v '^
*+' conftest.er1 >conftest.err
29034 cat conftest.err >&5
29035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29036 (exit $ac_status); } && {
29037 test -z "$ac_c_werror_flag" ||
29038 test ! -s conftest.err
29039 } && test -s conftest$ac_exeext &&
29040 $as_test_x conftest$ac_exeext; then
29041 ac_cv_lib_gdk_gdk_im_open=yes
29043 echo "$as_me: failed program was:" >&5
29044 sed 's
/^
/| /' conftest.$ac_ext >&5
29046 ac_cv_lib_gdk_gdk_im_open=no
29049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29050 conftest$ac_exeext conftest.$ac_ext
29051 LIBS=$ac_check_lib_save_LIBS
29053 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29054 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29055 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29056 cat >>confdefs.h <<\_ACEOF
29063 if test "$USE_DARWIN" != 1; then
29065 for ac_func in poll
29067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29068 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29070 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29071 echo $ECHO_N "(cached) $ECHO_C" >&6
29073 cat >conftest.$ac_ext <<_ACEOF
29076 cat confdefs.h >>conftest.$ac_ext
29077 cat >>conftest.$ac_ext <<_ACEOF
29078 /* end confdefs.h. */
29079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29081 #define $ac_func innocuous_$ac_func
29083 /* System header to define __stub macros and hopefully few prototypes,
29084 which can conflict with char $ac_func (); below.
29085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29086 <limits.h> exists even on freestanding compilers. */
29089 # include <limits.h>
29091 # include <assert.h>
29096 /* Override any GCC internal prototype to avoid an error.
29097 Use char because int might match the return type of a GCC
29098 builtin and then its argument prototype would still apply. */
29103 /* The GNU C library defines this for functions which it implements
29104 to always fail with ENOSYS. Some functions are actually named
29105 something starting with __ and the normal name is an alias. */
29106 #if defined __stub_$ac_func || defined __stub___$ac_func
29113 return $ac_func ();
29118 rm -f conftest.$ac_objext conftest$ac_exeext
29119 if { (ac_try="$ac_link"
29120 case "(($ac_try" in
29121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29122 *) ac_try_echo=$ac_try;;
29124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29125 (eval "$ac_link") 2>conftest.er1
29127 grep -v '^
*+' conftest.er1 >conftest.err
29129 cat conftest.err >&5
29130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29131 (exit $ac_status); } && {
29132 test -z "$ac_c_werror_flag" ||
29133 test ! -s conftest.err
29134 } && test -s conftest$ac_exeext &&
29135 $as_test_x conftest$ac_exeext; then
29136 eval "$as_ac_var=yes"
29138 echo "$as_me: failed program was:" >&5
29139 sed 's
/^
/| /' conftest.$ac_ext >&5
29141 eval "$as_ac_var=no"
29144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29145 conftest$ac_exeext conftest.$ac_ext
29147 ac_res=`eval echo '${'$as_ac_var'}'`
29148 { echo "$as_me:$LINENO: result: $ac_res" >&5
29149 echo "${ECHO_T}$ac_res" >&6; }
29150 if test `eval echo '${'$as_ac_var'}'` = yes; then
29151 cat >>confdefs.h <<_ACEOF
29152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29161 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29162 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29164 AFMINSTALL=afminstall
29168 if test "$wxUSE_GPE" = "yes"; then
29169 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29170 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29173 for ac_dir in $SEARCH_LIB;
29175 for ac_extension in a so sl dylib dll.a; do
29176 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29177 ac_find_libraries=$ac_dir
29183 if test "$ac_find_libraries" != "" ; then
29185 if test "$ac_find_libraries" = "default location"; then
29188 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29190 if test $result = 0; then
29193 ac_path_to_link=" -L$ac_find_libraries"
29197 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29199 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29200 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29202 { echo "$as_me:$LINENO: result: not found" >&5
29203 echo "${ECHO_T}not found" >&6; }
29209 if test "$wxUSE_MGL" = 1; then
29210 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29211 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29212 if test "x$MGL_ROOT" = x ; then
29213 { echo "$as_me:$LINENO: result: not found" >&5
29214 echo "${ECHO_T}not found" >&6; }
29215 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29216 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29217 { (exit 1); exit 1; }; }
29219 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29220 echo "${ECHO_T}$MGL_ROOT" >&6; }
29223 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29224 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29227 if test "x$wxUSE_SHARED" = xyes ; then
29228 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29230 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29234 mgl_os_candidates="dos32/dj2"
29237 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29238 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29239 { (exit 1); exit 1; }; }
29245 for mgl_os_i in $mgl_os_candidates ; do
29246 if test "x$mgl_os" = x ; then
29247 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29248 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29249 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29254 if test "x$mgl_lib_type" = x ; then
29255 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29256 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29257 mgl_lib_type=release
29264 if test "x$mgl_os" = x ; then
29265 { echo "$as_me:$LINENO: result: not found" >&5
29266 echo "${ECHO_T}not found" >&6; }
29267 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29268 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29269 { (exit 1); exit 1; }; }
29271 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29272 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29274 wxUSE_UNIVERSAL="yes"
29276 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29277 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29279 AFMINSTALL=afminstall
29284 if test "$wxUSE_DFB" = 1; then
29287 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29288 if test -n "$ac_tool_prefix"; then
29289 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29290 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29293 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29294 echo $ECHO_N "(cached) $ECHO_C" >&6
29296 case $PKG_CONFIG in
29298 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29302 for as_dir in $PATH
29305 test -z "$as_dir" && as_dir=.
29306 for ac_exec_ext in '' $ac_executable_extensions; do
29307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29308 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29319 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29320 if test -n "$PKG_CONFIG"; then
29321 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29322 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29324 { echo "$as_me:$LINENO: result: no" >&5
29325 echo "${ECHO_T}no" >&6; }
29330 if test -z "$ac_cv_path_PKG_CONFIG"; then
29331 ac_pt_PKG_CONFIG=$PKG_CONFIG
29332 # Extract the first word of "pkg-config", so it can be a program name with args.
29333 set dummy pkg-config; ac_word=$2
29334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29336 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29337 echo $ECHO_N "(cached) $ECHO_C" >&6
29339 case $ac_pt_PKG_CONFIG in
29341 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29345 for as_dir in $PATH
29348 test -z "$as_dir" && as_dir=.
29349 for ac_exec_ext in '' $ac_executable_extensions; do
29350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29351 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29362 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29363 if test -n "$ac_pt_PKG_CONFIG"; then
29364 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29365 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29367 { echo "$as_me:$LINENO: result: no" >&5
29368 echo "${ECHO_T}no" >&6; }
29371 if test "x$ac_pt_PKG_CONFIG" = x; then
29374 case $cross_compiling:$ac_tool_warned in
29376 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29377 whose name does not start with the host triplet. If you think this
29378 configuration is useful to you, please write to autoconf@gnu.org." >&5
29379 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29380 whose name does not start with the host triplet. If you think this
29381 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29382 ac_tool_warned=yes ;;
29384 PKG_CONFIG=$ac_pt_PKG_CONFIG
29387 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29391 if test -n "$PKG_CONFIG"; then
29392 _pkg_min_version=0.9.0
29393 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29394 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29395 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29396 { echo "$as_me:$LINENO: result: yes" >&5
29397 echo "${ECHO_T}yes" >&6; }
29399 { echo "$as_me:$LINENO: result: no" >&5
29400 echo "${ECHO_T}no" >&6; }
29408 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29409 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29411 if test -n "$PKG_CONFIG"; then
29412 if test -n "$DIRECTFB_CFLAGS"; then
29413 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29415 if test -n "$PKG_CONFIG" && \
29416 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29417 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29420 (exit $ac_status); }; then
29421 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29429 if test -n "$PKG_CONFIG"; then
29430 if test -n "$DIRECTFB_LIBS"; then
29431 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29433 if test -n "$PKG_CONFIG" && \
29434 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29435 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29438 (exit $ac_status); }; then
29439 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29450 if test $pkg_failed = yes; then
29452 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29453 _pkg_short_errors_supported=yes
29455 _pkg_short_errors_supported=no
29457 if test $_pkg_short_errors_supported = yes; then
29458 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29460 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29462 # Put the nasty error message in config.log where it belongs
29463 echo "$DIRECTFB_PKG_ERRORS" >&5
29466 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29467 echo "$as_me: error: DirectFB not found." >&2;}
29468 { (exit 1); exit 1; }; }
29471 elif test $pkg_failed = untried; then
29473 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29474 echo "$as_me: error: DirectFB not found." >&2;}
29475 { (exit 1); exit 1; }; }
29479 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29480 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29481 { echo "$as_me:$LINENO: result: yes" >&5
29482 echo "${ECHO_T}yes" >&6; }
29484 wxUSE_UNIVERSAL="yes"
29485 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29486 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29493 if test "$wxUSE_MICROWIN" = 1; then
29494 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29495 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29496 if test "x$MICROWINDOWS" = x ; then
29497 { echo "$as_me:$LINENO: result: not found" >&5
29498 echo "${ECHO_T}not found" >&6; }
29499 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29500 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29501 { (exit 1); exit 1; }; }
29503 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29504 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29507 if test -f $MICROWINDOWS/lib/libmwin.a; then
29508 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29509 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29511 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29512 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29513 { (exit 1); exit 1; }; }
29516 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29517 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29519 wxUSE_UNIVERSAL="yes"
29521 AFMINSTALL=afminstall
29523 GUIDIST=MICROWIN_DIST
29525 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29528 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29529 { echo "$as_me:$LINENO: checking for X" >&5
29530 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29533 # Check whether --with-x was given.
29534 if test "${with_x+set}" = set; then
29538 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
29539 if test "x$with_x" = xno; then
29540 # The user explicitly disabled X.
29543 case $x_includes,$x_libraries in #(
29544 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29545 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
29546 { (exit 1); exit 1; }; };; #(
29547 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29548 echo $ECHO_N "(cached) $ECHO_C" >&6
29550 # One or both of the vars are not set, and there is no cached value.
29551 ac_x_includes=no ac_x_libraries=no
29552 rm -f -r conftest.dir
29553 if mkdir conftest.dir; then
29555 cat >Imakefile <<'_ACEOF'
29557 @echo incroot='${INCROOT}'
29559 @echo usrlibdir='${USRLIBDIR}'
29561 @echo libdir='${LIBDIR}'
29563 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29564 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29565 for ac_var in incroot usrlibdir libdir; do
29566 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
29568 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29569 for ac_extension in a so sl; do
29570 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29571 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29572 ac_im_usrlibdir=$ac_im_libdir; break
29575 # Screen out bogus values from the imake configuration. They are
29576 # bogus both because they are the default anyway, and because
29577 # using them would break gcc on systems where it needs fixed includes.
29578 case $ac_im_incroot in
29579 /usr/include) ac_x_includes= ;;
29580 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29582 case $ac_im_usrlibdir in
29583 /usr/lib | /lib) ;;
29584 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29588 rm -f -r conftest.dir
29591 # Standard set of common directories for X headers.
29592 # Check X11 before X11Rn because it is often a symlink to the current release.
29604 /usr
/local
/X
11/include
29605 /usr
/local
/X
11R
6/include
29606 /usr
/local
/X
11R
5/include
29607 /usr
/local
/X
11R
4/include
29609 /usr
/local
/include
/X11
29610 /usr
/local
/include
/X11R6
29611 /usr
/local
/include
/X11R5
29612 /usr
/local
/include
/X11R4
29616 /usr
/XFree
86/include
/X11
29620 /usr
/unsupported
/include
29621 /usr
/athena
/include
29622 /usr
/local
/x
11r
5/include
29623 /usr
/lpp
/Xamples
/include
29625 /usr
/openwin
/include
29626 /usr
/openwin
/share
/include
'
29628 if test "$ac_x_includes" = no; then
29629 # Guess where to find include files, by looking for Xlib.h.
29630 # First, try using that file with no special directory specified.
29631 cat >conftest.$ac_ext <<_ACEOF
29634 cat confdefs.h >>conftest.$ac_ext
29635 cat >>conftest.$ac_ext <<_ACEOF
29636 /* end confdefs.h. */
29637 #include <X11/Xlib.h>
29639 if { (ac_try="$ac_cpp conftest.$ac_ext"
29640 case "(($ac_try" in
29641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29642 *) ac_try_echo=$ac_try;;
29644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29645 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29647 grep -v '^
*+' conftest.er1 >conftest.err
29649 cat conftest.err >&5
29650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 (exit $ac_status); } >/dev/null && {
29652 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29653 test ! -s conftest.err
29655 # We can compile using X headers with no special include directory.
29658 echo "$as_me: failed program was:" >&5
29659 sed 's
/^
/| /' conftest.$ac_ext >&5
29661 for ac_dir in $ac_x_header_dirs; do
29662 if test -r "$ac_dir/X11/Xlib.h"; then
29663 ac_x_includes=$ac_dir
29669 rm -f conftest.err conftest.$ac_ext
29670 fi # $ac_x_includes = no
29672 if test "$ac_x_libraries" = no; then
29673 # Check for the libraries.
29674 # See if we find them without any special options.
29675 # Don't add to
$LIBS permanently.
29678 cat >conftest.
$ac_ext <<_ACEOF
29681 cat confdefs.h
>>conftest.
$ac_ext
29682 cat >>conftest.
$ac_ext <<_ACEOF
29683 /* end confdefs.h. */
29684 #include <X11/Xlib.h>
29693 rm -f conftest.
$ac_objext conftest
$ac_exeext
29694 if { (ac_try
="$ac_link"
29695 case "(($ac_try" in
29696 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29697 *) ac_try_echo=$ac_try;;
29699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29700 (eval "$ac_link") 2>conftest.er1
29702 grep -v '^ *+' conftest.er1 >conftest.err
29704 cat conftest.err >&5
29705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29706 (exit $ac_status); } && {
29707 test -z "$ac_c_werror_flag" ||
29708 test ! -s conftest.err
29709 } && test -s conftest$ac_exeext &&
29710 $as_test_x conftest$ac_exeext; then
29712 # We can link X programs with no special library path.
29715 echo "$as_me: failed program was:" >&5
29716 sed 's/^/| /' conftest.$ac_ext >&5
29719 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
29721 # Don't even attempt the hair of trying to link an X program!
29722 for ac_extension in a so sl; do
29723 if test -r "$ac_dir/libX11.$ac_extension"; then
29724 ac_x_libraries=$ac_dir
29731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29732 conftest$ac_exeext conftest.$ac_ext
29733 fi # $ac_x_libraries = no
29735 case $ac_x_includes,$ac_x_libraries in #(
29736 no,* | *,no | *\'*)
29737 # Didn't find X, or a directory has "'" in its name.
29738 ac_cv_have_x="have_x=no";; #(
29740 # Record where we found X for the cache.
29741 ac_cv_have_x="have_x=yes\
29742 ac_x_includes='$ac_x_includes'\
29743 ac_x_libraries='$ac_x_libraries'"
29749 eval "$ac_cv_have_x"
29752 if test "$have_x" != yes; then
29753 { echo "$as_me:$LINENO: result: $have_x" >&5
29754 echo "${ECHO_T}$have_x" >&6; }
29757 # If each of the values was on the command line, it overrides each guess.
29758 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29759 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29760 # Update the cache value to reflect the command line values.
29761 ac_cv_have_x="have_x=yes\
29762 ac_x_includes='$x_includes'\
29763 ac_x_libraries='$x_libraries'"
29764 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29765 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29768 if test "$no_x" = yes; then
29769 # Not all programs may use this symbol, but it does not hurt to define it.
29771 cat >>confdefs.h <<\_ACEOF
29772 #define X_DISPLAY_MISSING 1
29775 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29777 if test -n "$x_includes"; then
29778 X_CFLAGS="$X_CFLAGS -I$x_includes"
29781 # It would also be nice to do this for all -L options, not just this one.
29782 if test -n "$x_libraries"; then
29783 X_LIBS="$X_LIBS -L$x_libraries"
29784 # For Solaris; some versions of Sun CC require a space after -R and
29785 # others require no space. Words are not sufficient . . . .
29786 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29787 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29788 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29789 ac_xsave_c_werror_flag=$ac_c_werror_flag
29790 ac_c_werror_flag=yes
29791 cat >conftest.$ac_ext <<_ACEOF
29794 cat confdefs.h >>conftest.$ac_ext
29795 cat >>conftest.$ac_ext <<_ACEOF
29796 /* end confdefs.h. */
29806 rm -f conftest.$ac_objext conftest$ac_exeext
29807 if { (ac_try="$ac_link"
29808 case "(($ac_try" in
29809 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29810 *) ac_try_echo
=$ac_try;;
29812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29813 (eval "$ac_link") 2>conftest.er1
29815 grep -v '^ *+' conftest.er1
>conftest.err
29817 cat conftest.err
>&5
29818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29819 (exit $ac_status); } && {
29820 test -z "$ac_c_werror_flag" ||
29821 test ! -s conftest.err
29822 } && test -s conftest
$ac_exeext &&
29823 $as_test_x conftest
$ac_exeext; then
29824 { echo "$as_me:$LINENO: result: no" >&5
29825 echo "${ECHO_T}no" >&6; }
29826 X_LIBS
="$X_LIBS -R$x_libraries"
29828 echo "$as_me: failed program was:" >&5
29829 sed 's/^/| /' conftest.
$ac_ext >&5
29831 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29832 cat >conftest.
$ac_ext <<_ACEOF
29835 cat confdefs.h
>>conftest.
$ac_ext
29836 cat >>conftest.
$ac_ext <<_ACEOF
29837 /* end confdefs.h. */
29847 rm -f conftest.
$ac_objext conftest
$ac_exeext
29848 if { (ac_try
="$ac_link"
29849 case "(($ac_try" in
29850 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29851 *) ac_try_echo=$ac_try;;
29853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29854 (eval "$ac_link") 2>conftest.er1
29856 grep -v '^ *+' conftest.er1 >conftest.err
29858 cat conftest.err >&5
29859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29860 (exit $ac_status); } && {
29861 test -z "$ac_c_werror_flag" ||
29862 test ! -s conftest.err
29863 } && test -s conftest$ac_exeext &&
29864 $as_test_x conftest$ac_exeext; then
29865 { echo "$as_me:$LINENO: result: yes" >&5
29866 echo "${ECHO_T}yes" >&6; }
29867 X_LIBS="$X_LIBS -R $x_libraries"
29869 echo "$as_me: failed program was:" >&5
29870 sed 's/^/| /' conftest.$ac_ext >&5
29872 { echo "$as_me:$LINENO: result: neither works" >&5
29873 echo "${ECHO_T}neither works" >&6; }
29876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29877 conftest$ac_exeext conftest.$ac_ext
29880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29881 conftest$ac_exeext conftest.$ac_ext
29882 ac_c_werror_flag=$ac_xsave_c_werror_flag
29883 LIBS=$ac_xsave_LIBS
29886 # Check for system-dependent libraries X programs must link with.
29887 # Do this before checking for the system-independent R6 libraries
29888 # (-lICE), since we may need -lsocket or whatever for X linking.
29890 if test "$ISC" = yes; then
29891 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29893 # Martyn Johnson says this is needed for Ultrix, if the X
29894 # libraries were built with DECnet support. And Karl Berry says
29895 # the Alpha needs dnet_stub (dnet does not exist).
29896 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29897 cat >conftest.$ac_ext <<_ACEOF
29900 cat confdefs.h >>conftest.$ac_ext
29901 cat >>conftest.$ac_ext <<_ACEOF
29902 /* end confdefs.h. */
29904 /* Override any GCC internal prototype to avoid an error.
29905 Use char because int might match the return type of a GCC
29906 builtin and then its argument prototype would still apply. */
29910 char XOpenDisplay ();
29914 return XOpenDisplay ();
29919 rm -f conftest.$ac_objext conftest$ac_exeext
29920 if { (ac_try="$ac_link"
29921 case "(($ac_try" in
29922 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29923 *) ac_try_echo
=$ac_try;;
29925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29926 (eval "$ac_link") 2>conftest.er1
29928 grep -v '^ *+' conftest.er1
>conftest.err
29930 cat conftest.err
>&5
29931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29932 (exit $ac_status); } && {
29933 test -z "$ac_c_werror_flag" ||
29934 test ! -s conftest.err
29935 } && test -s conftest
$ac_exeext &&
29936 $as_test_x conftest
$ac_exeext; then
29939 echo "$as_me: failed program was:" >&5
29940 sed 's/^/| /' conftest.
$ac_ext >&5
29942 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29943 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29944 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29945 echo $ECHO_N "(cached) $ECHO_C" >&6
29947 ac_check_lib_save_LIBS
=$LIBS
29948 LIBS
="-ldnet $LIBS"
29949 cat >conftest.
$ac_ext <<_ACEOF
29952 cat confdefs.h
>>conftest.
$ac_ext
29953 cat >>conftest.
$ac_ext <<_ACEOF
29954 /* end confdefs.h. */
29956 /* Override any GCC internal prototype to avoid an error.
29957 Use char because int might match the return type of a GCC
29958 builtin and then its argument prototype would still apply. */
29966 return dnet_ntoa ();
29971 rm -f conftest.
$ac_objext conftest
$ac_exeext
29972 if { (ac_try
="$ac_link"
29973 case "(($ac_try" in
29974 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29975 *) ac_try_echo=$ac_try;;
29977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29978 (eval "$ac_link") 2>conftest.er1
29980 grep -v '^ *+' conftest.er1 >conftest.err
29982 cat conftest.err >&5
29983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29984 (exit $ac_status); } && {
29985 test -z "$ac_c_werror_flag" ||
29986 test ! -s conftest.err
29987 } && test -s conftest$ac_exeext &&
29988 $as_test_x conftest$ac_exeext; then
29989 ac_cv_lib_dnet_dnet_ntoa=yes
29991 echo "$as_me: failed program was:" >&5
29992 sed 's/^/| /' conftest.$ac_ext >&5
29994 ac_cv_lib_dnet_dnet_ntoa=no
29997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29998 conftest$ac_exeext conftest.$ac_ext
29999 LIBS=$ac_check_lib_save_LIBS
30001 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30002 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30003 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30004 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30007 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30008 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30009 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30010 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30011 echo $ECHO_N "(cached) $ECHO_C" >&6
30013 ac_check_lib_save_LIBS=$LIBS
30014 LIBS="-ldnet_stub $LIBS"
30015 cat >conftest.$ac_ext <<_ACEOF
30018 cat confdefs.h >>conftest.$ac_ext
30019 cat >>conftest.$ac_ext <<_ACEOF
30020 /* end confdefs.h. */
30022 /* Override any GCC internal prototype to avoid an error.
30023 Use char because int might match the return type of a GCC
30024 builtin and then its argument prototype would still apply. */
30032 return dnet_ntoa ();
30037 rm -f conftest.$ac_objext conftest$ac_exeext
30038 if { (ac_try="$ac_link"
30039 case "(($ac_try" in
30040 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30041 *) ac_try_echo
=$ac_try;;
30043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30044 (eval "$ac_link") 2>conftest.er1
30046 grep -v '^ *+' conftest.er1
>conftest.err
30048 cat conftest.err
>&5
30049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30050 (exit $ac_status); } && {
30051 test -z "$ac_c_werror_flag" ||
30052 test ! -s conftest.err
30053 } && test -s conftest
$ac_exeext &&
30054 $as_test_x conftest
$ac_exeext; then
30055 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30057 echo "$as_me: failed program was:" >&5
30058 sed 's/^/| /' conftest.
$ac_ext >&5
30060 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30063 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30064 conftest
$ac_exeext conftest.
$ac_ext
30065 LIBS
=$ac_check_lib_save_LIBS
30067 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30068 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30069 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30070 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30076 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30077 conftest
$ac_exeext conftest.
$ac_ext
30078 LIBS
="$ac_xsave_LIBS"
30080 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30081 # to get the SysV transport functions.
30082 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30084 # The nsl library prevents programs from opening the X display
30085 # on Irix 5.2, according to T.E. Dickey.
30086 # The functions gethostbyname, getservbyname, and inet_addr are
30087 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30088 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30089 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30090 if test "${ac_cv_func_gethostbyname+set}" = set; then
30091 echo $ECHO_N "(cached) $ECHO_C" >&6
30093 cat >conftest.
$ac_ext <<_ACEOF
30096 cat confdefs.h
>>conftest.
$ac_ext
30097 cat >>conftest.
$ac_ext <<_ACEOF
30098 /* end confdefs.h. */
30099 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30101 #define gethostbyname innocuous_gethostbyname
30103 /* System header to define __stub macros and hopefully few prototypes,
30104 which can conflict with char gethostbyname (); below.
30105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30106 <limits.h> exists even on freestanding compilers. */
30109 # include <limits.h>
30111 # include <assert.h>
30114 #undef gethostbyname
30116 /* Override any GCC internal prototype to avoid an error.
30117 Use char because int might match the return type of a GCC
30118 builtin and then its argument prototype would still apply. */
30122 char gethostbyname ();
30123 /* The GNU C library defines this for functions which it implements
30124 to always fail with ENOSYS. Some functions are actually named
30125 something starting with __ and the normal name is an alias. */
30126 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30133 return gethostbyname ();
30138 rm -f conftest.
$ac_objext conftest
$ac_exeext
30139 if { (ac_try
="$ac_link"
30140 case "(($ac_try" in
30141 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30142 *) ac_try_echo=$ac_try;;
30144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30145 (eval "$ac_link") 2>conftest.er1
30147 grep -v '^ *+' conftest.er1 >conftest.err
30149 cat conftest.err >&5
30150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30151 (exit $ac_status); } && {
30152 test -z "$ac_c_werror_flag" ||
30153 test ! -s conftest.err
30154 } && test -s conftest$ac_exeext &&
30155 $as_test_x conftest$ac_exeext; then
30156 ac_cv_func_gethostbyname=yes
30158 echo "$as_me: failed program was:" >&5
30159 sed 's/^/| /' conftest.$ac_ext >&5
30161 ac_cv_func_gethostbyname=no
30164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30165 conftest$ac_exeext conftest.$ac_ext
30167 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30168 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30170 if test $ac_cv_func_gethostbyname = no; then
30171 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30172 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30173 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30174 echo $ECHO_N "(cached) $ECHO_C" >&6
30176 ac_check_lib_save_LIBS=$LIBS
30178 cat >conftest.$ac_ext <<_ACEOF
30181 cat confdefs.h >>conftest.$ac_ext
30182 cat >>conftest.$ac_ext <<_ACEOF
30183 /* end confdefs.h. */
30185 /* Override any GCC internal prototype to avoid an error.
30186 Use char because int might match the return type of a GCC
30187 builtin and then its argument prototype would still apply. */
30191 char gethostbyname ();
30195 return gethostbyname ();
30200 rm -f conftest.$ac_objext conftest$ac_exeext
30201 if { (ac_try="$ac_link"
30202 case "(($ac_try" in
30203 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30204 *) ac_try_echo
=$ac_try;;
30206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30207 (eval "$ac_link") 2>conftest.er1
30209 grep -v '^ *+' conftest.er1
>conftest.err
30211 cat conftest.err
>&5
30212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213 (exit $ac_status); } && {
30214 test -z "$ac_c_werror_flag" ||
30215 test ! -s conftest.err
30216 } && test -s conftest
$ac_exeext &&
30217 $as_test_x conftest
$ac_exeext; then
30218 ac_cv_lib_nsl_gethostbyname
=yes
30220 echo "$as_me: failed program was:" >&5
30221 sed 's/^/| /' conftest.
$ac_ext >&5
30223 ac_cv_lib_nsl_gethostbyname
=no
30226 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30227 conftest
$ac_exeext conftest.
$ac_ext
30228 LIBS
=$ac_check_lib_save_LIBS
30230 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30231 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30232 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30233 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30236 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30237 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30238 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30239 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30240 echo $ECHO_N "(cached) $ECHO_C" >&6
30242 ac_check_lib_save_LIBS
=$LIBS
30244 cat >conftest.
$ac_ext <<_ACEOF
30247 cat confdefs.h
>>conftest.
$ac_ext
30248 cat >>conftest.
$ac_ext <<_ACEOF
30249 /* end confdefs.h. */
30251 /* Override any GCC internal prototype to avoid an error.
30252 Use char because int might match the return type of a GCC
30253 builtin and then its argument prototype would still apply. */
30257 char gethostbyname ();
30261 return gethostbyname ();
30266 rm -f conftest.
$ac_objext conftest
$ac_exeext
30267 if { (ac_try
="$ac_link"
30268 case "(($ac_try" in
30269 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30270 *) ac_try_echo=$ac_try;;
30272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30273 (eval "$ac_link") 2>conftest.er1
30275 grep -v '^ *+' conftest.er1 >conftest.err
30277 cat conftest.err >&5
30278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30279 (exit $ac_status); } && {
30280 test -z "$ac_c_werror_flag" ||
30281 test ! -s conftest.err
30282 } && test -s conftest$ac_exeext &&
30283 $as_test_x conftest$ac_exeext; then
30284 ac_cv_lib_bsd_gethostbyname=yes
30286 echo "$as_me: failed program was:" >&5
30287 sed 's/^/| /' conftest.$ac_ext >&5
30289 ac_cv_lib_bsd_gethostbyname=no
30292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30293 conftest$ac_exeext conftest.$ac_ext
30294 LIBS=$ac_check_lib_save_LIBS
30296 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30297 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30298 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30299 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30305 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30306 # socket/setsockopt and other routines are undefined under SCO ODT
30307 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30308 # on later versions), says Simon Leinen: it contains gethostby*
30309 # variants that don't use the name server (or something). -lsocket
30310 # must be given before -lnsl if both are needed. We assume that
30311 # if connect needs -lnsl, so does gethostbyname.
30312 { echo "$as_me:$LINENO: checking for connect" >&5
30313 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30314 if test "${ac_cv_func_connect+set}" = set; then
30315 echo $ECHO_N "(cached) $ECHO_C" >&6
30317 cat >conftest.$ac_ext <<_ACEOF
30320 cat confdefs.h >>conftest.$ac_ext
30321 cat >>conftest.$ac_ext <<_ACEOF
30322 /* end confdefs.h. */
30323 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30325 #define connect innocuous_connect
30327 /* System header to define __stub macros and hopefully few prototypes,
30328 which can conflict with char connect (); below.
30329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30330 <limits.h> exists even on freestanding compilers. */
30333 # include <limits.h>
30335 # include <assert.h>
30340 /* Override any GCC internal prototype to avoid an error.
30341 Use char because int might match the return type of a GCC
30342 builtin and then its argument prototype would still apply. */
30347 /* The GNU C library defines this for functions which it implements
30348 to always fail with ENOSYS. Some functions are actually named
30349 something starting with __ and the normal name is an alias. */
30350 #if defined __stub_connect || defined __stub___connect
30362 rm -f conftest.$ac_objext conftest$ac_exeext
30363 if { (ac_try="$ac_link"
30364 case "(($ac_try" in
30365 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30366 *) ac_try_echo
=$ac_try;;
30368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30369 (eval "$ac_link") 2>conftest.er1
30371 grep -v '^ *+' conftest.er1
>conftest.err
30373 cat conftest.err
>&5
30374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30375 (exit $ac_status); } && {
30376 test -z "$ac_c_werror_flag" ||
30377 test ! -s conftest.err
30378 } && test -s conftest
$ac_exeext &&
30379 $as_test_x conftest
$ac_exeext; then
30380 ac_cv_func_connect
=yes
30382 echo "$as_me: failed program was:" >&5
30383 sed 's/^/| /' conftest.
$ac_ext >&5
30385 ac_cv_func_connect
=no
30388 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30389 conftest
$ac_exeext conftest.
$ac_ext
30391 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30392 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30394 if test $ac_cv_func_connect = no
; then
30395 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30396 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30397 if test "${ac_cv_lib_socket_connect+set}" = set; then
30398 echo $ECHO_N "(cached) $ECHO_C" >&6
30400 ac_check_lib_save_LIBS
=$LIBS
30401 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30402 cat >conftest.
$ac_ext <<_ACEOF
30405 cat confdefs.h
>>conftest.
$ac_ext
30406 cat >>conftest.
$ac_ext <<_ACEOF
30407 /* end confdefs.h. */
30409 /* Override any GCC internal prototype to avoid an error.
30410 Use char because int might match the return type of a GCC
30411 builtin and then its argument prototype would still apply. */
30424 rm -f conftest.
$ac_objext conftest
$ac_exeext
30425 if { (ac_try
="$ac_link"
30426 case "(($ac_try" in
30427 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30428 *) ac_try_echo=$ac_try;;
30430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30431 (eval "$ac_link") 2>conftest.er1
30433 grep -v '^ *+' conftest.er1 >conftest.err
30435 cat conftest.err >&5
30436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30437 (exit $ac_status); } && {
30438 test -z "$ac_c_werror_flag" ||
30439 test ! -s conftest.err
30440 } && test -s conftest$ac_exeext &&
30441 $as_test_x conftest$ac_exeext; then
30442 ac_cv_lib_socket_connect=yes
30444 echo "$as_me: failed program was:" >&5
30445 sed 's/^/| /' conftest.$ac_ext >&5
30447 ac_cv_lib_socket_connect=no
30450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30451 conftest$ac_exeext conftest.$ac_ext
30452 LIBS=$ac_check_lib_save_LIBS
30454 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30455 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30456 if test $ac_cv_lib_socket_connect = yes; then
30457 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30462 # Guillermo Gomez says -lposix is necessary on A/UX.
30463 { echo "$as_me:$LINENO: checking for remove" >&5
30464 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30465 if test "${ac_cv_func_remove+set}" = set; then
30466 echo $ECHO_N "(cached) $ECHO_C" >&6
30468 cat >conftest.$ac_ext <<_ACEOF
30471 cat confdefs.h >>conftest.$ac_ext
30472 cat >>conftest.$ac_ext <<_ACEOF
30473 /* end confdefs.h. */
30474 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30476 #define remove innocuous_remove
30478 /* System header to define __stub macros and hopefully few prototypes,
30479 which can conflict with char remove (); below.
30480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30481 <limits.h> exists even on freestanding compilers. */
30484 # include <limits.h>
30486 # include <assert.h>
30491 /* Override any GCC internal prototype to avoid an error.
30492 Use char because int might match the return type of a GCC
30493 builtin and then its argument prototype would still apply. */
30498 /* The GNU C library defines this for functions which it implements
30499 to always fail with ENOSYS. Some functions are actually named
30500 something starting with __ and the normal name is an alias. */
30501 #if defined __stub_remove || defined __stub___remove
30513 rm -f conftest.$ac_objext conftest$ac_exeext
30514 if { (ac_try="$ac_link"
30515 case "(($ac_try" in
30516 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30517 *) ac_try_echo
=$ac_try;;
30519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30520 (eval "$ac_link") 2>conftest.er1
30522 grep -v '^ *+' conftest.er1
>conftest.err
30524 cat conftest.err
>&5
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); } && {
30527 test -z "$ac_c_werror_flag" ||
30528 test ! -s conftest.err
30529 } && test -s conftest
$ac_exeext &&
30530 $as_test_x conftest
$ac_exeext; then
30531 ac_cv_func_remove
=yes
30533 echo "$as_me: failed program was:" >&5
30534 sed 's/^/| /' conftest.
$ac_ext >&5
30536 ac_cv_func_remove
=no
30539 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30540 conftest
$ac_exeext conftest.
$ac_ext
30542 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30543 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30545 if test $ac_cv_func_remove = no
; then
30546 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30547 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30548 if test "${ac_cv_lib_posix_remove+set}" = set; then
30549 echo $ECHO_N "(cached) $ECHO_C" >&6
30551 ac_check_lib_save_LIBS
=$LIBS
30552 LIBS
="-lposix $LIBS"
30553 cat >conftest.
$ac_ext <<_ACEOF
30556 cat confdefs.h
>>conftest.
$ac_ext
30557 cat >>conftest.
$ac_ext <<_ACEOF
30558 /* end confdefs.h. */
30560 /* Override any GCC internal prototype to avoid an error.
30561 Use char because int might match the return type of a GCC
30562 builtin and then its argument prototype would still apply. */
30575 rm -f conftest.
$ac_objext conftest
$ac_exeext
30576 if { (ac_try
="$ac_link"
30577 case "(($ac_try" in
30578 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30579 *) ac_try_echo=$ac_try;;
30581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30582 (eval "$ac_link") 2>conftest.er1
30584 grep -v '^ *+' conftest.er1 >conftest.err
30586 cat conftest.err >&5
30587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30588 (exit $ac_status); } && {
30589 test -z "$ac_c_werror_flag" ||
30590 test ! -s conftest.err
30591 } && test -s conftest$ac_exeext &&
30592 $as_test_x conftest$ac_exeext; then
30593 ac_cv_lib_posix_remove=yes
30595 echo "$as_me: failed program was:" >&5
30596 sed 's/^/| /' conftest.$ac_ext >&5
30598 ac_cv_lib_posix_remove=no
30601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30602 conftest$ac_exeext conftest.$ac_ext
30603 LIBS=$ac_check_lib_save_LIBS
30605 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30606 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30607 if test $ac_cv_lib_posix_remove = yes; then
30608 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30613 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30614 { echo "$as_me:$LINENO: checking for shmat" >&5
30615 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30616 if test "${ac_cv_func_shmat+set}" = set; then
30617 echo $ECHO_N "(cached) $ECHO_C" >&6
30619 cat >conftest.$ac_ext <<_ACEOF
30622 cat confdefs.h >>conftest.$ac_ext
30623 cat >>conftest.$ac_ext <<_ACEOF
30624 /* end confdefs.h. */
30625 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30627 #define shmat innocuous_shmat
30629 /* System header to define __stub macros and hopefully few prototypes,
30630 which can conflict with char shmat (); below.
30631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30632 <limits.h> exists even on freestanding compilers. */
30635 # include <limits.h>
30637 # include <assert.h>
30642 /* Override any GCC internal prototype to avoid an error.
30643 Use char because int might match the return type of a GCC
30644 builtin and then its argument prototype would still apply. */
30649 /* The GNU C library defines this for functions which it implements
30650 to always fail with ENOSYS. Some functions are actually named
30651 something starting with __ and the normal name is an alias. */
30652 #if defined __stub_shmat || defined __stub___shmat
30664 rm -f conftest.$ac_objext conftest$ac_exeext
30665 if { (ac_try="$ac_link"
30666 case "(($ac_try" in
30667 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30668 *) ac_try_echo
=$ac_try;;
30670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30671 (eval "$ac_link") 2>conftest.er1
30673 grep -v '^ *+' conftest.er1
>conftest.err
30675 cat conftest.err
>&5
30676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30677 (exit $ac_status); } && {
30678 test -z "$ac_c_werror_flag" ||
30679 test ! -s conftest.err
30680 } && test -s conftest
$ac_exeext &&
30681 $as_test_x conftest
$ac_exeext; then
30682 ac_cv_func_shmat
=yes
30684 echo "$as_me: failed program was:" >&5
30685 sed 's/^/| /' conftest.
$ac_ext >&5
30687 ac_cv_func_shmat
=no
30690 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30691 conftest
$ac_exeext conftest.
$ac_ext
30693 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30694 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30696 if test $ac_cv_func_shmat = no
; then
30697 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30698 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30699 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30700 echo $ECHO_N "(cached) $ECHO_C" >&6
30702 ac_check_lib_save_LIBS
=$LIBS
30704 cat >conftest.
$ac_ext <<_ACEOF
30707 cat confdefs.h
>>conftest.
$ac_ext
30708 cat >>conftest.
$ac_ext <<_ACEOF
30709 /* end confdefs.h. */
30711 /* Override any GCC internal prototype to avoid an error.
30712 Use char because int might match the return type of a GCC
30713 builtin and then its argument prototype would still apply. */
30726 rm -f conftest.
$ac_objext conftest
$ac_exeext
30727 if { (ac_try
="$ac_link"
30728 case "(($ac_try" in
30729 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30730 *) ac_try_echo=$ac_try;;
30732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30733 (eval "$ac_link") 2>conftest.er1
30735 grep -v '^ *+' conftest.er1 >conftest.err
30737 cat conftest.err >&5
30738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30739 (exit $ac_status); } && {
30740 test -z "$ac_c_werror_flag" ||
30741 test ! -s conftest.err
30742 } && test -s conftest$ac_exeext &&
30743 $as_test_x conftest$ac_exeext; then
30744 ac_cv_lib_ipc_shmat=yes
30746 echo "$as_me: failed program was:" >&5
30747 sed 's/^/| /' conftest.$ac_ext >&5
30749 ac_cv_lib_ipc_shmat=no
30752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30753 conftest$ac_exeext conftest.$ac_ext
30754 LIBS=$ac_check_lib_save_LIBS
30756 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30757 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30758 if test $ac_cv_lib_ipc_shmat = yes; then
30759 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30765 # Check for libraries that X11R6 Xt/Xaw programs need.
30766 ac_save_LDFLAGS=$LDFLAGS
30767 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30768 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30769 # check for ICE first), but we must link in the order -lSM -lICE or
30770 # we get undefined symbols. So assume we have SM if we have ICE.
30771 # These have to be linked with before -lX11, unlike the other
30772 # libraries we check for below, so use a different variable.
30773 # John Interrante, Karl Berry
30774 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30775 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30776 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30777 echo $ECHO_N "(cached) $ECHO_C" >&6
30779 ac_check_lib_save_LIBS=$LIBS
30780 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30781 cat >conftest.$ac_ext <<_ACEOF
30784 cat confdefs.h >>conftest.$ac_ext
30785 cat >>conftest.$ac_ext <<_ACEOF
30786 /* end confdefs.h. */
30788 /* Override any GCC internal prototype to avoid an error.
30789 Use char because int might match the return type of a GCC
30790 builtin and then its argument prototype would still apply. */
30794 char IceConnectionNumber ();
30798 return IceConnectionNumber ();
30803 rm -f conftest.$ac_objext conftest$ac_exeext
30804 if { (ac_try="$ac_link"
30805 case "(($ac_try" in
30806 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30807 *) ac_try_echo
=$ac_try;;
30809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30810 (eval "$ac_link") 2>conftest.er1
30812 grep -v '^ *+' conftest.er1
>conftest.err
30814 cat conftest.err
>&5
30815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30816 (exit $ac_status); } && {
30817 test -z "$ac_c_werror_flag" ||
30818 test ! -s conftest.err
30819 } && test -s conftest
$ac_exeext &&
30820 $as_test_x conftest
$ac_exeext; then
30821 ac_cv_lib_ICE_IceConnectionNumber
=yes
30823 echo "$as_me: failed program was:" >&5
30824 sed 's/^/| /' conftest.
$ac_ext >&5
30826 ac_cv_lib_ICE_IceConnectionNumber
=no
30829 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30830 conftest
$ac_exeext conftest.
$ac_ext
30831 LIBS
=$ac_check_lib_save_LIBS
30833 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30834 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30835 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30836 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30839 LDFLAGS
=$ac_save_LDFLAGS
30844 if test "$no_x" = "yes"; then
30845 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30846 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30847 { (exit 1); exit 1; }; }
30850 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30851 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30852 AFMINSTALL
=afminstall
30853 COMPILED_X_PROGRAM
=0
30857 if test "$wxUSE_X11" = 1; then
30858 if test "$wxUSE_NANOX" = "yes"; then
30859 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30860 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30861 if test "x$MICROWIN" = x
; then
30862 { echo "$as_me:$LINENO: result: not found" >&5
30863 echo "${ECHO_T}not found" >&6; }
30864 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30865 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30866 { (exit 1); exit 1; }; }
30868 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30869 echo "${ECHO_T}$MICROWIN" >&6; }
30870 cat >>confdefs.h
<<\_ACEOF
30871 #define wxUSE_NANOX 1
30877 if test "$wxUSE_UNICODE" = "yes"; then
30880 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30881 if test -n "$ac_tool_prefix"; then
30882 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30883 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30886 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30887 echo $ECHO_N "(cached) $ECHO_C" >&6
30889 case $PKG_CONFIG in
30891 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30895 for as_dir
in $PATH
30898 test -z "$as_dir" && as_dir
=.
30899 for ac_exec_ext
in '' $ac_executable_extensions; do
30900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30901 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30912 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30913 if test -n "$PKG_CONFIG"; then
30914 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30915 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30917 { echo "$as_me:$LINENO: result: no" >&5
30918 echo "${ECHO_T}no" >&6; }
30923 if test -z "$ac_cv_path_PKG_CONFIG"; then
30924 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30925 # Extract the first word of "pkg-config", so it can be a program name with args.
30926 set dummy pkg
-config; ac_word
=$2
30927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30929 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30930 echo $ECHO_N "(cached) $ECHO_C" >&6
30932 case $ac_pt_PKG_CONFIG in
30934 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30938 for as_dir
in $PATH
30941 test -z "$as_dir" && as_dir
=.
30942 for ac_exec_ext
in '' $ac_executable_extensions; do
30943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30944 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30955 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30956 if test -n "$ac_pt_PKG_CONFIG"; then
30957 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30958 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30960 { echo "$as_me:$LINENO: result: no" >&5
30961 echo "${ECHO_T}no" >&6; }
30964 if test "x$ac_pt_PKG_CONFIG" = x
; then
30967 case $cross_compiling:$ac_tool_warned in
30969 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30970 whose name does not start with the host triplet. If you think this
30971 configuration is useful to you, please write to autoconf@gnu.org." >&5
30972 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30973 whose name does not start with the host triplet. If you think this
30974 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30975 ac_tool_warned
=yes ;;
30977 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30980 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
30984 if test -n "$PKG_CONFIG"; then
30985 _pkg_min_version
=0.9.0
30986 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30987 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30988 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30989 { echo "$as_me:$LINENO: result: yes" >&5
30990 echo "${ECHO_T}yes" >&6; }
30992 { echo "$as_me:$LINENO: result: no" >&5
30993 echo "${ECHO_T}no" >&6; }
31001 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31002 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31004 if test -n "$PKG_CONFIG"; then
31005 if test -n "$PANGOX_CFLAGS"; then
31006 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31008 if test -n "$PKG_CONFIG" && \
31009 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31010 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013 (exit $ac_status); }; then
31014 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31022 if test -n "$PKG_CONFIG"; then
31023 if test -n "$PANGOX_LIBS"; then
31024 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31026 if test -n "$PKG_CONFIG" && \
31027 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31028 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31031 (exit $ac_status); }; then
31032 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31043 if test $pkg_failed = yes; then
31045 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31046 _pkg_short_errors_supported
=yes
31048 _pkg_short_errors_supported
=no
31050 if test $_pkg_short_errors_supported = yes; then
31051 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31053 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31055 # Put the nasty error message in config.log where it belongs
31056 echo "$PANGOX_PKG_ERRORS" >&5
31059 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31060 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31061 { (exit 1); exit 1; }; }
31064 elif test $pkg_failed = untried
; then
31066 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31067 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31068 { (exit 1); exit 1; }; }
31072 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31073 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31074 { echo "$as_me:$LINENO: result: yes" >&5
31075 echo "${ECHO_T}yes" >&6; }
31077 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31078 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31079 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31084 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31085 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31087 if test -n "$PKG_CONFIG"; then
31088 if test -n "$PANGOFT2_CFLAGS"; then
31089 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31091 if test -n "$PKG_CONFIG" && \
31092 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31093 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31096 (exit $ac_status); }; then
31097 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31105 if test -n "$PKG_CONFIG"; then
31106 if test -n "$PANGOFT2_LIBS"; then
31107 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31109 if test -n "$PKG_CONFIG" && \
31110 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31111 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31114 (exit $ac_status); }; then
31115 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31126 if test $pkg_failed = yes; then
31128 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31129 _pkg_short_errors_supported
=yes
31131 _pkg_short_errors_supported
=no
31133 if test $_pkg_short_errors_supported = yes; then
31134 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31136 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31138 # Put the nasty error message in config.log where it belongs
31139 echo "$PANGOFT2_PKG_ERRORS" >&5
31142 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31143 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31144 wxUSE_PRINTING_ARCHITECTURE
="no"
31147 elif test $pkg_failed = untried
; then
31149 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31150 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31151 wxUSE_PRINTING_ARCHITECTURE
="no"
31155 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31156 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31157 { echo "$as_me:$LINENO: result: yes" >&5
31158 echo "${ECHO_T}yes" >&6; }
31160 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31161 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31162 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31167 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31168 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31170 if test -n "$PKG_CONFIG"; then
31171 if test -n "$PANGOXFT_CFLAGS"; then
31172 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31174 if test -n "$PKG_CONFIG" && \
31175 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31176 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31179 (exit $ac_status); }; then
31180 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31188 if test -n "$PKG_CONFIG"; then
31189 if test -n "$PANGOXFT_LIBS"; then
31190 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31192 if test -n "$PKG_CONFIG" && \
31193 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31194 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31197 (exit $ac_status); }; then
31198 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31209 if test $pkg_failed = yes; then
31211 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31212 _pkg_short_errors_supported
=yes
31214 _pkg_short_errors_supported
=no
31216 if test $_pkg_short_errors_supported = yes; then
31217 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31219 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31221 # Put the nasty error message in config.log where it belongs
31222 echo "$PANGOXFT_PKG_ERRORS" >&5
31225 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31226 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31229 elif test $pkg_failed = untried
; then
31231 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31232 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31236 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31237 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31238 { echo "$as_me:$LINENO: result: yes" >&5
31239 echo "${ECHO_T}yes" >&6; }
31241 cat >>confdefs.h
<<\_ACEOF
31242 #define HAVE_PANGO_XFT 1
31245 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31246 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31247 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31251 LIBS
="$LIBS $PANGOX_LIBS"
31253 for ac_func
in pango_font_family_is_monospace
31255 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31256 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31258 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31259 echo $ECHO_N "(cached) $ECHO_C" >&6
31261 cat >conftest.
$ac_ext <<_ACEOF
31264 cat confdefs.h
>>conftest.
$ac_ext
31265 cat >>conftest.
$ac_ext <<_ACEOF
31266 /* end confdefs.h. */
31267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31269 #define $ac_func innocuous_$ac_func
31271 /* System header to define __stub macros and hopefully few prototypes,
31272 which can conflict with char $ac_func (); below.
31273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31274 <limits.h> exists even on freestanding compilers. */
31277 # include <limits.h>
31279 # include <assert.h>
31284 /* Override any GCC internal prototype to avoid an error.
31285 Use char because int might match the return type of a GCC
31286 builtin and then its argument prototype would still apply. */
31291 /* The GNU C library defines this for functions which it implements
31292 to always fail with ENOSYS. Some functions are actually named
31293 something starting with __ and the normal name is an alias. */
31294 #if defined __stub_$ac_func || defined __stub___$ac_func
31301 return $ac_func ();
31306 rm -f conftest.
$ac_objext conftest
$ac_exeext
31307 if { (ac_try
="$ac_link"
31308 case "(($ac_try" in
31309 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31310 *) ac_try_echo=$ac_try;;
31312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31313 (eval "$ac_link") 2>conftest.er1
31315 grep -v '^ *+' conftest.er1 >conftest.err
31317 cat conftest.err >&5
31318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31319 (exit $ac_status); } && {
31320 test -z "$ac_c_werror_flag" ||
31321 test ! -s conftest.err
31322 } && test -s conftest$ac_exeext &&
31323 $as_test_x conftest$ac_exeext; then
31324 eval "$as_ac_var=yes"
31326 echo "$as_me: failed program was:" >&5
31327 sed 's/^/| /' conftest.$ac_ext >&5
31329 eval "$as_ac_var=no"
31332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31333 conftest$ac_exeext conftest.$ac_ext
31335 ac_res=`eval echo '${'$as_ac_var'}'`
31336 { echo "$as_me:$LINENO: result: $ac_res" >&5
31337 echo "${ECHO_T}$ac_res" >&6; }
31338 if test `eval echo '${'$as_ac_var'}'` = yes; then
31339 cat >>confdefs.h <<_ACEOF
31340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31349 wxUSE_UNIVERSAL="yes"
31351 if test "$wxUSE_NANOX" = "yes"; then
31352 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31353 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"
31354 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31356 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31363 if test "$wxUSE_MOTIF" = 1; then
31364 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31365 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31368 for ac_dir in $SEARCH_INCLUDE /usr/include;
31370 if test -f "$ac_dir/Xm/Xm.h"; then
31371 ac_find_includes=$ac_dir
31376 if test "$ac_find_includes" != "" ; then
31377 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31378 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31380 if test "x$ac_find_includes" = "x/usr/include"; then
31381 ac_path_to_include=""
31383 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31385 if test $result = 0; then
31386 ac_path_to_include=""
31388 ac_path_to_include=" -I$ac_find_includes"
31392 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31394 save_CFLAGS=$CFLAGS
31395 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31397 cat >conftest.$ac_ext <<_ACEOF
31400 cat confdefs.h >>conftest.$ac_ext
31401 cat >>conftest.$ac_ext <<_ACEOF
31402 /* end confdefs.h. */
31411 version = xmUseVersion;
31417 rm -f conftest.$ac_objext
31418 if { (ac_try="$ac_compile"
31419 case "(($ac_try" in
31420 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31421 *) ac_try_echo
=$ac_try;;
31423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31424 (eval "$ac_compile") 2>conftest.er1
31426 grep -v '^ *+' conftest.er1
>conftest.err
31428 cat conftest.err
>&5
31429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31430 (exit $ac_status); } && {
31431 test -z "$ac_c_werror_flag" ||
31432 test ! -s conftest.err
31433 } && test -s conftest.
$ac_objext; then
31435 { echo "$as_me:$LINENO: result: found in default search path" >&5
31436 echo "${ECHO_T}found in default search path" >&6; }
31437 COMPILED_X_PROGRAM
=1
31440 echo "$as_me: failed program was:" >&5
31441 sed 's/^/| /' conftest.
$ac_ext >&5
31444 { echo "$as_me:$LINENO: result: no" >&5
31445 echo "${ECHO_T}no" >&6; }
31446 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31447 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31448 { (exit 1); exit 1; }; }
31453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31455 CFLAGS
=$save_CFLAGS
31459 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31460 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31463 for ac_dir
in $SEARCH_LIB;
31465 for ac_extension
in a so sl dylib dll.a
; do
31466 if test -f "$ac_dir/libXm.$ac_extension"; then
31467 ac_find_libraries
=$ac_dir
31474 if test "x$ac_find_libraries" != "x" ; then
31475 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31476 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31479 if test "$ac_find_libraries" = "default location"; then
31482 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31484 if test $result = 0; then
31487 ac_path_to_link
=" -L$ac_find_libraries"
31491 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31493 save_CFLAGS
=$CFLAGS
31494 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31496 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31498 cat >conftest.
$ac_ext <<_ACEOF
31501 cat confdefs.h
>>conftest.
$ac_ext
31502 cat >>conftest.
$ac_ext <<_ACEOF
31503 /* end confdefs.h. */
31512 version = xmUseVersion;
31518 rm -f conftest.
$ac_objext conftest
$ac_exeext
31519 if { (ac_try
="$ac_link"
31520 case "(($ac_try" in
31521 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31522 *) ac_try_echo=$ac_try;;
31524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31525 (eval "$ac_link") 2>conftest.er1
31527 grep -v '^ *+' conftest.er1 >conftest.err
31529 cat conftest.err >&5
31530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31531 (exit $ac_status); } && {
31532 test -z "$ac_c_werror_flag" ||
31533 test ! -s conftest.err
31534 } && test -s conftest$ac_exeext &&
31535 $as_test_x conftest$ac_exeext; then
31537 { echo "$as_me:$LINENO: result: found in default search path" >&5
31538 echo "${ECHO_T}found in default search path" >&6; }
31539 COMPILED_X_PROGRAM=1
31542 echo "$as_me: failed program was:" >&5
31543 sed 's/^/| /' conftest.$ac_ext >&5
31546 { echo "$as_me:$LINENO: result: no" >&5
31547 echo "${ECHO_T}no" >&6; }
31548 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31549 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31550 { (exit 1); exit 1; }; }
31555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31556 conftest$ac_exeext conftest.$ac_ext
31558 CFLAGS=$save_CFLAGS
31562 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31563 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31567 for libp in "" " -lXp"; do
31568 if test "$libs_found" = 0; then
31569 for libsm_ice in "" " -lSM -lICE"; do
31570 if test "$libs_found" = 0; then
31572 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31573 save_CFLAGS=$CFLAGS
31574 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31576 cat >conftest.$ac_ext <<_ACEOF
31579 cat confdefs.h >>conftest.$ac_ext
31580 cat >>conftest.$ac_ext <<_ACEOF
31581 /* end confdefs.h. */
31584 #include <Xm/List.h>
31590 XmString string = NULL;
31593 XmListAddItem(w, string, position);
31599 rm -f conftest.$ac_objext conftest$ac_exeext
31600 if { (ac_try="$ac_link"
31601 case "(($ac_try" in
31602 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31603 *) ac_try_echo
=$ac_try;;
31605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31606 (eval "$ac_link") 2>conftest.er1
31608 grep -v '^ *+' conftest.er1
>conftest.err
31610 cat conftest.err
>&5
31611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31612 (exit $ac_status); } && {
31613 test -z "$ac_c_werror_flag" ||
31614 test ! -s conftest.err
31615 } && test -s conftest
$ac_exeext &&
31616 $as_test_x conftest
$ac_exeext; then
31619 libsm_ice_link
="$libsm_ice"
31620 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31621 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31625 echo "$as_me: failed program was:" >&5
31626 sed 's/^/| /' conftest.
$ac_ext >&5
31632 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31633 conftest
$ac_exeext conftest.
$ac_ext
31636 CFLAGS
=$save_CFLAGS
31642 if test "$libs_found" = 0; then
31643 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31644 echo "${ECHO_T}can't find the right libraries" >&6; }
31645 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31646 echo "$as_me: error: can't link a simple motif program" >&2;}
31647 { (exit 1); exit 1; }; }
31650 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31651 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31652 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31653 echo $ECHO_N "(cached) $ECHO_C" >&6
31655 ac_check_lib_save_LIBS
=$LIBS
31657 cat >conftest.
$ac_ext <<_ACEOF
31660 cat confdefs.h
>>conftest.
$ac_ext
31661 cat >>conftest.
$ac_ext <<_ACEOF
31662 /* end confdefs.h. */
31664 /* Override any GCC internal prototype to avoid an error.
31665 Use char because int might match the return type of a GCC
31666 builtin and then its argument prototype would still apply. */
31670 char SgCreateList ();
31674 return SgCreateList ();
31679 rm -f conftest.
$ac_objext conftest
$ac_exeext
31680 if { (ac_try
="$ac_link"
31681 case "(($ac_try" in
31682 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31683 *) ac_try_echo=$ac_try;;
31685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31686 (eval "$ac_link") 2>conftest.er1
31688 grep -v '^ *+' conftest.er1 >conftest.err
31690 cat conftest.err >&5
31691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31692 (exit $ac_status); } && {
31693 test -z "$ac_c_werror_flag" ||
31694 test ! -s conftest.err
31695 } && test -s conftest$ac_exeext &&
31696 $as_test_x conftest$ac_exeext; then
31697 ac_cv_lib_Sgm_SgCreateList=yes
31699 echo "$as_me: failed program was:" >&5
31700 sed 's/^/| /' conftest.$ac_ext >&5
31702 ac_cv_lib_Sgm_SgCreateList=no
31705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31706 conftest$ac_exeext conftest.$ac_ext
31707 LIBS=$ac_check_lib_save_LIBS
31709 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31710 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31711 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31712 libsgm_link=" -lSgm"
31716 save_CFLAGS=$CFLAGS
31717 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31719 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31720 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31721 if test "${wx_cv_lib_motif2+set}" = set; then
31722 echo $ECHO_N "(cached) $ECHO_C" >&6
31724 cat >conftest.$ac_ext <<_ACEOF
31727 cat confdefs.h >>conftest.$ac_ext
31728 cat >>conftest.$ac_ext <<_ACEOF
31729 /* end confdefs.h. */
31737 #if XmVersion < 2000
31745 rm -f conftest.$ac_objext
31746 if { (ac_try="$ac_compile"
31747 case "(($ac_try" in
31748 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31749 *) ac_try_echo
=$ac_try;;
31751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31752 (eval "$ac_compile") 2>conftest.er1
31754 grep -v '^ *+' conftest.er1
>conftest.err
31756 cat conftest.err
>&5
31757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31758 (exit $ac_status); } && {
31759 test -z "$ac_c_werror_flag" ||
31760 test ! -s conftest.err
31761 } && test -s conftest.
$ac_objext; then
31762 wx_cv_lib_motif2
="yes"
31764 echo "$as_me: failed program was:" >&5
31765 sed 's/^/| /' conftest.
$ac_ext >&5
31767 wx_cv_lib_motif2
="no"
31770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31772 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31773 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31774 if test "$wx_cv_lib_motif2" = "yes"; then
31775 cat >>confdefs.h
<<\_ACEOF
31776 #define __WXMOTIF20__ 1
31780 cat >>confdefs.h
<<\_ACEOF
31781 #define __WXMOTIF20__ 0
31786 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31787 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31788 if test "${wx_cv_lib_lesstif+set}" = set; then
31789 echo $ECHO_N "(cached) $ECHO_C" >&6
31791 cat >conftest.
$ac_ext <<_ACEOF
31794 cat confdefs.h
>>conftest.
$ac_ext
31795 cat >>conftest.
$ac_ext <<_ACEOF
31796 /* end confdefs.h. */
31804 #if !defined(LesstifVersion) || LesstifVersion <= 0
31812 rm -f conftest.
$ac_objext
31813 if { (ac_try
="$ac_compile"
31814 case "(($ac_try" in
31815 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31816 *) ac_try_echo=$ac_try;;
31818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31819 (eval "$ac_compile") 2>conftest.er1
31821 grep -v '^ *+' conftest.er1 >conftest.err
31823 cat conftest.err >&5
31824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31825 (exit $ac_status); } && {
31826 test -z "$ac_c_werror_flag" ||
31827 test ! -s conftest.err
31828 } && test -s conftest.$ac_objext; then
31829 wx_cv_lib_lesstif="yes"
31831 echo "$as_me: failed program was:" >&5
31832 sed 's/^/| /' conftest.$ac_ext >&5
31834 wx_cv_lib_lesstif="no"
31837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31840 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31841 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31842 if test "$wx_cv_lib_lesstif" = "yes"; then
31843 cat >>confdefs.h <<\_ACEOF
31844 #define __WXLESSTIF__ 1
31848 cat >>confdefs.h <<\_ACEOF
31849 #define __WXLESSTIF__ 0
31854 CFLAGS=$save_CFLAGS
31856 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31861 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31862 if test "$wxUSE_LIBXPM" = "sys"; then
31863 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31864 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31867 for ac_dir in $SEARCH_LIB;
31869 for ac_extension in a so sl dylib dll.a; do
31870 if test -f "$ac_dir/libXpm.$ac_extension"; then
31871 ac_find_libraries=$ac_dir
31877 if test "$ac_find_libraries" != "" ; then
31879 if test "$ac_find_libraries" = "default location"; then
31882 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31884 if test $result = 0; then
31887 ac_path_to_link=" -L$ac_find_libraries"
31891 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31892 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31893 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31895 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31896 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31897 if test "${wx_cv_x11_xpm_h+set}" = set; then
31898 echo $ECHO_N "(cached) $ECHO_C" >&6
31901 save_CFLAGS=$CFLAGS
31902 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31904 cat >conftest.$ac_ext <<_ACEOF
31907 cat confdefs.h >>conftest.$ac_ext
31908 cat >>conftest.$ac_ext <<_ACEOF
31909 /* end confdefs.h. */
31911 #include <X11/xpm.h>
31918 version = XpmLibraryVersion();
31924 rm -f conftest.$ac_objext
31925 if { (ac_try="$ac_compile"
31926 case "(($ac_try" in
31927 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31928 *) ac_try_echo
=$ac_try;;
31930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31931 (eval "$ac_compile") 2>conftest.er1
31933 grep -v '^ *+' conftest.er1
>conftest.err
31935 cat conftest.err
>&5
31936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31937 (exit $ac_status); } && {
31938 test -z "$ac_c_werror_flag" ||
31939 test ! -s conftest.err
31940 } && test -s conftest.
$ac_objext; then
31941 wx_cv_x11_xpm_h
=yes
31943 echo "$as_me: failed program was:" >&5
31944 sed 's/^/| /' conftest.
$ac_ext >&5
31950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31952 CFLAGS
=$save_CFLAGS
31956 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31957 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31959 if test $wx_cv_x11_xpm_h = "yes"; then
31960 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31961 cat >>confdefs.h
<<\_ACEOF
31962 #define wxHAVE_LIB_XPM 1
31966 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31967 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31973 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31974 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31975 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31976 echo $ECHO_N "(cached) $ECHO_C" >&6
31978 ac_check_lib_save_LIBS
=$LIBS
31979 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31980 cat >conftest.
$ac_ext <<_ACEOF
31983 cat confdefs.h
>>conftest.
$ac_ext
31984 cat >>conftest.
$ac_ext <<_ACEOF
31985 /* end confdefs.h. */
31987 /* Override any GCC internal prototype to avoid an error.
31988 Use char because int might match the return type of a GCC
31989 builtin and then its argument prototype would still apply. */
31993 char XShapeQueryExtension ();
31997 return XShapeQueryExtension ();
32002 rm -f conftest.
$ac_objext conftest
$ac_exeext
32003 if { (ac_try
="$ac_link"
32004 case "(($ac_try" in
32005 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32006 *) ac_try_echo=$ac_try;;
32008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32009 (eval "$ac_link") 2>conftest.er1
32011 grep -v '^ *+' conftest.er1 >conftest.err
32013 cat conftest.err >&5
32014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32015 (exit $ac_status); } && {
32016 test -z "$ac_c_werror_flag" ||
32017 test ! -s conftest.err
32018 } && test -s conftest$ac_exeext &&
32019 $as_test_x conftest$ac_exeext; then
32020 ac_cv_lib_Xext_XShapeQueryExtension=yes
32022 echo "$as_me: failed program was:" >&5
32023 sed 's/^/| /' conftest.$ac_ext >&5
32025 ac_cv_lib_Xext_XShapeQueryExtension=no
32028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32029 conftest$ac_exeext conftest.$ac_ext
32030 LIBS=$ac_check_lib_save_LIBS
32032 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32033 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32034 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32036 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32042 if test "$wxHAVE_XEXT_LIB" = 1; then
32043 save_CFLAGS="$CFLAGS"
32044 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32046 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32047 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32048 cat >conftest.$ac_ext <<_ACEOF
32051 cat confdefs.h >>conftest.$ac_ext
32052 cat >>conftest.$ac_ext <<_ACEOF
32053 /* end confdefs.h. */
32055 #include <X11/Xlib.h>
32056 #include <X11/extensions/shape.h>
32062 int dummy1, dummy2;
32063 XShapeQueryExtension((Display*)NULL,
32064 (int*)NULL, (int*)NULL);
32070 rm -f conftest.$ac_objext
32071 if { (ac_try="$ac_compile"
32072 case "(($ac_try" in
32073 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32074 *) ac_try_echo
=$ac_try;;
32076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32077 (eval "$ac_compile") 2>conftest.er1
32079 grep -v '^ *+' conftest.er1
>conftest.err
32081 cat conftest.err
>&5
32082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32083 (exit $ac_status); } && {
32084 test -z "$ac_c_werror_flag" ||
32085 test ! -s conftest.err
32086 } && test -s conftest.
$ac_objext; then
32088 cat >>confdefs.h
<<\_ACEOF
32089 #define HAVE_XSHAPE 1
32092 { echo "$as_me:$LINENO: result: found" >&5
32093 echo "${ECHO_T}found" >&6; }
32096 echo "$as_me: failed program was:" >&5
32097 sed 's/^/| /' conftest.
$ac_ext >&5
32100 { echo "$as_me:$LINENO: result: not found" >&5
32101 echo "${ECHO_T}not found" >&6; }
32105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32106 CFLAGS
="$save_CFLAGS"
32111 if test "$wxUSE_MAC" = 1; then
32112 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32113 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32114 if test "$GCC" = yes; then
32115 { echo "$as_me:$LINENO: result: gcc" >&5
32116 echo "${ECHO_T}gcc" >&6; }
32117 CPPFLAGS_PASCAL
="-fpascal-strings"
32118 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32119 { echo "$as_me:$LINENO: result: xlc" >&5
32120 echo "${ECHO_T}xlc" >&6; }
32121 CPPFLAGS_PASCAL
="-qmacpstr"
32123 { echo "$as_me:$LINENO: result: none" >&5
32124 echo "${ECHO_T}none" >&6; }
32127 if test "x$wxUSE_UNIX" = "xyes"; then
32128 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32130 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32135 WXBASEPORT
="_carbon"
32138 if test "$wxUSE_COCOA" = 1; then
32143 if test "$wxUSE_PM" = 1; then
32146 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32147 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32148 if test "${wx_cv_spbcdata+set}" = set; then
32149 echo $ECHO_N "(cached) $ECHO_C" >&6
32152 cat >conftest.
$ac_ext <<_ACEOF
32155 cat confdefs.h
>>conftest.
$ac_ext
32156 cat >>conftest.
$ac_ext <<_ACEOF
32157 /* end confdefs.h. */
32172 rm -f conftest.
$ac_objext
32173 if { (ac_try
="$ac_compile"
32174 case "(($ac_try" in
32175 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32176 *) ac_try_echo=$ac_try;;
32178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32179 (eval "$ac_compile") 2>conftest.er1
32181 grep -v '^ *+' conftest.er1 >conftest.err
32183 cat conftest.err >&5
32184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32185 (exit $ac_status); } && {
32186 test -z "$ac_c_werror_flag" ||
32187 test ! -s conftest.err
32188 } && test -s conftest.$ac_objext; then
32191 echo "$as_me: failed program was:" >&5
32192 sed 's/^/| /' conftest.$ac_ext >&5
32198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32202 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32203 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32205 if test $wx_cv_spbcdata = "yes"; then
32206 cat >>confdefs.h <<\_ACEOF
32207 #define HAVE_SPBCDATA 1
32213 if test "$TOOLKIT" = "PM" ; then
32216 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32219 if test "$wxUSE_UNIVERSAL" = "yes"; then
32220 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32224 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32225 DISTDIR="wx\$(TOOLKIT)"
32231 if test "$USE_WIN32" = 1 ; then
32235 GUIDIST="BASE_DIST"
32241 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32242 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32243 wxUSE_UNICODE_UTF8=yes
32244 elif test "$USE_OS2" = 1 ; then
32245 wxUSE_UNICODE_UTF8=yes
32247 wxUSE_UNICODE_UTF8=no
32252 if test "$wxUSE_GUI" = "yes"; then
32253 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32255 for ac_header in X11/Xlib.h
32257 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32258 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32260 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32261 echo $ECHO_N "(cached) $ECHO_C" >&6
32263 cat >conftest.$ac_ext <<_ACEOF
32266 cat confdefs.h >>conftest.$ac_ext
32267 cat >>conftest.$ac_ext <<_ACEOF
32268 /* end confdefs.h. */
32271 #include <$ac_header>
32273 rm -f conftest.$ac_objext
32274 if { (ac_try="$ac_compile"
32275 case "(($ac_try" in
32276 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32277 *) ac_try_echo
=$ac_try;;
32279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32280 (eval "$ac_compile") 2>conftest.er1
32282 grep -v '^ *+' conftest.er1
>conftest.err
32284 cat conftest.err
>&5
32285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32286 (exit $ac_status); } && {
32287 test -z "$ac_c_werror_flag" ||
32288 test ! -s conftest.err
32289 } && test -s conftest.
$ac_objext; then
32290 eval "$as_ac_Header=yes"
32292 echo "$as_me: failed program was:" >&5
32293 sed 's/^/| /' conftest.
$ac_ext >&5
32295 eval "$as_ac_Header=no"
32298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32300 ac_res
=`eval echo '${'$as_ac_Header'}'`
32301 { echo "$as_me:$LINENO: result: $ac_res" >&5
32302 echo "${ECHO_T}$ac_res" >&6; }
32303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32304 cat >>confdefs.h
<<_ACEOF
32305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32313 for ac_header
in X
11/XKBlib.h
32315 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32316 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32318 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32319 echo $ECHO_N "(cached) $ECHO_C" >&6
32321 cat >conftest.
$ac_ext <<_ACEOF
32324 cat confdefs.h
>>conftest.
$ac_ext
32325 cat >>conftest.
$ac_ext <<_ACEOF
32326 /* end confdefs.h. */
32328 #if HAVE_X11_XLIB_H
32329 #include <X11/Xlib.h>
32333 #include <$ac_header>
32335 rm -f conftest.
$ac_objext
32336 if { (ac_try
="$ac_compile"
32337 case "(($ac_try" in
32338 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32339 *) ac_try_echo=$ac_try;;
32341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32342 (eval "$ac_compile") 2>conftest.er1
32344 grep -v '^ *+' conftest.er1 >conftest.err
32346 cat conftest.err >&5
32347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32348 (exit $ac_status); } && {
32349 test -z "$ac_c_werror_flag" ||
32350 test ! -s conftest.err
32351 } && test -s conftest.$ac_objext; then
32352 eval "$as_ac_Header=yes"
32354 echo "$as_me: failed program was:" >&5
32355 sed 's/^/| /' conftest.$ac_ext >&5
32357 eval "$as_ac_Header=no"
32360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32362 ac_res=`eval echo '${'$as_ac_Header'}'`
32363 { echo "$as_me:$LINENO: result: $ac_res" >&5
32364 echo "${ECHO_T}$ac_res" >&6; }
32365 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32366 cat >>confdefs.h <<_ACEOF
32367 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32379 if test "$wxUSE_DISPLAY" = "yes"; then
32380 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32381 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32382 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32385 for ac_dir in $SEARCH_LIB;
32387 for ac_extension in a so sl dylib dll.a; do
32388 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32389 ac_find_libraries=$ac_dir
32395 if test "$ac_find_libraries" != "" ; then
32397 if test "$ac_find_libraries" = "default location"; then
32400 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32402 if test $result = 0; then
32405 ac_path_to_link=" -L$ac_find_libraries"
32409 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32410 LDFLAGS="$LDFLAGS $ac_path_to_link"
32412 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32413 { echo "$as_me:$LINENO: result: yes" >&5
32414 echo "${ECHO_T}yes" >&6; }
32416 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32417 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32420 for ac_dir in $SEARCH_LIB;
32422 for ac_extension in a so sl dylib dll.a; do
32423 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32424 ac_find_libraries=$ac_dir
32430 if test "$ac_find_libraries" != "" ; then
32431 { echo "$as_me:$LINENO: result: yes" >&5
32432 echo "${ECHO_T}yes" >&6; }
32434 for ac_header in X11/extensions/xf86vmode.h
32436 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32437 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32439 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32440 echo $ECHO_N "(cached) $ECHO_C" >&6
32442 cat >conftest.$ac_ext <<_ACEOF
32445 cat confdefs.h >>conftest.$ac_ext
32446 cat >>conftest.$ac_ext <<_ACEOF
32447 /* end confdefs.h. */
32449 #if HAVE_X11_XLIB_H
32450 #include <X11/Xlib.h>
32454 #include <$ac_header>
32456 rm -f conftest.$ac_objext
32457 if { (ac_try="$ac_compile"
32458 case "(($ac_try" in
32459 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32460 *) ac_try_echo
=$ac_try;;
32462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32463 (eval "$ac_compile") 2>conftest.er1
32465 grep -v '^ *+' conftest.er1
>conftest.err
32467 cat conftest.err
>&5
32468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32469 (exit $ac_status); } && {
32470 test -z "$ac_c_werror_flag" ||
32471 test ! -s conftest.err
32472 } && test -s conftest.
$ac_objext; then
32473 eval "$as_ac_Header=yes"
32475 echo "$as_me: failed program was:" >&5
32476 sed 's/^/| /' conftest.
$ac_ext >&5
32478 eval "$as_ac_Header=no"
32481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32483 ac_res
=`eval echo '${'$as_ac_Header'}'`
32484 { echo "$as_me:$LINENO: result: $ac_res" >&5
32485 echo "${ECHO_T}$ac_res" >&6; }
32486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32487 cat >>confdefs.h
<<_ACEOF
32488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32491 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32498 { echo "$as_me:$LINENO: result: no" >&5
32499 echo "${ECHO_T}no" >&6; }
32503 { echo "$as_me:$LINENO: result: no" >&5
32504 echo "${ECHO_T}no" >&6; }
32505 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32506 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32509 elif test "$wxUSE_MSW" = 1; then
32510 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32511 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32512 if test "${ac_cv_header_ddraw_h+set}" = set; then
32513 echo $ECHO_N "(cached) $ECHO_C" >&6
32515 cat >conftest.
$ac_ext <<_ACEOF
32518 cat confdefs.h
>>conftest.
$ac_ext
32519 cat >>conftest.
$ac_ext <<_ACEOF
32520 /* end confdefs.h. */
32521 #include <windows.h>
32525 rm -f conftest.
$ac_objext
32526 if { (ac_try
="$ac_compile"
32527 case "(($ac_try" in
32528 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32529 *) ac_try_echo=$ac_try;;
32531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32532 (eval "$ac_compile") 2>conftest.er1
32534 grep -v '^ *+' conftest.er1 >conftest.err
32536 cat conftest.err >&5
32537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32538 (exit $ac_status); } && {
32539 test -z "$ac_c_werror_flag" ||
32540 test ! -s conftest.err
32541 } && test -s conftest.$ac_objext; then
32542 ac_cv_header_ddraw_h=yes
32544 echo "$as_me: failed program was:" >&5
32545 sed 's/^/| /' conftest.$ac_ext >&5
32547 ac_cv_header_ddraw_h=no
32550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32552 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32553 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32559 if test "$wxUSE_DETECT_SM" = "yes"; then
32560 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32561 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32562 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32565 for ac_dir in $SEARCH_LIB;
32567 for ac_extension in a so sl dylib dll.a; do
32568 if test -f "$ac_dir/libSM.$ac_extension"; then
32569 ac_find_libraries=$ac_dir
32575 if test "$ac_find_libraries" != "" ; then
32577 if test "$ac_find_libraries" = "default location"; then
32580 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32582 if test $result = 0; then
32585 ac_path_to_link=" -L$ac_find_libraries"
32589 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32590 LDFLAGS="$LDFLAGS $ac_path_to_link"
32592 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32593 { echo "$as_me:$LINENO: result: yes" >&5
32594 echo "${ECHO_T}yes" >&6; }
32596 { echo "$as_me:$LINENO: result: no" >&5
32597 echo "${ECHO_T}no" >&6; }
32598 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32599 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32600 wxUSE_DETECT_SM="no"
32603 wxUSE_DETECT_SM="no"
32610 if test "$wxUSE_OPENGL" = "yes"; then
32611 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32612 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32613 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32615 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32616 OPENGL_LIBS="-framework OpenGL -framework AGL"
32617 elif test "$wxUSE_MSW" = 1; then
32618 OPENGL_LIBS="-lopengl32 -lglu32"
32620 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32621 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32624 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32626 if test -f "$ac_dir/GL/gl.h"; then
32627 ac_find_includes=$ac_dir
32632 if test "$ac_find_includes" != "" ; then
32633 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32634 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32636 if test "x$ac_find_includes" = "x/usr/include"; then
32637 ac_path_to_include=""
32639 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32641 if test $result = 0; then
32642 ac_path_to_include=""
32644 ac_path_to_include=" -I$ac_find_includes"
32648 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32650 { echo "$as_me:$LINENO: result: not found" >&5
32651 echo "${ECHO_T}not found" >&6; }
32654 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32655 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32656 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32657 echo $ECHO_N "(cached) $ECHO_C" >&6
32659 cat >conftest.$ac_ext <<_ACEOF
32662 cat confdefs.h >>conftest.$ac_ext
32663 cat >>conftest.$ac_ext <<_ACEOF
32664 /* end confdefs.h. */
32669 rm -f conftest.$ac_objext
32670 if { (ac_try="$ac_compile"
32671 case "(($ac_try" in
32672 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32673 *) ac_try_echo
=$ac_try;;
32675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32676 (eval "$ac_compile") 2>conftest.er1
32678 grep -v '^ *+' conftest.er1
>conftest.err
32680 cat conftest.err
>&5
32681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32682 (exit $ac_status); } && {
32683 test -z "$ac_c_werror_flag" ||
32684 test ! -s conftest.err
32685 } && test -s conftest.
$ac_objext; then
32686 ac_cv_header_GL_gl_h
=yes
32688 echo "$as_me: failed program was:" >&5
32689 sed 's/^/| /' conftest.
$ac_ext >&5
32691 ac_cv_header_GL_gl_h
=no
32694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32696 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32697 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32698 if test $ac_cv_header_GL_gl_h = yes; then
32700 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32701 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32702 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32703 echo $ECHO_N "(cached) $ECHO_C" >&6
32705 cat >conftest.
$ac_ext <<_ACEOF
32708 cat confdefs.h
>>conftest.
$ac_ext
32709 cat >>conftest.
$ac_ext <<_ACEOF
32710 /* end confdefs.h. */
32713 #include <GL/glu.h>
32715 rm -f conftest.
$ac_objext
32716 if { (ac_try
="$ac_compile"
32717 case "(($ac_try" in
32718 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32719 *) ac_try_echo=$ac_try;;
32721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32722 (eval "$ac_compile") 2>conftest.er1
32724 grep -v '^ *+' conftest.er1 >conftest.err
32726 cat conftest.err >&5
32727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32728 (exit $ac_status); } && {
32729 test -z "$ac_c_werror_flag" ||
32730 test ! -s conftest.err
32731 } && test -s conftest.$ac_objext; then
32732 ac_cv_header_GL_glu_h=yes
32734 echo "$as_me: failed program was:" >&5
32735 sed 's/^/| /' conftest.$ac_ext >&5
32737 ac_cv_header_GL_glu_h=no
32740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32742 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32743 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32744 if test $ac_cv_header_GL_glu_h = yes; then
32748 { echo "$as_me:$LINENO: checking for -lGL" >&5
32749 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32752 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32754 for ac_extension in a so sl dylib dll.a; do
32755 if test -f "$ac_dir/libGL.$ac_extension"; then
32756 ac_find_libraries=$ac_dir
32762 if test "$ac_find_libraries" != "" ; then
32763 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32764 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32767 if test "$ac_find_libraries" = "default location"; then
32770 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32772 if test $result = 0; then
32775 ac_path_to_link=" -L$ac_find_libraries"
32779 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32780 LDFLAGS_GL="$ac_path_to_link"
32783 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32784 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32787 for ac_dir in $SEARCH_LIB;
32789 for ac_extension in a so sl dylib dll.a; do
32790 if test -f "$ac_dir/libGLU.$ac_extension"; then
32791 ac_find_libraries=$ac_dir
32797 if test "$ac_find_libraries" != "" ; then
32799 if test "$ac_find_libraries" = "default location"; then
32802 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32804 if test $result = 0; then
32807 ac_path_to_link=" -L$ac_find_libraries"
32811 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32812 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32813 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32817 OPENGL_LIBS="-lGL -lGLU"
32818 { echo "$as_me:$LINENO: result: yes" >&5
32819 echo "${ECHO_T}yes" >&6; }
32821 { echo "$as_me:$LINENO: result: no" >&5
32822 echo "${ECHO_T}no" >&6; }
32825 { echo "$as_me:$LINENO: result: no" >&5
32826 echo "${ECHO_T}no" >&6; }
32829 if test "$found_gl" != 1; then
32830 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32831 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32834 for ac_dir in $SEARCH_LIB;
32836 for ac_extension in a so sl dylib dll.a; do
32837 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32838 ac_find_libraries=$ac_dir
32844 if test "$ac_find_libraries" != "" ; then
32846 if test "$ac_find_libraries" = "default location"; then
32849 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32851 if test $result = 0; then
32854 ac_path_to_link=" -L$ac_find_libraries"
32858 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32859 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32860 { echo "$as_me:$LINENO: result: yes" >&5
32861 echo "${ECHO_T}yes" >&6; }
32863 { echo "$as_me:$LINENO: result: no" >&5
32864 echo "${ECHO_T}no" >&6; }
32876 if test "x$OPENGL_LIBS" = "x"; then
32877 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32878 echo "$as_me: error: OpenGL libraries not available" >&2;}
32879 { (exit 1); exit 1; }; }
32883 if test "$wxUSE_OPENGL" = "yes"; then
32885 cat >>confdefs.h <<\_ACEOF
32886 #define wxUSE_OPENGL 1
32889 cat >>confdefs.h <<\_ACEOF
32890 #define wxUSE_GLCANVAS 1
32893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32898 if test -n "$TOOLKIT" ; then
32899 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32904 if test "$wxUSE_SHARED" = "yes"; then
32908 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32909 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32914 if test "$wxUSE_SHARED" = "yes"; then
32918 *-*-cygwin* | *-*-mingw* )
32919 wx_cv_version_script=no
32923 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32924 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32925 if test "${wx_cv_version_script+set}" = set; then
32926 echo $ECHO_N "(cached) $ECHO_C" >&6
32929 echo "VER_1 { *; };" >conftest.sym
32930 echo "int main() { return 0; }" >conftest.cpp
32933 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32934 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32936 (eval $ac_try) 2>&5
32938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32939 (exit $ac_status); }; } ; then
32940 if test -s conftest.stderr ; then
32941 wx_cv_version_script=no
32943 wx_cv_version_script=yes
32946 wx_cv_version_script=no
32949 if test $wx_cv_version_script = yes
32951 echo "struct B { virtual ~B() { } }; \
32952 struct D : public B { }; \
32953 void F() { D d; }" > conftest.cpp
32956 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32957 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32959 (eval $ac_try) 2>&5
32961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32962 (exit $ac_status); }; } &&
32964 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32965 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32967 (eval $ac_try) 2>&5
32969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32970 (exit $ac_status); }; }
32973 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32974 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32976 (eval $ac_try) 2>&5
32978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32979 (exit $ac_status); }; }
32981 wx_cv_version_script=yes
32983 wx_cv_version_script=no
32988 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32989 rm -f conftest1.output conftest2.output conftest3.output
32992 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32993 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32995 if test $wx_cv_version_script = yes ; then
32996 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33002 if test "$wxUSE_VISIBILITY" != "no"; then
33005 if test -n "$GCC"; then
33006 CFLAGS_VISIBILITY="-fvisibility=hidden"
33007 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33008 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33009 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33010 if test "${wx_cv_cc_visibility+set}" = set; then
33011 echo $ECHO_N "(cached) $ECHO_C" >&6
33014 wx_save_CXXFLAGS="$CXXFLAGS"
33015 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33017 ac_cpp='$CXXCPP $CPPFLAGS'
33018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33022 cat >conftest.$ac_ext <<_ACEOF
33025 cat confdefs.h >>conftest.$ac_ext
33026 cat >>conftest.$ac_ext <<_ACEOF
33027 /* end confdefs.h. */
33029 /* we need gcc >= 4.0, older versions with visibility support
33030 didn't have class visibility: */
33031 #if defined(__GNUC__) && __GNUC__ < 4
33032 error this gcc is too old;
33035 /* visibility only makes sense for ELF shared libs: */
33036 #if !defined(__ELF__) && !defined(__APPLE__)
33037 error this platform has no visibility;
33040 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33041 extern __attribute__((__visibility__("default"))) int exportedvar;
33042 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33043 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33044 class __attribute__((__visibility__("default"))) Foo {
33056 rm -f conftest.$ac_objext
33057 if { (ac_try="$ac_compile"
33058 case "(($ac_try" in
33059 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33060 *) ac_try_echo
=$ac_try;;
33062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33063 (eval "$ac_compile") 2>conftest.er1
33065 grep -v '^ *+' conftest.er1
>conftest.err
33067 cat conftest.err
>&5
33068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33069 (exit $ac_status); } && {
33070 test -z "$ac_cxx_werror_flag" ||
33071 test ! -s conftest.err
33072 } && test -s conftest.
$ac_objext; then
33073 wx_cv_cc_visibility
=yes
33075 echo "$as_me: failed program was:" >&5
33076 sed 's/^/| /' conftest.
$ac_ext >&5
33078 wx_cv_cc_visibility
=no
33081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33083 ac_cpp
='$CPP $CPPFLAGS'
33084 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33085 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33086 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33088 CXXFLAGS
="$wx_save_CXXFLAGS"
33091 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33092 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33093 if test $wx_cv_cc_visibility = yes; then
33094 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33095 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33096 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33097 echo $ECHO_N "(cached) $ECHO_C" >&6
33100 wx_save_CXXFLAGS
="$CXXFLAGS"
33101 wx_save_LDFLAGS
="$LDFLAGS"
33102 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33103 LDFLAGS
="$LDFLAGS -shared -fPIC"
33105 ac_cpp
='$CXXCPP $CPPFLAGS'
33106 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33107 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33108 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33110 cat >conftest.
$ac_ext <<_ACEOF
33113 cat confdefs.h
>>conftest.
$ac_ext
33114 cat >>conftest.
$ac_ext <<_ACEOF
33115 /* end confdefs.h. */
33123 std::string s("hello");
33130 rm -f conftest.
$ac_objext conftest
$ac_exeext
33131 if { (ac_try
="$ac_link"
33132 case "(($ac_try" in
33133 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33134 *) ac_try_echo=$ac_try;;
33136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33137 (eval "$ac_link") 2>conftest.er1
33139 grep -v '^ *+' conftest.er1 >conftest.err
33141 cat conftest.err >&5
33142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33143 (exit $ac_status); } && {
33144 test -z "$ac_cxx_werror_flag" ||
33145 test ! -s conftest.err
33146 } && test -s conftest$ac_exeext &&
33147 $as_test_x conftest$ac_exeext; then
33148 wx_cv_cc_broken_libstdcxx_visibility=no
33150 echo "$as_me: failed program was:" >&5
33151 sed 's/^/| /' conftest.$ac_ext >&5
33153 wx_cv_cc_broken_libstdcxx_visibility=yes
33156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33157 conftest$ac_exeext conftest.$ac_ext
33159 ac_cpp='$CPP $CPPFLAGS'
33160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33164 CXXFLAGS="$wx_save_CXXFLAGS"
33165 LDFLAGS="$wx_save_LDFLAGS"
33168 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33169 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33171 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33172 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33173 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33174 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33175 echo $ECHO_N "(cached) $ECHO_C" >&6
33179 ac_cpp='$CXXCPP $CPPFLAGS'
33180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33184 cat >conftest.$ac_ext <<_ACEOF
33187 cat confdefs.h >>conftest.$ac_ext
33188 cat >>conftest.$ac_ext <<_ACEOF
33189 /* end confdefs.h. */
33191 #pragma GCC visibility push(default)
33193 #pragma GCC visibility pop
33199 std::string s("hello");
33206 rm -f conftest.$ac_objext conftest$ac_exeext
33207 if { (ac_try="$ac_link"
33208 case "(($ac_try" in
33209 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33210 *) ac_try_echo
=$ac_try;;
33212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33213 (eval "$ac_link") 2>conftest.er1
33215 grep -v '^ *+' conftest.er1
>conftest.err
33217 cat conftest.err
>&5
33218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33219 (exit $ac_status); } && {
33220 test -z "$ac_cxx_werror_flag" ||
33221 test ! -s conftest.err
33222 } && test -s conftest
$ac_exeext &&
33223 $as_test_x conftest
$ac_exeext; then
33224 wx_cv_cc_visibility_workaround
=no
33226 echo "$as_me: failed program was:" >&5
33227 sed 's/^/| /' conftest.
$ac_ext >&5
33229 wx_cv_cc_visibility_workaround
=yes
33232 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33233 conftest
$ac_exeext conftest.
$ac_ext
33235 ac_cpp
='$CPP $CPPFLAGS'
33236 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33237 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33238 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33243 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33244 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33246 if test $wx_cv_cc_visibility_workaround = no
; then
33247 wx_cv_cc_visibility
=no
33252 if test $wx_cv_cc_visibility = yes; then
33253 cat >>confdefs.h
<<\_ACEOF
33254 #define HAVE_VISIBILITY 1
33257 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33258 cat >>confdefs.h
<<\_ACEOF
33259 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33264 CFLAGS_VISIBILITY
=""
33265 CXXFLAGS_VISIBILITY
=""
33273 if test "x$SUNCXX" = xyes
; then
33274 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33275 WXCONFIG_RPATH
="-R\$libdir"
33278 *-*-linux* | *-*-gnu* )
33279 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33280 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33285 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33287 saveLdflags
="$LDFLAGS"
33288 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33289 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33290 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33291 cat >conftest.
$ac_ext <<_ACEOF
33294 cat confdefs.h
>>conftest.
$ac_ext
33295 cat >>conftest.
$ac_ext <<_ACEOF
33296 /* end confdefs.h. */
33306 rm -f conftest.
$ac_objext conftest
$ac_exeext
33307 if { (ac_try
="$ac_link"
33308 case "(($ac_try" in
33309 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33310 *) ac_try_echo=$ac_try;;
33312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33313 (eval "$ac_link") 2>conftest.er1
33315 grep -v '^ *+' conftest.er1 >conftest.err
33317 cat conftest.err >&5
33318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33319 (exit $ac_status); } && {
33320 test -z "$ac_c_werror_flag" ||
33321 test ! -s conftest.err
33322 } && test -s conftest$ac_exeext &&
33323 $as_test_x conftest$ac_exeext; then
33325 { echo "$as_me:$LINENO: result: yes" >&5
33326 echo "${ECHO_T}yes" >&6; }
33327 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33328 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33331 echo "$as_me: failed program was:" >&5
33332 sed 's/^/| /' conftest.$ac_ext >&5
33335 { echo "$as_me:$LINENO: result: no" >&5
33336 echo "${ECHO_T}no" >&6; }
33337 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33338 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33339 LDFLAGS="$saveLdflags -Wl,-R,/"
33340 cat >conftest.$ac_ext <<_ACEOF
33343 cat confdefs.h >>conftest.$ac_ext
33344 cat >>conftest.$ac_ext <<_ACEOF
33345 /* end confdefs.h. */
33355 rm -f conftest.$ac_objext conftest$ac_exeext
33356 if { (ac_try="$ac_link"
33357 case "(($ac_try" in
33358 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33359 *) ac_try_echo
=$ac_try;;
33361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33362 (eval "$ac_link") 2>conftest.er1
33364 grep -v '^ *+' conftest.er1
>conftest.err
33366 cat conftest.err
>&5
33367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33368 (exit $ac_status); } && {
33369 test -z "$ac_c_werror_flag" ||
33370 test ! -s conftest.err
33371 } && test -s conftest
$ac_exeext &&
33372 $as_test_x conftest
$ac_exeext; then
33374 { echo "$as_me:$LINENO: result: yes" >&5
33375 echo "${ECHO_T}yes" >&6; }
33376 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33377 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33380 echo "$as_me: failed program was:" >&5
33381 sed 's/^/| /' conftest.
$ac_ext >&5
33384 { echo "$as_me:$LINENO: result: no" >&5
33385 echo "${ECHO_T}no" >&6; }
33389 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33390 conftest
$ac_exeext conftest.
$ac_ext
33394 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33395 conftest
$ac_exeext conftest.
$ac_ext
33396 LDFLAGS
="$saveLdflags"
33400 install_name_tool
=`which install_name_tool`
33401 if test "$install_name_tool" -a -x "$install_name_tool"; then
33402 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33403 cat <<EOF >change-install-names
33405 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33406 inst_cmd="install_name_tool "
33407 for i in \${libnames} ; do
33408 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33412 chmod +x change
-install-names
33416 *-*-cygwin* | *-*-mingw32* )
33420 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33421 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33427 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33429 if test $wxUSE_RPATH = "no"; then
33430 SAMPLES_RPATH_FLAG
=''
33431 SAMPLES_RPATH_POSTLINK
=''
33439 config_linkage_component
="-static"
33446 lib_unicode_suffix
=
33448 if test "$wxUSE_UNICODE" = "yes"; then
33449 lib_unicode_suffix
=u
33450 WX_CHARTYPE
="unicode"
33455 WX_DEBUGTYPE
="release"
33457 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33459 WX_DEBUGTYPE
="debug"
33463 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33464 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33467 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33471 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33473 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33475 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33477 if test "$cross_compiling" = "yes"; then
33478 HOST_SUFFIX
="-$host_alias"
33479 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33480 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33483 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33484 if test "${TOOLKIT_DIR}" = "os2"; then
33485 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33487 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33492 if test "$wxUSE_COCOA" = 1; then
33495 ac_cpp
='$CPP $CPPFLAGS'
33496 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33497 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33498 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33502 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33503 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33504 cat >conftest.
$ac_ext <<_ACEOF
33507 cat confdefs.h
>>conftest.
$ac_ext
33508 cat >>conftest.
$ac_ext <<_ACEOF
33509 /* end confdefs.h. */
33510 #include <AppKit/NSEvent.h>
33511 #include <CoreFoundation/CoreFoundation.h>
33521 rm -f conftest.
$ac_objext
33522 if { (ac_try
="$ac_compile"
33523 case "(($ac_try" in
33524 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33525 *) ac_try_echo=$ac_try;;
33527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33528 (eval "$ac_compile") 2>conftest.er1
33530 grep -v '^ *+' conftest.er1 >conftest.err
33532 cat conftest.err >&5
33533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33534 (exit $ac_status); } && {
33535 test -z "$ac_c_werror_flag" ||
33536 test ! -s conftest.err
33537 } && test -s conftest.$ac_objext; then
33538 { echo "$as_me:$LINENO: result: no" >&5
33539 echo "${ECHO_T}no" >&6; }
33541 echo "$as_me: failed program was:" >&5
33542 sed 's/^/| /' conftest.$ac_ext >&5
33544 { echo "$as_me:$LINENO: result: yes" >&5
33545 echo "${ECHO_T}yes" >&6; }
33546 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33547 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33548 cat >conftest.$ac_ext <<_ACEOF
33551 cat confdefs.h >>conftest.$ac_ext
33552 cat >>conftest.$ac_ext <<_ACEOF
33553 /* end confdefs.h. */
33554 #define __Point__ 1
33555 #include <AppKit/NSEvent.h>
33556 #include <CoreFoundation/CoreFoundation.h>
33566 rm -f conftest.$ac_objext
33567 if { (ac_try="$ac_compile"
33568 case "(($ac_try" in
33569 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33570 *) ac_try_echo
=$ac_try;;
33572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33573 (eval "$ac_compile") 2>conftest.er1
33575 grep -v '^ *+' conftest.er1
>conftest.err
33577 cat conftest.err
>&5
33578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33579 (exit $ac_status); } && {
33580 test -z "$ac_c_werror_flag" ||
33581 test ! -s conftest.err
33582 } && test -s conftest.
$ac_objext; then
33583 { echo "$as_me:$LINENO: result: yes" >&5
33584 echo "${ECHO_T}yes" >&6; }
33585 cat >>confdefs.h
<<\_ACEOF
33586 #define __Point__ 1
33591 echo "$as_me: failed program was:" >&5
33592 sed 's/^/| /' conftest.
$ac_ext >&5
33594 { { echo "$as_me:$LINENO: error: no
33595 See \`config.log' for more details." >&5
33596 echo "$as_me: error: no
33597 See \`config.log' for more details." >&2;}
33598 { (exit 1); exit 1; }; }
33602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33608 ac_cpp
='$CPP $CPPFLAGS'
33609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33616 { echo "$as_me:$LINENO: checking for mode_t" >&5
33617 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33618 if test "${ac_cv_type_mode_t+set}" = set; then
33619 echo $ECHO_N "(cached) $ECHO_C" >&6
33621 cat >conftest.
$ac_ext <<_ACEOF
33624 cat confdefs.h
>>conftest.
$ac_ext
33625 cat >>conftest.
$ac_ext <<_ACEOF
33626 /* end confdefs.h. */
33627 $ac_includes_default
33628 typedef mode_t ac__type_new_;
33632 if ((ac__type_new_ *) 0)
33634 if (sizeof (ac__type_new_))
33640 rm -f conftest.
$ac_objext
33641 if { (ac_try
="$ac_compile"
33642 case "(($ac_try" in
33643 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33644 *) ac_try_echo=$ac_try;;
33646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33647 (eval "$ac_compile") 2>conftest.er1
33649 grep -v '^ *+' conftest.er1 >conftest.err
33651 cat conftest.err >&5
33652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33653 (exit $ac_status); } && {
33654 test -z "$ac_c_werror_flag" ||
33655 test ! -s conftest.err
33656 } && test -s conftest.$ac_objext; then
33657 ac_cv_type_mode_t=yes
33659 echo "$as_me: failed program was:" >&5
33660 sed 's/^/| /' conftest.$ac_ext >&5
33662 ac_cv_type_mode_t=no
33665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33667 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33668 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33669 if test $ac_cv_type_mode_t = yes; then
33673 cat >>confdefs.h <<_ACEOF
33679 { echo "$as_me:$LINENO: checking for off_t" >&5
33680 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33681 if test "${ac_cv_type_off_t+set}" = set; then
33682 echo $ECHO_N "(cached) $ECHO_C" >&6
33684 cat >conftest.$ac_ext <<_ACEOF
33687 cat confdefs.h >>conftest.$ac_ext
33688 cat >>conftest.$ac_ext <<_ACEOF
33689 /* end confdefs.h. */
33690 $ac_includes_default
33691 typedef off_t ac__type_new_;
33695 if ((ac__type_new_ *) 0)
33697 if (sizeof (ac__type_new_))
33703 rm -f conftest.$ac_objext
33704 if { (ac_try="$ac_compile"
33705 case "(($ac_try" in
33706 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33707 *) ac_try_echo
=$ac_try;;
33709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33710 (eval "$ac_compile") 2>conftest.er1
33712 grep -v '^ *+' conftest.er1
>conftest.err
33714 cat conftest.err
>&5
33715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33716 (exit $ac_status); } && {
33717 test -z "$ac_c_werror_flag" ||
33718 test ! -s conftest.err
33719 } && test -s conftest.
$ac_objext; then
33720 ac_cv_type_off_t
=yes
33722 echo "$as_me: failed program was:" >&5
33723 sed 's/^/| /' conftest.
$ac_ext >&5
33725 ac_cv_type_off_t
=no
33728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33730 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33731 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33732 if test $ac_cv_type_off_t = yes; then
33736 cat >>confdefs.h
<<_ACEOF
33737 #define off_t long int
33742 { echo "$as_me:$LINENO: checking for pid_t" >&5
33743 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33744 if test "${ac_cv_type_pid_t+set}" = set; then
33745 echo $ECHO_N "(cached) $ECHO_C" >&6
33747 cat >conftest.
$ac_ext <<_ACEOF
33750 cat confdefs.h
>>conftest.
$ac_ext
33751 cat >>conftest.
$ac_ext <<_ACEOF
33752 /* end confdefs.h. */
33753 $ac_includes_default
33754 typedef pid_t ac__type_new_;
33758 if ((ac__type_new_ *) 0)
33760 if (sizeof (ac__type_new_))
33766 rm -f conftest.
$ac_objext
33767 if { (ac_try
="$ac_compile"
33768 case "(($ac_try" in
33769 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33770 *) ac_try_echo=$ac_try;;
33772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33773 (eval "$ac_compile") 2>conftest.er1
33775 grep -v '^ *+' conftest.er1 >conftest.err
33777 cat conftest.err >&5
33778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33779 (exit $ac_status); } && {
33780 test -z "$ac_c_werror_flag" ||
33781 test ! -s conftest.err
33782 } && test -s conftest.$ac_objext; then
33783 ac_cv_type_pid_t=yes
33785 echo "$as_me: failed program was:" >&5
33786 sed 's/^/| /' conftest.$ac_ext >&5
33788 ac_cv_type_pid_t=no
33791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33793 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33794 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33795 if test $ac_cv_type_pid_t = yes; then
33799 cat >>confdefs.h <<_ACEOF
33805 { echo "$as_me:$LINENO: checking for size_t" >&5
33806 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33807 if test "${ac_cv_type_size_t+set}" = set; then
33808 echo $ECHO_N "(cached) $ECHO_C" >&6
33810 cat >conftest.$ac_ext <<_ACEOF
33813 cat confdefs.h >>conftest.$ac_ext
33814 cat >>conftest.$ac_ext <<_ACEOF
33815 /* end confdefs.h. */
33816 $ac_includes_default
33817 typedef size_t ac__type_new_;
33821 if ((ac__type_new_ *) 0)
33823 if (sizeof (ac__type_new_))
33829 rm -f conftest.$ac_objext
33830 if { (ac_try="$ac_compile"
33831 case "(($ac_try" in
33832 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33833 *) ac_try_echo
=$ac_try;;
33835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33836 (eval "$ac_compile") 2>conftest.er1
33838 grep -v '^ *+' conftest.er1
>conftest.err
33840 cat conftest.err
>&5
33841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33842 (exit $ac_status); } && {
33843 test -z "$ac_c_werror_flag" ||
33844 test ! -s conftest.err
33845 } && test -s conftest.
$ac_objext; then
33846 ac_cv_type_size_t
=yes
33848 echo "$as_me: failed program was:" >&5
33849 sed 's/^/| /' conftest.
$ac_ext >&5
33851 ac_cv_type_size_t
=no
33854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33856 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33857 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33858 if test $ac_cv_type_size_t = yes; then
33862 cat >>confdefs.h
<<_ACEOF
33863 #define size_t unsigned int
33869 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33870 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33871 if test "${ac_cv_type_ssize_t+set}" = set; then
33872 echo $ECHO_N "(cached) $ECHO_C" >&6
33874 cat >conftest.
$ac_ext <<_ACEOF
33877 cat confdefs.h
>>conftest.
$ac_ext
33878 cat >>conftest.
$ac_ext <<_ACEOF
33879 /* end confdefs.h. */
33880 $ac_includes_default
33881 typedef ssize_t ac__type_new_;
33885 if ((ac__type_new_ *) 0)
33887 if (sizeof (ac__type_new_))
33893 rm -f conftest.
$ac_objext
33894 if { (ac_try
="$ac_compile"
33895 case "(($ac_try" in
33896 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33897 *) ac_try_echo=$ac_try;;
33899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33900 (eval "$ac_compile") 2>conftest.er1
33902 grep -v '^ *+' conftest.er1 >conftest.err
33904 cat conftest.err >&5
33905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33906 (exit $ac_status); } && {
33907 test -z "$ac_c_werror_flag" ||
33908 test ! -s conftest.err
33909 } && test -s conftest.$ac_objext; then
33910 ac_cv_type_ssize_t=yes
33912 echo "$as_me: failed program was:" >&5
33913 sed 's/^/| /' conftest.$ac_ext >&5
33915 ac_cv_type_ssize_t=no
33918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33920 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33921 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33922 if test $ac_cv_type_ssize_t = yes; then
33924 cat >>confdefs.h <<_ACEOF
33925 #define HAVE_SSIZE_T 1
33933 ac_cpp='$CXXCPP $CPPFLAGS'
33934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33937 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33938 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33939 if test "${wx_cv_size_t_is_uint+set}" = set; then
33940 echo $ECHO_N "(cached) $ECHO_C" >&6
33943 cat >conftest.$ac_ext <<_ACEOF
33946 cat confdefs.h >>conftest.$ac_ext
33947 cat >>conftest.$ac_ext <<_ACEOF
33948 /* end confdefs.h. */
33949 #include <stddef.h>
33956 struct Foo { void foo(size_t); void foo(unsigned int); };
33964 rm -f conftest.$ac_objext
33965 if { (ac_try="$ac_compile"
33966 case "(($ac_try" in
33967 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33968 *) ac_try_echo
=$ac_try;;
33970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33971 (eval "$ac_compile") 2>conftest.er1
33973 grep -v '^ *+' conftest.er1
>conftest.err
33975 cat conftest.err
>&5
33976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33977 (exit $ac_status); } && {
33978 test -z "$ac_cxx_werror_flag" ||
33979 test ! -s conftest.err
33980 } && test -s conftest.
$ac_objext; then
33981 wx_cv_size_t_is_uint
=no
33983 echo "$as_me: failed program was:" >&5
33984 sed 's/^/| /' conftest.
$ac_ext >&5
33986 wx_cv_size_t_is_uint
=yes
33990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33994 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33995 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33997 if test "$wx_cv_size_t_is_uint" = "yes"; then
33998 cat >>confdefs.h
<<\_ACEOF
33999 #define wxSIZE_T_IS_UINT 1
34003 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34004 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34005 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34006 echo $ECHO_N "(cached) $ECHO_C" >&6
34008 cat >conftest.
$ac_ext <<_ACEOF
34011 cat confdefs.h
>>conftest.
$ac_ext
34012 cat >>conftest.
$ac_ext <<_ACEOF
34013 /* end confdefs.h. */
34014 #include <stddef.h>
34021 struct Foo { void foo(size_t); void foo(unsigned long); };
34029 rm -f conftest.
$ac_objext
34030 if { (ac_try
="$ac_compile"
34031 case "(($ac_try" in
34032 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34033 *) ac_try_echo=$ac_try;;
34035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34036 (eval "$ac_compile") 2>conftest.er1
34038 grep -v '^ *+' conftest.er1 >conftest.err
34040 cat conftest.err >&5
34041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34042 (exit $ac_status); } && {
34043 test -z "$ac_cxx_werror_flag" ||
34044 test ! -s conftest.err
34045 } && test -s conftest.$ac_objext; then
34046 wx_cv_size_t_is_ulong=no
34048 echo "$as_me: failed program was:" >&5
34049 sed 's/^/| /' conftest.$ac_ext >&5
34051 wx_cv_size_t_is_ulong=yes
34055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34058 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34059 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34061 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34062 cat >>confdefs.h <<\_ACEOF
34063 #define wxSIZE_T_IS_ULONG 1
34069 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34070 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34071 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34072 echo $ECHO_N "(cached) $ECHO_C" >&6
34074 cat >conftest.$ac_ext <<_ACEOF
34077 cat confdefs.h >>conftest.$ac_ext
34078 cat >>conftest.$ac_ext <<_ACEOF
34079 /* end confdefs.h. */
34087 struct Foo { void foo(wchar_t);
34088 void foo(unsigned short);
34089 void foo(unsigned int);
34090 void foo(unsigned long); };
34098 rm -f conftest.$ac_objext
34099 if { (ac_try="$ac_compile"
34100 case "(($ac_try" in
34101 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34102 *) ac_try_echo
=$ac_try;;
34104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34105 (eval "$ac_compile") 2>conftest.er1
34107 grep -v '^ *+' conftest.er1
>conftest.err
34109 cat conftest.err
>&5
34110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34111 (exit $ac_status); } && {
34112 test -z "$ac_cxx_werror_flag" ||
34113 test ! -s conftest.err
34114 } && test -s conftest.
$ac_objext; then
34115 wx_cv_wchar_t_is_separate_type
=yes
34117 echo "$as_me: failed program was:" >&5
34118 sed 's/^/| /' conftest.
$ac_ext >&5
34120 wx_cv_wchar_t_is_separate_type
=no
34124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34127 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34128 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34130 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34131 cat >>confdefs.h
<<\_ACEOF
34132 #define wxWCHAR_T_IS_REAL_TYPE 1
34136 cat >>confdefs.h
<<\_ACEOF
34137 #define wxWCHAR_T_IS_REAL_TYPE 0
34143 ac_cpp
='$CPP $CPPFLAGS'
34144 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34145 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34146 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34149 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34150 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34151 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34152 echo $ECHO_N "(cached) $ECHO_C" >&6
34155 cat >conftest.
$ac_ext <<_ACEOF
34158 cat confdefs.h
>>conftest.
$ac_ext
34159 cat >>conftest.
$ac_ext <<_ACEOF
34160 /* end confdefs.h. */
34174 rm -f conftest.
$ac_objext
34175 if { (ac_try
="$ac_compile"
34176 case "(($ac_try" in
34177 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34178 *) ac_try_echo=$ac_try;;
34180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34181 (eval "$ac_compile") 2>conftest.er1
34183 grep -v '^ *+' conftest.er1 >conftest.err
34185 cat conftest.err >&5
34186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34187 (exit $ac_status); } && {
34188 test -z "$ac_c_werror_flag" ||
34189 test ! -s conftest.err
34190 } && test -s conftest.$ac_objext; then
34192 wx_cv_struct_pw_gecos=yes
34195 echo "$as_me: failed program was:" >&5
34196 sed 's/^/| /' conftest.$ac_ext >&5
34199 wx_cv_struct_pw_gecos=no
34204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34208 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34209 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34211 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34212 cat >>confdefs.h <<\_ACEOF
34213 #define HAVE_PW_GECOS 1
34219 if test "$wxUSE_WCHAR_T" = "yes"; then
34220 cat >>confdefs.h <<\_ACEOF
34221 #define wxUSE_WCHAR_T 1
34228 for ac_func in wcslen
34230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34231 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34233 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34234 echo $ECHO_N "(cached) $ECHO_C" >&6
34236 cat >conftest.$ac_ext <<_ACEOF
34239 cat confdefs.h >>conftest.$ac_ext
34240 cat >>conftest.$ac_ext <<_ACEOF
34241 /* end confdefs.h. */
34242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34244 #define $ac_func innocuous_$ac_func
34246 /* System header to define __stub macros and hopefully few prototypes,
34247 which can conflict with char $ac_func (); below.
34248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34249 <limits.h> exists even on freestanding compilers. */
34252 # include <limits.h>
34254 # include <assert.h>
34259 /* Override any GCC internal prototype to avoid an error.
34260 Use char because int might match the return type of a GCC
34261 builtin and then its argument prototype would still apply. */
34266 /* The GNU C library defines this for functions which it implements
34267 to always fail with ENOSYS. Some functions are actually named
34268 something starting with __ and the normal name is an alias. */
34269 #if defined __stub_$ac_func || defined __stub___$ac_func
34276 return $ac_func ();
34281 rm -f conftest.$ac_objext conftest$ac_exeext
34282 if { (ac_try="$ac_link"
34283 case "(($ac_try" in
34284 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34285 *) ac_try_echo
=$ac_try;;
34287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34288 (eval "$ac_link") 2>conftest.er1
34290 grep -v '^ *+' conftest.er1
>conftest.err
34292 cat conftest.err
>&5
34293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34294 (exit $ac_status); } && {
34295 test -z "$ac_c_werror_flag" ||
34296 test ! -s conftest.err
34297 } && test -s conftest
$ac_exeext &&
34298 $as_test_x conftest
$ac_exeext; then
34299 eval "$as_ac_var=yes"
34301 echo "$as_me: failed program was:" >&5
34302 sed 's/^/| /' conftest.
$ac_ext >&5
34304 eval "$as_ac_var=no"
34307 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34308 conftest
$ac_exeext conftest.
$ac_ext
34310 ac_res
=`eval echo '${'$as_ac_var'}'`
34311 { echo "$as_me:$LINENO: result: $ac_res" >&5
34312 echo "${ECHO_T}$ac_res" >&6; }
34313 if test `eval echo '${'$as_ac_var'}'` = yes; then
34314 cat >>confdefs.h
<<_ACEOF
34315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34322 if test "$WCSLEN_FOUND" = 0; then
34323 if test "$TOOLKIT" = "MSW"; then
34324 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34325 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34326 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34327 echo $ECHO_N "(cached) $ECHO_C" >&6
34329 ac_check_lib_save_LIBS
=$LIBS
34330 LIBS
="-lmsvcrt $LIBS"
34331 cat >conftest.
$ac_ext <<_ACEOF
34334 cat confdefs.h
>>conftest.
$ac_ext
34335 cat >>conftest.
$ac_ext <<_ACEOF
34336 /* end confdefs.h. */
34338 /* Override any GCC internal prototype to avoid an error.
34339 Use char because int might match the return type of a GCC
34340 builtin and then its argument prototype would still apply. */
34353 rm -f conftest.
$ac_objext conftest
$ac_exeext
34354 if { (ac_try
="$ac_link"
34355 case "(($ac_try" in
34356 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34357 *) ac_try_echo=$ac_try;;
34359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34360 (eval "$ac_link") 2>conftest.er1
34362 grep -v '^ *+' conftest.er1 >conftest.err
34364 cat conftest.err >&5
34365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34366 (exit $ac_status); } && {
34367 test -z "$ac_c_werror_flag" ||
34368 test ! -s conftest.err
34369 } && test -s conftest$ac_exeext &&
34370 $as_test_x conftest$ac_exeext; then
34371 ac_cv_lib_msvcrt_wcslen=yes
34373 echo "$as_me: failed program was:" >&5
34374 sed 's/^/| /' conftest.$ac_ext >&5
34376 ac_cv_lib_msvcrt_wcslen=no
34379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34380 conftest$ac_exeext conftest.$ac_ext
34381 LIBS=$ac_check_lib_save_LIBS
34383 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34384 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34385 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34390 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34391 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34392 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34393 echo $ECHO_N "(cached) $ECHO_C" >&6
34395 ac_check_lib_save_LIBS=$LIBS
34397 cat >conftest.$ac_ext <<_ACEOF
34400 cat confdefs.h >>conftest.$ac_ext
34401 cat >>conftest.$ac_ext <<_ACEOF
34402 /* end confdefs.h. */
34404 /* Override any GCC internal prototype to avoid an error.
34405 Use char because int might match the return type of a GCC
34406 builtin and then its argument prototype would still apply. */
34419 rm -f conftest.$ac_objext conftest$ac_exeext
34420 if { (ac_try="$ac_link"
34421 case "(($ac_try" in
34422 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34423 *) ac_try_echo
=$ac_try;;
34425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34426 (eval "$ac_link") 2>conftest.er1
34428 grep -v '^ *+' conftest.er1
>conftest.err
34430 cat conftest.err
>&5
34431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34432 (exit $ac_status); } && {
34433 test -z "$ac_c_werror_flag" ||
34434 test ! -s conftest.err
34435 } && test -s conftest
$ac_exeext &&
34436 $as_test_x conftest
$ac_exeext; then
34437 ac_cv_lib_w_wcslen
=yes
34439 echo "$as_me: failed program was:" >&5
34440 sed 's/^/| /' conftest.
$ac_ext >&5
34442 ac_cv_lib_w_wcslen
=no
34445 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34446 conftest
$ac_exeext conftest.
$ac_ext
34447 LIBS
=$ac_check_lib_save_LIBS
34449 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34450 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34451 if test $ac_cv_lib_w_wcslen = yes; then
34461 if test "$WCSLEN_FOUND" = 1; then
34462 cat >>confdefs.h
<<\_ACEOF
34463 #define HAVE_WCSLEN 1
34469 for ac_func
in wcsdup
34471 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34472 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34474 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34475 echo $ECHO_N "(cached) $ECHO_C" >&6
34477 cat >conftest.
$ac_ext <<_ACEOF
34480 cat confdefs.h
>>conftest.
$ac_ext
34481 cat >>conftest.
$ac_ext <<_ACEOF
34482 /* end confdefs.h. */
34483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34485 #define $ac_func innocuous_$ac_func
34487 /* System header to define __stub macros and hopefully few prototypes,
34488 which can conflict with char $ac_func (); below.
34489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34490 <limits.h> exists even on freestanding compilers. */
34493 # include <limits.h>
34495 # include <assert.h>
34500 /* Override any GCC internal prototype to avoid an error.
34501 Use char because int might match the return type of a GCC
34502 builtin and then its argument prototype would still apply. */
34507 /* The GNU C library defines this for functions which it implements
34508 to always fail with ENOSYS. Some functions are actually named
34509 something starting with __ and the normal name is an alias. */
34510 #if defined __stub_$ac_func || defined __stub___$ac_func
34517 return $ac_func ();
34522 rm -f conftest.
$ac_objext conftest
$ac_exeext
34523 if { (ac_try
="$ac_link"
34524 case "(($ac_try" in
34525 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34526 *) ac_try_echo=$ac_try;;
34528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34529 (eval "$ac_link") 2>conftest.er1
34531 grep -v '^ *+' conftest.er1 >conftest.err
34533 cat conftest.err >&5
34534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34535 (exit $ac_status); } && {
34536 test -z "$ac_c_werror_flag" ||
34537 test ! -s conftest.err
34538 } && test -s conftest$ac_exeext &&
34539 $as_test_x conftest$ac_exeext; then
34540 eval "$as_ac_var=yes"
34542 echo "$as_me: failed program was:" >&5
34543 sed 's/^/| /' conftest.$ac_ext >&5
34545 eval "$as_ac_var=no"
34548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34549 conftest$ac_exeext conftest.$ac_ext
34551 ac_res=`eval echo '${'$as_ac_var'}'`
34552 { echo "$as_me:$LINENO: result: $ac_res" >&5
34553 echo "${ECHO_T}$ac_res" >&6; }
34554 if test `eval echo '${'$as_ac_var'}'` = yes; then
34555 cat >>confdefs.h <<_ACEOF
34556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34563 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34564 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34567 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34568 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34569 if test "${ac_cv_type_mbstate_t+set}" = set; then
34570 echo $ECHO_N "(cached) $ECHO_C" >&6
34572 cat >conftest.$ac_ext <<_ACEOF
34575 cat confdefs.h >>conftest.$ac_ext
34576 cat >>conftest.$ac_ext <<_ACEOF
34577 /* end confdefs.h. */
34580 typedef mbstate_t ac__type_new_;
34584 if ((ac__type_new_ *) 0)
34586 if (sizeof (ac__type_new_))
34592 rm -f conftest.$ac_objext
34593 if { (ac_try="$ac_compile"
34594 case "(($ac_try" in
34595 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34596 *) ac_try_echo
=$ac_try;;
34598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34599 (eval "$ac_compile") 2>conftest.er1
34601 grep -v '^ *+' conftest.er1
>conftest.err
34603 cat conftest.err
>&5
34604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34605 (exit $ac_status); } && {
34606 test -z "$ac_c_werror_flag" ||
34607 test ! -s conftest.err
34608 } && test -s conftest.
$ac_objext; then
34609 ac_cv_type_mbstate_t
=yes
34611 echo "$as_me: failed program was:" >&5
34612 sed 's/^/| /' conftest.
$ac_ext >&5
34614 ac_cv_type_mbstate_t
=no
34617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34619 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34620 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34621 if test $ac_cv_type_mbstate_t = yes; then
34623 cat >>confdefs.h
<<_ACEOF
34624 #define HAVE_MBSTATE_T 1
34628 for ac_func
in wcsrtombs
34630 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34631 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34633 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34634 echo $ECHO_N "(cached) $ECHO_C" >&6
34636 cat >conftest.
$ac_ext <<_ACEOF
34639 cat confdefs.h
>>conftest.
$ac_ext
34640 cat >>conftest.
$ac_ext <<_ACEOF
34641 /* end confdefs.h. */
34642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34644 #define $ac_func innocuous_$ac_func
34646 /* System header to define __stub macros and hopefully few prototypes,
34647 which can conflict with char $ac_func (); below.
34648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34649 <limits.h> exists even on freestanding compilers. */
34652 # include <limits.h>
34654 # include <assert.h>
34659 /* Override any GCC internal prototype to avoid an error.
34660 Use char because int might match the return type of a GCC
34661 builtin and then its argument prototype would still apply. */
34666 /* The GNU C library defines this for functions which it implements
34667 to always fail with ENOSYS. Some functions are actually named
34668 something starting with __ and the normal name is an alias. */
34669 #if defined __stub_$ac_func || defined __stub___$ac_func
34676 return $ac_func ();
34681 rm -f conftest.
$ac_objext conftest
$ac_exeext
34682 if { (ac_try
="$ac_link"
34683 case "(($ac_try" in
34684 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34685 *) ac_try_echo=$ac_try;;
34687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34688 (eval "$ac_link") 2>conftest.er1
34690 grep -v '^ *+' conftest.er1 >conftest.err
34692 cat conftest.err >&5
34693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34694 (exit $ac_status); } && {
34695 test -z "$ac_c_werror_flag" ||
34696 test ! -s conftest.err
34697 } && test -s conftest$ac_exeext &&
34698 $as_test_x conftest$ac_exeext; then
34699 eval "$as_ac_var=yes"
34701 echo "$as_me: failed program was:" >&5
34702 sed 's/^/| /' conftest.$ac_ext >&5
34704 eval "$as_ac_var=no"
34707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34708 conftest$ac_exeext conftest.$ac_ext
34710 ac_res=`eval echo '${'$as_ac_var'}'`
34711 { echo "$as_me:$LINENO: result: $ac_res" >&5
34712 echo "${ECHO_T}$ac_res" >&6; }
34713 if test `eval echo '${'$as_ac_var'}'` = yes; then
34714 cat >>confdefs.h <<_ACEOF
34715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34724 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34725 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34730 for ac_func in snprintf vsnprintf
34732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34733 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34735 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34736 echo $ECHO_N "(cached) $ECHO_C" >&6
34738 cat >conftest.$ac_ext <<_ACEOF
34741 cat confdefs.h >>conftest.$ac_ext
34742 cat >>conftest.$ac_ext <<_ACEOF
34743 /* end confdefs.h. */
34744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34746 #define $ac_func innocuous_$ac_func
34748 /* System header to define __stub macros and hopefully few prototypes,
34749 which can conflict with char $ac_func (); below.
34750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34751 <limits.h> exists even on freestanding compilers. */
34754 # include <limits.h>
34756 # include <assert.h>
34761 /* Override any GCC internal prototype to avoid an error.
34762 Use char because int might match the return type of a GCC
34763 builtin and then its argument prototype would still apply. */
34768 /* The GNU C library defines this for functions which it implements
34769 to always fail with ENOSYS. Some functions are actually named
34770 something starting with __ and the normal name is an alias. */
34771 #if defined __stub_$ac_func || defined __stub___$ac_func
34778 return $ac_func ();
34783 rm -f conftest.$ac_objext conftest$ac_exeext
34784 if { (ac_try="$ac_link"
34785 case "(($ac_try" in
34786 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34787 *) ac_try_echo
=$ac_try;;
34789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34790 (eval "$ac_link") 2>conftest.er1
34792 grep -v '^ *+' conftest.er1
>conftest.err
34794 cat conftest.err
>&5
34795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34796 (exit $ac_status); } && {
34797 test -z "$ac_c_werror_flag" ||
34798 test ! -s conftest.err
34799 } && test -s conftest
$ac_exeext &&
34800 $as_test_x conftest
$ac_exeext; then
34801 eval "$as_ac_var=yes"
34803 echo "$as_me: failed program was:" >&5
34804 sed 's/^/| /' conftest.
$ac_ext >&5
34806 eval "$as_ac_var=no"
34809 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34810 conftest
$ac_exeext conftest.
$ac_ext
34812 ac_res
=`eval echo '${'$as_ac_var'}'`
34813 { echo "$as_me:$LINENO: result: $ac_res" >&5
34814 echo "${ECHO_T}$ac_res" >&6; }
34815 if test `eval echo '${'$as_ac_var'}'` = yes; then
34816 cat >>confdefs.h
<<_ACEOF
34817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34824 if test "$ac_cv_func_vsnprintf" = "yes"; then
34825 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34826 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34827 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34828 echo $ECHO_N "(cached) $ECHO_C" >&6
34831 cat >conftest.
$ac_ext <<_ACEOF
34834 cat confdefs.h
>>conftest.
$ac_ext
34835 cat >>conftest.
$ac_ext <<_ACEOF
34836 /* end confdefs.h. */
34839 #include <stdarg.h>
34841 #if __MSL__ >= 0x6000
34843 using namespace std;
34853 vsnprintf(buf, 10u, "%s", ap);
34859 rm -f conftest.
$ac_objext
34860 if { (ac_try
="$ac_compile"
34861 case "(($ac_try" in
34862 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34863 *) ac_try_echo=$ac_try;;
34865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34866 (eval "$ac_compile") 2>conftest.er1
34868 grep -v '^ *+' conftest.er1 >conftest.err
34870 cat conftest.err >&5
34871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34872 (exit $ac_status); } && {
34873 test -z "$ac_c_werror_flag" ||
34874 test ! -s conftest.err
34875 } && test -s conftest.$ac_objext; then
34876 wx_cv_func_vsnprintf_decl=yes
34878 echo "$as_me: failed program was:" >&5
34879 sed 's/^/| /' conftest.$ac_ext >&5
34881 wx_cv_func_vsnprintf_decl=no
34885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34889 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34890 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34892 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34893 cat >>confdefs.h <<\_ACEOF
34894 #define HAVE_VSNPRINTF_DECL 1
34898 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34899 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34900 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34901 echo $ECHO_N "(cached) $ECHO_C" >&6
34904 cat >conftest.$ac_ext <<_ACEOF
34907 cat confdefs.h >>conftest.$ac_ext
34908 cat >>conftest.$ac_ext <<_ACEOF
34909 /* end confdefs.h. */
34912 #include <stdarg.h>
34914 #if __MSL__ >= 0x6000
34916 using namespace std;
34926 const char *fmt = "%s";
34927 vsnprintf(buf, 10u, fmt, ap);
34933 rm -f conftest.$ac_objext
34934 if { (ac_try="$ac_compile"
34935 case "(($ac_try" in
34936 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34937 *) ac_try_echo
=$ac_try;;
34939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34940 (eval "$ac_compile") 2>conftest.er1
34942 grep -v '^ *+' conftest.er1
>conftest.err
34944 cat conftest.err
>&5
34945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34946 (exit $ac_status); } && {
34947 test -z "$ac_c_werror_flag" ||
34948 test ! -s conftest.err
34949 } && test -s conftest.
$ac_objext; then
34950 wx_cv_func_broken_vsnprintf_decl
=no
34952 echo "$as_me: failed program was:" >&5
34953 sed 's/^/| /' conftest.
$ac_ext >&5
34955 wx_cv_func_broken_vsnprintf_decl
=yes
34959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34963 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34964 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34966 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34967 cat >>confdefs.h
<<\_ACEOF
34968 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34975 if test "$ac_cv_func_snprintf" = "yes"; then
34976 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34977 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34978 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34979 echo $ECHO_N "(cached) $ECHO_C" >&6
34982 cat >conftest.
$ac_ext <<_ACEOF
34985 cat confdefs.h
>>conftest.
$ac_ext
34986 cat >>conftest.
$ac_ext <<_ACEOF
34987 /* end confdefs.h. */
34990 #include <stdarg.h>
34992 #if __MSL__ >= 0x6000
34994 using namespace std;
35003 snprintf(buf, 10u, "%s", "wx");
35009 rm -f conftest.
$ac_objext
35010 if { (ac_try
="$ac_compile"
35011 case "(($ac_try" in
35012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35013 *) ac_try_echo=$ac_try;;
35015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35016 (eval "$ac_compile") 2>conftest.er1
35018 grep -v '^ *+' conftest.er1 >conftest.err
35020 cat conftest.err >&5
35021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35022 (exit $ac_status); } && {
35023 test -z "$ac_c_werror_flag" ||
35024 test ! -s conftest.err
35025 } && test -s conftest.$ac_objext; then
35026 wx_cv_func_snprintf_decl=yes
35028 echo "$as_me: failed program was:" >&5
35029 sed 's/^/| /' conftest.$ac_ext >&5
35031 wx_cv_func_snprintf_decl=no
35035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35039 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35040 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35042 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35043 cat >>confdefs.h <<\_ACEOF
35044 #define HAVE_SNPRINTF_DECL 1
35049 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35051 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35052 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35053 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35054 echo $ECHO_N "(cached) $ECHO_C" >&6
35057 if test "$cross_compiling" = yes; then
35059 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35060 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35061 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35062 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35063 wx_cv_func_snprintf_pos_params=no
35067 cat >conftest.$ac_ext <<_ACEOF
35070 cat confdefs.h >>conftest.$ac_ext
35071 cat >>conftest.$ac_ext <<_ACEOF
35072 /* end confdefs.h. */
35079 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35080 if (strcmp ("2 3 1", buffer) == 0)
35086 rm -f conftest$ac_exeext
35087 if { (ac_try="$ac_link"
35088 case "(($ac_try" in
35089 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35090 *) ac_try_echo
=$ac_try;;
35092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35093 (eval "$ac_link") 2>&5
35095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35096 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35097 { (case "(($ac_try" in
35098 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35099 *) ac_try_echo=$ac_try;;
35101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35102 (eval "$ac_try") 2>&5
35104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35105 (exit $ac_status); }; }; then
35106 wx_cv_func_snprintf_pos_params=no
35108 echo "$as_me: program exited with status $ac_status" >&5
35109 echo "$as_me: failed program was:" >&5
35110 sed 's/^/| /' conftest.$ac_ext >&5
35112 ( exit $ac_status )
35113 wx_cv_func_snprintf_pos_params=yes
35115 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35122 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35123 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35125 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35126 cat >>confdefs.h <<\_ACEOF
35127 #define HAVE_UNIX98_PRINTF 1
35134 if test "$wxUSE_UNICODE" = yes; then
35136 wchar_headers="#include <stdio.h>
35137 #include <wchar.h>"
35141 for ac_header in widec.h
35143 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35144 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35147 echo $ECHO_N "(cached) $ECHO_C" >&6
35149 cat >conftest.$ac_ext <<_ACEOF
35152 cat confdefs.h >>conftest.$ac_ext
35153 cat >>conftest.$ac_ext <<_ACEOF
35154 /* end confdefs.h. */
35155 $ac_includes_default
35157 #include <$ac_header>
35159 rm -f conftest.$ac_objext
35160 if { (ac_try="$ac_compile"
35161 case "(($ac_try" in
35162 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35163 *) ac_try_echo
=$ac_try;;
35165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35166 (eval "$ac_compile") 2>conftest.er1
35168 grep -v '^ *+' conftest.er1
>conftest.err
35170 cat conftest.err
>&5
35171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35172 (exit $ac_status); } && {
35173 test -z "$ac_c_werror_flag" ||
35174 test ! -s conftest.err
35175 } && test -s conftest.
$ac_objext; then
35176 eval "$as_ac_Header=yes"
35178 echo "$as_me: failed program was:" >&5
35179 sed 's/^/| /' conftest.
$ac_ext >&5
35181 eval "$as_ac_Header=no"
35184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35186 ac_res
=`eval echo '${'$as_ac_Header'}'`
35187 { echo "$as_me:$LINENO: result: $ac_res" >&5
35188 echo "${ECHO_T}$ac_res" >&6; }
35189 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35190 cat >>confdefs.h
<<_ACEOF
35191 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35198 if test "$ac_cv_header_widec_h" = "yes"; then
35199 wchar_headers
="$wchar_headers
35200 #include <widec.h>"
35205 for wx_func
in putws fputws wprintf vswprintf
35207 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35208 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35209 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35210 echo $ECHO_N "(cached) $ECHO_C" >&6
35213 cat >conftest.
$ac_ext <<_ACEOF
35217 cat confdefs.h
>>conftest.
$ac_ext
35218 cat >>conftest.
$ac_ext <<_ACEOF
35219 /* end confdefs.h. */
35222 $ac_includes_default
35238 rm -f conftest.
$ac_objext conftest
$ac_exeext
35239 if { (ac_try
="$ac_link"
35240 case "(($ac_try" in
35241 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35242 *) ac_try_echo=$ac_try;;
35244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35245 (eval "$ac_link") 2>conftest.er1
35247 grep -v '^ *+' conftest.er1 >conftest.err
35249 cat conftest.err >&5
35250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35251 (exit $ac_status); } && {
35252 test -z "$ac_c_werror_flag" ||
35253 test ! -s conftest.err
35254 } && test -s conftest$ac_exeext &&
35255 $as_test_x conftest$ac_exeext; then
35256 eval wx_cv_func_$wx_func=yes
35258 echo "$as_me: failed program was:" >&5
35259 sed 's/^/| /' conftest.$ac_ext >&5
35261 eval wx_cv_func_$wx_func=no
35264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35265 conftest$ac_exeext conftest.$ac_ext
35268 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35269 { echo "$as_me:$LINENO: result: $ac_res" >&5
35270 echo "${ECHO_T}$ac_res" >&6; }
35272 if eval test \$wx_cv_func_$wx_func = yes
35274 cat >>confdefs.h <<_ACEOF
35275 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35286 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35287 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35288 cat >conftest.$ac_ext <<_ACEOF
35291 cat confdefs.h >>conftest.$ac_ext
35292 cat >>conftest.$ac_ext <<_ACEOF
35293 /* end confdefs.h. */
35303 rm -f conftest.$ac_objext
35304 if { (ac_try="$ac_compile"
35305 case "(($ac_try" in
35306 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35307 *) ac_try_echo
=$ac_try;;
35309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35310 (eval "$ac_compile") 2>conftest.er1
35312 grep -v '^ *+' conftest.er1
>conftest.err
35314 cat conftest.err
>&5
35315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35316 (exit $ac_status); } && {
35317 test -z "$ac_c_werror_flag" ||
35318 test ! -s conftest.err
35319 } && test -s conftest.
$ac_objext; then
35320 { echo "$as_me:$LINENO: result: yes" >&5
35321 echo "${ECHO_T}yes" >&6; }
35322 cat >>confdefs.h
<<\_ACEOF
35323 #define HAVE__VSNWPRINTF 1
35327 echo "$as_me: failed program was:" >&5
35328 sed 's/^/| /' conftest.
$ac_ext >&5
35330 { echo "$as_me:$LINENO: result: no" >&5
35331 echo "${ECHO_T}no" >&6; }
35334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
35337 if test "$wxUSE_FILE" = "yes"; then
35339 for wx_func
in fsync
35341 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35342 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35343 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35344 echo $ECHO_N "(cached) $ECHO_C" >&6
35347 cat >conftest.
$ac_ext <<_ACEOF
35351 cat confdefs.h
>>conftest.
$ac_ext
35352 cat >>conftest.
$ac_ext <<_ACEOF
35353 /* end confdefs.h. */
35356 $ac_includes_default
35372 rm -f conftest.
$ac_objext conftest
$ac_exeext
35373 if { (ac_try
="$ac_link"
35374 case "(($ac_try" in
35375 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35376 *) ac_try_echo=$ac_try;;
35378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35379 (eval "$ac_link") 2>conftest.er1
35381 grep -v '^ *+' conftest.er1 >conftest.err
35383 cat conftest.err >&5
35384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35385 (exit $ac_status); } && {
35386 test -z "$ac_c_werror_flag" ||
35387 test ! -s conftest.err
35388 } && test -s conftest$ac_exeext &&
35389 $as_test_x conftest$ac_exeext; then
35390 eval wx_cv_func_$wx_func=yes
35392 echo "$as_me: failed program was:" >&5
35393 sed 's/^/| /' conftest.$ac_ext >&5
35395 eval wx_cv_func_$wx_func=no
35398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35399 conftest$ac_exeext conftest.$ac_ext
35402 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35403 { echo "$as_me:$LINENO: result: $ac_res" >&5
35404 echo "${ECHO_T}$ac_res" >&6; }
35406 if eval test \$wx_cv_func_$wx_func = yes
35408 cat >>confdefs.h <<_ACEOF
35409 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35422 ac_cpp='$CXXCPP $CPPFLAGS'
35423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35428 for wx_func in round
35430 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35431 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35432 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35433 echo $ECHO_N "(cached) $ECHO_C" >&6
35436 cat >conftest.$ac_ext <<_ACEOF
35440 cat confdefs.h >>conftest.$ac_ext
35441 cat >>conftest.$ac_ext <<_ACEOF
35442 /* end confdefs.h. */
35445 $ac_includes_default
35461 rm -f conftest.$ac_objext conftest$ac_exeext
35462 if { (ac_try="$ac_link"
35463 case "(($ac_try" in
35464 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35465 *) ac_try_echo
=$ac_try;;
35467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35468 (eval "$ac_link") 2>conftest.er1
35470 grep -v '^ *+' conftest.er1
>conftest.err
35472 cat conftest.err
>&5
35473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35474 (exit $ac_status); } && {
35475 test -z "$ac_cxx_werror_flag" ||
35476 test ! -s conftest.err
35477 } && test -s conftest
$ac_exeext &&
35478 $as_test_x conftest
$ac_exeext; then
35479 eval wx_cv_func_
$wx_func=yes
35481 echo "$as_me: failed program was:" >&5
35482 sed 's/^/| /' conftest.
$ac_ext >&5
35484 eval wx_cv_func_
$wx_func=no
35487 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35488 conftest
$ac_exeext conftest.
$ac_ext
35491 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35492 { echo "$as_me:$LINENO: result: $ac_res" >&5
35493 echo "${ECHO_T}$ac_res" >&6; }
35495 if eval test \
$wx_cv_func_$wx_func = yes
35497 cat >>confdefs.h
<<_ACEOF
35498 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35509 ac_cpp
='$CPP $CPPFLAGS'
35510 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35511 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35512 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35515 if test "$TOOLKIT" != "MSW"; then
35521 # Check whether --with-libiconv-prefix was given.
35522 if test "${with_libiconv_prefix+set}" = set; then
35523 withval
=$with_libiconv_prefix;
35524 for dir
in `echo "$withval" | tr : ' '`; do
35525 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35526 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35532 { echo "$as_me:$LINENO: checking for iconv" >&5
35533 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35534 if test "${am_cv_func_iconv+set}" = set; then
35535 echo $ECHO_N "(cached) $ECHO_C" >&6
35538 am_cv_func_iconv
="no, consider installing GNU libiconv"
35540 cat >conftest.
$ac_ext <<_ACEOF
35543 cat confdefs.h
>>conftest.
$ac_ext
35544 cat >>conftest.
$ac_ext <<_ACEOF
35545 /* end confdefs.h. */
35546 #include <stdlib.h>
35551 iconv_t cd = iconv_open("","");
35552 iconv(cd,NULL,NULL,NULL,NULL);
35558 rm -f conftest.
$ac_objext conftest
$ac_exeext
35559 if { (ac_try
="$ac_link"
35560 case "(($ac_try" in
35561 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35562 *) ac_try_echo=$ac_try;;
35564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35565 (eval "$ac_link") 2>conftest.er1
35567 grep -v '^ *+' conftest.er1 >conftest.err
35569 cat conftest.err >&5
35570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35571 (exit $ac_status); } && {
35572 test -z "$ac_c_werror_flag" ||
35573 test ! -s conftest.err
35574 } && test -s conftest$ac_exeext &&
35575 $as_test_x conftest$ac_exeext; then
35576 am_cv_func_iconv=yes
35578 echo "$as_me: failed program was:" >&5
35579 sed 's/^/| /' conftest.$ac_ext >&5
35584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35585 conftest$ac_exeext conftest.$ac_ext
35586 if test "$am_cv_func_iconv" != yes; then
35587 am_save_LIBS="$LIBS"
35588 LIBS="$LIBS -liconv"
35589 cat >conftest.$ac_ext <<_ACEOF
35592 cat confdefs.h >>conftest.$ac_ext
35593 cat >>conftest.$ac_ext <<_ACEOF
35594 /* end confdefs.h. */
35595 #include <stdlib.h>
35600 iconv_t cd = iconv_open("","");
35601 iconv(cd,NULL,NULL,NULL,NULL);
35607 rm -f conftest.$ac_objext conftest$ac_exeext
35608 if { (ac_try="$ac_link"
35609 case "(($ac_try" in
35610 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35611 *) ac_try_echo
=$ac_try;;
35613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35614 (eval "$ac_link") 2>conftest.er1
35616 grep -v '^ *+' conftest.er1
>conftest.err
35618 cat conftest.err
>&5
35619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35620 (exit $ac_status); } && {
35621 test -z "$ac_c_werror_flag" ||
35622 test ! -s conftest.err
35623 } && test -s conftest
$ac_exeext &&
35624 $as_test_x conftest
$ac_exeext; then
35625 am_cv_lib_iconv
=yes
35626 am_cv_func_iconv
=yes
35628 echo "$as_me: failed program was:" >&5
35629 sed 's/^/| /' conftest.
$ac_ext >&5
35634 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35635 conftest
$ac_exeext conftest.
$ac_ext
35636 LIBS
="$am_save_LIBS"
35640 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35641 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35642 if test "$am_cv_func_iconv" = yes; then
35644 cat >>confdefs.h
<<\_ACEOF
35645 #define HAVE_ICONV 1
35648 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35649 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35650 if test "${wx_cv_func_iconv_const+set}" = set; then
35651 echo $ECHO_N "(cached) $ECHO_C" >&6
35653 cat >conftest.
$ac_ext <<_ACEOF
35656 cat confdefs.h
>>conftest.
$ac_ext
35657 cat >>conftest.
$ac_ext <<_ACEOF
35658 /* end confdefs.h. */
35660 #include <stdlib.h>
35666 #if defined(__STDC__) || defined(__cplusplus)
35667 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35680 rm -f conftest.
$ac_objext
35681 if { (ac_try
="$ac_compile"
35682 case "(($ac_try" in
35683 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35684 *) ac_try_echo=$ac_try;;
35686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35687 (eval "$ac_compile") 2>conftest.er1
35689 grep -v '^ *+' conftest.er1 >conftest.err
35691 cat conftest.err >&5
35692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35693 (exit $ac_status); } && {
35694 test -z "$ac_c_werror_flag" ||
35695 test ! -s conftest.err
35696 } && test -s conftest.$ac_objext; then
35697 wx_cv_func_iconv_const="no"
35699 echo "$as_me: failed program was:" >&5
35700 sed 's/^/| /' conftest.$ac_ext >&5
35702 wx_cv_func_iconv_const="yes"
35706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35709 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35710 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35713 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35714 iconv_const="const"
35718 cat >>confdefs.h <<_ACEOF
35719 #define ICONV_CONST $iconv_const
35724 if test "$am_cv_lib_iconv" = yes; then
35729 LIBS="$LIBICONV $LIBS"
35731 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35733 for ac_func in sigaction
35735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35736 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35738 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35739 echo $ECHO_N "(cached) $ECHO_C" >&6
35741 cat >conftest.$ac_ext <<_ACEOF
35744 cat confdefs.h >>conftest.$ac_ext
35745 cat >>conftest.$ac_ext <<_ACEOF
35746 /* end confdefs.h. */
35747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35749 #define $ac_func innocuous_$ac_func
35751 /* System header to define __stub macros and hopefully few prototypes,
35752 which can conflict with char $ac_func (); below.
35753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35754 <limits.h> exists even on freestanding compilers. */
35757 # include <limits.h>
35759 # include <assert.h>
35764 /* Override any GCC internal prototype to avoid an error.
35765 Use char because int might match the return type of a GCC
35766 builtin and then its argument prototype would still apply. */
35771 /* The GNU C library defines this for functions which it implements
35772 to always fail with ENOSYS. Some functions are actually named
35773 something starting with __ and the normal name is an alias. */
35774 #if defined __stub_$ac_func || defined __stub___$ac_func
35781 return $ac_func ();
35786 rm -f conftest.$ac_objext conftest$ac_exeext
35787 if { (ac_try="$ac_link"
35788 case "(($ac_try" in
35789 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35790 *) ac_try_echo
=$ac_try;;
35792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35793 (eval "$ac_link") 2>conftest.er1
35795 grep -v '^ *+' conftest.er1
>conftest.err
35797 cat conftest.err
>&5
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); } && {
35800 test -z "$ac_c_werror_flag" ||
35801 test ! -s conftest.err
35802 } && test -s conftest
$ac_exeext &&
35803 $as_test_x conftest
$ac_exeext; then
35804 eval "$as_ac_var=yes"
35806 echo "$as_me: failed program was:" >&5
35807 sed 's/^/| /' conftest.
$ac_ext >&5
35809 eval "$as_ac_var=no"
35812 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35813 conftest
$ac_exeext conftest.
$ac_ext
35815 ac_res
=`eval echo '${'$as_ac_var'}'`
35816 { echo "$as_me:$LINENO: result: $ac_res" >&5
35817 echo "${ECHO_T}$ac_res" >&6; }
35818 if test `eval echo '${'$as_ac_var'}'` = yes; then
35819 cat >>confdefs.h
<<_ACEOF
35820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35827 if test "$ac_cv_func_sigaction" = "no"; then
35828 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35829 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35830 wxUSE_ON_FATAL_EXCEPTION
=no
35833 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35834 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35835 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35836 if test "${wx_cv_type_sa_handler+set}" = set; then
35837 echo $ECHO_N "(cached) $ECHO_C" >&6
35841 ac_cpp
='$CXXCPP $CPPFLAGS'
35842 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35843 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35844 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35846 cat >conftest.
$ac_ext <<_ACEOF
35849 cat confdefs.h
>>conftest.
$ac_ext
35850 cat >>conftest.
$ac_ext <<_ACEOF
35851 /* end confdefs.h. */
35852 #include <signal.h>
35857 extern void testSigHandler(int);
35859 struct sigaction sa;
35860 sa.sa_handler = testSigHandler;
35866 rm -f conftest.
$ac_objext
35867 if { (ac_try
="$ac_compile"
35868 case "(($ac_try" in
35869 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35870 *) ac_try_echo=$ac_try;;
35872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35873 (eval "$ac_compile") 2>conftest.er1
35875 grep -v '^ *+' conftest.er1 >conftest.err
35877 cat conftest.err >&5
35878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35879 (exit $ac_status); } && {
35880 test -z "$ac_cxx_werror_flag" ||
35881 test ! -s conftest.err
35882 } && test -s conftest.$ac_objext; then
35884 wx_cv_type_sa_handler=int
35887 echo "$as_me: failed program was:" >&5
35888 sed 's/^/| /' conftest.$ac_ext >&5
35891 wx_cv_type_sa_handler=void
35895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35897 ac_cpp='$CPP $CPPFLAGS'
35898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35904 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35905 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35907 cat >>confdefs.h <<_ACEOF
35908 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35914 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35915 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35916 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35917 if test "${wx_cv_func_backtrace+set}" = set; then
35918 echo $ECHO_N "(cached) $ECHO_C" >&6
35922 ac_cpp='$CXXCPP $CPPFLAGS'
35923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35927 cat >conftest.$ac_ext <<_ACEOF
35930 cat confdefs.h >>conftest.$ac_ext
35931 cat >>conftest.$ac_ext <<_ACEOF
35932 /* end confdefs.h. */
35933 #include <execinfo.h>
35941 backtrace(trace, 1);
35942 messages = backtrace_symbols(trace, 1);
35948 rm -f conftest.$ac_objext
35949 if { (ac_try="$ac_compile"
35950 case "(($ac_try" in
35951 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35952 *) ac_try_echo
=$ac_try;;
35954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35955 (eval "$ac_compile") 2>conftest.er1
35957 grep -v '^ *+' conftest.er1
>conftest.err
35959 cat conftest.err
>&5
35960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35961 (exit $ac_status); } && {
35962 test -z "$ac_cxx_werror_flag" ||
35963 test ! -s conftest.err
35964 } && test -s conftest.
$ac_objext; then
35965 wx_cv_func_backtrace
=yes
35967 echo "$as_me: failed program was:" >&5
35968 sed 's/^/| /' conftest.
$ac_ext >&5
35970 wx_cv_func_backtrace
=no
35974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35976 ac_cpp
='$CPP $CPPFLAGS'
35977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35984 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35985 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35988 if test "$wx_cv_func_backtrace" = "no"; then
35989 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35990 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35991 wxUSE_STACKWALKER
=no
35993 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35994 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35995 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35996 echo $ECHO_N "(cached) $ECHO_C" >&6
36000 ac_cpp
='$CXXCPP $CPPFLAGS'
36001 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36002 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36003 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36005 cat >conftest.
$ac_ext <<_ACEOF
36008 cat confdefs.h
>>conftest.
$ac_ext
36009 cat >>conftest.
$ac_ext <<_ACEOF
36010 /* end confdefs.h. */
36011 #include <cxxabi.h>
36017 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36023 rm -f conftest.
$ac_objext conftest
$ac_exeext
36024 if { (ac_try
="$ac_link"
36025 case "(($ac_try" in
36026 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36027 *) ac_try_echo=$ac_try;;
36029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36030 (eval "$ac_link") 2>conftest.er1
36032 grep -v '^ *+' conftest.er1 >conftest.err
36034 cat conftest.err >&5
36035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36036 (exit $ac_status); } && {
36037 test -z "$ac_cxx_werror_flag" ||
36038 test ! -s conftest.err
36039 } && test -s conftest$ac_exeext &&
36040 $as_test_x conftest$ac_exeext; then
36041 wx_cv_func_cxa_demangle=yes
36043 echo "$as_me: failed program was:" >&5
36044 sed 's/^/| /' conftest.$ac_ext >&5
36046 wx_cv_func_cxa_demangle=no
36050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36051 conftest$ac_exeext conftest.$ac_ext
36053 ac_cpp='$CPP $CPPFLAGS'
36054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36061 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36062 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36064 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36065 cat >>confdefs.h <<\_ACEOF
36066 #define HAVE_CXA_DEMANGLE 1
36073 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36074 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36075 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36076 wxUSE_STACKWALKER=no
36082 for ac_func in mkstemp mktemp
36084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36085 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36087 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36088 echo $ECHO_N "(cached) $ECHO_C" >&6
36090 cat >conftest.$ac_ext <<_ACEOF
36093 cat confdefs.h >>conftest.$ac_ext
36094 cat >>conftest.$ac_ext <<_ACEOF
36095 /* end confdefs.h. */
36096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36098 #define $ac_func innocuous_$ac_func
36100 /* System header to define __stub macros and hopefully few prototypes,
36101 which can conflict with char $ac_func (); below.
36102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36103 <limits.h> exists even on freestanding compilers. */
36106 # include <limits.h>
36108 # include <assert.h>
36113 /* Override any GCC internal prototype to avoid an error.
36114 Use char because int might match the return type of a GCC
36115 builtin and then its argument prototype would still apply. */
36120 /* The GNU C library defines this for functions which it implements
36121 to always fail with ENOSYS. Some functions are actually named
36122 something starting with __ and the normal name is an alias. */
36123 #if defined __stub_$ac_func || defined __stub___$ac_func
36130 return $ac_func ();
36135 rm -f conftest.$ac_objext conftest$ac_exeext
36136 if { (ac_try="$ac_link"
36137 case "(($ac_try" in
36138 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36139 *) ac_try_echo
=$ac_try;;
36141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36142 (eval "$ac_link") 2>conftest.er1
36144 grep -v '^ *+' conftest.er1
>conftest.err
36146 cat conftest.err
>&5
36147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36148 (exit $ac_status); } && {
36149 test -z "$ac_c_werror_flag" ||
36150 test ! -s conftest.err
36151 } && test -s conftest
$ac_exeext &&
36152 $as_test_x conftest
$ac_exeext; then
36153 eval "$as_ac_var=yes"
36155 echo "$as_me: failed program was:" >&5
36156 sed 's/^/| /' conftest.
$ac_ext >&5
36158 eval "$as_ac_var=no"
36161 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36162 conftest
$ac_exeext conftest.
$ac_ext
36164 ac_res
=`eval echo '${'$as_ac_var'}'`
36165 { echo "$as_me:$LINENO: result: $ac_res" >&5
36166 echo "${ECHO_T}$ac_res" >&6; }
36167 if test `eval echo '${'$as_ac_var'}'` = yes; then
36168 cat >>confdefs.h
<<_ACEOF
36169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36176 { echo "$as_me:$LINENO: checking for statfs" >&5
36177 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36178 if test "${wx_cv_func_statfs+set}" = set; then
36179 echo $ECHO_N "(cached) $ECHO_C" >&6
36181 cat >conftest.
$ac_ext <<_ACEOF
36184 cat confdefs.h
>>conftest.
$ac_ext
36185 cat >>conftest.
$ac_ext <<_ACEOF
36186 /* end confdefs.h. */
36188 #if defined(__BSD__)
36189 #include <sys/param.h>
36190 #include <sys/mount.h>
36192 #include <sys/vfs.h>
36210 rm -f conftest.
$ac_objext
36211 if { (ac_try
="$ac_compile"
36212 case "(($ac_try" in
36213 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36214 *) ac_try_echo=$ac_try;;
36216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36217 (eval "$ac_compile") 2>conftest.er1
36219 grep -v '^ *+' conftest.er1 >conftest.err
36221 cat conftest.err >&5
36222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36223 (exit $ac_status); } && {
36224 test -z "$ac_c_werror_flag" ||
36225 test ! -s conftest.err
36226 } && test -s conftest.$ac_objext; then
36227 wx_cv_func_statfs=yes
36229 echo "$as_me: failed program was:" >&5
36230 sed 's/^/| /' conftest.$ac_ext >&5
36232 wx_cv_func_statfs=no
36236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36239 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36240 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36242 if test "$wx_cv_func_statfs" = "yes"; then
36243 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36244 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36245 if test "${wx_cv_func_statfs_decl+set}" = set; then
36246 echo $ECHO_N "(cached) $ECHO_C" >&6
36249 ac_cpp='$CXXCPP $CPPFLAGS'
36250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36254 cat >conftest.$ac_ext <<_ACEOF
36257 cat confdefs.h >>conftest.$ac_ext
36258 cat >>conftest.$ac_ext <<_ACEOF
36259 /* end confdefs.h. */
36261 #if defined(__BSD__)
36262 #include <sys/param.h>
36263 #include <sys/mount.h>
36265 #include <sys/vfs.h>
36279 rm -f conftest.$ac_objext
36280 if { (ac_try="$ac_compile"
36281 case "(($ac_try" in
36282 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36283 *) ac_try_echo
=$ac_try;;
36285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36286 (eval "$ac_compile") 2>conftest.er1
36288 grep -v '^ *+' conftest.er1
>conftest.err
36290 cat conftest.err
>&5
36291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36292 (exit $ac_status); } && {
36293 test -z "$ac_cxx_werror_flag" ||
36294 test ! -s conftest.err
36295 } && test -s conftest.
$ac_objext; then
36296 wx_cv_func_statfs_decl
=yes
36298 echo "$as_me: failed program was:" >&5
36299 sed 's/^/| /' conftest.
$ac_ext >&5
36301 wx_cv_func_statfs_decl
=no
36305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36307 ac_cpp
='$CPP $CPPFLAGS'
36308 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36309 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36310 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36314 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36315 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36317 if test "$wx_cv_func_statfs_decl" = "yes"; then
36318 cat >>confdefs.h
<<\_ACEOF
36319 #define HAVE_STATFS_DECL 1
36324 wx_cv_type_statvfs_t
="struct statfs"
36325 cat >>confdefs.h
<<\_ACEOF
36326 #define HAVE_STATFS 1
36330 { echo "$as_me:$LINENO: checking for statvfs" >&5
36331 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36332 if test "${wx_cv_func_statvfs+set}" = set; then
36333 echo $ECHO_N "(cached) $ECHO_C" >&6
36335 cat >conftest.
$ac_ext <<_ACEOF
36338 cat confdefs.h
>>conftest.
$ac_ext
36339 cat >>conftest.
$ac_ext <<_ACEOF
36340 /* end confdefs.h. */
36342 #include <stddef.h>
36343 #include <sys/statvfs.h>
36349 statvfs("/", NULL);
36355 rm -f conftest.
$ac_objext
36356 if { (ac_try
="$ac_compile"
36357 case "(($ac_try" in
36358 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36359 *) ac_try_echo=$ac_try;;
36361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36362 (eval "$ac_compile") 2>conftest.er1
36364 grep -v '^ *+' conftest.er1 >conftest.err
36366 cat conftest.err >&5
36367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36368 (exit $ac_status); } && {
36369 test -z "$ac_c_werror_flag" ||
36370 test ! -s conftest.err
36371 } && test -s conftest.$ac_objext; then
36372 wx_cv_func_statvfs=yes
36374 echo "$as_me: failed program was:" >&5
36375 sed 's/^/| /' conftest.$ac_ext >&5
36377 wx_cv_func_statvfs=no
36381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36384 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36385 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36387 if test "$wx_cv_func_statvfs" = "yes"; then
36388 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36389 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36390 if test "${wx_cv_type_statvfs_t+set}" = set; then
36391 echo $ECHO_N "(cached) $ECHO_C" >&6
36394 ac_cpp='$CXXCPP $CPPFLAGS'
36395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36399 cat >conftest.$ac_ext <<_ACEOF
36402 cat confdefs.h >>conftest.$ac_ext
36403 cat >>conftest.$ac_ext <<_ACEOF
36404 /* end confdefs.h. */
36406 #include <sys/statvfs.h>
36423 rm -f conftest.$ac_objext
36424 if { (ac_try="$ac_compile"
36425 case "(($ac_try" in
36426 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36427 *) ac_try_echo
=$ac_try;;
36429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36430 (eval "$ac_compile") 2>conftest.er1
36432 grep -v '^ *+' conftest.er1
>conftest.err
36434 cat conftest.err
>&5
36435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36436 (exit $ac_status); } && {
36437 test -z "$ac_cxx_werror_flag" ||
36438 test ! -s conftest.err
36439 } && test -s conftest.
$ac_objext; then
36440 wx_cv_type_statvfs_t
=statvfs_t
36442 echo "$as_me: failed program was:" >&5
36443 sed 's/^/| /' conftest.
$ac_ext >&5
36446 cat >conftest.
$ac_ext <<_ACEOF
36449 cat confdefs.h
>>conftest.
$ac_ext
36450 cat >>conftest.
$ac_ext <<_ACEOF
36451 /* end confdefs.h. */
36453 #include <sys/statvfs.h>
36470 rm -f conftest.
$ac_objext
36471 if { (ac_try
="$ac_compile"
36472 case "(($ac_try" in
36473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36474 *) ac_try_echo=$ac_try;;
36476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36477 (eval "$ac_compile") 2>conftest.er1
36479 grep -v '^ *+' conftest.er1 >conftest.err
36481 cat conftest.err >&5
36482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36483 (exit $ac_status); } && {
36484 test -z "$ac_cxx_werror_flag" ||
36485 test ! -s conftest.err
36486 } && test -s conftest.$ac_objext; then
36487 wx_cv_type_statvfs_t="struct statvfs"
36489 echo "$as_me: failed program was:" >&5
36490 sed 's/^/| /' conftest.$ac_ext >&5
36492 wx_cv_type_statvfs_t="unknown"
36496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36503 ac_cpp='$CPP $CPPFLAGS'
36504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36510 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36511 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36513 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36514 cat >>confdefs.h <<\_ACEOF
36515 #define HAVE_STATVFS 1
36520 wx_cv_type_statvfs_t="unknown"
36524 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36525 cat >>confdefs.h <<_ACEOF
36526 #define WX_STATFS_T $wx_cv_type_statvfs_t
36530 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36531 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36534 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36537 for ac_func in fcntl flock
36539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36540 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36542 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36543 echo $ECHO_N "(cached) $ECHO_C" >&6
36545 cat >conftest.$ac_ext <<_ACEOF
36548 cat confdefs.h >>conftest.$ac_ext
36549 cat >>conftest.$ac_ext <<_ACEOF
36550 /* end confdefs.h. */
36551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36553 #define $ac_func innocuous_$ac_func
36555 /* System header to define __stub macros and hopefully few prototypes,
36556 which can conflict with char $ac_func (); below.
36557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36558 <limits.h> exists even on freestanding compilers. */
36561 # include <limits.h>
36563 # include <assert.h>
36568 /* Override any GCC internal prototype to avoid an error.
36569 Use char because int might match the return type of a GCC
36570 builtin and then its argument prototype would still apply. */
36575 /* The GNU C library defines this for functions which it implements
36576 to always fail with ENOSYS. Some functions are actually named
36577 something starting with __ and the normal name is an alias. */
36578 #if defined __stub_$ac_func || defined __stub___$ac_func
36585 return $ac_func ();
36590 rm -f conftest.$ac_objext conftest$ac_exeext
36591 if { (ac_try="$ac_link"
36592 case "(($ac_try" in
36593 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36594 *) ac_try_echo
=$ac_try;;
36596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36597 (eval "$ac_link") 2>conftest.er1
36599 grep -v '^ *+' conftest.er1
>conftest.err
36601 cat conftest.err
>&5
36602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36603 (exit $ac_status); } && {
36604 test -z "$ac_c_werror_flag" ||
36605 test ! -s conftest.err
36606 } && test -s conftest
$ac_exeext &&
36607 $as_test_x conftest
$ac_exeext; then
36608 eval "$as_ac_var=yes"
36610 echo "$as_me: failed program was:" >&5
36611 sed 's/^/| /' conftest.
$ac_ext >&5
36613 eval "$as_ac_var=no"
36616 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36617 conftest
$ac_exeext conftest.
$ac_ext
36619 ac_res
=`eval echo '${'$as_ac_var'}'`
36620 { echo "$as_me:$LINENO: result: $ac_res" >&5
36621 echo "${ECHO_T}$ac_res" >&6; }
36622 if test `eval echo '${'$as_ac_var'}'` = yes; then
36623 cat >>confdefs.h
<<_ACEOF
36624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36631 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36632 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36633 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36634 wxUSE_SNGLINST_CHECKER
=no
36640 for ac_func
in setenv putenv
36642 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36643 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36645 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36646 echo $ECHO_N "(cached) $ECHO_C" >&6
36648 cat >conftest.
$ac_ext <<_ACEOF
36651 cat confdefs.h
>>conftest.
$ac_ext
36652 cat >>conftest.
$ac_ext <<_ACEOF
36653 /* end confdefs.h. */
36654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36656 #define $ac_func innocuous_$ac_func
36658 /* System header to define __stub macros and hopefully few prototypes,
36659 which can conflict with char $ac_func (); below.
36660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36661 <limits.h> exists even on freestanding compilers. */
36664 # include <limits.h>
36666 # include <assert.h>
36671 /* Override any GCC internal prototype to avoid an error.
36672 Use char because int might match the return type of a GCC
36673 builtin and then its argument prototype would still apply. */
36678 /* The GNU C library defines this for functions which it implements
36679 to always fail with ENOSYS. Some functions are actually named
36680 something starting with __ and the normal name is an alias. */
36681 #if defined __stub_$ac_func || defined __stub___$ac_func
36688 return $ac_func ();
36693 rm -f conftest.
$ac_objext conftest
$ac_exeext
36694 if { (ac_try
="$ac_link"
36695 case "(($ac_try" in
36696 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36697 *) ac_try_echo=$ac_try;;
36699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36700 (eval "$ac_link") 2>conftest.er1
36702 grep -v '^ *+' conftest.er1 >conftest.err
36704 cat conftest.err >&5
36705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36706 (exit $ac_status); } && {
36707 test -z "$ac_c_werror_flag" ||
36708 test ! -s conftest.err
36709 } && test -s conftest$ac_exeext &&
36710 $as_test_x conftest$ac_exeext; then
36711 eval "$as_ac_var=yes"
36713 echo "$as_me: failed program was:" >&5
36714 sed 's/^/| /' conftest.$ac_ext >&5
36716 eval "$as_ac_var=no"
36719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36720 conftest$ac_exeext conftest.$ac_ext
36722 ac_res=`eval echo '${'$as_ac_var'}'`
36723 { echo "$as_me:$LINENO: result: $ac_res" >&5
36724 echo "${ECHO_T}$ac_res" >&6; }
36725 if test `eval echo '${'$as_ac_var'}'` = yes; then
36726 cat >>confdefs.h <<_ACEOF
36727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36733 if test "$ac_cv_func_setenv" = "yes"; then
36735 for ac_func in unsetenv
36737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36738 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36740 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36741 echo $ECHO_N "(cached) $ECHO_C" >&6
36743 cat >conftest.$ac_ext <<_ACEOF
36746 cat confdefs.h >>conftest.$ac_ext
36747 cat >>conftest.$ac_ext <<_ACEOF
36748 /* end confdefs.h. */
36749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36751 #define $ac_func innocuous_$ac_func
36753 /* System header to define __stub macros and hopefully few prototypes,
36754 which can conflict with char $ac_func (); below.
36755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36756 <limits.h> exists even on freestanding compilers. */
36759 # include <limits.h>
36761 # include <assert.h>
36766 /* Override any GCC internal prototype to avoid an error.
36767 Use char because int might match the return type of a GCC
36768 builtin and then its argument prototype would still apply. */
36773 /* The GNU C library defines this for functions which it implements
36774 to always fail with ENOSYS. Some functions are actually named
36775 something starting with __ and the normal name is an alias. */
36776 #if defined __stub_$ac_func || defined __stub___$ac_func
36783 return $ac_func ();
36788 rm -f conftest.$ac_objext conftest$ac_exeext
36789 if { (ac_try="$ac_link"
36790 case "(($ac_try" in
36791 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36792 *) ac_try_echo
=$ac_try;;
36794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36795 (eval "$ac_link") 2>conftest.er1
36797 grep -v '^ *+' conftest.er1
>conftest.err
36799 cat conftest.err
>&5
36800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36801 (exit $ac_status); } && {
36802 test -z "$ac_c_werror_flag" ||
36803 test ! -s conftest.err
36804 } && test -s conftest
$ac_exeext &&
36805 $as_test_x conftest
$ac_exeext; then
36806 eval "$as_ac_var=yes"
36808 echo "$as_me: failed program was:" >&5
36809 sed 's/^/| /' conftest.
$ac_ext >&5
36811 eval "$as_ac_var=no"
36814 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36815 conftest
$ac_exeext conftest.
$ac_ext
36817 ac_res
=`eval echo '${'$as_ac_var'}'`
36818 { echo "$as_me:$LINENO: result: $ac_res" >&5
36819 echo "${ECHO_T}$ac_res" >&6; }
36820 if test `eval echo '${'$as_ac_var'}'` = yes; then
36821 cat >>confdefs.h
<<_ACEOF
36822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36830 HAVE_SOME_SLEEP_FUNC
=0
36831 if test "$USE_BEOS" = 1; then
36832 cat >>confdefs.h
<<\_ACEOF
36833 #define HAVE_SLEEP 1
36836 HAVE_SOME_SLEEP_FUNC
=1
36839 if test "$USE_DARWIN" = 1; then
36840 cat >>confdefs.h
<<\_ACEOF
36841 #define HAVE_USLEEP 1
36844 HAVE_SOME_SLEEP_FUNC
=1
36847 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36850 for ac_func
in nanosleep
36852 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36853 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36855 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36856 echo $ECHO_N "(cached) $ECHO_C" >&6
36858 cat >conftest.
$ac_ext <<_ACEOF
36861 cat confdefs.h
>>conftest.
$ac_ext
36862 cat >>conftest.
$ac_ext <<_ACEOF
36863 /* end confdefs.h. */
36864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36866 #define $ac_func innocuous_$ac_func
36868 /* System header to define __stub macros and hopefully few prototypes,
36869 which can conflict with char $ac_func (); below.
36870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36871 <limits.h> exists even on freestanding compilers. */
36874 # include <limits.h>
36876 # include <assert.h>
36881 /* Override any GCC internal prototype to avoid an error.
36882 Use char because int might match the return type of a GCC
36883 builtin and then its argument prototype would still apply. */
36888 /* The GNU C library defines this for functions which it implements
36889 to always fail with ENOSYS. Some functions are actually named
36890 something starting with __ and the normal name is an alias. */
36891 #if defined __stub_$ac_func || defined __stub___$ac_func
36898 return $ac_func ();
36903 rm -f conftest.
$ac_objext conftest
$ac_exeext
36904 if { (ac_try
="$ac_link"
36905 case "(($ac_try" in
36906 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36907 *) ac_try_echo=$ac_try;;
36909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36910 (eval "$ac_link") 2>conftest.er1
36912 grep -v '^ *+' conftest.er1 >conftest.err
36914 cat conftest.err >&5
36915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36916 (exit $ac_status); } && {
36917 test -z "$ac_c_werror_flag" ||
36918 test ! -s conftest.err
36919 } && test -s conftest$ac_exeext &&
36920 $as_test_x conftest$ac_exeext; then
36921 eval "$as_ac_var=yes"
36923 echo "$as_me: failed program was:" >&5
36924 sed 's/^/| /' conftest.$ac_ext >&5
36926 eval "$as_ac_var=no"
36929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36930 conftest$ac_exeext conftest.$ac_ext
36932 ac_res=`eval echo '${'$as_ac_var'}'`
36933 { echo "$as_me:$LINENO: result: $ac_res" >&5
36934 echo "${ECHO_T}$ac_res" >&6; }
36935 if test `eval echo '${'$as_ac_var'}'` = yes; then
36936 cat >>confdefs.h <<_ACEOF
36937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36939 cat >>confdefs.h <<\_ACEOF
36940 #define HAVE_NANOSLEEP 1
36945 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36946 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36947 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36948 echo $ECHO_N "(cached) $ECHO_C" >&6
36950 ac_check_lib_save_LIBS=$LIBS
36951 LIBS="-lposix4 $LIBS"
36952 cat >conftest.$ac_ext <<_ACEOF
36955 cat confdefs.h >>conftest.$ac_ext
36956 cat >>conftest.$ac_ext <<_ACEOF
36957 /* end confdefs.h. */
36959 /* Override any GCC internal prototype to avoid an error.
36960 Use char because int might match the return type of a GCC
36961 builtin and then its argument prototype would still apply. */
36969 return nanosleep ();
36974 rm -f conftest.$ac_objext conftest$ac_exeext
36975 if { (ac_try="$ac_link"
36976 case "(($ac_try" in
36977 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36978 *) ac_try_echo
=$ac_try;;
36980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36981 (eval "$ac_link") 2>conftest.er1
36983 grep -v '^ *+' conftest.er1
>conftest.err
36985 cat conftest.err
>&5
36986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36987 (exit $ac_status); } && {
36988 test -z "$ac_c_werror_flag" ||
36989 test ! -s conftest.err
36990 } && test -s conftest
$ac_exeext &&
36991 $as_test_x conftest
$ac_exeext; then
36992 ac_cv_lib_posix4_nanosleep
=yes
36994 echo "$as_me: failed program was:" >&5
36995 sed 's/^/| /' conftest.
$ac_ext >&5
36997 ac_cv_lib_posix4_nanosleep
=no
37000 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37001 conftest
$ac_exeext conftest.
$ac_ext
37002 LIBS
=$ac_check_lib_save_LIBS
37004 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37005 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37006 if test $ac_cv_lib_posix4_nanosleep = yes; then
37008 cat >>confdefs.h
<<\_ACEOF
37009 #define HAVE_NANOSLEEP 1
37012 POSIX4_LINK
=" -lposix4"
37017 for wx_func
in usleep
37019 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37020 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37021 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37022 echo $ECHO_N "(cached) $ECHO_C" >&6
37025 cat >conftest.
$ac_ext <<_ACEOF
37029 cat confdefs.h
>>conftest.
$ac_ext
37030 cat >>conftest.
$ac_ext <<_ACEOF
37031 /* end confdefs.h. */
37034 $ac_includes_default
37050 rm -f conftest.
$ac_objext conftest
$ac_exeext
37051 if { (ac_try
="$ac_link"
37052 case "(($ac_try" in
37053 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37054 *) ac_try_echo=$ac_try;;
37056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37057 (eval "$ac_link") 2>conftest.er1
37059 grep -v '^ *+' conftest.er1 >conftest.err
37061 cat conftest.err >&5
37062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37063 (exit $ac_status); } && {
37064 test -z "$ac_c_werror_flag" ||
37065 test ! -s conftest.err
37066 } && test -s conftest$ac_exeext &&
37067 $as_test_x conftest$ac_exeext; then
37068 eval wx_cv_func_$wx_func=yes
37070 echo "$as_me: failed program was:" >&5
37071 sed 's/^/| /' conftest.$ac_ext >&5
37073 eval wx_cv_func_$wx_func=no
37076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37077 conftest$ac_exeext conftest.$ac_ext
37080 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37081 { echo "$as_me:$LINENO: result: $ac_res" >&5
37082 echo "${ECHO_T}$ac_res" >&6; }
37084 if eval test \$wx_cv_func_$wx_func = yes
37086 cat >>confdefs.h <<_ACEOF
37087 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37093 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37094 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37111 for wx_func in uname
37113 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37114 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37115 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37116 echo $ECHO_N "(cached) $ECHO_C" >&6
37119 cat >conftest.$ac_ext <<_ACEOF
37123 cat confdefs.h >>conftest.$ac_ext
37124 cat >>conftest.$ac_ext <<_ACEOF
37125 /* end confdefs.h. */
37127 #include <sys/utsname.h>
37128 $ac_includes_default
37144 rm -f conftest.$ac_objext conftest$ac_exeext
37145 if { (ac_try="$ac_link"
37146 case "(($ac_try" in
37147 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37148 *) ac_try_echo
=$ac_try;;
37150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37151 (eval "$ac_link") 2>conftest.er1
37153 grep -v '^ *+' conftest.er1
>conftest.err
37155 cat conftest.err
>&5
37156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37157 (exit $ac_status); } && {
37158 test -z "$ac_c_werror_flag" ||
37159 test ! -s conftest.err
37160 } && test -s conftest
$ac_exeext &&
37161 $as_test_x conftest
$ac_exeext; then
37162 eval wx_cv_func_
$wx_func=yes
37164 echo "$as_me: failed program was:" >&5
37165 sed 's/^/| /' conftest.
$ac_ext >&5
37167 eval wx_cv_func_
$wx_func=no
37170 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37171 conftest
$ac_exeext conftest.
$ac_ext
37174 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37175 { echo "$as_me:$LINENO: result: $ac_res" >&5
37176 echo "${ECHO_T}$ac_res" >&6; }
37178 if eval test \
$wx_cv_func_$wx_func = yes
37180 cat >>confdefs.h
<<_ACEOF
37181 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37191 if test "$wx_cv_func_uname" != yes; then
37193 for wx_func
in gethostname
37195 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37196 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37197 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37198 echo $ECHO_N "(cached) $ECHO_C" >&6
37201 cat >conftest.
$ac_ext <<_ACEOF
37205 cat confdefs.h
>>conftest.
$ac_ext
37206 cat >>conftest.
$ac_ext <<_ACEOF
37207 /* end confdefs.h. */
37210 $ac_includes_default
37226 rm -f conftest.
$ac_objext conftest
$ac_exeext
37227 if { (ac_try
="$ac_link"
37228 case "(($ac_try" in
37229 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37230 *) ac_try_echo=$ac_try;;
37232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37233 (eval "$ac_link") 2>conftest.er1
37235 grep -v '^ *+' conftest.er1 >conftest.err
37237 cat conftest.err >&5
37238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37239 (exit $ac_status); } && {
37240 test -z "$ac_c_werror_flag" ||
37241 test ! -s conftest.err
37242 } && test -s conftest$ac_exeext &&
37243 $as_test_x conftest$ac_exeext; then
37244 eval wx_cv_func_$wx_func=yes
37246 echo "$as_me: failed program was:" >&5
37247 sed 's/^/| /' conftest.$ac_ext >&5
37249 eval wx_cv_func_$wx_func=no
37252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37253 conftest$ac_exeext conftest.$ac_ext
37256 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37257 { echo "$as_me:$LINENO: result: $ac_res" >&5
37258 echo "${ECHO_T}$ac_res" >&6; }
37260 if eval test \$wx_cv_func_$wx_func = yes
37262 cat >>confdefs.h <<_ACEOF
37263 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37276 for wx_func in strtok_r
37278 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37279 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37280 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37281 echo $ECHO_N "(cached) $ECHO_C" >&6
37284 cat >conftest.$ac_ext <<_ACEOF
37288 cat confdefs.h >>conftest.$ac_ext
37289 cat >>conftest.$ac_ext <<_ACEOF
37290 /* end confdefs.h. */
37293 $ac_includes_default
37309 rm -f conftest.$ac_objext conftest$ac_exeext
37310 if { (ac_try="$ac_link"
37311 case "(($ac_try" in
37312 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37313 *) ac_try_echo
=$ac_try;;
37315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37316 (eval "$ac_link") 2>conftest.er1
37318 grep -v '^ *+' conftest.er1
>conftest.err
37320 cat conftest.err
>&5
37321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37322 (exit $ac_status); } && {
37323 test -z "$ac_c_werror_flag" ||
37324 test ! -s conftest.err
37325 } && test -s conftest
$ac_exeext &&
37326 $as_test_x conftest
$ac_exeext; then
37327 eval wx_cv_func_
$wx_func=yes
37329 echo "$as_me: failed program was:" >&5
37330 sed 's/^/| /' conftest.
$ac_ext >&5
37332 eval wx_cv_func_
$wx_func=no
37335 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37336 conftest
$ac_exeext conftest.
$ac_ext
37339 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37340 { echo "$as_me:$LINENO: result: $ac_res" >&5
37341 echo "${ECHO_T}$ac_res" >&6; }
37343 if eval test \
$wx_cv_func_$wx_func = yes
37345 cat >>confdefs.h
<<_ACEOF
37346 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37359 for ac_func
in inet_addr
37361 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37362 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37364 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37365 echo $ECHO_N "(cached) $ECHO_C" >&6
37367 cat >conftest.
$ac_ext <<_ACEOF
37370 cat confdefs.h
>>conftest.
$ac_ext
37371 cat >>conftest.
$ac_ext <<_ACEOF
37372 /* end confdefs.h. */
37373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37375 #define $ac_func innocuous_$ac_func
37377 /* System header to define __stub macros and hopefully few prototypes,
37378 which can conflict with char $ac_func (); below.
37379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37380 <limits.h> exists even on freestanding compilers. */
37383 # include <limits.h>
37385 # include <assert.h>
37390 /* Override any GCC internal prototype to avoid an error.
37391 Use char because int might match the return type of a GCC
37392 builtin and then its argument prototype would still apply. */
37397 /* The GNU C library defines this for functions which it implements
37398 to always fail with ENOSYS. Some functions are actually named
37399 something starting with __ and the normal name is an alias. */
37400 #if defined __stub_$ac_func || defined __stub___$ac_func
37407 return $ac_func ();
37412 rm -f conftest.
$ac_objext conftest
$ac_exeext
37413 if { (ac_try
="$ac_link"
37414 case "(($ac_try" in
37415 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37416 *) ac_try_echo=$ac_try;;
37418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37419 (eval "$ac_link") 2>conftest.er1
37421 grep -v '^ *+' conftest.er1 >conftest.err
37423 cat conftest.err >&5
37424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37425 (exit $ac_status); } && {
37426 test -z "$ac_c_werror_flag" ||
37427 test ! -s conftest.err
37428 } && test -s conftest$ac_exeext &&
37429 $as_test_x conftest$ac_exeext; then
37430 eval "$as_ac_var=yes"
37432 echo "$as_me: failed program was:" >&5
37433 sed 's/^/| /' conftest.$ac_ext >&5
37435 eval "$as_ac_var=no"
37438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37439 conftest$ac_exeext conftest.$ac_ext
37441 ac_res=`eval echo '${'$as_ac_var'}'`
37442 { echo "$as_me:$LINENO: result: $ac_res" >&5
37443 echo "${ECHO_T}$ac_res" >&6; }
37444 if test `eval echo '${'$as_ac_var'}'` = yes; then
37445 cat >>confdefs.h <<_ACEOF
37446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37448 cat >>confdefs.h <<\_ACEOF
37449 #define HAVE_INET_ADDR 1
37454 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37455 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37456 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37457 echo $ECHO_N "(cached) $ECHO_C" >&6
37459 ac_check_lib_save_LIBS=$LIBS
37461 cat >conftest.$ac_ext <<_ACEOF
37464 cat confdefs.h >>conftest.$ac_ext
37465 cat >>conftest.$ac_ext <<_ACEOF
37466 /* end confdefs.h. */
37468 /* Override any GCC internal prototype to avoid an error.
37469 Use char because int might match the return type of a GCC
37470 builtin and then its argument prototype would still apply. */
37478 return inet_addr ();
37483 rm -f conftest.$ac_objext conftest$ac_exeext
37484 if { (ac_try="$ac_link"
37485 case "(($ac_try" in
37486 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37487 *) ac_try_echo
=$ac_try;;
37489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37490 (eval "$ac_link") 2>conftest.er1
37492 grep -v '^ *+' conftest.er1
>conftest.err
37494 cat conftest.err
>&5
37495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37496 (exit $ac_status); } && {
37497 test -z "$ac_c_werror_flag" ||
37498 test ! -s conftest.err
37499 } && test -s conftest
$ac_exeext &&
37500 $as_test_x conftest
$ac_exeext; then
37501 ac_cv_lib_nsl_inet_addr
=yes
37503 echo "$as_me: failed program was:" >&5
37504 sed 's/^/| /' conftest.
$ac_ext >&5
37506 ac_cv_lib_nsl_inet_addr
=no
37509 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37510 conftest
$ac_exeext conftest.
$ac_ext
37511 LIBS
=$ac_check_lib_save_LIBS
37513 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37514 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37515 if test $ac_cv_lib_nsl_inet_addr = yes; then
37519 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37520 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37521 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37522 echo $ECHO_N "(cached) $ECHO_C" >&6
37524 ac_check_lib_save_LIBS
=$LIBS
37525 LIBS
="-lresolv $LIBS"
37526 cat >conftest.
$ac_ext <<_ACEOF
37529 cat confdefs.h
>>conftest.
$ac_ext
37530 cat >>conftest.
$ac_ext <<_ACEOF
37531 /* end confdefs.h. */
37533 /* Override any GCC internal prototype to avoid an error.
37534 Use char because int might match the return type of a GCC
37535 builtin and then its argument prototype would still apply. */
37543 return inet_addr ();
37548 rm -f conftest.
$ac_objext conftest
$ac_exeext
37549 if { (ac_try
="$ac_link"
37550 case "(($ac_try" in
37551 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37552 *) ac_try_echo=$ac_try;;
37554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37555 (eval "$ac_link") 2>conftest.er1
37557 grep -v '^ *+' conftest.er1 >conftest.err
37559 cat conftest.err >&5
37560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37561 (exit $ac_status); } && {
37562 test -z "$ac_c_werror_flag" ||
37563 test ! -s conftest.err
37564 } && test -s conftest$ac_exeext &&
37565 $as_test_x conftest$ac_exeext; then
37566 ac_cv_lib_resolv_inet_addr=yes
37568 echo "$as_me: failed program was:" >&5
37569 sed 's/^/| /' conftest.$ac_ext >&5
37571 ac_cv_lib_resolv_inet_addr=no
37574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37575 conftest$ac_exeext conftest.$ac_ext
37576 LIBS=$ac_check_lib_save_LIBS
37578 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37579 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37580 if test $ac_cv_lib_resolv_inet_addr = yes; then
37584 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37585 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37586 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37587 echo $ECHO_N "(cached) $ECHO_C" >&6
37589 ac_check_lib_save_LIBS=$LIBS
37590 LIBS="-lsocket $LIBS"
37591 cat >conftest.$ac_ext <<_ACEOF
37594 cat confdefs.h >>conftest.$ac_ext
37595 cat >>conftest.$ac_ext <<_ACEOF
37596 /* end confdefs.h. */
37598 /* Override any GCC internal prototype to avoid an error.
37599 Use char because int might match the return type of a GCC
37600 builtin and then its argument prototype would still apply. */
37608 return inet_addr ();
37613 rm -f conftest.$ac_objext conftest$ac_exeext
37614 if { (ac_try="$ac_link"
37615 case "(($ac_try" in
37616 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37617 *) ac_try_echo
=$ac_try;;
37619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37620 (eval "$ac_link") 2>conftest.er1
37622 grep -v '^ *+' conftest.er1
>conftest.err
37624 cat conftest.err
>&5
37625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37626 (exit $ac_status); } && {
37627 test -z "$ac_c_werror_flag" ||
37628 test ! -s conftest.err
37629 } && test -s conftest
$ac_exeext &&
37630 $as_test_x conftest
$ac_exeext; then
37631 ac_cv_lib_socket_inet_addr
=yes
37633 echo "$as_me: failed program was:" >&5
37634 sed 's/^/| /' conftest.
$ac_ext >&5
37636 ac_cv_lib_socket_inet_addr
=no
37639 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37640 conftest
$ac_exeext conftest.
$ac_ext
37641 LIBS
=$ac_check_lib_save_LIBS
37643 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37644 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37645 if test $ac_cv_lib_socket_inet_addr = yes; then
37665 for ac_func
in inet_aton
37667 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37668 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37670 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37671 echo $ECHO_N "(cached) $ECHO_C" >&6
37673 cat >conftest.
$ac_ext <<_ACEOF
37676 cat confdefs.h
>>conftest.
$ac_ext
37677 cat >>conftest.
$ac_ext <<_ACEOF
37678 /* end confdefs.h. */
37679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37681 #define $ac_func innocuous_$ac_func
37683 /* System header to define __stub macros and hopefully few prototypes,
37684 which can conflict with char $ac_func (); below.
37685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37686 <limits.h> exists even on freestanding compilers. */
37689 # include <limits.h>
37691 # include <assert.h>
37696 /* Override any GCC internal prototype to avoid an error.
37697 Use char because int might match the return type of a GCC
37698 builtin and then its argument prototype would still apply. */
37703 /* The GNU C library defines this for functions which it implements
37704 to always fail with ENOSYS. Some functions are actually named
37705 something starting with __ and the normal name is an alias. */
37706 #if defined __stub_$ac_func || defined __stub___$ac_func
37713 return $ac_func ();
37718 rm -f conftest.
$ac_objext conftest
$ac_exeext
37719 if { (ac_try
="$ac_link"
37720 case "(($ac_try" in
37721 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37722 *) ac_try_echo=$ac_try;;
37724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37725 (eval "$ac_link") 2>conftest.er1
37727 grep -v '^ *+' conftest.er1 >conftest.err
37729 cat conftest.err >&5
37730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37731 (exit $ac_status); } && {
37732 test -z "$ac_c_werror_flag" ||
37733 test ! -s conftest.err
37734 } && test -s conftest$ac_exeext &&
37735 $as_test_x conftest$ac_exeext; then
37736 eval "$as_ac_var=yes"
37738 echo "$as_me: failed program was:" >&5
37739 sed 's/^/| /' conftest.$ac_ext >&5
37741 eval "$as_ac_var=no"
37744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37745 conftest$ac_exeext conftest.$ac_ext
37747 ac_res=`eval echo '${'$as_ac_var'}'`
37748 { echo "$as_me:$LINENO: result: $ac_res" >&5
37749 echo "${ECHO_T}$ac_res" >&6; }
37750 if test `eval echo '${'$as_ac_var'}'` = yes; then
37751 cat >>confdefs.h <<_ACEOF
37752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37754 cat >>confdefs.h <<\_ACEOF
37755 #define HAVE_INET_ATON 1
37760 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37761 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37762 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37763 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37764 echo $ECHO_N "(cached) $ECHO_C" >&6
37766 ac_check_lib_save_LIBS=$LIBS
37767 LIBS="-l$INET_LINK $LIBS"
37768 cat >conftest.$ac_ext <<_ACEOF
37771 cat confdefs.h >>conftest.$ac_ext
37772 cat >>conftest.$ac_ext <<_ACEOF
37773 /* end confdefs.h. */
37775 /* Override any GCC internal prototype to avoid an error.
37776 Use char because int might match the return type of a GCC
37777 builtin and then its argument prototype would still apply. */
37785 return inet_aton ();
37790 rm -f conftest.$ac_objext conftest$ac_exeext
37791 if { (ac_try="$ac_link"
37792 case "(($ac_try" in
37793 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37794 *) ac_try_echo
=$ac_try;;
37796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37797 (eval "$ac_link") 2>conftest.er1
37799 grep -v '^ *+' conftest.er1
>conftest.err
37801 cat conftest.err
>&5
37802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37803 (exit $ac_status); } && {
37804 test -z "$ac_c_werror_flag" ||
37805 test ! -s conftest.err
37806 } && test -s conftest
$ac_exeext &&
37807 $as_test_x conftest
$ac_exeext; then
37808 eval "$as_ac_Lib=yes"
37810 echo "$as_me: failed program was:" >&5
37811 sed 's/^/| /' conftest.
$ac_ext >&5
37813 eval "$as_ac_Lib=no"
37816 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37817 conftest
$ac_exeext conftest.
$ac_ext
37818 LIBS
=$ac_check_lib_save_LIBS
37820 ac_res
=`eval echo '${'$as_ac_Lib'}'`
37821 { echo "$as_me:$LINENO: result: $ac_res" >&5
37822 echo "${ECHO_T}$ac_res" >&6; }
37823 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37824 cat >>confdefs.h
<<\_ACEOF
37825 #define HAVE_INET_ATON 1
37835 if test "x$INET_LINK" != "x"; then
37836 cat >>confdefs.h
<<\_ACEOF
37837 #define HAVE_INET_ADDR 1
37840 INET_LINK
=" -l$INET_LINK"
37844 for wx_func
in fdopen
37846 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37847 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37848 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37849 echo $ECHO_N "(cached) $ECHO_C" >&6
37852 cat >conftest.
$ac_ext <<_ACEOF
37856 cat confdefs.h
>>conftest.
$ac_ext
37857 cat >>conftest.
$ac_ext <<_ACEOF
37858 /* end confdefs.h. */
37861 $ac_includes_default
37877 rm -f conftest.
$ac_objext conftest
$ac_exeext
37878 if { (ac_try
="$ac_link"
37879 case "(($ac_try" in
37880 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37881 *) ac_try_echo=$ac_try;;
37883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37884 (eval "$ac_link") 2>conftest.er1
37886 grep -v '^ *+' conftest.er1 >conftest.err
37888 cat conftest.err >&5
37889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37890 (exit $ac_status); } && {
37891 test -z "$ac_c_werror_flag" ||
37892 test ! -s conftest.err
37893 } && test -s conftest$ac_exeext &&
37894 $as_test_x conftest$ac_exeext; then
37895 eval wx_cv_func_$wx_func=yes
37897 echo "$as_me: failed program was:" >&5
37898 sed 's/^/| /' conftest.$ac_ext >&5
37900 eval wx_cv_func_$wx_func=no
37903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37904 conftest$ac_exeext conftest.$ac_ext
37907 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37908 { echo "$as_me:$LINENO: result: $ac_res" >&5
37909 echo "${ECHO_T}$ac_res" >&6; }
37911 if eval test \$wx_cv_func_$wx_func = yes
37913 cat >>confdefs.h <<_ACEOF
37914 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37925 if test "$wxUSE_TARSTREAM" = "yes"; then
37927 for wx_func in sysconf
37929 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37930 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37931 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37932 echo $ECHO_N "(cached) $ECHO_C" >&6
37935 cat >conftest.$ac_ext <<_ACEOF
37939 cat confdefs.h >>conftest.$ac_ext
37940 cat >>conftest.$ac_ext <<_ACEOF
37941 /* end confdefs.h. */
37944 $ac_includes_default
37960 rm -f conftest.$ac_objext conftest$ac_exeext
37961 if { (ac_try="$ac_link"
37962 case "(($ac_try" in
37963 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37964 *) ac_try_echo
=$ac_try;;
37966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37967 (eval "$ac_link") 2>conftest.er1
37969 grep -v '^ *+' conftest.er1
>conftest.err
37971 cat conftest.err
>&5
37972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37973 (exit $ac_status); } && {
37974 test -z "$ac_c_werror_flag" ||
37975 test ! -s conftest.err
37976 } && test -s conftest
$ac_exeext &&
37977 $as_test_x conftest
$ac_exeext; then
37978 eval wx_cv_func_
$wx_func=yes
37980 echo "$as_me: failed program was:" >&5
37981 sed 's/^/| /' conftest.
$ac_ext >&5
37983 eval wx_cv_func_
$wx_func=no
37986 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37987 conftest
$ac_exeext conftest.
$ac_ext
37990 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37991 { echo "$as_me:$LINENO: result: $ac_res" >&5
37992 echo "${ECHO_T}$ac_res" >&6; }
37994 if eval test \
$wx_cv_func_$wx_func = yes
37996 cat >>confdefs.h
<<_ACEOF
37997 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38009 for wx_func
in getpwuid_r
38011 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38012 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38013 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38014 echo $ECHO_N "(cached) $ECHO_C" >&6
38017 cat >conftest.
$ac_ext <<_ACEOF
38021 cat confdefs.h
>>conftest.
$ac_ext
38022 cat >>conftest.
$ac_ext <<_ACEOF
38023 /* end confdefs.h. */
38029 $ac_includes_default
38039 struct passwd pw, *ppw;
38041 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38049 rm -f conftest.
$ac_objext conftest
$ac_exeext
38050 if { (ac_try
="$ac_link"
38051 case "(($ac_try" in
38052 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38053 *) ac_try_echo=$ac_try;;
38055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38056 (eval "$ac_link") 2>conftest.er1
38058 grep -v '^ *+' conftest.er1 >conftest.err
38060 cat conftest.err >&5
38061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38062 (exit $ac_status); } && {
38063 test -z "$ac_c_werror_flag" ||
38064 test ! -s conftest.err
38065 } && test -s conftest$ac_exeext &&
38066 $as_test_x conftest$ac_exeext; then
38067 eval wx_cv_func_$wx_func=yes
38069 echo "$as_me: failed program was:" >&5
38070 sed 's/^/| /' conftest.$ac_ext >&5
38072 eval wx_cv_func_$wx_func=no
38075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38076 conftest$ac_exeext conftest.$ac_ext
38079 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38080 { echo "$as_me:$LINENO: result: $ac_res" >&5
38081 echo "${ECHO_T}$ac_res" >&6; }
38083 if eval test \$wx_cv_func_$wx_func = yes
38085 cat >>confdefs.h <<_ACEOF
38086 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38098 for wx_func in getgrgid_r
38100 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38101 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38102 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38103 echo $ECHO_N "(cached) $ECHO_C" >&6
38106 cat >conftest.$ac_ext <<_ACEOF
38110 cat confdefs.h >>conftest.$ac_ext
38111 cat >>conftest.$ac_ext <<_ACEOF
38112 /* end confdefs.h. */
38118 $ac_includes_default
38128 struct group grp, *pgrp;
38130 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38138 rm -f conftest.$ac_objext conftest$ac_exeext
38139 if { (ac_try="$ac_link"
38140 case "(($ac_try" in
38141 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38142 *) ac_try_echo
=$ac_try;;
38144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38145 (eval "$ac_link") 2>conftest.er1
38147 grep -v '^ *+' conftest.er1
>conftest.err
38149 cat conftest.err
>&5
38150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38151 (exit $ac_status); } && {
38152 test -z "$ac_c_werror_flag" ||
38153 test ! -s conftest.err
38154 } && test -s conftest
$ac_exeext &&
38155 $as_test_x conftest
$ac_exeext; then
38156 eval wx_cv_func_
$wx_func=yes
38158 echo "$as_me: failed program was:" >&5
38159 sed 's/^/| /' conftest.
$ac_ext >&5
38161 eval wx_cv_func_
$wx_func=no
38164 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38165 conftest
$ac_exeext conftest.
$ac_ext
38168 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38169 { echo "$as_me:$LINENO: result: $ac_res" >&5
38170 echo "${ECHO_T}$ac_res" >&6; }
38172 if eval test \
$wx_cv_func_$wx_func = yes
38174 cat >>confdefs.h
<<_ACEOF
38175 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38191 cat >confcache
<<\_ACEOF
38192 # This file is a shell script that caches the results of configure
38193 # tests run on this system so they can be shared between configure
38194 # scripts and configure runs, see configure's option --config-cache.
38195 # It is not useful on other systems. If it contains results you don't
38196 # want to keep, you may remove or edit it.
38198 # config.status only pays attention to the cache file if you give it
38199 # the --recheck option to rerun configure.
38201 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38202 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38203 # following values.
38207 # The following way of writing the cache mishandles newlines in values,
38208 # but we know of no workaround that is simple, portable, and efficient.
38209 # So, we kill variables containing newlines.
38210 # Ultrix sh set writes to stderr and can't be redirected directly,
38211 # and sets the high bit in the cache file unless we assign to the vars.
38213 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38214 eval ac_val
=\$
$ac_var
38218 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38219 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38222 _
| IFS
| as_nl
) ;; #(
38223 *) $as_unset $ac_var ;;
38229 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38230 *${as_nl}ac_space
=\
*)
38231 # `set' does not quote correctly, so add quotes (double-quote
38232 # substitution turns \\\\ into \\, and sed turns \\ into \).
38235 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38238 # `set' quotes correctly as required by POSIX, so do not add quotes.
38239 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38248 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38250 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38252 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38253 if test -w "$cache_file"; then
38254 test "x$cache_file" != "x/dev/null" &&
38255 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38256 echo "$as_me: updating cache $cache_file" >&6;}
38257 cat confcache
>$cache_file
38259 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38260 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38266 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38272 if test "$wxUSE_THREADS" = "yes" ; then
38273 if test "$USE_BEOS" = 1; then
38274 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38275 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38280 if test "$wxUSE_THREADS" = "yes" ; then
38283 THREAD_OPTS
="-pthread"
38284 if test "x$SUNCXX" = xyes
; then
38285 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38289 *-*-solaris2* | *-*-sunos4* )
38290 if test "x$GCC" = "xyes"; then
38291 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38295 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38297 *-*-darwin* | *-*-cygwin* )
38301 THREAD_OPTS
="pthreads"
38304 if test "x$GCC" = "xyes"; then
38305 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38313 if test "x$GCC" = "xyes"; then
38319 if test "x$GCC" != "xyes"; then
38320 THREAD_OPTS
="-Ethread"
38325 THREAD_OPTS
="$THREAD_OPTS pthread none"
38328 for flag
in $THREAD_OPTS; do
38331 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38332 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38336 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38337 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38338 THREADS_CFLAGS
="$flag"
38342 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38343 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38344 THREADS_LINK
="-l$flag"
38349 save_CFLAGS
="$CFLAGS"
38350 LIBS
="$THREADS_LINK $LIBS"
38351 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38353 cat >conftest.
$ac_ext <<_ACEOF
38356 cat confdefs.h
>>conftest.
$ac_ext
38357 cat >>conftest.
$ac_ext <<_ACEOF
38358 /* end confdefs.h. */
38359 #include <pthread.h>
38363 pthread_create(0,0,0,0);
38368 rm -f conftest.
$ac_objext conftest
$ac_exeext
38369 if { (ac_try
="$ac_link"
38370 case "(($ac_try" in
38371 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38372 *) ac_try_echo=$ac_try;;
38374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38375 (eval "$ac_link") 2>conftest.er1
38377 grep -v '^ *+' conftest.er1 >conftest.err
38379 cat conftest.err >&5
38380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38381 (exit $ac_status); } && {
38382 test -z "$ac_c_werror_flag" ||
38383 test ! -s conftest.err
38384 } && test -s conftest$ac_exeext &&
38385 $as_test_x conftest$ac_exeext; then
38388 echo "$as_me: failed program was:" >&5
38389 sed 's/^/| /' conftest.$ac_ext >&5
38394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38395 conftest$ac_exeext conftest.$ac_ext
38398 CFLAGS="$save_CFLAGS"
38400 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38401 echo "${ECHO_T}$THREADS_OK" >&6; }
38402 if test "x$THREADS_OK" = "xyes"; then
38410 if test "x$THREADS_OK" != "xyes"; then
38412 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38413 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38415 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38416 LIBS="$THREADS_LINK $LIBS"
38418 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38419 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38423 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38424 flag="-D_THREAD_SAFE"
38427 flag="-D_THREAD_SAFE"
38430 flag="-D_REENTRANT"
38431 if test "x$GCC" != "xyes"; then
38432 flag="$flag -D_RWSTD_MULTI_THREAD"
38435 *solaris* | alpha*-osf*)
38436 flag="-D_REENTRANT"
38439 { echo "$as_me:$LINENO: result: ${flag}" >&5
38440 echo "${ECHO_T}${flag}" >&6; }
38441 if test "x$flag" != xno; then
38442 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38445 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38449 if test "$wxUSE_THREADS" = "yes" ; then
38451 for ac_func in thr_setconcurrency
38453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38454 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38456 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38457 echo $ECHO_N "(cached) $ECHO_C" >&6
38459 cat >conftest.$ac_ext <<_ACEOF
38462 cat confdefs.h >>conftest.$ac_ext
38463 cat >>conftest.$ac_ext <<_ACEOF
38464 /* end confdefs.h. */
38465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38467 #define $ac_func innocuous_$ac_func
38469 /* System header to define __stub macros and hopefully few prototypes,
38470 which can conflict with char $ac_func (); below.
38471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38472 <limits.h> exists even on freestanding compilers. */
38475 # include <limits.h>
38477 # include <assert.h>
38482 /* Override any GCC internal prototype to avoid an error.
38483 Use char because int might match the return type of a GCC
38484 builtin and then its argument prototype would still apply. */
38489 /* The GNU C library defines this for functions which it implements
38490 to always fail with ENOSYS. Some functions are actually named
38491 something starting with __ and the normal name is an alias. */
38492 #if defined __stub_$ac_func || defined __stub___$ac_func
38499 return $ac_func ();
38504 rm -f conftest.$ac_objext conftest$ac_exeext
38505 if { (ac_try="$ac_link"
38506 case "(($ac_try" in
38507 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38508 *) ac_try_echo
=$ac_try;;
38510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38511 (eval "$ac_link") 2>conftest.er1
38513 grep -v '^ *+' conftest.er1
>conftest.err
38515 cat conftest.err
>&5
38516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38517 (exit $ac_status); } && {
38518 test -z "$ac_c_werror_flag" ||
38519 test ! -s conftest.err
38520 } && test -s conftest
$ac_exeext &&
38521 $as_test_x conftest
$ac_exeext; then
38522 eval "$as_ac_var=yes"
38524 echo "$as_me: failed program was:" >&5
38525 sed 's/^/| /' conftest.
$ac_ext >&5
38527 eval "$as_ac_var=no"
38530 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38531 conftest
$ac_exeext conftest.
$ac_ext
38533 ac_res
=`eval echo '${'$as_ac_var'}'`
38534 { echo "$as_me:$LINENO: result: $ac_res" >&5
38535 echo "${ECHO_T}$ac_res" >&6; }
38536 if test `eval echo '${'$as_ac_var'}'` = yes; then
38537 cat >>confdefs.h
<<_ACEOF
38538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38545 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38546 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38547 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38548 echo $ECHO_N "(cached) $ECHO_C" >&6
38552 ac_cpp
='$CXXCPP $CPPFLAGS'
38553 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38554 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38555 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38557 cat >conftest.
$ac_ext <<_ACEOF
38560 cat confdefs.h
>>conftest.
$ac_ext
38561 cat >>conftest.
$ac_ext <<_ACEOF
38562 /* end confdefs.h. */
38563 #include <pthread.h>
38564 void ThreadCleanupFunc(void *p);
38571 pthread_cleanup_push(ThreadCleanupFunc, p);
38572 pthread_cleanup_pop(0);
38578 rm -f conftest.
$ac_objext
38579 if { (ac_try
="$ac_compile"
38580 case "(($ac_try" in
38581 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38582 *) ac_try_echo=$ac_try;;
38584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38585 (eval "$ac_compile") 2>conftest.er1
38587 grep -v '^ *+' conftest.er1 >conftest.err
38589 cat conftest.err >&5
38590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38591 (exit $ac_status); } && {
38592 test -z "$ac_cxx_werror_flag" ||
38593 test ! -s conftest.err
38594 } && test -s conftest.$ac_objext; then
38596 wx_cv_func_pthread_cleanup=yes
38599 echo "$as_me: failed program was:" >&5
38600 sed 's/^/| /' conftest.$ac_ext >&5
38603 wx_cv_func_pthread_cleanup=no
38608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38610 ac_cpp='$CPP $CPPFLAGS'
38611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38617 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38618 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38619 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38620 cat >>confdefs.h <<\_ACEOF
38621 #define wxHAVE_PTHREAD_CLEANUP 1
38627 for ac_header in sched.h
38629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38630 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38632 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38633 echo $ECHO_N "(cached) $ECHO_C" >&6
38635 cat >conftest.$ac_ext <<_ACEOF
38638 cat confdefs.h >>conftest.$ac_ext
38639 cat >>conftest.$ac_ext <<_ACEOF
38640 /* end confdefs.h. */
38641 $ac_includes_default
38643 #include <$ac_header>
38645 rm -f conftest.$ac_objext
38646 if { (ac_try="$ac_compile"
38647 case "(($ac_try" in
38648 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38649 *) ac_try_echo
=$ac_try;;
38651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38652 (eval "$ac_compile") 2>conftest.er1
38654 grep -v '^ *+' conftest.er1
>conftest.err
38656 cat conftest.err
>&5
38657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38658 (exit $ac_status); } && {
38659 test -z "$ac_c_werror_flag" ||
38660 test ! -s conftest.err
38661 } && test -s conftest.
$ac_objext; then
38662 eval "$as_ac_Header=yes"
38664 echo "$as_me: failed program was:" >&5
38665 sed 's/^/| /' conftest.
$ac_ext >&5
38667 eval "$as_ac_Header=no"
38670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38672 ac_res
=`eval echo '${'$as_ac_Header'}'`
38673 { echo "$as_me:$LINENO: result: $ac_res" >&5
38674 echo "${ECHO_T}$ac_res" >&6; }
38675 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38676 cat >>confdefs.h
<<_ACEOF
38677 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38684 if test "$ac_cv_header_sched_h" = "yes"; then
38685 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38686 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38687 if test "${ac_cv_func_sched_yield+set}" = set; then
38688 echo $ECHO_N "(cached) $ECHO_C" >&6
38690 cat >conftest.
$ac_ext <<_ACEOF
38693 cat confdefs.h
>>conftest.
$ac_ext
38694 cat >>conftest.
$ac_ext <<_ACEOF
38695 /* end confdefs.h. */
38696 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38698 #define sched_yield innocuous_sched_yield
38700 /* System header to define __stub macros and hopefully few prototypes,
38701 which can conflict with char sched_yield (); below.
38702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38703 <limits.h> exists even on freestanding compilers. */
38706 # include <limits.h>
38708 # include <assert.h>
38713 /* Override any GCC internal prototype to avoid an error.
38714 Use char because int might match the return type of a GCC
38715 builtin and then its argument prototype would still apply. */
38719 char sched_yield ();
38720 /* The GNU C library defines this for functions which it implements
38721 to always fail with ENOSYS. Some functions are actually named
38722 something starting with __ and the normal name is an alias. */
38723 #if defined __stub_sched_yield || defined __stub___sched_yield
38730 return sched_yield ();
38735 rm -f conftest.
$ac_objext conftest
$ac_exeext
38736 if { (ac_try
="$ac_link"
38737 case "(($ac_try" in
38738 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38739 *) ac_try_echo=$ac_try;;
38741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38742 (eval "$ac_link") 2>conftest.er1
38744 grep -v '^ *+' conftest.er1 >conftest.err
38746 cat conftest.err >&5
38747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38748 (exit $ac_status); } && {
38749 test -z "$ac_c_werror_flag" ||
38750 test ! -s conftest.err
38751 } && test -s conftest$ac_exeext &&
38752 $as_test_x conftest$ac_exeext; then
38753 ac_cv_func_sched_yield=yes
38755 echo "$as_me: failed program was:" >&5
38756 sed 's/^/| /' conftest.$ac_ext >&5
38758 ac_cv_func_sched_yield=no
38761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38762 conftest$ac_exeext conftest.$ac_ext
38764 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38765 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38766 if test $ac_cv_func_sched_yield = yes; then
38767 cat >>confdefs.h <<\_ACEOF
38768 #define HAVE_SCHED_YIELD 1
38773 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38774 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38775 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38776 echo $ECHO_N "(cached) $ECHO_C" >&6
38778 ac_check_lib_save_LIBS=$LIBS
38779 LIBS="-lposix4 $LIBS"
38780 cat >conftest.$ac_ext <<_ACEOF
38783 cat confdefs.h >>conftest.$ac_ext
38784 cat >>conftest.$ac_ext <<_ACEOF
38785 /* end confdefs.h. */
38787 /* Override any GCC internal prototype to avoid an error.
38788 Use char because int might match the return type of a GCC
38789 builtin and then its argument prototype would still apply. */
38793 char sched_yield ();
38797 return sched_yield ();
38802 rm -f conftest.$ac_objext conftest$ac_exeext
38803 if { (ac_try="$ac_link"
38804 case "(($ac_try" in
38805 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38806 *) ac_try_echo
=$ac_try;;
38808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38809 (eval "$ac_link") 2>conftest.er1
38811 grep -v '^ *+' conftest.er1
>conftest.err
38813 cat conftest.err
>&5
38814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38815 (exit $ac_status); } && {
38816 test -z "$ac_c_werror_flag" ||
38817 test ! -s conftest.err
38818 } && test -s conftest
$ac_exeext &&
38819 $as_test_x conftest
$ac_exeext; then
38820 ac_cv_lib_posix4_sched_yield
=yes
38822 echo "$as_me: failed program was:" >&5
38823 sed 's/^/| /' conftest.
$ac_ext >&5
38825 ac_cv_lib_posix4_sched_yield
=no
38828 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38829 conftest
$ac_exeext conftest.
$ac_ext
38830 LIBS
=$ac_check_lib_save_LIBS
38832 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38833 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38834 if test $ac_cv_lib_posix4_sched_yield = yes; then
38835 cat >>confdefs.h
<<\_ACEOF
38836 #define HAVE_SCHED_YIELD 1
38838 POSIX4_LINK
=" -lposix4"
38840 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38841 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38852 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38853 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38854 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38855 echo $ECHO_N "(cached) $ECHO_C" >&6
38857 cat >conftest.
$ac_ext <<_ACEOF
38860 cat confdefs.h
>>conftest.
$ac_ext
38861 cat >>conftest.
$ac_ext <<_ACEOF
38862 /* end confdefs.h. */
38863 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38865 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38867 /* System header to define __stub macros and hopefully few prototypes,
38868 which can conflict with char pthread_attr_getschedpolicy (); below.
38869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38870 <limits.h> exists even on freestanding compilers. */
38873 # include <limits.h>
38875 # include <assert.h>
38878 #undef pthread_attr_getschedpolicy
38880 /* Override any GCC internal prototype to avoid an error.
38881 Use char because int might match the return type of a GCC
38882 builtin and then its argument prototype would still apply. */
38886 char pthread_attr_getschedpolicy ();
38887 /* The GNU C library defines this for functions which it implements
38888 to always fail with ENOSYS. Some functions are actually named
38889 something starting with __ and the normal name is an alias. */
38890 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38897 return pthread_attr_getschedpolicy ();
38902 rm -f conftest.
$ac_objext conftest
$ac_exeext
38903 if { (ac_try
="$ac_link"
38904 case "(($ac_try" in
38905 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38906 *) ac_try_echo=$ac_try;;
38908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38909 (eval "$ac_link") 2>conftest.er1
38911 grep -v '^ *+' conftest.er1 >conftest.err
38913 cat conftest.err >&5
38914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38915 (exit $ac_status); } && {
38916 test -z "$ac_c_werror_flag" ||
38917 test ! -s conftest.err
38918 } && test -s conftest$ac_exeext &&
38919 $as_test_x conftest$ac_exeext; then
38920 ac_cv_func_pthread_attr_getschedpolicy=yes
38922 echo "$as_me: failed program was:" >&5
38923 sed 's/^/| /' conftest.$ac_ext >&5
38925 ac_cv_func_pthread_attr_getschedpolicy=no
38928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38929 conftest$ac_exeext conftest.$ac_ext
38931 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38932 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38933 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38934 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38935 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38936 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38937 echo $ECHO_N "(cached) $ECHO_C" >&6
38939 cat >conftest.$ac_ext <<_ACEOF
38942 cat confdefs.h >>conftest.$ac_ext
38943 cat >>conftest.$ac_ext <<_ACEOF
38944 /* end confdefs.h. */
38945 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38947 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38949 /* System header to define __stub macros and hopefully few prototypes,
38950 which can conflict with char pthread_attr_setschedparam (); below.
38951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38952 <limits.h> exists even on freestanding compilers. */
38955 # include <limits.h>
38957 # include <assert.h>
38960 #undef pthread_attr_setschedparam
38962 /* Override any GCC internal prototype to avoid an error.
38963 Use char because int might match the return type of a GCC
38964 builtin and then its argument prototype would still apply. */
38968 char pthread_attr_setschedparam ();
38969 /* The GNU C library defines this for functions which it implements
38970 to always fail with ENOSYS. Some functions are actually named
38971 something starting with __ and the normal name is an alias. */
38972 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38979 return pthread_attr_setschedparam ();
38984 rm -f conftest.$ac_objext conftest$ac_exeext
38985 if { (ac_try="$ac_link"
38986 case "(($ac_try" in
38987 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38988 *) ac_try_echo
=$ac_try;;
38990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38991 (eval "$ac_link") 2>conftest.er1
38993 grep -v '^ *+' conftest.er1
>conftest.err
38995 cat conftest.err
>&5
38996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38997 (exit $ac_status); } && {
38998 test -z "$ac_c_werror_flag" ||
38999 test ! -s conftest.err
39000 } && test -s conftest
$ac_exeext &&
39001 $as_test_x conftest
$ac_exeext; then
39002 ac_cv_func_pthread_attr_setschedparam
=yes
39004 echo "$as_me: failed program was:" >&5
39005 sed 's/^/| /' conftest.
$ac_ext >&5
39007 ac_cv_func_pthread_attr_setschedparam
=no
39010 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39011 conftest
$ac_exeext conftest.
$ac_ext
39013 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39014 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39015 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39016 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39017 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39018 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39019 echo $ECHO_N "(cached) $ECHO_C" >&6
39021 cat >conftest.
$ac_ext <<_ACEOF
39024 cat confdefs.h
>>conftest.
$ac_ext
39025 cat >>conftest.
$ac_ext <<_ACEOF
39026 /* end confdefs.h. */
39027 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39029 #define sched_get_priority_max innocuous_sched_get_priority_max
39031 /* System header to define __stub macros and hopefully few prototypes,
39032 which can conflict with char sched_get_priority_max (); below.
39033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39034 <limits.h> exists even on freestanding compilers. */
39037 # include <limits.h>
39039 # include <assert.h>
39042 #undef sched_get_priority_max
39044 /* Override any GCC internal prototype to avoid an error.
39045 Use char because int might match the return type of a GCC
39046 builtin and then its argument prototype would still apply. */
39050 char sched_get_priority_max ();
39051 /* The GNU C library defines this for functions which it implements
39052 to always fail with ENOSYS. Some functions are actually named
39053 something starting with __ and the normal name is an alias. */
39054 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39061 return sched_get_priority_max ();
39066 rm -f conftest.
$ac_objext conftest
$ac_exeext
39067 if { (ac_try
="$ac_link"
39068 case "(($ac_try" in
39069 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39070 *) ac_try_echo=$ac_try;;
39072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39073 (eval "$ac_link") 2>conftest.er1
39075 grep -v '^ *+' conftest.er1 >conftest.err
39077 cat conftest.err >&5
39078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39079 (exit $ac_status); } && {
39080 test -z "$ac_c_werror_flag" ||
39081 test ! -s conftest.err
39082 } && test -s conftest$ac_exeext &&
39083 $as_test_x conftest$ac_exeext; then
39084 ac_cv_func_sched_get_priority_max=yes
39086 echo "$as_me: failed program was:" >&5
39087 sed 's/^/| /' conftest.$ac_ext >&5
39089 ac_cv_func_sched_get_priority_max=no
39092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39093 conftest$ac_exeext conftest.$ac_ext
39095 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39096 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39097 if test $ac_cv_func_sched_get_priority_max = yes; then
39100 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39101 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39102 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39103 echo $ECHO_N "(cached) $ECHO_C" >&6
39105 ac_check_lib_save_LIBS=$LIBS
39106 LIBS="-lposix4 $LIBS"
39107 cat >conftest.$ac_ext <<_ACEOF
39110 cat confdefs.h >>conftest.$ac_ext
39111 cat >>conftest.$ac_ext <<_ACEOF
39112 /* end confdefs.h. */
39114 /* Override any GCC internal prototype to avoid an error.
39115 Use char because int might match the return type of a GCC
39116 builtin and then its argument prototype would still apply. */
39120 char sched_get_priority_max ();
39124 return sched_get_priority_max ();
39129 rm -f conftest.$ac_objext conftest$ac_exeext
39130 if { (ac_try="$ac_link"
39131 case "(($ac_try" in
39132 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39133 *) ac_try_echo
=$ac_try;;
39135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39136 (eval "$ac_link") 2>conftest.er1
39138 grep -v '^ *+' conftest.er1
>conftest.err
39140 cat conftest.err
>&5
39141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39142 (exit $ac_status); } && {
39143 test -z "$ac_c_werror_flag" ||
39144 test ! -s conftest.err
39145 } && test -s conftest
$ac_exeext &&
39146 $as_test_x conftest
$ac_exeext; then
39147 ac_cv_lib_posix4_sched_get_priority_max
=yes
39149 echo "$as_me: failed program was:" >&5
39150 sed 's/^/| /' conftest.
$ac_ext >&5
39152 ac_cv_lib_posix4_sched_get_priority_max
=no
39155 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39156 conftest
$ac_exeext conftest.
$ac_ext
39157 LIBS
=$ac_check_lib_save_LIBS
39159 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39160 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39161 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39164 POSIX4_LINK
=" -lposix4"
39178 if test "$HAVE_PRIOR_FUNCS" = 1; then
39179 cat >>confdefs.h
<<\_ACEOF
39180 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39184 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39185 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39188 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39189 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39190 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39191 echo $ECHO_N "(cached) $ECHO_C" >&6
39193 cat >conftest.
$ac_ext <<_ACEOF
39196 cat confdefs.h
>>conftest.
$ac_ext
39197 cat >>conftest.
$ac_ext <<_ACEOF
39198 /* end confdefs.h. */
39199 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39201 #define pthread_cancel innocuous_pthread_cancel
39203 /* System header to define __stub macros and hopefully few prototypes,
39204 which can conflict with char pthread_cancel (); below.
39205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39206 <limits.h> exists even on freestanding compilers. */
39209 # include <limits.h>
39211 # include <assert.h>
39214 #undef pthread_cancel
39216 /* Override any GCC internal prototype to avoid an error.
39217 Use char because int might match the return type of a GCC
39218 builtin and then its argument prototype would still apply. */
39222 char pthread_cancel ();
39223 /* The GNU C library defines this for functions which it implements
39224 to always fail with ENOSYS. Some functions are actually named
39225 something starting with __ and the normal name is an alias. */
39226 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39233 return pthread_cancel ();
39238 rm -f conftest.
$ac_objext conftest
$ac_exeext
39239 if { (ac_try
="$ac_link"
39240 case "(($ac_try" in
39241 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39242 *) ac_try_echo=$ac_try;;
39244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39245 (eval "$ac_link") 2>conftest.er1
39247 grep -v '^ *+' conftest.er1 >conftest.err
39249 cat conftest.err >&5
39250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39251 (exit $ac_status); } && {
39252 test -z "$ac_c_werror_flag" ||
39253 test ! -s conftest.err
39254 } && test -s conftest$ac_exeext &&
39255 $as_test_x conftest$ac_exeext; then
39256 ac_cv_func_pthread_cancel=yes
39258 echo "$as_me: failed program was:" >&5
39259 sed 's/^/| /' conftest.$ac_ext >&5
39261 ac_cv_func_pthread_cancel=no
39264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39265 conftest$ac_exeext conftest.$ac_ext
39267 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39268 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39269 if test $ac_cv_func_pthread_cancel = yes; then
39270 cat >>confdefs.h <<\_ACEOF
39271 #define HAVE_PTHREAD_CANCEL 1
39275 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39276 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39280 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39281 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39282 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39283 echo $ECHO_N "(cached) $ECHO_C" >&6
39285 cat >conftest.$ac_ext <<_ACEOF
39288 cat confdefs.h >>conftest.$ac_ext
39289 cat >>conftest.$ac_ext <<_ACEOF
39290 /* end confdefs.h. */
39291 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39293 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39295 /* System header to define __stub macros and hopefully few prototypes,
39296 which can conflict with char pthread_mutex_timedlock (); below.
39297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39298 <limits.h> exists even on freestanding compilers. */
39301 # include <limits.h>
39303 # include <assert.h>
39306 #undef pthread_mutex_timedlock
39308 /* Override any GCC internal prototype to avoid an error.
39309 Use char because int might match the return type of a GCC
39310 builtin and then its argument prototype would still apply. */
39314 char pthread_mutex_timedlock ();
39315 /* The GNU C library defines this for functions which it implements
39316 to always fail with ENOSYS. Some functions are actually named
39317 something starting with __ and the normal name is an alias. */
39318 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39325 return pthread_mutex_timedlock ();
39330 rm -f conftest.$ac_objext conftest$ac_exeext
39331 if { (ac_try="$ac_link"
39332 case "(($ac_try" in
39333 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39334 *) ac_try_echo
=$ac_try;;
39336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39337 (eval "$ac_link") 2>conftest.er1
39339 grep -v '^ *+' conftest.er1
>conftest.err
39341 cat conftest.err
>&5
39342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39343 (exit $ac_status); } && {
39344 test -z "$ac_c_werror_flag" ||
39345 test ! -s conftest.err
39346 } && test -s conftest
$ac_exeext &&
39347 $as_test_x conftest
$ac_exeext; then
39348 ac_cv_func_pthread_mutex_timedlock
=yes
39350 echo "$as_me: failed program was:" >&5
39351 sed 's/^/| /' conftest.
$ac_ext >&5
39353 ac_cv_func_pthread_mutex_timedlock
=no
39356 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39357 conftest
$ac_exeext conftest.
$ac_ext
39359 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39360 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39361 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39362 cat >>confdefs.h
<<\_ACEOF
39363 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39367 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39368 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39372 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39373 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39374 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39375 echo $ECHO_N "(cached) $ECHO_C" >&6
39377 cat >conftest.
$ac_ext <<_ACEOF
39380 cat confdefs.h
>>conftest.
$ac_ext
39381 cat >>conftest.
$ac_ext <<_ACEOF
39382 /* end confdefs.h. */
39383 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39385 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39387 /* System header to define __stub macros and hopefully few prototypes,
39388 which can conflict with char pthread_attr_setstacksize (); below.
39389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39390 <limits.h> exists even on freestanding compilers. */
39393 # include <limits.h>
39395 # include <assert.h>
39398 #undef pthread_attr_setstacksize
39400 /* Override any GCC internal prototype to avoid an error.
39401 Use char because int might match the return type of a GCC
39402 builtin and then its argument prototype would still apply. */
39406 char pthread_attr_setstacksize ();
39407 /* The GNU C library defines this for functions which it implements
39408 to always fail with ENOSYS. Some functions are actually named
39409 something starting with __ and the normal name is an alias. */
39410 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39417 return pthread_attr_setstacksize ();
39422 rm -f conftest.
$ac_objext conftest
$ac_exeext
39423 if { (ac_try
="$ac_link"
39424 case "(($ac_try" in
39425 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39426 *) ac_try_echo=$ac_try;;
39428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39429 (eval "$ac_link") 2>conftest.er1
39431 grep -v '^ *+' conftest.er1 >conftest.err
39433 cat conftest.err >&5
39434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39435 (exit $ac_status); } && {
39436 test -z "$ac_c_werror_flag" ||
39437 test ! -s conftest.err
39438 } && test -s conftest$ac_exeext &&
39439 $as_test_x conftest$ac_exeext; then
39440 ac_cv_func_pthread_attr_setstacksize=yes
39442 echo "$as_me: failed program was:" >&5
39443 sed 's/^/| /' conftest.$ac_ext >&5
39445 ac_cv_func_pthread_attr_setstacksize=no
39448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39449 conftest$ac_exeext conftest.$ac_ext
39451 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39452 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39453 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39454 cat >>confdefs.h <<\_ACEOF
39455 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39462 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39463 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39464 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39465 echo $ECHO_N "(cached) $ECHO_C" >&6
39468 cat >conftest.$ac_ext <<_ACEOF
39471 cat confdefs.h >>conftest.$ac_ext
39472 cat >>conftest.$ac_ext <<_ACEOF
39473 /* end confdefs.h. */
39474 #include <pthread.h>
39479 pthread_mutexattr_t attr;
39480 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39486 rm -f conftest.$ac_objext
39487 if { (ac_try="$ac_compile"
39488 case "(($ac_try" in
39489 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39490 *) ac_try_echo
=$ac_try;;
39492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39493 (eval "$ac_compile") 2>conftest.er1
39495 grep -v '^ *+' conftest.er1
>conftest.err
39497 cat conftest.err
>&5
39498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39499 (exit $ac_status); } && {
39500 test -z "$ac_c_werror_flag" ||
39501 test ! -s conftest.err
39502 } && test -s conftest.
$ac_objext; then
39503 wx_cv_type_pthread_mutexattr_t
=yes
39505 echo "$as_me: failed program was:" >&5
39506 sed 's/^/| /' conftest.
$ac_ext >&5
39508 wx_cv_type_pthread_mutexattr_t
=no
39512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39515 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39516 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39518 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39519 cat >>confdefs.h
<<\_ACEOF
39520 #define HAVE_PTHREAD_MUTEXATTR_T 1
39524 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39525 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39526 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39527 echo $ECHO_N "(cached) $ECHO_C" >&6
39530 cat >conftest.
$ac_ext <<_ACEOF
39533 cat confdefs.h
>>conftest.
$ac_ext
39534 cat >>conftest.
$ac_ext <<_ACEOF
39535 /* end confdefs.h. */
39536 #include <pthread.h>
39541 pthread_mutexattr_t attr;
39542 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39548 rm -f conftest.
$ac_objext
39549 if { (ac_try
="$ac_compile"
39550 case "(($ac_try" in
39551 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39552 *) ac_try_echo=$ac_try;;
39554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39555 (eval "$ac_compile") 2>conftest.er1
39557 grep -v '^ *+' conftest.er1 >conftest.err
39559 cat conftest.err >&5
39560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39561 (exit $ac_status); } && {
39562 test -z "$ac_c_werror_flag" ||
39563 test ! -s conftest.err
39564 } && test -s conftest.$ac_objext; then
39565 wx_cv_func_pthread_mutexattr_settype_decl=yes
39567 echo "$as_me: failed program was:" >&5
39568 sed 's/^/| /' conftest.$ac_ext >&5
39570 wx_cv_func_pthread_mutexattr_settype_decl=no
39574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39577 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39578 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39579 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39580 cat >>confdefs.h <<\_ACEOF
39581 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39586 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39587 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39588 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39589 echo $ECHO_N "(cached) $ECHO_C" >&6
39592 cat >conftest.$ac_ext <<_ACEOF
39595 cat confdefs.h >>conftest.$ac_ext
39596 cat >>conftest.$ac_ext <<_ACEOF
39597 /* end confdefs.h. */
39598 #include <pthread.h>
39603 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39609 rm -f conftest.$ac_objext
39610 if { (ac_try="$ac_compile"
39611 case "(($ac_try" in
39612 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39613 *) ac_try_echo
=$ac_try;;
39615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39616 (eval "$ac_compile") 2>conftest.er1
39618 grep -v '^ *+' conftest.er1
>conftest.err
39620 cat conftest.err
>&5
39621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39622 (exit $ac_status); } && {
39623 test -z "$ac_c_werror_flag" ||
39624 test ! -s conftest.err
39625 } && test -s conftest.
$ac_objext; then
39627 wx_cv_type_pthread_rec_mutex_init
=yes
39630 echo "$as_me: failed program was:" >&5
39631 sed 's/^/| /' conftest.
$ac_ext >&5
39634 wx_cv_type_pthread_rec_mutex_init
=no
39639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39642 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39643 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39644 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39645 cat >>confdefs.h
<<\_ACEOF
39646 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39650 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39651 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39657 if test "$wxUSE_THREADS" = "yes" ; then
39660 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39661 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39662 if test "${wx_cv_cflags_mthread+set}" = set; then
39663 echo $ECHO_N "(cached) $ECHO_C" >&6
39666 CFLAGS_OLD
="$CFLAGS"
39667 CFLAGS
="-mthreads $CFLAGS"
39668 cat >conftest.
$ac_ext <<_ACEOF
39671 cat confdefs.h
>>conftest.
$ac_ext
39672 cat >>conftest.
$ac_ext <<_ACEOF
39673 /* end confdefs.h. */
39683 rm -f conftest.
$ac_objext
39684 if { (ac_try
="$ac_compile"
39685 case "(($ac_try" in
39686 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39687 *) ac_try_echo=$ac_try;;
39689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39690 (eval "$ac_compile") 2>conftest.er1
39692 grep -v '^ *+' conftest.er1 >conftest.err
39694 cat conftest.err >&5
39695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39696 (exit $ac_status); } && {
39697 test -z "$ac_c_werror_flag" ||
39698 test ! -s conftest.err
39699 } && test -s conftest.$ac_objext; then
39700 wx_cv_cflags_mthread=yes
39702 echo "$as_me: failed program was:" >&5
39703 sed 's/^/| /' conftest.$ac_ext >&5
39705 wx_cv_cflags_mthread=no
39709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39713 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39714 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39716 if test "$wx_cv_cflags_mthread" = "yes"; then
39717 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39718 LDFLAGS="$LDFLAGS -mthreads"
39720 CFLAGS="$CFLAGS_OLD"
39724 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39725 LDFLAGS="$LDFLAGS -Zmt"
39731 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39732 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39733 if test "${ac_cv_func_localtime_r+set}" = set; then
39734 echo $ECHO_N "(cached) $ECHO_C" >&6
39736 cat >conftest.$ac_ext <<_ACEOF
39739 cat confdefs.h >>conftest.$ac_ext
39740 cat >>conftest.$ac_ext <<_ACEOF
39741 /* end confdefs.h. */
39742 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39744 #define localtime_r innocuous_localtime_r
39746 /* System header to define __stub macros and hopefully few prototypes,
39747 which can conflict with char localtime_r (); below.
39748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39749 <limits.h> exists even on freestanding compilers. */
39752 # include <limits.h>
39754 # include <assert.h>
39759 /* Override any GCC internal prototype to avoid an error.
39760 Use char because int might match the return type of a GCC
39761 builtin and then its argument prototype would still apply. */
39765 char localtime_r ();
39766 /* The GNU C library defines this for functions which it implements
39767 to always fail with ENOSYS. Some functions are actually named
39768 something starting with __ and the normal name is an alias. */
39769 #if defined __stub_localtime_r || defined __stub___localtime_r
39776 return localtime_r ();
39781 rm -f conftest.$ac_objext conftest$ac_exeext
39782 if { (ac_try="$ac_link"
39783 case "(($ac_try" in
39784 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39785 *) ac_try_echo
=$ac_try;;
39787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39788 (eval "$ac_link") 2>conftest.er1
39790 grep -v '^ *+' conftest.er1
>conftest.err
39792 cat conftest.err
>&5
39793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39794 (exit $ac_status); } && {
39795 test -z "$ac_c_werror_flag" ||
39796 test ! -s conftest.err
39797 } && test -s conftest
$ac_exeext &&
39798 $as_test_x conftest
$ac_exeext; then
39799 ac_cv_func_localtime_r
=yes
39801 echo "$as_me: failed program was:" >&5
39802 sed 's/^/| /' conftest.
$ac_ext >&5
39804 ac_cv_func_localtime_r
=no
39807 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39808 conftest
$ac_exeext conftest.
$ac_ext
39810 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39811 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39812 if test $ac_cv_func_localtime_r = yes; then
39813 cat >>confdefs.h
<<\_ACEOF
39814 #define HAVE_LOCALTIME_R 1
39819 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39820 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39821 if test "${ac_cv_func_gmtime_r+set}" = set; then
39822 echo $ECHO_N "(cached) $ECHO_C" >&6
39824 cat >conftest.
$ac_ext <<_ACEOF
39827 cat confdefs.h
>>conftest.
$ac_ext
39828 cat >>conftest.
$ac_ext <<_ACEOF
39829 /* end confdefs.h. */
39830 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39832 #define gmtime_r innocuous_gmtime_r
39834 /* System header to define __stub macros and hopefully few prototypes,
39835 which can conflict with char gmtime_r (); below.
39836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39837 <limits.h> exists even on freestanding compilers. */
39840 # include <limits.h>
39842 # include <assert.h>
39847 /* Override any GCC internal prototype to avoid an error.
39848 Use char because int might match the return type of a GCC
39849 builtin and then its argument prototype would still apply. */
39854 /* The GNU C library defines this for functions which it implements
39855 to always fail with ENOSYS. Some functions are actually named
39856 something starting with __ and the normal name is an alias. */
39857 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39864 return gmtime_r ();
39869 rm -f conftest.
$ac_objext conftest
$ac_exeext
39870 if { (ac_try
="$ac_link"
39871 case "(($ac_try" in
39872 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39873 *) ac_try_echo=$ac_try;;
39875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39876 (eval "$ac_link") 2>conftest.er1
39878 grep -v '^ *+' conftest.er1 >conftest.err
39880 cat conftest.err >&5
39881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39882 (exit $ac_status); } && {
39883 test -z "$ac_c_werror_flag" ||
39884 test ! -s conftest.err
39885 } && test -s conftest$ac_exeext &&
39886 $as_test_x conftest$ac_exeext; then
39887 ac_cv_func_gmtime_r=yes
39889 echo "$as_me: failed program was:" >&5
39890 sed 's/^/| /' conftest.$ac_ext >&5
39892 ac_cv_func_gmtime_r=no
39895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39896 conftest$ac_exeext conftest.$ac_ext
39898 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39899 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39900 if test $ac_cv_func_gmtime_r = yes; then
39901 cat >>confdefs.h <<\_ACEOF
39902 #define HAVE_GMTIME_R 1
39911 ac_cpp='$CPP $CPPFLAGS'
39912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39916 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39917 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39919 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39920 echo $ECHO_N "(cached) $ECHO_C" >&6
39924 ################################################################
39926 ac_cv_func_which_gethostbyname_r=unknown
39929 # ONE ARGUMENT (sanity check)
39932 # This should fail, as there is no variant of gethostbyname_r() that takes
39933 # a single argument. If it actually compiles, then we can assume that
39934 # netdb.h is not declaring the function, and the compiler is thereby
39935 # assuming an implicit prototype. In which case, we're out of luck.
39937 cat >conftest.$ac_ext <<_ACEOF
39940 cat confdefs.h >>conftest.$ac_ext
39941 cat >>conftest.$ac_ext <<_ACEOF
39942 /* end confdefs.h. */
39948 char *name = "www.gnu.org";
39949 (void)gethostbyname_r(name) /* ; */
39955 rm -f conftest.$ac_objext
39956 if { (ac_try="$ac_compile"
39957 case "(($ac_try" in
39958 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39959 *) ac_try_echo
=$ac_try;;
39961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39962 (eval "$ac_compile") 2>conftest.er1
39964 grep -v '^ *+' conftest.er1
>conftest.err
39966 cat conftest.err
>&5
39967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39968 (exit $ac_status); } && {
39969 test -z "$ac_c_werror_flag" ||
39970 test ! -s conftest.err
39971 } && test -s conftest.
$ac_objext; then
39972 ac_cv_func_which_gethostbyname_r
=no
39974 echo "$as_me: failed program was:" >&5
39975 sed 's/^/| /' conftest.
$ac_ext >&5
39980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39987 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39989 cat >conftest.
$ac_ext <<_ACEOF
39992 cat confdefs.h
>>conftest.
$ac_ext
39993 cat >>conftest.
$ac_ext <<_ACEOF
39994 /* end confdefs.h. */
40000 char *name = "www.gnu.org";
40001 struct hostent ret, *retp;
40005 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40011 rm -f conftest.
$ac_objext
40012 if { (ac_try
="$ac_compile"
40013 case "(($ac_try" in
40014 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40015 *) ac_try_echo=$ac_try;;
40017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40018 (eval "$ac_compile") 2>conftest.er1
40020 grep -v '^ *+' conftest.er1 >conftest.err
40022 cat conftest.err >&5
40023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40024 (exit $ac_status); } && {
40025 test -z "$ac_c_werror_flag" ||
40026 test ! -s conftest.err
40027 } && test -s conftest.$ac_objext; then
40028 ac_cv_func_which_gethostbyname_r=six
40030 echo "$as_me: failed program was:" >&5
40031 sed 's/^/| /' conftest.$ac_ext >&5
40036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40045 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40047 cat >conftest.$ac_ext <<_ACEOF
40050 cat confdefs.h >>conftest.$ac_ext
40051 cat >>conftest.$ac_ext <<_ACEOF
40052 /* end confdefs.h. */
40058 char *name = "www.gnu.org";
40059 struct hostent ret;
40063 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40069 rm -f conftest.$ac_objext
40070 if { (ac_try="$ac_compile"
40071 case "(($ac_try" in
40072 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40073 *) ac_try_echo
=$ac_try;;
40075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40076 (eval "$ac_compile") 2>conftest.er1
40078 grep -v '^ *+' conftest.er1
>conftest.err
40080 cat conftest.err
>&5
40081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40082 (exit $ac_status); } && {
40083 test -z "$ac_c_werror_flag" ||
40084 test ! -s conftest.err
40085 } && test -s conftest.
$ac_objext; then
40086 ac_cv_func_which_gethostbyname_r
=five
40088 echo "$as_me: failed program was:" >&5
40089 sed 's/^/| /' conftest.
$ac_ext >&5
40094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40100 # (e.g. AIX, HP-UX, Tru64)
40103 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40105 cat >conftest.
$ac_ext <<_ACEOF
40108 cat confdefs.h
>>conftest.
$ac_ext
40109 cat >>conftest.
$ac_ext <<_ACEOF
40110 /* end confdefs.h. */
40116 char *name = "www.gnu.org";
40117 struct hostent ret;
40118 struct hostent_data data;
40119 (void)gethostbyname_r(name, &ret, &data) /* ; */
40125 rm -f conftest.
$ac_objext
40126 if { (ac_try
="$ac_compile"
40127 case "(($ac_try" in
40128 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40129 *) ac_try_echo=$ac_try;;
40131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40132 (eval "$ac_compile") 2>conftest.er1
40134 grep -v '^ *+' conftest.er1 >conftest.err
40136 cat conftest.err >&5
40137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40138 (exit $ac_status); } && {
40139 test -z "$ac_c_werror_flag" ||
40140 test ! -s conftest.err
40141 } && test -s conftest.$ac_objext; then
40142 ac_cv_func_which_gethostbyname_r=three
40144 echo "$as_me: failed program was:" >&5
40145 sed 's/^/| /' conftest.$ac_ext >&5
40150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40154 ################################################################
40159 case "$ac_cv_func_which_gethostbyname_r" in
40161 { echo "$as_me:$LINENO: result: three" >&5
40162 echo "${ECHO_T}three" >&6; }
40163 cat >>confdefs.h <<\_ACEOF
40164 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40170 { echo "$as_me:$LINENO: result: five" >&5
40171 echo "${ECHO_T}five" >&6; }
40172 cat >>confdefs.h <<\_ACEOF
40173 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40179 { echo "$as_me:$LINENO: result: six" >&5
40180 echo "${ECHO_T}six" >&6; }
40181 cat >>confdefs.h <<\_ACEOF
40182 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40188 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40189 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40193 { echo "$as_me:$LINENO: result: can't tell" >&5
40194 echo "${ECHO_T}can't tell" >&6; }
40198 { { echo "$as_me:$LINENO: error: internal error" >&5
40199 echo "$as_me: error: internal error" >&2;}
40200 { (exit 1); exit 1; }; }
40205 ac_cpp='$CPP $CPPFLAGS'
40206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40212 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40213 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40214 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40215 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40216 if test "${ac_cv_func_gethostbyname+set}" = set; then
40217 echo $ECHO_N "(cached) $ECHO_C" >&6
40219 cat >conftest.$ac_ext <<_ACEOF
40222 cat confdefs.h >>conftest.$ac_ext
40223 cat >>conftest.$ac_ext <<_ACEOF
40224 /* end confdefs.h. */
40225 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40227 #define gethostbyname innocuous_gethostbyname
40229 /* System header to define __stub macros and hopefully few prototypes,
40230 which can conflict with char gethostbyname (); below.
40231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40232 <limits.h> exists even on freestanding compilers. */
40235 # include <limits.h>
40237 # include <assert.h>
40240 #undef gethostbyname
40242 /* Override any GCC internal prototype to avoid an error.
40243 Use char because int might match the return type of a GCC
40244 builtin and then its argument prototype would still apply. */
40248 char gethostbyname ();
40249 /* The GNU C library defines this for functions which it implements
40250 to always fail with ENOSYS. Some functions are actually named
40251 something starting with __ and the normal name is an alias. */
40252 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40259 return gethostbyname ();
40264 rm -f conftest.$ac_objext conftest$ac_exeext
40265 if { (ac_try="$ac_link"
40266 case "(($ac_try" in
40267 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40268 *) ac_try_echo
=$ac_try;;
40270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40271 (eval "$ac_link") 2>conftest.er1
40273 grep -v '^ *+' conftest.er1
>conftest.err
40275 cat conftest.err
>&5
40276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40277 (exit $ac_status); } && {
40278 test -z "$ac_c_werror_flag" ||
40279 test ! -s conftest.err
40280 } && test -s conftest
$ac_exeext &&
40281 $as_test_x conftest
$ac_exeext; then
40282 ac_cv_func_gethostbyname
=yes
40284 echo "$as_me: failed program was:" >&5
40285 sed 's/^/| /' conftest.
$ac_ext >&5
40287 ac_cv_func_gethostbyname
=no
40290 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40291 conftest
$ac_exeext conftest.
$ac_ext
40293 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40294 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40295 if test $ac_cv_func_gethostbyname = yes; then
40296 cat >>confdefs.h
<<\_ACEOF
40297 #define HAVE_GETHOSTBYNAME 1
40304 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40305 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40306 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40307 echo $ECHO_N "(cached) $ECHO_C" >&6
40311 ac_cpp
='$CXXCPP $CPPFLAGS'
40312 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40313 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40314 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40317 cat >conftest.
$ac_ext <<_ACEOF
40320 cat confdefs.h
>>conftest.
$ac_ext
40321 cat >>conftest.
$ac_ext <<_ACEOF
40322 /* end confdefs.h. */
40330 struct servent *se, *res;
40333 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40339 rm -f conftest.
$ac_objext
40340 if { (ac_try
="$ac_compile"
40341 case "(($ac_try" in
40342 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40343 *) ac_try_echo=$ac_try;;
40345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40346 (eval "$ac_compile") 2>conftest.er1
40348 grep -v '^ *+' conftest.er1 >conftest.err
40350 cat conftest.err >&5
40351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40352 (exit $ac_status); } && {
40353 test -z "$ac_cxx_werror_flag" ||
40354 test ! -s conftest.err
40355 } && test -s conftest.$ac_objext; then
40356 ac_cv_func_which_getservbyname_r=six
40358 echo "$as_me: failed program was:" >&5
40359 sed 's/^/| /' conftest.$ac_ext >&5
40362 cat >conftest.$ac_ext <<_ACEOF
40365 cat confdefs.h >>conftest.$ac_ext
40366 cat >>conftest.$ac_ext <<_ACEOF
40367 /* end confdefs.h. */
40375 struct servent *se;
40378 (void) getservbyname_r(name, proto, se, buffer, buflen)
40384 rm -f conftest.$ac_objext
40385 if { (ac_try="$ac_compile"
40386 case "(($ac_try" in
40387 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40388 *) ac_try_echo
=$ac_try;;
40390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40391 (eval "$ac_compile") 2>conftest.er1
40393 grep -v '^ *+' conftest.er1
>conftest.err
40395 cat conftest.err
>&5
40396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40397 (exit $ac_status); } && {
40398 test -z "$ac_cxx_werror_flag" ||
40399 test ! -s conftest.err
40400 } && test -s conftest.
$ac_objext; then
40401 ac_cv_func_which_getservbyname_r
=five
40403 echo "$as_me: failed program was:" >&5
40404 sed 's/^/| /' conftest.
$ac_ext >&5
40407 cat >conftest.
$ac_ext <<_ACEOF
40410 cat confdefs.h
>>conftest.
$ac_ext
40411 cat >>conftest.
$ac_ext <<_ACEOF
40412 /* end confdefs.h. */
40420 struct servent *se;
40421 struct servent_data data;
40422 (void) getservbyname_r(name, proto, se, &data);
40428 rm -f conftest.
$ac_objext
40429 if { (ac_try
="$ac_compile"
40430 case "(($ac_try" in
40431 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40432 *) ac_try_echo=$ac_try;;
40434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40435 (eval "$ac_compile") 2>conftest.er1
40437 grep -v '^ *+' conftest.er1 >conftest.err
40439 cat conftest.err >&5
40440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40441 (exit $ac_status); } && {
40442 test -z "$ac_cxx_werror_flag" ||
40443 test ! -s conftest.err
40444 } && test -s conftest.$ac_objext; then
40445 ac_cv_func_which_getservbyname_r=four
40447 echo "$as_me: failed program was:" >&5
40448 sed 's/^/| /' conftest.$ac_ext >&5
40450 ac_cv_func_which_getservbyname_r=no
40454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40466 ac_cpp='$CPP $CPPFLAGS'
40467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40474 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40475 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40477 if test $ac_cv_func_which_getservbyname_r = six; then
40478 cat >>confdefs.h <<\_ACEOF
40479 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40482 elif test $ac_cv_func_which_getservbyname_r = five; then
40483 cat >>confdefs.h <<\_ACEOF
40484 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40487 elif test $ac_cv_func_which_getservbyname_r = four; then
40488 cat >>confdefs.h <<\_ACEOF
40489 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40495 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40496 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40498 for ac_func in getservbyname
40500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40501 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40503 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40504 echo $ECHO_N "(cached) $ECHO_C" >&6
40506 cat >conftest.$ac_ext <<_ACEOF
40509 cat confdefs.h >>conftest.$ac_ext
40510 cat >>conftest.$ac_ext <<_ACEOF
40511 /* end confdefs.h. */
40512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40514 #define $ac_func innocuous_$ac_func
40516 /* System header to define __stub macros and hopefully few prototypes,
40517 which can conflict with char $ac_func (); below.
40518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40519 <limits.h> exists even on freestanding compilers. */
40522 # include <limits.h>
40524 # include <assert.h>
40529 /* Override any GCC internal prototype to avoid an error.
40530 Use char because int might match the return type of a GCC
40531 builtin and then its argument prototype would still apply. */
40536 /* The GNU C library defines this for functions which it implements
40537 to always fail with ENOSYS. Some functions are actually named
40538 something starting with __ and the normal name is an alias. */
40539 #if defined __stub_$ac_func || defined __stub___$ac_func
40546 return $ac_func ();
40551 rm -f conftest.$ac_objext conftest$ac_exeext
40552 if { (ac_try="$ac_link"
40553 case "(($ac_try" in
40554 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40555 *) ac_try_echo
=$ac_try;;
40557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40558 (eval "$ac_link") 2>conftest.er1
40560 grep -v '^ *+' conftest.er1
>conftest.err
40562 cat conftest.err
>&5
40563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40564 (exit $ac_status); } && {
40565 test -z "$ac_c_werror_flag" ||
40566 test ! -s conftest.err
40567 } && test -s conftest
$ac_exeext &&
40568 $as_test_x conftest
$ac_exeext; then
40569 eval "$as_ac_var=yes"
40571 echo "$as_me: failed program was:" >&5
40572 sed 's/^/| /' conftest.
$ac_ext >&5
40574 eval "$as_ac_var=no"
40577 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40578 conftest
$ac_exeext conftest.
$ac_ext
40580 ac_res
=`eval echo '${'$as_ac_var'}'`
40581 { echo "$as_me:$LINENO: result: $ac_res" >&5
40582 echo "${ECHO_T}$ac_res" >&6; }
40583 if test `eval echo '${'$as_ac_var'}'` = yes; then
40584 cat >>confdefs.h
<<_ACEOF
40585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40587 cat >>confdefs.h
<<\_ACEOF
40588 #define HAVE_GETSERVBYNAME 1
40596 if test "$wxUSE_THREADS" = "yes"; then
40597 cat >>confdefs.h
<<\_ACEOF
40598 #define wxUSE_THREADS 1
40602 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
40604 if test "$wx_cv_func_strtok_r" = "yes"; then
40605 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40606 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40607 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40608 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40609 { echo "$as_me:$LINENO: result: yes" >&5
40610 echo "${ECHO_T}yes" >&6; }
40612 { echo "$as_me:$LINENO: result: no" >&5
40613 echo "${ECHO_T}no" >&6; }
40618 if test "$WXGTK2" = 1 ; then
40619 cat >>confdefs.h
<<_ACEOF
40620 #define __WXGTK20__ $WXGTK2
40626 if test "$WXGTK12" = 1 ; then
40627 cat >>confdefs.h
<<_ACEOF
40628 #define __WXGTK12__ $WXGTK12
40633 if test "$WXGTK127" = 1 ; then
40634 cat >>confdefs.h
<<_ACEOF
40635 #define __WXGTK127__ $WXGTK127
40640 if test "$WXGPE" = 1 ; then
40641 cat >>confdefs.h
<<_ACEOF
40642 #define __WXGPE__ $WXGPE
40648 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40653 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40654 wxUSE_DEBUG_INFO
=yes
40655 if test "$GCC" = yes; then
40656 DEBUG_CFLAGS
="-ggdb"
40660 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40661 cat >>confdefs.h
<<\_ACEOF
40665 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40667 if test "$wxUSE_GTK" = 1 ; then
40668 if test "x$wxGTK_VERSION" = "x1" ; then
40669 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40674 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40675 cat >>confdefs.h
<<\_ACEOF
40676 #define wxUSE_MEMORY_TRACING 1
40679 cat >>confdefs.h
<<\_ACEOF
40680 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40683 cat >>confdefs.h
<<\_ACEOF
40684 #define wxUSE_DEBUG_NEW_ALWAYS 1
40687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
40690 if test "$wxUSE_DMALLOC" = "yes" ; then
40691 DMALLOC_LIBS
="-ldmallocthcxx"
40695 if test "$wxUSE_PROFILE" = "yes" ; then
40696 PROFILE_FLAGS
=" -pg"
40699 if test "$GCC" = "yes" ; then
40700 if test "$wxUSE_NO_RTTI" = "yes" ; then
40701 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
40703 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40704 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
40706 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40707 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
40712 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
40715 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
40721 if test "$wxUSE_OPTIMISE" = "no" ; then
40722 if test "$GCC" = yes ; then
40723 OPTIMISE_CFLAGS
="-O0"
40726 if test "$GCC" = yes ; then
40728 *-pc-os2_emx | *-pc-os2-emx )
40729 OPTIMISE_CFLAGS
="-O2"
40732 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
40736 OPTIMISE_CFLAGS
="-O"
40741 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40742 cat >>confdefs.h
<<\_ACEOF
40743 #define WXWIN_COMPATIBILITY_2_6 1
40747 WXWIN_COMPATIBILITY_2_8
="yes"
40750 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40751 cat >>confdefs.h
<<\_ACEOF
40752 #define WXWIN_COMPATIBILITY_2_8 1
40758 if test "$wxUSE_GUI" = "yes"; then
40759 cat >>confdefs.h
<<\_ACEOF
40760 #define wxUSE_GUI 1
40767 if test "$wxUSE_UNIX" = "yes"; then
40768 cat >>confdefs.h
<<\_ACEOF
40769 #define wxUSE_UNIX 1
40775 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40779 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40780 if test "$USE_DARWIN" = 1; then
40782 elif test "$USE_DOS" = 1; then
40786 for ac_func
in dlopen
40788 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40789 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40791 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40792 echo $ECHO_N "(cached) $ECHO_C" >&6
40794 cat >conftest.
$ac_ext <<_ACEOF
40797 cat confdefs.h
>>conftest.
$ac_ext
40798 cat >>conftest.
$ac_ext <<_ACEOF
40799 /* end confdefs.h. */
40800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40802 #define $ac_func innocuous_$ac_func
40804 /* System header to define __stub macros and hopefully few prototypes,
40805 which can conflict with char $ac_func (); below.
40806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40807 <limits.h> exists even on freestanding compilers. */
40810 # include <limits.h>
40812 # include <assert.h>
40817 /* Override any GCC internal prototype to avoid an error.
40818 Use char because int might match the return type of a GCC
40819 builtin and then its argument prototype would still apply. */
40824 /* The GNU C library defines this for functions which it implements
40825 to always fail with ENOSYS. Some functions are actually named
40826 something starting with __ and the normal name is an alias. */
40827 #if defined __stub_$ac_func || defined __stub___$ac_func
40834 return $ac_func ();
40839 rm -f conftest.
$ac_objext conftest
$ac_exeext
40840 if { (ac_try
="$ac_link"
40841 case "(($ac_try" in
40842 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40843 *) ac_try_echo=$ac_try;;
40845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40846 (eval "$ac_link") 2>conftest.er1
40848 grep -v '^ *+' conftest.er1 >conftest.err
40850 cat conftest.err >&5
40851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40852 (exit $ac_status); } && {
40853 test -z "$ac_c_werror_flag" ||
40854 test ! -s conftest.err
40855 } && test -s conftest$ac_exeext &&
40856 $as_test_x conftest$ac_exeext; then
40857 eval "$as_ac_var=yes"
40859 echo "$as_me: failed program was:" >&5
40860 sed 's/^/| /' conftest.$ac_ext >&5
40862 eval "$as_ac_var=no"
40865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40866 conftest$ac_exeext conftest.$ac_ext
40868 ac_res=`eval echo '${'$as_ac_var'}'`
40869 { echo "$as_me:$LINENO: result: $ac_res" >&5
40870 echo "${ECHO_T}$ac_res" >&6; }
40871 if test `eval echo '${'$as_ac_var'}'` = yes; then
40872 cat >>confdefs.h <<_ACEOF
40873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40876 cat >>confdefs.h <<\_ACEOF
40877 #define HAVE_DLOPEN 1
40884 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40885 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40886 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40887 echo $ECHO_N "(cached) $ECHO_C" >&6
40889 ac_check_lib_save_LIBS=$LIBS
40891 cat >conftest.$ac_ext <<_ACEOF
40894 cat confdefs.h >>conftest.$ac_ext
40895 cat >>conftest.$ac_ext <<_ACEOF
40896 /* end confdefs.h. */
40898 /* Override any GCC internal prototype to avoid an error.
40899 Use char because int might match the return type of a GCC
40900 builtin and then its argument prototype would still apply. */
40913 rm -f conftest.$ac_objext conftest$ac_exeext
40914 if { (ac_try="$ac_link"
40915 case "(($ac_try" in
40916 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40917 *) ac_try_echo
=$ac_try;;
40919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40920 (eval "$ac_link") 2>conftest.er1
40922 grep -v '^ *+' conftest.er1
>conftest.err
40924 cat conftest.err
>&5
40925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40926 (exit $ac_status); } && {
40927 test -z "$ac_c_werror_flag" ||
40928 test ! -s conftest.err
40929 } && test -s conftest
$ac_exeext &&
40930 $as_test_x conftest
$ac_exeext; then
40931 ac_cv_lib_dl_dlopen
=yes
40933 echo "$as_me: failed program was:" >&5
40934 sed 's/^/| /' conftest.
$ac_ext >&5
40936 ac_cv_lib_dl_dlopen
=no
40939 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40940 conftest
$ac_exeext conftest.
$ac_ext
40941 LIBS
=$ac_check_lib_save_LIBS
40943 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40944 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40945 if test $ac_cv_lib_dl_dlopen = yes; then
40947 cat >>confdefs.h
<<\_ACEOF
40948 #define HAVE_DLOPEN 1
40952 DL_LINK
=" -ldl$DL_LINK"
40957 for ac_func
in shl_load
40959 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40960 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40962 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40963 echo $ECHO_N "(cached) $ECHO_C" >&6
40965 cat >conftest.
$ac_ext <<_ACEOF
40968 cat confdefs.h
>>conftest.
$ac_ext
40969 cat >>conftest.
$ac_ext <<_ACEOF
40970 /* end confdefs.h. */
40971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40973 #define $ac_func innocuous_$ac_func
40975 /* System header to define __stub macros and hopefully few prototypes,
40976 which can conflict with char $ac_func (); below.
40977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40978 <limits.h> exists even on freestanding compilers. */
40981 # include <limits.h>
40983 # include <assert.h>
40988 /* Override any GCC internal prototype to avoid an error.
40989 Use char because int might match the return type of a GCC
40990 builtin and then its argument prototype would still apply. */
40995 /* The GNU C library defines this for functions which it implements
40996 to always fail with ENOSYS. Some functions are actually named
40997 something starting with __ and the normal name is an alias. */
40998 #if defined __stub_$ac_func || defined __stub___$ac_func
41005 return $ac_func ();
41010 rm -f conftest.
$ac_objext conftest
$ac_exeext
41011 if { (ac_try
="$ac_link"
41012 case "(($ac_try" in
41013 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41014 *) ac_try_echo=$ac_try;;
41016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41017 (eval "$ac_link") 2>conftest.er1
41019 grep -v '^ *+' conftest.er1 >conftest.err
41021 cat conftest.err >&5
41022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41023 (exit $ac_status); } && {
41024 test -z "$ac_c_werror_flag" ||
41025 test ! -s conftest.err
41026 } && test -s conftest$ac_exeext &&
41027 $as_test_x conftest$ac_exeext; then
41028 eval "$as_ac_var=yes"
41030 echo "$as_me: failed program was:" >&5
41031 sed 's/^/| /' conftest.$ac_ext >&5
41033 eval "$as_ac_var=no"
41036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41037 conftest$ac_exeext conftest.$ac_ext
41039 ac_res=`eval echo '${'$as_ac_var'}'`
41040 { echo "$as_me:$LINENO: result: $ac_res" >&5
41041 echo "${ECHO_T}$ac_res" >&6; }
41042 if test `eval echo '${'$as_ac_var'}'` = yes; then
41043 cat >>confdefs.h <<_ACEOF
41044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41047 cat >>confdefs.h <<\_ACEOF
41048 #define HAVE_SHL_LOAD 1
41055 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41056 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41057 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41058 echo $ECHO_N "(cached) $ECHO_C" >&6
41060 ac_check_lib_save_LIBS=$LIBS
41061 LIBS="-lshl_load $LIBS"
41062 cat >conftest.$ac_ext <<_ACEOF
41065 cat confdefs.h >>conftest.$ac_ext
41066 cat >>conftest.$ac_ext <<_ACEOF
41067 /* end confdefs.h. */
41069 /* Override any GCC internal prototype to avoid an error.
41070 Use char because int might match the return type of a GCC
41071 builtin and then its argument prototype would still apply. */
41084 rm -f conftest.$ac_objext conftest$ac_exeext
41085 if { (ac_try="$ac_link"
41086 case "(($ac_try" in
41087 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41088 *) ac_try_echo
=$ac_try;;
41090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41091 (eval "$ac_link") 2>conftest.er1
41093 grep -v '^ *+' conftest.er1
>conftest.err
41095 cat conftest.err
>&5
41096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41097 (exit $ac_status); } && {
41098 test -z "$ac_c_werror_flag" ||
41099 test ! -s conftest.err
41100 } && test -s conftest
$ac_exeext &&
41101 $as_test_x conftest
$ac_exeext; then
41102 ac_cv_lib_shl_load_dld
=yes
41104 echo "$as_me: failed program was:" >&5
41105 sed 's/^/| /' conftest.
$ac_ext >&5
41107 ac_cv_lib_shl_load_dld
=no
41110 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41111 conftest
$ac_exeext conftest.
$ac_ext
41112 LIBS
=$ac_check_lib_save_LIBS
41114 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41115 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41116 if test $ac_cv_lib_shl_load_dld = yes; then
41119 DL_LINK
=" -ldld$DL_LINK"
41135 if test "$HAVE_DL_FUNCS" = 1; then
41137 for ac_func
in dlerror
41139 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41140 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41142 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41143 echo $ECHO_N "(cached) $ECHO_C" >&6
41145 cat >conftest.
$ac_ext <<_ACEOF
41148 cat confdefs.h
>>conftest.
$ac_ext
41149 cat >>conftest.
$ac_ext <<_ACEOF
41150 /* end confdefs.h. */
41151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41153 #define $ac_func innocuous_$ac_func
41155 /* System header to define __stub macros and hopefully few prototypes,
41156 which can conflict with char $ac_func (); below.
41157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41158 <limits.h> exists even on freestanding compilers. */
41161 # include <limits.h>
41163 # include <assert.h>
41168 /* Override any GCC internal prototype to avoid an error.
41169 Use char because int might match the return type of a GCC
41170 builtin and then its argument prototype would still apply. */
41175 /* The GNU C library defines this for functions which it implements
41176 to always fail with ENOSYS. Some functions are actually named
41177 something starting with __ and the normal name is an alias. */
41178 #if defined __stub_$ac_func || defined __stub___$ac_func
41185 return $ac_func ();
41190 rm -f conftest.
$ac_objext conftest
$ac_exeext
41191 if { (ac_try
="$ac_link"
41192 case "(($ac_try" in
41193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41194 *) ac_try_echo=$ac_try;;
41196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41197 (eval "$ac_link") 2>conftest.er1
41199 grep -v '^ *+' conftest.er1 >conftest.err
41201 cat conftest.err >&5
41202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41203 (exit $ac_status); } && {
41204 test -z "$ac_c_werror_flag" ||
41205 test ! -s conftest.err
41206 } && test -s conftest$ac_exeext &&
41207 $as_test_x conftest$ac_exeext; then
41208 eval "$as_ac_var=yes"
41210 echo "$as_me: failed program was:" >&5
41211 sed 's/^/| /' conftest.$ac_ext >&5
41213 eval "$as_ac_var=no"
41216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41217 conftest$ac_exeext conftest.$ac_ext
41219 ac_res=`eval echo '${'$as_ac_var'}'`
41220 { echo "$as_me:$LINENO: result: $ac_res" >&5
41221 echo "${ECHO_T}$ac_res" >&6; }
41222 if test `eval echo '${'$as_ac_var'}'` = yes; then
41223 cat >>confdefs.h <<_ACEOF
41224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41226 cat >>confdefs.h <<\_ACEOF
41227 #define HAVE_DLERROR 1
41232 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41233 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41234 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41235 echo $ECHO_N "(cached) $ECHO_C" >&6
41237 ac_check_lib_save_LIBS=$LIBS
41239 cat >conftest.$ac_ext <<_ACEOF
41242 cat confdefs.h >>conftest.$ac_ext
41243 cat >>conftest.$ac_ext <<_ACEOF
41244 /* end confdefs.h. */
41246 /* Override any GCC internal prototype to avoid an error.
41247 Use char because int might match the return type of a GCC
41248 builtin and then its argument prototype would still apply. */
41261 rm -f conftest.$ac_objext conftest$ac_exeext
41262 if { (ac_try="$ac_link"
41263 case "(($ac_try" in
41264 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41265 *) ac_try_echo
=$ac_try;;
41267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41268 (eval "$ac_link") 2>conftest.er1
41270 grep -v '^ *+' conftest.er1
>conftest.err
41272 cat conftest.err
>&5
41273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41274 (exit $ac_status); } && {
41275 test -z "$ac_c_werror_flag" ||
41276 test ! -s conftest.err
41277 } && test -s conftest
$ac_exeext &&
41278 $as_test_x conftest
$ac_exeext; then
41279 ac_cv_lib_dl_dlerror
=yes
41281 echo "$as_me: failed program was:" >&5
41282 sed 's/^/| /' conftest.
$ac_ext >&5
41284 ac_cv_lib_dl_dlerror
=no
41287 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41288 conftest
$ac_exeext conftest.
$ac_ext
41289 LIBS
=$ac_check_lib_save_LIBS
41291 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41292 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41293 if test $ac_cv_lib_dl_dlerror = yes; then
41294 cat >>confdefs.h
<<\_ACEOF
41295 #define HAVE_DLERROR 1
41308 if test "$HAVE_DL_FUNCS" = 0; then
41309 if test "$HAVE_SHL_FUNCS" = 0; then
41310 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41311 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41312 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41313 wxUSE_DYNAMIC_LOADER
=no
41314 wxUSE_DYNLIB_CLASS
=no
41316 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41317 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41324 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41325 cat >>confdefs.h
<<\_ACEOF
41326 #define wxUSE_DYNAMIC_LOADER 1
41330 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41331 cat >>confdefs.h
<<\_ACEOF
41332 #define wxUSE_DYNLIB_CLASS 1
41339 if test "$wxUSE_PLUGINS" = "yes" ; then
41340 if test "$wxUSE_SHARED" = "no" ; then
41341 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41342 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41345 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41346 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41347 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41350 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41351 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41352 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41355 if test "$wxUSE_PLUGINS" = "yes" ; then
41356 cat >>confdefs.h
<<\_ACEOF
41357 #define wxUSE_PLUGINS 1
41364 if test "$wxUSE_STL" = "yes"; then
41365 cat >>confdefs.h
<<\_ACEOF
41366 #define wxUSE_STL 1
41371 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41372 cat >>confdefs.h
<<\_ACEOF
41373 #define wxUSE_EXTENDED_RTTI 1
41378 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41379 cat >>confdefs.h
<<\_ACEOF
41380 #define wxUSE_APPLE_IEEE 1
41385 if test "$wxUSE_TIMER" = "yes"; then
41386 cat >>confdefs.h
<<\_ACEOF
41387 #define wxUSE_TIMER 1
41392 if test "$USE_UNIX" = 1 ; then
41393 if test "$wxUSE_MGL" != 1; then
41394 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41395 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41396 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41397 echo $ECHO_N "(cached) $ECHO_C" >&6
41400 cat >conftest.
$ac_ext <<_ACEOF
41403 cat confdefs.h
>>conftest.
$ac_ext
41404 cat >>conftest.
$ac_ext <<_ACEOF
41405 /* end confdefs.h. */
41407 #include <sys/ioctl.h>
41408 #include <sys/soundcard.h>
41414 ioctl(0, SNDCTL_DSP_SPEED, 0);
41420 rm -f conftest.
$ac_objext conftest
$ac_exeext
41421 if { (ac_try
="$ac_link"
41422 case "(($ac_try" in
41423 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41424 *) ac_try_echo=$ac_try;;
41426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41427 (eval "$ac_link") 2>conftest.er1
41429 grep -v '^ *+' conftest.er1 >conftest.err
41431 cat conftest.err >&5
41432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41433 (exit $ac_status); } && {
41434 test -z "$ac_c_werror_flag" ||
41435 test ! -s conftest.err
41436 } && test -s conftest$ac_exeext &&
41437 $as_test_x conftest$ac_exeext; then
41438 ac_cv_header_sys_soundcard=yes
41440 echo "$as_me: failed program was:" >&5
41441 sed 's/^/| /' conftest.$ac_ext >&5
41445 LIBS="$saveLibs -lossaudio"
41446 cat >conftest.$ac_ext <<_ACEOF
41449 cat confdefs.h >>conftest.$ac_ext
41450 cat >>conftest.$ac_ext <<_ACEOF
41451 /* end confdefs.h. */
41453 #include <sys/ioctl.h>
41454 #include <sys/soundcard.h>
41460 ioctl(0, SNDCTL_DSP_SPEED, 0);
41466 rm -f conftest.$ac_objext conftest$ac_exeext
41467 if { (ac_try="$ac_link"
41468 case "(($ac_try" in
41469 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41470 *) ac_try_echo
=$ac_try;;
41472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41473 (eval "$ac_link") 2>conftest.er1
41475 grep -v '^ *+' conftest.er1
>conftest.err
41477 cat conftest.err
>&5
41478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41479 (exit $ac_status); } && {
41480 test -z "$ac_c_werror_flag" ||
41481 test ! -s conftest.err
41482 } && test -s conftest
$ac_exeext &&
41483 $as_test_x conftest
$ac_exeext; then
41484 ac_cv_header_sys_soundcard
=yes
41486 echo "$as_me: failed program was:" >&5
41487 sed 's/^/| /' conftest.
$ac_ext >&5
41491 ac_cv_header_sys_soundcard
=no
41496 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41497 conftest
$ac_exeext conftest.
$ac_ext
41502 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41503 conftest
$ac_exeext conftest.
$ac_ext
41506 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41507 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41510 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41511 cat >>confdefs.h
<<\_ACEOF
41512 #define HAVE_SYS_SOUNDCARD_H 1
41519 if test "$wxUSE_SOUND" = "yes"; then
41520 if test "$USE_UNIX" = 1 ; then
41521 if test "$wxUSE_LIBSDL" != "no"; then
41523 # Check whether --with-sdl-prefix was given.
41524 if test "${with_sdl_prefix+set}" = set; then
41525 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
41531 # Check whether --with-sdl-exec-prefix was given.
41532 if test "${with_sdl_exec_prefix+set}" = set; then
41533 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
41538 # Check whether --enable-sdltest was given.
41539 if test "${enable_sdltest+set}" = set; then
41540 enableval
=$enable_sdltest;
41546 if test x
$sdl_exec_prefix != x
; then
41547 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
41548 if test x
${SDL_CONFIG+set} != xset
; then
41549 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
41552 if test x
$sdl_prefix != x
; then
41553 sdl_args
="$sdl_args --prefix=$sdl_prefix"
41554 if test x
${SDL_CONFIG+set} != xset
; then
41555 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
41559 if test "x$prefix" != xNONE
; then
41560 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
41562 # Extract the first word of "sdl-config", so it can be a program name with args.
41563 set dummy sdl
-config; ac_word
=$2
41564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41566 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41567 echo $ECHO_N "(cached) $ECHO_C" >&6
41569 case $SDL_CONFIG in
41571 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
41574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41575 for as_dir
in $PATH
41578 test -z "$as_dir" && as_dir
=.
41579 for ac_exec_ext
in '' $ac_executable_extensions; do
41580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41581 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41589 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
41593 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
41594 if test -n "$SDL_CONFIG"; then
41595 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41596 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41598 { echo "$as_me:$LINENO: result: no" >&5
41599 echo "${ECHO_T}no" >&6; }
41603 min_sdl_version
=1.2.0
41604 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41605 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41607 if test "$SDL_CONFIG" = "no" ; then
41610 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
41611 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
41613 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
41614 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41615 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
41616 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41617 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
41618 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41619 if test "x$enable_sdltest" = "xyes" ; then
41620 ac_save_CFLAGS
="$CFLAGS"
41621 ac_save_CXXFLAGS
="$CXXFLAGS"
41622 ac_save_LIBS
="$LIBS"
41623 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41624 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41625 LIBS
="$LIBS $SDL_LIBS"
41627 if test "$cross_compiling" = yes; then
41628 echo $ac_n "cross compiling; assumed OK... $ac_c"
41630 cat >conftest.
$ac_ext <<_ACEOF
41633 cat confdefs.h
>>conftest.
$ac_ext
41634 cat >>conftest.
$ac_ext <<_ACEOF
41635 /* end confdefs.h. */
41638 #include <stdlib.h>
41639 #include <string.h>
41643 my_strdup (char *str)
41649 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41650 strcpy (new_str, str);
41658 int main (int argc, char *argv[])
41660 int major, minor, micro;
41663 /* This hangs on some systems (?)
41664 system ("touch conf.sdltest");
41666 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41668 /* HP/UX 9 (%@#!) writes to sscanf strings */
41669 tmp_version = my_strdup("$min_sdl_version");
41670 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41671 printf("%s, bad version string\n", "$min_sdl_version");
41675 if (($sdl_major_version > major) ||
41676 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41677 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41683 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41684 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41685 printf("*** best to upgrade to the required version.\n");
41686 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41687 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41688 printf("*** config.cache before re-running configure\n");
41695 rm -f conftest
$ac_exeext
41696 if { (ac_try
="$ac_link"
41697 case "(($ac_try" in
41698 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41699 *) ac_try_echo=$ac_try;;
41701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41702 (eval "$ac_link") 2>&5
41704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41705 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41706 { (case "(($ac_try" in
41707 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41708 *) ac_try_echo
=$ac_try;;
41710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41711 (eval "$ac_try") 2>&5
41713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41714 (exit $ac_status); }; }; then
41717 echo "$as_me: program exited with status $ac_status" >&5
41718 echo "$as_me: failed program was:" >&5
41719 sed 's/^/| /' conftest.
$ac_ext >&5
41721 ( exit $ac_status )
41724 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
41728 CFLAGS
="$ac_save_CFLAGS"
41729 CXXFLAGS
="$ac_save_CXXFLAGS"
41730 LIBS
="$ac_save_LIBS"
41733 if test "x$no_sdl" = x
; then
41734 { echo "$as_me:$LINENO: result: yes" >&5
41735 echo "${ECHO_T}yes" >&6; }
41737 EXTRALIBS_SDL
="$SDL_LIBS"
41738 CFLAGS
="$SDL_CFLAGS $CFLAGS"
41739 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
41740 cat >>confdefs.h
<<\_ACEOF
41741 #define wxUSE_LIBSDL 1
41746 { echo "$as_me:$LINENO: result: no" >&5
41747 echo "${ECHO_T}no" >&6; }
41748 if test "$SDL_CONFIG" = "no" ; then
41749 echo "*** The sdl-config script installed by SDL could not be found"
41750 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41751 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41752 echo "*** full path to sdl-config."
41754 if test -f conf.sdltest
; then
41757 echo "*** Could not run SDL test program, checking why..."
41758 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41759 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41760 LIBS
="$LIBS $SDL_LIBS"
41761 cat >conftest.
$ac_ext <<_ACEOF
41764 cat confdefs.h
>>conftest.
$ac_ext
41765 cat >>conftest.
$ac_ext <<_ACEOF
41766 /* end confdefs.h. */
41771 int main(int argc, char *argv[])
41774 #define main K_and_R_C_main
41784 rm -f conftest.
$ac_objext conftest
$ac_exeext
41785 if { (ac_try
="$ac_link"
41786 case "(($ac_try" in
41787 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41788 *) ac_try_echo=$ac_try;;
41790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41791 (eval "$ac_link") 2>conftest.er1
41793 grep -v '^ *+' conftest.er1 >conftest.err
41795 cat conftest.err >&5
41796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41797 (exit $ac_status); } && {
41798 test -z "$ac_c_werror_flag" ||
41799 test ! -s conftest.err
41800 } && test -s conftest$ac_exeext &&
41801 $as_test_x conftest$ac_exeext; then
41802 echo "*** The test program compiled, but did not run. This usually means"
41803 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41804 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41805 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41806 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41807 echo "*** is required on your system"
41809 echo "*** If you have an old version installed, it is best to remove it, although"
41810 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41812 echo "$as_me: failed program was:" >&5
41813 sed 's/^/| /' conftest.$ac_ext >&5
41815 echo "*** The test program failed to compile or link. See the file config.log for the"
41816 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41817 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41818 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41822 conftest$ac_exeext conftest.$ac_ext
41823 CFLAGS="$ac_save_CFLAGS"
41824 CXXFLAGS="$ac_save_CXXFLAGS"
41825 LIBS="$ac_save_LIBS"
41836 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41841 if test "$wxUSE_MGL" = 1; then
41842 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41843 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41849 if test "$wxUSE_SOUND" = "yes"; then
41850 cat >>confdefs.h <<\_ACEOF
41851 #define wxUSE_SOUND 1
41854 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41857 if test "$WXGTK2" = 1; then
41860 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41861 if test -n "$ac_tool_prefix"; then
41862 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41863 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41864 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41866 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41867 echo $ECHO_N "(cached) $ECHO_C" >&6
41869 case $PKG_CONFIG in
41871 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41875 for as_dir in $PATH
41878 test -z "$as_dir" && as_dir=.
41879 for ac_exec_ext in '' $ac_executable_extensions; do
41880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41881 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41892 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41893 if test -n "$PKG_CONFIG"; then
41894 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41895 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41897 { echo "$as_me:$LINENO: result: no" >&5
41898 echo "${ECHO_T}no" >&6; }
41903 if test -z "$ac_cv_path_PKG_CONFIG"; then
41904 ac_pt_PKG_CONFIG=$PKG_CONFIG
41905 # Extract the first word of "pkg-config", so it can be a program name with args.
41906 set dummy pkg-config; ac_word=$2
41907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41909 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41910 echo $ECHO_N "(cached) $ECHO_C" >&6
41912 case $ac_pt_PKG_CONFIG in
41914 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41918 for as_dir in $PATH
41921 test -z "$as_dir" && as_dir=.
41922 for ac_exec_ext in '' $ac_executable_extensions; do
41923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41924 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41935 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41936 if test -n "$ac_pt_PKG_CONFIG"; then
41937 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41938 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41940 { echo "$as_me:$LINENO: result: no" >&5
41941 echo "${ECHO_T}no" >&6; }
41944 if test "x$ac_pt_PKG_CONFIG" = x; then
41947 case $cross_compiling:$ac_tool_warned in
41949 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41950 whose name does not start with the host triplet. If you think this
41951 configuration is useful to you, please write to autoconf@gnu.org." >&5
41952 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41953 whose name does not start with the host triplet. If you think this
41954 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41955 ac_tool_warned=yes ;;
41957 PKG_CONFIG=$ac_pt_PKG_CONFIG
41960 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41964 if test -n "$PKG_CONFIG"; then
41965 _pkg_min_version=0.9.0
41966 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41967 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41968 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41969 { echo "$as_me:$LINENO: result: yes" >&5
41970 echo "${ECHO_T}yes" >&6; }
41972 { echo "$as_me:$LINENO: result: no" >&5
41973 echo "${ECHO_T}no" >&6; }
41979 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41981 if test "$wxUSE_GTKPRINT" = "yes" ; then
41985 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
41986 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
41988 if test -n "$PKG_CONFIG"; then
41989 if test -n "$GTKPRINT_CFLAGS"; then
41990 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
41992 if test -n "$PKG_CONFIG" && \
41993 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
41994 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
41996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41997 (exit $ac_status); }; then
41998 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
42006 if test -n "$PKG_CONFIG"; then
42007 if test -n "$GTKPRINT_LIBS"; then
42008 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42010 if test -n "$PKG_CONFIG" && \
42011 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42012 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42015 (exit $ac_status); }; then
42016 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
42027 if test $pkg_failed = yes; then
42029 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42030 _pkg_short_errors_supported=yes
42032 _pkg_short_errors_supported=no
42034 if test $_pkg_short_errors_supported = yes; then
42035 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42037 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42039 # Put the nasty error message in config.log where it belongs
42040 echo "$GTKPRINT_PKG_ERRORS" >&5
42043 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42044 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42045 wxUSE_GTKPRINT="no"
42048 elif test $pkg_failed = untried; then
42050 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42051 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42052 wxUSE_GTKPRINT="no"
42056 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42057 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42058 { echo "$as_me:$LINENO: result: yes" >&5
42059 echo "${ECHO_T}yes" >&6; }
42061 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42062 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42063 cat >>confdefs.h <<\_ACEOF
42064 #define wxUSE_GTKPRINT 1
42071 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42075 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42076 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42078 if test -n "$PKG_CONFIG"; then
42079 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42080 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42082 if test -n "$PKG_CONFIG" && \
42083 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42084 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42087 (exit $ac_status); }; then
42088 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
42096 if test -n "$PKG_CONFIG"; then
42097 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42098 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42100 if test -n "$PKG_CONFIG" && \
42101 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42102 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42105 (exit $ac_status); }; then
42106 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
42117 if test $pkg_failed = yes; then
42119 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42120 _pkg_short_errors_supported=yes
42122 _pkg_short_errors_supported=no
42124 if test $_pkg_short_errors_supported = yes; then
42125 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42127 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42129 # Put the nasty error message in config.log where it belongs
42130 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42133 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42134 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42135 wxUSE_LIBGNOMEPRINT="no"
42138 elif test $pkg_failed = untried; then
42140 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42141 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42142 wxUSE_LIBGNOMEPRINT="no"
42146 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42147 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42148 { echo "$as_me:$LINENO: result: yes" >&5
42149 echo "${ECHO_T}yes" >&6; }
42151 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42152 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42153 cat >>confdefs.h <<\_ACEOF
42154 #define wxUSE_LIBGNOMEPRINT 1
42162 if test "$wxUSE_MIMETYPE" = "yes" ; then
42163 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42167 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42168 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42170 if test -n "$PKG_CONFIG"; then
42171 if test -n "$GNOMEVFS_CFLAGS"; then
42172 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42174 if test -n "$PKG_CONFIG" && \
42175 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42176 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42179 (exit $ac_status); }; then
42180 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
42188 if test -n "$PKG_CONFIG"; then
42189 if test -n "$GNOMEVFS_LIBS"; then
42190 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42192 if test -n "$PKG_CONFIG" && \
42193 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42194 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42197 (exit $ac_status); }; then
42198 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
42209 if test $pkg_failed = yes; then
42211 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42212 _pkg_short_errors_supported=yes
42214 _pkg_short_errors_supported=no
42216 if test $_pkg_short_errors_supported = yes; then
42217 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42219 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42221 # Put the nasty error message in config.log where it belongs
42222 echo "$GNOMEVFS_PKG_ERRORS" >&5
42225 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42226 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42227 wxUSE_LIBGNOMEVFS="no"
42230 elif test $pkg_failed = untried; then
42232 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42233 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42234 wxUSE_LIBGNOMEVFS="no"
42238 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42239 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42240 { echo "$as_me:$LINENO: result: yes" >&5
42241 echo "${ECHO_T}yes" >&6; }
42243 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42244 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42245 cat >>confdefs.h <<\_ACEOF
42246 #define wxUSE_LIBGNOMEVFS 1
42254 if test "$wxUSE_LIBHILDON" = "yes" ; then
42257 { echo "$as_me:$LINENO: checking for HILDON" >&5
42258 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42260 if test -n "$PKG_CONFIG"; then
42261 if test -n "$HILDON_CFLAGS"; then
42262 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42264 if test -n "$PKG_CONFIG" && \
42265 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42266 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42269 (exit $ac_status); }; then
42270 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev
/null
`
42278 if test -n "$PKG_CONFIG"; then
42279 if test -n "$HILDON_LIBS"; then
42280 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42282 if test -n "$PKG_CONFIG" && \
42283 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42284 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42287 (exit $ac_status); }; then
42288 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev
/null
`
42299 if test $pkg_failed = yes; then
42301 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42302 _pkg_short_errors_supported=yes
42304 _pkg_short_errors_supported=no
42306 if test $_pkg_short_errors_supported = yes; then
42307 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42309 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42311 # Put the nasty error message in config.log where it belongs
42312 echo "$HILDON_PKG_ERRORS" >&5
42315 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42316 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42317 wxUSE_LIBHILDON="no"
42320 elif test $pkg_failed = untried; then
42322 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42323 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42324 wxUSE_LIBHILDON="no"
42328 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42329 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42330 { echo "$as_me:$LINENO: result: yes" >&5
42331 echo "${ECHO_T}yes" >&6; }
42333 EXTRALIBS_HILDON="$HILDON_LIBS"
42334 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42335 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42336 cat >>confdefs.h <<\_ACEOF
42337 #define wxUSE_LIBHILDON 1
42345 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42346 cat >>confdefs.h <<\_ACEOF
42347 #define wxUSE_CMDLINE_PARSER 1
42352 if test "$wxUSE_STOPWATCH" = "yes"; then
42353 cat >>confdefs.h <<\_ACEOF
42354 #define wxUSE_STOPWATCH 1
42359 if test "$wxUSE_DATETIME" = "yes"; then
42360 cat >>confdefs.h <<\_ACEOF
42361 #define wxUSE_DATETIME 1
42366 if test "$wxUSE_FILE" = "yes"; then
42367 cat >>confdefs.h <<\_ACEOF
42368 #define wxUSE_FILE 1
42373 if test "$wxUSE_FFILE" = "yes"; then
42374 cat >>confdefs.h <<\_ACEOF
42375 #define wxUSE_FFILE 1
42380 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42381 if test "$wxUSE_STREAMS" != yes; then
42382 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42383 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42384 wxUSE_ARCHIVE_STREAMS=no
42386 cat >>confdefs.h <<\_ACEOF
42387 #define wxUSE_ARCHIVE_STREAMS 1
42393 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42394 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42395 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42396 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42397 elif test "$wxUSE_ZLIB" = "no"; then
42398 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42399 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42401 cat >>confdefs.h <<\_ACEOF
42402 #define wxUSE_ZIPSTREAM 1
42408 if test "$wxUSE_TARSTREAM" = "yes"; then
42409 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42410 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42411 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42413 cat >>confdefs.h <<\_ACEOF
42414 #define wxUSE_TARSTREAM 1
42420 if test "$wxUSE_FILESYSTEM" = "yes"; then
42421 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42422 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42423 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42424 wxUSE_FILESYSTEM=no
42426 cat >>confdefs.h <<\_ACEOF
42427 #define wxUSE_FILESYSTEM 1
42433 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42434 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42435 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42436 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42438 cat >>confdefs.h <<\_ACEOF
42439 #define wxUSE_FS_ARCHIVE 1
42445 if test "$wxUSE_FS_ZIP" = "yes"; then
42446 if test "$wxUSE_FS_ARCHIVE" != yes; then
42447 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42448 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42450 cat >>confdefs.h <<\_ACEOF
42451 #define wxUSE_FS_ZIP 1
42457 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42458 if test "$USE_UNIX" != 1; then
42459 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42460 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42461 wxUSE_ON_FATAL_EXCEPTION=no
42463 cat >>confdefs.h <<\_ACEOF
42464 #define wxUSE_ON_FATAL_EXCEPTION 1
42470 if test "$wxUSE_STACKWALKER" = "yes"; then
42471 cat >>confdefs.h <<\_ACEOF
42472 #define wxUSE_STACKWALKER 1
42477 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42478 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42479 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42480 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42481 wxUSE_DEBUGREPORT=no
42483 cat >>confdefs.h <<\_ACEOF
42484 #define wxUSE_DEBUGREPORT 1
42487 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42488 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42493 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42494 cat >>confdefs.h <<\_ACEOF
42495 #define wxUSE_SNGLINST_CHECKER 1
42500 if test "$wxUSE_BUSYINFO" = "yes"; then
42501 cat >>confdefs.h <<\_ACEOF
42502 #define wxUSE_BUSYINFO 1
42507 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42508 cat >>confdefs.h <<\_ACEOF
42509 #define wxUSE_STD_IOSTREAM 1
42514 if test "$wxUSE_STD_STRING" = "yes"; then
42515 cat >>confdefs.h <<\_ACEOF
42516 #define wxUSE_STD_STRING 1
42521 if test "$wxUSE_STDPATHS" = "yes"; then
42522 cat >>confdefs.h <<\_ACEOF
42523 #define wxUSE_STDPATHS 1
42528 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42529 cat >>confdefs.h <<\_ACEOF
42530 #define wxUSE_TEXTBUFFER 1
42535 if test "$wxUSE_TEXTFILE" = "yes"; then
42536 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42537 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42538 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42540 cat >>confdefs.h <<\_ACEOF
42541 #define wxUSE_TEXTFILE 1
42547 if test "$wxUSE_CONFIG" = "yes" ; then
42548 if test "$wxUSE_TEXTFILE" != "yes"; then
42549 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42550 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42552 cat >>confdefs.h <<\_ACEOF
42553 #define wxUSE_CONFIG 1
42556 cat >>confdefs.h <<\_ACEOF
42557 #define wxUSE_CONFIG_NATIVE 1
42560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42564 if test "$wxUSE_INTL" = "yes" ; then
42565 if test "$wxUSE_FILE" != "yes"; then
42566 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42567 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42569 cat >>confdefs.h <<\_ACEOF
42570 #define wxUSE_INTL 1
42573 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42574 GUIDIST="$GUIDIST INTL_DIST"
42578 if test "$wxUSE_LOG" = "yes"; then
42579 cat >>confdefs.h <<\_ACEOF
42580 #define wxUSE_LOG 1
42584 if test "$wxUSE_LOGGUI" = "yes"; then
42585 cat >>confdefs.h <<\_ACEOF
42586 #define wxUSE_LOGGUI 1
42591 if test "$wxUSE_LOGWINDOW" = "yes"; then
42592 cat >>confdefs.h <<\_ACEOF
42593 #define wxUSE_LOGWINDOW 1
42598 if test "$wxUSE_LOGDIALOG" = "yes"; then
42599 cat >>confdefs.h <<\_ACEOF
42600 #define wxUSE_LOG_DIALOG 1
42605 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42608 if test "$wxUSE_LONGLONG" = "yes"; then
42609 cat >>confdefs.h <<\_ACEOF
42610 #define wxUSE_LONGLONG 1
42615 if test "$wxUSE_GEOMETRY" = "yes"; then
42616 cat >>confdefs.h <<\_ACEOF
42617 #define wxUSE_GEOMETRY 1
42622 if test "$wxUSE_BASE64" = "yes"; then
42623 cat >>confdefs.h <<\_ACEOF
42624 #define wxUSE_BASE64 1
42629 if test "$wxUSE_STREAMS" = "yes" ; then
42630 cat >>confdefs.h <<\_ACEOF
42631 #define wxUSE_STREAMS 1
42636 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42637 cat >>confdefs.h <<\_ACEOF
42638 #define wxUSE_PRINTF_POS_PARAMS 1
42643 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42644 cat >>confdefs.h <<\_ACEOF
42645 #define wxUSE_OBJC_UNIQUIFYING 1
42651 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42652 cat >>confdefs.h <<\_ACEOF
42653 #define wxUSE_CONSOLE_EVENTLOOP 1
42657 if test "$wxUSE_UNIX" = "yes"; then
42658 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42659 cat >>confdefs.h <<\_ACEOF
42660 #define wxUSE_SELECT_DISPATCHER 1
42665 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42667 for ac_header in sys/epoll.h
42669 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42670 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42673 echo $ECHO_N "(cached) $ECHO_C" >&6
42675 cat >conftest.$ac_ext <<_ACEOF
42678 cat confdefs.h >>conftest.$ac_ext
42679 cat >>conftest.$ac_ext <<_ACEOF
42680 /* end confdefs.h. */
42681 $ac_includes_default
42683 #include <$ac_header>
42685 rm -f conftest.$ac_objext
42686 if { (ac_try="$ac_compile"
42687 case "(($ac_try" in
42688 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42689 *) ac_try_echo
=$ac_try;;
42691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42692 (eval "$ac_compile") 2>conftest.er1
42694 grep -v '^ *+' conftest.er1
>conftest.err
42696 cat conftest.err
>&5
42697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42698 (exit $ac_status); } && {
42699 test -z "$ac_c_werror_flag" ||
42700 test ! -s conftest.err
42701 } && test -s conftest.
$ac_objext; then
42702 eval "$as_ac_Header=yes"
42704 echo "$as_me: failed program was:" >&5
42705 sed 's/^/| /' conftest.
$ac_ext >&5
42707 eval "$as_ac_Header=no"
42710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42712 ac_res
=`eval echo '${'$as_ac_Header'}'`
42713 { echo "$as_me:$LINENO: result: $ac_res" >&5
42714 echo "${ECHO_T}$ac_res" >&6; }
42715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42716 cat >>confdefs.h
<<_ACEOF
42717 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42724 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42725 cat >>confdefs.h
<<\_ACEOF
42726 #define wxUSE_EPOLL_DISPATCHER 1
42730 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42731 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42740 for ac_func
in gettimeofday ftime
42742 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42743 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42745 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42746 echo $ECHO_N "(cached) $ECHO_C" >&6
42748 cat >conftest.
$ac_ext <<_ACEOF
42751 cat confdefs.h
>>conftest.
$ac_ext
42752 cat >>conftest.
$ac_ext <<_ACEOF
42753 /* end confdefs.h. */
42754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42756 #define $ac_func innocuous_$ac_func
42758 /* System header to define __stub macros and hopefully few prototypes,
42759 which can conflict with char $ac_func (); below.
42760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42761 <limits.h> exists even on freestanding compilers. */
42764 # include <limits.h>
42766 # include <assert.h>
42771 /* Override any GCC internal prototype to avoid an error.
42772 Use char because int might match the return type of a GCC
42773 builtin and then its argument prototype would still apply. */
42778 /* The GNU C library defines this for functions which it implements
42779 to always fail with ENOSYS. Some functions are actually named
42780 something starting with __ and the normal name is an alias. */
42781 #if defined __stub_$ac_func || defined __stub___$ac_func
42788 return $ac_func ();
42793 rm -f conftest.
$ac_objext conftest
$ac_exeext
42794 if { (ac_try
="$ac_link"
42795 case "(($ac_try" in
42796 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42797 *) ac_try_echo=$ac_try;;
42799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42800 (eval "$ac_link") 2>conftest.er1
42802 grep -v '^ *+' conftest.er1 >conftest.err
42804 cat conftest.err >&5
42805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42806 (exit $ac_status); } && {
42807 test -z "$ac_c_werror_flag" ||
42808 test ! -s conftest.err
42809 } && test -s conftest$ac_exeext &&
42810 $as_test_x conftest$ac_exeext; then
42811 eval "$as_ac_var=yes"
42813 echo "$as_me: failed program was:" >&5
42814 sed 's/^/| /' conftest.$ac_ext >&5
42816 eval "$as_ac_var=no"
42819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42820 conftest$ac_exeext conftest.$ac_ext
42822 ac_res=`eval echo '${'$as_ac_var'}'`
42823 { echo "$as_me:$LINENO: result: $ac_res" >&5
42824 echo "${ECHO_T}$ac_res" >&6; }
42825 if test `eval echo '${'$as_ac_var'}'` = yes; then
42826 cat >>confdefs.h <<_ACEOF
42827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42834 if test "$ac_cv_func_gettimeofday" = "yes"; then
42835 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42836 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42837 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42838 echo $ECHO_N "(cached) $ECHO_C" >&6
42841 cat >conftest.$ac_ext <<_ACEOF
42844 cat confdefs.h >>conftest.$ac_ext
42845 cat >>conftest.$ac_ext <<_ACEOF
42846 /* end confdefs.h. */
42848 #include <sys/time.h>
42849 #include <unistd.h>
42856 gettimeofday(&tv, NULL);
42862 rm -f conftest.$ac_objext
42863 if { (ac_try="$ac_compile"
42864 case "(($ac_try" in
42865 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42866 *) ac_try_echo
=$ac_try;;
42868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42869 (eval "$ac_compile") 2>conftest.er1
42871 grep -v '^ *+' conftest.er1
>conftest.err
42873 cat conftest.err
>&5
42874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42875 (exit $ac_status); } && {
42876 test -z "$ac_c_werror_flag" ||
42877 test ! -s conftest.err
42878 } && test -s conftest.
$ac_objext; then
42879 wx_cv_func_gettimeofday_has_2_args
=yes
42881 echo "$as_me: failed program was:" >&5
42882 sed 's/^/| /' conftest.
$ac_ext >&5
42884 cat >conftest.
$ac_ext <<_ACEOF
42887 cat confdefs.h
>>conftest.
$ac_ext
42888 cat >>conftest.
$ac_ext <<_ACEOF
42889 /* end confdefs.h. */
42891 #include <sys/time.h>
42892 #include <unistd.h>
42905 rm -f conftest.
$ac_objext
42906 if { (ac_try
="$ac_compile"
42907 case "(($ac_try" in
42908 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42909 *) ac_try_echo=$ac_try;;
42911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42912 (eval "$ac_compile") 2>conftest.er1
42914 grep -v '^ *+' conftest.er1 >conftest.err
42916 cat conftest.err >&5
42917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42918 (exit $ac_status); } && {
42919 test -z "$ac_c_werror_flag" ||
42920 test ! -s conftest.err
42921 } && test -s conftest.$ac_objext; then
42922 wx_cv_func_gettimeofday_has_2_args=no
42924 echo "$as_me: failed program was:" >&5
42925 sed 's/^/| /' conftest.$ac_ext >&5
42928 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42929 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42930 wx_cv_func_gettimeofday_has_2_args=unknown
42935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42942 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42943 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42945 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42946 cat >>confdefs.h <<\_ACEOF
42947 #define WX_GETTIMEOFDAY_NO_TZ 1
42953 if test "$wxUSE_DATETIME" = "yes"; then
42954 { echo "$as_me:$LINENO: checking for strptime" >&5
42955 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
42956 if test "${ac_cv_func_strptime+set}" = set; then
42957 echo $ECHO_N "(cached) $ECHO_C" >&6
42959 cat >conftest.$ac_ext <<_ACEOF
42962 cat confdefs.h >>conftest.$ac_ext
42963 cat >>conftest.$ac_ext <<_ACEOF
42964 /* end confdefs.h. */
42965 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
42966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42967 #define strptime innocuous_strptime
42969 /* System header to define __stub macros and hopefully few prototypes,
42970 which can conflict with char strptime (); below.
42971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42972 <limits.h> exists even on freestanding compilers. */
42975 # include <limits.h>
42977 # include <assert.h>
42982 /* Override any GCC internal prototype to avoid an error.
42983 Use char because int might match the return type of a GCC
42984 builtin and then its argument prototype would still apply. */
42989 /* The GNU C library defines this for functions which it implements
42990 to always fail with ENOSYS. Some functions are actually named
42991 something starting with __ and the normal name is an alias. */
42992 #if defined __stub_strptime || defined __stub___strptime
42999 return strptime ();
43004 rm -f conftest.$ac_objext conftest$ac_exeext
43005 if { (ac_try="$ac_link"
43006 case "(($ac_try" in
43007 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43008 *) ac_try_echo
=$ac_try;;
43010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43011 (eval "$ac_link") 2>conftest.er1
43013 grep -v '^ *+' conftest.er1
>conftest.err
43015 cat conftest.err
>&5
43016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43017 (exit $ac_status); } && {
43018 test -z "$ac_c_werror_flag" ||
43019 test ! -s conftest.err
43020 } && test -s conftest
$ac_exeext &&
43021 $as_test_x conftest
$ac_exeext; then
43022 ac_cv_func_strptime
=yes
43024 echo "$as_me: failed program was:" >&5
43025 sed 's/^/| /' conftest.
$ac_ext >&5
43027 ac_cv_func_strptime
=no
43030 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43031 conftest
$ac_exeext conftest.
$ac_ext
43033 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43034 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43036 if test "$ac_cv_func_strptime" = "yes"; then
43037 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43038 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43039 if test "${wx_cv_func_strptime_decl+set}" = set; then
43040 echo $ECHO_N "(cached) $ECHO_C" >&6
43044 ac_cpp
='$CXXCPP $CPPFLAGS'
43045 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43046 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43047 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43049 cat >conftest.
$ac_ext <<_ACEOF
43052 cat confdefs.h
>>conftest.
$ac_ext
43053 cat >>conftest.
$ac_ext <<_ACEOF
43054 /* end confdefs.h. */
43063 strptime("foo", "bar", &t);
43069 rm -f conftest.
$ac_objext
43070 if { (ac_try
="$ac_compile"
43071 case "(($ac_try" in
43072 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43073 *) ac_try_echo=$ac_try;;
43075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43076 (eval "$ac_compile") 2>conftest.er1
43078 grep -v '^ *+' conftest.er1 >conftest.err
43080 cat conftest.err >&5
43081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43082 (exit $ac_status); } && {
43083 test -z "$ac_cxx_werror_flag" ||
43084 test ! -s conftest.err
43085 } && test -s conftest.$ac_objext; then
43086 wx_cv_func_strptime_decl=yes
43088 echo "$as_me: failed program was:" >&5
43089 sed 's/^/| /' conftest.$ac_ext >&5
43091 wx_cv_func_strptime_decl=no
43095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43097 ac_cpp='$CPP $CPPFLAGS'
43098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43105 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43106 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43108 if test "$wx_cv_func_strptime_decl" = "yes"; then
43109 cat >>confdefs.h <<\_ACEOF
43110 #define HAVE_STRPTIME_DECL 1
43114 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43116 if test "$ac_cv_func_strptime" = "yes"; then
43117 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43118 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43119 if test "${wx_cv_func_strptime_ok+set}" = set; then
43120 echo $ECHO_N "(cached) $ECHO_C" >&6
43122 if test "$cross_compiling" = yes; then
43123 wx_cv_func_strptime_ok=no
43126 cat >conftest.$ac_ext <<_ACEOF
43128 #include <stdlib.h>
43130 #include "confdefs.h"
43137 return !!strptime("", "%x", &t);
43141 rm -f conftest$ac_exeext
43142 if { (ac_try="$ac_link"
43143 case "(($ac_try" in
43144 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43145 *) ac_try_echo
=$ac_try;;
43147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43148 (eval "$ac_link") 2>&5
43150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43151 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43152 { (case "(($ac_try" in
43153 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43154 *) ac_try_echo=$ac_try;;
43156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43157 (eval "$ac_try") 2>&5
43159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43160 (exit $ac_status); }; }; then
43161 wx_cv_func_strptime_ok=yes
43163 echo "$as_me: program exited with status $ac_status" >&5
43164 echo "$as_me: failed program was:" >&5
43165 sed 's/^/| /' conftest.$ac_ext >&5
43167 ( exit $ac_status )
43168 wx_cv_func_strptime_ok=no
43170 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43176 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43177 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43179 if test "$wx_cv_func_strptime_ok" = "yes"; then
43180 cat >>confdefs.h <<\_ACEOF
43181 #define HAVE_STRPTIME 1
43187 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43188 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43189 if test "${wx_cv_var_timezone+set}" = set; then
43190 echo $ECHO_N "(cached) $ECHO_C" >&6
43194 ac_cpp='$CXXCPP $CPPFLAGS'
43195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43199 cat >conftest.$ac_ext <<_ACEOF
43202 cat confdefs.h >>conftest.$ac_ext
43203 cat >>conftest.$ac_ext <<_ACEOF
43204 /* end confdefs.h. */
43219 rm -f conftest.$ac_objext
43220 if { (ac_try="$ac_compile"
43221 case "(($ac_try" in
43222 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43223 *) ac_try_echo
=$ac_try;;
43225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43226 (eval "$ac_compile") 2>conftest.er1
43228 grep -v '^ *+' conftest.er1
>conftest.err
43230 cat conftest.err
>&5
43231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43232 (exit $ac_status); } && {
43233 test -z "$ac_cxx_werror_flag" ||
43234 test ! -s conftest.err
43235 } && test -s conftest.
$ac_objext; then
43237 wx_cv_var_timezone
=timezone
43240 echo "$as_me: failed program was:" >&5
43241 sed 's/^/| /' conftest.
$ac_ext >&5
43244 cat >conftest.
$ac_ext <<_ACEOF
43247 cat confdefs.h
>>conftest.
$ac_ext
43248 cat >>conftest.
$ac_ext <<_ACEOF
43249 /* end confdefs.h. */
43264 rm -f conftest.
$ac_objext
43265 if { (ac_try
="$ac_compile"
43266 case "(($ac_try" in
43267 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43268 *) ac_try_echo=$ac_try;;
43270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43271 (eval "$ac_compile") 2>conftest.er1
43273 grep -v '^ *+' conftest.er1 >conftest.err
43275 cat conftest.err >&5
43276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43277 (exit $ac_status); } && {
43278 test -z "$ac_cxx_werror_flag" ||
43279 test ! -s conftest.err
43280 } && test -s conftest.$ac_objext; then
43282 wx_cv_var_timezone=_timezone
43285 echo "$as_me: failed program was:" >&5
43286 sed 's/^/| /' conftest.$ac_ext >&5
43289 cat >conftest.$ac_ext <<_ACEOF
43292 cat confdefs.h >>conftest.$ac_ext
43293 cat >>conftest.$ac_ext <<_ACEOF
43294 /* end confdefs.h. */
43309 rm -f conftest.$ac_objext
43310 if { (ac_try="$ac_compile"
43311 case "(($ac_try" in
43312 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43313 *) ac_try_echo
=$ac_try;;
43315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43316 (eval "$ac_compile") 2>conftest.er1
43318 grep -v '^ *+' conftest.er1
>conftest.err
43320 cat conftest.err
>&5
43321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43322 (exit $ac_status); } && {
43323 test -z "$ac_cxx_werror_flag" ||
43324 test ! -s conftest.err
43325 } && test -s conftest.
$ac_objext; then
43327 wx_cv_var_timezone
=__timezone
43330 echo "$as_me: failed program was:" >&5
43331 sed 's/^/| /' conftest.
$ac_ext >&5
43334 if test "$USE_DOS" = 0 ; then
43335 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43336 echo "$as_me: WARNING: no timezone variable" >&2;}
43342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43354 ac_cpp
='$CPP $CPPFLAGS'
43355 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43356 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43357 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43362 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43363 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43365 if test "x$wx_cv_var_timezone" != x
; then
43366 cat >>confdefs.h
<<_ACEOF
43367 #define WX_TIMEZONE $wx_cv_var_timezone
43373 for ac_func
in localtime
43375 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43376 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43378 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43379 echo $ECHO_N "(cached) $ECHO_C" >&6
43381 cat >conftest.
$ac_ext <<_ACEOF
43384 cat confdefs.h
>>conftest.
$ac_ext
43385 cat >>conftest.
$ac_ext <<_ACEOF
43386 /* end confdefs.h. */
43387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43389 #define $ac_func innocuous_$ac_func
43391 /* System header to define __stub macros and hopefully few prototypes,
43392 which can conflict with char $ac_func (); below.
43393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43394 <limits.h> exists even on freestanding compilers. */
43397 # include <limits.h>
43399 # include <assert.h>
43404 /* Override any GCC internal prototype to avoid an error.
43405 Use char because int might match the return type of a GCC
43406 builtin and then its argument prototype would still apply. */
43411 /* The GNU C library defines this for functions which it implements
43412 to always fail with ENOSYS. Some functions are actually named
43413 something starting with __ and the normal name is an alias. */
43414 #if defined __stub_$ac_func || defined __stub___$ac_func
43421 return $ac_func ();
43426 rm -f conftest.
$ac_objext conftest
$ac_exeext
43427 if { (ac_try
="$ac_link"
43428 case "(($ac_try" in
43429 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43430 *) ac_try_echo=$ac_try;;
43432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43433 (eval "$ac_link") 2>conftest.er1
43435 grep -v '^ *+' conftest.er1 >conftest.err
43437 cat conftest.err >&5
43438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43439 (exit $ac_status); } && {
43440 test -z "$ac_c_werror_flag" ||
43441 test ! -s conftest.err
43442 } && test -s conftest$ac_exeext &&
43443 $as_test_x conftest$ac_exeext; then
43444 eval "$as_ac_var=yes"
43446 echo "$as_me: failed program was:" >&5
43447 sed 's/^/| /' conftest.$ac_ext >&5
43449 eval "$as_ac_var=no"
43452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43453 conftest$ac_exeext conftest.$ac_ext
43455 ac_res=`eval echo '${'$as_ac_var'}'`
43456 { echo "$as_me:$LINENO: result: $ac_res" >&5
43457 echo "${ECHO_T}$ac_res" >&6; }
43458 if test `eval echo '${'$as_ac_var'}'` = yes; then
43459 cat >>confdefs.h <<_ACEOF
43460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43467 if test "$ac_cv_func_localtime" = "yes"; then
43468 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43469 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43470 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43471 echo $ECHO_N "(cached) $ECHO_C" >&6
43474 cat >conftest.$ac_ext <<_ACEOF
43477 cat confdefs.h >>conftest.$ac_ext
43478 cat >>conftest.$ac_ext <<_ACEOF
43479 /* end confdefs.h. */
43494 rm -f conftest.$ac_objext
43495 if { (ac_try="$ac_compile"
43496 case "(($ac_try" in
43497 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43498 *) ac_try_echo
=$ac_try;;
43500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43501 (eval "$ac_compile") 2>conftest.er1
43503 grep -v '^ *+' conftest.er1
>conftest.err
43505 cat conftest.err
>&5
43506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43507 (exit $ac_status); } && {
43508 test -z "$ac_c_werror_flag" ||
43509 test ! -s conftest.err
43510 } && test -s conftest.
$ac_objext; then
43512 wx_cv_struct_tm_has_gmtoff
=yes
43515 echo "$as_me: failed program was:" >&5
43516 sed 's/^/| /' conftest.
$ac_ext >&5
43518 wx_cv_struct_tm_has_gmtoff
=no
43522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43525 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43526 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43529 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43530 cat >>confdefs.h
<<\_ACEOF
43531 #define WX_GMTOFF_IN_TM 1
43536 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
43540 if test "$wxUSE_SOCKETS" = "yes"; then
43541 if test "$wxUSE_MGL" = 1; then
43542 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43543 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43548 if test "$wxUSE_SOCKETS" = "yes"; then
43549 if test "$TOOLKIT" != "MSW"; then
43550 { echo "$as_me:$LINENO: checking for socket" >&5
43551 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43552 if test "${ac_cv_func_socket+set}" = set; then
43553 echo $ECHO_N "(cached) $ECHO_C" >&6
43555 cat >conftest.
$ac_ext <<_ACEOF
43558 cat confdefs.h
>>conftest.
$ac_ext
43559 cat >>conftest.
$ac_ext <<_ACEOF
43560 /* end confdefs.h. */
43561 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43563 #define socket innocuous_socket
43565 /* System header to define __stub macros and hopefully few prototypes,
43566 which can conflict with char socket (); below.
43567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43568 <limits.h> exists even on freestanding compilers. */
43571 # include <limits.h>
43573 # include <assert.h>
43578 /* Override any GCC internal prototype to avoid an error.
43579 Use char because int might match the return type of a GCC
43580 builtin and then its argument prototype would still apply. */
43585 /* The GNU C library defines this for functions which it implements
43586 to always fail with ENOSYS. Some functions are actually named
43587 something starting with __ and the normal name is an alias. */
43588 #if defined __stub_socket || defined __stub___socket
43600 rm -f conftest.
$ac_objext conftest
$ac_exeext
43601 if { (ac_try
="$ac_link"
43602 case "(($ac_try" in
43603 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43604 *) ac_try_echo=$ac_try;;
43606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43607 (eval "$ac_link") 2>conftest.er1
43609 grep -v '^ *+' conftest.er1 >conftest.err
43611 cat conftest.err >&5
43612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43613 (exit $ac_status); } && {
43614 test -z "$ac_c_werror_flag" ||
43615 test ! -s conftest.err
43616 } && test -s conftest$ac_exeext &&
43617 $as_test_x conftest$ac_exeext; then
43618 ac_cv_func_socket=yes
43620 echo "$as_me: failed program was:" >&5
43621 sed 's/^/| /' conftest.$ac_ext >&5
43623 ac_cv_func_socket=no
43626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43627 conftest$ac_exeext conftest.$ac_ext
43629 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43630 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43631 if test $ac_cv_func_socket = yes; then
43635 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43636 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43637 if test "${ac_cv_lib_socket_socket+set}" = set; then
43638 echo $ECHO_N "(cached) $ECHO_C" >&6
43640 ac_check_lib_save_LIBS=$LIBS
43641 LIBS="-lsocket $LIBS"
43642 cat >conftest.$ac_ext <<_ACEOF
43645 cat confdefs.h >>conftest.$ac_ext
43646 cat >>conftest.$ac_ext <<_ACEOF
43647 /* end confdefs.h. */
43649 /* Override any GCC internal prototype to avoid an error.
43650 Use char because int might match the return type of a GCC
43651 builtin and then its argument prototype would still apply. */
43664 rm -f conftest.$ac_objext conftest$ac_exeext
43665 if { (ac_try="$ac_link"
43666 case "(($ac_try" in
43667 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43668 *) ac_try_echo
=$ac_try;;
43670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43671 (eval "$ac_link") 2>conftest.er1
43673 grep -v '^ *+' conftest.er1
>conftest.err
43675 cat conftest.err
>&5
43676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43677 (exit $ac_status); } && {
43678 test -z "$ac_c_werror_flag" ||
43679 test ! -s conftest.err
43680 } && test -s conftest
$ac_exeext &&
43681 $as_test_x conftest
$ac_exeext; then
43682 ac_cv_lib_socket_socket
=yes
43684 echo "$as_me: failed program was:" >&5
43685 sed 's/^/| /' conftest.
$ac_ext >&5
43687 ac_cv_lib_socket_socket
=no
43690 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43691 conftest
$ac_exeext conftest.
$ac_ext
43692 LIBS
=$ac_check_lib_save_LIBS
43694 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43695 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43696 if test $ac_cv_lib_socket_socket = yes; then
43697 if test "$INET_LINK" != " -lsocket"; then
43698 INET_LINK
="$INET_LINK -lsocket"
43702 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43703 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43716 if test "$wxUSE_SOCKETS" = "yes" ; then
43717 if test "$TOOLKIT" != "MSW"; then
43718 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43719 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43720 if test "${wx_cv_type_getsockname3+set}" = set; then
43721 echo $ECHO_N "(cached) $ECHO_C" >&6
43725 ac_cpp
='$CXXCPP $CPPFLAGS'
43726 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43727 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43728 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43730 cat >conftest.
$ac_ext <<_ACEOF
43733 cat confdefs.h
>>conftest.
$ac_ext
43734 cat >>conftest.
$ac_ext <<_ACEOF
43735 /* end confdefs.h. */
43737 #include <sys/types.h>
43738 #include <sys/socket.h>
43745 getsockname(0, 0, &len);
43751 rm -f conftest.
$ac_objext
43752 if { (ac_try
="$ac_compile"
43753 case "(($ac_try" in
43754 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43755 *) ac_try_echo=$ac_try;;
43757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43758 (eval "$ac_compile") 2>conftest.er1
43760 grep -v '^ *+' conftest.er1 >conftest.err
43762 cat conftest.err >&5
43763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43764 (exit $ac_status); } && {
43765 test -z "$ac_cxx_werror_flag" ||
43766 test ! -s conftest.err
43767 } && test -s conftest.$ac_objext; then
43768 wx_cv_type_getsockname3=socklen_t
43770 echo "$as_me: failed program was:" >&5
43771 sed 's/^/| /' conftest.$ac_ext >&5
43774 CFLAGS_OLD="$CFLAGS"
43775 if test "$GCC" = yes ; then
43776 CFLAGS="-Werror $CFLAGS"
43779 cat >conftest.$ac_ext <<_ACEOF
43782 cat confdefs.h >>conftest.$ac_ext
43783 cat >>conftest.$ac_ext <<_ACEOF
43784 /* end confdefs.h. */
43786 #include <sys/types.h>
43787 #include <sys/socket.h>
43794 getsockname(0, 0, &len);
43800 rm -f conftest.$ac_objext
43801 if { (ac_try="$ac_compile"
43802 case "(($ac_try" in
43803 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43804 *) ac_try_echo
=$ac_try;;
43806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43807 (eval "$ac_compile") 2>conftest.er1
43809 grep -v '^ *+' conftest.er1
>conftest.err
43811 cat conftest.err
>&5
43812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43813 (exit $ac_status); } && {
43814 test -z "$ac_cxx_werror_flag" ||
43815 test ! -s conftest.err
43816 } && test -s conftest.
$ac_objext; then
43817 wx_cv_type_getsockname3
=size_t
43819 echo "$as_me: failed program was:" >&5
43820 sed 's/^/| /' conftest.
$ac_ext >&5
43822 cat >conftest.
$ac_ext <<_ACEOF
43825 cat confdefs.h
>>conftest.
$ac_ext
43826 cat >>conftest.
$ac_ext <<_ACEOF
43827 /* end confdefs.h. */
43829 #include <sys/types.h>
43830 #include <sys/socket.h>
43837 getsockname(0, 0, &len);
43843 rm -f conftest.
$ac_objext
43844 if { (ac_try
="$ac_compile"
43845 case "(($ac_try" in
43846 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43847 *) ac_try_echo=$ac_try;;
43849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43850 (eval "$ac_compile") 2>conftest.er1
43852 grep -v '^ *+' conftest.er1 >conftest.err
43854 cat conftest.err >&5
43855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43856 (exit $ac_status); } && {
43857 test -z "$ac_cxx_werror_flag" ||
43858 test ! -s conftest.err
43859 } && test -s conftest.$ac_objext; then
43860 wx_cv_type_getsockname3=int
43862 echo "$as_me: failed program was:" >&5
43863 sed 's/^/| /' conftest.$ac_ext >&5
43865 wx_cv_type_getsockname3=unknown
43869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43875 CFLAGS="$CFLAGS_OLD"
43880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43882 ac_cpp='$CPP $CPPFLAGS'
43883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43889 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43890 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43892 if test "$wx_cv_type_getsockname3" = "unknown"; then
43894 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43895 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43897 cat >>confdefs.h <<_ACEOF
43898 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43902 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43903 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43904 if test "${wx_cv_type_getsockopt5+set}" = set; then
43905 echo $ECHO_N "(cached) $ECHO_C" >&6
43909 ac_cpp='$CXXCPP $CPPFLAGS'
43910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43914 cat >conftest.$ac_ext <<_ACEOF
43917 cat confdefs.h >>conftest.$ac_ext
43918 cat >>conftest.$ac_ext <<_ACEOF
43919 /* end confdefs.h. */
43921 #include <sys/types.h>
43922 #include <sys/socket.h>
43929 getsockopt(0, 0, 0, 0, &len);
43935 rm -f conftest.$ac_objext
43936 if { (ac_try="$ac_compile"
43937 case "(($ac_try" in
43938 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43939 *) ac_try_echo
=$ac_try;;
43941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43942 (eval "$ac_compile") 2>conftest.er1
43944 grep -v '^ *+' conftest.er1
>conftest.err
43946 cat conftest.err
>&5
43947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43948 (exit $ac_status); } && {
43949 test -z "$ac_cxx_werror_flag" ||
43950 test ! -s conftest.err
43951 } && test -s conftest.
$ac_objext; then
43952 wx_cv_type_getsockopt5
=socklen_t
43954 echo "$as_me: failed program was:" >&5
43955 sed 's/^/| /' conftest.
$ac_ext >&5
43958 cat >conftest.
$ac_ext <<_ACEOF
43961 cat confdefs.h
>>conftest.
$ac_ext
43962 cat >>conftest.
$ac_ext <<_ACEOF
43963 /* end confdefs.h. */
43965 #include <sys/types.h>
43966 #include <sys/socket.h>
43973 getsockopt(0, 0, 0, 0, &len);
43979 rm -f conftest.
$ac_objext
43980 if { (ac_try
="$ac_compile"
43981 case "(($ac_try" in
43982 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43983 *) ac_try_echo=$ac_try;;
43985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43986 (eval "$ac_compile") 2>conftest.er1
43988 grep -v '^ *+' conftest.er1 >conftest.err
43990 cat conftest.err >&5
43991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43992 (exit $ac_status); } && {
43993 test -z "$ac_cxx_werror_flag" ||
43994 test ! -s conftest.err
43995 } && test -s conftest.$ac_objext; then
43996 wx_cv_type_getsockopt5=size_t
43998 echo "$as_me: failed program was:" >&5
43999 sed 's/^/| /' conftest.$ac_ext >&5
44001 cat >conftest.$ac_ext <<_ACEOF
44004 cat confdefs.h >>conftest.$ac_ext
44005 cat >>conftest.$ac_ext <<_ACEOF
44006 /* end confdefs.h. */
44008 #include <sys/types.h>
44009 #include <sys/socket.h>
44016 getsockopt(0, 0, 0, 0, &len);
44022 rm -f conftest.$ac_objext
44023 if { (ac_try="$ac_compile"
44024 case "(($ac_try" in
44025 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44026 *) ac_try_echo
=$ac_try;;
44028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44029 (eval "$ac_compile") 2>conftest.er1
44031 grep -v '^ *+' conftest.er1
>conftest.err
44033 cat conftest.err
>&5
44034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44035 (exit $ac_status); } && {
44036 test -z "$ac_cxx_werror_flag" ||
44037 test ! -s conftest.err
44038 } && test -s conftest.
$ac_objext; then
44039 wx_cv_type_getsockopt5
=int
44041 echo "$as_me: failed program was:" >&5
44042 sed 's/^/| /' conftest.
$ac_ext >&5
44044 wx_cv_type_getsockopt5
=unknown
44048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44059 ac_cpp
='$CPP $CPPFLAGS'
44060 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44061 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44062 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44066 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44067 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44069 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44071 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44072 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44074 cat >>confdefs.h
<<_ACEOF
44075 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44082 if test "$wxUSE_SOCKETS" = "yes" ; then
44083 if test "$wxUSE_IPV6" = "yes"; then
44084 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44085 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44086 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44087 echo $ECHO_N "(cached) $ECHO_C" >&6
44090 cat >conftest.
$ac_ext <<_ACEOF
44093 cat confdefs.h
>>conftest.
$ac_ext
44094 cat >>conftest.
$ac_ext <<_ACEOF
44095 /* end confdefs.h. */
44097 #include <sys/types.h>
44098 #include <sys/socket.h>
44099 #include <netinet/in.h>
44105 struct sockaddr_in6 sa6;
44111 rm -f conftest.
$ac_objext
44112 if { (ac_try
="$ac_compile"
44113 case "(($ac_try" in
44114 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44115 *) ac_try_echo=$ac_try;;
44117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44118 (eval "$ac_compile") 2>conftest.er1
44120 grep -v '^ *+' conftest.er1 >conftest.err
44122 cat conftest.err >&5
44123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44124 (exit $ac_status); } && {
44125 test -z "$ac_c_werror_flag" ||
44126 test ! -s conftest.err
44127 } && test -s conftest.$ac_objext; then
44128 wx_cv_type_sockaddr_in6=yes
44130 echo "$as_me: failed program was:" >&5
44131 sed 's/^/| /' conftest.$ac_ext >&5
44133 wx_cv_type_sockaddr_in6=no
44137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44141 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44142 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44144 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44145 cat >>confdefs.h <<\_ACEOF
44146 #define wxUSE_IPV6 1
44150 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44151 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44155 cat >>confdefs.h <<\_ACEOF
44156 #define wxUSE_SOCKETS 1
44159 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44162 if test "$wxUSE_PROTOCOL" = "yes"; then
44163 if test "$wxUSE_SOCKETS" != "yes"; then
44164 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44165 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44170 if test "$wxUSE_PROTOCOL" = "yes"; then
44171 cat >>confdefs.h <<\_ACEOF
44172 #define wxUSE_PROTOCOL 1
44176 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44177 cat >>confdefs.h <<\_ACEOF
44178 #define wxUSE_PROTOCOL_HTTP 1
44182 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44183 cat >>confdefs.h <<\_ACEOF
44184 #define wxUSE_PROTOCOL_FTP 1
44188 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44189 cat >>confdefs.h <<\_ACEOF
44190 #define wxUSE_PROTOCOL_FILE 1
44195 if test "$wxUSE_FS_INET" = "yes"; then
44196 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44197 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44202 if test "$wxUSE_URL" = "yes"; then
44203 if test "$wxUSE_PROTOCOL" != "yes"; then
44204 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44205 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44208 if test "$wxUSE_URL" = "yes"; then
44209 cat >>confdefs.h <<\_ACEOF
44210 #define wxUSE_URL 1
44216 if test "$wxUSE_VARIANT" = "yes"; then
44217 cat >>confdefs.h <<\_ACEOF
44218 #define wxUSE_VARIANT 1
44223 if test "$wxUSE_FS_INET" = "yes"; then
44224 cat >>confdefs.h <<\_ACEOF
44225 #define wxUSE_FS_INET 1
44231 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44234 if test "$TOOLKIT" = "MSW"; then
44237 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44238 if test "$USE_DARWIN" = 1; then
44239 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44240 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44242 ac_cpp='$CXXCPP $CPPFLAGS'
44243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44247 cat >conftest.$ac_ext <<_ACEOF
44250 cat confdefs.h >>conftest.$ac_ext
44251 cat >>conftest.$ac_ext <<_ACEOF
44252 /* end confdefs.h. */
44253 #include <IOKit/hid/IOHIDLib.h>
44257 IOHIDQueueInterface *qi = NULL;
44258 IOHIDCallbackFunction cb = NULL;
44259 qi->setEventCallout(NULL, cb, NULL, NULL);
44264 rm -f conftest.$ac_objext
44265 if { (ac_try="$ac_compile"
44266 case "(($ac_try" in
44267 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44268 *) ac_try_echo
=$ac_try;;
44270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44271 (eval "$ac_compile") 2>conftest.er1
44273 grep -v '^ *+' conftest.er1
>conftest.err
44275 cat conftest.err
>&5
44276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44277 (exit $ac_status); } && {
44278 test -z "$ac_cxx_werror_flag" ||
44279 test ! -s conftest.err
44280 } && test -s conftest.
$ac_objext; then
44284 echo "$as_me: failed program was:" >&5
44285 sed 's/^/| /' conftest.
$ac_ext >&5
44290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44292 ac_cpp
='$CPP $CPPFLAGS'
44293 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44294 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44295 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44297 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44298 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44302 if test "$wxUSE_MGL" != 1; then
44304 for ac_header
in linux
/joystick.h
44306 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44307 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44309 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44310 echo $ECHO_N "(cached) $ECHO_C" >&6
44312 cat >conftest.
$ac_ext <<_ACEOF
44315 cat confdefs.h
>>conftest.
$ac_ext
44316 cat >>conftest.
$ac_ext <<_ACEOF
44317 /* end confdefs.h. */
44318 $ac_includes_default
44320 #include <$ac_header>
44322 rm -f conftest.
$ac_objext
44323 if { (ac_try
="$ac_compile"
44324 case "(($ac_try" in
44325 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44326 *) ac_try_echo=$ac_try;;
44328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44329 (eval "$ac_compile") 2>conftest.er1
44331 grep -v '^ *+' conftest.er1 >conftest.err
44333 cat conftest.err >&5
44334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44335 (exit $ac_status); } && {
44336 test -z "$ac_c_werror_flag" ||
44337 test ! -s conftest.err
44338 } && test -s conftest.$ac_objext; then
44339 eval "$as_ac_Header=yes"
44341 echo "$as_me: failed program was:" >&5
44342 sed 's/^/| /' conftest.$ac_ext >&5
44344 eval "$as_ac_Header=no"
44347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44349 ac_res=`eval echo '${'$as_ac_Header'}'`
44350 { echo "$as_me:$LINENO: result: $ac_res" >&5
44351 echo "${ECHO_T}$ac_res" >&6; }
44352 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44353 cat >>confdefs.h <<_ACEOF
44354 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44364 if test "$wxUSE_JOYSTICK" = "yes"; then
44365 cat >>confdefs.h <<\_ACEOF
44366 #define wxUSE_JOYSTICK 1
44369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44371 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44372 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44378 if test "$wxUSE_FONTENUM" = "yes" ; then
44379 cat >>confdefs.h <<\_ACEOF
44380 #define wxUSE_FONTENUM 1
44385 if test "$wxUSE_FONTMAP" = "yes" ; then
44386 cat >>confdefs.h <<\_ACEOF
44387 #define wxUSE_FONTMAP 1
44392 if test "$wxUSE_UNICODE" = "yes" ; then
44393 cat >>confdefs.h <<\_ACEOF
44394 #define wxUSE_UNICODE 1
44398 if test "$USE_WIN32" != 1; then
44399 wxUSE_UNICODE_MSLU=no
44402 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44403 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44404 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44405 if test "${ac_cv_lib_unicows_main+set}" = set; then
44406 echo $ECHO_N "(cached) $ECHO_C" >&6
44408 ac_check_lib_save_LIBS=$LIBS
44409 LIBS="-lunicows $LIBS"
44410 cat >conftest.$ac_ext <<_ACEOF
44413 cat confdefs.h >>conftest.$ac_ext
44414 cat >>conftest.$ac_ext <<_ACEOF
44415 /* end confdefs.h. */
44426 rm -f conftest.$ac_objext conftest$ac_exeext
44427 if { (ac_try="$ac_link"
44428 case "(($ac_try" in
44429 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44430 *) ac_try_echo
=$ac_try;;
44432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44433 (eval "$ac_link") 2>conftest.er1
44435 grep -v '^ *+' conftest.er1
>conftest.err
44437 cat conftest.err
>&5
44438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44439 (exit $ac_status); } && {
44440 test -z "$ac_c_werror_flag" ||
44441 test ! -s conftest.err
44442 } && test -s conftest
$ac_exeext &&
44443 $as_test_x conftest
$ac_exeext; then
44444 ac_cv_lib_unicows_main
=yes
44446 echo "$as_me: failed program was:" >&5
44447 sed 's/^/| /' conftest.
$ac_ext >&5
44449 ac_cv_lib_unicows_main
=no
44452 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44453 conftest
$ac_exeext conftest.
$ac_ext
44454 LIBS
=$ac_check_lib_save_LIBS
44456 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44457 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44458 if test $ac_cv_lib_unicows_main = yes; then
44460 cat >>confdefs.h
<<\_ACEOF
44461 #define wxUSE_UNICODE_MSLU 1
44467 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44468 Applications will only run on Windows NT/2000/XP!" >&5
44469 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44470 Applications will only run on Windows NT/2000/XP!" >&2;}
44471 wxUSE_UNICODE_MSLU
=no
44478 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44479 cat >>confdefs.h
<<\_ACEOF
44480 #define wxUSE_UNICODE_UTF8 1
44484 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44485 cat >>confdefs.h
<<\_ACEOF
44486 #define wxUSE_UTF8_LOCALE_ONLY 1
44493 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44494 cat >>confdefs.h
<<\_ACEOF
44495 #define wxUSE_CONSTRAINTS 1
44498 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
44501 if test "$wxUSE_MDI" = "yes"; then
44502 cat >>confdefs.h
<<\_ACEOF
44503 #define wxUSE_MDI 1
44507 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44508 cat >>confdefs.h
<<\_ACEOF
44509 #define wxUSE_MDI_ARCHITECTURE 1
44512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
44516 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44517 cat >>confdefs.h
<<\_ACEOF
44518 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44521 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
44522 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44523 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
44527 if test "$wxUSE_HELP" = "yes"; then
44528 cat >>confdefs.h
<<\_ACEOF
44529 #define wxUSE_HELP 1
44532 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
44534 if test "$wxUSE_MSW" = 1; then
44535 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44536 cat >>confdefs.h
<<\_ACEOF
44537 #define wxUSE_MS_HTML_HELP 1
44543 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44544 if test "$wxUSE_HTML" = "yes"; then
44545 cat >>confdefs.h
<<\_ACEOF
44546 #define wxUSE_WXHTML_HELP 1
44550 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44551 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44552 wxUSE_WXHTML_HELP
=no
44557 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44558 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44559 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44560 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44562 cat >>confdefs.h
<<\_ACEOF
44563 #define wxUSE_PRINTING_ARCHITECTURE 1
44567 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
44570 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44571 cat >>confdefs.h
<<\_ACEOF
44572 #define wxUSE_POSTSCRIPT 1
44577 cat >>confdefs.h
<<\_ACEOF
44578 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44582 if test "$wxUSE_SVG" = "yes"; then
44583 cat >>confdefs.h
<<\_ACEOF
44584 #define wxUSE_SVG 1
44590 if test "$wxUSE_METAFILE" = "yes"; then
44591 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44592 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44593 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44599 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
44600 -o "$wxUSE_CLIPBOARD" = "yes" \
44601 -o "$wxUSE_OLE" = "yes" \
44602 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
44603 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44604 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44605 if test "${ac_cv_header_ole2_h+set}" = set; then
44606 echo $ECHO_N "(cached) $ECHO_C" >&6
44608 cat >conftest.
$ac_ext <<_ACEOF
44611 cat confdefs.h
>>conftest.
$ac_ext
44612 cat >>conftest.
$ac_ext <<_ACEOF
44613 /* end confdefs.h. */
44618 rm -f conftest.
$ac_objext
44619 if { (ac_try
="$ac_compile"
44620 case "(($ac_try" in
44621 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44622 *) ac_try_echo=$ac_try;;
44624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44625 (eval "$ac_compile") 2>conftest.er1
44627 grep -v '^ *+' conftest.er1 >conftest.err
44629 cat conftest.err >&5
44630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44631 (exit $ac_status); } && {
44632 test -z "$ac_c_werror_flag" ||
44633 test ! -s conftest.err
44634 } && test -s conftest.$ac_objext; then
44635 ac_cv_header_ole2_h=yes
44637 echo "$as_me: failed program was:" >&5
44638 sed 's/^/| /' conftest.$ac_ext >&5
44640 ac_cv_header_ole2_h=no
44643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44645 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44646 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44650 if test "$ac_cv_header_ole2_h" = "yes" ; then
44651 if test "$GCC" = yes ; then
44652 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44653 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44654 cat >conftest.$ac_ext <<_ACEOF
44657 cat confdefs.h >>conftest.$ac_ext
44658 cat >>conftest.$ac_ext <<_ACEOF
44659 /* end confdefs.h. */
44660 #include <windows.h>
44670 rm -f conftest.$ac_objext
44671 if { (ac_try="$ac_compile"
44672 case "(($ac_try" in
44673 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44674 *) ac_try_echo
=$ac_try;;
44676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44677 (eval "$ac_compile") 2>conftest.er1
44679 grep -v '^ *+' conftest.er1
>conftest.err
44681 cat conftest.err
>&5
44682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44683 (exit $ac_status); } && {
44684 test -z "$ac_c_werror_flag" ||
44685 test ! -s conftest.err
44686 } && test -s conftest.
$ac_objext; then
44687 { echo "$as_me:$LINENO: result: no" >&5
44688 echo "${ECHO_T}no" >&6; }
44690 echo "$as_me: failed program was:" >&5
44691 sed 's/^/| /' conftest.
$ac_ext >&5
44693 { echo "$as_me:$LINENO: result: yes" >&5
44694 echo "${ECHO_T}yes" >&6; }
44695 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44699 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44700 if test "$wxUSE_OLE" = "yes" ; then
44701 cat >>confdefs.h
<<\_ACEOF
44702 #define wxUSE_OLE 1
44705 cat >>confdefs.h
<<\_ACEOF
44706 #define wxUSE_OLE_AUTOMATION 1
44709 cat >>confdefs.h
<<\_ACEOF
44710 #define wxUSE_ACTIVEX 1
44713 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
44717 if test "$wxUSE_DATAOBJ" = "yes" ; then
44718 cat >>confdefs.h
<<\_ACEOF
44719 #define wxUSE_DATAOBJ 1
44724 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44725 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44728 wxUSE_DRAG_AND_DROP
=no
44733 if test "$wxUSE_METAFILE" = "yes"; then
44734 cat >>confdefs.h
<<\_ACEOF
44735 #define wxUSE_METAFILE 1
44739 cat >>confdefs.h
<<\_ACEOF
44740 #define wxUSE_ENH_METAFILE 1
44746 if test "$wxUSE_IPC" = "yes"; then
44747 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44748 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44749 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44753 if test "$wxUSE_IPC" = "yes"; then
44754 cat >>confdefs.h
<<\_ACEOF
44755 #define wxUSE_IPC 1
44758 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
44762 if test "$wxUSE_DATAOBJ" = "yes"; then
44763 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44764 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44765 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44768 cat >>confdefs.h
<<\_ACEOF
44769 #define wxUSE_DATAOBJ 1
44774 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44775 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44777 wxUSE_DRAG_AND_DROP
=no
44780 if test "$wxUSE_CLIPBOARD" = "yes"; then
44781 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44782 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44783 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44787 if test "$wxUSE_CLIPBOARD" = "yes"; then
44788 cat >>confdefs.h
<<\_ACEOF
44789 #define wxUSE_CLIPBOARD 1
44795 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44796 if test "$wxUSE_GTK" = 1; then
44797 if test "$WXGTK12" != 1; then
44798 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44799 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44800 wxUSE_DRAG_AND_DROP
=no
44804 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44805 "$wxUSE_DFB" = 1; then
44806 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44807 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44808 wxUSE_DRAG_AND_DROP
=no
44811 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44812 cat >>confdefs.h
<<\_ACEOF
44813 #define wxUSE_DRAG_AND_DROP 1
44820 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44821 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
44824 if test "$wxUSE_SPLINES" = "yes" ; then
44825 cat >>confdefs.h
<<\_ACEOF
44826 #define wxUSE_SPLINES 1
44831 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44832 cat >>confdefs.h
<<\_ACEOF
44833 #define wxUSE_MOUSEWHEEL 1
44840 if test "$wxUSE_CONTROLS" = "yes"; then
44844 if test "$wxUSE_ACCEL" = "yes"; then
44845 cat >>confdefs.h
<<\_ACEOF
44846 #define wxUSE_ACCEL 1
44852 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44853 cat >>confdefs.h
<<\_ACEOF
44854 #define wxUSE_ANIMATIONCTRL 1
44858 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
44861 if test "$wxUSE_BUTTON" = "yes"; then
44862 cat >>confdefs.h
<<\_ACEOF
44863 #define wxUSE_BUTTON 1
44869 if test "$wxUSE_BMPBUTTON" = "yes"; then
44870 cat >>confdefs.h
<<\_ACEOF
44871 #define wxUSE_BMPBUTTON 1
44877 if test "$wxUSE_CALCTRL" = "yes"; then
44878 cat >>confdefs.h
<<\_ACEOF
44879 #define wxUSE_CALENDARCTRL 1
44883 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
44886 if test "$wxUSE_CARET" = "yes"; then
44887 cat >>confdefs.h
<<\_ACEOF
44888 #define wxUSE_CARET 1
44892 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
44895 if test "$wxUSE_COLLPANE" = "yes"; then
44896 cat >>confdefs.h
<<\_ACEOF
44897 #define wxUSE_COLLPANE 1
44901 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
44904 if test "$wxUSE_COMBOBOX" = "yes"; then
44905 cat >>confdefs.h
<<\_ACEOF
44906 #define wxUSE_COMBOBOX 1
44912 if test "$wxUSE_COMBOCTRL" = "yes"; then
44913 cat >>confdefs.h
<<\_ACEOF
44914 #define wxUSE_COMBOCTRL 1
44920 if test "$wxUSE_CHOICE" = "yes"; then
44921 cat >>confdefs.h
<<\_ACEOF
44922 #define wxUSE_CHOICE 1
44928 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44929 cat >>confdefs.h
<<\_ACEOF
44930 #define wxUSE_CHOICEBOOK 1
44936 if test "$wxUSE_CHECKBOX" = "yes"; then
44937 cat >>confdefs.h
<<\_ACEOF
44938 #define wxUSE_CHECKBOX 1
44944 if test "$wxUSE_CHECKLST" = "yes"; then
44945 cat >>confdefs.h
<<\_ACEOF
44946 #define wxUSE_CHECKLISTBOX 1
44952 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44953 cat >>confdefs.h
<<\_ACEOF
44954 #define wxUSE_COLOURPICKERCTRL 1
44960 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44961 cat >>confdefs.h
<<\_ACEOF
44962 #define wxUSE_DATEPICKCTRL 1
44968 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44969 cat >>confdefs.h
<<\_ACEOF
44970 #define wxUSE_DIRPICKERCTRL 1
44976 if test "$wxUSE_FILECTRL" = "yes"; then
44977 cat >>confdefs.h
<<\_ACEOF
44978 #define wxUSE_FILECTRL 1
44984 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44985 cat >>confdefs.h
<<\_ACEOF
44986 #define wxUSE_FILEPICKERCTRL 1
44992 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44993 cat >>confdefs.h
<<\_ACEOF
44994 #define wxUSE_FONTPICKERCTRL 1
45000 if test "$wxUSE_DISPLAY" = "yes"; then
45001 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45002 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45003 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45006 cat >>confdefs.h
<<\_ACEOF
45007 #define wxUSE_DISPLAY 1
45010 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45014 if test "$wxUSE_DETECT_SM" = "yes"; then
45015 cat >>confdefs.h
<<\_ACEOF
45016 #define wxUSE_DETECT_SM 1
45021 if test "$wxUSE_GAUGE" = "yes"; then
45022 cat >>confdefs.h
<<\_ACEOF
45023 #define wxUSE_GAUGE 1
45029 if test "$wxUSE_GRID" = "yes"; then
45030 cat >>confdefs.h
<<\_ACEOF
45031 #define wxUSE_GRID 1
45035 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45038 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45039 cat >>confdefs.h
<<\_ACEOF
45040 #define wxUSE_HYPERLINKCTRL 1
45046 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45047 cat >>confdefs.h
<<\_ACEOF
45048 #define wxUSE_BITMAPCOMBOBOX 1
45054 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45055 cat >>confdefs.h
<<\_ACEOF
45056 #define wxUSE_DATAVIEWCTRL 1
45060 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45063 if test "$wxUSE_IMAGLIST" = "yes"; then
45064 cat >>confdefs.h
<<\_ACEOF
45065 #define wxUSE_IMAGLIST 1
45070 if test "$wxUSE_LISTBOOK" = "yes"; then
45071 cat >>confdefs.h
<<\_ACEOF
45072 #define wxUSE_LISTBOOK 1
45078 if test "$wxUSE_LISTBOX" = "yes"; then
45079 cat >>confdefs.h
<<\_ACEOF
45080 #define wxUSE_LISTBOX 1
45086 if test "$wxUSE_LISTCTRL" = "yes"; then
45087 if test "$wxUSE_IMAGLIST" = "yes"; then
45088 cat >>confdefs.h
<<\_ACEOF
45089 #define wxUSE_LISTCTRL 1
45093 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45095 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45096 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45100 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45101 cat >>confdefs.h
<<\_ACEOF
45102 #define wxUSE_EDITABLELISTBOX 1
45106 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
45109 if test "$wxUSE_NOTEBOOK" = "yes"; then
45110 cat >>confdefs.h
<<\_ACEOF
45111 #define wxUSE_NOTEBOOK 1
45115 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45118 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45119 cat >>confdefs.h
<<\_ACEOF
45120 #define wxUSE_NOTIFICATION_MESSAGE 1
45125 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45126 cat >>confdefs.h
<<\_ACEOF
45127 #define wxUSE_ODCOMBOBOX 1
45131 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45134 if test "$wxUSE_RADIOBOX" = "yes"; then
45135 cat >>confdefs.h
<<\_ACEOF
45136 #define wxUSE_RADIOBOX 1
45142 if test "$wxUSE_RADIOBTN" = "yes"; then
45143 cat >>confdefs.h
<<\_ACEOF
45144 #define wxUSE_RADIOBTN 1
45150 if test "$wxUSE_SASH" = "yes"; then
45151 cat >>confdefs.h
<<\_ACEOF
45152 #define wxUSE_SASH 1
45155 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45158 if test "$wxUSE_SCROLLBAR" = "yes"; then
45159 cat >>confdefs.h
<<\_ACEOF
45160 #define wxUSE_SCROLLBAR 1
45164 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45167 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45168 cat >>confdefs.h
<<\_ACEOF
45169 #define wxUSE_SEARCHCTRL 1
45175 if test "$wxUSE_SLIDER" = "yes"; then
45176 cat >>confdefs.h
<<\_ACEOF
45177 #define wxUSE_SLIDER 1
45183 if test "$wxUSE_SPINBTN" = "yes"; then
45184 cat >>confdefs.h
<<\_ACEOF
45185 #define wxUSE_SPINBTN 1
45191 if test "$wxUSE_SPINCTRL" = "yes"; then
45192 cat >>confdefs.h
<<\_ACEOF
45193 #define wxUSE_SPINCTRL 1
45199 if test "$wxUSE_SPLITTER" = "yes"; then
45200 cat >>confdefs.h
<<\_ACEOF
45201 #define wxUSE_SPLITTER 1
45204 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45207 if test "$wxUSE_STATBMP" = "yes"; then
45208 cat >>confdefs.h
<<\_ACEOF
45209 #define wxUSE_STATBMP 1
45215 if test "$wxUSE_STATBOX" = "yes"; then
45216 cat >>confdefs.h
<<\_ACEOF
45217 #define wxUSE_STATBOX 1
45223 if test "$wxUSE_STATTEXT" = "yes"; then
45224 cat >>confdefs.h
<<\_ACEOF
45225 #define wxUSE_STATTEXT 1
45231 if test "$wxUSE_STATLINE" = "yes"; then
45232 cat >>confdefs.h
<<\_ACEOF
45233 #define wxUSE_STATLINE 1
45239 if test "$wxUSE_STATUSBAR" = "yes"; then
45240 cat >>confdefs.h
<<\_ACEOF
45241 #define wxUSE_NATIVE_STATUSBAR 1
45244 cat >>confdefs.h
<<\_ACEOF
45245 #define wxUSE_STATUSBAR 1
45250 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45253 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45254 cat >>confdefs.h
<<\_ACEOF
45255 #define wxUSE_TAB_DIALOG 1
45260 if test "$wxUSE_TEXTCTRL" = "yes"; then
45261 cat >>confdefs.h
<<\_ACEOF
45262 #define wxUSE_TEXTCTRL 1
45266 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45269 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45270 if test "$wxUSE_COCOA" = 1 ; then
45271 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45272 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45276 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45277 cat >>confdefs.h
<<\_ACEOF
45278 #define wxUSE_TOGGLEBTN 1
45285 if test "$wxUSE_TOOLBAR" = "yes"; then
45286 cat >>confdefs.h
<<\_ACEOF
45287 #define wxUSE_TOOLBAR 1
45292 if test "$wxUSE_UNIVERSAL" = "yes"; then
45293 wxUSE_TOOLBAR_NATIVE
="no"
45295 wxUSE_TOOLBAR_NATIVE
="yes"
45296 cat >>confdefs.h
<<\_ACEOF
45297 #define wxUSE_TOOLBAR_NATIVE 1
45302 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45305 if test "$wxUSE_TOOLTIPS" = "yes"; then
45306 if test "$wxUSE_MOTIF" = 1; then
45307 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45308 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45310 if test "$wxUSE_UNIVERSAL" = "yes"; then
45311 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45312 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45314 cat >>confdefs.h
<<\_ACEOF
45315 #define wxUSE_TOOLTIPS 1
45322 if test "$wxUSE_TREEBOOK" = "yes"; then
45323 cat >>confdefs.h
<<\_ACEOF
45324 #define wxUSE_TREEBOOK 1
45330 if test "$wxUSE_TOOLBOOK" = "yes"; then
45331 cat >>confdefs.h
<<\_ACEOF
45332 #define wxUSE_TOOLBOOK 1
45338 if test "$wxUSE_TREECTRL" = "yes"; then
45339 if test "$wxUSE_IMAGLIST" = "yes"; then
45340 cat >>confdefs.h
<<\_ACEOF
45341 #define wxUSE_TREECTRL 1
45345 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45347 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45348 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45352 if test "$wxUSE_POPUPWIN" = "yes"; then
45353 if test "$wxUSE_COCOA" = 1 ; then
45354 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45355 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45357 if test "$wxUSE_PM" = 1; then
45358 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45359 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45361 cat >>confdefs.h
<<\_ACEOF
45362 #define wxUSE_POPUPWIN 1
45365 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
45372 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45373 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45374 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45375 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45377 cat >>confdefs.h
<<\_ACEOF
45378 #define wxUSE_DIALUP_MANAGER 1
45381 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
45385 if test "$wxUSE_TIPWINDOW" = "yes"; then
45386 if test "$wxUSE_PM" = 1; then
45387 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45388 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45390 cat >>confdefs.h
<<\_ACEOF
45391 #define wxUSE_TIPWINDOW 1
45397 if test "$USES_CONTROLS" = 1; then
45398 cat >>confdefs.h
<<\_ACEOF
45399 #define wxUSE_CONTROLS 1
45405 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45406 cat >>confdefs.h
<<\_ACEOF
45407 #define wxUSE_ACCESSIBILITY 1
45410 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
45413 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45414 cat >>confdefs.h
<<\_ACEOF
45415 #define wxUSE_DRAGIMAGE 1
45418 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
45421 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45422 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45423 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45424 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45426 cat >>confdefs.h
<<\_ACEOF
45427 #define wxUSE_EXCEPTIONS 1
45430 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
45435 if test "$wxUSE_HTML" = "yes"; then
45436 cat >>confdefs.h
<<\_ACEOF
45437 #define wxUSE_HTML 1
45441 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45442 if test "$wxUSE_MAC" = 1; then
45443 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
45446 if test "$wxUSE_WEBKIT" = "yes"; then
45447 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45448 old_CPPFLAGS
="$CPPFLAGS"
45449 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
45450 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45451 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45452 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45453 echo $ECHO_N "(cached) $ECHO_C" >&6
45455 cat >conftest.
$ac_ext <<_ACEOF
45458 cat confdefs.h
>>conftest.
$ac_ext
45459 cat >>conftest.
$ac_ext <<_ACEOF
45460 /* end confdefs.h. */
45462 #include <Carbon/Carbon.h>
45463 #include <WebKit/WebKit.h>
45466 #include <WebKit/HIWebView.h>
45468 rm -f conftest.
$ac_objext
45469 if { (ac_try
="$ac_compile"
45470 case "(($ac_try" in
45471 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45472 *) ac_try_echo=$ac_try;;
45474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45475 (eval "$ac_compile") 2>conftest.er1
45477 grep -v '^ *+' conftest.er1 >conftest.err
45479 cat conftest.err >&5
45480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45481 (exit $ac_status); } && {
45482 test -z "$ac_c_werror_flag" ||
45483 test ! -s conftest.err
45484 } && test -s conftest.$ac_objext; then
45485 ac_cv_header_WebKit_HIWebView_h=yes
45487 echo "$as_me: failed program was:" >&5
45488 sed 's/^/| /' conftest.$ac_ext >&5
45490 ac_cv_header_WebKit_HIWebView_h=no
45493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45495 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45496 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45497 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45499 cat >>confdefs.h <<\_ACEOF
45500 #define wxUSE_WEBKIT 1
45503 WEBKIT_LINK="-framework WebKit"
45507 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45508 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45514 CPPFLAGS="$old_CPPFLAGS"
45515 elif test "$wxUSE_COCOA" = 1; then
45516 cat >>confdefs.h <<\_ACEOF
45517 #define wxUSE_WEBKIT 1
45526 if test "$wxUSE_XRC" = "yes"; then
45527 if test "$wxUSE_XML" != "yes"; then
45528 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45529 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45532 cat >>confdefs.h <<\_ACEOF
45533 #define wxUSE_XRC 1
45537 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45542 if test "$wxUSE_AUI" = "yes"; then
45543 cat >>confdefs.h <<\_ACEOF
45544 #define wxUSE_AUI 1
45548 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45552 if test "$wxUSE_STC" = "yes"; then
45553 cat >>confdefs.h <<\_ACEOF
45554 #define wxUSE_STC 1
45558 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45561 if test "$wxUSE_MENUS" = "yes"; then
45562 cat >>confdefs.h <<\_ACEOF
45563 #define wxUSE_MENUS 1
45566 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45569 if test "$wxUSE_METAFILE" = "yes"; then
45570 cat >>confdefs.h <<\_ACEOF
45571 #define wxUSE_METAFILE 1
45576 if test "$wxUSE_MIMETYPE" = "yes"; then
45577 cat >>confdefs.h <<\_ACEOF
45578 #define wxUSE_MIMETYPE 1
45583 if test "$wxUSE_MINIFRAME" = "yes"; then
45584 cat >>confdefs.h <<\_ACEOF
45585 #define wxUSE_MINIFRAME 1
45590 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45591 cat >>confdefs.h <<\_ACEOF
45592 #define wxUSE_SYSTEM_OPTIONS 1
45597 if test "$wxUSE_TASKBARICON" = "yes"; then
45598 cat >>confdefs.h <<\_ACEOF
45599 #define wxUSE_TASKBARICON 1
45602 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45606 if test "$wxUSE_VALIDATORS" = "yes"; then
45607 cat >>confdefs.h <<\_ACEOF
45608 #define wxUSE_VALIDATORS 1
45611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45614 if test "$wxUSE_PALETTE" = "yes" ; then
45615 if test "$wxUSE_DFB" = 1; then
45616 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45617 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45620 cat >>confdefs.h <<\_ACEOF
45621 #define wxUSE_PALETTE 1
45627 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45628 LIBS=" -lunicows $LIBS"
45632 if test "$wxUSE_RICHTEXT" = "yes"; then
45633 cat >>confdefs.h <<\_ACEOF
45634 #define wxUSE_RICHTEXT 1
45638 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45642 if test "$wxUSE_IMAGE" = "yes" ; then
45643 cat >>confdefs.h <<\_ACEOF
45644 #define wxUSE_IMAGE 1
45648 if test "$wxUSE_GIF" = "yes" ; then
45649 cat >>confdefs.h <<\_ACEOF
45650 #define wxUSE_GIF 1
45655 if test "$wxUSE_PCX" = "yes" ; then
45656 cat >>confdefs.h <<\_ACEOF
45657 #define wxUSE_PCX 1
45662 if test "$wxUSE_TGA" = "yes" ; then
45663 cat >>confdefs.h <<\_ACEOF
45664 #define wxUSE_TGA 1
45669 if test "$wxUSE_IFF" = "yes" ; then
45670 cat >>confdefs.h <<\_ACEOF
45671 #define wxUSE_IFF 1
45676 if test "$wxUSE_PNM" = "yes" ; then
45677 cat >>confdefs.h <<\_ACEOF
45678 #define wxUSE_PNM 1
45683 if test "$wxUSE_XPM" = "yes" ; then
45684 cat >>confdefs.h <<\_ACEOF
45685 #define wxUSE_XPM 1
45690 if test "$wxUSE_ICO_CUR" = "yes" ; then
45691 cat >>confdefs.h <<\_ACEOF
45692 #define wxUSE_ICO_CUR 1
45699 if test "$wxUSE_ABOUTDLG" = "yes"; then
45700 cat >>confdefs.h <<\_ACEOF
45701 #define wxUSE_ABOUTDLG 1
45706 if test "$wxUSE_CHOICEDLG" = "yes"; then
45707 cat >>confdefs.h <<\_ACEOF
45708 #define wxUSE_CHOICEDLG 1
45713 if test "$wxUSE_COLOURDLG" = "yes"; then
45714 cat >>confdefs.h <<\_ACEOF
45715 #define wxUSE_COLOURDLG 1
45720 if test "$wxUSE_FILEDLG" = "yes"; then
45721 cat >>confdefs.h <<\_ACEOF
45722 #define wxUSE_FILEDLG 1
45727 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45728 cat >>confdefs.h <<\_ACEOF
45729 #define wxUSE_FINDREPLDLG 1
45734 if test "$wxUSE_FONTDLG" = "yes"; then
45735 cat >>confdefs.h <<\_ACEOF
45736 #define wxUSE_FONTDLG 1
45741 if test "$wxUSE_DIRDLG" = "yes"; then
45742 if test "$wxUSE_TREECTRL" != "yes"; then
45743 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45744 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45746 cat >>confdefs.h <<\_ACEOF
45747 #define wxUSE_DIRDLG 1
45753 if test "$wxUSE_MSGDLG" = "yes"; then
45754 cat >>confdefs.h <<\_ACEOF
45755 #define wxUSE_MSGDLG 1
45760 if test "$wxUSE_NUMBERDLG" = "yes"; then
45761 cat >>confdefs.h <<\_ACEOF
45762 #define wxUSE_NUMBERDLG 1
45767 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45768 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45769 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45770 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45772 cat >>confdefs.h <<\_ACEOF
45773 #define wxUSE_PROGRESSDLG 1
45779 if test "$wxUSE_SPLASH" = "yes"; then
45780 cat >>confdefs.h <<\_ACEOF
45781 #define wxUSE_SPLASH 1
45784 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45787 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45788 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45789 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45790 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45792 cat >>confdefs.h <<\_ACEOF
45793 #define wxUSE_STARTUP_TIPS 1
45799 if test "$wxUSE_TEXTDLG" = "yes"; then
45800 cat >>confdefs.h <<\_ACEOF
45801 #define wxUSE_TEXTDLG 1
45806 if test "$wxUSE_WIZARDDLG" = "yes"; then
45807 cat >>confdefs.h <<\_ACEOF
45808 #define wxUSE_WIZARDDLG 1
45811 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45815 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45816 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45817 cat >>confdefs.h <<\_ACEOF
45818 #define wxUSE_OWNER_DRAWN 1
45825 if test "$wxUSE_MSW" = 1 ; then
45827 if test "$wxUSE_DC_CACHEING" = "yes"; then
45828 cat >>confdefs.h <<\_ACEOF
45829 #define wxUSE_DC_CACHEING 1
45834 if test "$wxUSE_DIB" = "yes"; then
45835 cat >>confdefs.h <<\_ACEOF
45836 #define wxUSE_WXDIB 1
45841 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45842 cat >>confdefs.h <<\_ACEOF
45843 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45848 if test "$wxUSE_UXTHEME" = "yes"; then
45849 cat >>confdefs.h <<\_ACEOF
45850 #define wxUSE_UXTHEME 1
45858 if test "$USE_WIN32" = 1 ; then
45859 if test "$wxUSE_INICONF" = "yes"; then
45860 cat >>confdefs.h <<\_ACEOF
45861 #define wxUSE_INICONF 1
45866 if test "$wxUSE_REGKEY" = "yes"; then
45867 cat >>confdefs.h <<\_ACEOF
45868 #define wxUSE_REGKEY 1
45875 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45876 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45877 cat >>confdefs.h <<\_ACEOF
45878 #define wxUSE_GRAPHICS_CONTEXT 1
45881 elif test "$wxUSE_GTK" != 1; then
45882 cat >>confdefs.h <<\_ACEOF
45883 #define wxUSE_GRAPHICS_CONTEXT 1
45889 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45890 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45892 if test -n "$PKG_CONFIG"; then
45893 if test -n "$CAIRO_CFLAGS"; then
45894 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45896 if test -n "$PKG_CONFIG" && \
45897 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45898 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45901 (exit $ac_status); }; then
45902 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
45910 if test -n "$PKG_CONFIG"; then
45911 if test -n "$CAIRO_LIBS"; then
45912 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45914 if test -n "$PKG_CONFIG" && \
45915 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45916 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45919 (exit $ac_status); }; then
45920 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
45931 if test $pkg_failed = yes; then
45933 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45934 _pkg_short_errors_supported=yes
45936 _pkg_short_errors_supported=no
45938 if test $_pkg_short_errors_supported = yes; then
45939 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45941 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45943 # Put the nasty error message in config.log where it belongs
45944 echo "$CAIRO_PKG_ERRORS" >&5
45946 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45947 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45949 elif test $pkg_failed = untried; then
45950 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45951 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45954 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45955 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45956 { echo "$as_me:$LINENO: result: yes" >&5
45957 echo "${ECHO_T}yes" >&6; }
45958 cat >>confdefs.h <<\_ACEOF
45959 #define wxUSE_GRAPHICS_CONTEXT 1
45969 if test "$wxUSE_MEDIACTRL" = "yes"; then
45972 if test "$wxUSE_GTK" = 1; then
45973 wxUSE_GSTREAMER="no"
45975 GST_VERSION_MAJOR=0
45976 GST_VERSION_MINOR=10
45977 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45979 if test "$wxUSE_GSTREAMER8" = "no"; then
45982 { echo "$as_me:$LINENO: checking for GST" >&5
45983 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45985 if test -n "$PKG_CONFIG"; then
45986 if test -n "$GST_CFLAGS"; then
45987 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45989 if test -n "$PKG_CONFIG" && \
45990 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45991 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45994 (exit $ac_status); }; then
45995 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46003 if test -n "$PKG_CONFIG"; then
46004 if test -n "$GST_LIBS"; then
46005 pkg_cv_GST_LIBS="$GST_LIBS"
46007 if test -n "$PKG_CONFIG" && \
46008 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46009 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46012 (exit $ac_status); }; then
46013 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46024 if test $pkg_failed = yes; then
46026 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46027 _pkg_short_errors_supported=yes
46029 _pkg_short_errors_supported=no
46031 if test $_pkg_short_errors_supported = yes; then
46032 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46034 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46036 # Put the nasty error message in config.log where it belongs
46037 echo "$GST_PKG_ERRORS" >&5
46040 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46041 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46042 GST_VERSION_MINOR=8
46045 elif test $pkg_failed = untried; then
46047 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46048 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46049 GST_VERSION_MINOR=8
46053 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46054 GST_LIBS=$pkg_cv_GST_LIBS
46055 { echo "$as_me:$LINENO: result: yes" >&5
46056 echo "${ECHO_T}yes" >&6; }
46058 wxUSE_GSTREAMER="yes"
46059 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46063 GST_VERSION_MINOR=8
46066 if test $GST_VERSION_MINOR = "8"; then
46067 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46070 { echo "$as_me:$LINENO: checking for GST" >&5
46071 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46073 if test -n "$PKG_CONFIG"; then
46074 if test -n "$GST_CFLAGS"; then
46075 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46077 if test -n "$PKG_CONFIG" && \
46078 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46079 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46082 (exit $ac_status); }; then
46083 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46091 if test -n "$PKG_CONFIG"; then
46092 if test -n "$GST_LIBS"; then
46093 pkg_cv_GST_LIBS="$GST_LIBS"
46095 if test -n "$PKG_CONFIG" && \
46096 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46097 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46100 (exit $ac_status); }; then
46101 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46112 if test $pkg_failed = yes; then
46114 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46115 _pkg_short_errors_supported=yes
46117 _pkg_short_errors_supported=no
46119 if test $_pkg_short_errors_supported = yes; then
46120 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46122 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46124 # Put the nasty error message in config.log where it belongs
46125 echo "$GST_PKG_ERRORS" >&5
46128 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46129 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46131 elif test $pkg_failed = untried; then
46133 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46134 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46137 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46138 GST_LIBS=$pkg_cv_GST_LIBS
46139 { echo "$as_me:$LINENO: result: yes" >&5
46140 echo "${ECHO_T}yes" >&6; }
46141 wxUSE_GSTREAMER="yes"
46146 if test "$wxUSE_GSTREAMER" = "yes"; then
46147 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46148 EXTRALIBS_MEDIA="$GST_LIBS"
46150 cat >>confdefs.h <<\_ACEOF
46151 #define wxUSE_GSTREAMER 1
46159 if test $USE_MEDIA = 1; then
46160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46161 cat >>confdefs.h <<\_ACEOF
46162 #define wxUSE_MEDIACTRL 1
46169 if test "$cross_compiling" = "yes"; then
46172 OSINFO=`uname
-s -r -m`
46173 OSINFO="\"$OSINFO\""
46176 cat >>confdefs.h <<_ACEOF
46177 #define WXWIN_OS_DESCRIPTION $OSINFO
46182 if test "x$prefix" != "xNONE"; then
46185 wxPREFIX=$ac_default_prefix
46188 cat >>confdefs.h <<_ACEOF
46189 #define wxINSTALL_PREFIX "$wxPREFIX"
46195 STD_BASE_LIBS="base"
46197 BUILT_WX_LIBS="base"
46198 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46200 if test "$wxUSE_SOCKETS" = "yes" ; then
46201 STD_BASE_LIBS="net $STD_BASE_LIBS"
46202 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46204 if test "$wxUSE_XML" = "yes" ; then
46205 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46206 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46209 if test "$wxUSE_GUI" = "yes"; then
46210 STD_GUI_LIBS="adv core"
46211 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46213 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46214 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46215 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46217 if test "$wxUSE_HTML" = "yes" ; then
46218 STD_GUI_LIBS="html $STD_GUI_LIBS"
46219 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46221 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46222 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46224 if test "$wxUSE_OPENGL" = "yes" ; then
46225 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46227 if test "$wxUSE_AUI" = "yes" ; then
46228 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46230 if test "$wxUSE_STC" = "yes" ; then
46231 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46233 if test "$wxUSE_XRC" = "yes" ; then
46234 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46235 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46246 if test "$wxUSE_MAC" = 1 ; then
46247 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46248 if test "$USE_DARWIN" = 1; then
46249 LDFLAGS="$LDFLAGS -framework QuickTime"
46251 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46254 if test "$USE_DARWIN" = 1; then
46255 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46257 LDFLAGS="$LDFLAGS -lCarbonLib"
46260 if test "$wxUSE_COCOA" = 1 ; then
46261 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46262 if test "$wxUSE_MEDIACTRL" = "yes"; then
46263 LDFLAGS="$LDFLAGS -framework QuickTime"
46266 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46267 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46270 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46272 if test "$wxUSE_GUI" = "yes"; then
46275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46276 erase event exec font image minimal mobile \
46277 mobile/wxedit mobile/styles render \
46278 shaped svg taborder vscroll widgets"
46280 if test "$wxUSE_MONOLITHIC" != "yes"; then
46281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46283 if test "$TOOLKIT" = "MSW"; then
46284 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46285 if test "$wxUSE_UNIVERSAL" != "yes"; then
46286 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46289 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46290 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46293 SAMPLES_SUBDIRS="console"
46297 if test "x$INTELCC" = "xyes" ; then
46298 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46299 elif test "$GCC" = yes ; then
46300 CWARNINGS="-Wall -Wundef"
46303 if test "x$INTELCXX" = "xyes" ; then
46304 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46305 elif test "$GXX" = yes ; then
46306 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46310 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46311 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46314 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46315 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
46316 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
46319 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46320 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46321 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46323 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46326 if test "x$MWCC" = "xyes"; then
46328 CC="$CC -cwd source -I-"
46329 CXX="$CXX -cwd source -I-"
46334 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46335 EXTRALIBS_XML="$EXPAT_LINK"
46336 EXTRALIBS_HTML="$MSPACK_LINK"
46337 EXTRALIBS_MEDIA="$GST_LIBS"
46338 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46339 if test "$wxUSE_GUI" = "yes"; then
46340 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46342 if test "$wxUSE_OPENGL" = "yes"; then
46343 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46346 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46348 WXCONFIG_LIBS="$LIBS"
46350 if test "$wxUSE_REGEX" = "builtin" ; then
46351 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46353 if test "$wxUSE_EXPAT" = "builtin" ; then
46354 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46356 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46357 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46359 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46360 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46362 if test "$wxUSE_LIBPNG" = "builtin" ; then
46363 wxconfig_3rdparty="png $wxconfig_3rdparty"
46365 if test "$wxUSE_ZLIB" = "builtin" ; then
46366 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46369 for i in $wxconfig_3rdparty ; do
46370 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46374 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46377 case "$wxUNIV_THEMES" in
46379 cat >>confdefs.h <<\_ACEOF
46380 #define wxUSE_ALL_THEMES 1
46386 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46387 cat >>confdefs.h <<_ACEOF
46388 #define wxUSE_THEME_$t 1
46404 if test $wxUSE_MONOLITHIC = "yes" ; then
46410 if test $wxUSE_PLUGINS = "yes" ; then
46416 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46422 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46454 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46465 TOOLKIT_DESC="GTK+"
46466 if test "$WXGTK2" = 1; then
46467 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46468 if test "$wxUSE_GTKPRINT" = "yes" ; then
46469 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46471 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46472 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46474 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46475 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46477 if test "$wxUSE_LIBHILDON" = "yes"; then
46478 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46481 if test "$TOOLKIT_EXTRA" != ""; then
46482 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46488 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46492 TOOLKIT_DESC="base only"
46496 if test "$wxUSE_WINE" = "yes"; then
46497 BAKEFILE_FORCE_PLATFORM=win32
46500 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46502 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46503 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46504 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46505 echo $ECHO_N "(cached) $ECHO_C" >&6
46508 echo '#include <stdio.h>
46509 const wchar_t test_var[] = L"awidetest";' > conftest.h
46511 echo '#include "conftest.h"
46514 printf("%ls", test_var);
46518 wx_cv_gcc_pch_bug="pch not supported"
46520 if $CXX conftest.h >/dev/null 2>&1
46524 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46526 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46527 grep awidetest >/dev/null
46529 wx_cv_gcc_pch_bug=no
46531 wx_cv_gcc_pch_bug=yes
46536 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46539 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46540 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46542 if test "$wx_cv_gcc_pch_bug" = yes; then
46550 if test "x$BAKEFILE_HOST" = "x"; then
46551 if test "x${host}" = "x" ; then
46552 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46553 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46554 { (exit 1); exit 1; }; }
46557 BAKEFILE_HOST="${host}"
46560 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46562 if test -n "$ac_tool_prefix"; then
46563 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46564 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46567 if test "${ac_cv_prog_RANLIB+set}" = set; then
46568 echo $ECHO_N "(cached) $ECHO_C" >&6
46570 if test -n "$RANLIB"; then
46571 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46574 for as_dir in $PATH
46577 test -z "$as_dir" && as_dir=.
46578 for ac_exec_ext in '' $ac_executable_extensions; do
46579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46580 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46590 RANLIB=$ac_cv_prog_RANLIB
46591 if test -n "$RANLIB"; then
46592 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46593 echo "${ECHO_T}$RANLIB" >&6; }
46595 { echo "$as_me:$LINENO: result: no" >&5
46596 echo "${ECHO_T}no" >&6; }
46601 if test -z "$ac_cv_prog_RANLIB"; then
46602 ac_ct_RANLIB=$RANLIB
46603 # Extract the first word of "ranlib", so it can be a program name with args.
46604 set dummy ranlib; ac_word=$2
46605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46607 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46608 echo $ECHO_N "(cached) $ECHO_C" >&6
46610 if test -n "$ac_ct_RANLIB"; then
46611 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46614 for as_dir in $PATH
46617 test -z "$as_dir" && as_dir=.
46618 for ac_exec_ext in '' $ac_executable_extensions; do
46619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46620 ac_cv_prog_ac_ct_RANLIB="ranlib"
46621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46630 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46631 if test -n "$ac_ct_RANLIB"; then
46632 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46633 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46635 { echo "$as_me:$LINENO: result: no" >&5
46636 echo "${ECHO_T}no" >&6; }
46639 if test "x$ac_ct_RANLIB" = x; then
46642 case $cross_compiling:$ac_tool_warned in
46644 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46645 whose name does not start with the host triplet. If you think this
46646 configuration is useful to you, please write to autoconf@gnu.org." >&5
46647 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46648 whose name does not start with the host triplet. If you think this
46649 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46650 ac_tool_warned=yes ;;
46652 RANLIB=$ac_ct_RANLIB
46655 RANLIB="$ac_cv_prog_RANLIB"
46658 # Find a good install program. We prefer a C program (faster),
46659 # so one script is as good as another. But avoid the broken or
46660 # incompatible versions:
46661 # SysV /etc/install, /usr/sbin/install
46662 # SunOS /usr/etc/install
46663 # IRIX /sbin/install
46665 # AmigaOS /C/install, which installs bootblocks on floppy discs
46666 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46667 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46668 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46669 # OS/2's system install, which has a completely different semantic
46670 # ./install, which can be erroneously created by make from ./install.sh.
46671 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46672 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46673 if test -z "$INSTALL"; then
46674 if test "${ac_cv_path_install+set}" = set; then
46675 echo $ECHO_N "(cached) $ECHO_C" >&6
46677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46678 for as_dir in $PATH
46681 test -z "$as_dir" && as_dir=.
46682 # Account for people who put trailing slashes in PATH elements.
46684 ./ | .// | /cC/* | \
46685 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46686 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46689 # OSF1 and SCO ODT 3.0 have their own names for install.
46690 # Don't use installbsd from OSF since it installs stuff as root
46692 for ac_prog in ginstall scoinst install; do
46693 for ac_exec_ext in '' $ac_executable_extensions; do
46694 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46695 if test $ac_prog = install &&
46696 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46697 # AIX install. It has an incompatible calling convention.
46699 elif test $ac_prog = install &&
46700 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46701 # program-specific install script used by HP pwplus--don't use.
46704 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46717 if test "${ac_cv_path_install+set}" = set; then
46718 INSTALL=$ac_cv_path_install
46720 # As a last resort, use the slow shell script. Don't cache a
46721 # value for INSTALL within a source directory, because that will
46722 # break other packages using the cache if that directory is
46723 # removed, or if the value is a relative name.
46724 INSTALL=$ac_install_sh
46727 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46728 echo "${ECHO_T}$INSTALL" >&6; }
46730 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46731 # It thinks the first close brace ends the variable substitution.
46732 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46734 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46736 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46738 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46739 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46741 if test "$LN_S" = "ln -s"; then
46742 { echo "$as_me:$LINENO: result: yes" >&5
46743 echo "${ECHO_T}yes" >&6; }
46745 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46746 echo "${ECHO_T}no, using $LN_S" >&6; }
46750 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46751 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46752 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46753 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46754 echo $ECHO_N "(cached) $ECHO_C" >&6
46756 cat >conftest.make <<\_ACEOF
46759 @echo '@@@%%%=$(MAKE)=@@@%%%'
46761 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46762 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
46763 *@@@%%%=?*=@@@%%%*)
46764 eval ac_cv_prog_make_${ac_make}_set=yes;;
46766 eval ac_cv_prog_make_${ac_make}_set=no;;
46768 rm -f conftest.make
46770 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46771 { echo "$as_me:$LINENO: result: yes" >&5
46772 echo "${ECHO_T}yes" >&6; }
46775 { echo "$as_me:$LINENO: result: no" >&5
46776 echo "${ECHO_T}no" >&6; }
46777 SET_MAKE="MAKE=${MAKE-make}"
46782 if test "x$SUNCXX" = "xyes"; then
46784 AROPTIONS="-xar -o"
46786 elif test "x$SGICC" = "xyes"; then
46791 if test -n "$ac_tool_prefix"; then
46792 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46793 set dummy ${ac_tool_prefix}ar; ac_word=$2
46794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46796 if test "${ac_cv_prog_AR+set}" = set; then
46797 echo $ECHO_N "(cached) $ECHO_C" >&6
46799 if test -n "$AR"; then
46800 ac_cv_prog_AR="$AR" # Let the user override the test.
46802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46803 for as_dir in $PATH
46806 test -z "$as_dir" && as_dir=.
46807 for ac_exec_ext in '' $ac_executable_extensions; do
46808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46809 ac_cv_prog_AR="${ac_tool_prefix}ar"
46810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46820 if test -n "$AR"; then
46821 { echo "$as_me:$LINENO: result: $AR" >&5
46822 echo "${ECHO_T}$AR" >&6; }
46824 { echo "$as_me:$LINENO: result: no" >&5
46825 echo "${ECHO_T}no" >&6; }
46830 if test -z "$ac_cv_prog_AR"; then
46832 # Extract the first word of "ar", so it can be a program name with args.
46833 set dummy ar; ac_word=$2
46834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46836 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46837 echo $ECHO_N "(cached) $ECHO_C" >&6
46839 if test -n "$ac_ct_AR"; then
46840 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46843 for as_dir in $PATH
46846 test -z "$as_dir" && as_dir=.
46847 for ac_exec_ext in '' $ac_executable_extensions; do
46848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46849 ac_cv_prog_ac_ct_AR="ar"
46850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46859 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46860 if test -n "$ac_ct_AR"; then
46861 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46862 echo "${ECHO_T}$ac_ct_AR" >&6; }
46864 { echo "$as_me:$LINENO: result: no" >&5
46865 echo "${ECHO_T}no" >&6; }
46868 if test "x$ac_ct_AR" = x; then
46871 case $cross_compiling:$ac_tool_warned in
46873 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46874 whose name does not start with the host triplet. If you think this
46875 configuration is useful to you, please write to autoconf@gnu.org." >&5
46876 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46877 whose name does not start with the host triplet. If you think this
46878 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46879 ac_tool_warned=yes ;;
46884 AR="$ac_cv_prog_AR"
46891 if test -n "$ac_tool_prefix"; then
46892 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46893 set dummy ${ac_tool_prefix}strip; 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_STRIP+set}" = set; then
46897 echo $ECHO_N "(cached) $ECHO_C" >&6
46899 if test -n "$STRIP"; then
46900 ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ac_tool_prefix}strip"
46910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46919 STRIP=$ac_cv_prog_STRIP
46920 if test -n "$STRIP"; then
46921 { echo "$as_me:$LINENO: result: $STRIP" >&5
46922 echo "${ECHO_T}$STRIP" >&6; }
46924 { echo "$as_me:$LINENO: result: no" >&5
46925 echo "${ECHO_T}no" >&6; }
46930 if test -z "$ac_cv_prog_STRIP"; then
46932 # Extract the first word of "strip", so it can be a program name with args.
46933 set dummy strip; ac_word=$2
46934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46936 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46937 echo $ECHO_N "(cached) $ECHO_C" >&6
46939 if test -n "$ac_ct_STRIP"; then
46940 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46943 for as_dir in $PATH
46946 test -z "$as_dir" && as_dir=.
46947 for ac_exec_ext in '' $ac_executable_extensions; do
46948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46949 ac_cv_prog_ac_ct_STRIP="strip"
46950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46959 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46960 if test -n "$ac_ct_STRIP"; then
46961 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46962 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46964 { echo "$as_me:$LINENO: result: no" >&5
46965 echo "${ECHO_T}no" >&6; }
46968 if test "x$ac_ct_STRIP" = x; then
46971 case $cross_compiling:$ac_tool_warned in
46973 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46974 whose name does not start with the host triplet. If you think this
46975 configuration is useful to you, please write to autoconf@gnu.org." >&5
46976 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46977 whose name does not start with the host triplet. If you think this
46978 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46979 ac_tool_warned=yes ;;
46984 STRIP="$ac_cv_prog_STRIP"
46987 if test -n "$ac_tool_prefix"; then
46988 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46989 set dummy ${ac_tool_prefix}nm; ac_word=$2
46990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46992 if test "${ac_cv_prog_NM+set}" = set; then
46993 echo $ECHO_N "(cached) $ECHO_C" >&6
46995 if test -n "$NM"; then
46996 ac_cv_prog_NM="$NM" # Let the user override the test.
46998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46999 for as_dir in $PATH
47002 test -z "$as_dir" && as_dir=.
47003 for ac_exec_ext in '' $ac_executable_extensions; do
47004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47005 ac_cv_prog_NM="${ac_tool_prefix}nm"
47006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47016 if test -n "$NM"; then
47017 { echo "$as_me:$LINENO: result: $NM" >&5
47018 echo "${ECHO_T}$NM" >&6; }
47020 { echo "$as_me:$LINENO: result: no" >&5
47021 echo "${ECHO_T}no" >&6; }
47026 if test -z "$ac_cv_prog_NM"; then
47028 # Extract the first word of "nm", so it can be a program name with args.
47029 set dummy nm; ac_word=$2
47030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47032 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47033 echo $ECHO_N "(cached) $ECHO_C" >&6
47035 if test -n "$ac_ct_NM"; then
47036 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47039 for as_dir in $PATH
47042 test -z "$as_dir" && as_dir=.
47043 for ac_exec_ext in '' $ac_executable_extensions; do
47044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47045 ac_cv_prog_ac_ct_NM="nm"
47046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47055 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47056 if test -n "$ac_ct_NM"; then
47057 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47058 echo "${ECHO_T}$ac_ct_NM" >&6; }
47060 { echo "$as_me:$LINENO: result: no" >&5
47061 echo "${ECHO_T}no" >&6; }
47064 if test "x$ac_ct_NM" = x; then
47067 case $cross_compiling:$ac_tool_warned in
47069 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47070 whose name does not start with the host triplet. If you think this
47071 configuration is useful to you, please write to autoconf@gnu.org." >&5
47072 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47073 whose name does not start with the host triplet. If you think this
47074 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47075 ac_tool_warned=yes ;;
47080 NM="$ac_cv_prog_NM"
47084 case ${BAKEFILE_HOST} in
47086 INSTALL_DIR="mkdir -p"
47089 INSTALL_DIR='$(INSTALL) -d'
47095 case ${BAKEFILE_HOST} in
47096 *-*-cygwin* | *-*-mingw32* )
47097 LDFLAGS_GUI="-mwindows"
47103 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47104 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47105 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47106 echo $ECHO_N "(cached) $ECHO_C" >&6
47109 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47110 egrep -s GNU > /dev/null); then
47111 bakefile_cv_prog_makeisgnu="yes"
47113 bakefile_cv_prog_makeisgnu="no"
47117 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47118 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47120 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47137 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47138 case "${BAKEFILE_HOST}" in
47145 *-pc-os2_emx | *-pc-os2-emx )
47155 powerpc-apple-macos* )
47164 case "$BAKEFILE_FORCE_PLATFORM" in
47199 # Check whether --enable-omf was given.
47200 if test "${enable_omf+set}" = set; then
47201 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47205 case "${BAKEFILE_HOST}" in
47207 if test "x$GCC" = "xyes"; then
47208 CFLAGS="$CFLAGS -fno-common"
47209 CXXFLAGS="$CXXFLAGS -fno-common"
47211 if test "x$XLCC" = "xyes"; then
47212 CFLAGS="$CFLAGS -qnocommon"
47213 CXXFLAGS="$CXXFLAGS -qnocommon"
47217 *-pc-os2_emx | *-pc-os2-emx )
47218 if test "x$bk_os2_use_omf" = "xyes" ; then
47221 LDFLAGS="-Zomf $LDFLAGS"
47222 CFLAGS="-Zomf $CFLAGS"
47223 CXXFLAGS="-Zomf $CXXFLAGS"
47231 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47237 SO_SUFFIX_MODULE="so"
47242 DLLPREFIX_MODULE=""
47246 case "${BAKEFILE_HOST}" in
47249 SO_SUFFIX_MODULE="sl"
47253 SO_SUFFIX_MODULE="a"
47257 SO_SUFFIX_MODULE="dll"
47258 DLLIMP_SUFFIX="dll.a"
47265 SO_SUFFIX_MODULE="dll"
47266 DLLIMP_SUFFIX="dll.a"
47276 *-pc-os2_emx | *-pc-os2-emx )
47278 SO_SUFFIX_MODULE="dll"
47279 DLLIMP_SUFFIX=$OS2_LIBEXT
47283 LIBEXT=".$OS2_LIBEXT"
47288 SO_SUFFIX_MODULE="bundle"
47292 if test "x$DLLIMP_SUFFIX" = "x" ; then
47293 DLLIMP_SUFFIX="$SO_SUFFIX"
47308 if test "x$GCC" = "xyes"; then
47312 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47313 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47316 case "${BAKEFILE_HOST}" in
47318 if test "x$GCC" != "xyes"; then
47319 LDFLAGS="$LDFLAGS -L/usr/lib"
47321 SHARED_LD_CC="${CC} -b -o"
47322 SHARED_LD_CXX="${CXX} -b -o"
47328 if test "$INTELCC" = "yes"; then
47330 elif test "x$SUNCXX" = "xyes"; then
47331 SHARED_LD_CC="${CC} -G -o"
47332 SHARED_LD_CXX="${CXX} -G -o"
47338 if test "x$SUNCXX" = xyes ; then
47339 SHARED_LD_CC="${CC} -G -o"
47340 SHARED_LD_CXX="${CXX} -G -o"
47348 cat <<EOF >shared-ld-sh
47350 #-----------------------------------------------------------------------------
47351 #-- Name: distrib/mac/shared-ld-sh
47352 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47353 #-- Author: Gilles Depeyrot
47354 #-- Copyright: (c) 2002 Gilles Depeyrot
47355 #-- Licence: any use permitted
47356 #-----------------------------------------------------------------------------
47361 linking_flag="-dynamiclib"
47362 ldargs="-r -keep_private_externs -nostdlib"
47364 while test ${D}# -gt 0; do
47371 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47372 # collect these options and values
47373 args="${D}{args} ${D}1 ${D}2"
47378 # collect these load args
47379 ldargs="${D}{ldargs} ${D}1"
47382 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47383 # collect these options
47384 args="${D}{args} ${D}1"
47387 -dynamiclib|-bundle)
47388 linking_flag="${D}1"
47392 echo "shared-ld: unhandled option '${D}1'"
47396 *.o | *.a | *.dylib)
47397 # collect object files
47398 objects="${D}{objects} ${D}1"
47402 echo "shared-ld: unhandled argument '${D}1'"
47413 # Link one module containing all the others
47415 if test ${D}{verbose} = 1; then
47416 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47418 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47422 # Link the shared library from the single module created, but only if the
47423 # previous command didn't fail:
47425 if test ${D}{status} = 0; then
47426 if test ${D}{verbose} = 1; then
47427 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47429 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47434 # Remove intermediate module
47436 rm -f master.${D}${D}.o
47441 chmod +x shared-ld-sh
47443 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47444 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47447 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47448 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47449 if test "${bakefile_cv_gcc31+set}" = set; then
47450 echo $ECHO_N "(cached) $ECHO_C" >&6
47453 cat >conftest.$ac_ext <<_ACEOF
47456 cat confdefs.h >>conftest.$ac_ext
47457 cat >>conftest.$ac_ext <<_ACEOF
47458 /* end confdefs.h. */
47464 #if (__GNUC__ < 3) || \
47465 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47473 rm -f conftest.$ac_objext
47474 if { (ac_try="$ac_compile"
47475 case "(($ac_try" in
47476 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47477 *) ac_try_echo
=$ac_try;;
47479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47480 (eval "$ac_compile") 2>conftest.er1
47482 grep -v '^ *+' conftest.er1
>conftest.err
47484 cat conftest.err
>&5
47485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47486 (exit $ac_status); } && {
47487 test -z "$ac_c_werror_flag" ||
47488 test ! -s conftest.err
47489 } && test -s conftest.
$ac_objext; then
47491 bakefile_cv_gcc31
=yes
47494 echo "$as_me: failed program was:" >&5
47495 sed 's/^/| /' conftest.
$ac_ext >&5
47498 bakefile_cv_gcc31
=no
47503 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47506 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47507 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47508 if test "$bakefile_cv_gcc31" = "no"; then
47509 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47510 SHARED_LD_CXX
="$SHARED_LD_CC"
47512 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47513 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47516 if test "x$GCC" == "xyes"; then
47517 PIC_FLAG
="-dynamic -fPIC"
47519 if test "x$XLCC" = "xyes"; then
47520 PIC_FLAG
="-dynamic -DPIC"
47525 if test "x$GCC" = "xyes"; then
47528 case "${BAKEFILE_HOST}" in
47530 LD_EXPFULL
="-Wl,-bexpfull"
47534 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
47535 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
47537 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47538 set dummy makeC
++SharedLib
; ac_word
=$2
47539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47541 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47542 echo $ECHO_N "(cached) $ECHO_C" >&6
47544 if test -n "$AIX_CXX_LD"; then
47545 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
47547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47548 for as_dir
in $PATH
47551 test -z "$as_dir" && as_dir
=.
47552 for ac_exec_ext
in '' $ac_executable_extensions; do
47553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47554 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
47555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47562 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
47565 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
47566 if test -n "$AIX_CXX_LD"; then
47567 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47568 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47570 { echo "$as_me:$LINENO: result: no" >&5
47571 echo "${ECHO_T}no" >&6; }
47575 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
47576 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
47581 SHARED_LD_CC
="${LD} -nostart -o"
47582 SHARED_LD_CXX
="${LD} -nostart -o"
47586 if test "x$GCC" != "xyes"; then
47591 *-*-cygwin* | *-*-mingw32* )
47593 SHARED_LD_CC
="\$(CC) -shared -o"
47594 SHARED_LD_CXX
="\$(CXX) -shared -o"
47598 *-pc-os2_emx | *-pc-os2-emx )
47599 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47600 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47604 cat <<EOF >dllar.sh
47607 # dllar - a tool to build both a .dll and an .a file
47608 # from a set of object (.o) files for EMX/OS2.
47610 # Written by Andrew Zabolotny, bit@freya.etu.ru
47611 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47613 # This script will accept a set of files on the command line.
47614 # All the public symbols from the .o files will be exported into
47615 # a .DEF file, then linker will be run (through gcc) against them to
47616 # build a shared library consisting of all given .o files. All libraries
47617 # (.a) will be first decompressed into component .o files then act as
47618 # described above. You can optionally give a description (-d "description")
47619 # which will be put into .DLL. To see the list of accepted options (as well
47620 # as command-line format) simply run this program without options. The .DLL
47621 # is built to be imported by name (there is no guarantee that new versions
47622 # of the library you build will have same ordinals for same symbols).
47624 # dllar is free software; you can redistribute it and/or modify
47625 # it under the terms of the GNU General Public License as published by
47626 # the Free Software Foundation; either version 2, or (at your option)
47627 # any later version.
47629 # dllar is distributed in the hope that it will be useful,
47630 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47631 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47632 # GNU General Public License for more details.
47634 # You should have received a copy of the GNU General Public License
47635 # along with dllar; see the file COPYING. If not, write to the Free
47636 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47639 # To successfuly run this program you will need:
47640 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47641 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47643 # (used to build the .dll)
47645 # (used to create .def file from .o files)
47647 # (used to create .a file from .def file)
47648 # - GNU text utilites (cat, sort, uniq)
47649 # used to process emxexp output
47650 # - GNU file utilities (mv, rm)
47652 # - lxlite (optional, see flag below)
47653 # (used for general .dll cleanup)
47660 # basnam, variant of basename, which does _not_ remove the path, _iff_
47661 # second argument (suffix to remove) is given
47665 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47668 echo ${D}1 | sed 's/'${D}2'${D}//'
47671 echo "error in basnam ${D}*"
47677 # Cleanup temporary files and output
47680 for i in ${D}inputFiles ; do
47683 rm -rf \`basnam ${D}i !\`
47690 # Kill result in case of failure as there is just to many stupid make/nmake
47691 # things out there which doesn't do this.
47692 if [ ${D}# -eq 0 ]; then
47693 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47697 # Print usage and exit script with rc=1.
47699 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47700 echo ' [-name-mangler-script script.sh]'
47701 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47702 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47703 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47704 echo ' [*.o] [*.a]'
47705 echo '*> "output_file" should have no extension.'
47706 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47707 echo ' The import library name is derived from this and is set to "name".a,'
47708 echo ' unless overridden by -import'
47709 echo '*> "importlib_name" should have no extension.'
47710 echo ' If it has the .o, or .a extension, it is automatically removed.'
47711 echo ' This name is used as the import library name and may be longer and'
47712 echo ' more descriptive than the DLL name which has to follow the old '
47713 echo ' 8.3 convention of FAT.'
47714 echo '*> "script.sh may be given to override the output_file name by a'
47715 echo ' different name. It is mainly useful if the regular make process'
47716 echo ' of some package does not take into account OS/2 restriction of'
47717 echo ' DLL name lengths. It takes the importlib name as input and is'
47718 echo ' supposed to procude a shorter name as output. The script should'
47719 echo ' expect to get importlib_name without extension and should produce'
47720 echo ' a (max.) 8 letter name without extension.'
47721 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47722 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47723 echo ' These flags will be put at the start of GCC command line.'
47724 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47725 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47726 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47727 echo ' If the last character of a symbol is "*", all symbols beginning'
47728 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47729 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47730 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47731 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47732 echo ' C runtime DLLs.'
47733 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47734 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47735 echo ' unchanged to GCC at the end of command line.'
47736 echo '*> If you create a DLL from a library and you do not specify -o,'
47737 echo ' the basename for DLL and import library will be set to library name,'
47738 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47739 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47740 echo ' library will be renamed into gcc_s.a.'
47743 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47744 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47749 # Execute a command.
47750 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47751 # @Uses Whatever CleanUp() uses.
47757 if [ ${D}rcCmd -ne 0 ]; then
47758 echo "command failed, exit code="${D}rcCmd
47773 CFLAGS="-s -Zcrtdll"
47775 EXPORT_BY_ORDINALS=0
47780 case ${D}curDirS in
47784 curDirS=${D}{curDirS}"/"
47787 # Parse commandline
47790 while [ ${D}1 ]; do
47793 EXPORT_BY_ORDINALS=1;
47803 -name-mangler-script)
47824 exclude_symbols=${D}{exclude_symbols}${D}1" "
47828 library_flags=${D}{library_flags}${D}1" "
47847 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47850 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47851 if [ ${D}omfLinking -eq 1 ]; then
47852 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47854 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47859 if [ ${D}libsToLink -ne 0 ]; then
47860 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47862 for file in ${D}1 ; do
47863 if [ -f ${D}file ]; then
47864 inputFiles="${D}{inputFiles} ${D}file"
47868 if [ ${D}found -eq 0 ]; then
47869 echo "ERROR: No file(s) found: "${D}1
47876 done # iterate cmdline words
47879 if [ -z "${D}inputFiles" ]; then
47880 echo "dllar: no input files"
47884 # Now extract all .o files from .a files
47886 for file in ${D}inputFiles ; do
47897 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47902 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47904 if [ ${D}? -ne 0 ]; then
47905 echo "Failed to create subdirectory ./${D}dirname"
47909 # Append '!' to indicate archive
47910 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47911 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47914 for subfile in ${D}dirname/*.o* ; do
47915 if [ -f ${D}subfile ]; then
47917 if [ -s ${D}subfile ]; then
47918 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47919 newInputFiles="${D}newInputFiles ${D}subfile"
47923 if [ ${D}found -eq 0 ]; then
47924 echo "WARNING: there are no files in archive \\'${D}file\\'"
47928 newInputFiles="${D}{newInputFiles} ${D}file"
47932 inputFiles="${D}newInputFiles"
47934 # Output filename(s).
47936 if [ -z ${D}outFile ]; then
47938 set outFile ${D}inputFiles; outFile=${D}2
47941 # If it is an archive, remove the '!' and the '_%' suffixes
47942 case ${D}outFile in
47944 outFile=\`basnam ${D}outFile _%!\`
47949 case ${D}outFile in
47951 outFile=\`basnam ${D}outFile .dll\`
47954 outFile=\`basnam ${D}outFile .DLL\`
47957 outFile=\`basnam ${D}outFile .o\`
47960 outFile=\`basnam ${D}outFile .obj\`
47963 outFile=\`basnam ${D}outFile .a\`
47966 outFile=\`basnam ${D}outFile .lib\`
47971 case ${D}outimpFile in
47973 outimpFile=\`basnam ${D}outimpFile .a\`
47976 outimpFile=\`basnam ${D}outimpFile .lib\`
47981 if [ -z ${D}outimpFile ]; then
47982 outimpFile=${D}outFile
47984 defFile="${D}{outFile}.def"
47985 arcFile="${D}{outimpFile}.a"
47986 arcFile2="${D}{outimpFile}.lib"
47988 #create ${D}dllFile as something matching 8.3 restrictions,
47989 if [ -z ${D}renameScript ] ; then
47990 dllFile="${D}outFile"
47992 dllFile=\`${D}renameScript ${D}outimpFile\`
47995 if [ ${D}do_backup -ne 0 ] ; then
47996 if [ -f ${D}arcFile ] ; then
47997 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47999 if [ -f ${D}arcFile2 ] ; then
48000 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48004 # Extract public symbols from all the object files.
48005 tmpdefFile=${D}{defFile}_%
48006 rm -f ${D}tmpdefFile
48007 for file in ${D}inputFiles ; do
48012 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48017 # Create the def file.
48019 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48020 dllFile="${D}{dllFile}.dll"
48021 if [ ! -z ${D}description ]; then
48022 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48024 echo "EXPORTS" >> ${D}defFile
48026 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48027 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48029 # Checks if the export is ok or not.
48030 for word in ${D}exclude_symbols; do
48031 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48032 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48036 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48037 sed "=" < ${D}tmpdefFile | \\
48041 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48043 ' > ${D}{tmpdefFile}%
48044 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48046 rm -f ${D}{tmpdefFile}%
48048 cat ${D}tmpdefFile >> ${D}defFile
48049 rm -f ${D}tmpdefFile
48051 # Do linking, create implib, and apply lxlite.
48053 for file in ${D}inputFiles ; do
48058 gccCmdl="${D}gccCmdl ${D}file"
48062 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48063 touch "${D}{outFile}.dll"
48065 doCommand "emximp -o ${D}arcFile ${D}defFile"
48066 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48068 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48071 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48073 doCommand "emxomf -s -l ${D}arcFile"
48083 powerpc
-apple-macos* | \
48084 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48094 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48095 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48096 { (exit 1); exit 1; }; }
48099 if test "x$PIC_FLAG" != "x" ; then
48100 PIC_FLAG
="$PIC_FLAG -DPIC"
48103 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48104 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48106 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48107 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48126 case "${BAKEFILE_HOST}" in
48127 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
48128 if test "x$SUNCXX" = "xyes"; then
48131 SONAME_FLAG
="-Wl,-soname,"
48166 # Check whether --enable-dependency-tracking was given.
48167 if test "${enable_dependency_tracking+set}" = set; then
48168 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
48172 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48173 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48176 if test "x$bk_use_trackdeps" = "xno" ; then
48178 { echo "$as_me:$LINENO: result: disabled" >&5
48179 echo "${ECHO_T}disabled" >&6; }
48183 if test "x$GCC" = "xyes"; then
48185 case "${BAKEFILE_HOST}" in
48187 DEPSFLAG
="-no-cpp-precomp -MMD"
48193 { echo "$as_me:$LINENO: result: gcc" >&5
48194 echo "${ECHO_T}gcc" >&6; }
48195 elif test "x$MWCC" = "xyes"; then
48198 { echo "$as_me:$LINENO: result: mwcc" >&5
48199 echo "${ECHO_T}mwcc" >&6; }
48200 elif test "x$SUNCC" = "xyes"; then
48203 { echo "$as_me:$LINENO: result: Sun cc" >&5
48204 echo "${ECHO_T}Sun cc" >&6; }
48205 elif test "x$SGICC" = "xyes"; then
48208 { echo "$as_me:$LINENO: result: SGI cc" >&5
48209 echo "${ECHO_T}SGI cc" >&6; }
48210 elif test "x$HPCC" = "xyes"; then
48213 { echo "$as_me:$LINENO: result: HP cc" >&5
48214 echo "${ECHO_T}HP cc" >&6; }
48215 elif test "x$COMPAQCC" = "xyes"; then
48218 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48219 echo "${ECHO_T}Compaq cc" >&6; }
48222 { echo "$as_me:$LINENO: result: none" >&5
48223 echo "${ECHO_T}none" >&6; }
48226 if test $DEPS_TRACKING = 1 ; then
48232 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48233 # script. It is used to track C/C++ files dependencies in portable way.
48235 # Permission is given to use this file in any way.
48237 DEPSMODE=${DEPSMODE}
48239 DEPSFLAG="${DEPSFLAG}"
48241 mkdir -p ${D}DEPSDIR
48243 if test ${D}DEPSMODE = gcc ; then
48244 ${D}* ${D}{DEPSFLAG}
48246 if test ${D}{status} != 0 ; then
48249 # move created file to the location we want it in:
48250 while test ${D}# -gt 0; do
48264 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48265 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48266 if test -f ${D}depfile ; then
48267 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48270 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48271 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48272 if test ! -f ${D}depfile ; then
48273 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48274 depfile="${D}objfile.d"
48276 if test -f ${D}depfile ; then
48277 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48282 elif test ${D}DEPSMODE = mwcc ; then
48283 ${D}* || exit ${D}?
48284 # Run mwcc again with -MM and redirect into the dep file we want
48285 # NOTE: We can't use shift here because we need ${D}* to be valid
48287 for arg in ${D}* ; do
48288 if test "${D}prevarg" = "-o"; then
48301 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48303 elif test ${D}DEPSMODE = unixcc; then
48304 ${D}* || exit ${D}?
48305 # Run compiler again with deps flag and redirect into the dep file.
48306 # It doesn't work if the '-o FILE' option is used, but without it the
48307 # dependency file will contain the wrong name for the object. So it is
48308 # removed from the command line, and the dep file is fixed with sed.
48310 while test ${D}# -gt 0; do
48317 eval arg${D}#=\\${D}1
48318 cmd="${D}cmd \\${D}arg${D}#"
48323 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48332 BK_DEPS
="`pwd`/bk-deps"
48340 case ${BAKEFILE_HOST} in
48341 *-*-cygwin* | *-*-mingw32* )
48342 if test -n "$ac_tool_prefix"; then
48343 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48344 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
48345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48347 if test "${ac_cv_prog_WINDRES+set}" = set; then
48348 echo $ECHO_N "(cached) $ECHO_C" >&6
48350 if test -n "$WINDRES"; then
48351 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
48353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48354 for as_dir
in $PATH
48357 test -z "$as_dir" && as_dir
=.
48358 for ac_exec_ext
in '' $ac_executable_extensions; do
48359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48360 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
48361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48370 WINDRES
=$ac_cv_prog_WINDRES
48371 if test -n "$WINDRES"; then
48372 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48373 echo "${ECHO_T}$WINDRES" >&6; }
48375 { echo "$as_me:$LINENO: result: no" >&5
48376 echo "${ECHO_T}no" >&6; }
48381 if test -z "$ac_cv_prog_WINDRES"; then
48382 ac_ct_WINDRES
=$WINDRES
48383 # Extract the first word of "windres", so it can be a program name with args.
48384 set dummy windres
; ac_word
=$2
48385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48387 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48388 echo $ECHO_N "(cached) $ECHO_C" >&6
48390 if test -n "$ac_ct_WINDRES"; then
48391 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
48393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48394 for as_dir
in $PATH
48397 test -z "$as_dir" && as_dir
=.
48398 for ac_exec_ext
in '' $ac_executable_extensions; do
48399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48400 ac_cv_prog_ac_ct_WINDRES
="windres"
48401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48410 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
48411 if test -n "$ac_ct_WINDRES"; then
48412 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48413 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48415 { echo "$as_me:$LINENO: result: no" >&5
48416 echo "${ECHO_T}no" >&6; }
48419 if test "x$ac_ct_WINDRES" = x
; then
48422 case $cross_compiling:$ac_tool_warned in
48424 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48425 whose name does not start with the host triplet. If you think this
48426 configuration is useful to you, please write to autoconf@gnu.org." >&5
48427 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48428 whose name does not start with the host triplet. If you think this
48429 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48430 ac_tool_warned
=yes ;;
48432 WINDRES
=$ac_ct_WINDRES
48435 WINDRES
="$ac_cv_prog_WINDRES"
48440 *-*-darwin* | powerpc
-apple-macos* )
48441 # Extract the first word of "Rez", so it can be a program name with args.
48442 set dummy Rez
; ac_word
=$2
48443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48445 if test "${ac_cv_prog_REZ+set}" = set; then
48446 echo $ECHO_N "(cached) $ECHO_C" >&6
48448 if test -n "$REZ"; then
48449 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
48451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48452 for as_dir
in $PATH
48455 test -z "$as_dir" && as_dir
=.
48456 for ac_exec_ext
in '' $ac_executable_extensions; do
48457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48458 ac_cv_prog_REZ
="Rez"
48459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48466 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
48469 REZ
=$ac_cv_prog_REZ
48470 if test -n "$REZ"; then
48471 { echo "$as_me:$LINENO: result: $REZ" >&5
48472 echo "${ECHO_T}$REZ" >&6; }
48474 { echo "$as_me:$LINENO: result: no" >&5
48475 echo "${ECHO_T}no" >&6; }
48479 # Extract the first word of "SetFile", so it can be a program name with args.
48480 set dummy SetFile
; ac_word
=$2
48481 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48483 if test "${ac_cv_prog_SETFILE+set}" = set; then
48484 echo $ECHO_N "(cached) $ECHO_C" >&6
48486 if test -n "$SETFILE"; then
48487 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
48489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48490 for as_dir
in $PATH
48493 test -z "$as_dir" && as_dir
=.
48494 for ac_exec_ext
in '' $ac_executable_extensions; do
48495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48496 ac_cv_prog_SETFILE
="SetFile"
48497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48504 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
48507 SETFILE
=$ac_cv_prog_SETFILE
48508 if test -n "$SETFILE"; then
48509 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48510 echo "${ECHO_T}$SETFILE" >&6; }
48512 { echo "$as_me:$LINENO: result: no" >&5
48513 echo "${ECHO_T}no" >&6; }
48525 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.2"
48528 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.2"
48532 # Check whether --enable-precomp-headers was given.
48533 if test "${enable_precomp_headers+set}" = set; then
48534 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
48543 case ${BAKEFILE_HOST} in
48549 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48550 if test "x$GCC" = "xyes"; then
48551 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48552 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48553 cat >conftest.
$ac_ext <<_ACEOF
48556 cat confdefs.h
>>conftest.
$ac_ext
48557 cat >>conftest.
$ac_ext <<_ACEOF
48558 /* end confdefs.h. */
48564 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48565 There is no PCH support
48568 There is no PCH support
48570 #if (__GNUC__ == 3) && \
48571 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48572 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48573 ( defined(__INTEL_COMPILER) )
48574 There is no PCH support
48581 rm -f conftest.
$ac_objext
48582 if { (ac_try
="$ac_compile"
48583 case "(($ac_try" in
48584 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48585 *) ac_try_echo=$ac_try;;
48587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48588 (eval "$ac_compile") 2>conftest.er1
48590 grep -v '^ *+' conftest.er1 >conftest.err
48592 cat conftest.err >&5
48593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48594 (exit $ac_status); } && {
48595 test -z "$ac_c_werror_flag" ||
48596 test ! -s conftest.err
48597 } && test -s conftest.$ac_objext; then
48599 { echo "$as_me:$LINENO: result: yes" >&5
48600 echo "${ECHO_T}yes" >&6; }
48604 echo "$as_me: failed program was:" >&5
48605 sed 's/^/| /' conftest.$ac_ext >&5
48608 cat >conftest.$ac_ext <<_ACEOF
48611 cat confdefs.h >>conftest.$ac_ext
48612 cat >>conftest.$ac_ext <<_ACEOF
48613 /* end confdefs.h. */
48619 #if !defined(__INTEL_COMPILER) || \
48620 (__INTEL_COMPILER < 800)
48621 There is no PCH support
48628 rm -f conftest.$ac_objext
48629 if { (ac_try="$ac_compile"
48630 case "(($ac_try" in
48631 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48632 *) ac_try_echo
=$ac_try;;
48634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48635 (eval "$ac_compile") 2>conftest.er1
48637 grep -v '^ *+' conftest.er1
>conftest.err
48639 cat conftest.err
>&5
48640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48641 (exit $ac_status); } && {
48642 test -z "$ac_c_werror_flag" ||
48643 test ! -s conftest.err
48644 } && test -s conftest.
$ac_objext; then
48646 { echo "$as_me:$LINENO: result: yes" >&5
48647 echo "${ECHO_T}yes" >&6; }
48651 echo "$as_me: failed program was:" >&5
48652 sed 's/^/| /' conftest.
$ac_ext >&5
48655 { echo "$as_me:$LINENO: result: no" >&5
48656 echo "${ECHO_T}no" >&6; }
48660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48665 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48669 cat <<EOF >bk-make-pch
48672 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48673 # script. It is used to generated precompiled headers.
48675 # Permission is given to use this file in any way.
48685 while test ${D}{#} -gt 0; do
48689 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48690 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48691 headerfile="${D}{incdir}/${D}{header}"
48694 -use-pch|-use_pch )
48699 if test ${D}add_to_cmdline = 1 ; then
48700 compiler="${D}{compiler} ${D}{1}"
48705 if test "x${D}{headerfile}" = "x" ; then
48706 echo "error: can't find header ${D}{header} in include paths" >&2
48708 if test -f ${D}{outfile} ; then
48709 rm -f ${D}{outfile}
48711 mkdir -p \`dirname ${D}{outfile}\`
48713 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48715 if test "x${GCC_PCH}" = "x1" ; then
48716 # can do this because gcc is >= 3.4:
48717 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48718 elif test "x${ICC_PCH}" = "x1" ; then
48719 filename=pch_gen-${D}${D}
48720 file=${D}{filename}.c
48721 dfile=${D}{filename}.d
48722 cat > ${D}file <<EOT
48723 #include "${D}header"
48725 # using -MF icc complains about differing command lines in creation/use
48726 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48727 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48728 rm -f ${D}file ${D}dfile ${D}{filename}.o
48734 chmod +x bk
-make-pch
48735 BK_MAKE_PCH
="`pwd`/bk-make-pch"
48744 COND_BUILD_DEBUG
="#"
48745 if test "x$BUILD" = "xdebug" ; then
48746 COND_BUILD_DEBUG
=""
48749 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
48750 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48751 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
48754 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
48755 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48756 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
48759 COND_BUILD_DEBUG_UNICODE_0
="#"
48760 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48761 COND_BUILD_DEBUG_UNICODE_0
=""
48764 COND_BUILD_DEBUG_UNICODE_1
="#"
48765 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48766 COND_BUILD_DEBUG_UNICODE_1
=""
48769 COND_BUILD_RELEASE
="#"
48770 if test "x$BUILD" = "xrelease" ; then
48771 COND_BUILD_RELEASE
=""
48774 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
48775 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48776 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
48779 COND_BUILD_RELEASE_UNICODE_0
="#"
48780 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48781 COND_BUILD_RELEASE_UNICODE_0
=""
48784 COND_BUILD_RELEASE_UNICODE_1
="#"
48785 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48786 COND_BUILD_RELEASE_UNICODE_1
=""
48789 COND_DEBUG_FLAG_1
="#"
48790 if test "x$DEBUG_FLAG" = "x1" ; then
48791 COND_DEBUG_FLAG_1
=""
48794 COND_DEBUG_INFO_0
="#"
48795 if test "x$DEBUG_INFO" = "x0" ; then
48796 COND_DEBUG_INFO_0
=""
48799 COND_DEBUG_INFO_1
="#"
48800 if test "x$DEBUG_INFO" = "x1" ; then
48801 COND_DEBUG_INFO_1
=""
48804 COND_DEPS_TRACKING_0
="#"
48805 if test "x$DEPS_TRACKING" = "x0" ; then
48806 COND_DEPS_TRACKING_0
=""
48809 COND_DEPS_TRACKING_1
="#"
48810 if test "x$DEPS_TRACKING" = "x1" ; then
48811 COND_DEPS_TRACKING_1
=""
48815 if test "x$GCC_PCH" = "x1" ; then
48820 if test "x$ICC_PCH" = "x1" ; then
48824 COND_MONOLITHIC_0
="#"
48825 if test "x$MONOLITHIC" = "x0" ; then
48826 COND_MONOLITHIC_0
=""
48829 COND_MONOLITHIC_0_SHARED_0
="#"
48830 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48831 COND_MONOLITHIC_0_SHARED_0
=""
48834 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
48835 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48836 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
48839 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
48840 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
48844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
48845 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
48849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
48850 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
48854 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
48855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48856 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
48859 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
48860 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48861 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
48864 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
48865 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48866 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
48869 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
48870 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48871 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
48874 COND_MONOLITHIC_0_SHARED_1
="#"
48875 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48876 COND_MONOLITHIC_0_SHARED_1
=""
48879 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
48880 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48881 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
48884 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
48885 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48886 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
48889 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
48890 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48891 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
48894 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
48895 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48896 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
48899 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
48900 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48901 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
48904 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
48905 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48906 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
48909 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
48910 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48911 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
48914 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
48915 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48916 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
48919 COND_MONOLITHIC_0_USE_AUI_1
="#"
48920 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48921 COND_MONOLITHIC_0_USE_AUI_1
=""
48924 COND_MONOLITHIC_0_USE_GUI_1
="#"
48925 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48926 COND_MONOLITHIC_0_USE_GUI_1
=""
48929 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
48930 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48931 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
48934 COND_MONOLITHIC_0_USE_HTML_1
="#"
48935 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48936 COND_MONOLITHIC_0_USE_HTML_1
=""
48939 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
48940 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48941 COND_MONOLITHIC_0_USE_MEDIA_1
=""
48944 COND_MONOLITHIC_0_USE_QA_1
="#"
48945 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48946 COND_MONOLITHIC_0_USE_QA_1
=""
48949 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
48950 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48951 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
48954 COND_MONOLITHIC_0_USE_STC_1
="#"
48955 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48956 COND_MONOLITHIC_0_USE_STC_1
=""
48959 COND_MONOLITHIC_0_USE_XRC_1
="#"
48960 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48961 COND_MONOLITHIC_0_USE_XRC_1
=""
48964 COND_MONOLITHIC_1
="#"
48965 if test "x$MONOLITHIC" = "x1" ; then
48966 COND_MONOLITHIC_1
=""
48969 COND_MONOLITHIC_1_SHARED_0
="#"
48970 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48971 COND_MONOLITHIC_1_SHARED_0
=""
48974 COND_MONOLITHIC_1_SHARED_1
="#"
48975 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48976 COND_MONOLITHIC_1_SHARED_1
=""
48979 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
48980 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48981 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
48984 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
48985 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48986 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
48989 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
48990 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48991 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
48994 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
48995 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48996 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
48999 COND_PLATFORM_MACOSX_1
="#"
49000 if test "x$PLATFORM_MACOSX" = "x1" ; then
49001 COND_PLATFORM_MACOSX_1
=""
49004 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
49005 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49006 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
49009 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
49010 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49011 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
49014 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
49015 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49016 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
49019 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
49020 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49021 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
49024 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
49025 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49026 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
49029 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
49030 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49031 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49034 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49035 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49036 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49039 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49040 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49041 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49044 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49045 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49046 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49049 COND_PLATFORM_MACOS_1
="#"
49050 if test "x$PLATFORM_MACOS" = "x1" ; then
49051 COND_PLATFORM_MACOS_1
=""
49054 COND_PLATFORM_MAC_1
="#"
49055 if test "x$PLATFORM_MAC" = "x1" ; then
49056 COND_PLATFORM_MAC_1
=""
49059 COND_PLATFORM_MSDOS_1
="#"
49060 if test "x$PLATFORM_MSDOS" = "x1" ; then
49061 COND_PLATFORM_MSDOS_1
=""
49064 COND_PLATFORM_OS2_1
="#"
49065 if test "x$PLATFORM_OS2" = "x1" ; then
49066 COND_PLATFORM_OS2_1
=""
49069 COND_PLATFORM_UNIX_0
="#"
49070 if test "x$PLATFORM_UNIX" = "x0" ; then
49071 COND_PLATFORM_UNIX_0
=""
49074 COND_PLATFORM_UNIX_1
="#"
49075 if test "x$PLATFORM_UNIX" = "x1" ; then
49076 COND_PLATFORM_UNIX_1
=""
49079 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
49080 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49081 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
49084 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
49085 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49086 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
49089 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49090 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49091 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49094 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49095 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49096 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49099 COND_PLATFORM_WIN32_0
="#"
49100 if test "x$PLATFORM_WIN32" = "x0" ; then
49101 COND_PLATFORM_WIN32_0
=""
49104 COND_PLATFORM_WIN32_1
="#"
49105 if test "x$PLATFORM_WIN32" = "x1" ; then
49106 COND_PLATFORM_WIN32_1
=""
49110 if test "x$SHARED" = "x0" ; then
49114 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49115 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49116 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49119 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49120 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49121 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49124 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49125 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49126 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49129 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49130 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49131 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49134 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49135 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49136 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49139 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49140 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49141 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49144 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49145 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49146 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49149 COND_SHARED_0_USE_STC_1
="#"
49150 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49151 COND_SHARED_0_USE_STC_1
=""
49154 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49155 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49156 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49159 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49160 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49161 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49164 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49165 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49166 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49170 if test "x$SHARED" = "x1" ; then
49174 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49175 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49176 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49180 if test "x$TOOLKIT" = "x" ; then
49184 COND_TOOLKIT_COCOA
="#"
49185 if test "x$TOOLKIT" = "xCOCOA" ; then
49186 COND_TOOLKIT_COCOA
=""
49189 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49190 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49191 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49194 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49195 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49196 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49199 COND_TOOLKIT_DFB
="#"
49200 if test "x$TOOLKIT" = "xDFB" ; then
49201 COND_TOOLKIT_DFB
=""
49204 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49205 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49206 COND_TOOLKIT_DFB_USE_GUI_1
=""
49209 COND_TOOLKIT_GTK
="#"
49210 if test "x$TOOLKIT" = "xGTK" ; then
49211 COND_TOOLKIT_GTK
=""
49214 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49215 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49216 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49219 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49220 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49221 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49224 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49225 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49226 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49229 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49230 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49231 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49234 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
49235 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49236 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
49239 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49240 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49241 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49244 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49245 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49246 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49249 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49250 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49251 COND_TOOLKIT_GTK_USE_GUI_1
=""
49254 COND_TOOLKIT_MAC
="#"
49255 if test "x$TOOLKIT" = "xMAC" ; then
49256 COND_TOOLKIT_MAC
=""
49259 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49260 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49261 COND_TOOLKIT_MAC_USE_GUI_1
=""
49264 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49265 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49266 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49269 COND_TOOLKIT_MGL
="#"
49270 if test "x$TOOLKIT" = "xMGL" ; then
49271 COND_TOOLKIT_MGL
=""
49274 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49275 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49276 COND_TOOLKIT_MGL_USE_GUI_1
=""
49279 COND_TOOLKIT_MOTIF
="#"
49280 if test "x$TOOLKIT" = "xMOTIF" ; then
49281 COND_TOOLKIT_MOTIF
=""
49284 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49285 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49286 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49289 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49290 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49291 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49294 COND_TOOLKIT_MSW
="#"
49295 if test "x$TOOLKIT" = "xMSW" ; then
49296 COND_TOOLKIT_MSW
=""
49299 COND_TOOLKIT_MSW_USE_GUI_1
="#"
49300 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49301 COND_TOOLKIT_MSW_USE_GUI_1
=""
49304 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
49305 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49306 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
49309 COND_TOOLKIT_MSW_WXUNIV_0
="#"
49310 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49311 COND_TOOLKIT_MSW_WXUNIV_0
=""
49314 COND_TOOLKIT_PM
="#"
49315 if test "x$TOOLKIT" = "xPM" ; then
49319 COND_TOOLKIT_PM_USE_GUI_1
="#"
49320 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49321 COND_TOOLKIT_PM_USE_GUI_1
=""
49324 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
49325 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49326 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
49329 COND_TOOLKIT_WINCE
="#"
49330 if test "x$TOOLKIT" = "xWINCE" ; then
49331 COND_TOOLKIT_WINCE
=""
49334 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
49335 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49336 COND_TOOLKIT_WINCE_USE_GUI_1
=""
49339 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
49340 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49341 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
49344 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
49345 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49346 COND_TOOLKIT_WINCE_WXUNIV_0
=""
49349 COND_TOOLKIT_X11
="#"
49350 if test "x$TOOLKIT" = "xX11" ; then
49351 COND_TOOLKIT_X11
=""
49354 COND_TOOLKIT_X11_USE_GUI_1
="#"
49355 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49356 COND_TOOLKIT_X11_USE_GUI_1
=""
49360 if test "x$UNICODE" = "x1" ; then
49364 COND_USE_EXCEPTIONS_0
="#"
49365 if test "x$USE_EXCEPTIONS" = "x0" ; then
49366 COND_USE_EXCEPTIONS_0
=""
49369 COND_USE_EXCEPTIONS_1
="#"
49370 if test "x$USE_EXCEPTIONS" = "x1" ; then
49371 COND_USE_EXCEPTIONS_1
=""
49375 if test "x$USE_GUI" = "x0" ; then
49380 if test "x$USE_GUI" = "x1" ; then
49384 COND_USE_GUI_1_USE_OPENGL_1
="#"
49385 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49386 COND_USE_GUI_1_USE_OPENGL_1
=""
49389 COND_USE_GUI_1_WXUNIV_0
="#"
49390 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49391 COND_USE_GUI_1_WXUNIV_0
=""
49394 COND_USE_GUI_1_WXUNIV_1
="#"
49395 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49396 COND_USE_GUI_1_WXUNIV_1
=""
49399 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49400 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49401 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49404 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49405 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49406 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49409 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49410 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49411 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49415 if test "x$USE_PCH" = "x1" ; then
49419 COND_USE_PLUGINS_0
="#"
49420 if test "x$USE_PLUGINS" = "x0" ; then
49421 COND_USE_PLUGINS_0
=""
49424 COND_USE_RTTI_0
="#"
49425 if test "x$USE_RTTI" = "x0" ; then
49429 COND_USE_RTTI_1
="#"
49430 if test "x$USE_RTTI" = "x1" ; then
49434 COND_USE_SOSYMLINKS_1
="#"
49435 if test "x$USE_SOSYMLINKS" = "x1" ; then
49436 COND_USE_SOSYMLINKS_1
=""
49439 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
49440 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49441 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
49444 COND_USE_SOVERLINUX_1
="#"
49445 if test "x$USE_SOVERLINUX" = "x1" ; then
49446 COND_USE_SOVERLINUX_1
=""
49449 COND_USE_SOVERSION_0
="#"
49450 if test "x$USE_SOVERSION" = "x0" ; then
49451 COND_USE_SOVERSION_0
=""
49454 COND_USE_SOVERSOLARIS_1
="#"
49455 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49456 COND_USE_SOVERSOLARIS_1
=""
49460 if test "x$USE_STC" = "x1" ; then
49464 COND_USE_THREADS_0
="#"
49465 if test "x$USE_THREADS" = "x0" ; then
49466 COND_USE_THREADS_0
=""
49469 COND_USE_THREADS_1
="#"
49470 if test "x$USE_THREADS" = "x1" ; then
49471 COND_USE_THREADS_1
=""
49475 if test "x$USE_XRC" = "x1" ; then
49479 COND_WINDOWS_IMPLIB_1
="#"
49480 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49481 COND_WINDOWS_IMPLIB_1
=""
49484 COND_WITH_PLUGIN_SDL_1
="#"
49485 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49486 COND_WITH_PLUGIN_SDL_1
=""
49490 if test "x$WXUNIV" = "x0" ; then
49495 if test "x$WXUNIV" = "x1" ; then
49499 COND_WXUSE_EXPAT_BUILTIN
="#"
49500 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49501 COND_WXUSE_EXPAT_BUILTIN
=""
49504 COND_WXUSE_LIBJPEG_BUILTIN
="#"
49505 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49506 COND_WXUSE_LIBJPEG_BUILTIN
=""
49509 COND_WXUSE_LIBPNG_BUILTIN
="#"
49510 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49511 COND_WXUSE_LIBPNG_BUILTIN
=""
49514 COND_WXUSE_LIBTIFF_BUILTIN
="#"
49515 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49516 COND_WXUSE_LIBTIFF_BUILTIN
=""
49519 COND_WXUSE_REGEX_BUILTIN
="#"
49520 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49521 COND_WXUSE_REGEX_BUILTIN
=""
49524 COND_WXUSE_ZLIB_BUILTIN
="#"
49525 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49526 COND_WXUSE_ZLIB_BUILTIN
=""
49531 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49532 { { 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
49533 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;}
49534 { (exit 1); exit 1; }; }
49537 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49538 { { 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
49539 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;}
49540 { (exit 1); exit 1; }; }
49547 ?
:* ) # Drive letter, considered as absolute.
49550 INSTALL
=`pwd`/${INSTALL} ;;
49553 if test "$wxUSE_GUI" = "yes"; then
49555 if test "$wxUSE_MSW" = 1 ; then
49556 if test "x$WINDRES" = "x"; then
49557 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49558 echo "$as_me: error: Required windres program not found" >&2;}
49559 { (exit 1); exit 1; }; }
49565 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49566 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49567 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49569 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49571 # Extract the first word of "DeRez", so it can be a program name with args.
49572 set dummy DeRez
; ac_word
=$2
49573 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49575 if test "${ac_cv_prog_DEREZ+set}" = set; then
49576 echo $ECHO_N "(cached) $ECHO_C" >&6
49578 if test -n "$DEREZ"; then
49579 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
49581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49582 for as_dir
in $PATH
49585 test -z "$as_dir" && as_dir
=.
49586 for ac_exec_ext
in '' $ac_executable_extensions; do
49587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49588 ac_cv_prog_DEREZ
="DeRez"
49589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49596 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
49599 DEREZ
=$ac_cv_prog_DEREZ
49600 if test -n "$DEREZ"; then
49601 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49602 echo "${ECHO_T}$DEREZ" >&6; }
49604 { echo "$as_me:$LINENO: result: no" >&5
49605 echo "${ECHO_T}no" >&6; }
49610 MACSETFILE
="\$(SETFILE)"
49612 if test "$wxUSE_MAC" = 1; then
49613 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49615 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
49617 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49618 RESCOMP
="cat /dev/null \| $REZ"
49619 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49625 if test "$wxUSE_PM" = 1; then
49627 WXCONFIG_RESFLAGS
="-ep"
49629 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
49631 POSTLINK_COMMAND
="@true"
49638 if test $GCC_PCH = 1
49640 if test "$wx_cv_gcc_pch_bug" = yes; then
49641 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49642 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49643 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49644 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49645 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49646 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49649 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
49653 if test "$wxUSE_MAC" = 1 ; then
49654 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49655 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
49661 if test "$wxUSE_SHARED" = "yes"; then
49663 *-pc-os2_emx | *-pc-os2-emx )
49664 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49665 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49666 cp -p ${srcdir}/src
/os
2/dllnames.sh .
49667 cp -p ${srcdir}/src
/os
2/dllar.sh .
49671 if test "$wxUSE_OMF" = "yes"; then
49673 *-pc-os2_emx | *-pc-os2-emx )
49674 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
49675 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49676 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49681 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49686 if test "$GCC" = yes; then
49687 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
49688 LIBS
=`echo $LIBS | sed 's/-mt//'`
49689 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49694 if test "x$SUNCXX" = xyes
; then
49695 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
49696 LIBS
=`echo $LIBS | sed 's/-pthread//'`
49697 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49702 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
49703 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49705 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49766 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49767 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49768 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49769 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49770 echo $ECHO_N "(cached) $ECHO_C" >&6
49772 cat >conftest.
make <<\_ACEOF
49775 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49777 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49778 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49779 *@@@
%%%=?
*=@@@
%%%*)
49780 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49782 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49784 rm -f conftest.
make
49786 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49787 { echo "$as_me:$LINENO: result: yes" >&5
49788 echo "${ECHO_T}yes" >&6; }
49791 { echo "$as_me:$LINENO: result: no" >&5
49792 echo "${ECHO_T}no" >&6; }
49793 SET_MAKE
="MAKE=${MAKE-make}"
49798 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49801 if test "$USE_WIN32" = 1; then
49802 ac_config_commands
="$ac_config_commands
49808 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49811 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49814 if test "$wx_cv_version_script" = "yes"; then
49815 ac_config_files
="$ac_config_files version-script"
49818 ac_config_files
="$ac_config_files Makefile"
49821 ac_config_commands
="$ac_config_commands wx-config"
49825 if test "$wxWITH_SUBDIRS" != "no"; then
49826 if test "$wxUSE_GUI" = "yes"; then
49827 SUBDIRS
="samples demos utils"
49829 SUBDIRS
="samples utils"
49834 # Check whether --with-cppunit-prefix was given.
49835 if test "${with_cppunit_prefix+set}" = set; then
49836 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
49838 cppunit_config_prefix
=""
49842 # Check whether --with-cppunit-exec-prefix was given.
49843 if test "${with_cppunit_exec_prefix+set}" = set; then
49844 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
49846 cppunit_config_exec_prefix
=""
49850 if test x
$cppunit_config_exec_prefix != x
; then
49851 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49852 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49853 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
49856 if test x
$cppunit_config_prefix != x
; then
49857 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
49858 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49859 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
49863 # Extract the first word of "cppunit-config", so it can be a program name with args.
49864 set dummy cppunit
-config; ac_word
=$2
49865 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49867 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49868 echo $ECHO_N "(cached) $ECHO_C" >&6
49870 case $CPPUNIT_CONFIG in
49872 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49876 for as_dir
in $PATH
49879 test -z "$as_dir" && as_dir
=.
49880 for ac_exec_ext
in '' $ac_executable_extensions; do
49881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49882 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49890 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
49894 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
49895 if test -n "$CPPUNIT_CONFIG"; then
49896 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49897 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49899 { echo "$as_me:$LINENO: result: no" >&5
49900 echo "${ECHO_T}no" >&6; }
49904 cppunit_version_min
=1.8.0
49906 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49907 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49909 if test "$CPPUNIT_CONFIG" = "no" ; then
49910 { echo "$as_me:$LINENO: result: no" >&5
49911 echo "${ECHO_T}no" >&6; }
49914 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
49915 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
49916 cppunit_version
=`$CPPUNIT_CONFIG --version`
49918 cppunit_major_version
=`echo $cppunit_version | \
49919 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49920 cppunit_minor_version
=`echo $cppunit_version | \
49921 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49922 cppunit_micro_version
=`echo $cppunit_version | \
49923 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49925 cppunit_major_min
=`echo $cppunit_version_min | \
49926 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49927 cppunit_minor_min
=`echo $cppunit_version_min | \
49928 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49929 cppunit_micro_min
=`echo $cppunit_version_min | \
49930 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49932 cppunit_version_proper
=`expr \
49933 $cppunit_major_version \> $cppunit_major_min \| \
49934 $cppunit_major_version \= $cppunit_major_min \& \
49935 $cppunit_minor_version \> $cppunit_minor_min \| \
49936 $cppunit_major_version \= $cppunit_major_min \& \
49937 $cppunit_minor_version \= $cppunit_minor_min \& \
49938 $cppunit_micro_version \>= $cppunit_micro_min `
49940 if test "$cppunit_version_proper" = "1" ; then
49941 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49942 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49944 { echo "$as_me:$LINENO: result: no" >&5
49945 echo "${ECHO_T}no" >&6; }
49950 if test "x$no_cppunit" = x
; then
49951 SUBDIRS
="$SUBDIRS tests"
49962 for subdir
in $SUBDIRS; do
49963 if test -d ${srcdir}/${subdir} ; then
49964 if test "$wxUSE_GUI" = "yes"; then
49965 if test ${subdir} = "samples"; then
49966 makefiles
="samples/Makefile.in $makefiles"
49967 for sample
in $SAMPLES_SUBDIRS; do
49968 if test -d $srcdir/samples
/$sample; then
49969 makefiles
="samples/$sample/Makefile.in $makefiles"
49973 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
49974 eval "disabled=\$$disabled_var"
49975 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
49976 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49979 if test ${subdir} = "samples"; then
49980 makefiles
="samples/Makefile.in samples/console/Makefile.in"
49981 elif test ${subdir} = "utils"; then
49983 for util
in HelpGen tex2rtf
; do
49984 if test -d $srcdir/utils
/$util ; then
49985 makefiles
="utils/$util/Makefile.in \
49986 utils/$util/src/Makefile.in \
49991 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
49995 for mkin
in $makefiles ; do
49996 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49997 ac_config_files
="$ac_config_files $mk"
50003 cat >confcache
<<\_ACEOF
50004 # This file is a shell script that caches the results of configure
50005 # tests run on this system so they can be shared between configure
50006 # scripts and configure runs, see configure's option --config-cache.
50007 # It is not useful on other systems. If it contains results you don't
50008 # want to keep, you may remove or edit it.
50010 # config.status only pays attention to the cache file if you give it
50011 # the --recheck option to rerun configure.
50013 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50014 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50015 # following values.
50019 # The following way of writing the cache mishandles newlines in values,
50020 # but we know of no workaround that is simple, portable, and efficient.
50021 # So, we kill variables containing newlines.
50022 # Ultrix sh set writes to stderr and can't be redirected directly,
50023 # and sets the high bit in the cache file unless we assign to the vars.
50025 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50026 eval ac_val
=\$
$ac_var
50030 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50031 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50034 _
| IFS
| as_nl
) ;; #(
50035 *) $as_unset $ac_var ;;
50041 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50042 *${as_nl}ac_space
=\
*)
50043 # `set' does not quote correctly, so add quotes (double-quote
50044 # substitution turns \\\\ into \\, and sed turns \\ into \).
50047 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50050 # `set' quotes correctly as required by POSIX, so do not add quotes.
50051 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50060 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50062 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50064 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
50065 if test -w "$cache_file"; then
50066 test "x$cache_file" != "x/dev/null" &&
50067 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50068 echo "$as_me: updating cache $cache_file" >&6;}
50069 cat confcache
>$cache_file
50071 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50072 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50077 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50078 # Let make expand exec_prefix.
50079 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50081 DEFS
=-DHAVE_CONFIG_H
50085 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50086 # 1. Remove the extension, and $U if already installed.
50087 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
50088 ac_i
=`echo "$ac_i" | sed "$ac_script"`
50089 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50090 # will be set to the directory where LIBOBJS objects are built.
50091 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50092 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50094 LIBOBJS
=$ac_libobjs
50096 LTLIBOBJS
=$ac_ltlibobjs
50100 : ${CONFIG_STATUS=./config.status}
50101 ac_clean_files_save
=$ac_clean_files
50102 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50103 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50104 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50105 cat >$CONFIG_STATUS <<_ACEOF
50107 # Generated by $as_me.
50108 # Run this file to recreate the current configuration.
50109 # Compiler output produced by configure, useful for debugging
50110 # configure, is in config.log if it exists.
50113 ac_cs_recheck=false
50115 SHELL=\${CONFIG_SHELL-$SHELL}
50118 cat >>$CONFIG_STATUS <<\_ACEOF
50119 ## --------------------- ##
50120 ## M4sh Initialization. ##
50121 ## --------------------- ##
50123 # Be more Bourne compatible
50124 DUALCASE
=1; export DUALCASE
# for MKS sh
50125 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50128 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50129 # is contrary to our usage. Disable this feature.
50130 alias -g '${1+"$@"}'='"$@"'
50131 setopt NO_GLOB_SUBST
50133 case `(set -o) 2>/dev/null` in
50134 *posix
*) set -o posix
;;
50143 # Avoid depending upon Character Ranges.
50144 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50145 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50146 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50147 as_cr_digits
='0123456789'
50148 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50150 # The user is always right.
50151 if test "${PATH_SEPARATOR+set}" != set; then
50152 echo "#! /bin/sh" >conf$$.sh
50153 echo "exit 0" >>conf$$.sh
50155 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50163 # Support unset when possible.
50164 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50172 # We need space, tab and new line, in precisely that order. Quoting is
50173 # there to prevent editors from complaining about space-tab.
50174 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50175 # splitting by setting IFS to empty value.)
50180 # Find who we are. Look in the path if we contain no directory separator.
50182 *[\\/]* ) as_myself
=$0 ;;
50183 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50184 for as_dir
in $PATH
50187 test -z "$as_dir" && as_dir
=.
50188 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50194 # We did not find ourselves, most probably we were run as `sh COMMAND'
50195 # in which case we are not to be found in the path.
50196 if test "x$as_myself" = x
; then
50199 if test ! -f "$as_myself"; then
50200 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50201 { (exit 1); exit 1; }
50204 # Work around bugs in pre-3.0 UWIN ksh.
50205 for as_var
in ENV MAIL MAILPATH
50206 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50214 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50215 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50216 LC_TELEPHONE LC_TIME
50218 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50219 eval $as_var=C
; export $as_var
50221 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50225 # Required to use basename.
50226 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50227 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50233 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50234 as_basename
=basename
50240 # Name of the executable.
50241 as_me
=`$as_basename -- "$0" ||
50242 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50243 X"$0" : 'X\(//\)$' \| \
50244 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50246 sed '/^.*\/\([^/][^/]*\)\/*$/{
50265 as_lineno_1
=$LINENO
50266 as_lineno_2
=$LINENO
50267 test "x$as_lineno_1" != "x$as_lineno_2" &&
50268 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50270 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50271 # uniformly replaced by the line number. The first 'sed' inserts a
50272 # line-number line after each line using $LINENO; the second 'sed'
50273 # does the real work. The second script uses 'N' to pair each
50274 # line-number line with the line containing $LINENO, and appends
50275 # trailing '-' during substitution so that $LINENO is not a special
50276 # case at line end.
50277 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50278 # scripts with optimization help from Paolo Bonzini. Blame Lee
50279 # E. McMahon (1931-1989) for sed's syntax. :-)
50291 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50294 ' >$as_me.lineno
&&
50295 chmod +x
"$as_me.lineno" ||
50296 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50297 { (exit 1); exit 1; }; }
50299 # Don't try to exec as it changes $[0], causing all sort of problems
50300 # (the dirname of $[0] is not the place where we might find the
50301 # original and so on. Autoconf is especially sensitive to this).
50302 .
"./$as_me.lineno"
50303 # Exit status is that of the last command.
50308 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
50314 ECHO_C
= ECHO_N
= ECHO_T
=
50315 case `echo -n x` in
50317 case `echo 'x\c'` in
50318 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
50325 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50326 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50332 rm -f conf$$ conf$$.exe conf$$.
file
50333 if test -d conf$$.dir
; then
50334 rm -f conf$$.dir
/conf$$.
file
50340 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50342 # ... but there are two gotchas:
50343 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50344 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50345 # In both cases, we have to default to `cp -p'.
50346 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
50348 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50353 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
50354 rmdir conf$$.dir
2>/dev
/null
50356 if mkdir -p .
2>/dev
/null
; then
50359 test -d .
/-p && rmdir .
/-p
50363 if test -x / >/dev
/null
2>&1; then
50364 as_test_x
='test -x'
50366 if ls -dL / >/dev
/null
2>&1; then
50373 if test -d "$1"; then
50379 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50380 ???[sx]*):;;*)false;;esac;fi
50384 as_executable_p
=$as_test_x
50386 # Sed expression to map a string onto a valid CPP name.
50387 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50389 # Sed expression to map a string onto a valid variable name.
50390 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50395 # Save the log message, to keep $[0] and so on meaningful, and to
50396 # report actual input values of CONFIG_FILES etc. instead of their
50397 # values after options handling.
50399 This file was extended by wxWidgets $as_me 2.9.0, which was
50400 generated by GNU Autoconf 2.61. Invocation command line was
50402 CONFIG_FILES = $CONFIG_FILES
50403 CONFIG_HEADERS = $CONFIG_HEADERS
50404 CONFIG_LINKS = $CONFIG_LINKS
50405 CONFIG_COMMANDS = $CONFIG_COMMANDS
50408 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50413 cat >>$CONFIG_STATUS <<_ACEOF
50414 # Files that config.status was made for.
50415 config_files="$ac_config_files"
50416 config_headers="$ac_config_headers"
50417 config_commands="$ac_config_commands"
50421 cat >>$CONFIG_STATUS <<\_ACEOF
50423 \`$as_me' instantiates files from templates according to the
50424 current configuration.
50426 Usage: $0 [OPTIONS] [FILE]...
50428 -h, --help print this help, then exit
50429 -V, --version print version number and configuration settings, then exit
50430 -q, --quiet do not print progress messages
50431 -d, --debug don't remove temporary files
50432 --recheck update $as_me by reconfiguring in the same conditions
50433 --file=FILE[:TEMPLATE]
50434 instantiate the configuration file FILE
50435 --header=FILE[:TEMPLATE]
50436 instantiate the configuration header FILE
50438 Configuration files:
50441 Configuration headers:
50444 Configuration commands:
50447 Report bugs to <bug-autoconf@gnu.org>."
50450 cat >>$CONFIG_STATUS <<_ACEOF
50452 wxWidgets config.status 2.9.0
50453 configured by $0, generated by GNU Autoconf 2.61,
50454 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50456 Copyright (C) 2006 Free Software Foundation, Inc.
50457 This config.status script is free software; the Free Software Foundation
50458 gives unlimited permission to copy, distribute and modify it."
50465 cat >>$CONFIG_STATUS <<\_ACEOF
50466 # If no file are specified by the user, then we need to provide default
50467 # value. By we need to know if files were specified by the user.
50473 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
50474 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
50485 # Handling of the options.
50486 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50488 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50489 echo "$ac_cs_version"; exit ;;
50490 --debug | --debu | --deb | --de | --d | -d )
50492 --file | --fil | --fi | --f )
50494 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
50495 ac_need_defaults
=false
;;
50496 --header | --heade | --head | --hea )
50498 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
50499 ac_need_defaults
=false
;;
50501 # Conflict between --help and --header
50502 { echo "$as_me: error: ambiguous option: $1
50503 Try \`$0 --help' for more information." >&2
50504 { (exit 1); exit 1; }; };;
50505 --help | --hel | -h )
50506 echo "$ac_cs_usage"; exit ;;
50507 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50508 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50511 # This is an error.
50512 -*) { echo "$as_me: error: unrecognized option: $1
50513 Try \`$0 --help' for more information." >&2
50514 { (exit 1); exit 1; }; } ;;
50516 *) ac_config_targets
="$ac_config_targets $1"
50517 ac_need_defaults
=false
;;
50523 ac_configure_extra_args
=
50525 if $ac_cs_silent; then
50527 ac_configure_extra_args
="$ac_configure_extra_args --silent"
50531 cat >>$CONFIG_STATUS <<_ACEOF
50532 if \$ac_cs_recheck; then
50533 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50534 CONFIG_SHELL=$SHELL
50535 export CONFIG_SHELL
50536 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50540 cat >>$CONFIG_STATUS <<\_ACEOF
50544 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50545 ## Running $as_me. ##
50551 cat >>$CONFIG_STATUS <<_ACEOF
50557 infile="$srcdir/include/wx/msw/genrcdefs.h"
50558 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50561 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50562 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50563 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50569 cat >>$CONFIG_STATUS <<\_ACEOF
50571 # Handling of arguments.
50572 for ac_config_target
in $ac_config_targets
50574 case $ac_config_target in
50575 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50576 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
50577 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50578 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50579 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
50580 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
50581 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
50582 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
50584 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50585 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50586 { (exit 1); exit 1; }; };;
50591 # If the user did not use the arguments to specify the items to instantiate,
50592 # then the envvar interface is used. Set only those that are not.
50593 # We use the long form for the default assignment because of an extremely
50594 # bizarre bug on SunOS 4.1.3.
50595 if $ac_need_defaults; then
50596 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
50597 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
50598 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
50601 # Have a temporary directory for convenience. Make it in the build tree
50602 # simply because there is no reason against having it here, and in addition,
50603 # creating and moving files from /tmp can sometimes cause problems.
50604 # Hook for its removal unless debugging.
50605 # Note that there is a small window in which the directory will not be cleaned:
50606 # after its creation but before its name has been assigned to `$tmp'.
50610 trap 'exit_status=$?
50611 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50613 trap '{ (exit 1); exit 1; }' 1 2 13 15
50615 # Create a (secure) tmp directory for tmp files.
50618 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50619 test -n "$tmp" && test -d "$tmp"
50622 tmp
=.
/conf$$
-$RANDOM
50623 (umask 077 && mkdir "$tmp")
50626 echo "$me: cannot create a temporary directory in ." >&2
50627 { (exit 1); exit 1; }
50631 # Set up the sed scripts for CONFIG_FILES section.
50634 # No need to generate the scripts if there are no CONFIG_FILES.
50635 # This happens for instance when ./config.status config.h
50636 if test -n "$CONFIG_FILES"; then
50643 for ac_last_try
in false false false false false
:; do
50644 cat >conf$
$subs.
sed <<_ACEOF
50645 SHELL!$SHELL$ac_delim
50646 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50647 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50648 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50649 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50650 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50651 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50652 exec_prefix!$exec_prefix$ac_delim
50653 prefix!$prefix$ac_delim
50654 program_transform_name!$program_transform_name$ac_delim
50655 bindir!$bindir$ac_delim
50656 sbindir!$sbindir$ac_delim
50657 libexecdir!$libexecdir$ac_delim
50658 datarootdir!$datarootdir$ac_delim
50659 datadir!$datadir$ac_delim
50660 sysconfdir!$sysconfdir$ac_delim
50661 sharedstatedir!$sharedstatedir$ac_delim
50662 localstatedir!$localstatedir$ac_delim
50663 includedir!$includedir$ac_delim
50664 oldincludedir!$oldincludedir$ac_delim
50665 docdir!$docdir$ac_delim
50666 infodir!$infodir$ac_delim
50667 htmldir!$htmldir$ac_delim
50668 dvidir!$dvidir$ac_delim
50669 pdfdir!$pdfdir$ac_delim
50670 psdir!$psdir$ac_delim
50671 libdir!$libdir$ac_delim
50672 localedir!$localedir$ac_delim
50673 mandir!$mandir$ac_delim
50674 DEFS!$DEFS$ac_delim
50675 ECHO_C!$ECHO_C$ac_delim
50676 ECHO_N!$ECHO_N$ac_delim
50677 ECHO_T!$ECHO_T$ac_delim
50678 LIBS!$LIBS$ac_delim
50679 build_alias!$build_alias$ac_delim
50680 host_alias!$host_alias$ac_delim
50681 target_alias!$target_alias$ac_delim
50682 build!$build$ac_delim
50683 build_cpu!$build_cpu$ac_delim
50684 build_vendor!$build_vendor$ac_delim
50685 build_os!$build_os$ac_delim
50686 host!$host$ac_delim
50687 host_cpu!$host_cpu$ac_delim
50688 host_vendor!$host_vendor$ac_delim
50689 host_os!$host_os$ac_delim
50690 target!$target$ac_delim
50691 target_cpu!$target_cpu$ac_delim
50692 target_vendor!$target_vendor$ac_delim
50693 target_os!$target_os$ac_delim
50694 wx_top_builddir!$wx_top_builddir$ac_delim
50696 CFLAGS!$CFLAGS$ac_delim
50697 LDFLAGS!$LDFLAGS$ac_delim
50698 CPPFLAGS!$CPPFLAGS$ac_delim
50699 ac_ct_CC!$ac_ct_CC$ac_delim
50700 EXEEXT!$EXEEXT$ac_delim
50701 OBJEXT!$OBJEXT$ac_delim
50703 GREP!$GREP$ac_delim
50704 EGREP!$EGREP$ac_delim
50706 CXXFLAGS!$CXXFLAGS$ac_delim
50707 ac_ct_CXX!$ac_ct_CXX$ac_delim
50709 subdirs!$subdirs$ac_delim
50710 PKG_CONFIG!$PKG_CONFIG$ac_delim
50711 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50712 GTK_LIBS!$GTK_LIBS$ac_delim
50713 GTK_CONFIG!$GTK_CONFIG$ac_delim
50714 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50715 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50716 XMKMF!$XMKMF$ac_delim
50717 X_CFLAGS!$X_CFLAGS$ac_delim
50718 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50719 X_LIBS!$X_LIBS$ac_delim
50720 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50721 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50722 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50723 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50724 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50725 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50726 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50727 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50728 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50729 LIBICONV!$LIBICONV$ac_delim
50730 SDL_CONFIG!$SDL_CONFIG$ac_delim
50731 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50732 SDL_LIBS!$SDL_LIBS$ac_delim
50733 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50734 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50735 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50736 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50737 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50738 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50739 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50740 HILDON_LIBS!$HILDON_LIBS$ac_delim
50741 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50744 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50746 elif $ac_last_try; then
50747 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50748 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50749 { (exit 1); exit 1; }; }
50751 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50755 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50756 if test -n "$ac_eof"; then
50757 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50758 ac_eof
=`expr $ac_eof + 1`
50761 cat >>$CONFIG_STATUS <<_ACEOF
50762 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50763 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50766 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50767 s/^/s,@/; s/!/@,|#_!!_#|/
50770 s/'"$ac_delim"'$/,g/; t
50772 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50773 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50774 rm -f conf$
$subs.
sed
50775 cat >>$CONFIG_STATUS <<_ACEOF
50781 for ac_last_try
in false false false false false
:; do
50782 cat >conf$
$subs.
sed <<_ACEOF
50783 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50784 GST_CFLAGS!$GST_CFLAGS$ac_delim
50785 GST_LIBS!$GST_LIBS$ac_delim
50786 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50787 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50788 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50789 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50790 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50791 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50792 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50793 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50794 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50795 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50796 VENDOR!$VENDOR$ac_delim
50797 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50798 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50799 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50800 WXUNIV!$WXUNIV$ac_delim
50801 MONOLITHIC!$MONOLITHIC$ac_delim
50802 USE_PLUGINS!$USE_PLUGINS$ac_delim
50803 CXXWARNINGS!$CXXWARNINGS$ac_delim
50804 EXTRALIBS!$EXTRALIBS$ac_delim
50805 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50806 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50807 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50808 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50809 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50810 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50811 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50812 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50813 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50814 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50815 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50816 UNICODE!$UNICODE$ac_delim
50817 BUILD!$BUILD$ac_delim
50818 DEBUG_INFO!$DEBUG_INFO$ac_delim
50819 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50820 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50821 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50822 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50823 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50824 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50825 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50826 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50827 RANLIB!$RANLIB$ac_delim
50828 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50829 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50830 INSTALL_DATA!$INSTALL_DATA$ac_delim
50831 LN_S!$LN_S$ac_delim
50832 SET_MAKE!$SET_MAKE$ac_delim
50833 MAKE_SET!$MAKE_SET$ac_delim
50834 AROPTIONS!$AROPTIONS$ac_delim
50835 STRIP!$STRIP$ac_delim
50837 INSTALL_DIR!$INSTALL_DIR$ac_delim
50838 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50839 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50840 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50841 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50842 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50843 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50844 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50845 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50846 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50847 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50848 SO_SUFFIX!$SO_SUFFIX$ac_delim
50849 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50850 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50851 LIBPREFIX!$LIBPREFIX$ac_delim
50852 LIBEXT!$LIBEXT$ac_delim
50853 DLLPREFIX!$DLLPREFIX$ac_delim
50854 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50855 dlldir!$dlldir$ac_delim
50856 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50857 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50858 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50859 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50860 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50861 PIC_FLAG!$PIC_FLAG$ac_delim
50862 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50863 USE_SOVERSION!$USE_SOVERSION$ac_delim
50864 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50865 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50866 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50867 USE_MACVERSION!$USE_MACVERSION$ac_delim
50868 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50869 SONAME_FLAG!$SONAME_FLAG$ac_delim
50870 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50871 BK_DEPS!$BK_DEPS$ac_delim
50872 WINDRES!$WINDRES$ac_delim
50874 SETFILE!$SETFILE$ac_delim
50875 GCC_PCH!$GCC_PCH$ac_delim
50876 ICC_PCH!$ICC_PCH$ac_delim
50877 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50878 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50879 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50882 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50884 elif $ac_last_try; then
50885 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50886 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50887 { (exit 1); exit 1; }; }
50889 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50893 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50894 if test -n "$ac_eof"; then
50895 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50896 ac_eof
=`expr $ac_eof + 1`
50899 cat >>$CONFIG_STATUS <<_ACEOF
50900 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50901 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50904 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50905 s/^/s,@/; s/!/@,|#_!!_#|/
50908 s/'"$ac_delim"'$/,g/; t
50910 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50911 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50912 rm -f conf$
$subs.
sed
50913 cat >>$CONFIG_STATUS <<_ACEOF
50919 for ac_last_try
in false false false false false
:; do
50920 cat >conf$
$subs.
sed <<_ACEOF
50921 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50922 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50923 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50924 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50925 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50926 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50927 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50928 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50929 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50930 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50931 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50932 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50933 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50934 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50935 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50936 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50937 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50938 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50939 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50940 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50941 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50942 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50943 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50944 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50945 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50946 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50947 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50948 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50949 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50950 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50951 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50952 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50953 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50954 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50955 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50956 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50957 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50958 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50959 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50960 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50961 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50962 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50963 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50964 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50965 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50966 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50967 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50968 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50969 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50970 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50971 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50972 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50973 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50974 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50975 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50976 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50977 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50978 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50979 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50980 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50981 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50982 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50983 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50984 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50985 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50986 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50987 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50988 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50989 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50990 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50991 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50992 COND_SHARED_0!$COND_SHARED_0$ac_delim
50993 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50994 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50995 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50996 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50997 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50998 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50999 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51000 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51001 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51002 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51003 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51004 COND_SHARED_1!$COND_SHARED_1$ac_delim
51005 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51006 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51007 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51008 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51009 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51010 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51011 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51012 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51013 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51014 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51015 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51016 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51017 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51020 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51022 elif $ac_last_try; then
51023 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51024 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51025 { (exit 1); exit 1; }; }
51027 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51031 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51032 if test -n "$ac_eof"; then
51033 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51034 ac_eof
=`expr $ac_eof + 1`
51037 cat >>$CONFIG_STATUS <<_ACEOF
51038 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51039 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51042 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51043 s/^/s,@/; s/!/@,|#_!!_#|/
51046 s/'"$ac_delim"'$/,g/; t
51048 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51049 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51050 rm -f conf$
$subs.
sed
51051 cat >>$CONFIG_STATUS <<_ACEOF
51057 for ac_last_try
in false false false false false
:; do
51058 cat >conf$
$subs.
sed <<_ACEOF
51059 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51060 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51061 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51062 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51063 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51064 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51065 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51066 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51067 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51068 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51069 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51070 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51071 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51072 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51073 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51074 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51075 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51076 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51077 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51078 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51079 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51080 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51081 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51082 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51083 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51084 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51085 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51086 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51087 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51088 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51089 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51090 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51091 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51092 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51093 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51094 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51095 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51096 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51097 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51098 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51099 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51100 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51101 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51102 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51103 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51104 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51105 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51106 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51107 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51108 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51109 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51110 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51111 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51112 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51113 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51114 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51115 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51116 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51117 DEREZ!$DEREZ$ac_delim
51118 SHARED!$SHARED$ac_delim
51119 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51120 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51121 USE_GUI!$USE_GUI$ac_delim
51122 AFMINSTALL!$AFMINSTALL$ac_delim
51123 WIN32INSTALL!$WIN32INSTALL$ac_delim
51124 TOOLKIT!$TOOLKIT$ac_delim
51125 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51126 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51127 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51128 cross_compiling!$cross_compiling$ac_delim
51129 WIDGET_SET!$WIDGET_SET$ac_delim
51130 WX_RELEASE!$WX_RELEASE$ac_delim
51131 WX_VERSION!$WX_VERSION$ac_delim
51132 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51133 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51134 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51135 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51136 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51137 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51138 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51139 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51140 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51141 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51142 GUIDIST!$GUIDIST$ac_delim
51143 DISTDIR!$DISTDIR$ac_delim
51144 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51145 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51146 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51147 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51148 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51149 RESCOMP!$RESCOMP$ac_delim
51150 RESFLAGS!$RESFLAGS$ac_delim
51151 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51152 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51153 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51154 LIBWXMACRES!$LIBWXMACRES$ac_delim
51155 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51158 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51160 elif $ac_last_try; then
51161 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51162 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51163 { (exit 1); exit 1; }; }
51165 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51169 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51170 if test -n "$ac_eof"; then
51171 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51172 ac_eof
=`expr $ac_eof + 1`
51175 cat >>$CONFIG_STATUS <<_ACEOF
51176 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51177 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51180 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51181 s/^/s,@/; s/!/@,|#_!!_#|/
51184 s/'"$ac_delim"'$/,g/; t
51186 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51187 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51188 rm -f conf$
$subs.
sed
51189 cat >>$CONFIG_STATUS <<_ACEOF
51195 for ac_last_try
in false false false false false
:; do
51196 cat >conf$
$subs.
sed <<_ACEOF
51197 MACSETFILE!$MACSETFILE$ac_delim
51199 DLLTOOL!$DLLTOOL$ac_delim
51200 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51201 LIBOBJS!$LIBOBJS$ac_delim
51202 LTLIBOBJS!$LTLIBOBJS$ac_delim
51205 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then
51207 elif $ac_last_try; then
51208 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51209 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51210 { (exit 1); exit 1; }; }
51212 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51216 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51217 if test -n "$ac_eof"; then
51218 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51219 ac_eof
=`expr $ac_eof + 1`
51222 cat >>$CONFIG_STATUS <<_ACEOF
51223 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51224 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51227 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51228 s/^/s,@/; s/!/@,|#_!!_#|/
51231 s/'"$ac_delim"'$/,g/; t
51233 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51234 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51235 rm -f conf$
$subs.
sed
51236 cat >>$CONFIG_STATUS <<_ACEOF
51243 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51244 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51245 # trailing colons and then remove the whole line if VPATH becomes empty
51246 # (actually we leave an empty line to preserve line numbers).
51247 if test "x$srcdir" = x.
; then
51248 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
51249 s/:*\$(srcdir):*/:/
51250 s/:*\${srcdir}:*/:/
51252 s/^\([^=]*=[ ]*\):*/\1/
51258 cat >>$CONFIG_STATUS <<\_ACEOF
51259 fi # test -n "$CONFIG_FILES"
51262 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
51265 :[FHLC
]) ac_mode
=$ac_tag; continue;;
51267 case $ac_mode$ac_tag in
51269 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51270 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51271 { (exit 1); exit 1; }; };;
51272 :[FH
]-) ac_tag
=-:-;;
51273 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
51290 -) ac_f
="$tmp/stdin";;
51291 *) # Look for the file first in the build tree, then in the source tree
51292 # (if the path is not absolute). The absolute path cannot be DOS-style,
51293 # because $ac_f cannot contain `:'.
51297 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
51299 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51300 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51301 { (exit 1); exit 1; }; };;
51303 ac_file_inputs
="$ac_file_inputs $ac_f"
51306 # Let's still pretend it is `configure' which instantiates (i.e., don't
51307 # use $as_me), people would be surprised to read:
51308 # /* config.h. Generated by config.status. */
51309 configure_input
="Generated from "`IFS=:
51310 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51311 if test x
"$ac_file" != x
-; then
51312 configure_input
="$ac_file. $configure_input"
51313 { echo "$as_me:$LINENO: creating $ac_file" >&5
51314 echo "$as_me: creating $ac_file" >&6;}
51318 *:-:* | *:-) cat >"$tmp/stdin";;
51323 ac_dir
=`$as_dirname -- "$ac_file" ||
51324 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51325 X"$ac_file" : 'X\(//\)[^/]' \| \
51326 X"$ac_file" : 'X\(//\)$' \| \
51327 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51329 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51333 /^X\(\/\/\)[^/].*/{
51348 -*) as_dir
=.
/$as_dir;;
51350 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51354 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51355 *) as_qdir
=$as_dir;;
51357 as_dirs
="'$as_qdir' $as_dirs"
51358 as_dir
=`$as_dirname -- "$as_dir" ||
51359 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51360 X"$as_dir" : 'X\(//\)[^/]' \| \
51361 X"$as_dir" : 'X\(//\)$' \| \
51362 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51364 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51368 /^X\(\/\/\)[^/].*/{
51381 test -d "$as_dir" && break
51383 test -z "$as_dirs" || eval "mkdir $as_dirs"
51384 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51385 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51386 { (exit 1); exit 1; }; }; }
51390 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51392 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51393 # A ".." for each directory in $ac_dir_suffix.
51394 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51395 case $ac_top_builddir_sub in
51396 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51397 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
51400 ac_abs_top_builddir
=$ac_pwd
51401 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
51402 # for backward compatibility:
51403 ac_top_builddir
=$ac_top_build_prefix
51406 .
) # We are building in place.
51408 ac_top_srcdir
=$ac_top_builddir_sub
51409 ac_abs_top_srcdir
=$ac_pwd ;;
51410 [\\/]* | ?
:[\\/]* ) # Absolute name.
51411 ac_srcdir
=$srcdir$ac_dir_suffix;
51412 ac_top_srcdir
=$srcdir
51413 ac_abs_top_srcdir
=$srcdir ;;
51414 *) # Relative name.
51415 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
51416 ac_top_srcdir
=$ac_top_build_prefix$srcdir
51417 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
51419 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
51429 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
51430 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
51434 cat >>$CONFIG_STATUS <<\_ACEOF
51435 # If the template does not know about datarootdir, expand it.
51436 # FIXME: This hack should be removed a few years after 2.60.
51437 ac_datarootdir_hack
=; ac_datarootdir_seen
=
51439 case `sed -n '/datarootdir/ {
51448 ' $ac_file_inputs` in
51449 *datarootdir
*) ac_datarootdir_seen
=yes;;
51450 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
51451 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51452 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51454 cat >>$CONFIG_STATUS <<_ACEOF
51455 ac_datarootdir_hack='
51456 s&@datadir@&$datadir&g
51457 s&@docdir@&$docdir&g
51458 s&@infodir@&$infodir&g
51459 s&@localedir@&$localedir&g
51460 s&@mandir@&$mandir&g
51461 s&\\\${datarootdir}&$datarootdir&g' ;;
51465 # Neutralize VPATH when `$srcdir' = `.'.
51466 # Shell code in configure.ac might set extrasub.
51467 # FIXME: do we really want to maintain this feature?
51468 cat >>$CONFIG_STATUS <<_ACEOF
51472 cat >>$CONFIG_STATUS <<\_ACEOF
51474 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51475 s
&@configure_input@
&$configure_input&;t t
51476 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
51477 s
&@srcdir@
&$ac_srcdir&;t t
51478 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
51479 s
&@top_srcdir@
&$ac_top_srcdir&;t t
51480 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
51481 s
&@builddir@
&$ac_builddir&;t t
51482 s
&@abs_builddir@
&$ac_abs_builddir&;t t
51483 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
51484 s
&@INSTALL@
&$ac_INSTALL&;t t
51485 $ac_datarootdir_hack
51486 " $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
51488 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51489 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
51490 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
51491 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
51492 which seems to be undefined. Please make sure it is defined." >&5
51493 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
51494 which seems to be undefined. Please make sure it is defined." >&2;}
51498 -) cat "$tmp/out"; rm -f "$tmp/out";;
51499 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51508 # Transform confdefs.h into a sed script `conftest.defines', that
51509 # substitutes the proper values into config.h.in to produce config.h.
51510 rm -f conftest.defines conftest.
tail
51511 # First, append a space to every undef/define line, to ease matching.
51512 echo 's/$/ /' >conftest.defines
51513 # Then, protect against being on the right side of a sed subst, or in
51514 # an unquoted here document, in config.status. If some macros were
51515 # called several times there might be several #defines for the same
51516 # symbol, which is useless. But do not sort them, since the last
51517 # AC_DEFINE must be honored.
51518 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
51519 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51520 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51521 # PARAMS is the parameter list in the macro definition--in most cases, it's
51522 # just an empty string.
51523 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51524 ac_dB
='\\)[ (].*,\\1define\\2'
51532 s/^[ ]*#[ ]*define[ ][ ]*//
51537 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51538 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51539 ' >>conftest.defines
51541 # Remove the space that was appended to ease matching.
51542 # Then replace #undef with comments. This is necessary, for
51543 # example, in the case of _POSIX_SOURCE, which is predefined and required
51544 # on some systems where configure will not decide to define it.
51545 # (The regexp can be short, since the line contains either #define or #undef.)
51547 s,^[ #]*u.*,/* & */,' >>conftest.defines
51549 # Break up conftest.defines:
51550 ac_max_sed_lines
=50
51552 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51553 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51554 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51556 ac_in
='$ac_file_inputs'
51557 ac_out
='"$tmp/out1"'
51558 ac_nxt
='"$tmp/out2"'
51562 # Write a here document:
51563 cat >>$CONFIG_STATUS <<_ACEOF
51564 # First, check the format of the line:
51565 cat >"\$tmp/defines.sed" <<\\CEOF
51566 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51567 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51571 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
51573 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51574 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
51575 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
51576 grep . conftest.
tail >/dev
/null
|| break
51577 rm -f conftest.defines
51578 mv conftest.
tail conftest.defines
51580 rm -f conftest.defines conftest.
tail
51582 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51583 cat >>$CONFIG_STATUS <<\_ACEOF
51584 if test x
"$ac_file" != x
-; then
51585 echo "/* $configure_input */" >"$tmp/config.h"
51586 cat "$ac_result" >>"$tmp/config.h"
51587 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
51588 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51589 echo "$as_me: $ac_file is unchanged" >&6;}
51592 mv "$tmp/config.h" $ac_file
51595 echo "/* $configure_input */"
51601 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51602 echo "$as_me: executing $ac_file commands" >&6;}
51607 case $ac_file$ac_mode in
51609 mkdir -p $outdir &&
51610 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51612 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
51613 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
51614 "wx-config":C
) rm -f wx
-config
51615 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
51622 { (exit 0); exit 0; }
51624 chmod +x
$CONFIG_STATUS
51625 ac_clean_files
=$ac_clean_files_save
51628 # configure is writing to config.log, and then calls config.status.
51629 # config.status does its own redirection, appending to config.log.
51630 # Unfortunately, on DOS this fails, as config.log is still kept open
51631 # by configure, so config.status won't be able to write to it; its
51632 # output is simply discarded. So we exec the FD to /dev/null,
51633 # effectively closing config.log, so it can be properly (re)opened and
51634 # appended to by config.status. When coming back to configure, we
51635 # need to make the FD available again.
51636 if test "$no_create" != yes; then
51638 ac_config_status_args
=
51639 test "$silent" = yes &&
51640 ac_config_status_args
="$ac_config_status_args --quiet"
51642 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
51644 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51645 # would make configure fail if this is the last instruction.
51646 $ac_cs_success || { (exit 1); exit 1; }
51650 # CONFIG_SUBDIRS section.
51652 if test "$no_recursion" != yes; then
51654 # Remove --cache-file and --srcdir arguments so they do not pile up.
51655 ac_sub_configure_args
=
51657 eval "set x $ac_configure_args"
51661 if test -n "$ac_prev"; then
51666 -cache-file | --cache-file | --cache-fil | --cache-fi \
51667 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51668 ac_prev
=cache_file
;;
51669 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51670 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51673 --config-cache | -C)
51675 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51677 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51679 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51681 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51685 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51687 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
51691 # Always prepend --prefix to ensure using the same prefix
51692 # in subdir configurations.
51693 ac_arg
="--prefix=$prefix"
51695 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51697 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
51700 if test "$silent" = yes; then
51701 ac_sub_configure_args
="--silent $ac_sub_configure_args"
51705 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
51707 # Do not complain, so a configure script can configure whichever
51708 # parts of a large source tree are present.
51709 test -d "$srcdir/$ac_dir" || continue
51711 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51712 echo "$as_me:$LINENO: $ac_msg" >&5
51716 -*) as_dir
=.
/$as_dir;;
51718 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51722 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51723 *) as_qdir
=$as_dir;;
51725 as_dirs
="'$as_qdir' $as_dirs"
51726 as_dir
=`$as_dirname -- "$as_dir" ||
51727 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51728 X"$as_dir" : 'X\(//\)[^/]' \| \
51729 X"$as_dir" : 'X\(//\)$' \| \
51730 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51736 /^X\(\/\/\)[^/].*/{
51749 test -d "$as_dir" && break
51751 test -z "$as_dirs" || eval "mkdir $as_dirs"
51752 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51753 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51754 { (exit 1); exit 1; }; }; }
51758 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51760 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51761 # A ".." for each directory in $ac_dir_suffix.
51762 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51763 case $ac_top_builddir_sub in
51764 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51765 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
51768 ac_abs_top_builddir
=$ac_pwd
51769 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
51770 # for backward compatibility:
51771 ac_top_builddir
=$ac_top_build_prefix
51774 .
) # We are building in place.
51776 ac_top_srcdir
=$ac_top_builddir_sub
51777 ac_abs_top_srcdir
=$ac_pwd ;;
51778 [\\/]* | ?
:[\\/]* ) # Absolute name.
51779 ac_srcdir
=$srcdir$ac_dir_suffix;
51780 ac_top_srcdir
=$srcdir
51781 ac_abs_top_srcdir
=$srcdir ;;
51782 *) # Relative name.
51783 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
51784 ac_top_srcdir
=$ac_top_build_prefix$srcdir
51785 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
51787 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
51792 # Check for guested configure; otherwise get Cygnus style configure.
51793 if test -f "$ac_srcdir/configure.gnu"; then
51794 ac_sub_configure
=$ac_srcdir/configure.gnu
51795 elif test -f "$ac_srcdir/configure"; then
51796 ac_sub_configure
=$ac_srcdir/configure
51797 elif test -f "$ac_srcdir/configure.in"; then
51798 # This should be Cygnus configure.
51799 ac_sub_configure
=$ac_aux_dir/configure
51801 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51802 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51806 # The recursion is here.
51807 if test -n "$ac_sub_configure"; then
51808 # Make the cache file name correct relative to the subdirectory.
51809 case $cache_file in
51810 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
51811 *) # Relative name.
51812 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
51815 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51816 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51817 # The eval makes quoting arguments work.
51818 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51819 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51820 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51821 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51822 { (exit 1); exit 1; }; }
51831 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51833 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51834 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51836 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51837 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51838 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
51839 if test "$wxUSE_UNICODE" = "yes"; then
51840 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51841 echo " (using UTF-8)"
51843 echo " (using wchar_t)"
51849 echo " What level of wxWidgets compatibility should be enabled?"
51850 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51851 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51853 echo " Which libraries should wxWidgets use?"
51854 echo " STL ${wxUSE_STL}"
51855 echo " jpeg ${wxUSE_LIBJPEG-none}"
51856 echo " png ${wxUSE_LIBPNG-none}"
51857 echo " regex ${wxUSE_REGEX}"
51858 echo " tiff ${wxUSE_LIBTIFF-none}"
51859 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51860 echo " xpm ${wxUSE_LIBXPM-none}"
51862 echo " zlib ${wxUSE_ZLIB}"
51863 echo " expat ${wxUSE_EXPAT}"
51864 echo " libmspack ${wxUSE_LIBMSPACK}"
51865 echo " sdl ${wxUSE_LIBSDL}"