2 # From configure.in Id: configure.in 50845 2007-12-20 01:05:19Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.0'
579 PACKAGE_STRING
='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
709 LIBGNOMEPRINTUI_CFLAGS
756 SAMPLES_RPATH_POSTLINK
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
835 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
837 COND_MONOLITHIC_0_SHARED_1
838 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
843 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
844 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
846 COND_MONOLITHIC_0_USE_AUI_1
847 COND_MONOLITHIC_0_USE_GUI_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_USE_HTML_1
850 COND_MONOLITHIC_0_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_QA_1
852 COND_MONOLITHIC_0_USE_RICHTEXT_1
853 COND_MONOLITHIC_0_USE_STC_1
854 COND_MONOLITHIC_0_USE_XRC_1
856 COND_MONOLITHIC_1_SHARED_0
857 COND_MONOLITHIC_1_SHARED_1
858 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
859 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
860 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_1
863 COND_PLATFORM_MACOSX_1_TOOLKIT_
864 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
865 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
866 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
869 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
870 COND_PLATFORM_MACOSX_1_USE_GUI_1
871 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
872 COND_PLATFORM_MACOS_1
874 COND_PLATFORM_MSDOS_0
875 COND_PLATFORM_MSDOS_1
879 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
880 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
881 COND_PLATFORM_UNIX_1_USE_GUI_1
882 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
883 COND_PLATFORM_WIN32_0
884 COND_PLATFORM_WIN32_1
886 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
887 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
888 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
889 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
893 COND_SHARED_0_USE_STC_1
894 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
895 COND_SHARED_0_WXUSE_REGEX_BUILTIN
896 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
898 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
901 COND_TOOLKIT_COCOA_USE_GUI_1
902 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
904 COND_TOOLKIT_DFB_USE_GUI_1
906 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
913 COND_TOOLKIT_GTK_USE_GUI_1
915 COND_TOOLKIT_MAC_USE_GUI_1
916 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
918 COND_TOOLKIT_MGL_USE_GUI_1
920 COND_TOOLKIT_MOTIF_USE_GUI_1
921 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
923 COND_TOOLKIT_MSW_USE_GUI_1
924 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_MSW_WXUNIV_0
927 COND_TOOLKIT_PM_USE_GUI_1
928 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_WINCE_USE_GUI_1
931 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_WINCE_WXUNIV_0
934 COND_TOOLKIT_X11_USE_GUI_1
936 COND_USE_EXCEPTIONS_0
937 COND_USE_EXCEPTIONS_1
940 COND_USE_GUI_1_USE_OPENGL_1
941 COND_USE_GUI_1_WXUNIV_0
942 COND_USE_GUI_1_WXUNIV_1
943 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
944 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
945 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
951 COND_USE_SOSYMLINKS_1
952 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
953 COND_USE_SOVERLINUX_1
955 COND_USE_SOVERSOLARIS_1
960 COND_WINDOWS_IMPLIB_1
961 COND_WITH_PLUGIN_SDL_1
964 COND_WXUSE_EXPAT_BUILTIN
965 COND_WXUSE_LIBJPEG_BUILTIN
966 COND_WXUSE_LIBPNG_BUILTIN
967 COND_WXUSE_LIBTIFF_BUILTIN
968 COND_WXUSE_REGEX_BUILTIN
969 COND_WXUSE_ZLIB_BUILTIN
972 WX_LIBRARY_BASENAME_NOGUI
973 WX_LIBRARY_BASENAME_GUI
1005 WX_RESOURCES_MACOSX_ASCII
1006 WX_RESOURCES_MACOSX_DATA
1016 ac_precious_vars
='build_alias
1040 LIBGNOMEPRINTUI_CFLAGS
1041 LIBGNOMEPRINTUI_LIBS
1050 ac_subdirs_all
='src/tiff
1053 # Initialize some variables set by options.
1055 ac_init_version
=false
1056 # The variables have the same names as the options, with
1057 # dashes changed to underlines.
1058 cache_file
=/dev
/null
1065 program_transform_name
=s
,x
,x
,
1073 # Installation directory options.
1074 # These are left unexpanded so users can "make install exec_prefix=/foo"
1075 # and all the variables that are supposed to be based on exec_prefix
1076 # by default will actually change.
1077 # Use braces instead of parens because sh, perl, etc. also accept them.
1078 # (The list follows the same order as the GNU Coding Standards.)
1079 bindir
='${exec_prefix}/bin'
1080 sbindir
='${exec_prefix}/sbin'
1081 libexecdir
='${exec_prefix}/libexec'
1082 datarootdir
='${prefix}/share'
1083 datadir
='${datarootdir}'
1084 sysconfdir
='${prefix}/etc'
1085 sharedstatedir
='${prefix}/com'
1086 localstatedir
='${prefix}/var'
1087 includedir
='${prefix}/include'
1088 oldincludedir
='/usr/include'
1089 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1090 infodir
='${datarootdir}/info'
1095 libdir
='${exec_prefix}/lib'
1096 localedir
='${datarootdir}/locale'
1097 mandir
='${datarootdir}/man'
1103 # If the previous option needs an argument, assign it.
1104 if test -n "$ac_prev"; then
1105 eval $ac_prev=\
$ac_option
1111 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1115 # Accept the important Cygnus configure options, so we can diagnose typos.
1117 case $ac_dashdash$ac_option in
1121 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1123 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1124 bindir
=$ac_optarg ;;
1126 -build | --build | --buil | --bui | --bu)
1127 ac_prev
=build_alias
;;
1128 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1129 build_alias
=$ac_optarg ;;
1131 -cache-file | --cache-file | --cache-fil | --cache-fi \
1132 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1133 ac_prev
=cache_file
;;
1134 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1135 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1136 cache_file
=$ac_optarg ;;
1138 --config-cache | -C)
1139 cache_file
=config.cache
;;
1141 -datadir | --datadir | --datadi | --datad)
1143 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1144 datadir
=$ac_optarg ;;
1146 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1147 | --dataroo | --dataro | --datar)
1148 ac_prev
=datarootdir
;;
1149 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1150 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1151 datarootdir
=$ac_optarg ;;
1153 -disable-* | --disable-*)
1154 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1157 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1158 { (exit 1); exit 1; }; }
1159 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1160 eval enable_
$ac_feature=no
;;
1162 -docdir | --docdir | --docdi | --doc | --do)
1164 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1165 docdir
=$ac_optarg ;;
1167 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1169 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1170 dvidir
=$ac_optarg ;;
1172 -enable-* | --enable-*)
1173 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1174 # Reject names that are not valid shell variable names.
1175 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1176 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1177 { (exit 1); exit 1; }; }
1178 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1179 eval enable_
$ac_feature=\
$ac_optarg ;;
1181 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1182 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1183 | --exec | --exe | --ex)
1184 ac_prev
=exec_prefix
;;
1185 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1186 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1187 | --exec=* | --exe=* | --ex=*)
1188 exec_prefix
=$ac_optarg ;;
1190 -gas | --gas | --ga | --g)
1191 # Obsolete; use --with-gas.
1194 -help | --help | --hel | --he | -h)
1195 ac_init_help
=long
;;
1196 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1197 ac_init_help
=recursive
;;
1198 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1199 ac_init_help
=short
;;
1201 -host | --host | --hos | --ho)
1202 ac_prev
=host_alias
;;
1203 -host=* | --host=* | --hos=* | --ho=*)
1204 host_alias
=$ac_optarg ;;
1206 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1208 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1210 htmldir
=$ac_optarg ;;
1212 -includedir | --includedir | --includedi | --included | --include \
1213 | --includ | --inclu | --incl | --inc)
1214 ac_prev
=includedir
;;
1215 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1216 | --includ=* | --inclu=* | --incl=* | --inc=*)
1217 includedir
=$ac_optarg ;;
1219 -infodir | --infodir | --infodi | --infod | --info | --inf)
1221 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1222 infodir
=$ac_optarg ;;
1224 -libdir | --libdir | --libdi | --libd)
1226 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1227 libdir
=$ac_optarg ;;
1229 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1230 | --libexe | --libex | --libe)
1231 ac_prev
=libexecdir
;;
1232 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1233 | --libexe=* | --libex=* | --libe=*)
1234 libexecdir
=$ac_optarg ;;
1236 -localedir | --localedir | --localedi | --localed | --locale)
1237 ac_prev
=localedir
;;
1238 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1239 localedir
=$ac_optarg ;;
1241 -localstatedir | --localstatedir | --localstatedi | --localstated \
1242 | --localstate | --localstat | --localsta | --localst | --locals)
1243 ac_prev
=localstatedir
;;
1244 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1245 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1246 localstatedir
=$ac_optarg ;;
1248 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1250 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1251 mandir
=$ac_optarg ;;
1253 -nfp | --nfp | --nf)
1254 # Obsolete; use --without-fp.
1257 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1258 | --no-cr | --no-c | -n)
1261 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1262 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1265 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1266 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1267 | --oldin | --oldi | --old | --ol | --o)
1268 ac_prev
=oldincludedir
;;
1269 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1270 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1271 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1272 oldincludedir
=$ac_optarg ;;
1274 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1276 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1277 prefix
=$ac_optarg ;;
1279 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1280 | --program-pre | --program-pr | --program-p)
1281 ac_prev
=program_prefix
;;
1282 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1283 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1284 program_prefix
=$ac_optarg ;;
1286 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1287 | --program-suf | --program-su | --program-s)
1288 ac_prev
=program_suffix
;;
1289 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1290 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1291 program_suffix
=$ac_optarg ;;
1293 -program-transform-name | --program-transform-name \
1294 | --program-transform-nam | --program-transform-na \
1295 | --program-transform-n | --program-transform- \
1296 | --program-transform | --program-transfor \
1297 | --program-transfo | --program-transf \
1298 | --program-trans | --program-tran \
1299 | --progr-tra | --program-tr | --program-t)
1300 ac_prev
=program_transform_name
;;
1301 -program-transform-name=* | --program-transform-name=* \
1302 | --program-transform-nam=* | --program-transform-na=* \
1303 | --program-transform-n=* | --program-transform-=* \
1304 | --program-transform=* | --program-transfor=* \
1305 | --program-transfo=* | --program-transf=* \
1306 | --program-trans=* | --program-tran=* \
1307 | --progr-tra=* | --program-tr=* | --program-t=*)
1308 program_transform_name
=$ac_optarg ;;
1310 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1312 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1313 pdfdir
=$ac_optarg ;;
1315 -psdir | --psdir | --psdi | --psd | --ps)
1317 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1320 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1321 | -silent | --silent | --silen | --sile | --sil)
1324 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1326 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1328 sbindir
=$ac_optarg ;;
1330 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1331 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1332 | --sharedst | --shareds | --shared | --share | --shar \
1334 ac_prev
=sharedstatedir
;;
1335 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1336 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1337 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1339 sharedstatedir
=$ac_optarg ;;
1341 -site | --site | --sit)
1343 -site=* | --site=* | --sit=*)
1346 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1348 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1349 srcdir
=$ac_optarg ;;
1351 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1352 | --syscon | --sysco | --sysc | --sys | --sy)
1353 ac_prev
=sysconfdir
;;
1354 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1355 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1356 sysconfdir
=$ac_optarg ;;
1358 -target | --target | --targe | --targ | --tar | --ta | --t)
1359 ac_prev
=target_alias
;;
1360 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1361 target_alias
=$ac_optarg ;;
1363 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1366 -version | --version | --versio | --versi | --vers | -V)
1367 ac_init_version
=: ;;
1370 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1371 # Reject names that are not valid shell variable names.
1372 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1373 { echo "$as_me: error: invalid package name: $ac_package" >&2
1374 { (exit 1); exit 1; }; }
1375 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1376 eval with_
$ac_package=\
$ac_optarg ;;
1378 -without-* | --without-*)
1379 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1380 # Reject names that are not valid shell variable names.
1381 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1382 { echo "$as_me: error: invalid package name: $ac_package" >&2
1383 { (exit 1); exit 1; }; }
1384 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1385 eval with_
$ac_package=no
;;
1388 # Obsolete; use --with-x.
1391 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1392 | --x-incl | --x-inc | --x-in | --x-i)
1393 ac_prev
=x_includes
;;
1394 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1395 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1396 x_includes
=$ac_optarg ;;
1398 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1399 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1400 ac_prev
=x_libraries
;;
1401 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1402 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1403 x_libraries
=$ac_optarg ;;
1405 -*) { echo "$as_me: error: unrecognized option: $ac_option
1406 Try \`$0 --help' for more information." >&2
1407 { (exit 1); exit 1; }; }
1411 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1412 # Reject names that are not valid shell variable names.
1413 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1414 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1415 { (exit 1); exit 1; }; }
1416 eval $ac_envvar=\
$ac_optarg
1417 export $ac_envvar ;;
1420 # FIXME: should be removed in autoconf 3.0.
1421 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1422 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1423 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1424 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1430 if test -n "$ac_prev"; then
1431 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1432 { echo "$as_me: error: missing argument to $ac_option" >&2
1433 { (exit 1); exit 1; }; }
1436 # Be sure to have absolute directory names.
1437 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1438 datadir sysconfdir sharedstatedir localstatedir includedir \
1439 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1440 libdir localedir mandir
1442 eval ac_val
=\$
$ac_var
1444 [\\/$
]* | ?
:[\\/]* ) continue;;
1445 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1447 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1448 { (exit 1); exit 1; }; }
1451 # There might be people who depend on the old broken behavior: `$host'
1452 # used to hold the argument of --host etc.
1453 # FIXME: To remove some day.
1456 target
=$target_alias
1458 # FIXME: To remove some day.
1459 if test "x$host_alias" != x
; then
1460 if test "x$build_alias" = x
; then
1461 cross_compiling
=maybe
1462 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1463 If a cross compiler is detected then cross compile mode will be used." >&2
1464 elif test "x$build_alias" != "x$host_alias"; then
1470 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1472 test "$silent" = yes && exec 6>/dev
/null
1475 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1476 ac_ls_di
=`ls -di .` &&
1477 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1478 { echo "$as_me: error: Working directory cannot be determined" >&2
1479 { (exit 1); exit 1; }; }
1480 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1481 { echo "$as_me: error: pwd does not report name of working directory" >&2
1482 { (exit 1); exit 1; }; }
1485 # Find the source files, if location was not specified.
1486 if test -z "$srcdir"; then
1487 ac_srcdir_defaulted
=yes
1488 # Try the directory containing this script, then the parent directory.
1489 ac_confdir
=`$as_dirname -- "$0" ||
1490 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1491 X"$0" : 'X\(//\)[^/]' \| \
1492 X"$0" : 'X\(//\)$' \| \
1493 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1513 if test ! -r "$srcdir/$ac_unique_file"; then
1517 ac_srcdir_defaulted
=no
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1520 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1521 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1522 { (exit 1); exit 1; }; }
1524 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1526 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1527 { (exit 1); exit 1; }; }
1529 # When building in place, set srcdir=.
1530 if test "$ac_abs_confdir" = "$ac_pwd"; then
1533 # Remove unnecessary trailing slashes from srcdir.
1534 # Double slashes in file names in object file debugging info
1535 # mess up M-x gdb in Emacs.
1537 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1539 for ac_var
in $ac_precious_vars; do
1540 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1541 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1542 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1543 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1547 # Report the --help message.
1549 if test "$ac_init_help" = "long"; then
1550 # Omit some internal or obsolete options to make the list less imposing.
1551 # This message is too long to be a string in the A/UX 3.1 sh.
1553 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1555 Usage: $0 [OPTION]... [VAR=VALUE]...
1557 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1558 VAR=VALUE. See below for descriptions of some of the useful variables.
1560 Defaults for the options are specified in brackets.
1563 -h, --help display this help and exit
1564 --help=short display options specific to this package
1565 --help=recursive display the short help of all the included packages
1566 -V, --version display version information and exit
1567 -q, --quiet, --silent do not print \`checking...' messages
1568 --cache-file=FILE cache test results in FILE [disabled]
1569 -C, --config-cache alias for \`--cache-file=config.cache'
1570 -n, --no-create do not create output files
1571 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1573 Installation directories:
1574 --prefix=PREFIX install architecture-independent files in PREFIX
1575 [$ac_default_prefix]
1576 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1579 By default, \`make install' will install all the files in
1580 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1581 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1582 for instance \`--prefix=\$HOME'.
1584 For better control, use the options below.
1586 Fine tuning of the installation directories:
1587 --bindir=DIR user executables [EPREFIX/bin]
1588 --sbindir=DIR system admin executables [EPREFIX/sbin]
1589 --libexecdir=DIR program executables [EPREFIX/libexec]
1590 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1591 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1592 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1593 --libdir=DIR object code libraries [EPREFIX/lib]
1594 --includedir=DIR C header files [PREFIX/include]
1595 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1596 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1597 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1598 --infodir=DIR info documentation [DATAROOTDIR/info]
1599 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1600 --mandir=DIR man documentation [DATAROOTDIR/man]
1601 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1602 --htmldir=DIR html documentation [DOCDIR]
1603 --dvidir=DIR dvi documentation [DOCDIR]
1604 --pdfdir=DIR pdf documentation [DOCDIR]
1605 --psdir=DIR ps documentation [DOCDIR]
1611 --x-includes=DIR X include files are
in DIR
1612 --x-libraries=DIR X library files are
in DIR
1615 --build=BUILD configure
for building on BUILD
[guessed
]
1616 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1617 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1621 if test -n "$ac_init_help"; then
1622 case $ac_init_help in
1623 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1628 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1629 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1630 --disable-gui don
't build GUI parts of the library
1631 --enable-monolithic build wxWidgets as single library
1632 --enable-plugins build parts of wxWidgets as loadable components
1633 --enable-official_build official build of wxWidgets (win32 DLL only)
1634 --enable-vendor=VENDOR vendor name (win32 DLL only)
1635 --disable-all-features disable all optional features to build minimal library
1636 --enable-universal use wxWidgets GUI controls instead of native ones
1637 --enable-nanox use NanoX
1638 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1639 --enable-gpe use GNOME PDA Environment features if possible
1640 --disable-shared create static library instead of shared
1641 --disable-optimise create optimised code
1642 --enable-debug same as debug_flag and debug_info
1643 --enable-stl use STL for containers
1644 --enable-std_iostreams use standard C++ stream classes
1645 --enable-std_string use standard C++ string classes
1646 --disable-unicode compile without Unicode support
1647 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1648 --enable-utf8 use UTF-8 representation for strings (Unix only)
1649 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1650 --enable-extended_rtti use extended RTTI (XTI)
1651 --enable-omf use OMF object format
1652 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1653 --enable-debug_info create code with debugging information
1654 --enable-debug_gdb create code with extra GDB debugging information
1655 --enable-debug_cntxt use wxDebugContext
1656 --enable-mem_tracing create code with memory tracing
1657 --enable-profile create code with profiling information
1658 --enable-no_rtti create code without RTTI information
1659 --enable-no_exceptions create code without C++ exceptions handling
1660 --enable-permissive compile code disregarding strict ANSI
1661 --enable-no_deps create code without dependency information
1662 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1663 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1664 --enable-compat26 enable wxWidgets
2.6 compatibility
1665 --disable-compat28 disable wxWidgets
2.8 compatibility
1666 --disable-rpath disable use of rpath
for uninstalled builds
1667 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1668 --disable-visibility disable use of ELF symbols visibility even
if supported
1669 --enable-intl use internationalization system
1670 --enable-config use wxConfig
(and derived
) classes
1671 --enable-protocols use wxProtocol and derived classes
1672 --enable-ftp use wxFTP
(requires wxProtocol
1673 --enable-http use wxHTTP
(requires wxProtocol
1674 --enable-fileproto use wxFileProto class
(requires wxProtocol
1675 --enable-sockets use socket
/network classes
1676 --enable-ipv6 enable IPv6 support
in wxSocket
1677 --enable-ole use OLE classes
(Win32 only
)
1678 --enable-dataobj use data object classes
1679 --enable-ipc use interprocess communication
(wxSocket etc.
)
1680 --enable-baseevtloop use event loop
in console programs too
1681 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1682 --enable-selectloop use wxSelectDispatcher class
1683 --enable-apple_ieee use the Apple IEEE codec
1684 --enable-arcstream use wxArchive streams
1685 --enable-base64 use base64 encoding
/decoding functions
1686 --enable-backtrace use wxStackWalker class
for getting backtraces
1687 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1688 --enable-cmdline use wxCmdLineParser class
1689 --enable-datetime use wxDateTime class
1690 --enable-debugreport use wxDebugReport class
1691 --enable-dialupman use dialup network classes
1692 --enable-dynlib use wxLibrary class
for DLL loading
1693 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1694 --enable-exceptions build exception
-safe library
1695 --enable-ffile use wxFFile class
1696 --enable-file use wxFile class
1697 --enable-filesystem use virtual
file systems classes
1698 --enable-fontenum use wxFontEnumerator class
1699 --enable-fontmap use font encodings conversion classes
1700 --enable-fs_archive use virtual archive filesystems
1701 --enable-fs_inet use virtual HTTP
/FTP filesystems
1702 --enable-fs_zip now replaced by fs_archive
1703 --enable-geometry use geometry class
1704 --enable-log use logging system
1705 --enable-longlong use wxLongLong class
1706 --enable-mimetype use wxMimeTypesManager
1707 --enable-snglinst use wxSingleInstanceChecker class
1708 --enable-stdpaths use wxStandardPaths class
1709 --enable-stopwatch use wxStopWatch class
1710 --enable-streams use wxStream etc classes
1711 --enable-sysoptions use wxSystemOptions
1712 --enable-tarstream use wxTar streams
1713 --enable-textbuf use wxTextBuffer class
1714 --enable-textfile use wxTextFile class
1715 --enable-timer use wxTimer class
1716 --enable-sound use wxSound class
1717 --enable-mediactrl use wxMediaCtrl class
1718 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1719 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1720 --enable-zipstream use wxZip streams
1721 --enable-url use wxURL class
1722 --enable-variant use wxVariant class
1723 --enable-protocol use wxProtocol class
1724 --enable-protocol-http HTTP support
in wxProtocol
1725 --enable-protocol-ftp FTP support
in wxProtocol
1726 --enable-protocol-file FILE support
in wxProtocol
1727 --enable-threads use threads
1728 --enable-iniconf use wxIniConfig
(Win32 only
)
1729 --enable-regkey use wxRegKey class
(Win32 only
)
1730 --enable-docview use document view architecture
1731 --enable-help use
help subsystem
1732 --enable-mshtmlhelp use MS HTML Help
(win32
)
1733 --enable-html use wxHTML sub
-library
1734 --enable-htmlhelp use wxHTML
-based help
1735 --enable-xrc use XRC resources sub
-library
1736 --enable-aui use AUI docking library
1737 --enable-stc use wxStyledTextCtrl library
1738 --enable-constraints use layout
-constraints system
1739 --enable-printarch use printing architecture
1740 --enable-mdi use multiple document interface architecture
1741 --enable-mdidoc use docview architecture with MDI
1742 --enable-loggui use standard GUI logger
1743 --enable-logwin use wxLogWindow
1744 --enable-logdialog use wxLogDialog
1745 --enable-webkit use wxWebKitCtrl
(Mac
)
1746 --enable-richtext use wxRichTextCtrl
1747 --enable-graphics_ctx use graphics context
2D drawing API
1748 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1749 --enable-svg use wxSVGFileDC device context
1750 --enable-clipboard use wxClipboard class
1751 --enable-dnd use Drag
'n'Drop classes
1752 --enable-metafile use win32 metafiles
1753 --disable-controls disable compilation of all standard controls
1754 --enable-accel use accelerators
1755 --enable-animatectrl use wxAnimationCtrl class
1756 --enable-button use wxButton class
1757 --enable-bmpbutton use wxBitmapButton class
1758 --enable-bmpcombobox use wxBitmapComboBox class
1759 --enable-calendar use wxCalendarCtrl class
1760 --enable-caret use wxCaret class
1761 --enable-checkbox use wxCheckBox class
1762 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1763 --enable-choice use wxChoice class
1764 --enable-choicebook use wxChoicebook class
1765 --enable-collpane use wxCollapsiblePane class
1766 --enable-colourpicker use wxColourPickerCtrl class
1767 --enable-combobox use wxComboBox class
1768 --enable-comboctrl use wxComboCtrl class
1769 --enable-datepick use wxDatePickerCtrl class
1770 --enable-dirpicker use wxDirPickerCtrl class
1771 --enable-display use wxDisplay class
1772 --enable-detect_sm use code to detect X11 session manager
1773 --enable-editablebox use wxEditableListBox class
1774 --enable-filepicker use wxFilePickerCtrl class
1775 --enable-filectrl use wxFileCtrl class
1776 --enable-fontpicker use wxFontPickerCtrl class
1777 --enable-gauge use wxGauge class
1778 --enable-grid use wxGrid class
1779 --enable-dataviewctrl use wxDataViewCtrl class
1780 --enable-hyperlink use wxHyperlinkCtrl class
1781 --enable-imaglist use wxImageList class
1782 --enable-listbook use wxListbook class
1783 --enable-listbox use wxListBox class
1784 --enable-listctrl use wxListCtrl class
1785 --enable-notebook use wxNotebook class
1786 --enable-notifmsg use wxNotificationMessage class
1787 --enable-odcombobox use wxOwnerDrawnComboBox class
1788 --enable-radiobox use wxRadioBox class
1789 --enable-radiobtn use wxRadioButton class
1790 --enable-sash use wxSashWindow class
1791 --enable-scrollbar use wxScrollBar class and scrollable windows
1792 --enable-searchctrl use wxSearchCtrl class
1793 --enable-slider use wxSlider class
1794 --enable-spinbtn use wxSpinButton class
1795 --enable-spinctrl use wxSpinCtrl class
1796 --enable-splitter use wxSplitterWindow class
1797 --enable-statbmp use wxStaticBitmap class
1798 --enable-statbox use wxStaticBox class
1799 --enable-statline use wxStaticLine class
1800 --enable-stattext use wxStaticText class
1801 --enable-statusbar use wxStatusBar class
1802 --enable-tabdialog use wxTabControl class
1803 --enable-taskbaricon use wxTaskBarIcon class
1804 --enable-textctrl use wxTextCtrl class
1805 --enable-togglebtn use wxToggleButton class
1806 --enable-toolbar use wxToolBar class
1807 --enable-tbarnative use native wxToolBar class
1808 --enable-treebook use wxTreebook class
1809 --enable-toolbook use wxToolbook class
1810 --enable-treectrl use wxTreeCtrl class
1811 --enable-tipwindow use wxTipWindow class
1812 --enable-popupwin use wxPopUpWindow class
1813 --enable-commondlg use all common dialogs
1814 --enable-aboutdlg use wxAboutBox
1815 --enable-choicedlg use wxChoiceDialog
1816 --enable-coldlg use wxColourDialog
1817 --enable-filedlg use wxFileDialog
1818 --enable-finddlg use wxFindReplaceDialog
1819 --enable-fontdlg use wxFontDialog
1820 --enable-dirdlg use wxDirDialog
1821 --enable-msgdlg use wxMessageDialog
1822 --enable-numberdlg use wxNumberEntryDialog
1823 --enable-splash use wxSplashScreen
1824 --enable-textdlg use wxTextDialog
1825 --enable-tipdlg use startup tips
1826 --enable-progressdlg use wxProgressDialog
1827 --enable-wizarddlg use wxWizard
1828 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1829 --enable-miniframe use wxMiniFrame class
1830 --enable-tooltips use wxToolTip class
1831 --enable-splines use spline drawing code
1832 --enable-mousewheel use mousewheel
1833 --enable-validators use wxValidator and derived classes
1834 --enable-busyinfo use wxBusyInfo
1835 --enable-joystick use wxJoystick
1836 --enable-metafiles use wxMetaFile
(Win32 only
)
1837 --enable-dragimage use wxDragImage
1838 --enable-accessibility enable accessibility support
1839 --enable-palette use wxPalette class
1840 --enable-image use wxImage class
1841 --enable-gif use gif images
(GIF
file format
)
1842 --enable-pcx use pcx images
(PCX
file format
)
1843 --enable-tga use tga images
(TGA
file format
)
1844 --enable-iff use iff images
(IFF
file format
)
1845 --enable-pnm use pnm images
(PNM
file format
)
1846 --enable-xpm use xpm images
(XPM
file format
)
1847 --enable-icocur use Windows ICO and CUR formats
1848 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1849 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1850 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1851 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1852 --enable-wxdib use wxDIB class
(Win32 only
)
1853 --disable-largefile omit support
for large files
1854 --disable-gtktest do not try to compile and run a
test GTK
+ program
1855 --disable-gtktest Do not try to compile and run a
test GTK program
1856 --disable-sdltest Do not try to compile and run a
test SDL program
1857 --enable-omf use OMF object format
(OS
/2)
1858 --disable-dependency-tracking
1859 don
't use dependency tracking even if the compiler
1861 --disable-precomp-headers
1862 don't use precompiled headers even
if compiler can
1865 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1866 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1867 --without-subdirs don
't generate makefiles for samples/demos/...
1868 --with-flavour=NAME specify a name to identify this build
1869 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1870 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1871 --with-motif use Motif/Lesstif
1872 --with-mac use Mac OS X
1873 --with-cocoa use Cocoa
1874 --with-wine use Wine
1875 --with-msw use MS-Windows
1876 --with-pm use OS/2 Presentation Manager
1877 --with-mgl use SciTech MGL
1878 --with-directfb use DirectFB
1879 --with-microwin use MicroWindows
1881 --with-libpng use libpng (PNG image format)
1882 --with-libjpeg use libjpeg (JPEG file format)
1883 --with-libtiff use libtiff (TIFF file format)
1884 --with-libxpm use libxpm (XPM file format)
1885 --with-libmspack use libmspack (CHM help files loading)
1886 --without-gtkprint don't use GTK printing support
1887 --without-gnomeprint don
't use GNOME printing libraries
1888 --with-gnomevfs use GNOME VFS for associating MIME types
1889 --with-hildon use Hildon framework for Nokia 770
1890 --with-opengl use OpenGL (or Mesa)
1891 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1892 --with-sdl use SDL for audio on Unix
1893 --with-regex enable support for wxRegEx class
1894 --with-zlib use zlib for LZW compression
1895 --with-expat enable XML support using expat parser
1896 --with-macosx-sdk=PATH use an OS X SDK at PATH
1897 --with-macosx-version-min=VER build binaries which require at least this OS X version
1898 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1899 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1900 --with-x use the X Window System
1901 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1902 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1903 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1904 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1905 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1907 Some influential environment variables:
1908 CC C compiler command
1909 CFLAGS C compiler flags
1910 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1911 nonstandard directory <lib dir>
1912 LIBS libraries to pass to the linker, e.g. -l<library>
1913 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1914 you have headers in a nonstandard directory <include dir>
1916 CXX C++ compiler command
1917 CXXFLAGS C++ compiler flags
1918 PKG_CONFIG path to pkg-config utility
1920 C compiler flags for DIRECTFB, overriding pkg-config
1922 linker flags for DIRECTFB, overriding pkg-config
1923 XMKMF Path to xmkmf, Makefile generator for X Window System
1925 C compiler flags for PANGOX, overriding pkg-config
1926 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1928 C compiler flags for PANGOFT2, overriding pkg-config
1930 linker flags for PANGOFT2, overriding pkg-config
1932 C compiler flags for PANGOXFT, overriding pkg-config
1934 linker flags for PANGOXFT, overriding pkg-config
1936 C compiler flags for GTKPRINT, overriding pkg-config
1938 linker flags for GTKPRINT, overriding pkg-config
1939 LIBGNOMEPRINTUI_CFLAGS
1940 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1941 LIBGNOMEPRINTUI_LIBS
1942 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1944 C compiler flags for GNOMEVFS, overriding pkg-config
1946 linker flags for GNOMEVFS, overriding pkg-config
1948 C compiler flags for HILDON, overriding pkg-config
1949 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1951 C compiler flags for CAIRO, overriding pkg-config
1952 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1953 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1954 GST_LIBS linker flags for GST, overriding pkg-config
1956 Use these variables to override the choices made by `configure' or to
help
1957 it to
find libraries and programs with nonstandard names
/locations.
1959 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1964 if test "$ac_init_help" = "recursive"; then
1965 # If there are subdirs, report their specific --help.
1966 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1967 test -d "$ac_dir" || continue
1971 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1973 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1974 # A ".." for each directory in $ac_dir_suffix.
1975 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1976 case $ac_top_builddir_sub in
1977 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1978 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1981 ac_abs_top_builddir
=$ac_pwd
1982 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1983 # for backward compatibility:
1984 ac_top_builddir
=$ac_top_build_prefix
1987 .
) # We are building in place.
1989 ac_top_srcdir
=$ac_top_builddir_sub
1990 ac_abs_top_srcdir
=$ac_pwd ;;
1991 [\\/]* | ?
:[\\/]* ) # Absolute name.
1992 ac_srcdir
=$srcdir$ac_dir_suffix;
1993 ac_top_srcdir
=$srcdir
1994 ac_abs_top_srcdir
=$srcdir ;;
1996 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1997 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1998 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2000 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2002 cd "$ac_dir" || { ac_status
=$?
; continue; }
2003 # Check for guested configure.
2004 if test -f "$ac_srcdir/configure.gnu"; then
2006 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2007 elif test -f "$ac_srcdir/configure"; then
2009 $SHELL "$ac_srcdir/configure" --help=recursive
2011 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2013 cd "$ac_pwd" || { ac_status
=$?
; break; }
2017 test -n "$ac_init_help" && exit $ac_status
2018 if $ac_init_version; then
2020 wxWidgets configure
2.9.0
2021 generated by GNU Autoconf
2.61
2023 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2024 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2025 This configure
script is free software
; the Free Software Foundation
2026 gives unlimited permission to copy
, distribute and modify it.
2030 cat >config.log
<<_ACEOF
2031 This file contains any messages produced by compilers while
2032 running configure, to aid debugging if configure makes a mistake.
2034 It was created by wxWidgets $as_me 2.9.0, which was
2035 generated by GNU Autoconf 2.61. Invocation command line was
2047 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2048 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2049 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2050 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2051 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2053 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2054 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2056 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2057 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2058 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2059 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2060 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2061 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2062 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2070 test -z "$as_dir" && as_dir
=.
2071 echo "PATH: $as_dir"
2087 # Keep a trace of the command line.
2088 # Strip out --no-create and --no-recursion so they do not pile up.
2089 # Strip out --silent because we don't want to record it for future runs.
2090 # Also quote any args containing shell meta-characters.
2091 # Make two passes to allow for proper duplicate-argument suppression.
2095 ac_must_keep_next
=false
2101 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2102 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2103 | -silent | --silent | --silen | --sile | --sil)
2106 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2109 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2111 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2112 if test $ac_must_keep_next = true
; then
2113 ac_must_keep_next
=false
# Got value, back to normal.
2116 *=* | --config-cache | -C | -disable-* | --disable-* \
2117 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2118 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2119 | -with-* | --with-* | -without-* | --without-* | --x)
2120 case "$ac_configure_args0 " in
2121 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2124 -* ) ac_must_keep_next
=true
;;
2127 ac_configure_args
="$ac_configure_args '$ac_arg'"
2132 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2133 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2135 # When interrupted or exit'd, cleanup temporary files, and complete
2136 # config.log. We remove comments because anyway the quotes in there
2137 # would cause problems or look ugly.
2138 # WARNING: Use '\'' to represent an apostrophe within the trap.
2139 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2140 trap 'exit_status=$?
2141 # Save into config.log some information that might help in debugging.
2146 ## ---------------- ##
2147 ## Cache variables. ##
2148 ## ---------------- ##
2151 # The following way of writing the cache mishandles newlines in values,
2153 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2154 eval ac_val=\$$ac_var
2158 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2159 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2162 _ | IFS | as_nl) ;; #(
2163 *) $as_unset $ac_var ;;
2168 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2169 *${as_nl}ac_space=\ *)
2171 "s/'\''/'\''\\\\'\'''\''/g;
2172 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2175 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2183 ## ----------------- ##
2184 ## Output variables. ##
2185 ## ----------------- ##
2188 for ac_var in $ac_subst_vars
2190 eval ac_val=\$$ac_var
2192 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2194 echo "$ac_var='\''$ac_val'\''"
2198 if test -n "$ac_subst_files"; then
2200 ## ------------------- ##
2201 ## File substitutions. ##
2202 ## ------------------- ##
2205 for ac_var
in $ac_subst_files
2207 eval ac_val
=\$
$ac_var
2209 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2211 echo "$ac_var='\''$ac_val'\''"
2216 if test -s confdefs.h; then
2226 test "$ac_signal" != 0 &&
2227 echo "$as_me: caught signal $ac_signal"
2228 echo "$as_me: exit $exit_status"
2230 rm -f core *.core core.conftest.* &&
2231 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2234 for ac_signal
in 1 2 13 15; do
2235 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2239 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2240 rm -f -r conftest
* confdefs.h
2242 # Predefined preprocessor variables.
2244 cat >>confdefs.h
<<_ACEOF
2245 #define PACKAGE_NAME "$PACKAGE_NAME"
2249 cat >>confdefs.h
<<_ACEOF
2250 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2254 cat >>confdefs.h
<<_ACEOF
2255 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2259 cat >>confdefs.h
<<_ACEOF
2260 #define PACKAGE_STRING "$PACKAGE_STRING"
2264 cat >>confdefs.h
<<_ACEOF
2265 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2269 # Let the site file select an alternate cache file if it wants to.
2270 # Prefer explicitly selected file to automatically selected ones.
2271 if test -n "$CONFIG_SITE"; then
2272 set x
"$CONFIG_SITE"
2273 elif test "x$prefix" != xNONE
; then
2274 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2276 set x
"$ac_default_prefix/share/config.site" \
2277 "$ac_default_prefix/etc/config.site"
2282 if test -r "$ac_site_file"; then
2283 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2284 echo "$as_me: loading site script $ac_site_file" >&6;}
2285 sed 's/^/| /' "$ac_site_file" >&5
2290 if test -r "$cache_file"; then
2291 # Some versions of bash will fail to source /dev/null (special
2292 # files actually), so we avoid doing that.
2293 if test -f "$cache_file"; then
2294 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2295 echo "$as_me: loading cache $cache_file" >&6;}
2297 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2298 *) .
"./$cache_file";;
2302 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2303 echo "$as_me: creating cache $cache_file" >&6;}
2307 # Check that the precious variables saved in the cache have kept the same
2309 ac_cache_corrupted
=false
2310 for ac_var
in $ac_precious_vars; do
2311 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2312 eval ac_new_set
=\
$ac_env_${ac_var}_set
2313 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2314 eval ac_new_val
=\
$ac_env_${ac_var}_value
2315 case $ac_old_set,$ac_new_set in
2317 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2318 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2319 ac_cache_corrupted
=: ;;
2321 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2322 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2323 ac_cache_corrupted
=: ;;
2326 if test "x$ac_old_val" != "x$ac_new_val"; then
2327 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2328 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2329 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2330 echo "$as_me: former value: $ac_old_val" >&2;}
2331 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2332 echo "$as_me: current value: $ac_new_val" >&2;}
2333 ac_cache_corrupted
=:
2336 # Pass precious variables to config.status.
2337 if test "$ac_new_set" = set; then
2339 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2340 *) ac_arg
=$ac_var=$ac_new_val ;;
2342 case " $ac_configure_args " in
2343 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2344 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2348 if $ac_cache_corrupted; then
2349 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2350 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2351 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2352 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2353 { (exit 1); exit 1; }; }
2381 ac_cpp
='$CPP $CPPFLAGS'
2382 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2383 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2384 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2391 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2392 if test -f "$ac_dir/install-sh"; then
2394 ac_install_sh
="$ac_aux_dir/install-sh -c"
2396 elif test -f "$ac_dir/install.sh"; then
2398 ac_install_sh
="$ac_aux_dir/install.sh -c"
2400 elif test -f "$ac_dir/shtool"; then
2402 ac_install_sh
="$ac_aux_dir/shtool install -c"
2406 if test -z "$ac_aux_dir"; then
2407 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2408 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2409 { (exit 1); exit 1; }; }
2412 # These three variables are undocumented and unsupported,
2413 # and are intended to be withdrawn in a future Autoconf release.
2414 # They can cause serious problems if a builder's source tree is in a directory
2415 # whose full name contains unusual characters.
2416 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2417 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2418 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2421 # Make sure we can run config.sub.
2422 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2423 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2424 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2425 { (exit 1); exit 1; }; }
2427 { echo "$as_me:$LINENO: checking build system type" >&5
2428 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2429 if test "${ac_cv_build+set}" = set; then
2430 echo $ECHO_N "(cached) $ECHO_C" >&6
2432 ac_build_alias
=$build_alias
2433 test "x$ac_build_alias" = x
&&
2434 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2435 test "x$ac_build_alias" = x
&&
2436 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2437 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2438 { (exit 1); exit 1; }; }
2439 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2440 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2441 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2442 { (exit 1); exit 1; }; }
2445 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2446 echo "${ECHO_T}$ac_cv_build" >&6; }
2447 case $ac_cv_build in
2449 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2450 echo "$as_me: error: invalid value of canonical build" >&2;}
2451 { (exit 1); exit 1; }; };;
2454 ac_save_IFS
=$IFS; IFS
='-'
2460 # Remember, the first character of IFS is used to create $*,
2461 # except with old shells:
2464 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2467 { echo "$as_me:$LINENO: checking host system type" >&5
2468 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2469 if test "${ac_cv_host+set}" = set; then
2470 echo $ECHO_N "(cached) $ECHO_C" >&6
2472 if test "x$host_alias" = x
; then
2473 ac_cv_host
=$ac_cv_build
2475 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2476 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2477 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2478 { (exit 1); exit 1; }; }
2482 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2483 echo "${ECHO_T}$ac_cv_host" >&6; }
2486 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2487 echo "$as_me: error: invalid value of canonical host" >&2;}
2488 { (exit 1); exit 1; }; };;
2491 ac_save_IFS
=$IFS; IFS
='-'
2497 # Remember, the first character of IFS is used to create $*,
2498 # except with old shells:
2501 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2504 { echo "$as_me:$LINENO: checking target system type" >&5
2505 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2506 if test "${ac_cv_target+set}" = set; then
2507 echo $ECHO_N "(cached) $ECHO_C" >&6
2509 if test "x$target_alias" = x
; then
2510 ac_cv_target
=$ac_cv_host
2512 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2513 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2514 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2515 { (exit 1); exit 1; }; }
2519 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2520 echo "${ECHO_T}$ac_cv_target" >&6; }
2521 case $ac_cv_target in
2523 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2524 echo "$as_me: error: invalid value of canonical target" >&2;}
2525 { (exit 1); exit 1; }; };;
2527 target
=$ac_cv_target
2528 ac_save_IFS
=$IFS; IFS
='-'
2534 # Remember, the first character of IFS is used to create $*,
2535 # except with old shells:
2538 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2541 # The aliases save the names the user supplied, while $host etc.
2542 # will get canonicalized.
2543 test -n "$target_alias" &&
2544 test "$program_prefix$program_suffix$program_transform_name" = \
2546 program_prefix
=${target_alias}-
2550 wx_major_version_number
=2
2551 wx_minor_version_number
=9
2553 wx_subrelease_number
=0
2555 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2556 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2557 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2559 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2562 wx_top_builddir
="`pwd`"
2575 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2581 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2587 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2589 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2591 DEFAULT_wxUSE_COCOA
=0
2595 DEFAULT_wxUSE_MICROWIN
=0
2596 DEFAULT_wxUSE_MOTIF
=0
2602 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2603 DEFAULT_DEFAULT_wxUSE_GTK
=0
2604 DEFAULT_DEFAULT_wxUSE_MAC
=0
2605 DEFAULT_DEFAULT_wxUSE_MGL
=0
2606 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2607 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2608 DEFAULT_DEFAULT_wxUSE_MSW
=0
2609 DEFAULT_DEFAULT_wxUSE_PM
=0
2610 DEFAULT_DEFAULT_wxUSE_X11
=0
2611 DEFAULT_DEFAULT_wxUSE_DFB
=0
2616 SAMPLES_RPATH_POSTLINK
=
2618 DEFAULT_STD_FLAG
=yes
2623 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2624 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2626 cat >>confdefs.h
<<\_ACEOF
2631 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2635 cat >>confdefs.h
<<\_ACEOF
2640 if test "x$TMP" = "xalpha"; then
2642 cat >>confdefs.h
<<\_ACEOF
2647 DEFAULT_DEFAULT_wxUSE_GTK
=1
2649 *-*-gnu* | *-*-k*bsd
*-gnu )
2652 if test "x$TMP" = "xalpha"; then
2654 cat >>confdefs.h
<<\_ACEOF
2659 DEFAULT_DEFAULT_wxUSE_GTK
=1
2661 *-*-irix5* | *-*-irix6* )
2664 cat >>confdefs.h
<<\_ACEOF
2668 cat >>confdefs.h
<<\_ACEOF
2672 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2678 cat >>confdefs.h
<<\_ACEOF
2682 cat >>confdefs.h
<<\_ACEOF
2683 #define __SOLARIS__ 1
2686 cat >>confdefs.h
<<\_ACEOF
2690 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2691 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2697 cat >>confdefs.h
<<\_ACEOF
2701 cat >>confdefs.h
<<\_ACEOF
2705 cat >>confdefs.h
<<\_ACEOF
2709 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2714 cat >>confdefs.h
<<\_ACEOF
2715 #define __FREEBSD__ 1
2718 cat >>confdefs.h
<<\_ACEOF
2722 DEFAULT_DEFAULT_wxUSE_GTK
=1
2724 *-*-openbsd*|*-*-mirbsd*)
2727 cat >>confdefs.h
<<\_ACEOF
2728 #define __OPENBSD__ 1
2731 cat >>confdefs.h
<<\_ACEOF
2735 DEFAULT_DEFAULT_wxUSE_GTK
=1
2740 cat >>confdefs.h
<<\_ACEOF
2741 #define __NETBSD__ 1
2744 cat >>confdefs.h
<<\_ACEOF
2748 DEFAULT_DEFAULT_wxUSE_GTK
=1
2749 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2751 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2756 cat >>confdefs.h
<<\_ACEOF
2760 cat >>confdefs.h
<<\_ACEOF
2764 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2765 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2770 cat >>confdefs.h
<<\_ACEOF
2774 cat >>confdefs.h
<<\_ACEOF
2778 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2783 cat >>confdefs.h
<<\_ACEOF
2787 cat >>confdefs.h
<<\_ACEOF
2791 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2798 cat >>confdefs.h
<<\_ACEOF
2802 cat >>confdefs.h
<<\_ACEOF
2806 cat >>confdefs.h
<<\_ACEOF
2810 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2817 cat >>confdefs.h
<<\_ACEOF
2818 #define __UNIXWARE__ 1
2823 *-*-cygwin* | *-*-mingw32* )
2826 DEFAULT_DEFAULT_wxUSE_MSW
=1
2832 cat >>confdefs.h
<<\_ACEOF
2837 DEFAULT_DEFAULT_wxUSE_MGL
=1
2840 *-pc-os2_emx | *-pc-os2-emx )
2841 cat >>confdefs.h
<<\_ACEOF
2846 cat >>confdefs.h
<<\_ACEOF
2851 DEFAULT_DEFAULT_wxUSE_PM
=1
2853 LDFLAGS
="$LDFLAGS -Zcrtdll"
2854 ac_executable_extensions
=".exe"
2855 export ac_executable_extensions
2859 for ac_dir
in $PATH; do
2861 if test -z "$ac_TEMP_PATH"; then
2862 ac_TEMP_PATH
="$ac_dir"
2864 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2867 export PATH
="$ac_TEMP_PATH"
2876 cat >>confdefs.h
<<\_ACEOF
2880 cat >>confdefs.h
<<\_ACEOF
2881 #define __DARWIN__ 1
2884 cat >>confdefs.h
<<\_ACEOF
2885 #define TARGET_CARBON 1
2888 DEFAULT_DEFAULT_wxUSE_MAC
=1
2891 powerpc
-apple-macos* )
2893 ac_cv_c_bigendian
=yes
2895 DEFAULT_DEFAULT_wxUSE_MAC
=1
2901 cat >>confdefs.h
<<\_ACEOF
2908 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2909 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2910 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2911 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2913 DEFAULT_DEFAULT_wxUSE_X11
=1
2914 DEFAULT_wxUSE_SHARED
=no
2919 DEFAULT_wxUSE_ALL_FEATURES
=yes
2921 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2922 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2924 DEFAULT_wxUSE_DMALLOC
=no
2925 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2926 DEFAULT_wxUSE_LIBHILDON
=no
2927 DEFAULT_wxUSE_LIBMSPACK
=no
2928 DEFAULT_wxUSE_LIBSDL
=no
2929 DEFAULT_wxUSE_OPENGL
=no
2931 DEFAULT_wxUSE_ACCESSIBILITY
=no
2932 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2933 DEFAULT_wxUSE_IPV6
=no
2934 DEFAULT_wxUSE_MEDIACTRL
=no
2935 DEFAULT_wxUSE_TAB_DIALOG
=no
2936 DEFAULT_wxUSE_GSTREAMER8
=no
2938 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2939 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2941 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2943 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2945 DEFAULT_wxUSE_GTK2
=yes
2947 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2953 enablestring
=disable
2955 if test -z "$defaultval"; then
2956 if test x
"$enablestring" = xdisable
; then
2963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2964 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2965 # Check whether --enable-gui was given.
2966 if test "${enable_gui+set}" = set; then
2967 enableval
=$enable_gui;
2968 if test "$enableval" = yes; then
2969 wx_cv_use_gui
='wxUSE_GUI=yes'
2971 wx_cv_use_gui
='wxUSE_GUI=no'
2976 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2981 eval "$wx_cv_use_gui"
2983 if test x"$enablestring" = xdisable; then
2984 if test $wxUSE_GUI = yes; then
2993 { echo "$as_me:$LINENO: result: $result" >&5
2994 echo "${ECHO_T}$result" >&6; }
2999 if test -z "$defaultval"; then
3000 if test x"$enablestring" = xdisable; then
3007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3008 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3009 # Check whether --enable-monolithic was given.
3010 if test "${enable_monolithic+set}" = set; then
3011 enableval=$enable_monolithic;
3012 if test "$enableval" = yes; then
3013 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3015 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3020 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3025 eval "$wx_cv_use_monolithic"
3027 if test x"$enablestring" = xdisable; then
3028 if test $wxUSE_MONOLITHIC = yes; then
3034 result=$wxUSE_MONOLITHIC
3037 { echo "$as_me:$LINENO: result
: $result" >&5
3038 echo "${ECHO_T}$result" >&6; }
3043 if test -z "$defaultval"; then
3044 if test x"$enablestring" = xdisable; then
3051 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3052 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3053 # Check whether --enable-plugins was given.
3054 if test "${enable_plugins+set}" = set; then
3055 enableval=$enable_plugins;
3056 if test "$enableval" = yes; then
3057 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3059 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3064 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3069 eval "$wx_cv_use_plugins"
3071 if test x
"$enablestring" = xdisable
; then
3072 if test $wxUSE_PLUGINS = yes; then
3078 result
=$wxUSE_PLUGINS
3081 { echo "$as_me:$LINENO: result: $result" >&5
3082 echo "${ECHO_T}$result" >&6; }
3086 defaultval
=$wxUSE_ALL_FEATURES
3087 if test -z "$defaultval"; then
3088 if test x
"$withstring" = xwithout
; then
3094 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3095 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3097 # Check whether --with-subdirs was given.
3098 if test "${with_subdirs+set}" = set; then
3099 withval
=$with_subdirs;
3100 if test "$withval" = yes; then
3101 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3103 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3108 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3113 eval "$wx_cv_use_subdirs"
3115 if test x"$withstring" = xwithout; then
3116 if test $wxWITH_SUBDIRS = yes; then
3122 result=$wxWITH_SUBDIRS
3125 { echo "$as_me:$LINENO: result: $result" >&5
3126 echo "${ECHO_T}$result" >&6; }
3129 # Check whether --with-flavour was given.
3130 if test "${with_flavour+set}" = set; then
3131 withval=$with_flavour; WX_FLAVOUR="$withval"
3137 if test -z "$defaultval"; then
3138 if test x"$enablestring" = xdisable; then
3145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3146 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3147 # Check whether --enable-official_build was given.
3148 if test "${enable_official_build+set}" = set; then
3149 enableval=$enable_official_build;
3150 if test "$enableval" = yes; then
3151 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3153 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3158 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3163 eval "$wx_cv_use_official_build"
3165 if test x"$enablestring" = xdisable; then
3166 if test $wxUSE_OFFICIAL_BUILD = yes; then
3172 result=$wxUSE_OFFICIAL_BUILD
3175 { echo "$as_me:$LINENO: result
: $result" >&5
3176 echo "${ECHO_T}$result" >&6; }
3178 # Check whether --enable-vendor was given.
3179 if test "${enable_vendor+set}" = set; then
3180 enableval=$enable_vendor; VENDOR="$enableval"
3183 if test "x
$VENDOR" = "x
"; then
3188 enablestring=disable
3190 if test -z "$defaultval"; then
3191 if test x"$enablestring" = xdisable; then
3198 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3199 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3200 # Check whether --enable-all-features was given.
3201 if test "${enable_all_features+set}" = set; then
3202 enableval=$enable_all_features;
3203 if test "$enableval" = yes; then
3204 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3206 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3211 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3216 eval "$wx_cv_use_all_features"
3218 if test x
"$enablestring" = xdisable
; then
3219 if test $wxUSE_ALL_FEATURES = yes; then
3225 result
=$wxUSE_ALL_FEATURES
3228 { echo "$as_me:$LINENO: result: $result" >&5
3229 echo "${ECHO_T}$result" >&6; }
3233 if test "$wxUSE_GUI" = "yes"; then
3238 if test -z "$defaultval"; then
3239 if test x
"$enablestring" = xdisable
; then
3246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3247 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3248 # Check whether --enable-universal was given.
3249 if test "${enable_universal+set}" = set; then
3250 enableval
=$enable_universal;
3251 if test "$enableval" = yes; then
3252 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3254 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3259 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3264 eval "$wx_cv_use_universal"
3266 if test x"$enablestring" = xdisable; then
3267 if test $wxUSE_UNIVERSAL = yes; then
3273 result=$wxUSE_UNIVERSAL
3276 { echo "$as_me:$LINENO: result: $result" >&5
3277 echo "${ECHO_T}$result" >&6; }
3279 if test "$wxUSE_UNIVERSAL" = "yes"; then
3281 # Check whether --with-themes was given.
3282 if test "${with_themes+set}" = set; then
3283 withval=$with_themes; wxUNIV_THEMES="$withval"
3289 # Check whether --with-gtk was given.
3290 if test "${with_gtk+set}" = set; then
3291 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3295 # Check whether --with-motif was given.
3296 if test "${with_motif+set}" = set; then
3297 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3301 # Check whether --with-mac was given.
3302 if test "${with_mac+set}" = set; then
3303 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3307 # Check whether --with-cocoa was given.
3308 if test "${with_cocoa+set}" = set; then
3309 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3313 # Check whether --with-wine was given.
3314 if test "${with_wine+set}" = set; then
3315 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3319 # Check whether --with-msw was given.
3320 if test "${with_msw+set}" = set; then
3321 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3325 # Check whether --with-pm was given.
3326 if test "${with_pm+set}" = set; then
3327 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3331 # Check whether --with-mgl was given.
3332 if test "${with_mgl+set}" = set; then
3333 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3337 # Check whether --with-directfb was given.
3338 if test "${with_directfb+set}" = set; then
3339 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3343 # Check whether --with-microwin was given.
3344 if test "${with_microwin+set}" = set; then
3345 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3349 # Check whether --with-x11 was given.
3350 if test "${with_x11+set}" = set; then
3351 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3357 if test -z "$defaultval"; then
3358 if test x"$enablestring" = xdisable; then
3365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3366 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3367 # Check whether --enable-nanox was given.
3368 if test "${enable_nanox+set}" = set; then
3369 enableval=$enable_nanox;
3370 if test "$enableval" = yes; then
3371 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3373 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3378 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3383 eval "$wx_cv_use_nanox"
3385 if test x"$enablestring" = xdisable; then
3386 if test $wxUSE_NANOX = yes; then
3395 { echo "$as_me:$LINENO: result
: $result" >&5
3396 echo "${ECHO_T}$result" >&6; }
3399 # Check whether --enable-gtk2 was given.
3400 if test "${enable_gtk2+set}" = set; then
3401 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3407 if test -z "$defaultval"; then
3408 if test x"$enablestring" = xdisable; then
3415 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3416 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3417 # Check whether --enable-gpe was given.
3418 if test "${enable_gpe+set}" = set; then
3419 enableval=$enable_gpe;
3420 if test "$enableval" = yes; then
3421 wx_cv_use_gpe='wxUSE_GPE=yes'
3423 wx_cv_use_gpe='wxUSE_GPE=no'
3428 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3433 eval "$wx_cv_use_gpe"
3435 if test x
"$enablestring" = xdisable
; then
3436 if test $wxUSE_GPE = yes; then
3445 { echo "$as_me:$LINENO: result: $result" >&5
3446 echo "${ECHO_T}$result" >&6; }
3451 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3452 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3454 # Check whether --with-libpng was given.
3455 if test "${with_libpng+set}" = set; then
3456 withval
=$with_libpng;
3457 if test "$withval" = yes; then
3458 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3459 elif test "$withval" = no
; then
3460 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3461 elif test "$withval" = sys
; then
3462 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3463 elif test "$withval" = builtin; then
3464 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3466 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3467 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3468 { (exit 1); exit 1; }; }
3473 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3478 eval "$wx_cv_use_libpng"
3480 if test "$wxUSE_LIBPNG" = yes; then
3481 { echo "$as_me:$LINENO: result: yes" >&5
3482 echo "${ECHO_T}yes" >&6; }
3483 elif test "$wxUSE_LIBPNG" = no; then
3484 { echo "$as_me:$LINENO: result: no" >&5
3485 echo "${ECHO_T}no" >&6; }
3486 elif test "$wxUSE_LIBPNG" = sys; then
3487 { echo "$as_me:$LINENO: result: system version" >&5
3488 echo "${ECHO_T}system version" >&6; }
3489 elif test "$wxUSE_LIBPNG" = builtin; then
3490 { echo "$as_me:$LINENO: result: builtin version" >&5
3491 echo "${ECHO_T}builtin version" >&6; }
3493 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3494 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3495 { (exit 1); exit 1; }; }
3499 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3500 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3502 # Check whether --with-libjpeg was given.
3503 if test "${with_libjpeg+set}" = set; then
3504 withval=$with_libjpeg;
3505 if test "$withval" = yes; then
3506 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3507 elif test "$withval" = no; then
3508 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3509 elif test "$withval" = sys; then
3510 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3511 elif test "$withval" = builtin; then
3512 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3514 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3515 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3516 { (exit 1); exit 1; }; }
3521 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3526 eval "$wx_cv_use_libjpeg"
3528 if test "$wxUSE_LIBJPEG" = yes; then
3529 { echo "$as_me:$LINENO: result
: yes" >&5
3530 echo "${ECHO_T}yes" >&6; }
3531 elif test "$wxUSE_LIBJPEG" = no; then
3532 { echo "$as_me:$LINENO: result
: no
" >&5
3533 echo "${ECHO_T}no
" >&6; }
3534 elif test "$wxUSE_LIBJPEG" = sys; then
3535 { echo "$as_me:$LINENO: result
: system version
" >&5
3536 echo "${ECHO_T}system version
" >&6; }
3537 elif test "$wxUSE_LIBJPEG" = builtin; then
3538 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3539 echo "${ECHO_T}builtin version
" >&6; }
3541 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3542 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3543 { (exit 1); exit 1; }; }
3547 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3548 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3550 # Check whether --with-libtiff was given.
3551 if test "${with_libtiff+set}" = set; then
3552 withval=$with_libtiff;
3553 if test "$withval" = yes; then
3554 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3555 elif test "$withval" = no; then
3556 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3557 elif test "$withval" = sys; then
3558 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3559 elif test "$withval" = builtin; then
3560 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3562 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3563 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3564 { (exit 1); exit 1; }; }
3569 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3574 eval "$wx_cv_use_libtiff"
3576 if test "$wxUSE_LIBTIFF" = yes; then
3577 { echo "$as_me:$LINENO: result: yes" >&5
3578 echo "${ECHO_T}yes" >&6; }
3579 elif test "$wxUSE_LIBTIFF" = no
; then
3580 { echo "$as_me:$LINENO: result: no" >&5
3581 echo "${ECHO_T}no" >&6; }
3582 elif test "$wxUSE_LIBTIFF" = sys
; then
3583 { echo "$as_me:$LINENO: result: system version" >&5
3584 echo "${ECHO_T}system version" >&6; }
3585 elif test "$wxUSE_LIBTIFF" = builtin; then
3586 { echo "$as_me:$LINENO: result: builtin version" >&5
3587 echo "${ECHO_T}builtin version" >&6; }
3589 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3590 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3591 { (exit 1); exit 1; }; }
3595 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3596 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3598 # Check whether --with-libxpm was given.
3599 if test "${with_libxpm+set}" = set; then
3600 withval
=$with_libxpm;
3601 if test "$withval" = yes; then
3602 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3603 elif test "$withval" = no
; then
3604 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3605 elif test "$withval" = sys
; then
3606 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3607 elif test "$withval" = builtin; then
3608 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3610 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3611 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3612 { (exit 1); exit 1; }; }
3617 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3622 eval "$wx_cv_use_libxpm"
3624 if test "$wxUSE_LIBXPM" = yes; then
3625 { echo "$as_me:$LINENO: result: yes" >&5
3626 echo "${ECHO_T}yes" >&6; }
3627 elif test "$wxUSE_LIBXPM" = no; then
3628 { echo "$as_me:$LINENO: result: no" >&5
3629 echo "${ECHO_T}no" >&6; }
3630 elif test "$wxUSE_LIBXPM" = sys; then
3631 { echo "$as_me:$LINENO: result: system version" >&5
3632 echo "${ECHO_T}system version" >&6; }
3633 elif test "$wxUSE_LIBXPM" = builtin; then
3634 { echo "$as_me:$LINENO: result: builtin version" >&5
3635 echo "${ECHO_T}builtin version" >&6; }
3637 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3638 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3639 { (exit 1); exit 1; }; }
3644 defaultval=$wxUSE_ALL_FEATURES
3645 if test -z "$defaultval"; then
3646 if test x"$withstring" = xwithout; then
3652 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3653 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3655 # Check whether --with-libmspack was given.
3656 if test "${with_libmspack+set}" = set; then
3657 withval=$with_libmspack;
3658 if test "$withval" = yes; then
3659 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3661 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3666 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3671 eval "$wx_cv_use_libmspack"
3673 if test x"$withstring" = xwithout; then
3674 if test $wxUSE_LIBMSPACK = yes; then
3680 result=$wxUSE_LIBMSPACK
3683 { echo "$as_me:$LINENO: result
: $result" >&5
3684 echo "${ECHO_T}$result" >&6; }
3688 defaultval=$wxUSE_ALL_FEATURES
3689 if test -z "$defaultval"; then
3690 if test x"$withstring" = xwithout; then
3696 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gtkprint" >&5
3697 echo $ECHO_N "checking
for --${withstring:-with}-gtkprint...
$ECHO_C" >&6; }
3699 # Check whether --with-gtkprint was given.
3700 if test "${with_gtkprint+set}" = set; then
3701 withval=$with_gtkprint;
3702 if test "$withval" = yes; then
3703 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3705 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3710 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3715 eval "$wx_cv_use_gtkprint"
3717 if test x
"$withstring" = xwithout
; then
3718 if test $wxUSE_GTKPRINT = yes; then
3724 result
=$wxUSE_GTKPRINT
3727 { echo "$as_me:$LINENO: result: $result" >&5
3728 echo "${ECHO_T}$result" >&6; }
3732 defaultval
=$wxUSE_ALL_FEATURES
3733 if test -z "$defaultval"; then
3734 if test x
"$withstring" = xwithout
; then
3740 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3741 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3743 # Check whether --with-gnomeprint was given.
3744 if test "${with_gnomeprint+set}" = set; then
3745 withval
=$with_gnomeprint;
3746 if test "$withval" = yes; then
3747 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3749 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3754 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3759 eval "$wx_cv_use_gnomeprint"
3761 if test x"$withstring" = xwithout; then
3762 if test $wxUSE_LIBGNOMEPRINT = yes; then
3768 result=$wxUSE_LIBGNOMEPRINT
3771 { echo "$as_me:$LINENO: result: $result" >&5
3772 echo "${ECHO_T}$result" >&6; }
3776 defaultval=$wxUSE_ALL_FEATURES
3777 if test -z "$defaultval"; then
3778 if test x"$withstring" = xwithout; then
3784 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3785 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3787 # Check whether --with-gnomevfs was given.
3788 if test "${with_gnomevfs+set}" = set; then
3789 withval=$with_gnomevfs;
3790 if test "$withval" = yes; then
3791 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
3793 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
3798 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3803 eval "$wx_cv_use_gnomevfs"
3805 if test x"$withstring" = xwithout; then
3806 if test $wxUSE_LIBGNOMEVFS = yes; then
3812 result=$wxUSE_LIBGNOMEVFS
3815 { echo "$as_me:$LINENO: result
: $result" >&5
3816 echo "${ECHO_T}$result" >&6; }
3820 defaultval=$wxUSE_ALL_FEATURES
3821 if test -z "$defaultval"; then
3822 if test x"$withstring" = xwithout; then
3828 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-hildon" >&5
3829 echo $ECHO_N "checking
for --${withstring:-with}-hildon...
$ECHO_C" >&6; }
3831 # Check whether --with-hildon was given.
3832 if test "${with_hildon+set}" = set; then
3833 withval=$with_hildon;
3834 if test "$withval" = yes; then
3835 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3837 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3842 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3847 eval "$wx_cv_use_hildon"
3849 if test x
"$withstring" = xwithout
; then
3850 if test $wxUSE_LIBHILDON = yes; then
3856 result
=$wxUSE_LIBHILDON
3859 { echo "$as_me:$LINENO: result: $result" >&5
3860 echo "${ECHO_T}$result" >&6; }
3864 defaultval
=$wxUSE_ALL_FEATURES
3865 if test -z "$defaultval"; then
3866 if test x
"$withstring" = xwithout
; then
3872 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3873 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3875 # Check whether --with-opengl was given.
3876 if test "${with_opengl+set}" = set; then
3877 withval
=$with_opengl;
3878 if test "$withval" = yes; then
3879 wx_cv_use_opengl
='wxUSE_OPENGL=yes'
3881 wx_cv_use_opengl
='wxUSE_OPENGL=no'
3886 wx_cv_use_opengl
='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
3891 eval "$wx_cv_use_opengl"
3893 if test x"$withstring" = xwithout; then
3894 if test $wxUSE_OPENGL = yes; then
3900 result=$wxUSE_OPENGL
3903 { echo "$as_me:$LINENO: result: $result" >&5
3904 echo "${ECHO_T}$result" >&6; }
3911 defaultval=$wxUSE_ALL_FEATURES
3912 if test -z "$defaultval"; then
3913 if test x"$withstring" = xwithout; then
3919 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3920 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
3922 # Check whether --with-dmalloc was given.
3923 if test "${with_dmalloc+set}" = set; then
3924 withval=$with_dmalloc;
3925 if test "$withval" = yes; then
3926 wx_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
3928 wx_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
3933 wx_cv_use_dmalloc='wxUSE_DMALLOC
=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
3938 eval "$wx_cv_use_dmalloc"
3940 if test x"$withstring" = xwithout; then
3941 if test $wxUSE_DMALLOC = yes; then
3947 result=$wxUSE_DMALLOC
3950 { echo "$as_me:$LINENO: result
: $result" >&5
3951 echo "${ECHO_T}$result" >&6; }
3955 defaultval=$wxUSE_ALL_FEATURES
3956 if test -z "$defaultval"; then
3957 if test x"$withstring" = xwithout; then
3963 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-sdl" >&5
3964 echo $ECHO_N "checking
for --${withstring:-with}-sdl...
$ECHO_C" >&6; }
3966 # Check whether --with-sdl was given.
3967 if test "${with_sdl+set}" = set; then
3969 if test "$withval" = yes; then
3970 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
3972 wx_cv_use_sdl='wxUSE_LIBSDL=no'
3977 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
3982 eval "$wx_cv_use_sdl"
3984 if test x
"$withstring" = xwithout
; then
3985 if test $wxUSE_LIBSDL = yes; then
3991 result
=$wxUSE_LIBSDL
3994 { echo "$as_me:$LINENO: result: $result" >&5
3995 echo "${ECHO_T}$result" >&6; }
3998 { echo "$as_me:$LINENO: checking for --with-regex" >&5
3999 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4001 # Check whether --with-regex was given.
4002 if test "${with_regex+set}" = set; then
4003 withval
=$with_regex;
4004 if test "$withval" = yes; then
4005 wx_cv_use_regex
='wxUSE_REGEX=yes'
4006 elif test "$withval" = no
; then
4007 wx_cv_use_regex
='wxUSE_REGEX=no'
4008 elif test "$withval" = sys
; then
4009 wx_cv_use_regex
='wxUSE_REGEX=sys'
4010 elif test "$withval" = builtin; then
4011 wx_cv_use_regex
='wxUSE_REGEX=builtin'
4013 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4014 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4015 { (exit 1); exit 1; }; }
4020 wx_cv_use_regex
='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4025 eval "$wx_cv_use_regex"
4027 if test "$wxUSE_REGEX" = yes; then
4028 { echo "$as_me:$LINENO: result: yes" >&5
4029 echo "${ECHO_T}yes" >&6; }
4030 elif test "$wxUSE_REGEX" = no; then
4031 { echo "$as_me:$LINENO: result: no" >&5
4032 echo "${ECHO_T}no" >&6; }
4033 elif test "$wxUSE_REGEX" = sys; then
4034 { echo "$as_me:$LINENO: result: system version" >&5
4035 echo "${ECHO_T}system version" >&6; }
4036 elif test "$wxUSE_REGEX" = builtin; then
4037 { echo "$as_me:$LINENO: result: builtin version" >&5
4038 echo "${ECHO_T}builtin version" >&6; }
4040 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4041 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4042 { (exit 1); exit 1; }; }
4046 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4047 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4049 # Check whether --with-zlib was given.
4050 if test "${with_zlib+set}" = set; then
4052 if test "$withval" = yes; then
4053 wx_cv_use_zlib='wxUSE_ZLIB
=yes'
4054 elif test "$withval" = no; then
4055 wx_cv_use_zlib='wxUSE_ZLIB
=no
'
4056 elif test "$withval" = sys; then
4057 wx_cv_use_zlib='wxUSE_ZLIB
=sys
'
4058 elif test "$withval" = builtin; then
4059 wx_cv_use_zlib='wxUSE_ZLIB
=builtin'
4061 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4062 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4063 { (exit 1); exit 1; }; }
4068 wx_cv_use_zlib='wxUSE_ZLIB
=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4073 eval "$wx_cv_use_zlib"
4075 if test "$wxUSE_ZLIB" = yes; then
4076 { echo "$as_me:$LINENO: result
: yes" >&5
4077 echo "${ECHO_T}yes" >&6; }
4078 elif test "$wxUSE_ZLIB" = no; then
4079 { echo "$as_me:$LINENO: result
: no
" >&5
4080 echo "${ECHO_T}no
" >&6; }
4081 elif test "$wxUSE_ZLIB" = sys; then
4082 { echo "$as_me:$LINENO: result
: system version
" >&5
4083 echo "${ECHO_T}system version
" >&6; }
4084 elif test "$wxUSE_ZLIB" = builtin; then
4085 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4086 echo "${ECHO_T}builtin version
" >&6; }
4088 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4089 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4090 { (exit 1); exit 1; }; }
4094 { echo "$as_me:$LINENO: checking
for --with-expat" >&5
4095 echo $ECHO_N "checking
for --with-expat...
$ECHO_C" >&6; }
4097 # Check whether --with-expat was given.
4098 if test "${with_expat+set}" = set; then
4099 withval=$with_expat;
4100 if test "$withval" = yes; then
4101 wx_cv_use_expat='wxUSE_EXPAT=yes'
4102 elif test "$withval" = no; then
4103 wx_cv_use_expat='wxUSE_EXPAT=no'
4104 elif test "$withval" = sys; then
4105 wx_cv_use_expat='wxUSE_EXPAT=sys'
4106 elif test "$withval" = builtin; then
4107 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4109 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" >&5
4110 echo "$as_me: error
: Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" >&2;}
4111 { (exit 1); exit 1; }; }
4116 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4121 eval "$wx_cv_use_expat"
4123 if test "$wxUSE_EXPAT" = yes; then
4124 { echo "$as_me:$LINENO: result: yes" >&5
4125 echo "${ECHO_T}yes" >&6; }
4126 elif test "$wxUSE_EXPAT" = no
; then
4127 { echo "$as_me:$LINENO: result: no" >&5
4128 echo "${ECHO_T}no" >&6; }
4129 elif test "$wxUSE_EXPAT" = sys
; then
4130 { echo "$as_me:$LINENO: result: system version" >&5
4131 echo "${ECHO_T}system version" >&6; }
4132 elif test "$wxUSE_EXPAT" = builtin; then
4133 { echo "$as_me:$LINENO: result: builtin version" >&5
4134 echo "${ECHO_T}builtin version" >&6; }
4136 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4137 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4138 { (exit 1); exit 1; }; }
4142 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4143 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4145 # Check whether --with-macosx-sdk was given.
4146 if test "${with_macosx_sdk+set}" = set; then
4147 withval
=$with_macosx_sdk;
4148 wxUSE_MACOSX_SDK
=$withval
4149 wx_cv_use_macosx_sdk
="wxUSE_MACOSX_SDK=$withval"
4153 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4154 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4156 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4157 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4159 # Check whether --with-macosx-version-min was given.
4160 if test "${with_macosx_version_min+set}" = set; then
4161 withval
=$with_macosx_version_min;
4162 wxUSE_MACOSX_VERSION_MIN
=$withval
4163 wx_cv_use_macosx_version_min
="wxUSE_MACOSX_VERSION_MIN=$withval"
4167 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4168 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4172 enablestring
=disable
4174 if test -z "$defaultval"; then
4175 if test x
"$enablestring" = xdisable
; then
4182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4183 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4184 # Check whether --enable-shared was given.
4185 if test "${enable_shared+set}" = set; then
4186 enableval
=$enable_shared;
4187 if test "$enableval" = yes; then
4188 wx_cv_use_shared
='wxUSE_SHARED=yes'
4190 wx_cv_use_shared
='wxUSE_SHARED=no'
4195 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4200 eval "$wx_cv_use_shared"
4202 if test x"$enablestring" = xdisable; then
4203 if test $wxUSE_SHARED = yes; then
4209 result=$wxUSE_SHARED
4212 { echo "$as_me:$LINENO: result: $result" >&5
4213 echo "${ECHO_T}$result" >&6; }
4216 enablestring=disable
4218 if test -z "$defaultval"; then
4219 if test x"$enablestring" = xdisable; then
4226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4227 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4228 # Check whether --enable-optimise was given.
4229 if test "${enable_optimise+set}" = set; then
4230 enableval=$enable_optimise;
4231 if test "$enableval" = yes; then
4232 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4234 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4239 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4244 eval "$wx_cv_use_optimise"
4246 if test x"$enablestring" = xdisable; then
4247 if test $wxUSE_OPTIMISE = yes; then
4253 result=$wxUSE_OPTIMISE
4256 { echo "$as_me:$LINENO: result
: $result" >&5
4257 echo "${ECHO_T}$result" >&6; }
4262 if test -z "$defaultval"; then
4263 if test x"$enablestring" = xdisable; then
4270 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4271 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4272 # Check whether --enable-debug was given.
4273 if test "${enable_debug+set}" = set; then
4274 enableval=$enable_debug;
4275 if test "$enableval" = yes; then
4276 wx_cv_use_debug='wxUSE_DEBUG=yes'
4278 wx_cv_use_debug='wxUSE_DEBUG=no'
4283 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4288 eval "$wx_cv_use_debug"
4290 if test x
"$enablestring" = xdisable
; then
4291 if test $wxUSE_DEBUG = yes; then
4300 { echo "$as_me:$LINENO: result: $result" >&5
4301 echo "${ECHO_T}$result" >&6; }
4306 if test -z "$defaultval"; then
4307 if test x
"$enablestring" = xdisable
; then
4314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4315 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4316 # Check whether --enable-stl was given.
4317 if test "${enable_stl+set}" = set; then
4318 enableval
=$enable_stl;
4319 if test "$enableval" = yes; then
4320 wx_cv_use_stl
='wxUSE_STL=yes'
4322 wx_cv_use_stl
='wxUSE_STL=no'
4327 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4332 eval "$wx_cv_use_stl"
4334 if test x"$enablestring" = xdisable; then
4335 if test $wxUSE_STL = yes; then
4344 { echo "$as_me:$LINENO: result: $result" >&5
4345 echo "${ECHO_T}$result" >&6; }
4350 if test -z "$defaultval"; then
4351 if test x"$enablestring" = xdisable; then
4358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4359 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4360 # Check whether --enable-std_iostreams was given.
4361 if test "${enable_std_iostreams+set}" = set; then
4362 enableval=$enable_std_iostreams;
4363 if test "$enableval" = yes; then
4364 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4366 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4371 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4376 eval "$wx_cv_use_std_iostreams"
4378 if test x"$enablestring" = xdisable; then
4379 if test $wxUSE_STD_IOSTREAM = yes; then
4385 result=$wxUSE_STD_IOSTREAM
4388 { echo "$as_me:$LINENO: result
: $result" >&5
4389 echo "${ECHO_T}$result" >&6; }
4394 if test -z "$defaultval"; then
4395 if test x"$enablestring" = xdisable; then
4402 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4403 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4404 # Check whether --enable-std_string was given.
4405 if test "${enable_std_string+set}" = set; then
4406 enableval=$enable_std_string;
4407 if test "$enableval" = yes; then
4408 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4410 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4415 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4420 eval "$wx_cv_use_std_string"
4422 if test x
"$enablestring" = xdisable
; then
4423 if test $wxUSE_STD_STRING = yes; then
4429 result
=$wxUSE_STD_STRING
4432 { echo "$as_me:$LINENO: result: $result" >&5
4433 echo "${ECHO_T}$result" >&6; }
4436 enablestring
=disable
4438 if test -z "$defaultval"; then
4439 if test x
"$enablestring" = xdisable
; then
4446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4447 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4448 # Check whether --enable-unicode was given.
4449 if test "${enable_unicode+set}" = set; then
4450 enableval
=$enable_unicode;
4451 if test "$enableval" = yes; then
4452 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4454 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4459 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4464 eval "$wx_cv_use_unicode"
4466 if test x"$enablestring" = xdisable; then
4467 if test $wxUSE_UNICODE = yes; then
4473 result=$wxUSE_UNICODE
4476 { echo "$as_me:$LINENO: result: $result" >&5
4477 echo "${ECHO_T}$result" >&6; }
4482 if test -z "$defaultval"; then
4483 if test x"$enablestring" = xdisable; then
4490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4491 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4492 # Check whether --enable-mslu was given.
4493 if test "${enable_mslu+set}" = set; then
4494 enableval=$enable_mslu;
4495 if test "$enableval" = yes; then
4496 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4498 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4503 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4508 eval "$wx_cv_use_mslu"
4510 if test x"$enablestring" = xdisable; then
4511 if test $wxUSE_UNICODE_MSLU = yes; then
4517 result=$wxUSE_UNICODE_MSLU
4520 { echo "$as_me:$LINENO: result
: $result" >&5
4521 echo "${ECHO_T}$result" >&6; }
4525 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4526 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4527 # Check whether --enable-utf8 was given.
4528 if test "${enable_utf8+set}" = set; then
4529 enableval=$enable_utf8;
4530 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4534 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4539 eval "$wx_cv_use_utf8"
4541 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4542 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4547 if test -z "$defaultval"; then
4548 if test x"$enablestring" = xdisable; then
4555 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4556 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4557 # Check whether --enable-utf8only was given.
4558 if test "${enable_utf8only+set}" = set; then
4559 enableval=$enable_utf8only;
4560 if test "$enableval" = yes; then
4561 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4563 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4568 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4573 eval "$wx_cv_use_utf8only"
4575 if test x
"$enablestring" = xdisable
; then
4576 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4582 result
=$wxUSE_UNICODE_UTF8_LOCALE
4585 { echo "$as_me:$LINENO: result: $result" >&5
4586 echo "${ECHO_T}$result" >&6; }
4591 if test -z "$defaultval"; then
4592 if test x
"$enablestring" = xdisable
; then
4599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4600 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4601 # Check whether --enable-extended_rtti was given.
4602 if test "${enable_extended_rtti+set}" = set; then
4603 enableval
=$enable_extended_rtti;
4604 if test "$enableval" = yes; then
4605 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
4607 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
4612 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4617 eval "$wx_cv_use_extended_rtti"
4619 if test x"$enablestring" = xdisable; then
4620 if test $wxUSE_EXTENDED_RTTI = yes; then
4626 result=$wxUSE_EXTENDED_RTTI
4629 { echo "$as_me:$LINENO: result: $result" >&5
4630 echo "${ECHO_T}$result" >&6; }
4632 if test "$USE_OS2" = 1; then
4633 DEFAULT_wxUSE_OMF=no
4637 if test -z "$defaultval"; then
4638 if test x"$enablestring" = xdisable; then
4645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4646 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4647 # Check whether --enable-omf was given.
4648 if test "${enable_omf+set}" = set; then
4649 enableval=$enable_omf;
4650 if test "$enableval" = yes; then
4651 wx_cv_use_omf='wxUSE_OMF
=yes'
4653 wx_cv_use_omf='wxUSE_OMF
=no
'
4658 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4663 eval "$wx_cv_use_omf"
4665 if test x"$enablestring" = xdisable; then
4666 if test $wxUSE_OMF = yes; then
4675 { echo "$as_me:$LINENO: result
: $result" >&5
4676 echo "${ECHO_T}$result" >&6; }
4680 if test "$wxUSE_DEBUG" = "yes"; then
4681 DEFAULT_wxUSE_DEBUG_FLAG=yes
4682 DEFAULT_wxUSE_DEBUG_INFO=yes
4684 elif test "$wxUSE_DEBUG" = "no
"; then
4685 DEFAULT_wxUSE_DEBUG_FLAG=no
4686 DEFAULT_wxUSE_DEBUG_INFO=no
4693 if test -z "$defaultval"; then
4694 if test x"$enablestring" = xdisable; then
4701 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
4702 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
4703 # Check whether --enable-debug_flag was given.
4704 if test "${enable_debug_flag+set}" = set; then
4705 enableval=$enable_debug_flag;
4706 if test "$enableval" = yes; then
4707 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4709 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4714 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4719 eval "$wx_cv_use_debug_flag"
4721 if test x
"$enablestring" = xdisable
; then
4722 if test $wxUSE_DEBUG_FLAG = yes; then
4728 result
=$wxUSE_DEBUG_FLAG
4731 { echo "$as_me:$LINENO: result: $result" >&5
4732 echo "${ECHO_T}$result" >&6; }
4737 if test -z "$defaultval"; then
4738 if test x
"$enablestring" = xdisable
; then
4745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4746 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4747 # Check whether --enable-debug_info was given.
4748 if test "${enable_debug_info+set}" = set; then
4749 enableval
=$enable_debug_info;
4750 if test "$enableval" = yes; then
4751 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4753 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4758 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4763 eval "$wx_cv_use_debug_info"
4765 if test x"$enablestring" = xdisable; then
4766 if test $wxUSE_DEBUG_INFO = yes; then
4772 result=$wxUSE_DEBUG_INFO
4775 { echo "$as_me:$LINENO: result: $result" >&5
4776 echo "${ECHO_T}$result" >&6; }
4779 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4787 if test -z "$defaultval"; then
4788 if test x"$enablestring" = xdisable; then
4795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4796 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4797 # Check whether --enable-debug_gdb was given.
4798 if test "${enable_debug_gdb+set}" = set; then
4799 enableval=$enable_debug_gdb;
4800 if test "$enableval" = yes; then
4801 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
4803 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
4808 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4813 eval "$wx_cv_use_debug_gdb"
4815 if test x"$enablestring" = xdisable; then
4816 if test $wxUSE_DEBUG_GDB = yes; then
4822 result=$wxUSE_DEBUG_GDB
4825 { echo "$as_me:$LINENO: result
: $result" >&5
4826 echo "${ECHO_T}$result" >&6; }
4831 if test -z "$defaultval"; then
4832 if test x"$enablestring" = xdisable; then
4839 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_cntxt" >&5
4840 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_cntxt...
$ECHO_C" >&6; }
4841 # Check whether --enable-debug_cntxt was given.
4842 if test "${enable_debug_cntxt+set}" = set; then
4843 enableval=$enable_debug_cntxt;
4844 if test "$enableval" = yes; then
4845 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4847 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4852 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4857 eval "$wx_cv_use_debug_cntxt"
4859 if test x
"$enablestring" = xdisable
; then
4860 if test $wxUSE_DEBUG_CONTEXT = yes; then
4866 result
=$wxUSE_DEBUG_CONTEXT
4869 { echo "$as_me:$LINENO: result: $result" >&5
4870 echo "${ECHO_T}$result" >&6; }
4875 if test -z "$defaultval"; then
4876 if test x
"$enablestring" = xdisable
; then
4883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4884 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4885 # Check whether --enable-mem_tracing was given.
4886 if test "${enable_mem_tracing+set}" = set; then
4887 enableval
=$enable_mem_tracing;
4888 if test "$enableval" = yes; then
4889 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4891 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4896 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4901 eval "$wx_cv_use_mem_tracing"
4903 if test x"$enablestring" = xdisable; then
4904 if test $wxUSE_MEM_TRACING = yes; then
4910 result=$wxUSE_MEM_TRACING
4913 { echo "$as_me:$LINENO: result: $result" >&5
4914 echo "${ECHO_T}$result" >&6; }
4919 if test -z "$defaultval"; then
4920 if test x"$enablestring" = xdisable; then
4927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4928 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4929 # Check whether --enable-profile was given.
4930 if test "${enable_profile+set}" = set; then
4931 enableval=$enable_profile;
4932 if test "$enableval" = yes; then
4933 wx_cv_use_profile='wxUSE_PROFILE
=yes'
4935 wx_cv_use_profile='wxUSE_PROFILE
=no
'
4940 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
4945 eval "$wx_cv_use_profile"
4947 if test x"$enablestring" = xdisable; then
4948 if test $wxUSE_PROFILE = yes; then
4954 result=$wxUSE_PROFILE
4957 { echo "$as_me:$LINENO: result
: $result" >&5
4958 echo "${ECHO_T}$result" >&6; }
4963 if test -z "$defaultval"; then
4964 if test x"$enablestring" = xdisable; then
4971 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
4972 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
4973 # Check whether --enable-no_rtti was given.
4974 if test "${enable_no_rtti+set}" = set; then
4975 enableval=$enable_no_rtti;
4976 if test "$enableval" = yes; then
4977 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4979 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4984 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
4989 eval "$wx_cv_use_no_rtti"
4991 if test x
"$enablestring" = xdisable
; then
4992 if test $wxUSE_NO_RTTI = yes; then
4998 result
=$wxUSE_NO_RTTI
5001 { echo "$as_me:$LINENO: result: $result" >&5
5002 echo "${ECHO_T}$result" >&6; }
5007 if test -z "$defaultval"; then
5008 if test x
"$enablestring" = xdisable
; then
5015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5016 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5017 # Check whether --enable-no_exceptions was given.
5018 if test "${enable_no_exceptions+set}" = set; then
5019 enableval
=$enable_no_exceptions;
5020 if test "$enableval" = yes; then
5021 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5023 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5028 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5033 eval "$wx_cv_use_no_exceptions"
5035 if test x"$enablestring" = xdisable; then
5036 if test $wxUSE_NO_EXCEPTIONS = yes; then
5042 result=$wxUSE_NO_EXCEPTIONS
5045 { echo "$as_me:$LINENO: result: $result" >&5
5046 echo "${ECHO_T}$result" >&6; }
5051 if test -z "$defaultval"; then
5052 if test x"$enablestring" = xdisable; then
5059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5060 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5061 # Check whether --enable-permissive was given.
5062 if test "${enable_permissive+set}" = set; then
5063 enableval=$enable_permissive;
5064 if test "$enableval" = yes; then
5065 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5067 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5072 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5077 eval "$wx_cv_use_permissive"
5079 if test x"$enablestring" = xdisable; then
5080 if test $wxUSE_PERMISSIVE = yes; then
5086 result=$wxUSE_PERMISSIVE
5089 { echo "$as_me:$LINENO: result
: $result" >&5
5090 echo "${ECHO_T}$result" >&6; }
5095 if test -z "$defaultval"; then
5096 if test x"$enablestring" = xdisable; then
5103 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5104 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5105 # Check whether --enable-no_deps was given.
5106 if test "${enable_no_deps+set}" = set; then
5107 enableval=$enable_no_deps;
5108 if test "$enableval" = yes; then
5109 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5111 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5116 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5121 eval "$wx_cv_use_no_deps"
5123 if test x
"$enablestring" = xdisable
; then
5124 if test $wxUSE_NO_DEPS = yes; then
5130 result
=$wxUSE_NO_DEPS
5133 { echo "$as_me:$LINENO: result: $result" >&5
5134 echo "${ECHO_T}$result" >&6; }
5137 enablestring
=disable
5139 if test -z "$defaultval"; then
5140 if test x
"$enablestring" = xdisable
; then
5147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5148 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5149 # Check whether --enable-vararg_macros was given.
5150 if test "${enable_vararg_macros+set}" = set; then
5151 enableval
=$enable_vararg_macros;
5152 if test "$enableval" = yes; then
5153 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5155 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5160 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5165 eval "$wx_cv_use_vararg_macros"
5167 if test x"$enablestring" = xdisable; then
5168 if test $wxUSE_VARARG_MACROS = yes; then
5174 result=$wxUSE_VARARG_MACROS
5177 { echo "$as_me:$LINENO: result: $result" >&5
5178 echo "${ECHO_T}$result" >&6; }
5182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5183 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5184 # Check whether --enable-universal_binary was given.
5185 if test "${enable_universal_binary+set}" = set; then
5186 enableval=$enable_universal_binary;
5187 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5191 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5196 eval "$wx_cv_use_universal_binary"
5198 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5199 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5205 if test -z "$defaultval"; then
5206 if test x"$enablestring" = xdisable; then
5213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5214 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5215 # Check whether --enable-compat26 was given.
5216 if test "${enable_compat26+set}" = set; then
5217 enableval=$enable_compat26;
5218 if test "$enableval" = yes; then
5219 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5221 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5226 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5231 eval "$wx_cv_use_compat26"
5233 if test x"$enablestring" = xdisable; then
5234 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5240 result=$WXWIN_COMPATIBILITY_2_6
5243 { echo "$as_me:$LINENO: result
: $result" >&5
5244 echo "${ECHO_T}$result" >&6; }
5247 enablestring=disable
5249 if test -z "$defaultval"; then
5250 if test x"$enablestring" = xdisable; then
5257 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5258 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5259 # Check whether --enable-compat28 was given.
5260 if test "${enable_compat28+set}" = set; then
5261 enableval=$enable_compat28;
5262 if test "$enableval" = yes; then
5263 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5265 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5270 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5275 eval "$wx_cv_use_compat28"
5277 if test x
"$enablestring" = xdisable
; then
5278 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5284 result
=$WXWIN_COMPATIBILITY_2_8
5287 { echo "$as_me:$LINENO: result: $result" >&5
5288 echo "${ECHO_T}$result" >&6; }
5292 enablestring
=disable
5294 if test -z "$defaultval"; then
5295 if test x
"$enablestring" = xdisable
; then
5302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5303 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5304 # Check whether --enable-rpath was given.
5305 if test "${enable_rpath+set}" = set; then
5306 enableval
=$enable_rpath;
5307 if test "$enableval" = yes; then
5308 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5310 wx_cv_use_rpath
='wxUSE_RPATH=no'
5315 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5320 eval "$wx_cv_use_rpath"
5322 if test x"$enablestring" = xdisable; then
5323 if test $wxUSE_RPATH = yes; then
5332 { echo "$as_me:$LINENO: result: $result" >&5
5333 echo "${ECHO_T}$result" >&6; }
5339 if test -z "$defaultval"; then
5340 if test x"$enablestring" = xdisable; then
5347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5348 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5349 # Check whether --enable-objc_uniquifying was given.
5350 if test "${enable_objc_uniquifying+set}" = set; then
5351 enableval=$enable_objc_uniquifying;
5352 if test "$enableval" = yes; then
5353 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5355 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
5360 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5365 eval "$wx_cv_use_objc_uniquifying"
5367 if test x"$enablestring" = xdisable; then
5368 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5374 result=$wxUSE_OBJC_UNIQUIFYING
5377 { echo "$as_me:$LINENO: result
: $result" >&5
5378 echo "${ECHO_T}$result" >&6; }
5382 enablestring=disable
5384 if test -z "$defaultval"; then
5385 if test x"$enablestring" = xdisable; then
5392 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
5393 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
5394 # Check whether --enable-visibility was given.
5395 if test "${enable_visibility+set}" = set; then
5396 enableval=$enable_visibility;
5397 if test "$enableval" = yes; then
5398 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5400 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5405 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5410 eval "$wx_cv_use_visibility"
5412 if test x
"$enablestring" = xdisable
; then
5413 if test $wxUSE_VISIBILITY = yes; then
5419 result
=$wxUSE_VISIBILITY
5422 { echo "$as_me:$LINENO: result: $result" >&5
5423 echo "${ECHO_T}$result" >&6; }
5429 defaultval
=$wxUSE_ALL_FEATURES
5430 if test -z "$defaultval"; then
5431 if test x
"$enablestring" = xdisable
; then
5438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5439 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5440 # Check whether --enable-intl was given.
5441 if test "${enable_intl+set}" = set; then
5442 enableval
=$enable_intl;
5443 if test "$enableval" = yes; then
5444 wx_cv_use_intl
='wxUSE_INTL=yes'
5446 wx_cv_use_intl
='wxUSE_INTL=no'
5451 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5456 eval "$wx_cv_use_intl"
5458 if test x"$enablestring" = xdisable; then
5459 if test $wxUSE_INTL = yes; then
5468 { echo "$as_me:$LINENO: result: $result" >&5
5469 echo "${ECHO_T}$result" >&6; }
5473 defaultval=$wxUSE_ALL_FEATURES
5474 if test -z "$defaultval"; then
5475 if test x"$enablestring" = xdisable; then
5482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5483 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5484 # Check whether --enable-config was given.
5485 if test "${enable_config+set}" = set; then
5486 enableval=$enable_config;
5487 if test "$enableval" = yes; then
5488 wx_cv_use_config='wxUSE_CONFIG
=yes'
5490 wx_cv_use_config='wxUSE_CONFIG
=no
'
5495 wx_cv_use_config='wxUSE_CONFIG
=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5500 eval "$wx_cv_use_config"
5502 if test x"$enablestring" = xdisable; then
5503 if test $wxUSE_CONFIG = yes; then
5509 result=$wxUSE_CONFIG
5512 { echo "$as_me:$LINENO: result
: $result" >&5
5513 echo "${ECHO_T}$result" >&6; }
5518 defaultval=$wxUSE_ALL_FEATURES
5519 if test -z "$defaultval"; then
5520 if test x"$enablestring" = xdisable; then
5527 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocols" >&5
5528 echo $ECHO_N "checking
for --${enablestring:-enable}-protocols...
$ECHO_C" >&6; }
5529 # Check whether --enable-protocols was given.
5530 if test "${enable_protocols+set}" = set; then
5531 enableval=$enable_protocols;
5532 if test "$enableval" = yes; then
5533 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5535 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5540 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5545 eval "$wx_cv_use_protocols"
5547 if test x
"$enablestring" = xdisable
; then
5548 if test $wxUSE_PROTOCOL = yes; then
5554 result
=$wxUSE_PROTOCOL
5557 { echo "$as_me:$LINENO: result: $result" >&5
5558 echo "${ECHO_T}$result" >&6; }
5562 defaultval
=$wxUSE_ALL_FEATURES
5563 if test -z "$defaultval"; then
5564 if test x
"$enablestring" = xdisable
; then
5571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5572 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5573 # Check whether --enable-ftp was given.
5574 if test "${enable_ftp+set}" = set; then
5575 enableval
=$enable_ftp;
5576 if test "$enableval" = yes; then
5577 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
5579 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
5584 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5589 eval "$wx_cv_use_ftp"
5591 if test x"$enablestring" = xdisable; then
5592 if test $wxUSE_PROTOCOL_FTP = yes; then
5598 result=$wxUSE_PROTOCOL_FTP
5601 { echo "$as_me:$LINENO: result: $result" >&5
5602 echo "${ECHO_T}$result" >&6; }
5606 defaultval=$wxUSE_ALL_FEATURES
5607 if test -z "$defaultval"; then
5608 if test x"$enablestring" = xdisable; then
5615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5616 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5617 # Check whether --enable-http was given.
5618 if test "${enable_http+set}" = set; then
5619 enableval=$enable_http;
5620 if test "$enableval" = yes; then
5621 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
5623 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
5628 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5633 eval "$wx_cv_use_http"
5635 if test x"$enablestring" = xdisable; then
5636 if test $wxUSE_PROTOCOL_HTTP = yes; then
5642 result=$wxUSE_PROTOCOL_HTTP
5645 { echo "$as_me:$LINENO: result
: $result" >&5
5646 echo "${ECHO_T}$result" >&6; }
5650 defaultval=$wxUSE_ALL_FEATURES
5651 if test -z "$defaultval"; then
5652 if test x"$enablestring" = xdisable; then
5659 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fileproto" >&5
5660 echo $ECHO_N "checking
for --${enablestring:-enable}-fileproto...
$ECHO_C" >&6; }
5661 # Check whether --enable-fileproto was given.
5662 if test "${enable_fileproto+set}" = set; then
5663 enableval=$enable_fileproto;
5664 if test "$enableval" = yes; then
5665 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5667 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5672 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5677 eval "$wx_cv_use_fileproto"
5679 if test x
"$enablestring" = xdisable
; then
5680 if test $wxUSE_PROTOCOL_FILE = yes; then
5686 result
=$wxUSE_PROTOCOL_FILE
5689 { echo "$as_me:$LINENO: result: $result" >&5
5690 echo "${ECHO_T}$result" >&6; }
5694 defaultval
=$wxUSE_ALL_FEATURES
5695 if test -z "$defaultval"; then
5696 if test x
"$enablestring" = xdisable
; then
5703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5704 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5705 # Check whether --enable-sockets was given.
5706 if test "${enable_sockets+set}" = set; then
5707 enableval
=$enable_sockets;
5708 if test "$enableval" = yes; then
5709 wx_cv_use_sockets
='wxUSE_SOCKETS=yes'
5711 wx_cv_use_sockets
='wxUSE_SOCKETS=no'
5716 wx_cv_use_sockets
='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5721 eval "$wx_cv_use_sockets"
5723 if test x"$enablestring" = xdisable; then
5724 if test $wxUSE_SOCKETS = yes; then
5730 result=$wxUSE_SOCKETS
5733 { echo "$as_me:$LINENO: result: $result" >&5
5734 echo "${ECHO_T}$result" >&6; }
5738 defaultval=$wxUSE_ALL_FEATURES
5739 if test -z "$defaultval"; then
5740 if test x"$enablestring" = xdisable; then
5747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5748 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5749 # Check whether --enable-ipv6 was given.
5750 if test "${enable_ipv6+set}" = set; then
5751 enableval=$enable_ipv6;
5752 if test "$enableval" = yes; then
5753 wx_cv_use_ipv6='wxUSE_IPV6
=yes'
5755 wx_cv_use_ipv6='wxUSE_IPV6
=no
'
5760 wx_cv_use_ipv6='wxUSE_IPV6
=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5765 eval "$wx_cv_use_ipv6"
5767 if test x"$enablestring" = xdisable; then
5768 if test $wxUSE_IPV6 = yes; then
5777 { echo "$as_me:$LINENO: result
: $result" >&5
5778 echo "${ECHO_T}$result" >&6; }
5782 defaultval=$wxUSE_ALL_FEATURES
5783 if test -z "$defaultval"; then
5784 if test x"$enablestring" = xdisable; then
5791 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ole" >&5
5792 echo $ECHO_N "checking
for --${enablestring:-enable}-ole...
$ECHO_C" >&6; }
5793 # Check whether --enable-ole was given.
5794 if test "${enable_ole+set}" = set; then
5795 enableval=$enable_ole;
5796 if test "$enableval" = yes; then
5797 wx_cv_use_ole='wxUSE_OLE=yes'
5799 wx_cv_use_ole='wxUSE_OLE=no'
5804 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5809 eval "$wx_cv_use_ole"
5811 if test x
"$enablestring" = xdisable
; then
5812 if test $wxUSE_OLE = yes; then
5821 { echo "$as_me:$LINENO: result: $result" >&5
5822 echo "${ECHO_T}$result" >&6; }
5826 defaultval
=$wxUSE_ALL_FEATURES
5827 if test -z "$defaultval"; then
5828 if test x
"$enablestring" = xdisable
; then
5835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5836 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5837 # Check whether --enable-dataobj was given.
5838 if test "${enable_dataobj+set}" = set; then
5839 enableval
=$enable_dataobj;
5840 if test "$enableval" = yes; then
5841 wx_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
5843 wx_cv_use_dataobj
='wxUSE_DATAOBJ=no'
5848 wx_cv_use_dataobj
='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5853 eval "$wx_cv_use_dataobj"
5855 if test x"$enablestring" = xdisable; then
5856 if test $wxUSE_DATAOBJ = yes; then
5862 result=$wxUSE_DATAOBJ
5865 { echo "$as_me:$LINENO: result: $result" >&5
5866 echo "${ECHO_T}$result" >&6; }
5871 defaultval=$wxUSE_ALL_FEATURES
5872 if test -z "$defaultval"; then
5873 if test x"$enablestring" = xdisable; then
5880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5881 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5882 # Check whether --enable-ipc was given.
5883 if test "${enable_ipc+set}" = set; then
5884 enableval=$enable_ipc;
5885 if test "$enableval" = yes; then
5886 wx_cv_use_ipc='wxUSE_IPC
=yes'
5888 wx_cv_use_ipc='wxUSE_IPC
=no
'
5893 wx_cv_use_ipc='wxUSE_IPC
=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5898 eval "$wx_cv_use_ipc"
5900 if test x"$enablestring" = xdisable; then
5901 if test $wxUSE_IPC = yes; then
5910 { echo "$as_me:$LINENO: result
: $result" >&5
5911 echo "${ECHO_T}$result" >&6; }
5916 defaultval=$wxUSE_ALL_FEATURES
5917 if test -z "$defaultval"; then
5918 if test x"$enablestring" = xdisable; then
5925 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-baseevtloop" >&5
5926 echo $ECHO_N "checking
for --${enablestring:-enable}-baseevtloop...
$ECHO_C" >&6; }
5927 # Check whether --enable-baseevtloop was given.
5928 if test "${enable_baseevtloop+set}" = set; then
5929 enableval=$enable_baseevtloop;
5930 if test "$enableval" = yes; then
5931 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
5933 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
5938 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
5943 eval "$wx_cv_use_baseevtloop"
5945 if test x
"$enablestring" = xdisable
; then
5946 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
5952 result
=$wxUSE_CONSOLE_EVENTLOOP
5955 { echo "$as_me:$LINENO: result: $result" >&5
5956 echo "${ECHO_T}$result" >&6; }
5960 defaultval
=$wxUSE_ALL_FEATURES
5961 if test -z "$defaultval"; then
5962 if test x
"$enablestring" = xdisable
; then
5969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
5970 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
5971 # Check whether --enable-epollloop was given.
5972 if test "${enable_epollloop+set}" = set; then
5973 enableval
=$enable_epollloop;
5974 if test "$enableval" = yes; then
5975 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=yes'
5977 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=no'
5982 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
5987 eval "$wx_cv_use_epollloop"
5989 if test x"$enablestring" = xdisable; then
5990 if test $wxUSE_EPOLL_DISPATCHER = yes; then
5996 result=$wxUSE_EPOLL_DISPATCHER
5999 { echo "$as_me:$LINENO: result: $result" >&5
6000 echo "${ECHO_T}$result" >&6; }
6004 defaultval=$wxUSE_ALL_FEATURES
6005 if test -z "$defaultval"; then
6006 if test x"$enablestring" = xdisable; then
6013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6014 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6015 # Check whether --enable-selectloop was given.
6016 if test "${enable_selectloop+set}" = set; then
6017 enableval=$enable_selectloop;
6018 if test "$enableval" = yes; then
6019 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=yes'
6021 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=no
'
6026 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6031 eval "$wx_cv_use_selectloop"
6033 if test x"$enablestring" = xdisable; then
6034 if test $wxUSE_SELECT_DISPATCHER = yes; then
6040 result=$wxUSE_SELECT_DISPATCHER
6043 { echo "$as_me:$LINENO: result
: $result" >&5
6044 echo "${ECHO_T}$result" >&6; }
6049 defaultval=$wxUSE_ALL_FEATURES
6050 if test -z "$defaultval"; then
6051 if test x"$enablestring" = xdisable; then
6058 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6059 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6060 # Check whether --enable-apple_ieee was given.
6061 if test "${enable_apple_ieee+set}" = set; then
6062 enableval=$enable_apple_ieee;
6063 if test "$enableval" = yes; then
6064 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6066 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6071 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6076 eval "$wx_cv_use_apple_ieee"
6078 if test x
"$enablestring" = xdisable
; then
6079 if test $wxUSE_APPLE_IEEE = yes; then
6085 result
=$wxUSE_APPLE_IEEE
6088 { echo "$as_me:$LINENO: result: $result" >&5
6089 echo "${ECHO_T}$result" >&6; }
6093 defaultval
=$wxUSE_ALL_FEATURES
6094 if test -z "$defaultval"; then
6095 if test x
"$enablestring" = xdisable
; then
6102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6103 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6104 # Check whether --enable-arcstream was given.
6105 if test "${enable_arcstream+set}" = set; then
6106 enableval
=$enable_arcstream;
6107 if test "$enableval" = yes; then
6108 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6110 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6115 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6120 eval "$wx_cv_use_arcstream"
6122 if test x"$enablestring" = xdisable; then
6123 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6129 result=$wxUSE_ARCHIVE_STREAMS
6132 { echo "$as_me:$LINENO: result: $result" >&5
6133 echo "${ECHO_T}$result" >&6; }
6137 defaultval=$wxUSE_ALL_FEATURES
6138 if test -z "$defaultval"; then
6139 if test x"$enablestring" = xdisable; then
6146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6147 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6148 # Check whether --enable-base64 was given.
6149 if test "${enable_base64+set}" = set; then
6150 enableval=$enable_base64;
6151 if test "$enableval" = yes; then
6152 wx_cv_use_base64='wxUSE_BASE64
=yes'
6154 wx_cv_use_base64='wxUSE_BASE64
=no
'
6159 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6164 eval "$wx_cv_use_base64"
6166 if test x"$enablestring" = xdisable; then
6167 if test $wxUSE_BASE64 = yes; then
6173 result=$wxUSE_BASE64
6176 { echo "$as_me:$LINENO: result
: $result" >&5
6177 echo "${ECHO_T}$result" >&6; }
6181 defaultval=$wxUSE_ALL_FEATURES
6182 if test -z "$defaultval"; then
6183 if test x"$enablestring" = xdisable; then
6190 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
6191 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6192 # Check whether --enable-backtrace was given.
6193 if test "${enable_backtrace+set}" = set; then
6194 enableval=$enable_backtrace;
6195 if test "$enableval" = yes; then
6196 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6198 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6203 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6208 eval "$wx_cv_use_backtrace"
6210 if test x
"$enablestring" = xdisable
; then
6211 if test $wxUSE_STACKWALKER = yes; then
6217 result
=$wxUSE_STACKWALKER
6220 { echo "$as_me:$LINENO: result: $result" >&5
6221 echo "${ECHO_T}$result" >&6; }
6225 defaultval
=$wxUSE_ALL_FEATURES
6226 if test -z "$defaultval"; then
6227 if test x
"$enablestring" = xdisable
; then
6234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6235 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6236 # Check whether --enable-catch_segvs was given.
6237 if test "${enable_catch_segvs+set}" = set; then
6238 enableval
=$enable_catch_segvs;
6239 if test "$enableval" = yes; then
6240 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6242 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6247 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6252 eval "$wx_cv_use_catch_segvs"
6254 if test x"$enablestring" = xdisable; then
6255 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6261 result=$wxUSE_ON_FATAL_EXCEPTION
6264 { echo "$as_me:$LINENO: result: $result" >&5
6265 echo "${ECHO_T}$result" >&6; }
6269 defaultval=$wxUSE_ALL_FEATURES
6270 if test -z "$defaultval"; then
6271 if test x"$enablestring" = xdisable; then
6278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6279 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6280 # Check whether --enable-cmdline was given.
6281 if test "${enable_cmdline+set}" = set; then
6282 enableval=$enable_cmdline;
6283 if test "$enableval" = yes; then
6284 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6286 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6291 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6296 eval "$wx_cv_use_cmdline"
6298 if test x"$enablestring" = xdisable; then
6299 if test $wxUSE_CMDLINE_PARSER = yes; then
6305 result=$wxUSE_CMDLINE_PARSER
6308 { echo "$as_me:$LINENO: result
: $result" >&5
6309 echo "${ECHO_T}$result" >&6; }
6313 defaultval=$wxUSE_ALL_FEATURES
6314 if test -z "$defaultval"; then
6315 if test x"$enablestring" = xdisable; then
6322 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
6323 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6324 # Check whether --enable-datetime was given.
6325 if test "${enable_datetime+set}" = set; then
6326 enableval=$enable_datetime;
6327 if test "$enableval" = yes; then
6328 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6330 wx_cv_use_datetime='wxUSE_DATETIME=no'
6335 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6340 eval "$wx_cv_use_datetime"
6342 if test x
"$enablestring" = xdisable
; then
6343 if test $wxUSE_DATETIME = yes; then
6349 result
=$wxUSE_DATETIME
6352 { echo "$as_me:$LINENO: result: $result" >&5
6353 echo "${ECHO_T}$result" >&6; }
6357 defaultval
=$wxUSE_ALL_FEATURES
6358 if test -z "$defaultval"; then
6359 if test x
"$enablestring" = xdisable
; then
6366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6367 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6368 # Check whether --enable-debugreport was given.
6369 if test "${enable_debugreport+set}" = set; then
6370 enableval
=$enable_debugreport;
6371 if test "$enableval" = yes; then
6372 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6374 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6379 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6384 eval "$wx_cv_use_debugreport"
6386 if test x"$enablestring" = xdisable; then
6387 if test $wxUSE_DEBUGREPORT = yes; then
6393 result=$wxUSE_DEBUGREPORT
6396 { echo "$as_me:$LINENO: result: $result" >&5
6397 echo "${ECHO_T}$result" >&6; }
6401 defaultval=$wxUSE_ALL_FEATURES
6402 if test -z "$defaultval"; then
6403 if test x"$enablestring" = xdisable; then
6410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6411 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6412 # Check whether --enable-dialupman was given.
6413 if test "${enable_dialupman+set}" = set; then
6414 enableval=$enable_dialupman;
6415 if test "$enableval" = yes; then
6416 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6418 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6423 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6428 eval "$wx_cv_use_dialupman"
6430 if test x"$enablestring" = xdisable; then
6431 if test $wxUSE_DIALUP_MANAGER = yes; then
6437 result=$wxUSE_DIALUP_MANAGER
6440 { echo "$as_me:$LINENO: result
: $result" >&5
6441 echo "${ECHO_T}$result" >&6; }
6445 defaultval=$wxUSE_ALL_FEATURES
6446 if test -z "$defaultval"; then
6447 if test x"$enablestring" = xdisable; then
6454 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
6455 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6456 # Check whether --enable-dynlib was given.
6457 if test "${enable_dynlib+set}" = set; then
6458 enableval=$enable_dynlib;
6459 if test "$enableval" = yes; then
6460 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6462 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6467 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6472 eval "$wx_cv_use_dynlib"
6474 if test x
"$enablestring" = xdisable
; then
6475 if test $wxUSE_DYNLIB_CLASS = yes; then
6481 result
=$wxUSE_DYNLIB_CLASS
6484 { echo "$as_me:$LINENO: result: $result" >&5
6485 echo "${ECHO_T}$result" >&6; }
6489 defaultval
=$wxUSE_ALL_FEATURES
6490 if test -z "$defaultval"; then
6491 if test x
"$enablestring" = xdisable
; then
6498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6499 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6500 # Check whether --enable-dynamicloader was given.
6501 if test "${enable_dynamicloader+set}" = set; then
6502 enableval
=$enable_dynamicloader;
6503 if test "$enableval" = yes; then
6504 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6506 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6511 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6516 eval "$wx_cv_use_dynamicloader"
6518 if test x"$enablestring" = xdisable; then
6519 if test $wxUSE_DYNAMIC_LOADER = yes; then
6525 result=$wxUSE_DYNAMIC_LOADER
6528 { echo "$as_me:$LINENO: result: $result" >&5
6529 echo "${ECHO_T}$result" >&6; }
6533 defaultval=$wxUSE_ALL_FEATURES
6534 if test -z "$defaultval"; then
6535 if test x"$enablestring" = xdisable; then
6542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6543 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6544 # Check whether --enable-exceptions was given.
6545 if test "${enable_exceptions+set}" = set; then
6546 enableval=$enable_exceptions;
6547 if test "$enableval" = yes; then
6548 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6550 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6555 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6560 eval "$wx_cv_use_exceptions"
6562 if test x"$enablestring" = xdisable; then
6563 if test $wxUSE_EXCEPTIONS = yes; then
6569 result=$wxUSE_EXCEPTIONS
6572 { echo "$as_me:$LINENO: result
: $result" >&5
6573 echo "${ECHO_T}$result" >&6; }
6577 defaultval=$wxUSE_ALL_FEATURES
6578 if test -z "$defaultval"; then
6579 if test x"$enablestring" = xdisable; then
6586 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
6587 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6588 # Check whether --enable-ffile was given.
6589 if test "${enable_ffile+set}" = set; then
6590 enableval=$enable_ffile;
6591 if test "$enableval" = yes; then
6592 wx_cv_use_ffile='wxUSE_FFILE=yes'
6594 wx_cv_use_ffile='wxUSE_FFILE=no'
6599 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6604 eval "$wx_cv_use_ffile"
6606 if test x
"$enablestring" = xdisable
; then
6607 if test $wxUSE_FFILE = yes; then
6616 { echo "$as_me:$LINENO: result: $result" >&5
6617 echo "${ECHO_T}$result" >&6; }
6621 defaultval
=$wxUSE_ALL_FEATURES
6622 if test -z "$defaultval"; then
6623 if test x
"$enablestring" = xdisable
; then
6630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6631 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6632 # Check whether --enable-file was given.
6633 if test "${enable_file+set}" = set; then
6634 enableval
=$enable_file;
6635 if test "$enableval" = yes; then
6636 wx_cv_use_file
='wxUSE_FILE=yes'
6638 wx_cv_use_file
='wxUSE_FILE=no'
6643 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6648 eval "$wx_cv_use_file"
6650 if test x"$enablestring" = xdisable; then
6651 if test $wxUSE_FILE = yes; then
6660 { echo "$as_me:$LINENO: result: $result" >&5
6661 echo "${ECHO_T}$result" >&6; }
6665 defaultval=$wxUSE_ALL_FEATURES
6666 if test -z "$defaultval"; then
6667 if test x"$enablestring" = xdisable; then
6674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6675 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6676 # Check whether --enable-filesystem was given.
6677 if test "${enable_filesystem+set}" = set; then
6678 enableval=$enable_filesystem;
6679 if test "$enableval" = yes; then
6680 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
6682 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
6687 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6692 eval "$wx_cv_use_filesystem"
6694 if test x"$enablestring" = xdisable; then
6695 if test $wxUSE_FILESYSTEM = yes; then
6701 result=$wxUSE_FILESYSTEM
6704 { echo "$as_me:$LINENO: result
: $result" >&5
6705 echo "${ECHO_T}$result" >&6; }
6709 defaultval=$wxUSE_ALL_FEATURES
6710 if test -z "$defaultval"; then
6711 if test x"$enablestring" = xdisable; then
6718 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
6719 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
6720 # Check whether --enable-fontenum was given.
6721 if test "${enable_fontenum+set}" = set; then
6722 enableval=$enable_fontenum;
6723 if test "$enableval" = yes; then
6724 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6726 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6731 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6736 eval "$wx_cv_use_fontenum"
6738 if test x
"$enablestring" = xdisable
; then
6739 if test $wxUSE_FONTENUM = yes; then
6745 result
=$wxUSE_FONTENUM
6748 { echo "$as_me:$LINENO: result: $result" >&5
6749 echo "${ECHO_T}$result" >&6; }
6753 defaultval
=$wxUSE_ALL_FEATURES
6754 if test -z "$defaultval"; then
6755 if test x
"$enablestring" = xdisable
; then
6762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6763 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6764 # Check whether --enable-fontmap was given.
6765 if test "${enable_fontmap+set}" = set; then
6766 enableval
=$enable_fontmap;
6767 if test "$enableval" = yes; then
6768 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
6770 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
6775 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6780 eval "$wx_cv_use_fontmap"
6782 if test x"$enablestring" = xdisable; then
6783 if test $wxUSE_FONTMAP = yes; then
6789 result=$wxUSE_FONTMAP
6792 { echo "$as_me:$LINENO: result: $result" >&5
6793 echo "${ECHO_T}$result" >&6; }
6797 defaultval=$wxUSE_ALL_FEATURES
6798 if test -z "$defaultval"; then
6799 if test x"$enablestring" = xdisable; then
6806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6807 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6808 # Check whether --enable-fs_archive was given.
6809 if test "${enable_fs_archive+set}" = set; then
6810 enableval=$enable_fs_archive;
6811 if test "$enableval" = yes; then
6812 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
6814 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
6819 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6824 eval "$wx_cv_use_fs_archive"
6826 if test x"$enablestring" = xdisable; then
6827 if test $wxUSE_FS_ARCHIVE = yes; then
6833 result=$wxUSE_FS_ARCHIVE
6836 { echo "$as_me:$LINENO: result
: $result" >&5
6837 echo "${ECHO_T}$result" >&6; }
6841 defaultval=$wxUSE_ALL_FEATURES
6842 if test -z "$defaultval"; then
6843 if test x"$enablestring" = xdisable; then
6850 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
6851 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
6852 # Check whether --enable-fs_inet was given.
6853 if test "${enable_fs_inet+set}" = set; then
6854 enableval=$enable_fs_inet;
6855 if test "$enableval" = yes; then
6856 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
6858 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
6863 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
6868 eval "$wx_cv_use_fs_inet"
6870 if test x
"$enablestring" = xdisable
; then
6871 if test $wxUSE_FS_INET = yes; then
6877 result
=$wxUSE_FS_INET
6880 { echo "$as_me:$LINENO: result: $result" >&5
6881 echo "${ECHO_T}$result" >&6; }
6885 defaultval
=$wxUSE_ALL_FEATURES
6886 if test -z "$defaultval"; then
6887 if test x
"$enablestring" = xdisable
; then
6894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6895 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6896 # Check whether --enable-fs_zip was given.
6897 if test "${enable_fs_zip+set}" = set; then
6898 enableval
=$enable_fs_zip;
6899 if test "$enableval" = yes; then
6900 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
6902 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
6907 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
6912 eval "$wx_cv_use_fs_zip"
6914 if test x"$enablestring" = xdisable; then
6915 if test $wxUSE_FS_ZIP = yes; then
6921 result=$wxUSE_FS_ZIP
6924 { echo "$as_me:$LINENO: result: $result" >&5
6925 echo "${ECHO_T}$result" >&6; }
6929 defaultval=$wxUSE_ALL_FEATURES
6930 if test -z "$defaultval"; then
6931 if test x"$enablestring" = xdisable; then
6938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6939 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6940 # Check whether --enable-geometry was given.
6941 if test "${enable_geometry+set}" = set; then
6942 enableval=$enable_geometry;
6943 if test "$enableval" = yes; then
6944 wx_cv_use_geometry='wxUSE_GEOMETRY
=yes'
6946 wx_cv_use_geometry='wxUSE_GEOMETRY
=no
'
6951 wx_cv_use_geometry='wxUSE_GEOMETRY
=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
6956 eval "$wx_cv_use_geometry"
6958 if test x"$enablestring" = xdisable; then
6959 if test $wxUSE_GEOMETRY = yes; then
6965 result=$wxUSE_GEOMETRY
6968 { echo "$as_me:$LINENO: result
: $result" >&5
6969 echo "${ECHO_T}$result" >&6; }
6973 defaultval=$wxUSE_ALL_FEATURES
6974 if test -z "$defaultval"; then
6975 if test x"$enablestring" = xdisable; then
6982 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-log" >&5
6983 echo $ECHO_N "checking
for --${enablestring:-enable}-log...
$ECHO_C" >&6; }
6984 # Check whether --enable-log was given.
6985 if test "${enable_log+set}" = set; then
6986 enableval=$enable_log;
6987 if test "$enableval" = yes; then
6988 wx_cv_use_log='wxUSE_LOG=yes'
6990 wx_cv_use_log='wxUSE_LOG=no'
6995 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7000 eval "$wx_cv_use_log"
7002 if test x
"$enablestring" = xdisable
; then
7003 if test $wxUSE_LOG = yes; then
7012 { echo "$as_me:$LINENO: result: $result" >&5
7013 echo "${ECHO_T}$result" >&6; }
7017 defaultval
=$wxUSE_ALL_FEATURES
7018 if test -z "$defaultval"; then
7019 if test x
"$enablestring" = xdisable
; then
7026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7027 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7028 # Check whether --enable-longlong was given.
7029 if test "${enable_longlong+set}" = set; then
7030 enableval
=$enable_longlong;
7031 if test "$enableval" = yes; then
7032 wx_cv_use_longlong
='wxUSE_LONGLONG=yes'
7034 wx_cv_use_longlong
='wxUSE_LONGLONG=no'
7039 wx_cv_use_longlong
='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7044 eval "$wx_cv_use_longlong"
7046 if test x"$enablestring" = xdisable; then
7047 if test $wxUSE_LONGLONG = yes; then
7053 result=$wxUSE_LONGLONG
7056 { echo "$as_me:$LINENO: result: $result" >&5
7057 echo "${ECHO_T}$result" >&6; }
7061 defaultval=$wxUSE_ALL_FEATURES
7062 if test -z "$defaultval"; then
7063 if test x"$enablestring" = xdisable; then
7070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7071 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7072 # Check whether --enable-mimetype was given.
7073 if test "${enable_mimetype+set}" = set; then
7074 enableval=$enable_mimetype;
7075 if test "$enableval" = yes; then
7076 wx_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
7078 wx_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
7083 wx_cv_use_mimetype='wxUSE_MIMETYPE
=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7088 eval "$wx_cv_use_mimetype"
7090 if test x"$enablestring" = xdisable; then
7091 if test $wxUSE_MIMETYPE = yes; then
7097 result=$wxUSE_MIMETYPE
7100 { echo "$as_me:$LINENO: result
: $result" >&5
7101 echo "${ECHO_T}$result" >&6; }
7105 defaultval=$wxUSE_ALL_FEATURES
7106 if test -z "$defaultval"; then
7107 if test x"$enablestring" = xdisable; then
7114 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7115 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7116 # Check whether --enable-snglinst was given.
7117 if test "${enable_snglinst+set}" = set; then
7118 enableval=$enable_snglinst;
7119 if test "$enableval" = yes; then
7120 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7122 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7127 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7132 eval "$wx_cv_use_snglinst"
7134 if test x
"$enablestring" = xdisable
; then
7135 if test $wxUSE_SNGLINST_CHECKER = yes; then
7141 result
=$wxUSE_SNGLINST_CHECKER
7144 { echo "$as_me:$LINENO: result: $result" >&5
7145 echo "${ECHO_T}$result" >&6; }
7149 defaultval
=$wxUSE_ALL_FEATURES
7150 if test -z "$defaultval"; then
7151 if test x
"$enablestring" = xdisable
; then
7158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7159 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7160 # Check whether --enable-stdpaths was given.
7161 if test "${enable_stdpaths+set}" = set; then
7162 enableval
=$enable_stdpaths;
7163 if test "$enableval" = yes; then
7164 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
7166 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
7171 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7176 eval "$wx_cv_use_stdpaths"
7178 if test x"$enablestring" = xdisable; then
7179 if test $wxUSE_STDPATHS = yes; then
7185 result=$wxUSE_STDPATHS
7188 { echo "$as_me:$LINENO: result: $result" >&5
7189 echo "${ECHO_T}$result" >&6; }
7193 defaultval=$wxUSE_ALL_FEATURES
7194 if test -z "$defaultval"; then
7195 if test x"$enablestring" = xdisable; then
7202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7203 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7204 # Check whether --enable-stopwatch was given.
7205 if test "${enable_stopwatch+set}" = set; then
7206 enableval=$enable_stopwatch;
7207 if test "$enableval" = yes; then
7208 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
7210 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
7215 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7220 eval "$wx_cv_use_stopwatch"
7222 if test x"$enablestring" = xdisable; then
7223 if test $wxUSE_STOPWATCH = yes; then
7229 result=$wxUSE_STOPWATCH
7232 { echo "$as_me:$LINENO: result
: $result" >&5
7233 echo "${ECHO_T}$result" >&6; }
7237 defaultval=$wxUSE_ALL_FEATURES
7238 if test -z "$defaultval"; then
7239 if test x"$enablestring" = xdisable; then
7246 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-streams" >&5
7247 echo $ECHO_N "checking
for --${enablestring:-enable}-streams...
$ECHO_C" >&6; }
7248 # Check whether --enable-streams was given.
7249 if test "${enable_streams+set}" = set; then
7250 enableval=$enable_streams;
7251 if test "$enableval" = yes; then
7252 wx_cv_use_streams='wxUSE_STREAMS=yes'
7254 wx_cv_use_streams='wxUSE_STREAMS=no'
7259 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7264 eval "$wx_cv_use_streams"
7266 if test x
"$enablestring" = xdisable
; then
7267 if test $wxUSE_STREAMS = yes; then
7273 result
=$wxUSE_STREAMS
7276 { echo "$as_me:$LINENO: result: $result" >&5
7277 echo "${ECHO_T}$result" >&6; }
7281 defaultval
=$wxUSE_ALL_FEATURES
7282 if test -z "$defaultval"; then
7283 if test x
"$enablestring" = xdisable
; then
7290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7291 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7292 # Check whether --enable-system_options was given.
7293 if test "${enable_system_options+set}" = set; then
7294 enableval
=$enable_system_options;
7295 if test "$enableval" = yes; then
7296 wx_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
7298 wx_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
7303 wx_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7308 eval "$wx_cv_use_system_options"
7310 if test x"$enablestring" = xdisable; then
7311 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7317 result=$wxUSE_SYSTEM_OPTIONS
7320 { echo "$as_me:$LINENO: result: $result" >&5
7321 echo "${ECHO_T}$result" >&6; }
7325 defaultval=$wxUSE_ALL_FEATURES
7326 if test -z "$defaultval"; then
7327 if test x"$enablestring" = xdisable; then
7334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7335 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7336 # Check whether --enable-tarstream was given.
7337 if test "${enable_tarstream+set}" = set; then
7338 enableval=$enable_tarstream;
7339 if test "$enableval" = yes; then
7340 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
7342 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
7347 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7352 eval "$wx_cv_use_tarstream"
7354 if test x"$enablestring" = xdisable; then
7355 if test $wxUSE_TARSTREAM = yes; then
7361 result=$wxUSE_TARSTREAM
7364 { echo "$as_me:$LINENO: result
: $result" >&5
7365 echo "${ECHO_T}$result" >&6; }
7369 defaultval=$wxUSE_ALL_FEATURES
7370 if test -z "$defaultval"; then
7371 if test x"$enablestring" = xdisable; then
7378 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textbuf" >&5
7379 echo $ECHO_N "checking
for --${enablestring:-enable}-textbuf...
$ECHO_C" >&6; }
7380 # Check whether --enable-textbuf was given.
7381 if test "${enable_textbuf+set}" = set; then
7382 enableval=$enable_textbuf;
7383 if test "$enableval" = yes; then
7384 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7386 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7391 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7396 eval "$wx_cv_use_textbuf"
7398 if test x
"$enablestring" = xdisable
; then
7399 if test $wxUSE_TEXTBUFFER = yes; then
7405 result
=$wxUSE_TEXTBUFFER
7408 { echo "$as_me:$LINENO: result: $result" >&5
7409 echo "${ECHO_T}$result" >&6; }
7413 defaultval
=$wxUSE_ALL_FEATURES
7414 if test -z "$defaultval"; then
7415 if test x
"$enablestring" = xdisable
; then
7422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7424 # Check whether --enable-textfile was given.
7425 if test "${enable_textfile+set}" = set; then
7426 enableval
=$enable_textfile;
7427 if test "$enableval" = yes; then
7428 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
7430 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
7435 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7440 eval "$wx_cv_use_textfile"
7442 if test x"$enablestring" = xdisable; then
7443 if test $wxUSE_TEXTFILE = yes; then
7449 result=$wxUSE_TEXTFILE
7452 { echo "$as_me:$LINENO: result: $result" >&5
7453 echo "${ECHO_T}$result" >&6; }
7457 defaultval=$wxUSE_ALL_FEATURES
7458 if test -z "$defaultval"; then
7459 if test x"$enablestring" = xdisable; then
7466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7467 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7468 # Check whether --enable-timer was given.
7469 if test "${enable_timer+set}" = set; then
7470 enableval=$enable_timer;
7471 if test "$enableval" = yes; then
7472 wx_cv_use_timer='wxUSE_TIMER
=yes'
7474 wx_cv_use_timer='wxUSE_TIMER
=no
'
7479 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7484 eval "$wx_cv_use_timer"
7486 if test x"$enablestring" = xdisable; then
7487 if test $wxUSE_TIMER = yes; then
7496 { echo "$as_me:$LINENO: result
: $result" >&5
7497 echo "${ECHO_T}$result" >&6; }
7501 defaultval=$wxUSE_ALL_FEATURES
7502 if test -z "$defaultval"; then
7503 if test x"$enablestring" = xdisable; then
7510 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sound" >&5
7511 echo $ECHO_N "checking
for --${enablestring:-enable}-sound...
$ECHO_C" >&6; }
7512 # Check whether --enable-sound was given.
7513 if test "${enable_sound+set}" = set; then
7514 enableval=$enable_sound;
7515 if test "$enableval" = yes; then
7516 wx_cv_use_sound='wxUSE_SOUND=yes'
7518 wx_cv_use_sound='wxUSE_SOUND=no'
7523 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7528 eval "$wx_cv_use_sound"
7530 if test x
"$enablestring" = xdisable
; then
7531 if test $wxUSE_SOUND = yes; then
7540 { echo "$as_me:$LINENO: result: $result" >&5
7541 echo "${ECHO_T}$result" >&6; }
7545 defaultval
=$wxUSE_ALL_FEATURES
7546 if test -z "$defaultval"; then
7547 if test x
"$enablestring" = xdisable
; then
7554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7555 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7556 # Check whether --enable-mediactrl was given.
7557 if test "${enable_mediactrl+set}" = set; then
7558 enableval
=$enable_mediactrl;
7559 if test "$enableval" = yes; then
7560 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
7562 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
7567 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7572 eval "$wx_cv_use_mediactrl"
7574 if test x"$enablestring" = xdisable; then
7575 if test $wxUSE_MEDIACTRL = yes; then
7581 result=$wxUSE_MEDIACTRL
7584 { echo "$as_me:$LINENO: result: $result" >&5
7585 echo "${ECHO_T}$result" >&6; }
7589 defaultval=$wxUSE_ALL_FEATURES
7590 if test -z "$defaultval"; then
7591 if test x"$enablestring" = xdisable; then
7598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7599 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7600 # Check whether --enable-gstreamer8 was given.
7601 if test "${enable_gstreamer8+set}" = set; then
7602 enableval=$enable_gstreamer8;
7603 if test "$enableval" = yes; then
7604 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=yes'
7606 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=no
'
7611 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7616 eval "$wx_cv_use_gstreamer8"
7618 if test x"$enablestring" = xdisable; then
7619 if test $wxUSE_GSTREAMER8 = yes; then
7625 result=$wxUSE_GSTREAMER8
7628 { echo "$as_me:$LINENO: result
: $result" >&5
7629 echo "${ECHO_T}$result" >&6; }
7633 defaultval=$wxUSE_ALL_FEATURES
7634 if test -z "$defaultval"; then
7635 if test x"$enablestring" = xdisable; then
7642 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printfposparam" >&5
7643 echo $ECHO_N "checking
for --${enablestring:-enable}-printfposparam...
$ECHO_C" >&6; }
7644 # Check whether --enable-printfposparam was given.
7645 if test "${enable_printfposparam+set}" = set; then
7646 enableval=$enable_printfposparam;
7647 if test "$enableval" = yes; then
7648 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7650 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7655 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7660 eval "$wx_cv_use_printfposparam"
7662 if test x
"$enablestring" = xdisable
; then
7663 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7669 result
=$wxUSE_PRINTF_POS_PARAMS
7672 { echo "$as_me:$LINENO: result: $result" >&5
7673 echo "${ECHO_T}$result" >&6; }
7677 defaultval
=$wxUSE_ALL_FEATURES
7678 if test -z "$defaultval"; then
7679 if test x
"$enablestring" = xdisable
; then
7686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7687 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7688 # Check whether --enable-zipstream was given.
7689 if test "${enable_zipstream+set}" = set; then
7690 enableval
=$enable_zipstream;
7691 if test "$enableval" = yes; then
7692 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
7694 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
7699 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7704 eval "$wx_cv_use_zipstream"
7706 if test x"$enablestring" = xdisable; then
7707 if test $wxUSE_ZIPSTREAM = yes; then
7713 result=$wxUSE_ZIPSTREAM
7716 { echo "$as_me:$LINENO: result: $result" >&5
7717 echo "${ECHO_T}$result" >&6; }
7722 defaultval=$wxUSE_ALL_FEATURES
7723 if test -z "$defaultval"; then
7724 if test x"$enablestring" = xdisable; then
7731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7732 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7733 # Check whether --enable-url was given.
7734 if test "${enable_url+set}" = set; then
7735 enableval=$enable_url;
7736 if test "$enableval" = yes; then
7737 wx_cv_use_url='wxUSE_URL
=yes'
7739 wx_cv_use_url='wxUSE_URL
=no
'
7744 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
7749 eval "$wx_cv_use_url"
7751 if test x"$enablestring" = xdisable; then
7752 if test $wxUSE_URL = yes; then
7761 { echo "$as_me:$LINENO: result
: $result" >&5
7762 echo "${ECHO_T}$result" >&6; }
7766 defaultval=$wxUSE_ALL_FEATURES
7767 if test -z "$defaultval"; then
7768 if test x"$enablestring" = xdisable; then
7775 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-variant" >&5
7776 echo $ECHO_N "checking
for --${enablestring:-enable}-variant...
$ECHO_C" >&6; }
7777 # Check whether --enable-variant was given.
7778 if test "${enable_variant+set}" = set; then
7779 enableval=$enable_variant;
7780 if test "$enableval" = yes; then
7781 wx_cv_use_variant='wxUSE_VARIANT=yes'
7783 wx_cv_use_variant='wxUSE_VARIANT=no'
7788 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7793 eval "$wx_cv_use_variant"
7795 if test x
"$enablestring" = xdisable
; then
7796 if test $wxUSE_VARIANT = yes; then
7802 result
=$wxUSE_VARIANT
7805 { echo "$as_me:$LINENO: result: $result" >&5
7806 echo "${ECHO_T}$result" >&6; }
7810 defaultval
=$wxUSE_ALL_FEATURES
7811 if test -z "$defaultval"; then
7812 if test x
"$enablestring" = xdisable
; then
7819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7820 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7821 # Check whether --enable-protocol was given.
7822 if test "${enable_protocol+set}" = set; then
7823 enableval
=$enable_protocol;
7824 if test "$enableval" = yes; then
7825 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
7827 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
7832 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7837 eval "$wx_cv_use_protocol"
7839 if test x"$enablestring" = xdisable; then
7840 if test $wxUSE_PROTOCOL = yes; then
7846 result=$wxUSE_PROTOCOL
7849 { echo "$as_me:$LINENO: result: $result" >&5
7850 echo "${ECHO_T}$result" >&6; }
7854 defaultval=$wxUSE_ALL_FEATURES
7855 if test -z "$defaultval"; then
7856 if test x"$enablestring" = xdisable; then
7863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7864 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7865 # Check whether --enable-protocol_http was given.
7866 if test "${enable_protocol_http+set}" = set; then
7867 enableval=$enable_protocol_http;
7868 if test "$enableval" = yes; then
7869 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
7871 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
7876 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7881 eval "$wx_cv_use_protocol_http"
7883 if test x"$enablestring" = xdisable; then
7884 if test $wxUSE_PROTOCOL_HTTP = yes; then
7890 result=$wxUSE_PROTOCOL_HTTP
7893 { echo "$as_me:$LINENO: result
: $result" >&5
7894 echo "${ECHO_T}$result" >&6; }
7898 defaultval=$wxUSE_ALL_FEATURES
7899 if test -z "$defaultval"; then
7900 if test x"$enablestring" = xdisable; then
7907 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
7908 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
7909 # Check whether --enable-protocol_ftp was given.
7910 if test "${enable_protocol_ftp+set}" = set; then
7911 enableval=$enable_protocol_ftp;
7912 if test "$enableval" = yes; then
7913 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7915 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7920 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7925 eval "$wx_cv_use_protocol_ftp"
7927 if test x
"$enablestring" = xdisable
; then
7928 if test $wxUSE_PROTOCOL_FTP = yes; then
7934 result
=$wxUSE_PROTOCOL_FTP
7937 { echo "$as_me:$LINENO: result: $result" >&5
7938 echo "${ECHO_T}$result" >&6; }
7942 defaultval
=$wxUSE_ALL_FEATURES
7943 if test -z "$defaultval"; then
7944 if test x
"$enablestring" = xdisable
; then
7951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7952 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7953 # Check whether --enable-protocol_file was given.
7954 if test "${enable_protocol_file+set}" = set; then
7955 enableval
=$enable_protocol_file;
7956 if test "$enableval" = yes; then
7957 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
7959 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
7964 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7969 eval "$wx_cv_use_protocol_file"
7971 if test x"$enablestring" = xdisable; then
7972 if test $wxUSE_PROTOCOL_FILE = yes; then
7978 result=$wxUSE_PROTOCOL_FILE
7981 { echo "$as_me:$LINENO: result: $result" >&5
7982 echo "${ECHO_T}$result" >&6; }
7987 defaultval=$wxUSE_ALL_FEATURES
7988 if test -z "$defaultval"; then
7989 if test x"$enablestring" = xdisable; then
7996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7997 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7998 # Check whether --enable-threads was given.
7999 if test "${enable_threads+set}" = set; then
8000 enableval=$enable_threads;
8001 if test "$enableval" = yes; then
8002 wx_cv_use_threads='wxUSE_THREADS
=yes'
8004 wx_cv_use_threads='wxUSE_THREADS
=no
'
8009 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8014 eval "$wx_cv_use_threads"
8016 if test x"$enablestring" = xdisable; then
8017 if test $wxUSE_THREADS = yes; then
8023 result=$wxUSE_THREADS
8026 { echo "$as_me:$LINENO: result
: $result" >&5
8027 echo "${ECHO_T}$result" >&6; }
8033 if test -z "$defaultval"; then
8034 if test x"$enablestring" = xdisable; then
8041 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8042 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8043 # Check whether --enable-iniconf was given.
8044 if test "${enable_iniconf+set}" = set; then
8045 enableval=$enable_iniconf;
8046 if test "$enableval" = yes; then
8047 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8049 wx_cv_use_iniconf='wxUSE_INICONF=no'
8054 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8059 eval "$wx_cv_use_iniconf"
8061 if test x
"$enablestring" = xdisable
; then
8062 if test $wxUSE_INICONF = yes; then
8068 result
=$wxUSE_INICONF
8071 { echo "$as_me:$LINENO: result: $result" >&5
8072 echo "${ECHO_T}$result" >&6; }
8076 defaultval
=$wxUSE_ALL_FEATURES
8077 if test -z "$defaultval"; then
8078 if test x
"$enablestring" = xdisable
; then
8085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8086 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8087 # Check whether --enable-regkey was given.
8088 if test "${enable_regkey+set}" = set; then
8089 enableval
=$enable_regkey;
8090 if test "$enableval" = yes; then
8091 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8093 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8098 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8103 eval "$wx_cv_use_regkey"
8105 if test x"$enablestring" = xdisable; then
8106 if test $wxUSE_REGKEY = yes; then
8112 result=$wxUSE_REGKEY
8115 { echo "$as_me:$LINENO: result: $result" >&5
8116 echo "${ECHO_T}$result" >&6; }
8119 if test "$wxUSE_GUI" = "yes"; then
8124 defaultval=$wxUSE_ALL_FEATURES
8125 if test -z "$defaultval"; then
8126 if test x"$enablestring" = xdisable; then
8133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8134 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8135 # Check whether --enable-docview was given.
8136 if test "${enable_docview+set}" = set; then
8137 enableval=$enable_docview;
8138 if test "$enableval" = yes; then
8139 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8141 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8146 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8151 eval "$wx_cv_use_docview"
8153 if test x"$enablestring" = xdisable; then
8154 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8160 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8163 { echo "$as_me:$LINENO: result
: $result" >&5
8164 echo "${ECHO_T}$result" >&6; }
8168 defaultval=$wxUSE_ALL_FEATURES
8169 if test -z "$defaultval"; then
8170 if test x"$enablestring" = xdisable; then
8177 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8178 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8179 # Check whether --enable-help was given.
8180 if test "${enable_help+set}" = set; then
8181 enableval=$enable_help;
8182 if test "$enableval" = yes; then
8183 wx_cv_use_help='wxUSE_HELP=yes'
8185 wx_cv_use_help='wxUSE_HELP=no'
8190 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8195 eval "$wx_cv_use_help"
8197 if test x
"$enablestring" = xdisable
; then
8198 if test $wxUSE_HELP = yes; then
8207 { echo "$as_me:$LINENO: result: $result" >&5
8208 echo "${ECHO_T}$result" >&6; }
8212 defaultval
=$wxUSE_ALL_FEATURES
8213 if test -z "$defaultval"; then
8214 if test x
"$enablestring" = xdisable
; then
8221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8222 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8223 # Check whether --enable-mshtmlhelp was given.
8224 if test "${enable_mshtmlhelp+set}" = set; then
8225 enableval
=$enable_mshtmlhelp;
8226 if test "$enableval" = yes; then
8227 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8229 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8234 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8239 eval "$wx_cv_use_mshtmlhelp"
8241 if test x"$enablestring" = xdisable; then
8242 if test $wxUSE_MS_HTML_HELP = yes; then
8248 result=$wxUSE_MS_HTML_HELP
8251 { echo "$as_me:$LINENO: result: $result" >&5
8252 echo "${ECHO_T}$result" >&6; }
8256 defaultval=$wxUSE_ALL_FEATURES
8257 if test -z "$defaultval"; then
8258 if test x"$enablestring" = xdisable; then
8265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8266 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8267 # Check whether --enable-html was given.
8268 if test "${enable_html+set}" = set; then
8269 enableval=$enable_html;
8270 if test "$enableval" = yes; then
8271 wx_cv_use_html='wxUSE_HTML
=yes'
8273 wx_cv_use_html='wxUSE_HTML
=no
'
8278 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8283 eval "$wx_cv_use_html"
8285 if test x"$enablestring" = xdisable; then
8286 if test $wxUSE_HTML = yes; then
8295 { echo "$as_me:$LINENO: result
: $result" >&5
8296 echo "${ECHO_T}$result" >&6; }
8300 defaultval=$wxUSE_ALL_FEATURES
8301 if test -z "$defaultval"; then
8302 if test x"$enablestring" = xdisable; then
8309 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8310 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8311 # Check whether --enable-htmlhelp was given.
8312 if test "${enable_htmlhelp+set}" = set; then
8313 enableval=$enable_htmlhelp;
8314 if test "$enableval" = yes; then
8315 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8317 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8322 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8327 eval "$wx_cv_use_htmlhelp"
8329 if test x
"$enablestring" = xdisable
; then
8330 if test $wxUSE_WXHTML_HELP = yes; then
8336 result
=$wxUSE_WXHTML_HELP
8339 { echo "$as_me:$LINENO: result: $result" >&5
8340 echo "${ECHO_T}$result" >&6; }
8344 defaultval
=$wxUSE_ALL_FEATURES
8345 if test -z "$defaultval"; then
8346 if test x
"$enablestring" = xdisable
; then
8353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8354 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8355 # Check whether --enable-xrc was given.
8356 if test "${enable_xrc+set}" = set; then
8357 enableval
=$enable_xrc;
8358 if test "$enableval" = yes; then
8359 wx_cv_use_xrc
='wxUSE_XRC=yes'
8361 wx_cv_use_xrc
='wxUSE_XRC=no'
8366 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8371 eval "$wx_cv_use_xrc"
8373 if test x"$enablestring" = xdisable; then
8374 if test $wxUSE_XRC = yes; then
8383 { echo "$as_me:$LINENO: result: $result" >&5
8384 echo "${ECHO_T}$result" >&6; }
8388 defaultval=$wxUSE_ALL_FEATURES
8389 if test -z "$defaultval"; then
8390 if test x"$enablestring" = xdisable; then
8397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8398 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8399 # Check whether --enable-aui was given.
8400 if test "${enable_aui+set}" = set; then
8401 enableval=$enable_aui;
8402 if test "$enableval" = yes; then
8403 wx_cv_use_aui='wxUSE_AUI
=yes'
8405 wx_cv_use_aui='wxUSE_AUI
=no
'
8410 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8415 eval "$wx_cv_use_aui"
8417 if test x"$enablestring" = xdisable; then
8418 if test $wxUSE_AUI = yes; then
8427 { echo "$as_me:$LINENO: result
: $result" >&5
8428 echo "${ECHO_T}$result" >&6; }
8432 defaultval=$wxUSE_ALL_FEATURES
8433 if test -z "$defaultval"; then
8434 if test x"$enablestring" = xdisable; then
8441 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stc" >&5
8442 echo $ECHO_N "checking
for --${enablestring:-enable}-stc...
$ECHO_C" >&6; }
8443 # Check whether --enable-stc was given.
8444 if test "${enable_stc+set}" = set; then
8445 enableval=$enable_stc;
8446 if test "$enableval" = yes; then
8447 wx_cv_use_stc='wxUSE_STC=yes'
8449 wx_cv_use_stc='wxUSE_STC=no'
8454 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8459 eval "$wx_cv_use_stc"
8461 if test x
"$enablestring" = xdisable
; then
8462 if test $wxUSE_STC = yes; then
8471 { echo "$as_me:$LINENO: result: $result" >&5
8472 echo "${ECHO_T}$result" >&6; }
8476 defaultval
=$wxUSE_ALL_FEATURES
8477 if test -z "$defaultval"; then
8478 if test x
"$enablestring" = xdisable
; then
8485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8486 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8487 # Check whether --enable-constraints was given.
8488 if test "${enable_constraints+set}" = set; then
8489 enableval
=$enable_constraints;
8490 if test "$enableval" = yes; then
8491 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
8493 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
8498 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8503 eval "$wx_cv_use_constraints"
8505 if test x"$enablestring" = xdisable; then
8506 if test $wxUSE_CONSTRAINTS = yes; then
8512 result=$wxUSE_CONSTRAINTS
8515 { echo "$as_me:$LINENO: result: $result" >&5
8516 echo "${ECHO_T}$result" >&6; }
8520 defaultval=$wxUSE_ALL_FEATURES
8521 if test -z "$defaultval"; then
8522 if test x"$enablestring" = xdisable; then
8529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8530 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8531 # Check whether --enable-printarch was given.
8532 if test "${enable_printarch+set}" = set; then
8533 enableval=$enable_printarch;
8534 if test "$enableval" = yes; then
8535 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
8537 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
8542 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8547 eval "$wx_cv_use_printarch"
8549 if test x"$enablestring" = xdisable; then
8550 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8556 result=$wxUSE_PRINTING_ARCHITECTURE
8559 { echo "$as_me:$LINENO: result
: $result" >&5
8560 echo "${ECHO_T}$result" >&6; }
8564 defaultval=$wxUSE_ALL_FEATURES
8565 if test -z "$defaultval"; then
8566 if test x"$enablestring" = xdisable; then
8573 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
8574 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
8575 # Check whether --enable-mdi was given.
8576 if test "${enable_mdi+set}" = set; then
8577 enableval=$enable_mdi;
8578 if test "$enableval" = yes; then
8579 wx_cv_use_mdi='wxUSE_MDI=yes'
8581 wx_cv_use_mdi='wxUSE_MDI=no'
8586 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8591 eval "$wx_cv_use_mdi"
8593 if test x
"$enablestring" = xdisable
; then
8594 if test $wxUSE_MDI = yes; then
8603 { echo "$as_me:$LINENO: result: $result" >&5
8604 echo "${ECHO_T}$result" >&6; }
8608 defaultval
=$wxUSE_ALL_FEATURES
8609 if test -z "$defaultval"; then
8610 if test x
"$enablestring" = xdisable
; then
8617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8618 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8619 # Check whether --enable-mdidoc was given.
8620 if test "${enable_mdidoc+set}" = set; then
8621 enableval
=$enable_mdidoc;
8622 if test "$enableval" = yes; then
8623 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
8625 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
8630 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8635 eval "$wx_cv_use_mdidoc"
8637 if test x"$enablestring" = xdisable; then
8638 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8644 result=$wxUSE_MDI_ARCHITECTURE
8647 { echo "$as_me:$LINENO: result: $result" >&5
8648 echo "${ECHO_T}$result" >&6; }
8652 defaultval=$wxUSE_ALL_FEATURES
8653 if test -z "$defaultval"; then
8654 if test x"$enablestring" = xdisable; then
8661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8662 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8663 # Check whether --enable-loggui was given.
8664 if test "${enable_loggui+set}" = set; then
8665 enableval=$enable_loggui;
8666 if test "$enableval" = yes; then
8667 wx_cv_use_loggui='wxUSE_LOGGUI
=yes'
8669 wx_cv_use_loggui='wxUSE_LOGGUI
=no
'
8674 wx_cv_use_loggui='wxUSE_LOGGUI
=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8679 eval "$wx_cv_use_loggui"
8681 if test x"$enablestring" = xdisable; then
8682 if test $wxUSE_LOGGUI = yes; then
8688 result=$wxUSE_LOGGUI
8691 { echo "$as_me:$LINENO: result
: $result" >&5
8692 echo "${ECHO_T}$result" >&6; }
8696 defaultval=$wxUSE_ALL_FEATURES
8697 if test -z "$defaultval"; then
8698 if test x"$enablestring" = xdisable; then
8705 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logwin" >&5
8706 echo $ECHO_N "checking
for --${enablestring:-enable}-logwin...
$ECHO_C" >&6; }
8707 # Check whether --enable-logwin was given.
8708 if test "${enable_logwin+set}" = set; then
8709 enableval=$enable_logwin;
8710 if test "$enableval" = yes; then
8711 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8713 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8718 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8723 eval "$wx_cv_use_logwin"
8725 if test x
"$enablestring" = xdisable
; then
8726 if test $wxUSE_LOGWINDOW = yes; then
8732 result
=$wxUSE_LOGWINDOW
8735 { echo "$as_me:$LINENO: result: $result" >&5
8736 echo "${ECHO_T}$result" >&6; }
8740 defaultval
=$wxUSE_ALL_FEATURES
8741 if test -z "$defaultval"; then
8742 if test x
"$enablestring" = xdisable
; then
8749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8750 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8751 # Check whether --enable-logdialog was given.
8752 if test "${enable_logdialog+set}" = set; then
8753 enableval
=$enable_logdialog;
8754 if test "$enableval" = yes; then
8755 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
8757 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
8762 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8767 eval "$wx_cv_use_logdialog"
8769 if test x"$enablestring" = xdisable; then
8770 if test $wxUSE_LOGDIALOG = yes; then
8776 result=$wxUSE_LOGDIALOG
8779 { echo "$as_me:$LINENO: result: $result" >&5
8780 echo "${ECHO_T}$result" >&6; }
8784 defaultval=$wxUSE_ALL_FEATURES
8785 if test -z "$defaultval"; then
8786 if test x"$enablestring" = xdisable; then
8793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8794 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8795 # Check whether --enable-webkit was given.
8796 if test "${enable_webkit+set}" = set; then
8797 enableval=$enable_webkit;
8798 if test "$enableval" = yes; then
8799 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
8801 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
8806 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8811 eval "$wx_cv_use_webkit"
8813 if test x"$enablestring" = xdisable; then
8814 if test $wxUSE_WEBKIT = yes; then
8820 result=$wxUSE_WEBKIT
8823 { echo "$as_me:$LINENO: result
: $result" >&5
8824 echo "${ECHO_T}$result" >&6; }
8828 defaultval=$wxUSE_ALL_FEATURES
8829 if test -z "$defaultval"; then
8830 if test x"$enablestring" = xdisable; then
8837 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-richtext" >&5
8838 echo $ECHO_N "checking
for --${enablestring:-enable}-richtext...
$ECHO_C" >&6; }
8839 # Check whether --enable-richtext was given.
8840 if test "${enable_richtext+set}" = set; then
8841 enableval=$enable_richtext;
8842 if test "$enableval" = yes; then
8843 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8845 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8850 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8855 eval "$wx_cv_use_richtext"
8857 if test x
"$enablestring" = xdisable
; then
8858 if test $wxUSE_RICHTEXT = yes; then
8864 result
=$wxUSE_RICHTEXT
8867 { echo "$as_me:$LINENO: result: $result" >&5
8868 echo "${ECHO_T}$result" >&6; }
8872 defaultval
=$wxUSE_ALL_FEATURES
8873 if test -z "$defaultval"; then
8874 if test x
"$enablestring" = xdisable
; then
8881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8882 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8883 # Check whether --enable-graphics_ctx was given.
8884 if test "${enable_graphics_ctx+set}" = set; then
8885 enableval
=$enable_graphics_ctx;
8886 if test "$enableval" = yes; then
8887 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
8889 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
8894 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
8899 eval "$wx_cv_use_graphics_ctx"
8901 if test x"$enablestring" = xdisable; then
8902 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
8908 result=$wxUSE_GRAPHICS_CONTEXT
8911 { echo "$as_me:$LINENO: result: $result" >&5
8912 echo "${ECHO_T}$result" >&6; }
8916 defaultval=$wxUSE_ALL_FEATURES
8917 if test -z "$defaultval"; then
8918 if test x"$enablestring" = xdisable; then
8925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8926 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8927 # Check whether --enable-postscript was given.
8928 if test "${enable_postscript+set}" = set; then
8929 enableval=$enable_postscript;
8930 if test "$enableval" = yes; then
8931 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
8933 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
8938 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
8943 eval "$wx_cv_use_postscript"
8945 if test x"$enablestring" = xdisable; then
8946 if test $wxUSE_POSTSCRIPT = yes; then
8952 result=$wxUSE_POSTSCRIPT
8955 { echo "$as_me:$LINENO: result
: $result" >&5
8956 echo "${ECHO_T}$result" >&6; }
8960 defaultval=$wxUSE_ALL_FEATURES
8961 if test -z "$defaultval"; then
8962 if test x"$enablestring" = xdisable; then
8969 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
8970 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
8971 # Check whether --enable-svg was given.
8972 if test "${enable_svg+set}" = set; then
8973 enableval=$enable_svg;
8974 if test "$enableval" = yes; then
8975 wx_cv_use_svg='wxUSE_SVG=yes'
8977 wx_cv_use_svg='wxUSE_SVG=no'
8982 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
8987 eval "$wx_cv_use_svg"
8989 if test x
"$enablestring" = xdisable
; then
8990 if test $wxUSE_SVG = yes; then
8999 { echo "$as_me:$LINENO: result: $result" >&5
9000 echo "${ECHO_T}$result" >&6; }
9006 defaultval
=$wxUSE_ALL_FEATURES
9007 if test -z "$defaultval"; then
9008 if test x
"$enablestring" = xdisable
; then
9015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9016 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9017 # Check whether --enable-clipboard was given.
9018 if test "${enable_clipboard+set}" = set; then
9019 enableval
=$enable_clipboard;
9020 if test "$enableval" = yes; then
9021 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9023 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9028 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9033 eval "$wx_cv_use_clipboard"
9035 if test x"$enablestring" = xdisable; then
9036 if test $wxUSE_CLIPBOARD = yes; then
9042 result=$wxUSE_CLIPBOARD
9045 { echo "$as_me:$LINENO: result: $result" >&5
9046 echo "${ECHO_T}$result" >&6; }
9050 defaultval=$wxUSE_ALL_FEATURES
9051 if test -z "$defaultval"; then
9052 if test x"$enablestring" = xdisable; then
9059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9060 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9061 # Check whether --enable-dnd was given.
9062 if test "${enable_dnd+set}" = set; then
9063 enableval=$enable_dnd;
9064 if test "$enableval" = yes; then
9065 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9067 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9072 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9077 eval "$wx_cv_use_dnd"
9079 if test x"$enablestring" = xdisable; then
9080 if test $wxUSE_DRAG_AND_DROP = yes; then
9086 result=$wxUSE_DRAG_AND_DROP
9089 { echo "$as_me:$LINENO: result
: $result" >&5
9090 echo "${ECHO_T}$result" >&6; }
9094 defaultval=$wxUSE_ALL_FEATURES
9095 if test -z "$defaultval"; then
9096 if test x"$enablestring" = xdisable; then
9103 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9104 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9105 # Check whether --enable-metafile was given.
9106 if test "${enable_metafile+set}" = set; then
9107 enableval=$enable_metafile;
9108 if test "$enableval" = yes; then
9109 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9111 wx_cv_use_metafile='wxUSE_METAFILE=no'
9116 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9121 eval "$wx_cv_use_metafile"
9123 if test x
"$enablestring" = xdisable
; then
9124 if test $wxUSE_METAFILE = yes; then
9130 result
=$wxUSE_METAFILE
9133 { echo "$as_me:$LINENO: result: $result" >&5
9134 echo "${ECHO_T}$result" >&6; }
9138 DEFAULT_wxUSE_CONTROLS
=none
9140 enablestring
=disable
9142 if test -z "$defaultval"; then
9143 if test x
"$enablestring" = xdisable
; then
9150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9151 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9152 # Check whether --enable-controls was given.
9153 if test "${enable_controls+set}" = set; then
9154 enableval
=$enable_controls;
9155 if test "$enableval" = yes; then
9156 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9158 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9163 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9168 eval "$wx_cv_use_controls"
9170 if test x"$enablestring" = xdisable; then
9171 if test $wxUSE_CONTROLS = yes; then
9177 result=$wxUSE_CONTROLS
9180 { echo "$as_me:$LINENO: result: $result" >&5
9181 echo "${ECHO_T}$result" >&6; }
9184 if test "$wxUSE_CONTROLS" = "yes"; then
9185 DEFAULT_wxUSE_ACCEL=yes
9186 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9187 DEFAULT_wxUSE_BMPBUTTON=yes
9188 DEFAULT_wxUSE_BUTTON=yes
9189 DEFAULT_wxUSE_CALCTRL=yes
9190 DEFAULT_wxUSE_CARET=yes
9191 DEFAULT_wxUSE_COMBOBOX=yes
9192 DEFAULT_wxUSE_CHECKBOX=yes
9193 DEFAULT_wxUSE_CHECKLISTBOX=yes
9194 DEFAULT_wxUSE_CHOICE=yes
9195 DEFAULT_wxUSE_CHOICEBOOK=yes
9196 DEFAULT_wxUSE_COLLPANE=yes
9197 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9198 DEFAULT_wxUSE_COMBOBOX=yes
9199 DEFAULT_wxUSE_DATEPICKCTRL=yes
9200 DEFAULT_wxUSE_DISPLAY=yes
9201 DEFAULT_wxUSE_DETECT_SM=yes
9202 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9203 DEFAULT_wxUSE_FILECTRL=yes
9204 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9205 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9206 DEFAULT_wxUSE_GAUGE=yes
9207 DEFAULT_wxUSE_GRID=yes
9208 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9209 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9210 DEFAULT_wxUSE_IMAGLIST=yes
9211 DEFAULT_wxUSE_LISTBOOK=yes
9212 DEFAULT_wxUSE_LISTBOX=yes
9213 DEFAULT_wxUSE_LISTCTRL=yes
9214 DEFAULT_wxUSE_NOTEBOOK=yes
9215 DEFAULT_wxUSE_RADIOBOX=yes
9216 DEFAULT_wxUSE_RADIOBTN=yes
9217 DEFAULT_wxUSE_SASH=yes
9218 DEFAULT_wxUSE_SCROLLBAR=yes
9219 DEFAULT_wxUSE_SEARCHCTRL=yes
9220 DEFAULT_wxUSE_SLIDER=yes
9221 DEFAULT_wxUSE_SPINBTN=yes
9222 DEFAULT_wxUSE_SPINCTRL=yes
9223 DEFAULT_wxUSE_SPLITTER=yes
9224 DEFAULT_wxUSE_STATBMP=yes
9225 DEFAULT_wxUSE_STATBOX=yes
9226 DEFAULT_wxUSE_STATLINE=yes
9227 DEFAULT_wxUSE_STATUSBAR=yes
9228 DEFAULT_wxUSE_TAB_DIALOG=yes
9229 DEFAULT_wxUSE_TOGGLEBTN=yes
9230 DEFAULT_wxUSE_TOOLBAR=yes
9231 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9232 DEFAULT_wxUSE_TOOLTIPS=yes
9233 DEFAULT_wxUSE_TREEBOOK=yes
9234 DEFAULT_wxUSE_TOOLBOOK=yes
9235 DEFAULT_wxUSE_TREECTRL=yes
9236 DEFAULT_wxUSE_POPUPWIN=yes
9237 DEFAULT_wxUSE_TIPWINDOW=yes
9238 elif test "$wxUSE_CONTROLS" = "no"; then
9239 DEFAULT_wxUSE_ACCEL=no
9240 DEFAULT_wxUSE_ANIMATIONCTRL=no
9241 DEFAULT_wxUSE_BMPBUTTON=no
9242 DEFAULT_wxUSE_BUTTON=no
9243 DEFAULT_wxUSE_CALCTRL=no
9244 DEFAULT_wxUSE_CARET=no
9245 DEFAULT_wxUSE_COLLPANE=no
9246 DEFAULT_wxUSE_COMBOBOX=no
9247 DEFAULT_wxUSE_CHECKBOX=no
9248 DEFAULT_wxUSE_CHECKLISTBOX=no
9249 DEFAULT_wxUSE_CHOICE=no
9250 DEFAULT_wxUSE_CHOICEBOOK=no
9251 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9252 DEFAULT_wxUSE_COMBOBOX=no
9253 DEFAULT_wxUSE_DATEPICKCTRL=no
9254 DEFAULT_wxUSE_DISPLAY=no
9255 DEFAULT_wxUSE_DETECT_SM=no
9256 DEFAULT_wxUSE_DIRPICKERCTRL=no
9257 DEFAULT_wxUSE_FILECTRL=no
9258 DEFAULT_wxUSE_FILEPICKERCTRL=no
9259 DEFAULT_wxUSE_FONTPICKERCTRL=no
9260 DEFAULT_wxUSE_GAUGE=no
9261 DEFAULT_wxUSE_GRID=no
9262 DEFAULT_wxUSE_HYPERLINKCTRL=no
9263 DEFAULT_wxUSE_DATAVIEWCTRL=no
9264 DEFAULT_wxUSE_IMAGLIST=no
9265 DEFAULT_wxUSE_LISTBOOK=no
9266 DEFAULT_wxUSE_LISTBOX=no
9267 DEFAULT_wxUSE_LISTCTRL=no
9268 DEFAULT_wxUSE_NOTEBOOK=no
9269 DEFAULT_wxUSE_RADIOBOX=no
9270 DEFAULT_wxUSE_RADIOBTN=no
9271 DEFAULT_wxUSE_SASH=no
9272 DEFAULT_wxUSE_SCROLLBAR=no
9273 DEFAULT_wxUSE_SEARCHCTRL=no
9274 DEFAULT_wxUSE_SLIDER=no
9275 DEFAULT_wxUSE_SPINBTN=no
9276 DEFAULT_wxUSE_SPINCTRL=no
9277 DEFAULT_wxUSE_SPLITTER=no
9278 DEFAULT_wxUSE_STATBMP=no
9279 DEFAULT_wxUSE_STATBOX=no
9280 DEFAULT_wxUSE_STATLINE=no
9281 DEFAULT_wxUSE_STATUSBAR=no
9282 DEFAULT_wxUSE_TAB_DIALOG=no
9283 DEFAULT_wxUSE_TOGGLEBTN=no
9284 DEFAULT_wxUSE_TOOLBAR=no
9285 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9286 DEFAULT_wxUSE_TOOLTIPS=no
9287 DEFAULT_wxUSE_TREEBOOK=no
9288 DEFAULT_wxUSE_TOOLBOOK=no
9289 DEFAULT_wxUSE_TREECTRL=no
9290 DEFAULT_wxUSE_POPUPWIN=no
9291 DEFAULT_wxUSE_TIPWINDOW=no
9296 defaultval=$wxUSE_ALL_FEATURES
9297 if test -z "$defaultval"; then
9298 if test x"$enablestring" = xdisable; then
9305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9306 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9307 # Check whether --enable-accel was given.
9308 if test "${enable_accel+set}" = set; then
9309 enableval=$enable_accel;
9310 if test "$enableval" = yes; then
9311 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9313 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9318 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9323 eval "$wx_cv_use_accel"
9325 if test x"$enablestring" = xdisable; then
9326 if test $wxUSE_ACCEL = yes; then
9335 { echo "$as_me:$LINENO: result
: $result" >&5
9336 echo "${ECHO_T}$result" >&6; }
9340 defaultval=$wxUSE_ALL_FEATURES
9341 if test -z "$defaultval"; then
9342 if test x"$enablestring" = xdisable; then
9349 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
9350 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9351 # Check whether --enable-animatectrl was given.
9352 if test "${enable_animatectrl+set}" = set; then
9353 enableval=$enable_animatectrl;
9354 if test "$enableval" = yes; then
9355 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9357 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9362 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9367 eval "$wx_cv_use_animatectrl"
9369 if test x
"$enablestring" = xdisable
; then
9370 if test $wxUSE_ANIMATIONCTRL = yes; then
9376 result
=$wxUSE_ANIMATIONCTRL
9379 { echo "$as_me:$LINENO: result: $result" >&5
9380 echo "${ECHO_T}$result" >&6; }
9384 defaultval
=$wxUSE_ALL_FEATURES
9385 if test -z "$defaultval"; then
9386 if test x
"$enablestring" = xdisable
; then
9393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9394 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9395 # Check whether --enable-button was given.
9396 if test "${enable_button+set}" = set; then
9397 enableval
=$enable_button;
9398 if test "$enableval" = yes; then
9399 wx_cv_use_button
='wxUSE_BUTTON=yes'
9401 wx_cv_use_button
='wxUSE_BUTTON=no'
9406 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9411 eval "$wx_cv_use_button"
9413 if test x"$enablestring" = xdisable; then
9414 if test $wxUSE_BUTTON = yes; then
9420 result=$wxUSE_BUTTON
9423 { echo "$as_me:$LINENO: result: $result" >&5
9424 echo "${ECHO_T}$result" >&6; }
9428 defaultval=$wxUSE_ALL_FEATURES
9429 if test -z "$defaultval"; then
9430 if test x"$enablestring" = xdisable; then
9437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9438 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9439 # Check whether --enable-bmpbutton was given.
9440 if test "${enable_bmpbutton+set}" = set; then
9441 enableval=$enable_bmpbutton;
9442 if test "$enableval" = yes; then
9443 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
9445 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
9450 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9455 eval "$wx_cv_use_bmpbutton"
9457 if test x"$enablestring" = xdisable; then
9458 if test $wxUSE_BMPBUTTON = yes; then
9464 result=$wxUSE_BMPBUTTON
9467 { echo "$as_me:$LINENO: result
: $result" >&5
9468 echo "${ECHO_T}$result" >&6; }
9472 defaultval=$wxUSE_ALL_FEATURES
9473 if test -z "$defaultval"; then
9474 if test x"$enablestring" = xdisable; then
9481 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
9482 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
9483 # Check whether --enable-bmpcombobox was given.
9484 if test "${enable_bmpcombobox+set}" = set; then
9485 enableval=$enable_bmpcombobox;
9486 if test "$enableval" = yes; then
9487 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9489 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9494 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9499 eval "$wx_cv_use_bmpcombobox"
9501 if test x
"$enablestring" = xdisable
; then
9502 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9508 result
=$wxUSE_BITMAPCOMBOBOX
9511 { echo "$as_me:$LINENO: result: $result" >&5
9512 echo "${ECHO_T}$result" >&6; }
9516 defaultval
=$wxUSE_ALL_FEATURES
9517 if test -z "$defaultval"; then
9518 if test x
"$enablestring" = xdisable
; then
9525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9526 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9527 # Check whether --enable-calendar was given.
9528 if test "${enable_calendar+set}" = set; then
9529 enableval
=$enable_calendar;
9530 if test "$enableval" = yes; then
9531 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9533 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9538 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9543 eval "$wx_cv_use_calendar"
9545 if test x"$enablestring" = xdisable; then
9546 if test $wxUSE_CALCTRL = yes; then
9552 result=$wxUSE_CALCTRL
9555 { echo "$as_me:$LINENO: result: $result" >&5
9556 echo "${ECHO_T}$result" >&6; }
9560 defaultval=$wxUSE_ALL_FEATURES
9561 if test -z "$defaultval"; then
9562 if test x"$enablestring" = xdisable; then
9569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9570 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9571 # Check whether --enable-caret was given.
9572 if test "${enable_caret+set}" = set; then
9573 enableval=$enable_caret;
9574 if test "$enableval" = yes; then
9575 wx_cv_use_caret='wxUSE_CARET
=yes'
9577 wx_cv_use_caret='wxUSE_CARET
=no
'
9582 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9587 eval "$wx_cv_use_caret"
9589 if test x"$enablestring" = xdisable; then
9590 if test $wxUSE_CARET = yes; then
9599 { echo "$as_me:$LINENO: result
: $result" >&5
9600 echo "${ECHO_T}$result" >&6; }
9604 defaultval=$wxUSE_ALL_FEATURES
9605 if test -z "$defaultval"; then
9606 if test x"$enablestring" = xdisable; then
9613 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
9614 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
9615 # Check whether --enable-checkbox was given.
9616 if test "${enable_checkbox+set}" = set; then
9617 enableval=$enable_checkbox;
9618 if test "$enableval" = yes; then
9619 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9621 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9626 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9631 eval "$wx_cv_use_checkbox"
9633 if test x
"$enablestring" = xdisable
; then
9634 if test $wxUSE_CHECKBOX = yes; then
9640 result
=$wxUSE_CHECKBOX
9643 { echo "$as_me:$LINENO: result: $result" >&5
9644 echo "${ECHO_T}$result" >&6; }
9648 defaultval
=$wxUSE_ALL_FEATURES
9649 if test -z "$defaultval"; then
9650 if test x
"$enablestring" = xdisable
; then
9657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9658 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9659 # Check whether --enable-checklst was given.
9660 if test "${enable_checklst+set}" = set; then
9661 enableval
=$enable_checklst;
9662 if test "$enableval" = yes; then
9663 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
9665 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
9670 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9675 eval "$wx_cv_use_checklst"
9677 if test x"$enablestring" = xdisable; then
9678 if test $wxUSE_CHECKLST = yes; then
9684 result=$wxUSE_CHECKLST
9687 { echo "$as_me:$LINENO: result: $result" >&5
9688 echo "${ECHO_T}$result" >&6; }
9692 defaultval=$wxUSE_ALL_FEATURES
9693 if test -z "$defaultval"; then
9694 if test x"$enablestring" = xdisable; then
9701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9702 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9703 # Check whether --enable-choice was given.
9704 if test "${enable_choice+set}" = set; then
9705 enableval=$enable_choice;
9706 if test "$enableval" = yes; then
9707 wx_cv_use_choice='wxUSE_CHOICE
=yes'
9709 wx_cv_use_choice='wxUSE_CHOICE
=no
'
9714 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9719 eval "$wx_cv_use_choice"
9721 if test x"$enablestring" = xdisable; then
9722 if test $wxUSE_CHOICE = yes; then
9728 result=$wxUSE_CHOICE
9731 { echo "$as_me:$LINENO: result
: $result" >&5
9732 echo "${ECHO_T}$result" >&6; }
9736 defaultval=$wxUSE_ALL_FEATURES
9737 if test -z "$defaultval"; then
9738 if test x"$enablestring" = xdisable; then
9745 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
9746 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
9747 # Check whether --enable-choicebook was given.
9748 if test "${enable_choicebook+set}" = set; then
9749 enableval=$enable_choicebook;
9750 if test "$enableval" = yes; then
9751 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9753 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9758 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9763 eval "$wx_cv_use_choicebook"
9765 if test x
"$enablestring" = xdisable
; then
9766 if test $wxUSE_CHOICEBOOK = yes; then
9772 result
=$wxUSE_CHOICEBOOK
9775 { echo "$as_me:$LINENO: result: $result" >&5
9776 echo "${ECHO_T}$result" >&6; }
9780 defaultval
=$wxUSE_ALL_FEATURES
9781 if test -z "$defaultval"; then
9782 if test x
"$enablestring" = xdisable
; then
9789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9790 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9791 # Check whether --enable-collpane was given.
9792 if test "${enable_collpane+set}" = set; then
9793 enableval
=$enable_collpane;
9794 if test "$enableval" = yes; then
9795 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
9797 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
9802 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9807 eval "$wx_cv_use_collpane"
9809 if test x"$enablestring" = xdisable; then
9810 if test $wxUSE_COLLPANE = yes; then
9816 result=$wxUSE_COLLPANE
9819 { echo "$as_me:$LINENO: result: $result" >&5
9820 echo "${ECHO_T}$result" >&6; }
9824 defaultval=$wxUSE_ALL_FEATURES
9825 if test -z "$defaultval"; then
9826 if test x"$enablestring" = xdisable; then
9833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9834 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9835 # Check whether --enable-colourpicker was given.
9836 if test "${enable_colourpicker+set}" = set; then
9837 enableval=$enable_colourpicker;
9838 if test "$enableval" = yes; then
9839 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
9841 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
9846 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
9851 eval "$wx_cv_use_colourpicker"
9853 if test x"$enablestring" = xdisable; then
9854 if test $wxUSE_COLOURPICKERCTRL = yes; then
9860 result=$wxUSE_COLOURPICKERCTRL
9863 { echo "$as_me:$LINENO: result
: $result" >&5
9864 echo "${ECHO_T}$result" >&6; }
9868 defaultval=$wxUSE_ALL_FEATURES
9869 if test -z "$defaultval"; then
9870 if test x"$enablestring" = xdisable; then
9877 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
9878 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
9879 # Check whether --enable-combobox was given.
9880 if test "${enable_combobox+set}" = set; then
9881 enableval=$enable_combobox;
9882 if test "$enableval" = yes; then
9883 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
9885 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
9890 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
9895 eval "$wx_cv_use_combobox"
9897 if test x
"$enablestring" = xdisable
; then
9898 if test $wxUSE_COMBOBOX = yes; then
9904 result
=$wxUSE_COMBOBOX
9907 { echo "$as_me:$LINENO: result: $result" >&5
9908 echo "${ECHO_T}$result" >&6; }
9912 defaultval
=$wxUSE_ALL_FEATURES
9913 if test -z "$defaultval"; then
9914 if test x
"$enablestring" = xdisable
; then
9921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9922 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9923 # Check whether --enable-comboctrl was given.
9924 if test "${enable_comboctrl+set}" = set; then
9925 enableval
=$enable_comboctrl;
9926 if test "$enableval" = yes; then
9927 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
9929 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
9934 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
9939 eval "$wx_cv_use_comboctrl"
9941 if test x"$enablestring" = xdisable; then
9942 if test $wxUSE_COMBOCTRL = yes; then
9948 result=$wxUSE_COMBOCTRL
9951 { echo "$as_me:$LINENO: result: $result" >&5
9952 echo "${ECHO_T}$result" >&6; }
9956 defaultval=$wxUSE_ALL_FEATURES
9957 if test -z "$defaultval"; then
9958 if test x"$enablestring" = xdisable; then
9965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9966 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9967 # Check whether --enable-datepick was given.
9968 if test "${enable_datepick+set}" = set; then
9969 enableval=$enable_datepick;
9970 if test "$enableval" = yes; then
9971 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
9973 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
9978 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
9983 eval "$wx_cv_use_datepick"
9985 if test x"$enablestring" = xdisable; then
9986 if test $wxUSE_DATEPICKCTRL = yes; then
9992 result=$wxUSE_DATEPICKCTRL
9995 { echo "$as_me:$LINENO: result
: $result" >&5
9996 echo "${ECHO_T}$result" >&6; }
10000 defaultval=$wxUSE_ALL_FEATURES
10001 if test -z "$defaultval"; then
10002 if test x"$enablestring" = xdisable; then
10009 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirpicker" >&5
10010 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10011 # Check whether --enable-dirpicker was given.
10012 if test "${enable_dirpicker+set}" = set; then
10013 enableval=$enable_dirpicker;
10014 if test "$enableval" = yes; then
10015 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10017 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10022 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10027 eval "$wx_cv_use_dirpicker"
10029 if test x
"$enablestring" = xdisable
; then
10030 if test $wxUSE_DIRPICKERCTRL = yes; then
10036 result
=$wxUSE_DIRPICKERCTRL
10039 { echo "$as_me:$LINENO: result: $result" >&5
10040 echo "${ECHO_T}$result" >&6; }
10044 defaultval
=$wxUSE_ALL_FEATURES
10045 if test -z "$defaultval"; then
10046 if test x
"$enablestring" = xdisable
; then
10053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10054 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10055 # Check whether --enable-display was given.
10056 if test "${enable_display+set}" = set; then
10057 enableval
=$enable_display;
10058 if test "$enableval" = yes; then
10059 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10061 wx_cv_use_display
='wxUSE_DISPLAY=no'
10066 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10071 eval "$wx_cv_use_display"
10073 if test x"$enablestring" = xdisable; then
10074 if test $wxUSE_DISPLAY = yes; then
10080 result=$wxUSE_DISPLAY
10083 { echo "$as_me:$LINENO: result: $result" >&5
10084 echo "${ECHO_T}$result" >&6; }
10088 defaultval=$wxUSE_ALL_FEATURES
10089 if test -z "$defaultval"; then
10090 if test x"$enablestring" = xdisable; then
10097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10098 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10099 # Check whether --enable-detect_sm was given.
10100 if test "${enable_detect_sm+set}" = set; then
10101 enableval=$enable_detect_sm;
10102 if test "$enableval" = yes; then
10103 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10105 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10110 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10115 eval "$wx_cv_use_detect_sm"
10117 if test x"$enablestring" = xdisable; then
10118 if test $wxUSE_DETECT_SM = yes; then
10124 result=$wxUSE_DETECT_SM
10127 { echo "$as_me:$LINENO: result
: $result" >&5
10128 echo "${ECHO_T}$result" >&6; }
10132 defaultval=$wxUSE_ALL_FEATURES
10133 if test -z "$defaultval"; then
10134 if test x"$enablestring" = xdisable; then
10141 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
10142 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
10143 # Check whether --enable-editablebox was given.
10144 if test "${enable_editablebox+set}" = set; then
10145 enableval=$enable_editablebox;
10146 if test "$enableval" = yes; then
10147 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10149 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10154 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10159 eval "$wx_cv_use_editablebox"
10161 if test x
"$enablestring" = xdisable
; then
10162 if test $wxUSE_EDITABLELISTBOX = yes; then
10168 result
=$wxUSE_EDITABLELISTBOX
10171 { echo "$as_me:$LINENO: result: $result" >&5
10172 echo "${ECHO_T}$result" >&6; }
10176 defaultval
=$wxUSE_ALL_FEATURES
10177 if test -z "$defaultval"; then
10178 if test x
"$enablestring" = xdisable
; then
10185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10186 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10187 # Check whether --enable-filepicker was given.
10188 if test "${enable_filepicker+set}" = set; then
10189 enableval
=$enable_filepicker;
10190 if test "$enableval" = yes; then
10191 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
10193 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
10198 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10203 eval "$wx_cv_use_filepicker"
10205 if test x"$enablestring" = xdisable; then
10206 if test $wxUSE_FILEPICKERCTRL = yes; then
10212 result=$wxUSE_FILEPICKERCTRL
10215 { echo "$as_me:$LINENO: result: $result" >&5
10216 echo "${ECHO_T}$result" >&6; }
10220 defaultval=$wxUSE_ALL_FEATURES
10221 if test -z "$defaultval"; then
10222 if test x"$enablestring" = xdisable; then
10229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10230 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10231 # Check whether --enable-filectrl was given.
10232 if test "${enable_filectrl+set}" = set; then
10233 enableval=$enable_filectrl;
10234 if test "$enableval" = yes; then
10235 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10237 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10242 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10247 eval "$wx_cv_use_filectrl"
10249 if test x"$enablestring" = xdisable; then
10250 if test $wxUSE_FILECTRL = yes; then
10256 result=$wxUSE_FILECTRL
10259 { echo "$as_me:$LINENO: result
: $result" >&5
10260 echo "${ECHO_T}$result" >&6; }
10264 defaultval=$wxUSE_ALL_FEATURES
10265 if test -z "$defaultval"; then
10266 if test x"$enablestring" = xdisable; then
10273 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
10274 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
10275 # Check whether --enable-fontpicker was given.
10276 if test "${enable_fontpicker+set}" = set; then
10277 enableval=$enable_fontpicker;
10278 if test "$enableval" = yes; then
10279 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10281 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10286 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10291 eval "$wx_cv_use_fontpicker"
10293 if test x
"$enablestring" = xdisable
; then
10294 if test $wxUSE_FONTPICKERCTRL = yes; then
10300 result
=$wxUSE_FONTPICKERCTRL
10303 { echo "$as_me:$LINENO: result: $result" >&5
10304 echo "${ECHO_T}$result" >&6; }
10308 defaultval
=$wxUSE_ALL_FEATURES
10309 if test -z "$defaultval"; then
10310 if test x
"$enablestring" = xdisable
; then
10317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10318 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10319 # Check whether --enable-gauge was given.
10320 if test "${enable_gauge+set}" = set; then
10321 enableval
=$enable_gauge;
10322 if test "$enableval" = yes; then
10323 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
10325 wx_cv_use_gauge
='wxUSE_GAUGE=no'
10330 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10335 eval "$wx_cv_use_gauge"
10337 if test x"$enablestring" = xdisable; then
10338 if test $wxUSE_GAUGE = yes; then
10344 result=$wxUSE_GAUGE
10347 { echo "$as_me:$LINENO: result: $result" >&5
10348 echo "${ECHO_T}$result" >&6; }
10352 defaultval=$wxUSE_ALL_FEATURES
10353 if test -z "$defaultval"; then
10354 if test x"$enablestring" = xdisable; then
10361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10362 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10363 # Check whether --enable-grid was given.
10364 if test "${enable_grid+set}" = set; then
10365 enableval=$enable_grid;
10366 if test "$enableval" = yes; then
10367 wx_cv_use_grid='wxUSE_GRID
=yes'
10369 wx_cv_use_grid='wxUSE_GRID
=no
'
10374 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10379 eval "$wx_cv_use_grid"
10381 if test x"$enablestring" = xdisable; then
10382 if test $wxUSE_GRID = yes; then
10391 { echo "$as_me:$LINENO: result
: $result" >&5
10392 echo "${ECHO_T}$result" >&6; }
10396 defaultval=$wxUSE_ALL_FEATURES
10397 if test -z "$defaultval"; then
10398 if test x"$enablestring" = xdisable; then
10405 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
10406 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10407 # Check whether --enable-dataviewctrl was given.
10408 if test "${enable_dataviewctrl+set}" = set; then
10409 enableval=$enable_dataviewctrl;
10410 if test "$enableval" = yes; then
10411 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10413 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10418 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10423 eval "$wx_cv_use_dataviewctrl"
10425 if test x
"$enablestring" = xdisable
; then
10426 if test $wxUSE_DATAVIEWCTRL = yes; then
10432 result
=$wxUSE_DATAVIEWCTRL
10435 { echo "$as_me:$LINENO: result: $result" >&5
10436 echo "${ECHO_T}$result" >&6; }
10440 defaultval
=$wxUSE_ALL_FEATURES
10441 if test -z "$defaultval"; then
10442 if test x
"$enablestring" = xdisable
; then
10449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10450 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10451 # Check whether --enable-hyperlink was given.
10452 if test "${enable_hyperlink+set}" = set; then
10453 enableval
=$enable_hyperlink;
10454 if test "$enableval" = yes; then
10455 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
10457 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
10462 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10467 eval "$wx_cv_use_hyperlink"
10469 if test x"$enablestring" = xdisable; then
10470 if test $wxUSE_HYPERLINKCTRL = yes; then
10476 result=$wxUSE_HYPERLINKCTRL
10479 { echo "$as_me:$LINENO: result: $result" >&5
10480 echo "${ECHO_T}$result" >&6; }
10484 defaultval=$wxUSE_ALL_FEATURES
10485 if test -z "$defaultval"; then
10486 if test x"$enablestring" = xdisable; then
10493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10494 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10495 # Check whether --enable-imaglist was given.
10496 if test "${enable_imaglist+set}" = set; then
10497 enableval=$enable_imaglist;
10498 if test "$enableval" = yes; then
10499 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
10501 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
10506 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10511 eval "$wx_cv_use_imaglist"
10513 if test x"$enablestring" = xdisable; then
10514 if test $wxUSE_IMAGLIST = yes; then
10520 result=$wxUSE_IMAGLIST
10523 { echo "$as_me:$LINENO: result
: $result" >&5
10524 echo "${ECHO_T}$result" >&6; }
10528 defaultval=$wxUSE_ALL_FEATURES
10529 if test -z "$defaultval"; then
10530 if test x"$enablestring" = xdisable; then
10537 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbook" >&5
10538 echo $ECHO_N "checking
for --${enablestring:-enable}-listbook...
$ECHO_C" >&6; }
10539 # Check whether --enable-listbook was given.
10540 if test "${enable_listbook+set}" = set; then
10541 enableval=$enable_listbook;
10542 if test "$enableval" = yes; then
10543 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10545 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10550 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10555 eval "$wx_cv_use_listbook"
10557 if test x
"$enablestring" = xdisable
; then
10558 if test $wxUSE_LISTBOOK = yes; then
10564 result
=$wxUSE_LISTBOOK
10567 { echo "$as_me:$LINENO: result: $result" >&5
10568 echo "${ECHO_T}$result" >&6; }
10572 defaultval
=$wxUSE_ALL_FEATURES
10573 if test -z "$defaultval"; then
10574 if test x
"$enablestring" = xdisable
; then
10581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10582 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10583 # Check whether --enable-listbox was given.
10584 if test "${enable_listbox+set}" = set; then
10585 enableval
=$enable_listbox;
10586 if test "$enableval" = yes; then
10587 wx_cv_use_listbox
='wxUSE_LISTBOX=yes'
10589 wx_cv_use_listbox
='wxUSE_LISTBOX=no'
10594 wx_cv_use_listbox
='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10599 eval "$wx_cv_use_listbox"
10601 if test x"$enablestring" = xdisable; then
10602 if test $wxUSE_LISTBOX = yes; then
10608 result=$wxUSE_LISTBOX
10611 { echo "$as_me:$LINENO: result: $result" >&5
10612 echo "${ECHO_T}$result" >&6; }
10616 defaultval=$wxUSE_ALL_FEATURES
10617 if test -z "$defaultval"; then
10618 if test x"$enablestring" = xdisable; then
10625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10626 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10627 # Check whether --enable-listctrl was given.
10628 if test "${enable_listctrl+set}" = set; then
10629 enableval=$enable_listctrl;
10630 if test "$enableval" = yes; then
10631 wx_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
10633 wx_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
10638 wx_cv_use_listctrl='wxUSE_LISTCTRL
=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10643 eval "$wx_cv_use_listctrl"
10645 if test x"$enablestring" = xdisable; then
10646 if test $wxUSE_LISTCTRL = yes; then
10652 result=$wxUSE_LISTCTRL
10655 { echo "$as_me:$LINENO: result
: $result" >&5
10656 echo "${ECHO_T}$result" >&6; }
10660 defaultval=$wxUSE_ALL_FEATURES
10661 if test -z "$defaultval"; then
10662 if test x"$enablestring" = xdisable; then
10669 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notebook" >&5
10670 echo $ECHO_N "checking
for --${enablestring:-enable}-notebook...
$ECHO_C" >&6; }
10671 # Check whether --enable-notebook was given.
10672 if test "${enable_notebook+set}" = set; then
10673 enableval=$enable_notebook;
10674 if test "$enableval" = yes; then
10675 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10677 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10682 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10687 eval "$wx_cv_use_notebook"
10689 if test x
"$enablestring" = xdisable
; then
10690 if test $wxUSE_NOTEBOOK = yes; then
10696 result
=$wxUSE_NOTEBOOK
10699 { echo "$as_me:$LINENO: result: $result" >&5
10700 echo "${ECHO_T}$result" >&6; }
10704 defaultval
=$wxUSE_ALL_FEATURES
10705 if test -z "$defaultval"; then
10706 if test x
"$enablestring" = xdisable
; then
10713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10714 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10715 # Check whether --enable-notifmsg was given.
10716 if test "${enable_notifmsg+set}" = set; then
10717 enableval
=$enable_notifmsg;
10718 if test "$enableval" = yes; then
10719 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=yes'
10721 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=no'
10726 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10731 eval "$wx_cv_use_notifmsg"
10733 if test x"$enablestring" = xdisable; then
10734 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10740 result=$wxUSE_NOTIFICATION_MESSAGE
10743 { echo "$as_me:$LINENO: result: $result" >&5
10744 echo "${ECHO_T}$result" >&6; }
10748 defaultval=$wxUSE_ALL_FEATURES
10749 if test -z "$defaultval"; then
10750 if test x"$enablestring" = xdisable; then
10757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10758 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10759 # Check whether --enable-odcombobox was given.
10760 if test "${enable_odcombobox+set}" = set; then
10761 enableval=$enable_odcombobox;
10762 if test "$enableval" = yes; then
10763 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
10765 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
10770 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10775 eval "$wx_cv_use_odcombobox"
10777 if test x"$enablestring" = xdisable; then
10778 if test $wxUSE_ODCOMBOBOX = yes; then
10784 result=$wxUSE_ODCOMBOBOX
10787 { echo "$as_me:$LINENO: result
: $result" >&5
10788 echo "${ECHO_T}$result" >&6; }
10792 defaultval=$wxUSE_ALL_FEATURES
10793 if test -z "$defaultval"; then
10794 if test x"$enablestring" = xdisable; then
10801 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobox" >&5
10802 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6; }
10803 # Check whether --enable-radiobox was given.
10804 if test "${enable_radiobox+set}" = set; then
10805 enableval=$enable_radiobox;
10806 if test "$enableval" = yes; then
10807 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10809 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
10814 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
10819 eval "$wx_cv_use_radiobox"
10821 if test x
"$enablestring" = xdisable
; then
10822 if test $wxUSE_RADIOBOX = yes; then
10828 result
=$wxUSE_RADIOBOX
10831 { echo "$as_me:$LINENO: result: $result" >&5
10832 echo "${ECHO_T}$result" >&6; }
10836 defaultval
=$wxUSE_ALL_FEATURES
10837 if test -z "$defaultval"; then
10838 if test x
"$enablestring" = xdisable
; then
10845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10846 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10847 # Check whether --enable-radiobtn was given.
10848 if test "${enable_radiobtn+set}" = set; then
10849 enableval
=$enable_radiobtn;
10850 if test "$enableval" = yes; then
10851 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
10853 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
10858 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
10863 eval "$wx_cv_use_radiobtn"
10865 if test x"$enablestring" = xdisable; then
10866 if test $wxUSE_RADIOBTN = yes; then
10872 result=$wxUSE_RADIOBTN
10875 { echo "$as_me:$LINENO: result: $result" >&5
10876 echo "${ECHO_T}$result" >&6; }
10880 defaultval=$wxUSE_ALL_FEATURES
10881 if test -z "$defaultval"; then
10882 if test x"$enablestring" = xdisable; then
10889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10890 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10891 # Check whether --enable-sash was given.
10892 if test "${enable_sash+set}" = set; then
10893 enableval=$enable_sash;
10894 if test "$enableval" = yes; then
10895 wx_cv_use_sash='wxUSE_SASH
=yes'
10897 wx_cv_use_sash='wxUSE_SASH
=no
'
10902 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
10907 eval "$wx_cv_use_sash"
10909 if test x"$enablestring" = xdisable; then
10910 if test $wxUSE_SASH = yes; then
10919 { echo "$as_me:$LINENO: result
: $result" >&5
10920 echo "${ECHO_T}$result" >&6; }
10924 defaultval=$wxUSE_ALL_FEATURES
10925 if test -z "$defaultval"; then
10926 if test x"$enablestring" = xdisable; then
10933 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
10934 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6; }
10935 # Check whether --enable-scrollbar was given.
10936 if test "${enable_scrollbar+set}" = set; then
10937 enableval=$enable_scrollbar;
10938 if test "$enableval" = yes; then
10939 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10941 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10946 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
10951 eval "$wx_cv_use_scrollbar"
10953 if test x
"$enablestring" = xdisable
; then
10954 if test $wxUSE_SCROLLBAR = yes; then
10960 result
=$wxUSE_SCROLLBAR
10963 { echo "$as_me:$LINENO: result: $result" >&5
10964 echo "${ECHO_T}$result" >&6; }
10968 defaultval
=$wxUSE_ALL_FEATURES
10969 if test -z "$defaultval"; then
10970 if test x
"$enablestring" = xdisable
; then
10977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10978 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10979 # Check whether --enable-searchctrl was given.
10980 if test "${enable_searchctrl+set}" = set; then
10981 enableval
=$enable_searchctrl;
10982 if test "$enableval" = yes; then
10983 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
10985 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
10990 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
10995 eval "$wx_cv_use_searchctrl"
10997 if test x"$enablestring" = xdisable; then
10998 if test $wxUSE_SEARCHCTRL = yes; then
11004 result=$wxUSE_SEARCHCTRL
11007 { echo "$as_me:$LINENO: result: $result" >&5
11008 echo "${ECHO_T}$result" >&6; }
11012 defaultval=$wxUSE_ALL_FEATURES
11013 if test -z "$defaultval"; then
11014 if test x"$enablestring" = xdisable; then
11021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11022 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11023 # Check whether --enable-slider was given.
11024 if test "${enable_slider+set}" = set; then
11025 enableval=$enable_slider;
11026 if test "$enableval" = yes; then
11027 wx_cv_use_slider='wxUSE_SLIDER
=yes'
11029 wx_cv_use_slider='wxUSE_SLIDER
=no
'
11034 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11039 eval "$wx_cv_use_slider"
11041 if test x"$enablestring" = xdisable; then
11042 if test $wxUSE_SLIDER = yes; then
11048 result=$wxUSE_SLIDER
11051 { echo "$as_me:$LINENO: result
: $result" >&5
11052 echo "${ECHO_T}$result" >&6; }
11056 defaultval=$wxUSE_ALL_FEATURES
11057 if test -z "$defaultval"; then
11058 if test x"$enablestring" = xdisable; then
11065 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
11066 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6; }
11067 # Check whether --enable-spinbtn was given.
11068 if test "${enable_spinbtn+set}" = set; then
11069 enableval=$enable_spinbtn;
11070 if test "$enableval" = yes; then
11071 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11073 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11078 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11083 eval "$wx_cv_use_spinbtn"
11085 if test x
"$enablestring" = xdisable
; then
11086 if test $wxUSE_SPINBTN = yes; then
11092 result
=$wxUSE_SPINBTN
11095 { echo "$as_me:$LINENO: result: $result" >&5
11096 echo "${ECHO_T}$result" >&6; }
11100 defaultval
=$wxUSE_ALL_FEATURES
11101 if test -z "$defaultval"; then
11102 if test x
"$enablestring" = xdisable
; then
11109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11110 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11111 # Check whether --enable-spinctrl was given.
11112 if test "${enable_spinctrl+set}" = set; then
11113 enableval
=$enable_spinctrl;
11114 if test "$enableval" = yes; then
11115 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
11117 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
11122 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11127 eval "$wx_cv_use_spinctrl"
11129 if test x"$enablestring" = xdisable; then
11130 if test $wxUSE_SPINCTRL = yes; then
11136 result=$wxUSE_SPINCTRL
11139 { echo "$as_me:$LINENO: result: $result" >&5
11140 echo "${ECHO_T}$result" >&6; }
11144 defaultval=$wxUSE_ALL_FEATURES
11145 if test -z "$defaultval"; then
11146 if test x"$enablestring" = xdisable; then
11153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11154 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11155 # Check whether --enable-splitter was given.
11156 if test "${enable_splitter+set}" = set; then
11157 enableval=$enable_splitter;
11158 if test "$enableval" = yes; then
11159 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
11161 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
11166 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11171 eval "$wx_cv_use_splitter"
11173 if test x"$enablestring" = xdisable; then
11174 if test $wxUSE_SPLITTER = yes; then
11180 result=$wxUSE_SPLITTER
11183 { echo "$as_me:$LINENO: result
: $result" >&5
11184 echo "${ECHO_T}$result" >&6; }
11188 defaultval=$wxUSE_ALL_FEATURES
11189 if test -z "$defaultval"; then
11190 if test x"$enablestring" = xdisable; then
11197 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
11198 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6; }
11199 # Check whether --enable-statbmp was given.
11200 if test "${enable_statbmp+set}" = set; then
11201 enableval=$enable_statbmp;
11202 if test "$enableval" = yes; then
11203 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11205 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11210 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11215 eval "$wx_cv_use_statbmp"
11217 if test x
"$enablestring" = xdisable
; then
11218 if test $wxUSE_STATBMP = yes; then
11224 result
=$wxUSE_STATBMP
11227 { echo "$as_me:$LINENO: result: $result" >&5
11228 echo "${ECHO_T}$result" >&6; }
11232 defaultval
=$wxUSE_ALL_FEATURES
11233 if test -z "$defaultval"; then
11234 if test x
"$enablestring" = xdisable
; then
11241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11242 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11243 # Check whether --enable-statbox was given.
11244 if test "${enable_statbox+set}" = set; then
11245 enableval
=$enable_statbox;
11246 if test "$enableval" = yes; then
11247 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
11249 wx_cv_use_statbox
='wxUSE_STATBOX=no'
11254 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11259 eval "$wx_cv_use_statbox"
11261 if test x"$enablestring" = xdisable; then
11262 if test $wxUSE_STATBOX = yes; then
11268 result=$wxUSE_STATBOX
11271 { echo "$as_me:$LINENO: result: $result" >&5
11272 echo "${ECHO_T}$result" >&6; }
11276 defaultval=$wxUSE_ALL_FEATURES
11277 if test -z "$defaultval"; then
11278 if test x"$enablestring" = xdisable; then
11285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11286 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11287 # Check whether --enable-statline was given.
11288 if test "${enable_statline+set}" = set; then
11289 enableval=$enable_statline;
11290 if test "$enableval" = yes; then
11291 wx_cv_use_statline='wxUSE_STATLINE
=yes'
11293 wx_cv_use_statline='wxUSE_STATLINE
=no
'
11298 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11303 eval "$wx_cv_use_statline"
11305 if test x"$enablestring" = xdisable; then
11306 if test $wxUSE_STATLINE = yes; then
11312 result=$wxUSE_STATLINE
11315 { echo "$as_me:$LINENO: result
: $result" >&5
11316 echo "${ECHO_T}$result" >&6; }
11320 defaultval=$wxUSE_ALL_FEATURES
11321 if test -z "$defaultval"; then
11322 if test x"$enablestring" = xdisable; then
11329 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
11330 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6; }
11331 # Check whether --enable-stattext was given.
11332 if test "${enable_stattext+set}" = set; then
11333 enableval=$enable_stattext;
11334 if test "$enableval" = yes; then
11335 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11337 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11342 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11347 eval "$wx_cv_use_stattext"
11349 if test x
"$enablestring" = xdisable
; then
11350 if test $wxUSE_STATTEXT = yes; then
11356 result
=$wxUSE_STATTEXT
11359 { echo "$as_me:$LINENO: result: $result" >&5
11360 echo "${ECHO_T}$result" >&6; }
11364 defaultval
=$wxUSE_ALL_FEATURES
11365 if test -z "$defaultval"; then
11366 if test x
"$enablestring" = xdisable
; then
11373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11374 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11375 # Check whether --enable-statusbar was given.
11376 if test "${enable_statusbar+set}" = set; then
11377 enableval
=$enable_statusbar;
11378 if test "$enableval" = yes; then
11379 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
11381 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
11386 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11391 eval "$wx_cv_use_statusbar"
11393 if test x"$enablestring" = xdisable; then
11394 if test $wxUSE_STATUSBAR = yes; then
11400 result=$wxUSE_STATUSBAR
11403 { echo "$as_me:$LINENO: result: $result" >&5
11404 echo "${ECHO_T}$result" >&6; }
11408 defaultval=$wxUSE_ALL_FEATURES
11409 if test -z "$defaultval"; then
11410 if test x"$enablestring" = xdisable; then
11417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11418 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11419 # Check whether --enable-tabdialog was given.
11420 if test "${enable_tabdialog+set}" = set; then
11421 enableval=$enable_tabdialog;
11422 if test "$enableval" = yes; then
11423 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=yes'
11425 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=no
'
11430 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11435 eval "$wx_cv_use_tabdialog"
11437 if test x"$enablestring" = xdisable; then
11438 if test $wxUSE_TAB_DIALOG = yes; then
11444 result=$wxUSE_TAB_DIALOG
11447 { echo "$as_me:$LINENO: result
: $result" >&5
11448 echo "${ECHO_T}$result" >&6; }
11452 defaultval=$wxUSE_ALL_FEATURES
11453 if test -z "$defaultval"; then
11454 if test x"$enablestring" = xdisable; then
11461 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
11462 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
11463 # Check whether --enable-taskbaricon was given.
11464 if test "${enable_taskbaricon+set}" = set; then
11465 enableval=$enable_taskbaricon;
11466 if test "$enableval" = yes; then
11467 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11469 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11474 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11479 eval "$wx_cv_use_taskbaricon"
11481 if test x
"$enablestring" = xdisable
; then
11482 if test $wxUSE_TASKBARICON = yes; then
11488 result
=$wxUSE_TASKBARICON
11491 { echo "$as_me:$LINENO: result: $result" >&5
11492 echo "${ECHO_T}$result" >&6; }
11496 defaultval
=$wxUSE_ALL_FEATURES
11497 if test -z "$defaultval"; then
11498 if test x
"$enablestring" = xdisable
; then
11505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11506 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11507 # Check whether --enable-textctrl was given.
11508 if test "${enable_textctrl+set}" = set; then
11509 enableval
=$enable_textctrl;
11510 if test "$enableval" = yes; then
11511 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
11513 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
11518 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11523 eval "$wx_cv_use_textctrl"
11525 if test x"$enablestring" = xdisable; then
11526 if test $wxUSE_TEXTCTRL = yes; then
11532 result=$wxUSE_TEXTCTRL
11535 { echo "$as_me:$LINENO: result: $result" >&5
11536 echo "${ECHO_T}$result" >&6; }
11540 defaultval=$wxUSE_ALL_FEATURES
11541 if test -z "$defaultval"; then
11542 if test x"$enablestring" = xdisable; then
11549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11550 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11551 # Check whether --enable-togglebtn was given.
11552 if test "${enable_togglebtn+set}" = set; then
11553 enableval=$enable_togglebtn;
11554 if test "$enableval" = yes; then
11555 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
11557 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
11562 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11567 eval "$wx_cv_use_togglebtn"
11569 if test x"$enablestring" = xdisable; then
11570 if test $wxUSE_TOGGLEBTN = yes; then
11576 result=$wxUSE_TOGGLEBTN
11579 { echo "$as_me:$LINENO: result
: $result" >&5
11580 echo "${ECHO_T}$result" >&6; }
11584 defaultval=$wxUSE_ALL_FEATURES
11585 if test -z "$defaultval"; then
11586 if test x"$enablestring" = xdisable; then
11593 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbar" >&5
11594 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbar...
$ECHO_C" >&6; }
11595 # Check whether --enable-toolbar was given.
11596 if test "${enable_toolbar+set}" = set; then
11597 enableval=$enable_toolbar;
11598 if test "$enableval" = yes; then
11599 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11601 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11606 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11611 eval "$wx_cv_use_toolbar"
11613 if test x
"$enablestring" = xdisable
; then
11614 if test $wxUSE_TOOLBAR = yes; then
11620 result
=$wxUSE_TOOLBAR
11623 { echo "$as_me:$LINENO: result: $result" >&5
11624 echo "${ECHO_T}$result" >&6; }
11628 defaultval
=$wxUSE_ALL_FEATURES
11629 if test -z "$defaultval"; then
11630 if test x
"$enablestring" = xdisable
; then
11637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11638 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11639 # Check whether --enable-tbarnative was given.
11640 if test "${enable_tbarnative+set}" = set; then
11641 enableval
=$enable_tbarnative;
11642 if test "$enableval" = yes; then
11643 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
11645 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
11650 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11655 eval "$wx_cv_use_tbarnative"
11657 if test x"$enablestring" = xdisable; then
11658 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11664 result=$wxUSE_TOOLBAR_NATIVE
11667 { echo "$as_me:$LINENO: result: $result" >&5
11668 echo "${ECHO_T}$result" >&6; }
11672 defaultval=$wxUSE_ALL_FEATURES
11673 if test -z "$defaultval"; then
11674 if test x"$enablestring" = xdisable; then
11681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11682 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11683 # Check whether --enable-treebook was given.
11684 if test "${enable_treebook+set}" = set; then
11685 enableval=$enable_treebook;
11686 if test "$enableval" = yes; then
11687 wx_cv_use_treebook='wxUSE_TREEBOOK
=yes'
11689 wx_cv_use_treebook='wxUSE_TREEBOOK
=no
'
11694 wx_cv_use_treebook='wxUSE_TREEBOOK
=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11699 eval "$wx_cv_use_treebook"
11701 if test x"$enablestring" = xdisable; then
11702 if test $wxUSE_TREEBOOK = yes; then
11708 result=$wxUSE_TREEBOOK
11711 { echo "$as_me:$LINENO: result
: $result" >&5
11712 echo "${ECHO_T}$result" >&6; }
11716 defaultval=$wxUSE_ALL_FEATURES
11717 if test -z "$defaultval"; then
11718 if test x"$enablestring" = xdisable; then
11725 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
11726 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
11727 # Check whether --enable-toolbook was given.
11728 if test "${enable_toolbook+set}" = set; then
11729 enableval=$enable_toolbook;
11730 if test "$enableval" = yes; then
11731 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11733 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11738 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11743 eval "$wx_cv_use_toolbook"
11745 if test x
"$enablestring" = xdisable
; then
11746 if test $wxUSE_TOOLBOOK = yes; then
11752 result
=$wxUSE_TOOLBOOK
11755 { echo "$as_me:$LINENO: result: $result" >&5
11756 echo "${ECHO_T}$result" >&6; }
11760 defaultval
=$wxUSE_ALL_FEATURES
11761 if test -z "$defaultval"; then
11762 if test x
"$enablestring" = xdisable
; then
11769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11770 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11771 # Check whether --enable-treectrl was given.
11772 if test "${enable_treectrl+set}" = set; then
11773 enableval
=$enable_treectrl;
11774 if test "$enableval" = yes; then
11775 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
11777 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
11782 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11787 eval "$wx_cv_use_treectrl"
11789 if test x"$enablestring" = xdisable; then
11790 if test $wxUSE_TREECTRL = yes; then
11796 result=$wxUSE_TREECTRL
11799 { echo "$as_me:$LINENO: result: $result" >&5
11800 echo "${ECHO_T}$result" >&6; }
11804 defaultval=$wxUSE_ALL_FEATURES
11805 if test -z "$defaultval"; then
11806 if test x"$enablestring" = xdisable; then
11813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11814 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11815 # Check whether --enable-tipwindow was given.
11816 if test "${enable_tipwindow+set}" = set; then
11817 enableval=$enable_tipwindow;
11818 if test "$enableval" = yes; then
11819 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
11821 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
11826 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11831 eval "$wx_cv_use_tipwindow"
11833 if test x"$enablestring" = xdisable; then
11834 if test $wxUSE_TIPWINDOW = yes; then
11840 result=$wxUSE_TIPWINDOW
11843 { echo "$as_me:$LINENO: result
: $result" >&5
11844 echo "${ECHO_T}$result" >&6; }
11848 defaultval=$wxUSE_ALL_FEATURES
11849 if test -z "$defaultval"; then
11850 if test x"$enablestring" = xdisable; then
11857 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-popupwin" >&5
11858 echo $ECHO_N "checking
for --${enablestring:-enable}-popupwin...
$ECHO_C" >&6; }
11859 # Check whether --enable-popupwin was given.
11860 if test "${enable_popupwin+set}" = set; then
11861 enableval=$enable_popupwin;
11862 if test "$enableval" = yes; then
11863 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11865 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11870 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11875 eval "$wx_cv_use_popupwin"
11877 if test x
"$enablestring" = xdisable
; then
11878 if test $wxUSE_POPUPWIN = yes; then
11884 result
=$wxUSE_POPUPWIN
11887 { echo "$as_me:$LINENO: result: $result" >&5
11888 echo "${ECHO_T}$result" >&6; }
11894 defaultval
=$wxUSE_ALL_FEATURES
11895 if test -z "$defaultval"; then
11896 if test x
"$enablestring" = xdisable
; then
11903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11904 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11905 # Check whether --enable-commondlg was given.
11906 if test "${enable_commondlg+set}" = set; then
11907 enableval
=$enable_commondlg;
11908 if test "$enableval" = yes; then
11909 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
11911 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
11916 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
11921 eval "$wx_cv_use_commondlg"
11923 if test x"$enablestring" = xdisable; then
11924 if test $wxUSE_COMMONDLGS = yes; then
11930 result=$wxUSE_COMMONDLGS
11933 { echo "$as_me:$LINENO: result: $result" >&5
11934 echo "${ECHO_T}$result" >&6; }
11938 defaultval=$wxUSE_ALL_FEATURES
11939 if test -z "$defaultval"; then
11940 if test x"$enablestring" = xdisable; then
11947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11948 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11949 # Check whether --enable-aboutdlg was given.
11950 if test "${enable_aboutdlg+set}" = set; then
11951 enableval=$enable_aboutdlg;
11952 if test "$enableval" = yes; then
11953 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
11955 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
11960 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
11965 eval "$wx_cv_use_aboutdlg"
11967 if test x"$enablestring" = xdisable; then
11968 if test $wxUSE_ABOUTDLG = yes; then
11974 result=$wxUSE_ABOUTDLG
11977 { echo "$as_me:$LINENO: result
: $result" >&5
11978 echo "${ECHO_T}$result" >&6; }
11982 defaultval=$wxUSE_ALL_FEATURES
11983 if test -z "$defaultval"; then
11984 if test x"$enablestring" = xdisable; then
11991 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicedlg" >&5
11992 echo $ECHO_N "checking
for --${enablestring:-enable}-choicedlg...
$ECHO_C" >&6; }
11993 # Check whether --enable-choicedlg was given.
11994 if test "${enable_choicedlg+set}" = set; then
11995 enableval=$enable_choicedlg;
11996 if test "$enableval" = yes; then
11997 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11999 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12004 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12009 eval "$wx_cv_use_choicedlg"
12011 if test x
"$enablestring" = xdisable
; then
12012 if test $wxUSE_CHOICEDLG = yes; then
12018 result
=$wxUSE_CHOICEDLG
12021 { echo "$as_me:$LINENO: result: $result" >&5
12022 echo "${ECHO_T}$result" >&6; }
12026 defaultval
=$wxUSE_ALL_FEATURES
12027 if test -z "$defaultval"; then
12028 if test x
"$enablestring" = xdisable
; then
12035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12036 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12037 # Check whether --enable-coldlg was given.
12038 if test "${enable_coldlg+set}" = set; then
12039 enableval
=$enable_coldlg;
12040 if test "$enableval" = yes; then
12041 wx_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
12043 wx_cv_use_coldlg
='wxUSE_COLOURDLG=no'
12048 wx_cv_use_coldlg
='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12053 eval "$wx_cv_use_coldlg"
12055 if test x"$enablestring" = xdisable; then
12056 if test $wxUSE_COLOURDLG = yes; then
12062 result=$wxUSE_COLOURDLG
12065 { echo "$as_me:$LINENO: result: $result" >&5
12066 echo "${ECHO_T}$result" >&6; }
12070 defaultval=$wxUSE_ALL_FEATURES
12071 if test -z "$defaultval"; then
12072 if test x"$enablestring" = xdisable; then
12079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12080 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12081 # Check whether --enable-filedlg was given.
12082 if test "${enable_filedlg+set}" = set; then
12083 enableval=$enable_filedlg;
12084 if test "$enableval" = yes; then
12085 wx_cv_use_filedlg='wxUSE_FILEDLG
=yes'
12087 wx_cv_use_filedlg='wxUSE_FILEDLG
=no
'
12092 wx_cv_use_filedlg='wxUSE_FILEDLG
=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12097 eval "$wx_cv_use_filedlg"
12099 if test x"$enablestring" = xdisable; then
12100 if test $wxUSE_FILEDLG = yes; then
12106 result=$wxUSE_FILEDLG
12109 { echo "$as_me:$LINENO: result
: $result" >&5
12110 echo "${ECHO_T}$result" >&6; }
12114 defaultval=$wxUSE_ALL_FEATURES
12115 if test -z "$defaultval"; then
12116 if test x"$enablestring" = xdisable; then
12123 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-finddlg" >&5
12124 echo $ECHO_N "checking
for --${enablestring:-enable}-finddlg...
$ECHO_C" >&6; }
12125 # Check whether --enable-finddlg was given.
12126 if test "${enable_finddlg+set}" = set; then
12127 enableval=$enable_finddlg;
12128 if test "$enableval" = yes; then
12129 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12131 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12136 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12141 eval "$wx_cv_use_finddlg"
12143 if test x
"$enablestring" = xdisable
; then
12144 if test $wxUSE_FINDREPLDLG = yes; then
12150 result
=$wxUSE_FINDREPLDLG
12153 { echo "$as_me:$LINENO: result: $result" >&5
12154 echo "${ECHO_T}$result" >&6; }
12158 defaultval
=$wxUSE_ALL_FEATURES
12159 if test -z "$defaultval"; then
12160 if test x
"$enablestring" = xdisable
; then
12167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12168 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12169 # Check whether --enable-fontdlg was given.
12170 if test "${enable_fontdlg+set}" = set; then
12171 enableval
=$enable_fontdlg;
12172 if test "$enableval" = yes; then
12173 wx_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
12175 wx_cv_use_fontdlg
='wxUSE_FONTDLG=no'
12180 wx_cv_use_fontdlg
='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12185 eval "$wx_cv_use_fontdlg"
12187 if test x"$enablestring" = xdisable; then
12188 if test $wxUSE_FONTDLG = yes; then
12194 result=$wxUSE_FONTDLG
12197 { echo "$as_me:$LINENO: result: $result" >&5
12198 echo "${ECHO_T}$result" >&6; }
12202 defaultval=$wxUSE_ALL_FEATURES
12203 if test -z "$defaultval"; then
12204 if test x"$enablestring" = xdisable; then
12211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12212 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12213 # Check whether --enable-dirdlg was given.
12214 if test "${enable_dirdlg+set}" = set; then
12215 enableval=$enable_dirdlg;
12216 if test "$enableval" = yes; then
12217 wx_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
12219 wx_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
12224 wx_cv_use_dirdlg='wxUSE_DIRDLG
=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12229 eval "$wx_cv_use_dirdlg"
12231 if test x"$enablestring" = xdisable; then
12232 if test $wxUSE_DIRDLG = yes; then
12238 result=$wxUSE_DIRDLG
12241 { echo "$as_me:$LINENO: result
: $result" >&5
12242 echo "${ECHO_T}$result" >&6; }
12246 defaultval=$wxUSE_ALL_FEATURES
12247 if test -z "$defaultval"; then
12248 if test x"$enablestring" = xdisable; then
12255 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-msgdlg" >&5
12256 echo $ECHO_N "checking
for --${enablestring:-enable}-msgdlg...
$ECHO_C" >&6; }
12257 # Check whether --enable-msgdlg was given.
12258 if test "${enable_msgdlg+set}" = set; then
12259 enableval=$enable_msgdlg;
12260 if test "$enableval" = yes; then
12261 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12263 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12268 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12273 eval "$wx_cv_use_msgdlg"
12275 if test x
"$enablestring" = xdisable
; then
12276 if test $wxUSE_MSGDLG = yes; then
12282 result
=$wxUSE_MSGDLG
12285 { echo "$as_me:$LINENO: result: $result" >&5
12286 echo "${ECHO_T}$result" >&6; }
12290 defaultval
=$wxUSE_ALL_FEATURES
12291 if test -z "$defaultval"; then
12292 if test x
"$enablestring" = xdisable
; then
12299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12300 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12301 # Check whether --enable-numberdlg was given.
12302 if test "${enable_numberdlg+set}" = set; then
12303 enableval
=$enable_numberdlg;
12304 if test "$enableval" = yes; then
12305 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
12307 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
12312 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12317 eval "$wx_cv_use_numberdlg"
12319 if test x"$enablestring" = xdisable; then
12320 if test $wxUSE_NUMBERDLG = yes; then
12326 result=$wxUSE_NUMBERDLG
12329 { echo "$as_me:$LINENO: result: $result" >&5
12330 echo "${ECHO_T}$result" >&6; }
12334 defaultval=$wxUSE_ALL_FEATURES
12335 if test -z "$defaultval"; then
12336 if test x"$enablestring" = xdisable; then
12343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12344 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12345 # Check whether --enable-splash was given.
12346 if test "${enable_splash+set}" = set; then
12347 enableval=$enable_splash;
12348 if test "$enableval" = yes; then
12349 wx_cv_use_splash='wxUSE_SPLASH
=yes'
12351 wx_cv_use_splash='wxUSE_SPLASH
=no
'
12356 wx_cv_use_splash='wxUSE_SPLASH
=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12361 eval "$wx_cv_use_splash"
12363 if test x"$enablestring" = xdisable; then
12364 if test $wxUSE_SPLASH = yes; then
12370 result=$wxUSE_SPLASH
12373 { echo "$as_me:$LINENO: result
: $result" >&5
12374 echo "${ECHO_T}$result" >&6; }
12378 defaultval=$wxUSE_ALL_FEATURES
12379 if test -z "$defaultval"; then
12380 if test x"$enablestring" = xdisable; then
12387 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textdlg" >&5
12388 echo $ECHO_N "checking
for --${enablestring:-enable}-textdlg...
$ECHO_C" >&6; }
12389 # Check whether --enable-textdlg was given.
12390 if test "${enable_textdlg+set}" = set; then
12391 enableval=$enable_textdlg;
12392 if test "$enableval" = yes; then
12393 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12395 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12400 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12405 eval "$wx_cv_use_textdlg"
12407 if test x
"$enablestring" = xdisable
; then
12408 if test $wxUSE_TEXTDLG = yes; then
12414 result
=$wxUSE_TEXTDLG
12417 { echo "$as_me:$LINENO: result: $result" >&5
12418 echo "${ECHO_T}$result" >&6; }
12422 defaultval
=$wxUSE_ALL_FEATURES
12423 if test -z "$defaultval"; then
12424 if test x
"$enablestring" = xdisable
; then
12431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12432 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12433 # Check whether --enable-tipdlg was given.
12434 if test "${enable_tipdlg+set}" = set; then
12435 enableval
=$enable_tipdlg;
12436 if test "$enableval" = yes; then
12437 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
12439 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
12444 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12449 eval "$wx_cv_use_tipdlg"
12451 if test x"$enablestring" = xdisable; then
12452 if test $wxUSE_STARTUP_TIPS = yes; then
12458 result=$wxUSE_STARTUP_TIPS
12461 { echo "$as_me:$LINENO: result: $result" >&5
12462 echo "${ECHO_T}$result" >&6; }
12466 defaultval=$wxUSE_ALL_FEATURES
12467 if test -z "$defaultval"; then
12468 if test x"$enablestring" = xdisable; then
12475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12476 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12477 # Check whether --enable-progressdlg was given.
12478 if test "${enable_progressdlg+set}" = set; then
12479 enableval=$enable_progressdlg;
12480 if test "$enableval" = yes; then
12481 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
12483 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
12488 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12493 eval "$wx_cv_use_progressdlg"
12495 if test x"$enablestring" = xdisable; then
12496 if test $wxUSE_PROGRESSDLG = yes; then
12502 result=$wxUSE_PROGRESSDLG
12505 { echo "$as_me:$LINENO: result
: $result" >&5
12506 echo "${ECHO_T}$result" >&6; }
12510 defaultval=$wxUSE_ALL_FEATURES
12511 if test -z "$defaultval"; then
12512 if test x"$enablestring" = xdisable; then
12519 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wizarddlg" >&5
12520 echo $ECHO_N "checking
for --${enablestring:-enable}-wizarddlg...
$ECHO_C" >&6; }
12521 # Check whether --enable-wizarddlg was given.
12522 if test "${enable_wizarddlg+set}" = set; then
12523 enableval=$enable_wizarddlg;
12524 if test "$enableval" = yes; then
12525 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12527 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12532 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12537 eval "$wx_cv_use_wizarddlg"
12539 if test x
"$enablestring" = xdisable
; then
12540 if test $wxUSE_WIZARDDLG = yes; then
12546 result
=$wxUSE_WIZARDDLG
12549 { echo "$as_me:$LINENO: result: $result" >&5
12550 echo "${ECHO_T}$result" >&6; }
12556 defaultval
=$wxUSE_ALL_FEATURES
12557 if test -z "$defaultval"; then
12558 if test x
"$enablestring" = xdisable
; then
12565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12566 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12567 # Check whether --enable-menus was given.
12568 if test "${enable_menus+set}" = set; then
12569 enableval
=$enable_menus;
12570 if test "$enableval" = yes; then
12571 wx_cv_use_menus
='wxUSE_MENUS=yes'
12573 wx_cv_use_menus
='wxUSE_MENUS=no'
12578 wx_cv_use_menus
='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12583 eval "$wx_cv_use_menus"
12585 if test x"$enablestring" = xdisable; then
12586 if test $wxUSE_MENUS = yes; then
12592 result=$wxUSE_MENUS
12595 { echo "$as_me:$LINENO: result: $result" >&5
12596 echo "${ECHO_T}$result" >&6; }
12600 defaultval=$wxUSE_ALL_FEATURES
12601 if test -z "$defaultval"; then
12602 if test x"$enablestring" = xdisable; then
12609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12610 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12611 # Check whether --enable-miniframe was given.
12612 if test "${enable_miniframe+set}" = set; then
12613 enableval=$enable_miniframe;
12614 if test "$enableval" = yes; then
12615 wx_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
12617 wx_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
12622 wx_cv_use_miniframe='wxUSE_MINIFRAME
=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12627 eval "$wx_cv_use_miniframe"
12629 if test x"$enablestring" = xdisable; then
12630 if test $wxUSE_MINIFRAME = yes; then
12636 result=$wxUSE_MINIFRAME
12639 { echo "$as_me:$LINENO: result
: $result" >&5
12640 echo "${ECHO_T}$result" >&6; }
12644 defaultval=$wxUSE_ALL_FEATURES
12645 if test -z "$defaultval"; then
12646 if test x"$enablestring" = xdisable; then
12653 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tooltips" >&5
12654 echo $ECHO_N "checking
for --${enablestring:-enable}-tooltips...
$ECHO_C" >&6; }
12655 # Check whether --enable-tooltips was given.
12656 if test "${enable_tooltips+set}" = set; then
12657 enableval=$enable_tooltips;
12658 if test "$enableval" = yes; then
12659 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12661 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12666 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12671 eval "$wx_cv_use_tooltips"
12673 if test x
"$enablestring" = xdisable
; then
12674 if test $wxUSE_TOOLTIPS = yes; then
12680 result
=$wxUSE_TOOLTIPS
12683 { echo "$as_me:$LINENO: result: $result" >&5
12684 echo "${ECHO_T}$result" >&6; }
12688 defaultval
=$wxUSE_ALL_FEATURES
12689 if test -z "$defaultval"; then
12690 if test x
"$enablestring" = xdisable
; then
12697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12698 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12699 # Check whether --enable-splines was given.
12700 if test "${enable_splines+set}" = set; then
12701 enableval
=$enable_splines;
12702 if test "$enableval" = yes; then
12703 wx_cv_use_splines
='wxUSE_SPLINES=yes'
12705 wx_cv_use_splines
='wxUSE_SPLINES=no'
12710 wx_cv_use_splines
='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12715 eval "$wx_cv_use_splines"
12717 if test x"$enablestring" = xdisable; then
12718 if test $wxUSE_SPLINES = yes; then
12724 result=$wxUSE_SPLINES
12727 { echo "$as_me:$LINENO: result: $result" >&5
12728 echo "${ECHO_T}$result" >&6; }
12732 defaultval=$wxUSE_ALL_FEATURES
12733 if test -z "$defaultval"; then
12734 if test x"$enablestring" = xdisable; then
12741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12742 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12743 # Check whether --enable-mousewheel was given.
12744 if test "${enable_mousewheel+set}" = set; then
12745 enableval=$enable_mousewheel;
12746 if test "$enableval" = yes; then
12747 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
12749 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
12754 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12759 eval "$wx_cv_use_mousewheel"
12761 if test x"$enablestring" = xdisable; then
12762 if test $wxUSE_MOUSEWHEEL = yes; then
12768 result=$wxUSE_MOUSEWHEEL
12771 { echo "$as_me:$LINENO: result
: $result" >&5
12772 echo "${ECHO_T}$result" >&6; }
12776 defaultval=$wxUSE_ALL_FEATURES
12777 if test -z "$defaultval"; then
12778 if test x"$enablestring" = xdisable; then
12785 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-validators" >&5
12786 echo $ECHO_N "checking
for --${enablestring:-enable}-validators...
$ECHO_C" >&6; }
12787 # Check whether --enable-validators was given.
12788 if test "${enable_validators+set}" = set; then
12789 enableval=$enable_validators;
12790 if test "$enableval" = yes; then
12791 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12793 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12798 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12803 eval "$wx_cv_use_validators"
12805 if test x
"$enablestring" = xdisable
; then
12806 if test $wxUSE_VALIDATORS = yes; then
12812 result
=$wxUSE_VALIDATORS
12815 { echo "$as_me:$LINENO: result: $result" >&5
12816 echo "${ECHO_T}$result" >&6; }
12820 defaultval
=$wxUSE_ALL_FEATURES
12821 if test -z "$defaultval"; then
12822 if test x
"$enablestring" = xdisable
; then
12829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12830 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12831 # Check whether --enable-busyinfo was given.
12832 if test "${enable_busyinfo+set}" = set; then
12833 enableval
=$enable_busyinfo;
12834 if test "$enableval" = yes; then
12835 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
12837 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
12842 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
12847 eval "$wx_cv_use_busyinfo"
12849 if test x"$enablestring" = xdisable; then
12850 if test $wxUSE_BUSYINFO = yes; then
12856 result=$wxUSE_BUSYINFO
12859 { echo "$as_me:$LINENO: result: $result" >&5
12860 echo "${ECHO_T}$result" >&6; }
12864 defaultval=$wxUSE_ALL_FEATURES
12865 if test -z "$defaultval"; then
12866 if test x"$enablestring" = xdisable; then
12873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12874 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12875 # Check whether --enable-joystick was given.
12876 if test "${enable_joystick+set}" = set; then
12877 enableval=$enable_joystick;
12878 if test "$enableval" = yes; then
12879 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
12881 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
12886 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
12891 eval "$wx_cv_use_joystick"
12893 if test x"$enablestring" = xdisable; then
12894 if test $wxUSE_JOYSTICK = yes; then
12900 result=$wxUSE_JOYSTICK
12903 { echo "$as_me:$LINENO: result
: $result" >&5
12904 echo "${ECHO_T}$result" >&6; }
12908 defaultval=$wxUSE_ALL_FEATURES
12909 if test -z "$defaultval"; then
12910 if test x"$enablestring" = xdisable; then
12917 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
12918 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
12919 # Check whether --enable-metafile was given.
12920 if test "${enable_metafile+set}" = set; then
12921 enableval=$enable_metafile;
12922 if test "$enableval" = yes; then
12923 wx_cv_use_metafile='wxUSE_METAFILE=yes'
12925 wx_cv_use_metafile='wxUSE_METAFILE=no'
12930 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
12935 eval "$wx_cv_use_metafile"
12937 if test x
"$enablestring" = xdisable
; then
12938 if test $wxUSE_METAFILE = yes; then
12944 result
=$wxUSE_METAFILE
12947 { echo "$as_me:$LINENO: result: $result" >&5
12948 echo "${ECHO_T}$result" >&6; }
12952 defaultval
=$wxUSE_ALL_FEATURES
12953 if test -z "$defaultval"; then
12954 if test x
"$enablestring" = xdisable
; then
12961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12962 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12963 # Check whether --enable-dragimage was given.
12964 if test "${enable_dragimage+set}" = set; then
12965 enableval
=$enable_dragimage;
12966 if test "$enableval" = yes; then
12967 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
12969 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
12974 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
12979 eval "$wx_cv_use_dragimage"
12981 if test x"$enablestring" = xdisable; then
12982 if test $wxUSE_DRAGIMAGE = yes; then
12988 result=$wxUSE_DRAGIMAGE
12991 { echo "$as_me:$LINENO: result: $result" >&5
12992 echo "${ECHO_T}$result" >&6; }
12996 defaultval=$wxUSE_ALL_FEATURES
12997 if test -z "$defaultval"; then
12998 if test x"$enablestring" = xdisable; then
13005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13006 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13007 # Check whether --enable-accessibility was given.
13008 if test "${enable_accessibility+set}" = set; then
13009 enableval=$enable_accessibility;
13010 if test "$enableval" = yes; then
13011 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
13013 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
13018 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13023 eval "$wx_cv_use_accessibility"
13025 if test x"$enablestring" = xdisable; then
13026 if test $wxUSE_ACCESSIBILITY = yes; then
13032 result=$wxUSE_ACCESSIBILITY
13035 { echo "$as_me:$LINENO: result
: $result" >&5
13036 echo "${ECHO_T}$result" >&6; }
13042 defaultval=$wxUSE_ALL_FEATURES
13043 if test -z "$defaultval"; then
13044 if test x"$enablestring" = xdisable; then
13051 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-palette" >&5
13052 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6; }
13053 # Check whether --enable-palette was given.
13054 if test "${enable_palette+set}" = set; then
13055 enableval=$enable_palette;
13056 if test "$enableval" = yes; then
13057 wx_cv_use_palette='wxUSE_PALETTE=yes'
13059 wx_cv_use_palette='wxUSE_PALETTE=no'
13064 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13069 eval "$wx_cv_use_palette"
13071 if test x
"$enablestring" = xdisable
; then
13072 if test $wxUSE_PALETTE = yes; then
13078 result
=$wxUSE_PALETTE
13081 { echo "$as_me:$LINENO: result: $result" >&5
13082 echo "${ECHO_T}$result" >&6; }
13086 defaultval
=$wxUSE_ALL_FEATURES
13087 if test -z "$defaultval"; then
13088 if test x
"$enablestring" = xdisable
; then
13095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13096 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13097 # Check whether --enable-image was given.
13098 if test "${enable_image+set}" = set; then
13099 enableval
=$enable_image;
13100 if test "$enableval" = yes; then
13101 wx_cv_use_image
='wxUSE_IMAGE=yes'
13103 wx_cv_use_image
='wxUSE_IMAGE=no'
13108 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13113 eval "$wx_cv_use_image"
13115 if test x"$enablestring" = xdisable; then
13116 if test $wxUSE_IMAGE = yes; then
13122 result=$wxUSE_IMAGE
13125 { echo "$as_me:$LINENO: result: $result" >&5
13126 echo "${ECHO_T}$result" >&6; }
13130 defaultval=$wxUSE_ALL_FEATURES
13131 if test -z "$defaultval"; then
13132 if test x"$enablestring" = xdisable; then
13139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13140 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13141 # Check whether --enable-gif was given.
13142 if test "${enable_gif+set}" = set; then
13143 enableval=$enable_gif;
13144 if test "$enableval" = yes; then
13145 wx_cv_use_gif='wxUSE_GIF
=yes'
13147 wx_cv_use_gif='wxUSE_GIF
=no
'
13152 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13157 eval "$wx_cv_use_gif"
13159 if test x"$enablestring" = xdisable; then
13160 if test $wxUSE_GIF = yes; then
13169 { echo "$as_me:$LINENO: result
: $result" >&5
13170 echo "${ECHO_T}$result" >&6; }
13174 defaultval=$wxUSE_ALL_FEATURES
13175 if test -z "$defaultval"; then
13176 if test x"$enablestring" = xdisable; then
13183 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pcx" >&5
13184 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6; }
13185 # Check whether --enable-pcx was given.
13186 if test "${enable_pcx+set}" = set; then
13187 enableval=$enable_pcx;
13188 if test "$enableval" = yes; then
13189 wx_cv_use_pcx='wxUSE_PCX=yes'
13191 wx_cv_use_pcx='wxUSE_PCX=no'
13196 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13201 eval "$wx_cv_use_pcx"
13203 if test x
"$enablestring" = xdisable
; then
13204 if test $wxUSE_PCX = yes; then
13213 { echo "$as_me:$LINENO: result: $result" >&5
13214 echo "${ECHO_T}$result" >&6; }
13218 defaultval
=$wxUSE_ALL_FEATURES
13219 if test -z "$defaultval"; then
13220 if test x
"$enablestring" = xdisable
; then
13227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13228 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13229 # Check whether --enable-tga was given.
13230 if test "${enable_tga+set}" = set; then
13231 enableval
=$enable_tga;
13232 if test "$enableval" = yes; then
13233 wx_cv_use_tga
='wxUSE_TGA=yes'
13235 wx_cv_use_tga
='wxUSE_TGA=no'
13240 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13245 eval "$wx_cv_use_tga"
13247 if test x"$enablestring" = xdisable; then
13248 if test $wxUSE_TGA = yes; then
13257 { echo "$as_me:$LINENO: result: $result" >&5
13258 echo "${ECHO_T}$result" >&6; }
13262 defaultval=$wxUSE_ALL_FEATURES
13263 if test -z "$defaultval"; then
13264 if test x"$enablestring" = xdisable; then
13271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13272 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13273 # Check whether --enable-iff was given.
13274 if test "${enable_iff+set}" = set; then
13275 enableval=$enable_iff;
13276 if test "$enableval" = yes; then
13277 wx_cv_use_iff='wxUSE_IFF
=yes'
13279 wx_cv_use_iff='wxUSE_IFF
=no
'
13284 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13289 eval "$wx_cv_use_iff"
13291 if test x"$enablestring" = xdisable; then
13292 if test $wxUSE_IFF = yes; then
13301 { echo "$as_me:$LINENO: result
: $result" >&5
13302 echo "${ECHO_T}$result" >&6; }
13306 defaultval=$wxUSE_ALL_FEATURES
13307 if test -z "$defaultval"; then
13308 if test x"$enablestring" = xdisable; then
13315 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pnm" >&5
13316 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6; }
13317 # Check whether --enable-pnm was given.
13318 if test "${enable_pnm+set}" = set; then
13319 enableval=$enable_pnm;
13320 if test "$enableval" = yes; then
13321 wx_cv_use_pnm='wxUSE_PNM=yes'
13323 wx_cv_use_pnm='wxUSE_PNM=no'
13328 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13333 eval "$wx_cv_use_pnm"
13335 if test x
"$enablestring" = xdisable
; then
13336 if test $wxUSE_PNM = yes; then
13345 { echo "$as_me:$LINENO: result: $result" >&5
13346 echo "${ECHO_T}$result" >&6; }
13350 defaultval
=$wxUSE_ALL_FEATURES
13351 if test -z "$defaultval"; then
13352 if test x
"$enablestring" = xdisable
; then
13359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13360 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13361 # Check whether --enable-xpm was given.
13362 if test "${enable_xpm+set}" = set; then
13363 enableval
=$enable_xpm;
13364 if test "$enableval" = yes; then
13365 wx_cv_use_xpm
='wxUSE_XPM=yes'
13367 wx_cv_use_xpm
='wxUSE_XPM=no'
13372 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13377 eval "$wx_cv_use_xpm"
13379 if test x"$enablestring" = xdisable; then
13380 if test $wxUSE_XPM = yes; then
13389 { echo "$as_me:$LINENO: result: $result" >&5
13390 echo "${ECHO_T}$result" >&6; }
13394 defaultval=$wxUSE_ALL_FEATURES
13395 if test -z "$defaultval"; then
13396 if test x"$enablestring" = xdisable; then
13403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13404 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13405 # Check whether --enable-ico_cur was given.
13406 if test "${enable_ico_cur+set}" = set; then
13407 enableval=$enable_ico_cur;
13408 if test "$enableval" = yes; then
13409 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
13411 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
13416 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13421 eval "$wx_cv_use_ico_cur"
13423 if test x"$enablestring" = xdisable; then
13424 if test $wxUSE_ICO_CUR = yes; then
13430 result=$wxUSE_ICO_CUR
13433 { echo "$as_me:$LINENO: result
: $result" >&5
13434 echo "${ECHO_T}$result" >&6; }
13440 defaultval=$wxUSE_ALL_FEATURES
13441 if test -z "$defaultval"; then
13442 if test x"$enablestring" = xdisable; then
13449 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dccache" >&5
13450 echo $ECHO_N "checking
for --${enablestring:-enable}-dccache...
$ECHO_C" >&6; }
13451 # Check whether --enable-dccache was given.
13452 if test "${enable_dccache+set}" = set; then
13453 enableval=$enable_dccache;
13454 if test "$enableval" = yes; then
13455 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13457 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13462 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13467 eval "$wx_cv_use_dccache"
13469 if test x
"$enablestring" = xdisable
; then
13470 if test $wxUSE_DC_CACHEING = yes; then
13476 result
=$wxUSE_DC_CACHEING
13479 { echo "$as_me:$LINENO: result: $result" >&5
13480 echo "${ECHO_T}$result" >&6; }
13484 defaultval
=$wxUSE_ALL_FEATURES
13485 if test -z "$defaultval"; then
13486 if test x
"$enablestring" = xdisable
; then
13493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13494 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13495 # Check whether --enable-ps-in-msw was given.
13496 if test "${enable_ps_in_msw+set}" = set; then
13497 enableval
=$enable_ps_in_msw;
13498 if test "$enableval" = yes; then
13499 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13501 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13506 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13511 eval "$wx_cv_use_ps_in_msw"
13513 if test x"$enablestring" = xdisable; then
13514 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13520 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13523 { echo "$as_me:$LINENO: result: $result" >&5
13524 echo "${ECHO_T}$result" >&6; }
13528 defaultval=$wxUSE_ALL_FEATURES
13529 if test -z "$defaultval"; then
13530 if test x"$enablestring" = xdisable; then
13537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13538 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13539 # Check whether --enable-ownerdrawn was given.
13540 if test "${enable_ownerdrawn+set}" = set; then
13541 enableval=$enable_ownerdrawn;
13542 if test "$enableval" = yes; then
13543 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
13545 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
13550 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13555 eval "$wx_cv_use_ownerdrawn"
13557 if test x"$enablestring" = xdisable; then
13558 if test $wxUSE_OWNER_DRAWN = yes; then
13564 result=$wxUSE_OWNER_DRAWN
13567 { echo "$as_me:$LINENO: result
: $result" >&5
13568 echo "${ECHO_T}$result" >&6; }
13572 defaultval=$wxUSE_ALL_FEATURES
13573 if test -z "$defaultval"; then
13574 if test x"$enablestring" = xdisable; then
13581 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uxtheme" >&5
13582 echo $ECHO_N "checking
for --${enablestring:-enable}-uxtheme...
$ECHO_C" >&6; }
13583 # Check whether --enable-uxtheme was given.
13584 if test "${enable_uxtheme+set}" = set; then
13585 enableval=$enable_uxtheme;
13586 if test "$enableval" = yes; then
13587 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13589 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13594 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13599 eval "$wx_cv_use_uxtheme"
13601 if test x
"$enablestring" = xdisable
; then
13602 if test $wxUSE_UXTHEME = yes; then
13608 result
=$wxUSE_UXTHEME
13611 { echo "$as_me:$LINENO: result: $result" >&5
13612 echo "${ECHO_T}$result" >&6; }
13616 defaultval
=$wxUSE_ALL_FEATURES
13617 if test -z "$defaultval"; then
13618 if test x
"$enablestring" = xdisable
; then
13625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13626 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13627 # Check whether --enable-wxdib was given.
13628 if test "${enable_wxdib+set}" = set; then
13629 enableval
=$enable_wxdib;
13630 if test "$enableval" = yes; then
13631 wx_cv_use_wxdib
='wxUSE_DIB=yes'
13633 wx_cv_use_wxdib
='wxUSE_DIB=no'
13638 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13643 eval "$wx_cv_use_wxdib"
13645 if test x"$enablestring" = xdisable; then
13646 if test $wxUSE_DIB = yes; then
13655 { echo "$as_me:$LINENO: result: $result" >&5
13656 echo "${ECHO_T}$result" >&6; }
13662 { echo "$as_me:$LINENO: checking for toolkit" >&5
13663 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
13665 # In Wine, we need to default to MSW, not GTK or MOTIF
13666 if test "$wxUSE_WINE" = "yes"; then
13667 DEFAULT_DEFAULT_wxUSE_GTK=0
13668 DEFAULT_DEFAULT_wxUSE_MOTIF=0
13669 DEFAULT_DEFAULT_wxUSE_MSW=1
13672 CXX=${CXX:-wineg++}
13676 if test "$wxUSE_GUI" = "yes"; then
13678 if test "$USE_BEOS" = 1; then
13679 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
13680 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
13681 { (exit 1); exit 1; }; }
13684 if test "$TOOLKIT_GIVEN" = 1; then
13685 for toolkit in $ALL_TOOLKITS; do
13687 eval "value=\$${var}"
13688 if test "x$value" = "xno"; then
13690 elif test "x$value" != "x"; then
13694 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
13695 eval "wx${toolkit}_VERSION=$value"
13699 for toolkit in $ALL_TOOLKITS; do
13700 var=DEFAULT_DEFAULT_wxUSE_$toolkit
13701 eval "wxUSE_$toolkit=\$${var}"
13705 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
13706 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
13707 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
13710 *-pc-os2_emx | *-pc-os2-emx )
13711 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
13714 case "$NUM_TOOLKITS" in
13718 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
13719 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
13720 { (exit 1); exit 1; }; }
13723 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
13724 echo "$as_me: error: Please specify at most one toolkit" >&2;}
13725 { (exit 1); exit 1; }; }
13728 # to be removed when --disable-gtk2 isn't needed
13729 if test "x$wxUSE_GTK2" = "xyes"; then
13731 elif test "x$wxUSE_GTK2" = "xno"; then
13735 for toolkit
in $ALL_TOOLKITS; do
13737 eval "value=\$${var}"
13738 if test "$value" = 1; then
13739 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
13740 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
13741 echo "${ECHO_T}$toolkit_echo" >&6; }
13745 if test "x$host_alias" != "x"; then
13746 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
13747 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
13749 { echo "$as_me:$LINENO: result: base only" >&5
13750 echo "${ECHO_T}base only" >&6; }
13755 cat >confcache
<<\_ACEOF
13756 # This file is a shell script that caches the results of configure
13757 # tests run on this system so they can be shared between configure
13758 # scripts and configure runs, see configure's option --config-cache.
13759 # It is not useful on other systems. If it contains results you don't
13760 # want to keep, you may remove or edit it.
13762 # config.status only pays attention to the cache file if you give it
13763 # the --recheck option to rerun configure.
13765 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13766 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13767 # following values.
13771 # The following way of writing the cache mishandles newlines in values,
13772 # but we know of no workaround that is simple, portable, and efficient.
13773 # So, we kill variables containing newlines.
13774 # Ultrix sh set writes to stderr and can't be redirected directly,
13775 # and sets the high bit in the cache file unless we assign to the vars.
13777 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13778 eval ac_val
=\$
$ac_var
13782 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13783 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13786 _
| IFS
| as_nl
) ;; #(
13787 *) $as_unset $ac_var ;;
13793 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13794 *${as_nl}ac_space
=\
*)
13795 # `set' does not quote correctly, so add quotes (double-quote
13796 # substitution turns \\\\ into \\, and sed turns \\ into \).
13799 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13802 # `set' quotes correctly as required by POSIX, so do not add quotes.
13803 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13812 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13814 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13816 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13817 if test -w "$cache_file"; then
13818 test "x$cache_file" != "x/dev/null" &&
13819 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13820 echo "$as_me: updating cache $cache_file" >&6;}
13821 cat confcache
>$cache_file
13823 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13824 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13834 ac_cpp
='$CPP $CPPFLAGS'
13835 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13836 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13837 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13838 if test -n "$ac_tool_prefix"; then
13839 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13840 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
13841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13843 if test "${ac_cv_prog_CC+set}" = set; then
13844 echo $ECHO_N "(cached) $ECHO_C" >&6
13846 if test -n "$CC"; then
13847 ac_cv_prog_CC
="$CC" # Let the user override the test.
13849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13850 for as_dir
in $PATH
13853 test -z "$as_dir" && as_dir
=.
13854 for ac_exec_ext
in '' $ac_executable_extensions; do
13855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13856 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
13857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13867 if test -n "$CC"; then
13868 { echo "$as_me:$LINENO: result: $CC" >&5
13869 echo "${ECHO_T}$CC" >&6; }
13871 { echo "$as_me:$LINENO: result: no" >&5
13872 echo "${ECHO_T}no" >&6; }
13877 if test -z "$ac_cv_prog_CC"; then
13879 # Extract the first word of "gcc", so it can be a program name with args.
13880 set dummy gcc
; ac_word
=$2
13881 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13883 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13884 echo $ECHO_N "(cached) $ECHO_C" >&6
13886 if test -n "$ac_ct_CC"; then
13887 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13890 for as_dir
in $PATH
13893 test -z "$as_dir" && as_dir
=.
13894 for ac_exec_ext
in '' $ac_executable_extensions; do
13895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13896 ac_cv_prog_ac_ct_CC
="gcc"
13897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13906 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13907 if test -n "$ac_ct_CC"; then
13908 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13909 echo "${ECHO_T}$ac_ct_CC" >&6; }
13911 { echo "$as_me:$LINENO: result: no" >&5
13912 echo "${ECHO_T}no" >&6; }
13915 if test "x$ac_ct_CC" = x
; then
13918 case $cross_compiling:$ac_tool_warned in
13920 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13921 whose name does not start with the host triplet. If you think this
13922 configuration is useful to you, please write to autoconf@gnu.org." >&5
13923 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13924 whose name does not start with the host triplet. If you think this
13925 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13926 ac_tool_warned
=yes ;;
13931 CC
="$ac_cv_prog_CC"
13934 if test -z "$CC"; then
13935 if test -n "$ac_tool_prefix"; then
13936 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13937 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
13938 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13940 if test "${ac_cv_prog_CC+set}" = set; then
13941 echo $ECHO_N "(cached) $ECHO_C" >&6
13943 if test -n "$CC"; then
13944 ac_cv_prog_CC
="$CC" # Let the user override the test.
13946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13947 for as_dir
in $PATH
13950 test -z "$as_dir" && as_dir
=.
13951 for ac_exec_ext
in '' $ac_executable_extensions; do
13952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13953 ac_cv_prog_CC
="${ac_tool_prefix}cc"
13954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13964 if test -n "$CC"; then
13965 { echo "$as_me:$LINENO: result: $CC" >&5
13966 echo "${ECHO_T}$CC" >&6; }
13968 { echo "$as_me:$LINENO: result: no" >&5
13969 echo "${ECHO_T}no" >&6; }
13975 if test -z "$CC"; then
13976 # Extract the first word of "cc", so it can be a program name with args.
13977 set dummy cc
; ac_word
=$2
13978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13980 if test "${ac_cv_prog_CC+set}" = set; then
13981 echo $ECHO_N "(cached) $ECHO_C" >&6
13983 if test -n "$CC"; then
13984 ac_cv_prog_CC
="$CC" # Let the user override the test.
13986 ac_prog_rejected
=no
13987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13988 for as_dir
in $PATH
13991 test -z "$as_dir" && as_dir
=.
13992 for ac_exec_ext
in '' $ac_executable_extensions; do
13993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13994 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13995 ac_prog_rejected
=yes
13999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14006 if test $ac_prog_rejected = yes; then
14007 # We found a bogon in the path, so make sure we never use it.
14008 set dummy
$ac_cv_prog_CC
14010 if test $# != 0; then
14011 # We chose a different compiler from the bogus one.
14012 # However, it has the same basename, so the bogon will be chosen
14013 # first if we set CC to just the basename; use the full file name.
14015 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14021 if test -n "$CC"; then
14022 { echo "$as_me:$LINENO: result: $CC" >&5
14023 echo "${ECHO_T}$CC" >&6; }
14025 { echo "$as_me:$LINENO: result: no" >&5
14026 echo "${ECHO_T}no" >&6; }
14031 if test -z "$CC"; then
14032 if test -n "$ac_tool_prefix"; then
14033 for ac_prog
in cl.exe
14035 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14036 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14039 if test "${ac_cv_prog_CC+set}" = set; then
14040 echo $ECHO_N "(cached) $ECHO_C" >&6
14042 if test -n "$CC"; then
14043 ac_cv_prog_CC
="$CC" # Let the user override the test.
14045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14046 for as_dir
in $PATH
14049 test -z "$as_dir" && as_dir
=.
14050 for ac_exec_ext
in '' $ac_executable_extensions; do
14051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14052 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14063 if test -n "$CC"; then
14064 { echo "$as_me:$LINENO: result: $CC" >&5
14065 echo "${ECHO_T}$CC" >&6; }
14067 { echo "$as_me:$LINENO: result: no" >&5
14068 echo "${ECHO_T}no" >&6; }
14072 test -n "$CC" && break
14075 if test -z "$CC"; then
14077 for ac_prog
in cl.exe
14079 # Extract the first word of "$ac_prog", so it can be a program name with args.
14080 set dummy
$ac_prog; ac_word
=$2
14081 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14083 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14084 echo $ECHO_N "(cached) $ECHO_C" >&6
14086 if test -n "$ac_ct_CC"; then
14087 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14090 for as_dir
in $PATH
14093 test -z "$as_dir" && as_dir
=.
14094 for ac_exec_ext
in '' $ac_executable_extensions; do
14095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14096 ac_cv_prog_ac_ct_CC
="$ac_prog"
14097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14106 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14107 if test -n "$ac_ct_CC"; then
14108 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14109 echo "${ECHO_T}$ac_ct_CC" >&6; }
14111 { echo "$as_me:$LINENO: result: no" >&5
14112 echo "${ECHO_T}no" >&6; }
14116 test -n "$ac_ct_CC" && break
14119 if test "x$ac_ct_CC" = x
; then
14122 case $cross_compiling:$ac_tool_warned in
14124 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14125 whose name does not start with the host triplet. If you think this
14126 configuration is useful to you, please write to autoconf@gnu.org." >&5
14127 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14128 whose name does not start with the host triplet. If you think this
14129 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14130 ac_tool_warned
=yes ;;
14139 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14140 See \`config.log' for more details." >&5
14141 echo "$as_me: error: no acceptable C compiler found in \$PATH
14142 See \`config.log' for more details." >&2;}
14143 { (exit 1); exit 1; }; }
14145 # Provide some information about the compiler.
14146 echo "$as_me:$LINENO: checking for C compiler version" >&5
14147 ac_compiler
=`set X $ac_compile; echo $2`
14148 { (ac_try
="$ac_compiler --version >&5"
14149 case "(($ac_try" in
14150 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14151 *) ac_try_echo=$ac_try;;
14153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14154 (eval "$ac_compiler --version >&5") 2>&5
14156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14157 (exit $ac_status); }
14158 { (ac_try="$ac_compiler -v >&5"
14159 case "(($ac_try" in
14160 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14161 *) ac_try_echo
=$ac_try;;
14163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14164 (eval "$ac_compiler -v >&5") 2>&5
14166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 (exit $ac_status); }
14168 { (ac_try
="$ac_compiler -V >&5"
14169 case "(($ac_try" in
14170 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14171 *) ac_try_echo=$ac_try;;
14173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14174 (eval "$ac_compiler -V >&5") 2>&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }
14179 cat >conftest.$ac_ext <<_ACEOF
14182 cat confdefs.h >>conftest.$ac_ext
14183 cat >>conftest.$ac_ext <<_ACEOF
14184 /* end confdefs.h. */
14194 ac_clean_files_save=$ac_clean_files
14195 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14196 # Try to create an executable without -o first, disregard a.out.
14197 # It will help us diagnose broken compilers, and finding out an intuition
14199 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14200 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14201 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14203 # List of possible output files, starting from the most likely.
14204 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14205 # only as a last resort. b.out is created by i960 compilers.
14206 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14208 # The IRIX 6 linker writes into existing files which may not be
14209 # executable, retaining their permissions. Remove them first so a
14210 # subsequent execution test works.
14212 for ac_file in $ac_files
14215 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14216 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14221 if { (ac_try="$ac_link_default"
14222 case "(($ac_try" in
14223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14224 *) ac_try_echo=$ac_try;;
14226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14227 (eval "$ac_link_default") 2>&5
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); }; then
14231 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14232 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14233 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14234 # so that the user can short-circuit this test for compilers unknown to
14236 for ac_file
in $ac_files ''
14238 test -f "$ac_file" || continue
14240 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14243 # We found the default executable, but exeext='' is most
14247 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14249 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14251 # We set ac_cv_exeext here because the later test for it is not
14252 # safe: cross compilers may not add the suffix if given an `-o'
14253 # argument, so we may need to know it at that point already.
14254 # Even if this section looks crufty: it has the advantage of
14255 # actually working.
14261 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14267 { echo "$as_me:$LINENO: result: $ac_file" >&5
14268 echo "${ECHO_T}$ac_file" >&6; }
14269 if test -z "$ac_file"; then
14270 echo "$as_me: failed program was:" >&5
14271 sed 's/^/| /' conftest.
$ac_ext >&5
14273 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14274 See \`config.log' for more details." >&5
14275 echo "$as_me: error: C compiler cannot create executables
14276 See \`config.log' for more details." >&2;}
14277 { (exit 77); exit 77; }; }
14280 ac_exeext
=$ac_cv_exeext
14282 # Check that the compiler produces executables we can run. If not, either
14283 # the compiler is broken, or we cross compile.
14284 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14285 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14286 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14287 # If not cross compiling, check that we can run a simple program.
14288 if test "$cross_compiling" != yes; then
14289 if { ac_try
='./$ac_file'
14290 { (case "(($ac_try" in
14291 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14292 *) ac_try_echo=$ac_try;;
14294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14295 (eval "$ac_try") 2>&5
14297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298 (exit $ac_status); }; }; then
14301 if test "$cross_compiling" = maybe; then
14302 cross_compiling=yes
14304 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14305 If you meant to cross compile, use \`--host'.
14306 See \`config.log' for more details.
" >&5
14307 echo "$as_me: error
: cannot run C compiled programs.
14308 If you meant to cross compile
, use \
`--host'.
14309 See \`config.log
' for more details." >&2;}
14310 { (exit 1); exit 1; }; }
14314 { echo "$as_me:$LINENO: result: yes" >&5
14315 echo "${ECHO_T}yes" >&6; }
14317 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14318 ac_clean_files=$ac_clean_files_save
14319 # Check that the compiler produces executables we can run. If not, either
14320 # the compiler is broken, or we cross compile.
14321 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14322 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14323 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14324 echo "${ECHO_T}$cross_compiling" >&6; }
14326 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14327 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14328 if { (ac_try="$ac_link"
14329 case "(($ac_try" in
14330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14331 *) ac_try_echo=$ac_try;;
14333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14334 (eval "$ac_link") 2>&5
14336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14337 (exit $ac_status); }; then
14338 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14339 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14340 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14342 for ac_file
in conftest.exe conftest conftest.
*; do
14343 test -f "$ac_file" || continue
14345 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14346 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14352 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14353 See \`config.log' for more details." >&5
14354 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14355 See \`config.log' for more details." >&2;}
14356 { (exit 1); exit 1; }; }
14359 rm -f conftest
$ac_cv_exeext
14360 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14361 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14363 rm -f conftest.
$ac_ext
14364 EXEEXT
=$ac_cv_exeext
14366 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14367 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14368 if test "${ac_cv_objext+set}" = set; then
14369 echo $ECHO_N "(cached) $ECHO_C" >&6
14371 cat >conftest.
$ac_ext <<_ACEOF
14374 cat confdefs.h
>>conftest.
$ac_ext
14375 cat >>conftest.
$ac_ext <<_ACEOF
14376 /* end confdefs.h. */
14386 rm -f conftest.o conftest.obj
14387 if { (ac_try
="$ac_compile"
14388 case "(($ac_try" in
14389 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14390 *) ac_try_echo=$ac_try;;
14392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14393 (eval "$ac_compile") 2>&5
14395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14396 (exit $ac_status); }; then
14397 for ac_file in conftest.o conftest.obj conftest.*; do
14398 test -f "$ac_file" || continue;
14400 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14401 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14406 echo "$as_me: failed program was:" >&5
14407 sed 's/^/| /' conftest.$ac_ext >&5
14409 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14410 See \`config.log
' for more details." >&5
14411 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14412 See \`config.log' for more details.
" >&2;}
14413 { (exit 1); exit 1; }; }
14416 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14418 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14419 echo "${ECHO_T}$ac_cv_objext" >&6; }
14420 OBJEXT=$ac_cv_objext
14422 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14423 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14424 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14425 echo $ECHO_N "(cached
) $ECHO_C" >&6
14427 cat >conftest.$ac_ext <<_ACEOF
14430 cat confdefs.h >>conftest.$ac_ext
14431 cat >>conftest.$ac_ext <<_ACEOF
14432 /* end confdefs.h. */
14445 rm -f conftest.$ac_objext
14446 if { (ac_try="$ac_compile"
14447 case "(($ac_try" in
14448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14449 *) ac_try_echo=$ac_try;;
14451 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14452 (eval "$ac_compile") 2>conftest.er1
14454 grep -v '^ *+' conftest.er1 >conftest.err
14456 cat conftest.err >&5
14457 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14458 (exit $ac_status); } && {
14459 test -z "$ac_c_werror_flag" ||
14460 test ! -s conftest.err
14461 } && test -s conftest.$ac_objext; then
14462 ac_compiler_gnu=yes
14464 echo "$as_me: failed program was
:" >&5
14465 sed 's/^/| /' conftest.$ac_ext >&5
14470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14471 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14474 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14475 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14476 GCC=`test $ac_compiler_gnu = yes && echo yes`
14477 ac_test_CFLAGS=${CFLAGS+set}
14478 ac_save_CFLAGS=$CFLAGS
14479 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14480 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14481 if test "${ac_cv_prog_cc_g+set}" = set; then
14482 echo $ECHO_N "(cached
) $ECHO_C" >&6
14484 ac_save_c_werror_flag=$ac_c_werror_flag
14485 ac_c_werror_flag=yes
14488 cat >conftest.$ac_ext <<_ACEOF
14491 cat confdefs.h >>conftest.$ac_ext
14492 cat >>conftest.$ac_ext <<_ACEOF
14493 /* end confdefs.h. */
14503 rm -f conftest.$ac_objext
14504 if { (ac_try="$ac_compile"
14505 case "(($ac_try" in
14506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14507 *) ac_try_echo=$ac_try;;
14509 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14510 (eval "$ac_compile") 2>conftest.er1
14512 grep -v '^ *+' conftest.er1 >conftest.err
14514 cat conftest.err >&5
14515 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14516 (exit $ac_status); } && {
14517 test -z "$ac_c_werror_flag" ||
14518 test ! -s conftest.err
14519 } && test -s conftest.$ac_objext; then
14520 ac_cv_prog_cc_g=yes
14522 echo "$as_me: failed program was
:" >&5
14523 sed 's/^/| /' conftest.$ac_ext >&5
14526 cat >conftest.$ac_ext <<_ACEOF
14529 cat confdefs.h >>conftest.$ac_ext
14530 cat >>conftest.$ac_ext <<_ACEOF
14531 /* end confdefs.h. */
14541 rm -f conftest.$ac_objext
14542 if { (ac_try="$ac_compile"
14543 case "(($ac_try" in
14544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14545 *) ac_try_echo=$ac_try;;
14547 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14548 (eval "$ac_compile") 2>conftest.er1
14550 grep -v '^ *+' conftest.er1 >conftest.err
14552 cat conftest.err >&5
14553 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14554 (exit $ac_status); } && {
14555 test -z "$ac_c_werror_flag" ||
14556 test ! -s conftest.err
14557 } && test -s conftest.$ac_objext; then
14560 echo "$as_me: failed program was
:" >&5
14561 sed 's/^/| /' conftest.$ac_ext >&5
14563 ac_c_werror_flag=$ac_save_c_werror_flag
14565 cat >conftest.$ac_ext <<_ACEOF
14568 cat confdefs.h >>conftest.$ac_ext
14569 cat >>conftest.$ac_ext <<_ACEOF
14570 /* end confdefs.h. */
14580 rm -f conftest.$ac_objext
14581 if { (ac_try="$ac_compile"
14582 case "(($ac_try" in
14583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14584 *) ac_try_echo=$ac_try;;
14586 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14587 (eval "$ac_compile") 2>conftest.er1
14589 grep -v '^ *+' conftest.er1 >conftest.err
14591 cat conftest.err >&5
14592 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14593 (exit $ac_status); } && {
14594 test -z "$ac_c_werror_flag" ||
14595 test ! -s conftest.err
14596 } && test -s conftest.$ac_objext; then
14597 ac_cv_prog_cc_g=yes
14599 echo "$as_me: failed program was
:" >&5
14600 sed 's/^/| /' conftest.$ac_ext >&5
14605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14612 ac_c_werror_flag=$ac_save_c_werror_flag
14614 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14615 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14616 if test "$ac_test_CFLAGS" = set; then
14617 CFLAGS=$ac_save_CFLAGS
14618 elif test $ac_cv_prog_cc_g = yes; then
14619 if test "$GCC" = yes; then
14625 if test "$GCC" = yes; then
14631 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14632 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14633 if test "${ac_cv_prog_cc_c89+set}" = set; then
14634 echo $ECHO_N "(cached
) $ECHO_C" >&6
14636 ac_cv_prog_cc_c89=no
14638 cat >conftest.$ac_ext <<_ACEOF
14641 cat confdefs.h >>conftest.$ac_ext
14642 cat >>conftest.$ac_ext <<_ACEOF
14643 /* end confdefs.h. */
14644 #include <stdarg.h>
14646 #include <sys/types.h>
14647 #include <sys/stat.h>
14648 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14649 struct buf { int x; };
14650 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14651 static char *e (p, i)
14657 static char *f (char * (*g) (char **, int), char **p, ...)
14662 s = g (p, va_arg (v,int));
14667 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14668 function prototypes and stuff, but not '\xHH' hex character constants.
14669 These don't provoke an error unfortunately, instead are silently treated
14670 as 'x'. The following induces an error, until -std is added to get
14671 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14672 array size at least. It's necessary to write '\x00'==0 to get something
14673 that's true only with -std. */
14674 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14676 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14677 inside strings and character constants. */
14679 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14681 int test (int i, double x);
14682 struct s1 {int (*f) (int a);};
14683 struct s2 {int (*f) (double a);};
14684 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14690 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14695 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14696 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14698 CC="$ac_save_CC $ac_arg"
14699 rm -f conftest.$ac_objext
14700 if { (ac_try="$ac_compile"
14701 case "(($ac_try" in
14702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14703 *) ac_try_echo=$ac_try;;
14705 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14706 (eval "$ac_compile") 2>conftest.er1
14708 grep -v '^ *+' conftest.er1 >conftest.err
14710 cat conftest.err >&5
14711 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14712 (exit $ac_status); } && {
14713 test -z "$ac_c_werror_flag" ||
14714 test ! -s conftest.err
14715 } && test -s conftest.$ac_objext; then
14716 ac_cv_prog_cc_c89=$ac_arg
14718 echo "$as_me: failed program was
:" >&5
14719 sed 's/^/| /' conftest.$ac_ext >&5
14724 rm -f core conftest.err conftest.$ac_objext
14725 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14727 rm -f conftest.$ac_ext
14732 case "x
$ac_cv_prog_cc_c89" in
14734 { echo "$as_me:$LINENO: result
: none needed
" >&5
14735 echo "${ECHO_T}none needed
" >&6; } ;;
14737 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14738 echo "${ECHO_T}unsupported
" >&6; } ;;
14740 CC="$CC $ac_cv_prog_cc_c89"
14741 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14742 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14747 ac_cpp='$CPP $CPPFLAGS'
14748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14756 ac_cpp='$CPP $CPPFLAGS'
14757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14761 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14762 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
14763 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14764 echo $ECHO_N "(cached
) $ECHO_C" >&6
14766 cat >conftest.$ac_ext <<_ACEOF
14769 cat confdefs.h >>conftest.$ac_ext
14770 cat >>conftest.$ac_ext <<_ACEOF
14771 /* end confdefs.h. */
14777 #ifndef __INTEL_COMPILER
14785 rm -f conftest.$ac_objext
14786 if { (ac_try="$ac_compile"
14787 case "(($ac_try" in
14788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14789 *) ac_try_echo=$ac_try;;
14791 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14792 (eval "$ac_compile") 2>conftest.er1
14794 grep -v '^ *+' conftest.er1 >conftest.err
14796 cat conftest.err >&5
14797 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14798 (exit $ac_status); } && {
14799 test -z "$ac_c_werror_flag" ||
14800 test ! -s conftest.err
14801 } && test -s conftest.$ac_objext; then
14802 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14804 echo "$as_me: failed program was
:" >&5
14805 sed 's/^/| /' conftest.$ac_ext >&5
14807 bakefile_cv_c_compiler___INTEL_COMPILER=no
14811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14815 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14816 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14817 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
14823 ac_cpp='$CPP $CPPFLAGS'
14824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14831 if test "x
$GCC" != "xyes
"; then
14832 if test "xCC
" = "xC
"; then
14833 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
14834 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
14835 if test "${bakefile_cv_c_exto+set}" = set; then
14836 echo $ECHO_N "(cached
) $ECHO_C" >&6
14838 cat >conftest.$ac_ext <<_ACEOF
14841 cat confdefs.h >>conftest.$ac_ext
14842 cat >>conftest.$ac_ext <<_ACEOF
14843 /* end confdefs.h. */
14853 rm -f conftest.$ac_objext conftest.$ac_ext.o
14854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14855 (eval $ac_compile) 2>&5
14857 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14858 (exit $ac_status); }; then
14859 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14861 conftest.$ac_ext.o)
14862 bakefile_cv_c_exto="-ext o
"
14869 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
14870 See \
`config.log' for more details." >&5
14871 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14872 See \`config.log
' for more details." >&2;}
14873 { (exit 1); exit 1; }; }
14877 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14880 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14881 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14882 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14883 if test "c" = "c"; then
14884 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14886 if test "c" = "cxx"; then
14887 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14891 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14892 unset ac_cv_prog_cc_g
14893 ac_test_CFLAGS=${CFLAGS+set}
14894 ac_save_CFLAGS=$CFLAGS
14895 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14896 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14897 if test "${ac_cv_prog_cc_g+set}" = set; then
14898 echo $ECHO_N "(cached) $ECHO_C" >&6
14900 ac_save_c_werror_flag=$ac_c_werror_flag
14901 ac_c_werror_flag=yes
14904 cat >conftest.$ac_ext <<_ACEOF
14907 cat confdefs.h >>conftest.$ac_ext
14908 cat >>conftest.$ac_ext <<_ACEOF
14909 /* end confdefs.h. */
14919 rm -f conftest.$ac_objext
14920 if { (ac_try="$ac_compile"
14921 case "(($ac_try" in
14922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14923 *) ac_try_echo=$ac_try;;
14925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14926 (eval "$ac_compile") 2>conftest.er1
14928 grep -v '^
*+' conftest.er1 >conftest.err
14930 cat conftest.err >&5
14931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 (exit $ac_status); } && {
14933 test -z "$ac_c_werror_flag" ||
14934 test ! -s conftest.err
14935 } && test -s conftest.$ac_objext; then
14936 ac_cv_prog_cc_g=yes
14938 echo "$as_me: failed program was:" >&5
14939 sed 's
/^
/| /' conftest.$ac_ext >&5
14942 cat >conftest.$ac_ext <<_ACEOF
14945 cat confdefs.h >>conftest.$ac_ext
14946 cat >>conftest.$ac_ext <<_ACEOF
14947 /* end confdefs.h. */
14957 rm -f conftest.$ac_objext
14958 if { (ac_try="$ac_compile"
14959 case "(($ac_try" in
14960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14961 *) ac_try_echo=$ac_try;;
14963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14964 (eval "$ac_compile") 2>conftest.er1
14966 grep -v '^
*+' conftest.er1 >conftest.err
14968 cat conftest.err >&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); } && {
14971 test -z "$ac_c_werror_flag" ||
14972 test ! -s conftest.err
14973 } && test -s conftest.$ac_objext; then
14976 echo "$as_me: failed program was:" >&5
14977 sed 's
/^
/| /' conftest.$ac_ext >&5
14979 ac_c_werror_flag=$ac_save_c_werror_flag
14981 cat >conftest.$ac_ext <<_ACEOF
14984 cat confdefs.h >>conftest.$ac_ext
14985 cat >>conftest.$ac_ext <<_ACEOF
14986 /* end confdefs.h. */
14996 rm -f conftest.$ac_objext
14997 if { (ac_try="$ac_compile"
14998 case "(($ac_try" in
14999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15000 *) ac_try_echo=$ac_try;;
15002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15003 (eval "$ac_compile") 2>conftest.er1
15005 grep -v '^
*+' conftest.er1 >conftest.err
15007 cat conftest.err >&5
15008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15009 (exit $ac_status); } && {
15010 test -z "$ac_c_werror_flag" ||
15011 test ! -s conftest.err
15012 } && test -s conftest.$ac_objext; then
15013 ac_cv_prog_cc_g=yes
15015 echo "$as_me: failed program was:" >&5
15016 sed 's
/^
/| /' conftest.$ac_ext >&5
15021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15028 ac_c_werror_flag=$ac_save_c_werror_flag
15030 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15031 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15032 if test "$ac_test_CFLAGS" = set; then
15033 CFLAGS=$ac_save_CFLAGS
15034 elif test $ac_cv_prog_cc_g = yes; then
15035 if test "$GCC" = yes; then
15041 if test "$GCC" = yes; then
15055 ac_cpp='$CPP $CPPFLAGS'
15056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15057 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15060 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15061 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15062 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15063 echo $ECHO_N "(cached) $ECHO_C" >&6
15065 cat >conftest.$ac_ext <<_ACEOF
15068 cat confdefs.h >>conftest.$ac_ext
15069 cat >>conftest.$ac_ext <<_ACEOF
15070 /* end confdefs.h. */
15084 rm -f conftest.$ac_objext
15085 if { (ac_try="$ac_compile"
15086 case "(($ac_try" in
15087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15088 *) ac_try_echo=$ac_try;;
15090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15091 (eval "$ac_compile") 2>conftest.er1
15093 grep -v '^
*+' conftest.er1 >conftest.err
15095 cat conftest.err >&5
15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); } && {
15098 test -z "$ac_c_werror_flag" ||
15099 test ! -s conftest.err
15100 } && test -s conftest.$ac_objext; then
15101 bakefile_cv_c_compiler___xlC__=yes
15103 echo "$as_me: failed program was:" >&5
15104 sed 's
/^
/| /' conftest.$ac_ext >&5
15106 bakefile_cv_c_compiler___xlC__=no
15110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15114 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15115 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15116 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15122 ac_cpp='$CPP $CPPFLAGS'
15123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15124 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15135 ac_cpp='$CPP $CPPFLAGS'
15136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15137 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15140 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15141 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15142 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15143 echo $ECHO_N "(cached) $ECHO_C" >&6
15145 cat >conftest.$ac_ext <<_ACEOF
15148 cat confdefs.h >>conftest.$ac_ext
15149 cat >>conftest.$ac_ext <<_ACEOF
15150 /* end confdefs.h. */
15164 rm -f conftest.$ac_objext
15165 if { (ac_try="$ac_compile"
15166 case "(($ac_try" in
15167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15168 *) ac_try_echo=$ac_try;;
15170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15171 (eval "$ac_compile") 2>conftest.er1
15173 grep -v '^
*+' conftest.er1 >conftest.err
15175 cat conftest.err >&5
15176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177 (exit $ac_status); } && {
15178 test -z "$ac_c_werror_flag" ||
15179 test ! -s conftest.err
15180 } && test -s conftest.$ac_objext; then
15181 bakefile_cv_c_compiler___MWERKS__=yes
15183 echo "$as_me: failed program was:" >&5
15184 sed 's
/^
/| /' conftest.$ac_ext >&5
15186 bakefile_cv_c_compiler___MWERKS__=no
15190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15194 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15195 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15196 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15202 ac_cpp='$CPP $CPPFLAGS'
15203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15204 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15212 ac_cpp='$CPP $CPPFLAGS'
15213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15214 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15217 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15218 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15219 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15220 echo $ECHO_N "(cached) $ECHO_C" >&6
15222 cat >conftest.$ac_ext <<_ACEOF
15225 cat confdefs.h >>conftest.$ac_ext
15226 cat >>conftest.$ac_ext <<_ACEOF
15227 /* end confdefs.h. */
15241 rm -f conftest.$ac_objext
15242 if { (ac_try="$ac_compile"
15243 case "(($ac_try" in
15244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15245 *) ac_try_echo=$ac_try;;
15247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15248 (eval "$ac_compile") 2>conftest.er1
15250 grep -v '^
*+' conftest.er1 >conftest.err
15252 cat conftest.err >&5
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); } && {
15255 test -z "$ac_c_werror_flag" ||
15256 test ! -s conftest.err
15257 } && test -s conftest.$ac_objext; then
15258 bakefile_cv_c_compiler___xlC__=yes
15260 echo "$as_me: failed program was:" >&5
15261 sed 's
/^
/| /' conftest.$ac_ext >&5
15263 bakefile_cv_c_compiler___xlC__=no
15267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15271 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15272 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15273 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15279 ac_cpp='$CPP $CPPFLAGS'
15280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15281 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15292 ac_cpp='$CPP $CPPFLAGS'
15293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15294 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15297 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15298 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15299 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15300 echo $ECHO_N "(cached) $ECHO_C" >&6
15302 cat >conftest.$ac_ext <<_ACEOF
15305 cat confdefs.h >>conftest.$ac_ext
15306 cat >>conftest.$ac_ext <<_ACEOF
15307 /* end confdefs.h. */
15313 #ifndef _SGI_COMPILER_VERSION
15321 rm -f conftest.$ac_objext
15322 if { (ac_try="$ac_compile"
15323 case "(($ac_try" in
15324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15325 *) ac_try_echo=$ac_try;;
15327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15328 (eval "$ac_compile") 2>conftest.er1
15330 grep -v '^
*+' conftest.er1 >conftest.err
15332 cat conftest.err >&5
15333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15334 (exit $ac_status); } && {
15335 test -z "$ac_c_werror_flag" ||
15336 test ! -s conftest.err
15337 } && test -s conftest.$ac_objext; then
15338 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15340 echo "$as_me: failed program was:" >&5
15341 sed 's
/^
/| /' conftest.$ac_ext >&5
15343 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15351 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15352 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15353 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15359 ac_cpp='$CPP $CPPFLAGS'
15360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15361 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15372 ac_cpp='$CPP $CPPFLAGS'
15373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15374 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15377 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15378 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15379 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15380 echo $ECHO_N "(cached) $ECHO_C" >&6
15382 cat >conftest.$ac_ext <<_ACEOF
15385 cat confdefs.h >>conftest.$ac_ext
15386 cat >>conftest.$ac_ext <<_ACEOF
15387 /* end confdefs.h. */
15401 rm -f conftest.$ac_objext
15402 if { (ac_try="$ac_compile"
15403 case "(($ac_try" in
15404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15405 *) ac_try_echo=$ac_try;;
15407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15408 (eval "$ac_compile") 2>conftest.er1
15410 grep -v '^
*+' conftest.er1 >conftest.err
15412 cat conftest.err >&5
15413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15414 (exit $ac_status); } && {
15415 test -z "$ac_c_werror_flag" ||
15416 test ! -s conftest.err
15417 } && test -s conftest.$ac_objext; then
15418 bakefile_cv_c_compiler___SUNPRO_C=yes
15420 echo "$as_me: failed program was:" >&5
15421 sed 's
/^
/| /' conftest.$ac_ext >&5
15423 bakefile_cv_c_compiler___SUNPRO_C=no
15427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15431 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15432 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15433 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15439 ac_cpp='$CPP $CPPFLAGS'
15440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15441 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15452 ac_cpp='$CPP $CPPFLAGS'
15453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15454 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15457 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15458 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15459 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15460 echo $ECHO_N "(cached) $ECHO_C" >&6
15462 cat >conftest.$ac_ext <<_ACEOF
15465 cat confdefs.h >>conftest.$ac_ext
15466 cat >>conftest.$ac_ext <<_ACEOF
15467 /* end confdefs.h. */
15481 rm -f conftest.$ac_objext
15482 if { (ac_try="$ac_compile"
15483 case "(($ac_try" in
15484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15485 *) ac_try_echo=$ac_try;;
15487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15488 (eval "$ac_compile") 2>conftest.er1
15490 grep -v '^
*+' conftest.er1 >conftest.err
15492 cat conftest.err >&5
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); } && {
15495 test -z "$ac_c_werror_flag" ||
15496 test ! -s conftest.err
15497 } && test -s conftest.$ac_objext; then
15498 bakefile_cv_c_compiler___HP_cc=yes
15500 echo "$as_me: failed program was:" >&5
15501 sed 's
/^
/| /' conftest.$ac_ext >&5
15503 bakefile_cv_c_compiler___HP_cc=no
15507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15511 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15512 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15513 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15519 ac_cpp='$CPP $CPPFLAGS'
15520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15521 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15532 ac_cpp='$CPP $CPPFLAGS'
15533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15534 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15537 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15538 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15539 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15540 echo $ECHO_N "(cached) $ECHO_C" >&6
15542 cat >conftest.$ac_ext <<_ACEOF
15545 cat confdefs.h >>conftest.$ac_ext
15546 cat >>conftest.$ac_ext <<_ACEOF
15547 /* end confdefs.h. */
15561 rm -f conftest.$ac_objext
15562 if { (ac_try="$ac_compile"
15563 case "(($ac_try" in
15564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15565 *) ac_try_echo=$ac_try;;
15567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15568 (eval "$ac_compile") 2>conftest.er1
15570 grep -v '^
*+' conftest.er1 >conftest.err
15572 cat conftest.err >&5
15573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15574 (exit $ac_status); } && {
15575 test -z "$ac_c_werror_flag" ||
15576 test ! -s conftest.err
15577 } && test -s conftest.$ac_objext; then
15578 bakefile_cv_c_compiler___DECC=yes
15580 echo "$as_me: failed program was:" >&5
15581 sed 's
/^
/| /' conftest.$ac_ext >&5
15583 bakefile_cv_c_compiler___DECC=no
15587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15591 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15592 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15593 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15599 ac_cpp='$CPP $CPPFLAGS'
15600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15601 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15612 ac_cpp='$CPP $CPPFLAGS'
15613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15614 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15617 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15618 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15619 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15620 echo $ECHO_N "(cached) $ECHO_C" >&6
15622 cat >conftest.$ac_ext <<_ACEOF
15625 cat confdefs.h >>conftest.$ac_ext
15626 cat >>conftest.$ac_ext <<_ACEOF
15627 /* end confdefs.h. */
15641 rm -f conftest.$ac_objext
15642 if { (ac_try="$ac_compile"
15643 case "(($ac_try" in
15644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15645 *) ac_try_echo=$ac_try;;
15647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15648 (eval "$ac_compile") 2>conftest.er1
15650 grep -v '^
*+' conftest.er1 >conftest.err
15652 cat conftest.err >&5
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); } && {
15655 test -z "$ac_c_werror_flag" ||
15656 test ! -s conftest.err
15657 } && test -s conftest.$ac_objext; then
15658 bakefile_cv_c_compiler___SUNPRO_C=yes
15660 echo "$as_me: failed program was:" >&5
15661 sed 's
/^
/| /' conftest.$ac_ext >&5
15663 bakefile_cv_c_compiler___SUNPRO_C=no
15667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15671 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15672 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15673 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15679 ac_cpp='$CPP $CPPFLAGS'
15680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15681 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15693 ac_cpp='$CPP $CPPFLAGS'
15694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15695 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15697 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15698 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15699 # On Suns, sometimes $CPP names a directory.
15700 if test -n "$CPP" && test -d "$CPP"; then
15703 if test -z "$CPP"; then
15704 if test "${ac_cv_prog_CPP+set}" = set; then
15705 echo $ECHO_N "(cached) $ECHO_C" >&6
15707 # Double quotes because CPP needs to be expanded
15708 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15710 ac_preproc_ok=false
15711 for ac_c_preproc_warn_flag in '' yes
15713 # Use a header file that comes with gcc, so configuring glibc
15714 # with a fresh cross-compiler works.
15715 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15716 # <limits.h> exists even on freestanding compilers.
15717 # On the NeXT, cc -E runs the code through the compiler's parser
,
15718 # not just through cpp. "Syntax error" is here to catch this case.
15719 cat >conftest.
$ac_ext <<_ACEOF
15722 cat confdefs.h
>>conftest.
$ac_ext
15723 cat >>conftest.
$ac_ext <<_ACEOF
15724 /* end confdefs.h. */
15726 # include <limits.h>
15728 # include <assert.h>
15732 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15733 case "(($ac_try" in
15734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15735 *) ac_try_echo=$ac_try;;
15737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15738 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15740 grep -v '^ *+' conftest.er1 >conftest.err
15742 cat conftest.err >&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); } >/dev/null && {
15745 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15746 test ! -s conftest.err
15750 echo "$as_me: failed program was:" >&5
15751 sed 's/^/| /' conftest.$ac_ext >&5
15753 # Broken: fails on valid input.
15757 rm -f conftest.err conftest.$ac_ext
15759 # OK, works on sane cases. Now check whether nonexistent headers
15760 # can be detected and how.
15761 cat >conftest.$ac_ext <<_ACEOF
15764 cat confdefs.h >>conftest.$ac_ext
15765 cat >>conftest.$ac_ext <<_ACEOF
15766 /* end confdefs.h. */
15767 #include <ac_nonexistent.h>
15769 if { (ac_try="$ac_cpp conftest.$ac_ext"
15770 case "(($ac_try" in
15771 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15772 *) ac_try_echo
=$ac_try;;
15774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15775 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15777 grep -v '^ *+' conftest.er1
>conftest.err
15779 cat conftest.err
>&5
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); } >/dev
/null
&& {
15782 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15783 test ! -s conftest.err
15785 # Broken: success on invalid input.
15788 echo "$as_me: failed program was:" >&5
15789 sed 's/^/| /' conftest.
$ac_ext >&5
15791 # Passes both tests.
15796 rm -f conftest.err conftest.
$ac_ext
15799 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15800 rm -f conftest.err conftest.
$ac_ext
15801 if $ac_preproc_ok; then
15806 ac_cv_prog_CPP
=$CPP
15809 CPP
=$ac_cv_prog_CPP
15811 ac_cv_prog_CPP
=$CPP
15813 { echo "$as_me:$LINENO: result: $CPP" >&5
15814 echo "${ECHO_T}$CPP" >&6; }
15815 ac_preproc_ok
=false
15816 for ac_c_preproc_warn_flag
in '' yes
15818 # Use a header file that comes with gcc, so configuring glibc
15819 # with a fresh cross-compiler works.
15820 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15821 # <limits.h> exists even on freestanding compilers.
15822 # On the NeXT, cc -E runs the code through the compiler's parser,
15823 # not just through cpp. "Syntax error" is here to catch this case.
15824 cat >conftest.
$ac_ext <<_ACEOF
15827 cat confdefs.h
>>conftest.
$ac_ext
15828 cat >>conftest.
$ac_ext <<_ACEOF
15829 /* end confdefs.h. */
15831 # include <limits.h>
15833 # include <assert.h>
15837 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15838 case "(($ac_try" in
15839 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15840 *) ac_try_echo=$ac_try;;
15842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15843 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15845 grep -v '^ *+' conftest.er1 >conftest.err
15847 cat conftest.err >&5
15848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15849 (exit $ac_status); } >/dev/null && {
15850 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15851 test ! -s conftest.err
15855 echo "$as_me: failed program was:" >&5
15856 sed 's/^/| /' conftest.$ac_ext >&5
15858 # Broken: fails on valid input.
15862 rm -f conftest.err conftest.$ac_ext
15864 # OK, works on sane cases. Now check whether nonexistent headers
15865 # can be detected and how.
15866 cat >conftest.$ac_ext <<_ACEOF
15869 cat confdefs.h >>conftest.$ac_ext
15870 cat >>conftest.$ac_ext <<_ACEOF
15871 /* end confdefs.h. */
15872 #include <ac_nonexistent.h>
15874 if { (ac_try="$ac_cpp conftest.$ac_ext"
15875 case "(($ac_try" in
15876 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15877 *) ac_try_echo
=$ac_try;;
15879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15880 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15882 grep -v '^ *+' conftest.er1
>conftest.err
15884 cat conftest.err
>&5
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); } >/dev
/null
&& {
15887 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15888 test ! -s conftest.err
15890 # Broken: success on invalid input.
15893 echo "$as_me: failed program was:" >&5
15894 sed 's/^/| /' conftest.
$ac_ext >&5
15896 # Passes both tests.
15901 rm -f conftest.err conftest.
$ac_ext
15904 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15905 rm -f conftest.err conftest.
$ac_ext
15906 if $ac_preproc_ok; then
15909 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15910 See \`config.log' for more details." >&5
15911 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15912 See \`config.log' for more details." >&2;}
15913 { (exit 1); exit 1; }; }
15917 ac_cpp
='$CPP $CPPFLAGS'
15918 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15919 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15920 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15923 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15924 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15925 if test "${ac_cv_path_GREP+set}" = set; then
15926 echo $ECHO_N "(cached) $ECHO_C" >&6
15928 # Extract the first word of "grep ggrep" to use in msg output
15929 if test -z "$GREP"; then
15930 set dummy
grep ggrep
; ac_prog_name
=$2
15931 if test "${ac_cv_path_GREP+set}" = set; then
15932 echo $ECHO_N "(cached) $ECHO_C" >&6
15934 ac_path_GREP_found
=false
15935 # Loop through the user's path and test for each of PROGNAME-LIST
15936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15937 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
15940 test -z "$as_dir" && as_dir
=.
15941 for ac_prog
in grep ggrep
; do
15942 for ac_exec_ext
in '' $ac_executable_extensions; do
15943 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
15944 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
15945 # Check for GNU ac_path_GREP and select it if it is found.
15946 # Check for GNU $ac_path_GREP
15947 case `"$ac_path_GREP" --version 2>&1` in
15949 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
15952 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15955 cat "conftest.in" "conftest.in" >"conftest.tmp"
15956 mv "conftest.tmp" "conftest.in"
15957 cp "conftest.in" "conftest.nl"
15958 echo 'GREP' >> "conftest.nl"
15959 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
15960 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
15961 ac_count
=`expr $ac_count + 1`
15962 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15963 # Best one so far, save it but keep looking for a better one
15964 ac_cv_path_GREP
="$ac_path_GREP"
15965 ac_path_GREP_max
=$ac_count
15967 # 10*(2^10) chars as input seems more than enough
15968 test $ac_count -gt 10 && break
15970 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
15974 $ac_path_GREP_found && break 3
15984 GREP
="$ac_cv_path_GREP"
15985 if test -z "$GREP"; then
15986 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15987 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15988 { (exit 1); exit 1; }; }
15992 ac_cv_path_GREP
=$GREP
15997 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15998 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15999 GREP
="$ac_cv_path_GREP"
16002 { echo "$as_me:$LINENO: checking for egrep" >&5
16003 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16004 if test "${ac_cv_path_EGREP+set}" = set; then
16005 echo $ECHO_N "(cached) $ECHO_C" >&6
16007 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16008 then ac_cv_path_EGREP
="$GREP -E"
16010 # Extract the first word of "egrep" to use in msg output
16011 if test -z "$EGREP"; then
16012 set dummy
egrep; ac_prog_name
=$2
16013 if test "${ac_cv_path_EGREP+set}" = set; then
16014 echo $ECHO_N "(cached) $ECHO_C" >&6
16016 ac_path_EGREP_found
=false
16017 # Loop through the user's path and test for each of PROGNAME-LIST
16018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16019 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16022 test -z "$as_dir" && as_dir
=.
16023 for ac_prog
in egrep; do
16024 for ac_exec_ext
in '' $ac_executable_extensions; do
16025 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16026 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16027 # Check for GNU ac_path_EGREP and select it if it is found.
16028 # Check for GNU $ac_path_EGREP
16029 case `"$ac_path_EGREP" --version 2>&1` in
16031 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16034 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16037 cat "conftest.in" "conftest.in" >"conftest.tmp"
16038 mv "conftest.tmp" "conftest.in"
16039 cp "conftest.in" "conftest.nl"
16040 echo 'EGREP' >> "conftest.nl"
16041 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16042 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16043 ac_count
=`expr $ac_count + 1`
16044 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16045 # Best one so far, save it but keep looking for a better one
16046 ac_cv_path_EGREP
="$ac_path_EGREP"
16047 ac_path_EGREP_max
=$ac_count
16049 # 10*(2^10) chars as input seems more than enough
16050 test $ac_count -gt 10 && break
16052 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16056 $ac_path_EGREP_found && break 3
16066 EGREP
="$ac_cv_path_EGREP"
16067 if test -z "$EGREP"; then
16068 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16069 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16070 { (exit 1); exit 1; }; }
16074 ac_cv_path_EGREP
=$EGREP
16080 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16081 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16082 EGREP
="$ac_cv_path_EGREP"
16085 if test $ac_cv_c_compiler_gnu = yes; then
16086 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16087 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16088 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16089 echo $ECHO_N "(cached) $ECHO_C" >&6
16091 ac_pattern
="Autoconf.*'x'"
16092 cat >conftest.
$ac_ext <<_ACEOF
16095 cat confdefs.h
>>conftest.
$ac_ext
16096 cat >>conftest.
$ac_ext <<_ACEOF
16097 /* end confdefs.h. */
16101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16102 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16103 ac_cv_prog_gcc_traditional
=yes
16105 ac_cv_prog_gcc_traditional
=no
16110 if test $ac_cv_prog_gcc_traditional = no
; then
16111 cat >conftest.
$ac_ext <<_ACEOF
16114 cat confdefs.h
>>conftest.
$ac_ext
16115 cat >>conftest.
$ac_ext <<_ACEOF
16116 /* end confdefs.h. */
16117 #include <termio.h>
16120 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16121 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16122 ac_cv_prog_gcc_traditional
=yes
16128 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16129 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16130 if test $ac_cv_prog_gcc_traditional = yes; then
16131 CC
="$CC -traditional"
16136 CXXFLAGS
=${CXXFLAGS:=}
16141 ac_cpp
='$CXXCPP $CPPFLAGS'
16142 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16143 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16144 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16145 if test -z "$CXX"; then
16146 if test -n "$CCC"; then
16149 if test -n "$ac_tool_prefix"; then
16150 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16152 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16153 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16156 if test "${ac_cv_prog_CXX+set}" = set; then
16157 echo $ECHO_N "(cached) $ECHO_C" >&6
16159 if test -n "$CXX"; then
16160 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16163 for as_dir
in $PATH
16166 test -z "$as_dir" && as_dir
=.
16167 for ac_exec_ext
in '' $ac_executable_extensions; do
16168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16169 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16179 CXX
=$ac_cv_prog_CXX
16180 if test -n "$CXX"; then
16181 { echo "$as_me:$LINENO: result: $CXX" >&5
16182 echo "${ECHO_T}$CXX" >&6; }
16184 { echo "$as_me:$LINENO: result: no" >&5
16185 echo "${ECHO_T}no" >&6; }
16189 test -n "$CXX" && break
16192 if test -z "$CXX"; then
16194 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16196 # Extract the first word of "$ac_prog", so it can be a program name with args.
16197 set dummy
$ac_prog; ac_word
=$2
16198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16200 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16201 echo $ECHO_N "(cached) $ECHO_C" >&6
16203 if test -n "$ac_ct_CXX"; then
16204 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16207 for as_dir
in $PATH
16210 test -z "$as_dir" && as_dir
=.
16211 for ac_exec_ext
in '' $ac_executable_extensions; do
16212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16213 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16223 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16224 if test -n "$ac_ct_CXX"; then
16225 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16226 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16228 { echo "$as_me:$LINENO: result: no" >&5
16229 echo "${ECHO_T}no" >&6; }
16233 test -n "$ac_ct_CXX" && break
16236 if test "x$ac_ct_CXX" = x
; then
16239 case $cross_compiling:$ac_tool_warned in
16241 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16242 whose name does not start with the host triplet. If you think this
16243 configuration is useful to you, please write to autoconf@gnu.org." >&5
16244 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16245 whose name does not start with the host triplet. If you think this
16246 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16247 ac_tool_warned
=yes ;;
16255 # Provide some information about the compiler.
16256 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16257 ac_compiler
=`set X $ac_compile; echo $2`
16258 { (ac_try
="$ac_compiler --version >&5"
16259 case "(($ac_try" in
16260 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16261 *) ac_try_echo=$ac_try;;
16263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16264 (eval "$ac_compiler --version >&5") 2>&5
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); }
16268 { (ac_try="$ac_compiler -v >&5"
16269 case "(($ac_try" in
16270 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16271 *) ac_try_echo
=$ac_try;;
16273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16274 (eval "$ac_compiler -v >&5") 2>&5
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); }
16278 { (ac_try
="$ac_compiler -V >&5"
16279 case "(($ac_try" in
16280 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16281 *) ac_try_echo=$ac_try;;
16283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16284 (eval "$ac_compiler -V >&5") 2>&5
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); }
16289 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16290 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16291 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16292 echo $ECHO_N "(cached) $ECHO_C" >&6
16294 cat >conftest.$ac_ext <<_ACEOF
16297 cat confdefs.h >>conftest.$ac_ext
16298 cat >>conftest.$ac_ext <<_ACEOF
16299 /* end confdefs.h. */
16312 rm -f conftest.$ac_objext
16313 if { (ac_try="$ac_compile"
16314 case "(($ac_try" in
16315 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16316 *) ac_try_echo
=$ac_try;;
16318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16319 (eval "$ac_compile") 2>conftest.er1
16321 grep -v '^ *+' conftest.er1
>conftest.err
16323 cat conftest.err
>&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); } && {
16326 test -z "$ac_cxx_werror_flag" ||
16327 test ! -s conftest.err
16328 } && test -s conftest.
$ac_objext; then
16329 ac_compiler_gnu
=yes
16331 echo "$as_me: failed program was:" >&5
16332 sed 's/^/| /' conftest.
$ac_ext >&5
16337 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16338 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16341 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16342 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16343 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16344 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16345 ac_save_CXXFLAGS
=$CXXFLAGS
16346 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16347 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16348 if test "${ac_cv_prog_cxx_g+set}" = set; then
16349 echo $ECHO_N "(cached) $ECHO_C" >&6
16351 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16352 ac_cxx_werror_flag
=yes
16353 ac_cv_prog_cxx_g
=no
16355 cat >conftest.
$ac_ext <<_ACEOF
16358 cat confdefs.h
>>conftest.
$ac_ext
16359 cat >>conftest.
$ac_ext <<_ACEOF
16360 /* end confdefs.h. */
16370 rm -f conftest.
$ac_objext
16371 if { (ac_try
="$ac_compile"
16372 case "(($ac_try" in
16373 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16374 *) ac_try_echo=$ac_try;;
16376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16377 (eval "$ac_compile") 2>conftest.er1
16379 grep -v '^ *+' conftest.er1 >conftest.err
16381 cat conftest.err >&5
16382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16383 (exit $ac_status); } && {
16384 test -z "$ac_cxx_werror_flag" ||
16385 test ! -s conftest.err
16386 } && test -s conftest.$ac_objext; then
16387 ac_cv_prog_cxx_g=yes
16389 echo "$as_me: failed program was:" >&5
16390 sed 's/^/| /' conftest.$ac_ext >&5
16393 cat >conftest.$ac_ext <<_ACEOF
16396 cat confdefs.h >>conftest.$ac_ext
16397 cat >>conftest.$ac_ext <<_ACEOF
16398 /* end confdefs.h. */
16408 rm -f conftest.$ac_objext
16409 if { (ac_try="$ac_compile"
16410 case "(($ac_try" in
16411 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16412 *) ac_try_echo
=$ac_try;;
16414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16415 (eval "$ac_compile") 2>conftest.er1
16417 grep -v '^ *+' conftest.er1
>conftest.err
16419 cat conftest.err
>&5
16420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16421 (exit $ac_status); } && {
16422 test -z "$ac_cxx_werror_flag" ||
16423 test ! -s conftest.err
16424 } && test -s conftest.
$ac_objext; then
16427 echo "$as_me: failed program was:" >&5
16428 sed 's/^/| /' conftest.
$ac_ext >&5
16430 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16432 cat >conftest.
$ac_ext <<_ACEOF
16435 cat confdefs.h
>>conftest.
$ac_ext
16436 cat >>conftest.
$ac_ext <<_ACEOF
16437 /* end confdefs.h. */
16447 rm -f conftest.
$ac_objext
16448 if { (ac_try
="$ac_compile"
16449 case "(($ac_try" in
16450 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16451 *) ac_try_echo=$ac_try;;
16453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16454 (eval "$ac_compile") 2>conftest.er1
16456 grep -v '^ *+' conftest.er1 >conftest.err
16458 cat conftest.err >&5
16459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460 (exit $ac_status); } && {
16461 test -z "$ac_cxx_werror_flag" ||
16462 test ! -s conftest.err
16463 } && test -s conftest.$ac_objext; then
16464 ac_cv_prog_cxx_g=yes
16466 echo "$as_me: failed program was:" >&5
16467 sed 's/^/| /' conftest.$ac_ext >&5
16472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16479 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16481 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16482 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16483 if test "$ac_test_CXXFLAGS" = set; then
16484 CXXFLAGS=$ac_save_CXXFLAGS
16485 elif test $ac_cv_prog_cxx_g = yes; then
16486 if test "$GXX" = yes; then
16492 if test "$GXX" = yes; then
16499 ac_cpp='$CPP $CPPFLAGS'
16500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16508 ac_cpp='$CXXCPP $CPPFLAGS'
16509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16513 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16514 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16515 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16516 echo $ECHO_N "(cached) $ECHO_C" >&6
16518 cat >conftest.$ac_ext <<_ACEOF
16521 cat confdefs.h >>conftest.$ac_ext
16522 cat >>conftest.$ac_ext <<_ACEOF
16523 /* end confdefs.h. */
16529 #ifndef __INTEL_COMPILER
16537 rm -f conftest.$ac_objext
16538 if { (ac_try="$ac_compile"
16539 case "(($ac_try" in
16540 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16541 *) ac_try_echo
=$ac_try;;
16543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16544 (eval "$ac_compile") 2>conftest.er1
16546 grep -v '^ *+' conftest.er1
>conftest.err
16548 cat conftest.err
>&5
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); } && {
16551 test -z "$ac_cxx_werror_flag" ||
16552 test ! -s conftest.err
16553 } && test -s conftest.
$ac_objext; then
16554 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16556 echo "$as_me: failed program was:" >&5
16557 sed 's/^/| /' conftest.
$ac_ext >&5
16559 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16567 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16568 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16569 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16575 ac_cpp
='$CPP $CPPFLAGS'
16576 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16577 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16578 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16583 if test "x$GCXX" != "xyes"; then
16584 if test "xCXX" = "xC"; then
16585 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16586 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16587 if test "${bakefile_cv_c_exto+set}" = set; then
16588 echo $ECHO_N "(cached) $ECHO_C" >&6
16590 cat >conftest.
$ac_ext <<_ACEOF
16593 cat confdefs.h
>>conftest.
$ac_ext
16594 cat >>conftest.
$ac_ext <<_ACEOF
16595 /* end confdefs.h. */
16605 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
16606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16607 (eval $ac_compile) 2>&5
16609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610 (exit $ac_status); }; then
16611 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
16613 conftest.
$ac_ext.o
)
16614 bakefile_cv_c_exto
="-ext o"
16621 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16622 See \`config.log' for more details." >&5
16623 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16624 See \`config.log' for more details." >&2;}
16625 { (exit 1); exit 1; }; }
16629 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
16632 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16633 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16634 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16635 if test "c" = "c"; then
16636 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
16638 if test "c" = "cxx"; then
16639 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
16643 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16644 unset ac_cv_prog_cc_g
16645 ac_test_CFLAGS
=${CFLAGS+set}
16646 ac_save_CFLAGS
=$CFLAGS
16647 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16648 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16649 if test "${ac_cv_prog_cc_g+set}" = set; then
16650 echo $ECHO_N "(cached) $ECHO_C" >&6
16652 ac_save_c_werror_flag
=$ac_c_werror_flag
16653 ac_c_werror_flag
=yes
16656 cat >conftest.
$ac_ext <<_ACEOF
16659 cat confdefs.h
>>conftest.
$ac_ext
16660 cat >>conftest.
$ac_ext <<_ACEOF
16661 /* end confdefs.h. */
16671 rm -f conftest.
$ac_objext
16672 if { (ac_try
="$ac_compile"
16673 case "(($ac_try" in
16674 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16675 *) ac_try_echo=$ac_try;;
16677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16678 (eval "$ac_compile") 2>conftest.er1
16680 grep -v '^ *+' conftest.er1 >conftest.err
16682 cat conftest.err >&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); } && {
16685 test -z "$ac_c_werror_flag" ||
16686 test ! -s conftest.err
16687 } && test -s conftest.$ac_objext; then
16688 ac_cv_prog_cc_g=yes
16690 echo "$as_me: failed program was:" >&5
16691 sed 's/^/| /' conftest.$ac_ext >&5
16694 cat >conftest.$ac_ext <<_ACEOF
16697 cat confdefs.h >>conftest.$ac_ext
16698 cat >>conftest.$ac_ext <<_ACEOF
16699 /* end confdefs.h. */
16709 rm -f conftest.$ac_objext
16710 if { (ac_try="$ac_compile"
16711 case "(($ac_try" in
16712 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16713 *) ac_try_echo
=$ac_try;;
16715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16716 (eval "$ac_compile") 2>conftest.er1
16718 grep -v '^ *+' conftest.er1
>conftest.err
16720 cat conftest.err
>&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); } && {
16723 test -z "$ac_c_werror_flag" ||
16724 test ! -s conftest.err
16725 } && test -s conftest.
$ac_objext; then
16728 echo "$as_me: failed program was:" >&5
16729 sed 's/^/| /' conftest.
$ac_ext >&5
16731 ac_c_werror_flag
=$ac_save_c_werror_flag
16733 cat >conftest.
$ac_ext <<_ACEOF
16736 cat confdefs.h
>>conftest.
$ac_ext
16737 cat >>conftest.
$ac_ext <<_ACEOF
16738 /* end confdefs.h. */
16748 rm -f conftest.
$ac_objext
16749 if { (ac_try
="$ac_compile"
16750 case "(($ac_try" in
16751 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16752 *) ac_try_echo=$ac_try;;
16754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16755 (eval "$ac_compile") 2>conftest.er1
16757 grep -v '^ *+' conftest.er1 >conftest.err
16759 cat conftest.err >&5
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); } && {
16762 test -z "$ac_c_werror_flag" ||
16763 test ! -s conftest.err
16764 } && test -s conftest.$ac_objext; then
16765 ac_cv_prog_cc_g=yes
16767 echo "$as_me: failed program was:" >&5
16768 sed 's/^/| /' conftest.$ac_ext >&5
16773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16780 ac_c_werror_flag=$ac_save_c_werror_flag
16782 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16783 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16784 if test "$ac_test_CFLAGS" = set; then
16785 CFLAGS=$ac_save_CFLAGS
16786 elif test $ac_cv_prog_cc_g = yes; then
16787 if test "$GCC" = yes; then
16793 if test "$GCC" = yes; then
16807 ac_cpp='$CXXCPP $CPPFLAGS'
16808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16812 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16813 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16814 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16815 echo $ECHO_N "(cached) $ECHO_C" >&6
16817 cat >conftest.$ac_ext <<_ACEOF
16820 cat confdefs.h >>conftest.$ac_ext
16821 cat >>conftest.$ac_ext <<_ACEOF
16822 /* end confdefs.h. */
16836 rm -f conftest.$ac_objext
16837 if { (ac_try="$ac_compile"
16838 case "(($ac_try" in
16839 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16840 *) ac_try_echo
=$ac_try;;
16842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16843 (eval "$ac_compile") 2>conftest.er1
16845 grep -v '^ *+' conftest.er1
>conftest.err
16847 cat conftest.err
>&5
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); } && {
16850 test -z "$ac_cxx_werror_flag" ||
16851 test ! -s conftest.err
16852 } && test -s conftest.
$ac_objext; then
16853 bakefile_cv_cxx_compiler___xlC__
=yes
16855 echo "$as_me: failed program was:" >&5
16856 sed 's/^/| /' conftest.
$ac_ext >&5
16858 bakefile_cv_cxx_compiler___xlC__
=no
16862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16866 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16867 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16868 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16874 ac_cpp
='$CPP $CPPFLAGS'
16875 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16876 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16877 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16887 ac_cpp
='$CXXCPP $CPPFLAGS'
16888 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16889 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16890 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16892 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16893 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16894 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16895 echo $ECHO_N "(cached) $ECHO_C" >&6
16897 cat >conftest.
$ac_ext <<_ACEOF
16900 cat confdefs.h
>>conftest.
$ac_ext
16901 cat >>conftest.
$ac_ext <<_ACEOF
16902 /* end confdefs.h. */
16916 rm -f conftest.
$ac_objext
16917 if { (ac_try
="$ac_compile"
16918 case "(($ac_try" in
16919 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16920 *) ac_try_echo=$ac_try;;
16922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16923 (eval "$ac_compile") 2>conftest.er1
16925 grep -v '^ *+' conftest.er1 >conftest.err
16927 cat conftest.err >&5
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); } && {
16930 test -z "$ac_cxx_werror_flag" ||
16931 test ! -s conftest.err
16932 } && test -s conftest.$ac_objext; then
16933 bakefile_cv_cxx_compiler___MWERKS__=yes
16935 echo "$as_me: failed program was:" >&5
16936 sed 's/^/| /' conftest.$ac_ext >&5
16938 bakefile_cv_cxx_compiler___MWERKS__=no
16942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16946 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
16947 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
16948 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
16954 ac_cpp='$CPP $CPPFLAGS'
16955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16964 ac_cpp='$CXXCPP $CPPFLAGS'
16965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16969 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16970 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16971 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16972 echo $ECHO_N "(cached) $ECHO_C" >&6
16974 cat >conftest.$ac_ext <<_ACEOF
16977 cat confdefs.h >>conftest.$ac_ext
16978 cat >>conftest.$ac_ext <<_ACEOF
16979 /* end confdefs.h. */
16993 rm -f conftest.$ac_objext
16994 if { (ac_try="$ac_compile"
16995 case "(($ac_try" in
16996 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16997 *) ac_try_echo
=$ac_try;;
16999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17000 (eval "$ac_compile") 2>conftest.er1
17002 grep -v '^ *+' conftest.er1
>conftest.err
17004 cat conftest.err
>&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); } && {
17007 test -z "$ac_cxx_werror_flag" ||
17008 test ! -s conftest.err
17009 } && test -s conftest.
$ac_objext; then
17010 bakefile_cv_cxx_compiler___xlC__
=yes
17012 echo "$as_me: failed program was:" >&5
17013 sed 's/^/| /' conftest.
$ac_ext >&5
17015 bakefile_cv_cxx_compiler___xlC__
=no
17019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17023 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17024 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17025 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17031 ac_cpp
='$CPP $CPPFLAGS'
17032 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17033 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17034 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17044 ac_cpp
='$CXXCPP $CPPFLAGS'
17045 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17046 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17047 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17049 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17050 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17051 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17052 echo $ECHO_N "(cached) $ECHO_C" >&6
17054 cat >conftest.
$ac_ext <<_ACEOF
17057 cat confdefs.h
>>conftest.
$ac_ext
17058 cat >>conftest.
$ac_ext <<_ACEOF
17059 /* end confdefs.h. */
17065 #ifndef _SGI_COMPILER_VERSION
17073 rm -f conftest.
$ac_objext
17074 if { (ac_try
="$ac_compile"
17075 case "(($ac_try" in
17076 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17077 *) ac_try_echo=$ac_try;;
17079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17080 (eval "$ac_compile") 2>conftest.er1
17082 grep -v '^ *+' conftest.er1 >conftest.err
17084 cat conftest.err >&5
17085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17086 (exit $ac_status); } && {
17087 test -z "$ac_cxx_werror_flag" ||
17088 test ! -s conftest.err
17089 } && test -s conftest.$ac_objext; then
17090 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17092 echo "$as_me: failed program was:" >&5
17093 sed 's/^/| /' conftest.$ac_ext >&5
17095 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17103 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17104 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17105 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17111 ac_cpp='$CPP $CPPFLAGS'
17112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17124 ac_cpp='$CXXCPP $CPPFLAGS'
17125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17129 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17130 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17131 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17132 echo $ECHO_N "(cached) $ECHO_C" >&6
17134 cat >conftest.$ac_ext <<_ACEOF
17137 cat confdefs.h >>conftest.$ac_ext
17138 cat >>conftest.$ac_ext <<_ACEOF
17139 /* end confdefs.h. */
17145 #ifndef __SUNPRO_CC
17153 rm -f conftest.$ac_objext
17154 if { (ac_try="$ac_compile"
17155 case "(($ac_try" in
17156 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17157 *) ac_try_echo
=$ac_try;;
17159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17160 (eval "$ac_compile") 2>conftest.er1
17162 grep -v '^ *+' conftest.er1
>conftest.err
17164 cat conftest.err
>&5
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); } && {
17167 test -z "$ac_cxx_werror_flag" ||
17168 test ! -s conftest.err
17169 } && test -s conftest.
$ac_objext; then
17170 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17172 echo "$as_me: failed program was:" >&5
17173 sed 's/^/| /' conftest.
$ac_ext >&5
17175 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17183 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17184 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17185 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17191 ac_cpp
='$CPP $CPPFLAGS'
17192 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17193 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17194 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17204 ac_cpp
='$CXXCPP $CPPFLAGS'
17205 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17206 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17207 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17209 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17210 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17211 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17212 echo $ECHO_N "(cached) $ECHO_C" >&6
17214 cat >conftest.
$ac_ext <<_ACEOF
17217 cat confdefs.h
>>conftest.
$ac_ext
17218 cat >>conftest.
$ac_ext <<_ACEOF
17219 /* end confdefs.h. */
17233 rm -f conftest.
$ac_objext
17234 if { (ac_try
="$ac_compile"
17235 case "(($ac_try" in
17236 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17237 *) ac_try_echo=$ac_try;;
17239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17240 (eval "$ac_compile") 2>conftest.er1
17242 grep -v '^ *+' conftest.er1 >conftest.err
17244 cat conftest.err >&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); } && {
17247 test -z "$ac_cxx_werror_flag" ||
17248 test ! -s conftest.err
17249 } && test -s conftest.$ac_objext; then
17250 bakefile_cv_cxx_compiler___HP_aCC=yes
17252 echo "$as_me: failed program was:" >&5
17253 sed 's/^/| /' conftest.$ac_ext >&5
17255 bakefile_cv_cxx_compiler___HP_aCC=no
17259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17263 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17264 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17265 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17271 ac_cpp='$CPP $CPPFLAGS'
17272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17284 ac_cpp='$CXXCPP $CPPFLAGS'
17285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17289 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17290 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17291 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17292 echo $ECHO_N "(cached) $ECHO_C" >&6
17294 cat >conftest.$ac_ext <<_ACEOF
17297 cat confdefs.h >>conftest.$ac_ext
17298 cat >>conftest.$ac_ext <<_ACEOF
17299 /* end confdefs.h. */
17313 rm -f conftest.$ac_objext
17314 if { (ac_try="$ac_compile"
17315 case "(($ac_try" in
17316 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17317 *) ac_try_echo
=$ac_try;;
17319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17320 (eval "$ac_compile") 2>conftest.er1
17322 grep -v '^ *+' conftest.er1
>conftest.err
17324 cat conftest.err
>&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); } && {
17327 test -z "$ac_cxx_werror_flag" ||
17328 test ! -s conftest.err
17329 } && test -s conftest.
$ac_objext; then
17330 bakefile_cv_cxx_compiler___DECCXX
=yes
17332 echo "$as_me: failed program was:" >&5
17333 sed 's/^/| /' conftest.
$ac_ext >&5
17335 bakefile_cv_cxx_compiler___DECCXX
=no
17339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17343 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17344 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17345 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17351 ac_cpp
='$CPP $CPPFLAGS'
17352 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17353 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17354 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17364 ac_cpp
='$CXXCPP $CPPFLAGS'
17365 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17366 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17367 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17369 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17370 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17371 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17372 echo $ECHO_N "(cached) $ECHO_C" >&6
17374 cat >conftest.
$ac_ext <<_ACEOF
17377 cat confdefs.h
>>conftest.
$ac_ext
17378 cat >>conftest.
$ac_ext <<_ACEOF
17379 /* end confdefs.h. */
17385 #ifndef __SUNPRO_CC
17393 rm -f conftest.
$ac_objext
17394 if { (ac_try
="$ac_compile"
17395 case "(($ac_try" in
17396 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17397 *) ac_try_echo=$ac_try;;
17399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17400 (eval "$ac_compile") 2>conftest.er1
17402 grep -v '^ *+' conftest.er1 >conftest.err
17404 cat conftest.err >&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); } && {
17407 test -z "$ac_cxx_werror_flag" ||
17408 test ! -s conftest.err
17409 } && test -s conftest.$ac_objext; then
17410 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17412 echo "$as_me: failed program was:" >&5
17413 sed 's/^/| /' conftest.$ac_ext >&5
17415 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17423 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17424 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17425 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17431 ac_cpp='$CPP $CPPFLAGS'
17432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17444 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17445 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17446 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17447 { (exit 1); exit 1; }; }
17450 if test "x$SUNCXX" != xyes; then
17451 if test -n "$ac_tool_prefix"; then
17452 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17453 set dummy ${ac_tool_prefix}ar; ac_word=$2
17454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17456 if test "${ac_cv_prog_AR+set}" = set; then
17457 echo $ECHO_N "(cached) $ECHO_C" >&6
17459 if test -n "$AR"; then
17460 ac_cv_prog_AR="$AR" # Let the user override the test.
17462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17463 for as_dir in $PATH
17466 test -z "$as_dir" && as_dir=.
17467 for ac_exec_ext in '' $ac_executable_extensions; do
17468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17469 ac_cv_prog_AR="${ac_tool_prefix}ar"
17470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17480 if test -n "$AR"; then
17481 { echo "$as_me:$LINENO: result: $AR" >&5
17482 echo "${ECHO_T}$AR" >&6; }
17484 { echo "$as_me:$LINENO: result: no" >&5
17485 echo "${ECHO_T}no" >&6; }
17490 if test -z "$ac_cv_prog_AR"; then
17492 # Extract the first word of "ar", so it can be a program name with args.
17493 set dummy ar; ac_word=$2
17494 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17496 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17497 echo $ECHO_N "(cached) $ECHO_C" >&6
17499 if test -n "$ac_ct_AR"; then
17500 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17503 for as_dir in $PATH
17506 test -z "$as_dir" && as_dir=.
17507 for ac_exec_ext in '' $ac_executable_extensions; do
17508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17509 ac_cv_prog_ac_ct_AR="ar"
17510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17519 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17520 if test -n "$ac_ct_AR"; then
17521 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17522 echo "${ECHO_T}$ac_ct_AR" >&6; }
17524 { echo "$as_me:$LINENO: result: no" >&5
17525 echo "${ECHO_T}no" >&6; }
17528 if test "x$ac_ct_AR" = x; then
17531 case $cross_compiling:$ac_tool_warned in
17533 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17534 whose name does not start with the host triplet. If you think this
17535 configuration is useful to you, please write to autoconf@gnu.org." >&5
17536 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17537 whose name does not start with the host triplet. If you think this
17538 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17539 ac_tool_warned=yes ;;
17544 AR="$ac_cv_prog_AR"
17547 if test "x$AR" = "x" ; then
17548 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17549 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17550 { (exit 1); exit 1; }; }
17554 retest_macosx_linking=no
17556 #if test "$wxUSE_MAC" = 1; then
17557 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17558 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17559 # Implicitly turn on the new --with-macosx-sdk using the default
17560 # SDK which provides the behavior this option has always had.
17561 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17562 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17563 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17564 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17565 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17566 wxUSE_MACOSX_SDK=yes
17569 # Complain to user if he specified an argument to --enable-universal_binary
17570 # and also 1) specified --with-macosx-sdk using the default (yes) or
17571 # 2) specified --with-macosx-sdk using a path or 3) specified
17572 # --without-macosx-sdk (no).
17573 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17574 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17575 See \`config.log
' for more details." >&5
17576 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17577 See \`config.log' for more details.
" >&2;}
17578 { (exit 1); exit 1; }; }
17580 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17581 # special-case the empty string because the below test simply
17582 # converts "no
" to the empty string anyway.
17583 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17584 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
17585 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
17588 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
17589 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17590 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17591 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17592 retest_macosx_linking=yes
17594 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
17595 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
17600 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
17602 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
17603 # TODO: Search for most recent SDK and use it.
17604 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
17608 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
17609 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
17610 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
17611 if ! test -d "$wxUSE_MACOSX_SDK"; then
17612 { { echo "$as_me:$LINENO: error
: not found
17613 See \
`config.log' for more details." >&5
17614 echo "$as_me: error: not found
17615 See \`config.log
' for more details." >&2;}
17616 { (exit 1); exit 1; }; }
17618 { echo "$as_me:$LINENO: result: exists" >&5
17619 echo "${ECHO_T}exists" >&6; }
17621 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17622 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17623 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17624 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17625 retest_macosx_linking=yes
17628 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17629 wxUSE_MACOSX_VERSION_MIN=
17630 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17631 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17632 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17633 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17635 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/'`
17637 # If that failed, try again with the new key
17638 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17640 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/'`
17644 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17645 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17646 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17647 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17649 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17650 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17651 wxUSE_MACOSX_VERSION_MIN=
17654 wxUSE_MACOSX_VERSION_MIN=
17658 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17659 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17660 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17661 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17662 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17663 retest_macosx_linking=yes
17666 if test "x$retest_macosx_linking" = "xyes"; then
17668 ac_cpp='$CPP $CPPFLAGS'
17669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17670 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17673 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17674 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17675 cat >conftest.$ac_ext <<_ACEOF
17678 cat confdefs.h >>conftest.$ac_ext
17679 cat >>conftest.$ac_ext <<_ACEOF
17680 /* end confdefs.h. */
17690 rm -f conftest.$ac_objext conftest$ac_exeext
17691 if { (ac_try="$ac_link"
17692 case "(($ac_try" in
17693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17694 *) ac_try_echo=$ac_try;;
17696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17697 (eval "$ac_link") 2>conftest.er1
17699 grep -v '^
*+' conftest.er1 >conftest.err
17701 cat conftest.err >&5
17702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17703 (exit $ac_status); } && {
17704 test -z "$ac_c_werror_flag" ||
17705 test ! -s conftest.err
17706 } && test -s conftest$ac_exeext &&
17707 $as_test_x conftest$ac_exeext; then
17708 { echo "$as_me:$LINENO: result: yes" >&5
17709 echo "${ECHO_T}yes" >&6; }
17711 echo "$as_me: failed program was:" >&5
17712 sed 's
/^
/| /' conftest.$ac_ext >&5
17714 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17715 See \`config.log' for more details.
" >&5
17716 echo "$as_me: error
: no. Try a different SDK
17717 See \
`config.log' for more details." >&2;}
17718 { (exit 1); exit 1; }; }; exit 1
17721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17722 conftest$ac_exeext conftest.$ac_ext
17724 ac_cpp='$CPP $CPPFLAGS'
17725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17731 ac_cpp='$CXXCPP $CPPFLAGS'
17732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17736 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17737 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17738 cat >conftest.$ac_ext <<_ACEOF
17741 cat confdefs.h >>conftest.$ac_ext
17742 cat >>conftest.$ac_ext <<_ACEOF
17743 /* end confdefs.h. */
17753 rm -f conftest.$ac_objext conftest$ac_exeext
17754 if { (ac_try="$ac_link"
17755 case "(($ac_try" in
17756 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17757 *) ac_try_echo
=$ac_try;;
17759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17760 (eval "$ac_link") 2>conftest.er1
17762 grep -v '^ *+' conftest.er1
>conftest.err
17764 cat conftest.err
>&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); } && {
17767 test -z "$ac_cxx_werror_flag" ||
17768 test ! -s conftest.err
17769 } && test -s conftest
$ac_exeext &&
17770 $as_test_x conftest
$ac_exeext; then
17771 { echo "$as_me:$LINENO: result: yes" >&5
17772 echo "${ECHO_T}yes" >&6; }
17774 echo "$as_me: failed program was:" >&5
17775 sed 's/^/| /' conftest.
$ac_ext >&5
17777 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17778 See \`config.log' for more details." >&5
17779 echo "$as_me: error: no. Try a different SDK
17780 See \`config.log' for more details." >&2;}
17781 { (exit 1); exit 1; }; }; exit 1
17784 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17785 conftest
$ac_exeext conftest.
$ac_ext
17787 ac_cpp
='$CPP $CPPFLAGS'
17788 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17789 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17790 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17798 INSTALL_PROGRAM
="cp -fp"
17799 INSTALL_DATA
="cp -fp"
17806 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17807 CXXFLAGS
="-qunique $CXXFLAGS"
17811 powerpc
-*-darwin* )
17812 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17813 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17814 cat >conftest.
$ac_ext <<_ACEOF
17817 cat confdefs.h
>>conftest.
$ac_ext
17818 cat >>conftest.
$ac_ext <<_ACEOF
17819 /* end confdefs.h. */
17824 #ifndef __POWERPC__
17825 choke me for lack of PowerPC
17832 rm -f conftest.
$ac_objext
17833 if { (ac_try
="$ac_compile"
17834 case "(($ac_try" in
17835 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17836 *) ac_try_echo=$ac_try;;
17838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17839 (eval "$ac_compile") 2>conftest.er1
17841 grep -v '^ *+' conftest.er1 >conftest.err
17843 cat conftest.err >&5
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); } && {
17846 test -z "$ac_c_werror_flag" ||
17847 test ! -s conftest.err
17848 } && test -s conftest.$ac_objext; then
17849 { echo "$as_me:$LINENO: result: yes" >&5
17850 echo "${ECHO_T}yes" >&6; }
17852 echo "$as_me: failed program was:" >&5
17853 sed 's/^/| /' conftest.$ac_ext >&5
17855 { echo "$as_me:$LINENO: result: no" >&5
17856 echo "${ECHO_T}no" >&6; }
17857 cat >>confdefs.h <<\_ACEOF
17858 #define __POWERPC__ 1
17864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17870 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17871 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17872 cat >conftest.$ac_ext <<_ACEOF
17875 cat confdefs.h >>conftest.$ac_ext
17876 cat >>conftest.$ac_ext <<_ACEOF
17877 /* end confdefs.h. */
17878 #include <CoreFoundation/CFBase.h>
17888 rm -f conftest.$ac_objext
17889 if { (ac_try="$ac_compile"
17890 case "(($ac_try" in
17891 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17892 *) ac_try_echo
=$ac_try;;
17894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17895 (eval "$ac_compile") 2>conftest.er1
17897 grep -v '^ *+' conftest.er1
>conftest.err
17899 cat conftest.err
>&5
17900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17901 (exit $ac_status); } && {
17902 test -z "$ac_c_werror_flag" ||
17903 test ! -s conftest.err
17904 } && test -s conftest.
$ac_objext; then
17905 { echo "$as_me:$LINENO: result: yes" >&5
17906 echo "${ECHO_T}yes" >&6; }
17908 echo "$as_me: failed program was:" >&5
17909 sed 's/^/| /' conftest.
$ac_ext >&5
17911 { echo "$as_me:$LINENO: result: no" >&5
17912 echo "${ECHO_T}no" >&6; }
17913 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17914 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17915 cat >conftest.
$ac_ext <<_ACEOF
17918 cat confdefs.h
>>conftest.
$ac_ext
17919 cat >>conftest.
$ac_ext <<_ACEOF
17920 /* end confdefs.h. */
17921 #define __CF_USE_FRAMEWORK_INCLUDES__
17922 #include <CoreFoundation/CFBase.h>
17932 rm -f conftest.
$ac_objext
17933 if { (ac_try
="$ac_compile"
17934 case "(($ac_try" in
17935 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17936 *) ac_try_echo=$ac_try;;
17938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17939 (eval "$ac_compile") 2>conftest.er1
17941 grep -v '^ *+' conftest.er1 >conftest.err
17943 cat conftest.err >&5
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); } && {
17946 test -z "$ac_c_werror_flag" ||
17947 test ! -s conftest.err
17948 } && test -s conftest.$ac_objext; then
17949 { echo "$as_me:$LINENO: result: yes" >&5
17950 echo "${ECHO_T}yes" >&6; }
17951 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17953 echo "$as_me: failed program was:" >&5
17954 sed 's/^/| /' conftest.$ac_ext >&5
17956 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17957 See \`config.log
' for more details." >&5
17958 echo "$as_me: error: no. CoreFoundation not available.
17959 See \`config.log' for more details.
" >&2;}
17960 { (exit 1); exit 1; }; }
17964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17974 doesnt_want_win32=0
17977 if test "$wxUSE_MSW" = 1 ; then
17980 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
17981 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
17982 if test "${wx_cv_nocygwin+set}" = set; then
17983 echo $ECHO_N "(cached
) $ECHO_C" >&6
17986 cat >conftest.$ac_ext <<_ACEOF
17989 cat confdefs.h >>conftest.$ac_ext
17990 cat >>conftest.$ac_ext <<_ACEOF
17991 /* end confdefs.h. */
18005 rm -f conftest.$ac_objext
18006 if { (ac_try="$ac_compile"
18007 case "(($ac_try" in
18008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18009 *) ac_try_echo=$ac_try;;
18011 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18012 (eval "$ac_compile") 2>conftest.er1
18014 grep -v '^ *+' conftest.er1 >conftest.err
18016 cat conftest.err >&5
18017 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18018 (exit $ac_status); } && {
18019 test -z "$ac_c_werror_flag" ||
18020 test ! -s conftest.err
18021 } && test -s conftest.$ac_objext; then
18024 echo "$as_me: failed program was
:" >&5
18025 sed 's/^/| /' conftest.$ac_ext >&5
18031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18035 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18036 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18038 if test "$wx_cv_nocygwin" = "yes"; then
18041 doesnt_want_win32=1
18044 if test "$wants_win32" = 1 ; then
18045 BAKEFILE_FORCE_PLATFORM=win32
18053 if test "$wxUSE_WINE" = "yes"; then
18055 LDFLAGS_GUI="-mwindows"
18058 if test "$wants_win32" = 1 ; then
18061 cat >>confdefs.h <<\_ACEOF
18062 #define __WIN32__ 1
18065 cat >>confdefs.h <<\_ACEOF
18066 #define __WIN95__ 1
18069 cat >>confdefs.h <<\_ACEOF
18070 #define __WINDOWS__ 1
18073 cat >>confdefs.h <<\_ACEOF
18074 #define __GNUWIN32__ 1
18077 cat >>confdefs.h <<\_ACEOF
18082 if test "$doesnt_want_win32" = 1 ; then
18087 if test "$USE_UNIX" = 1 ; then
18089 cat >>confdefs.h <<\_ACEOF
18096 *-pc-os2_emx | *-pc-os2-emx )
18097 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18098 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18099 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18100 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18101 echo $ECHO_N "(cached
) $ECHO_C" >&6
18103 ac_check_lib_save_LIBS=$LIBS
18104 LIBS="-lcExt $LIBS"
18105 cat >conftest.$ac_ext <<_ACEOF
18108 cat confdefs.h >>conftest.$ac_ext
18109 cat >>conftest.$ac_ext <<_ACEOF
18110 /* end confdefs.h. */
18112 /* Override any GCC internal prototype to avoid an error.
18113 Use char because int might match the return type of a GCC
18114 builtin and then its argument prototype would still apply. */
18127 rm -f conftest.$ac_objext conftest$ac_exeext
18128 if { (ac_try="$ac_link"
18129 case "(($ac_try" in
18130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18131 *) ac_try_echo=$ac_try;;
18133 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18134 (eval "$ac_link") 2>conftest.er1
18136 grep -v '^ *+' conftest.er1 >conftest.err
18138 cat conftest.err >&5
18139 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18140 (exit $ac_status); } && {
18141 test -z "$ac_c_werror_flag" ||
18142 test ! -s conftest.err
18143 } && test -s conftest$ac_exeext &&
18144 $as_test_x conftest$ac_exeext; then
18145 ac_cv_lib_cExt_drand48=yes
18147 echo "$as_me: failed program was
:" >&5
18148 sed 's/^/| /' conftest.$ac_ext >&5
18150 ac_cv_lib_cExt_drand48=no
18153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18154 conftest$ac_exeext conftest.$ac_ext
18155 LIBS=$ac_check_lib_save_LIBS
18157 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18158 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18159 if test $ac_cv_lib_cExt_drand48 = yes; then
18160 LIBS="$LIBS -lcExt"
18164 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18166 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18167 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18168 if test "${wx_cv_gccversion+set}" = set; then
18169 echo $ECHO_N "(cached
) $ECHO_C" >&6
18172 if test "$cross_compiling" = yes; then
18173 wx_cv_gccversion="EMX2
"
18176 cat >conftest.$ac_ext <<_ACEOF
18179 cat confdefs.h >>conftest.$ac_ext
18180 cat >>conftest.$ac_ext <<_ACEOF
18181 /* end confdefs.h. */
18187 FILE *f=fopen("conftestval
", "w
");
18192 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18194 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18204 rm -f conftest$ac_exeext
18205 if { (ac_try="$ac_link"
18206 case "(($ac_try" in
18207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18208 *) ac_try_echo=$ac_try;;
18210 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18211 (eval "$ac_link") 2>&5
18213 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18214 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18215 { (case "(($ac_try" in
18216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18217 *) ac_try_echo=$ac_try;;
18219 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18220 (eval "$ac_try") 2>&5
18222 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18223 (exit $ac_status); }; }; then
18224 wx_cv_gccversion=`cat conftestval`
18226 echo "$as_me: program exited with status
$ac_status" >&5
18227 echo "$as_me: failed program was
:" >&5
18228 sed 's/^/| /' conftest.$ac_ext >&5
18230 ( exit $ac_status )
18231 wx_cv_gccversion="EMX2
"
18233 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18239 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18240 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18241 if test "$wx_cv_gccversion" = "EMX2
"; then
18242 LIBS="$LIBS -lstdcpp"
18243 LDFLAGS="$LDFLAGS -Zsysv-signals"
18245 if test "$wx_cv_gccversion" = "EMX3
"; then
18246 LIBS="$LIBS -lstdcxx -lgcc"
18247 LDFLAGS="$LDFLAGS -Zsysv-signals"
18249 LIBS="$LIBS -lstdc++"
18252 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18253 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18254 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18261 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18262 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18263 if test "${ac_cv_string_strcasecmp+set}" = set; then
18264 echo $ECHO_N "(cached
) $ECHO_C" >&6
18267 cat >conftest.$ac_ext <<_ACEOF
18270 cat confdefs.h >>conftest.$ac_ext
18271 cat >>conftest.$ac_ext <<_ACEOF
18272 /* end confdefs.h. */
18274 #include <string.h>
18280 strcasecmp("foo
", "bar
");
18286 rm -f conftest.$ac_objext conftest$ac_exeext
18287 if { (ac_try="$ac_link"
18288 case "(($ac_try" in
18289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18290 *) ac_try_echo=$ac_try;;
18292 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18293 (eval "$ac_link") 2>conftest.er1
18295 grep -v '^ *+' conftest.er1 >conftest.err
18297 cat conftest.err >&5
18298 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18299 (exit $ac_status); } && {
18300 test -z "$ac_c_werror_flag" ||
18301 test ! -s conftest.err
18302 } && test -s conftest$ac_exeext &&
18303 $as_test_x conftest$ac_exeext; then
18304 ac_cv_string_strcasecmp=yes
18306 echo "$as_me: failed program was
:" >&5
18307 sed 's/^/| /' conftest.$ac_ext >&5
18309 ac_cv_string_strcasecmp=no
18313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18314 conftest$ac_exeext conftest.$ac_ext
18317 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18318 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18320 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18321 cat >>confdefs.h <<\_ACEOF
18322 #define HAVE_STRCASECMP_IN_STRING_H 1
18326 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18327 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18328 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18329 echo $ECHO_N "(cached
) $ECHO_C" >&6
18332 cat >conftest.$ac_ext <<_ACEOF
18335 cat confdefs.h >>conftest.$ac_ext
18336 cat >>conftest.$ac_ext <<_ACEOF
18337 /* end confdefs.h. */
18339 #include <strings.h>
18345 strcasecmp("foo
", "bar
");
18351 rm -f conftest.$ac_objext conftest$ac_exeext
18352 if { (ac_try="$ac_link"
18353 case "(($ac_try" in
18354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18355 *) ac_try_echo=$ac_try;;
18357 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18358 (eval "$ac_link") 2>conftest.er1
18360 grep -v '^ *+' conftest.er1 >conftest.err
18362 cat conftest.err >&5
18363 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18364 (exit $ac_status); } && {
18365 test -z "$ac_c_werror_flag" ||
18366 test ! -s conftest.err
18367 } && test -s conftest$ac_exeext &&
18368 $as_test_x conftest$ac_exeext; then
18369 ac_cv_strings_strcasecmp=yes
18371 echo "$as_me: failed program was
:" >&5
18372 sed 's/^/| /' conftest.$ac_ext >&5
18374 ac_cv_strings_strcasecmp=no
18378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18379 conftest$ac_exeext conftest.$ac_ext
18382 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18383 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18385 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18386 cat >>confdefs.h <<\_ACEOF
18387 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18391 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18392 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18393 { (exit 1); exit 1; }; }
18401 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18402 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18403 if test "${ac_cv_header_stdc+set}" = set; then
18404 echo $ECHO_N "(cached
) $ECHO_C" >&6
18406 cat >conftest.$ac_ext <<_ACEOF
18409 cat confdefs.h >>conftest.$ac_ext
18410 cat >>conftest.$ac_ext <<_ACEOF
18411 /* end confdefs.h. */
18412 #include <stdlib.h>
18413 #include <stdarg.h>
18414 #include <string.h>
18425 rm -f conftest.$ac_objext
18426 if { (ac_try="$ac_compile"
18427 case "(($ac_try" in
18428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18429 *) ac_try_echo=$ac_try;;
18431 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18432 (eval "$ac_compile") 2>conftest.er1
18434 grep -v '^ *+' conftest.er1 >conftest.err
18436 cat conftest.err >&5
18437 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18438 (exit $ac_status); } && {
18439 test -z "$ac_c_werror_flag" ||
18440 test ! -s conftest.err
18441 } && test -s conftest.$ac_objext; then
18442 ac_cv_header_stdc=yes
18444 echo "$as_me: failed program was
:" >&5
18445 sed 's/^/| /' conftest.$ac_ext >&5
18447 ac_cv_header_stdc=no
18450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18452 if test $ac_cv_header_stdc = yes; then
18453 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18454 cat >conftest.$ac_ext <<_ACEOF
18457 cat confdefs.h >>conftest.$ac_ext
18458 cat >>conftest.$ac_ext <<_ACEOF
18459 /* end confdefs.h. */
18460 #include <string.h>
18463 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18464 $EGREP "memchr
" >/dev/null 2>&1; then
18467 ac_cv_header_stdc=no
18473 if test $ac_cv_header_stdc = yes; then
18474 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18475 cat >conftest.$ac_ext <<_ACEOF
18478 cat confdefs.h >>conftest.$ac_ext
18479 cat >>conftest.$ac_ext <<_ACEOF
18480 /* end confdefs.h. */
18481 #include <stdlib.h>
18484 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18485 $EGREP "free
" >/dev/null 2>&1; then
18488 ac_cv_header_stdc=no
18494 if test $ac_cv_header_stdc = yes; then
18495 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18496 if test "$cross_compiling" = yes; then
18499 cat >conftest.$ac_ext <<_ACEOF
18502 cat confdefs.h >>conftest.$ac_ext
18503 cat >>conftest.$ac_ext <<_ACEOF
18504 /* end confdefs.h. */
18506 #include <stdlib.h>
18507 #if ((' ' & 0x0FF) == 0x020)
18508 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18509 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18511 # define ISLOWER(c) \
18512 (('a' <= (c) && (c) <= 'i') \
18513 || ('j' <= (c) && (c) <= 'r') \
18514 || ('s' <= (c) && (c) <= 'z'))
18515 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18518 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18523 for (i = 0; i < 256; i++)
18524 if (XOR (islower (i), ISLOWER (i))
18525 || toupper (i) != TOUPPER (i))
18530 rm -f conftest$ac_exeext
18531 if { (ac_try="$ac_link"
18532 case "(($ac_try" in
18533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18534 *) ac_try_echo=$ac_try;;
18536 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18537 (eval "$ac_link") 2>&5
18539 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18540 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18541 { (case "(($ac_try" in
18542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18543 *) ac_try_echo=$ac_try;;
18545 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18546 (eval "$ac_try") 2>&5
18548 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18549 (exit $ac_status); }; }; then
18552 echo "$as_me: program exited with status
$ac_status" >&5
18553 echo "$as_me: failed program was
:" >&5
18554 sed 's/^/| /' conftest.$ac_ext >&5
18556 ( exit $ac_status )
18557 ac_cv_header_stdc=no
18559 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18565 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
18566 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18567 if test $ac_cv_header_stdc = yes; then
18569 cat >>confdefs.h <<\_ACEOF
18570 #define STDC_HEADERS 1
18575 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18585 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18586 inttypes.h stdint.h unistd.h
18588 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18589 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18590 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18591 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18592 echo $ECHO_N "(cached
) $ECHO_C" >&6
18594 cat >conftest.$ac_ext <<_ACEOF
18597 cat confdefs.h >>conftest.$ac_ext
18598 cat >>conftest.$ac_ext <<_ACEOF
18599 /* end confdefs.h. */
18600 $ac_includes_default
18602 #include <$ac_header>
18604 rm -f conftest.$ac_objext
18605 if { (ac_try="$ac_compile"
18606 case "(($ac_try" in
18607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18608 *) ac_try_echo=$ac_try;;
18610 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18611 (eval "$ac_compile") 2>conftest.er1
18613 grep -v '^ *+' conftest.er1 >conftest.err
18615 cat conftest.err >&5
18616 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18617 (exit $ac_status); } && {
18618 test -z "$ac_c_werror_flag" ||
18619 test ! -s conftest.err
18620 } && test -s conftest.$ac_objext; then
18621 eval "$as_ac_Header=yes"
18623 echo "$as_me: failed program was
:" >&5
18624 sed 's/^/| /' conftest.$ac_ext >&5
18626 eval "$as_ac_Header=no
"
18629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18631 ac_res=`eval echo '${'$as_ac_Header'}'`
18632 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18633 echo "${ECHO_T}$ac_res" >&6; }
18634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18635 cat >>confdefs.h <<_ACEOF
18636 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18646 for ac_header in langinfo.h wchar.h
18648 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18649 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18650 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18651 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18652 echo $ECHO_N "(cached
) $ECHO_C" >&6
18654 cat >conftest.$ac_ext <<_ACEOF
18657 cat confdefs.h >>conftest.$ac_ext
18658 cat >>conftest.$ac_ext <<_ACEOF
18659 /* end confdefs.h. */
18660 $ac_includes_default
18662 #include <$ac_header>
18664 rm -f conftest.$ac_objext
18665 if { (ac_try="$ac_compile"
18666 case "(($ac_try" in
18667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18668 *) ac_try_echo=$ac_try;;
18670 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18671 (eval "$ac_compile") 2>conftest.er1
18673 grep -v '^ *+' conftest.er1 >conftest.err
18675 cat conftest.err >&5
18676 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18677 (exit $ac_status); } && {
18678 test -z "$ac_c_werror_flag" ||
18679 test ! -s conftest.err
18680 } && test -s conftest.$ac_objext; then
18681 eval "$as_ac_Header=yes"
18683 echo "$as_me: failed program was
:" >&5
18684 sed 's/^/| /' conftest.$ac_ext >&5
18686 eval "$as_ac_Header=no
"
18689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18691 ac_res=`eval echo '${'$as_ac_Header'}'`
18692 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18693 echo "${ECHO_T}$ac_res" >&6; }
18694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18695 cat >>confdefs.h <<_ACEOF
18696 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18704 if test "$ac_cv_header_wchar_h" != "yes"; then
18706 for ac_header in wcstr.h
18708 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18709 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18710 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18711 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18712 echo $ECHO_N "(cached
) $ECHO_C" >&6
18714 cat >conftest.$ac_ext <<_ACEOF
18717 cat confdefs.h >>conftest.$ac_ext
18718 cat >>conftest.$ac_ext <<_ACEOF
18719 /* end confdefs.h. */
18720 $ac_includes_default
18722 #include <$ac_header>
18724 rm -f conftest.$ac_objext
18725 if { (ac_try="$ac_compile"
18726 case "(($ac_try" in
18727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18728 *) ac_try_echo=$ac_try;;
18730 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18731 (eval "$ac_compile") 2>conftest.er1
18733 grep -v '^ *+' conftest.er1 >conftest.err
18735 cat conftest.err >&5
18736 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18737 (exit $ac_status); } && {
18738 test -z "$ac_c_werror_flag" ||
18739 test ! -s conftest.err
18740 } && test -s conftest.$ac_objext; then
18741 eval "$as_ac_Header=yes"
18743 echo "$as_me: failed program was
:" >&5
18744 sed 's/^/| /' conftest.$ac_ext >&5
18746 eval "$as_ac_Header=no
"
18749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18751 ac_res=`eval echo '${'$as_ac_Header'}'`
18752 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18753 echo "${ECHO_T}$ac_res" >&6; }
18754 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18755 cat >>confdefs.h <<_ACEOF
18756 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18766 *-pc-os2_emx | *-pc-os2-emx )
18767 if test $ac_cv_header_langinfo_h = "yes" \
18768 -a \( "$wx_cv_gccversion" = "EMX2
" \
18769 -o "$wx_cv_gccversion" = "EMX3
" \
18770 -o "$wx_cv_gccversion" = "Innotek5
" \); then
18771 LIBS="$LIBS -lintl"
18776 if test "$USE_UNIX" = 1 ; then
18778 for ac_header in sys/select.h
18780 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18781 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18782 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18783 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18784 echo $ECHO_N "(cached
) $ECHO_C" >&6
18786 cat >conftest.$ac_ext <<_ACEOF
18789 cat confdefs.h >>conftest.$ac_ext
18790 cat >>conftest.$ac_ext <<_ACEOF
18791 /* end confdefs.h. */
18792 $ac_includes_default
18794 #include <$ac_header>
18796 rm -f conftest.$ac_objext
18797 if { (ac_try="$ac_compile"
18798 case "(($ac_try" in
18799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18800 *) ac_try_echo=$ac_try;;
18802 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18803 (eval "$ac_compile") 2>conftest.er1
18805 grep -v '^ *+' conftest.er1 >conftest.err
18807 cat conftest.err >&5
18808 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18809 (exit $ac_status); } && {
18810 test -z "$ac_c_werror_flag" ||
18811 test ! -s conftest.err
18812 } && test -s conftest.$ac_objext; then
18813 eval "$as_ac_Header=yes"
18815 echo "$as_me: failed program was
:" >&5
18816 sed 's/^/| /' conftest.$ac_ext >&5
18818 eval "$as_ac_Header=no
"
18821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18823 ac_res=`eval echo '${'$as_ac_Header'}'`
18824 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18825 echo "${ECHO_T}$ac_res" >&6; }
18826 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18827 cat >>confdefs.h <<_ACEOF
18828 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18838 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
18839 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
18840 if test "${ac_cv_c_const+set}" = set; then
18841 echo $ECHO_N "(cached
) $ECHO_C" >&6
18843 cat >conftest.$ac_ext <<_ACEOF
18846 cat confdefs.h >>conftest.$ac_ext
18847 cat >>conftest.$ac_ext <<_ACEOF
18848 /* end confdefs.h. */
18853 /* FIXME: Include the comments suggested by Paul. */
18854 #ifndef __cplusplus
18855 /* Ultrix mips cc rejects this. */
18856 typedef int charset[2];
18858 /* SunOS 4.1.1 cc rejects this. */
18859 char const *const *pcpcc;
18861 /* NEC SVR4.0.2 mips cc rejects this. */
18862 struct point {int x, y;};
18863 static struct point const zero = {0,0};
18864 /* AIX XL C 1.02.0.0 rejects this.
18865 It does not let you subtract one const X* pointer from another in
18866 an arm of an if-expression whose if-part is not a constant
18868 const char *g = "string
";
18869 pcpcc = &g + (g ? g-g : 0);
18870 /* HPUX 7.0 cc rejects these. */
18872 ppc = (char**) pcpcc;
18873 pcpcc = (char const *const *) ppc;
18874 { /* SCO 3.2v4 cc rejects this. */
18876 char const *s = 0 ? (char *) 0 : (char const *) 0;
18881 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18882 int x[] = {25, 17};
18883 const int *foo = &x[0];
18886 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18887 typedef const int *iptr;
18891 { /* AIX XL C 1.02.0.0 rejects this saying
18892 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18893 struct s { int j; const int *ap[3]; };
18894 struct s *b; b->j = 5;
18896 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18897 const int foo = 10;
18898 if (!foo) return 0;
18900 return !cs[0] && !zero.x;
18907 rm -f conftest.$ac_objext
18908 if { (ac_try="$ac_compile"
18909 case "(($ac_try" in
18910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18911 *) ac_try_echo=$ac_try;;
18913 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18914 (eval "$ac_compile") 2>conftest.er1
18916 grep -v '^ *+' conftest.er1 >conftest.err
18918 cat conftest.err >&5
18919 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18920 (exit $ac_status); } && {
18921 test -z "$ac_c_werror_flag" ||
18922 test ! -s conftest.err
18923 } && test -s conftest.$ac_objext; then
18926 echo "$as_me: failed program was
:" >&5
18927 sed 's/^/| /' conftest.$ac_ext >&5
18932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18934 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
18935 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18936 if test $ac_cv_c_const = no; then
18938 cat >>confdefs.h <<\_ACEOF
18944 { echo "$as_me:$LINENO: checking
for inline
" >&5
18945 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
18946 if test "${ac_cv_c_inline+set}" = set; then
18947 echo $ECHO_N "(cached
) $ECHO_C" >&6
18950 for ac_kw in inline __inline__ __inline; do
18951 cat >conftest.$ac_ext <<_ACEOF
18954 cat confdefs.h >>conftest.$ac_ext
18955 cat >>conftest.$ac_ext <<_ACEOF
18956 /* end confdefs.h. */
18957 #ifndef __cplusplus
18959 static $ac_kw foo_t static_foo () {return 0; }
18960 $ac_kw foo_t foo () {return 0; }
18964 rm -f conftest.$ac_objext
18965 if { (ac_try="$ac_compile"
18966 case "(($ac_try" in
18967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18968 *) ac_try_echo=$ac_try;;
18970 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18971 (eval "$ac_compile") 2>conftest.er1
18973 grep -v '^ *+' conftest.er1 >conftest.err
18975 cat conftest.err >&5
18976 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18977 (exit $ac_status); } && {
18978 test -z "$ac_c_werror_flag" ||
18979 test ! -s conftest.err
18980 } && test -s conftest.$ac_objext; then
18981 ac_cv_c_inline=$ac_kw
18983 echo "$as_me: failed program was
:" >&5
18984 sed 's/^/| /' conftest.$ac_ext >&5
18989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18990 test "$ac_cv_c_inline" != no && break
18994 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
18995 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18998 case $ac_cv_c_inline in
19001 case $ac_cv_c_inline in
19003 *) ac_val=$ac_cv_c_inline;;
19005 cat >>confdefs.h <<_ACEOF
19006 #ifndef __cplusplus
19007 #define inline $ac_val
19014 { echo "$as_me:$LINENO: checking
for short
" >&5
19015 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19016 if test "${ac_cv_type_short+set}" = set; then
19017 echo $ECHO_N "(cached
) $ECHO_C" >&6
19019 cat >conftest.$ac_ext <<_ACEOF
19022 cat confdefs.h >>conftest.$ac_ext
19023 cat >>conftest.$ac_ext <<_ACEOF
19024 /* end confdefs.h. */
19025 $ac_includes_default
19026 typedef short ac__type_new_;
19030 if ((ac__type_new_ *) 0)
19032 if (sizeof (ac__type_new_))
19038 rm -f conftest.$ac_objext
19039 if { (ac_try="$ac_compile"
19040 case "(($ac_try" in
19041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19042 *) ac_try_echo=$ac_try;;
19044 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19045 (eval "$ac_compile") 2>conftest.er1
19047 grep -v '^ *+' conftest.er1 >conftest.err
19049 cat conftest.err >&5
19050 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19051 (exit $ac_status); } && {
19052 test -z "$ac_c_werror_flag" ||
19053 test ! -s conftest.err
19054 } && test -s conftest.$ac_objext; then
19055 ac_cv_type_short=yes
19057 echo "$as_me: failed program was
:" >&5
19058 sed 's/^/| /' conftest.$ac_ext >&5
19060 ac_cv_type_short=no
19063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19065 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19066 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19068 # The cast to long int works around a bug in the HP C Compiler
19069 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19070 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19071 # This bug is HP SR number 8606223364.
19072 { echo "$as_me:$LINENO: checking size of short
" >&5
19073 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19074 if test "${ac_cv_sizeof_short+set}" = set; then
19075 echo $ECHO_N "(cached
) $ECHO_C" >&6
19077 if test "$cross_compiling" = yes; then
19078 # Depending upon the size, compute the lo and hi bounds.
19079 cat >conftest.$ac_ext <<_ACEOF
19082 cat confdefs.h >>conftest.$ac_ext
19083 cat >>conftest.$ac_ext <<_ACEOF
19084 /* end confdefs.h. */
19085 $ac_includes_default
19086 typedef short ac__type_sizeof_;
19090 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19097 rm -f conftest.$ac_objext
19098 if { (ac_try="$ac_compile"
19099 case "(($ac_try" in
19100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19101 *) ac_try_echo=$ac_try;;
19103 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19104 (eval "$ac_compile") 2>conftest.er1
19106 grep -v '^ *+' conftest.er1 >conftest.err
19108 cat conftest.err >&5
19109 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19110 (exit $ac_status); } && {
19111 test -z "$ac_c_werror_flag" ||
19112 test ! -s conftest.err
19113 } && test -s conftest.$ac_objext; then
19116 cat >conftest.$ac_ext <<_ACEOF
19119 cat confdefs.h >>conftest.$ac_ext
19120 cat >>conftest.$ac_ext <<_ACEOF
19121 /* end confdefs.h. */
19122 $ac_includes_default
19123 typedef short ac__type_sizeof_;
19127 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19134 rm -f conftest.$ac_objext
19135 if { (ac_try="$ac_compile"
19136 case "(($ac_try" in
19137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19138 *) ac_try_echo=$ac_try;;
19140 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19141 (eval "$ac_compile") 2>conftest.er1
19143 grep -v '^ *+' conftest.er1 >conftest.err
19145 cat conftest.err >&5
19146 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19147 (exit $ac_status); } && {
19148 test -z "$ac_c_werror_flag" ||
19149 test ! -s conftest.err
19150 } && test -s conftest.$ac_objext; then
19151 ac_hi=$ac_mid; break
19153 echo "$as_me: failed program was
:" >&5
19154 sed 's/^/| /' conftest.$ac_ext >&5
19156 ac_lo=`expr $ac_mid + 1`
19157 if test $ac_lo -le $ac_mid; then
19161 ac_mid=`expr 2 '*' $ac_mid + 1`
19164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19167 echo "$as_me: failed program was
:" >&5
19168 sed 's/^/| /' conftest.$ac_ext >&5
19170 cat >conftest.$ac_ext <<_ACEOF
19173 cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19176 $ac_includes_default
19177 typedef short ac__type_sizeof_;
19181 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19188 rm -f conftest.$ac_objext
19189 if { (ac_try="$ac_compile"
19190 case "(($ac_try" in
19191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19192 *) ac_try_echo=$ac_try;;
19194 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19195 (eval "$ac_compile") 2>conftest.er1
19197 grep -v '^ *+' conftest.er1 >conftest.err
19199 cat conftest.err >&5
19200 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19201 (exit $ac_status); } && {
19202 test -z "$ac_c_werror_flag" ||
19203 test ! -s conftest.err
19204 } && test -s conftest.$ac_objext; then
19207 cat >conftest.$ac_ext <<_ACEOF
19210 cat confdefs.h >>conftest.$ac_ext
19211 cat >>conftest.$ac_ext <<_ACEOF
19212 /* end confdefs.h. */
19213 $ac_includes_default
19214 typedef short ac__type_sizeof_;
19218 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19225 rm -f conftest.$ac_objext
19226 if { (ac_try="$ac_compile"
19227 case "(($ac_try" in
19228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19229 *) ac_try_echo=$ac_try;;
19231 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19232 (eval "$ac_compile") 2>conftest.er1
19234 grep -v '^ *+' conftest.er1 >conftest.err
19236 cat conftest.err >&5
19237 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19238 (exit $ac_status); } && {
19239 test -z "$ac_c_werror_flag" ||
19240 test ! -s conftest.err
19241 } && test -s conftest.$ac_objext; then
19242 ac_lo=$ac_mid; break
19244 echo "$as_me: failed program was
:" >&5
19245 sed 's/^/| /' conftest.$ac_ext >&5
19247 ac_hi=`expr '(' $ac_mid ')' - 1`
19248 if test $ac_mid -le $ac_hi; then
19252 ac_mid=`expr 2 '*' $ac_mid`
19255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19258 echo "$as_me: failed program was
:" >&5
19259 sed 's/^/| /' conftest.$ac_ext >&5
19264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19268 # Binary search between lo and hi bounds.
19269 while test "x
$ac_lo" != "x
$ac_hi"; do
19270 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19271 cat >conftest.$ac_ext <<_ACEOF
19274 cat confdefs.h >>conftest.$ac_ext
19275 cat >>conftest.$ac_ext <<_ACEOF
19276 /* end confdefs.h. */
19277 $ac_includes_default
19278 typedef short ac__type_sizeof_;
19282 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19289 rm -f conftest.$ac_objext
19290 if { (ac_try="$ac_compile"
19291 case "(($ac_try" in
19292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19293 *) ac_try_echo=$ac_try;;
19295 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19296 (eval "$ac_compile") 2>conftest.er1
19298 grep -v '^ *+' conftest.er1 >conftest.err
19300 cat conftest.err >&5
19301 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19302 (exit $ac_status); } && {
19303 test -z "$ac_c_werror_flag" ||
19304 test ! -s conftest.err
19305 } && test -s conftest.$ac_objext; then
19308 echo "$as_me: failed program was
:" >&5
19309 sed 's/^/| /' conftest.$ac_ext >&5
19311 ac_lo=`expr '(' $ac_mid ')' + 1`
19314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19317 ?*) ac_cv_sizeof_short=$ac_lo;;
19318 '') if test "$ac_cv_type_short" = yes; then
19319 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19320 See \
`config.log' for more details." >&5
19321 echo "$as_me: error: cannot compute sizeof (short)
19322 See \`config.log
' for more details." >&2;}
19323 { (exit 77); exit 77; }; }
19325 ac_cv_sizeof_short=0
19329 cat >conftest.$ac_ext <<_ACEOF
19332 cat confdefs.h >>conftest.$ac_ext
19333 cat >>conftest.$ac_ext <<_ACEOF
19334 /* end confdefs.h. */
19335 $ac_includes_default
19336 typedef short ac__type_sizeof_;
19337 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19338 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19340 #include <stdlib.h>
19345 FILE *f = fopen ("conftest.val", "w");
19348 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19350 long int i = longval ();
19351 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19353 fprintf (f, "%ld\n", i);
19357 unsigned long int i = ulongval ();
19358 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19360 fprintf (f, "%lu\n", i);
19362 return ferror (f) || fclose (f) != 0;
19368 rm -f conftest$ac_exeext
19369 if { (ac_try="$ac_link"
19370 case "(($ac_try" in
19371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19372 *) ac_try_echo=$ac_try;;
19374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19375 (eval "$ac_link") 2>&5
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19379 { (case "(($ac_try" in
19380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19381 *) ac_try_echo=$ac_try;;
19383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19384 (eval "$ac_try") 2>&5
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); }; }; then
19388 ac_cv_sizeof_short=`cat conftest.val`
19390 echo "$as_me: program exited with status $ac_status" >&5
19391 echo "$as_me: failed program was:" >&5
19392 sed 's
/^
/| /' conftest.$ac_ext >&5
19394 ( exit $ac_status )
19395 if test "$ac_cv_type_short" = yes; then
19396 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19397 See \`config.log' for more details.
" >&5
19398 echo "$as_me: error
: cannot compute sizeof
(short
)
19399 See \
`config.log' for more details." >&2;}
19400 { (exit 77); exit 77; }; }
19402 ac_cv_sizeof_short=0
19405 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19409 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19410 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19414 cat >>confdefs.h <<_ACEOF
19415 #define SIZEOF_SHORT $ac_cv_sizeof_short
19419 { echo "$as_me:$LINENO: checking for void *" >&5
19420 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19421 if test "${ac_cv_type_void_p+set}" = set; then
19422 echo $ECHO_N "(cached) $ECHO_C" >&6
19424 cat >conftest.$ac_ext <<_ACEOF
19427 cat confdefs.h >>conftest.$ac_ext
19428 cat >>conftest.$ac_ext <<_ACEOF
19429 /* end confdefs.h. */
19430 $ac_includes_default
19431 typedef void * ac__type_new_;
19435 if ((ac__type_new_ *) 0)
19437 if (sizeof (ac__type_new_))
19443 rm -f conftest.$ac_objext
19444 if { (ac_try="$ac_compile"
19445 case "(($ac_try" in
19446 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19447 *) ac_try_echo
=$ac_try;;
19449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19450 (eval "$ac_compile") 2>conftest.er1
19452 grep -v '^ *+' conftest.er1
>conftest.err
19454 cat conftest.err
>&5
19455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19456 (exit $ac_status); } && {
19457 test -z "$ac_c_werror_flag" ||
19458 test ! -s conftest.err
19459 } && test -s conftest.
$ac_objext; then
19460 ac_cv_type_void_p
=yes
19462 echo "$as_me: failed program was:" >&5
19463 sed 's/^/| /' conftest.
$ac_ext >&5
19465 ac_cv_type_void_p
=no
19468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19470 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19471 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19473 # The cast to long int works around a bug in the HP C Compiler
19474 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19475 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19476 # This bug is HP SR number 8606223364.
19477 { echo "$as_me:$LINENO: checking size of void *" >&5
19478 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19479 if test "${ac_cv_sizeof_void_p+set}" = set; then
19480 echo $ECHO_N "(cached) $ECHO_C" >&6
19482 if test "$cross_compiling" = yes; then
19483 # Depending upon the size, compute the lo and hi bounds.
19484 cat >conftest.
$ac_ext <<_ACEOF
19487 cat confdefs.h
>>conftest.
$ac_ext
19488 cat >>conftest.
$ac_ext <<_ACEOF
19489 /* end confdefs.h. */
19490 $ac_includes_default
19491 typedef void * ac__type_sizeof_;
19495 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19502 rm -f conftest.
$ac_objext
19503 if { (ac_try
="$ac_compile"
19504 case "(($ac_try" in
19505 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19506 *) ac_try_echo=$ac_try;;
19508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19509 (eval "$ac_compile") 2>conftest.er1
19511 grep -v '^ *+' conftest.er1 >conftest.err
19513 cat conftest.err >&5
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); } && {
19516 test -z "$ac_c_werror_flag" ||
19517 test ! -s conftest.err
19518 } && test -s conftest.$ac_objext; then
19521 cat >conftest.$ac_ext <<_ACEOF
19524 cat confdefs.h >>conftest.$ac_ext
19525 cat >>conftest.$ac_ext <<_ACEOF
19526 /* end confdefs.h. */
19527 $ac_includes_default
19528 typedef void * ac__type_sizeof_;
19532 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19539 rm -f conftest.$ac_objext
19540 if { (ac_try="$ac_compile"
19541 case "(($ac_try" in
19542 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19543 *) ac_try_echo
=$ac_try;;
19545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19546 (eval "$ac_compile") 2>conftest.er1
19548 grep -v '^ *+' conftest.er1
>conftest.err
19550 cat conftest.err
>&5
19551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19552 (exit $ac_status); } && {
19553 test -z "$ac_c_werror_flag" ||
19554 test ! -s conftest.err
19555 } && test -s conftest.
$ac_objext; then
19556 ac_hi
=$ac_mid; break
19558 echo "$as_me: failed program was:" >&5
19559 sed 's/^/| /' conftest.
$ac_ext >&5
19561 ac_lo
=`expr $ac_mid + 1`
19562 if test $ac_lo -le $ac_mid; then
19566 ac_mid
=`expr 2 '*' $ac_mid + 1`
19569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19572 echo "$as_me: failed program was:" >&5
19573 sed 's/^/| /' conftest.
$ac_ext >&5
19575 cat >conftest.
$ac_ext <<_ACEOF
19578 cat confdefs.h
>>conftest.
$ac_ext
19579 cat >>conftest.
$ac_ext <<_ACEOF
19580 /* end confdefs.h. */
19581 $ac_includes_default
19582 typedef void * ac__type_sizeof_;
19586 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19593 rm -f conftest.
$ac_objext
19594 if { (ac_try
="$ac_compile"
19595 case "(($ac_try" in
19596 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19597 *) ac_try_echo=$ac_try;;
19599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19600 (eval "$ac_compile") 2>conftest.er1
19602 grep -v '^ *+' conftest.er1 >conftest.err
19604 cat conftest.err >&5
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); } && {
19607 test -z "$ac_c_werror_flag" ||
19608 test ! -s conftest.err
19609 } && test -s conftest.$ac_objext; then
19612 cat >conftest.$ac_ext <<_ACEOF
19615 cat confdefs.h >>conftest.$ac_ext
19616 cat >>conftest.$ac_ext <<_ACEOF
19617 /* end confdefs.h. */
19618 $ac_includes_default
19619 typedef void * ac__type_sizeof_;
19623 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19630 rm -f conftest.$ac_objext
19631 if { (ac_try="$ac_compile"
19632 case "(($ac_try" in
19633 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19634 *) ac_try_echo
=$ac_try;;
19636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19637 (eval "$ac_compile") 2>conftest.er1
19639 grep -v '^ *+' conftest.er1
>conftest.err
19641 cat conftest.err
>&5
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); } && {
19644 test -z "$ac_c_werror_flag" ||
19645 test ! -s conftest.err
19646 } && test -s conftest.
$ac_objext; then
19647 ac_lo
=$ac_mid; break
19649 echo "$as_me: failed program was:" >&5
19650 sed 's/^/| /' conftest.
$ac_ext >&5
19652 ac_hi
=`expr '(' $ac_mid ')' - 1`
19653 if test $ac_mid -le $ac_hi; then
19657 ac_mid
=`expr 2 '*' $ac_mid`
19660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19663 echo "$as_me: failed program was:" >&5
19664 sed 's/^/| /' conftest.
$ac_ext >&5
19669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19673 # Binary search between lo and hi bounds.
19674 while test "x$ac_lo" != "x$ac_hi"; do
19675 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19676 cat >conftest.
$ac_ext <<_ACEOF
19679 cat confdefs.h
>>conftest.
$ac_ext
19680 cat >>conftest.
$ac_ext <<_ACEOF
19681 /* end confdefs.h. */
19682 $ac_includes_default
19683 typedef void * ac__type_sizeof_;
19687 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19694 rm -f conftest.
$ac_objext
19695 if { (ac_try
="$ac_compile"
19696 case "(($ac_try" in
19697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19698 *) ac_try_echo=$ac_try;;
19700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19701 (eval "$ac_compile") 2>conftest.er1
19703 grep -v '^ *+' conftest.er1 >conftest.err
19705 cat conftest.err >&5
19706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707 (exit $ac_status); } && {
19708 test -z "$ac_c_werror_flag" ||
19709 test ! -s conftest.err
19710 } && test -s conftest.$ac_objext; then
19713 echo "$as_me: failed program was:" >&5
19714 sed 's/^/| /' conftest.$ac_ext >&5
19716 ac_lo=`expr '(' $ac_mid ')' + 1`
19719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19722 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19723 '') if test "$ac_cv_type_void_p" = yes; then
19724 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19725 See \`config.log
' for more details." >&5
19726 echo "$as_me: error: cannot compute sizeof (void *)
19727 See \`config.log' for more details.
" >&2;}
19728 { (exit 77); exit 77; }; }
19730 ac_cv_sizeof_void_p=0
19734 cat >conftest.$ac_ext <<_ACEOF
19737 cat confdefs.h >>conftest.$ac_ext
19738 cat >>conftest.$ac_ext <<_ACEOF
19739 /* end confdefs.h. */
19740 $ac_includes_default
19741 typedef void * ac__type_sizeof_;
19742 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19743 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19745 #include <stdlib.h>
19750 FILE *f = fopen ("conftest.val
", "w
");
19753 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19755 long int i = longval ();
19756 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19758 fprintf (f, "%ld
\n", i);
19762 unsigned long int i = ulongval ();
19763 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19765 fprintf (f, "%lu
\n", i);
19767 return ferror (f) || fclose (f) != 0;
19773 rm -f conftest$ac_exeext
19774 if { (ac_try="$ac_link"
19775 case "(($ac_try" in
19776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19777 *) ac_try_echo=$ac_try;;
19779 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19780 (eval "$ac_link") 2>&5
19782 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19783 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19784 { (case "(($ac_try" in
19785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19786 *) ac_try_echo=$ac_try;;
19788 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19789 (eval "$ac_try") 2>&5
19791 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19792 (exit $ac_status); }; }; then
19793 ac_cv_sizeof_void_p=`cat conftest.val`
19795 echo "$as_me: program exited with status
$ac_status" >&5
19796 echo "$as_me: failed program was
:" >&5
19797 sed 's/^/| /' conftest.$ac_ext >&5
19799 ( exit $ac_status )
19800 if test "$ac_cv_type_void_p" = yes; then
19801 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
19802 See \
`config.log' for more details." >&5
19803 echo "$as_me: error: cannot compute sizeof (void *)
19804 See \`config.log
' for more details." >&2;}
19805 { (exit 77); exit 77; }; }
19807 ac_cv_sizeof_void_p=0
19810 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19814 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19815 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19819 cat >>confdefs.h <<_ACEOF
19820 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19824 { echo "$as_me:$LINENO: checking for int" >&5
19825 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19826 if test "${ac_cv_type_int+set}" = set; then
19827 echo $ECHO_N "(cached) $ECHO_C" >&6
19829 cat >conftest.$ac_ext <<_ACEOF
19832 cat confdefs.h >>conftest.$ac_ext
19833 cat >>conftest.$ac_ext <<_ACEOF
19834 /* end confdefs.h. */
19835 $ac_includes_default
19836 typedef int ac__type_new_;
19840 if ((ac__type_new_ *) 0)
19842 if (sizeof (ac__type_new_))
19848 rm -f conftest.$ac_objext
19849 if { (ac_try="$ac_compile"
19850 case "(($ac_try" in
19851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19852 *) ac_try_echo=$ac_try;;
19854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19855 (eval "$ac_compile") 2>conftest.er1
19857 grep -v '^
*+' conftest.er1 >conftest.err
19859 cat conftest.err >&5
19860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19861 (exit $ac_status); } && {
19862 test -z "$ac_c_werror_flag" ||
19863 test ! -s conftest.err
19864 } && test -s conftest.$ac_objext; then
19867 echo "$as_me: failed program was:" >&5
19868 sed 's
/^
/| /' conftest.$ac_ext >&5
19873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19875 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19876 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19878 # The cast to long int works around a bug in the HP C Compiler
19879 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19880 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19881 # This bug is HP SR number 8606223364.
19882 { echo "$as_me:$LINENO: checking size of int" >&5
19883 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19884 if test "${ac_cv_sizeof_int+set}" = set; then
19885 echo $ECHO_N "(cached) $ECHO_C" >&6
19887 if test "$cross_compiling" = yes; then
19888 # Depending upon the size, compute the lo and hi bounds.
19889 cat >conftest.
$ac_ext <<_ACEOF
19892 cat confdefs.h
>>conftest.
$ac_ext
19893 cat >>conftest.
$ac_ext <<_ACEOF
19894 /* end confdefs.h. */
19895 $ac_includes_default
19896 typedef int ac__type_sizeof_;
19900 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19907 rm -f conftest.
$ac_objext
19908 if { (ac_try
="$ac_compile"
19909 case "(($ac_try" in
19910 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19911 *) ac_try_echo=$ac_try;;
19913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19914 (eval "$ac_compile") 2>conftest.er1
19916 grep -v '^ *+' conftest.er1 >conftest.err
19918 cat conftest.err >&5
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); } && {
19921 test -z "$ac_c_werror_flag" ||
19922 test ! -s conftest.err
19923 } && test -s conftest.$ac_objext; then
19926 cat >conftest.$ac_ext <<_ACEOF
19929 cat confdefs.h >>conftest.$ac_ext
19930 cat >>conftest.$ac_ext <<_ACEOF
19931 /* end confdefs.h. */
19932 $ac_includes_default
19933 typedef int ac__type_sizeof_;
19937 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19944 rm -f conftest.$ac_objext
19945 if { (ac_try="$ac_compile"
19946 case "(($ac_try" in
19947 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19948 *) ac_try_echo
=$ac_try;;
19950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19951 (eval "$ac_compile") 2>conftest.er1
19953 grep -v '^ *+' conftest.er1
>conftest.err
19955 cat conftest.err
>&5
19956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19957 (exit $ac_status); } && {
19958 test -z "$ac_c_werror_flag" ||
19959 test ! -s conftest.err
19960 } && test -s conftest.
$ac_objext; then
19961 ac_hi
=$ac_mid; break
19963 echo "$as_me: failed program was:" >&5
19964 sed 's/^/| /' conftest.
$ac_ext >&5
19966 ac_lo
=`expr $ac_mid + 1`
19967 if test $ac_lo -le $ac_mid; then
19971 ac_mid
=`expr 2 '*' $ac_mid + 1`
19974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19977 echo "$as_me: failed program was:" >&5
19978 sed 's/^/| /' conftest.
$ac_ext >&5
19980 cat >conftest.
$ac_ext <<_ACEOF
19983 cat confdefs.h
>>conftest.
$ac_ext
19984 cat >>conftest.
$ac_ext <<_ACEOF
19985 /* end confdefs.h. */
19986 $ac_includes_default
19987 typedef int ac__type_sizeof_;
19991 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19998 rm -f conftest.
$ac_objext
19999 if { (ac_try
="$ac_compile"
20000 case "(($ac_try" in
20001 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20002 *) ac_try_echo=$ac_try;;
20004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20005 (eval "$ac_compile") 2>conftest.er1
20007 grep -v '^ *+' conftest.er1 >conftest.err
20009 cat conftest.err >&5
20010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20011 (exit $ac_status); } && {
20012 test -z "$ac_c_werror_flag" ||
20013 test ! -s conftest.err
20014 } && test -s conftest.$ac_objext; then
20017 cat >conftest.$ac_ext <<_ACEOF
20020 cat confdefs.h >>conftest.$ac_ext
20021 cat >>conftest.$ac_ext <<_ACEOF
20022 /* end confdefs.h. */
20023 $ac_includes_default
20024 typedef int ac__type_sizeof_;
20028 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20035 rm -f conftest.$ac_objext
20036 if { (ac_try="$ac_compile"
20037 case "(($ac_try" in
20038 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20039 *) ac_try_echo
=$ac_try;;
20041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20042 (eval "$ac_compile") 2>conftest.er1
20044 grep -v '^ *+' conftest.er1
>conftest.err
20046 cat conftest.err
>&5
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); } && {
20049 test -z "$ac_c_werror_flag" ||
20050 test ! -s conftest.err
20051 } && test -s conftest.
$ac_objext; then
20052 ac_lo
=$ac_mid; break
20054 echo "$as_me: failed program was:" >&5
20055 sed 's/^/| /' conftest.
$ac_ext >&5
20057 ac_hi
=`expr '(' $ac_mid ')' - 1`
20058 if test $ac_mid -le $ac_hi; then
20062 ac_mid
=`expr 2 '*' $ac_mid`
20065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20068 echo "$as_me: failed program was:" >&5
20069 sed 's/^/| /' conftest.
$ac_ext >&5
20074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20077 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20078 # Binary search between lo and hi bounds.
20079 while test "x$ac_lo" != "x$ac_hi"; do
20080 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20081 cat >conftest.
$ac_ext <<_ACEOF
20084 cat confdefs.h
>>conftest.
$ac_ext
20085 cat >>conftest.
$ac_ext <<_ACEOF
20086 /* end confdefs.h. */
20087 $ac_includes_default
20088 typedef int ac__type_sizeof_;
20092 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20099 rm -f conftest.
$ac_objext
20100 if { (ac_try
="$ac_compile"
20101 case "(($ac_try" in
20102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20103 *) ac_try_echo=$ac_try;;
20105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20106 (eval "$ac_compile") 2>conftest.er1
20108 grep -v '^ *+' conftest.er1 >conftest.err
20110 cat conftest.err >&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); } && {
20113 test -z "$ac_c_werror_flag" ||
20114 test ! -s conftest.err
20115 } && test -s conftest.$ac_objext; then
20118 echo "$as_me: failed program was:" >&5
20119 sed 's/^/| /' conftest.$ac_ext >&5
20121 ac_lo=`expr '(' $ac_mid ')' + 1`
20124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20127 ?*) ac_cv_sizeof_int=$ac_lo;;
20128 '') if test "$ac_cv_type_int" = yes; then
20129 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20130 See \`config.log
' for more details." >&5
20131 echo "$as_me: error: cannot compute sizeof (int)
20132 See \`config.log' for more details.
" >&2;}
20133 { (exit 77); exit 77; }; }
20139 cat >conftest.$ac_ext <<_ACEOF
20142 cat confdefs.h >>conftest.$ac_ext
20143 cat >>conftest.$ac_ext <<_ACEOF
20144 /* end confdefs.h. */
20145 $ac_includes_default
20146 typedef int ac__type_sizeof_;
20147 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20148 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20150 #include <stdlib.h>
20155 FILE *f = fopen ("conftest.val
", "w
");
20158 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20160 long int i = longval ();
20161 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20163 fprintf (f, "%ld
\n", i);
20167 unsigned long int i = ulongval ();
20168 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20170 fprintf (f, "%lu
\n", i);
20172 return ferror (f) || fclose (f) != 0;
20178 rm -f conftest$ac_exeext
20179 if { (ac_try="$ac_link"
20180 case "(($ac_try" in
20181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20182 *) ac_try_echo=$ac_try;;
20184 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20185 (eval "$ac_link") 2>&5
20187 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20188 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20189 { (case "(($ac_try" in
20190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20191 *) ac_try_echo=$ac_try;;
20193 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20194 (eval "$ac_try") 2>&5
20196 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20197 (exit $ac_status); }; }; then
20198 ac_cv_sizeof_int=`cat conftest.val`
20200 echo "$as_me: program exited with status
$ac_status" >&5
20201 echo "$as_me: failed program was
:" >&5
20202 sed 's/^/| /' conftest.$ac_ext >&5
20204 ( exit $ac_status )
20205 if test "$ac_cv_type_int" = yes; then
20206 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20207 See \
`config.log' for more details." >&5
20208 echo "$as_me: error: cannot compute sizeof (int)
20209 See \`config.log
' for more details." >&2;}
20210 { (exit 77); exit 77; }; }
20215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20219 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20220 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20224 cat >>confdefs.h <<_ACEOF
20225 #define SIZEOF_INT $ac_cv_sizeof_int
20229 { echo "$as_me:$LINENO: checking for long" >&5
20230 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20231 if test "${ac_cv_type_long+set}" = set; then
20232 echo $ECHO_N "(cached) $ECHO_C" >&6
20234 cat >conftest.$ac_ext <<_ACEOF
20237 cat confdefs.h >>conftest.$ac_ext
20238 cat >>conftest.$ac_ext <<_ACEOF
20239 /* end confdefs.h. */
20240 $ac_includes_default
20241 typedef long ac__type_new_;
20245 if ((ac__type_new_ *) 0)
20247 if (sizeof (ac__type_new_))
20253 rm -f conftest.$ac_objext
20254 if { (ac_try="$ac_compile"
20255 case "(($ac_try" in
20256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20257 *) ac_try_echo=$ac_try;;
20259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20260 (eval "$ac_compile") 2>conftest.er1
20262 grep -v '^
*+' conftest.er1 >conftest.err
20264 cat conftest.err >&5
20265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20266 (exit $ac_status); } && {
20267 test -z "$ac_c_werror_flag" ||
20268 test ! -s conftest.err
20269 } && test -s conftest.$ac_objext; then
20270 ac_cv_type_long=yes
20272 echo "$as_me: failed program was:" >&5
20273 sed 's
/^
/| /' conftest.$ac_ext >&5
20278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20280 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20281 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20283 # The cast to long int works around a bug in the HP C Compiler
20284 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20285 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20286 # This bug is HP SR number 8606223364.
20287 { echo "$as_me:$LINENO: checking size of long" >&5
20288 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20289 if test "${ac_cv_sizeof_long+set}" = set; then
20290 echo $ECHO_N "(cached) $ECHO_C" >&6
20292 if test "$cross_compiling" = yes; then
20293 # Depending upon the size, compute the lo and hi bounds.
20294 cat >conftest.
$ac_ext <<_ACEOF
20297 cat confdefs.h
>>conftest.
$ac_ext
20298 cat >>conftest.
$ac_ext <<_ACEOF
20299 /* end confdefs.h. */
20300 $ac_includes_default
20301 typedef long ac__type_sizeof_;
20305 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20312 rm -f conftest.
$ac_objext
20313 if { (ac_try
="$ac_compile"
20314 case "(($ac_try" in
20315 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20316 *) ac_try_echo=$ac_try;;
20318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20319 (eval "$ac_compile") 2>conftest.er1
20321 grep -v '^ *+' conftest.er1 >conftest.err
20323 cat conftest.err >&5
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); } && {
20326 test -z "$ac_c_werror_flag" ||
20327 test ! -s conftest.err
20328 } && test -s conftest.$ac_objext; then
20331 cat >conftest.$ac_ext <<_ACEOF
20334 cat confdefs.h >>conftest.$ac_ext
20335 cat >>conftest.$ac_ext <<_ACEOF
20336 /* end confdefs.h. */
20337 $ac_includes_default
20338 typedef long ac__type_sizeof_;
20342 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20349 rm -f conftest.$ac_objext
20350 if { (ac_try="$ac_compile"
20351 case "(($ac_try" in
20352 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20353 *) ac_try_echo
=$ac_try;;
20355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20356 (eval "$ac_compile") 2>conftest.er1
20358 grep -v '^ *+' conftest.er1
>conftest.err
20360 cat conftest.err
>&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); } && {
20363 test -z "$ac_c_werror_flag" ||
20364 test ! -s conftest.err
20365 } && test -s conftest.
$ac_objext; then
20366 ac_hi
=$ac_mid; break
20368 echo "$as_me: failed program was:" >&5
20369 sed 's/^/| /' conftest.
$ac_ext >&5
20371 ac_lo
=`expr $ac_mid + 1`
20372 if test $ac_lo -le $ac_mid; then
20376 ac_mid
=`expr 2 '*' $ac_mid + 1`
20379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20382 echo "$as_me: failed program was:" >&5
20383 sed 's/^/| /' conftest.
$ac_ext >&5
20385 cat >conftest.
$ac_ext <<_ACEOF
20388 cat confdefs.h
>>conftest.
$ac_ext
20389 cat >>conftest.
$ac_ext <<_ACEOF
20390 /* end confdefs.h. */
20391 $ac_includes_default
20392 typedef long ac__type_sizeof_;
20396 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20403 rm -f conftest.
$ac_objext
20404 if { (ac_try
="$ac_compile"
20405 case "(($ac_try" in
20406 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20407 *) ac_try_echo=$ac_try;;
20409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20410 (eval "$ac_compile") 2>conftest.er1
20412 grep -v '^ *+' conftest.er1 >conftest.err
20414 cat conftest.err >&5
20415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20416 (exit $ac_status); } && {
20417 test -z "$ac_c_werror_flag" ||
20418 test ! -s conftest.err
20419 } && test -s conftest.$ac_objext; then
20422 cat >conftest.$ac_ext <<_ACEOF
20425 cat confdefs.h >>conftest.$ac_ext
20426 cat >>conftest.$ac_ext <<_ACEOF
20427 /* end confdefs.h. */
20428 $ac_includes_default
20429 typedef long ac__type_sizeof_;
20433 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20440 rm -f conftest.$ac_objext
20441 if { (ac_try="$ac_compile"
20442 case "(($ac_try" in
20443 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20444 *) ac_try_echo
=$ac_try;;
20446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20447 (eval "$ac_compile") 2>conftest.er1
20449 grep -v '^ *+' conftest.er1
>conftest.err
20451 cat conftest.err
>&5
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); } && {
20454 test -z "$ac_c_werror_flag" ||
20455 test ! -s conftest.err
20456 } && test -s conftest.
$ac_objext; then
20457 ac_lo
=$ac_mid; break
20459 echo "$as_me: failed program was:" >&5
20460 sed 's/^/| /' conftest.
$ac_ext >&5
20462 ac_hi
=`expr '(' $ac_mid ')' - 1`
20463 if test $ac_mid -le $ac_hi; then
20467 ac_mid
=`expr 2 '*' $ac_mid`
20470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20473 echo "$as_me: failed program was:" >&5
20474 sed 's/^/| /' conftest.
$ac_ext >&5
20479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20483 # Binary search between lo and hi bounds.
20484 while test "x$ac_lo" != "x$ac_hi"; do
20485 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20486 cat >conftest.
$ac_ext <<_ACEOF
20489 cat confdefs.h
>>conftest.
$ac_ext
20490 cat >>conftest.
$ac_ext <<_ACEOF
20491 /* end confdefs.h. */
20492 $ac_includes_default
20493 typedef long ac__type_sizeof_;
20497 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20504 rm -f conftest.
$ac_objext
20505 if { (ac_try
="$ac_compile"
20506 case "(($ac_try" in
20507 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20508 *) ac_try_echo=$ac_try;;
20510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20511 (eval "$ac_compile") 2>conftest.er1
20513 grep -v '^ *+' conftest.er1 >conftest.err
20515 cat conftest.err >&5
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); } && {
20518 test -z "$ac_c_werror_flag" ||
20519 test ! -s conftest.err
20520 } && test -s conftest.$ac_objext; then
20523 echo "$as_me: failed program was:" >&5
20524 sed 's/^/| /' conftest.$ac_ext >&5
20526 ac_lo=`expr '(' $ac_mid ')' + 1`
20529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20532 ?*) ac_cv_sizeof_long=$ac_lo;;
20533 '') if test "$ac_cv_type_long" = yes; then
20534 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20535 See \`config.log
' for more details." >&5
20536 echo "$as_me: error: cannot compute sizeof (long)
20537 See \`config.log' for more details.
" >&2;}
20538 { (exit 77); exit 77; }; }
20540 ac_cv_sizeof_long=0
20544 cat >conftest.$ac_ext <<_ACEOF
20547 cat confdefs.h >>conftest.$ac_ext
20548 cat >>conftest.$ac_ext <<_ACEOF
20549 /* end confdefs.h. */
20550 $ac_includes_default
20551 typedef long ac__type_sizeof_;
20552 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20553 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20555 #include <stdlib.h>
20560 FILE *f = fopen ("conftest.val
", "w
");
20563 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20565 long int i = longval ();
20566 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20568 fprintf (f, "%ld
\n", i);
20572 unsigned long int i = ulongval ();
20573 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20575 fprintf (f, "%lu
\n", i);
20577 return ferror (f) || fclose (f) != 0;
20583 rm -f conftest$ac_exeext
20584 if { (ac_try="$ac_link"
20585 case "(($ac_try" in
20586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20587 *) ac_try_echo=$ac_try;;
20589 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20590 (eval "$ac_link") 2>&5
20592 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20593 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20594 { (case "(($ac_try" in
20595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20596 *) ac_try_echo=$ac_try;;
20598 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20599 (eval "$ac_try") 2>&5
20601 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20602 (exit $ac_status); }; }; then
20603 ac_cv_sizeof_long=`cat conftest.val`
20605 echo "$as_me: program exited with status
$ac_status" >&5
20606 echo "$as_me: failed program was
:" >&5
20607 sed 's/^/| /' conftest.$ac_ext >&5
20609 ( exit $ac_status )
20610 if test "$ac_cv_type_long" = yes; then
20611 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
20612 See \
`config.log' for more details." >&5
20613 echo "$as_me: error: cannot compute sizeof (long)
20614 See \`config.log
' for more details." >&2;}
20615 { (exit 77); exit 77; }; }
20617 ac_cv_sizeof_long=0
20620 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20624 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20625 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20629 cat >>confdefs.h <<_ACEOF
20630 #define SIZEOF_LONG $ac_cv_sizeof_long
20634 { echo "$as_me:$LINENO: checking for size_t" >&5
20635 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20636 if test "${ac_cv_type_size_t+set}" = set; then
20637 echo $ECHO_N "(cached) $ECHO_C" >&6
20639 cat >conftest.$ac_ext <<_ACEOF
20642 cat confdefs.h >>conftest.$ac_ext
20643 cat >>conftest.$ac_ext <<_ACEOF
20644 /* end confdefs.h. */
20645 $ac_includes_default
20646 typedef size_t ac__type_new_;
20650 if ((ac__type_new_ *) 0)
20652 if (sizeof (ac__type_new_))
20658 rm -f conftest.$ac_objext
20659 if { (ac_try="$ac_compile"
20660 case "(($ac_try" in
20661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20662 *) ac_try_echo=$ac_try;;
20664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20665 (eval "$ac_compile") 2>conftest.er1
20667 grep -v '^
*+' conftest.er1 >conftest.err
20669 cat conftest.err >&5
20670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20671 (exit $ac_status); } && {
20672 test -z "$ac_c_werror_flag" ||
20673 test ! -s conftest.err
20674 } && test -s conftest.$ac_objext; then
20675 ac_cv_type_size_t=yes
20677 echo "$as_me: failed program was:" >&5
20678 sed 's
/^
/| /' conftest.$ac_ext >&5
20680 ac_cv_type_size_t=no
20683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20685 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20686 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20688 # The cast to long int works around a bug in the HP C Compiler
20689 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20690 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20691 # This bug is HP SR number 8606223364.
20692 { echo "$as_me:$LINENO: checking size of size_t" >&5
20693 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20694 if test "${ac_cv_sizeof_size_t+set}" = set; then
20695 echo $ECHO_N "(cached) $ECHO_C" >&6
20697 if test "$cross_compiling" = yes; then
20698 # Depending upon the size, compute the lo and hi bounds.
20699 cat >conftest.
$ac_ext <<_ACEOF
20702 cat confdefs.h
>>conftest.
$ac_ext
20703 cat >>conftest.
$ac_ext <<_ACEOF
20704 /* end confdefs.h. */
20705 $ac_includes_default
20706 typedef size_t ac__type_sizeof_;
20710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20717 rm -f conftest.
$ac_objext
20718 if { (ac_try
="$ac_compile"
20719 case "(($ac_try" in
20720 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20721 *) ac_try_echo=$ac_try;;
20723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20724 (eval "$ac_compile") 2>conftest.er1
20726 grep -v '^ *+' conftest.er1 >conftest.err
20728 cat conftest.err >&5
20729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20730 (exit $ac_status); } && {
20731 test -z "$ac_c_werror_flag" ||
20732 test ! -s conftest.err
20733 } && test -s conftest.$ac_objext; then
20736 cat >conftest.$ac_ext <<_ACEOF
20739 cat confdefs.h >>conftest.$ac_ext
20740 cat >>conftest.$ac_ext <<_ACEOF
20741 /* end confdefs.h. */
20742 $ac_includes_default
20743 typedef size_t ac__type_sizeof_;
20747 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20754 rm -f conftest.$ac_objext
20755 if { (ac_try="$ac_compile"
20756 case "(($ac_try" in
20757 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20758 *) ac_try_echo
=$ac_try;;
20760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20761 (eval "$ac_compile") 2>conftest.er1
20763 grep -v '^ *+' conftest.er1
>conftest.err
20765 cat conftest.err
>&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); } && {
20768 test -z "$ac_c_werror_flag" ||
20769 test ! -s conftest.err
20770 } && test -s conftest.
$ac_objext; then
20771 ac_hi
=$ac_mid; break
20773 echo "$as_me: failed program was:" >&5
20774 sed 's/^/| /' conftest.
$ac_ext >&5
20776 ac_lo
=`expr $ac_mid + 1`
20777 if test $ac_lo -le $ac_mid; then
20781 ac_mid
=`expr 2 '*' $ac_mid + 1`
20784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20787 echo "$as_me: failed program was:" >&5
20788 sed 's/^/| /' conftest.
$ac_ext >&5
20790 cat >conftest.
$ac_ext <<_ACEOF
20793 cat confdefs.h
>>conftest.
$ac_ext
20794 cat >>conftest.
$ac_ext <<_ACEOF
20795 /* end confdefs.h. */
20796 $ac_includes_default
20797 typedef size_t ac__type_sizeof_;
20801 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20808 rm -f conftest.
$ac_objext
20809 if { (ac_try
="$ac_compile"
20810 case "(($ac_try" in
20811 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20812 *) ac_try_echo=$ac_try;;
20814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20815 (eval "$ac_compile") 2>conftest.er1
20817 grep -v '^ *+' conftest.er1 >conftest.err
20819 cat conftest.err >&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); } && {
20822 test -z "$ac_c_werror_flag" ||
20823 test ! -s conftest.err
20824 } && test -s conftest.$ac_objext; then
20827 cat >conftest.$ac_ext <<_ACEOF
20830 cat confdefs.h >>conftest.$ac_ext
20831 cat >>conftest.$ac_ext <<_ACEOF
20832 /* end confdefs.h. */
20833 $ac_includes_default
20834 typedef size_t ac__type_sizeof_;
20838 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20845 rm -f conftest.$ac_objext
20846 if { (ac_try="$ac_compile"
20847 case "(($ac_try" in
20848 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20849 *) ac_try_echo
=$ac_try;;
20851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20852 (eval "$ac_compile") 2>conftest.er1
20854 grep -v '^ *+' conftest.er1
>conftest.err
20856 cat conftest.err
>&5
20857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20858 (exit $ac_status); } && {
20859 test -z "$ac_c_werror_flag" ||
20860 test ! -s conftest.err
20861 } && test -s conftest.
$ac_objext; then
20862 ac_lo
=$ac_mid; break
20864 echo "$as_me: failed program was:" >&5
20865 sed 's/^/| /' conftest.
$ac_ext >&5
20867 ac_hi
=`expr '(' $ac_mid ')' - 1`
20868 if test $ac_mid -le $ac_hi; then
20872 ac_mid
=`expr 2 '*' $ac_mid`
20875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20878 echo "$as_me: failed program was:" >&5
20879 sed 's/^/| /' conftest.
$ac_ext >&5
20884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20888 # Binary search between lo and hi bounds.
20889 while test "x$ac_lo" != "x$ac_hi"; do
20890 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20891 cat >conftest.
$ac_ext <<_ACEOF
20894 cat confdefs.h
>>conftest.
$ac_ext
20895 cat >>conftest.
$ac_ext <<_ACEOF
20896 /* end confdefs.h. */
20897 $ac_includes_default
20898 typedef size_t ac__type_sizeof_;
20902 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20909 rm -f conftest.
$ac_objext
20910 if { (ac_try
="$ac_compile"
20911 case "(($ac_try" in
20912 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20913 *) ac_try_echo=$ac_try;;
20915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20916 (eval "$ac_compile") 2>conftest.er1
20918 grep -v '^ *+' conftest.er1 >conftest.err
20920 cat conftest.err >&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); } && {
20923 test -z "$ac_c_werror_flag" ||
20924 test ! -s conftest.err
20925 } && test -s conftest.$ac_objext; then
20928 echo "$as_me: failed program was:" >&5
20929 sed 's/^/| /' conftest.$ac_ext >&5
20931 ac_lo=`expr '(' $ac_mid ')' + 1`
20934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20937 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20938 '') if test "$ac_cv_type_size_t" = yes; then
20939 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20940 See \`config.log
' for more details." >&5
20941 echo "$as_me: error: cannot compute sizeof (size_t)
20942 See \`config.log' for more details.
" >&2;}
20943 { (exit 77); exit 77; }; }
20945 ac_cv_sizeof_size_t=0
20949 cat >conftest.$ac_ext <<_ACEOF
20952 cat confdefs.h >>conftest.$ac_ext
20953 cat >>conftest.$ac_ext <<_ACEOF
20954 /* end confdefs.h. */
20955 $ac_includes_default
20956 typedef size_t ac__type_sizeof_;
20957 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20958 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20960 #include <stdlib.h>
20965 FILE *f = fopen ("conftest.val
", "w
");
20968 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20970 long int i = longval ();
20971 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20973 fprintf (f, "%ld
\n", i);
20977 unsigned long int i = ulongval ();
20978 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20980 fprintf (f, "%lu
\n", i);
20982 return ferror (f) || fclose (f) != 0;
20988 rm -f conftest$ac_exeext
20989 if { (ac_try="$ac_link"
20990 case "(($ac_try" in
20991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20992 *) ac_try_echo=$ac_try;;
20994 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20995 (eval "$ac_link") 2>&5
20997 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20998 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20999 { (case "(($ac_try" in
21000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21001 *) ac_try_echo=$ac_try;;
21003 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21004 (eval "$ac_try") 2>&5
21006 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21007 (exit $ac_status); }; }; then
21008 ac_cv_sizeof_size_t=`cat conftest.val`
21010 echo "$as_me: program exited with status
$ac_status" >&5
21011 echo "$as_me: failed program was
:" >&5
21012 sed 's/^/| /' conftest.$ac_ext >&5
21014 ( exit $ac_status )
21015 if test "$ac_cv_type_size_t" = yes; then
21016 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21017 See \
`config.log' for more details." >&5
21018 echo "$as_me: error: cannot compute sizeof (size_t)
21019 See \`config.log
' for more details." >&2;}
21020 { (exit 77); exit 77; }; }
21022 ac_cv_sizeof_size_t=0
21025 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21029 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21030 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21034 cat >>confdefs.h <<_ACEOF
21035 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21042 { echo "$as_me:$LINENO: checking for long long" >&5
21043 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21044 if test "${ac_cv_type_long_long+set}" = set; then
21045 echo $ECHO_N "(cached) $ECHO_C" >&6
21047 cat >conftest.$ac_ext <<_ACEOF
21050 cat confdefs.h >>conftest.$ac_ext
21051 cat >>conftest.$ac_ext <<_ACEOF
21052 /* end confdefs.h. */
21053 $ac_includes_default
21054 typedef long long ac__type_new_;
21058 if ((ac__type_new_ *) 0)
21060 if (sizeof (ac__type_new_))
21066 rm -f conftest.$ac_objext
21067 if { (ac_try="$ac_compile"
21068 case "(($ac_try" in
21069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21070 *) ac_try_echo=$ac_try;;
21072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21073 (eval "$ac_compile") 2>conftest.er1
21075 grep -v '^
*+' conftest.er1 >conftest.err
21077 cat conftest.err >&5
21078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21079 (exit $ac_status); } && {
21080 test -z "$ac_c_werror_flag" ||
21081 test ! -s conftest.err
21082 } && test -s conftest.$ac_objext; then
21083 ac_cv_type_long_long=yes
21085 echo "$as_me: failed program was:" >&5
21086 sed 's
/^
/| /' conftest.$ac_ext >&5
21088 ac_cv_type_long_long=no
21091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21093 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21094 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21096 # The cast to long int works around a bug in the HP C Compiler
21097 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21098 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21099 # This bug is HP SR number 8606223364.
21100 { echo "$as_me:$LINENO: checking size of long long" >&5
21101 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21102 if test "${ac_cv_sizeof_long_long+set}" = set; then
21103 echo $ECHO_N "(cached) $ECHO_C" >&6
21105 if test "$cross_compiling" = yes; then
21106 # Depending upon the size, compute the lo and hi bounds.
21107 cat >conftest.
$ac_ext <<_ACEOF
21110 cat confdefs.h
>>conftest.
$ac_ext
21111 cat >>conftest.
$ac_ext <<_ACEOF
21112 /* end confdefs.h. */
21113 $ac_includes_default
21114 typedef long long ac__type_sizeof_;
21118 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21125 rm -f conftest.
$ac_objext
21126 if { (ac_try
="$ac_compile"
21127 case "(($ac_try" in
21128 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21129 *) ac_try_echo=$ac_try;;
21131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21132 (eval "$ac_compile") 2>conftest.er1
21134 grep -v '^ *+' conftest.er1 >conftest.err
21136 cat conftest.err >&5
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); } && {
21139 test -z "$ac_c_werror_flag" ||
21140 test ! -s conftest.err
21141 } && test -s conftest.$ac_objext; then
21144 cat >conftest.$ac_ext <<_ACEOF
21147 cat confdefs.h >>conftest.$ac_ext
21148 cat >>conftest.$ac_ext <<_ACEOF
21149 /* end confdefs.h. */
21150 $ac_includes_default
21151 typedef long long ac__type_sizeof_;
21155 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21162 rm -f conftest.$ac_objext
21163 if { (ac_try="$ac_compile"
21164 case "(($ac_try" in
21165 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21166 *) ac_try_echo
=$ac_try;;
21168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21169 (eval "$ac_compile") 2>conftest.er1
21171 grep -v '^ *+' conftest.er1
>conftest.err
21173 cat conftest.err
>&5
21174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21175 (exit $ac_status); } && {
21176 test -z "$ac_c_werror_flag" ||
21177 test ! -s conftest.err
21178 } && test -s conftest.
$ac_objext; then
21179 ac_hi
=$ac_mid; break
21181 echo "$as_me: failed program was:" >&5
21182 sed 's/^/| /' conftest.
$ac_ext >&5
21184 ac_lo
=`expr $ac_mid + 1`
21185 if test $ac_lo -le $ac_mid; then
21189 ac_mid
=`expr 2 '*' $ac_mid + 1`
21192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21195 echo "$as_me: failed program was:" >&5
21196 sed 's/^/| /' conftest.
$ac_ext >&5
21198 cat >conftest.
$ac_ext <<_ACEOF
21201 cat confdefs.h
>>conftest.
$ac_ext
21202 cat >>conftest.
$ac_ext <<_ACEOF
21203 /* end confdefs.h. */
21204 $ac_includes_default
21205 typedef long long ac__type_sizeof_;
21209 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21216 rm -f conftest.
$ac_objext
21217 if { (ac_try
="$ac_compile"
21218 case "(($ac_try" in
21219 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21220 *) ac_try_echo=$ac_try;;
21222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21223 (eval "$ac_compile") 2>conftest.er1
21225 grep -v '^ *+' conftest.er1 >conftest.err
21227 cat conftest.err >&5
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); } && {
21230 test -z "$ac_c_werror_flag" ||
21231 test ! -s conftest.err
21232 } && test -s conftest.$ac_objext; then
21235 cat >conftest.$ac_ext <<_ACEOF
21238 cat confdefs.h >>conftest.$ac_ext
21239 cat >>conftest.$ac_ext <<_ACEOF
21240 /* end confdefs.h. */
21241 $ac_includes_default
21242 typedef long long ac__type_sizeof_;
21246 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21253 rm -f conftest.$ac_objext
21254 if { (ac_try="$ac_compile"
21255 case "(($ac_try" in
21256 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21257 *) ac_try_echo
=$ac_try;;
21259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21260 (eval "$ac_compile") 2>conftest.er1
21262 grep -v '^ *+' conftest.er1
>conftest.err
21264 cat conftest.err
>&5
21265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21266 (exit $ac_status); } && {
21267 test -z "$ac_c_werror_flag" ||
21268 test ! -s conftest.err
21269 } && test -s conftest.
$ac_objext; then
21270 ac_lo
=$ac_mid; break
21272 echo "$as_me: failed program was:" >&5
21273 sed 's/^/| /' conftest.
$ac_ext >&5
21275 ac_hi
=`expr '(' $ac_mid ')' - 1`
21276 if test $ac_mid -le $ac_hi; then
21280 ac_mid
=`expr 2 '*' $ac_mid`
21283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21286 echo "$as_me: failed program was:" >&5
21287 sed 's/^/| /' conftest.
$ac_ext >&5
21292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21295 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21296 # Binary search between lo and hi bounds.
21297 while test "x$ac_lo" != "x$ac_hi"; do
21298 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21299 cat >conftest.
$ac_ext <<_ACEOF
21302 cat confdefs.h
>>conftest.
$ac_ext
21303 cat >>conftest.
$ac_ext <<_ACEOF
21304 /* end confdefs.h. */
21305 $ac_includes_default
21306 typedef long long ac__type_sizeof_;
21310 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21317 rm -f conftest.
$ac_objext
21318 if { (ac_try
="$ac_compile"
21319 case "(($ac_try" in
21320 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21321 *) ac_try_echo=$ac_try;;
21323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21324 (eval "$ac_compile") 2>conftest.er1
21326 grep -v '^ *+' conftest.er1 >conftest.err
21328 cat conftest.err >&5
21329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21330 (exit $ac_status); } && {
21331 test -z "$ac_c_werror_flag" ||
21332 test ! -s conftest.err
21333 } && test -s conftest.$ac_objext; then
21336 echo "$as_me: failed program was:" >&5
21337 sed 's/^/| /' conftest.$ac_ext >&5
21339 ac_lo=`expr '(' $ac_mid ')' + 1`
21342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21345 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21346 '') if test "$ac_cv_type_long_long" = yes; then
21347 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21348 See \`config.log
' for more details." >&5
21349 echo "$as_me: error: cannot compute sizeof (long long)
21350 See \`config.log' for more details.
" >&2;}
21351 { (exit 77); exit 77; }; }
21353 ac_cv_sizeof_long_long=0
21357 cat >conftest.$ac_ext <<_ACEOF
21360 cat confdefs.h >>conftest.$ac_ext
21361 cat >>conftest.$ac_ext <<_ACEOF
21362 /* end confdefs.h. */
21363 $ac_includes_default
21364 typedef long long ac__type_sizeof_;
21365 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21366 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21368 #include <stdlib.h>
21373 FILE *f = fopen ("conftest.val
", "w
");
21376 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21378 long int i = longval ();
21379 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21381 fprintf (f, "%ld
\n", i);
21385 unsigned long int i = ulongval ();
21386 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21388 fprintf (f, "%lu
\n", i);
21390 return ferror (f) || fclose (f) != 0;
21396 rm -f conftest$ac_exeext
21397 if { (ac_try="$ac_link"
21398 case "(($ac_try" in
21399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21400 *) ac_try_echo=$ac_try;;
21402 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21403 (eval "$ac_link") 2>&5
21405 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21406 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21407 { (case "(($ac_try" in
21408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21409 *) ac_try_echo=$ac_try;;
21411 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21412 (eval "$ac_try") 2>&5
21414 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21415 (exit $ac_status); }; }; then
21416 ac_cv_sizeof_long_long=`cat conftest.val`
21418 echo "$as_me: program exited with status
$ac_status" >&5
21419 echo "$as_me: failed program was
:" >&5
21420 sed 's/^/| /' conftest.$ac_ext >&5
21422 ( exit $ac_status )
21423 if test "$ac_cv_type_long_long" = yes; then
21424 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21425 See \
`config.log' for more details." >&5
21426 echo "$as_me: error: cannot compute sizeof (long long)
21427 See \`config.log
' for more details." >&2;}
21428 { (exit 77); exit 77; }; }
21430 ac_cv_sizeof_long_long=0
21433 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21437 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21438 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21442 cat >>confdefs.h <<_ACEOF
21443 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21449 { echo "$as_me:$LINENO: checking for long long" >&5
21450 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21451 if test "${ac_cv_type_long_long+set}" = set; then
21452 echo $ECHO_N "(cached) $ECHO_C" >&6
21454 cat >conftest.$ac_ext <<_ACEOF
21457 cat confdefs.h >>conftest.$ac_ext
21458 cat >>conftest.$ac_ext <<_ACEOF
21459 /* end confdefs.h. */
21460 $ac_includes_default
21461 typedef long long ac__type_new_;
21465 if ((ac__type_new_ *) 0)
21467 if (sizeof (ac__type_new_))
21473 rm -f conftest.$ac_objext
21474 if { (ac_try="$ac_compile"
21475 case "(($ac_try" in
21476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21477 *) ac_try_echo=$ac_try;;
21479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21480 (eval "$ac_compile") 2>conftest.er1
21482 grep -v '^
*+' conftest.er1 >conftest.err
21484 cat conftest.err >&5
21485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486 (exit $ac_status); } && {
21487 test -z "$ac_c_werror_flag" ||
21488 test ! -s conftest.err
21489 } && test -s conftest.$ac_objext; then
21490 ac_cv_type_long_long=yes
21492 echo "$as_me: failed program was:" >&5
21493 sed 's
/^
/| /' conftest.$ac_ext >&5
21495 ac_cv_type_long_long=no
21498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21500 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21501 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21503 # The cast to long int works around a bug in the HP C Compiler
21504 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21505 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21506 # This bug is HP SR number 8606223364.
21507 { echo "$as_me:$LINENO: checking size of long long" >&5
21508 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21509 if test "${ac_cv_sizeof_long_long+set}" = set; then
21510 echo $ECHO_N "(cached) $ECHO_C" >&6
21512 if test "$cross_compiling" = yes; then
21513 # Depending upon the size, compute the lo and hi bounds.
21514 cat >conftest.
$ac_ext <<_ACEOF
21517 cat confdefs.h
>>conftest.
$ac_ext
21518 cat >>conftest.
$ac_ext <<_ACEOF
21519 /* end confdefs.h. */
21520 $ac_includes_default
21521 typedef long long ac__type_sizeof_;
21525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21532 rm -f conftest.
$ac_objext
21533 if { (ac_try
="$ac_compile"
21534 case "(($ac_try" in
21535 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21536 *) ac_try_echo=$ac_try;;
21538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21539 (eval "$ac_compile") 2>conftest.er1
21541 grep -v '^ *+' conftest.er1 >conftest.err
21543 cat conftest.err >&5
21544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21545 (exit $ac_status); } && {
21546 test -z "$ac_c_werror_flag" ||
21547 test ! -s conftest.err
21548 } && test -s conftest.$ac_objext; then
21551 cat >conftest.$ac_ext <<_ACEOF
21554 cat confdefs.h >>conftest.$ac_ext
21555 cat >>conftest.$ac_ext <<_ACEOF
21556 /* end confdefs.h. */
21557 $ac_includes_default
21558 typedef long long ac__type_sizeof_;
21562 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21569 rm -f conftest.$ac_objext
21570 if { (ac_try="$ac_compile"
21571 case "(($ac_try" in
21572 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21573 *) ac_try_echo
=$ac_try;;
21575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21576 (eval "$ac_compile") 2>conftest.er1
21578 grep -v '^ *+' conftest.er1
>conftest.err
21580 cat conftest.err
>&5
21581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21582 (exit $ac_status); } && {
21583 test -z "$ac_c_werror_flag" ||
21584 test ! -s conftest.err
21585 } && test -s conftest.
$ac_objext; then
21586 ac_hi
=$ac_mid; break
21588 echo "$as_me: failed program was:" >&5
21589 sed 's/^/| /' conftest.
$ac_ext >&5
21591 ac_lo
=`expr $ac_mid + 1`
21592 if test $ac_lo -le $ac_mid; then
21596 ac_mid
=`expr 2 '*' $ac_mid + 1`
21599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21602 echo "$as_me: failed program was:" >&5
21603 sed 's/^/| /' conftest.
$ac_ext >&5
21605 cat >conftest.
$ac_ext <<_ACEOF
21608 cat confdefs.h
>>conftest.
$ac_ext
21609 cat >>conftest.
$ac_ext <<_ACEOF
21610 /* end confdefs.h. */
21611 $ac_includes_default
21612 typedef long long ac__type_sizeof_;
21616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21623 rm -f conftest.
$ac_objext
21624 if { (ac_try
="$ac_compile"
21625 case "(($ac_try" in
21626 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21627 *) ac_try_echo=$ac_try;;
21629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21630 (eval "$ac_compile") 2>conftest.er1
21632 grep -v '^ *+' conftest.er1 >conftest.err
21634 cat conftest.err >&5
21635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21636 (exit $ac_status); } && {
21637 test -z "$ac_c_werror_flag" ||
21638 test ! -s conftest.err
21639 } && test -s conftest.$ac_objext; then
21642 cat >conftest.$ac_ext <<_ACEOF
21645 cat confdefs.h >>conftest.$ac_ext
21646 cat >>conftest.$ac_ext <<_ACEOF
21647 /* end confdefs.h. */
21648 $ac_includes_default
21649 typedef long long ac__type_sizeof_;
21653 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21660 rm -f conftest.$ac_objext
21661 if { (ac_try="$ac_compile"
21662 case "(($ac_try" in
21663 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21664 *) ac_try_echo
=$ac_try;;
21666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21667 (eval "$ac_compile") 2>conftest.er1
21669 grep -v '^ *+' conftest.er1
>conftest.err
21671 cat conftest.err
>&5
21672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21673 (exit $ac_status); } && {
21674 test -z "$ac_c_werror_flag" ||
21675 test ! -s conftest.err
21676 } && test -s conftest.
$ac_objext; then
21677 ac_lo
=$ac_mid; break
21679 echo "$as_me: failed program was:" >&5
21680 sed 's/^/| /' conftest.
$ac_ext >&5
21682 ac_hi
=`expr '(' $ac_mid ')' - 1`
21683 if test $ac_mid -le $ac_hi; then
21687 ac_mid
=`expr 2 '*' $ac_mid`
21690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21693 echo "$as_me: failed program was:" >&5
21694 sed 's/^/| /' conftest.
$ac_ext >&5
21699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21703 # Binary search between lo and hi bounds.
21704 while test "x$ac_lo" != "x$ac_hi"; do
21705 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21706 cat >conftest.
$ac_ext <<_ACEOF
21709 cat confdefs.h
>>conftest.
$ac_ext
21710 cat >>conftest.
$ac_ext <<_ACEOF
21711 /* end confdefs.h. */
21712 $ac_includes_default
21713 typedef long long ac__type_sizeof_;
21717 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21724 rm -f conftest.
$ac_objext
21725 if { (ac_try
="$ac_compile"
21726 case "(($ac_try" in
21727 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21728 *) ac_try_echo=$ac_try;;
21730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21731 (eval "$ac_compile") 2>conftest.er1
21733 grep -v '^ *+' conftest.er1 >conftest.err
21735 cat conftest.err >&5
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); } && {
21738 test -z "$ac_c_werror_flag" ||
21739 test ! -s conftest.err
21740 } && test -s conftest.$ac_objext; then
21743 echo "$as_me: failed program was:" >&5
21744 sed 's/^/| /' conftest.$ac_ext >&5
21746 ac_lo=`expr '(' $ac_mid ')' + 1`
21749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21752 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21753 '') if test "$ac_cv_type_long_long" = yes; then
21754 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21755 See \`config.log
' for more details." >&5
21756 echo "$as_me: error: cannot compute sizeof (long long)
21757 See \`config.log' for more details.
" >&2;}
21758 { (exit 77); exit 77; }; }
21760 ac_cv_sizeof_long_long=0
21764 cat >conftest.$ac_ext <<_ACEOF
21767 cat confdefs.h >>conftest.$ac_ext
21768 cat >>conftest.$ac_ext <<_ACEOF
21769 /* end confdefs.h. */
21770 $ac_includes_default
21771 typedef long long ac__type_sizeof_;
21772 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21773 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21775 #include <stdlib.h>
21780 FILE *f = fopen ("conftest.val
", "w
");
21783 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21785 long int i = longval ();
21786 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21788 fprintf (f, "%ld
\n", i);
21792 unsigned long int i = ulongval ();
21793 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21795 fprintf (f, "%lu
\n", i);
21797 return ferror (f) || fclose (f) != 0;
21803 rm -f conftest$ac_exeext
21804 if { (ac_try="$ac_link"
21805 case "(($ac_try" in
21806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21807 *) ac_try_echo=$ac_try;;
21809 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21810 (eval "$ac_link") 2>&5
21812 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21813 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21814 { (case "(($ac_try" in
21815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21816 *) ac_try_echo=$ac_try;;
21818 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21819 (eval "$ac_try") 2>&5
21821 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21822 (exit $ac_status); }; }; then
21823 ac_cv_sizeof_long_long=`cat conftest.val`
21825 echo "$as_me: program exited with status
$ac_status" >&5
21826 echo "$as_me: failed program was
:" >&5
21827 sed 's/^/| /' conftest.$ac_ext >&5
21829 ( exit $ac_status )
21830 if test "$ac_cv_type_long_long" = yes; then
21831 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21832 See \
`config.log' for more details." >&5
21833 echo "$as_me: error: cannot compute sizeof (long long)
21834 See \`config.log
' for more details." >&2;}
21835 { (exit 77); exit 77; }; }
21837 ac_cv_sizeof_long_long=0
21840 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21844 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21845 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21849 cat >>confdefs.h <<_ACEOF
21850 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21854 if test "$ac_cv_sizeof_long_long" != 0; then
21855 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21859 { echo "$as_me:$LINENO: checking for long long" >&5
21860 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21861 if test "${ac_cv_type_long_long+set}" = set; then
21862 echo $ECHO_N "(cached) $ECHO_C" >&6
21864 cat >conftest.$ac_ext <<_ACEOF
21867 cat confdefs.h >>conftest.$ac_ext
21868 cat >>conftest.$ac_ext <<_ACEOF
21869 /* end confdefs.h. */
21870 $ac_includes_default
21871 typedef long long ac__type_new_;
21875 if ((ac__type_new_ *) 0)
21877 if (sizeof (ac__type_new_))
21883 rm -f conftest.$ac_objext
21884 if { (ac_try="$ac_compile"
21885 case "(($ac_try" in
21886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21887 *) ac_try_echo=$ac_try;;
21889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21890 (eval "$ac_compile") 2>conftest.er1
21892 grep -v '^
*+' conftest.er1 >conftest.err
21894 cat conftest.err >&5
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); } && {
21897 test -z "$ac_c_werror_flag" ||
21898 test ! -s conftest.err
21899 } && test -s conftest.$ac_objext; then
21900 ac_cv_type_long_long=yes
21902 echo "$as_me: failed program was:" >&5
21903 sed 's
/^
/| /' conftest.$ac_ext >&5
21905 ac_cv_type_long_long=no
21908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21910 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21911 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21913 # The cast to long int works around a bug in the HP C Compiler
21914 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21915 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21916 # This bug is HP SR number 8606223364.
21917 { echo "$as_me:$LINENO: checking size of long long" >&5
21918 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21919 if test "${ac_cv_sizeof_long_long+set}" = set; then
21920 echo $ECHO_N "(cached) $ECHO_C" >&6
21922 if test "$cross_compiling" = yes; then
21923 # Depending upon the size, compute the lo and hi bounds.
21924 cat >conftest.
$ac_ext <<_ACEOF
21927 cat confdefs.h
>>conftest.
$ac_ext
21928 cat >>conftest.
$ac_ext <<_ACEOF
21929 /* end confdefs.h. */
21930 $ac_includes_default
21931 typedef long long ac__type_sizeof_;
21935 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21942 rm -f conftest.
$ac_objext
21943 if { (ac_try
="$ac_compile"
21944 case "(($ac_try" in
21945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21946 *) ac_try_echo=$ac_try;;
21948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21949 (eval "$ac_compile") 2>conftest.er1
21951 grep -v '^ *+' conftest.er1 >conftest.err
21953 cat conftest.err >&5
21954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21955 (exit $ac_status); } && {
21956 test -z "$ac_c_werror_flag" ||
21957 test ! -s conftest.err
21958 } && test -s conftest.$ac_objext; then
21961 cat >conftest.$ac_ext <<_ACEOF
21964 cat confdefs.h >>conftest.$ac_ext
21965 cat >>conftest.$ac_ext <<_ACEOF
21966 /* end confdefs.h. */
21967 $ac_includes_default
21968 typedef long long ac__type_sizeof_;
21972 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21979 rm -f conftest.$ac_objext
21980 if { (ac_try="$ac_compile"
21981 case "(($ac_try" in
21982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21983 *) ac_try_echo
=$ac_try;;
21985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21986 (eval "$ac_compile") 2>conftest.er1
21988 grep -v '^ *+' conftest.er1
>conftest.err
21990 cat conftest.err
>&5
21991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21992 (exit $ac_status); } && {
21993 test -z "$ac_c_werror_flag" ||
21994 test ! -s conftest.err
21995 } && test -s conftest.
$ac_objext; then
21996 ac_hi
=$ac_mid; break
21998 echo "$as_me: failed program was:" >&5
21999 sed 's/^/| /' conftest.
$ac_ext >&5
22001 ac_lo
=`expr $ac_mid + 1`
22002 if test $ac_lo -le $ac_mid; then
22006 ac_mid
=`expr 2 '*' $ac_mid + 1`
22009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22012 echo "$as_me: failed program was:" >&5
22013 sed 's/^/| /' conftest.
$ac_ext >&5
22015 cat >conftest.
$ac_ext <<_ACEOF
22018 cat confdefs.h
>>conftest.
$ac_ext
22019 cat >>conftest.
$ac_ext <<_ACEOF
22020 /* end confdefs.h. */
22021 $ac_includes_default
22022 typedef long long ac__type_sizeof_;
22026 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22033 rm -f conftest.
$ac_objext
22034 if { (ac_try
="$ac_compile"
22035 case "(($ac_try" in
22036 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22037 *) ac_try_echo=$ac_try;;
22039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22040 (eval "$ac_compile") 2>conftest.er1
22042 grep -v '^ *+' conftest.er1 >conftest.err
22044 cat conftest.err >&5
22045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22046 (exit $ac_status); } && {
22047 test -z "$ac_c_werror_flag" ||
22048 test ! -s conftest.err
22049 } && test -s conftest.$ac_objext; then
22052 cat >conftest.$ac_ext <<_ACEOF
22055 cat confdefs.h >>conftest.$ac_ext
22056 cat >>conftest.$ac_ext <<_ACEOF
22057 /* end confdefs.h. */
22058 $ac_includes_default
22059 typedef long long ac__type_sizeof_;
22063 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22070 rm -f conftest.$ac_objext
22071 if { (ac_try="$ac_compile"
22072 case "(($ac_try" in
22073 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22074 *) ac_try_echo
=$ac_try;;
22076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22077 (eval "$ac_compile") 2>conftest.er1
22079 grep -v '^ *+' conftest.er1
>conftest.err
22081 cat conftest.err
>&5
22082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083 (exit $ac_status); } && {
22084 test -z "$ac_c_werror_flag" ||
22085 test ! -s conftest.err
22086 } && test -s conftest.
$ac_objext; then
22087 ac_lo
=$ac_mid; break
22089 echo "$as_me: failed program was:" >&5
22090 sed 's/^/| /' conftest.
$ac_ext >&5
22092 ac_hi
=`expr '(' $ac_mid ')' - 1`
22093 if test $ac_mid -le $ac_hi; then
22097 ac_mid
=`expr 2 '*' $ac_mid`
22100 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22103 echo "$as_me: failed program was:" >&5
22104 sed 's/^/| /' conftest.
$ac_ext >&5
22109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22113 # Binary search between lo and hi bounds.
22114 while test "x$ac_lo" != "x$ac_hi"; do
22115 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22116 cat >conftest.
$ac_ext <<_ACEOF
22119 cat confdefs.h
>>conftest.
$ac_ext
22120 cat >>conftest.
$ac_ext <<_ACEOF
22121 /* end confdefs.h. */
22122 $ac_includes_default
22123 typedef long long ac__type_sizeof_;
22127 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22134 rm -f conftest.
$ac_objext
22135 if { (ac_try
="$ac_compile"
22136 case "(($ac_try" in
22137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22138 *) ac_try_echo=$ac_try;;
22140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22141 (eval "$ac_compile") 2>conftest.er1
22143 grep -v '^ *+' conftest.er1 >conftest.err
22145 cat conftest.err >&5
22146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22147 (exit $ac_status); } && {
22148 test -z "$ac_c_werror_flag" ||
22149 test ! -s conftest.err
22150 } && test -s conftest.$ac_objext; then
22153 echo "$as_me: failed program was:" >&5
22154 sed 's/^/| /' conftest.$ac_ext >&5
22156 ac_lo=`expr '(' $ac_mid ')' + 1`
22159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22162 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22163 '') if test "$ac_cv_type_long_long" = yes; then
22164 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22165 See \`config.log
' for more details." >&5
22166 echo "$as_me: error: cannot compute sizeof (long long)
22167 See \`config.log' for more details.
" >&2;}
22168 { (exit 77); exit 77; }; }
22170 ac_cv_sizeof_long_long=0
22174 cat >conftest.$ac_ext <<_ACEOF
22177 cat confdefs.h >>conftest.$ac_ext
22178 cat >>conftest.$ac_ext <<_ACEOF
22179 /* end confdefs.h. */
22180 $ac_includes_default
22181 typedef long long ac__type_sizeof_;
22182 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22183 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22185 #include <stdlib.h>
22190 FILE *f = fopen ("conftest.val
", "w
");
22193 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22195 long int i = longval ();
22196 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22198 fprintf (f, "%ld
\n", i);
22202 unsigned long int i = ulongval ();
22203 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22205 fprintf (f, "%lu
\n", i);
22207 return ferror (f) || fclose (f) != 0;
22213 rm -f conftest$ac_exeext
22214 if { (ac_try="$ac_link"
22215 case "(($ac_try" in
22216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22217 *) ac_try_echo=$ac_try;;
22219 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22220 (eval "$ac_link") 2>&5
22222 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22223 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22224 { (case "(($ac_try" in
22225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22226 *) ac_try_echo=$ac_try;;
22228 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22229 (eval "$ac_try") 2>&5
22231 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22232 (exit $ac_status); }; }; then
22233 ac_cv_sizeof_long_long=`cat conftest.val`
22235 echo "$as_me: program exited with status
$ac_status" >&5
22236 echo "$as_me: failed program was
:" >&5
22237 sed 's/^/| /' conftest.$ac_ext >&5
22239 ( exit $ac_status )
22240 if test "$ac_cv_type_long_long" = yes; then
22241 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22242 See \
`config.log' for more details." >&5
22243 echo "$as_me: error: cannot compute sizeof (long long)
22244 See \`config.log
' for more details." >&2;}
22245 { (exit 77); exit 77; }; }
22247 ac_cv_sizeof_long_long=0
22250 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22254 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22255 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22259 cat >>confdefs.h <<_ACEOF
22260 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22266 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22267 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22268 if test "${ac_cv_type_wchar_t+set}" = set; then
22269 echo $ECHO_N "(cached) $ECHO_C" >&6
22271 cat >conftest.$ac_ext <<_ACEOF
22274 cat confdefs.h >>conftest.$ac_ext
22275 cat >>conftest.$ac_ext <<_ACEOF
22276 /* end confdefs.h. */
22278 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22279 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22280 # error "fake wchar_t"
22282 #ifdef HAVE_WCHAR_H
22284 # include <stddef.h>
22286 # include <wchar.h>
22288 #ifdef HAVE_STDLIB_H
22289 # include <stdlib.h>
22295 typedef wchar_t ac__type_new_
;
22299 if ((ac__type_new_
*) 0)
22301 if (sizeof
(ac__type_new_
))
22307 rm -f conftest.
$ac_objext
22308 if { (ac_try
="$ac_compile"
22309 case "(($ac_try" in
22310 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22311 *) ac_try_echo=$ac_try;;
22313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22314 (eval "$ac_compile") 2>conftest.er1
22316 grep -v '^ *+' conftest.er1 >conftest.err
22318 cat conftest.err >&5
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); } && {
22321 test -z "$ac_c_werror_flag" ||
22322 test ! -s conftest.err
22323 } && test -s conftest.$ac_objext; then
22324 ac_cv_type_wchar_t=yes
22326 echo "$as_me: failed program was:" >&5
22327 sed 's/^/| /' conftest.$ac_ext >&5
22329 ac_cv_type_wchar_t=no
22332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22334 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22335 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22337 # The cast to long int works around a bug in the HP C Compiler
22338 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22339 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22340 # This bug is HP SR number 8606223364.
22341 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22342 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22343 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22344 echo $ECHO_N "(cached) $ECHO_C" >&6
22346 if test "$cross_compiling" = yes; then
22347 # Depending upon the size, compute the lo and hi bounds.
22348 cat >conftest.$ac_ext <<_ACEOF
22351 cat confdefs.h >>conftest.$ac_ext
22352 cat >>conftest.$ac_ext <<_ACEOF
22353 /* end confdefs.h. */
22355 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22356 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22357 # error "fake wchar_t"
22359 #ifdef HAVE_WCHAR_H
22361 # include <stddef.h>
22363 # include <wchar.h>
22365 #ifdef HAVE_STDLIB_H
22366 # include <stdlib.h>
22372 typedef wchar_t ac__type_sizeof_
;
22376 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22383 rm -f conftest.
$ac_objext
22384 if { (ac_try
="$ac_compile"
22385 case "(($ac_try" in
22386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22387 *) ac_try_echo=$ac_try;;
22389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22390 (eval "$ac_compile") 2>conftest.er1
22392 grep -v '^ *+' conftest.er1 >conftest.err
22394 cat conftest.err >&5
22395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 (exit $ac_status); } && {
22397 test -z "$ac_c_werror_flag" ||
22398 test ! -s conftest.err
22399 } && test -s conftest.$ac_objext; then
22402 cat >conftest.$ac_ext <<_ACEOF
22405 cat confdefs.h >>conftest.$ac_ext
22406 cat >>conftest.$ac_ext <<_ACEOF
22407 /* end confdefs.h. */
22409 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22410 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22411 # error "fake wchar_t"
22413 #ifdef HAVE_WCHAR_H
22415 # include <stddef.h>
22417 # include <wchar.h>
22419 #ifdef HAVE_STDLIB_H
22420 # include <stdlib.h>
22426 typedef wchar_t ac__type_sizeof_;
22430 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22437 rm -f conftest.$ac_objext
22438 if { (ac_try="$ac_compile"
22439 case "(($ac_try" in
22440 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22441 *) ac_try_echo
=$ac_try;;
22443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22444 (eval "$ac_compile") 2>conftest.er1
22446 grep -v '^ *+' conftest.er1
>conftest.err
22448 cat conftest.err
>&5
22449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22450 (exit $ac_status); } && {
22451 test -z "$ac_c_werror_flag" ||
22452 test ! -s conftest.err
22453 } && test -s conftest.
$ac_objext; then
22454 ac_hi
=$ac_mid; break
22456 echo "$as_me: failed program was:" >&5
22457 sed 's/^/| /' conftest.
$ac_ext >&5
22459 ac_lo
=`expr $ac_mid + 1`
22460 if test $ac_lo -le $ac_mid; then
22464 ac_mid
=`expr 2 '*' $ac_mid + 1`
22467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22470 echo "$as_me: failed program was:" >&5
22471 sed 's/^/| /' conftest.
$ac_ext >&5
22473 cat >conftest.
$ac_ext <<_ACEOF
22476 cat confdefs.h
>>conftest.
$ac_ext
22477 cat >>conftest.
$ac_ext <<_ACEOF
22478 /* end confdefs.h. */
22480 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22481 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22482 # error "fake wchar_t"
22484 #ifdef HAVE_WCHAR_H
22486 # include <stddef.h>
22488 # include <wchar.h>
22490 #ifdef HAVE_STDLIB_H
22491 # include <stdlib.h>
22497 typedef wchar_t ac__type_sizeof_;
22501 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22508 rm -f conftest.
$ac_objext
22509 if { (ac_try
="$ac_compile"
22510 case "(($ac_try" in
22511 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22512 *) ac_try_echo=$ac_try;;
22514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22515 (eval "$ac_compile") 2>conftest.er1
22517 grep -v '^ *+' conftest.er1 >conftest.err
22519 cat conftest.err >&5
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); } && {
22522 test -z "$ac_c_werror_flag" ||
22523 test ! -s conftest.err
22524 } && test -s conftest.$ac_objext; then
22527 cat >conftest.$ac_ext <<_ACEOF
22530 cat confdefs.h >>conftest.$ac_ext
22531 cat >>conftest.$ac_ext <<_ACEOF
22532 /* end confdefs.h. */
22534 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22535 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22536 # error "fake wchar_t"
22538 #ifdef HAVE_WCHAR_H
22540 # include <stddef.h>
22542 # include <wchar.h>
22544 #ifdef HAVE_STDLIB_H
22545 # include <stdlib.h>
22551 typedef wchar_t ac__type_sizeof_;
22555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22562 rm -f conftest.$ac_objext
22563 if { (ac_try="$ac_compile"
22564 case "(($ac_try" in
22565 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22566 *) ac_try_echo
=$ac_try;;
22568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22569 (eval "$ac_compile") 2>conftest.er1
22571 grep -v '^ *+' conftest.er1
>conftest.err
22573 cat conftest.err
>&5
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); } && {
22576 test -z "$ac_c_werror_flag" ||
22577 test ! -s conftest.err
22578 } && test -s conftest.
$ac_objext; then
22579 ac_lo
=$ac_mid; break
22581 echo "$as_me: failed program was:" >&5
22582 sed 's/^/| /' conftest.
$ac_ext >&5
22584 ac_hi
=`expr '(' $ac_mid ')' - 1`
22585 if test $ac_mid -le $ac_hi; then
22589 ac_mid
=`expr 2 '*' $ac_mid`
22592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22595 echo "$as_me: failed program was:" >&5
22596 sed 's/^/| /' conftest.
$ac_ext >&5
22601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22605 # Binary search between lo and hi bounds.
22606 while test "x$ac_lo" != "x$ac_hi"; do
22607 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22608 cat >conftest.
$ac_ext <<_ACEOF
22611 cat confdefs.h
>>conftest.
$ac_ext
22612 cat >>conftest.
$ac_ext <<_ACEOF
22613 /* end confdefs.h. */
22615 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22616 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22617 # error "fake wchar_t"
22619 #ifdef HAVE_WCHAR_H
22621 # include <stddef.h>
22623 # include <wchar.h>
22625 #ifdef HAVE_STDLIB_H
22626 # include <stdlib.h>
22632 typedef wchar_t ac__type_sizeof_;
22636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22643 rm -f conftest.
$ac_objext
22644 if { (ac_try
="$ac_compile"
22645 case "(($ac_try" in
22646 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22647 *) ac_try_echo=$ac_try;;
22649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22650 (eval "$ac_compile") 2>conftest.er1
22652 grep -v '^ *+' conftest.er1 >conftest.err
22654 cat conftest.err >&5
22655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22656 (exit $ac_status); } && {
22657 test -z "$ac_c_werror_flag" ||
22658 test ! -s conftest.err
22659 } && test -s conftest.$ac_objext; then
22662 echo "$as_me: failed program was:" >&5
22663 sed 's/^/| /' conftest.$ac_ext >&5
22665 ac_lo=`expr '(' $ac_mid ')' + 1`
22668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22671 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22672 '') if test "$ac_cv_type_wchar_t" = yes; then
22673 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22674 See \`config.log
' for more details." >&5
22675 echo "$as_me: error: cannot compute sizeof (wchar_t)
22676 See \`config.log' for more details.
" >&2;}
22677 { (exit 77); exit 77; }; }
22679 ac_cv_sizeof_wchar_t=0
22683 cat >conftest.$ac_ext <<_ACEOF
22686 cat confdefs.h >>conftest.$ac_ext
22687 cat >>conftest.$ac_ext <<_ACEOF
22688 /* end confdefs.h. */
22690 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22691 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22692 # error "fake wchar_t
"
22694 #ifdef HAVE_WCHAR_H
22696 # include <stddef.h>
22698 # include <wchar.h>
22700 #ifdef HAVE_STDLIB_H
22701 # include <stdlib.h>
22707 typedef wchar_t ac__type_sizeof_;
22708 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22709 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22711 #include <stdlib.h>
22716 FILE *f = fopen ("conftest.val
", "w
");
22719 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22721 long int i = longval ();
22722 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22724 fprintf (f, "%ld
\n", i);
22728 unsigned long int i = ulongval ();
22729 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22731 fprintf (f, "%lu
\n", i);
22733 return ferror (f) || fclose (f) != 0;
22739 rm -f conftest$ac_exeext
22740 if { (ac_try="$ac_link"
22741 case "(($ac_try" in
22742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22743 *) ac_try_echo=$ac_try;;
22745 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22746 (eval "$ac_link") 2>&5
22748 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22749 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22750 { (case "(($ac_try" in
22751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22752 *) ac_try_echo=$ac_try;;
22754 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22755 (eval "$ac_try") 2>&5
22757 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22758 (exit $ac_status); }; }; then
22759 ac_cv_sizeof_wchar_t=`cat conftest.val`
22761 echo "$as_me: program exited with status
$ac_status" >&5
22762 echo "$as_me: failed program was
:" >&5
22763 sed 's/^/| /' conftest.$ac_ext >&5
22765 ( exit $ac_status )
22766 if test "$ac_cv_type_wchar_t" = yes; then
22767 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
22768 See \
`config.log' for more details." >&5
22769 echo "$as_me: error: cannot compute sizeof (wchar_t)
22770 See \`config.log
' for more details." >&2;}
22771 { (exit 77); exit 77; }; }
22773 ac_cv_sizeof_wchar_t=0
22776 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22780 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22781 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22785 cat >>confdefs.h <<_ACEOF
22786 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22790 if test "$ac_cv_sizeof_wchar_t" != 0; then
22796 { echo "$as_me:$LINENO: checking for va_copy" >&5
22797 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22798 if test "${wx_cv_func_va_copy+set}" = set; then
22799 echo $ECHO_N "(cached) $ECHO_C" >&6
22803 ac_cpp='$CXXCPP $CPPFLAGS'
22804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22805 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22808 cat >conftest.$ac_ext <<_ACEOF
22810 #include <stdarg.h>
22811 void foo(char *f, ...)
22825 rm -f conftest.$ac_objext conftest$ac_exeext
22826 if { (ac_try="$ac_link"
22827 case "(($ac_try" in
22828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22829 *) ac_try_echo=$ac_try;;
22831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22832 (eval "$ac_link") 2>conftest.er1
22834 grep -v '^
*+' conftest.er1 >conftest.err
22836 cat conftest.err >&5
22837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22838 (exit $ac_status); } && {
22839 test -z "$ac_cxx_werror_flag" ||
22840 test ! -s conftest.err
22841 } && test -s conftest$ac_exeext &&
22842 $as_test_x conftest$ac_exeext; then
22843 wx_cv_func_va_copy=yes
22845 echo "$as_me: failed program was:" >&5
22846 sed 's
/^
/| /' conftest.$ac_ext >&5
22848 wx_cv_func_va_copy=no
22852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22853 conftest$ac_exeext conftest.$ac_ext
22855 ac_cpp='$CPP $CPPFLAGS'
22856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22857 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22863 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22864 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22866 if test $wx_cv_func_va_copy = "yes"; then
22867 cat >>confdefs.h <<\_ACEOF
22868 #define HAVE_VA_COPY 1
22872 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22873 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22874 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22875 echo $ECHO_N "(cached) $ECHO_C" >&6
22878 if test "$cross_compiling" = yes; then
22879 wx_cv_type_va_list_lvalue=yes
22882 cat >conftest.$ac_ext <<_ACEOF
22884 #include <stdarg.h>
22885 int foo(char *f, ...)
22890 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22898 return foo("hi", 17);
22901 rm -f conftest$ac_exeext
22902 if { (ac_try="$ac_link"
22903 case "(($ac_try" in
22904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22905 *) ac_try_echo=$ac_try;;
22907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22908 (eval "$ac_link") 2>&5
22910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22911 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22912 { (case "(($ac_try" in
22913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22914 *) ac_try_echo=$ac_try;;
22916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22917 (eval "$ac_try") 2>&5
22919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22920 (exit $ac_status); }; }; then
22921 wx_cv_type_va_list_lvalue=yes
22923 echo "$as_me: program exited with status $ac_status" >&5
22924 echo "$as_me: failed program was:" >&5
22925 sed 's
/^
/| /' conftest.$ac_ext >&5
22927 ( exit $ac_status )
22928 wx_cv_type_va_list_lvalue=no
22930 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22937 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22938 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22940 if test $wx_cv_type_va_list_lvalue != "yes"; then
22941 cat >>confdefs.h <<\_ACEOF
22942 #define VA_LIST_IS_ARRAY 1
22948 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22950 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22951 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22952 if test "${wx_cv_have_variadic_macros+set}" = set; then
22953 echo $ECHO_N "(cached) $ECHO_C" >&6
22957 ac_cpp='$CXXCPP $CPPFLAGS'
22958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22959 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22962 cat >conftest.$ac_ext <<_ACEOF
22965 cat confdefs.h >>conftest.$ac_ext
22966 cat >>conftest.$ac_ext <<_ACEOF
22967 /* end confdefs.h. */
22970 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22976 test("%s %d %p", "test", 1, 0);
22983 rm -f conftest.$ac_objext
22984 if { (ac_try="$ac_compile"
22985 case "(($ac_try" in
22986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22987 *) ac_try_echo=$ac_try;;
22989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22990 (eval "$ac_compile") 2>conftest.er1
22992 grep -v '^
*+' conftest.er1 >conftest.err
22994 cat conftest.err >&5
22995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22996 (exit $ac_status); } && {
22997 test -z "$ac_cxx_werror_flag" ||
22998 test ! -s conftest.err
22999 } && test -s conftest.$ac_objext; then
23000 wx_cv_have_variadic_macros=yes
23002 echo "$as_me: failed program was:" >&5
23003 sed 's
/^
/| /' conftest.$ac_ext >&5
23005 wx_cv_have_variadic_macros=no
23009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23011 ac_cpp='$CPP $CPPFLAGS'
23012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23013 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23019 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23020 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23022 if test $wx_cv_have_variadic_macros = "yes"; then
23023 cat >>confdefs.h <<\_ACEOF
23024 #define HAVE_VARIADIC_MACROS 1
23030 # Check whether --enable-largefile was given.
23031 if test "${enable_largefile+set}" = set; then
23032 enableval=$enable_largefile;
23035 if test "$enable_largefile" != no; then
23038 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23039 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23040 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23041 echo $ECHO_N "(cached) $ECHO_C" >&6
23044 cat >conftest.$ac_ext <<_ACEOF
23047 cat confdefs.h >>conftest.$ac_ext
23048 cat >>conftest.$ac_ext <<_ACEOF
23049 /* end confdefs.h. */
23050 #define _FILE_OFFSET_BITS 64
23051 #include <sys/types.h>
23056 unsigned int field: sizeof(off_t) == 8;
23063 rm -f conftest.$ac_objext
23064 if { (ac_try="$ac_compile"
23065 case "(($ac_try" in
23066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23067 *) ac_try_echo=$ac_try;;
23069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23070 (eval "$ac_compile") 2>conftest.er1
23072 grep -v '^
*+' conftest.er1 >conftest.err
23074 cat conftest.err >&5
23075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23076 (exit $ac_status); } && {
23077 test -z "$ac_c_werror_flag" ||
23078 test ! -s conftest.err
23079 } && test -s conftest.$ac_objext; then
23080 ac_cv_sys_file_offset_bits=64
23082 echo "$as_me: failed program was:" >&5
23083 sed 's
/^
/| /' conftest.$ac_ext >&5
23085 ac_cv_sys_file_offset_bits=no
23088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23092 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23093 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23095 if test "$ac_cv_sys_file_offset_bits" != no; then
23097 cat >>confdefs.h <<_ACEOF
23098 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23103 if test "x$wx_largefile" != "xyes"; then
23105 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23106 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23107 if test "${ac_cv_sys_large_files+set}" = set; then
23108 echo $ECHO_N "(cached) $ECHO_C" >&6
23111 cat >conftest.$ac_ext <<_ACEOF
23114 cat confdefs.h >>conftest.$ac_ext
23115 cat >>conftest.$ac_ext <<_ACEOF
23116 /* end confdefs.h. */
23117 #define _LARGE_FILES 1
23118 #include <sys/types.h>
23123 unsigned int field: sizeof(off_t) == 8;
23130 rm -f conftest.$ac_objext
23131 if { (ac_try="$ac_compile"
23132 case "(($ac_try" in
23133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23134 *) ac_try_echo=$ac_try;;
23136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23137 (eval "$ac_compile") 2>conftest.er1
23139 grep -v '^
*+' conftest.er1 >conftest.err
23141 cat conftest.err >&5
23142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23143 (exit $ac_status); } && {
23144 test -z "$ac_c_werror_flag" ||
23145 test ! -s conftest.err
23146 } && test -s conftest.$ac_objext; then
23147 ac_cv_sys_large_files=1
23149 echo "$as_me: failed program was:" >&5
23150 sed 's
/^
/| /' conftest.$ac_ext >&5
23152 ac_cv_sys_large_files=no
23155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23159 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23160 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23162 if test "$ac_cv_sys_large_files" != no; then
23164 cat >>confdefs.h <<_ACEOF
23165 #define _LARGE_FILES $ac_cv_sys_large_files
23172 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23173 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23174 if test "x$wx_largefile" = "xyes"; then
23175 cat >>confdefs.h <<\_ACEOF
23176 #define HAVE_LARGEFILE_SUPPORT 1
23180 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23181 echo "${ECHO_T}$wx_largefile" >&6; }
23185 if test "x$wx_largefile" = "xyes"; then
23186 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23187 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23189 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23190 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23191 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23192 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23193 echo $ECHO_N "(cached) $ECHO_C" >&6
23197 ac_cpp='$CXXCPP $CPPFLAGS'
23198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23199 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23202 cat >conftest.$ac_ext <<_ACEOF
23205 cat confdefs.h >>conftest.$ac_ext
23206 cat >>conftest.$ac_ext <<_ACEOF
23207 /* end confdefs.h. */
23213 #ifndef __STDC_EXT__
23221 rm -f conftest.$ac_objext
23222 if { (ac_try="$ac_compile"
23223 case "(($ac_try" in
23224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23225 *) ac_try_echo=$ac_try;;
23227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23228 (eval "$ac_compile") 2>conftest.er1
23230 grep -v '^
*+' conftest.er1 >conftest.err
23232 cat conftest.err >&5
23233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23234 (exit $ac_status); } && {
23235 test -z "$ac_cxx_werror_flag" ||
23236 test ! -s conftest.err
23237 } && test -s conftest.$ac_objext; then
23238 wx_cv_STDC_EXT_required=no
23240 echo "$as_me: failed program was:" >&5
23241 sed 's
/^
/| /' conftest.$ac_ext >&5
23243 wx_cv_STDC_EXT_required=yes
23247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23249 ac_cpp='$CPP $CPPFLAGS'
23250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23251 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23257 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23258 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23259 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23260 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23264 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23266 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23267 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23268 if test "${ac_cv_sys_largefile_source+set}" = set; then
23269 echo $ECHO_N "(cached) $ECHO_C" >&6
23272 cat >conftest.$ac_ext <<_ACEOF
23275 cat confdefs.h >>conftest.$ac_ext
23276 cat >>conftest.$ac_ext <<_ACEOF
23277 /* end confdefs.h. */
23278 #include <sys/types.h> /* for off_t */
23283 int (*fp) (FILE *, off_t, int) = fseeko;
23284 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23289 rm -f conftest.$ac_objext conftest$ac_exeext
23290 if { (ac_try="$ac_link"
23291 case "(($ac_try" in
23292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23293 *) ac_try_echo=$ac_try;;
23295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23296 (eval "$ac_link") 2>conftest.er1
23298 grep -v '^
*+' conftest.er1 >conftest.err
23300 cat conftest.err >&5
23301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23302 (exit $ac_status); } && {
23303 test -z "$ac_c_werror_flag" ||
23304 test ! -s conftest.err
23305 } && test -s conftest$ac_exeext &&
23306 $as_test_x conftest$ac_exeext; then
23307 ac_cv_sys_largefile_source=no; break
23309 echo "$as_me: failed program was:" >&5
23310 sed 's
/^
/| /' conftest.$ac_ext >&5
23315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23316 conftest$ac_exeext conftest.$ac_ext
23317 cat >conftest.$ac_ext <<_ACEOF
23320 cat confdefs.h >>conftest.$ac_ext
23321 cat >>conftest.$ac_ext <<_ACEOF
23322 /* end confdefs.h. */
23323 #define _LARGEFILE_SOURCE 1
23324 #include <sys/types.h> /* for off_t */
23329 int (*fp) (FILE *, off_t, int) = fseeko;
23330 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23335 rm -f conftest.$ac_objext conftest$ac_exeext
23336 if { (ac_try="$ac_link"
23337 case "(($ac_try" in
23338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23339 *) ac_try_echo=$ac_try;;
23341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23342 (eval "$ac_link") 2>conftest.er1
23344 grep -v '^
*+' conftest.er1 >conftest.err
23346 cat conftest.err >&5
23347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23348 (exit $ac_status); } && {
23349 test -z "$ac_c_werror_flag" ||
23350 test ! -s conftest.err
23351 } && test -s conftest$ac_exeext &&
23352 $as_test_x conftest$ac_exeext; then
23353 ac_cv_sys_largefile_source=1; break
23355 echo "$as_me: failed program was:" >&5
23356 sed 's
/^
/| /' conftest.$ac_ext >&5
23361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23362 conftest$ac_exeext conftest.$ac_ext
23363 ac_cv_sys_largefile_source=unknown
23367 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23368 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23369 case $ac_cv_sys_largefile_source in #(
23372 cat >>confdefs.h <<_ACEOF
23373 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23379 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23380 # in glibc 2.1.3, but that breaks too many other things.
23381 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23382 if test $ac_cv_sys_largefile_source != unknown; then
23384 cat >>confdefs.h <<\_ACEOF
23385 #define HAVE_FSEEKO 1
23390 if test "$ac_cv_sys_largefile_source" != no; then
23391 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23395 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23396 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23397 if test "${ac_cv_c_bigendian+set}" = set; then
23398 echo $ECHO_N "(cached) $ECHO_C" >&6
23400 ac_cv_c_bigendian=unknown
23401 # See if sys/param.h defines the BYTE_ORDER macro.
23402 cat >conftest.$ac_ext <<_ACEOF
23405 cat confdefs.h >>conftest.$ac_ext
23406 cat >>conftest.$ac_ext <<_ACEOF
23407 /* end confdefs.h. */
23408 #include <sys/types.h>
23409 #include <sys/param.h>
23414 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23415 bogus endian macros
23421 rm -f conftest.$ac_objext
23422 if { (ac_try="$ac_compile"
23423 case "(($ac_try" in
23424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23425 *) ac_try_echo=$ac_try;;
23427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23428 (eval "$ac_compile") 2>conftest.er1
23430 grep -v '^
*+' conftest.er1 >conftest.err
23432 cat conftest.err >&5
23433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23434 (exit $ac_status); } && {
23435 test -z "$ac_c_werror_flag" ||
23436 test ! -s conftest.err
23437 } && test -s conftest.$ac_objext; then
23438 # It does; now see whether it defined to BIG_ENDIAN or not.
23439 cat >conftest.$ac_ext <<_ACEOF
23442 cat confdefs.h >>conftest.$ac_ext
23443 cat >>conftest.$ac_ext <<_ACEOF
23444 /* end confdefs.h. */
23445 #include <sys/types.h>
23446 #include <sys/param.h>
23451 #if BYTE_ORDER != BIG_ENDIAN
23458 rm -f conftest.$ac_objext
23459 if { (ac_try="$ac_compile"
23460 case "(($ac_try" in
23461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23462 *) ac_try_echo=$ac_try;;
23464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23465 (eval "$ac_compile") 2>conftest.er1
23467 grep -v '^
*+' conftest.er1 >conftest.err
23469 cat conftest.err >&5
23470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471 (exit $ac_status); } && {
23472 test -z "$ac_c_werror_flag" ||
23473 test ! -s conftest.err
23474 } && test -s conftest.$ac_objext; then
23475 ac_cv_c_bigendian=yes
23477 echo "$as_me: failed program was:" >&5
23478 sed 's
/^
/| /' conftest.$ac_ext >&5
23480 ac_cv_c_bigendian=no
23483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23485 echo "$as_me: failed program was:" >&5
23486 sed 's
/^
/| /' conftest.$ac_ext >&5
23491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23492 if test $ac_cv_c_bigendian = unknown; then
23493 if test "$cross_compiling" = yes; then
23494 ac_cv_c_bigendian=unknown
23496 cat >conftest.$ac_ext <<_ACEOF
23499 cat confdefs.h >>conftest.$ac_ext
23500 cat >>conftest.$ac_ext <<_ACEOF
23501 /* end confdefs.h. */
23503 /* Are we little or big endian? From Harbison&Steele. */
23507 char c[sizeof (long)];
23510 exit (u.c[sizeof (long) - 1] == 1);
23513 rm -f conftest$ac_exeext
23514 if { (ac_try="$ac_link"
23515 case "(($ac_try" in
23516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23517 *) ac_try_echo=$ac_try;;
23519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23520 (eval "$ac_link") 2>&5
23522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23523 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23524 { (case "(($ac_try" in
23525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23526 *) ac_try_echo=$ac_try;;
23528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23529 (eval "$ac_try") 2>&5
23531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23532 (exit $ac_status); }; }; then
23533 ac_cv_c_bigendian=no
23535 echo "$as_me: program exited with status $ac_status" >&5
23536 echo "$as_me: failed program was:" >&5
23537 sed 's
/^
/| /' conftest.$ac_ext >&5
23539 ( exit $ac_status )
23540 ac_cv_c_bigendian=yes
23542 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23548 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23549 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23550 if test $ac_cv_c_bigendian = unknown; then
23551 { 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
23552 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;}
23554 if test $ac_cv_c_bigendian = yes; then
23555 cat >>confdefs.h <<\_ACEOF
23556 #define WORDS_BIGENDIAN 1
23565 ac_cpp='$CXXCPP $CPPFLAGS'
23566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23567 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23572 for ac_header in iostream
23574 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23575 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23577 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23578 echo $ECHO_N "(cached) $ECHO_C" >&6
23580 cat >conftest.$ac_ext <<_ACEOF
23583 cat confdefs.h >>conftest.$ac_ext
23584 cat >>conftest.$ac_ext <<_ACEOF
23585 /* end confdefs.h. */
23588 #include <$ac_header>
23590 rm -f conftest.$ac_objext
23591 if { (ac_try="$ac_compile"
23592 case "(($ac_try" in
23593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23594 *) ac_try_echo=$ac_try;;
23596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23597 (eval "$ac_compile") 2>conftest.er1
23599 grep -v '^
*+' conftest.er1 >conftest.err
23601 cat conftest.err >&5
23602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23603 (exit $ac_status); } && {
23604 test -z "$ac_cxx_werror_flag" ||
23605 test ! -s conftest.err
23606 } && test -s conftest.$ac_objext; then
23607 eval "$as_ac_Header=yes"
23609 echo "$as_me: failed program was:" >&5
23610 sed 's
/^
/| /' conftest.$ac_ext >&5
23612 eval "$as_ac_Header=no"
23615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23617 ac_res=`eval echo '${'$as_ac_Header'}'`
23618 { echo "$as_me:$LINENO: result: $ac_res" >&5
23619 echo "${ECHO_T}$ac_res" >&6; }
23620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23621 cat >>confdefs.h <<_ACEOF
23622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23630 if test "$ac_cv_header_iostream" = "yes" ; then
23633 cat >>confdefs.h <<\_ACEOF
23634 #define wxUSE_IOSTREAMH 1
23640 ac_cpp='$CPP $CPPFLAGS'
23641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23642 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23648 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23649 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23650 if test "${wx_cv_cpp_bool+set}" = set; then
23651 echo $ECHO_N "(cached) $ECHO_C" >&6
23656 ac_cpp='$CXXCPP $CPPFLAGS'
23657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23658 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23662 cat >conftest.$ac_ext <<_ACEOF
23665 cat confdefs.h >>conftest.$ac_ext
23666 cat >>conftest.$ac_ext <<_ACEOF
23667 /* end confdefs.h. */
23682 rm -f conftest.$ac_objext
23683 if { (ac_try="$ac_compile"
23684 case "(($ac_try" in
23685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23686 *) ac_try_echo=$ac_try;;
23688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23689 (eval "$ac_compile") 2>conftest.er1
23691 grep -v '^
*+' conftest.er1 >conftest.err
23693 cat conftest.err >&5
23694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23695 (exit $ac_status); } && {
23696 test -z "$ac_cxx_werror_flag" ||
23697 test ! -s conftest.err
23698 } && test -s conftest.$ac_objext; then
23703 echo "$as_me: failed program was:" >&5
23704 sed 's
/^
/| /' conftest.$ac_ext >&5
23712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23715 ac_cpp='$CPP $CPPFLAGS'
23716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23717 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23722 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23723 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23725 if test "$wx_cv_cpp_bool" = "yes"; then
23726 cat >>confdefs.h <<\_ACEOF
23727 #define HAVE_BOOL 1
23734 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23735 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23736 if test "${wx_cv_explicit+set}" = set; then
23737 echo $ECHO_N "(cached) $ECHO_C" >&6
23742 ac_cpp='$CXXCPP $CPPFLAGS'
23743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23744 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23748 cat >conftest.$ac_ext <<_ACEOF
23751 cat confdefs.h >>conftest.$ac_ext
23752 cat >>conftest.$ac_ext <<_ACEOF
23753 /* end confdefs.h. */
23755 class Foo { public: explicit Foo(int) {} };
23767 rm -f conftest.$ac_objext
23768 if { (ac_try="$ac_compile"
23769 case "(($ac_try" in
23770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23771 *) ac_try_echo=$ac_try;;
23773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23774 (eval "$ac_compile") 2>conftest.er1
23776 grep -v '^
*+' conftest.er1 >conftest.err
23778 cat conftest.err >&5
23779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23780 (exit $ac_status); } && {
23781 test -z "$ac_cxx_werror_flag" ||
23782 test ! -s conftest.err
23783 } && test -s conftest.$ac_objext; then
23785 cat >conftest.$ac_ext <<_ACEOF
23788 cat confdefs.h >>conftest.$ac_ext
23789 cat >>conftest.$ac_ext <<_ACEOF
23790 /* end confdefs.h. */
23792 class Foo { public: explicit Foo(int) {} };
23793 static void TakeFoo(const Foo& foo) { }
23806 rm -f conftest.$ac_objext
23807 if { (ac_try="$ac_compile"
23808 case "(($ac_try" in
23809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23810 *) ac_try_echo=$ac_try;;
23812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23813 (eval "$ac_compile") 2>conftest.er1
23815 grep -v '^
*+' conftest.er1 >conftest.err
23817 cat conftest.err >&5
23818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23819 (exit $ac_status); } && {
23820 test -z "$ac_cxx_werror_flag" ||
23821 test ! -s conftest.err
23822 } && test -s conftest.$ac_objext; then
23825 echo "$as_me: failed program was:" >&5
23826 sed 's
/^
/| /' conftest.$ac_ext >&5
23832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23835 echo "$as_me: failed program was:" >&5
23836 sed 's
/^
/| /' conftest.$ac_ext >&5
23842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23845 ac_cpp='$CPP $CPPFLAGS'
23846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23847 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23852 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23853 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23855 if test "$wx_cv_explicit" = "yes"; then
23856 cat >>confdefs.h <<\_ACEOF
23857 #define HAVE_EXPLICIT 1
23863 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23864 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23865 if test "${ac_cv_cxx_const_cast+set}" = set; then
23866 echo $ECHO_N "(cached) $ECHO_C" >&6
23870 ac_cpp='$CXXCPP $CPPFLAGS'
23871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23872 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23875 cat >conftest.$ac_ext <<_ACEOF
23878 cat confdefs.h >>conftest.$ac_ext
23879 cat >>conftest.$ac_ext <<_ACEOF
23880 /* end confdefs.h. */
23885 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23890 rm -f conftest.$ac_objext
23891 if { (ac_try="$ac_compile"
23892 case "(($ac_try" in
23893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23894 *) ac_try_echo=$ac_try;;
23896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23897 (eval "$ac_compile") 2>conftest.er1
23899 grep -v '^
*+' conftest.er1 >conftest.err
23901 cat conftest.err >&5
23902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23903 (exit $ac_status); } && {
23904 test -z "$ac_cxx_werror_flag" ||
23905 test ! -s conftest.err
23906 } && test -s conftest.$ac_objext; then
23907 ac_cv_cxx_const_cast=yes
23909 echo "$as_me: failed program was:" >&5
23910 sed 's
/^
/| /' conftest.$ac_ext >&5
23912 ac_cv_cxx_const_cast=no
23915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23917 ac_cpp='$CPP $CPPFLAGS'
23918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23919 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23924 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23925 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23926 if test "$ac_cv_cxx_const_cast" = yes; then
23928 cat >>confdefs.h <<\_ACEOF
23929 #define HAVE_CONST_CAST
23934 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23935 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23936 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23937 echo $ECHO_N "(cached) $ECHO_C" >&6
23941 ac_cpp='$CXXCPP $CPPFLAGS'
23942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23943 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23946 cat >conftest.$ac_ext <<_ACEOF
23949 cat confdefs.h >>conftest.$ac_ext
23950 cat >>conftest.$ac_ext <<_ACEOF
23951 /* end confdefs.h. */
23952 #include <typeinfo>
23953 class Base { public : Base () {} virtual void f () = 0;};
23954 class Derived : public Base { public : Derived () {} virtual void f () {} };
23955 class Unrelated { public : Unrelated () {} };
23956 int g (Unrelated&) { return 0; }
23961 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23966 rm -f conftest.$ac_objext
23967 if { (ac_try="$ac_compile"
23968 case "(($ac_try" in
23969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23970 *) ac_try_echo=$ac_try;;
23972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23973 (eval "$ac_compile") 2>conftest.er1
23975 grep -v '^
*+' conftest.er1 >conftest.err
23977 cat conftest.err >&5
23978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23979 (exit $ac_status); } && {
23980 test -z "$ac_cxx_werror_flag" ||
23981 test ! -s conftest.err
23982 } && test -s conftest.$ac_objext; then
23983 ac_cv_cxx_reinterpret_cast=yes
23985 echo "$as_me: failed program was:" >&5
23986 sed 's
/^
/| /' conftest.$ac_ext >&5
23988 ac_cv_cxx_reinterpret_cast=no
23991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23993 ac_cpp='$CPP $CPPFLAGS'
23994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23995 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24000 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24001 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24002 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24004 cat >>confdefs.h <<\_ACEOF
24005 #define HAVE_REINTERPRET_CAST
24010 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24011 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24012 if test "${ac_cv_cxx_static_cast+set}" = set; then
24013 echo $ECHO_N "(cached) $ECHO_C" >&6
24017 ac_cpp='$CXXCPP $CPPFLAGS'
24018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24019 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24022 cat >conftest.$ac_ext <<_ACEOF
24025 cat confdefs.h >>conftest.$ac_ext
24026 cat >>conftest.$ac_ext <<_ACEOF
24027 /* end confdefs.h. */
24028 #include <typeinfo>
24029 class Base { public : Base () {} virtual void f () = 0; };
24030 class Derived : public Base { public : Derived () {} virtual void f () {} };
24031 int g (Derived&) { return 0; }
24036 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24041 rm -f conftest.$ac_objext
24042 if { (ac_try="$ac_compile"
24043 case "(($ac_try" in
24044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24045 *) ac_try_echo=$ac_try;;
24047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24048 (eval "$ac_compile") 2>conftest.er1
24050 grep -v '^
*+' conftest.er1 >conftest.err
24052 cat conftest.err >&5
24053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24054 (exit $ac_status); } && {
24055 test -z "$ac_cxx_werror_flag" ||
24056 test ! -s conftest.err
24057 } && test -s conftest.$ac_objext; then
24058 ac_cv_cxx_static_cast=yes
24060 echo "$as_me: failed program was:" >&5
24061 sed 's
/^
/| /' conftest.$ac_ext >&5
24063 ac_cv_cxx_static_cast=no
24066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24068 ac_cpp='$CPP $CPPFLAGS'
24069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24070 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24075 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24076 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24077 if test "$ac_cv_cxx_static_cast" = yes; then
24079 cat >>confdefs.h <<\_ACEOF
24080 #define HAVE_STATIC_CAST
24086 if test "x$SUNCXX" = xyes; then
24087 CXXFLAGS="-features=tmplife $CXXFLAGS"
24090 if test "x$SUNCC" = xyes; then
24091 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24094 if test "x$SGICC" = "xyes"; then
24095 CFLAGS="-woff 3970 $CFLAGS"
24097 if test "x$SGICXX" = "xyes"; then
24098 CXXFLAGS="-woff 3970 $CXXFLAGS"
24101 if test "x$HPCC" = "xyes"; then
24102 CFLAGS="+W 2011,2450 $CFLAGS"
24104 if test "x$HPCXX" = "xyes"; then
24105 CXXFLAGS="+W 2340 $CXXFLAGS"
24108 if test "x$COMPAQCXX" = "xyes"; then
24109 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24113 ac_cpp='$CXXCPP $CPPFLAGS'
24114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24115 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24119 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24120 if test "$wxUSE_UNICODE" = "yes"; then
24121 std_string="std::wstring"
24122 char_type="wchar_t"
24124 std_string="std::string"
24128 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24129 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24130 if test "${wx_cv_class_stdstring+set}" = set; then
24131 echo $ECHO_N "(cached) $ECHO_C" >&6
24134 cat >conftest.$ac_ext <<_ACEOF
24137 cat confdefs.h >>conftest.$ac_ext
24138 cat >>conftest.$ac_ext <<_ACEOF
24139 /* end confdefs.h. */
24149 rm -f conftest.$ac_objext
24150 if { (ac_try="$ac_compile"
24151 case "(($ac_try" in
24152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24153 *) ac_try_echo=$ac_try;;
24155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24156 (eval "$ac_compile") 2>conftest.er1
24158 grep -v '^
*+' conftest.er1 >conftest.err
24160 cat conftest.err >&5
24161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24162 (exit $ac_status); } && {
24163 test -z "$ac_cxx_werror_flag" ||
24164 test ! -s conftest.err
24165 } && test -s conftest.$ac_objext; then
24166 wx_cv_class_stdstring=yes
24168 echo "$as_me: failed program was:" >&5
24169 sed 's
/^
/| /' conftest.$ac_ext >&5
24171 wx_cv_class_stdstring=no
24175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24179 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24180 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24182 if test "$wx_cv_class_stdstring" = yes; then
24183 if test "$wxUSE_UNICODE" = "yes"; then
24184 cat >>confdefs.h <<\_ACEOF
24185 #define HAVE_STD_WSTRING 1
24190 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24191 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24192 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24193 echo $ECHO_N "(cached) $ECHO_C" >&6
24196 cat >conftest.$ac_ext <<_ACEOF
24199 cat confdefs.h >>conftest.$ac_ext
24200 cat >>conftest.$ac_ext <<_ACEOF
24201 /* end confdefs.h. */
24203 #ifdef HAVE_WCHAR_H
24205 # include <stddef.h>
24207 # include <wchar.h>
24209 #ifdef HAVE_STDLIB_H
24210 # include <stdlib.h>
24218 std::basic_string<$char_type> foo;
24219 const $char_type* dummy = foo.c_str();
24224 rm -f conftest.$ac_objext
24225 if { (ac_try="$ac_compile"
24226 case "(($ac_try" in
24227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24228 *) ac_try_echo=$ac_try;;
24230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24231 (eval "$ac_compile") 2>conftest.er1
24233 grep -v '^
*+' conftest.er1 >conftest.err
24235 cat conftest.err >&5
24236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24237 (exit $ac_status); } && {
24238 test -z "$ac_cxx_werror_flag" ||
24239 test ! -s conftest.err
24240 } && test -s conftest.$ac_objext; then
24241 wx_cv_class_stdbasicstring=yes
24243 echo "$as_me: failed program was:" >&5
24244 sed 's
/^
/| /' conftest.$ac_ext >&5
24246 wx_cv_class_stdbasicstring=no
24250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24254 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24255 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24257 if test "$wx_cv_class_stdbasicstring" != yes; then
24258 if test "$wxUSE_STL" = "yes"; then
24259 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24260 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24261 { (exit 1); exit 1; }; }
24262 elif test "$wxUSE_STD_STRING" = "yes"; then
24263 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24264 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24265 { (exit 1); exit 1; }; }
24267 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24268 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24269 wxUSE_STD_STRING=no
24275 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24276 { echo "$as_me:$LINENO: checking for std::istream" >&5
24277 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24278 if test "${ac_cv_type_std__istream+set}" = set; then
24279 echo $ECHO_N "(cached) $ECHO_C" >&6
24281 cat >conftest.$ac_ext <<_ACEOF
24284 cat confdefs.h >>conftest.$ac_ext
24285 cat >>conftest.$ac_ext <<_ACEOF
24286 /* end confdefs.h. */
24287 #include <iostream>
24289 typedef std::istream ac__type_new_;
24293 if ((ac__type_new_ *) 0)
24295 if (sizeof (ac__type_new_))
24301 rm -f conftest.$ac_objext
24302 if { (ac_try="$ac_compile"
24303 case "(($ac_try" in
24304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24305 *) ac_try_echo=$ac_try;;
24307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24308 (eval "$ac_compile") 2>conftest.er1
24310 grep -v '^
*+' conftest.er1 >conftest.err
24312 cat conftest.err >&5
24313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314 (exit $ac_status); } && {
24315 test -z "$ac_cxx_werror_flag" ||
24316 test ! -s conftest.err
24317 } && test -s conftest.$ac_objext; then
24318 ac_cv_type_std__istream=yes
24320 echo "$as_me: failed program was:" >&5
24321 sed 's
/^
/| /' conftest.$ac_ext >&5
24323 ac_cv_type_std__istream=no
24326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24328 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24329 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24330 if test $ac_cv_type_std__istream = yes; then
24332 cat >>confdefs.h <<_ACEOF
24333 #define HAVE_STD__ISTREAM 1
24338 wxUSE_STD_IOSTREAM=no
24340 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24341 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24342 if test "${ac_cv_type_std__ostream+set}" = set; then
24343 echo $ECHO_N "(cached) $ECHO_C" >&6
24345 cat >conftest.$ac_ext <<_ACEOF
24348 cat confdefs.h >>conftest.$ac_ext
24349 cat >>conftest.$ac_ext <<_ACEOF
24350 /* end confdefs.h. */
24351 #include <iostream>
24353 typedef std::ostream ac__type_new_;
24357 if ((ac__type_new_ *) 0)
24359 if (sizeof (ac__type_new_))
24365 rm -f conftest.$ac_objext
24366 if { (ac_try="$ac_compile"
24367 case "(($ac_try" in
24368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24369 *) ac_try_echo=$ac_try;;
24371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24372 (eval "$ac_compile") 2>conftest.er1
24374 grep -v '^
*+' conftest.er1 >conftest.err
24376 cat conftest.err >&5
24377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24378 (exit $ac_status); } && {
24379 test -z "$ac_cxx_werror_flag" ||
24380 test ! -s conftest.err
24381 } && test -s conftest.$ac_objext; then
24382 ac_cv_type_std__ostream=yes
24384 echo "$as_me: failed program was:" >&5
24385 sed 's
/^
/| /' conftest.$ac_ext >&5
24387 ac_cv_type_std__ostream=no
24390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24392 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24393 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24394 if test $ac_cv_type_std__ostream = yes; then
24396 cat >>confdefs.h <<_ACEOF
24397 #define HAVE_STD__OSTREAM 1
24402 wxUSE_STD_IOSTREAM=no
24406 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24407 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24408 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24409 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24410 { (exit 1); exit 1; }; }
24412 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24413 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24418 if test "$wxUSE_STL" = "yes"; then
24419 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24420 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24421 if test "${wx_cv_lib_stl+set}" = set; then
24422 echo $ECHO_N "(cached) $ECHO_C" >&6
24424 cat >conftest.$ac_ext <<_ACEOF
24427 cat confdefs.h >>conftest.$ac_ext
24428 cat >>conftest.$ac_ext <<_ACEOF
24429 /* end confdefs.h. */
24431 #include <functional>
24432 #include <algorithm>
24438 std::vector<int> moo;
24439 std::list<int> foo;
24440 std::vector<int>::iterator it =
24441 std::find_if(moo.begin(), moo.end(),
24442 std::bind2nd(std::less<int>(), 3));
24447 rm -f conftest.$ac_objext
24448 if { (ac_try="$ac_compile"
24449 case "(($ac_try" in
24450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24451 *) ac_try_echo=$ac_try;;
24453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24454 (eval "$ac_compile") 2>conftest.er1
24456 grep -v '^
*+' conftest.er1 >conftest.err
24458 cat conftest.err >&5
24459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24460 (exit $ac_status); } && {
24461 test -z "$ac_cxx_werror_flag" ||
24462 test ! -s conftest.err
24463 } && test -s conftest.$ac_objext; then
24466 echo "$as_me: failed program was:" >&5
24467 sed 's
/^
/| /' conftest.$ac_ext >&5
24473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24476 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24477 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24479 if test "$wx_cv_lib_stl" != yes; then
24480 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24481 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24482 { (exit 1); exit 1; }; }
24485 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24486 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24487 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24488 echo $ECHO_N "(cached) $ECHO_C" >&6
24490 cat >conftest.$ac_ext <<_ACEOF
24493 cat confdefs.h >>conftest.$ac_ext
24494 cat >>conftest.$ac_ext <<_ACEOF
24495 /* end confdefs.h. */
24500 std::string foo, bar;
24502 foo.compare(1, 1, bar);
24503 foo.compare(1, 1, bar, 1, 1);
24505 foo.compare(1, 1, "");
24506 foo.compare(1, 1, "", 2);
24511 rm -f conftest.$ac_objext
24512 if { (ac_try="$ac_compile"
24513 case "(($ac_try" in
24514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24515 *) ac_try_echo=$ac_try;;
24517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24518 (eval "$ac_compile") 2>conftest.er1
24520 grep -v '^
*+' conftest.er1 >conftest.err
24522 cat conftest.err >&5
24523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24524 (exit $ac_status); } && {
24525 test -z "$ac_cxx_werror_flag" ||
24526 test ! -s conftest.err
24527 } && test -s conftest.$ac_objext; then
24528 wx_cv_func_stdstring_compare=yes
24530 echo "$as_me: failed program was:" >&5
24531 sed 's
/^
/| /' conftest.$ac_ext >&5
24533 wx_cv_func_stdstring_compare=no
24537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24540 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24541 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24543 if test "$wx_cv_func_stdstring_compare" = yes; then
24544 cat >>confdefs.h <<\_ACEOF
24545 #define HAVE_STD_STRING_COMPARE 1
24550 { echo "$as_me:$LINENO: checking for hash_map" >&5
24551 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24552 if test "${ac_cv_header_hash_map+set}" = set; then
24553 echo $ECHO_N "(cached) $ECHO_C" >&6
24555 cat >conftest.$ac_ext <<_ACEOF
24558 cat confdefs.h >>conftest.$ac_ext
24559 cat >>conftest.$ac_ext <<_ACEOF
24560 /* end confdefs.h. */
24564 #include <hash_map>
24566 rm -f conftest.$ac_objext
24567 if { (ac_try="$ac_compile"
24568 case "(($ac_try" in
24569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24570 *) ac_try_echo=$ac_try;;
24572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24573 (eval "$ac_compile") 2>conftest.er1
24575 grep -v '^
*+' conftest.er1 >conftest.err
24577 cat conftest.err >&5
24578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24579 (exit $ac_status); } && {
24580 test -z "$ac_cxx_werror_flag" ||
24581 test ! -s conftest.err
24582 } && test -s conftest.$ac_objext; then
24583 ac_cv_header_hash_map=yes
24585 echo "$as_me: failed program was:" >&5
24586 sed 's
/^
/| /' conftest.$ac_ext >&5
24588 ac_cv_header_hash_map=no
24591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24593 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24594 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24595 if test $ac_cv_header_hash_map = yes; then
24596 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24597 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24598 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24599 echo $ECHO_N "(cached) $ECHO_C" >&6
24601 cat >conftest.$ac_ext <<_ACEOF
24604 cat confdefs.h >>conftest.$ac_ext
24605 cat >>conftest.$ac_ext <<_ACEOF
24606 /* end confdefs.h. */
24607 #include <hash_map>
24608 #include <hash_set>
24612 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24613 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24618 rm -f conftest.$ac_objext
24619 if { (ac_try="$ac_compile"
24620 case "(($ac_try" in
24621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24622 *) ac_try_echo=$ac_try;;
24624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24625 (eval "$ac_compile") 2>conftest.er1
24627 grep -v '^
*+' conftest.er1 >conftest.err
24629 cat conftest.err >&5
24630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24631 (exit $ac_status); } && {
24632 test -z "$ac_cxx_werror_flag" ||
24633 test ! -s conftest.err
24634 } && test -s conftest.$ac_objext; then
24635 wx_cv_class_stdhashmapset=yes
24637 echo "$as_me: failed program was:" >&5
24638 sed 's
/^
/| /' conftest.$ac_ext >&5
24640 wx_cv_class_stdhashmapset=no
24643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24647 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24648 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24653 if test "$wx_cv_class_stdhashmapset" = yes; then
24654 cat >>confdefs.h <<\_ACEOF
24655 #define HAVE_HASH_MAP 1
24658 cat >>confdefs.h <<\_ACEOF
24659 #define HAVE_STD_HASH_MAP 1
24664 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24665 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24666 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24667 echo $ECHO_N "(cached) $ECHO_C" >&6
24669 cat >conftest.$ac_ext <<_ACEOF
24672 cat confdefs.h >>conftest.$ac_ext
24673 cat >>conftest.$ac_ext <<_ACEOF
24674 /* end confdefs.h. */
24678 #include <ext/hash_map>
24680 rm -f conftest.$ac_objext
24681 if { (ac_try="$ac_compile"
24682 case "(($ac_try" in
24683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24684 *) ac_try_echo=$ac_try;;
24686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24687 (eval "$ac_compile") 2>conftest.er1
24689 grep -v '^
*+' conftest.er1 >conftest.err
24691 cat conftest.err >&5
24692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24693 (exit $ac_status); } && {
24694 test -z "$ac_cxx_werror_flag" ||
24695 test ! -s conftest.err
24696 } && test -s conftest.$ac_objext; then
24697 ac_cv_header_ext_hash_map=yes
24699 echo "$as_me: failed program was:" >&5
24700 sed 's
/^
/| /' conftest.$ac_ext >&5
24702 ac_cv_header_ext_hash_map=no
24705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24707 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24708 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24709 if test $ac_cv_header_ext_hash_map = yes; then
24710 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24711 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24712 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24713 echo $ECHO_N "(cached) $ECHO_C" >&6
24715 cat >conftest.$ac_ext <<_ACEOF
24718 cat confdefs.h >>conftest.$ac_ext
24719 cat >>conftest.$ac_ext <<_ACEOF
24720 /* end confdefs.h. */
24721 #include <ext/hash_map>
24722 #include <ext/hash_set>
24726 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24727 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24732 rm -f conftest.$ac_objext
24733 if { (ac_try="$ac_compile"
24734 case "(($ac_try" in
24735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24736 *) ac_try_echo=$ac_try;;
24738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24739 (eval "$ac_compile") 2>conftest.er1
24741 grep -v '^
*+' conftest.er1 >conftest.err
24743 cat conftest.err >&5
24744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24745 (exit $ac_status); } && {
24746 test -z "$ac_cxx_werror_flag" ||
24747 test ! -s conftest.err
24748 } && test -s conftest.$ac_objext; then
24749 wx_cv_class_gnuhashmapset=yes
24751 echo "$as_me: failed program was:" >&5
24752 sed 's
/^
/| /' conftest.$ac_ext >&5
24754 wx_cv_class_gnuhashmapset=no
24757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24761 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24762 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24767 if test "$wx_cv_class_gnuhashmapset" = yes; then
24768 cat >>confdefs.h <<\_ACEOF
24769 #define HAVE_EXT_HASH_MAP 1
24772 cat >>confdefs.h <<\_ACEOF
24773 #define HAVE_GNU_CXX_HASH_MAP 1
24781 if test -n "$GCC"; then
24782 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
24783 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
24784 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24785 echo $ECHO_N "(cached) $ECHO_C" >&6
24788 cat >conftest.$ac_ext <<_ACEOF
24791 cat confdefs.h >>conftest.$ac_ext
24792 cat >>conftest.$ac_ext <<_ACEOF
24793 /* end confdefs.h. */
24799 unsigned int value=0;
24800 /* wxAtomicInc doesn't use
return value here
*/
24801 __sync_fetch_and_add
(&value
, 2);
24802 __sync_sub_and_fetch
(&value
, 1);
24803 /* but wxAtomicDec does
, so mimic that
: */
24804 unsigned int r2
= __sync_sub_and_fetch
(&value
, 1);
24810 rm -f conftest.
$ac_objext conftest
$ac_exeext
24811 if { (ac_try
="$ac_link"
24812 case "(($ac_try" in
24813 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24814 *) ac_try_echo=$ac_try;;
24816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24817 (eval "$ac_link") 2>conftest.er1
24819 grep -v '^ *+' conftest.er1 >conftest.err
24821 cat conftest.err >&5
24822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24823 (exit $ac_status); } && {
24824 test -z "$ac_cxx_werror_flag" ||
24825 test ! -s conftest.err
24826 } && test -s conftest$ac_exeext &&
24827 $as_test_x conftest$ac_exeext; then
24828 wx_cv_cc_gcc_atomic_builtins=yes
24830 echo "$as_me: failed program was:" >&5
24831 sed 's/^/| /' conftest.$ac_ext >&5
24833 wx_cv_cc_gcc_atomic_builtins=no
24836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24837 conftest$ac_exeext conftest.$ac_ext
24841 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24842 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24843 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24844 cat >>confdefs.h <<\_ACEOF
24845 #define HAVE_GCC_ATOMIC_BUILTINS 1
24853 ac_cpp='$CPP $CPPFLAGS'
24854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24861 /usr/local/include \
24863 /usr/Motif-2.1/include \
24864 /usr/Motif-1.2/include \
24865 /usr/include/Motif1.2 \
24868 /usr/openwin/include \
24872 /usr/X11R6/include \
24873 /usr/X11R6.4/include \
24874 /usr/X11R5/include \
24875 /usr/X11R4/include \
24877 /usr/include/X11R6 \
24878 /usr/include/X11R5 \
24879 /usr/include/X11R4 \
24881 /usr/local/X11R6/include \
24882 /usr/local/X11R5/include \
24883 /usr/local/X11R4/include \
24885 /usr/local/include/X11R6 \
24886 /usr/local/include/X11R5 \
24887 /usr/local/include/X11R4 \
24891 /usr/local/X11/include \
24892 /usr/local/include/X11 \
24894 /usr/XFree86/include/X11 \
24897 /usr/openwin/share/include"
24899 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24900 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24904 if test "${wx_cv_std_libpath+set}" = set; then
24905 echo $ECHO_N "(cached) $ECHO_C" >&6
24908 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24909 for e in a so sl dylib dll.a; do
24911 if test -f $libc; then
24914 cat >conftest.$ac_ext <<_ACEOF
24915 int main() { return 0; }
24917 rm -f conftest.$ac_objext conftest$ac_exeext
24918 if { (ac_try="$ac_link"
24919 case "(($ac_try" in
24920 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24921 *) ac_try_echo
=$ac_try;;
24923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24924 (eval "$ac_link") 2>conftest.er1
24926 grep -v '^ *+' conftest.er1
>conftest.err
24928 cat conftest.err
>&5
24929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24930 (exit $ac_status); } && {
24931 test -z "$ac_c_werror_flag" ||
24932 test ! -s conftest.err
24933 } && test -s conftest
$ac_exeext &&
24934 $as_test_x conftest
$ac_exeext; then
24935 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24937 echo "$as_me: failed program was:" >&5
24938 sed 's/^/| /' conftest.
$ac_ext >&5
24943 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24944 conftest
$ac_exeext conftest.
$ac_ext
24946 if test "x$wx_cv_std_libpath" != "x"; then
24952 if test "x$wx_cv_std_libpath" = "x"; then
24953 wx_cv_std_libpath
="lib"
24962 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24963 wx_cv_std_libpath
="lib/64"
24965 wx_cv_std_libpath
="lib"
24970 if test "$ac_cv_sizeof_void_p" = 8 -a \
24971 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24972 wx_cv_std_libpath
="lib64"
24974 wx_cv_std_libpath
="lib"
24979 wx_cv_std_libpath
="lib";
24983 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24984 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24986 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24988 if test "$build" != "$host" -a "$GCC" = yes; then
24989 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24990 cross_root
=`dirname $cross_root`
24991 cross_root
=`dirname $cross_root`
24993 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24994 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24995 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24997 if test -z "$PKG_CONFIG_PATH"; then
24998 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24999 export PKG_CONFIG_PATH
25002 if test -z "$x_includes" -o "$x_includes" = NONE
; then
25005 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25007 if test -f "$ac_dir/X11/Intrinsic.h"; then
25008 ac_find_includes
=$ac_dir
25013 x_includes
=$ac_find_includes
25015 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
25018 for ac_dir
in $SEARCH_LIB;
25020 for ac_extension
in a so sl dylib dll.a
; do
25021 if test -f "$ac_dir/libXt.$ac_extension"; then
25022 ac_find_libraries
=$ac_dir
25028 x_libraries
=$ac_find_libraries
25034 cat >confcache
<<\_ACEOF
25035 # This file is a shell script that caches the results of configure
25036 # tests run on this system so they can be shared between configure
25037 # scripts and configure runs, see configure's option --config-cache.
25038 # It is not useful on other systems. If it contains results you don't
25039 # want to keep, you may remove or edit it.
25041 # config.status only pays attention to the cache file if you give it
25042 # the --recheck option to rerun configure.
25044 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25045 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25046 # following values.
25050 # The following way of writing the cache mishandles newlines in values,
25051 # but we know of no workaround that is simple, portable, and efficient.
25052 # So, we kill variables containing newlines.
25053 # Ultrix sh set writes to stderr and can't be redirected directly,
25054 # and sets the high bit in the cache file unless we assign to the vars.
25056 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25057 eval ac_val
=\$
$ac_var
25061 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25062 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25065 _
| IFS
| as_nl
) ;; #(
25066 *) $as_unset $ac_var ;;
25072 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25073 *${as_nl}ac_space
=\
*)
25074 # `set' does not quote correctly, so add quotes (double-quote
25075 # substitution turns \\\\ into \\, and sed turns \\ into \).
25078 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25081 # `set' quotes correctly as required by POSIX, so do not add quotes.
25082 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25091 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25093 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25095 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25096 if test -w "$cache_file"; then
25097 test "x$cache_file" != "x/dev/null" &&
25098 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25099 echo "$as_me: updating cache $cache_file" >&6;}
25100 cat confcache
>$cache_file
25102 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25103 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25108 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25109 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25110 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25111 if test "${wx_cv_lib_glibc21+set}" = set; then
25112 echo $ECHO_N "(cached) $ECHO_C" >&6
25115 cat >conftest.
$ac_ext <<_ACEOF
25118 cat confdefs.h
>>conftest.
$ac_ext
25119 cat >>conftest.
$ac_ext <<_ACEOF
25120 /* end confdefs.h. */
25121 #include <features.h>
25126 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25134 rm -f conftest.
$ac_objext
25135 if { (ac_try
="$ac_compile"
25136 case "(($ac_try" in
25137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25138 *) ac_try_echo=$ac_try;;
25140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25141 (eval "$ac_compile") 2>conftest.er1
25143 grep -v '^ *+' conftest.er1 >conftest.err
25145 cat conftest.err >&5
25146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25147 (exit $ac_status); } && {
25148 test -z "$ac_c_werror_flag" ||
25149 test ! -s conftest.err
25150 } && test -s conftest.$ac_objext; then
25152 wx_cv_lib_glibc21=yes
25155 echo "$as_me: failed program was:" >&5
25156 sed 's/^/| /' conftest.$ac_ext >&5
25159 wx_cv_lib_glibc21=no
25164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25167 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25168 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25169 if test "$wx_cv_lib_glibc21" = "yes"; then
25170 cat >>confdefs.h <<\_ACEOF
25171 #define wxHAVE_GLIBC2 1
25177 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25178 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25179 cat >>confdefs.h <<\_ACEOF
25180 #define _GNU_SOURCE 1
25191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25192 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25194 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25195 echo $ECHO_N "(cached) $ECHO_C" >&6
25197 cat >conftest.$ac_ext <<_ACEOF
25200 cat confdefs.h >>conftest.$ac_ext
25201 cat >>conftest.$ac_ext <<_ACEOF
25202 /* end confdefs.h. */
25203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25205 #define $ac_func innocuous_$ac_func
25207 /* System header to define __stub macros and hopefully few prototypes,
25208 which can conflict with char $ac_func (); below.
25209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25210 <limits.h> exists even on freestanding compilers. */
25213 # include <limits.h>
25215 # include <assert.h>
25220 /* Override any GCC internal prototype to avoid an error.
25221 Use char because int might match the return type of a GCC
25222 builtin and then its argument prototype would still apply. */
25227 /* The GNU C library defines this for functions which it implements
25228 to always fail with ENOSYS. Some functions are actually named
25229 something starting with __ and the normal name is an alias. */
25230 #if defined __stub_$ac_func || defined __stub___$ac_func
25237 return $ac_func ();
25242 rm -f conftest.$ac_objext conftest$ac_exeext
25243 if { (ac_try="$ac_link"
25244 case "(($ac_try" in
25245 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25246 *) ac_try_echo
=$ac_try;;
25248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25249 (eval "$ac_link") 2>conftest.er1
25251 grep -v '^ *+' conftest.er1
>conftest.err
25253 cat conftest.err
>&5
25254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25255 (exit $ac_status); } && {
25256 test -z "$ac_c_werror_flag" ||
25257 test ! -s conftest.err
25258 } && test -s conftest
$ac_exeext &&
25259 $as_test_x conftest
$ac_exeext; then
25260 eval "$as_ac_var=yes"
25262 echo "$as_me: failed program was:" >&5
25263 sed 's/^/| /' conftest.
$ac_ext >&5
25265 eval "$as_ac_var=no"
25268 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25269 conftest
$ac_exeext conftest.
$ac_ext
25271 ac_res
=`eval echo '${'$as_ac_var'}'`
25272 { echo "$as_me:$LINENO: result: $ac_res" >&5
25273 echo "${ECHO_T}$ac_res" >&6; }
25274 if test `eval echo '${'$as_ac_var'}'` = yes; then
25275 cat >>confdefs.h
<<_ACEOF
25276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25283 for ac_func
in floor
25285 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25286 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25288 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25289 echo $ECHO_N "(cached) $ECHO_C" >&6
25291 cat >conftest.
$ac_ext <<_ACEOF
25294 cat confdefs.h
>>conftest.
$ac_ext
25295 cat >>conftest.
$ac_ext <<_ACEOF
25296 /* end confdefs.h. */
25297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25299 #define $ac_func innocuous_$ac_func
25301 /* System header to define __stub macros and hopefully few prototypes,
25302 which can conflict with char $ac_func (); below.
25303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25304 <limits.h> exists even on freestanding compilers. */
25307 # include <limits.h>
25309 # include <assert.h>
25314 /* Override any GCC internal prototype to avoid an error.
25315 Use char because int might match the return type of a GCC
25316 builtin and then its argument prototype would still apply. */
25321 /* The GNU C library defines this for functions which it implements
25322 to always fail with ENOSYS. Some functions are actually named
25323 something starting with __ and the normal name is an alias. */
25324 #if defined __stub_$ac_func || defined __stub___$ac_func
25331 return $ac_func ();
25336 rm -f conftest.
$ac_objext conftest
$ac_exeext
25337 if { (ac_try
="$ac_link"
25338 case "(($ac_try" in
25339 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25340 *) ac_try_echo=$ac_try;;
25342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25343 (eval "$ac_link") 2>conftest.er1
25345 grep -v '^ *+' conftest.er1 >conftest.err
25347 cat conftest.err >&5
25348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25349 (exit $ac_status); } && {
25350 test -z "$ac_c_werror_flag" ||
25351 test ! -s conftest.err
25352 } && test -s conftest$ac_exeext &&
25353 $as_test_x conftest$ac_exeext; then
25354 eval "$as_ac_var=yes"
25356 echo "$as_me: failed program was:" >&5
25357 sed 's/^/| /' conftest.$ac_ext >&5
25359 eval "$as_ac_var=no"
25362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25363 conftest$ac_exeext conftest.$ac_ext
25365 ac_res=`eval echo '${'$as_ac_var'}'`
25366 { echo "$as_me:$LINENO: result: $ac_res" >&5
25367 echo "${ECHO_T}$ac_res" >&6; }
25368 if test `eval echo '${'$as_ac_var'}'` = yes; then
25369 cat >>confdefs.h <<_ACEOF
25370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25376 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25377 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25378 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25379 { echo "$as_me:$LINENO: result: yes" >&5
25380 echo "${ECHO_T}yes" >&6; }
25382 { echo "$as_me:$LINENO: result: no" >&5
25383 echo "${ECHO_T}no" >&6; }
25385 # use different functions to avoid configure caching
25391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25392 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25394 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25395 echo $ECHO_N "(cached) $ECHO_C" >&6
25397 cat >conftest.$ac_ext <<_ACEOF
25400 cat confdefs.h >>conftest.$ac_ext
25401 cat >>conftest.$ac_ext <<_ACEOF
25402 /* end confdefs.h. */
25403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25405 #define $ac_func innocuous_$ac_func
25407 /* System header to define __stub macros and hopefully few prototypes,
25408 which can conflict with char $ac_func (); below.
25409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25410 <limits.h> exists even on freestanding compilers. */
25413 # include <limits.h>
25415 # include <assert.h>
25420 /* Override any GCC internal prototype to avoid an error.
25421 Use char because int might match the return type of a GCC
25422 builtin and then its argument prototype would still apply. */
25427 /* The GNU C library defines this for functions which it implements
25428 to always fail with ENOSYS. Some functions are actually named
25429 something starting with __ and the normal name is an alias. */
25430 #if defined __stub_$ac_func || defined __stub___$ac_func
25437 return $ac_func ();
25442 rm -f conftest.$ac_objext conftest$ac_exeext
25443 if { (ac_try="$ac_link"
25444 case "(($ac_try" in
25445 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25446 *) ac_try_echo
=$ac_try;;
25448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25449 (eval "$ac_link") 2>conftest.er1
25451 grep -v '^ *+' conftest.er1
>conftest.err
25453 cat conftest.err
>&5
25454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25455 (exit $ac_status); } && {
25456 test -z "$ac_c_werror_flag" ||
25457 test ! -s conftest.err
25458 } && test -s conftest
$ac_exeext &&
25459 $as_test_x conftest
$ac_exeext; then
25460 eval "$as_ac_var=yes"
25462 echo "$as_me: failed program was:" >&5
25463 sed 's/^/| /' conftest.
$ac_ext >&5
25465 eval "$as_ac_var=no"
25468 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25469 conftest
$ac_exeext conftest.
$ac_ext
25471 ac_res
=`eval echo '${'$as_ac_var'}'`
25472 { echo "$as_me:$LINENO: result: $ac_res" >&5
25473 echo "${ECHO_T}$ac_res" >&6; }
25474 if test `eval echo '${'$as_ac_var'}'` = yes; then
25475 cat >>confdefs.h
<<_ACEOF
25476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25483 for ac_func
in ceil
25485 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25486 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25488 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25489 echo $ECHO_N "(cached) $ECHO_C" >&6
25491 cat >conftest.
$ac_ext <<_ACEOF
25494 cat confdefs.h
>>conftest.
$ac_ext
25495 cat >>conftest.
$ac_ext <<_ACEOF
25496 /* end confdefs.h. */
25497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25499 #define $ac_func innocuous_$ac_func
25501 /* System header to define __stub macros and hopefully few prototypes,
25502 which can conflict with char $ac_func (); below.
25503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25504 <limits.h> exists even on freestanding compilers. */
25507 # include <limits.h>
25509 # include <assert.h>
25514 /* Override any GCC internal prototype to avoid an error.
25515 Use char because int might match the return type of a GCC
25516 builtin and then its argument prototype would still apply. */
25521 /* The GNU C library defines this for functions which it implements
25522 to always fail with ENOSYS. Some functions are actually named
25523 something starting with __ and the normal name is an alias. */
25524 #if defined __stub_$ac_func || defined __stub___$ac_func
25531 return $ac_func ();
25536 rm -f conftest.
$ac_objext conftest
$ac_exeext
25537 if { (ac_try
="$ac_link"
25538 case "(($ac_try" in
25539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25540 *) ac_try_echo=$ac_try;;
25542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25543 (eval "$ac_link") 2>conftest.er1
25545 grep -v '^ *+' conftest.er1 >conftest.err
25547 cat conftest.err >&5
25548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25549 (exit $ac_status); } && {
25550 test -z "$ac_c_werror_flag" ||
25551 test ! -s conftest.err
25552 } && test -s conftest$ac_exeext &&
25553 $as_test_x conftest$ac_exeext; then
25554 eval "$as_ac_var=yes"
25556 echo "$as_me: failed program was:" >&5
25557 sed 's/^/| /' conftest.$ac_ext >&5
25559 eval "$as_ac_var=no"
25562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25563 conftest$ac_exeext conftest.$ac_ext
25565 ac_res=`eval echo '${'$as_ac_var'}'`
25566 { echo "$as_me:$LINENO: result: $ac_res" >&5
25567 echo "${ECHO_T}$ac_res" >&6; }
25568 if test `eval echo '${'$as_ac_var'}'` = yes; then
25569 cat >>confdefs.h <<_ACEOF
25570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25576 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25577 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25578 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25579 { echo "$as_me:$LINENO: result: yes" >&5
25580 echo "${ECHO_T}yes" >&6; }
25582 { echo "$as_me:$LINENO: result: no" >&5
25583 echo "${ECHO_T}no" >&6; }
25584 # not sure we should warn the user, crash, etc.
25589 ac_cpp='$CXXCPP $CPPFLAGS'
25590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25594 if test "wxUSE_UNICODE" = "yes"; then
25596 for wx_func in wcstoull
25598 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25599 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25600 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25601 echo $ECHO_N "(cached) $ECHO_C" >&6
25604 cat >conftest.$ac_ext <<_ACEOF
25608 cat confdefs.h >>conftest.$ac_ext
25609 cat >>conftest.$ac_ext <<_ACEOF
25610 /* end confdefs.h. */
25613 $ac_includes_default
25629 rm -f conftest.$ac_objext conftest$ac_exeext
25630 if { (ac_try="$ac_link"
25631 case "(($ac_try" in
25632 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25633 *) ac_try_echo
=$ac_try;;
25635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25636 (eval "$ac_link") 2>conftest.er1
25638 grep -v '^ *+' conftest.er1
>conftest.err
25640 cat conftest.err
>&5
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); } && {
25643 test -z "$ac_cxx_werror_flag" ||
25644 test ! -s conftest.err
25645 } && test -s conftest
$ac_exeext &&
25646 $as_test_x conftest
$ac_exeext; then
25647 eval wx_cv_func_
$wx_func=yes
25649 echo "$as_me: failed program was:" >&5
25650 sed 's/^/| /' conftest.
$ac_ext >&5
25652 eval wx_cv_func_
$wx_func=no
25655 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25656 conftest
$ac_exeext conftest.
$ac_ext
25659 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
25660 { echo "$as_me:$LINENO: result: $ac_res" >&5
25661 echo "${ECHO_T}$ac_res" >&6; }
25663 if eval test \
$wx_cv_func_$wx_func = yes
25665 cat >>confdefs.h
<<_ACEOF
25666 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25678 for wx_func
in strtoull
25680 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25681 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25682 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25683 echo $ECHO_N "(cached) $ECHO_C" >&6
25686 cat >conftest.
$ac_ext <<_ACEOF
25690 cat confdefs.h
>>conftest.
$ac_ext
25691 cat >>conftest.
$ac_ext <<_ACEOF
25692 /* end confdefs.h. */
25695 $ac_includes_default
25711 rm -f conftest.
$ac_objext conftest
$ac_exeext
25712 if { (ac_try
="$ac_link"
25713 case "(($ac_try" in
25714 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25715 *) ac_try_echo=$ac_try;;
25717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25718 (eval "$ac_link") 2>conftest.er1
25720 grep -v '^ *+' conftest.er1 >conftest.err
25722 cat conftest.err >&5
25723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25724 (exit $ac_status); } && {
25725 test -z "$ac_cxx_werror_flag" ||
25726 test ! -s conftest.err
25727 } && test -s conftest$ac_exeext &&
25728 $as_test_x conftest$ac_exeext; then
25729 eval wx_cv_func_$wx_func=yes
25731 echo "$as_me: failed program was:" >&5
25732 sed 's/^/| /' conftest.$ac_ext >&5
25734 eval wx_cv_func_$wx_func=no
25737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25738 conftest$ac_exeext conftest.$ac_ext
25741 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25742 { echo "$as_me:$LINENO: result: $ac_res" >&5
25743 echo "${ECHO_T}$ac_res" >&6; }
25745 if eval test \$wx_cv_func_$wx_func = yes
25747 cat >>confdefs.h <<_ACEOF
25748 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25760 ac_cpp='$CPP $CPPFLAGS'
25761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25768 if test "$wxUSE_REGEX" != "no"; then
25769 cat >>confdefs.h <<\_ACEOF
25770 #define wxUSE_REGEX 1
25774 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25775 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25776 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25777 wxUSE_REGEX=builtin
25780 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25781 { echo "$as_me:$LINENO: checking for regex.h" >&5
25782 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25783 if test "${ac_cv_header_regex_h+set}" = set; then
25784 echo $ECHO_N "(cached) $ECHO_C" >&6
25786 cat >conftest.$ac_ext <<_ACEOF
25789 cat confdefs.h >>conftest.$ac_ext
25790 cat >>conftest.$ac_ext <<_ACEOF
25791 /* end confdefs.h. */
25796 rm -f conftest.$ac_objext
25797 if { (ac_try="$ac_compile"
25798 case "(($ac_try" in
25799 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25800 *) ac_try_echo
=$ac_try;;
25802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25803 (eval "$ac_compile") 2>conftest.er1
25805 grep -v '^ *+' conftest.er1
>conftest.err
25807 cat conftest.err
>&5
25808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25809 (exit $ac_status); } && {
25810 test -z "$ac_c_werror_flag" ||
25811 test ! -s conftest.err
25812 } && test -s conftest.
$ac_objext; then
25813 ac_cv_header_regex_h
=yes
25815 echo "$as_me: failed program was:" >&5
25816 sed 's/^/| /' conftest.
$ac_ext >&5
25818 ac_cv_header_regex_h
=no
25821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25823 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25824 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25825 if test $ac_cv_header_regex_h = yes; then
25828 for ac_func
in regcomp re_search
25830 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25831 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25833 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25834 echo $ECHO_N "(cached) $ECHO_C" >&6
25836 cat >conftest.
$ac_ext <<_ACEOF
25839 cat confdefs.h
>>conftest.
$ac_ext
25840 cat >>conftest.
$ac_ext <<_ACEOF
25841 /* end confdefs.h. */
25842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25844 #define $ac_func innocuous_$ac_func
25846 /* System header to define __stub macros and hopefully few prototypes,
25847 which can conflict with char $ac_func (); below.
25848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25849 <limits.h> exists even on freestanding compilers. */
25852 # include <limits.h>
25854 # include <assert.h>
25859 /* Override any GCC internal prototype to avoid an error.
25860 Use char because int might match the return type of a GCC
25861 builtin and then its argument prototype would still apply. */
25866 /* The GNU C library defines this for functions which it implements
25867 to always fail with ENOSYS. Some functions are actually named
25868 something starting with __ and the normal name is an alias. */
25869 #if defined __stub_$ac_func || defined __stub___$ac_func
25876 return $ac_func ();
25881 rm -f conftest.
$ac_objext conftest
$ac_exeext
25882 if { (ac_try
="$ac_link"
25883 case "(($ac_try" in
25884 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25885 *) ac_try_echo=$ac_try;;
25887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25888 (eval "$ac_link") 2>conftest.er1
25890 grep -v '^ *+' conftest.er1 >conftest.err
25892 cat conftest.err >&5
25893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25894 (exit $ac_status); } && {
25895 test -z "$ac_c_werror_flag" ||
25896 test ! -s conftest.err
25897 } && test -s conftest$ac_exeext &&
25898 $as_test_x conftest$ac_exeext; then
25899 eval "$as_ac_var=yes"
25901 echo "$as_me: failed program was:" >&5
25902 sed 's/^/| /' conftest.$ac_ext >&5
25904 eval "$as_ac_var=no"
25907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25908 conftest$ac_exeext conftest.$ac_ext
25910 ac_res=`eval echo '${'$as_ac_var'}'`
25911 { echo "$as_me:$LINENO: result: $ac_res" >&5
25912 echo "${ECHO_T}$ac_res" >&6; }
25913 if test `eval echo '${'$as_ac_var'}'` = yes; then
25914 cat >>confdefs.h <<_ACEOF
25915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25925 if test "x$ac_cv_func_regcomp" != "xyes"; then
25926 if test "$wxUSE_REGEX" = "sys" ; then
25927 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25928 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25929 { (exit 1); exit 1; }; }
25931 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25932 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25933 wxUSE_REGEX=builtin
25937 cat >>confdefs.h <<\_ACEOF
25938 #define WX_NO_REGEX_ADVANCED 1
25947 if test "$wxUSE_ZLIB" != "no" ; then
25948 cat >>confdefs.h <<\_ACEOF
25949 #define wxUSE_ZLIB 1
25953 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25954 if test "$USE_DARWIN" = 1; then
25955 system_zlib_h_ok="yes"
25957 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25958 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25959 if test "${ac_cv_header_zlib_h+set}" = set; then
25960 echo $ECHO_N "(cached) $ECHO_C" >&6
25962 if test "$cross_compiling" = yes; then
25963 unset ac_cv_header_zlib_h
25966 cat >conftest.$ac_ext <<_ACEOF
25969 cat confdefs.h >>conftest.$ac_ext
25970 cat >>conftest.$ac_ext <<_ACEOF
25971 /* end confdefs.h. */
25978 FILE *f=fopen("conftestval", "w");
25981 ZLIB_VERSION[0] == '1' &&
25982 (ZLIB_VERSION[2] > '1' ||
25983 (ZLIB_VERSION[2] == '1' &&
25984 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25989 rm -f conftest$ac_exeext
25990 if { (ac_try="$ac_link"
25991 case "(($ac_try" in
25992 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25993 *) ac_try_echo
=$ac_try;;
25995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25996 (eval "$ac_link") 2>&5
25998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25999 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26000 { (case "(($ac_try" in
26001 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26002 *) ac_try_echo=$ac_try;;
26004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26005 (eval "$ac_try") 2>&5
26007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26008 (exit $ac_status); }; }; then
26009 ac_cv_header_zlib_h=`cat conftestval
`
26011 echo "$as_me: program exited with status $ac_status" >&5
26012 echo "$as_me: failed program was:" >&5
26013 sed 's/^/| /' conftest.$ac_ext >&5
26015 ( exit $ac_status )
26016 ac_cv_header_zlib_h=no
26018 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26024 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26025 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26026 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26027 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26028 if test "${ac_cv_header_zlib_h+set}" = set; then
26029 echo $ECHO_N "(cached) $ECHO_C" >&6
26031 cat >conftest.$ac_ext <<_ACEOF
26034 cat confdefs.h >>conftest.$ac_ext
26035 cat >>conftest.$ac_ext <<_ACEOF
26036 /* end confdefs.h. */
26041 rm -f conftest.$ac_objext
26042 if { (ac_try="$ac_compile"
26043 case "(($ac_try" in
26044 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26045 *) ac_try_echo
=$ac_try;;
26047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26048 (eval "$ac_compile") 2>conftest.er1
26050 grep -v '^ *+' conftest.er1
>conftest.err
26052 cat conftest.err
>&5
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); } && {
26055 test -z "$ac_c_werror_flag" ||
26056 test ! -s conftest.err
26057 } && test -s conftest.
$ac_objext; then
26058 ac_cv_header_zlib_h
=yes
26060 echo "$as_me: failed program was:" >&5
26061 sed 's/^/| /' conftest.
$ac_ext >&5
26063 ac_cv_header_zlib_h
=no
26066 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26068 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26069 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26073 system_zlib_h_ok
=$ac_cv_header_zlib_h
26076 if test "$system_zlib_h_ok" = "yes"; then
26077 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26078 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26079 if test "${ac_cv_lib_z_deflate+set}" = set; then
26080 echo $ECHO_N "(cached) $ECHO_C" >&6
26082 ac_check_lib_save_LIBS
=$LIBS
26084 cat >conftest.
$ac_ext <<_ACEOF
26087 cat confdefs.h
>>conftest.
$ac_ext
26088 cat >>conftest.
$ac_ext <<_ACEOF
26089 /* end confdefs.h. */
26091 /* Override any GCC internal prototype to avoid an error.
26092 Use char because int might match the return type of a GCC
26093 builtin and then its argument prototype would still apply. */
26106 rm -f conftest.
$ac_objext conftest
$ac_exeext
26107 if { (ac_try
="$ac_link"
26108 case "(($ac_try" in
26109 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26110 *) ac_try_echo=$ac_try;;
26112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26113 (eval "$ac_link") 2>conftest.er1
26115 grep -v '^ *+' conftest.er1 >conftest.err
26117 cat conftest.err >&5
26118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26119 (exit $ac_status); } && {
26120 test -z "$ac_c_werror_flag" ||
26121 test ! -s conftest.err
26122 } && test -s conftest$ac_exeext &&
26123 $as_test_x conftest$ac_exeext; then
26124 ac_cv_lib_z_deflate=yes
26126 echo "$as_me: failed program was:" >&5
26127 sed 's/^/| /' conftest.$ac_ext >&5
26129 ac_cv_lib_z_deflate=no
26132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26133 conftest$ac_exeext conftest.$ac_ext
26134 LIBS=$ac_check_lib_save_LIBS
26136 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26137 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26138 if test $ac_cv_lib_z_deflate = yes; then
26144 if test "x$ZLIB_LINK" = "x" ; then
26145 if test "$wxUSE_ZLIB" = "sys" ; then
26146 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26147 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26148 { (exit 1); exit 1; }; }
26150 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26151 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26162 if test "$wxUSE_LIBPNG" != "no" ; then
26163 cat >>confdefs.h <<\_ACEOF
26164 #define wxUSE_LIBPNG 1
26168 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26169 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26170 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26174 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26175 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26176 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26177 wxUSE_LIBPNG=builtin
26180 if test "$wxUSE_MGL" != 1 ; then
26181 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26182 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26183 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26184 if test "${ac_cv_header_png_h+set}" = set; then
26185 echo $ECHO_N "(cached) $ECHO_C" >&6
26187 if test "$cross_compiling" = yes; then
26188 unset ac_cv_header_png_h
26191 cat >conftest.$ac_ext <<_ACEOF
26194 cat confdefs.h >>conftest.$ac_ext
26195 cat >>conftest.$ac_ext <<_ACEOF
26196 /* end confdefs.h. */
26203 FILE *f=fopen("conftestval", "w");
26206 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26211 rm -f conftest$ac_exeext
26212 if { (ac_try="$ac_link"
26213 case "(($ac_try" in
26214 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26215 *) ac_try_echo
=$ac_try;;
26217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26218 (eval "$ac_link") 2>&5
26220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26221 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26222 { (case "(($ac_try" in
26223 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26224 *) ac_try_echo=$ac_try;;
26226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26227 (eval "$ac_try") 2>&5
26229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26230 (exit $ac_status); }; }; then
26231 ac_cv_header_png_h=`cat conftestval
`
26233 echo "$as_me: program exited with status $ac_status" >&5
26234 echo "$as_me: failed program was:" >&5
26235 sed 's/^/| /' conftest.$ac_ext >&5
26237 ( exit $ac_status )
26238 ac_cv_header_png_h=no
26240 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26246 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26247 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26248 { echo "$as_me:$LINENO: checking for png.h" >&5
26249 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26250 if test "${ac_cv_header_png_h+set}" = set; then
26251 echo $ECHO_N "(cached) $ECHO_C" >&6
26253 cat >conftest.$ac_ext <<_ACEOF
26256 cat confdefs.h >>conftest.$ac_ext
26257 cat >>conftest.$ac_ext <<_ACEOF
26258 /* end confdefs.h. */
26263 rm -f conftest.$ac_objext
26264 if { (ac_try="$ac_compile"
26265 case "(($ac_try" in
26266 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26267 *) ac_try_echo
=$ac_try;;
26269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26270 (eval "$ac_compile") 2>conftest.er1
26272 grep -v '^ *+' conftest.er1
>conftest.err
26274 cat conftest.err
>&5
26275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26276 (exit $ac_status); } && {
26277 test -z "$ac_c_werror_flag" ||
26278 test ! -s conftest.err
26279 } && test -s conftest.
$ac_objext; then
26280 ac_cv_header_png_h
=yes
26282 echo "$as_me: failed program was:" >&5
26283 sed 's/^/| /' conftest.
$ac_ext >&5
26285 ac_cv_header_png_h
=no
26288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26290 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26291 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26295 if test "$ac_cv_header_png_h" = "yes"; then
26296 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26297 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26298 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26299 echo $ECHO_N "(cached) $ECHO_C" >&6
26301 ac_check_lib_save_LIBS
=$LIBS
26302 LIBS
="-lpng -lz -lm $LIBS"
26303 cat >conftest.
$ac_ext <<_ACEOF
26306 cat confdefs.h
>>conftest.
$ac_ext
26307 cat >>conftest.
$ac_ext <<_ACEOF
26308 /* end confdefs.h. */
26310 /* Override any GCC internal prototype to avoid an error.
26311 Use char because int might match the return type of a GCC
26312 builtin and then its argument prototype would still apply. */
26316 char png_check_sig ();
26320 return png_check_sig ();
26325 rm -f conftest.
$ac_objext conftest
$ac_exeext
26326 if { (ac_try
="$ac_link"
26327 case "(($ac_try" in
26328 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26329 *) ac_try_echo=$ac_try;;
26331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26332 (eval "$ac_link") 2>conftest.er1
26334 grep -v '^ *+' conftest.er1 >conftest.err
26336 cat conftest.err >&5
26337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26338 (exit $ac_status); } && {
26339 test -z "$ac_c_werror_flag" ||
26340 test ! -s conftest.err
26341 } && test -s conftest$ac_exeext &&
26342 $as_test_x conftest$ac_exeext; then
26343 ac_cv_lib_png_png_check_sig=yes
26345 echo "$as_me: failed program was:" >&5
26346 sed 's/^/| /' conftest.$ac_ext >&5
26348 ac_cv_lib_png_png_check_sig=no
26351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26352 conftest$ac_exeext conftest.$ac_ext
26353 LIBS=$ac_check_lib_save_LIBS
26355 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26356 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26357 if test $ac_cv_lib_png_png_check_sig = yes; then
26358 PNG_LINK=" -lpng -lz"
26363 if test "x$PNG_LINK" = "x" ; then
26364 if test "$wxUSE_LIBPNG" = "sys" ; then
26365 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26366 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26367 { (exit 1); exit 1; }; }
26369 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26370 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26371 wxUSE_LIBPNG=builtin
26382 if test "$wxUSE_LIBJPEG" != "no" ; then
26383 cat >>confdefs.h <<\_ACEOF
26384 #define wxUSE_LIBJPEG 1
26388 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26389 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26390 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26394 if test "$wxUSE_MGL" != 1 ; then
26395 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26396 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26397 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26398 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26399 echo $ECHO_N "(cached) $ECHO_C" >&6
26401 cat >conftest.$ac_ext <<_ACEOF
26404 cat confdefs.h >>conftest.$ac_ext
26405 cat >>conftest.$ac_ext <<_ACEOF
26406 /* end confdefs.h. */
26408 #undef HAVE_STDLIB_H
26410 #include <jpeglib.h>
26421 rm -f conftest.$ac_objext
26422 if { (ac_try="$ac_compile"
26423 case "(($ac_try" in
26424 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26425 *) ac_try_echo
=$ac_try;;
26427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26428 (eval "$ac_compile") 2>conftest.er1
26430 grep -v '^ *+' conftest.er1
>conftest.err
26432 cat conftest.err
>&5
26433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26434 (exit $ac_status); } && {
26435 test -z "$ac_c_werror_flag" ||
26436 test ! -s conftest.err
26437 } && test -s conftest.
$ac_objext; then
26438 ac_cv_header_jpeglib_h
=yes
26440 echo "$as_me: failed program was:" >&5
26441 sed 's/^/| /' conftest.
$ac_ext >&5
26443 ac_cv_header_jpeglib_h
=no
26447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26451 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26452 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26454 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26455 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26456 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26457 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26458 echo $ECHO_N "(cached) $ECHO_C" >&6
26460 ac_check_lib_save_LIBS
=$LIBS
26461 LIBS
="-ljpeg $LIBS"
26462 cat >conftest.
$ac_ext <<_ACEOF
26465 cat confdefs.h
>>conftest.
$ac_ext
26466 cat >>conftest.
$ac_ext <<_ACEOF
26467 /* end confdefs.h. */
26469 /* Override any GCC internal prototype to avoid an error.
26470 Use char because int might match the return type of a GCC
26471 builtin and then its argument prototype would still apply. */
26475 char jpeg_read_header ();
26479 return jpeg_read_header ();
26484 rm -f conftest.
$ac_objext conftest
$ac_exeext
26485 if { (ac_try
="$ac_link"
26486 case "(($ac_try" in
26487 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26488 *) ac_try_echo=$ac_try;;
26490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26491 (eval "$ac_link") 2>conftest.er1
26493 grep -v '^ *+' conftest.er1 >conftest.err
26495 cat conftest.err >&5
26496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26497 (exit $ac_status); } && {
26498 test -z "$ac_c_werror_flag" ||
26499 test ! -s conftest.err
26500 } && test -s conftest$ac_exeext &&
26501 $as_test_x conftest$ac_exeext; then
26502 ac_cv_lib_jpeg_jpeg_read_header=yes
26504 echo "$as_me: failed program was:" >&5
26505 sed 's/^/| /' conftest.$ac_ext >&5
26507 ac_cv_lib_jpeg_jpeg_read_header=no
26510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26511 conftest$ac_exeext conftest.$ac_ext
26512 LIBS=$ac_check_lib_save_LIBS
26514 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26515 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26516 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26517 JPEG_LINK=" -ljpeg"
26522 if test "x$JPEG_LINK" = "x" ; then
26523 if test "$wxUSE_LIBJPEG" = "sys" ; then
26524 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26525 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26526 { (exit 1); exit 1; }; }
26528 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26529 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26530 wxUSE_LIBJPEG=builtin
26535 if test "$wxUSE_MSW" = 1; then
26536 { echo "$as_me:$LINENO: checking for boolean" >&5
26537 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26538 if test "${ac_cv_type_boolean+set}" = set; then
26539 echo $ECHO_N "(cached) $ECHO_C" >&6
26541 cat >conftest.$ac_ext <<_ACEOF
26544 cat confdefs.h >>conftest.$ac_ext
26545 cat >>conftest.$ac_ext <<_ACEOF
26546 /* end confdefs.h. */
26547 #include <windows.h>
26549 typedef boolean ac__type_new_;
26553 if ((ac__type_new_ *) 0)
26555 if (sizeof (ac__type_new_))
26561 rm -f conftest.$ac_objext
26562 if { (ac_try="$ac_compile"
26563 case "(($ac_try" in
26564 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26565 *) ac_try_echo
=$ac_try;;
26567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26568 (eval "$ac_compile") 2>conftest.er1
26570 grep -v '^ *+' conftest.er1
>conftest.err
26572 cat conftest.err
>&5
26573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26574 (exit $ac_status); } && {
26575 test -z "$ac_c_werror_flag" ||
26576 test ! -s conftest.err
26577 } && test -s conftest.
$ac_objext; then
26578 ac_cv_type_boolean
=yes
26580 echo "$as_me: failed program was:" >&5
26581 sed 's/^/| /' conftest.
$ac_ext >&5
26583 ac_cv_type_boolean
=no
26586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26588 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26589 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26590 if test $ac_cv_type_boolean = yes; then
26592 cat >>confdefs.h
<<_ACEOF
26593 #define HAVE_BOOLEAN 1
26597 { echo "$as_me:$LINENO: checking for boolean" >&5
26598 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26599 if test "${ac_cv_type_boolean+set}" = set; then
26600 echo $ECHO_N "(cached) $ECHO_C" >&6
26602 cat >conftest.
$ac_ext <<_ACEOF
26605 cat confdefs.h
>>conftest.
$ac_ext
26606 cat >>conftest.
$ac_ext <<_ACEOF
26607 /* end confdefs.h. */
26609 #undef HAVE_BOOLEAN
26611 #include <jpeglib.h>
26614 typedef boolean ac__type_new_;
26618 if ((ac__type_new_ *) 0)
26620 if (sizeof (ac__type_new_))
26626 rm -f conftest.
$ac_objext
26627 if { (ac_try
="$ac_compile"
26628 case "(($ac_try" in
26629 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26630 *) ac_try_echo=$ac_try;;
26632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26633 (eval "$ac_compile") 2>conftest.er1
26635 grep -v '^ *+' conftest.er1 >conftest.err
26637 cat conftest.err >&5
26638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26639 (exit $ac_status); } && {
26640 test -z "$ac_c_werror_flag" ||
26641 test ! -s conftest.err
26642 } && test -s conftest.$ac_objext; then
26643 ac_cv_type_boolean=yes
26645 echo "$as_me: failed program was:" >&5
26646 sed 's/^/| /' conftest.$ac_ext >&5
26648 ac_cv_type_boolean=no
26651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26653 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26654 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26656 # The cast to long int works around a bug in the HP C Compiler
26657 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26658 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
26659 # This bug is HP SR number 8606223364.
26660 { echo "$as_me:$LINENO: checking size of boolean" >&5
26661 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26662 if test "${ac_cv_sizeof_boolean+set}" = set; then
26663 echo $ECHO_N "(cached) $ECHO_C" >&6
26665 if test "$cross_compiling" = yes; then
26666 # Depending upon the size, compute the lo and hi bounds.
26667 cat >conftest.$ac_ext <<_ACEOF
26670 cat confdefs.h >>conftest.$ac_ext
26671 cat >>conftest.$ac_ext <<_ACEOF
26672 /* end confdefs.h. */
26674 #undef HAVE_BOOLEAN
26676 #include <jpeglib.h>
26679 typedef boolean ac__type_sizeof_;
26683 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26690 rm -f conftest.$ac_objext
26691 if { (ac_try="$ac_compile"
26692 case "(($ac_try" in
26693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26694 *) ac_try_echo=$ac_try;;
26696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26697 (eval "$ac_compile") 2>conftest.er1
26699 grep -v '^
*+' conftest.er1 >conftest.err
26701 cat conftest.err >&5
26702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703 (exit $ac_status); } && {
26704 test -z "$ac_c_werror_flag" ||
26705 test ! -s conftest.err
26706 } && test -s conftest.$ac_objext; then
26709 cat >conftest.$ac_ext <<_ACEOF
26712 cat confdefs.h >>conftest.$ac_ext
26713 cat >>conftest.$ac_ext <<_ACEOF
26714 /* end confdefs.h. */
26716 #undef HAVE_BOOLEAN
26718 #include <jpeglib.h>
26721 typedef boolean ac__type_sizeof_;
26725 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26732 rm -f conftest.$ac_objext
26733 if { (ac_try="$ac_compile"
26734 case "(($ac_try" in
26735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26736 *) ac_try_echo=$ac_try;;
26738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26739 (eval "$ac_compile") 2>conftest.er1
26741 grep -v '^
*+' conftest.er1 >conftest.err
26743 cat conftest.err >&5
26744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26745 (exit $ac_status); } && {
26746 test -z "$ac_c_werror_flag" ||
26747 test ! -s conftest.err
26748 } && test -s conftest.$ac_objext; then
26749 ac_hi=$ac_mid; break
26751 echo "$as_me: failed program was:" >&5
26752 sed 's
/^
/| /' conftest.$ac_ext >&5
26754 ac_lo=`expr $ac_mid + 1`
26755 if test $ac_lo -le $ac_mid; then
26759 ac_mid=`expr 2 '*' $ac_mid + 1`
26762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26765 echo "$as_me: failed program was:" >&5
26766 sed 's
/^
/| /' conftest.$ac_ext >&5
26768 cat >conftest.$ac_ext <<_ACEOF
26771 cat confdefs.h >>conftest.$ac_ext
26772 cat >>conftest.$ac_ext <<_ACEOF
26773 /* end confdefs.h. */
26775 #undef HAVE_BOOLEAN
26777 #include <jpeglib.h>
26780 typedef boolean ac__type_sizeof_;
26784 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26791 rm -f conftest.$ac_objext
26792 if { (ac_try="$ac_compile"
26793 case "(($ac_try" in
26794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26795 *) ac_try_echo=$ac_try;;
26797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26798 (eval "$ac_compile") 2>conftest.er1
26800 grep -v '^
*+' conftest.er1 >conftest.err
26802 cat conftest.err >&5
26803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26804 (exit $ac_status); } && {
26805 test -z "$ac_c_werror_flag" ||
26806 test ! -s conftest.err
26807 } && test -s conftest.$ac_objext; then
26810 cat >conftest.$ac_ext <<_ACEOF
26813 cat confdefs.h >>conftest.$ac_ext
26814 cat >>conftest.$ac_ext <<_ACEOF
26815 /* end confdefs.h. */
26817 #undef HAVE_BOOLEAN
26819 #include <jpeglib.h>
26822 typedef boolean ac__type_sizeof_;
26826 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26833 rm -f conftest.$ac_objext
26834 if { (ac_try="$ac_compile"
26835 case "(($ac_try" in
26836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26837 *) ac_try_echo=$ac_try;;
26839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26840 (eval "$ac_compile") 2>conftest.er1
26842 grep -v '^
*+' conftest.er1 >conftest.err
26844 cat conftest.err >&5
26845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26846 (exit $ac_status); } && {
26847 test -z "$ac_c_werror_flag" ||
26848 test ! -s conftest.err
26849 } && test -s conftest.$ac_objext; then
26850 ac_lo=$ac_mid; break
26852 echo "$as_me: failed program was:" >&5
26853 sed 's
/^
/| /' conftest.$ac_ext >&5
26855 ac_hi=`expr '(' $ac_mid ')' - 1`
26856 if test $ac_mid -le $ac_hi; then
26860 ac_mid=`expr 2 '*' $ac_mid`
26863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26866 echo "$as_me: failed program was:" >&5
26867 sed 's
/^
/| /' conftest.$ac_ext >&5
26872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26876 # Binary search between lo and hi bounds.
26877 while test "x$ac_lo" != "x$ac_hi"; do
26878 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26879 cat >conftest.$ac_ext <<_ACEOF
26882 cat confdefs.h >>conftest.$ac_ext
26883 cat >>conftest.$ac_ext <<_ACEOF
26884 /* end confdefs.h. */
26886 #undef HAVE_BOOLEAN
26888 #include <jpeglib.h>
26891 typedef boolean ac__type_sizeof_;
26895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26902 rm -f conftest.$ac_objext
26903 if { (ac_try="$ac_compile"
26904 case "(($ac_try" in
26905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26906 *) ac_try_echo=$ac_try;;
26908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26909 (eval "$ac_compile") 2>conftest.er1
26911 grep -v '^
*+' conftest.er1 >conftest.err
26913 cat conftest.err >&5
26914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26915 (exit $ac_status); } && {
26916 test -z "$ac_c_werror_flag" ||
26917 test ! -s conftest.err
26918 } && test -s conftest.$ac_objext; then
26921 echo "$as_me: failed program was:" >&5
26922 sed 's
/^
/| /' conftest.$ac_ext >&5
26924 ac_lo=`expr '(' $ac_mid ')' + 1`
26927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26930 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26931 '') if test "$ac_cv_type_boolean" = yes; then
26932 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26933 See \`config.log' for more details.
" >&5
26934 echo "$as_me: error
: cannot compute sizeof
(boolean
)
26935 See \
`config.log' for more details." >&2;}
26936 { (exit 77); exit 77; }; }
26938 ac_cv_sizeof_boolean=0
26942 cat >conftest.$ac_ext <<_ACEOF
26945 cat confdefs.h >>conftest.$ac_ext
26946 cat >>conftest.$ac_ext <<_ACEOF
26947 /* end confdefs.h. */
26949 #undef HAVE_BOOLEAN
26951 #include <jpeglib.h>
26954 typedef boolean ac__type_sizeof_;
26955 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26956 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26958 #include <stdlib.h>
26963 FILE *f = fopen ("conftest.val", "w");
26966 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26968 long int i = longval ();
26969 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26971 fprintf (f, "%ld\n", i);
26975 unsigned long int i = ulongval ();
26976 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26978 fprintf (f, "%lu\n", i);
26980 return ferror (f) || fclose (f) != 0;
26986 rm -f conftest$ac_exeext
26987 if { (ac_try="$ac_link"
26988 case "(($ac_try" in
26989 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26990 *) ac_try_echo
=$ac_try;;
26992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26993 (eval "$ac_link") 2>&5
26995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26996 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26997 { (case "(($ac_try" in
26998 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26999 *) ac_try_echo=$ac_try;;
27001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27002 (eval "$ac_try") 2>&5
27004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27005 (exit $ac_status); }; }; then
27006 ac_cv_sizeof_boolean=`cat conftest.val
`
27008 echo "$as_me: program exited with status $ac_status" >&5
27009 echo "$as_me: failed program was:" >&5
27010 sed 's/^/| /' conftest.$ac_ext >&5
27012 ( exit $ac_status )
27013 if test "$ac_cv_type_boolean" = yes; then
27014 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27015 See \`config.log
' for more details." >&5
27016 echo "$as_me: error: cannot compute sizeof (boolean)
27017 See \`config.log' for more details.
" >&2;}
27018 { (exit 77); exit 77; }; }
27020 ac_cv_sizeof_boolean=0
27023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27027 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27028 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27032 cat >>confdefs.h <<_ACEOF
27033 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27037 cat >>confdefs.h <<_ACEOF
27038 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27052 TIFF_PREREQ_LINKS=-lm
27053 if test "$wxUSE_LIBTIFF" != "no
" ; then
27054 cat >>confdefs.h <<\_ACEOF
27055 #define wxUSE_LIBTIFF 1
27059 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27060 if test "$wxUSE_LIBJPEG" = "sys
"; then
27061 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27063 if test "$wxUSE_ZLIB" = "sys
"; then
27064 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27066 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27067 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27068 if test "${ac_cv_header_tiffio_h+set}" = set; then
27069 echo $ECHO_N "(cached
) $ECHO_C" >&6
27071 cat >conftest.$ac_ext <<_ACEOF
27074 cat confdefs.h >>conftest.$ac_ext
27075 cat >>conftest.$ac_ext <<_ACEOF
27076 /* end confdefs.h. */
27080 #include <tiffio.h>
27082 rm -f conftest.$ac_objext
27083 if { (ac_try="$ac_compile"
27084 case "(($ac_try" in
27085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27086 *) ac_try_echo=$ac_try;;
27088 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27089 (eval "$ac_compile") 2>conftest.er1
27091 grep -v '^ *+' conftest.er1 >conftest.err
27093 cat conftest.err >&5
27094 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27095 (exit $ac_status); } && {
27096 test -z "$ac_c_werror_flag" ||
27097 test ! -s conftest.err
27098 } && test -s conftest.$ac_objext; then
27099 ac_cv_header_tiffio_h=yes
27101 echo "$as_me: failed program was
:" >&5
27102 sed 's/^/| /' conftest.$ac_ext >&5
27104 ac_cv_header_tiffio_h=no
27107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27109 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27110 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27111 if test $ac_cv_header_tiffio_h = yes; then
27113 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27114 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27115 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27116 echo $ECHO_N "(cached
) $ECHO_C" >&6
27118 ac_check_lib_save_LIBS=$LIBS
27119 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27120 cat >conftest.$ac_ext <<_ACEOF
27123 cat confdefs.h >>conftest.$ac_ext
27124 cat >>conftest.$ac_ext <<_ACEOF
27125 /* end confdefs.h. */
27127 /* Override any GCC internal prototype to avoid an error.
27128 Use char because int might match the return type of a GCC
27129 builtin and then its argument prototype would still apply. */
27137 return TIFFError ();
27142 rm -f conftest.$ac_objext conftest$ac_exeext
27143 if { (ac_try="$ac_link"
27144 case "(($ac_try" in
27145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27146 *) ac_try_echo=$ac_try;;
27148 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27149 (eval "$ac_link") 2>conftest.er1
27151 grep -v '^ *+' conftest.er1 >conftest.err
27153 cat conftest.err >&5
27154 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27155 (exit $ac_status); } && {
27156 test -z "$ac_c_werror_flag" ||
27157 test ! -s conftest.err
27158 } && test -s conftest$ac_exeext &&
27159 $as_test_x conftest$ac_exeext; then
27160 ac_cv_lib_tiff_TIFFError=yes
27162 echo "$as_me: failed program was
:" >&5
27163 sed 's/^/| /' conftest.$ac_ext >&5
27165 ac_cv_lib_tiff_TIFFError=no
27168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27169 conftest$ac_exeext conftest.$ac_ext
27170 LIBS=$ac_check_lib_save_LIBS
27172 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27173 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27174 if test $ac_cv_lib_tiff_TIFFError = yes; then
27175 TIFF_LINK=" -ltiff"
27183 if test "x
$TIFF_LINK" = "x
" ; then
27184 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27185 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27186 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27187 { (exit 1); exit 1; }; }
27189 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27190 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27191 wxUSE_LIBTIFF=builtin
27197 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27198 if test "$wxUSE_LIBJPEG" = "no
"; then
27199 ac_configure_args="$ac_configure_args --disable-jpeg"
27201 subdirs="$subdirs src
/tiff
"
27207 if test "$wxUSE_WCHAR_T" != "yes"; then
27208 if test "$wxUSE_EXPAT" != "no
"; then
27209 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27210 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27213 if test "$wxUSE_XML" != "no
"; then
27214 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27215 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27220 if test "$wxUSE_EXPAT" != "no
"; then
27222 cat >>confdefs.h <<\_ACEOF
27223 #define wxUSE_EXPAT 1
27226 cat >>confdefs.h <<\_ACEOF
27227 #define wxUSE_XML 1
27231 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27232 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27233 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27234 if test "${ac_cv_header_expat_h+set}" = set; then
27235 echo $ECHO_N "(cached
) $ECHO_C" >&6
27237 cat >conftest.$ac_ext <<_ACEOF
27240 cat confdefs.h >>conftest.$ac_ext
27241 cat >>conftest.$ac_ext <<_ACEOF
27242 /* end confdefs.h. */
27247 rm -f conftest.$ac_objext
27248 if { (ac_try="$ac_compile"
27249 case "(($ac_try" in
27250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27251 *) ac_try_echo=$ac_try;;
27253 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27254 (eval "$ac_compile") 2>conftest.er1
27256 grep -v '^ *+' conftest.er1 >conftest.err
27258 cat conftest.err >&5
27259 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27260 (exit $ac_status); } && {
27261 test -z "$ac_c_werror_flag" ||
27262 test ! -s conftest.err
27263 } && test -s conftest.$ac_objext; then
27264 ac_cv_header_expat_h=yes
27266 echo "$as_me: failed program was
:" >&5
27267 sed 's/^/| /' conftest.$ac_ext >&5
27269 ac_cv_header_expat_h=no
27272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27274 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27275 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27276 if test $ac_cv_header_expat_h = yes; then
27281 if test "x
$found_expat_h" = "x1
"; then
27282 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27283 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27284 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27285 echo $ECHO_N "(cached
) $ECHO_C" >&6
27289 ac_cpp='$CXXCPP $CPPFLAGS'
27290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27294 cat >conftest.$ac_ext <<_ACEOF
27297 cat confdefs.h >>conftest.$ac_ext
27298 cat >>conftest.$ac_ext <<_ACEOF
27299 /* end confdefs.h. */
27309 rm -f conftest.$ac_objext
27310 if { (ac_try="$ac_compile"
27311 case "(($ac_try" in
27312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27313 *) ac_try_echo=$ac_try;;
27315 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27316 (eval "$ac_compile") 2>conftest.er1
27318 grep -v '^ *+' conftest.er1 >conftest.err
27320 cat conftest.err >&5
27321 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27322 (exit $ac_status); } && {
27323 test -z "$ac_cxx_werror_flag" ||
27324 test ! -s conftest.err
27325 } && test -s conftest.$ac_objext; then
27326 wx_cv_expat_is_not_broken=yes
27328 echo "$as_me: failed program was
:" >&5
27329 sed 's/^/| /' conftest.$ac_ext >&5
27331 wx_cv_expat_is_not_broken=no
27335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27337 ac_cpp='$CPP $CPPFLAGS'
27338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27345 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27346 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27347 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27348 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27349 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27350 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27351 echo $ECHO_N "(cached
) $ECHO_C" >&6
27353 ac_check_lib_save_LIBS=$LIBS
27354 LIBS="-lexpat $LIBS"
27355 cat >conftest.$ac_ext <<_ACEOF
27358 cat confdefs.h >>conftest.$ac_ext
27359 cat >>conftest.$ac_ext <<_ACEOF
27360 /* end confdefs.h. */
27362 /* Override any GCC internal prototype to avoid an error.
27363 Use char because int might match the return type of a GCC
27364 builtin and then its argument prototype would still apply. */
27368 char XML_ParserCreate ();
27372 return XML_ParserCreate ();
27377 rm -f conftest.$ac_objext conftest$ac_exeext
27378 if { (ac_try="$ac_link"
27379 case "(($ac_try" in
27380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27381 *) ac_try_echo=$ac_try;;
27383 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27384 (eval "$ac_link") 2>conftest.er1
27386 grep -v '^ *+' conftest.er1 >conftest.err
27388 cat conftest.err >&5
27389 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27390 (exit $ac_status); } && {
27391 test -z "$ac_c_werror_flag" ||
27392 test ! -s conftest.err
27393 } && test -s conftest$ac_exeext &&
27394 $as_test_x conftest$ac_exeext; then
27395 ac_cv_lib_expat_XML_ParserCreate=yes
27397 echo "$as_me: failed program was
:" >&5
27398 sed 's/^/| /' conftest.$ac_ext >&5
27400 ac_cv_lib_expat_XML_ParserCreate=no
27403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27404 conftest$ac_exeext conftest.$ac_ext
27405 LIBS=$ac_check_lib_save_LIBS
27407 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27408 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27409 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27410 EXPAT_LINK=" -lexpat"
27415 if test "x
$EXPAT_LINK" = "x
" ; then
27416 if test "$wxUSE_EXPAT" = "sys
" ; then
27417 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27418 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27419 { (exit 1); exit 1; }; }
27421 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27422 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27423 wxUSE_EXPAT=builtin
27429 if test "$wxUSE_EXPAT" = "builtin" ; then
27430 subdirs="$subdirs src
/expat
"
27437 if test "$wxUSE_LIBMSPACK" != "no
"; then
27438 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27439 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27440 if test "${ac_cv_header_mspack_h+set}" = set; then
27441 echo $ECHO_N "(cached
) $ECHO_C" >&6
27443 cat >conftest.$ac_ext <<_ACEOF
27446 cat confdefs.h >>conftest.$ac_ext
27447 cat >>conftest.$ac_ext <<_ACEOF
27448 /* end confdefs.h. */
27451 #include <mspack.h>
27453 rm -f conftest.$ac_objext
27454 if { (ac_try="$ac_compile"
27455 case "(($ac_try" in
27456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27457 *) ac_try_echo=$ac_try;;
27459 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27460 (eval "$ac_compile") 2>conftest.er1
27462 grep -v '^ *+' conftest.er1 >conftest.err
27464 cat conftest.err >&5
27465 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27466 (exit $ac_status); } && {
27467 test -z "$ac_c_werror_flag" ||
27468 test ! -s conftest.err
27469 } && test -s conftest.$ac_objext; then
27470 ac_cv_header_mspack_h=yes
27472 echo "$as_me: failed program was
:" >&5
27473 sed 's/^/| /' conftest.$ac_ext >&5
27475 ac_cv_header_mspack_h=no
27478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27480 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27481 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27482 if test $ac_cv_header_mspack_h = yes; then
27487 if test "x
$found_mspack_h" = "x1
"; then
27488 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27489 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27490 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27491 echo $ECHO_N "(cached
) $ECHO_C" >&6
27493 ac_check_lib_save_LIBS=$LIBS
27494 LIBS="-lmspack $LIBS"
27495 cat >conftest.$ac_ext <<_ACEOF
27498 cat confdefs.h >>conftest.$ac_ext
27499 cat >>conftest.$ac_ext <<_ACEOF
27500 /* end confdefs.h. */
27502 /* Override any GCC internal prototype to avoid an error.
27503 Use char because int might match the return type of a GCC
27504 builtin and then its argument prototype would still apply. */
27508 char mspack_create_chm_decompressor ();
27512 return mspack_create_chm_decompressor ();
27517 rm -f conftest.$ac_objext conftest$ac_exeext
27518 if { (ac_try="$ac_link"
27519 case "(($ac_try" in
27520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27521 *) ac_try_echo=$ac_try;;
27523 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27524 (eval "$ac_link") 2>conftest.er1
27526 grep -v '^ *+' conftest.er1 >conftest.err
27528 cat conftest.err >&5
27529 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27530 (exit $ac_status); } && {
27531 test -z "$ac_c_werror_flag" ||
27532 test ! -s conftest.err
27533 } && test -s conftest$ac_exeext &&
27534 $as_test_x conftest$ac_exeext; then
27535 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27537 echo "$as_me: failed program was
:" >&5
27538 sed 's/^/| /' conftest.$ac_ext >&5
27540 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27544 conftest$ac_exeext conftest.$ac_ext
27545 LIBS=$ac_check_lib_save_LIBS
27547 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27548 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27549 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27550 MSPACK_LINK=" -lmspack"
27554 if test "x
$MSPACK_LINK" = "x
" ; then
27559 if test "$wxUSE_LIBMSPACK" != "no
"; then
27560 cat >>confdefs.h <<\_ACEOF
27561 #define wxUSE_LIBMSPACK 1
27575 if test "$USE_WIN32" = 1 ; then
27577 for ac_header in w32api.h
27579 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
27580 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
27581 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
27582 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
27583 echo $ECHO_N "(cached
) $ECHO_C" >&6
27585 cat >conftest.$ac_ext <<_ACEOF
27588 cat confdefs.h >>conftest.$ac_ext
27589 cat >>conftest.$ac_ext <<_ACEOF
27590 /* end confdefs.h. */
27593 #include <$ac_header>
27595 rm -f conftest.$ac_objext
27596 if { (ac_try="$ac_compile"
27597 case "(($ac_try" in
27598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27599 *) ac_try_echo=$ac_try;;
27601 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27602 (eval "$ac_compile") 2>conftest.er1
27604 grep -v '^ *+' conftest.er1 >conftest.err
27606 cat conftest.err >&5
27607 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27608 (exit $ac_status); } && {
27609 test -z "$ac_c_werror_flag" ||
27610 test ! -s conftest.err
27611 } && test -s conftest.$ac_objext; then
27612 eval "$as_ac_Header=yes"
27614 echo "$as_me: failed program was
:" >&5
27615 sed 's/^/| /' conftest.$ac_ext >&5
27617 eval "$as_ac_Header=no
"
27620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27622 ac_res=`eval echo '${'$as_ac_Header'}'`
27623 { echo "$as_me:$LINENO: result
: $ac_res" >&5
27624 echo "${ECHO_T}$ac_res" >&6; }
27625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27626 cat >>confdefs.h <<_ACEOF
27627 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
27634 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
27635 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
27636 if test "${ac_cv_header_windows_h+set}" = set; then
27637 echo $ECHO_N "(cached
) $ECHO_C" >&6
27639 cat >conftest.$ac_ext <<_ACEOF
27642 cat confdefs.h >>conftest.$ac_ext
27643 cat >>conftest.$ac_ext <<_ACEOF
27644 /* end confdefs.h. */
27647 #include <windows.h>
27649 rm -f conftest.$ac_objext
27650 if { (ac_try="$ac_compile"
27651 case "(($ac_try" in
27652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27653 *) ac_try_echo=$ac_try;;
27655 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27656 (eval "$ac_compile") 2>conftest.er1
27658 grep -v '^ *+' conftest.er1 >conftest.err
27660 cat conftest.err >&5
27661 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27662 (exit $ac_status); } && {
27663 test -z "$ac_c_werror_flag" ||
27664 test ! -s conftest.err
27665 } && test -s conftest.$ac_objext; then
27666 ac_cv_header_windows_h=yes
27668 echo "$as_me: failed program was
:" >&5
27669 sed 's/^/| /' conftest.$ac_ext >&5
27671 ac_cv_header_windows_h=no
27674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27676 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
27677 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27678 if test $ac_cv_header_windows_h = yes; then
27682 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
27683 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
27684 { (exit 1); exit 1; }; }
27690 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27692 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27693 LIBS="$LIBS -loleacc"
27698 LIBS="$LIBS -lkernel32 -luser32"
27701 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27702 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
27704 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27706 WIN32INSTALL=win32install
27708 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
27709 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
27710 if test "${ac_cv_header_pbt_h+set}" = set; then
27711 echo $ECHO_N "(cached
) $ECHO_C" >&6
27713 cat >conftest.$ac_ext <<_ACEOF
27716 cat confdefs.h >>conftest.$ac_ext
27717 cat >>conftest.$ac_ext <<_ACEOF
27718 /* end confdefs.h. */
27723 rm -f conftest.$ac_objext
27724 if { (ac_try="$ac_compile"
27725 case "(($ac_try" in
27726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27727 *) ac_try_echo=$ac_try;;
27729 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27730 (eval "$ac_compile") 2>conftest.er1
27732 grep -v '^ *+' conftest.er1 >conftest.err
27734 cat conftest.err >&5
27735 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27736 (exit $ac_status); } && {
27737 test -z "$ac_c_werror_flag" ||
27738 test ! -s conftest.err
27739 } && test -s conftest.$ac_objext; then
27740 ac_cv_header_pbt_h=yes
27742 echo "$as_me: failed program was
:" >&5
27743 sed 's/^/| /' conftest.$ac_ext >&5
27745 ac_cv_header_pbt_h=no
27748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27750 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
27751 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27752 if test $ac_cv_header_pbt_h = yes; then
27755 cat >>confdefs.h <<\_ACEOF
27756 #define NEED_PBT_H 1
27764 if test "$wxUSE_GUI" = "yes"; then
27774 if test "$wxUSE_COCOA" = 1 ; then
27775 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27776 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
27777 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
27778 wxUSE_PRINTING_ARCHITECTURE=no
27780 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27781 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
27782 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
27783 wxUSE_DRAG_AND_DROP=no
27785 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27786 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
27787 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
27792 if test "$wxUSE_MSW" = 1 ; then
27798 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
27802 if test "$wxUSE_GTK" = 1; then
27803 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
27804 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
27806 gtk_version_cached=1
27807 if test "${wx_cv_lib_gtk+set}" = set; then
27808 echo $ECHO_N "(cached
) $ECHO_C" >&6
27811 gtk_version_cached=0
27812 { echo "$as_me:$LINENO: result
: " >&5
27813 echo "${ECHO_T}" >&6; }
27816 if test "$wxUSE_THREADS" = "yes"; then
27817 GTK_MODULES=gthread
27821 if test "x
$wxGTK_VERSION" != "x1
"
27825 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27830 # Check whether --enable-gtktest was given.
27831 if test "${enable_gtktest+set}" = set; then
27832 enableval=$enable_gtktest;
27838 pkg_config_args=gtk+-2.0
27839 for module in . $GTK_MODULES
27843 pkg_config_args="$pkg_config_args gthread
-2.0
"
27850 # Extract the first word of "pkg
-config", so it can be a program name with args.
27851 set dummy pkg-config; ac_word=$2
27852 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27853 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27854 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27855 echo $ECHO_N "(cached
) $ECHO_C" >&6
27857 case $PKG_CONFIG in
27859 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27863 for as_dir in $PATH
27866 test -z "$as_dir" && as_dir=.
27867 for ac_exec_ext in '' $ac_executable_extensions; do
27868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27869 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27870 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27877 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
27881 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27882 if test -n "$PKG_CONFIG"; then
27883 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
27884 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27886 { echo "$as_me:$LINENO: result
: no
" >&5
27887 echo "${ECHO_T}no
" >&6; }
27892 if test x$PKG_CONFIG != xno ; then
27893 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27896 echo "*** pkg
-config too old
; version
0.7 or better required.
"
27904 min_gtk_version=2.4.0
27905 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
27906 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
27908 if test x$PKG_CONFIG != xno ; then
27909 ## don't try to run the test against uninstalled libtool libs
27910 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27911 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
27915 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27922 if test x"$no_gtk" = x ; then
27923 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27924 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27925 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27926 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27927 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27928 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27929 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27930 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27931 if test "x
$enable_gtktest" = "xyes
" ; then
27932 ac_save_CFLAGS="$CFLAGS"
27933 ac_save_LIBS="$LIBS"
27934 CFLAGS="$CFLAGS $GTK_CFLAGS"
27935 LIBS="$GTK_LIBS $LIBS"
27937 if test "$cross_compiling" = yes; then
27938 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
27940 cat >conftest.$ac_ext <<_ACEOF
27943 cat confdefs.h >>conftest.$ac_ext
27944 cat >>conftest.$ac_ext <<_ACEOF
27945 /* end confdefs.h. */
27947 #include <gtk/gtk.h>
27949 #include <stdlib.h>
27954 int major, minor, micro;
27957 system ("touch conf.gtktest
");
27959 /* HP/UX 9 (%@#!) writes to sscanf strings */
27960 tmp_version = g_strdup("$min_gtk_version");
27961 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
27962 printf("%s
, bad version string
\n", "$min_gtk_version");
27966 if ((gtk_major_version != $gtk_config_major_version) ||
27967 (gtk_minor_version != $gtk_config_minor_version) ||
27968 (gtk_micro_version != $gtk_config_micro_version))
27970 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
27971 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27972 gtk_major_version, gtk_minor_version, gtk_micro_version);
27973 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
27974 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
27975 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
27976 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
27977 printf("*** required on your system.
\n");
27978 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
27979 printf("*** to point to the correct configuration files
\n");
27981 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27982 (gtk_minor_version != GTK_MINOR_VERSION) ||
27983 (gtk_micro_version != GTK_MICRO_VERSION))
27985 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
27986 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27987 printf("*** library
(version
%d.
%d.
%d
)\n",
27988 gtk_major_version, gtk_minor_version, gtk_micro_version);
27992 if ((gtk_major_version > major) ||
27993 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27994 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28000 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28001 gtk_major_version, gtk_minor_version, gtk_micro_version);
28002 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28003 major, minor, micro);
28004 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28006 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28007 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28008 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28009 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28010 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28011 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28012 printf("*** so that the correct libraries are found
at run
-time))\n");
28019 rm -f conftest$ac_exeext
28020 if { (ac_try="$ac_link"
28021 case "(($ac_try" in
28022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28023 *) ac_try_echo=$ac_try;;
28025 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28026 (eval "$ac_link") 2>&5
28028 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28029 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28030 { (case "(($ac_try" in
28031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28032 *) ac_try_echo=$ac_try;;
28034 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28035 (eval "$ac_try") 2>&5
28037 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28038 (exit $ac_status); }; }; then
28041 echo "$as_me: program exited with status
$ac_status" >&5
28042 echo "$as_me: failed program was
:" >&5
28043 sed 's/^/| /' conftest.$ac_ext >&5
28045 ( exit $ac_status )
28048 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28052 CFLAGS="$ac_save_CFLAGS"
28053 LIBS="$ac_save_LIBS"
28056 if test "x
$no_gtk" = x ; then
28057 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28058 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28061 { echo "$as_me:$LINENO: result
: no
" >&5
28062 echo "${ECHO_T}no
" >&6; }
28063 if test "$PKG_CONFIG" = "no
" ; then
28064 echo "*** A new enough version of pkg
-config was not found.
"
28065 echo "*** See http
://pkgconfig.sourceforge.net
"
28067 if test -f conf.gtktest ; then
28070 echo "*** Could not run GTK
+ test program
, checking why...
"
28071 ac_save_CFLAGS="$CFLAGS"
28072 ac_save_LIBS="$LIBS"
28073 CFLAGS="$CFLAGS $GTK_CFLAGS"
28074 LIBS="$LIBS $GTK_LIBS"
28075 cat >conftest.$ac_ext <<_ACEOF
28078 cat confdefs.h >>conftest.$ac_ext
28079 cat >>conftest.$ac_ext <<_ACEOF
28080 /* end confdefs.h. */
28082 #include <gtk/gtk.h>
28088 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28093 rm -f conftest.$ac_objext conftest$ac_exeext
28094 if { (ac_try="$ac_link"
28095 case "(($ac_try" in
28096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28097 *) ac_try_echo=$ac_try;;
28099 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28100 (eval "$ac_link") 2>conftest.er1
28102 grep -v '^ *+' conftest.er1 >conftest.err
28104 cat conftest.err >&5
28105 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28106 (exit $ac_status); } && {
28107 test -z "$ac_c_werror_flag" ||
28108 test ! -s conftest.err
28109 } && test -s conftest$ac_exeext &&
28110 $as_test_x conftest$ac_exeext; then
28111 echo "*** The
test program compiled
, but did not run. This usually means
"
28112 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28113 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28114 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28115 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28116 echo "*** is required on your system"
28118 echo "*** If you have an old version installed, it is best to remove it, although"
28119 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28121 echo "$as_me: failed program was:" >&5
28122 sed 's
/^
/| /' conftest.$ac_ext >&5
28124 echo "*** The test program failed to compile or link. See the file config.log for the"
28125 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28129 conftest$ac_exeext conftest.$ac_ext
28130 CFLAGS="$ac_save_CFLAGS"
28131 LIBS="$ac_save_LIBS"
28145 if test "$wxUSE_SHARED" != "yes"; then
28146 GTK_LIBS="$GTK_LIBS -lX11"
28151 if test -z "$wx_cv_lib_gtk"; then
28152 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28154 # Check whether --with-gtk-prefix was given.
28155 if test "${with_gtk_prefix+set}" = set; then
28156 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28158 gtk_config_prefix=""
28162 # Check whether --with-gtk-exec-prefix was given.
28163 if test "${with_gtk_exec_prefix+set}" = set; then
28164 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28166 gtk_config_exec_prefix=""
28169 # Check whether --enable-gtktest was given.
28170 if test "${enable_gtktest+set}" = set; then
28171 enableval=$enable_gtktest;
28177 for module in . $GTK_MODULES
28181 gtk_config_args="$gtk_config_args gthread"
28186 if test x$gtk_config_exec_prefix != x ; then
28187 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28188 if test x${GTK_CONFIG+set} != xset ; then
28189 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28192 if test x$gtk_config_prefix != x ; then
28193 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28194 if test x${GTK_CONFIG+set} != xset ; then
28195 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28199 # Extract the first word of "gtk-config", so it can be a program name with args.
28200 set dummy gtk-config; ac_word=$2
28201 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28203 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28204 echo $ECHO_N "(cached) $ECHO_C" >&6
28206 case $GTK_CONFIG in
28208 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28212 for as_dir in $PATH
28215 test -z "$as_dir" && as_dir=.
28216 for ac_exec_ext in '' $ac_executable_extensions; do
28217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28218 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28226 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28230 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28231 if test -n "$GTK_CONFIG"; then
28232 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28233 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28235 { echo "$as_me:$LINENO: result: no" >&5
28236 echo "${ECHO_T}no" >&6; }
28240 min_gtk_version=1.2.7
28241 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28242 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28244 if test "$GTK_CONFIG" = "no" ; then
28247 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28248 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28249 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28250 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28251 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28252 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28253 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28254 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28255 if test "x$enable_gtktest" = "xyes" ; then
28256 ac_save_CFLAGS="$CFLAGS"
28257 ac_save_LIBS="$LIBS"
28258 CFLAGS="$CFLAGS $GTK_CFLAGS"
28259 LIBS="$GTK_LIBS $LIBS"
28261 if test "$cross_compiling" = yes; then
28262 echo $ac_n "cross compiling; assumed OK... $ac_c"
28264 cat >conftest.$ac_ext <<_ACEOF
28267 cat confdefs.h >>conftest.$ac_ext
28268 cat >>conftest.$ac_ext <<_ACEOF
28269 /* end confdefs.h. */
28271 #include <gtk/gtk.h>
28273 #include <stdlib.h>
28278 int major, minor, micro;
28281 system ("touch conf.gtktest");
28283 /* HP/UX 9 (%@#!) writes to sscanf strings */
28284 tmp_version = g_strdup("$min_gtk_version");
28285 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28286 printf("%s, bad version string\n", "$min_gtk_version");
28290 if ((gtk_major_version != $gtk_config_major_version) ||
28291 (gtk_minor_version != $gtk_config_minor_version) ||
28292 (gtk_micro_version != $gtk_config_micro_version))
28294 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28295 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28296 gtk_major_version, gtk_minor_version, gtk_micro_version);
28297 printf ("*** was found! If gtk-config was correct, then it is best\n");
28298 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28299 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28300 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28301 printf("*** required on your system.\n");
28302 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28303 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28304 printf("*** before re-running configure\n");
28306 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28307 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28308 (gtk_minor_version != GTK_MINOR_VERSION) ||
28309 (gtk_micro_version != GTK_MICRO_VERSION))
28311 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28312 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28313 printf("*** library (version %d.%d.%d)\n",
28314 gtk_major_version, gtk_minor_version, gtk_micro_version);
28316 #endif /* defined (GTK_MAJOR_VERSION) ... */
28319 if ((gtk_major_version > major) ||
28320 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28321 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28327 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28328 gtk_major_version, gtk_minor_version, gtk_micro_version);
28329 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28330 major, minor, micro);
28331 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28333 printf("*** If you have already installed a sufficiently new version, this error\n");
28334 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28335 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28336 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28337 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28338 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28339 printf("*** so that the correct libraries are found at run-time))\n");
28346 rm -f conftest$ac_exeext
28347 if { (ac_try="$ac_link"
28348 case "(($ac_try" in
28349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28350 *) ac_try_echo=$ac_try;;
28352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28353 (eval "$ac_link") 2>&5
28355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28356 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28357 { (case "(($ac_try" in
28358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28359 *) ac_try_echo=$ac_try;;
28361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28362 (eval "$ac_try") 2>&5
28364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28365 (exit $ac_status); }; }; then
28368 echo "$as_me: program exited with status $ac_status" >&5
28369 echo "$as_me: failed program was:" >&5
28370 sed 's
/^
/| /' conftest.$ac_ext >&5
28372 ( exit $ac_status )
28375 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28379 CFLAGS="$ac_save_CFLAGS"
28380 LIBS="$ac_save_LIBS"
28383 if test "x$no_gtk" = x ; then
28384 { echo "$as_me:$LINENO: result: yes" >&5
28385 echo "${ECHO_T}yes" >&6; }
28386 wx_cv_lib_gtk=1.2.7
28388 { echo "$as_me:$LINENO: result: no" >&5
28389 echo "${ECHO_T}no" >&6; }
28390 if test "$GTK_CONFIG" = "no" ; then
28391 echo "*** The gtk-config script installed by GTK could not be found"
28392 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28393 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28394 echo "*** full path to gtk-config."
28396 if test -f conf.gtktest ; then
28399 echo "*** Could not run GTK test program, checking why..."
28400 CFLAGS="$CFLAGS $GTK_CFLAGS"
28401 LIBS="$LIBS $GTK_LIBS"
28402 cat >conftest.$ac_ext <<_ACEOF
28405 cat confdefs.h >>conftest.$ac_ext
28406 cat >>conftest.$ac_ext <<_ACEOF
28407 /* end confdefs.h. */
28409 #include <gtk/gtk.h>
28415 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28420 rm -f conftest.$ac_objext conftest$ac_exeext
28421 if { (ac_try="$ac_link"
28422 case "(($ac_try" in
28423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28424 *) ac_try_echo=$ac_try;;
28426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28427 (eval "$ac_link") 2>conftest.er1
28429 grep -v '^
*+' conftest.er1 >conftest.err
28431 cat conftest.err >&5
28432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433 (exit $ac_status); } && {
28434 test -z "$ac_c_werror_flag" ||
28435 test ! -s conftest.err
28436 } && test -s conftest$ac_exeext &&
28437 $as_test_x conftest$ac_exeext; then
28438 echo "*** The test program compiled, but did not run. This usually means"
28439 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28440 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28441 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28442 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28443 echo "*** is required on your system
"
28445 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28446 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28448 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28449 echo "*** came with the system with the
command"
28451 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28453 echo "$as_me: failed program was
:" >&5
28454 sed 's/^/| /' conftest.$ac_ext >&5
28456 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28457 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28458 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28459 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28463 conftest$ac_exeext conftest.$ac_ext
28464 CFLAGS="$ac_save_CFLAGS"
28465 LIBS="$ac_save_LIBS"
28477 if test -z "$wx_cv_lib_gtk"; then
28479 # Check whether --with-gtk-prefix was given.
28480 if test "${with_gtk_prefix+set}" = set; then
28481 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28483 gtk_config_prefix=""
28487 # Check whether --with-gtk-exec-prefix was given.
28488 if test "${with_gtk_exec_prefix+set}" = set; then
28489 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28491 gtk_config_exec_prefix=""
28494 # Check whether --enable-gtktest was given.
28495 if test "${enable_gtktest+set}" = set; then
28496 enableval=$enable_gtktest;
28502 for module in . $GTK_MODULES
28506 gtk_config_args="$gtk_config_args gthread
"
28511 if test x$gtk_config_exec_prefix != x ; then
28512 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28513 if test x${GTK_CONFIG+set} != xset ; then
28514 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28517 if test x$gtk_config_prefix != x ; then
28518 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28519 if test x${GTK_CONFIG+set} != xset ; then
28520 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28524 # Extract the first word of "gtk
-config", so it can be a program name with args.
28525 set dummy gtk-config; ac_word=$2
28526 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28527 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28528 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28529 echo $ECHO_N "(cached
) $ECHO_C" >&6
28531 case $GTK_CONFIG in
28533 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28537 for as_dir in $PATH
28540 test -z "$as_dir" && as_dir=.
28541 for ac_exec_ext in '' $ac_executable_extensions; do
28542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28543 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28544 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28551 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
28555 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28556 if test -n "$GTK_CONFIG"; then
28557 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
28558 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28560 { echo "$as_me:$LINENO: result
: no
" >&5
28561 echo "${ECHO_T}no
" >&6; }
28565 min_gtk_version=1.2.3
28566 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
28567 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
28569 if test "$GTK_CONFIG" = "no
" ; then
28572 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28573 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28574 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28575 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28576 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28577 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28578 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28579 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28580 if test "x
$enable_gtktest" = "xyes
" ; then
28581 ac_save_CFLAGS="$CFLAGS"
28582 ac_save_LIBS="$LIBS"
28583 CFLAGS="$CFLAGS $GTK_CFLAGS"
28584 LIBS="$GTK_LIBS $LIBS"
28586 if test "$cross_compiling" = yes; then
28587 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28589 cat >conftest.$ac_ext <<_ACEOF
28592 cat confdefs.h >>conftest.$ac_ext
28593 cat >>conftest.$ac_ext <<_ACEOF
28594 /* end confdefs.h. */
28596 #include <gtk/gtk.h>
28598 #include <stdlib.h>
28603 int major, minor, micro;
28606 system ("touch conf.gtktest
");
28608 /* HP/UX 9 (%@#!) writes to sscanf strings */
28609 tmp_version = g_strdup("$min_gtk_version");
28610 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28611 printf("%s
, bad version string
\n", "$min_gtk_version");
28615 if ((gtk_major_version != $gtk_config_major_version) ||
28616 (gtk_minor_version != $gtk_config_minor_version) ||
28617 (gtk_micro_version != $gtk_config_micro_version))
28619 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28620 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28621 gtk_major_version, gtk_minor_version, gtk_micro_version);
28622 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
28623 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28624 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28625 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28626 printf("*** required on your system.
\n");
28627 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
28628 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
28629 printf("*** before re
-running configure
\n");
28631 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28632 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28633 (gtk_minor_version != GTK_MINOR_VERSION) ||
28634 (gtk_micro_version != GTK_MICRO_VERSION))
28636 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28637 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28638 printf("*** library
(version
%d.
%d.
%d
)\n",
28639 gtk_major_version, gtk_minor_version, gtk_micro_version);
28641 #endif /* defined (GTK_MAJOR_VERSION) ... */
28644 if ((gtk_major_version > major) ||
28645 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28646 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28652 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28653 gtk_major_version, gtk_minor_version, gtk_micro_version);
28654 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28655 major, minor, micro);
28656 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28658 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28659 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
28660 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28661 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
28662 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
28663 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28664 printf("*** so that the correct libraries are found
at run
-time))\n");
28671 rm -f conftest$ac_exeext
28672 if { (ac_try="$ac_link"
28673 case "(($ac_try" in
28674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28675 *) ac_try_echo=$ac_try;;
28677 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28678 (eval "$ac_link") 2>&5
28680 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28681 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28682 { (case "(($ac_try" in
28683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28684 *) ac_try_echo=$ac_try;;
28686 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28687 (eval "$ac_try") 2>&5
28689 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28690 (exit $ac_status); }; }; then
28693 echo "$as_me: program exited with status
$ac_status" >&5
28694 echo "$as_me: failed program was
:" >&5
28695 sed 's/^/| /' conftest.$ac_ext >&5
28697 ( exit $ac_status )
28700 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28704 CFLAGS="$ac_save_CFLAGS"
28705 LIBS="$ac_save_LIBS"
28708 if test "x
$no_gtk" = x ; then
28709 { echo "$as_me:$LINENO: result
: yes" >&5
28710 echo "${ECHO_T}yes" >&6; }
28711 wx_cv_lib_gtk=1.2.3
28713 { echo "$as_me:$LINENO: result
: no
" >&5
28714 echo "${ECHO_T}no
" >&6; }
28715 if test "$GTK_CONFIG" = "no
" ; then
28716 echo "*** The gtk
-config script installed by GTK could not be found
"
28717 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
28718 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
28719 echo "*** full path to gtk
-config.
"
28721 if test -f conf.gtktest ; then
28724 echo "*** Could not run GTK
test program
, checking why...
"
28725 CFLAGS="$CFLAGS $GTK_CFLAGS"
28726 LIBS="$LIBS $GTK_LIBS"
28727 cat >conftest.$ac_ext <<_ACEOF
28730 cat confdefs.h >>conftest.$ac_ext
28731 cat >>conftest.$ac_ext <<_ACEOF
28732 /* end confdefs.h. */
28734 #include <gtk/gtk.h>
28740 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28745 rm -f conftest.$ac_objext conftest$ac_exeext
28746 if { (ac_try="$ac_link"
28747 case "(($ac_try" in
28748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28749 *) ac_try_echo=$ac_try;;
28751 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28752 (eval "$ac_link") 2>conftest.er1
28754 grep -v '^ *+' conftest.er1 >conftest.err
28756 cat conftest.err >&5
28757 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28758 (exit $ac_status); } && {
28759 test -z "$ac_c_werror_flag" ||
28760 test ! -s conftest.err
28761 } && test -s conftest$ac_exeext &&
28762 $as_test_x conftest$ac_exeext; then
28763 echo "*** The
test program compiled
, but did not run. This usually means
"
28764 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
28765 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
28766 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28767 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28768 echo "*** is required on your system"
28770 echo "*** If you have an old version installed, it is best to remove it, although"
28771 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28773 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28774 echo "*** came with the system with the command"
28776 echo "*** rpm --erase --nodeps gtk gtk-devel"
28778 echo "$as_me: failed program was:" >&5
28779 sed 's
/^
/| /' conftest.$ac_ext >&5
28781 echo "*** The test program failed to compile or link. See the file config.log for the"
28782 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28783 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28784 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28788 conftest$ac_exeext conftest.$ac_ext
28789 CFLAGS="$ac_save_CFLAGS"
28790 LIBS="$ac_save_LIBS"
28805 if test -z "$wx_cv_lib_gtk"; then
28808 wx_cv_cflags_gtk=$GTK_CFLAGS
28809 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
28816 if test "$gtk_version_cached" = 1; then
28817 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28818 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28821 case "$wx_cv_lib_gtk" in
28830 *) { { echo "$as_me:$LINENO: error:
28831 The development files for GTK+ were not found. For GTK+ 2, please
28832 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28833 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28834 and that the version is 1.2.3 or above. Also check that the
28835 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28836 --libs' are in the LD_LIBRARY_PATH or equivalent.
28838 echo "$as_me: error:
28839 The development files for GTK+ were not found. For GTK+ 2, please
28840 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28841 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28842 and that the version is 1.2.3 or above. Also check that the
28843 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28844 --libs' are in the LD_LIBRARY_PATH or equivalent.
28846 { (exit 1); exit 1; }; }
28850 if test "$WXGTK2" = 1; then
28851 save_CFLAGS="$CFLAGS"
28853 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28854 LIBS="$LIBS $wx_cv_libs_gtk"
28856 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28857 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28858 cat >conftest.$ac_ext <<_ACEOF
28861 cat confdefs.h >>conftest.$ac_ext
28862 cat >>conftest.$ac_ext <<_ACEOF
28863 /* end confdefs.h. */
28865 #include <gtk/gtk.h>
28871 #if !GTK_CHECK_VERSION(2,10,0)
28879 rm -f conftest.$ac_objext
28880 if { (ac_try="$ac_compile"
28881 case "(($ac_try" in
28882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28883 *) ac_try_echo=$ac_try;;
28885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28886 (eval "$ac_compile") 2>conftest.er1
28888 grep -v '^
*+' conftest.er1 >conftest.err
28890 cat conftest.err >&5
28891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28892 (exit $ac_status); } && {
28893 test -z "$ac_c_werror_flag" ||
28894 test ! -s conftest.err
28895 } && test -s conftest.$ac_objext; then
28897 cat >>confdefs.h <<\_ACEOF
28898 #define __WXGTK210__ 1
28901 cat >>confdefs.h <<\_ACEOF
28902 #define __WXGTK26__ 1
28905 { echo "$as_me:$LINENO: result: yes" >&5
28906 echo "${ECHO_T}yes" >&6; }
28910 echo "$as_me: failed program was:" >&5
28911 sed 's
/^
/| /' conftest.$ac_ext >&5
28914 { echo "$as_me:$LINENO: result: no" >&5
28915 echo "${ECHO_T}no" >&6; }
28920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28922 if test "$ac_wxgtk210" = 0; then
28923 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28924 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28925 cat >conftest.$ac_ext <<_ACEOF
28928 cat confdefs.h >>conftest.$ac_ext
28929 cat >>conftest.$ac_ext <<_ACEOF
28930 /* end confdefs.h. */
28932 #include <gtk/gtk.h>
28938 #if !GTK_CHECK_VERSION(2,6,0)
28946 rm -f conftest.$ac_objext
28947 if { (ac_try="$ac_compile"
28948 case "(($ac_try" in
28949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28950 *) ac_try_echo=$ac_try;;
28952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28953 (eval "$ac_compile") 2>conftest.er1
28955 grep -v '^
*+' conftest.er1 >conftest.err
28957 cat conftest.err >&5
28958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28959 (exit $ac_status); } && {
28960 test -z "$ac_c_werror_flag" ||
28961 test ! -s conftest.err
28962 } && test -s conftest.$ac_objext; then
28964 cat >>confdefs.h <<\_ACEOF
28965 #define __WXGTK26__ 1
28968 { echo "$as_me:$LINENO: result: yes" >&5
28969 echo "${ECHO_T}yes" >&6; }
28973 echo "$as_me: failed program was:" >&5
28974 sed 's
/^
/| /' conftest.$ac_ext >&5
28977 { echo "$as_me:$LINENO: result: no" >&5
28978 echo "${ECHO_T}no" >&6; }
28983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28986 CFLAGS="$save_CFLAGS"
28989 if test "$wxUSE_UNICODE" = "yes"; then
28990 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28991 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28995 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28996 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28997 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28998 echo $ECHO_N "(cached) $ECHO_C" >&6
29000 ac_check_lib_save_LIBS=$LIBS
29002 cat >conftest.$ac_ext <<_ACEOF
29005 cat confdefs.h >>conftest.$ac_ext
29006 cat >>conftest.$ac_ext <<_ACEOF
29007 /* end confdefs.h. */
29009 /* Override any GCC internal prototype to avoid an error.
29010 Use char because int might match the return type of a GCC
29011 builtin and then its argument prototype would still apply. */
29015 char gdk_im_open ();
29019 return gdk_im_open ();
29024 rm -f conftest.$ac_objext conftest$ac_exeext
29025 if { (ac_try="$ac_link"
29026 case "(($ac_try" in
29027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29028 *) ac_try_echo=$ac_try;;
29030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29031 (eval "$ac_link") 2>conftest.er1
29033 grep -v '^
*+' conftest.er1 >conftest.err
29035 cat conftest.err >&5
29036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29037 (exit $ac_status); } && {
29038 test -z "$ac_c_werror_flag" ||
29039 test ! -s conftest.err
29040 } && test -s conftest$ac_exeext &&
29041 $as_test_x conftest$ac_exeext; then
29042 ac_cv_lib_gdk_gdk_im_open=yes
29044 echo "$as_me: failed program was:" >&5
29045 sed 's
/^
/| /' conftest.$ac_ext >&5
29047 ac_cv_lib_gdk_gdk_im_open=no
29050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29051 conftest$ac_exeext conftest.$ac_ext
29052 LIBS=$ac_check_lib_save_LIBS
29054 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29055 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29056 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29057 cat >>confdefs.h <<\_ACEOF
29064 if test "$USE_DARWIN" != 1; then
29066 for ac_func in poll
29068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29069 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29071 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29072 echo $ECHO_N "(cached) $ECHO_C" >&6
29074 cat >conftest.$ac_ext <<_ACEOF
29077 cat confdefs.h >>conftest.$ac_ext
29078 cat >>conftest.$ac_ext <<_ACEOF
29079 /* end confdefs.h. */
29080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29082 #define $ac_func innocuous_$ac_func
29084 /* System header to define __stub macros and hopefully few prototypes,
29085 which can conflict with char $ac_func (); below.
29086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29087 <limits.h> exists even on freestanding compilers. */
29090 # include <limits.h>
29092 # include <assert.h>
29097 /* Override any GCC internal prototype to avoid an error.
29098 Use char because int might match the return type of a GCC
29099 builtin and then its argument prototype would still apply. */
29104 /* The GNU C library defines this for functions which it implements
29105 to always fail with ENOSYS. Some functions are actually named
29106 something starting with __ and the normal name is an alias. */
29107 #if defined __stub_$ac_func || defined __stub___$ac_func
29114 return $ac_func ();
29119 rm -f conftest.$ac_objext conftest$ac_exeext
29120 if { (ac_try="$ac_link"
29121 case "(($ac_try" in
29122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29123 *) ac_try_echo=$ac_try;;
29125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29126 (eval "$ac_link") 2>conftest.er1
29128 grep -v '^
*+' conftest.er1 >conftest.err
29130 cat conftest.err >&5
29131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29132 (exit $ac_status); } && {
29133 test -z "$ac_c_werror_flag" ||
29134 test ! -s conftest.err
29135 } && test -s conftest$ac_exeext &&
29136 $as_test_x conftest$ac_exeext; then
29137 eval "$as_ac_var=yes"
29139 echo "$as_me: failed program was:" >&5
29140 sed 's
/^
/| /' conftest.$ac_ext >&5
29142 eval "$as_ac_var=no"
29145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29146 conftest$ac_exeext conftest.$ac_ext
29148 ac_res=`eval echo '${'$as_ac_var'}'`
29149 { echo "$as_me:$LINENO: result: $ac_res" >&5
29150 echo "${ECHO_T}$ac_res" >&6; }
29151 if test `eval echo '${'$as_ac_var'}'` = yes; then
29152 cat >>confdefs.h <<_ACEOF
29153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29162 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29163 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29165 AFMINSTALL=afminstall
29169 if test "$wxUSE_GPE" = "yes"; then
29170 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29171 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29174 for ac_dir in $SEARCH_LIB;
29176 for ac_extension in a so sl dylib dll.a; do
29177 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29178 ac_find_libraries=$ac_dir
29184 if test "$ac_find_libraries" != "" ; then
29186 if test "$ac_find_libraries" = "default location"; then
29189 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29191 if test $result = 0; then
29194 ac_path_to_link=" -L$ac_find_libraries"
29198 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29200 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29201 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29203 { echo "$as_me:$LINENO: result: not found" >&5
29204 echo "${ECHO_T}not found" >&6; }
29210 if test "$wxUSE_MGL" = 1; then
29211 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29212 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29213 if test "x$MGL_ROOT" = x ; then
29214 { echo "$as_me:$LINENO: result: not found" >&5
29215 echo "${ECHO_T}not found" >&6; }
29216 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29217 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29218 { (exit 1); exit 1; }; }
29220 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29221 echo "${ECHO_T}$MGL_ROOT" >&6; }
29224 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29225 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29228 if test "x$wxUSE_SHARED" = xyes ; then
29229 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29231 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29235 mgl_os_candidates="dos32/dj2"
29238 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29239 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29240 { (exit 1); exit 1; }; }
29246 for mgl_os_i in $mgl_os_candidates ; do
29247 if test "x$mgl_os" = x ; then
29248 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29249 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29250 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29255 if test "x$mgl_lib_type" = x ; then
29256 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29257 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29258 mgl_lib_type=release
29265 if test "x$mgl_os" = x ; then
29266 { echo "$as_me:$LINENO: result: not found" >&5
29267 echo "${ECHO_T}not found" >&6; }
29268 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29269 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29270 { (exit 1); exit 1; }; }
29272 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29273 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29275 wxUSE_UNIVERSAL="yes"
29277 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29278 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29280 AFMINSTALL=afminstall
29285 if test "$wxUSE_DFB" = 1; then
29288 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29289 if test -n "$ac_tool_prefix"; then
29290 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29291 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29294 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29295 echo $ECHO_N "(cached) $ECHO_C" >&6
29297 case $PKG_CONFIG in
29299 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29303 for as_dir in $PATH
29306 test -z "$as_dir" && as_dir=.
29307 for ac_exec_ext in '' $ac_executable_extensions; do
29308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29309 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29320 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29321 if test -n "$PKG_CONFIG"; then
29322 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29323 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29325 { echo "$as_me:$LINENO: result: no" >&5
29326 echo "${ECHO_T}no" >&6; }
29331 if test -z "$ac_cv_path_PKG_CONFIG"; then
29332 ac_pt_PKG_CONFIG=$PKG_CONFIG
29333 # Extract the first word of "pkg-config", so it can be a program name with args.
29334 set dummy pkg-config; ac_word=$2
29335 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29337 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29338 echo $ECHO_N "(cached) $ECHO_C" >&6
29340 case $ac_pt_PKG_CONFIG in
29342 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29346 for as_dir in $PATH
29349 test -z "$as_dir" && as_dir=.
29350 for ac_exec_ext in '' $ac_executable_extensions; do
29351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29352 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29363 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29364 if test -n "$ac_pt_PKG_CONFIG"; then
29365 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29366 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29368 { echo "$as_me:$LINENO: result: no" >&5
29369 echo "${ECHO_T}no" >&6; }
29372 if test "x$ac_pt_PKG_CONFIG" = x; then
29375 case $cross_compiling:$ac_tool_warned in
29377 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29378 whose name does not start with the host triplet. If you think this
29379 configuration is useful to you, please write to autoconf@gnu.org." >&5
29380 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29381 whose name does not start with the host triplet. If you think this
29382 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29383 ac_tool_warned=yes ;;
29385 PKG_CONFIG=$ac_pt_PKG_CONFIG
29388 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29392 if test -n "$PKG_CONFIG"; then
29393 _pkg_min_version=0.9.0
29394 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29395 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29396 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29397 { echo "$as_me:$LINENO: result: yes" >&5
29398 echo "${ECHO_T}yes" >&6; }
29400 { echo "$as_me:$LINENO: result: no" >&5
29401 echo "${ECHO_T}no" >&6; }
29409 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29410 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29412 if test -n "$PKG_CONFIG"; then
29413 if test -n "$DIRECTFB_CFLAGS"; then
29414 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29416 if test -n "$PKG_CONFIG" && \
29417 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29418 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29421 (exit $ac_status); }; then
29422 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29430 if test -n "$PKG_CONFIG"; then
29431 if test -n "$DIRECTFB_LIBS"; then
29432 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29434 if test -n "$PKG_CONFIG" && \
29435 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29436 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29439 (exit $ac_status); }; then
29440 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29451 if test $pkg_failed = yes; then
29453 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29454 _pkg_short_errors_supported=yes
29456 _pkg_short_errors_supported=no
29458 if test $_pkg_short_errors_supported = yes; then
29459 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29461 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29463 # Put the nasty error message in config.log where it belongs
29464 echo "$DIRECTFB_PKG_ERRORS" >&5
29467 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29468 echo "$as_me: error: DirectFB not found." >&2;}
29469 { (exit 1); exit 1; }; }
29472 elif test $pkg_failed = untried; then
29474 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29475 echo "$as_me: error: DirectFB not found." >&2;}
29476 { (exit 1); exit 1; }; }
29480 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29481 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29482 { echo "$as_me:$LINENO: result: yes" >&5
29483 echo "${ECHO_T}yes" >&6; }
29485 wxUSE_UNIVERSAL="yes"
29486 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29487 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29494 if test "$wxUSE_MICROWIN" = 1; then
29495 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29496 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29497 if test "x$MICROWINDOWS" = x ; then
29498 { echo "$as_me:$LINENO: result: not found" >&5
29499 echo "${ECHO_T}not found" >&6; }
29500 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29501 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29502 { (exit 1); exit 1; }; }
29504 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29505 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29508 if test -f $MICROWINDOWS/lib/libmwin.a; then
29509 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29510 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29512 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29513 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29514 { (exit 1); exit 1; }; }
29517 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29518 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29520 wxUSE_UNIVERSAL="yes"
29522 AFMINSTALL=afminstall
29524 GUIDIST=MICROWIN_DIST
29526 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29529 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29530 { echo "$as_me:$LINENO: checking for X" >&5
29531 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29534 # Check whether --with-x was given.
29535 if test "${with_x+set}" = set; then
29539 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
29540 if test "x$with_x" = xno; then
29541 # The user explicitly disabled X.
29544 case $x_includes,$x_libraries in #(
29545 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29546 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
29547 { (exit 1); exit 1; }; };; #(
29548 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29549 echo $ECHO_N "(cached) $ECHO_C" >&6
29551 # One or both of the vars are not set, and there is no cached value.
29552 ac_x_includes=no ac_x_libraries=no
29553 rm -f -r conftest.dir
29554 if mkdir conftest.dir; then
29556 cat >Imakefile <<'_ACEOF'
29558 @echo incroot='${INCROOT}'
29560 @echo usrlibdir='${USRLIBDIR}'
29562 @echo libdir='${LIBDIR}'
29564 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29565 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29566 for ac_var in incroot usrlibdir libdir; do
29567 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
29569 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29570 for ac_extension in a so sl; do
29571 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29572 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29573 ac_im_usrlibdir=$ac_im_libdir; break
29576 # Screen out bogus values from the imake configuration. They are
29577 # bogus both because they are the default anyway, and because
29578 # using them would break gcc on systems where it needs fixed includes.
29579 case $ac_im_incroot in
29580 /usr/include) ac_x_includes= ;;
29581 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29583 case $ac_im_usrlibdir in
29584 /usr/lib | /lib) ;;
29585 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29589 rm -f -r conftest.dir
29592 # Standard set of common directories for X headers.
29593 # Check X11 before X11Rn because it is often a symlink to the current release.
29605 /usr
/local
/X
11/include
29606 /usr
/local
/X
11R
6/include
29607 /usr
/local
/X
11R
5/include
29608 /usr
/local
/X
11R
4/include
29610 /usr
/local
/include
/X11
29611 /usr
/local
/include
/X11R6
29612 /usr
/local
/include
/X11R5
29613 /usr
/local
/include
/X11R4
29617 /usr
/XFree
86/include
/X11
29621 /usr
/unsupported
/include
29622 /usr
/athena
/include
29623 /usr
/local
/x
11r
5/include
29624 /usr
/lpp
/Xamples
/include
29626 /usr
/openwin
/include
29627 /usr
/openwin
/share
/include
'
29629 if test "$ac_x_includes" = no; then
29630 # Guess where to find include files, by looking for Xlib.h.
29631 # First, try using that file with no special directory specified.
29632 cat >conftest.$ac_ext <<_ACEOF
29635 cat confdefs.h >>conftest.$ac_ext
29636 cat >>conftest.$ac_ext <<_ACEOF
29637 /* end confdefs.h. */
29638 #include <X11/Xlib.h>
29640 if { (ac_try="$ac_cpp conftest.$ac_ext"
29641 case "(($ac_try" in
29642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29643 *) ac_try_echo=$ac_try;;
29645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29646 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29648 grep -v '^
*+' conftest.er1 >conftest.err
29650 cat conftest.err >&5
29651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29652 (exit $ac_status); } >/dev/null && {
29653 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29654 test ! -s conftest.err
29656 # We can compile using X headers with no special include directory.
29659 echo "$as_me: failed program was:" >&5
29660 sed 's
/^
/| /' conftest.$ac_ext >&5
29662 for ac_dir in $ac_x_header_dirs; do
29663 if test -r "$ac_dir/X11/Xlib.h"; then
29664 ac_x_includes=$ac_dir
29670 rm -f conftest.err conftest.$ac_ext
29671 fi # $ac_x_includes = no
29673 if test "$ac_x_libraries" = no; then
29674 # Check for the libraries.
29675 # See if we find them without any special options.
29676 # Don't add to
$LIBS permanently.
29679 cat >conftest.
$ac_ext <<_ACEOF
29682 cat confdefs.h
>>conftest.
$ac_ext
29683 cat >>conftest.
$ac_ext <<_ACEOF
29684 /* end confdefs.h. */
29685 #include <X11/Xlib.h>
29694 rm -f conftest.
$ac_objext conftest
$ac_exeext
29695 if { (ac_try
="$ac_link"
29696 case "(($ac_try" in
29697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29698 *) ac_try_echo=$ac_try;;
29700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29701 (eval "$ac_link") 2>conftest.er1
29703 grep -v '^ *+' conftest.er1 >conftest.err
29705 cat conftest.err >&5
29706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29707 (exit $ac_status); } && {
29708 test -z "$ac_c_werror_flag" ||
29709 test ! -s conftest.err
29710 } && test -s conftest$ac_exeext &&
29711 $as_test_x conftest$ac_exeext; then
29713 # We can link X programs with no special library path.
29716 echo "$as_me: failed program was:" >&5
29717 sed 's/^/| /' conftest.$ac_ext >&5
29720 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
29722 # Don't even attempt the hair of trying to link an X program!
29723 for ac_extension in a so sl; do
29724 if test -r "$ac_dir/libX11.$ac_extension"; then
29725 ac_x_libraries=$ac_dir
29732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29733 conftest$ac_exeext conftest.$ac_ext
29734 fi # $ac_x_libraries = no
29736 case $ac_x_includes,$ac_x_libraries in #(
29737 no,* | *,no | *\'*)
29738 # Didn't find X, or a directory has "'" in its name.
29739 ac_cv_have_x="have_x=no";; #(
29741 # Record where we found X for the cache.
29742 ac_cv_have_x="have_x=yes\
29743 ac_x_includes='$ac_x_includes'\
29744 ac_x_libraries='$ac_x_libraries'"
29750 eval "$ac_cv_have_x"
29753 if test "$have_x" != yes; then
29754 { echo "$as_me:$LINENO: result: $have_x" >&5
29755 echo "${ECHO_T}$have_x" >&6; }
29758 # If each of the values was on the command line, it overrides each guess.
29759 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29760 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29761 # Update the cache value to reflect the command line values.
29762 ac_cv_have_x="have_x=yes\
29763 ac_x_includes='$x_includes'\
29764 ac_x_libraries='$x_libraries'"
29765 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29766 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29769 if test "$no_x" = yes; then
29770 # Not all programs may use this symbol, but it does not hurt to define it.
29772 cat >>confdefs.h <<\_ACEOF
29773 #define X_DISPLAY_MISSING 1
29776 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29778 if test -n "$x_includes"; then
29779 X_CFLAGS="$X_CFLAGS -I$x_includes"
29782 # It would also be nice to do this for all -L options, not just this one.
29783 if test -n "$x_libraries"; then
29784 X_LIBS="$X_LIBS -L$x_libraries"
29785 # For Solaris; some versions of Sun CC require a space after -R and
29786 # others require no space. Words are not sufficient . . . .
29787 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29788 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29789 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29790 ac_xsave_c_werror_flag=$ac_c_werror_flag
29791 ac_c_werror_flag=yes
29792 cat >conftest.$ac_ext <<_ACEOF
29795 cat confdefs.h >>conftest.$ac_ext
29796 cat >>conftest.$ac_ext <<_ACEOF
29797 /* end confdefs.h. */
29807 rm -f conftest.$ac_objext conftest$ac_exeext
29808 if { (ac_try="$ac_link"
29809 case "(($ac_try" in
29810 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29811 *) ac_try_echo
=$ac_try;;
29813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29814 (eval "$ac_link") 2>conftest.er1
29816 grep -v '^ *+' conftest.er1
>conftest.err
29818 cat conftest.err
>&5
29819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29820 (exit $ac_status); } && {
29821 test -z "$ac_c_werror_flag" ||
29822 test ! -s conftest.err
29823 } && test -s conftest
$ac_exeext &&
29824 $as_test_x conftest
$ac_exeext; then
29825 { echo "$as_me:$LINENO: result: no" >&5
29826 echo "${ECHO_T}no" >&6; }
29827 X_LIBS
="$X_LIBS -R$x_libraries"
29829 echo "$as_me: failed program was:" >&5
29830 sed 's/^/| /' conftest.
$ac_ext >&5
29832 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29833 cat >conftest.
$ac_ext <<_ACEOF
29836 cat confdefs.h
>>conftest.
$ac_ext
29837 cat >>conftest.
$ac_ext <<_ACEOF
29838 /* end confdefs.h. */
29848 rm -f conftest.
$ac_objext conftest
$ac_exeext
29849 if { (ac_try
="$ac_link"
29850 case "(($ac_try" in
29851 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29852 *) ac_try_echo=$ac_try;;
29854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29855 (eval "$ac_link") 2>conftest.er1
29857 grep -v '^ *+' conftest.er1 >conftest.err
29859 cat conftest.err >&5
29860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29861 (exit $ac_status); } && {
29862 test -z "$ac_c_werror_flag" ||
29863 test ! -s conftest.err
29864 } && test -s conftest$ac_exeext &&
29865 $as_test_x conftest$ac_exeext; then
29866 { echo "$as_me:$LINENO: result: yes" >&5
29867 echo "${ECHO_T}yes" >&6; }
29868 X_LIBS="$X_LIBS -R $x_libraries"
29870 echo "$as_me: failed program was:" >&5
29871 sed 's/^/| /' conftest.$ac_ext >&5
29873 { echo "$as_me:$LINENO: result: neither works" >&5
29874 echo "${ECHO_T}neither works" >&6; }
29877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29878 conftest$ac_exeext conftest.$ac_ext
29881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29882 conftest$ac_exeext conftest.$ac_ext
29883 ac_c_werror_flag=$ac_xsave_c_werror_flag
29884 LIBS=$ac_xsave_LIBS
29887 # Check for system-dependent libraries X programs must link with.
29888 # Do this before checking for the system-independent R6 libraries
29889 # (-lICE), since we may need -lsocket or whatever for X linking.
29891 if test "$ISC" = yes; then
29892 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29894 # Martyn Johnson says this is needed for Ultrix, if the X
29895 # libraries were built with DECnet support. And Karl Berry says
29896 # the Alpha needs dnet_stub (dnet does not exist).
29897 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29898 cat >conftest.$ac_ext <<_ACEOF
29901 cat confdefs.h >>conftest.$ac_ext
29902 cat >>conftest.$ac_ext <<_ACEOF
29903 /* end confdefs.h. */
29905 /* Override any GCC internal prototype to avoid an error.
29906 Use char because int might match the return type of a GCC
29907 builtin and then its argument prototype would still apply. */
29911 char XOpenDisplay ();
29915 return XOpenDisplay ();
29920 rm -f conftest.$ac_objext conftest$ac_exeext
29921 if { (ac_try="$ac_link"
29922 case "(($ac_try" in
29923 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29924 *) ac_try_echo
=$ac_try;;
29926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29927 (eval "$ac_link") 2>conftest.er1
29929 grep -v '^ *+' conftest.er1
>conftest.err
29931 cat conftest.err
>&5
29932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29933 (exit $ac_status); } && {
29934 test -z "$ac_c_werror_flag" ||
29935 test ! -s conftest.err
29936 } && test -s conftest
$ac_exeext &&
29937 $as_test_x conftest
$ac_exeext; then
29940 echo "$as_me: failed program was:" >&5
29941 sed 's/^/| /' conftest.
$ac_ext >&5
29943 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29944 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29945 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29946 echo $ECHO_N "(cached) $ECHO_C" >&6
29948 ac_check_lib_save_LIBS
=$LIBS
29949 LIBS
="-ldnet $LIBS"
29950 cat >conftest.
$ac_ext <<_ACEOF
29953 cat confdefs.h
>>conftest.
$ac_ext
29954 cat >>conftest.
$ac_ext <<_ACEOF
29955 /* end confdefs.h. */
29957 /* Override any GCC internal prototype to avoid an error.
29958 Use char because int might match the return type of a GCC
29959 builtin and then its argument prototype would still apply. */
29967 return dnet_ntoa ();
29972 rm -f conftest.
$ac_objext conftest
$ac_exeext
29973 if { (ac_try
="$ac_link"
29974 case "(($ac_try" in
29975 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29976 *) ac_try_echo=$ac_try;;
29978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29979 (eval "$ac_link") 2>conftest.er1
29981 grep -v '^ *+' conftest.er1 >conftest.err
29983 cat conftest.err >&5
29984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29985 (exit $ac_status); } && {
29986 test -z "$ac_c_werror_flag" ||
29987 test ! -s conftest.err
29988 } && test -s conftest$ac_exeext &&
29989 $as_test_x conftest$ac_exeext; then
29990 ac_cv_lib_dnet_dnet_ntoa=yes
29992 echo "$as_me: failed program was:" >&5
29993 sed 's/^/| /' conftest.$ac_ext >&5
29995 ac_cv_lib_dnet_dnet_ntoa=no
29998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29999 conftest$ac_exeext conftest.$ac_ext
30000 LIBS=$ac_check_lib_save_LIBS
30002 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30003 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30004 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30005 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30008 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30009 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30010 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30011 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30012 echo $ECHO_N "(cached) $ECHO_C" >&6
30014 ac_check_lib_save_LIBS=$LIBS
30015 LIBS="-ldnet_stub $LIBS"
30016 cat >conftest.$ac_ext <<_ACEOF
30019 cat confdefs.h >>conftest.$ac_ext
30020 cat >>conftest.$ac_ext <<_ACEOF
30021 /* end confdefs.h. */
30023 /* Override any GCC internal prototype to avoid an error.
30024 Use char because int might match the return type of a GCC
30025 builtin and then its argument prototype would still apply. */
30033 return dnet_ntoa ();
30038 rm -f conftest.$ac_objext conftest$ac_exeext
30039 if { (ac_try="$ac_link"
30040 case "(($ac_try" in
30041 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30042 *) ac_try_echo
=$ac_try;;
30044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30045 (eval "$ac_link") 2>conftest.er1
30047 grep -v '^ *+' conftest.er1
>conftest.err
30049 cat conftest.err
>&5
30050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051 (exit $ac_status); } && {
30052 test -z "$ac_c_werror_flag" ||
30053 test ! -s conftest.err
30054 } && test -s conftest
$ac_exeext &&
30055 $as_test_x conftest
$ac_exeext; then
30056 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30058 echo "$as_me: failed program was:" >&5
30059 sed 's/^/| /' conftest.
$ac_ext >&5
30061 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30064 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30065 conftest
$ac_exeext conftest.
$ac_ext
30066 LIBS
=$ac_check_lib_save_LIBS
30068 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30069 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30070 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30071 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30077 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30078 conftest
$ac_exeext conftest.
$ac_ext
30079 LIBS
="$ac_xsave_LIBS"
30081 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30082 # to get the SysV transport functions.
30083 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30085 # The nsl library prevents programs from opening the X display
30086 # on Irix 5.2, according to T.E. Dickey.
30087 # The functions gethostbyname, getservbyname, and inet_addr are
30088 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30089 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30090 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30091 if test "${ac_cv_func_gethostbyname+set}" = set; then
30092 echo $ECHO_N "(cached) $ECHO_C" >&6
30094 cat >conftest.
$ac_ext <<_ACEOF
30097 cat confdefs.h
>>conftest.
$ac_ext
30098 cat >>conftest.
$ac_ext <<_ACEOF
30099 /* end confdefs.h. */
30100 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30102 #define gethostbyname innocuous_gethostbyname
30104 /* System header to define __stub macros and hopefully few prototypes,
30105 which can conflict with char gethostbyname (); below.
30106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30107 <limits.h> exists even on freestanding compilers. */
30110 # include <limits.h>
30112 # include <assert.h>
30115 #undef gethostbyname
30117 /* Override any GCC internal prototype to avoid an error.
30118 Use char because int might match the return type of a GCC
30119 builtin and then its argument prototype would still apply. */
30123 char gethostbyname ();
30124 /* The GNU C library defines this for functions which it implements
30125 to always fail with ENOSYS. Some functions are actually named
30126 something starting with __ and the normal name is an alias. */
30127 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30134 return gethostbyname ();
30139 rm -f conftest.
$ac_objext conftest
$ac_exeext
30140 if { (ac_try
="$ac_link"
30141 case "(($ac_try" in
30142 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30143 *) ac_try_echo=$ac_try;;
30145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30146 (eval "$ac_link") 2>conftest.er1
30148 grep -v '^ *+' conftest.er1 >conftest.err
30150 cat conftest.err >&5
30151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30152 (exit $ac_status); } && {
30153 test -z "$ac_c_werror_flag" ||
30154 test ! -s conftest.err
30155 } && test -s conftest$ac_exeext &&
30156 $as_test_x conftest$ac_exeext; then
30157 ac_cv_func_gethostbyname=yes
30159 echo "$as_me: failed program was:" >&5
30160 sed 's/^/| /' conftest.$ac_ext >&5
30162 ac_cv_func_gethostbyname=no
30165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30166 conftest$ac_exeext conftest.$ac_ext
30168 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30169 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30171 if test $ac_cv_func_gethostbyname = no; then
30172 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30173 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30174 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30175 echo $ECHO_N "(cached) $ECHO_C" >&6
30177 ac_check_lib_save_LIBS=$LIBS
30179 cat >conftest.$ac_ext <<_ACEOF
30182 cat confdefs.h >>conftest.$ac_ext
30183 cat >>conftest.$ac_ext <<_ACEOF
30184 /* end confdefs.h. */
30186 /* Override any GCC internal prototype to avoid an error.
30187 Use char because int might match the return type of a GCC
30188 builtin and then its argument prototype would still apply. */
30192 char gethostbyname ();
30196 return gethostbyname ();
30201 rm -f conftest.$ac_objext conftest$ac_exeext
30202 if { (ac_try="$ac_link"
30203 case "(($ac_try" in
30204 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30205 *) ac_try_echo
=$ac_try;;
30207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30208 (eval "$ac_link") 2>conftest.er1
30210 grep -v '^ *+' conftest.er1
>conftest.err
30212 cat conftest.err
>&5
30213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30214 (exit $ac_status); } && {
30215 test -z "$ac_c_werror_flag" ||
30216 test ! -s conftest.err
30217 } && test -s conftest
$ac_exeext &&
30218 $as_test_x conftest
$ac_exeext; then
30219 ac_cv_lib_nsl_gethostbyname
=yes
30221 echo "$as_me: failed program was:" >&5
30222 sed 's/^/| /' conftest.
$ac_ext >&5
30224 ac_cv_lib_nsl_gethostbyname
=no
30227 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30228 conftest
$ac_exeext conftest.
$ac_ext
30229 LIBS
=$ac_check_lib_save_LIBS
30231 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30232 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30233 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30234 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30237 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30238 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30239 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30240 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30241 echo $ECHO_N "(cached) $ECHO_C" >&6
30243 ac_check_lib_save_LIBS
=$LIBS
30245 cat >conftest.
$ac_ext <<_ACEOF
30248 cat confdefs.h
>>conftest.
$ac_ext
30249 cat >>conftest.
$ac_ext <<_ACEOF
30250 /* end confdefs.h. */
30252 /* Override any GCC internal prototype to avoid an error.
30253 Use char because int might match the return type of a GCC
30254 builtin and then its argument prototype would still apply. */
30258 char gethostbyname ();
30262 return gethostbyname ();
30267 rm -f conftest.
$ac_objext conftest
$ac_exeext
30268 if { (ac_try
="$ac_link"
30269 case "(($ac_try" in
30270 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30271 *) ac_try_echo=$ac_try;;
30273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30274 (eval "$ac_link") 2>conftest.er1
30276 grep -v '^ *+' conftest.er1 >conftest.err
30278 cat conftest.err >&5
30279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30280 (exit $ac_status); } && {
30281 test -z "$ac_c_werror_flag" ||
30282 test ! -s conftest.err
30283 } && test -s conftest$ac_exeext &&
30284 $as_test_x conftest$ac_exeext; then
30285 ac_cv_lib_bsd_gethostbyname=yes
30287 echo "$as_me: failed program was:" >&5
30288 sed 's/^/| /' conftest.$ac_ext >&5
30290 ac_cv_lib_bsd_gethostbyname=no
30293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30294 conftest$ac_exeext conftest.$ac_ext
30295 LIBS=$ac_check_lib_save_LIBS
30297 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30298 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30299 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30300 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30306 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30307 # socket/setsockopt and other routines are undefined under SCO ODT
30308 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30309 # on later versions), says Simon Leinen: it contains gethostby*
30310 # variants that don't use the name server (or something). -lsocket
30311 # must be given before -lnsl if both are needed. We assume that
30312 # if connect needs -lnsl, so does gethostbyname.
30313 { echo "$as_me:$LINENO: checking for connect" >&5
30314 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30315 if test "${ac_cv_func_connect+set}" = set; then
30316 echo $ECHO_N "(cached) $ECHO_C" >&6
30318 cat >conftest.$ac_ext <<_ACEOF
30321 cat confdefs.h >>conftest.$ac_ext
30322 cat >>conftest.$ac_ext <<_ACEOF
30323 /* end confdefs.h. */
30324 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30326 #define connect innocuous_connect
30328 /* System header to define __stub macros and hopefully few prototypes,
30329 which can conflict with char connect (); below.
30330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30331 <limits.h> exists even on freestanding compilers. */
30334 # include <limits.h>
30336 # include <assert.h>
30341 /* Override any GCC internal prototype to avoid an error.
30342 Use char because int might match the return type of a GCC
30343 builtin and then its argument prototype would still apply. */
30348 /* The GNU C library defines this for functions which it implements
30349 to always fail with ENOSYS. Some functions are actually named
30350 something starting with __ and the normal name is an alias. */
30351 #if defined __stub_connect || defined __stub___connect
30363 rm -f conftest.$ac_objext conftest$ac_exeext
30364 if { (ac_try="$ac_link"
30365 case "(($ac_try" in
30366 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30367 *) ac_try_echo
=$ac_try;;
30369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30370 (eval "$ac_link") 2>conftest.er1
30372 grep -v '^ *+' conftest.er1
>conftest.err
30374 cat conftest.err
>&5
30375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30376 (exit $ac_status); } && {
30377 test -z "$ac_c_werror_flag" ||
30378 test ! -s conftest.err
30379 } && test -s conftest
$ac_exeext &&
30380 $as_test_x conftest
$ac_exeext; then
30381 ac_cv_func_connect
=yes
30383 echo "$as_me: failed program was:" >&5
30384 sed 's/^/| /' conftest.
$ac_ext >&5
30386 ac_cv_func_connect
=no
30389 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30390 conftest
$ac_exeext conftest.
$ac_ext
30392 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30393 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30395 if test $ac_cv_func_connect = no
; then
30396 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30397 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30398 if test "${ac_cv_lib_socket_connect+set}" = set; then
30399 echo $ECHO_N "(cached) $ECHO_C" >&6
30401 ac_check_lib_save_LIBS
=$LIBS
30402 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30403 cat >conftest.
$ac_ext <<_ACEOF
30406 cat confdefs.h
>>conftest.
$ac_ext
30407 cat >>conftest.
$ac_ext <<_ACEOF
30408 /* end confdefs.h. */
30410 /* Override any GCC internal prototype to avoid an error.
30411 Use char because int might match the return type of a GCC
30412 builtin and then its argument prototype would still apply. */
30425 rm -f conftest.
$ac_objext conftest
$ac_exeext
30426 if { (ac_try
="$ac_link"
30427 case "(($ac_try" in
30428 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30429 *) ac_try_echo=$ac_try;;
30431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30432 (eval "$ac_link") 2>conftest.er1
30434 grep -v '^ *+' conftest.er1 >conftest.err
30436 cat conftest.err >&5
30437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30438 (exit $ac_status); } && {
30439 test -z "$ac_c_werror_flag" ||
30440 test ! -s conftest.err
30441 } && test -s conftest$ac_exeext &&
30442 $as_test_x conftest$ac_exeext; then
30443 ac_cv_lib_socket_connect=yes
30445 echo "$as_me: failed program was:" >&5
30446 sed 's/^/| /' conftest.$ac_ext >&5
30448 ac_cv_lib_socket_connect=no
30451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30452 conftest$ac_exeext conftest.$ac_ext
30453 LIBS=$ac_check_lib_save_LIBS
30455 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30456 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30457 if test $ac_cv_lib_socket_connect = yes; then
30458 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30463 # Guillermo Gomez says -lposix is necessary on A/UX.
30464 { echo "$as_me:$LINENO: checking for remove" >&5
30465 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30466 if test "${ac_cv_func_remove+set}" = set; then
30467 echo $ECHO_N "(cached) $ECHO_C" >&6
30469 cat >conftest.$ac_ext <<_ACEOF
30472 cat confdefs.h >>conftest.$ac_ext
30473 cat >>conftest.$ac_ext <<_ACEOF
30474 /* end confdefs.h. */
30475 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30477 #define remove innocuous_remove
30479 /* System header to define __stub macros and hopefully few prototypes,
30480 which can conflict with char remove (); below.
30481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30482 <limits.h> exists even on freestanding compilers. */
30485 # include <limits.h>
30487 # include <assert.h>
30492 /* Override any GCC internal prototype to avoid an error.
30493 Use char because int might match the return type of a GCC
30494 builtin and then its argument prototype would still apply. */
30499 /* The GNU C library defines this for functions which it implements
30500 to always fail with ENOSYS. Some functions are actually named
30501 something starting with __ and the normal name is an alias. */
30502 #if defined __stub_remove || defined __stub___remove
30514 rm -f conftest.$ac_objext conftest$ac_exeext
30515 if { (ac_try="$ac_link"
30516 case "(($ac_try" in
30517 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30518 *) ac_try_echo
=$ac_try;;
30520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30521 (eval "$ac_link") 2>conftest.er1
30523 grep -v '^ *+' conftest.er1
>conftest.err
30525 cat conftest.err
>&5
30526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30527 (exit $ac_status); } && {
30528 test -z "$ac_c_werror_flag" ||
30529 test ! -s conftest.err
30530 } && test -s conftest
$ac_exeext &&
30531 $as_test_x conftest
$ac_exeext; then
30532 ac_cv_func_remove
=yes
30534 echo "$as_me: failed program was:" >&5
30535 sed 's/^/| /' conftest.
$ac_ext >&5
30537 ac_cv_func_remove
=no
30540 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30541 conftest
$ac_exeext conftest.
$ac_ext
30543 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30544 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30546 if test $ac_cv_func_remove = no
; then
30547 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30548 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30549 if test "${ac_cv_lib_posix_remove+set}" = set; then
30550 echo $ECHO_N "(cached) $ECHO_C" >&6
30552 ac_check_lib_save_LIBS
=$LIBS
30553 LIBS
="-lposix $LIBS"
30554 cat >conftest.
$ac_ext <<_ACEOF
30557 cat confdefs.h
>>conftest.
$ac_ext
30558 cat >>conftest.
$ac_ext <<_ACEOF
30559 /* end confdefs.h. */
30561 /* Override any GCC internal prototype to avoid an error.
30562 Use char because int might match the return type of a GCC
30563 builtin and then its argument prototype would still apply. */
30576 rm -f conftest.
$ac_objext conftest
$ac_exeext
30577 if { (ac_try
="$ac_link"
30578 case "(($ac_try" in
30579 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30580 *) ac_try_echo=$ac_try;;
30582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30583 (eval "$ac_link") 2>conftest.er1
30585 grep -v '^ *+' conftest.er1 >conftest.err
30587 cat conftest.err >&5
30588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589 (exit $ac_status); } && {
30590 test -z "$ac_c_werror_flag" ||
30591 test ! -s conftest.err
30592 } && test -s conftest$ac_exeext &&
30593 $as_test_x conftest$ac_exeext; then
30594 ac_cv_lib_posix_remove=yes
30596 echo "$as_me: failed program was:" >&5
30597 sed 's/^/| /' conftest.$ac_ext >&5
30599 ac_cv_lib_posix_remove=no
30602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30603 conftest$ac_exeext conftest.$ac_ext
30604 LIBS=$ac_check_lib_save_LIBS
30606 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30607 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30608 if test $ac_cv_lib_posix_remove = yes; then
30609 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30614 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30615 { echo "$as_me:$LINENO: checking for shmat" >&5
30616 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30617 if test "${ac_cv_func_shmat+set}" = set; then
30618 echo $ECHO_N "(cached) $ECHO_C" >&6
30620 cat >conftest.$ac_ext <<_ACEOF
30623 cat confdefs.h >>conftest.$ac_ext
30624 cat >>conftest.$ac_ext <<_ACEOF
30625 /* end confdefs.h. */
30626 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30628 #define shmat innocuous_shmat
30630 /* System header to define __stub macros and hopefully few prototypes,
30631 which can conflict with char shmat (); below.
30632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30633 <limits.h> exists even on freestanding compilers. */
30636 # include <limits.h>
30638 # include <assert.h>
30643 /* Override any GCC internal prototype to avoid an error.
30644 Use char because int might match the return type of a GCC
30645 builtin and then its argument prototype would still apply. */
30650 /* The GNU C library defines this for functions which it implements
30651 to always fail with ENOSYS. Some functions are actually named
30652 something starting with __ and the normal name is an alias. */
30653 #if defined __stub_shmat || defined __stub___shmat
30665 rm -f conftest.$ac_objext conftest$ac_exeext
30666 if { (ac_try="$ac_link"
30667 case "(($ac_try" in
30668 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30669 *) ac_try_echo
=$ac_try;;
30671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30672 (eval "$ac_link") 2>conftest.er1
30674 grep -v '^ *+' conftest.er1
>conftest.err
30676 cat conftest.err
>&5
30677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30678 (exit $ac_status); } && {
30679 test -z "$ac_c_werror_flag" ||
30680 test ! -s conftest.err
30681 } && test -s conftest
$ac_exeext &&
30682 $as_test_x conftest
$ac_exeext; then
30683 ac_cv_func_shmat
=yes
30685 echo "$as_me: failed program was:" >&5
30686 sed 's/^/| /' conftest.
$ac_ext >&5
30688 ac_cv_func_shmat
=no
30691 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30692 conftest
$ac_exeext conftest.
$ac_ext
30694 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30695 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30697 if test $ac_cv_func_shmat = no
; then
30698 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30699 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30700 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30701 echo $ECHO_N "(cached) $ECHO_C" >&6
30703 ac_check_lib_save_LIBS
=$LIBS
30705 cat >conftest.
$ac_ext <<_ACEOF
30708 cat confdefs.h
>>conftest.
$ac_ext
30709 cat >>conftest.
$ac_ext <<_ACEOF
30710 /* end confdefs.h. */
30712 /* Override any GCC internal prototype to avoid an error.
30713 Use char because int might match the return type of a GCC
30714 builtin and then its argument prototype would still apply. */
30727 rm -f conftest.
$ac_objext conftest
$ac_exeext
30728 if { (ac_try
="$ac_link"
30729 case "(($ac_try" in
30730 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30731 *) ac_try_echo=$ac_try;;
30733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30734 (eval "$ac_link") 2>conftest.er1
30736 grep -v '^ *+' conftest.er1 >conftest.err
30738 cat conftest.err >&5
30739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740 (exit $ac_status); } && {
30741 test -z "$ac_c_werror_flag" ||
30742 test ! -s conftest.err
30743 } && test -s conftest$ac_exeext &&
30744 $as_test_x conftest$ac_exeext; then
30745 ac_cv_lib_ipc_shmat=yes
30747 echo "$as_me: failed program was:" >&5
30748 sed 's/^/| /' conftest.$ac_ext >&5
30750 ac_cv_lib_ipc_shmat=no
30753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30754 conftest$ac_exeext conftest.$ac_ext
30755 LIBS=$ac_check_lib_save_LIBS
30757 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30758 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30759 if test $ac_cv_lib_ipc_shmat = yes; then
30760 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30766 # Check for libraries that X11R6 Xt/Xaw programs need.
30767 ac_save_LDFLAGS=$LDFLAGS
30768 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30769 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30770 # check for ICE first), but we must link in the order -lSM -lICE or
30771 # we get undefined symbols. So assume we have SM if we have ICE.
30772 # These have to be linked with before -lX11, unlike the other
30773 # libraries we check for below, so use a different variable.
30774 # John Interrante, Karl Berry
30775 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30776 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30777 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30778 echo $ECHO_N "(cached) $ECHO_C" >&6
30780 ac_check_lib_save_LIBS=$LIBS
30781 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30782 cat >conftest.$ac_ext <<_ACEOF
30785 cat confdefs.h >>conftest.$ac_ext
30786 cat >>conftest.$ac_ext <<_ACEOF
30787 /* end confdefs.h. */
30789 /* Override any GCC internal prototype to avoid an error.
30790 Use char because int might match the return type of a GCC
30791 builtin and then its argument prototype would still apply. */
30795 char IceConnectionNumber ();
30799 return IceConnectionNumber ();
30804 rm -f conftest.$ac_objext conftest$ac_exeext
30805 if { (ac_try="$ac_link"
30806 case "(($ac_try" in
30807 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30808 *) ac_try_echo
=$ac_try;;
30810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30811 (eval "$ac_link") 2>conftest.er1
30813 grep -v '^ *+' conftest.er1
>conftest.err
30815 cat conftest.err
>&5
30816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30817 (exit $ac_status); } && {
30818 test -z "$ac_c_werror_flag" ||
30819 test ! -s conftest.err
30820 } && test -s conftest
$ac_exeext &&
30821 $as_test_x conftest
$ac_exeext; then
30822 ac_cv_lib_ICE_IceConnectionNumber
=yes
30824 echo "$as_me: failed program was:" >&5
30825 sed 's/^/| /' conftest.
$ac_ext >&5
30827 ac_cv_lib_ICE_IceConnectionNumber
=no
30830 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30831 conftest
$ac_exeext conftest.
$ac_ext
30832 LIBS
=$ac_check_lib_save_LIBS
30834 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30835 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30836 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30837 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30840 LDFLAGS
=$ac_save_LDFLAGS
30845 if test "$no_x" = "yes"; then
30846 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30847 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30848 { (exit 1); exit 1; }; }
30851 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30852 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30853 AFMINSTALL
=afminstall
30854 COMPILED_X_PROGRAM
=0
30858 if test "$wxUSE_X11" = 1; then
30859 if test "$wxUSE_NANOX" = "yes"; then
30860 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30861 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30862 if test "x$MICROWIN" = x
; then
30863 { echo "$as_me:$LINENO: result: not found" >&5
30864 echo "${ECHO_T}not found" >&6; }
30865 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30866 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30867 { (exit 1); exit 1; }; }
30869 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30870 echo "${ECHO_T}$MICROWIN" >&6; }
30871 cat >>confdefs.h
<<\_ACEOF
30872 #define wxUSE_NANOX 1
30878 if test "$wxUSE_UNICODE" = "yes"; then
30881 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30882 if test -n "$ac_tool_prefix"; then
30883 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30884 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30887 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30888 echo $ECHO_N "(cached) $ECHO_C" >&6
30890 case $PKG_CONFIG in
30892 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30896 for as_dir
in $PATH
30899 test -z "$as_dir" && as_dir
=.
30900 for ac_exec_ext
in '' $ac_executable_extensions; do
30901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30902 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30913 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30914 if test -n "$PKG_CONFIG"; then
30915 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30916 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30918 { echo "$as_me:$LINENO: result: no" >&5
30919 echo "${ECHO_T}no" >&6; }
30924 if test -z "$ac_cv_path_PKG_CONFIG"; then
30925 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30926 # Extract the first word of "pkg-config", so it can be a program name with args.
30927 set dummy pkg
-config; ac_word
=$2
30928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30930 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30931 echo $ECHO_N "(cached) $ECHO_C" >&6
30933 case $ac_pt_PKG_CONFIG in
30935 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30939 for as_dir
in $PATH
30942 test -z "$as_dir" && as_dir
=.
30943 for ac_exec_ext
in '' $ac_executable_extensions; do
30944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30945 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30956 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30957 if test -n "$ac_pt_PKG_CONFIG"; then
30958 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30959 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30961 { echo "$as_me:$LINENO: result: no" >&5
30962 echo "${ECHO_T}no" >&6; }
30965 if test "x$ac_pt_PKG_CONFIG" = x
; then
30968 case $cross_compiling:$ac_tool_warned in
30970 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30971 whose name does not start with the host triplet. If you think this
30972 configuration is useful to you, please write to autoconf@gnu.org." >&5
30973 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30974 whose name does not start with the host triplet. If you think this
30975 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30976 ac_tool_warned
=yes ;;
30978 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30981 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
30985 if test -n "$PKG_CONFIG"; then
30986 _pkg_min_version
=0.9.0
30987 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30988 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30989 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30990 { echo "$as_me:$LINENO: result: yes" >&5
30991 echo "${ECHO_T}yes" >&6; }
30993 { echo "$as_me:$LINENO: result: no" >&5
30994 echo "${ECHO_T}no" >&6; }
31002 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31003 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31005 if test -n "$PKG_CONFIG"; then
31006 if test -n "$PANGOX_CFLAGS"; then
31007 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31009 if test -n "$PKG_CONFIG" && \
31010 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31011 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31014 (exit $ac_status); }; then
31015 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31023 if test -n "$PKG_CONFIG"; then
31024 if test -n "$PANGOX_LIBS"; then
31025 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31027 if test -n "$PKG_CONFIG" && \
31028 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31029 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31032 (exit $ac_status); }; then
31033 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31044 if test $pkg_failed = yes; then
31046 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31047 _pkg_short_errors_supported
=yes
31049 _pkg_short_errors_supported
=no
31051 if test $_pkg_short_errors_supported = yes; then
31052 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31054 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31056 # Put the nasty error message in config.log where it belongs
31057 echo "$PANGOX_PKG_ERRORS" >&5
31060 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31061 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31062 { (exit 1); exit 1; }; }
31065 elif test $pkg_failed = untried
; then
31067 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31068 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31069 { (exit 1); exit 1; }; }
31073 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31074 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31075 { echo "$as_me:$LINENO: result: yes" >&5
31076 echo "${ECHO_T}yes" >&6; }
31078 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31079 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31080 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31085 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31086 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31088 if test -n "$PKG_CONFIG"; then
31089 if test -n "$PANGOFT2_CFLAGS"; then
31090 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31092 if test -n "$PKG_CONFIG" && \
31093 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31094 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31097 (exit $ac_status); }; then
31098 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31106 if test -n "$PKG_CONFIG"; then
31107 if test -n "$PANGOFT2_LIBS"; then
31108 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31110 if test -n "$PKG_CONFIG" && \
31111 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31112 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31115 (exit $ac_status); }; then
31116 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31127 if test $pkg_failed = yes; then
31129 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31130 _pkg_short_errors_supported
=yes
31132 _pkg_short_errors_supported
=no
31134 if test $_pkg_short_errors_supported = yes; then
31135 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31137 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31139 # Put the nasty error message in config.log where it belongs
31140 echo "$PANGOFT2_PKG_ERRORS" >&5
31143 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31144 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31145 wxUSE_PRINTING_ARCHITECTURE
="no"
31148 elif test $pkg_failed = untried
; then
31150 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31151 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31152 wxUSE_PRINTING_ARCHITECTURE
="no"
31156 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31157 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31158 { echo "$as_me:$LINENO: result: yes" >&5
31159 echo "${ECHO_T}yes" >&6; }
31161 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31162 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31163 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31168 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31169 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31171 if test -n "$PKG_CONFIG"; then
31172 if test -n "$PANGOXFT_CFLAGS"; then
31173 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31175 if test -n "$PKG_CONFIG" && \
31176 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31177 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31180 (exit $ac_status); }; then
31181 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31189 if test -n "$PKG_CONFIG"; then
31190 if test -n "$PANGOXFT_LIBS"; then
31191 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31193 if test -n "$PKG_CONFIG" && \
31194 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31195 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31198 (exit $ac_status); }; then
31199 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31210 if test $pkg_failed = yes; then
31212 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31213 _pkg_short_errors_supported
=yes
31215 _pkg_short_errors_supported
=no
31217 if test $_pkg_short_errors_supported = yes; then
31218 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31220 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31222 # Put the nasty error message in config.log where it belongs
31223 echo "$PANGOXFT_PKG_ERRORS" >&5
31226 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31227 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31230 elif test $pkg_failed = untried
; then
31232 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31233 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31237 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31238 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31239 { echo "$as_me:$LINENO: result: yes" >&5
31240 echo "${ECHO_T}yes" >&6; }
31242 cat >>confdefs.h
<<\_ACEOF
31243 #define HAVE_PANGO_XFT 1
31246 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31247 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31248 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31252 LIBS
="$LIBS $PANGOX_LIBS"
31254 for ac_func
in pango_font_family_is_monospace
31256 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31257 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31259 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31260 echo $ECHO_N "(cached) $ECHO_C" >&6
31262 cat >conftest.
$ac_ext <<_ACEOF
31265 cat confdefs.h
>>conftest.
$ac_ext
31266 cat >>conftest.
$ac_ext <<_ACEOF
31267 /* end confdefs.h. */
31268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31270 #define $ac_func innocuous_$ac_func
31272 /* System header to define __stub macros and hopefully few prototypes,
31273 which can conflict with char $ac_func (); below.
31274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31275 <limits.h> exists even on freestanding compilers. */
31278 # include <limits.h>
31280 # include <assert.h>
31285 /* Override any GCC internal prototype to avoid an error.
31286 Use char because int might match the return type of a GCC
31287 builtin and then its argument prototype would still apply. */
31292 /* The GNU C library defines this for functions which it implements
31293 to always fail with ENOSYS. Some functions are actually named
31294 something starting with __ and the normal name is an alias. */
31295 #if defined __stub_$ac_func || defined __stub___$ac_func
31302 return $ac_func ();
31307 rm -f conftest.
$ac_objext conftest
$ac_exeext
31308 if { (ac_try
="$ac_link"
31309 case "(($ac_try" in
31310 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31311 *) ac_try_echo=$ac_try;;
31313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31314 (eval "$ac_link") 2>conftest.er1
31316 grep -v '^ *+' conftest.er1 >conftest.err
31318 cat conftest.err >&5
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); } && {
31321 test -z "$ac_c_werror_flag" ||
31322 test ! -s conftest.err
31323 } && test -s conftest$ac_exeext &&
31324 $as_test_x conftest$ac_exeext; then
31325 eval "$as_ac_var=yes"
31327 echo "$as_me: failed program was:" >&5
31328 sed 's/^/| /' conftest.$ac_ext >&5
31330 eval "$as_ac_var=no"
31333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31334 conftest$ac_exeext conftest.$ac_ext
31336 ac_res=`eval echo '${'$as_ac_var'}'`
31337 { echo "$as_me:$LINENO: result: $ac_res" >&5
31338 echo "${ECHO_T}$ac_res" >&6; }
31339 if test `eval echo '${'$as_ac_var'}'` = yes; then
31340 cat >>confdefs.h <<_ACEOF
31341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31350 wxUSE_UNIVERSAL="yes"
31352 if test "$wxUSE_NANOX" = "yes"; then
31353 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31354 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"
31355 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31357 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31364 if test "$wxUSE_MOTIF" = 1; then
31365 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31366 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31369 for ac_dir in $SEARCH_INCLUDE /usr/include;
31371 if test -f "$ac_dir/Xm/Xm.h"; then
31372 ac_find_includes=$ac_dir
31377 if test "$ac_find_includes" != "" ; then
31378 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31379 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31381 if test "x$ac_find_includes" = "x/usr/include"; then
31382 ac_path_to_include=""
31384 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31386 if test $result = 0; then
31387 ac_path_to_include=""
31389 ac_path_to_include=" -I$ac_find_includes"
31393 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31395 save_CFLAGS=$CFLAGS
31396 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31398 cat >conftest.$ac_ext <<_ACEOF
31401 cat confdefs.h >>conftest.$ac_ext
31402 cat >>conftest.$ac_ext <<_ACEOF
31403 /* end confdefs.h. */
31412 version = xmUseVersion;
31418 rm -f conftest.$ac_objext
31419 if { (ac_try="$ac_compile"
31420 case "(($ac_try" in
31421 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31422 *) ac_try_echo
=$ac_try;;
31424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31425 (eval "$ac_compile") 2>conftest.er1
31427 grep -v '^ *+' conftest.er1
>conftest.err
31429 cat conftest.err
>&5
31430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31431 (exit $ac_status); } && {
31432 test -z "$ac_c_werror_flag" ||
31433 test ! -s conftest.err
31434 } && test -s conftest.
$ac_objext; then
31436 { echo "$as_me:$LINENO: result: found in default search path" >&5
31437 echo "${ECHO_T}found in default search path" >&6; }
31438 COMPILED_X_PROGRAM
=1
31441 echo "$as_me: failed program was:" >&5
31442 sed 's/^/| /' conftest.
$ac_ext >&5
31445 { echo "$as_me:$LINENO: result: no" >&5
31446 echo "${ECHO_T}no" >&6; }
31447 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31448 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31449 { (exit 1); exit 1; }; }
31454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31456 CFLAGS
=$save_CFLAGS
31460 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31461 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31464 for ac_dir
in $SEARCH_LIB;
31466 for ac_extension
in a so sl dylib dll.a
; do
31467 if test -f "$ac_dir/libXm.$ac_extension"; then
31468 ac_find_libraries
=$ac_dir
31475 if test "x$ac_find_libraries" != "x" ; then
31476 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31477 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31480 if test "$ac_find_libraries" = "default location"; then
31483 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31485 if test $result = 0; then
31488 ac_path_to_link
=" -L$ac_find_libraries"
31492 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31494 save_CFLAGS
=$CFLAGS
31495 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31497 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31499 cat >conftest.
$ac_ext <<_ACEOF
31502 cat confdefs.h
>>conftest.
$ac_ext
31503 cat >>conftest.
$ac_ext <<_ACEOF
31504 /* end confdefs.h. */
31513 version = xmUseVersion;
31519 rm -f conftest.
$ac_objext conftest
$ac_exeext
31520 if { (ac_try
="$ac_link"
31521 case "(($ac_try" in
31522 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31523 *) ac_try_echo=$ac_try;;
31525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31526 (eval "$ac_link") 2>conftest.er1
31528 grep -v '^ *+' conftest.er1 >conftest.err
31530 cat conftest.err >&5
31531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31532 (exit $ac_status); } && {
31533 test -z "$ac_c_werror_flag" ||
31534 test ! -s conftest.err
31535 } && test -s conftest$ac_exeext &&
31536 $as_test_x conftest$ac_exeext; then
31538 { echo "$as_me:$LINENO: result: found in default search path" >&5
31539 echo "${ECHO_T}found in default search path" >&6; }
31540 COMPILED_X_PROGRAM=1
31543 echo "$as_me: failed program was:" >&5
31544 sed 's/^/| /' conftest.$ac_ext >&5
31547 { echo "$as_me:$LINENO: result: no" >&5
31548 echo "${ECHO_T}no" >&6; }
31549 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31550 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31551 { (exit 1); exit 1; }; }
31556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31557 conftest$ac_exeext conftest.$ac_ext
31559 CFLAGS=$save_CFLAGS
31563 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31564 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31568 for libp in "" " -lXp"; do
31569 if test "$libs_found" = 0; then
31570 for libsm_ice in "" " -lSM -lICE"; do
31571 if test "$libs_found" = 0; then
31573 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31574 save_CFLAGS=$CFLAGS
31575 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31577 cat >conftest.$ac_ext <<_ACEOF
31580 cat confdefs.h >>conftest.$ac_ext
31581 cat >>conftest.$ac_ext <<_ACEOF
31582 /* end confdefs.h. */
31585 #include <Xm/List.h>
31591 XmString string = NULL;
31594 XmListAddItem(w, string, position);
31600 rm -f conftest.$ac_objext conftest$ac_exeext
31601 if { (ac_try="$ac_link"
31602 case "(($ac_try" in
31603 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31604 *) ac_try_echo
=$ac_try;;
31606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31607 (eval "$ac_link") 2>conftest.er1
31609 grep -v '^ *+' conftest.er1
>conftest.err
31611 cat conftest.err
>&5
31612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31613 (exit $ac_status); } && {
31614 test -z "$ac_c_werror_flag" ||
31615 test ! -s conftest.err
31616 } && test -s conftest
$ac_exeext &&
31617 $as_test_x conftest
$ac_exeext; then
31620 libsm_ice_link
="$libsm_ice"
31621 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31622 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31626 echo "$as_me: failed program was:" >&5
31627 sed 's/^/| /' conftest.
$ac_ext >&5
31633 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31634 conftest
$ac_exeext conftest.
$ac_ext
31637 CFLAGS
=$save_CFLAGS
31643 if test "$libs_found" = 0; then
31644 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31645 echo "${ECHO_T}can't find the right libraries" >&6; }
31646 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31647 echo "$as_me: error: can't link a simple motif program" >&2;}
31648 { (exit 1); exit 1; }; }
31651 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31652 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31653 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31654 echo $ECHO_N "(cached) $ECHO_C" >&6
31656 ac_check_lib_save_LIBS
=$LIBS
31658 cat >conftest.
$ac_ext <<_ACEOF
31661 cat confdefs.h
>>conftest.
$ac_ext
31662 cat >>conftest.
$ac_ext <<_ACEOF
31663 /* end confdefs.h. */
31665 /* Override any GCC internal prototype to avoid an error.
31666 Use char because int might match the return type of a GCC
31667 builtin and then its argument prototype would still apply. */
31671 char SgCreateList ();
31675 return SgCreateList ();
31680 rm -f conftest.
$ac_objext conftest
$ac_exeext
31681 if { (ac_try
="$ac_link"
31682 case "(($ac_try" in
31683 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31684 *) ac_try_echo=$ac_try;;
31686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31687 (eval "$ac_link") 2>conftest.er1
31689 grep -v '^ *+' conftest.er1 >conftest.err
31691 cat conftest.err >&5
31692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693 (exit $ac_status); } && {
31694 test -z "$ac_c_werror_flag" ||
31695 test ! -s conftest.err
31696 } && test -s conftest$ac_exeext &&
31697 $as_test_x conftest$ac_exeext; then
31698 ac_cv_lib_Sgm_SgCreateList=yes
31700 echo "$as_me: failed program was:" >&5
31701 sed 's/^/| /' conftest.$ac_ext >&5
31703 ac_cv_lib_Sgm_SgCreateList=no
31706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31707 conftest$ac_exeext conftest.$ac_ext
31708 LIBS=$ac_check_lib_save_LIBS
31710 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31711 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31712 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31713 libsgm_link=" -lSgm"
31717 save_CFLAGS=$CFLAGS
31718 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31720 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31721 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31722 if test "${wx_cv_lib_motif2+set}" = set; then
31723 echo $ECHO_N "(cached) $ECHO_C" >&6
31725 cat >conftest.$ac_ext <<_ACEOF
31728 cat confdefs.h >>conftest.$ac_ext
31729 cat >>conftest.$ac_ext <<_ACEOF
31730 /* end confdefs.h. */
31738 #if XmVersion < 2000
31746 rm -f conftest.$ac_objext
31747 if { (ac_try="$ac_compile"
31748 case "(($ac_try" in
31749 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31750 *) ac_try_echo
=$ac_try;;
31752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31753 (eval "$ac_compile") 2>conftest.er1
31755 grep -v '^ *+' conftest.er1
>conftest.err
31757 cat conftest.err
>&5
31758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31759 (exit $ac_status); } && {
31760 test -z "$ac_c_werror_flag" ||
31761 test ! -s conftest.err
31762 } && test -s conftest.
$ac_objext; then
31763 wx_cv_lib_motif2
="yes"
31765 echo "$as_me: failed program was:" >&5
31766 sed 's/^/| /' conftest.
$ac_ext >&5
31768 wx_cv_lib_motif2
="no"
31771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31773 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31774 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31775 if test "$wx_cv_lib_motif2" = "yes"; then
31776 cat >>confdefs.h
<<\_ACEOF
31777 #define __WXMOTIF20__ 1
31781 cat >>confdefs.h
<<\_ACEOF
31782 #define __WXMOTIF20__ 0
31787 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31788 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31789 if test "${wx_cv_lib_lesstif+set}" = set; then
31790 echo $ECHO_N "(cached) $ECHO_C" >&6
31792 cat >conftest.
$ac_ext <<_ACEOF
31795 cat confdefs.h
>>conftest.
$ac_ext
31796 cat >>conftest.
$ac_ext <<_ACEOF
31797 /* end confdefs.h. */
31805 #if !defined(LesstifVersion) || LesstifVersion <= 0
31813 rm -f conftest.
$ac_objext
31814 if { (ac_try
="$ac_compile"
31815 case "(($ac_try" in
31816 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31817 *) ac_try_echo=$ac_try;;
31819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31820 (eval "$ac_compile") 2>conftest.er1
31822 grep -v '^ *+' conftest.er1 >conftest.err
31824 cat conftest.err >&5
31825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826 (exit $ac_status); } && {
31827 test -z "$ac_c_werror_flag" ||
31828 test ! -s conftest.err
31829 } && test -s conftest.$ac_objext; then
31830 wx_cv_lib_lesstif="yes"
31832 echo "$as_me: failed program was:" >&5
31833 sed 's/^/| /' conftest.$ac_ext >&5
31835 wx_cv_lib_lesstif="no"
31838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31841 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31842 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31843 if test "$wx_cv_lib_lesstif" = "yes"; then
31844 cat >>confdefs.h <<\_ACEOF
31845 #define __WXLESSTIF__ 1
31849 cat >>confdefs.h <<\_ACEOF
31850 #define __WXLESSTIF__ 0
31855 CFLAGS=$save_CFLAGS
31857 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31862 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31863 if test "$wxUSE_LIBXPM" = "sys"; then
31864 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31865 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31868 for ac_dir in $SEARCH_LIB;
31870 for ac_extension in a so sl dylib dll.a; do
31871 if test -f "$ac_dir/libXpm.$ac_extension"; then
31872 ac_find_libraries=$ac_dir
31878 if test "$ac_find_libraries" != "" ; then
31880 if test "$ac_find_libraries" = "default location"; then
31883 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31885 if test $result = 0; then
31888 ac_path_to_link=" -L$ac_find_libraries"
31892 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31893 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31894 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31896 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31897 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31898 if test "${wx_cv_x11_xpm_h+set}" = set; then
31899 echo $ECHO_N "(cached) $ECHO_C" >&6
31902 save_CFLAGS=$CFLAGS
31903 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31905 cat >conftest.$ac_ext <<_ACEOF
31908 cat confdefs.h >>conftest.$ac_ext
31909 cat >>conftest.$ac_ext <<_ACEOF
31910 /* end confdefs.h. */
31912 #include <X11/xpm.h>
31919 version = XpmLibraryVersion();
31925 rm -f conftest.$ac_objext
31926 if { (ac_try="$ac_compile"
31927 case "(($ac_try" in
31928 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31929 *) ac_try_echo
=$ac_try;;
31931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31932 (eval "$ac_compile") 2>conftest.er1
31934 grep -v '^ *+' conftest.er1
>conftest.err
31936 cat conftest.err
>&5
31937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31938 (exit $ac_status); } && {
31939 test -z "$ac_c_werror_flag" ||
31940 test ! -s conftest.err
31941 } && test -s conftest.
$ac_objext; then
31942 wx_cv_x11_xpm_h
=yes
31944 echo "$as_me: failed program was:" >&5
31945 sed 's/^/| /' conftest.
$ac_ext >&5
31951 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31953 CFLAGS
=$save_CFLAGS
31957 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31958 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31960 if test $wx_cv_x11_xpm_h = "yes"; then
31961 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31962 cat >>confdefs.h
<<\_ACEOF
31963 #define wxHAVE_LIB_XPM 1
31967 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31968 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31974 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31975 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31976 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31977 echo $ECHO_N "(cached) $ECHO_C" >&6
31979 ac_check_lib_save_LIBS
=$LIBS
31980 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31981 cat >conftest.
$ac_ext <<_ACEOF
31984 cat confdefs.h
>>conftest.
$ac_ext
31985 cat >>conftest.
$ac_ext <<_ACEOF
31986 /* end confdefs.h. */
31988 /* Override any GCC internal prototype to avoid an error.
31989 Use char because int might match the return type of a GCC
31990 builtin and then its argument prototype would still apply. */
31994 char XShapeQueryExtension ();
31998 return XShapeQueryExtension ();
32003 rm -f conftest.
$ac_objext conftest
$ac_exeext
32004 if { (ac_try
="$ac_link"
32005 case "(($ac_try" in
32006 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32007 *) ac_try_echo=$ac_try;;
32009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32010 (eval "$ac_link") 2>conftest.er1
32012 grep -v '^ *+' conftest.er1 >conftest.err
32014 cat conftest.err >&5
32015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32016 (exit $ac_status); } && {
32017 test -z "$ac_c_werror_flag" ||
32018 test ! -s conftest.err
32019 } && test -s conftest$ac_exeext &&
32020 $as_test_x conftest$ac_exeext; then
32021 ac_cv_lib_Xext_XShapeQueryExtension=yes
32023 echo "$as_me: failed program was:" >&5
32024 sed 's/^/| /' conftest.$ac_ext >&5
32026 ac_cv_lib_Xext_XShapeQueryExtension=no
32029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32030 conftest$ac_exeext conftest.$ac_ext
32031 LIBS=$ac_check_lib_save_LIBS
32033 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32034 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32035 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32037 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32043 if test "$wxHAVE_XEXT_LIB" = 1; then
32044 save_CFLAGS="$CFLAGS"
32045 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32047 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32048 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32049 cat >conftest.$ac_ext <<_ACEOF
32052 cat confdefs.h >>conftest.$ac_ext
32053 cat >>conftest.$ac_ext <<_ACEOF
32054 /* end confdefs.h. */
32056 #include <X11/Xlib.h>
32057 #include <X11/extensions/shape.h>
32063 int dummy1, dummy2;
32064 XShapeQueryExtension((Display*)NULL,
32065 (int*)NULL, (int*)NULL);
32071 rm -f conftest.$ac_objext
32072 if { (ac_try="$ac_compile"
32073 case "(($ac_try" in
32074 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32075 *) ac_try_echo
=$ac_try;;
32077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32078 (eval "$ac_compile") 2>conftest.er1
32080 grep -v '^ *+' conftest.er1
>conftest.err
32082 cat conftest.err
>&5
32083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32084 (exit $ac_status); } && {
32085 test -z "$ac_c_werror_flag" ||
32086 test ! -s conftest.err
32087 } && test -s conftest.
$ac_objext; then
32089 cat >>confdefs.h
<<\_ACEOF
32090 #define HAVE_XSHAPE 1
32093 { echo "$as_me:$LINENO: result: found" >&5
32094 echo "${ECHO_T}found" >&6; }
32097 echo "$as_me: failed program was:" >&5
32098 sed 's/^/| /' conftest.
$ac_ext >&5
32101 { echo "$as_me:$LINENO: result: not found" >&5
32102 echo "${ECHO_T}not found" >&6; }
32106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32107 CFLAGS
="$save_CFLAGS"
32112 if test "$wxUSE_MAC" = 1; then
32113 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32114 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32115 if test "$GCC" = yes; then
32116 { echo "$as_me:$LINENO: result: gcc" >&5
32117 echo "${ECHO_T}gcc" >&6; }
32118 CPPFLAGS_PASCAL
="-fpascal-strings"
32119 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32120 { echo "$as_me:$LINENO: result: xlc" >&5
32121 echo "${ECHO_T}xlc" >&6; }
32122 CPPFLAGS_PASCAL
="-qmacpstr"
32124 { echo "$as_me:$LINENO: result: none" >&5
32125 echo "${ECHO_T}none" >&6; }
32128 if test "x$wxUSE_UNIX" = "xyes"; then
32129 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32131 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32136 WXBASEPORT
="_carbon"
32139 if test "$wxUSE_COCOA" = 1; then
32144 if test "$wxUSE_PM" = 1; then
32147 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32148 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32149 if test "${wx_cv_spbcdata+set}" = set; then
32150 echo $ECHO_N "(cached) $ECHO_C" >&6
32153 cat >conftest.
$ac_ext <<_ACEOF
32156 cat confdefs.h
>>conftest.
$ac_ext
32157 cat >>conftest.
$ac_ext <<_ACEOF
32158 /* end confdefs.h. */
32173 rm -f conftest.
$ac_objext
32174 if { (ac_try
="$ac_compile"
32175 case "(($ac_try" in
32176 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32177 *) ac_try_echo=$ac_try;;
32179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32180 (eval "$ac_compile") 2>conftest.er1
32182 grep -v '^ *+' conftest.er1 >conftest.err
32184 cat conftest.err >&5
32185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32186 (exit $ac_status); } && {
32187 test -z "$ac_c_werror_flag" ||
32188 test ! -s conftest.err
32189 } && test -s conftest.$ac_objext; then
32192 echo "$as_me: failed program was:" >&5
32193 sed 's/^/| /' conftest.$ac_ext >&5
32199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32203 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32204 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32206 if test $wx_cv_spbcdata = "yes"; then
32207 cat >>confdefs.h <<\_ACEOF
32208 #define HAVE_SPBCDATA 1
32214 if test "$TOOLKIT" = "PM" ; then
32217 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32220 if test "$wxUSE_UNIVERSAL" = "yes"; then
32221 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32225 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32226 DISTDIR="wx\$(TOOLKIT)"
32232 if test "$USE_WIN32" = 1 ; then
32236 GUIDIST="BASE_DIST"
32242 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32243 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32244 wxUSE_UNICODE_UTF8=yes
32245 elif test "$USE_OS2" = 1 ; then
32246 wxUSE_UNICODE_UTF8=yes
32248 wxUSE_UNICODE_UTF8=no
32253 if test "$wxUSE_GUI" = "yes"; then
32254 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32256 for ac_header in X11/Xlib.h
32258 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32259 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32261 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32262 echo $ECHO_N "(cached) $ECHO_C" >&6
32264 cat >conftest.$ac_ext <<_ACEOF
32267 cat confdefs.h >>conftest.$ac_ext
32268 cat >>conftest.$ac_ext <<_ACEOF
32269 /* end confdefs.h. */
32272 #include <$ac_header>
32274 rm -f conftest.$ac_objext
32275 if { (ac_try="$ac_compile"
32276 case "(($ac_try" in
32277 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32278 *) ac_try_echo
=$ac_try;;
32280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32281 (eval "$ac_compile") 2>conftest.er1
32283 grep -v '^ *+' conftest.er1
>conftest.err
32285 cat conftest.err
>&5
32286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32287 (exit $ac_status); } && {
32288 test -z "$ac_c_werror_flag" ||
32289 test ! -s conftest.err
32290 } && test -s conftest.
$ac_objext; then
32291 eval "$as_ac_Header=yes"
32293 echo "$as_me: failed program was:" >&5
32294 sed 's/^/| /' conftest.
$ac_ext >&5
32296 eval "$as_ac_Header=no"
32299 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32301 ac_res
=`eval echo '${'$as_ac_Header'}'`
32302 { echo "$as_me:$LINENO: result: $ac_res" >&5
32303 echo "${ECHO_T}$ac_res" >&6; }
32304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32305 cat >>confdefs.h
<<_ACEOF
32306 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32314 for ac_header
in X
11/XKBlib.h
32316 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32317 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32319 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32320 echo $ECHO_N "(cached) $ECHO_C" >&6
32322 cat >conftest.
$ac_ext <<_ACEOF
32325 cat confdefs.h
>>conftest.
$ac_ext
32326 cat >>conftest.
$ac_ext <<_ACEOF
32327 /* end confdefs.h. */
32329 #if HAVE_X11_XLIB_H
32330 #include <X11/Xlib.h>
32334 #include <$ac_header>
32336 rm -f conftest.
$ac_objext
32337 if { (ac_try
="$ac_compile"
32338 case "(($ac_try" in
32339 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32340 *) ac_try_echo=$ac_try;;
32342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32343 (eval "$ac_compile") 2>conftest.er1
32345 grep -v '^ *+' conftest.er1 >conftest.err
32347 cat conftest.err >&5
32348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32349 (exit $ac_status); } && {
32350 test -z "$ac_c_werror_flag" ||
32351 test ! -s conftest.err
32352 } && test -s conftest.$ac_objext; then
32353 eval "$as_ac_Header=yes"
32355 echo "$as_me: failed program was:" >&5
32356 sed 's/^/| /' conftest.$ac_ext >&5
32358 eval "$as_ac_Header=no"
32361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32363 ac_res=`eval echo '${'$as_ac_Header'}'`
32364 { echo "$as_me:$LINENO: result: $ac_res" >&5
32365 echo "${ECHO_T}$ac_res" >&6; }
32366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32367 cat >>confdefs.h <<_ACEOF
32368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32380 if test "$wxUSE_DISPLAY" = "yes"; then
32381 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32382 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32383 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32386 for ac_dir in $SEARCH_LIB;
32388 for ac_extension in a so sl dylib dll.a; do
32389 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32390 ac_find_libraries=$ac_dir
32396 if test "$ac_find_libraries" != "" ; then
32398 if test "$ac_find_libraries" = "default location"; then
32401 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32403 if test $result = 0; then
32406 ac_path_to_link=" -L$ac_find_libraries"
32410 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32411 LDFLAGS="$LDFLAGS $ac_path_to_link"
32413 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32414 { echo "$as_me:$LINENO: result: yes" >&5
32415 echo "${ECHO_T}yes" >&6; }
32417 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32418 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32421 for ac_dir in $SEARCH_LIB;
32423 for ac_extension in a so sl dylib dll.a; do
32424 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32425 ac_find_libraries=$ac_dir
32431 if test "$ac_find_libraries" != "" ; then
32432 { echo "$as_me:$LINENO: result: yes" >&5
32433 echo "${ECHO_T}yes" >&6; }
32435 for ac_header in X11/extensions/xf86vmode.h
32437 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32438 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32440 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32441 echo $ECHO_N "(cached) $ECHO_C" >&6
32443 cat >conftest.$ac_ext <<_ACEOF
32446 cat confdefs.h >>conftest.$ac_ext
32447 cat >>conftest.$ac_ext <<_ACEOF
32448 /* end confdefs.h. */
32450 #if HAVE_X11_XLIB_H
32451 #include <X11/Xlib.h>
32455 #include <$ac_header>
32457 rm -f conftest.$ac_objext
32458 if { (ac_try="$ac_compile"
32459 case "(($ac_try" in
32460 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32461 *) ac_try_echo
=$ac_try;;
32463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32464 (eval "$ac_compile") 2>conftest.er1
32466 grep -v '^ *+' conftest.er1
>conftest.err
32468 cat conftest.err
>&5
32469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32470 (exit $ac_status); } && {
32471 test -z "$ac_c_werror_flag" ||
32472 test ! -s conftest.err
32473 } && test -s conftest.
$ac_objext; then
32474 eval "$as_ac_Header=yes"
32476 echo "$as_me: failed program was:" >&5
32477 sed 's/^/| /' conftest.
$ac_ext >&5
32479 eval "$as_ac_Header=no"
32482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32484 ac_res
=`eval echo '${'$as_ac_Header'}'`
32485 { echo "$as_me:$LINENO: result: $ac_res" >&5
32486 echo "${ECHO_T}$ac_res" >&6; }
32487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32488 cat >>confdefs.h
<<_ACEOF
32489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32492 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32499 { echo "$as_me:$LINENO: result: no" >&5
32500 echo "${ECHO_T}no" >&6; }
32504 { echo "$as_me:$LINENO: result: no" >&5
32505 echo "${ECHO_T}no" >&6; }
32506 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32507 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32510 elif test "$wxUSE_MSW" = 1; then
32511 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32512 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32513 if test "${ac_cv_header_ddraw_h+set}" = set; then
32514 echo $ECHO_N "(cached) $ECHO_C" >&6
32516 cat >conftest.
$ac_ext <<_ACEOF
32519 cat confdefs.h
>>conftest.
$ac_ext
32520 cat >>conftest.
$ac_ext <<_ACEOF
32521 /* end confdefs.h. */
32522 #include <windows.h>
32526 rm -f conftest.
$ac_objext
32527 if { (ac_try
="$ac_compile"
32528 case "(($ac_try" in
32529 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32530 *) ac_try_echo=$ac_try;;
32532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32533 (eval "$ac_compile") 2>conftest.er1
32535 grep -v '^ *+' conftest.er1 >conftest.err
32537 cat conftest.err >&5
32538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32539 (exit $ac_status); } && {
32540 test -z "$ac_c_werror_flag" ||
32541 test ! -s conftest.err
32542 } && test -s conftest.$ac_objext; then
32543 ac_cv_header_ddraw_h=yes
32545 echo "$as_me: failed program was:" >&5
32546 sed 's/^/| /' conftest.$ac_ext >&5
32548 ac_cv_header_ddraw_h=no
32551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32553 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32554 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32560 if test "$wxUSE_DETECT_SM" = "yes"; then
32561 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32562 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32563 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32566 for ac_dir in $SEARCH_LIB;
32568 for ac_extension in a so sl dylib dll.a; do
32569 if test -f "$ac_dir/libSM.$ac_extension"; then
32570 ac_find_libraries=$ac_dir
32576 if test "$ac_find_libraries" != "" ; then
32578 if test "$ac_find_libraries" = "default location"; then
32581 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32583 if test $result = 0; then
32586 ac_path_to_link=" -L$ac_find_libraries"
32590 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32591 LDFLAGS="$LDFLAGS $ac_path_to_link"
32593 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32594 { echo "$as_me:$LINENO: result: yes" >&5
32595 echo "${ECHO_T}yes" >&6; }
32597 { echo "$as_me:$LINENO: result: no" >&5
32598 echo "${ECHO_T}no" >&6; }
32599 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32600 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32601 wxUSE_DETECT_SM="no"
32604 wxUSE_DETECT_SM="no"
32611 if test "$wxUSE_OPENGL" = "yes"; then
32612 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32613 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32614 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32616 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32617 OPENGL_LIBS="-framework OpenGL -framework AGL"
32618 elif test "$wxUSE_MSW" = 1; then
32619 OPENGL_LIBS="-lopengl32 -lglu32"
32621 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32622 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32625 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32627 if test -f "$ac_dir/GL/gl.h"; then
32628 ac_find_includes=$ac_dir
32633 if test "$ac_find_includes" != "" ; then
32634 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32635 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32637 if test "x$ac_find_includes" = "x/usr/include"; then
32638 ac_path_to_include=""
32640 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32642 if test $result = 0; then
32643 ac_path_to_include=""
32645 ac_path_to_include=" -I$ac_find_includes"
32649 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32651 { echo "$as_me:$LINENO: result: not found" >&5
32652 echo "${ECHO_T}not found" >&6; }
32655 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32656 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32657 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32658 echo $ECHO_N "(cached) $ECHO_C" >&6
32660 cat >conftest.$ac_ext <<_ACEOF
32663 cat confdefs.h >>conftest.$ac_ext
32664 cat >>conftest.$ac_ext <<_ACEOF
32665 /* end confdefs.h. */
32670 rm -f conftest.$ac_objext
32671 if { (ac_try="$ac_compile"
32672 case "(($ac_try" in
32673 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32674 *) ac_try_echo
=$ac_try;;
32676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32677 (eval "$ac_compile") 2>conftest.er1
32679 grep -v '^ *+' conftest.er1
>conftest.err
32681 cat conftest.err
>&5
32682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32683 (exit $ac_status); } && {
32684 test -z "$ac_c_werror_flag" ||
32685 test ! -s conftest.err
32686 } && test -s conftest.
$ac_objext; then
32687 ac_cv_header_GL_gl_h
=yes
32689 echo "$as_me: failed program was:" >&5
32690 sed 's/^/| /' conftest.
$ac_ext >&5
32692 ac_cv_header_GL_gl_h
=no
32695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32697 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32698 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32699 if test $ac_cv_header_GL_gl_h = yes; then
32701 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32702 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32703 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32704 echo $ECHO_N "(cached) $ECHO_C" >&6
32706 cat >conftest.
$ac_ext <<_ACEOF
32709 cat confdefs.h
>>conftest.
$ac_ext
32710 cat >>conftest.
$ac_ext <<_ACEOF
32711 /* end confdefs.h. */
32714 #include <GL/glu.h>
32716 rm -f conftest.
$ac_objext
32717 if { (ac_try
="$ac_compile"
32718 case "(($ac_try" in
32719 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32720 *) ac_try_echo=$ac_try;;
32722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32723 (eval "$ac_compile") 2>conftest.er1
32725 grep -v '^ *+' conftest.er1 >conftest.err
32727 cat conftest.err >&5
32728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729 (exit $ac_status); } && {
32730 test -z "$ac_c_werror_flag" ||
32731 test ! -s conftest.err
32732 } && test -s conftest.$ac_objext; then
32733 ac_cv_header_GL_glu_h=yes
32735 echo "$as_me: failed program was:" >&5
32736 sed 's/^/| /' conftest.$ac_ext >&5
32738 ac_cv_header_GL_glu_h=no
32741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32743 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32744 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32745 if test $ac_cv_header_GL_glu_h = yes; then
32749 { echo "$as_me:$LINENO: checking for -lGL" >&5
32750 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32753 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32755 for ac_extension in a so sl dylib dll.a; do
32756 if test -f "$ac_dir/libGL.$ac_extension"; then
32757 ac_find_libraries=$ac_dir
32763 if test "$ac_find_libraries" != "" ; then
32764 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32765 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32768 if test "$ac_find_libraries" = "default location"; then
32771 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32773 if test $result = 0; then
32776 ac_path_to_link=" -L$ac_find_libraries"
32780 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32781 LDFLAGS_GL="$ac_path_to_link"
32784 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32785 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32788 for ac_dir in $SEARCH_LIB;
32790 for ac_extension in a so sl dylib dll.a; do
32791 if test -f "$ac_dir/libGLU.$ac_extension"; then
32792 ac_find_libraries=$ac_dir
32798 if test "$ac_find_libraries" != "" ; then
32800 if test "$ac_find_libraries" = "default location"; then
32803 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32805 if test $result = 0; then
32808 ac_path_to_link=" -L$ac_find_libraries"
32812 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32813 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32814 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32818 OPENGL_LIBS="-lGL -lGLU"
32819 { echo "$as_me:$LINENO: result: yes" >&5
32820 echo "${ECHO_T}yes" >&6; }
32822 { echo "$as_me:$LINENO: result: no" >&5
32823 echo "${ECHO_T}no" >&6; }
32826 { echo "$as_me:$LINENO: result: no" >&5
32827 echo "${ECHO_T}no" >&6; }
32830 if test "$found_gl" != 1; then
32831 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32832 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32835 for ac_dir in $SEARCH_LIB;
32837 for ac_extension in a so sl dylib dll.a; do
32838 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32839 ac_find_libraries=$ac_dir
32845 if test "$ac_find_libraries" != "" ; then
32847 if test "$ac_find_libraries" = "default location"; then
32850 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32852 if test $result = 0; then
32855 ac_path_to_link=" -L$ac_find_libraries"
32859 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32860 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32861 { echo "$as_me:$LINENO: result: yes" >&5
32862 echo "${ECHO_T}yes" >&6; }
32864 { echo "$as_me:$LINENO: result: no" >&5
32865 echo "${ECHO_T}no" >&6; }
32877 if test "x$OPENGL_LIBS" = "x"; then
32878 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32879 echo "$as_me: error: OpenGL libraries not available" >&2;}
32880 { (exit 1); exit 1; }; }
32884 if test "$wxUSE_OPENGL" = "yes"; then
32886 cat >>confdefs.h <<\_ACEOF
32887 #define wxUSE_OPENGL 1
32890 cat >>confdefs.h <<\_ACEOF
32891 #define wxUSE_GLCANVAS 1
32894 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32899 if test -n "$TOOLKIT" ; then
32900 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32905 if test "$wxUSE_SHARED" = "yes"; then
32909 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32910 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32915 if test "$wxUSE_SHARED" = "yes"; then
32919 *-*-cygwin* | *-*-mingw* )
32920 wx_cv_version_script=no
32924 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32925 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32926 if test "${wx_cv_version_script+set}" = set; then
32927 echo $ECHO_N "(cached) $ECHO_C" >&6
32930 echo "VER_1 { *; };" >conftest.sym
32931 echo "int main() { return 0; }" >conftest.cpp
32934 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32935 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32937 (eval $ac_try) 2>&5
32939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32940 (exit $ac_status); }; } ; then
32941 if test -s conftest.stderr ; then
32942 wx_cv_version_script=no
32944 wx_cv_version_script=yes
32947 wx_cv_version_script=no
32950 if test $wx_cv_version_script = yes
32952 echo "struct B { virtual ~B() { } }; \
32953 struct D : public B { }; \
32954 void F() { D d; }" > conftest.cpp
32957 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32958 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32960 (eval $ac_try) 2>&5
32962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32963 (exit $ac_status); }; } &&
32965 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32966 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32968 (eval $ac_try) 2>&5
32970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32971 (exit $ac_status); }; }
32974 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32975 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32977 (eval $ac_try) 2>&5
32979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32980 (exit $ac_status); }; }
32982 wx_cv_version_script=yes
32984 wx_cv_version_script=no
32989 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32990 rm -f conftest1.output conftest2.output conftest3.output
32993 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32994 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32996 if test $wx_cv_version_script = yes ; then
32997 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33003 if test "$wxUSE_VISIBILITY" != "no"; then
33006 if test -n "$GCC"; then
33007 CFLAGS_VISIBILITY="-fvisibility=hidden"
33008 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33009 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33010 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33011 if test "${wx_cv_cc_visibility+set}" = set; then
33012 echo $ECHO_N "(cached) $ECHO_C" >&6
33015 wx_save_CXXFLAGS="$CXXFLAGS"
33016 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33018 ac_cpp='$CXXCPP $CPPFLAGS'
33019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33023 cat >conftest.$ac_ext <<_ACEOF
33026 cat confdefs.h >>conftest.$ac_ext
33027 cat >>conftest.$ac_ext <<_ACEOF
33028 /* end confdefs.h. */
33030 /* we need gcc >= 4.0, older versions with visibility support
33031 didn't have class visibility: */
33032 #if defined(__GNUC__) && __GNUC__ < 4
33033 error this gcc is too old;
33036 /* visibility only makes sense for ELF shared libs: */
33037 #if !defined(__ELF__) && !defined(__APPLE__)
33038 error this platform has no visibility;
33041 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33042 extern __attribute__((__visibility__("default"))) int exportedvar;
33043 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33044 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33045 class __attribute__((__visibility__("default"))) Foo {
33057 rm -f conftest.$ac_objext
33058 if { (ac_try="$ac_compile"
33059 case "(($ac_try" in
33060 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33061 *) ac_try_echo
=$ac_try;;
33063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33064 (eval "$ac_compile") 2>conftest.er1
33066 grep -v '^ *+' conftest.er1
>conftest.err
33068 cat conftest.err
>&5
33069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33070 (exit $ac_status); } && {
33071 test -z "$ac_cxx_werror_flag" ||
33072 test ! -s conftest.err
33073 } && test -s conftest.
$ac_objext; then
33074 wx_cv_cc_visibility
=yes
33076 echo "$as_me: failed program was:" >&5
33077 sed 's/^/| /' conftest.
$ac_ext >&5
33079 wx_cv_cc_visibility
=no
33082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33084 ac_cpp
='$CPP $CPPFLAGS'
33085 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33086 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33087 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33089 CXXFLAGS
="$wx_save_CXXFLAGS"
33092 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33093 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33094 if test $wx_cv_cc_visibility = yes; then
33095 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33096 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33097 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33098 echo $ECHO_N "(cached) $ECHO_C" >&6
33101 wx_save_CXXFLAGS
="$CXXFLAGS"
33102 wx_save_LDFLAGS
="$LDFLAGS"
33103 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33104 LDFLAGS
="$LDFLAGS -shared -fPIC"
33106 ac_cpp
='$CXXCPP $CPPFLAGS'
33107 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33108 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33109 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33111 cat >conftest.
$ac_ext <<_ACEOF
33114 cat confdefs.h
>>conftest.
$ac_ext
33115 cat >>conftest.
$ac_ext <<_ACEOF
33116 /* end confdefs.h. */
33124 std::string s("hello");
33131 rm -f conftest.
$ac_objext conftest
$ac_exeext
33132 if { (ac_try
="$ac_link"
33133 case "(($ac_try" in
33134 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33135 *) ac_try_echo=$ac_try;;
33137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33138 (eval "$ac_link") 2>conftest.er1
33140 grep -v '^ *+' conftest.er1 >conftest.err
33142 cat conftest.err >&5
33143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33144 (exit $ac_status); } && {
33145 test -z "$ac_cxx_werror_flag" ||
33146 test ! -s conftest.err
33147 } && test -s conftest$ac_exeext &&
33148 $as_test_x conftest$ac_exeext; then
33149 wx_cv_cc_broken_libstdcxx_visibility=no
33151 echo "$as_me: failed program was:" >&5
33152 sed 's/^/| /' conftest.$ac_ext >&5
33154 wx_cv_cc_broken_libstdcxx_visibility=yes
33157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33158 conftest$ac_exeext conftest.$ac_ext
33160 ac_cpp='$CPP $CPPFLAGS'
33161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33165 CXXFLAGS="$wx_save_CXXFLAGS"
33166 LDFLAGS="$wx_save_LDFLAGS"
33169 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33170 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33172 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33173 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33174 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33175 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33176 echo $ECHO_N "(cached) $ECHO_C" >&6
33180 ac_cpp='$CXXCPP $CPPFLAGS'
33181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33185 cat >conftest.$ac_ext <<_ACEOF
33188 cat confdefs.h >>conftest.$ac_ext
33189 cat >>conftest.$ac_ext <<_ACEOF
33190 /* end confdefs.h. */
33192 #pragma GCC visibility push(default)
33194 #pragma GCC visibility pop
33200 std::string s("hello");
33207 rm -f conftest.$ac_objext conftest$ac_exeext
33208 if { (ac_try="$ac_link"
33209 case "(($ac_try" in
33210 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33211 *) ac_try_echo
=$ac_try;;
33213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33214 (eval "$ac_link") 2>conftest.er1
33216 grep -v '^ *+' conftest.er1
>conftest.err
33218 cat conftest.err
>&5
33219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33220 (exit $ac_status); } && {
33221 test -z "$ac_cxx_werror_flag" ||
33222 test ! -s conftest.err
33223 } && test -s conftest
$ac_exeext &&
33224 $as_test_x conftest
$ac_exeext; then
33225 wx_cv_cc_visibility_workaround
=no
33227 echo "$as_me: failed program was:" >&5
33228 sed 's/^/| /' conftest.
$ac_ext >&5
33230 wx_cv_cc_visibility_workaround
=yes
33233 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33234 conftest
$ac_exeext conftest.
$ac_ext
33236 ac_cpp
='$CPP $CPPFLAGS'
33237 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33238 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33239 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33244 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33245 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33247 if test $wx_cv_cc_visibility_workaround = no
; then
33248 wx_cv_cc_visibility
=no
33253 if test $wx_cv_cc_visibility = yes; then
33254 cat >>confdefs.h
<<\_ACEOF
33255 #define HAVE_VISIBILITY 1
33258 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33259 cat >>confdefs.h
<<\_ACEOF
33260 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33265 CFLAGS_VISIBILITY
=""
33266 CXXFLAGS_VISIBILITY
=""
33274 if test "x$SUNCXX" = xyes
; then
33275 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33276 WXCONFIG_RPATH
="-R\$libdir"
33279 *-*-linux* | *-*-gnu* )
33280 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33281 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33286 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33288 saveLdflags
="$LDFLAGS"
33289 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33290 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33291 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33292 cat >conftest.
$ac_ext <<_ACEOF
33295 cat confdefs.h
>>conftest.
$ac_ext
33296 cat >>conftest.
$ac_ext <<_ACEOF
33297 /* end confdefs.h. */
33307 rm -f conftest.
$ac_objext conftest
$ac_exeext
33308 if { (ac_try
="$ac_link"
33309 case "(($ac_try" in
33310 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33311 *) ac_try_echo=$ac_try;;
33313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33314 (eval "$ac_link") 2>conftest.er1
33316 grep -v '^ *+' conftest.er1 >conftest.err
33318 cat conftest.err >&5
33319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33320 (exit $ac_status); } && {
33321 test -z "$ac_c_werror_flag" ||
33322 test ! -s conftest.err
33323 } && test -s conftest$ac_exeext &&
33324 $as_test_x conftest$ac_exeext; then
33326 { echo "$as_me:$LINENO: result: yes" >&5
33327 echo "${ECHO_T}yes" >&6; }
33328 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33329 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33332 echo "$as_me: failed program was:" >&5
33333 sed 's/^/| /' conftest.$ac_ext >&5
33336 { echo "$as_me:$LINENO: result: no" >&5
33337 echo "${ECHO_T}no" >&6; }
33338 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33339 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33340 LDFLAGS="$saveLdflags -Wl,-R,/"
33341 cat >conftest.$ac_ext <<_ACEOF
33344 cat confdefs.h >>conftest.$ac_ext
33345 cat >>conftest.$ac_ext <<_ACEOF
33346 /* end confdefs.h. */
33356 rm -f conftest.$ac_objext conftest$ac_exeext
33357 if { (ac_try="$ac_link"
33358 case "(($ac_try" in
33359 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33360 *) ac_try_echo
=$ac_try;;
33362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33363 (eval "$ac_link") 2>conftest.er1
33365 grep -v '^ *+' conftest.er1
>conftest.err
33367 cat conftest.err
>&5
33368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33369 (exit $ac_status); } && {
33370 test -z "$ac_c_werror_flag" ||
33371 test ! -s conftest.err
33372 } && test -s conftest
$ac_exeext &&
33373 $as_test_x conftest
$ac_exeext; then
33375 { echo "$as_me:$LINENO: result: yes" >&5
33376 echo "${ECHO_T}yes" >&6; }
33377 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33378 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33381 echo "$as_me: failed program was:" >&5
33382 sed 's/^/| /' conftest.
$ac_ext >&5
33385 { echo "$as_me:$LINENO: result: no" >&5
33386 echo "${ECHO_T}no" >&6; }
33390 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33391 conftest
$ac_exeext conftest.
$ac_ext
33395 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33396 conftest
$ac_exeext conftest.
$ac_ext
33397 LDFLAGS
="$saveLdflags"
33401 install_name_tool
=`which install_name_tool`
33402 if test "$install_name_tool" -a -x "$install_name_tool"; then
33403 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33404 cat <<EOF >change-install-names
33406 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33407 inst_cmd="install_name_tool "
33408 for i in \${libnames} ; do
33409 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33413 chmod +x change
-install-names
33417 *-*-cygwin* | *-*-mingw32* )
33421 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33422 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33428 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33430 if test $wxUSE_RPATH = "no"; then
33431 SAMPLES_RPATH_FLAG
=''
33432 SAMPLES_RPATH_POSTLINK
=''
33440 config_linkage_component
="-static"
33447 lib_unicode_suffix
=
33449 if test "$wxUSE_UNICODE" = "yes"; then
33450 lib_unicode_suffix
=u
33451 WX_CHARTYPE
="unicode"
33456 WX_DEBUGTYPE
="release"
33458 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33460 WX_DEBUGTYPE
="debug"
33464 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33465 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33468 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33472 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33474 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33476 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33478 if test "$cross_compiling" = "yes"; then
33479 HOST_SUFFIX
="-$host_alias"
33480 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33481 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33484 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33485 if test "${TOOLKIT_DIR}" = "os2"; then
33486 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33488 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33493 if test "$wxUSE_COCOA" = 1; then
33496 ac_cpp
='$CPP $CPPFLAGS'
33497 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33498 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33499 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33503 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33504 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33505 cat >conftest.
$ac_ext <<_ACEOF
33508 cat confdefs.h
>>conftest.
$ac_ext
33509 cat >>conftest.
$ac_ext <<_ACEOF
33510 /* end confdefs.h. */
33511 #include <AppKit/NSEvent.h>
33512 #include <CoreFoundation/CoreFoundation.h>
33522 rm -f conftest.
$ac_objext
33523 if { (ac_try
="$ac_compile"
33524 case "(($ac_try" in
33525 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33526 *) ac_try_echo=$ac_try;;
33528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33529 (eval "$ac_compile") 2>conftest.er1
33531 grep -v '^ *+' conftest.er1 >conftest.err
33533 cat conftest.err >&5
33534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33535 (exit $ac_status); } && {
33536 test -z "$ac_c_werror_flag" ||
33537 test ! -s conftest.err
33538 } && test -s conftest.$ac_objext; then
33539 { echo "$as_me:$LINENO: result: no" >&5
33540 echo "${ECHO_T}no" >&6; }
33542 echo "$as_me: failed program was:" >&5
33543 sed 's/^/| /' conftest.$ac_ext >&5
33545 { echo "$as_me:$LINENO: result: yes" >&5
33546 echo "${ECHO_T}yes" >&6; }
33547 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33548 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33549 cat >conftest.$ac_ext <<_ACEOF
33552 cat confdefs.h >>conftest.$ac_ext
33553 cat >>conftest.$ac_ext <<_ACEOF
33554 /* end confdefs.h. */
33555 #define __Point__ 1
33556 #include <AppKit/NSEvent.h>
33557 #include <CoreFoundation/CoreFoundation.h>
33567 rm -f conftest.$ac_objext
33568 if { (ac_try="$ac_compile"
33569 case "(($ac_try" in
33570 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33571 *) ac_try_echo
=$ac_try;;
33573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33574 (eval "$ac_compile") 2>conftest.er1
33576 grep -v '^ *+' conftest.er1
>conftest.err
33578 cat conftest.err
>&5
33579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33580 (exit $ac_status); } && {
33581 test -z "$ac_c_werror_flag" ||
33582 test ! -s conftest.err
33583 } && test -s conftest.
$ac_objext; then
33584 { echo "$as_me:$LINENO: result: yes" >&5
33585 echo "${ECHO_T}yes" >&6; }
33586 cat >>confdefs.h
<<\_ACEOF
33587 #define __Point__ 1
33592 echo "$as_me: failed program was:" >&5
33593 sed 's/^/| /' conftest.
$ac_ext >&5
33595 { { echo "$as_me:$LINENO: error: no
33596 See \`config.log' for more details." >&5
33597 echo "$as_me: error: no
33598 See \`config.log' for more details." >&2;}
33599 { (exit 1); exit 1; }; }
33603 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33609 ac_cpp
='$CPP $CPPFLAGS'
33610 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33611 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33612 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33617 { echo "$as_me:$LINENO: checking for mode_t" >&5
33618 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33619 if test "${ac_cv_type_mode_t+set}" = set; then
33620 echo $ECHO_N "(cached) $ECHO_C" >&6
33622 cat >conftest.
$ac_ext <<_ACEOF
33625 cat confdefs.h
>>conftest.
$ac_ext
33626 cat >>conftest.
$ac_ext <<_ACEOF
33627 /* end confdefs.h. */
33628 $ac_includes_default
33629 typedef mode_t ac__type_new_;
33633 if ((ac__type_new_ *) 0)
33635 if (sizeof (ac__type_new_))
33641 rm -f conftest.
$ac_objext
33642 if { (ac_try
="$ac_compile"
33643 case "(($ac_try" in
33644 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33645 *) ac_try_echo=$ac_try;;
33647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33648 (eval "$ac_compile") 2>conftest.er1
33650 grep -v '^ *+' conftest.er1 >conftest.err
33652 cat conftest.err >&5
33653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33654 (exit $ac_status); } && {
33655 test -z "$ac_c_werror_flag" ||
33656 test ! -s conftest.err
33657 } && test -s conftest.$ac_objext; then
33658 ac_cv_type_mode_t=yes
33660 echo "$as_me: failed program was:" >&5
33661 sed 's/^/| /' conftest.$ac_ext >&5
33663 ac_cv_type_mode_t=no
33666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33668 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33669 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33670 if test $ac_cv_type_mode_t = yes; then
33674 cat >>confdefs.h <<_ACEOF
33680 { echo "$as_me:$LINENO: checking for off_t" >&5
33681 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33682 if test "${ac_cv_type_off_t+set}" = set; then
33683 echo $ECHO_N "(cached) $ECHO_C" >&6
33685 cat >conftest.$ac_ext <<_ACEOF
33688 cat confdefs.h >>conftest.$ac_ext
33689 cat >>conftest.$ac_ext <<_ACEOF
33690 /* end confdefs.h. */
33691 $ac_includes_default
33692 typedef off_t ac__type_new_;
33696 if ((ac__type_new_ *) 0)
33698 if (sizeof (ac__type_new_))
33704 rm -f conftest.$ac_objext
33705 if { (ac_try="$ac_compile"
33706 case "(($ac_try" in
33707 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33708 *) ac_try_echo
=$ac_try;;
33710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33711 (eval "$ac_compile") 2>conftest.er1
33713 grep -v '^ *+' conftest.er1
>conftest.err
33715 cat conftest.err
>&5
33716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33717 (exit $ac_status); } && {
33718 test -z "$ac_c_werror_flag" ||
33719 test ! -s conftest.err
33720 } && test -s conftest.
$ac_objext; then
33721 ac_cv_type_off_t
=yes
33723 echo "$as_me: failed program was:" >&5
33724 sed 's/^/| /' conftest.
$ac_ext >&5
33726 ac_cv_type_off_t
=no
33729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33731 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33732 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33733 if test $ac_cv_type_off_t = yes; then
33737 cat >>confdefs.h
<<_ACEOF
33738 #define off_t long int
33743 { echo "$as_me:$LINENO: checking for pid_t" >&5
33744 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33745 if test "${ac_cv_type_pid_t+set}" = set; then
33746 echo $ECHO_N "(cached) $ECHO_C" >&6
33748 cat >conftest.
$ac_ext <<_ACEOF
33751 cat confdefs.h
>>conftest.
$ac_ext
33752 cat >>conftest.
$ac_ext <<_ACEOF
33753 /* end confdefs.h. */
33754 $ac_includes_default
33755 typedef pid_t ac__type_new_;
33759 if ((ac__type_new_ *) 0)
33761 if (sizeof (ac__type_new_))
33767 rm -f conftest.
$ac_objext
33768 if { (ac_try
="$ac_compile"
33769 case "(($ac_try" in
33770 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33771 *) ac_try_echo=$ac_try;;
33773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33774 (eval "$ac_compile") 2>conftest.er1
33776 grep -v '^ *+' conftest.er1 >conftest.err
33778 cat conftest.err >&5
33779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33780 (exit $ac_status); } && {
33781 test -z "$ac_c_werror_flag" ||
33782 test ! -s conftest.err
33783 } && test -s conftest.$ac_objext; then
33784 ac_cv_type_pid_t=yes
33786 echo "$as_me: failed program was:" >&5
33787 sed 's/^/| /' conftest.$ac_ext >&5
33789 ac_cv_type_pid_t=no
33792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33794 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33795 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33796 if test $ac_cv_type_pid_t = yes; then
33800 cat >>confdefs.h <<_ACEOF
33806 { echo "$as_me:$LINENO: checking for size_t" >&5
33807 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33808 if test "${ac_cv_type_size_t+set}" = set; then
33809 echo $ECHO_N "(cached) $ECHO_C" >&6
33811 cat >conftest.$ac_ext <<_ACEOF
33814 cat confdefs.h >>conftest.$ac_ext
33815 cat >>conftest.$ac_ext <<_ACEOF
33816 /* end confdefs.h. */
33817 $ac_includes_default
33818 typedef size_t ac__type_new_;
33822 if ((ac__type_new_ *) 0)
33824 if (sizeof (ac__type_new_))
33830 rm -f conftest.$ac_objext
33831 if { (ac_try="$ac_compile"
33832 case "(($ac_try" in
33833 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33834 *) ac_try_echo
=$ac_try;;
33836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33837 (eval "$ac_compile") 2>conftest.er1
33839 grep -v '^ *+' conftest.er1
>conftest.err
33841 cat conftest.err
>&5
33842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33843 (exit $ac_status); } && {
33844 test -z "$ac_c_werror_flag" ||
33845 test ! -s conftest.err
33846 } && test -s conftest.
$ac_objext; then
33847 ac_cv_type_size_t
=yes
33849 echo "$as_me: failed program was:" >&5
33850 sed 's/^/| /' conftest.
$ac_ext >&5
33852 ac_cv_type_size_t
=no
33855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33857 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33858 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33859 if test $ac_cv_type_size_t = yes; then
33863 cat >>confdefs.h
<<_ACEOF
33864 #define size_t unsigned int
33870 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33871 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33872 if test "${ac_cv_type_ssize_t+set}" = set; then
33873 echo $ECHO_N "(cached) $ECHO_C" >&6
33875 cat >conftest.
$ac_ext <<_ACEOF
33878 cat confdefs.h
>>conftest.
$ac_ext
33879 cat >>conftest.
$ac_ext <<_ACEOF
33880 /* end confdefs.h. */
33881 $ac_includes_default
33882 typedef ssize_t ac__type_new_;
33886 if ((ac__type_new_ *) 0)
33888 if (sizeof (ac__type_new_))
33894 rm -f conftest.
$ac_objext
33895 if { (ac_try
="$ac_compile"
33896 case "(($ac_try" in
33897 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33898 *) ac_try_echo=$ac_try;;
33900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33901 (eval "$ac_compile") 2>conftest.er1
33903 grep -v '^ *+' conftest.er1 >conftest.err
33905 cat conftest.err >&5
33906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33907 (exit $ac_status); } && {
33908 test -z "$ac_c_werror_flag" ||
33909 test ! -s conftest.err
33910 } && test -s conftest.$ac_objext; then
33911 ac_cv_type_ssize_t=yes
33913 echo "$as_me: failed program was:" >&5
33914 sed 's/^/| /' conftest.$ac_ext >&5
33916 ac_cv_type_ssize_t=no
33919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33921 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33922 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33923 if test $ac_cv_type_ssize_t = yes; then
33925 cat >>confdefs.h <<_ACEOF
33926 #define HAVE_SSIZE_T 1
33934 ac_cpp='$CXXCPP $CPPFLAGS'
33935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33938 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33939 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33940 if test "${wx_cv_size_t_is_uint+set}" = set; then
33941 echo $ECHO_N "(cached) $ECHO_C" >&6
33944 cat >conftest.$ac_ext <<_ACEOF
33947 cat confdefs.h >>conftest.$ac_ext
33948 cat >>conftest.$ac_ext <<_ACEOF
33949 /* end confdefs.h. */
33950 #include <stddef.h>
33957 struct Foo { void foo(size_t); void foo(unsigned int); };
33965 rm -f conftest.$ac_objext
33966 if { (ac_try="$ac_compile"
33967 case "(($ac_try" in
33968 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33969 *) ac_try_echo
=$ac_try;;
33971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33972 (eval "$ac_compile") 2>conftest.er1
33974 grep -v '^ *+' conftest.er1
>conftest.err
33976 cat conftest.err
>&5
33977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33978 (exit $ac_status); } && {
33979 test -z "$ac_cxx_werror_flag" ||
33980 test ! -s conftest.err
33981 } && test -s conftest.
$ac_objext; then
33982 wx_cv_size_t_is_uint
=no
33984 echo "$as_me: failed program was:" >&5
33985 sed 's/^/| /' conftest.
$ac_ext >&5
33987 wx_cv_size_t_is_uint
=yes
33991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33995 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33996 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33998 if test "$wx_cv_size_t_is_uint" = "yes"; then
33999 cat >>confdefs.h
<<\_ACEOF
34000 #define wxSIZE_T_IS_UINT 1
34004 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34005 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34006 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34007 echo $ECHO_N "(cached) $ECHO_C" >&6
34009 cat >conftest.
$ac_ext <<_ACEOF
34012 cat confdefs.h
>>conftest.
$ac_ext
34013 cat >>conftest.
$ac_ext <<_ACEOF
34014 /* end confdefs.h. */
34015 #include <stddef.h>
34022 struct Foo { void foo(size_t); void foo(unsigned long); };
34030 rm -f conftest.
$ac_objext
34031 if { (ac_try
="$ac_compile"
34032 case "(($ac_try" in
34033 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34034 *) ac_try_echo=$ac_try;;
34036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34037 (eval "$ac_compile") 2>conftest.er1
34039 grep -v '^ *+' conftest.er1 >conftest.err
34041 cat conftest.err >&5
34042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34043 (exit $ac_status); } && {
34044 test -z "$ac_cxx_werror_flag" ||
34045 test ! -s conftest.err
34046 } && test -s conftest.$ac_objext; then
34047 wx_cv_size_t_is_ulong=no
34049 echo "$as_me: failed program was:" >&5
34050 sed 's/^/| /' conftest.$ac_ext >&5
34052 wx_cv_size_t_is_ulong=yes
34056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34059 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34060 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34062 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34063 cat >>confdefs.h <<\_ACEOF
34064 #define wxSIZE_T_IS_ULONG 1
34070 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34071 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34072 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34073 echo $ECHO_N "(cached) $ECHO_C" >&6
34075 cat >conftest.$ac_ext <<_ACEOF
34078 cat confdefs.h >>conftest.$ac_ext
34079 cat >>conftest.$ac_ext <<_ACEOF
34080 /* end confdefs.h. */
34088 struct Foo { void foo(wchar_t);
34089 void foo(unsigned short);
34090 void foo(unsigned int);
34091 void foo(unsigned long); };
34099 rm -f conftest.$ac_objext
34100 if { (ac_try="$ac_compile"
34101 case "(($ac_try" in
34102 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34103 *) ac_try_echo
=$ac_try;;
34105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34106 (eval "$ac_compile") 2>conftest.er1
34108 grep -v '^ *+' conftest.er1
>conftest.err
34110 cat conftest.err
>&5
34111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34112 (exit $ac_status); } && {
34113 test -z "$ac_cxx_werror_flag" ||
34114 test ! -s conftest.err
34115 } && test -s conftest.
$ac_objext; then
34116 wx_cv_wchar_t_is_separate_type
=yes
34118 echo "$as_me: failed program was:" >&5
34119 sed 's/^/| /' conftest.
$ac_ext >&5
34121 wx_cv_wchar_t_is_separate_type
=no
34125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34128 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34129 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34131 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34132 cat >>confdefs.h
<<\_ACEOF
34133 #define wxWCHAR_T_IS_REAL_TYPE 1
34137 cat >>confdefs.h
<<\_ACEOF
34138 #define wxWCHAR_T_IS_REAL_TYPE 0
34144 ac_cpp
='$CPP $CPPFLAGS'
34145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34150 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34151 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34152 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34153 echo $ECHO_N "(cached) $ECHO_C" >&6
34156 cat >conftest.
$ac_ext <<_ACEOF
34159 cat confdefs.h
>>conftest.
$ac_ext
34160 cat >>conftest.
$ac_ext <<_ACEOF
34161 /* end confdefs.h. */
34175 rm -f conftest.
$ac_objext
34176 if { (ac_try
="$ac_compile"
34177 case "(($ac_try" in
34178 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34179 *) ac_try_echo=$ac_try;;
34181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34182 (eval "$ac_compile") 2>conftest.er1
34184 grep -v '^ *+' conftest.er1 >conftest.err
34186 cat conftest.err >&5
34187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34188 (exit $ac_status); } && {
34189 test -z "$ac_c_werror_flag" ||
34190 test ! -s conftest.err
34191 } && test -s conftest.$ac_objext; then
34193 wx_cv_struct_pw_gecos=yes
34196 echo "$as_me: failed program was:" >&5
34197 sed 's/^/| /' conftest.$ac_ext >&5
34200 wx_cv_struct_pw_gecos=no
34205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34209 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34210 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34212 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34213 cat >>confdefs.h <<\_ACEOF
34214 #define HAVE_PW_GECOS 1
34220 if test "$wxUSE_WCHAR_T" = "yes"; then
34221 cat >>confdefs.h <<\_ACEOF
34222 #define wxUSE_WCHAR_T 1
34229 for ac_func in wcslen
34231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34232 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34234 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34235 echo $ECHO_N "(cached) $ECHO_C" >&6
34237 cat >conftest.$ac_ext <<_ACEOF
34240 cat confdefs.h >>conftest.$ac_ext
34241 cat >>conftest.$ac_ext <<_ACEOF
34242 /* end confdefs.h. */
34243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34245 #define $ac_func innocuous_$ac_func
34247 /* System header to define __stub macros and hopefully few prototypes,
34248 which can conflict with char $ac_func (); below.
34249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34250 <limits.h> exists even on freestanding compilers. */
34253 # include <limits.h>
34255 # include <assert.h>
34260 /* Override any GCC internal prototype to avoid an error.
34261 Use char because int might match the return type of a GCC
34262 builtin and then its argument prototype would still apply. */
34267 /* The GNU C library defines this for functions which it implements
34268 to always fail with ENOSYS. Some functions are actually named
34269 something starting with __ and the normal name is an alias. */
34270 #if defined __stub_$ac_func || defined __stub___$ac_func
34277 return $ac_func ();
34282 rm -f conftest.$ac_objext conftest$ac_exeext
34283 if { (ac_try="$ac_link"
34284 case "(($ac_try" in
34285 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34286 *) ac_try_echo
=$ac_try;;
34288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34289 (eval "$ac_link") 2>conftest.er1
34291 grep -v '^ *+' conftest.er1
>conftest.err
34293 cat conftest.err
>&5
34294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34295 (exit $ac_status); } && {
34296 test -z "$ac_c_werror_flag" ||
34297 test ! -s conftest.err
34298 } && test -s conftest
$ac_exeext &&
34299 $as_test_x conftest
$ac_exeext; then
34300 eval "$as_ac_var=yes"
34302 echo "$as_me: failed program was:" >&5
34303 sed 's/^/| /' conftest.
$ac_ext >&5
34305 eval "$as_ac_var=no"
34308 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34309 conftest
$ac_exeext conftest.
$ac_ext
34311 ac_res
=`eval echo '${'$as_ac_var'}'`
34312 { echo "$as_me:$LINENO: result: $ac_res" >&5
34313 echo "${ECHO_T}$ac_res" >&6; }
34314 if test `eval echo '${'$as_ac_var'}'` = yes; then
34315 cat >>confdefs.h
<<_ACEOF
34316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34323 if test "$WCSLEN_FOUND" = 0; then
34324 if test "$TOOLKIT" = "MSW"; then
34325 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34326 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34327 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34328 echo $ECHO_N "(cached) $ECHO_C" >&6
34330 ac_check_lib_save_LIBS
=$LIBS
34331 LIBS
="-lmsvcrt $LIBS"
34332 cat >conftest.
$ac_ext <<_ACEOF
34335 cat confdefs.h
>>conftest.
$ac_ext
34336 cat >>conftest.
$ac_ext <<_ACEOF
34337 /* end confdefs.h. */
34339 /* Override any GCC internal prototype to avoid an error.
34340 Use char because int might match the return type of a GCC
34341 builtin and then its argument prototype would still apply. */
34354 rm -f conftest.
$ac_objext conftest
$ac_exeext
34355 if { (ac_try
="$ac_link"
34356 case "(($ac_try" in
34357 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34358 *) ac_try_echo=$ac_try;;
34360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34361 (eval "$ac_link") 2>conftest.er1
34363 grep -v '^ *+' conftest.er1 >conftest.err
34365 cat conftest.err >&5
34366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34367 (exit $ac_status); } && {
34368 test -z "$ac_c_werror_flag" ||
34369 test ! -s conftest.err
34370 } && test -s conftest$ac_exeext &&
34371 $as_test_x conftest$ac_exeext; then
34372 ac_cv_lib_msvcrt_wcslen=yes
34374 echo "$as_me: failed program was:" >&5
34375 sed 's/^/| /' conftest.$ac_ext >&5
34377 ac_cv_lib_msvcrt_wcslen=no
34380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34381 conftest$ac_exeext conftest.$ac_ext
34382 LIBS=$ac_check_lib_save_LIBS
34384 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34385 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34386 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34391 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34392 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34393 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34394 echo $ECHO_N "(cached) $ECHO_C" >&6
34396 ac_check_lib_save_LIBS=$LIBS
34398 cat >conftest.$ac_ext <<_ACEOF
34401 cat confdefs.h >>conftest.$ac_ext
34402 cat >>conftest.$ac_ext <<_ACEOF
34403 /* end confdefs.h. */
34405 /* Override any GCC internal prototype to avoid an error.
34406 Use char because int might match the return type of a GCC
34407 builtin and then its argument prototype would still apply. */
34420 rm -f conftest.$ac_objext conftest$ac_exeext
34421 if { (ac_try="$ac_link"
34422 case "(($ac_try" in
34423 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34424 *) ac_try_echo
=$ac_try;;
34426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34427 (eval "$ac_link") 2>conftest.er1
34429 grep -v '^ *+' conftest.er1
>conftest.err
34431 cat conftest.err
>&5
34432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34433 (exit $ac_status); } && {
34434 test -z "$ac_c_werror_flag" ||
34435 test ! -s conftest.err
34436 } && test -s conftest
$ac_exeext &&
34437 $as_test_x conftest
$ac_exeext; then
34438 ac_cv_lib_w_wcslen
=yes
34440 echo "$as_me: failed program was:" >&5
34441 sed 's/^/| /' conftest.
$ac_ext >&5
34443 ac_cv_lib_w_wcslen
=no
34446 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34447 conftest
$ac_exeext conftest.
$ac_ext
34448 LIBS
=$ac_check_lib_save_LIBS
34450 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34451 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34452 if test $ac_cv_lib_w_wcslen = yes; then
34462 if test "$WCSLEN_FOUND" = 1; then
34463 cat >>confdefs.h
<<\_ACEOF
34464 #define HAVE_WCSLEN 1
34470 for ac_func
in wcsdup
34472 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34473 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34475 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34476 echo $ECHO_N "(cached) $ECHO_C" >&6
34478 cat >conftest.
$ac_ext <<_ACEOF
34481 cat confdefs.h
>>conftest.
$ac_ext
34482 cat >>conftest.
$ac_ext <<_ACEOF
34483 /* end confdefs.h. */
34484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34486 #define $ac_func innocuous_$ac_func
34488 /* System header to define __stub macros and hopefully few prototypes,
34489 which can conflict with char $ac_func (); below.
34490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34491 <limits.h> exists even on freestanding compilers. */
34494 # include <limits.h>
34496 # include <assert.h>
34501 /* Override any GCC internal prototype to avoid an error.
34502 Use char because int might match the return type of a GCC
34503 builtin and then its argument prototype would still apply. */
34508 /* The GNU C library defines this for functions which it implements
34509 to always fail with ENOSYS. Some functions are actually named
34510 something starting with __ and the normal name is an alias. */
34511 #if defined __stub_$ac_func || defined __stub___$ac_func
34518 return $ac_func ();
34523 rm -f conftest.
$ac_objext conftest
$ac_exeext
34524 if { (ac_try
="$ac_link"
34525 case "(($ac_try" in
34526 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34527 *) ac_try_echo=$ac_try;;
34529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34530 (eval "$ac_link") 2>conftest.er1
34532 grep -v '^ *+' conftest.er1 >conftest.err
34534 cat conftest.err >&5
34535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34536 (exit $ac_status); } && {
34537 test -z "$ac_c_werror_flag" ||
34538 test ! -s conftest.err
34539 } && test -s conftest$ac_exeext &&
34540 $as_test_x conftest$ac_exeext; then
34541 eval "$as_ac_var=yes"
34543 echo "$as_me: failed program was:" >&5
34544 sed 's/^/| /' conftest.$ac_ext >&5
34546 eval "$as_ac_var=no"
34549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34550 conftest$ac_exeext conftest.$ac_ext
34552 ac_res=`eval echo '${'$as_ac_var'}'`
34553 { echo "$as_me:$LINENO: result: $ac_res" >&5
34554 echo "${ECHO_T}$ac_res" >&6; }
34555 if test `eval echo '${'$as_ac_var'}'` = yes; then
34556 cat >>confdefs.h <<_ACEOF
34557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34564 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34565 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34568 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34569 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34570 if test "${ac_cv_type_mbstate_t+set}" = set; then
34571 echo $ECHO_N "(cached) $ECHO_C" >&6
34573 cat >conftest.$ac_ext <<_ACEOF
34576 cat confdefs.h >>conftest.$ac_ext
34577 cat >>conftest.$ac_ext <<_ACEOF
34578 /* end confdefs.h. */
34581 typedef mbstate_t ac__type_new_;
34585 if ((ac__type_new_ *) 0)
34587 if (sizeof (ac__type_new_))
34593 rm -f conftest.$ac_objext
34594 if { (ac_try="$ac_compile"
34595 case "(($ac_try" in
34596 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34597 *) ac_try_echo
=$ac_try;;
34599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34600 (eval "$ac_compile") 2>conftest.er1
34602 grep -v '^ *+' conftest.er1
>conftest.err
34604 cat conftest.err
>&5
34605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34606 (exit $ac_status); } && {
34607 test -z "$ac_c_werror_flag" ||
34608 test ! -s conftest.err
34609 } && test -s conftest.
$ac_objext; then
34610 ac_cv_type_mbstate_t
=yes
34612 echo "$as_me: failed program was:" >&5
34613 sed 's/^/| /' conftest.
$ac_ext >&5
34615 ac_cv_type_mbstate_t
=no
34618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34620 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34621 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34622 if test $ac_cv_type_mbstate_t = yes; then
34624 cat >>confdefs.h
<<_ACEOF
34625 #define HAVE_MBSTATE_T 1
34629 for ac_func
in wcsrtombs
34631 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34632 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34634 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34635 echo $ECHO_N "(cached) $ECHO_C" >&6
34637 cat >conftest.
$ac_ext <<_ACEOF
34640 cat confdefs.h
>>conftest.
$ac_ext
34641 cat >>conftest.
$ac_ext <<_ACEOF
34642 /* end confdefs.h. */
34643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34645 #define $ac_func innocuous_$ac_func
34647 /* System header to define __stub macros and hopefully few prototypes,
34648 which can conflict with char $ac_func (); below.
34649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34650 <limits.h> exists even on freestanding compilers. */
34653 # include <limits.h>
34655 # include <assert.h>
34660 /* Override any GCC internal prototype to avoid an error.
34661 Use char because int might match the return type of a GCC
34662 builtin and then its argument prototype would still apply. */
34667 /* The GNU C library defines this for functions which it implements
34668 to always fail with ENOSYS. Some functions are actually named
34669 something starting with __ and the normal name is an alias. */
34670 #if defined __stub_$ac_func || defined __stub___$ac_func
34677 return $ac_func ();
34682 rm -f conftest.
$ac_objext conftest
$ac_exeext
34683 if { (ac_try
="$ac_link"
34684 case "(($ac_try" in
34685 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34686 *) ac_try_echo=$ac_try;;
34688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34689 (eval "$ac_link") 2>conftest.er1
34691 grep -v '^ *+' conftest.er1 >conftest.err
34693 cat conftest.err >&5
34694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34695 (exit $ac_status); } && {
34696 test -z "$ac_c_werror_flag" ||
34697 test ! -s conftest.err
34698 } && test -s conftest$ac_exeext &&
34699 $as_test_x conftest$ac_exeext; then
34700 eval "$as_ac_var=yes"
34702 echo "$as_me: failed program was:" >&5
34703 sed 's/^/| /' conftest.$ac_ext >&5
34705 eval "$as_ac_var=no"
34708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34709 conftest$ac_exeext conftest.$ac_ext
34711 ac_res=`eval echo '${'$as_ac_var'}'`
34712 { echo "$as_me:$LINENO: result: $ac_res" >&5
34713 echo "${ECHO_T}$ac_res" >&6; }
34714 if test `eval echo '${'$as_ac_var'}'` = yes; then
34715 cat >>confdefs.h <<_ACEOF
34716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34725 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34726 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34731 for ac_func in snprintf vsnprintf
34733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34734 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34736 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34737 echo $ECHO_N "(cached) $ECHO_C" >&6
34739 cat >conftest.$ac_ext <<_ACEOF
34742 cat confdefs.h >>conftest.$ac_ext
34743 cat >>conftest.$ac_ext <<_ACEOF
34744 /* end confdefs.h. */
34745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34747 #define $ac_func innocuous_$ac_func
34749 /* System header to define __stub macros and hopefully few prototypes,
34750 which can conflict with char $ac_func (); below.
34751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34752 <limits.h> exists even on freestanding compilers. */
34755 # include <limits.h>
34757 # include <assert.h>
34762 /* Override any GCC internal prototype to avoid an error.
34763 Use char because int might match the return type of a GCC
34764 builtin and then its argument prototype would still apply. */
34769 /* The GNU C library defines this for functions which it implements
34770 to always fail with ENOSYS. Some functions are actually named
34771 something starting with __ and the normal name is an alias. */
34772 #if defined __stub_$ac_func || defined __stub___$ac_func
34779 return $ac_func ();
34784 rm -f conftest.$ac_objext conftest$ac_exeext
34785 if { (ac_try="$ac_link"
34786 case "(($ac_try" in
34787 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34788 *) ac_try_echo
=$ac_try;;
34790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34791 (eval "$ac_link") 2>conftest.er1
34793 grep -v '^ *+' conftest.er1
>conftest.err
34795 cat conftest.err
>&5
34796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34797 (exit $ac_status); } && {
34798 test -z "$ac_c_werror_flag" ||
34799 test ! -s conftest.err
34800 } && test -s conftest
$ac_exeext &&
34801 $as_test_x conftest
$ac_exeext; then
34802 eval "$as_ac_var=yes"
34804 echo "$as_me: failed program was:" >&5
34805 sed 's/^/| /' conftest.
$ac_ext >&5
34807 eval "$as_ac_var=no"
34810 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34811 conftest
$ac_exeext conftest.
$ac_ext
34813 ac_res
=`eval echo '${'$as_ac_var'}'`
34814 { echo "$as_me:$LINENO: result: $ac_res" >&5
34815 echo "${ECHO_T}$ac_res" >&6; }
34816 if test `eval echo '${'$as_ac_var'}'` = yes; then
34817 cat >>confdefs.h
<<_ACEOF
34818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34825 if test "$ac_cv_func_vsnprintf" = "yes"; then
34826 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34827 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34828 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34829 echo $ECHO_N "(cached) $ECHO_C" >&6
34832 cat >conftest.
$ac_ext <<_ACEOF
34835 cat confdefs.h
>>conftest.
$ac_ext
34836 cat >>conftest.
$ac_ext <<_ACEOF
34837 /* end confdefs.h. */
34840 #include <stdarg.h>
34842 #if __MSL__ >= 0x6000
34844 using namespace std;
34854 vsnprintf(buf, 10u, "%s", ap);
34860 rm -f conftest.
$ac_objext
34861 if { (ac_try
="$ac_compile"
34862 case "(($ac_try" in
34863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34864 *) ac_try_echo=$ac_try;;
34866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34867 (eval "$ac_compile") 2>conftest.er1
34869 grep -v '^ *+' conftest.er1 >conftest.err
34871 cat conftest.err >&5
34872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34873 (exit $ac_status); } && {
34874 test -z "$ac_c_werror_flag" ||
34875 test ! -s conftest.err
34876 } && test -s conftest.$ac_objext; then
34877 wx_cv_func_vsnprintf_decl=yes
34879 echo "$as_me: failed program was:" >&5
34880 sed 's/^/| /' conftest.$ac_ext >&5
34882 wx_cv_func_vsnprintf_decl=no
34886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34890 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34891 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34893 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34894 cat >>confdefs.h <<\_ACEOF
34895 #define HAVE_VSNPRINTF_DECL 1
34899 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34900 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34901 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34902 echo $ECHO_N "(cached) $ECHO_C" >&6
34905 cat >conftest.$ac_ext <<_ACEOF
34908 cat confdefs.h >>conftest.$ac_ext
34909 cat >>conftest.$ac_ext <<_ACEOF
34910 /* end confdefs.h. */
34913 #include <stdarg.h>
34915 #if __MSL__ >= 0x6000
34917 using namespace std;
34927 const char *fmt = "%s";
34928 vsnprintf(buf, 10u, fmt, ap);
34934 rm -f conftest.$ac_objext
34935 if { (ac_try="$ac_compile"
34936 case "(($ac_try" in
34937 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34938 *) ac_try_echo
=$ac_try;;
34940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34941 (eval "$ac_compile") 2>conftest.er1
34943 grep -v '^ *+' conftest.er1
>conftest.err
34945 cat conftest.err
>&5
34946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34947 (exit $ac_status); } && {
34948 test -z "$ac_c_werror_flag" ||
34949 test ! -s conftest.err
34950 } && test -s conftest.
$ac_objext; then
34951 wx_cv_func_broken_vsnprintf_decl
=no
34953 echo "$as_me: failed program was:" >&5
34954 sed 's/^/| /' conftest.
$ac_ext >&5
34956 wx_cv_func_broken_vsnprintf_decl
=yes
34960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34964 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34965 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34967 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34968 cat >>confdefs.h
<<\_ACEOF
34969 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34976 if test "$ac_cv_func_snprintf" = "yes"; then
34977 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34978 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34979 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34980 echo $ECHO_N "(cached) $ECHO_C" >&6
34983 cat >conftest.
$ac_ext <<_ACEOF
34986 cat confdefs.h
>>conftest.
$ac_ext
34987 cat >>conftest.
$ac_ext <<_ACEOF
34988 /* end confdefs.h. */
34991 #include <stdarg.h>
34993 #if __MSL__ >= 0x6000
34995 using namespace std;
35004 snprintf(buf, 10u, "%s", "wx");
35010 rm -f conftest.
$ac_objext
35011 if { (ac_try
="$ac_compile"
35012 case "(($ac_try" in
35013 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35014 *) ac_try_echo=$ac_try;;
35016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35017 (eval "$ac_compile") 2>conftest.er1
35019 grep -v '^ *+' conftest.er1 >conftest.err
35021 cat conftest.err >&5
35022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35023 (exit $ac_status); } && {
35024 test -z "$ac_c_werror_flag" ||
35025 test ! -s conftest.err
35026 } && test -s conftest.$ac_objext; then
35027 wx_cv_func_snprintf_decl=yes
35029 echo "$as_me: failed program was:" >&5
35030 sed 's/^/| /' conftest.$ac_ext >&5
35032 wx_cv_func_snprintf_decl=no
35036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35040 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35041 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35043 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35044 cat >>confdefs.h <<\_ACEOF
35045 #define HAVE_SNPRINTF_DECL 1
35050 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35052 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35053 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35054 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35055 echo $ECHO_N "(cached) $ECHO_C" >&6
35058 if test "$cross_compiling" = yes; then
35060 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35061 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35062 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35063 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35064 wx_cv_func_snprintf_pos_params=no
35068 cat >conftest.$ac_ext <<_ACEOF
35071 cat confdefs.h >>conftest.$ac_ext
35072 cat >>conftest.$ac_ext <<_ACEOF
35073 /* end confdefs.h. */
35080 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35081 if (strcmp ("2 3 1", buffer) == 0)
35087 rm -f conftest$ac_exeext
35088 if { (ac_try="$ac_link"
35089 case "(($ac_try" in
35090 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35091 *) ac_try_echo
=$ac_try;;
35093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35094 (eval "$ac_link") 2>&5
35096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35097 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35098 { (case "(($ac_try" in
35099 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35100 *) ac_try_echo=$ac_try;;
35102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35103 (eval "$ac_try") 2>&5
35105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106 (exit $ac_status); }; }; then
35107 wx_cv_func_snprintf_pos_params=no
35109 echo "$as_me: program exited with status $ac_status" >&5
35110 echo "$as_me: failed program was:" >&5
35111 sed 's/^/| /' conftest.$ac_ext >&5
35113 ( exit $ac_status )
35114 wx_cv_func_snprintf_pos_params=yes
35116 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35123 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35124 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35126 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35127 cat >>confdefs.h <<\_ACEOF
35128 #define HAVE_UNIX98_PRINTF 1
35135 if test "$wxUSE_UNICODE" = yes; then
35137 wchar_headers="#include <stdio.h>
35138 #include <wchar.h>"
35142 for ac_header in widec.h
35144 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35145 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35147 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35148 echo $ECHO_N "(cached) $ECHO_C" >&6
35150 cat >conftest.$ac_ext <<_ACEOF
35153 cat confdefs.h >>conftest.$ac_ext
35154 cat >>conftest.$ac_ext <<_ACEOF
35155 /* end confdefs.h. */
35156 $ac_includes_default
35158 #include <$ac_header>
35160 rm -f conftest.$ac_objext
35161 if { (ac_try="$ac_compile"
35162 case "(($ac_try" in
35163 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35164 *) ac_try_echo
=$ac_try;;
35166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35167 (eval "$ac_compile") 2>conftest.er1
35169 grep -v '^ *+' conftest.er1
>conftest.err
35171 cat conftest.err
>&5
35172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35173 (exit $ac_status); } && {
35174 test -z "$ac_c_werror_flag" ||
35175 test ! -s conftest.err
35176 } && test -s conftest.
$ac_objext; then
35177 eval "$as_ac_Header=yes"
35179 echo "$as_me: failed program was:" >&5
35180 sed 's/^/| /' conftest.
$ac_ext >&5
35182 eval "$as_ac_Header=no"
35185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35187 ac_res
=`eval echo '${'$as_ac_Header'}'`
35188 { echo "$as_me:$LINENO: result: $ac_res" >&5
35189 echo "${ECHO_T}$ac_res" >&6; }
35190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35191 cat >>confdefs.h
<<_ACEOF
35192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35199 if test "$ac_cv_header_widec_h" = "yes"; then
35200 wchar_headers
="$wchar_headers
35201 #include <widec.h>"
35206 for wx_func
in putws fputws wprintf vswprintf
35208 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35209 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35210 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35211 echo $ECHO_N "(cached) $ECHO_C" >&6
35214 cat >conftest.
$ac_ext <<_ACEOF
35218 cat confdefs.h
>>conftest.
$ac_ext
35219 cat >>conftest.
$ac_ext <<_ACEOF
35220 /* end confdefs.h. */
35223 $ac_includes_default
35239 rm -f conftest.
$ac_objext conftest
$ac_exeext
35240 if { (ac_try
="$ac_link"
35241 case "(($ac_try" in
35242 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35243 *) ac_try_echo=$ac_try;;
35245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35246 (eval "$ac_link") 2>conftest.er1
35248 grep -v '^ *+' conftest.er1 >conftest.err
35250 cat conftest.err >&5
35251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35252 (exit $ac_status); } && {
35253 test -z "$ac_c_werror_flag" ||
35254 test ! -s conftest.err
35255 } && test -s conftest$ac_exeext &&
35256 $as_test_x conftest$ac_exeext; then
35257 eval wx_cv_func_$wx_func=yes
35259 echo "$as_me: failed program was:" >&5
35260 sed 's/^/| /' conftest.$ac_ext >&5
35262 eval wx_cv_func_$wx_func=no
35265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35266 conftest$ac_exeext conftest.$ac_ext
35269 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35270 { echo "$as_me:$LINENO: result: $ac_res" >&5
35271 echo "${ECHO_T}$ac_res" >&6; }
35273 if eval test \$wx_cv_func_$wx_func = yes
35275 cat >>confdefs.h <<_ACEOF
35276 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35287 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35288 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35289 cat >conftest.$ac_ext <<_ACEOF
35292 cat confdefs.h >>conftest.$ac_ext
35293 cat >>conftest.$ac_ext <<_ACEOF
35294 /* end confdefs.h. */
35304 rm -f conftest.$ac_objext
35305 if { (ac_try="$ac_compile"
35306 case "(($ac_try" in
35307 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35308 *) ac_try_echo
=$ac_try;;
35310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35311 (eval "$ac_compile") 2>conftest.er1
35313 grep -v '^ *+' conftest.er1
>conftest.err
35315 cat conftest.err
>&5
35316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35317 (exit $ac_status); } && {
35318 test -z "$ac_c_werror_flag" ||
35319 test ! -s conftest.err
35320 } && test -s conftest.
$ac_objext; then
35321 { echo "$as_me:$LINENO: result: yes" >&5
35322 echo "${ECHO_T}yes" >&6; }
35323 cat >>confdefs.h
<<\_ACEOF
35324 #define HAVE__VSNWPRINTF 1
35328 echo "$as_me: failed program was:" >&5
35329 sed 's/^/| /' conftest.
$ac_ext >&5
35331 { echo "$as_me:$LINENO: result: no" >&5
35332 echo "${ECHO_T}no" >&6; }
35335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
35338 if test "$wxUSE_FILE" = "yes"; then
35340 for wx_func
in fsync
35342 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35343 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35344 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35345 echo $ECHO_N "(cached) $ECHO_C" >&6
35348 cat >conftest.
$ac_ext <<_ACEOF
35352 cat confdefs.h
>>conftest.
$ac_ext
35353 cat >>conftest.
$ac_ext <<_ACEOF
35354 /* end confdefs.h. */
35357 $ac_includes_default
35373 rm -f conftest.
$ac_objext conftest
$ac_exeext
35374 if { (ac_try
="$ac_link"
35375 case "(($ac_try" in
35376 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35377 *) ac_try_echo=$ac_try;;
35379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35380 (eval "$ac_link") 2>conftest.er1
35382 grep -v '^ *+' conftest.er1 >conftest.err
35384 cat conftest.err >&5
35385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35386 (exit $ac_status); } && {
35387 test -z "$ac_c_werror_flag" ||
35388 test ! -s conftest.err
35389 } && test -s conftest$ac_exeext &&
35390 $as_test_x conftest$ac_exeext; then
35391 eval wx_cv_func_$wx_func=yes
35393 echo "$as_me: failed program was:" >&5
35394 sed 's/^/| /' conftest.$ac_ext >&5
35396 eval wx_cv_func_$wx_func=no
35399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35400 conftest$ac_exeext conftest.$ac_ext
35403 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35404 { echo "$as_me:$LINENO: result: $ac_res" >&5
35405 echo "${ECHO_T}$ac_res" >&6; }
35407 if eval test \$wx_cv_func_$wx_func = yes
35409 cat >>confdefs.h <<_ACEOF
35410 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35423 ac_cpp='$CXXCPP $CPPFLAGS'
35424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35429 for wx_func in round
35431 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35432 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35433 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35434 echo $ECHO_N "(cached) $ECHO_C" >&6
35437 cat >conftest.$ac_ext <<_ACEOF
35441 cat confdefs.h >>conftest.$ac_ext
35442 cat >>conftest.$ac_ext <<_ACEOF
35443 /* end confdefs.h. */
35446 $ac_includes_default
35462 rm -f conftest.$ac_objext conftest$ac_exeext
35463 if { (ac_try="$ac_link"
35464 case "(($ac_try" in
35465 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35466 *) ac_try_echo
=$ac_try;;
35468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35469 (eval "$ac_link") 2>conftest.er1
35471 grep -v '^ *+' conftest.er1
>conftest.err
35473 cat conftest.err
>&5
35474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35475 (exit $ac_status); } && {
35476 test -z "$ac_cxx_werror_flag" ||
35477 test ! -s conftest.err
35478 } && test -s conftest
$ac_exeext &&
35479 $as_test_x conftest
$ac_exeext; then
35480 eval wx_cv_func_
$wx_func=yes
35482 echo "$as_me: failed program was:" >&5
35483 sed 's/^/| /' conftest.
$ac_ext >&5
35485 eval wx_cv_func_
$wx_func=no
35488 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35489 conftest
$ac_exeext conftest.
$ac_ext
35492 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35493 { echo "$as_me:$LINENO: result: $ac_res" >&5
35494 echo "${ECHO_T}$ac_res" >&6; }
35496 if eval test \
$wx_cv_func_$wx_func = yes
35498 cat >>confdefs.h
<<_ACEOF
35499 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35510 ac_cpp
='$CPP $CPPFLAGS'
35511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35516 if test "$TOOLKIT" != "MSW"; then
35522 # Check whether --with-libiconv-prefix was given.
35523 if test "${with_libiconv_prefix+set}" = set; then
35524 withval
=$with_libiconv_prefix;
35525 for dir
in `echo "$withval" | tr : ' '`; do
35526 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35527 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35533 { echo "$as_me:$LINENO: checking for iconv" >&5
35534 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35535 if test "${am_cv_func_iconv+set}" = set; then
35536 echo $ECHO_N "(cached) $ECHO_C" >&6
35539 am_cv_func_iconv
="no, consider installing GNU libiconv"
35541 cat >conftest.
$ac_ext <<_ACEOF
35544 cat confdefs.h
>>conftest.
$ac_ext
35545 cat >>conftest.
$ac_ext <<_ACEOF
35546 /* end confdefs.h. */
35547 #include <stdlib.h>
35552 iconv_t cd = iconv_open("","");
35553 iconv(cd,NULL,NULL,NULL,NULL);
35559 rm -f conftest.
$ac_objext conftest
$ac_exeext
35560 if { (ac_try
="$ac_link"
35561 case "(($ac_try" in
35562 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35563 *) ac_try_echo=$ac_try;;
35565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35566 (eval "$ac_link") 2>conftest.er1
35568 grep -v '^ *+' conftest.er1 >conftest.err
35570 cat conftest.err >&5
35571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 (exit $ac_status); } && {
35573 test -z "$ac_c_werror_flag" ||
35574 test ! -s conftest.err
35575 } && test -s conftest$ac_exeext &&
35576 $as_test_x conftest$ac_exeext; then
35577 am_cv_func_iconv=yes
35579 echo "$as_me: failed program was:" >&5
35580 sed 's/^/| /' conftest.$ac_ext >&5
35585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35586 conftest$ac_exeext conftest.$ac_ext
35587 if test "$am_cv_func_iconv" != yes; then
35588 am_save_LIBS="$LIBS"
35589 LIBS="$LIBS -liconv"
35590 cat >conftest.$ac_ext <<_ACEOF
35593 cat confdefs.h >>conftest.$ac_ext
35594 cat >>conftest.$ac_ext <<_ACEOF
35595 /* end confdefs.h. */
35596 #include <stdlib.h>
35601 iconv_t cd = iconv_open("","");
35602 iconv(cd,NULL,NULL,NULL,NULL);
35608 rm -f conftest.$ac_objext conftest$ac_exeext
35609 if { (ac_try="$ac_link"
35610 case "(($ac_try" in
35611 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35612 *) ac_try_echo
=$ac_try;;
35614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35615 (eval "$ac_link") 2>conftest.er1
35617 grep -v '^ *+' conftest.er1
>conftest.err
35619 cat conftest.err
>&5
35620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35621 (exit $ac_status); } && {
35622 test -z "$ac_c_werror_flag" ||
35623 test ! -s conftest.err
35624 } && test -s conftest
$ac_exeext &&
35625 $as_test_x conftest
$ac_exeext; then
35626 am_cv_lib_iconv
=yes
35627 am_cv_func_iconv
=yes
35629 echo "$as_me: failed program was:" >&5
35630 sed 's/^/| /' conftest.
$ac_ext >&5
35635 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35636 conftest
$ac_exeext conftest.
$ac_ext
35637 LIBS
="$am_save_LIBS"
35641 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35642 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35643 if test "$am_cv_func_iconv" = yes; then
35645 cat >>confdefs.h
<<\_ACEOF
35646 #define HAVE_ICONV 1
35649 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35650 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35651 if test "${wx_cv_func_iconv_const+set}" = set; then
35652 echo $ECHO_N "(cached) $ECHO_C" >&6
35654 cat >conftest.
$ac_ext <<_ACEOF
35657 cat confdefs.h
>>conftest.
$ac_ext
35658 cat >>conftest.
$ac_ext <<_ACEOF
35659 /* end confdefs.h. */
35661 #include <stdlib.h>
35667 #if defined(__STDC__) || defined(__cplusplus)
35668 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35681 rm -f conftest.
$ac_objext
35682 if { (ac_try
="$ac_compile"
35683 case "(($ac_try" in
35684 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35685 *) ac_try_echo=$ac_try;;
35687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35688 (eval "$ac_compile") 2>conftest.er1
35690 grep -v '^ *+' conftest.er1 >conftest.err
35692 cat conftest.err >&5
35693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35694 (exit $ac_status); } && {
35695 test -z "$ac_c_werror_flag" ||
35696 test ! -s conftest.err
35697 } && test -s conftest.$ac_objext; then
35698 wx_cv_func_iconv_const="no"
35700 echo "$as_me: failed program was:" >&5
35701 sed 's/^/| /' conftest.$ac_ext >&5
35703 wx_cv_func_iconv_const="yes"
35707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35710 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35711 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35714 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35715 iconv_const="const"
35719 cat >>confdefs.h <<_ACEOF
35720 #define ICONV_CONST $iconv_const
35725 if test "$am_cv_lib_iconv" = yes; then
35730 LIBS="$LIBICONV $LIBS"
35732 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35734 for ac_func in sigaction
35736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35737 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35739 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35740 echo $ECHO_N "(cached) $ECHO_C" >&6
35742 cat >conftest.$ac_ext <<_ACEOF
35745 cat confdefs.h >>conftest.$ac_ext
35746 cat >>conftest.$ac_ext <<_ACEOF
35747 /* end confdefs.h. */
35748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35750 #define $ac_func innocuous_$ac_func
35752 /* System header to define __stub macros and hopefully few prototypes,
35753 which can conflict with char $ac_func (); below.
35754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35755 <limits.h> exists even on freestanding compilers. */
35758 # include <limits.h>
35760 # include <assert.h>
35765 /* Override any GCC internal prototype to avoid an error.
35766 Use char because int might match the return type of a GCC
35767 builtin and then its argument prototype would still apply. */
35772 /* The GNU C library defines this for functions which it implements
35773 to always fail with ENOSYS. Some functions are actually named
35774 something starting with __ and the normal name is an alias. */
35775 #if defined __stub_$ac_func || defined __stub___$ac_func
35782 return $ac_func ();
35787 rm -f conftest.$ac_objext conftest$ac_exeext
35788 if { (ac_try="$ac_link"
35789 case "(($ac_try" in
35790 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35791 *) ac_try_echo
=$ac_try;;
35793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35794 (eval "$ac_link") 2>conftest.er1
35796 grep -v '^ *+' conftest.er1
>conftest.err
35798 cat conftest.err
>&5
35799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35800 (exit $ac_status); } && {
35801 test -z "$ac_c_werror_flag" ||
35802 test ! -s conftest.err
35803 } && test -s conftest
$ac_exeext &&
35804 $as_test_x conftest
$ac_exeext; then
35805 eval "$as_ac_var=yes"
35807 echo "$as_me: failed program was:" >&5
35808 sed 's/^/| /' conftest.
$ac_ext >&5
35810 eval "$as_ac_var=no"
35813 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35814 conftest
$ac_exeext conftest.
$ac_ext
35816 ac_res
=`eval echo '${'$as_ac_var'}'`
35817 { echo "$as_me:$LINENO: result: $ac_res" >&5
35818 echo "${ECHO_T}$ac_res" >&6; }
35819 if test `eval echo '${'$as_ac_var'}'` = yes; then
35820 cat >>confdefs.h
<<_ACEOF
35821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35828 if test "$ac_cv_func_sigaction" = "no"; then
35829 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35830 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35831 wxUSE_ON_FATAL_EXCEPTION
=no
35834 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35835 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35836 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35837 if test "${wx_cv_type_sa_handler+set}" = set; then
35838 echo $ECHO_N "(cached) $ECHO_C" >&6
35842 ac_cpp
='$CXXCPP $CPPFLAGS'
35843 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35844 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35845 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35847 cat >conftest.
$ac_ext <<_ACEOF
35850 cat confdefs.h
>>conftest.
$ac_ext
35851 cat >>conftest.
$ac_ext <<_ACEOF
35852 /* end confdefs.h. */
35853 #include <signal.h>
35858 extern void testSigHandler(int);
35860 struct sigaction sa;
35861 sa.sa_handler = testSigHandler;
35867 rm -f conftest.
$ac_objext
35868 if { (ac_try
="$ac_compile"
35869 case "(($ac_try" in
35870 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35871 *) ac_try_echo=$ac_try;;
35873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35874 (eval "$ac_compile") 2>conftest.er1
35876 grep -v '^ *+' conftest.er1 >conftest.err
35878 cat conftest.err >&5
35879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35880 (exit $ac_status); } && {
35881 test -z "$ac_cxx_werror_flag" ||
35882 test ! -s conftest.err
35883 } && test -s conftest.$ac_objext; then
35885 wx_cv_type_sa_handler=int
35888 echo "$as_me: failed program was:" >&5
35889 sed 's/^/| /' conftest.$ac_ext >&5
35892 wx_cv_type_sa_handler=void
35896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35898 ac_cpp='$CPP $CPPFLAGS'
35899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35905 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35906 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35908 cat >>confdefs.h <<_ACEOF
35909 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35915 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35916 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35917 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35918 if test "${wx_cv_func_backtrace+set}" = set; then
35919 echo $ECHO_N "(cached) $ECHO_C" >&6
35923 ac_cpp='$CXXCPP $CPPFLAGS'
35924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35928 cat >conftest.$ac_ext <<_ACEOF
35931 cat confdefs.h >>conftest.$ac_ext
35932 cat >>conftest.$ac_ext <<_ACEOF
35933 /* end confdefs.h. */
35934 #include <execinfo.h>
35942 backtrace(trace, 1);
35943 messages = backtrace_symbols(trace, 1);
35949 rm -f conftest.$ac_objext
35950 if { (ac_try="$ac_compile"
35951 case "(($ac_try" in
35952 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35953 *) ac_try_echo
=$ac_try;;
35955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35956 (eval "$ac_compile") 2>conftest.er1
35958 grep -v '^ *+' conftest.er1
>conftest.err
35960 cat conftest.err
>&5
35961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35962 (exit $ac_status); } && {
35963 test -z "$ac_cxx_werror_flag" ||
35964 test ! -s conftest.err
35965 } && test -s conftest.
$ac_objext; then
35966 wx_cv_func_backtrace
=yes
35968 echo "$as_me: failed program was:" >&5
35969 sed 's/^/| /' conftest.
$ac_ext >&5
35971 wx_cv_func_backtrace
=no
35975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35977 ac_cpp
='$CPP $CPPFLAGS'
35978 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35979 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35980 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35985 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35986 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35989 if test "$wx_cv_func_backtrace" = "no"; then
35990 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35991 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35992 wxUSE_STACKWALKER
=no
35994 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35995 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35996 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35997 echo $ECHO_N "(cached) $ECHO_C" >&6
36001 ac_cpp
='$CXXCPP $CPPFLAGS'
36002 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36003 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36004 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36006 cat >conftest.
$ac_ext <<_ACEOF
36009 cat confdefs.h
>>conftest.
$ac_ext
36010 cat >>conftest.
$ac_ext <<_ACEOF
36011 /* end confdefs.h. */
36012 #include <cxxabi.h>
36018 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36024 rm -f conftest.
$ac_objext conftest
$ac_exeext
36025 if { (ac_try
="$ac_link"
36026 case "(($ac_try" in
36027 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36028 *) ac_try_echo=$ac_try;;
36030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36031 (eval "$ac_link") 2>conftest.er1
36033 grep -v '^ *+' conftest.er1 >conftest.err
36035 cat conftest.err >&5
36036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36037 (exit $ac_status); } && {
36038 test -z "$ac_cxx_werror_flag" ||
36039 test ! -s conftest.err
36040 } && test -s conftest$ac_exeext &&
36041 $as_test_x conftest$ac_exeext; then
36042 wx_cv_func_cxa_demangle=yes
36044 echo "$as_me: failed program was:" >&5
36045 sed 's/^/| /' conftest.$ac_ext >&5
36047 wx_cv_func_cxa_demangle=no
36051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36052 conftest$ac_exeext conftest.$ac_ext
36054 ac_cpp='$CPP $CPPFLAGS'
36055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36062 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36063 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36065 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36066 cat >>confdefs.h <<\_ACEOF
36067 #define HAVE_CXA_DEMANGLE 1
36074 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36075 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36076 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36077 wxUSE_STACKWALKER=no
36083 for ac_func in mkstemp mktemp
36085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36086 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36088 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36089 echo $ECHO_N "(cached) $ECHO_C" >&6
36091 cat >conftest.$ac_ext <<_ACEOF
36094 cat confdefs.h >>conftest.$ac_ext
36095 cat >>conftest.$ac_ext <<_ACEOF
36096 /* end confdefs.h. */
36097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36099 #define $ac_func innocuous_$ac_func
36101 /* System header to define __stub macros and hopefully few prototypes,
36102 which can conflict with char $ac_func (); below.
36103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36104 <limits.h> exists even on freestanding compilers. */
36107 # include <limits.h>
36109 # include <assert.h>
36114 /* Override any GCC internal prototype to avoid an error.
36115 Use char because int might match the return type of a GCC
36116 builtin and then its argument prototype would still apply. */
36121 /* The GNU C library defines this for functions which it implements
36122 to always fail with ENOSYS. Some functions are actually named
36123 something starting with __ and the normal name is an alias. */
36124 #if defined __stub_$ac_func || defined __stub___$ac_func
36131 return $ac_func ();
36136 rm -f conftest.$ac_objext conftest$ac_exeext
36137 if { (ac_try="$ac_link"
36138 case "(($ac_try" in
36139 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36140 *) ac_try_echo
=$ac_try;;
36142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36143 (eval "$ac_link") 2>conftest.er1
36145 grep -v '^ *+' conftest.er1
>conftest.err
36147 cat conftest.err
>&5
36148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36149 (exit $ac_status); } && {
36150 test -z "$ac_c_werror_flag" ||
36151 test ! -s conftest.err
36152 } && test -s conftest
$ac_exeext &&
36153 $as_test_x conftest
$ac_exeext; then
36154 eval "$as_ac_var=yes"
36156 echo "$as_me: failed program was:" >&5
36157 sed 's/^/| /' conftest.
$ac_ext >&5
36159 eval "$as_ac_var=no"
36162 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36163 conftest
$ac_exeext conftest.
$ac_ext
36165 ac_res
=`eval echo '${'$as_ac_var'}'`
36166 { echo "$as_me:$LINENO: result: $ac_res" >&5
36167 echo "${ECHO_T}$ac_res" >&6; }
36168 if test `eval echo '${'$as_ac_var'}'` = yes; then
36169 cat >>confdefs.h
<<_ACEOF
36170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36177 { echo "$as_me:$LINENO: checking for statfs" >&5
36178 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36179 if test "${wx_cv_func_statfs+set}" = set; then
36180 echo $ECHO_N "(cached) $ECHO_C" >&6
36182 cat >conftest.
$ac_ext <<_ACEOF
36185 cat confdefs.h
>>conftest.
$ac_ext
36186 cat >>conftest.
$ac_ext <<_ACEOF
36187 /* end confdefs.h. */
36189 #if defined(__BSD__)
36190 #include <sys/param.h>
36191 #include <sys/mount.h>
36193 #include <sys/vfs.h>
36211 rm -f conftest.
$ac_objext
36212 if { (ac_try
="$ac_compile"
36213 case "(($ac_try" in
36214 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36215 *) ac_try_echo=$ac_try;;
36217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36218 (eval "$ac_compile") 2>conftest.er1
36220 grep -v '^ *+' conftest.er1 >conftest.err
36222 cat conftest.err >&5
36223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36224 (exit $ac_status); } && {
36225 test -z "$ac_c_werror_flag" ||
36226 test ! -s conftest.err
36227 } && test -s conftest.$ac_objext; then
36228 wx_cv_func_statfs=yes
36230 echo "$as_me: failed program was:" >&5
36231 sed 's/^/| /' conftest.$ac_ext >&5
36233 wx_cv_func_statfs=no
36237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36240 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36241 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36243 if test "$wx_cv_func_statfs" = "yes"; then
36244 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36245 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36246 if test "${wx_cv_func_statfs_decl+set}" = set; then
36247 echo $ECHO_N "(cached) $ECHO_C" >&6
36250 ac_cpp='$CXXCPP $CPPFLAGS'
36251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36255 cat >conftest.$ac_ext <<_ACEOF
36258 cat confdefs.h >>conftest.$ac_ext
36259 cat >>conftest.$ac_ext <<_ACEOF
36260 /* end confdefs.h. */
36262 #if defined(__BSD__)
36263 #include <sys/param.h>
36264 #include <sys/mount.h>
36266 #include <sys/vfs.h>
36280 rm -f conftest.$ac_objext
36281 if { (ac_try="$ac_compile"
36282 case "(($ac_try" in
36283 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36284 *) ac_try_echo
=$ac_try;;
36286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36287 (eval "$ac_compile") 2>conftest.er1
36289 grep -v '^ *+' conftest.er1
>conftest.err
36291 cat conftest.err
>&5
36292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36293 (exit $ac_status); } && {
36294 test -z "$ac_cxx_werror_flag" ||
36295 test ! -s conftest.err
36296 } && test -s conftest.
$ac_objext; then
36297 wx_cv_func_statfs_decl
=yes
36299 echo "$as_me: failed program was:" >&5
36300 sed 's/^/| /' conftest.
$ac_ext >&5
36302 wx_cv_func_statfs_decl
=no
36306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36308 ac_cpp
='$CPP $CPPFLAGS'
36309 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36310 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36311 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36315 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36316 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36318 if test "$wx_cv_func_statfs_decl" = "yes"; then
36319 cat >>confdefs.h
<<\_ACEOF
36320 #define HAVE_STATFS_DECL 1
36325 wx_cv_type_statvfs_t
="struct statfs"
36326 cat >>confdefs.h
<<\_ACEOF
36327 #define HAVE_STATFS 1
36331 { echo "$as_me:$LINENO: checking for statvfs" >&5
36332 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36333 if test "${wx_cv_func_statvfs+set}" = set; then
36334 echo $ECHO_N "(cached) $ECHO_C" >&6
36336 cat >conftest.
$ac_ext <<_ACEOF
36339 cat confdefs.h
>>conftest.
$ac_ext
36340 cat >>conftest.
$ac_ext <<_ACEOF
36341 /* end confdefs.h. */
36343 #include <stddef.h>
36344 #include <sys/statvfs.h>
36350 statvfs("/", NULL);
36356 rm -f conftest.
$ac_objext
36357 if { (ac_try
="$ac_compile"
36358 case "(($ac_try" in
36359 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36360 *) ac_try_echo=$ac_try;;
36362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36363 (eval "$ac_compile") 2>conftest.er1
36365 grep -v '^ *+' conftest.er1 >conftest.err
36367 cat conftest.err >&5
36368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36369 (exit $ac_status); } && {
36370 test -z "$ac_c_werror_flag" ||
36371 test ! -s conftest.err
36372 } && test -s conftest.$ac_objext; then
36373 wx_cv_func_statvfs=yes
36375 echo "$as_me: failed program was:" >&5
36376 sed 's/^/| /' conftest.$ac_ext >&5
36378 wx_cv_func_statvfs=no
36382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36385 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36386 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36388 if test "$wx_cv_func_statvfs" = "yes"; then
36389 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36390 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36391 if test "${wx_cv_type_statvfs_t+set}" = set; then
36392 echo $ECHO_N "(cached) $ECHO_C" >&6
36395 ac_cpp='$CXXCPP $CPPFLAGS'
36396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36400 cat >conftest.$ac_ext <<_ACEOF
36403 cat confdefs.h >>conftest.$ac_ext
36404 cat >>conftest.$ac_ext <<_ACEOF
36405 /* end confdefs.h. */
36407 #include <sys/statvfs.h>
36424 rm -f conftest.$ac_objext
36425 if { (ac_try="$ac_compile"
36426 case "(($ac_try" in
36427 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36428 *) ac_try_echo
=$ac_try;;
36430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36431 (eval "$ac_compile") 2>conftest.er1
36433 grep -v '^ *+' conftest.er1
>conftest.err
36435 cat conftest.err
>&5
36436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36437 (exit $ac_status); } && {
36438 test -z "$ac_cxx_werror_flag" ||
36439 test ! -s conftest.err
36440 } && test -s conftest.
$ac_objext; then
36441 wx_cv_type_statvfs_t
=statvfs_t
36443 echo "$as_me: failed program was:" >&5
36444 sed 's/^/| /' conftest.
$ac_ext >&5
36447 cat >conftest.
$ac_ext <<_ACEOF
36450 cat confdefs.h
>>conftest.
$ac_ext
36451 cat >>conftest.
$ac_ext <<_ACEOF
36452 /* end confdefs.h. */
36454 #include <sys/statvfs.h>
36471 rm -f conftest.
$ac_objext
36472 if { (ac_try
="$ac_compile"
36473 case "(($ac_try" in
36474 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36475 *) ac_try_echo=$ac_try;;
36477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36478 (eval "$ac_compile") 2>conftest.er1
36480 grep -v '^ *+' conftest.er1 >conftest.err
36482 cat conftest.err >&5
36483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36484 (exit $ac_status); } && {
36485 test -z "$ac_cxx_werror_flag" ||
36486 test ! -s conftest.err
36487 } && test -s conftest.$ac_objext; then
36488 wx_cv_type_statvfs_t="struct statvfs"
36490 echo "$as_me: failed program was:" >&5
36491 sed 's/^/| /' conftest.$ac_ext >&5
36493 wx_cv_type_statvfs_t="unknown"
36497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36504 ac_cpp='$CPP $CPPFLAGS'
36505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36511 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36512 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36514 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36515 cat >>confdefs.h <<\_ACEOF
36516 #define HAVE_STATVFS 1
36521 wx_cv_type_statvfs_t="unknown"
36525 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36526 cat >>confdefs.h <<_ACEOF
36527 #define WX_STATFS_T $wx_cv_type_statvfs_t
36531 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36532 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36535 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36538 for ac_func in fcntl flock
36540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36541 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36543 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36544 echo $ECHO_N "(cached) $ECHO_C" >&6
36546 cat >conftest.$ac_ext <<_ACEOF
36549 cat confdefs.h >>conftest.$ac_ext
36550 cat >>conftest.$ac_ext <<_ACEOF
36551 /* end confdefs.h. */
36552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36554 #define $ac_func innocuous_$ac_func
36556 /* System header to define __stub macros and hopefully few prototypes,
36557 which can conflict with char $ac_func (); below.
36558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36559 <limits.h> exists even on freestanding compilers. */
36562 # include <limits.h>
36564 # include <assert.h>
36569 /* Override any GCC internal prototype to avoid an error.
36570 Use char because int might match the return type of a GCC
36571 builtin and then its argument prototype would still apply. */
36576 /* The GNU C library defines this for functions which it implements
36577 to always fail with ENOSYS. Some functions are actually named
36578 something starting with __ and the normal name is an alias. */
36579 #if defined __stub_$ac_func || defined __stub___$ac_func
36586 return $ac_func ();
36591 rm -f conftest.$ac_objext conftest$ac_exeext
36592 if { (ac_try="$ac_link"
36593 case "(($ac_try" in
36594 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36595 *) ac_try_echo
=$ac_try;;
36597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36598 (eval "$ac_link") 2>conftest.er1
36600 grep -v '^ *+' conftest.er1
>conftest.err
36602 cat conftest.err
>&5
36603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36604 (exit $ac_status); } && {
36605 test -z "$ac_c_werror_flag" ||
36606 test ! -s conftest.err
36607 } && test -s conftest
$ac_exeext &&
36608 $as_test_x conftest
$ac_exeext; then
36609 eval "$as_ac_var=yes"
36611 echo "$as_me: failed program was:" >&5
36612 sed 's/^/| /' conftest.
$ac_ext >&5
36614 eval "$as_ac_var=no"
36617 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36618 conftest
$ac_exeext conftest.
$ac_ext
36620 ac_res
=`eval echo '${'$as_ac_var'}'`
36621 { echo "$as_me:$LINENO: result: $ac_res" >&5
36622 echo "${ECHO_T}$ac_res" >&6; }
36623 if test `eval echo '${'$as_ac_var'}'` = yes; then
36624 cat >>confdefs.h
<<_ACEOF
36625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36632 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36633 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36634 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36635 wxUSE_SNGLINST_CHECKER
=no
36641 for ac_func
in setenv putenv
36643 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36644 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36646 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36647 echo $ECHO_N "(cached) $ECHO_C" >&6
36649 cat >conftest.
$ac_ext <<_ACEOF
36652 cat confdefs.h
>>conftest.
$ac_ext
36653 cat >>conftest.
$ac_ext <<_ACEOF
36654 /* end confdefs.h. */
36655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36657 #define $ac_func innocuous_$ac_func
36659 /* System header to define __stub macros and hopefully few prototypes,
36660 which can conflict with char $ac_func (); below.
36661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36662 <limits.h> exists even on freestanding compilers. */
36665 # include <limits.h>
36667 # include <assert.h>
36672 /* Override any GCC internal prototype to avoid an error.
36673 Use char because int might match the return type of a GCC
36674 builtin and then its argument prototype would still apply. */
36679 /* The GNU C library defines this for functions which it implements
36680 to always fail with ENOSYS. Some functions are actually named
36681 something starting with __ and the normal name is an alias. */
36682 #if defined __stub_$ac_func || defined __stub___$ac_func
36689 return $ac_func ();
36694 rm -f conftest.
$ac_objext conftest
$ac_exeext
36695 if { (ac_try
="$ac_link"
36696 case "(($ac_try" in
36697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36698 *) ac_try_echo=$ac_try;;
36700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36701 (eval "$ac_link") 2>conftest.er1
36703 grep -v '^ *+' conftest.er1 >conftest.err
36705 cat conftest.err >&5
36706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36707 (exit $ac_status); } && {
36708 test -z "$ac_c_werror_flag" ||
36709 test ! -s conftest.err
36710 } && test -s conftest$ac_exeext &&
36711 $as_test_x conftest$ac_exeext; then
36712 eval "$as_ac_var=yes"
36714 echo "$as_me: failed program was:" >&5
36715 sed 's/^/| /' conftest.$ac_ext >&5
36717 eval "$as_ac_var=no"
36720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36721 conftest$ac_exeext conftest.$ac_ext
36723 ac_res=`eval echo '${'$as_ac_var'}'`
36724 { echo "$as_me:$LINENO: result: $ac_res" >&5
36725 echo "${ECHO_T}$ac_res" >&6; }
36726 if test `eval echo '${'$as_ac_var'}'` = yes; then
36727 cat >>confdefs.h <<_ACEOF
36728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36734 if test "$ac_cv_func_setenv" = "yes"; then
36736 for ac_func in unsetenv
36738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36739 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36741 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36742 echo $ECHO_N "(cached) $ECHO_C" >&6
36744 cat >conftest.$ac_ext <<_ACEOF
36747 cat confdefs.h >>conftest.$ac_ext
36748 cat >>conftest.$ac_ext <<_ACEOF
36749 /* end confdefs.h. */
36750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36752 #define $ac_func innocuous_$ac_func
36754 /* System header to define __stub macros and hopefully few prototypes,
36755 which can conflict with char $ac_func (); below.
36756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36757 <limits.h> exists even on freestanding compilers. */
36760 # include <limits.h>
36762 # include <assert.h>
36767 /* Override any GCC internal prototype to avoid an error.
36768 Use char because int might match the return type of a GCC
36769 builtin and then its argument prototype would still apply. */
36774 /* The GNU C library defines this for functions which it implements
36775 to always fail with ENOSYS. Some functions are actually named
36776 something starting with __ and the normal name is an alias. */
36777 #if defined __stub_$ac_func || defined __stub___$ac_func
36784 return $ac_func ();
36789 rm -f conftest.$ac_objext conftest$ac_exeext
36790 if { (ac_try="$ac_link"
36791 case "(($ac_try" in
36792 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36793 *) ac_try_echo
=$ac_try;;
36795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36796 (eval "$ac_link") 2>conftest.er1
36798 grep -v '^ *+' conftest.er1
>conftest.err
36800 cat conftest.err
>&5
36801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36802 (exit $ac_status); } && {
36803 test -z "$ac_c_werror_flag" ||
36804 test ! -s conftest.err
36805 } && test -s conftest
$ac_exeext &&
36806 $as_test_x conftest
$ac_exeext; then
36807 eval "$as_ac_var=yes"
36809 echo "$as_me: failed program was:" >&5
36810 sed 's/^/| /' conftest.
$ac_ext >&5
36812 eval "$as_ac_var=no"
36815 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36816 conftest
$ac_exeext conftest.
$ac_ext
36818 ac_res
=`eval echo '${'$as_ac_var'}'`
36819 { echo "$as_me:$LINENO: result: $ac_res" >&5
36820 echo "${ECHO_T}$ac_res" >&6; }
36821 if test `eval echo '${'$as_ac_var'}'` = yes; then
36822 cat >>confdefs.h
<<_ACEOF
36823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36831 HAVE_SOME_SLEEP_FUNC
=0
36832 if test "$USE_BEOS" = 1; then
36833 cat >>confdefs.h
<<\_ACEOF
36834 #define HAVE_SLEEP 1
36837 HAVE_SOME_SLEEP_FUNC
=1
36840 if test "$USE_DARWIN" = 1; then
36841 cat >>confdefs.h
<<\_ACEOF
36842 #define HAVE_USLEEP 1
36845 HAVE_SOME_SLEEP_FUNC
=1
36848 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36851 for ac_func
in nanosleep
36853 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36854 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36856 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36857 echo $ECHO_N "(cached) $ECHO_C" >&6
36859 cat >conftest.
$ac_ext <<_ACEOF
36862 cat confdefs.h
>>conftest.
$ac_ext
36863 cat >>conftest.
$ac_ext <<_ACEOF
36864 /* end confdefs.h. */
36865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36867 #define $ac_func innocuous_$ac_func
36869 /* System header to define __stub macros and hopefully few prototypes,
36870 which can conflict with char $ac_func (); below.
36871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36872 <limits.h> exists even on freestanding compilers. */
36875 # include <limits.h>
36877 # include <assert.h>
36882 /* Override any GCC internal prototype to avoid an error.
36883 Use char because int might match the return type of a GCC
36884 builtin and then its argument prototype would still apply. */
36889 /* The GNU C library defines this for functions which it implements
36890 to always fail with ENOSYS. Some functions are actually named
36891 something starting with __ and the normal name is an alias. */
36892 #if defined __stub_$ac_func || defined __stub___$ac_func
36899 return $ac_func ();
36904 rm -f conftest.
$ac_objext conftest
$ac_exeext
36905 if { (ac_try
="$ac_link"
36906 case "(($ac_try" in
36907 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36908 *) ac_try_echo=$ac_try;;
36910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36911 (eval "$ac_link") 2>conftest.er1
36913 grep -v '^ *+' conftest.er1 >conftest.err
36915 cat conftest.err >&5
36916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36917 (exit $ac_status); } && {
36918 test -z "$ac_c_werror_flag" ||
36919 test ! -s conftest.err
36920 } && test -s conftest$ac_exeext &&
36921 $as_test_x conftest$ac_exeext; then
36922 eval "$as_ac_var=yes"
36924 echo "$as_me: failed program was:" >&5
36925 sed 's/^/| /' conftest.$ac_ext >&5
36927 eval "$as_ac_var=no"
36930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36931 conftest$ac_exeext conftest.$ac_ext
36933 ac_res=`eval echo '${'$as_ac_var'}'`
36934 { echo "$as_me:$LINENO: result: $ac_res" >&5
36935 echo "${ECHO_T}$ac_res" >&6; }
36936 if test `eval echo '${'$as_ac_var'}'` = yes; then
36937 cat >>confdefs.h <<_ACEOF
36938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36940 cat >>confdefs.h <<\_ACEOF
36941 #define HAVE_NANOSLEEP 1
36946 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36947 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36948 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36949 echo $ECHO_N "(cached) $ECHO_C" >&6
36951 ac_check_lib_save_LIBS=$LIBS
36952 LIBS="-lposix4 $LIBS"
36953 cat >conftest.$ac_ext <<_ACEOF
36956 cat confdefs.h >>conftest.$ac_ext
36957 cat >>conftest.$ac_ext <<_ACEOF
36958 /* end confdefs.h. */
36960 /* Override any GCC internal prototype to avoid an error.
36961 Use char because int might match the return type of a GCC
36962 builtin and then its argument prototype would still apply. */
36970 return nanosleep ();
36975 rm -f conftest.$ac_objext conftest$ac_exeext
36976 if { (ac_try="$ac_link"
36977 case "(($ac_try" in
36978 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36979 *) ac_try_echo
=$ac_try;;
36981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36982 (eval "$ac_link") 2>conftest.er1
36984 grep -v '^ *+' conftest.er1
>conftest.err
36986 cat conftest.err
>&5
36987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36988 (exit $ac_status); } && {
36989 test -z "$ac_c_werror_flag" ||
36990 test ! -s conftest.err
36991 } && test -s conftest
$ac_exeext &&
36992 $as_test_x conftest
$ac_exeext; then
36993 ac_cv_lib_posix4_nanosleep
=yes
36995 echo "$as_me: failed program was:" >&5
36996 sed 's/^/| /' conftest.
$ac_ext >&5
36998 ac_cv_lib_posix4_nanosleep
=no
37001 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37002 conftest
$ac_exeext conftest.
$ac_ext
37003 LIBS
=$ac_check_lib_save_LIBS
37005 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37006 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37007 if test $ac_cv_lib_posix4_nanosleep = yes; then
37009 cat >>confdefs.h
<<\_ACEOF
37010 #define HAVE_NANOSLEEP 1
37013 POSIX4_LINK
=" -lposix4"
37018 for wx_func
in usleep
37020 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37021 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37022 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37023 echo $ECHO_N "(cached) $ECHO_C" >&6
37026 cat >conftest.
$ac_ext <<_ACEOF
37030 cat confdefs.h
>>conftest.
$ac_ext
37031 cat >>conftest.
$ac_ext <<_ACEOF
37032 /* end confdefs.h. */
37035 $ac_includes_default
37051 rm -f conftest.
$ac_objext conftest
$ac_exeext
37052 if { (ac_try
="$ac_link"
37053 case "(($ac_try" in
37054 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37055 *) ac_try_echo=$ac_try;;
37057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37058 (eval "$ac_link") 2>conftest.er1
37060 grep -v '^ *+' conftest.er1 >conftest.err
37062 cat conftest.err >&5
37063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37064 (exit $ac_status); } && {
37065 test -z "$ac_c_werror_flag" ||
37066 test ! -s conftest.err
37067 } && test -s conftest$ac_exeext &&
37068 $as_test_x conftest$ac_exeext; then
37069 eval wx_cv_func_$wx_func=yes
37071 echo "$as_me: failed program was:" >&5
37072 sed 's/^/| /' conftest.$ac_ext >&5
37074 eval wx_cv_func_$wx_func=no
37077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37078 conftest$ac_exeext conftest.$ac_ext
37081 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37082 { echo "$as_me:$LINENO: result: $ac_res" >&5
37083 echo "${ECHO_T}$ac_res" >&6; }
37085 if eval test \$wx_cv_func_$wx_func = yes
37087 cat >>confdefs.h <<_ACEOF
37088 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37094 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37095 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37112 for wx_func in uname
37114 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37115 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37116 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37117 echo $ECHO_N "(cached) $ECHO_C" >&6
37120 cat >conftest.$ac_ext <<_ACEOF
37124 cat confdefs.h >>conftest.$ac_ext
37125 cat >>conftest.$ac_ext <<_ACEOF
37126 /* end confdefs.h. */
37128 #include <sys/utsname.h>
37129 $ac_includes_default
37145 rm -f conftest.$ac_objext conftest$ac_exeext
37146 if { (ac_try="$ac_link"
37147 case "(($ac_try" in
37148 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37149 *) ac_try_echo
=$ac_try;;
37151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37152 (eval "$ac_link") 2>conftest.er1
37154 grep -v '^ *+' conftest.er1
>conftest.err
37156 cat conftest.err
>&5
37157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37158 (exit $ac_status); } && {
37159 test -z "$ac_c_werror_flag" ||
37160 test ! -s conftest.err
37161 } && test -s conftest
$ac_exeext &&
37162 $as_test_x conftest
$ac_exeext; then
37163 eval wx_cv_func_
$wx_func=yes
37165 echo "$as_me: failed program was:" >&5
37166 sed 's/^/| /' conftest.
$ac_ext >&5
37168 eval wx_cv_func_
$wx_func=no
37171 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37172 conftest
$ac_exeext conftest.
$ac_ext
37175 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37176 { echo "$as_me:$LINENO: result: $ac_res" >&5
37177 echo "${ECHO_T}$ac_res" >&6; }
37179 if eval test \
$wx_cv_func_$wx_func = yes
37181 cat >>confdefs.h
<<_ACEOF
37182 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37192 if test "$wx_cv_func_uname" != yes; then
37194 for wx_func
in gethostname
37196 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37197 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37198 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37199 echo $ECHO_N "(cached) $ECHO_C" >&6
37202 cat >conftest.
$ac_ext <<_ACEOF
37206 cat confdefs.h
>>conftest.
$ac_ext
37207 cat >>conftest.
$ac_ext <<_ACEOF
37208 /* end confdefs.h. */
37211 $ac_includes_default
37227 rm -f conftest.
$ac_objext conftest
$ac_exeext
37228 if { (ac_try
="$ac_link"
37229 case "(($ac_try" in
37230 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37231 *) ac_try_echo=$ac_try;;
37233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37234 (eval "$ac_link") 2>conftest.er1
37236 grep -v '^ *+' conftest.er1 >conftest.err
37238 cat conftest.err >&5
37239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37240 (exit $ac_status); } && {
37241 test -z "$ac_c_werror_flag" ||
37242 test ! -s conftest.err
37243 } && test -s conftest$ac_exeext &&
37244 $as_test_x conftest$ac_exeext; then
37245 eval wx_cv_func_$wx_func=yes
37247 echo "$as_me: failed program was:" >&5
37248 sed 's/^/| /' conftest.$ac_ext >&5
37250 eval wx_cv_func_$wx_func=no
37253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37254 conftest$ac_exeext conftest.$ac_ext
37257 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37258 { echo "$as_me:$LINENO: result: $ac_res" >&5
37259 echo "${ECHO_T}$ac_res" >&6; }
37261 if eval test \$wx_cv_func_$wx_func = yes
37263 cat >>confdefs.h <<_ACEOF
37264 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37277 for wx_func in strtok_r
37279 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37280 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37281 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37282 echo $ECHO_N "(cached) $ECHO_C" >&6
37285 cat >conftest.$ac_ext <<_ACEOF
37289 cat confdefs.h >>conftest.$ac_ext
37290 cat >>conftest.$ac_ext <<_ACEOF
37291 /* end confdefs.h. */
37294 $ac_includes_default
37310 rm -f conftest.$ac_objext conftest$ac_exeext
37311 if { (ac_try="$ac_link"
37312 case "(($ac_try" in
37313 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37314 *) ac_try_echo
=$ac_try;;
37316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37317 (eval "$ac_link") 2>conftest.er1
37319 grep -v '^ *+' conftest.er1
>conftest.err
37321 cat conftest.err
>&5
37322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37323 (exit $ac_status); } && {
37324 test -z "$ac_c_werror_flag" ||
37325 test ! -s conftest.err
37326 } && test -s conftest
$ac_exeext &&
37327 $as_test_x conftest
$ac_exeext; then
37328 eval wx_cv_func_
$wx_func=yes
37330 echo "$as_me: failed program was:" >&5
37331 sed 's/^/| /' conftest.
$ac_ext >&5
37333 eval wx_cv_func_
$wx_func=no
37336 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37337 conftest
$ac_exeext conftest.
$ac_ext
37340 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37341 { echo "$as_me:$LINENO: result: $ac_res" >&5
37342 echo "${ECHO_T}$ac_res" >&6; }
37344 if eval test \
$wx_cv_func_$wx_func = yes
37346 cat >>confdefs.h
<<_ACEOF
37347 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37360 for ac_func
in inet_addr
37362 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37363 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37365 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37366 echo $ECHO_N "(cached) $ECHO_C" >&6
37368 cat >conftest.
$ac_ext <<_ACEOF
37371 cat confdefs.h
>>conftest.
$ac_ext
37372 cat >>conftest.
$ac_ext <<_ACEOF
37373 /* end confdefs.h. */
37374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37376 #define $ac_func innocuous_$ac_func
37378 /* System header to define __stub macros and hopefully few prototypes,
37379 which can conflict with char $ac_func (); below.
37380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37381 <limits.h> exists even on freestanding compilers. */
37384 # include <limits.h>
37386 # include <assert.h>
37391 /* Override any GCC internal prototype to avoid an error.
37392 Use char because int might match the return type of a GCC
37393 builtin and then its argument prototype would still apply. */
37398 /* The GNU C library defines this for functions which it implements
37399 to always fail with ENOSYS. Some functions are actually named
37400 something starting with __ and the normal name is an alias. */
37401 #if defined __stub_$ac_func || defined __stub___$ac_func
37408 return $ac_func ();
37413 rm -f conftest.
$ac_objext conftest
$ac_exeext
37414 if { (ac_try
="$ac_link"
37415 case "(($ac_try" in
37416 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37417 *) ac_try_echo=$ac_try;;
37419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37420 (eval "$ac_link") 2>conftest.er1
37422 grep -v '^ *+' conftest.er1 >conftest.err
37424 cat conftest.err >&5
37425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37426 (exit $ac_status); } && {
37427 test -z "$ac_c_werror_flag" ||
37428 test ! -s conftest.err
37429 } && test -s conftest$ac_exeext &&
37430 $as_test_x conftest$ac_exeext; then
37431 eval "$as_ac_var=yes"
37433 echo "$as_me: failed program was:" >&5
37434 sed 's/^/| /' conftest.$ac_ext >&5
37436 eval "$as_ac_var=no"
37439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37440 conftest$ac_exeext conftest.$ac_ext
37442 ac_res=`eval echo '${'$as_ac_var'}'`
37443 { echo "$as_me:$LINENO: result: $ac_res" >&5
37444 echo "${ECHO_T}$ac_res" >&6; }
37445 if test `eval echo '${'$as_ac_var'}'` = yes; then
37446 cat >>confdefs.h <<_ACEOF
37447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37449 cat >>confdefs.h <<\_ACEOF
37450 #define HAVE_INET_ADDR 1
37455 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37456 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37457 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37458 echo $ECHO_N "(cached) $ECHO_C" >&6
37460 ac_check_lib_save_LIBS=$LIBS
37462 cat >conftest.$ac_ext <<_ACEOF
37465 cat confdefs.h >>conftest.$ac_ext
37466 cat >>conftest.$ac_ext <<_ACEOF
37467 /* end confdefs.h. */
37469 /* Override any GCC internal prototype to avoid an error.
37470 Use char because int might match the return type of a GCC
37471 builtin and then its argument prototype would still apply. */
37479 return inet_addr ();
37484 rm -f conftest.$ac_objext conftest$ac_exeext
37485 if { (ac_try="$ac_link"
37486 case "(($ac_try" in
37487 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37488 *) ac_try_echo
=$ac_try;;
37490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37491 (eval "$ac_link") 2>conftest.er1
37493 grep -v '^ *+' conftest.er1
>conftest.err
37495 cat conftest.err
>&5
37496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37497 (exit $ac_status); } && {
37498 test -z "$ac_c_werror_flag" ||
37499 test ! -s conftest.err
37500 } && test -s conftest
$ac_exeext &&
37501 $as_test_x conftest
$ac_exeext; then
37502 ac_cv_lib_nsl_inet_addr
=yes
37504 echo "$as_me: failed program was:" >&5
37505 sed 's/^/| /' conftest.
$ac_ext >&5
37507 ac_cv_lib_nsl_inet_addr
=no
37510 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37511 conftest
$ac_exeext conftest.
$ac_ext
37512 LIBS
=$ac_check_lib_save_LIBS
37514 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37515 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37516 if test $ac_cv_lib_nsl_inet_addr = yes; then
37520 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37521 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37522 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37523 echo $ECHO_N "(cached) $ECHO_C" >&6
37525 ac_check_lib_save_LIBS
=$LIBS
37526 LIBS
="-lresolv $LIBS"
37527 cat >conftest.
$ac_ext <<_ACEOF
37530 cat confdefs.h
>>conftest.
$ac_ext
37531 cat >>conftest.
$ac_ext <<_ACEOF
37532 /* end confdefs.h. */
37534 /* Override any GCC internal prototype to avoid an error.
37535 Use char because int might match the return type of a GCC
37536 builtin and then its argument prototype would still apply. */
37544 return inet_addr ();
37549 rm -f conftest.
$ac_objext conftest
$ac_exeext
37550 if { (ac_try
="$ac_link"
37551 case "(($ac_try" in
37552 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37553 *) ac_try_echo=$ac_try;;
37555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37556 (eval "$ac_link") 2>conftest.er1
37558 grep -v '^ *+' conftest.er1 >conftest.err
37560 cat conftest.err >&5
37561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37562 (exit $ac_status); } && {
37563 test -z "$ac_c_werror_flag" ||
37564 test ! -s conftest.err
37565 } && test -s conftest$ac_exeext &&
37566 $as_test_x conftest$ac_exeext; then
37567 ac_cv_lib_resolv_inet_addr=yes
37569 echo "$as_me: failed program was:" >&5
37570 sed 's/^/| /' conftest.$ac_ext >&5
37572 ac_cv_lib_resolv_inet_addr=no
37575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37576 conftest$ac_exeext conftest.$ac_ext
37577 LIBS=$ac_check_lib_save_LIBS
37579 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37580 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37581 if test $ac_cv_lib_resolv_inet_addr = yes; then
37585 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37586 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37587 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37588 echo $ECHO_N "(cached) $ECHO_C" >&6
37590 ac_check_lib_save_LIBS=$LIBS
37591 LIBS="-lsocket $LIBS"
37592 cat >conftest.$ac_ext <<_ACEOF
37595 cat confdefs.h >>conftest.$ac_ext
37596 cat >>conftest.$ac_ext <<_ACEOF
37597 /* end confdefs.h. */
37599 /* Override any GCC internal prototype to avoid an error.
37600 Use char because int might match the return type of a GCC
37601 builtin and then its argument prototype would still apply. */
37609 return inet_addr ();
37614 rm -f conftest.$ac_objext conftest$ac_exeext
37615 if { (ac_try="$ac_link"
37616 case "(($ac_try" in
37617 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37618 *) ac_try_echo
=$ac_try;;
37620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37621 (eval "$ac_link") 2>conftest.er1
37623 grep -v '^ *+' conftest.er1
>conftest.err
37625 cat conftest.err
>&5
37626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37627 (exit $ac_status); } && {
37628 test -z "$ac_c_werror_flag" ||
37629 test ! -s conftest.err
37630 } && test -s conftest
$ac_exeext &&
37631 $as_test_x conftest
$ac_exeext; then
37632 ac_cv_lib_socket_inet_addr
=yes
37634 echo "$as_me: failed program was:" >&5
37635 sed 's/^/| /' conftest.
$ac_ext >&5
37637 ac_cv_lib_socket_inet_addr
=no
37640 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37641 conftest
$ac_exeext conftest.
$ac_ext
37642 LIBS
=$ac_check_lib_save_LIBS
37644 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37645 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37646 if test $ac_cv_lib_socket_inet_addr = yes; then
37666 for ac_func
in inet_aton
37668 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37669 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37671 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37672 echo $ECHO_N "(cached) $ECHO_C" >&6
37674 cat >conftest.
$ac_ext <<_ACEOF
37677 cat confdefs.h
>>conftest.
$ac_ext
37678 cat >>conftest.
$ac_ext <<_ACEOF
37679 /* end confdefs.h. */
37680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37682 #define $ac_func innocuous_$ac_func
37684 /* System header to define __stub macros and hopefully few prototypes,
37685 which can conflict with char $ac_func (); below.
37686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37687 <limits.h> exists even on freestanding compilers. */
37690 # include <limits.h>
37692 # include <assert.h>
37697 /* Override any GCC internal prototype to avoid an error.
37698 Use char because int might match the return type of a GCC
37699 builtin and then its argument prototype would still apply. */
37704 /* The GNU C library defines this for functions which it implements
37705 to always fail with ENOSYS. Some functions are actually named
37706 something starting with __ and the normal name is an alias. */
37707 #if defined __stub_$ac_func || defined __stub___$ac_func
37714 return $ac_func ();
37719 rm -f conftest.
$ac_objext conftest
$ac_exeext
37720 if { (ac_try
="$ac_link"
37721 case "(($ac_try" in
37722 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37723 *) ac_try_echo=$ac_try;;
37725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37726 (eval "$ac_link") 2>conftest.er1
37728 grep -v '^ *+' conftest.er1 >conftest.err
37730 cat conftest.err >&5
37731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37732 (exit $ac_status); } && {
37733 test -z "$ac_c_werror_flag" ||
37734 test ! -s conftest.err
37735 } && test -s conftest$ac_exeext &&
37736 $as_test_x conftest$ac_exeext; then
37737 eval "$as_ac_var=yes"
37739 echo "$as_me: failed program was:" >&5
37740 sed 's/^/| /' conftest.$ac_ext >&5
37742 eval "$as_ac_var=no"
37745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37746 conftest$ac_exeext conftest.$ac_ext
37748 ac_res=`eval echo '${'$as_ac_var'}'`
37749 { echo "$as_me:$LINENO: result: $ac_res" >&5
37750 echo "${ECHO_T}$ac_res" >&6; }
37751 if test `eval echo '${'$as_ac_var'}'` = yes; then
37752 cat >>confdefs.h <<_ACEOF
37753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37755 cat >>confdefs.h <<\_ACEOF
37756 #define HAVE_INET_ATON 1
37761 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37762 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37763 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37764 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37765 echo $ECHO_N "(cached) $ECHO_C" >&6
37767 ac_check_lib_save_LIBS=$LIBS
37768 LIBS="-l$INET_LINK $LIBS"
37769 cat >conftest.$ac_ext <<_ACEOF
37772 cat confdefs.h >>conftest.$ac_ext
37773 cat >>conftest.$ac_ext <<_ACEOF
37774 /* end confdefs.h. */
37776 /* Override any GCC internal prototype to avoid an error.
37777 Use char because int might match the return type of a GCC
37778 builtin and then its argument prototype would still apply. */
37786 return inet_aton ();
37791 rm -f conftest.$ac_objext conftest$ac_exeext
37792 if { (ac_try="$ac_link"
37793 case "(($ac_try" in
37794 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37795 *) ac_try_echo
=$ac_try;;
37797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37798 (eval "$ac_link") 2>conftest.er1
37800 grep -v '^ *+' conftest.er1
>conftest.err
37802 cat conftest.err
>&5
37803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37804 (exit $ac_status); } && {
37805 test -z "$ac_c_werror_flag" ||
37806 test ! -s conftest.err
37807 } && test -s conftest
$ac_exeext &&
37808 $as_test_x conftest
$ac_exeext; then
37809 eval "$as_ac_Lib=yes"
37811 echo "$as_me: failed program was:" >&5
37812 sed 's/^/| /' conftest.
$ac_ext >&5
37814 eval "$as_ac_Lib=no"
37817 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37818 conftest
$ac_exeext conftest.
$ac_ext
37819 LIBS
=$ac_check_lib_save_LIBS
37821 ac_res
=`eval echo '${'$as_ac_Lib'}'`
37822 { echo "$as_me:$LINENO: result: $ac_res" >&5
37823 echo "${ECHO_T}$ac_res" >&6; }
37824 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37825 cat >>confdefs.h
<<\_ACEOF
37826 #define HAVE_INET_ATON 1
37836 if test "x$INET_LINK" != "x"; then
37837 cat >>confdefs.h
<<\_ACEOF
37838 #define HAVE_INET_ADDR 1
37841 INET_LINK
=" -l$INET_LINK"
37845 for wx_func
in fdopen
37847 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37848 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37849 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37850 echo $ECHO_N "(cached) $ECHO_C" >&6
37853 cat >conftest.
$ac_ext <<_ACEOF
37857 cat confdefs.h
>>conftest.
$ac_ext
37858 cat >>conftest.
$ac_ext <<_ACEOF
37859 /* end confdefs.h. */
37862 $ac_includes_default
37878 rm -f conftest.
$ac_objext conftest
$ac_exeext
37879 if { (ac_try
="$ac_link"
37880 case "(($ac_try" in
37881 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37882 *) ac_try_echo=$ac_try;;
37884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37885 (eval "$ac_link") 2>conftest.er1
37887 grep -v '^ *+' conftest.er1 >conftest.err
37889 cat conftest.err >&5
37890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37891 (exit $ac_status); } && {
37892 test -z "$ac_c_werror_flag" ||
37893 test ! -s conftest.err
37894 } && test -s conftest$ac_exeext &&
37895 $as_test_x conftest$ac_exeext; then
37896 eval wx_cv_func_$wx_func=yes
37898 echo "$as_me: failed program was:" >&5
37899 sed 's/^/| /' conftest.$ac_ext >&5
37901 eval wx_cv_func_$wx_func=no
37904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37905 conftest$ac_exeext conftest.$ac_ext
37908 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37909 { echo "$as_me:$LINENO: result: $ac_res" >&5
37910 echo "${ECHO_T}$ac_res" >&6; }
37912 if eval test \$wx_cv_func_$wx_func = yes
37914 cat >>confdefs.h <<_ACEOF
37915 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37926 if test "$wxUSE_TARSTREAM" = "yes"; then
37928 for wx_func in sysconf
37930 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37931 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37932 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37933 echo $ECHO_N "(cached) $ECHO_C" >&6
37936 cat >conftest.$ac_ext <<_ACEOF
37940 cat confdefs.h >>conftest.$ac_ext
37941 cat >>conftest.$ac_ext <<_ACEOF
37942 /* end confdefs.h. */
37945 $ac_includes_default
37961 rm -f conftest.$ac_objext conftest$ac_exeext
37962 if { (ac_try="$ac_link"
37963 case "(($ac_try" in
37964 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37965 *) ac_try_echo
=$ac_try;;
37967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37968 (eval "$ac_link") 2>conftest.er1
37970 grep -v '^ *+' conftest.er1
>conftest.err
37972 cat conftest.err
>&5
37973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37974 (exit $ac_status); } && {
37975 test -z "$ac_c_werror_flag" ||
37976 test ! -s conftest.err
37977 } && test -s conftest
$ac_exeext &&
37978 $as_test_x conftest
$ac_exeext; then
37979 eval wx_cv_func_
$wx_func=yes
37981 echo "$as_me: failed program was:" >&5
37982 sed 's/^/| /' conftest.
$ac_ext >&5
37984 eval wx_cv_func_
$wx_func=no
37987 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37988 conftest
$ac_exeext conftest.
$ac_ext
37991 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37992 { echo "$as_me:$LINENO: result: $ac_res" >&5
37993 echo "${ECHO_T}$ac_res" >&6; }
37995 if eval test \
$wx_cv_func_$wx_func = yes
37997 cat >>confdefs.h
<<_ACEOF
37998 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38010 for wx_func
in getpwuid_r
38012 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38013 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38014 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38015 echo $ECHO_N "(cached) $ECHO_C" >&6
38018 cat >conftest.
$ac_ext <<_ACEOF
38022 cat confdefs.h
>>conftest.
$ac_ext
38023 cat >>conftest.
$ac_ext <<_ACEOF
38024 /* end confdefs.h. */
38030 $ac_includes_default
38040 struct passwd pw, *ppw;
38042 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38050 rm -f conftest.
$ac_objext conftest
$ac_exeext
38051 if { (ac_try
="$ac_link"
38052 case "(($ac_try" in
38053 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38054 *) ac_try_echo=$ac_try;;
38056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38057 (eval "$ac_link") 2>conftest.er1
38059 grep -v '^ *+' conftest.er1 >conftest.err
38061 cat conftest.err >&5
38062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38063 (exit $ac_status); } && {
38064 test -z "$ac_c_werror_flag" ||
38065 test ! -s conftest.err
38066 } && test -s conftest$ac_exeext &&
38067 $as_test_x conftest$ac_exeext; then
38068 eval wx_cv_func_$wx_func=yes
38070 echo "$as_me: failed program was:" >&5
38071 sed 's/^/| /' conftest.$ac_ext >&5
38073 eval wx_cv_func_$wx_func=no
38076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38077 conftest$ac_exeext conftest.$ac_ext
38080 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38081 { echo "$as_me:$LINENO: result: $ac_res" >&5
38082 echo "${ECHO_T}$ac_res" >&6; }
38084 if eval test \$wx_cv_func_$wx_func = yes
38086 cat >>confdefs.h <<_ACEOF
38087 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38099 for wx_func in getgrgid_r
38101 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38102 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38103 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38104 echo $ECHO_N "(cached) $ECHO_C" >&6
38107 cat >conftest.$ac_ext <<_ACEOF
38111 cat confdefs.h >>conftest.$ac_ext
38112 cat >>conftest.$ac_ext <<_ACEOF
38113 /* end confdefs.h. */
38119 $ac_includes_default
38129 struct group grp, *pgrp;
38131 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38139 rm -f conftest.$ac_objext conftest$ac_exeext
38140 if { (ac_try="$ac_link"
38141 case "(($ac_try" in
38142 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38143 *) ac_try_echo
=$ac_try;;
38145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38146 (eval "$ac_link") 2>conftest.er1
38148 grep -v '^ *+' conftest.er1
>conftest.err
38150 cat conftest.err
>&5
38151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38152 (exit $ac_status); } && {
38153 test -z "$ac_c_werror_flag" ||
38154 test ! -s conftest.err
38155 } && test -s conftest
$ac_exeext &&
38156 $as_test_x conftest
$ac_exeext; then
38157 eval wx_cv_func_
$wx_func=yes
38159 echo "$as_me: failed program was:" >&5
38160 sed 's/^/| /' conftest.
$ac_ext >&5
38162 eval wx_cv_func_
$wx_func=no
38165 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38166 conftest
$ac_exeext conftest.
$ac_ext
38169 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38170 { echo "$as_me:$LINENO: result: $ac_res" >&5
38171 echo "${ECHO_T}$ac_res" >&6; }
38173 if eval test \
$wx_cv_func_$wx_func = yes
38175 cat >>confdefs.h
<<_ACEOF
38176 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38192 cat >confcache
<<\_ACEOF
38193 # This file is a shell script that caches the results of configure
38194 # tests run on this system so they can be shared between configure
38195 # scripts and configure runs, see configure's option --config-cache.
38196 # It is not useful on other systems. If it contains results you don't
38197 # want to keep, you may remove or edit it.
38199 # config.status only pays attention to the cache file if you give it
38200 # the --recheck option to rerun configure.
38202 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38203 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38204 # following values.
38208 # The following way of writing the cache mishandles newlines in values,
38209 # but we know of no workaround that is simple, portable, and efficient.
38210 # So, we kill variables containing newlines.
38211 # Ultrix sh set writes to stderr and can't be redirected directly,
38212 # and sets the high bit in the cache file unless we assign to the vars.
38214 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38215 eval ac_val
=\$
$ac_var
38219 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38220 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38223 _
| IFS
| as_nl
) ;; #(
38224 *) $as_unset $ac_var ;;
38230 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38231 *${as_nl}ac_space
=\
*)
38232 # `set' does not quote correctly, so add quotes (double-quote
38233 # substitution turns \\\\ into \\, and sed turns \\ into \).
38236 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38239 # `set' quotes correctly as required by POSIX, so do not add quotes.
38240 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38249 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38251 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38253 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38254 if test -w "$cache_file"; then
38255 test "x$cache_file" != "x/dev/null" &&
38256 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38257 echo "$as_me: updating cache $cache_file" >&6;}
38258 cat confcache
>$cache_file
38260 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38261 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38267 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38273 if test "$wxUSE_THREADS" = "yes" ; then
38274 if test "$USE_BEOS" = 1; then
38275 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38276 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38281 if test "$wxUSE_THREADS" = "yes" ; then
38284 THREAD_OPTS
="-pthread"
38285 if test "x$SUNCXX" = xyes
; then
38286 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38290 *-*-solaris2* | *-*-sunos4* )
38291 if test "x$GCC" = "xyes"; then
38292 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38296 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38298 *-*-darwin* | *-*-cygwin* )
38302 THREAD_OPTS
="pthreads"
38305 if test "x$GCC" = "xyes"; then
38306 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38314 if test "x$GCC" = "xyes"; then
38320 if test "x$GCC" != "xyes"; then
38321 THREAD_OPTS
="-Ethread"
38326 THREAD_OPTS
="$THREAD_OPTS pthread none"
38329 for flag
in $THREAD_OPTS; do
38332 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38333 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38337 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38338 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38339 THREADS_CFLAGS
="$flag"
38343 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38344 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38345 THREADS_LINK
="-l$flag"
38350 save_CFLAGS
="$CFLAGS"
38351 LIBS
="$THREADS_LINK $LIBS"
38352 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38354 cat >conftest.
$ac_ext <<_ACEOF
38357 cat confdefs.h
>>conftest.
$ac_ext
38358 cat >>conftest.
$ac_ext <<_ACEOF
38359 /* end confdefs.h. */
38360 #include <pthread.h>
38364 pthread_create(0,0,0,0);
38369 rm -f conftest.
$ac_objext conftest
$ac_exeext
38370 if { (ac_try
="$ac_link"
38371 case "(($ac_try" in
38372 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38373 *) ac_try_echo=$ac_try;;
38375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38376 (eval "$ac_link") 2>conftest.er1
38378 grep -v '^ *+' conftest.er1 >conftest.err
38380 cat conftest.err >&5
38381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38382 (exit $ac_status); } && {
38383 test -z "$ac_c_werror_flag" ||
38384 test ! -s conftest.err
38385 } && test -s conftest$ac_exeext &&
38386 $as_test_x conftest$ac_exeext; then
38389 echo "$as_me: failed program was:" >&5
38390 sed 's/^/| /' conftest.$ac_ext >&5
38395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38396 conftest$ac_exeext conftest.$ac_ext
38399 CFLAGS="$save_CFLAGS"
38401 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38402 echo "${ECHO_T}$THREADS_OK" >&6; }
38403 if test "x$THREADS_OK" = "xyes"; then
38411 if test "x$THREADS_OK" != "xyes"; then
38413 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38414 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38416 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38417 LIBS="$THREADS_LINK $LIBS"
38419 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38420 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38424 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38425 flag="-D_THREAD_SAFE"
38428 flag="-D_THREAD_SAFE"
38431 flag="-D_REENTRANT"
38432 if test "x$GCC" != "xyes"; then
38433 flag="$flag -D_RWSTD_MULTI_THREAD"
38436 *solaris* | alpha*-osf*)
38437 flag="-D_REENTRANT"
38440 { echo "$as_me:$LINENO: result: ${flag}" >&5
38441 echo "${ECHO_T}${flag}" >&6; }
38442 if test "x$flag" != xno; then
38443 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38446 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38450 if test "$wxUSE_THREADS" = "yes" ; then
38452 for ac_func in thr_setconcurrency
38454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38455 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38457 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38458 echo $ECHO_N "(cached) $ECHO_C" >&6
38460 cat >conftest.$ac_ext <<_ACEOF
38463 cat confdefs.h >>conftest.$ac_ext
38464 cat >>conftest.$ac_ext <<_ACEOF
38465 /* end confdefs.h. */
38466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38468 #define $ac_func innocuous_$ac_func
38470 /* System header to define __stub macros and hopefully few prototypes,
38471 which can conflict with char $ac_func (); below.
38472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38473 <limits.h> exists even on freestanding compilers. */
38476 # include <limits.h>
38478 # include <assert.h>
38483 /* Override any GCC internal prototype to avoid an error.
38484 Use char because int might match the return type of a GCC
38485 builtin and then its argument prototype would still apply. */
38490 /* The GNU C library defines this for functions which it implements
38491 to always fail with ENOSYS. Some functions are actually named
38492 something starting with __ and the normal name is an alias. */
38493 #if defined __stub_$ac_func || defined __stub___$ac_func
38500 return $ac_func ();
38505 rm -f conftest.$ac_objext conftest$ac_exeext
38506 if { (ac_try="$ac_link"
38507 case "(($ac_try" in
38508 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38509 *) ac_try_echo
=$ac_try;;
38511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38512 (eval "$ac_link") 2>conftest.er1
38514 grep -v '^ *+' conftest.er1
>conftest.err
38516 cat conftest.err
>&5
38517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38518 (exit $ac_status); } && {
38519 test -z "$ac_c_werror_flag" ||
38520 test ! -s conftest.err
38521 } && test -s conftest
$ac_exeext &&
38522 $as_test_x conftest
$ac_exeext; then
38523 eval "$as_ac_var=yes"
38525 echo "$as_me: failed program was:" >&5
38526 sed 's/^/| /' conftest.
$ac_ext >&5
38528 eval "$as_ac_var=no"
38531 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38532 conftest
$ac_exeext conftest.
$ac_ext
38534 ac_res
=`eval echo '${'$as_ac_var'}'`
38535 { echo "$as_me:$LINENO: result: $ac_res" >&5
38536 echo "${ECHO_T}$ac_res" >&6; }
38537 if test `eval echo '${'$as_ac_var'}'` = yes; then
38538 cat >>confdefs.h
<<_ACEOF
38539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38546 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38547 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38548 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38549 echo $ECHO_N "(cached) $ECHO_C" >&6
38553 ac_cpp
='$CXXCPP $CPPFLAGS'
38554 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38555 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38556 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38558 cat >conftest.
$ac_ext <<_ACEOF
38561 cat confdefs.h
>>conftest.
$ac_ext
38562 cat >>conftest.
$ac_ext <<_ACEOF
38563 /* end confdefs.h. */
38564 #include <pthread.h>
38565 void ThreadCleanupFunc(void *p);
38572 pthread_cleanup_push(ThreadCleanupFunc, p);
38573 pthread_cleanup_pop(0);
38579 rm -f conftest.
$ac_objext
38580 if { (ac_try
="$ac_compile"
38581 case "(($ac_try" in
38582 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38583 *) ac_try_echo=$ac_try;;
38585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38586 (eval "$ac_compile") 2>conftest.er1
38588 grep -v '^ *+' conftest.er1 >conftest.err
38590 cat conftest.err >&5
38591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38592 (exit $ac_status); } && {
38593 test -z "$ac_cxx_werror_flag" ||
38594 test ! -s conftest.err
38595 } && test -s conftest.$ac_objext; then
38597 wx_cv_func_pthread_cleanup=yes
38600 echo "$as_me: failed program was:" >&5
38601 sed 's/^/| /' conftest.$ac_ext >&5
38604 wx_cv_func_pthread_cleanup=no
38609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38611 ac_cpp='$CPP $CPPFLAGS'
38612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38618 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38619 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38620 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38621 cat >>confdefs.h <<\_ACEOF
38622 #define wxHAVE_PTHREAD_CLEANUP 1
38628 for ac_header in sched.h
38630 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38631 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38633 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38634 echo $ECHO_N "(cached) $ECHO_C" >&6
38636 cat >conftest.$ac_ext <<_ACEOF
38639 cat confdefs.h >>conftest.$ac_ext
38640 cat >>conftest.$ac_ext <<_ACEOF
38641 /* end confdefs.h. */
38642 $ac_includes_default
38644 #include <$ac_header>
38646 rm -f conftest.$ac_objext
38647 if { (ac_try="$ac_compile"
38648 case "(($ac_try" in
38649 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38650 *) ac_try_echo
=$ac_try;;
38652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38653 (eval "$ac_compile") 2>conftest.er1
38655 grep -v '^ *+' conftest.er1
>conftest.err
38657 cat conftest.err
>&5
38658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38659 (exit $ac_status); } && {
38660 test -z "$ac_c_werror_flag" ||
38661 test ! -s conftest.err
38662 } && test -s conftest.
$ac_objext; then
38663 eval "$as_ac_Header=yes"
38665 echo "$as_me: failed program was:" >&5
38666 sed 's/^/| /' conftest.
$ac_ext >&5
38668 eval "$as_ac_Header=no"
38671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38673 ac_res
=`eval echo '${'$as_ac_Header'}'`
38674 { echo "$as_me:$LINENO: result: $ac_res" >&5
38675 echo "${ECHO_T}$ac_res" >&6; }
38676 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38677 cat >>confdefs.h
<<_ACEOF
38678 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38685 if test "$ac_cv_header_sched_h" = "yes"; then
38686 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38687 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38688 if test "${ac_cv_func_sched_yield+set}" = set; then
38689 echo $ECHO_N "(cached) $ECHO_C" >&6
38691 cat >conftest.
$ac_ext <<_ACEOF
38694 cat confdefs.h
>>conftest.
$ac_ext
38695 cat >>conftest.
$ac_ext <<_ACEOF
38696 /* end confdefs.h. */
38697 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38699 #define sched_yield innocuous_sched_yield
38701 /* System header to define __stub macros and hopefully few prototypes,
38702 which can conflict with char sched_yield (); below.
38703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38704 <limits.h> exists even on freestanding compilers. */
38707 # include <limits.h>
38709 # include <assert.h>
38714 /* Override any GCC internal prototype to avoid an error.
38715 Use char because int might match the return type of a GCC
38716 builtin and then its argument prototype would still apply. */
38720 char sched_yield ();
38721 /* The GNU C library defines this for functions which it implements
38722 to always fail with ENOSYS. Some functions are actually named
38723 something starting with __ and the normal name is an alias. */
38724 #if defined __stub_sched_yield || defined __stub___sched_yield
38731 return sched_yield ();
38736 rm -f conftest.
$ac_objext conftest
$ac_exeext
38737 if { (ac_try
="$ac_link"
38738 case "(($ac_try" in
38739 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38740 *) ac_try_echo=$ac_try;;
38742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38743 (eval "$ac_link") 2>conftest.er1
38745 grep -v '^ *+' conftest.er1 >conftest.err
38747 cat conftest.err >&5
38748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38749 (exit $ac_status); } && {
38750 test -z "$ac_c_werror_flag" ||
38751 test ! -s conftest.err
38752 } && test -s conftest$ac_exeext &&
38753 $as_test_x conftest$ac_exeext; then
38754 ac_cv_func_sched_yield=yes
38756 echo "$as_me: failed program was:" >&5
38757 sed 's/^/| /' conftest.$ac_ext >&5
38759 ac_cv_func_sched_yield=no
38762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38763 conftest$ac_exeext conftest.$ac_ext
38765 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38766 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38767 if test $ac_cv_func_sched_yield = yes; then
38768 cat >>confdefs.h <<\_ACEOF
38769 #define HAVE_SCHED_YIELD 1
38774 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38775 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38776 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38777 echo $ECHO_N "(cached) $ECHO_C" >&6
38779 ac_check_lib_save_LIBS=$LIBS
38780 LIBS="-lposix4 $LIBS"
38781 cat >conftest.$ac_ext <<_ACEOF
38784 cat confdefs.h >>conftest.$ac_ext
38785 cat >>conftest.$ac_ext <<_ACEOF
38786 /* end confdefs.h. */
38788 /* Override any GCC internal prototype to avoid an error.
38789 Use char because int might match the return type of a GCC
38790 builtin and then its argument prototype would still apply. */
38794 char sched_yield ();
38798 return sched_yield ();
38803 rm -f conftest.$ac_objext conftest$ac_exeext
38804 if { (ac_try="$ac_link"
38805 case "(($ac_try" in
38806 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38807 *) ac_try_echo
=$ac_try;;
38809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38810 (eval "$ac_link") 2>conftest.er1
38812 grep -v '^ *+' conftest.er1
>conftest.err
38814 cat conftest.err
>&5
38815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38816 (exit $ac_status); } && {
38817 test -z "$ac_c_werror_flag" ||
38818 test ! -s conftest.err
38819 } && test -s conftest
$ac_exeext &&
38820 $as_test_x conftest
$ac_exeext; then
38821 ac_cv_lib_posix4_sched_yield
=yes
38823 echo "$as_me: failed program was:" >&5
38824 sed 's/^/| /' conftest.
$ac_ext >&5
38826 ac_cv_lib_posix4_sched_yield
=no
38829 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38830 conftest
$ac_exeext conftest.
$ac_ext
38831 LIBS
=$ac_check_lib_save_LIBS
38833 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38834 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38835 if test $ac_cv_lib_posix4_sched_yield = yes; then
38836 cat >>confdefs.h
<<\_ACEOF
38837 #define HAVE_SCHED_YIELD 1
38839 POSIX4_LINK
=" -lposix4"
38841 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38842 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38853 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38854 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38855 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38856 echo $ECHO_N "(cached) $ECHO_C" >&6
38858 cat >conftest.
$ac_ext <<_ACEOF
38861 cat confdefs.h
>>conftest.
$ac_ext
38862 cat >>conftest.
$ac_ext <<_ACEOF
38863 /* end confdefs.h. */
38864 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38866 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38868 /* System header to define __stub macros and hopefully few prototypes,
38869 which can conflict with char pthread_attr_getschedpolicy (); below.
38870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38871 <limits.h> exists even on freestanding compilers. */
38874 # include <limits.h>
38876 # include <assert.h>
38879 #undef pthread_attr_getschedpolicy
38881 /* Override any GCC internal prototype to avoid an error.
38882 Use char because int might match the return type of a GCC
38883 builtin and then its argument prototype would still apply. */
38887 char pthread_attr_getschedpolicy ();
38888 /* The GNU C library defines this for functions which it implements
38889 to always fail with ENOSYS. Some functions are actually named
38890 something starting with __ and the normal name is an alias. */
38891 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38898 return pthread_attr_getschedpolicy ();
38903 rm -f conftest.
$ac_objext conftest
$ac_exeext
38904 if { (ac_try
="$ac_link"
38905 case "(($ac_try" in
38906 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38907 *) ac_try_echo=$ac_try;;
38909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38910 (eval "$ac_link") 2>conftest.er1
38912 grep -v '^ *+' conftest.er1 >conftest.err
38914 cat conftest.err >&5
38915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38916 (exit $ac_status); } && {
38917 test -z "$ac_c_werror_flag" ||
38918 test ! -s conftest.err
38919 } && test -s conftest$ac_exeext &&
38920 $as_test_x conftest$ac_exeext; then
38921 ac_cv_func_pthread_attr_getschedpolicy=yes
38923 echo "$as_me: failed program was:" >&5
38924 sed 's/^/| /' conftest.$ac_ext >&5
38926 ac_cv_func_pthread_attr_getschedpolicy=no
38929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38930 conftest$ac_exeext conftest.$ac_ext
38932 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38933 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38934 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38935 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38936 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38937 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38938 echo $ECHO_N "(cached) $ECHO_C" >&6
38940 cat >conftest.$ac_ext <<_ACEOF
38943 cat confdefs.h >>conftest.$ac_ext
38944 cat >>conftest.$ac_ext <<_ACEOF
38945 /* end confdefs.h. */
38946 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38948 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38950 /* System header to define __stub macros and hopefully few prototypes,
38951 which can conflict with char pthread_attr_setschedparam (); below.
38952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38953 <limits.h> exists even on freestanding compilers. */
38956 # include <limits.h>
38958 # include <assert.h>
38961 #undef pthread_attr_setschedparam
38963 /* Override any GCC internal prototype to avoid an error.
38964 Use char because int might match the return type of a GCC
38965 builtin and then its argument prototype would still apply. */
38969 char pthread_attr_setschedparam ();
38970 /* The GNU C library defines this for functions which it implements
38971 to always fail with ENOSYS. Some functions are actually named
38972 something starting with __ and the normal name is an alias. */
38973 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38980 return pthread_attr_setschedparam ();
38985 rm -f conftest.$ac_objext conftest$ac_exeext
38986 if { (ac_try="$ac_link"
38987 case "(($ac_try" in
38988 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38989 *) ac_try_echo
=$ac_try;;
38991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38992 (eval "$ac_link") 2>conftest.er1
38994 grep -v '^ *+' conftest.er1
>conftest.err
38996 cat conftest.err
>&5
38997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38998 (exit $ac_status); } && {
38999 test -z "$ac_c_werror_flag" ||
39000 test ! -s conftest.err
39001 } && test -s conftest
$ac_exeext &&
39002 $as_test_x conftest
$ac_exeext; then
39003 ac_cv_func_pthread_attr_setschedparam
=yes
39005 echo "$as_me: failed program was:" >&5
39006 sed 's/^/| /' conftest.
$ac_ext >&5
39008 ac_cv_func_pthread_attr_setschedparam
=no
39011 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39012 conftest
$ac_exeext conftest.
$ac_ext
39014 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39015 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39016 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39017 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39018 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39019 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39020 echo $ECHO_N "(cached) $ECHO_C" >&6
39022 cat >conftest.
$ac_ext <<_ACEOF
39025 cat confdefs.h
>>conftest.
$ac_ext
39026 cat >>conftest.
$ac_ext <<_ACEOF
39027 /* end confdefs.h. */
39028 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39030 #define sched_get_priority_max innocuous_sched_get_priority_max
39032 /* System header to define __stub macros and hopefully few prototypes,
39033 which can conflict with char sched_get_priority_max (); below.
39034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39035 <limits.h> exists even on freestanding compilers. */
39038 # include <limits.h>
39040 # include <assert.h>
39043 #undef sched_get_priority_max
39045 /* Override any GCC internal prototype to avoid an error.
39046 Use char because int might match the return type of a GCC
39047 builtin and then its argument prototype would still apply. */
39051 char sched_get_priority_max ();
39052 /* The GNU C library defines this for functions which it implements
39053 to always fail with ENOSYS. Some functions are actually named
39054 something starting with __ and the normal name is an alias. */
39055 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39062 return sched_get_priority_max ();
39067 rm -f conftest.
$ac_objext conftest
$ac_exeext
39068 if { (ac_try
="$ac_link"
39069 case "(($ac_try" in
39070 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39071 *) ac_try_echo=$ac_try;;
39073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39074 (eval "$ac_link") 2>conftest.er1
39076 grep -v '^ *+' conftest.er1 >conftest.err
39078 cat conftest.err >&5
39079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39080 (exit $ac_status); } && {
39081 test -z "$ac_c_werror_flag" ||
39082 test ! -s conftest.err
39083 } && test -s conftest$ac_exeext &&
39084 $as_test_x conftest$ac_exeext; then
39085 ac_cv_func_sched_get_priority_max=yes
39087 echo "$as_me: failed program was:" >&5
39088 sed 's/^/| /' conftest.$ac_ext >&5
39090 ac_cv_func_sched_get_priority_max=no
39093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39094 conftest$ac_exeext conftest.$ac_ext
39096 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39097 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39098 if test $ac_cv_func_sched_get_priority_max = yes; then
39101 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39102 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39103 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39104 echo $ECHO_N "(cached) $ECHO_C" >&6
39106 ac_check_lib_save_LIBS=$LIBS
39107 LIBS="-lposix4 $LIBS"
39108 cat >conftest.$ac_ext <<_ACEOF
39111 cat confdefs.h >>conftest.$ac_ext
39112 cat >>conftest.$ac_ext <<_ACEOF
39113 /* end confdefs.h. */
39115 /* Override any GCC internal prototype to avoid an error.
39116 Use char because int might match the return type of a GCC
39117 builtin and then its argument prototype would still apply. */
39121 char sched_get_priority_max ();
39125 return sched_get_priority_max ();
39130 rm -f conftest.$ac_objext conftest$ac_exeext
39131 if { (ac_try="$ac_link"
39132 case "(($ac_try" in
39133 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39134 *) ac_try_echo
=$ac_try;;
39136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39137 (eval "$ac_link") 2>conftest.er1
39139 grep -v '^ *+' conftest.er1
>conftest.err
39141 cat conftest.err
>&5
39142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39143 (exit $ac_status); } && {
39144 test -z "$ac_c_werror_flag" ||
39145 test ! -s conftest.err
39146 } && test -s conftest
$ac_exeext &&
39147 $as_test_x conftest
$ac_exeext; then
39148 ac_cv_lib_posix4_sched_get_priority_max
=yes
39150 echo "$as_me: failed program was:" >&5
39151 sed 's/^/| /' conftest.
$ac_ext >&5
39153 ac_cv_lib_posix4_sched_get_priority_max
=no
39156 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39157 conftest
$ac_exeext conftest.
$ac_ext
39158 LIBS
=$ac_check_lib_save_LIBS
39160 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39161 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39162 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39165 POSIX4_LINK
=" -lposix4"
39179 if test "$HAVE_PRIOR_FUNCS" = 1; then
39180 cat >>confdefs.h
<<\_ACEOF
39181 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39185 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39186 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39189 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39190 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39191 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39192 echo $ECHO_N "(cached) $ECHO_C" >&6
39194 cat >conftest.
$ac_ext <<_ACEOF
39197 cat confdefs.h
>>conftest.
$ac_ext
39198 cat >>conftest.
$ac_ext <<_ACEOF
39199 /* end confdefs.h. */
39200 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39202 #define pthread_cancel innocuous_pthread_cancel
39204 /* System header to define __stub macros and hopefully few prototypes,
39205 which can conflict with char pthread_cancel (); below.
39206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39207 <limits.h> exists even on freestanding compilers. */
39210 # include <limits.h>
39212 # include <assert.h>
39215 #undef pthread_cancel
39217 /* Override any GCC internal prototype to avoid an error.
39218 Use char because int might match the return type of a GCC
39219 builtin and then its argument prototype would still apply. */
39223 char pthread_cancel ();
39224 /* The GNU C library defines this for functions which it implements
39225 to always fail with ENOSYS. Some functions are actually named
39226 something starting with __ and the normal name is an alias. */
39227 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39234 return pthread_cancel ();
39239 rm -f conftest.
$ac_objext conftest
$ac_exeext
39240 if { (ac_try
="$ac_link"
39241 case "(($ac_try" in
39242 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39243 *) ac_try_echo=$ac_try;;
39245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39246 (eval "$ac_link") 2>conftest.er1
39248 grep -v '^ *+' conftest.er1 >conftest.err
39250 cat conftest.err >&5
39251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39252 (exit $ac_status); } && {
39253 test -z "$ac_c_werror_flag" ||
39254 test ! -s conftest.err
39255 } && test -s conftest$ac_exeext &&
39256 $as_test_x conftest$ac_exeext; then
39257 ac_cv_func_pthread_cancel=yes
39259 echo "$as_me: failed program was:" >&5
39260 sed 's/^/| /' conftest.$ac_ext >&5
39262 ac_cv_func_pthread_cancel=no
39265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39266 conftest$ac_exeext conftest.$ac_ext
39268 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39269 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39270 if test $ac_cv_func_pthread_cancel = yes; then
39271 cat >>confdefs.h <<\_ACEOF
39272 #define HAVE_PTHREAD_CANCEL 1
39276 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39277 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39281 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39282 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39283 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39284 echo $ECHO_N "(cached) $ECHO_C" >&6
39286 cat >conftest.$ac_ext <<_ACEOF
39289 cat confdefs.h >>conftest.$ac_ext
39290 cat >>conftest.$ac_ext <<_ACEOF
39291 /* end confdefs.h. */
39292 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39294 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39296 /* System header to define __stub macros and hopefully few prototypes,
39297 which can conflict with char pthread_mutex_timedlock (); below.
39298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39299 <limits.h> exists even on freestanding compilers. */
39302 # include <limits.h>
39304 # include <assert.h>
39307 #undef pthread_mutex_timedlock
39309 /* Override any GCC internal prototype to avoid an error.
39310 Use char because int might match the return type of a GCC
39311 builtin and then its argument prototype would still apply. */
39315 char pthread_mutex_timedlock ();
39316 /* The GNU C library defines this for functions which it implements
39317 to always fail with ENOSYS. Some functions are actually named
39318 something starting with __ and the normal name is an alias. */
39319 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39326 return pthread_mutex_timedlock ();
39331 rm -f conftest.$ac_objext conftest$ac_exeext
39332 if { (ac_try="$ac_link"
39333 case "(($ac_try" in
39334 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39335 *) ac_try_echo
=$ac_try;;
39337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39338 (eval "$ac_link") 2>conftest.er1
39340 grep -v '^ *+' conftest.er1
>conftest.err
39342 cat conftest.err
>&5
39343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39344 (exit $ac_status); } && {
39345 test -z "$ac_c_werror_flag" ||
39346 test ! -s conftest.err
39347 } && test -s conftest
$ac_exeext &&
39348 $as_test_x conftest
$ac_exeext; then
39349 ac_cv_func_pthread_mutex_timedlock
=yes
39351 echo "$as_me: failed program was:" >&5
39352 sed 's/^/| /' conftest.
$ac_ext >&5
39354 ac_cv_func_pthread_mutex_timedlock
=no
39357 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39358 conftest
$ac_exeext conftest.
$ac_ext
39360 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39361 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39362 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39363 cat >>confdefs.h
<<\_ACEOF
39364 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39368 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39369 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39373 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39374 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39375 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39376 echo $ECHO_N "(cached) $ECHO_C" >&6
39378 cat >conftest.
$ac_ext <<_ACEOF
39381 cat confdefs.h
>>conftest.
$ac_ext
39382 cat >>conftest.
$ac_ext <<_ACEOF
39383 /* end confdefs.h. */
39384 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39386 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39388 /* System header to define __stub macros and hopefully few prototypes,
39389 which can conflict with char pthread_attr_setstacksize (); below.
39390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39391 <limits.h> exists even on freestanding compilers. */
39394 # include <limits.h>
39396 # include <assert.h>
39399 #undef pthread_attr_setstacksize
39401 /* Override any GCC internal prototype to avoid an error.
39402 Use char because int might match the return type of a GCC
39403 builtin and then its argument prototype would still apply. */
39407 char pthread_attr_setstacksize ();
39408 /* The GNU C library defines this for functions which it implements
39409 to always fail with ENOSYS. Some functions are actually named
39410 something starting with __ and the normal name is an alias. */
39411 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39418 return pthread_attr_setstacksize ();
39423 rm -f conftest.
$ac_objext conftest
$ac_exeext
39424 if { (ac_try
="$ac_link"
39425 case "(($ac_try" in
39426 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39427 *) ac_try_echo=$ac_try;;
39429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39430 (eval "$ac_link") 2>conftest.er1
39432 grep -v '^ *+' conftest.er1 >conftest.err
39434 cat conftest.err >&5
39435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39436 (exit $ac_status); } && {
39437 test -z "$ac_c_werror_flag" ||
39438 test ! -s conftest.err
39439 } && test -s conftest$ac_exeext &&
39440 $as_test_x conftest$ac_exeext; then
39441 ac_cv_func_pthread_attr_setstacksize=yes
39443 echo "$as_me: failed program was:" >&5
39444 sed 's/^/| /' conftest.$ac_ext >&5
39446 ac_cv_func_pthread_attr_setstacksize=no
39449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39450 conftest$ac_exeext conftest.$ac_ext
39452 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39453 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39454 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39455 cat >>confdefs.h <<\_ACEOF
39456 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39463 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39464 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39465 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39466 echo $ECHO_N "(cached) $ECHO_C" >&6
39469 cat >conftest.$ac_ext <<_ACEOF
39472 cat confdefs.h >>conftest.$ac_ext
39473 cat >>conftest.$ac_ext <<_ACEOF
39474 /* end confdefs.h. */
39475 #include <pthread.h>
39480 pthread_mutexattr_t attr;
39481 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39487 rm -f conftest.$ac_objext
39488 if { (ac_try="$ac_compile"
39489 case "(($ac_try" in
39490 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39491 *) ac_try_echo
=$ac_try;;
39493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39494 (eval "$ac_compile") 2>conftest.er1
39496 grep -v '^ *+' conftest.er1
>conftest.err
39498 cat conftest.err
>&5
39499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39500 (exit $ac_status); } && {
39501 test -z "$ac_c_werror_flag" ||
39502 test ! -s conftest.err
39503 } && test -s conftest.
$ac_objext; then
39504 wx_cv_type_pthread_mutexattr_t
=yes
39506 echo "$as_me: failed program was:" >&5
39507 sed 's/^/| /' conftest.
$ac_ext >&5
39509 wx_cv_type_pthread_mutexattr_t
=no
39513 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39516 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39517 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39519 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39520 cat >>confdefs.h
<<\_ACEOF
39521 #define HAVE_PTHREAD_MUTEXATTR_T 1
39525 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39526 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39527 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39528 echo $ECHO_N "(cached) $ECHO_C" >&6
39531 cat >conftest.
$ac_ext <<_ACEOF
39534 cat confdefs.h
>>conftest.
$ac_ext
39535 cat >>conftest.
$ac_ext <<_ACEOF
39536 /* end confdefs.h. */
39537 #include <pthread.h>
39542 pthread_mutexattr_t attr;
39543 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39549 rm -f conftest.
$ac_objext
39550 if { (ac_try
="$ac_compile"
39551 case "(($ac_try" in
39552 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39553 *) ac_try_echo=$ac_try;;
39555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39556 (eval "$ac_compile") 2>conftest.er1
39558 grep -v '^ *+' conftest.er1 >conftest.err
39560 cat conftest.err >&5
39561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39562 (exit $ac_status); } && {
39563 test -z "$ac_c_werror_flag" ||
39564 test ! -s conftest.err
39565 } && test -s conftest.$ac_objext; then
39566 wx_cv_func_pthread_mutexattr_settype_decl=yes
39568 echo "$as_me: failed program was:" >&5
39569 sed 's/^/| /' conftest.$ac_ext >&5
39571 wx_cv_func_pthread_mutexattr_settype_decl=no
39575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39578 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39579 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39580 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39581 cat >>confdefs.h <<\_ACEOF
39582 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39587 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39588 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39589 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39590 echo $ECHO_N "(cached) $ECHO_C" >&6
39593 cat >conftest.$ac_ext <<_ACEOF
39596 cat confdefs.h >>conftest.$ac_ext
39597 cat >>conftest.$ac_ext <<_ACEOF
39598 /* end confdefs.h. */
39599 #include <pthread.h>
39604 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39610 rm -f conftest.$ac_objext
39611 if { (ac_try="$ac_compile"
39612 case "(($ac_try" in
39613 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39614 *) ac_try_echo
=$ac_try;;
39616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39617 (eval "$ac_compile") 2>conftest.er1
39619 grep -v '^ *+' conftest.er1
>conftest.err
39621 cat conftest.err
>&5
39622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39623 (exit $ac_status); } && {
39624 test -z "$ac_c_werror_flag" ||
39625 test ! -s conftest.err
39626 } && test -s conftest.
$ac_objext; then
39628 wx_cv_type_pthread_rec_mutex_init
=yes
39631 echo "$as_me: failed program was:" >&5
39632 sed 's/^/| /' conftest.
$ac_ext >&5
39635 wx_cv_type_pthread_rec_mutex_init
=no
39640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39643 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39644 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39645 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39646 cat >>confdefs.h
<<\_ACEOF
39647 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39651 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39652 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39658 if test "$wxUSE_THREADS" = "yes" ; then
39661 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39662 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39663 if test "${wx_cv_cflags_mthread+set}" = set; then
39664 echo $ECHO_N "(cached) $ECHO_C" >&6
39667 CFLAGS_OLD
="$CFLAGS"
39668 CFLAGS
="-mthreads $CFLAGS"
39669 cat >conftest.
$ac_ext <<_ACEOF
39672 cat confdefs.h
>>conftest.
$ac_ext
39673 cat >>conftest.
$ac_ext <<_ACEOF
39674 /* end confdefs.h. */
39684 rm -f conftest.
$ac_objext
39685 if { (ac_try
="$ac_compile"
39686 case "(($ac_try" in
39687 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39688 *) ac_try_echo=$ac_try;;
39690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39691 (eval "$ac_compile") 2>conftest.er1
39693 grep -v '^ *+' conftest.er1 >conftest.err
39695 cat conftest.err >&5
39696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39697 (exit $ac_status); } && {
39698 test -z "$ac_c_werror_flag" ||
39699 test ! -s conftest.err
39700 } && test -s conftest.$ac_objext; then
39701 wx_cv_cflags_mthread=yes
39703 echo "$as_me: failed program was:" >&5
39704 sed 's/^/| /' conftest.$ac_ext >&5
39706 wx_cv_cflags_mthread=no
39710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39714 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39715 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39717 if test "$wx_cv_cflags_mthread" = "yes"; then
39718 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39719 LDFLAGS="$LDFLAGS -mthreads"
39721 CFLAGS="$CFLAGS_OLD"
39725 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39726 LDFLAGS="$LDFLAGS -Zmt"
39732 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39733 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39734 if test "${ac_cv_func_localtime_r+set}" = set; then
39735 echo $ECHO_N "(cached) $ECHO_C" >&6
39737 cat >conftest.$ac_ext <<_ACEOF
39740 cat confdefs.h >>conftest.$ac_ext
39741 cat >>conftest.$ac_ext <<_ACEOF
39742 /* end confdefs.h. */
39743 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39745 #define localtime_r innocuous_localtime_r
39747 /* System header to define __stub macros and hopefully few prototypes,
39748 which can conflict with char localtime_r (); below.
39749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39750 <limits.h> exists even on freestanding compilers. */
39753 # include <limits.h>
39755 # include <assert.h>
39760 /* Override any GCC internal prototype to avoid an error.
39761 Use char because int might match the return type of a GCC
39762 builtin and then its argument prototype would still apply. */
39766 char localtime_r ();
39767 /* The GNU C library defines this for functions which it implements
39768 to always fail with ENOSYS. Some functions are actually named
39769 something starting with __ and the normal name is an alias. */
39770 #if defined __stub_localtime_r || defined __stub___localtime_r
39777 return localtime_r ();
39782 rm -f conftest.$ac_objext conftest$ac_exeext
39783 if { (ac_try="$ac_link"
39784 case "(($ac_try" in
39785 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39786 *) ac_try_echo
=$ac_try;;
39788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39789 (eval "$ac_link") 2>conftest.er1
39791 grep -v '^ *+' conftest.er1
>conftest.err
39793 cat conftest.err
>&5
39794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39795 (exit $ac_status); } && {
39796 test -z "$ac_c_werror_flag" ||
39797 test ! -s conftest.err
39798 } && test -s conftest
$ac_exeext &&
39799 $as_test_x conftest
$ac_exeext; then
39800 ac_cv_func_localtime_r
=yes
39802 echo "$as_me: failed program was:" >&5
39803 sed 's/^/| /' conftest.
$ac_ext >&5
39805 ac_cv_func_localtime_r
=no
39808 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39809 conftest
$ac_exeext conftest.
$ac_ext
39811 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39812 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39813 if test $ac_cv_func_localtime_r = yes; then
39814 cat >>confdefs.h
<<\_ACEOF
39815 #define HAVE_LOCALTIME_R 1
39820 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39821 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39822 if test "${ac_cv_func_gmtime_r+set}" = set; then
39823 echo $ECHO_N "(cached) $ECHO_C" >&6
39825 cat >conftest.
$ac_ext <<_ACEOF
39828 cat confdefs.h
>>conftest.
$ac_ext
39829 cat >>conftest.
$ac_ext <<_ACEOF
39830 /* end confdefs.h. */
39831 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39833 #define gmtime_r innocuous_gmtime_r
39835 /* System header to define __stub macros and hopefully few prototypes,
39836 which can conflict with char gmtime_r (); below.
39837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39838 <limits.h> exists even on freestanding compilers. */
39841 # include <limits.h>
39843 # include <assert.h>
39848 /* Override any GCC internal prototype to avoid an error.
39849 Use char because int might match the return type of a GCC
39850 builtin and then its argument prototype would still apply. */
39855 /* The GNU C library defines this for functions which it implements
39856 to always fail with ENOSYS. Some functions are actually named
39857 something starting with __ and the normal name is an alias. */
39858 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39865 return gmtime_r ();
39870 rm -f conftest.
$ac_objext conftest
$ac_exeext
39871 if { (ac_try
="$ac_link"
39872 case "(($ac_try" in
39873 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39874 *) ac_try_echo=$ac_try;;
39876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39877 (eval "$ac_link") 2>conftest.er1
39879 grep -v '^ *+' conftest.er1 >conftest.err
39881 cat conftest.err >&5
39882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39883 (exit $ac_status); } && {
39884 test -z "$ac_c_werror_flag" ||
39885 test ! -s conftest.err
39886 } && test -s conftest$ac_exeext &&
39887 $as_test_x conftest$ac_exeext; then
39888 ac_cv_func_gmtime_r=yes
39890 echo "$as_me: failed program was:" >&5
39891 sed 's/^/| /' conftest.$ac_ext >&5
39893 ac_cv_func_gmtime_r=no
39896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39897 conftest$ac_exeext conftest.$ac_ext
39899 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39900 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39901 if test $ac_cv_func_gmtime_r = yes; then
39902 cat >>confdefs.h <<\_ACEOF
39903 #define HAVE_GMTIME_R 1
39912 ac_cpp='$CPP $CPPFLAGS'
39913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39917 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39918 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39920 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39921 echo $ECHO_N "(cached) $ECHO_C" >&6
39925 ################################################################
39927 ac_cv_func_which_gethostbyname_r=unknown
39930 # ONE ARGUMENT (sanity check)
39933 # This should fail, as there is no variant of gethostbyname_r() that takes
39934 # a single argument. If it actually compiles, then we can assume that
39935 # netdb.h is not declaring the function, and the compiler is thereby
39936 # assuming an implicit prototype. In which case, we're out of luck.
39938 cat >conftest.$ac_ext <<_ACEOF
39941 cat confdefs.h >>conftest.$ac_ext
39942 cat >>conftest.$ac_ext <<_ACEOF
39943 /* end confdefs.h. */
39949 char *name = "www.gnu.org";
39950 (void)gethostbyname_r(name) /* ; */
39956 rm -f conftest.$ac_objext
39957 if { (ac_try="$ac_compile"
39958 case "(($ac_try" in
39959 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39960 *) ac_try_echo
=$ac_try;;
39962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39963 (eval "$ac_compile") 2>conftest.er1
39965 grep -v '^ *+' conftest.er1
>conftest.err
39967 cat conftest.err
>&5
39968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39969 (exit $ac_status); } && {
39970 test -z "$ac_c_werror_flag" ||
39971 test ! -s conftest.err
39972 } && test -s conftest.
$ac_objext; then
39973 ac_cv_func_which_gethostbyname_r
=no
39975 echo "$as_me: failed program was:" >&5
39976 sed 's/^/| /' conftest.
$ac_ext >&5
39981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39988 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39990 cat >conftest.
$ac_ext <<_ACEOF
39993 cat confdefs.h
>>conftest.
$ac_ext
39994 cat >>conftest.
$ac_ext <<_ACEOF
39995 /* end confdefs.h. */
40001 char *name = "www.gnu.org";
40002 struct hostent ret, *retp;
40006 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40012 rm -f conftest.
$ac_objext
40013 if { (ac_try
="$ac_compile"
40014 case "(($ac_try" in
40015 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40016 *) ac_try_echo=$ac_try;;
40018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40019 (eval "$ac_compile") 2>conftest.er1
40021 grep -v '^ *+' conftest.er1 >conftest.err
40023 cat conftest.err >&5
40024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40025 (exit $ac_status); } && {
40026 test -z "$ac_c_werror_flag" ||
40027 test ! -s conftest.err
40028 } && test -s conftest.$ac_objext; then
40029 ac_cv_func_which_gethostbyname_r=six
40031 echo "$as_me: failed program was:" >&5
40032 sed 's/^/| /' conftest.$ac_ext >&5
40037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40046 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40048 cat >conftest.$ac_ext <<_ACEOF
40051 cat confdefs.h >>conftest.$ac_ext
40052 cat >>conftest.$ac_ext <<_ACEOF
40053 /* end confdefs.h. */
40059 char *name = "www.gnu.org";
40060 struct hostent ret;
40064 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40070 rm -f conftest.$ac_objext
40071 if { (ac_try="$ac_compile"
40072 case "(($ac_try" in
40073 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40074 *) ac_try_echo
=$ac_try;;
40076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40077 (eval "$ac_compile") 2>conftest.er1
40079 grep -v '^ *+' conftest.er1
>conftest.err
40081 cat conftest.err
>&5
40082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40083 (exit $ac_status); } && {
40084 test -z "$ac_c_werror_flag" ||
40085 test ! -s conftest.err
40086 } && test -s conftest.
$ac_objext; then
40087 ac_cv_func_which_gethostbyname_r
=five
40089 echo "$as_me: failed program was:" >&5
40090 sed 's/^/| /' conftest.
$ac_ext >&5
40095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40101 # (e.g. AIX, HP-UX, Tru64)
40104 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40106 cat >conftest.
$ac_ext <<_ACEOF
40109 cat confdefs.h
>>conftest.
$ac_ext
40110 cat >>conftest.
$ac_ext <<_ACEOF
40111 /* end confdefs.h. */
40117 char *name = "www.gnu.org";
40118 struct hostent ret;
40119 struct hostent_data data;
40120 (void)gethostbyname_r(name, &ret, &data) /* ; */
40126 rm -f conftest.
$ac_objext
40127 if { (ac_try
="$ac_compile"
40128 case "(($ac_try" in
40129 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40130 *) ac_try_echo=$ac_try;;
40132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40133 (eval "$ac_compile") 2>conftest.er1
40135 grep -v '^ *+' conftest.er1 >conftest.err
40137 cat conftest.err >&5
40138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40139 (exit $ac_status); } && {
40140 test -z "$ac_c_werror_flag" ||
40141 test ! -s conftest.err
40142 } && test -s conftest.$ac_objext; then
40143 ac_cv_func_which_gethostbyname_r=three
40145 echo "$as_me: failed program was:" >&5
40146 sed 's/^/| /' conftest.$ac_ext >&5
40151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40155 ################################################################
40160 case "$ac_cv_func_which_gethostbyname_r" in
40162 { echo "$as_me:$LINENO: result: three" >&5
40163 echo "${ECHO_T}three" >&6; }
40164 cat >>confdefs.h <<\_ACEOF
40165 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40171 { echo "$as_me:$LINENO: result: five" >&5
40172 echo "${ECHO_T}five" >&6; }
40173 cat >>confdefs.h <<\_ACEOF
40174 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40180 { echo "$as_me:$LINENO: result: six" >&5
40181 echo "${ECHO_T}six" >&6; }
40182 cat >>confdefs.h <<\_ACEOF
40183 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40189 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40190 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40194 { echo "$as_me:$LINENO: result: can't tell" >&5
40195 echo "${ECHO_T}can't tell" >&6; }
40199 { { echo "$as_me:$LINENO: error: internal error" >&5
40200 echo "$as_me: error: internal error" >&2;}
40201 { (exit 1); exit 1; }; }
40206 ac_cpp='$CPP $CPPFLAGS'
40207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40213 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40214 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40215 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40216 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40217 if test "${ac_cv_func_gethostbyname+set}" = set; then
40218 echo $ECHO_N "(cached) $ECHO_C" >&6
40220 cat >conftest.$ac_ext <<_ACEOF
40223 cat confdefs.h >>conftest.$ac_ext
40224 cat >>conftest.$ac_ext <<_ACEOF
40225 /* end confdefs.h. */
40226 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40228 #define gethostbyname innocuous_gethostbyname
40230 /* System header to define __stub macros and hopefully few prototypes,
40231 which can conflict with char gethostbyname (); below.
40232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40233 <limits.h> exists even on freestanding compilers. */
40236 # include <limits.h>
40238 # include <assert.h>
40241 #undef gethostbyname
40243 /* Override any GCC internal prototype to avoid an error.
40244 Use char because int might match the return type of a GCC
40245 builtin and then its argument prototype would still apply. */
40249 char gethostbyname ();
40250 /* The GNU C library defines this for functions which it implements
40251 to always fail with ENOSYS. Some functions are actually named
40252 something starting with __ and the normal name is an alias. */
40253 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40260 return gethostbyname ();
40265 rm -f conftest.$ac_objext conftest$ac_exeext
40266 if { (ac_try="$ac_link"
40267 case "(($ac_try" in
40268 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40269 *) ac_try_echo
=$ac_try;;
40271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40272 (eval "$ac_link") 2>conftest.er1
40274 grep -v '^ *+' conftest.er1
>conftest.err
40276 cat conftest.err
>&5
40277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40278 (exit $ac_status); } && {
40279 test -z "$ac_c_werror_flag" ||
40280 test ! -s conftest.err
40281 } && test -s conftest
$ac_exeext &&
40282 $as_test_x conftest
$ac_exeext; then
40283 ac_cv_func_gethostbyname
=yes
40285 echo "$as_me: failed program was:" >&5
40286 sed 's/^/| /' conftest.
$ac_ext >&5
40288 ac_cv_func_gethostbyname
=no
40291 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40292 conftest
$ac_exeext conftest.
$ac_ext
40294 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40295 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40296 if test $ac_cv_func_gethostbyname = yes; then
40297 cat >>confdefs.h
<<\_ACEOF
40298 #define HAVE_GETHOSTBYNAME 1
40305 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40306 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40307 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40308 echo $ECHO_N "(cached) $ECHO_C" >&6
40312 ac_cpp
='$CXXCPP $CPPFLAGS'
40313 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40314 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40315 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40318 cat >conftest.
$ac_ext <<_ACEOF
40321 cat confdefs.h
>>conftest.
$ac_ext
40322 cat >>conftest.
$ac_ext <<_ACEOF
40323 /* end confdefs.h. */
40331 struct servent *se, *res;
40334 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40340 rm -f conftest.
$ac_objext
40341 if { (ac_try
="$ac_compile"
40342 case "(($ac_try" in
40343 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40344 *) ac_try_echo=$ac_try;;
40346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40347 (eval "$ac_compile") 2>conftest.er1
40349 grep -v '^ *+' conftest.er1 >conftest.err
40351 cat conftest.err >&5
40352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40353 (exit $ac_status); } && {
40354 test -z "$ac_cxx_werror_flag" ||
40355 test ! -s conftest.err
40356 } && test -s conftest.$ac_objext; then
40357 ac_cv_func_which_getservbyname_r=six
40359 echo "$as_me: failed program was:" >&5
40360 sed 's/^/| /' conftest.$ac_ext >&5
40363 cat >conftest.$ac_ext <<_ACEOF
40366 cat confdefs.h >>conftest.$ac_ext
40367 cat >>conftest.$ac_ext <<_ACEOF
40368 /* end confdefs.h. */
40376 struct servent *se;
40379 (void) getservbyname_r(name, proto, se, buffer, buflen)
40385 rm -f conftest.$ac_objext
40386 if { (ac_try="$ac_compile"
40387 case "(($ac_try" in
40388 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40389 *) ac_try_echo
=$ac_try;;
40391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40392 (eval "$ac_compile") 2>conftest.er1
40394 grep -v '^ *+' conftest.er1
>conftest.err
40396 cat conftest.err
>&5
40397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40398 (exit $ac_status); } && {
40399 test -z "$ac_cxx_werror_flag" ||
40400 test ! -s conftest.err
40401 } && test -s conftest.
$ac_objext; then
40402 ac_cv_func_which_getservbyname_r
=five
40404 echo "$as_me: failed program was:" >&5
40405 sed 's/^/| /' conftest.
$ac_ext >&5
40408 cat >conftest.
$ac_ext <<_ACEOF
40411 cat confdefs.h
>>conftest.
$ac_ext
40412 cat >>conftest.
$ac_ext <<_ACEOF
40413 /* end confdefs.h. */
40421 struct servent *se;
40422 struct servent_data data;
40423 (void) getservbyname_r(name, proto, se, &data);
40429 rm -f conftest.
$ac_objext
40430 if { (ac_try
="$ac_compile"
40431 case "(($ac_try" in
40432 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40433 *) ac_try_echo=$ac_try;;
40435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40436 (eval "$ac_compile") 2>conftest.er1
40438 grep -v '^ *+' conftest.er1 >conftest.err
40440 cat conftest.err >&5
40441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40442 (exit $ac_status); } && {
40443 test -z "$ac_cxx_werror_flag" ||
40444 test ! -s conftest.err
40445 } && test -s conftest.$ac_objext; then
40446 ac_cv_func_which_getservbyname_r=four
40448 echo "$as_me: failed program was:" >&5
40449 sed 's/^/| /' conftest.$ac_ext >&5
40451 ac_cv_func_which_getservbyname_r=no
40455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40467 ac_cpp='$CPP $CPPFLAGS'
40468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40475 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40476 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40478 if test $ac_cv_func_which_getservbyname_r = six; then
40479 cat >>confdefs.h <<\_ACEOF
40480 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40483 elif test $ac_cv_func_which_getservbyname_r = five; then
40484 cat >>confdefs.h <<\_ACEOF
40485 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40488 elif test $ac_cv_func_which_getservbyname_r = four; then
40489 cat >>confdefs.h <<\_ACEOF
40490 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40496 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40497 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40499 for ac_func in getservbyname
40501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40502 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40504 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40505 echo $ECHO_N "(cached) $ECHO_C" >&6
40507 cat >conftest.$ac_ext <<_ACEOF
40510 cat confdefs.h >>conftest.$ac_ext
40511 cat >>conftest.$ac_ext <<_ACEOF
40512 /* end confdefs.h. */
40513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40515 #define $ac_func innocuous_$ac_func
40517 /* System header to define __stub macros and hopefully few prototypes,
40518 which can conflict with char $ac_func (); below.
40519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40520 <limits.h> exists even on freestanding compilers. */
40523 # include <limits.h>
40525 # include <assert.h>
40530 /* Override any GCC internal prototype to avoid an error.
40531 Use char because int might match the return type of a GCC
40532 builtin and then its argument prototype would still apply. */
40537 /* The GNU C library defines this for functions which it implements
40538 to always fail with ENOSYS. Some functions are actually named
40539 something starting with __ and the normal name is an alias. */
40540 #if defined __stub_$ac_func || defined __stub___$ac_func
40547 return $ac_func ();
40552 rm -f conftest.$ac_objext conftest$ac_exeext
40553 if { (ac_try="$ac_link"
40554 case "(($ac_try" in
40555 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40556 *) ac_try_echo
=$ac_try;;
40558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40559 (eval "$ac_link") 2>conftest.er1
40561 grep -v '^ *+' conftest.er1
>conftest.err
40563 cat conftest.err
>&5
40564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40565 (exit $ac_status); } && {
40566 test -z "$ac_c_werror_flag" ||
40567 test ! -s conftest.err
40568 } && test -s conftest
$ac_exeext &&
40569 $as_test_x conftest
$ac_exeext; then
40570 eval "$as_ac_var=yes"
40572 echo "$as_me: failed program was:" >&5
40573 sed 's/^/| /' conftest.
$ac_ext >&5
40575 eval "$as_ac_var=no"
40578 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40579 conftest
$ac_exeext conftest.
$ac_ext
40581 ac_res
=`eval echo '${'$as_ac_var'}'`
40582 { echo "$as_me:$LINENO: result: $ac_res" >&5
40583 echo "${ECHO_T}$ac_res" >&6; }
40584 if test `eval echo '${'$as_ac_var'}'` = yes; then
40585 cat >>confdefs.h
<<_ACEOF
40586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40588 cat >>confdefs.h
<<\_ACEOF
40589 #define HAVE_GETSERVBYNAME 1
40597 if test "$wxUSE_THREADS" = "yes"; then
40598 cat >>confdefs.h
<<\_ACEOF
40599 #define wxUSE_THREADS 1
40603 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
40605 if test "$wx_cv_func_strtok_r" = "yes"; then
40606 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40607 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40608 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40609 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40610 { echo "$as_me:$LINENO: result: yes" >&5
40611 echo "${ECHO_T}yes" >&6; }
40613 { echo "$as_me:$LINENO: result: no" >&5
40614 echo "${ECHO_T}no" >&6; }
40619 if test "$WXGTK2" = 1 ; then
40620 cat >>confdefs.h
<<_ACEOF
40621 #define __WXGTK20__ $WXGTK2
40627 if test "$WXGTK12" = 1 ; then
40628 cat >>confdefs.h
<<_ACEOF
40629 #define __WXGTK12__ $WXGTK12
40634 if test "$WXGTK127" = 1 ; then
40635 cat >>confdefs.h
<<_ACEOF
40636 #define __WXGTK127__ $WXGTK127
40641 if test "$WXGPE" = 1 ; then
40642 cat >>confdefs.h
<<_ACEOF
40643 #define __WXGPE__ $WXGPE
40649 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40654 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40655 wxUSE_DEBUG_INFO
=yes
40656 if test "$GCC" = yes; then
40657 DEBUG_CFLAGS
="-ggdb"
40661 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40662 cat >>confdefs.h
<<\_ACEOF
40666 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40668 if test "$wxUSE_GTK" = 1 ; then
40669 if test "x$wxGTK_VERSION" = "x1" ; then
40670 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40675 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40676 cat >>confdefs.h
<<\_ACEOF
40677 #define wxUSE_MEMORY_TRACING 1
40680 cat >>confdefs.h
<<\_ACEOF
40681 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40684 cat >>confdefs.h
<<\_ACEOF
40685 #define wxUSE_DEBUG_NEW_ALWAYS 1
40688 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
40691 if test "$wxUSE_DMALLOC" = "yes" ; then
40692 DMALLOC_LIBS
="-ldmallocthcxx"
40696 if test "$wxUSE_PROFILE" = "yes" ; then
40697 PROFILE_FLAGS
=" -pg"
40700 if test "$GCC" = "yes" ; then
40701 if test "$wxUSE_NO_RTTI" = "yes" ; then
40702 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
40704 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40705 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
40707 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40708 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
40713 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
40716 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
40722 if test "$wxUSE_OPTIMISE" = "no" ; then
40723 if test "$GCC" = yes ; then
40724 OPTIMISE_CFLAGS
="-O0"
40727 if test "$GCC" = yes ; then
40729 *-pc-os2_emx | *-pc-os2-emx )
40730 OPTIMISE_CFLAGS
="-O2"
40733 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
40737 OPTIMISE_CFLAGS
="-O"
40742 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40743 cat >>confdefs.h
<<\_ACEOF
40744 #define WXWIN_COMPATIBILITY_2_6 1
40748 WXWIN_COMPATIBILITY_2_8
="yes"
40751 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40752 cat >>confdefs.h
<<\_ACEOF
40753 #define WXWIN_COMPATIBILITY_2_8 1
40759 if test "$wxUSE_GUI" = "yes"; then
40760 cat >>confdefs.h
<<\_ACEOF
40761 #define wxUSE_GUI 1
40768 if test "$wxUSE_UNIX" = "yes"; then
40769 cat >>confdefs.h
<<\_ACEOF
40770 #define wxUSE_UNIX 1
40776 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40780 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40781 if test "$USE_DARWIN" = 1; then
40783 elif test "$USE_DOS" = 1; then
40787 for ac_func
in dlopen
40789 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40790 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40792 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40793 echo $ECHO_N "(cached) $ECHO_C" >&6
40795 cat >conftest.
$ac_ext <<_ACEOF
40798 cat confdefs.h
>>conftest.
$ac_ext
40799 cat >>conftest.
$ac_ext <<_ACEOF
40800 /* end confdefs.h. */
40801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40803 #define $ac_func innocuous_$ac_func
40805 /* System header to define __stub macros and hopefully few prototypes,
40806 which can conflict with char $ac_func (); below.
40807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40808 <limits.h> exists even on freestanding compilers. */
40811 # include <limits.h>
40813 # include <assert.h>
40818 /* Override any GCC internal prototype to avoid an error.
40819 Use char because int might match the return type of a GCC
40820 builtin and then its argument prototype would still apply. */
40825 /* The GNU C library defines this for functions which it implements
40826 to always fail with ENOSYS. Some functions are actually named
40827 something starting with __ and the normal name is an alias. */
40828 #if defined __stub_$ac_func || defined __stub___$ac_func
40835 return $ac_func ();
40840 rm -f conftest.
$ac_objext conftest
$ac_exeext
40841 if { (ac_try
="$ac_link"
40842 case "(($ac_try" in
40843 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40844 *) ac_try_echo=$ac_try;;
40846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40847 (eval "$ac_link") 2>conftest.er1
40849 grep -v '^ *+' conftest.er1 >conftest.err
40851 cat conftest.err >&5
40852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40853 (exit $ac_status); } && {
40854 test -z "$ac_c_werror_flag" ||
40855 test ! -s conftest.err
40856 } && test -s conftest$ac_exeext &&
40857 $as_test_x conftest$ac_exeext; then
40858 eval "$as_ac_var=yes"
40860 echo "$as_me: failed program was:" >&5
40861 sed 's/^/| /' conftest.$ac_ext >&5
40863 eval "$as_ac_var=no"
40866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40867 conftest$ac_exeext conftest.$ac_ext
40869 ac_res=`eval echo '${'$as_ac_var'}'`
40870 { echo "$as_me:$LINENO: result: $ac_res" >&5
40871 echo "${ECHO_T}$ac_res" >&6; }
40872 if test `eval echo '${'$as_ac_var'}'` = yes; then
40873 cat >>confdefs.h <<_ACEOF
40874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40877 cat >>confdefs.h <<\_ACEOF
40878 #define HAVE_DLOPEN 1
40885 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40886 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40887 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40888 echo $ECHO_N "(cached) $ECHO_C" >&6
40890 ac_check_lib_save_LIBS=$LIBS
40892 cat >conftest.$ac_ext <<_ACEOF
40895 cat confdefs.h >>conftest.$ac_ext
40896 cat >>conftest.$ac_ext <<_ACEOF
40897 /* end confdefs.h. */
40899 /* Override any GCC internal prototype to avoid an error.
40900 Use char because int might match the return type of a GCC
40901 builtin and then its argument prototype would still apply. */
40914 rm -f conftest.$ac_objext conftest$ac_exeext
40915 if { (ac_try="$ac_link"
40916 case "(($ac_try" in
40917 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40918 *) ac_try_echo
=$ac_try;;
40920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40921 (eval "$ac_link") 2>conftest.er1
40923 grep -v '^ *+' conftest.er1
>conftest.err
40925 cat conftest.err
>&5
40926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40927 (exit $ac_status); } && {
40928 test -z "$ac_c_werror_flag" ||
40929 test ! -s conftest.err
40930 } && test -s conftest
$ac_exeext &&
40931 $as_test_x conftest
$ac_exeext; then
40932 ac_cv_lib_dl_dlopen
=yes
40934 echo "$as_me: failed program was:" >&5
40935 sed 's/^/| /' conftest.
$ac_ext >&5
40937 ac_cv_lib_dl_dlopen
=no
40940 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40941 conftest
$ac_exeext conftest.
$ac_ext
40942 LIBS
=$ac_check_lib_save_LIBS
40944 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40945 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40946 if test $ac_cv_lib_dl_dlopen = yes; then
40948 cat >>confdefs.h
<<\_ACEOF
40949 #define HAVE_DLOPEN 1
40953 DL_LINK
=" -ldl$DL_LINK"
40958 for ac_func
in shl_load
40960 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40961 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40963 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40964 echo $ECHO_N "(cached) $ECHO_C" >&6
40966 cat >conftest.
$ac_ext <<_ACEOF
40969 cat confdefs.h
>>conftest.
$ac_ext
40970 cat >>conftest.
$ac_ext <<_ACEOF
40971 /* end confdefs.h. */
40972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40974 #define $ac_func innocuous_$ac_func
40976 /* System header to define __stub macros and hopefully few prototypes,
40977 which can conflict with char $ac_func (); below.
40978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40979 <limits.h> exists even on freestanding compilers. */
40982 # include <limits.h>
40984 # include <assert.h>
40989 /* Override any GCC internal prototype to avoid an error.
40990 Use char because int might match the return type of a GCC
40991 builtin and then its argument prototype would still apply. */
40996 /* The GNU C library defines this for functions which it implements
40997 to always fail with ENOSYS. Some functions are actually named
40998 something starting with __ and the normal name is an alias. */
40999 #if defined __stub_$ac_func || defined __stub___$ac_func
41006 return $ac_func ();
41011 rm -f conftest.
$ac_objext conftest
$ac_exeext
41012 if { (ac_try
="$ac_link"
41013 case "(($ac_try" in
41014 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41015 *) ac_try_echo=$ac_try;;
41017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41018 (eval "$ac_link") 2>conftest.er1
41020 grep -v '^ *+' conftest.er1 >conftest.err
41022 cat conftest.err >&5
41023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41024 (exit $ac_status); } && {
41025 test -z "$ac_c_werror_flag" ||
41026 test ! -s conftest.err
41027 } && test -s conftest$ac_exeext &&
41028 $as_test_x conftest$ac_exeext; then
41029 eval "$as_ac_var=yes"
41031 echo "$as_me: failed program was:" >&5
41032 sed 's/^/| /' conftest.$ac_ext >&5
41034 eval "$as_ac_var=no"
41037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41038 conftest$ac_exeext conftest.$ac_ext
41040 ac_res=`eval echo '${'$as_ac_var'}'`
41041 { echo "$as_me:$LINENO: result: $ac_res" >&5
41042 echo "${ECHO_T}$ac_res" >&6; }
41043 if test `eval echo '${'$as_ac_var'}'` = yes; then
41044 cat >>confdefs.h <<_ACEOF
41045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41048 cat >>confdefs.h <<\_ACEOF
41049 #define HAVE_SHL_LOAD 1
41056 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41057 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41058 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41059 echo $ECHO_N "(cached) $ECHO_C" >&6
41061 ac_check_lib_save_LIBS=$LIBS
41062 LIBS="-lshl_load $LIBS"
41063 cat >conftest.$ac_ext <<_ACEOF
41066 cat confdefs.h >>conftest.$ac_ext
41067 cat >>conftest.$ac_ext <<_ACEOF
41068 /* end confdefs.h. */
41070 /* Override any GCC internal prototype to avoid an error.
41071 Use char because int might match the return type of a GCC
41072 builtin and then its argument prototype would still apply. */
41085 rm -f conftest.$ac_objext conftest$ac_exeext
41086 if { (ac_try="$ac_link"
41087 case "(($ac_try" in
41088 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41089 *) ac_try_echo
=$ac_try;;
41091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41092 (eval "$ac_link") 2>conftest.er1
41094 grep -v '^ *+' conftest.er1
>conftest.err
41096 cat conftest.err
>&5
41097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41098 (exit $ac_status); } && {
41099 test -z "$ac_c_werror_flag" ||
41100 test ! -s conftest.err
41101 } && test -s conftest
$ac_exeext &&
41102 $as_test_x conftest
$ac_exeext; then
41103 ac_cv_lib_shl_load_dld
=yes
41105 echo "$as_me: failed program was:" >&5
41106 sed 's/^/| /' conftest.
$ac_ext >&5
41108 ac_cv_lib_shl_load_dld
=no
41111 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41112 conftest
$ac_exeext conftest.
$ac_ext
41113 LIBS
=$ac_check_lib_save_LIBS
41115 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41116 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41117 if test $ac_cv_lib_shl_load_dld = yes; then
41120 DL_LINK
=" -ldld$DL_LINK"
41136 if test "$HAVE_DL_FUNCS" = 1; then
41138 for ac_func
in dlerror
41140 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41141 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41143 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41144 echo $ECHO_N "(cached) $ECHO_C" >&6
41146 cat >conftest.
$ac_ext <<_ACEOF
41149 cat confdefs.h
>>conftest.
$ac_ext
41150 cat >>conftest.
$ac_ext <<_ACEOF
41151 /* end confdefs.h. */
41152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41154 #define $ac_func innocuous_$ac_func
41156 /* System header to define __stub macros and hopefully few prototypes,
41157 which can conflict with char $ac_func (); below.
41158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41159 <limits.h> exists even on freestanding compilers. */
41162 # include <limits.h>
41164 # include <assert.h>
41169 /* Override any GCC internal prototype to avoid an error.
41170 Use char because int might match the return type of a GCC
41171 builtin and then its argument prototype would still apply. */
41176 /* The GNU C library defines this for functions which it implements
41177 to always fail with ENOSYS. Some functions are actually named
41178 something starting with __ and the normal name is an alias. */
41179 #if defined __stub_$ac_func || defined __stub___$ac_func
41186 return $ac_func ();
41191 rm -f conftest.
$ac_objext conftest
$ac_exeext
41192 if { (ac_try
="$ac_link"
41193 case "(($ac_try" in
41194 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41195 *) ac_try_echo=$ac_try;;
41197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41198 (eval "$ac_link") 2>conftest.er1
41200 grep -v '^ *+' conftest.er1 >conftest.err
41202 cat conftest.err >&5
41203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41204 (exit $ac_status); } && {
41205 test -z "$ac_c_werror_flag" ||
41206 test ! -s conftest.err
41207 } && test -s conftest$ac_exeext &&
41208 $as_test_x conftest$ac_exeext; then
41209 eval "$as_ac_var=yes"
41211 echo "$as_me: failed program was:" >&5
41212 sed 's/^/| /' conftest.$ac_ext >&5
41214 eval "$as_ac_var=no"
41217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41218 conftest$ac_exeext conftest.$ac_ext
41220 ac_res=`eval echo '${'$as_ac_var'}'`
41221 { echo "$as_me:$LINENO: result: $ac_res" >&5
41222 echo "${ECHO_T}$ac_res" >&6; }
41223 if test `eval echo '${'$as_ac_var'}'` = yes; then
41224 cat >>confdefs.h <<_ACEOF
41225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41227 cat >>confdefs.h <<\_ACEOF
41228 #define HAVE_DLERROR 1
41233 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41234 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41235 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41236 echo $ECHO_N "(cached) $ECHO_C" >&6
41238 ac_check_lib_save_LIBS=$LIBS
41240 cat >conftest.$ac_ext <<_ACEOF
41243 cat confdefs.h >>conftest.$ac_ext
41244 cat >>conftest.$ac_ext <<_ACEOF
41245 /* end confdefs.h. */
41247 /* Override any GCC internal prototype to avoid an error.
41248 Use char because int might match the return type of a GCC
41249 builtin and then its argument prototype would still apply. */
41262 rm -f conftest.$ac_objext conftest$ac_exeext
41263 if { (ac_try="$ac_link"
41264 case "(($ac_try" in
41265 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41266 *) ac_try_echo
=$ac_try;;
41268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41269 (eval "$ac_link") 2>conftest.er1
41271 grep -v '^ *+' conftest.er1
>conftest.err
41273 cat conftest.err
>&5
41274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41275 (exit $ac_status); } && {
41276 test -z "$ac_c_werror_flag" ||
41277 test ! -s conftest.err
41278 } && test -s conftest
$ac_exeext &&
41279 $as_test_x conftest
$ac_exeext; then
41280 ac_cv_lib_dl_dlerror
=yes
41282 echo "$as_me: failed program was:" >&5
41283 sed 's/^/| /' conftest.
$ac_ext >&5
41285 ac_cv_lib_dl_dlerror
=no
41288 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41289 conftest
$ac_exeext conftest.
$ac_ext
41290 LIBS
=$ac_check_lib_save_LIBS
41292 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41293 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41294 if test $ac_cv_lib_dl_dlerror = yes; then
41295 cat >>confdefs.h
<<\_ACEOF
41296 #define HAVE_DLERROR 1
41309 if test "$HAVE_DL_FUNCS" = 0; then
41310 if test "$HAVE_SHL_FUNCS" = 0; then
41311 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41312 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41313 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41314 wxUSE_DYNAMIC_LOADER
=no
41315 wxUSE_DYNLIB_CLASS
=no
41317 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41318 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41325 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41326 cat >>confdefs.h
<<\_ACEOF
41327 #define wxUSE_DYNAMIC_LOADER 1
41331 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41332 cat >>confdefs.h
<<\_ACEOF
41333 #define wxUSE_DYNLIB_CLASS 1
41340 if test "$wxUSE_PLUGINS" = "yes" ; then
41341 if test "$wxUSE_SHARED" = "no" ; then
41342 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41343 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41346 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41347 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41348 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41351 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41352 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41353 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41356 if test "$wxUSE_PLUGINS" = "yes" ; then
41357 cat >>confdefs.h
<<\_ACEOF
41358 #define wxUSE_PLUGINS 1
41365 if test "$wxUSE_STL" = "yes"; then
41366 cat >>confdefs.h
<<\_ACEOF
41367 #define wxUSE_STL 1
41372 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41373 cat >>confdefs.h
<<\_ACEOF
41374 #define wxUSE_EXTENDED_RTTI 1
41379 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41380 cat >>confdefs.h
<<\_ACEOF
41381 #define wxUSE_APPLE_IEEE 1
41386 if test "$wxUSE_TIMER" = "yes"; then
41387 cat >>confdefs.h
<<\_ACEOF
41388 #define wxUSE_TIMER 1
41393 if test "$USE_UNIX" = 1 ; then
41394 if test "$wxUSE_MGL" != 1; then
41395 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41396 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41397 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41398 echo $ECHO_N "(cached) $ECHO_C" >&6
41401 cat >conftest.
$ac_ext <<_ACEOF
41404 cat confdefs.h
>>conftest.
$ac_ext
41405 cat >>conftest.
$ac_ext <<_ACEOF
41406 /* end confdefs.h. */
41408 #include <sys/ioctl.h>
41409 #include <sys/soundcard.h>
41415 ioctl(0, SNDCTL_DSP_SPEED, 0);
41421 rm -f conftest.
$ac_objext conftest
$ac_exeext
41422 if { (ac_try
="$ac_link"
41423 case "(($ac_try" in
41424 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41425 *) ac_try_echo=$ac_try;;
41427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41428 (eval "$ac_link") 2>conftest.er1
41430 grep -v '^ *+' conftest.er1 >conftest.err
41432 cat conftest.err >&5
41433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41434 (exit $ac_status); } && {
41435 test -z "$ac_c_werror_flag" ||
41436 test ! -s conftest.err
41437 } && test -s conftest$ac_exeext &&
41438 $as_test_x conftest$ac_exeext; then
41439 ac_cv_header_sys_soundcard=yes
41441 echo "$as_me: failed program was:" >&5
41442 sed 's/^/| /' conftest.$ac_ext >&5
41446 LIBS="$saveLibs -lossaudio"
41447 cat >conftest.$ac_ext <<_ACEOF
41450 cat confdefs.h >>conftest.$ac_ext
41451 cat >>conftest.$ac_ext <<_ACEOF
41452 /* end confdefs.h. */
41454 #include <sys/ioctl.h>
41455 #include <sys/soundcard.h>
41461 ioctl(0, SNDCTL_DSP_SPEED, 0);
41467 rm -f conftest.$ac_objext conftest$ac_exeext
41468 if { (ac_try="$ac_link"
41469 case "(($ac_try" in
41470 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41471 *) ac_try_echo
=$ac_try;;
41473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41474 (eval "$ac_link") 2>conftest.er1
41476 grep -v '^ *+' conftest.er1
>conftest.err
41478 cat conftest.err
>&5
41479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41480 (exit $ac_status); } && {
41481 test -z "$ac_c_werror_flag" ||
41482 test ! -s conftest.err
41483 } && test -s conftest
$ac_exeext &&
41484 $as_test_x conftest
$ac_exeext; then
41485 ac_cv_header_sys_soundcard
=yes
41487 echo "$as_me: failed program was:" >&5
41488 sed 's/^/| /' conftest.
$ac_ext >&5
41492 ac_cv_header_sys_soundcard
=no
41497 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41498 conftest
$ac_exeext conftest.
$ac_ext
41503 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41504 conftest
$ac_exeext conftest.
$ac_ext
41507 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41508 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41511 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41512 cat >>confdefs.h
<<\_ACEOF
41513 #define HAVE_SYS_SOUNDCARD_H 1
41520 if test "$wxUSE_SOUND" = "yes"; then
41521 if test "$USE_UNIX" = 1 ; then
41522 if test "$wxUSE_LIBSDL" != "no"; then
41524 # Check whether --with-sdl-prefix was given.
41525 if test "${with_sdl_prefix+set}" = set; then
41526 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
41532 # Check whether --with-sdl-exec-prefix was given.
41533 if test "${with_sdl_exec_prefix+set}" = set; then
41534 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
41539 # Check whether --enable-sdltest was given.
41540 if test "${enable_sdltest+set}" = set; then
41541 enableval
=$enable_sdltest;
41547 if test x
$sdl_exec_prefix != x
; then
41548 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
41549 if test x
${SDL_CONFIG+set} != xset
; then
41550 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
41553 if test x
$sdl_prefix != x
; then
41554 sdl_args
="$sdl_args --prefix=$sdl_prefix"
41555 if test x
${SDL_CONFIG+set} != xset
; then
41556 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
41560 if test "x$prefix" != xNONE
; then
41561 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
41563 # Extract the first word of "sdl-config", so it can be a program name with args.
41564 set dummy sdl
-config; ac_word
=$2
41565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41567 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41568 echo $ECHO_N "(cached) $ECHO_C" >&6
41570 case $SDL_CONFIG in
41572 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
41575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41576 for as_dir
in $PATH
41579 test -z "$as_dir" && as_dir
=.
41580 for ac_exec_ext
in '' $ac_executable_extensions; do
41581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41582 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41590 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
41594 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
41595 if test -n "$SDL_CONFIG"; then
41596 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41597 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41599 { echo "$as_me:$LINENO: result: no" >&5
41600 echo "${ECHO_T}no" >&6; }
41604 min_sdl_version
=1.2.0
41605 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41606 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41608 if test "$SDL_CONFIG" = "no" ; then
41611 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
41612 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
41614 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
41615 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41616 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
41617 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41618 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
41619 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41620 if test "x$enable_sdltest" = "xyes" ; then
41621 ac_save_CFLAGS
="$CFLAGS"
41622 ac_save_CXXFLAGS
="$CXXFLAGS"
41623 ac_save_LIBS
="$LIBS"
41624 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41625 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41626 LIBS
="$LIBS $SDL_LIBS"
41628 if test "$cross_compiling" = yes; then
41629 echo $ac_n "cross compiling; assumed OK... $ac_c"
41631 cat >conftest.
$ac_ext <<_ACEOF
41634 cat confdefs.h
>>conftest.
$ac_ext
41635 cat >>conftest.
$ac_ext <<_ACEOF
41636 /* end confdefs.h. */
41639 #include <stdlib.h>
41640 #include <string.h>
41644 my_strdup (char *str)
41650 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41651 strcpy (new_str, str);
41659 int main (int argc, char *argv[])
41661 int major, minor, micro;
41664 /* This hangs on some systems (?)
41665 system ("touch conf.sdltest");
41667 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41669 /* HP/UX 9 (%@#!) writes to sscanf strings */
41670 tmp_version = my_strdup("$min_sdl_version");
41671 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41672 printf("%s, bad version string\n", "$min_sdl_version");
41676 if (($sdl_major_version > major) ||
41677 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41678 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41684 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41685 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41686 printf("*** best to upgrade to the required version.\n");
41687 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41688 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41689 printf("*** config.cache before re-running configure\n");
41696 rm -f conftest
$ac_exeext
41697 if { (ac_try
="$ac_link"
41698 case "(($ac_try" in
41699 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41700 *) ac_try_echo=$ac_try;;
41702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41703 (eval "$ac_link") 2>&5
41705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41706 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41707 { (case "(($ac_try" in
41708 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41709 *) ac_try_echo
=$ac_try;;
41711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41712 (eval "$ac_try") 2>&5
41714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41715 (exit $ac_status); }; }; then
41718 echo "$as_me: program exited with status $ac_status" >&5
41719 echo "$as_me: failed program was:" >&5
41720 sed 's/^/| /' conftest.
$ac_ext >&5
41722 ( exit $ac_status )
41725 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
41729 CFLAGS
="$ac_save_CFLAGS"
41730 CXXFLAGS
="$ac_save_CXXFLAGS"
41731 LIBS
="$ac_save_LIBS"
41734 if test "x$no_sdl" = x
; then
41735 { echo "$as_me:$LINENO: result: yes" >&5
41736 echo "${ECHO_T}yes" >&6; }
41738 EXTRALIBS_SDL
="$SDL_LIBS"
41739 CFLAGS
="$SDL_CFLAGS $CFLAGS"
41740 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
41741 cat >>confdefs.h
<<\_ACEOF
41742 #define wxUSE_LIBSDL 1
41747 { echo "$as_me:$LINENO: result: no" >&5
41748 echo "${ECHO_T}no" >&6; }
41749 if test "$SDL_CONFIG" = "no" ; then
41750 echo "*** The sdl-config script installed by SDL could not be found"
41751 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41752 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41753 echo "*** full path to sdl-config."
41755 if test -f conf.sdltest
; then
41758 echo "*** Could not run SDL test program, checking why..."
41759 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41760 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41761 LIBS
="$LIBS $SDL_LIBS"
41762 cat >conftest.
$ac_ext <<_ACEOF
41765 cat confdefs.h
>>conftest.
$ac_ext
41766 cat >>conftest.
$ac_ext <<_ACEOF
41767 /* end confdefs.h. */
41772 int main(int argc, char *argv[])
41775 #define main K_and_R_C_main
41785 rm -f conftest.
$ac_objext conftest
$ac_exeext
41786 if { (ac_try
="$ac_link"
41787 case "(($ac_try" in
41788 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41789 *) ac_try_echo=$ac_try;;
41791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41792 (eval "$ac_link") 2>conftest.er1
41794 grep -v '^ *+' conftest.er1 >conftest.err
41796 cat conftest.err >&5
41797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41798 (exit $ac_status); } && {
41799 test -z "$ac_c_werror_flag" ||
41800 test ! -s conftest.err
41801 } && test -s conftest$ac_exeext &&
41802 $as_test_x conftest$ac_exeext; then
41803 echo "*** The test program compiled, but did not run. This usually means"
41804 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41805 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41806 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41807 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41808 echo "*** is required on your system"
41810 echo "*** If you have an old version installed, it is best to remove it, although"
41811 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41813 echo "$as_me: failed program was:" >&5
41814 sed 's/^/| /' conftest.$ac_ext >&5
41816 echo "*** The test program failed to compile or link. See the file config.log for the"
41817 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41818 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41819 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41823 conftest$ac_exeext conftest.$ac_ext
41824 CFLAGS="$ac_save_CFLAGS"
41825 CXXFLAGS="$ac_save_CXXFLAGS"
41826 LIBS="$ac_save_LIBS"
41837 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41842 if test "$wxUSE_MGL" = 1; then
41843 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41844 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41850 if test "$wxUSE_SOUND" = "yes"; then
41851 cat >>confdefs.h <<\_ACEOF
41852 #define wxUSE_SOUND 1
41855 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41858 if test "$WXGTK2" = 1; then
41861 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41862 if test -n "$ac_tool_prefix"; then
41863 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41864 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41865 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41867 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41868 echo $ECHO_N "(cached) $ECHO_C" >&6
41870 case $PKG_CONFIG in
41872 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41876 for as_dir in $PATH
41879 test -z "$as_dir" && as_dir=.
41880 for ac_exec_ext in '' $ac_executable_extensions; do
41881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41882 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41893 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41894 if test -n "$PKG_CONFIG"; then
41895 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41896 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41898 { echo "$as_me:$LINENO: result: no" >&5
41899 echo "${ECHO_T}no" >&6; }
41904 if test -z "$ac_cv_path_PKG_CONFIG"; then
41905 ac_pt_PKG_CONFIG=$PKG_CONFIG
41906 # Extract the first word of "pkg-config", so it can be a program name with args.
41907 set dummy pkg-config; ac_word=$2
41908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41910 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41911 echo $ECHO_N "(cached) $ECHO_C" >&6
41913 case $ac_pt_PKG_CONFIG in
41915 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41919 for as_dir in $PATH
41922 test -z "$as_dir" && as_dir=.
41923 for ac_exec_ext in '' $ac_executable_extensions; do
41924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41925 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41936 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41937 if test -n "$ac_pt_PKG_CONFIG"; then
41938 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41939 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41941 { echo "$as_me:$LINENO: result: no" >&5
41942 echo "${ECHO_T}no" >&6; }
41945 if test "x$ac_pt_PKG_CONFIG" = x; then
41948 case $cross_compiling:$ac_tool_warned in
41950 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41951 whose name does not start with the host triplet. If you think this
41952 configuration is useful to you, please write to autoconf@gnu.org." >&5
41953 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41954 whose name does not start with the host triplet. If you think this
41955 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41956 ac_tool_warned=yes ;;
41958 PKG_CONFIG=$ac_pt_PKG_CONFIG
41961 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41965 if test -n "$PKG_CONFIG"; then
41966 _pkg_min_version=0.9.0
41967 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41968 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41969 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41970 { echo "$as_me:$LINENO: result: yes" >&5
41971 echo "${ECHO_T}yes" >&6; }
41973 { echo "$as_me:$LINENO: result: no" >&5
41974 echo "${ECHO_T}no" >&6; }
41980 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41982 if test "$wxUSE_GTKPRINT" = "yes" ; then
41986 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
41987 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
41989 if test -n "$PKG_CONFIG"; then
41990 if test -n "$GTKPRINT_CFLAGS"; then
41991 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
41993 if test -n "$PKG_CONFIG" && \
41994 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
41995 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
41997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41998 (exit $ac_status); }; then
41999 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
42007 if test -n "$PKG_CONFIG"; then
42008 if test -n "$GTKPRINT_LIBS"; then
42009 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42011 if test -n "$PKG_CONFIG" && \
42012 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42013 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42016 (exit $ac_status); }; then
42017 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
42028 if test $pkg_failed = yes; then
42030 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42031 _pkg_short_errors_supported=yes
42033 _pkg_short_errors_supported=no
42035 if test $_pkg_short_errors_supported = yes; then
42036 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42038 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42040 # Put the nasty error message in config.log where it belongs
42041 echo "$GTKPRINT_PKG_ERRORS" >&5
42044 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42045 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42046 wxUSE_GTKPRINT="no"
42049 elif test $pkg_failed = untried; then
42051 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42052 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42053 wxUSE_GTKPRINT="no"
42057 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42058 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42059 { echo "$as_me:$LINENO: result: yes" >&5
42060 echo "${ECHO_T}yes" >&6; }
42062 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42063 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42064 cat >>confdefs.h <<\_ACEOF
42065 #define wxUSE_GTKPRINT 1
42072 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42076 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42077 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42079 if test -n "$PKG_CONFIG"; then
42080 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42081 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42083 if test -n "$PKG_CONFIG" && \
42084 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42085 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42088 (exit $ac_status); }; then
42089 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
42097 if test -n "$PKG_CONFIG"; then
42098 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42099 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42101 if test -n "$PKG_CONFIG" && \
42102 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42103 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42106 (exit $ac_status); }; then
42107 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
42118 if test $pkg_failed = yes; then
42120 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42121 _pkg_short_errors_supported=yes
42123 _pkg_short_errors_supported=no
42125 if test $_pkg_short_errors_supported = yes; then
42126 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42128 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42130 # Put the nasty error message in config.log where it belongs
42131 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42134 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42135 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42136 wxUSE_LIBGNOMEPRINT="no"
42139 elif test $pkg_failed = untried; then
42141 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42142 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42143 wxUSE_LIBGNOMEPRINT="no"
42147 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42148 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42149 { echo "$as_me:$LINENO: result: yes" >&5
42150 echo "${ECHO_T}yes" >&6; }
42152 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42153 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42154 cat >>confdefs.h <<\_ACEOF
42155 #define wxUSE_LIBGNOMEPRINT 1
42163 if test "$wxUSE_MIMETYPE" = "yes" ; then
42164 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42168 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42169 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42171 if test -n "$PKG_CONFIG"; then
42172 if test -n "$GNOMEVFS_CFLAGS"; then
42173 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42175 if test -n "$PKG_CONFIG" && \
42176 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42177 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42180 (exit $ac_status); }; then
42181 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
42189 if test -n "$PKG_CONFIG"; then
42190 if test -n "$GNOMEVFS_LIBS"; then
42191 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42193 if test -n "$PKG_CONFIG" && \
42194 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42195 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42198 (exit $ac_status); }; then
42199 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
42210 if test $pkg_failed = yes; then
42212 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42213 _pkg_short_errors_supported=yes
42215 _pkg_short_errors_supported=no
42217 if test $_pkg_short_errors_supported = yes; then
42218 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42220 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42222 # Put the nasty error message in config.log where it belongs
42223 echo "$GNOMEVFS_PKG_ERRORS" >&5
42226 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42227 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42228 wxUSE_LIBGNOMEVFS="no"
42231 elif test $pkg_failed = untried; then
42233 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42234 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42235 wxUSE_LIBGNOMEVFS="no"
42239 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42240 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42241 { echo "$as_me:$LINENO: result: yes" >&5
42242 echo "${ECHO_T}yes" >&6; }
42244 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42245 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42246 cat >>confdefs.h <<\_ACEOF
42247 #define wxUSE_LIBGNOMEVFS 1
42255 if test "$wxUSE_LIBHILDON" = "yes" ; then
42258 { echo "$as_me:$LINENO: checking for HILDON" >&5
42259 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42261 if test -n "$PKG_CONFIG"; then
42262 if test -n "$HILDON_CFLAGS"; then
42263 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42265 if test -n "$PKG_CONFIG" && \
42266 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42267 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42270 (exit $ac_status); }; then
42271 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev
/null
`
42279 if test -n "$PKG_CONFIG"; then
42280 if test -n "$HILDON_LIBS"; then
42281 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42283 if test -n "$PKG_CONFIG" && \
42284 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42285 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42288 (exit $ac_status); }; then
42289 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev
/null
`
42300 if test $pkg_failed = yes; then
42302 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42303 _pkg_short_errors_supported=yes
42305 _pkg_short_errors_supported=no
42307 if test $_pkg_short_errors_supported = yes; then
42308 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42310 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42312 # Put the nasty error message in config.log where it belongs
42313 echo "$HILDON_PKG_ERRORS" >&5
42316 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42317 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42318 wxUSE_LIBHILDON="no"
42321 elif test $pkg_failed = untried; then
42323 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42324 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42325 wxUSE_LIBHILDON="no"
42329 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42330 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42331 { echo "$as_me:$LINENO: result: yes" >&5
42332 echo "${ECHO_T}yes" >&6; }
42334 EXTRALIBS_HILDON="$HILDON_LIBS"
42335 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42336 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42337 cat >>confdefs.h <<\_ACEOF
42338 #define wxUSE_LIBHILDON 1
42346 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42347 cat >>confdefs.h <<\_ACEOF
42348 #define wxUSE_CMDLINE_PARSER 1
42353 if test "$wxUSE_STOPWATCH" = "yes"; then
42354 cat >>confdefs.h <<\_ACEOF
42355 #define wxUSE_STOPWATCH 1
42360 if test "$wxUSE_DATETIME" = "yes"; then
42361 cat >>confdefs.h <<\_ACEOF
42362 #define wxUSE_DATETIME 1
42367 if test "$wxUSE_FILE" = "yes"; then
42368 cat >>confdefs.h <<\_ACEOF
42369 #define wxUSE_FILE 1
42374 if test "$wxUSE_FFILE" = "yes"; then
42375 cat >>confdefs.h <<\_ACEOF
42376 #define wxUSE_FFILE 1
42381 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42382 if test "$wxUSE_STREAMS" != yes; then
42383 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42384 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42385 wxUSE_ARCHIVE_STREAMS=no
42387 cat >>confdefs.h <<\_ACEOF
42388 #define wxUSE_ARCHIVE_STREAMS 1
42394 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42395 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42396 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42397 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42398 elif test "$wxUSE_ZLIB" = "no"; then
42399 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42400 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42402 cat >>confdefs.h <<\_ACEOF
42403 #define wxUSE_ZIPSTREAM 1
42409 if test "$wxUSE_TARSTREAM" = "yes"; then
42410 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42411 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42412 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42414 cat >>confdefs.h <<\_ACEOF
42415 #define wxUSE_TARSTREAM 1
42421 if test "$wxUSE_FILESYSTEM" = "yes"; then
42422 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42423 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42424 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42425 wxUSE_FILESYSTEM=no
42427 cat >>confdefs.h <<\_ACEOF
42428 #define wxUSE_FILESYSTEM 1
42434 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42435 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42436 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42437 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42439 cat >>confdefs.h <<\_ACEOF
42440 #define wxUSE_FS_ARCHIVE 1
42446 if test "$wxUSE_FS_ZIP" = "yes"; then
42447 if test "$wxUSE_FS_ARCHIVE" != yes; then
42448 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42449 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42451 cat >>confdefs.h <<\_ACEOF
42452 #define wxUSE_FS_ZIP 1
42458 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42459 if test "$USE_UNIX" != 1; then
42460 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42461 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42462 wxUSE_ON_FATAL_EXCEPTION=no
42464 cat >>confdefs.h <<\_ACEOF
42465 #define wxUSE_ON_FATAL_EXCEPTION 1
42471 if test "$wxUSE_STACKWALKER" = "yes"; then
42472 cat >>confdefs.h <<\_ACEOF
42473 #define wxUSE_STACKWALKER 1
42478 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42479 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42480 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42481 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42482 wxUSE_DEBUGREPORT=no
42484 cat >>confdefs.h <<\_ACEOF
42485 #define wxUSE_DEBUGREPORT 1
42488 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42489 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42494 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42495 cat >>confdefs.h <<\_ACEOF
42496 #define wxUSE_SNGLINST_CHECKER 1
42501 if test "$wxUSE_BUSYINFO" = "yes"; then
42502 cat >>confdefs.h <<\_ACEOF
42503 #define wxUSE_BUSYINFO 1
42508 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42509 cat >>confdefs.h <<\_ACEOF
42510 #define wxUSE_STD_IOSTREAM 1
42515 if test "$wxUSE_STD_STRING" = "yes"; then
42516 cat >>confdefs.h <<\_ACEOF
42517 #define wxUSE_STD_STRING 1
42522 if test "$wxUSE_STDPATHS" = "yes"; then
42523 cat >>confdefs.h <<\_ACEOF
42524 #define wxUSE_STDPATHS 1
42529 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42530 cat >>confdefs.h <<\_ACEOF
42531 #define wxUSE_TEXTBUFFER 1
42536 if test "$wxUSE_TEXTFILE" = "yes"; then
42537 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42538 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42539 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42541 cat >>confdefs.h <<\_ACEOF
42542 #define wxUSE_TEXTFILE 1
42548 if test "$wxUSE_CONFIG" = "yes" ; then
42549 if test "$wxUSE_TEXTFILE" != "yes"; then
42550 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42551 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42553 cat >>confdefs.h <<\_ACEOF
42554 #define wxUSE_CONFIG 1
42557 cat >>confdefs.h <<\_ACEOF
42558 #define wxUSE_CONFIG_NATIVE 1
42561 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42565 if test "$wxUSE_INTL" = "yes" ; then
42566 if test "$wxUSE_FILE" != "yes"; then
42567 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42568 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42570 cat >>confdefs.h <<\_ACEOF
42571 #define wxUSE_INTL 1
42574 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42575 GUIDIST="$GUIDIST INTL_DIST"
42579 if test "$wxUSE_LOG" = "yes"; then
42580 cat >>confdefs.h <<\_ACEOF
42581 #define wxUSE_LOG 1
42585 if test "$wxUSE_LOGGUI" = "yes"; then
42586 cat >>confdefs.h <<\_ACEOF
42587 #define wxUSE_LOGGUI 1
42592 if test "$wxUSE_LOGWINDOW" = "yes"; then
42593 cat >>confdefs.h <<\_ACEOF
42594 #define wxUSE_LOGWINDOW 1
42599 if test "$wxUSE_LOGDIALOG" = "yes"; then
42600 cat >>confdefs.h <<\_ACEOF
42601 #define wxUSE_LOG_DIALOG 1
42606 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42609 if test "$wxUSE_LONGLONG" = "yes"; then
42610 cat >>confdefs.h <<\_ACEOF
42611 #define wxUSE_LONGLONG 1
42616 if test "$wxUSE_GEOMETRY" = "yes"; then
42617 cat >>confdefs.h <<\_ACEOF
42618 #define wxUSE_GEOMETRY 1
42623 if test "$wxUSE_BASE64" = "yes"; then
42624 cat >>confdefs.h <<\_ACEOF
42625 #define wxUSE_BASE64 1
42630 if test "$wxUSE_STREAMS" = "yes" ; then
42631 cat >>confdefs.h <<\_ACEOF
42632 #define wxUSE_STREAMS 1
42637 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42638 cat >>confdefs.h <<\_ACEOF
42639 #define wxUSE_PRINTF_POS_PARAMS 1
42644 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42645 cat >>confdefs.h <<\_ACEOF
42646 #define wxUSE_OBJC_UNIQUIFYING 1
42652 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42653 cat >>confdefs.h <<\_ACEOF
42654 #define wxUSE_CONSOLE_EVENTLOOP 1
42658 if test "$wxUSE_UNIX" = "yes"; then
42659 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42660 cat >>confdefs.h <<\_ACEOF
42661 #define wxUSE_SELECT_DISPATCHER 1
42666 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42668 for ac_header in sys/epoll.h
42670 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42671 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42672 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42673 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42674 echo $ECHO_N "(cached) $ECHO_C" >&6
42676 cat >conftest.$ac_ext <<_ACEOF
42679 cat confdefs.h >>conftest.$ac_ext
42680 cat >>conftest.$ac_ext <<_ACEOF
42681 /* end confdefs.h. */
42682 $ac_includes_default
42684 #include <$ac_header>
42686 rm -f conftest.$ac_objext
42687 if { (ac_try="$ac_compile"
42688 case "(($ac_try" in
42689 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42690 *) ac_try_echo
=$ac_try;;
42692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42693 (eval "$ac_compile") 2>conftest.er1
42695 grep -v '^ *+' conftest.er1
>conftest.err
42697 cat conftest.err
>&5
42698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42699 (exit $ac_status); } && {
42700 test -z "$ac_c_werror_flag" ||
42701 test ! -s conftest.err
42702 } && test -s conftest.
$ac_objext; then
42703 eval "$as_ac_Header=yes"
42705 echo "$as_me: failed program was:" >&5
42706 sed 's/^/| /' conftest.
$ac_ext >&5
42708 eval "$as_ac_Header=no"
42711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42713 ac_res
=`eval echo '${'$as_ac_Header'}'`
42714 { echo "$as_me:$LINENO: result: $ac_res" >&5
42715 echo "${ECHO_T}$ac_res" >&6; }
42716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42717 cat >>confdefs.h
<<_ACEOF
42718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42725 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42726 cat >>confdefs.h
<<\_ACEOF
42727 #define wxUSE_EPOLL_DISPATCHER 1
42731 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42732 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42741 for ac_func
in gettimeofday ftime
42743 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42744 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42746 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42747 echo $ECHO_N "(cached) $ECHO_C" >&6
42749 cat >conftest.
$ac_ext <<_ACEOF
42752 cat confdefs.h
>>conftest.
$ac_ext
42753 cat >>conftest.
$ac_ext <<_ACEOF
42754 /* end confdefs.h. */
42755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42757 #define $ac_func innocuous_$ac_func
42759 /* System header to define __stub macros and hopefully few prototypes,
42760 which can conflict with char $ac_func (); below.
42761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42762 <limits.h> exists even on freestanding compilers. */
42765 # include <limits.h>
42767 # include <assert.h>
42772 /* Override any GCC internal prototype to avoid an error.
42773 Use char because int might match the return type of a GCC
42774 builtin and then its argument prototype would still apply. */
42779 /* The GNU C library defines this for functions which it implements
42780 to always fail with ENOSYS. Some functions are actually named
42781 something starting with __ and the normal name is an alias. */
42782 #if defined __stub_$ac_func || defined __stub___$ac_func
42789 return $ac_func ();
42794 rm -f conftest.
$ac_objext conftest
$ac_exeext
42795 if { (ac_try
="$ac_link"
42796 case "(($ac_try" in
42797 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42798 *) ac_try_echo=$ac_try;;
42800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42801 (eval "$ac_link") 2>conftest.er1
42803 grep -v '^ *+' conftest.er1 >conftest.err
42805 cat conftest.err >&5
42806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42807 (exit $ac_status); } && {
42808 test -z "$ac_c_werror_flag" ||
42809 test ! -s conftest.err
42810 } && test -s conftest$ac_exeext &&
42811 $as_test_x conftest$ac_exeext; then
42812 eval "$as_ac_var=yes"
42814 echo "$as_me: failed program was:" >&5
42815 sed 's/^/| /' conftest.$ac_ext >&5
42817 eval "$as_ac_var=no"
42820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42821 conftest$ac_exeext conftest.$ac_ext
42823 ac_res=`eval echo '${'$as_ac_var'}'`
42824 { echo "$as_me:$LINENO: result: $ac_res" >&5
42825 echo "${ECHO_T}$ac_res" >&6; }
42826 if test `eval echo '${'$as_ac_var'}'` = yes; then
42827 cat >>confdefs.h <<_ACEOF
42828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42835 if test "$ac_cv_func_gettimeofday" = "yes"; then
42836 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42837 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42838 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42839 echo $ECHO_N "(cached) $ECHO_C" >&6
42842 cat >conftest.$ac_ext <<_ACEOF
42845 cat confdefs.h >>conftest.$ac_ext
42846 cat >>conftest.$ac_ext <<_ACEOF
42847 /* end confdefs.h. */
42849 #include <sys/time.h>
42850 #include <unistd.h>
42857 gettimeofday(&tv, NULL);
42863 rm -f conftest.$ac_objext
42864 if { (ac_try="$ac_compile"
42865 case "(($ac_try" in
42866 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42867 *) ac_try_echo
=$ac_try;;
42869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42870 (eval "$ac_compile") 2>conftest.er1
42872 grep -v '^ *+' conftest.er1
>conftest.err
42874 cat conftest.err
>&5
42875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42876 (exit $ac_status); } && {
42877 test -z "$ac_c_werror_flag" ||
42878 test ! -s conftest.err
42879 } && test -s conftest.
$ac_objext; then
42880 wx_cv_func_gettimeofday_has_2_args
=yes
42882 echo "$as_me: failed program was:" >&5
42883 sed 's/^/| /' conftest.
$ac_ext >&5
42885 cat >conftest.
$ac_ext <<_ACEOF
42888 cat confdefs.h
>>conftest.
$ac_ext
42889 cat >>conftest.
$ac_ext <<_ACEOF
42890 /* end confdefs.h. */
42892 #include <sys/time.h>
42893 #include <unistd.h>
42906 rm -f conftest.
$ac_objext
42907 if { (ac_try
="$ac_compile"
42908 case "(($ac_try" in
42909 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42910 *) ac_try_echo=$ac_try;;
42912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42913 (eval "$ac_compile") 2>conftest.er1
42915 grep -v '^ *+' conftest.er1 >conftest.err
42917 cat conftest.err >&5
42918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42919 (exit $ac_status); } && {
42920 test -z "$ac_c_werror_flag" ||
42921 test ! -s conftest.err
42922 } && test -s conftest.$ac_objext; then
42923 wx_cv_func_gettimeofday_has_2_args=no
42925 echo "$as_me: failed program was:" >&5
42926 sed 's/^/| /' conftest.$ac_ext >&5
42929 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42930 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42931 wx_cv_func_gettimeofday_has_2_args=unknown
42936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42943 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42944 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42946 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42947 cat >>confdefs.h <<\_ACEOF
42948 #define WX_GETTIMEOFDAY_NO_TZ 1
42954 if test "$wxUSE_DATETIME" = "yes"; then
42955 { echo "$as_me:$LINENO: checking for strptime" >&5
42956 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
42957 if test "${ac_cv_func_strptime+set}" = set; then
42958 echo $ECHO_N "(cached) $ECHO_C" >&6
42960 cat >conftest.$ac_ext <<_ACEOF
42963 cat confdefs.h >>conftest.$ac_ext
42964 cat >>conftest.$ac_ext <<_ACEOF
42965 /* end confdefs.h. */
42966 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
42967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42968 #define strptime innocuous_strptime
42970 /* System header to define __stub macros and hopefully few prototypes,
42971 which can conflict with char strptime (); below.
42972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42973 <limits.h> exists even on freestanding compilers. */
42976 # include <limits.h>
42978 # include <assert.h>
42983 /* Override any GCC internal prototype to avoid an error.
42984 Use char because int might match the return type of a GCC
42985 builtin and then its argument prototype would still apply. */
42990 /* The GNU C library defines this for functions which it implements
42991 to always fail with ENOSYS. Some functions are actually named
42992 something starting with __ and the normal name is an alias. */
42993 #if defined __stub_strptime || defined __stub___strptime
43000 return strptime ();
43005 rm -f conftest.$ac_objext conftest$ac_exeext
43006 if { (ac_try="$ac_link"
43007 case "(($ac_try" in
43008 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43009 *) ac_try_echo
=$ac_try;;
43011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43012 (eval "$ac_link") 2>conftest.er1
43014 grep -v '^ *+' conftest.er1
>conftest.err
43016 cat conftest.err
>&5
43017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43018 (exit $ac_status); } && {
43019 test -z "$ac_c_werror_flag" ||
43020 test ! -s conftest.err
43021 } && test -s conftest
$ac_exeext &&
43022 $as_test_x conftest
$ac_exeext; then
43023 ac_cv_func_strptime
=yes
43025 echo "$as_me: failed program was:" >&5
43026 sed 's/^/| /' conftest.
$ac_ext >&5
43028 ac_cv_func_strptime
=no
43031 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43032 conftest
$ac_exeext conftest.
$ac_ext
43034 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43035 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43037 if test "$ac_cv_func_strptime" = "yes"; then
43038 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43039 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43040 if test "${wx_cv_func_strptime_decl+set}" = set; then
43041 echo $ECHO_N "(cached) $ECHO_C" >&6
43045 ac_cpp
='$CXXCPP $CPPFLAGS'
43046 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43047 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43048 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43050 cat >conftest.
$ac_ext <<_ACEOF
43053 cat confdefs.h
>>conftest.
$ac_ext
43054 cat >>conftest.
$ac_ext <<_ACEOF
43055 /* end confdefs.h. */
43064 strptime("foo", "bar", &t);
43070 rm -f conftest.
$ac_objext
43071 if { (ac_try
="$ac_compile"
43072 case "(($ac_try" in
43073 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43074 *) ac_try_echo=$ac_try;;
43076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43077 (eval "$ac_compile") 2>conftest.er1
43079 grep -v '^ *+' conftest.er1 >conftest.err
43081 cat conftest.err >&5
43082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43083 (exit $ac_status); } && {
43084 test -z "$ac_cxx_werror_flag" ||
43085 test ! -s conftest.err
43086 } && test -s conftest.$ac_objext; then
43087 wx_cv_func_strptime_decl=yes
43089 echo "$as_me: failed program was:" >&5
43090 sed 's/^/| /' conftest.$ac_ext >&5
43092 wx_cv_func_strptime_decl=no
43096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43098 ac_cpp='$CPP $CPPFLAGS'
43099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43106 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43107 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43109 if test "$wx_cv_func_strptime_decl" = "yes"; then
43110 cat >>confdefs.h <<\_ACEOF
43111 #define HAVE_STRPTIME_DECL 1
43115 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43117 if test "$ac_cv_func_strptime" = "yes"; then
43118 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43119 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43120 if test "${wx_cv_func_strptime_ok+set}" = set; then
43121 echo $ECHO_N "(cached) $ECHO_C" >&6
43123 if test "$cross_compiling" = yes; then
43124 wx_cv_func_strptime_ok=no
43127 cat >conftest.$ac_ext <<_ACEOF
43129 #include <stdlib.h>
43131 #include "confdefs.h"
43138 return !!strptime("", "%x", &t);
43142 rm -f conftest$ac_exeext
43143 if { (ac_try="$ac_link"
43144 case "(($ac_try" in
43145 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43146 *) ac_try_echo
=$ac_try;;
43148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43149 (eval "$ac_link") 2>&5
43151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43152 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43153 { (case "(($ac_try" in
43154 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43155 *) ac_try_echo=$ac_try;;
43157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43158 (eval "$ac_try") 2>&5
43160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43161 (exit $ac_status); }; }; then
43162 wx_cv_func_strptime_ok=yes
43164 echo "$as_me: program exited with status $ac_status" >&5
43165 echo "$as_me: failed program was:" >&5
43166 sed 's/^/| /' conftest.$ac_ext >&5
43168 ( exit $ac_status )
43169 wx_cv_func_strptime_ok=no
43171 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43177 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43178 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43180 if test "$wx_cv_func_strptime_ok" = "yes"; then
43181 cat >>confdefs.h <<\_ACEOF
43182 #define HAVE_STRPTIME 1
43188 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43189 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43190 if test "${wx_cv_var_timezone+set}" = set; then
43191 echo $ECHO_N "(cached) $ECHO_C" >&6
43195 ac_cpp='$CXXCPP $CPPFLAGS'
43196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43200 cat >conftest.$ac_ext <<_ACEOF
43203 cat confdefs.h >>conftest.$ac_ext
43204 cat >>conftest.$ac_ext <<_ACEOF
43205 /* end confdefs.h. */
43220 rm -f conftest.$ac_objext
43221 if { (ac_try="$ac_compile"
43222 case "(($ac_try" in
43223 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43224 *) ac_try_echo
=$ac_try;;
43226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43227 (eval "$ac_compile") 2>conftest.er1
43229 grep -v '^ *+' conftest.er1
>conftest.err
43231 cat conftest.err
>&5
43232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43233 (exit $ac_status); } && {
43234 test -z "$ac_cxx_werror_flag" ||
43235 test ! -s conftest.err
43236 } && test -s conftest.
$ac_objext; then
43238 wx_cv_var_timezone
=timezone
43241 echo "$as_me: failed program was:" >&5
43242 sed 's/^/| /' conftest.
$ac_ext >&5
43245 cat >conftest.
$ac_ext <<_ACEOF
43248 cat confdefs.h
>>conftest.
$ac_ext
43249 cat >>conftest.
$ac_ext <<_ACEOF
43250 /* end confdefs.h. */
43265 rm -f conftest.
$ac_objext
43266 if { (ac_try
="$ac_compile"
43267 case "(($ac_try" in
43268 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43269 *) ac_try_echo=$ac_try;;
43271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43272 (eval "$ac_compile") 2>conftest.er1
43274 grep -v '^ *+' conftest.er1 >conftest.err
43276 cat conftest.err >&5
43277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43278 (exit $ac_status); } && {
43279 test -z "$ac_cxx_werror_flag" ||
43280 test ! -s conftest.err
43281 } && test -s conftest.$ac_objext; then
43283 wx_cv_var_timezone=_timezone
43286 echo "$as_me: failed program was:" >&5
43287 sed 's/^/| /' conftest.$ac_ext >&5
43290 cat >conftest.$ac_ext <<_ACEOF
43293 cat confdefs.h >>conftest.$ac_ext
43294 cat >>conftest.$ac_ext <<_ACEOF
43295 /* end confdefs.h. */
43310 rm -f conftest.$ac_objext
43311 if { (ac_try="$ac_compile"
43312 case "(($ac_try" in
43313 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43314 *) ac_try_echo
=$ac_try;;
43316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43317 (eval "$ac_compile") 2>conftest.er1
43319 grep -v '^ *+' conftest.er1
>conftest.err
43321 cat conftest.err
>&5
43322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43323 (exit $ac_status); } && {
43324 test -z "$ac_cxx_werror_flag" ||
43325 test ! -s conftest.err
43326 } && test -s conftest.
$ac_objext; then
43328 wx_cv_var_timezone
=__timezone
43331 echo "$as_me: failed program was:" >&5
43332 sed 's/^/| /' conftest.
$ac_ext >&5
43335 if test "$USE_DOS" = 0 ; then
43336 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43337 echo "$as_me: WARNING: no timezone variable" >&2;}
43343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43355 ac_cpp
='$CPP $CPPFLAGS'
43356 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43357 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43358 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43363 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43364 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43366 if test "x$wx_cv_var_timezone" != x
; then
43367 cat >>confdefs.h
<<_ACEOF
43368 #define WX_TIMEZONE $wx_cv_var_timezone
43374 for ac_func
in localtime
43376 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43377 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43379 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43380 echo $ECHO_N "(cached) $ECHO_C" >&6
43382 cat >conftest.
$ac_ext <<_ACEOF
43385 cat confdefs.h
>>conftest.
$ac_ext
43386 cat >>conftest.
$ac_ext <<_ACEOF
43387 /* end confdefs.h. */
43388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43390 #define $ac_func innocuous_$ac_func
43392 /* System header to define __stub macros and hopefully few prototypes,
43393 which can conflict with char $ac_func (); below.
43394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43395 <limits.h> exists even on freestanding compilers. */
43398 # include <limits.h>
43400 # include <assert.h>
43405 /* Override any GCC internal prototype to avoid an error.
43406 Use char because int might match the return type of a GCC
43407 builtin and then its argument prototype would still apply. */
43412 /* The GNU C library defines this for functions which it implements
43413 to always fail with ENOSYS. Some functions are actually named
43414 something starting with __ and the normal name is an alias. */
43415 #if defined __stub_$ac_func || defined __stub___$ac_func
43422 return $ac_func ();
43427 rm -f conftest.
$ac_objext conftest
$ac_exeext
43428 if { (ac_try
="$ac_link"
43429 case "(($ac_try" in
43430 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43431 *) ac_try_echo=$ac_try;;
43433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43434 (eval "$ac_link") 2>conftest.er1
43436 grep -v '^ *+' conftest.er1 >conftest.err
43438 cat conftest.err >&5
43439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43440 (exit $ac_status); } && {
43441 test -z "$ac_c_werror_flag" ||
43442 test ! -s conftest.err
43443 } && test -s conftest$ac_exeext &&
43444 $as_test_x conftest$ac_exeext; then
43445 eval "$as_ac_var=yes"
43447 echo "$as_me: failed program was:" >&5
43448 sed 's/^/| /' conftest.$ac_ext >&5
43450 eval "$as_ac_var=no"
43453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43454 conftest$ac_exeext conftest.$ac_ext
43456 ac_res=`eval echo '${'$as_ac_var'}'`
43457 { echo "$as_me:$LINENO: result: $ac_res" >&5
43458 echo "${ECHO_T}$ac_res" >&6; }
43459 if test `eval echo '${'$as_ac_var'}'` = yes; then
43460 cat >>confdefs.h <<_ACEOF
43461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43468 if test "$ac_cv_func_localtime" = "yes"; then
43469 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43470 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43471 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43472 echo $ECHO_N "(cached) $ECHO_C" >&6
43475 cat >conftest.$ac_ext <<_ACEOF
43478 cat confdefs.h >>conftest.$ac_ext
43479 cat >>conftest.$ac_ext <<_ACEOF
43480 /* end confdefs.h. */
43495 rm -f conftest.$ac_objext
43496 if { (ac_try="$ac_compile"
43497 case "(($ac_try" in
43498 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43499 *) ac_try_echo
=$ac_try;;
43501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43502 (eval "$ac_compile") 2>conftest.er1
43504 grep -v '^ *+' conftest.er1
>conftest.err
43506 cat conftest.err
>&5
43507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43508 (exit $ac_status); } && {
43509 test -z "$ac_c_werror_flag" ||
43510 test ! -s conftest.err
43511 } && test -s conftest.
$ac_objext; then
43513 wx_cv_struct_tm_has_gmtoff
=yes
43516 echo "$as_me: failed program was:" >&5
43517 sed 's/^/| /' conftest.
$ac_ext >&5
43519 wx_cv_struct_tm_has_gmtoff
=no
43523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43526 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43527 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43530 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43531 cat >>confdefs.h
<<\_ACEOF
43532 #define WX_GMTOFF_IN_TM 1
43537 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
43541 if test "$wxUSE_SOCKETS" = "yes"; then
43542 if test "$wxUSE_MGL" = 1; then
43543 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43544 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43549 if test "$wxUSE_SOCKETS" = "yes"; then
43550 if test "$TOOLKIT" != "MSW"; then
43551 { echo "$as_me:$LINENO: checking for socket" >&5
43552 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43553 if test "${ac_cv_func_socket+set}" = set; then
43554 echo $ECHO_N "(cached) $ECHO_C" >&6
43556 cat >conftest.
$ac_ext <<_ACEOF
43559 cat confdefs.h
>>conftest.
$ac_ext
43560 cat >>conftest.
$ac_ext <<_ACEOF
43561 /* end confdefs.h. */
43562 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43564 #define socket innocuous_socket
43566 /* System header to define __stub macros and hopefully few prototypes,
43567 which can conflict with char socket (); below.
43568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43569 <limits.h> exists even on freestanding compilers. */
43572 # include <limits.h>
43574 # include <assert.h>
43579 /* Override any GCC internal prototype to avoid an error.
43580 Use char because int might match the return type of a GCC
43581 builtin and then its argument prototype would still apply. */
43586 /* The GNU C library defines this for functions which it implements
43587 to always fail with ENOSYS. Some functions are actually named
43588 something starting with __ and the normal name is an alias. */
43589 #if defined __stub_socket || defined __stub___socket
43601 rm -f conftest.
$ac_objext conftest
$ac_exeext
43602 if { (ac_try
="$ac_link"
43603 case "(($ac_try" in
43604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43605 *) ac_try_echo=$ac_try;;
43607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43608 (eval "$ac_link") 2>conftest.er1
43610 grep -v '^ *+' conftest.er1 >conftest.err
43612 cat conftest.err >&5
43613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43614 (exit $ac_status); } && {
43615 test -z "$ac_c_werror_flag" ||
43616 test ! -s conftest.err
43617 } && test -s conftest$ac_exeext &&
43618 $as_test_x conftest$ac_exeext; then
43619 ac_cv_func_socket=yes
43621 echo "$as_me: failed program was:" >&5
43622 sed 's/^/| /' conftest.$ac_ext >&5
43624 ac_cv_func_socket=no
43627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43628 conftest$ac_exeext conftest.$ac_ext
43630 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43631 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43632 if test $ac_cv_func_socket = yes; then
43636 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43637 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43638 if test "${ac_cv_lib_socket_socket+set}" = set; then
43639 echo $ECHO_N "(cached) $ECHO_C" >&6
43641 ac_check_lib_save_LIBS=$LIBS
43642 LIBS="-lsocket $LIBS"
43643 cat >conftest.$ac_ext <<_ACEOF
43646 cat confdefs.h >>conftest.$ac_ext
43647 cat >>conftest.$ac_ext <<_ACEOF
43648 /* end confdefs.h. */
43650 /* Override any GCC internal prototype to avoid an error.
43651 Use char because int might match the return type of a GCC
43652 builtin and then its argument prototype would still apply. */
43665 rm -f conftest.$ac_objext conftest$ac_exeext
43666 if { (ac_try="$ac_link"
43667 case "(($ac_try" in
43668 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43669 *) ac_try_echo
=$ac_try;;
43671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43672 (eval "$ac_link") 2>conftest.er1
43674 grep -v '^ *+' conftest.er1
>conftest.err
43676 cat conftest.err
>&5
43677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43678 (exit $ac_status); } && {
43679 test -z "$ac_c_werror_flag" ||
43680 test ! -s conftest.err
43681 } && test -s conftest
$ac_exeext &&
43682 $as_test_x conftest
$ac_exeext; then
43683 ac_cv_lib_socket_socket
=yes
43685 echo "$as_me: failed program was:" >&5
43686 sed 's/^/| /' conftest.
$ac_ext >&5
43688 ac_cv_lib_socket_socket
=no
43691 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43692 conftest
$ac_exeext conftest.
$ac_ext
43693 LIBS
=$ac_check_lib_save_LIBS
43695 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43696 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43697 if test $ac_cv_lib_socket_socket = yes; then
43698 if test "$INET_LINK" != " -lsocket"; then
43699 INET_LINK
="$INET_LINK -lsocket"
43703 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43704 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43717 if test "$wxUSE_SOCKETS" = "yes" ; then
43718 if test "$TOOLKIT" != "MSW"; then
43719 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43720 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43721 if test "${wx_cv_type_getsockname3+set}" = set; then
43722 echo $ECHO_N "(cached) $ECHO_C" >&6
43726 ac_cpp
='$CXXCPP $CPPFLAGS'
43727 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43728 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43729 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43731 cat >conftest.
$ac_ext <<_ACEOF
43734 cat confdefs.h
>>conftest.
$ac_ext
43735 cat >>conftest.
$ac_ext <<_ACEOF
43736 /* end confdefs.h. */
43738 #include <sys/types.h>
43739 #include <sys/socket.h>
43746 getsockname(0, 0, &len);
43752 rm -f conftest.
$ac_objext
43753 if { (ac_try
="$ac_compile"
43754 case "(($ac_try" in
43755 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43756 *) ac_try_echo=$ac_try;;
43758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43759 (eval "$ac_compile") 2>conftest.er1
43761 grep -v '^ *+' conftest.er1 >conftest.err
43763 cat conftest.err >&5
43764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43765 (exit $ac_status); } && {
43766 test -z "$ac_cxx_werror_flag" ||
43767 test ! -s conftest.err
43768 } && test -s conftest.$ac_objext; then
43769 wx_cv_type_getsockname3=socklen_t
43771 echo "$as_me: failed program was:" >&5
43772 sed 's/^/| /' conftest.$ac_ext >&5
43775 CFLAGS_OLD="$CFLAGS"
43776 if test "$GCC" = yes ; then
43777 CFLAGS="-Werror $CFLAGS"
43780 cat >conftest.$ac_ext <<_ACEOF
43783 cat confdefs.h >>conftest.$ac_ext
43784 cat >>conftest.$ac_ext <<_ACEOF
43785 /* end confdefs.h. */
43787 #include <sys/types.h>
43788 #include <sys/socket.h>
43795 getsockname(0, 0, &len);
43801 rm -f conftest.$ac_objext
43802 if { (ac_try="$ac_compile"
43803 case "(($ac_try" in
43804 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43805 *) ac_try_echo
=$ac_try;;
43807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43808 (eval "$ac_compile") 2>conftest.er1
43810 grep -v '^ *+' conftest.er1
>conftest.err
43812 cat conftest.err
>&5
43813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43814 (exit $ac_status); } && {
43815 test -z "$ac_cxx_werror_flag" ||
43816 test ! -s conftest.err
43817 } && test -s conftest.
$ac_objext; then
43818 wx_cv_type_getsockname3
=size_t
43820 echo "$as_me: failed program was:" >&5
43821 sed 's/^/| /' conftest.
$ac_ext >&5
43823 cat >conftest.
$ac_ext <<_ACEOF
43826 cat confdefs.h
>>conftest.
$ac_ext
43827 cat >>conftest.
$ac_ext <<_ACEOF
43828 /* end confdefs.h. */
43830 #include <sys/types.h>
43831 #include <sys/socket.h>
43838 getsockname(0, 0, &len);
43844 rm -f conftest.
$ac_objext
43845 if { (ac_try
="$ac_compile"
43846 case "(($ac_try" in
43847 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43848 *) ac_try_echo=$ac_try;;
43850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43851 (eval "$ac_compile") 2>conftest.er1
43853 grep -v '^ *+' conftest.er1 >conftest.err
43855 cat conftest.err >&5
43856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43857 (exit $ac_status); } && {
43858 test -z "$ac_cxx_werror_flag" ||
43859 test ! -s conftest.err
43860 } && test -s conftest.$ac_objext; then
43861 wx_cv_type_getsockname3=int
43863 echo "$as_me: failed program was:" >&5
43864 sed 's/^/| /' conftest.$ac_ext >&5
43866 wx_cv_type_getsockname3=unknown
43870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43876 CFLAGS="$CFLAGS_OLD"
43881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43883 ac_cpp='$CPP $CPPFLAGS'
43884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43890 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43891 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43893 if test "$wx_cv_type_getsockname3" = "unknown"; then
43895 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43896 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43898 cat >>confdefs.h <<_ACEOF
43899 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43903 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43904 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43905 if test "${wx_cv_type_getsockopt5+set}" = set; then
43906 echo $ECHO_N "(cached) $ECHO_C" >&6
43910 ac_cpp='$CXXCPP $CPPFLAGS'
43911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43915 cat >conftest.$ac_ext <<_ACEOF
43918 cat confdefs.h >>conftest.$ac_ext
43919 cat >>conftest.$ac_ext <<_ACEOF
43920 /* end confdefs.h. */
43922 #include <sys/types.h>
43923 #include <sys/socket.h>
43930 getsockopt(0, 0, 0, 0, &len);
43936 rm -f conftest.$ac_objext
43937 if { (ac_try="$ac_compile"
43938 case "(($ac_try" in
43939 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43940 *) ac_try_echo
=$ac_try;;
43942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43943 (eval "$ac_compile") 2>conftest.er1
43945 grep -v '^ *+' conftest.er1
>conftest.err
43947 cat conftest.err
>&5
43948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43949 (exit $ac_status); } && {
43950 test -z "$ac_cxx_werror_flag" ||
43951 test ! -s conftest.err
43952 } && test -s conftest.
$ac_objext; then
43953 wx_cv_type_getsockopt5
=socklen_t
43955 echo "$as_me: failed program was:" >&5
43956 sed 's/^/| /' conftest.
$ac_ext >&5
43959 cat >conftest.
$ac_ext <<_ACEOF
43962 cat confdefs.h
>>conftest.
$ac_ext
43963 cat >>conftest.
$ac_ext <<_ACEOF
43964 /* end confdefs.h. */
43966 #include <sys/types.h>
43967 #include <sys/socket.h>
43974 getsockopt(0, 0, 0, 0, &len);
43980 rm -f conftest.
$ac_objext
43981 if { (ac_try
="$ac_compile"
43982 case "(($ac_try" in
43983 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43984 *) ac_try_echo=$ac_try;;
43986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43987 (eval "$ac_compile") 2>conftest.er1
43989 grep -v '^ *+' conftest.er1 >conftest.err
43991 cat conftest.err >&5
43992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43993 (exit $ac_status); } && {
43994 test -z "$ac_cxx_werror_flag" ||
43995 test ! -s conftest.err
43996 } && test -s conftest.$ac_objext; then
43997 wx_cv_type_getsockopt5=size_t
43999 echo "$as_me: failed program was:" >&5
44000 sed 's/^/| /' conftest.$ac_ext >&5
44002 cat >conftest.$ac_ext <<_ACEOF
44005 cat confdefs.h >>conftest.$ac_ext
44006 cat >>conftest.$ac_ext <<_ACEOF
44007 /* end confdefs.h. */
44009 #include <sys/types.h>
44010 #include <sys/socket.h>
44017 getsockopt(0, 0, 0, 0, &len);
44023 rm -f conftest.$ac_objext
44024 if { (ac_try="$ac_compile"
44025 case "(($ac_try" in
44026 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44027 *) ac_try_echo
=$ac_try;;
44029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44030 (eval "$ac_compile") 2>conftest.er1
44032 grep -v '^ *+' conftest.er1
>conftest.err
44034 cat conftest.err
>&5
44035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44036 (exit $ac_status); } && {
44037 test -z "$ac_cxx_werror_flag" ||
44038 test ! -s conftest.err
44039 } && test -s conftest.
$ac_objext; then
44040 wx_cv_type_getsockopt5
=int
44042 echo "$as_me: failed program was:" >&5
44043 sed 's/^/| /' conftest.
$ac_ext >&5
44045 wx_cv_type_getsockopt5
=unknown
44049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44060 ac_cpp
='$CPP $CPPFLAGS'
44061 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44062 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44063 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44067 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44068 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44070 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44072 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44073 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44075 cat >>confdefs.h
<<_ACEOF
44076 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44083 if test "$wxUSE_SOCKETS" = "yes" ; then
44084 if test "$wxUSE_IPV6" = "yes"; then
44085 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44086 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44087 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44088 echo $ECHO_N "(cached) $ECHO_C" >&6
44091 cat >conftest.
$ac_ext <<_ACEOF
44094 cat confdefs.h
>>conftest.
$ac_ext
44095 cat >>conftest.
$ac_ext <<_ACEOF
44096 /* end confdefs.h. */
44098 #include <sys/types.h>
44099 #include <sys/socket.h>
44100 #include <netinet/in.h>
44106 struct sockaddr_in6 sa6;
44112 rm -f conftest.
$ac_objext
44113 if { (ac_try
="$ac_compile"
44114 case "(($ac_try" in
44115 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44116 *) ac_try_echo=$ac_try;;
44118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44119 (eval "$ac_compile") 2>conftest.er1
44121 grep -v '^ *+' conftest.er1 >conftest.err
44123 cat conftest.err >&5
44124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44125 (exit $ac_status); } && {
44126 test -z "$ac_c_werror_flag" ||
44127 test ! -s conftest.err
44128 } && test -s conftest.$ac_objext; then
44129 wx_cv_type_sockaddr_in6=yes
44131 echo "$as_me: failed program was:" >&5
44132 sed 's/^/| /' conftest.$ac_ext >&5
44134 wx_cv_type_sockaddr_in6=no
44138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44142 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44143 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44145 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44146 cat >>confdefs.h <<\_ACEOF
44147 #define wxUSE_IPV6 1
44151 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44152 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44156 cat >>confdefs.h <<\_ACEOF
44157 #define wxUSE_SOCKETS 1
44160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44163 if test "$wxUSE_PROTOCOL" = "yes"; then
44164 if test "$wxUSE_SOCKETS" != "yes"; then
44165 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44166 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44171 if test "$wxUSE_PROTOCOL" = "yes"; then
44172 cat >>confdefs.h <<\_ACEOF
44173 #define wxUSE_PROTOCOL 1
44177 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44178 cat >>confdefs.h <<\_ACEOF
44179 #define wxUSE_PROTOCOL_HTTP 1
44183 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44184 cat >>confdefs.h <<\_ACEOF
44185 #define wxUSE_PROTOCOL_FTP 1
44189 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44190 cat >>confdefs.h <<\_ACEOF
44191 #define wxUSE_PROTOCOL_FILE 1
44196 if test "$wxUSE_FS_INET" = "yes"; then
44197 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44198 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44203 if test "$wxUSE_URL" = "yes"; then
44204 if test "$wxUSE_PROTOCOL" != "yes"; then
44205 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44206 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44209 if test "$wxUSE_URL" = "yes"; then
44210 cat >>confdefs.h <<\_ACEOF
44211 #define wxUSE_URL 1
44217 if test "$wxUSE_VARIANT" = "yes"; then
44218 cat >>confdefs.h <<\_ACEOF
44219 #define wxUSE_VARIANT 1
44224 if test "$wxUSE_FS_INET" = "yes"; then
44225 cat >>confdefs.h <<\_ACEOF
44226 #define wxUSE_FS_INET 1
44232 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44235 if test "$TOOLKIT" = "MSW"; then
44238 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44239 if test "$USE_DARWIN" = 1; then
44240 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44241 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44243 ac_cpp='$CXXCPP $CPPFLAGS'
44244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44248 cat >conftest.$ac_ext <<_ACEOF
44251 cat confdefs.h >>conftest.$ac_ext
44252 cat >>conftest.$ac_ext <<_ACEOF
44253 /* end confdefs.h. */
44254 #include <IOKit/hid/IOHIDLib.h>
44258 IOHIDQueueInterface *qi = NULL;
44259 IOHIDCallbackFunction cb = NULL;
44260 qi->setEventCallout(NULL, cb, NULL, NULL);
44265 rm -f conftest.$ac_objext
44266 if { (ac_try="$ac_compile"
44267 case "(($ac_try" in
44268 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44269 *) ac_try_echo
=$ac_try;;
44271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44272 (eval "$ac_compile") 2>conftest.er1
44274 grep -v '^ *+' conftest.er1
>conftest.err
44276 cat conftest.err
>&5
44277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44278 (exit $ac_status); } && {
44279 test -z "$ac_cxx_werror_flag" ||
44280 test ! -s conftest.err
44281 } && test -s conftest.
$ac_objext; then
44285 echo "$as_me: failed program was:" >&5
44286 sed 's/^/| /' conftest.
$ac_ext >&5
44291 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44293 ac_cpp
='$CPP $CPPFLAGS'
44294 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44295 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44296 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44298 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44299 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44303 if test "$wxUSE_MGL" != 1; then
44305 for ac_header
in linux
/joystick.h
44307 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44308 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44310 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44311 echo $ECHO_N "(cached) $ECHO_C" >&6
44313 cat >conftest.
$ac_ext <<_ACEOF
44316 cat confdefs.h
>>conftest.
$ac_ext
44317 cat >>conftest.
$ac_ext <<_ACEOF
44318 /* end confdefs.h. */
44319 $ac_includes_default
44321 #include <$ac_header>
44323 rm -f conftest.
$ac_objext
44324 if { (ac_try
="$ac_compile"
44325 case "(($ac_try" in
44326 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44327 *) ac_try_echo=$ac_try;;
44329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44330 (eval "$ac_compile") 2>conftest.er1
44332 grep -v '^ *+' conftest.er1 >conftest.err
44334 cat conftest.err >&5
44335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44336 (exit $ac_status); } && {
44337 test -z "$ac_c_werror_flag" ||
44338 test ! -s conftest.err
44339 } && test -s conftest.$ac_objext; then
44340 eval "$as_ac_Header=yes"
44342 echo "$as_me: failed program was:" >&5
44343 sed 's/^/| /' conftest.$ac_ext >&5
44345 eval "$as_ac_Header=no"
44348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44350 ac_res=`eval echo '${'$as_ac_Header'}'`
44351 { echo "$as_me:$LINENO: result: $ac_res" >&5
44352 echo "${ECHO_T}$ac_res" >&6; }
44353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44354 cat >>confdefs.h <<_ACEOF
44355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44365 if test "$wxUSE_JOYSTICK" = "yes"; then
44366 cat >>confdefs.h <<\_ACEOF
44367 #define wxUSE_JOYSTICK 1
44370 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44372 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44373 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44379 if test "$wxUSE_FONTENUM" = "yes" ; then
44380 cat >>confdefs.h <<\_ACEOF
44381 #define wxUSE_FONTENUM 1
44386 if test "$wxUSE_FONTMAP" = "yes" ; then
44387 cat >>confdefs.h <<\_ACEOF
44388 #define wxUSE_FONTMAP 1
44393 if test "$wxUSE_UNICODE" = "yes" ; then
44394 cat >>confdefs.h <<\_ACEOF
44395 #define wxUSE_UNICODE 1
44399 if test "$USE_WIN32" != 1; then
44400 wxUSE_UNICODE_MSLU=no
44403 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44404 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44405 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44406 if test "${ac_cv_lib_unicows_main+set}" = set; then
44407 echo $ECHO_N "(cached) $ECHO_C" >&6
44409 ac_check_lib_save_LIBS=$LIBS
44410 LIBS="-lunicows $LIBS"
44411 cat >conftest.$ac_ext <<_ACEOF
44414 cat confdefs.h >>conftest.$ac_ext
44415 cat >>conftest.$ac_ext <<_ACEOF
44416 /* end confdefs.h. */
44427 rm -f conftest.$ac_objext conftest$ac_exeext
44428 if { (ac_try="$ac_link"
44429 case "(($ac_try" in
44430 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44431 *) ac_try_echo
=$ac_try;;
44433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44434 (eval "$ac_link") 2>conftest.er1
44436 grep -v '^ *+' conftest.er1
>conftest.err
44438 cat conftest.err
>&5
44439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44440 (exit $ac_status); } && {
44441 test -z "$ac_c_werror_flag" ||
44442 test ! -s conftest.err
44443 } && test -s conftest
$ac_exeext &&
44444 $as_test_x conftest
$ac_exeext; then
44445 ac_cv_lib_unicows_main
=yes
44447 echo "$as_me: failed program was:" >&5
44448 sed 's/^/| /' conftest.
$ac_ext >&5
44450 ac_cv_lib_unicows_main
=no
44453 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44454 conftest
$ac_exeext conftest.
$ac_ext
44455 LIBS
=$ac_check_lib_save_LIBS
44457 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44458 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44459 if test $ac_cv_lib_unicows_main = yes; then
44461 cat >>confdefs.h
<<\_ACEOF
44462 #define wxUSE_UNICODE_MSLU 1
44468 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44469 Applications will only run on Windows NT/2000/XP!" >&5
44470 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44471 Applications will only run on Windows NT/2000/XP!" >&2;}
44472 wxUSE_UNICODE_MSLU
=no
44479 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44480 cat >>confdefs.h
<<\_ACEOF
44481 #define wxUSE_UNICODE_UTF8 1
44485 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44486 cat >>confdefs.h
<<\_ACEOF
44487 #define wxUSE_UTF8_LOCALE_ONLY 1
44494 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44495 cat >>confdefs.h
<<\_ACEOF
44496 #define wxUSE_CONSTRAINTS 1
44499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
44502 if test "$wxUSE_MDI" = "yes"; then
44503 cat >>confdefs.h
<<\_ACEOF
44504 #define wxUSE_MDI 1
44508 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44509 cat >>confdefs.h
<<\_ACEOF
44510 #define wxUSE_MDI_ARCHITECTURE 1
44513 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
44517 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44518 cat >>confdefs.h
<<\_ACEOF
44519 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44522 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
44523 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44524 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
44528 if test "$wxUSE_HELP" = "yes"; then
44529 cat >>confdefs.h
<<\_ACEOF
44530 #define wxUSE_HELP 1
44533 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
44535 if test "$wxUSE_MSW" = 1; then
44536 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44537 cat >>confdefs.h
<<\_ACEOF
44538 #define wxUSE_MS_HTML_HELP 1
44544 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44545 if test "$wxUSE_HTML" = "yes"; then
44546 cat >>confdefs.h
<<\_ACEOF
44547 #define wxUSE_WXHTML_HELP 1
44551 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44552 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44553 wxUSE_WXHTML_HELP
=no
44558 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44559 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44560 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44561 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44563 cat >>confdefs.h
<<\_ACEOF
44564 #define wxUSE_PRINTING_ARCHITECTURE 1
44568 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
44571 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44572 cat >>confdefs.h
<<\_ACEOF
44573 #define wxUSE_POSTSCRIPT 1
44578 cat >>confdefs.h
<<\_ACEOF
44579 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44583 if test "$wxUSE_SVG" = "yes"; then
44584 cat >>confdefs.h
<<\_ACEOF
44585 #define wxUSE_SVG 1
44591 if test "$wxUSE_METAFILE" = "yes"; then
44592 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44593 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44594 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44600 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
44601 -o "$wxUSE_CLIPBOARD" = "yes" \
44602 -o "$wxUSE_OLE" = "yes" \
44603 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
44604 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44605 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44606 if test "${ac_cv_header_ole2_h+set}" = set; then
44607 echo $ECHO_N "(cached) $ECHO_C" >&6
44609 cat >conftest.
$ac_ext <<_ACEOF
44612 cat confdefs.h
>>conftest.
$ac_ext
44613 cat >>conftest.
$ac_ext <<_ACEOF
44614 /* end confdefs.h. */
44619 rm -f conftest.
$ac_objext
44620 if { (ac_try
="$ac_compile"
44621 case "(($ac_try" in
44622 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44623 *) ac_try_echo=$ac_try;;
44625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44626 (eval "$ac_compile") 2>conftest.er1
44628 grep -v '^ *+' conftest.er1 >conftest.err
44630 cat conftest.err >&5
44631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44632 (exit $ac_status); } && {
44633 test -z "$ac_c_werror_flag" ||
44634 test ! -s conftest.err
44635 } && test -s conftest.$ac_objext; then
44636 ac_cv_header_ole2_h=yes
44638 echo "$as_me: failed program was:" >&5
44639 sed 's/^/| /' conftest.$ac_ext >&5
44641 ac_cv_header_ole2_h=no
44644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44646 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44647 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44651 if test "$ac_cv_header_ole2_h" = "yes" ; then
44652 if test "$GCC" = yes ; then
44653 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44654 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44655 cat >conftest.$ac_ext <<_ACEOF
44658 cat confdefs.h >>conftest.$ac_ext
44659 cat >>conftest.$ac_ext <<_ACEOF
44660 /* end confdefs.h. */
44661 #include <windows.h>
44671 rm -f conftest.$ac_objext
44672 if { (ac_try="$ac_compile"
44673 case "(($ac_try" in
44674 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44675 *) ac_try_echo
=$ac_try;;
44677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44678 (eval "$ac_compile") 2>conftest.er1
44680 grep -v '^ *+' conftest.er1
>conftest.err
44682 cat conftest.err
>&5
44683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44684 (exit $ac_status); } && {
44685 test -z "$ac_c_werror_flag" ||
44686 test ! -s conftest.err
44687 } && test -s conftest.
$ac_objext; then
44688 { echo "$as_me:$LINENO: result: no" >&5
44689 echo "${ECHO_T}no" >&6; }
44691 echo "$as_me: failed program was:" >&5
44692 sed 's/^/| /' conftest.
$ac_ext >&5
44694 { echo "$as_me:$LINENO: result: yes" >&5
44695 echo "${ECHO_T}yes" >&6; }
44696 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44700 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44701 if test "$wxUSE_OLE" = "yes" ; then
44702 cat >>confdefs.h
<<\_ACEOF
44703 #define wxUSE_OLE 1
44706 cat >>confdefs.h
<<\_ACEOF
44707 #define wxUSE_OLE_AUTOMATION 1
44710 cat >>confdefs.h
<<\_ACEOF
44711 #define wxUSE_ACTIVEX 1
44714 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
44718 if test "$wxUSE_DATAOBJ" = "yes" ; then
44719 cat >>confdefs.h
<<\_ACEOF
44720 #define wxUSE_DATAOBJ 1
44725 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44726 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44729 wxUSE_DRAG_AND_DROP
=no
44734 if test "$wxUSE_METAFILE" = "yes"; then
44735 cat >>confdefs.h
<<\_ACEOF
44736 #define wxUSE_METAFILE 1
44740 cat >>confdefs.h
<<\_ACEOF
44741 #define wxUSE_ENH_METAFILE 1
44747 if test "$wxUSE_IPC" = "yes"; then
44748 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44749 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44750 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44754 if test "$wxUSE_IPC" = "yes"; then
44755 cat >>confdefs.h
<<\_ACEOF
44756 #define wxUSE_IPC 1
44759 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
44763 if test "$wxUSE_DATAOBJ" = "yes"; then
44764 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44765 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44766 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44769 cat >>confdefs.h
<<\_ACEOF
44770 #define wxUSE_DATAOBJ 1
44775 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44776 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44778 wxUSE_DRAG_AND_DROP
=no
44781 if test "$wxUSE_CLIPBOARD" = "yes"; then
44782 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44783 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44784 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44788 if test "$wxUSE_CLIPBOARD" = "yes"; then
44789 cat >>confdefs.h
<<\_ACEOF
44790 #define wxUSE_CLIPBOARD 1
44796 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44797 if test "$wxUSE_GTK" = 1; then
44798 if test "$WXGTK12" != 1; then
44799 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44800 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44801 wxUSE_DRAG_AND_DROP
=no
44805 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44806 "$wxUSE_DFB" = 1; then
44807 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44808 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44809 wxUSE_DRAG_AND_DROP
=no
44812 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44813 cat >>confdefs.h
<<\_ACEOF
44814 #define wxUSE_DRAG_AND_DROP 1
44821 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44822 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
44825 if test "$wxUSE_SPLINES" = "yes" ; then
44826 cat >>confdefs.h
<<\_ACEOF
44827 #define wxUSE_SPLINES 1
44832 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44833 cat >>confdefs.h
<<\_ACEOF
44834 #define wxUSE_MOUSEWHEEL 1
44841 if test "$wxUSE_CONTROLS" = "yes"; then
44845 if test "$wxUSE_ACCEL" = "yes"; then
44846 cat >>confdefs.h
<<\_ACEOF
44847 #define wxUSE_ACCEL 1
44853 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44854 cat >>confdefs.h
<<\_ACEOF
44855 #define wxUSE_ANIMATIONCTRL 1
44859 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
44862 if test "$wxUSE_BUTTON" = "yes"; then
44863 cat >>confdefs.h
<<\_ACEOF
44864 #define wxUSE_BUTTON 1
44870 if test "$wxUSE_BMPBUTTON" = "yes"; then
44871 cat >>confdefs.h
<<\_ACEOF
44872 #define wxUSE_BMPBUTTON 1
44878 if test "$wxUSE_CALCTRL" = "yes"; then
44879 cat >>confdefs.h
<<\_ACEOF
44880 #define wxUSE_CALENDARCTRL 1
44884 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
44887 if test "$wxUSE_CARET" = "yes"; then
44888 cat >>confdefs.h
<<\_ACEOF
44889 #define wxUSE_CARET 1
44893 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
44896 if test "$wxUSE_COLLPANE" = "yes"; then
44897 cat >>confdefs.h
<<\_ACEOF
44898 #define wxUSE_COLLPANE 1
44902 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
44905 if test "$wxUSE_COMBOBOX" = "yes"; then
44906 cat >>confdefs.h
<<\_ACEOF
44907 #define wxUSE_COMBOBOX 1
44913 if test "$wxUSE_COMBOCTRL" = "yes"; then
44914 cat >>confdefs.h
<<\_ACEOF
44915 #define wxUSE_COMBOCTRL 1
44921 if test "$wxUSE_CHOICE" = "yes"; then
44922 cat >>confdefs.h
<<\_ACEOF
44923 #define wxUSE_CHOICE 1
44929 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44930 cat >>confdefs.h
<<\_ACEOF
44931 #define wxUSE_CHOICEBOOK 1
44937 if test "$wxUSE_CHECKBOX" = "yes"; then
44938 cat >>confdefs.h
<<\_ACEOF
44939 #define wxUSE_CHECKBOX 1
44945 if test "$wxUSE_CHECKLST" = "yes"; then
44946 cat >>confdefs.h
<<\_ACEOF
44947 #define wxUSE_CHECKLISTBOX 1
44953 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44954 cat >>confdefs.h
<<\_ACEOF
44955 #define wxUSE_COLOURPICKERCTRL 1
44961 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44962 cat >>confdefs.h
<<\_ACEOF
44963 #define wxUSE_DATEPICKCTRL 1
44969 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44970 cat >>confdefs.h
<<\_ACEOF
44971 #define wxUSE_DIRPICKERCTRL 1
44977 if test "$wxUSE_FILECTRL" = "yes"; then
44978 cat >>confdefs.h
<<\_ACEOF
44979 #define wxUSE_FILECTRL 1
44985 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44986 cat >>confdefs.h
<<\_ACEOF
44987 #define wxUSE_FILEPICKERCTRL 1
44993 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44994 cat >>confdefs.h
<<\_ACEOF
44995 #define wxUSE_FONTPICKERCTRL 1
45001 if test "$wxUSE_DISPLAY" = "yes"; then
45002 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45003 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45004 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45007 cat >>confdefs.h
<<\_ACEOF
45008 #define wxUSE_DISPLAY 1
45011 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45015 if test "$wxUSE_DETECT_SM" = "yes"; then
45016 cat >>confdefs.h
<<\_ACEOF
45017 #define wxUSE_DETECT_SM 1
45022 if test "$wxUSE_GAUGE" = "yes"; then
45023 cat >>confdefs.h
<<\_ACEOF
45024 #define wxUSE_GAUGE 1
45030 if test "$wxUSE_GRID" = "yes"; then
45031 cat >>confdefs.h
<<\_ACEOF
45032 #define wxUSE_GRID 1
45036 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45039 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45040 cat >>confdefs.h
<<\_ACEOF
45041 #define wxUSE_HYPERLINKCTRL 1
45047 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45048 cat >>confdefs.h
<<\_ACEOF
45049 #define wxUSE_BITMAPCOMBOBOX 1
45055 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45056 cat >>confdefs.h
<<\_ACEOF
45057 #define wxUSE_DATAVIEWCTRL 1
45061 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45064 if test "$wxUSE_IMAGLIST" = "yes"; then
45065 cat >>confdefs.h
<<\_ACEOF
45066 #define wxUSE_IMAGLIST 1
45071 if test "$wxUSE_LISTBOOK" = "yes"; then
45072 cat >>confdefs.h
<<\_ACEOF
45073 #define wxUSE_LISTBOOK 1
45079 if test "$wxUSE_LISTBOX" = "yes"; then
45080 cat >>confdefs.h
<<\_ACEOF
45081 #define wxUSE_LISTBOX 1
45087 if test "$wxUSE_LISTCTRL" = "yes"; then
45088 if test "$wxUSE_IMAGLIST" = "yes"; then
45089 cat >>confdefs.h
<<\_ACEOF
45090 #define wxUSE_LISTCTRL 1
45094 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45096 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45097 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45101 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45102 cat >>confdefs.h
<<\_ACEOF
45103 #define wxUSE_EDITABLELISTBOX 1
45107 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
45110 if test "$wxUSE_NOTEBOOK" = "yes"; then
45111 cat >>confdefs.h
<<\_ACEOF
45112 #define wxUSE_NOTEBOOK 1
45116 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45119 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45120 cat >>confdefs.h
<<\_ACEOF
45121 #define wxUSE_NOTIFICATION_MESSAGE 1
45126 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45127 cat >>confdefs.h
<<\_ACEOF
45128 #define wxUSE_ODCOMBOBOX 1
45132 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45135 if test "$wxUSE_RADIOBOX" = "yes"; then
45136 cat >>confdefs.h
<<\_ACEOF
45137 #define wxUSE_RADIOBOX 1
45143 if test "$wxUSE_RADIOBTN" = "yes"; then
45144 cat >>confdefs.h
<<\_ACEOF
45145 #define wxUSE_RADIOBTN 1
45151 if test "$wxUSE_SASH" = "yes"; then
45152 cat >>confdefs.h
<<\_ACEOF
45153 #define wxUSE_SASH 1
45156 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45159 if test "$wxUSE_SCROLLBAR" = "yes"; then
45160 cat >>confdefs.h
<<\_ACEOF
45161 #define wxUSE_SCROLLBAR 1
45165 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45168 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45169 cat >>confdefs.h
<<\_ACEOF
45170 #define wxUSE_SEARCHCTRL 1
45176 if test "$wxUSE_SLIDER" = "yes"; then
45177 cat >>confdefs.h
<<\_ACEOF
45178 #define wxUSE_SLIDER 1
45184 if test "$wxUSE_SPINBTN" = "yes"; then
45185 cat >>confdefs.h
<<\_ACEOF
45186 #define wxUSE_SPINBTN 1
45192 if test "$wxUSE_SPINCTRL" = "yes"; then
45193 cat >>confdefs.h
<<\_ACEOF
45194 #define wxUSE_SPINCTRL 1
45200 if test "$wxUSE_SPLITTER" = "yes"; then
45201 cat >>confdefs.h
<<\_ACEOF
45202 #define wxUSE_SPLITTER 1
45205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45208 if test "$wxUSE_STATBMP" = "yes"; then
45209 cat >>confdefs.h
<<\_ACEOF
45210 #define wxUSE_STATBMP 1
45216 if test "$wxUSE_STATBOX" = "yes"; then
45217 cat >>confdefs.h
<<\_ACEOF
45218 #define wxUSE_STATBOX 1
45224 if test "$wxUSE_STATTEXT" = "yes"; then
45225 cat >>confdefs.h
<<\_ACEOF
45226 #define wxUSE_STATTEXT 1
45232 if test "$wxUSE_STATLINE" = "yes"; then
45233 cat >>confdefs.h
<<\_ACEOF
45234 #define wxUSE_STATLINE 1
45240 if test "$wxUSE_STATUSBAR" = "yes"; then
45241 cat >>confdefs.h
<<\_ACEOF
45242 #define wxUSE_NATIVE_STATUSBAR 1
45245 cat >>confdefs.h
<<\_ACEOF
45246 #define wxUSE_STATUSBAR 1
45251 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45254 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45255 cat >>confdefs.h
<<\_ACEOF
45256 #define wxUSE_TAB_DIALOG 1
45261 if test "$wxUSE_TEXTCTRL" = "yes"; then
45262 cat >>confdefs.h
<<\_ACEOF
45263 #define wxUSE_TEXTCTRL 1
45267 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45270 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45271 if test "$wxUSE_COCOA" = 1 ; then
45272 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45273 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45277 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45278 cat >>confdefs.h
<<\_ACEOF
45279 #define wxUSE_TOGGLEBTN 1
45286 if test "$wxUSE_TOOLBAR" = "yes"; then
45287 cat >>confdefs.h
<<\_ACEOF
45288 #define wxUSE_TOOLBAR 1
45293 if test "$wxUSE_UNIVERSAL" = "yes"; then
45294 wxUSE_TOOLBAR_NATIVE
="no"
45296 wxUSE_TOOLBAR_NATIVE
="yes"
45297 cat >>confdefs.h
<<\_ACEOF
45298 #define wxUSE_TOOLBAR_NATIVE 1
45303 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45306 if test "$wxUSE_TOOLTIPS" = "yes"; then
45307 if test "$wxUSE_MOTIF" = 1; then
45308 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45309 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45311 if test "$wxUSE_UNIVERSAL" = "yes"; then
45312 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45313 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45315 cat >>confdefs.h
<<\_ACEOF
45316 #define wxUSE_TOOLTIPS 1
45323 if test "$wxUSE_TREEBOOK" = "yes"; then
45324 cat >>confdefs.h
<<\_ACEOF
45325 #define wxUSE_TREEBOOK 1
45331 if test "$wxUSE_TOOLBOOK" = "yes"; then
45332 cat >>confdefs.h
<<\_ACEOF
45333 #define wxUSE_TOOLBOOK 1
45339 if test "$wxUSE_TREECTRL" = "yes"; then
45340 if test "$wxUSE_IMAGLIST" = "yes"; then
45341 cat >>confdefs.h
<<\_ACEOF
45342 #define wxUSE_TREECTRL 1
45346 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45348 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45349 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45353 if test "$wxUSE_POPUPWIN" = "yes"; then
45354 if test "$wxUSE_COCOA" = 1 ; then
45355 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45356 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45358 if test "$wxUSE_PM" = 1; then
45359 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45360 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45362 cat >>confdefs.h
<<\_ACEOF
45363 #define wxUSE_POPUPWIN 1
45366 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
45373 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45374 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45375 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45376 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45378 cat >>confdefs.h
<<\_ACEOF
45379 #define wxUSE_DIALUP_MANAGER 1
45382 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
45386 if test "$wxUSE_TIPWINDOW" = "yes"; then
45387 if test "$wxUSE_PM" = 1; then
45388 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45389 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45391 cat >>confdefs.h
<<\_ACEOF
45392 #define wxUSE_TIPWINDOW 1
45398 if test "$USES_CONTROLS" = 1; then
45399 cat >>confdefs.h
<<\_ACEOF
45400 #define wxUSE_CONTROLS 1
45406 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45407 cat >>confdefs.h
<<\_ACEOF
45408 #define wxUSE_ACCESSIBILITY 1
45411 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
45414 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45415 cat >>confdefs.h
<<\_ACEOF
45416 #define wxUSE_DRAGIMAGE 1
45419 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
45422 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45423 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45424 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45425 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45427 cat >>confdefs.h
<<\_ACEOF
45428 #define wxUSE_EXCEPTIONS 1
45431 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
45436 if test "$wxUSE_HTML" = "yes"; then
45437 cat >>confdefs.h
<<\_ACEOF
45438 #define wxUSE_HTML 1
45442 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45443 if test "$wxUSE_MAC" = 1; then
45444 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
45447 if test "$wxUSE_WEBKIT" = "yes"; then
45448 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45449 old_CPPFLAGS
="$CPPFLAGS"
45450 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
45451 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45452 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45453 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45454 echo $ECHO_N "(cached) $ECHO_C" >&6
45456 cat >conftest.
$ac_ext <<_ACEOF
45459 cat confdefs.h
>>conftest.
$ac_ext
45460 cat >>conftest.
$ac_ext <<_ACEOF
45461 /* end confdefs.h. */
45463 #include <Carbon/Carbon.h>
45464 #include <WebKit/WebKit.h>
45467 #include <WebKit/HIWebView.h>
45469 rm -f conftest.
$ac_objext
45470 if { (ac_try
="$ac_compile"
45471 case "(($ac_try" in
45472 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45473 *) ac_try_echo=$ac_try;;
45475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45476 (eval "$ac_compile") 2>conftest.er1
45478 grep -v '^ *+' conftest.er1 >conftest.err
45480 cat conftest.err >&5
45481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45482 (exit $ac_status); } && {
45483 test -z "$ac_c_werror_flag" ||
45484 test ! -s conftest.err
45485 } && test -s conftest.$ac_objext; then
45486 ac_cv_header_WebKit_HIWebView_h=yes
45488 echo "$as_me: failed program was:" >&5
45489 sed 's/^/| /' conftest.$ac_ext >&5
45491 ac_cv_header_WebKit_HIWebView_h=no
45494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45496 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45497 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45498 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45500 cat >>confdefs.h <<\_ACEOF
45501 #define wxUSE_WEBKIT 1
45504 WEBKIT_LINK="-framework WebKit"
45508 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45509 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45515 CPPFLAGS="$old_CPPFLAGS"
45516 elif test "$wxUSE_COCOA" = 1; then
45517 cat >>confdefs.h <<\_ACEOF
45518 #define wxUSE_WEBKIT 1
45527 if test "$wxUSE_XRC" = "yes"; then
45528 if test "$wxUSE_XML" != "yes"; then
45529 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45530 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45533 cat >>confdefs.h <<\_ACEOF
45534 #define wxUSE_XRC 1
45538 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45543 if test "$wxUSE_AUI" = "yes"; then
45544 cat >>confdefs.h <<\_ACEOF
45545 #define wxUSE_AUI 1
45549 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45553 if test "$wxUSE_STC" = "yes"; then
45554 cat >>confdefs.h <<\_ACEOF
45555 #define wxUSE_STC 1
45559 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45562 if test "$wxUSE_MENUS" = "yes"; then
45563 cat >>confdefs.h <<\_ACEOF
45564 #define wxUSE_MENUS 1
45567 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45570 if test "$wxUSE_METAFILE" = "yes"; then
45571 cat >>confdefs.h <<\_ACEOF
45572 #define wxUSE_METAFILE 1
45577 if test "$wxUSE_MIMETYPE" = "yes"; then
45578 cat >>confdefs.h <<\_ACEOF
45579 #define wxUSE_MIMETYPE 1
45584 if test "$wxUSE_MINIFRAME" = "yes"; then
45585 cat >>confdefs.h <<\_ACEOF
45586 #define wxUSE_MINIFRAME 1
45591 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45592 cat >>confdefs.h <<\_ACEOF
45593 #define wxUSE_SYSTEM_OPTIONS 1
45598 if test "$wxUSE_TASKBARICON" = "yes"; then
45599 cat >>confdefs.h <<\_ACEOF
45600 #define wxUSE_TASKBARICON 1
45603 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45607 if test "$wxUSE_VALIDATORS" = "yes"; then
45608 cat >>confdefs.h <<\_ACEOF
45609 #define wxUSE_VALIDATORS 1
45612 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45615 if test "$wxUSE_PALETTE" = "yes" ; then
45616 if test "$wxUSE_DFB" = 1; then
45617 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45618 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45621 cat >>confdefs.h <<\_ACEOF
45622 #define wxUSE_PALETTE 1
45628 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45629 LIBS=" -lunicows $LIBS"
45633 if test "$wxUSE_RICHTEXT" = "yes"; then
45634 cat >>confdefs.h <<\_ACEOF
45635 #define wxUSE_RICHTEXT 1
45639 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45643 if test "$wxUSE_IMAGE" = "yes" ; then
45644 cat >>confdefs.h <<\_ACEOF
45645 #define wxUSE_IMAGE 1
45649 if test "$wxUSE_GIF" = "yes" ; then
45650 cat >>confdefs.h <<\_ACEOF
45651 #define wxUSE_GIF 1
45656 if test "$wxUSE_PCX" = "yes" ; then
45657 cat >>confdefs.h <<\_ACEOF
45658 #define wxUSE_PCX 1
45663 if test "$wxUSE_TGA" = "yes" ; then
45664 cat >>confdefs.h <<\_ACEOF
45665 #define wxUSE_TGA 1
45670 if test "$wxUSE_IFF" = "yes" ; then
45671 cat >>confdefs.h <<\_ACEOF
45672 #define wxUSE_IFF 1
45677 if test "$wxUSE_PNM" = "yes" ; then
45678 cat >>confdefs.h <<\_ACEOF
45679 #define wxUSE_PNM 1
45684 if test "$wxUSE_XPM" = "yes" ; then
45685 cat >>confdefs.h <<\_ACEOF
45686 #define wxUSE_XPM 1
45691 if test "$wxUSE_ICO_CUR" = "yes" ; then
45692 cat >>confdefs.h <<\_ACEOF
45693 #define wxUSE_ICO_CUR 1
45700 if test "$wxUSE_ABOUTDLG" = "yes"; then
45701 cat >>confdefs.h <<\_ACEOF
45702 #define wxUSE_ABOUTDLG 1
45707 if test "$wxUSE_CHOICEDLG" = "yes"; then
45708 cat >>confdefs.h <<\_ACEOF
45709 #define wxUSE_CHOICEDLG 1
45714 if test "$wxUSE_COLOURDLG" = "yes"; then
45715 cat >>confdefs.h <<\_ACEOF
45716 #define wxUSE_COLOURDLG 1
45721 if test "$wxUSE_FILEDLG" = "yes"; then
45722 cat >>confdefs.h <<\_ACEOF
45723 #define wxUSE_FILEDLG 1
45728 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45729 cat >>confdefs.h <<\_ACEOF
45730 #define wxUSE_FINDREPLDLG 1
45735 if test "$wxUSE_FONTDLG" = "yes"; then
45736 cat >>confdefs.h <<\_ACEOF
45737 #define wxUSE_FONTDLG 1
45742 if test "$wxUSE_DIRDLG" = "yes"; then
45743 if test "$wxUSE_TREECTRL" != "yes"; then
45744 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45745 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45747 cat >>confdefs.h <<\_ACEOF
45748 #define wxUSE_DIRDLG 1
45754 if test "$wxUSE_MSGDLG" = "yes"; then
45755 cat >>confdefs.h <<\_ACEOF
45756 #define wxUSE_MSGDLG 1
45761 if test "$wxUSE_NUMBERDLG" = "yes"; then
45762 cat >>confdefs.h <<\_ACEOF
45763 #define wxUSE_NUMBERDLG 1
45768 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45769 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45770 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45771 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45773 cat >>confdefs.h <<\_ACEOF
45774 #define wxUSE_PROGRESSDLG 1
45780 if test "$wxUSE_SPLASH" = "yes"; then
45781 cat >>confdefs.h <<\_ACEOF
45782 #define wxUSE_SPLASH 1
45785 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45788 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45789 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45790 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45791 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45793 cat >>confdefs.h <<\_ACEOF
45794 #define wxUSE_STARTUP_TIPS 1
45800 if test "$wxUSE_TEXTDLG" = "yes"; then
45801 cat >>confdefs.h <<\_ACEOF
45802 #define wxUSE_TEXTDLG 1
45807 if test "$wxUSE_WIZARDDLG" = "yes"; then
45808 cat >>confdefs.h <<\_ACEOF
45809 #define wxUSE_WIZARDDLG 1
45812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45816 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45817 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45818 cat >>confdefs.h <<\_ACEOF
45819 #define wxUSE_OWNER_DRAWN 1
45826 if test "$wxUSE_MSW" = 1 ; then
45828 if test "$wxUSE_DC_CACHEING" = "yes"; then
45829 cat >>confdefs.h <<\_ACEOF
45830 #define wxUSE_DC_CACHEING 1
45835 if test "$wxUSE_DIB" = "yes"; then
45836 cat >>confdefs.h <<\_ACEOF
45837 #define wxUSE_WXDIB 1
45842 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45843 cat >>confdefs.h <<\_ACEOF
45844 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45849 if test "$wxUSE_UXTHEME" = "yes"; then
45850 cat >>confdefs.h <<\_ACEOF
45851 #define wxUSE_UXTHEME 1
45859 if test "$USE_WIN32" = 1 ; then
45860 if test "$wxUSE_INICONF" = "yes"; then
45861 cat >>confdefs.h <<\_ACEOF
45862 #define wxUSE_INICONF 1
45867 if test "$wxUSE_REGKEY" = "yes"; then
45868 cat >>confdefs.h <<\_ACEOF
45869 #define wxUSE_REGKEY 1
45876 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45877 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45878 cat >>confdefs.h <<\_ACEOF
45879 #define wxUSE_GRAPHICS_CONTEXT 1
45882 elif test "$wxUSE_GTK" != 1; then
45883 cat >>confdefs.h <<\_ACEOF
45884 #define wxUSE_GRAPHICS_CONTEXT 1
45890 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45891 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45893 if test -n "$PKG_CONFIG"; then
45894 if test -n "$CAIRO_CFLAGS"; then
45895 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45897 if test -n "$PKG_CONFIG" && \
45898 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45899 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45902 (exit $ac_status); }; then
45903 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
45911 if test -n "$PKG_CONFIG"; then
45912 if test -n "$CAIRO_LIBS"; then
45913 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45915 if test -n "$PKG_CONFIG" && \
45916 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45917 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45920 (exit $ac_status); }; then
45921 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
45932 if test $pkg_failed = yes; then
45934 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45935 _pkg_short_errors_supported=yes
45937 _pkg_short_errors_supported=no
45939 if test $_pkg_short_errors_supported = yes; then
45940 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45942 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45944 # Put the nasty error message in config.log where it belongs
45945 echo "$CAIRO_PKG_ERRORS" >&5
45947 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45948 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45950 elif test $pkg_failed = untried; then
45951 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45952 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45955 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45956 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45957 { echo "$as_me:$LINENO: result: yes" >&5
45958 echo "${ECHO_T}yes" >&6; }
45959 cat >>confdefs.h <<\_ACEOF
45960 #define wxUSE_GRAPHICS_CONTEXT 1
45970 if test "$wxUSE_MEDIACTRL" = "yes"; then
45973 if test "$wxUSE_GTK" = 1; then
45974 wxUSE_GSTREAMER="no"
45976 GST_VERSION_MAJOR=0
45977 GST_VERSION_MINOR=10
45978 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45980 if test "$wxUSE_GSTREAMER8" = "no"; then
45983 { echo "$as_me:$LINENO: checking for GST" >&5
45984 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45986 if test -n "$PKG_CONFIG"; then
45987 if test -n "$GST_CFLAGS"; then
45988 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45990 if test -n "$PKG_CONFIG" && \
45991 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45992 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45995 (exit $ac_status); }; then
45996 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46004 if test -n "$PKG_CONFIG"; then
46005 if test -n "$GST_LIBS"; then
46006 pkg_cv_GST_LIBS="$GST_LIBS"
46008 if test -n "$PKG_CONFIG" && \
46009 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46010 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46013 (exit $ac_status); }; then
46014 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46025 if test $pkg_failed = yes; then
46027 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46028 _pkg_short_errors_supported=yes
46030 _pkg_short_errors_supported=no
46032 if test $_pkg_short_errors_supported = yes; then
46033 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46035 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46037 # Put the nasty error message in config.log where it belongs
46038 echo "$GST_PKG_ERRORS" >&5
46041 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46042 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46043 GST_VERSION_MINOR=8
46046 elif test $pkg_failed = untried; then
46048 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46049 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46050 GST_VERSION_MINOR=8
46054 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46055 GST_LIBS=$pkg_cv_GST_LIBS
46056 { echo "$as_me:$LINENO: result: yes" >&5
46057 echo "${ECHO_T}yes" >&6; }
46059 wxUSE_GSTREAMER="yes"
46060 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46064 GST_VERSION_MINOR=8
46067 if test $GST_VERSION_MINOR = "8"; then
46068 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46071 { echo "$as_me:$LINENO: checking for GST" >&5
46072 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46074 if test -n "$PKG_CONFIG"; then
46075 if test -n "$GST_CFLAGS"; then
46076 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46078 if test -n "$PKG_CONFIG" && \
46079 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46080 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46083 (exit $ac_status); }; then
46084 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46092 if test -n "$PKG_CONFIG"; then
46093 if test -n "$GST_LIBS"; then
46094 pkg_cv_GST_LIBS="$GST_LIBS"
46096 if test -n "$PKG_CONFIG" && \
46097 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46098 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46101 (exit $ac_status); }; then
46102 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46113 if test $pkg_failed = yes; then
46115 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46116 _pkg_short_errors_supported=yes
46118 _pkg_short_errors_supported=no
46120 if test $_pkg_short_errors_supported = yes; then
46121 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46123 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46125 # Put the nasty error message in config.log where it belongs
46126 echo "$GST_PKG_ERRORS" >&5
46129 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46130 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46132 elif test $pkg_failed = untried; then
46134 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46135 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46138 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46139 GST_LIBS=$pkg_cv_GST_LIBS
46140 { echo "$as_me:$LINENO: result: yes" >&5
46141 echo "${ECHO_T}yes" >&6; }
46142 wxUSE_GSTREAMER="yes"
46147 if test "$wxUSE_GSTREAMER" = "yes"; then
46148 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46149 EXTRALIBS_MEDIA="$GST_LIBS"
46151 cat >>confdefs.h <<\_ACEOF
46152 #define wxUSE_GSTREAMER 1
46160 if test $USE_MEDIA = 1; then
46161 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46162 cat >>confdefs.h <<\_ACEOF
46163 #define wxUSE_MEDIACTRL 1
46170 if test "$cross_compiling" = "yes"; then
46173 OSINFO=`uname
-s -r -m`
46174 OSINFO="\"$OSINFO\""
46177 cat >>confdefs.h <<_ACEOF
46178 #define WXWIN_OS_DESCRIPTION $OSINFO
46183 if test "x$prefix" != "xNONE"; then
46186 wxPREFIX=$ac_default_prefix
46189 cat >>confdefs.h <<_ACEOF
46190 #define wxINSTALL_PREFIX "$wxPREFIX"
46196 STD_BASE_LIBS="base"
46198 BUILT_WX_LIBS="base"
46199 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46201 if test "$wxUSE_SOCKETS" = "yes" ; then
46202 STD_BASE_LIBS="net $STD_BASE_LIBS"
46203 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46205 if test "$wxUSE_XML" = "yes" ; then
46206 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46207 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46210 if test "$wxUSE_GUI" = "yes"; then
46211 STD_GUI_LIBS="adv core"
46212 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46214 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46215 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46216 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46218 if test "$wxUSE_HTML" = "yes" ; then
46219 STD_GUI_LIBS="html $STD_GUI_LIBS"
46220 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46222 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46223 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46225 if test "$wxUSE_OPENGL" = "yes" ; then
46226 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46228 if test "$wxUSE_AUI" = "yes" ; then
46229 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46231 if test "$wxUSE_STC" = "yes" ; then
46232 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46234 if test "$wxUSE_XRC" = "yes" ; then
46235 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46236 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46247 if test "$wxUSE_MAC" = 1 ; then
46248 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46249 if test "$USE_DARWIN" = 1; then
46250 LDFLAGS="$LDFLAGS -framework QuickTime"
46252 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46255 if test "$USE_DARWIN" = 1; then
46256 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46258 LDFLAGS="$LDFLAGS -lCarbonLib"
46261 if test "$wxUSE_COCOA" = 1 ; then
46262 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46263 if test "$wxUSE_MEDIACTRL" = "yes"; then
46264 LDFLAGS="$LDFLAGS -framework QuickTime"
46267 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46268 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46271 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46273 if test "$wxUSE_GUI" = "yes"; then
46276 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46277 erase event exec font image minimal mobile \
46278 mobile/wxedit mobile/styles render \
46279 shaped svg taborder vscroll widgets"
46281 if test "$wxUSE_MONOLITHIC" != "yes"; then
46282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46284 if test "$TOOLKIT" = "MSW"; then
46285 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46286 if test "$wxUSE_UNIVERSAL" != "yes"; then
46287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46290 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46291 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46294 SAMPLES_SUBDIRS="console"
46295 if test "$wxUSE_SOCKETS" = "yes" ; then
46296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46301 if test "x$INTELCC" = "xyes" ; then
46302 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46303 elif test "$GCC" = yes ; then
46304 CWARNINGS="-Wall -Wundef"
46307 if test "x$INTELCXX" = "xyes" ; then
46308 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46309 elif test "$GXX" = yes ; then
46310 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46314 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46315 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46318 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46319 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
46320 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
46323 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46324 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46325 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46327 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46330 if test "x$MWCC" = "xyes"; then
46332 CC="$CC -cwd source -I-"
46333 CXX="$CXX -cwd source -I-"
46338 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46339 EXTRALIBS_XML="$EXPAT_LINK"
46340 EXTRALIBS_HTML="$MSPACK_LINK"
46341 EXTRALIBS_MEDIA="$GST_LIBS"
46342 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46343 if test "$wxUSE_GUI" = "yes"; then
46344 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46346 if test "$wxUSE_OPENGL" = "yes"; then
46347 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46350 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46352 WXCONFIG_LIBS="$LIBS"
46354 if test "$wxUSE_REGEX" = "builtin" ; then
46355 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46357 if test "$wxUSE_EXPAT" = "builtin" ; then
46358 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46360 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46361 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46363 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46364 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46366 if test "$wxUSE_LIBPNG" = "builtin" ; then
46367 wxconfig_3rdparty="png $wxconfig_3rdparty"
46369 if test "$wxUSE_ZLIB" = "builtin" ; then
46370 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46373 for i in $wxconfig_3rdparty ; do
46374 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46378 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46381 case "$wxUNIV_THEMES" in
46383 cat >>confdefs.h <<\_ACEOF
46384 #define wxUSE_ALL_THEMES 1
46390 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46391 cat >>confdefs.h <<_ACEOF
46392 #define wxUSE_THEME_$t 1
46408 if test $wxUSE_MONOLITHIC = "yes" ; then
46414 if test $wxUSE_PLUGINS = "yes" ; then
46420 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46426 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46458 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46469 TOOLKIT_DESC="GTK+"
46470 if test "$WXGTK2" = 1; then
46471 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46472 if test "$wxUSE_GTKPRINT" = "yes" ; then
46473 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46475 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46476 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46478 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46479 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46481 if test "$wxUSE_LIBHILDON" = "yes"; then
46482 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46485 if test "$TOOLKIT_EXTRA" != ""; then
46486 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46492 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46496 TOOLKIT_DESC="base only"
46500 if test "$wxUSE_WINE" = "yes"; then
46501 BAKEFILE_FORCE_PLATFORM=win32
46504 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46506 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46507 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46508 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46509 echo $ECHO_N "(cached) $ECHO_C" >&6
46512 echo '#include <stdio.h>
46513 const wchar_t test_var[] = L"awidetest";' > conftest.h
46515 echo '#include "conftest.h"
46518 printf("%ls", test_var);
46522 wx_cv_gcc_pch_bug="pch not supported"
46524 if $CXX conftest.h >/dev/null 2>&1
46528 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46530 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46531 grep awidetest >/dev/null
46533 wx_cv_gcc_pch_bug=no
46535 wx_cv_gcc_pch_bug=yes
46540 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46543 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46544 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46546 if test "$wx_cv_gcc_pch_bug" = yes; then
46554 if test "x$BAKEFILE_HOST" = "x"; then
46555 if test "x${host}" = "x" ; then
46556 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46557 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46558 { (exit 1); exit 1; }; }
46561 BAKEFILE_HOST="${host}"
46564 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46566 if test -n "$ac_tool_prefix"; then
46567 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46568 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46569 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46571 if test "${ac_cv_prog_RANLIB+set}" = set; then
46572 echo $ECHO_N "(cached) $ECHO_C" >&6
46574 if test -n "$RANLIB"; then
46575 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46578 for as_dir in $PATH
46581 test -z "$as_dir" && as_dir=.
46582 for ac_exec_ext in '' $ac_executable_extensions; do
46583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46584 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46594 RANLIB=$ac_cv_prog_RANLIB
46595 if test -n "$RANLIB"; then
46596 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46597 echo "${ECHO_T}$RANLIB" >&6; }
46599 { echo "$as_me:$LINENO: result: no" >&5
46600 echo "${ECHO_T}no" >&6; }
46605 if test -z "$ac_cv_prog_RANLIB"; then
46606 ac_ct_RANLIB=$RANLIB
46607 # Extract the first word of "ranlib", so it can be a program name with args.
46608 set dummy ranlib; ac_word=$2
46609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46611 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46612 echo $ECHO_N "(cached) $ECHO_C" >&6
46614 if test -n "$ac_ct_RANLIB"; then
46615 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46618 for as_dir in $PATH
46621 test -z "$as_dir" && as_dir=.
46622 for ac_exec_ext in '' $ac_executable_extensions; do
46623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46624 ac_cv_prog_ac_ct_RANLIB="ranlib"
46625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46634 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46635 if test -n "$ac_ct_RANLIB"; then
46636 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46637 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46639 { echo "$as_me:$LINENO: result: no" >&5
46640 echo "${ECHO_T}no" >&6; }
46643 if test "x$ac_ct_RANLIB" = x; then
46646 case $cross_compiling:$ac_tool_warned in
46648 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46649 whose name does not start with the host triplet. If you think this
46650 configuration is useful to you, please write to autoconf@gnu.org." >&5
46651 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46652 whose name does not start with the host triplet. If you think this
46653 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46654 ac_tool_warned=yes ;;
46656 RANLIB=$ac_ct_RANLIB
46659 RANLIB="$ac_cv_prog_RANLIB"
46662 # Find a good install program. We prefer a C program (faster),
46663 # so one script is as good as another. But avoid the broken or
46664 # incompatible versions:
46665 # SysV /etc/install, /usr/sbin/install
46666 # SunOS /usr/etc/install
46667 # IRIX /sbin/install
46669 # AmigaOS /C/install, which installs bootblocks on floppy discs
46670 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46671 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46672 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46673 # OS/2's system install, which has a completely different semantic
46674 # ./install, which can be erroneously created by make from ./install.sh.
46675 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46676 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46677 if test -z "$INSTALL"; then
46678 if test "${ac_cv_path_install+set}" = set; then
46679 echo $ECHO_N "(cached) $ECHO_C" >&6
46681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46682 for as_dir in $PATH
46685 test -z "$as_dir" && as_dir=.
46686 # Account for people who put trailing slashes in PATH elements.
46688 ./ | .// | /cC/* | \
46689 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46690 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46693 # OSF1 and SCO ODT 3.0 have their own names for install.
46694 # Don't use installbsd from OSF since it installs stuff as root
46696 for ac_prog in ginstall scoinst install; do
46697 for ac_exec_ext in '' $ac_executable_extensions; do
46698 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46699 if test $ac_prog = install &&
46700 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46701 # AIX install. It has an incompatible calling convention.
46703 elif test $ac_prog = install &&
46704 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46705 # program-specific install script used by HP pwplus--don't use.
46708 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46721 if test "${ac_cv_path_install+set}" = set; then
46722 INSTALL=$ac_cv_path_install
46724 # As a last resort, use the slow shell script. Don't cache a
46725 # value for INSTALL within a source directory, because that will
46726 # break other packages using the cache if that directory is
46727 # removed, or if the value is a relative name.
46728 INSTALL=$ac_install_sh
46731 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46732 echo "${ECHO_T}$INSTALL" >&6; }
46734 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46735 # It thinks the first close brace ends the variable substitution.
46736 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46738 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46740 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46742 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46743 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46745 if test "$LN_S" = "ln -s"; then
46746 { echo "$as_me:$LINENO: result: yes" >&5
46747 echo "${ECHO_T}yes" >&6; }
46749 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46750 echo "${ECHO_T}no, using $LN_S" >&6; }
46754 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46755 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46756 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46757 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46758 echo $ECHO_N "(cached) $ECHO_C" >&6
46760 cat >conftest.make <<\_ACEOF
46763 @echo '@@@%%%=$(MAKE)=@@@%%%'
46765 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46766 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
46767 *@@@%%%=?*=@@@%%%*)
46768 eval ac_cv_prog_make_${ac_make}_set=yes;;
46770 eval ac_cv_prog_make_${ac_make}_set=no;;
46772 rm -f conftest.make
46774 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46775 { echo "$as_me:$LINENO: result: yes" >&5
46776 echo "${ECHO_T}yes" >&6; }
46779 { echo "$as_me:$LINENO: result: no" >&5
46780 echo "${ECHO_T}no" >&6; }
46781 SET_MAKE="MAKE=${MAKE-make}"
46786 if test "x$SUNCXX" = "xyes"; then
46788 AROPTIONS="-xar -o"
46790 elif test "x$SGICC" = "xyes"; then
46795 if test -n "$ac_tool_prefix"; then
46796 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46797 set dummy ${ac_tool_prefix}ar; ac_word=$2
46798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46800 if test "${ac_cv_prog_AR+set}" = set; then
46801 echo $ECHO_N "(cached) $ECHO_C" >&6
46803 if test -n "$AR"; then
46804 ac_cv_prog_AR="$AR" # Let the user override the test.
46806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46807 for as_dir in $PATH
46810 test -z "$as_dir" && as_dir=.
46811 for ac_exec_ext in '' $ac_executable_extensions; do
46812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46813 ac_cv_prog_AR="${ac_tool_prefix}ar"
46814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46824 if test -n "$AR"; then
46825 { echo "$as_me:$LINENO: result: $AR" >&5
46826 echo "${ECHO_T}$AR" >&6; }
46828 { echo "$as_me:$LINENO: result: no" >&5
46829 echo "${ECHO_T}no" >&6; }
46834 if test -z "$ac_cv_prog_AR"; then
46836 # Extract the first word of "ar", so it can be a program name with args.
46837 set dummy ar; ac_word=$2
46838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46840 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46841 echo $ECHO_N "(cached) $ECHO_C" >&6
46843 if test -n "$ac_ct_AR"; then
46844 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46847 for as_dir in $PATH
46850 test -z "$as_dir" && as_dir=.
46851 for ac_exec_ext in '' $ac_executable_extensions; do
46852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46853 ac_cv_prog_ac_ct_AR="ar"
46854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46863 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46864 if test -n "$ac_ct_AR"; then
46865 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46866 echo "${ECHO_T}$ac_ct_AR" >&6; }
46868 { echo "$as_me:$LINENO: result: no" >&5
46869 echo "${ECHO_T}no" >&6; }
46872 if test "x$ac_ct_AR" = x; then
46875 case $cross_compiling:$ac_tool_warned in
46877 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46878 whose name does not start with the host triplet. If you think this
46879 configuration is useful to you, please write to autoconf@gnu.org." >&5
46880 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46881 whose name does not start with the host triplet. If you think this
46882 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46883 ac_tool_warned=yes ;;
46888 AR="$ac_cv_prog_AR"
46895 if test -n "$ac_tool_prefix"; then
46896 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46897 set dummy ${ac_tool_prefix}strip; ac_word=$2
46898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46900 if test "${ac_cv_prog_STRIP+set}" = set; then
46901 echo $ECHO_N "(cached) $ECHO_C" >&6
46903 if test -n "$STRIP"; then
46904 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46907 for as_dir in $PATH
46910 test -z "$as_dir" && as_dir=.
46911 for ac_exec_ext in '' $ac_executable_extensions; do
46912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46913 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46923 STRIP=$ac_cv_prog_STRIP
46924 if test -n "$STRIP"; then
46925 { echo "$as_me:$LINENO: result: $STRIP" >&5
46926 echo "${ECHO_T}$STRIP" >&6; }
46928 { echo "$as_me:$LINENO: result: no" >&5
46929 echo "${ECHO_T}no" >&6; }
46934 if test -z "$ac_cv_prog_STRIP"; then
46936 # Extract the first word of "strip", so it can be a program name with args.
46937 set dummy strip; ac_word=$2
46938 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46940 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46941 echo $ECHO_N "(cached) $ECHO_C" >&6
46943 if test -n "$ac_ct_STRIP"; then
46944 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46947 for as_dir in $PATH
46950 test -z "$as_dir" && as_dir=.
46951 for ac_exec_ext in '' $ac_executable_extensions; do
46952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46953 ac_cv_prog_ac_ct_STRIP="strip"
46954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46963 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46964 if test -n "$ac_ct_STRIP"; then
46965 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46966 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46968 { echo "$as_me:$LINENO: result: no" >&5
46969 echo "${ECHO_T}no" >&6; }
46972 if test "x$ac_ct_STRIP" = x; then
46975 case $cross_compiling:$ac_tool_warned in
46977 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46978 whose name does not start with the host triplet. If you think this
46979 configuration is useful to you, please write to autoconf@gnu.org." >&5
46980 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46981 whose name does not start with the host triplet. If you think this
46982 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46983 ac_tool_warned=yes ;;
46988 STRIP="$ac_cv_prog_STRIP"
46991 if test -n "$ac_tool_prefix"; then
46992 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46993 set dummy ${ac_tool_prefix}nm; ac_word=$2
46994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46996 if test "${ac_cv_prog_NM+set}" = set; then
46997 echo $ECHO_N "(cached) $ECHO_C" >&6
46999 if test -n "$NM"; then
47000 ac_cv_prog_NM="$NM" # Let the user override the test.
47002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47003 for as_dir in $PATH
47006 test -z "$as_dir" && as_dir=.
47007 for ac_exec_ext in '' $ac_executable_extensions; do
47008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47009 ac_cv_prog_NM="${ac_tool_prefix}nm"
47010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47020 if test -n "$NM"; then
47021 { echo "$as_me:$LINENO: result: $NM" >&5
47022 echo "${ECHO_T}$NM" >&6; }
47024 { echo "$as_me:$LINENO: result: no" >&5
47025 echo "${ECHO_T}no" >&6; }
47030 if test -z "$ac_cv_prog_NM"; then
47032 # Extract the first word of "nm", so it can be a program name with args.
47033 set dummy nm; ac_word=$2
47034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47036 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47037 echo $ECHO_N "(cached) $ECHO_C" >&6
47039 if test -n "$ac_ct_NM"; then
47040 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47043 for as_dir in $PATH
47046 test -z "$as_dir" && as_dir=.
47047 for ac_exec_ext in '' $ac_executable_extensions; do
47048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47049 ac_cv_prog_ac_ct_NM="nm"
47050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47059 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47060 if test -n "$ac_ct_NM"; then
47061 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47062 echo "${ECHO_T}$ac_ct_NM" >&6; }
47064 { echo "$as_me:$LINENO: result: no" >&5
47065 echo "${ECHO_T}no" >&6; }
47068 if test "x$ac_ct_NM" = x; then
47071 case $cross_compiling:$ac_tool_warned in
47073 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47074 whose name does not start with the host triplet. If you think this
47075 configuration is useful to you, please write to autoconf@gnu.org." >&5
47076 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47077 whose name does not start with the host triplet. If you think this
47078 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47079 ac_tool_warned=yes ;;
47084 NM="$ac_cv_prog_NM"
47088 case ${BAKEFILE_HOST} in
47090 INSTALL_DIR="mkdir -p"
47093 INSTALL_DIR='$(INSTALL) -d'
47099 case ${BAKEFILE_HOST} in
47100 *-*-cygwin* | *-*-mingw32* )
47101 LDFLAGS_GUI="-mwindows"
47107 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47108 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47109 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47110 echo $ECHO_N "(cached) $ECHO_C" >&6
47113 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47114 egrep -s GNU > /dev/null); then
47115 bakefile_cv_prog_makeisgnu="yes"
47117 bakefile_cv_prog_makeisgnu="no"
47121 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47122 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47124 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47141 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47142 case "${BAKEFILE_HOST}" in
47149 *-pc-os2_emx | *-pc-os2-emx )
47159 powerpc-apple-macos* )
47168 case "$BAKEFILE_FORCE_PLATFORM" in
47203 # Check whether --enable-omf was given.
47204 if test "${enable_omf+set}" = set; then
47205 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47209 case "${BAKEFILE_HOST}" in
47211 if test "x$GCC" = "xyes"; then
47212 CFLAGS="$CFLAGS -fno-common"
47213 CXXFLAGS="$CXXFLAGS -fno-common"
47215 if test "x$XLCC" = "xyes"; then
47216 CFLAGS="$CFLAGS -qnocommon"
47217 CXXFLAGS="$CXXFLAGS -qnocommon"
47221 *-pc-os2_emx | *-pc-os2-emx )
47222 if test "x$bk_os2_use_omf" = "xyes" ; then
47225 LDFLAGS="-Zomf $LDFLAGS"
47226 CFLAGS="-Zomf $CFLAGS"
47227 CXXFLAGS="-Zomf $CXXFLAGS"
47235 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47241 SO_SUFFIX_MODULE="so"
47246 DLLPREFIX_MODULE=""
47250 case "${BAKEFILE_HOST}" in
47253 SO_SUFFIX_MODULE="sl"
47257 SO_SUFFIX_MODULE="a"
47261 SO_SUFFIX_MODULE="dll"
47262 DLLIMP_SUFFIX="dll.a"
47269 SO_SUFFIX_MODULE="dll"
47270 DLLIMP_SUFFIX="dll.a"
47280 *-pc-os2_emx | *-pc-os2-emx )
47282 SO_SUFFIX_MODULE="dll"
47283 DLLIMP_SUFFIX=$OS2_LIBEXT
47287 LIBEXT=".$OS2_LIBEXT"
47292 SO_SUFFIX_MODULE="bundle"
47296 if test "x$DLLIMP_SUFFIX" = "x" ; then
47297 DLLIMP_SUFFIX="$SO_SUFFIX"
47312 if test "x$GCC" = "xyes"; then
47316 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47317 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47320 case "${BAKEFILE_HOST}" in
47322 if test "x$GCC" != "xyes"; then
47323 LDFLAGS="$LDFLAGS -L/usr/lib"
47325 SHARED_LD_CC="${CC} -b -o"
47326 SHARED_LD_CXX="${CXX} -b -o"
47332 if test "$INTELCC" = "yes"; then
47334 elif test "x$SUNCXX" = "xyes"; then
47335 SHARED_LD_CC="${CC} -G -o"
47336 SHARED_LD_CXX="${CXX} -G -o"
47342 if test "x$SUNCXX" = xyes ; then
47343 SHARED_LD_CC="${CC} -G -o"
47344 SHARED_LD_CXX="${CXX} -G -o"
47352 cat <<EOF >shared-ld-sh
47354 #-----------------------------------------------------------------------------
47355 #-- Name: distrib/mac/shared-ld-sh
47356 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47357 #-- Author: Gilles Depeyrot
47358 #-- Copyright: (c) 2002 Gilles Depeyrot
47359 #-- Licence: any use permitted
47360 #-----------------------------------------------------------------------------
47365 linking_flag="-dynamiclib"
47366 ldargs="-r -keep_private_externs -nostdlib"
47368 while test ${D}# -gt 0; do
47375 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47376 # collect these options and values
47377 args="${D}{args} ${D}1 ${D}2"
47382 # collect these load args
47383 ldargs="${D}{ldargs} ${D}1"
47386 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47387 # collect these options
47388 args="${D}{args} ${D}1"
47391 -dynamiclib|-bundle)
47392 linking_flag="${D}1"
47396 echo "shared-ld: unhandled option '${D}1'"
47400 *.o | *.a | *.dylib)
47401 # collect object files
47402 objects="${D}{objects} ${D}1"
47406 echo "shared-ld: unhandled argument '${D}1'"
47417 # Link one module containing all the others
47419 if test ${D}{verbose} = 1; then
47420 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47422 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47426 # Link the shared library from the single module created, but only if the
47427 # previous command didn't fail:
47429 if test ${D}{status} = 0; then
47430 if test ${D}{verbose} = 1; then
47431 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47433 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47438 # Remove intermediate module
47440 rm -f master.${D}${D}.o
47445 chmod +x shared-ld-sh
47447 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47448 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47451 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47452 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47453 if test "${bakefile_cv_gcc31+set}" = set; then
47454 echo $ECHO_N "(cached) $ECHO_C" >&6
47457 cat >conftest.$ac_ext <<_ACEOF
47460 cat confdefs.h >>conftest.$ac_ext
47461 cat >>conftest.$ac_ext <<_ACEOF
47462 /* end confdefs.h. */
47468 #if (__GNUC__ < 3) || \
47469 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47477 rm -f conftest.$ac_objext
47478 if { (ac_try="$ac_compile"
47479 case "(($ac_try" in
47480 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47481 *) ac_try_echo
=$ac_try;;
47483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47484 (eval "$ac_compile") 2>conftest.er1
47486 grep -v '^ *+' conftest.er1
>conftest.err
47488 cat conftest.err
>&5
47489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47490 (exit $ac_status); } && {
47491 test -z "$ac_c_werror_flag" ||
47492 test ! -s conftest.err
47493 } && test -s conftest.
$ac_objext; then
47495 bakefile_cv_gcc31
=yes
47498 echo "$as_me: failed program was:" >&5
47499 sed 's/^/| /' conftest.
$ac_ext >&5
47502 bakefile_cv_gcc31
=no
47507 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47510 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47511 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47512 if test "$bakefile_cv_gcc31" = "no"; then
47513 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47514 SHARED_LD_CXX
="$SHARED_LD_CC"
47516 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47517 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47520 if test "x$GCC" == "xyes"; then
47521 PIC_FLAG
="-dynamic -fPIC"
47523 if test "x$XLCC" = "xyes"; then
47524 PIC_FLAG
="-dynamic -DPIC"
47529 if test "x$GCC" = "xyes"; then
47532 case "${BAKEFILE_HOST}" in
47534 LD_EXPFULL
="-Wl,-bexpfull"
47538 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
47539 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
47541 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47542 set dummy makeC
++SharedLib
; ac_word
=$2
47543 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47545 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47546 echo $ECHO_N "(cached) $ECHO_C" >&6
47548 if test -n "$AIX_CXX_LD"; then
47549 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
47551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47552 for as_dir
in $PATH
47555 test -z "$as_dir" && as_dir
=.
47556 for ac_exec_ext
in '' $ac_executable_extensions; do
47557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47558 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
47559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47566 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
47569 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
47570 if test -n "$AIX_CXX_LD"; then
47571 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47572 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47574 { echo "$as_me:$LINENO: result: no" >&5
47575 echo "${ECHO_T}no" >&6; }
47579 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
47580 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
47585 SHARED_LD_CC
="${LD} -nostart -o"
47586 SHARED_LD_CXX
="${LD} -nostart -o"
47590 if test "x$GCC" != "xyes"; then
47595 *-*-cygwin* | *-*-mingw32* )
47597 SHARED_LD_CC
="\$(CC) -shared -o"
47598 SHARED_LD_CXX
="\$(CXX) -shared -o"
47602 *-pc-os2_emx | *-pc-os2-emx )
47603 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47604 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47608 cat <<EOF >dllar.sh
47611 # dllar - a tool to build both a .dll and an .a file
47612 # from a set of object (.o) files for EMX/OS2.
47614 # Written by Andrew Zabolotny, bit@freya.etu.ru
47615 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47617 # This script will accept a set of files on the command line.
47618 # All the public symbols from the .o files will be exported into
47619 # a .DEF file, then linker will be run (through gcc) against them to
47620 # build a shared library consisting of all given .o files. All libraries
47621 # (.a) will be first decompressed into component .o files then act as
47622 # described above. You can optionally give a description (-d "description")
47623 # which will be put into .DLL. To see the list of accepted options (as well
47624 # as command-line format) simply run this program without options. The .DLL
47625 # is built to be imported by name (there is no guarantee that new versions
47626 # of the library you build will have same ordinals for same symbols).
47628 # dllar is free software; you can redistribute it and/or modify
47629 # it under the terms of the GNU General Public License as published by
47630 # the Free Software Foundation; either version 2, or (at your option)
47631 # any later version.
47633 # dllar is distributed in the hope that it will be useful,
47634 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47635 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47636 # GNU General Public License for more details.
47638 # You should have received a copy of the GNU General Public License
47639 # along with dllar; see the file COPYING. If not, write to the Free
47640 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47643 # To successfuly run this program you will need:
47644 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47645 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47647 # (used to build the .dll)
47649 # (used to create .def file from .o files)
47651 # (used to create .a file from .def file)
47652 # - GNU text utilites (cat, sort, uniq)
47653 # used to process emxexp output
47654 # - GNU file utilities (mv, rm)
47656 # - lxlite (optional, see flag below)
47657 # (used for general .dll cleanup)
47664 # basnam, variant of basename, which does _not_ remove the path, _iff_
47665 # second argument (suffix to remove) is given
47669 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47672 echo ${D}1 | sed 's/'${D}2'${D}//'
47675 echo "error in basnam ${D}*"
47681 # Cleanup temporary files and output
47684 for i in ${D}inputFiles ; do
47687 rm -rf \`basnam ${D}i !\`
47694 # Kill result in case of failure as there is just to many stupid make/nmake
47695 # things out there which doesn't do this.
47696 if [ ${D}# -eq 0 ]; then
47697 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47701 # Print usage and exit script with rc=1.
47703 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47704 echo ' [-name-mangler-script script.sh]'
47705 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47706 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47707 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47708 echo ' [*.o] [*.a]'
47709 echo '*> "output_file" should have no extension.'
47710 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47711 echo ' The import library name is derived from this and is set to "name".a,'
47712 echo ' unless overridden by -import'
47713 echo '*> "importlib_name" should have no extension.'
47714 echo ' If it has the .o, or .a extension, it is automatically removed.'
47715 echo ' This name is used as the import library name and may be longer and'
47716 echo ' more descriptive than the DLL name which has to follow the old '
47717 echo ' 8.3 convention of FAT.'
47718 echo '*> "script.sh may be given to override the output_file name by a'
47719 echo ' different name. It is mainly useful if the regular make process'
47720 echo ' of some package does not take into account OS/2 restriction of'
47721 echo ' DLL name lengths. It takes the importlib name as input and is'
47722 echo ' supposed to procude a shorter name as output. The script should'
47723 echo ' expect to get importlib_name without extension and should produce'
47724 echo ' a (max.) 8 letter name without extension.'
47725 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47726 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47727 echo ' These flags will be put at the start of GCC command line.'
47728 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47729 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47730 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47731 echo ' If the last character of a symbol is "*", all symbols beginning'
47732 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47733 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47734 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47735 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47736 echo ' C runtime DLLs.'
47737 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47738 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47739 echo ' unchanged to GCC at the end of command line.'
47740 echo '*> If you create a DLL from a library and you do not specify -o,'
47741 echo ' the basename for DLL and import library will be set to library name,'
47742 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47743 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47744 echo ' library will be renamed into gcc_s.a.'
47747 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47748 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47753 # Execute a command.
47754 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47755 # @Uses Whatever CleanUp() uses.
47761 if [ ${D}rcCmd -ne 0 ]; then
47762 echo "command failed, exit code="${D}rcCmd
47777 CFLAGS="-s -Zcrtdll"
47779 EXPORT_BY_ORDINALS=0
47784 case ${D}curDirS in
47788 curDirS=${D}{curDirS}"/"
47791 # Parse commandline
47794 while [ ${D}1 ]; do
47797 EXPORT_BY_ORDINALS=1;
47807 -name-mangler-script)
47828 exclude_symbols=${D}{exclude_symbols}${D}1" "
47832 library_flags=${D}{library_flags}${D}1" "
47851 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47854 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47855 if [ ${D}omfLinking -eq 1 ]; then
47856 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47858 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47863 if [ ${D}libsToLink -ne 0 ]; then
47864 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47866 for file in ${D}1 ; do
47867 if [ -f ${D}file ]; then
47868 inputFiles="${D}{inputFiles} ${D}file"
47872 if [ ${D}found -eq 0 ]; then
47873 echo "ERROR: No file(s) found: "${D}1
47880 done # iterate cmdline words
47883 if [ -z "${D}inputFiles" ]; then
47884 echo "dllar: no input files"
47888 # Now extract all .o files from .a files
47890 for file in ${D}inputFiles ; do
47901 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47906 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47908 if [ ${D}? -ne 0 ]; then
47909 echo "Failed to create subdirectory ./${D}dirname"
47913 # Append '!' to indicate archive
47914 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47915 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47918 for subfile in ${D}dirname/*.o* ; do
47919 if [ -f ${D}subfile ]; then
47921 if [ -s ${D}subfile ]; then
47922 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47923 newInputFiles="${D}newInputFiles ${D}subfile"
47927 if [ ${D}found -eq 0 ]; then
47928 echo "WARNING: there are no files in archive \\'${D}file\\'"
47932 newInputFiles="${D}{newInputFiles} ${D}file"
47936 inputFiles="${D}newInputFiles"
47938 # Output filename(s).
47940 if [ -z ${D}outFile ]; then
47942 set outFile ${D}inputFiles; outFile=${D}2
47945 # If it is an archive, remove the '!' and the '_%' suffixes
47946 case ${D}outFile in
47948 outFile=\`basnam ${D}outFile _%!\`
47953 case ${D}outFile in
47955 outFile=\`basnam ${D}outFile .dll\`
47958 outFile=\`basnam ${D}outFile .DLL\`
47961 outFile=\`basnam ${D}outFile .o\`
47964 outFile=\`basnam ${D}outFile .obj\`
47967 outFile=\`basnam ${D}outFile .a\`
47970 outFile=\`basnam ${D}outFile .lib\`
47975 case ${D}outimpFile in
47977 outimpFile=\`basnam ${D}outimpFile .a\`
47980 outimpFile=\`basnam ${D}outimpFile .lib\`
47985 if [ -z ${D}outimpFile ]; then
47986 outimpFile=${D}outFile
47988 defFile="${D}{outFile}.def"
47989 arcFile="${D}{outimpFile}.a"
47990 arcFile2="${D}{outimpFile}.lib"
47992 #create ${D}dllFile as something matching 8.3 restrictions,
47993 if [ -z ${D}renameScript ] ; then
47994 dllFile="${D}outFile"
47996 dllFile=\`${D}renameScript ${D}outimpFile\`
47999 if [ ${D}do_backup -ne 0 ] ; then
48000 if [ -f ${D}arcFile ] ; then
48001 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48003 if [ -f ${D}arcFile2 ] ; then
48004 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48008 # Extract public symbols from all the object files.
48009 tmpdefFile=${D}{defFile}_%
48010 rm -f ${D}tmpdefFile
48011 for file in ${D}inputFiles ; do
48016 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48021 # Create the def file.
48023 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48024 dllFile="${D}{dllFile}.dll"
48025 if [ ! -z ${D}description ]; then
48026 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48028 echo "EXPORTS" >> ${D}defFile
48030 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48031 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48033 # Checks if the export is ok or not.
48034 for word in ${D}exclude_symbols; do
48035 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48036 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48040 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48041 sed "=" < ${D}tmpdefFile | \\
48045 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48047 ' > ${D}{tmpdefFile}%
48048 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48050 rm -f ${D}{tmpdefFile}%
48052 cat ${D}tmpdefFile >> ${D}defFile
48053 rm -f ${D}tmpdefFile
48055 # Do linking, create implib, and apply lxlite.
48057 for file in ${D}inputFiles ; do
48062 gccCmdl="${D}gccCmdl ${D}file"
48066 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48067 touch "${D}{outFile}.dll"
48069 doCommand "emximp -o ${D}arcFile ${D}defFile"
48070 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48072 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48075 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48077 doCommand "emxomf -s -l ${D}arcFile"
48087 powerpc
-apple-macos* | \
48088 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48098 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48099 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48100 { (exit 1); exit 1; }; }
48103 if test "x$PIC_FLAG" != "x" ; then
48104 PIC_FLAG
="$PIC_FLAG -DPIC"
48107 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48108 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48110 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48111 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48130 case "${BAKEFILE_HOST}" in
48131 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
48132 if test "x$SUNCXX" = "xyes"; then
48135 SONAME_FLAG
="-Wl,-soname,"
48170 # Check whether --enable-dependency-tracking was given.
48171 if test "${enable_dependency_tracking+set}" = set; then
48172 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
48176 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48177 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48180 if test "x$bk_use_trackdeps" = "xno" ; then
48182 { echo "$as_me:$LINENO: result: disabled" >&5
48183 echo "${ECHO_T}disabled" >&6; }
48187 if test "x$GCC" = "xyes"; then
48189 case "${BAKEFILE_HOST}" in
48191 DEPSFLAG
="-no-cpp-precomp -MMD"
48197 { echo "$as_me:$LINENO: result: gcc" >&5
48198 echo "${ECHO_T}gcc" >&6; }
48199 elif test "x$MWCC" = "xyes"; then
48202 { echo "$as_me:$LINENO: result: mwcc" >&5
48203 echo "${ECHO_T}mwcc" >&6; }
48204 elif test "x$SUNCC" = "xyes"; then
48207 { echo "$as_me:$LINENO: result: Sun cc" >&5
48208 echo "${ECHO_T}Sun cc" >&6; }
48209 elif test "x$SGICC" = "xyes"; then
48212 { echo "$as_me:$LINENO: result: SGI cc" >&5
48213 echo "${ECHO_T}SGI cc" >&6; }
48214 elif test "x$HPCC" = "xyes"; then
48217 { echo "$as_me:$LINENO: result: HP cc" >&5
48218 echo "${ECHO_T}HP cc" >&6; }
48219 elif test "x$COMPAQCC" = "xyes"; then
48222 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48223 echo "${ECHO_T}Compaq cc" >&6; }
48226 { echo "$as_me:$LINENO: result: none" >&5
48227 echo "${ECHO_T}none" >&6; }
48230 if test $DEPS_TRACKING = 1 ; then
48236 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48237 # script. It is used to track C/C++ files dependencies in portable way.
48239 # Permission is given to use this file in any way.
48241 DEPSMODE=${DEPSMODE}
48243 DEPSFLAG="${DEPSFLAG}"
48245 mkdir -p ${D}DEPSDIR
48247 if test ${D}DEPSMODE = gcc ; then
48248 ${D}* ${D}{DEPSFLAG}
48250 if test ${D}{status} != 0 ; then
48253 # move created file to the location we want it in:
48254 while test ${D}# -gt 0; do
48268 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48269 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48270 if test -f ${D}depfile ; then
48271 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48274 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48275 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48276 if test ! -f ${D}depfile ; then
48277 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48278 depfile="${D}objfile.d"
48280 if test -f ${D}depfile ; then
48281 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48286 elif test ${D}DEPSMODE = mwcc ; then
48287 ${D}* || exit ${D}?
48288 # Run mwcc again with -MM and redirect into the dep file we want
48289 # NOTE: We can't use shift here because we need ${D}* to be valid
48291 for arg in ${D}* ; do
48292 if test "${D}prevarg" = "-o"; then
48305 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48307 elif test ${D}DEPSMODE = unixcc; then
48308 ${D}* || exit ${D}?
48309 # Run compiler again with deps flag and redirect into the dep file.
48310 # It doesn't work if the '-o FILE' option is used, but without it the
48311 # dependency file will contain the wrong name for the object. So it is
48312 # removed from the command line, and the dep file is fixed with sed.
48314 while test ${D}# -gt 0; do
48321 eval arg${D}#=\\${D}1
48322 cmd="${D}cmd \\${D}arg${D}#"
48327 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48336 BK_DEPS
="`pwd`/bk-deps"
48344 case ${BAKEFILE_HOST} in
48345 *-*-cygwin* | *-*-mingw32* )
48346 if test -n "$ac_tool_prefix"; then
48347 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48348 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
48349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48351 if test "${ac_cv_prog_WINDRES+set}" = set; then
48352 echo $ECHO_N "(cached) $ECHO_C" >&6
48354 if test -n "$WINDRES"; then
48355 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
48357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48358 for as_dir
in $PATH
48361 test -z "$as_dir" && as_dir
=.
48362 for ac_exec_ext
in '' $ac_executable_extensions; do
48363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48364 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
48365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48374 WINDRES
=$ac_cv_prog_WINDRES
48375 if test -n "$WINDRES"; then
48376 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48377 echo "${ECHO_T}$WINDRES" >&6; }
48379 { echo "$as_me:$LINENO: result: no" >&5
48380 echo "${ECHO_T}no" >&6; }
48385 if test -z "$ac_cv_prog_WINDRES"; then
48386 ac_ct_WINDRES
=$WINDRES
48387 # Extract the first word of "windres", so it can be a program name with args.
48388 set dummy windres
; ac_word
=$2
48389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48391 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48392 echo $ECHO_N "(cached) $ECHO_C" >&6
48394 if test -n "$ac_ct_WINDRES"; then
48395 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
48397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48398 for as_dir
in $PATH
48401 test -z "$as_dir" && as_dir
=.
48402 for ac_exec_ext
in '' $ac_executable_extensions; do
48403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48404 ac_cv_prog_ac_ct_WINDRES
="windres"
48405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48414 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
48415 if test -n "$ac_ct_WINDRES"; then
48416 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48417 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48419 { echo "$as_me:$LINENO: result: no" >&5
48420 echo "${ECHO_T}no" >&6; }
48423 if test "x$ac_ct_WINDRES" = x
; then
48426 case $cross_compiling:$ac_tool_warned in
48428 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48429 whose name does not start with the host triplet. If you think this
48430 configuration is useful to you, please write to autoconf@gnu.org." >&5
48431 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48432 whose name does not start with the host triplet. If you think this
48433 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48434 ac_tool_warned
=yes ;;
48436 WINDRES
=$ac_ct_WINDRES
48439 WINDRES
="$ac_cv_prog_WINDRES"
48444 *-*-darwin* | powerpc
-apple-macos* )
48445 # Extract the first word of "Rez", so it can be a program name with args.
48446 set dummy Rez
; ac_word
=$2
48447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48449 if test "${ac_cv_prog_REZ+set}" = set; then
48450 echo $ECHO_N "(cached) $ECHO_C" >&6
48452 if test -n "$REZ"; then
48453 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
48455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48456 for as_dir
in $PATH
48459 test -z "$as_dir" && as_dir
=.
48460 for ac_exec_ext
in '' $ac_executable_extensions; do
48461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48462 ac_cv_prog_REZ
="Rez"
48463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48470 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
48473 REZ
=$ac_cv_prog_REZ
48474 if test -n "$REZ"; then
48475 { echo "$as_me:$LINENO: result: $REZ" >&5
48476 echo "${ECHO_T}$REZ" >&6; }
48478 { echo "$as_me:$LINENO: result: no" >&5
48479 echo "${ECHO_T}no" >&6; }
48483 # Extract the first word of "SetFile", so it can be a program name with args.
48484 set dummy SetFile
; ac_word
=$2
48485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48487 if test "${ac_cv_prog_SETFILE+set}" = set; then
48488 echo $ECHO_N "(cached) $ECHO_C" >&6
48490 if test -n "$SETFILE"; then
48491 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
48493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48494 for as_dir
in $PATH
48497 test -z "$as_dir" && as_dir
=.
48498 for ac_exec_ext
in '' $ac_executable_extensions; do
48499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48500 ac_cv_prog_SETFILE
="SetFile"
48501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48508 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
48511 SETFILE
=$ac_cv_prog_SETFILE
48512 if test -n "$SETFILE"; then
48513 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48514 echo "${ECHO_T}$SETFILE" >&6; }
48516 { echo "$as_me:$LINENO: result: no" >&5
48517 echo "${ECHO_T}no" >&6; }
48529 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.2"
48532 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.2"
48536 # Check whether --enable-precomp-headers was given.
48537 if test "${enable_precomp_headers+set}" = set; then
48538 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
48547 case ${BAKEFILE_HOST} in
48553 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48554 if test "x$GCC" = "xyes"; then
48555 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48556 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48557 cat >conftest.
$ac_ext <<_ACEOF
48560 cat confdefs.h
>>conftest.
$ac_ext
48561 cat >>conftest.
$ac_ext <<_ACEOF
48562 /* end confdefs.h. */
48568 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48569 There is no PCH support
48572 There is no PCH support
48574 #if (__GNUC__ == 3) && \
48575 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48576 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48577 ( defined(__INTEL_COMPILER) )
48578 There is no PCH support
48585 rm -f conftest.
$ac_objext
48586 if { (ac_try
="$ac_compile"
48587 case "(($ac_try" in
48588 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48589 *) ac_try_echo=$ac_try;;
48591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48592 (eval "$ac_compile") 2>conftest.er1
48594 grep -v '^ *+' conftest.er1 >conftest.err
48596 cat conftest.err >&5
48597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48598 (exit $ac_status); } && {
48599 test -z "$ac_c_werror_flag" ||
48600 test ! -s conftest.err
48601 } && test -s conftest.$ac_objext; then
48603 { echo "$as_me:$LINENO: result: yes" >&5
48604 echo "${ECHO_T}yes" >&6; }
48608 echo "$as_me: failed program was:" >&5
48609 sed 's/^/| /' conftest.$ac_ext >&5
48612 cat >conftest.$ac_ext <<_ACEOF
48615 cat confdefs.h >>conftest.$ac_ext
48616 cat >>conftest.$ac_ext <<_ACEOF
48617 /* end confdefs.h. */
48623 #if !defined(__INTEL_COMPILER) || \
48624 (__INTEL_COMPILER < 800)
48625 There is no PCH support
48632 rm -f conftest.$ac_objext
48633 if { (ac_try="$ac_compile"
48634 case "(($ac_try" in
48635 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48636 *) ac_try_echo
=$ac_try;;
48638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48639 (eval "$ac_compile") 2>conftest.er1
48641 grep -v '^ *+' conftest.er1
>conftest.err
48643 cat conftest.err
>&5
48644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48645 (exit $ac_status); } && {
48646 test -z "$ac_c_werror_flag" ||
48647 test ! -s conftest.err
48648 } && test -s conftest.
$ac_objext; then
48650 { echo "$as_me:$LINENO: result: yes" >&5
48651 echo "${ECHO_T}yes" >&6; }
48655 echo "$as_me: failed program was:" >&5
48656 sed 's/^/| /' conftest.
$ac_ext >&5
48659 { echo "$as_me:$LINENO: result: no" >&5
48660 echo "${ECHO_T}no" >&6; }
48664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48669 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48673 cat <<EOF >bk-make-pch
48676 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48677 # script. It is used to generated precompiled headers.
48679 # Permission is given to use this file in any way.
48689 while test ${D}{#} -gt 0; do
48693 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48694 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48695 headerfile="${D}{incdir}/${D}{header}"
48698 -use-pch|-use_pch )
48703 if test ${D}add_to_cmdline = 1 ; then
48704 compiler="${D}{compiler} ${D}{1}"
48709 if test "x${D}{headerfile}" = "x" ; then
48710 echo "error: can't find header ${D}{header} in include paths" >&2
48712 if test -f ${D}{outfile} ; then
48713 rm -f ${D}{outfile}
48715 mkdir -p \`dirname ${D}{outfile}\`
48717 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48719 if test "x${GCC_PCH}" = "x1" ; then
48720 # can do this because gcc is >= 3.4:
48721 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48722 elif test "x${ICC_PCH}" = "x1" ; then
48723 filename=pch_gen-${D}${D}
48724 file=${D}{filename}.c
48725 dfile=${D}{filename}.d
48726 cat > ${D}file <<EOT
48727 #include "${D}header"
48729 # using -MF icc complains about differing command lines in creation/use
48730 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48731 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48732 rm -f ${D}file ${D}dfile ${D}{filename}.o
48738 chmod +x bk
-make-pch
48739 BK_MAKE_PCH
="`pwd`/bk-make-pch"
48748 COND_BUILD_DEBUG
="#"
48749 if test "x$BUILD" = "xdebug" ; then
48750 COND_BUILD_DEBUG
=""
48753 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
48754 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48755 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
48758 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
48759 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48760 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
48763 COND_BUILD_DEBUG_UNICODE_0
="#"
48764 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48765 COND_BUILD_DEBUG_UNICODE_0
=""
48768 COND_BUILD_DEBUG_UNICODE_1
="#"
48769 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48770 COND_BUILD_DEBUG_UNICODE_1
=""
48773 COND_BUILD_RELEASE
="#"
48774 if test "x$BUILD" = "xrelease" ; then
48775 COND_BUILD_RELEASE
=""
48778 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
48779 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48780 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
48783 COND_BUILD_RELEASE_UNICODE_0
="#"
48784 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48785 COND_BUILD_RELEASE_UNICODE_0
=""
48788 COND_BUILD_RELEASE_UNICODE_1
="#"
48789 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48790 COND_BUILD_RELEASE_UNICODE_1
=""
48793 COND_DEBUG_FLAG_1
="#"
48794 if test "x$DEBUG_FLAG" = "x1" ; then
48795 COND_DEBUG_FLAG_1
=""
48798 COND_DEBUG_INFO_0
="#"
48799 if test "x$DEBUG_INFO" = "x0" ; then
48800 COND_DEBUG_INFO_0
=""
48803 COND_DEBUG_INFO_1
="#"
48804 if test "x$DEBUG_INFO" = "x1" ; then
48805 COND_DEBUG_INFO_1
=""
48808 COND_DEPS_TRACKING_0
="#"
48809 if test "x$DEPS_TRACKING" = "x0" ; then
48810 COND_DEPS_TRACKING_0
=""
48813 COND_DEPS_TRACKING_1
="#"
48814 if test "x$DEPS_TRACKING" = "x1" ; then
48815 COND_DEPS_TRACKING_1
=""
48819 if test "x$GCC_PCH" = "x1" ; then
48824 if test "x$ICC_PCH" = "x1" ; then
48828 COND_MONOLITHIC_0
="#"
48829 if test "x$MONOLITHIC" = "x0" ; then
48830 COND_MONOLITHIC_0
=""
48833 COND_MONOLITHIC_0_SHARED_0
="#"
48834 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48835 COND_MONOLITHIC_0_SHARED_0
=""
48838 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
48839 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48840 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
48843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
48844 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
48848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
48849 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
48853 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
48854 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48855 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
48858 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
48859 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48860 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
48863 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
48864 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48865 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
48868 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
48869 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48870 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
48873 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
48874 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48875 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
48878 COND_MONOLITHIC_0_SHARED_1
="#"
48879 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48880 COND_MONOLITHIC_0_SHARED_1
=""
48883 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
48884 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48885 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
48888 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
48889 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48890 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
48893 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
48894 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48895 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
48898 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
48899 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48900 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
48903 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
48904 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48905 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
48908 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
48909 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48910 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
48913 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
48914 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48915 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
48918 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
48919 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48920 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
48923 COND_MONOLITHIC_0_USE_AUI_1
="#"
48924 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48925 COND_MONOLITHIC_0_USE_AUI_1
=""
48928 COND_MONOLITHIC_0_USE_GUI_1
="#"
48929 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48930 COND_MONOLITHIC_0_USE_GUI_1
=""
48933 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
48934 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48935 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
48938 COND_MONOLITHIC_0_USE_HTML_1
="#"
48939 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48940 COND_MONOLITHIC_0_USE_HTML_1
=""
48943 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
48944 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48945 COND_MONOLITHIC_0_USE_MEDIA_1
=""
48948 COND_MONOLITHIC_0_USE_QA_1
="#"
48949 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48950 COND_MONOLITHIC_0_USE_QA_1
=""
48953 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
48954 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48955 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
48958 COND_MONOLITHIC_0_USE_STC_1
="#"
48959 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48960 COND_MONOLITHIC_0_USE_STC_1
=""
48963 COND_MONOLITHIC_0_USE_XRC_1
="#"
48964 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48965 COND_MONOLITHIC_0_USE_XRC_1
=""
48968 COND_MONOLITHIC_1
="#"
48969 if test "x$MONOLITHIC" = "x1" ; then
48970 COND_MONOLITHIC_1
=""
48973 COND_MONOLITHIC_1_SHARED_0
="#"
48974 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48975 COND_MONOLITHIC_1_SHARED_0
=""
48978 COND_MONOLITHIC_1_SHARED_1
="#"
48979 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48980 COND_MONOLITHIC_1_SHARED_1
=""
48983 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
48984 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48985 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
48988 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
48989 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48990 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
48993 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
48994 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48995 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
48998 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
48999 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49000 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49003 COND_PLATFORM_MACOSX_1
="#"
49004 if test "x$PLATFORM_MACOSX" = "x1" ; then
49005 COND_PLATFORM_MACOSX_1
=""
49008 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
49009 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49010 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
49013 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
49014 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49015 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
49018 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
49019 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49020 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
49023 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
49024 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49025 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
49028 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
49029 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49030 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
49033 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
49034 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49035 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49038 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49039 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49040 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49043 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49044 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49045 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49048 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49049 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49050 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49053 COND_PLATFORM_MACOS_1
="#"
49054 if test "x$PLATFORM_MACOS" = "x1" ; then
49055 COND_PLATFORM_MACOS_1
=""
49058 COND_PLATFORM_MAC_1
="#"
49059 if test "x$PLATFORM_MAC" = "x1" ; then
49060 COND_PLATFORM_MAC_1
=""
49063 COND_PLATFORM_MSDOS_0
="#"
49064 if test "x$PLATFORM_MSDOS" = "x0" ; then
49065 COND_PLATFORM_MSDOS_0
=""
49068 COND_PLATFORM_MSDOS_1
="#"
49069 if test "x$PLATFORM_MSDOS" = "x1" ; then
49070 COND_PLATFORM_MSDOS_1
=""
49073 COND_PLATFORM_OS2_1
="#"
49074 if test "x$PLATFORM_OS2" = "x1" ; then
49075 COND_PLATFORM_OS2_1
=""
49078 COND_PLATFORM_UNIX_0
="#"
49079 if test "x$PLATFORM_UNIX" = "x0" ; then
49080 COND_PLATFORM_UNIX_0
=""
49083 COND_PLATFORM_UNIX_1
="#"
49084 if test "x$PLATFORM_UNIX" = "x1" ; then
49085 COND_PLATFORM_UNIX_1
=""
49088 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
49089 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49090 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
49093 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
49094 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49095 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
49098 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49099 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49100 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49103 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49104 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49105 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49108 COND_PLATFORM_WIN32_0
="#"
49109 if test "x$PLATFORM_WIN32" = "x0" ; then
49110 COND_PLATFORM_WIN32_0
=""
49113 COND_PLATFORM_WIN32_1
="#"
49114 if test "x$PLATFORM_WIN32" = "x1" ; then
49115 COND_PLATFORM_WIN32_1
=""
49119 if test "x$SHARED" = "x0" ; then
49123 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49124 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49125 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49128 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49129 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49130 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49133 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49134 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49135 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49138 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49139 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49140 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49143 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49144 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49145 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49148 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49149 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49150 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49153 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49154 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49155 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49158 COND_SHARED_0_USE_STC_1
="#"
49159 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49160 COND_SHARED_0_USE_STC_1
=""
49163 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49164 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49165 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49168 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49169 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49170 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49173 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49174 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49175 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49179 if test "x$SHARED" = "x1" ; then
49183 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49184 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49185 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49189 if test "x$TOOLKIT" = "x" ; then
49193 COND_TOOLKIT_COCOA
="#"
49194 if test "x$TOOLKIT" = "xCOCOA" ; then
49195 COND_TOOLKIT_COCOA
=""
49198 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49199 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49200 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49203 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49204 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49205 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49208 COND_TOOLKIT_DFB
="#"
49209 if test "x$TOOLKIT" = "xDFB" ; then
49210 COND_TOOLKIT_DFB
=""
49213 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49214 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49215 COND_TOOLKIT_DFB_USE_GUI_1
=""
49218 COND_TOOLKIT_GTK
="#"
49219 if test "x$TOOLKIT" = "xGTK" ; then
49220 COND_TOOLKIT_GTK
=""
49223 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49224 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49225 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49228 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49229 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49230 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49233 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49234 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49235 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49238 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49239 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49240 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49243 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
49244 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49245 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
49248 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49249 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49250 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49253 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49254 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49255 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49258 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49259 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49260 COND_TOOLKIT_GTK_USE_GUI_1
=""
49263 COND_TOOLKIT_MAC
="#"
49264 if test "x$TOOLKIT" = "xMAC" ; then
49265 COND_TOOLKIT_MAC
=""
49268 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49269 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49270 COND_TOOLKIT_MAC_USE_GUI_1
=""
49273 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49274 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49275 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49278 COND_TOOLKIT_MGL
="#"
49279 if test "x$TOOLKIT" = "xMGL" ; then
49280 COND_TOOLKIT_MGL
=""
49283 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49284 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49285 COND_TOOLKIT_MGL_USE_GUI_1
=""
49288 COND_TOOLKIT_MOTIF
="#"
49289 if test "x$TOOLKIT" = "xMOTIF" ; then
49290 COND_TOOLKIT_MOTIF
=""
49293 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49294 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49295 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49298 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49299 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49300 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49303 COND_TOOLKIT_MSW
="#"
49304 if test "x$TOOLKIT" = "xMSW" ; then
49305 COND_TOOLKIT_MSW
=""
49308 COND_TOOLKIT_MSW_USE_GUI_1
="#"
49309 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49310 COND_TOOLKIT_MSW_USE_GUI_1
=""
49313 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
49314 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49315 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
49318 COND_TOOLKIT_MSW_WXUNIV_0
="#"
49319 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49320 COND_TOOLKIT_MSW_WXUNIV_0
=""
49323 COND_TOOLKIT_PM
="#"
49324 if test "x$TOOLKIT" = "xPM" ; then
49328 COND_TOOLKIT_PM_USE_GUI_1
="#"
49329 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49330 COND_TOOLKIT_PM_USE_GUI_1
=""
49333 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
49334 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49335 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
49338 COND_TOOLKIT_WINCE
="#"
49339 if test "x$TOOLKIT" = "xWINCE" ; then
49340 COND_TOOLKIT_WINCE
=""
49343 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
49344 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49345 COND_TOOLKIT_WINCE_USE_GUI_1
=""
49348 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
49349 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49350 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
49353 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
49354 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49355 COND_TOOLKIT_WINCE_WXUNIV_0
=""
49358 COND_TOOLKIT_X11
="#"
49359 if test "x$TOOLKIT" = "xX11" ; then
49360 COND_TOOLKIT_X11
=""
49363 COND_TOOLKIT_X11_USE_GUI_1
="#"
49364 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49365 COND_TOOLKIT_X11_USE_GUI_1
=""
49369 if test "x$UNICODE" = "x1" ; then
49373 COND_USE_EXCEPTIONS_0
="#"
49374 if test "x$USE_EXCEPTIONS" = "x0" ; then
49375 COND_USE_EXCEPTIONS_0
=""
49378 COND_USE_EXCEPTIONS_1
="#"
49379 if test "x$USE_EXCEPTIONS" = "x1" ; then
49380 COND_USE_EXCEPTIONS_1
=""
49384 if test "x$USE_GUI" = "x0" ; then
49389 if test "x$USE_GUI" = "x1" ; then
49393 COND_USE_GUI_1_USE_OPENGL_1
="#"
49394 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49395 COND_USE_GUI_1_USE_OPENGL_1
=""
49398 COND_USE_GUI_1_WXUNIV_0
="#"
49399 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49400 COND_USE_GUI_1_WXUNIV_0
=""
49403 COND_USE_GUI_1_WXUNIV_1
="#"
49404 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49405 COND_USE_GUI_1_WXUNIV_1
=""
49408 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49409 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49410 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49413 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49414 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49415 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49418 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49419 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49420 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49423 COND_USE_OPENGL_1
="#"
49424 if test "x$USE_OPENGL" = "x1" ; then
49425 COND_USE_OPENGL_1
=""
49429 if test "x$USE_PCH" = "x1" ; then
49433 COND_USE_PLUGINS_0
="#"
49434 if test "x$USE_PLUGINS" = "x0" ; then
49435 COND_USE_PLUGINS_0
=""
49438 COND_USE_RTTI_0
="#"
49439 if test "x$USE_RTTI" = "x0" ; then
49443 COND_USE_RTTI_1
="#"
49444 if test "x$USE_RTTI" = "x1" ; then
49448 COND_USE_SOSYMLINKS_1
="#"
49449 if test "x$USE_SOSYMLINKS" = "x1" ; then
49450 COND_USE_SOSYMLINKS_1
=""
49453 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
49454 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49455 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
49458 COND_USE_SOVERLINUX_1
="#"
49459 if test "x$USE_SOVERLINUX" = "x1" ; then
49460 COND_USE_SOVERLINUX_1
=""
49463 COND_USE_SOVERSION_0
="#"
49464 if test "x$USE_SOVERSION" = "x0" ; then
49465 COND_USE_SOVERSION_0
=""
49468 COND_USE_SOVERSOLARIS_1
="#"
49469 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49470 COND_USE_SOVERSOLARIS_1
=""
49474 if test "x$USE_STC" = "x1" ; then
49478 COND_USE_THREADS_0
="#"
49479 if test "x$USE_THREADS" = "x0" ; then
49480 COND_USE_THREADS_0
=""
49483 COND_USE_THREADS_1
="#"
49484 if test "x$USE_THREADS" = "x1" ; then
49485 COND_USE_THREADS_1
=""
49489 if test "x$USE_XRC" = "x1" ; then
49493 COND_WINDOWS_IMPLIB_1
="#"
49494 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49495 COND_WINDOWS_IMPLIB_1
=""
49498 COND_WITH_PLUGIN_SDL_1
="#"
49499 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49500 COND_WITH_PLUGIN_SDL_1
=""
49504 if test "x$WXUNIV" = "x0" ; then
49509 if test "x$WXUNIV" = "x1" ; then
49513 COND_WXUSE_EXPAT_BUILTIN
="#"
49514 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49515 COND_WXUSE_EXPAT_BUILTIN
=""
49518 COND_WXUSE_LIBJPEG_BUILTIN
="#"
49519 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49520 COND_WXUSE_LIBJPEG_BUILTIN
=""
49523 COND_WXUSE_LIBPNG_BUILTIN
="#"
49524 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49525 COND_WXUSE_LIBPNG_BUILTIN
=""
49528 COND_WXUSE_LIBTIFF_BUILTIN
="#"
49529 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49530 COND_WXUSE_LIBTIFF_BUILTIN
=""
49533 COND_WXUSE_REGEX_BUILTIN
="#"
49534 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49535 COND_WXUSE_REGEX_BUILTIN
=""
49538 COND_WXUSE_ZLIB_BUILTIN
="#"
49539 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49540 COND_WXUSE_ZLIB_BUILTIN
=""
49545 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49546 { { 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
49547 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;}
49548 { (exit 1); exit 1; }; }
49551 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49552 { { 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
49553 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;}
49554 { (exit 1); exit 1; }; }
49561 ?
:* ) # Drive letter, considered as absolute.
49564 INSTALL
=`pwd`/${INSTALL} ;;
49567 if test "$wxUSE_GUI" = "yes"; then
49569 if test "$wxUSE_MSW" = 1 ; then
49570 if test "x$WINDRES" = "x"; then
49571 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49572 echo "$as_me: error: Required windres program not found" >&2;}
49573 { (exit 1); exit 1; }; }
49579 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49580 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49581 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49583 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49585 # Extract the first word of "DeRez", so it can be a program name with args.
49586 set dummy DeRez
; ac_word
=$2
49587 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49589 if test "${ac_cv_prog_DEREZ+set}" = set; then
49590 echo $ECHO_N "(cached) $ECHO_C" >&6
49592 if test -n "$DEREZ"; then
49593 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
49595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49596 for as_dir
in $PATH
49599 test -z "$as_dir" && as_dir
=.
49600 for ac_exec_ext
in '' $ac_executable_extensions; do
49601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49602 ac_cv_prog_DEREZ
="DeRez"
49603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49610 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
49613 DEREZ
=$ac_cv_prog_DEREZ
49614 if test -n "$DEREZ"; then
49615 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49616 echo "${ECHO_T}$DEREZ" >&6; }
49618 { echo "$as_me:$LINENO: result: no" >&5
49619 echo "${ECHO_T}no" >&6; }
49624 MACSETFILE
="\$(SETFILE)"
49626 if test "$wxUSE_MAC" = 1; then
49627 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49629 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
49631 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49632 RESCOMP
="cat /dev/null \| $REZ"
49633 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49639 if test "$wxUSE_PM" = 1; then
49641 WXCONFIG_RESFLAGS
="-ep"
49643 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
49645 POSTLINK_COMMAND
="@true"
49652 if test $GCC_PCH = 1
49654 if test "$wx_cv_gcc_pch_bug" = yes; then
49655 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49656 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49657 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49658 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49659 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49660 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49663 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
49667 if test "$wxUSE_MAC" = 1 ; then
49668 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49669 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
49675 if test "$wxUSE_SHARED" = "yes"; then
49677 *-pc-os2_emx | *-pc-os2-emx )
49678 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49679 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49680 cp -p ${srcdir}/src
/os
2/dllnames.sh .
49681 cp -p ${srcdir}/src
/os
2/dllar.sh .
49685 if test "$wxUSE_OMF" = "yes"; then
49687 *-pc-os2_emx | *-pc-os2-emx )
49688 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
49689 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49690 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49695 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49700 if test "$GCC" = yes; then
49701 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
49702 LIBS
=`echo $LIBS | sed 's/-mt//'`
49703 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49708 if test "x$SUNCXX" = xyes
; then
49709 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
49710 LIBS
=`echo $LIBS | sed 's/-pthread//'`
49711 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49716 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
49717 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49719 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49780 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49781 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49782 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49783 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49784 echo $ECHO_N "(cached) $ECHO_C" >&6
49786 cat >conftest.
make <<\_ACEOF
49789 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49791 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49792 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49793 *@@@
%%%=?
*=@@@
%%%*)
49794 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49796 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49798 rm -f conftest.
make
49800 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49801 { echo "$as_me:$LINENO: result: yes" >&5
49802 echo "${ECHO_T}yes" >&6; }
49805 { echo "$as_me:$LINENO: result: no" >&5
49806 echo "${ECHO_T}no" >&6; }
49807 SET_MAKE
="MAKE=${MAKE-make}"
49812 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49815 if test "$USE_WIN32" = 1; then
49816 ac_config_commands
="$ac_config_commands
49822 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49825 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49828 if test "$wx_cv_version_script" = "yes"; then
49829 ac_config_files
="$ac_config_files version-script"
49832 ac_config_files
="$ac_config_files Makefile"
49835 ac_config_commands
="$ac_config_commands wx-config"
49839 if test "$wxWITH_SUBDIRS" != "no"; then
49840 if test "$wxUSE_GUI" = "yes"; then
49841 SUBDIRS
="samples demos utils"
49843 SUBDIRS
="samples utils"
49848 # Check whether --with-cppunit-prefix was given.
49849 if test "${with_cppunit_prefix+set}" = set; then
49850 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
49852 cppunit_config_prefix
=""
49856 # Check whether --with-cppunit-exec-prefix was given.
49857 if test "${with_cppunit_exec_prefix+set}" = set; then
49858 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
49860 cppunit_config_exec_prefix
=""
49864 if test x
$cppunit_config_exec_prefix != x
; then
49865 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49866 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49867 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
49870 if test x
$cppunit_config_prefix != x
; then
49871 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
49872 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49873 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
49877 # Extract the first word of "cppunit-config", so it can be a program name with args.
49878 set dummy cppunit
-config; ac_word
=$2
49879 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49881 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49882 echo $ECHO_N "(cached) $ECHO_C" >&6
49884 case $CPPUNIT_CONFIG in
49886 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49890 for as_dir
in $PATH
49893 test -z "$as_dir" && as_dir
=.
49894 for ac_exec_ext
in '' $ac_executable_extensions; do
49895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49896 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49904 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
49908 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
49909 if test -n "$CPPUNIT_CONFIG"; then
49910 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49911 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49913 { echo "$as_me:$LINENO: result: no" >&5
49914 echo "${ECHO_T}no" >&6; }
49918 cppunit_version_min
=1.8.0
49920 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49921 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49923 if test "$CPPUNIT_CONFIG" = "no" ; then
49924 { echo "$as_me:$LINENO: result: no" >&5
49925 echo "${ECHO_T}no" >&6; }
49928 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
49929 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
49930 cppunit_version
=`$CPPUNIT_CONFIG --version`
49932 cppunit_major_version
=`echo $cppunit_version | \
49933 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49934 cppunit_minor_version
=`echo $cppunit_version | \
49935 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49936 cppunit_micro_version
=`echo $cppunit_version | \
49937 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49939 cppunit_major_min
=`echo $cppunit_version_min | \
49940 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49941 cppunit_minor_min
=`echo $cppunit_version_min | \
49942 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49943 cppunit_micro_min
=`echo $cppunit_version_min | \
49944 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49946 cppunit_version_proper
=`expr \
49947 $cppunit_major_version \> $cppunit_major_min \| \
49948 $cppunit_major_version \= $cppunit_major_min \& \
49949 $cppunit_minor_version \> $cppunit_minor_min \| \
49950 $cppunit_major_version \= $cppunit_major_min \& \
49951 $cppunit_minor_version \= $cppunit_minor_min \& \
49952 $cppunit_micro_version \>= $cppunit_micro_min `
49954 if test "$cppunit_version_proper" = "1" ; then
49955 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49956 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49958 { echo "$as_me:$LINENO: result: no" >&5
49959 echo "${ECHO_T}no" >&6; }
49964 if test "x$no_cppunit" = x
; then
49965 SUBDIRS
="$SUBDIRS tests"
49976 for subdir
in $SUBDIRS; do
49977 if test -d ${srcdir}/${subdir} ; then
49978 if test "$wxUSE_GUI" = "yes"; then
49979 if test ${subdir} = "samples"; then
49980 makefiles
="samples/Makefile.in $makefiles"
49981 for sample
in $SAMPLES_SUBDIRS; do
49982 if test -d $srcdir/samples
/$sample; then
49983 makefiles
="samples/$sample/Makefile.in $makefiles"
49987 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
49988 eval "disabled=\$$disabled_var"
49989 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
49990 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49993 if test ${subdir} = "samples"; then
49994 makefiles
="samples/Makefile.in $makefiles"
49995 for sample
in `echo $SAMPLES_SUBDIRS`; do
49996 if test -d $srcdir/samples
/$sample; then
49997 makefiles
="samples/$sample/Makefile.in $makefiles"
50000 elif test ${subdir} = "utils"; then
50002 for util
in HelpGen tex2rtf
; do
50003 if test -d $srcdir/utils
/$util ; then
50004 makefiles
="utils/$util/Makefile.in \
50005 utils/$util/src/Makefile.in \
50010 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50014 for mkin
in $makefiles ; do
50015 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50016 ac_config_files
="$ac_config_files $mk"
50022 cat >confcache
<<\_ACEOF
50023 # This file is a shell script that caches the results of configure
50024 # tests run on this system so they can be shared between configure
50025 # scripts and configure runs, see configure's option --config-cache.
50026 # It is not useful on other systems. If it contains results you don't
50027 # want to keep, you may remove or edit it.
50029 # config.status only pays attention to the cache file if you give it
50030 # the --recheck option to rerun configure.
50032 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50033 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50034 # following values.
50038 # The following way of writing the cache mishandles newlines in values,
50039 # but we know of no workaround that is simple, portable, and efficient.
50040 # So, we kill variables containing newlines.
50041 # Ultrix sh set writes to stderr and can't be redirected directly,
50042 # and sets the high bit in the cache file unless we assign to the vars.
50044 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50045 eval ac_val
=\$
$ac_var
50049 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50050 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50053 _
| IFS
| as_nl
) ;; #(
50054 *) $as_unset $ac_var ;;
50060 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50061 *${as_nl}ac_space
=\
*)
50062 # `set' does not quote correctly, so add quotes (double-quote
50063 # substitution turns \\\\ into \\, and sed turns \\ into \).
50066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50069 # `set' quotes correctly as required by POSIX, so do not add quotes.
50070 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50079 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50081 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50083 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
50084 if test -w "$cache_file"; then
50085 test "x$cache_file" != "x/dev/null" &&
50086 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50087 echo "$as_me: updating cache $cache_file" >&6;}
50088 cat confcache
>$cache_file
50090 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50091 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50096 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50097 # Let make expand exec_prefix.
50098 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50100 DEFS
=-DHAVE_CONFIG_H
50104 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50105 # 1. Remove the extension, and $U if already installed.
50106 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
50107 ac_i
=`echo "$ac_i" | sed "$ac_script"`
50108 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50109 # will be set to the directory where LIBOBJS objects are built.
50110 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50111 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50113 LIBOBJS
=$ac_libobjs
50115 LTLIBOBJS
=$ac_ltlibobjs
50119 : ${CONFIG_STATUS=./config.status}
50120 ac_clean_files_save
=$ac_clean_files
50121 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50122 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50123 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50124 cat >$CONFIG_STATUS <<_ACEOF
50126 # Generated by $as_me.
50127 # Run this file to recreate the current configuration.
50128 # Compiler output produced by configure, useful for debugging
50129 # configure, is in config.log if it exists.
50132 ac_cs_recheck=false
50134 SHELL=\${CONFIG_SHELL-$SHELL}
50137 cat >>$CONFIG_STATUS <<\_ACEOF
50138 ## --------------------- ##
50139 ## M4sh Initialization. ##
50140 ## --------------------- ##
50142 # Be more Bourne compatible
50143 DUALCASE
=1; export DUALCASE
# for MKS sh
50144 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50147 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50148 # is contrary to our usage. Disable this feature.
50149 alias -g '${1+"$@"}'='"$@"'
50150 setopt NO_GLOB_SUBST
50152 case `(set -o) 2>/dev/null` in
50153 *posix
*) set -o posix
;;
50162 # Avoid depending upon Character Ranges.
50163 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50164 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50165 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50166 as_cr_digits
='0123456789'
50167 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50169 # The user is always right.
50170 if test "${PATH_SEPARATOR+set}" != set; then
50171 echo "#! /bin/sh" >conf$$.sh
50172 echo "exit 0" >>conf$$.sh
50174 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50182 # Support unset when possible.
50183 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50191 # We need space, tab and new line, in precisely that order. Quoting is
50192 # there to prevent editors from complaining about space-tab.
50193 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50194 # splitting by setting IFS to empty value.)
50199 # Find who we are. Look in the path if we contain no directory separator.
50201 *[\\/]* ) as_myself
=$0 ;;
50202 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50203 for as_dir
in $PATH
50206 test -z "$as_dir" && as_dir
=.
50207 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50213 # We did not find ourselves, most probably we were run as `sh COMMAND'
50214 # in which case we are not to be found in the path.
50215 if test "x$as_myself" = x
; then
50218 if test ! -f "$as_myself"; then
50219 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50220 { (exit 1); exit 1; }
50223 # Work around bugs in pre-3.0 UWIN ksh.
50224 for as_var
in ENV MAIL MAILPATH
50225 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50233 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50234 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50235 LC_TELEPHONE LC_TIME
50237 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50238 eval $as_var=C
; export $as_var
50240 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50244 # Required to use basename.
50245 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50246 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50252 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50253 as_basename
=basename
50259 # Name of the executable.
50260 as_me
=`$as_basename -- "$0" ||
50261 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50262 X"$0" : 'X\(//\)$' \| \
50263 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50265 sed '/^.*\/\([^/][^/]*\)\/*$/{
50284 as_lineno_1
=$LINENO
50285 as_lineno_2
=$LINENO
50286 test "x$as_lineno_1" != "x$as_lineno_2" &&
50287 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50289 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50290 # uniformly replaced by the line number. The first 'sed' inserts a
50291 # line-number line after each line using $LINENO; the second 'sed'
50292 # does the real work. The second script uses 'N' to pair each
50293 # line-number line with the line containing $LINENO, and appends
50294 # trailing '-' during substitution so that $LINENO is not a special
50295 # case at line end.
50296 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50297 # scripts with optimization help from Paolo Bonzini. Blame Lee
50298 # E. McMahon (1931-1989) for sed's syntax. :-)
50310 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50313 ' >$as_me.lineno
&&
50314 chmod +x
"$as_me.lineno" ||
50315 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50316 { (exit 1); exit 1; }; }
50318 # Don't try to exec as it changes $[0], causing all sort of problems
50319 # (the dirname of $[0] is not the place where we might find the
50320 # original and so on. Autoconf is especially sensitive to this).
50321 .
"./$as_me.lineno"
50322 # Exit status is that of the last command.
50327 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
50333 ECHO_C
= ECHO_N
= ECHO_T
=
50334 case `echo -n x` in
50336 case `echo 'x\c'` in
50337 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
50344 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50345 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50351 rm -f conf$$ conf$$.exe conf$$.
file
50352 if test -d conf$$.dir
; then
50353 rm -f conf$$.dir
/conf$$.
file
50359 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50361 # ... but there are two gotchas:
50362 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50363 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50364 # In both cases, we have to default to `cp -p'.
50365 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
50367 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50372 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
50373 rmdir conf$$.dir
2>/dev
/null
50375 if mkdir -p .
2>/dev
/null
; then
50378 test -d .
/-p && rmdir .
/-p
50382 if test -x / >/dev
/null
2>&1; then
50383 as_test_x
='test -x'
50385 if ls -dL / >/dev
/null
2>&1; then
50392 if test -d "$1"; then
50398 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50399 ???[sx]*):;;*)false;;esac;fi
50403 as_executable_p
=$as_test_x
50405 # Sed expression to map a string onto a valid CPP name.
50406 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50408 # Sed expression to map a string onto a valid variable name.
50409 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50414 # Save the log message, to keep $[0] and so on meaningful, and to
50415 # report actual input values of CONFIG_FILES etc. instead of their
50416 # values after options handling.
50418 This file was extended by wxWidgets $as_me 2.9.0, which was
50419 generated by GNU Autoconf 2.61. Invocation command line was
50421 CONFIG_FILES = $CONFIG_FILES
50422 CONFIG_HEADERS = $CONFIG_HEADERS
50423 CONFIG_LINKS = $CONFIG_LINKS
50424 CONFIG_COMMANDS = $CONFIG_COMMANDS
50427 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50432 cat >>$CONFIG_STATUS <<_ACEOF
50433 # Files that config.status was made for.
50434 config_files="$ac_config_files"
50435 config_headers="$ac_config_headers"
50436 config_commands="$ac_config_commands"
50440 cat >>$CONFIG_STATUS <<\_ACEOF
50442 \`$as_me' instantiates files from templates according to the
50443 current configuration.
50445 Usage: $0 [OPTIONS] [FILE]...
50447 -h, --help print this help, then exit
50448 -V, --version print version number and configuration settings, then exit
50449 -q, --quiet do not print progress messages
50450 -d, --debug don't remove temporary files
50451 --recheck update $as_me by reconfiguring in the same conditions
50452 --file=FILE[:TEMPLATE]
50453 instantiate the configuration file FILE
50454 --header=FILE[:TEMPLATE]
50455 instantiate the configuration header FILE
50457 Configuration files:
50460 Configuration headers:
50463 Configuration commands:
50466 Report bugs to <bug-autoconf@gnu.org>."
50469 cat >>$CONFIG_STATUS <<_ACEOF
50471 wxWidgets config.status 2.9.0
50472 configured by $0, generated by GNU Autoconf 2.61,
50473 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50475 Copyright (C) 2006 Free Software Foundation, Inc.
50476 This config.status script is free software; the Free Software Foundation
50477 gives unlimited permission to copy, distribute and modify it."
50484 cat >>$CONFIG_STATUS <<\_ACEOF
50485 # If no file are specified by the user, then we need to provide default
50486 # value. By we need to know if files were specified by the user.
50492 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
50493 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
50504 # Handling of the options.
50505 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50507 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50508 echo "$ac_cs_version"; exit ;;
50509 --debug | --debu | --deb | --de | --d | -d )
50511 --file | --fil | --fi | --f )
50513 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
50514 ac_need_defaults
=false
;;
50515 --header | --heade | --head | --hea )
50517 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
50518 ac_need_defaults
=false
;;
50520 # Conflict between --help and --header
50521 { echo "$as_me: error: ambiguous option: $1
50522 Try \`$0 --help' for more information." >&2
50523 { (exit 1); exit 1; }; };;
50524 --help | --hel | -h )
50525 echo "$ac_cs_usage"; exit ;;
50526 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50527 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50530 # This is an error.
50531 -*) { echo "$as_me: error: unrecognized option: $1
50532 Try \`$0 --help' for more information." >&2
50533 { (exit 1); exit 1; }; } ;;
50535 *) ac_config_targets
="$ac_config_targets $1"
50536 ac_need_defaults
=false
;;
50542 ac_configure_extra_args
=
50544 if $ac_cs_silent; then
50546 ac_configure_extra_args
="$ac_configure_extra_args --silent"
50550 cat >>$CONFIG_STATUS <<_ACEOF
50551 if \$ac_cs_recheck; then
50552 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50553 CONFIG_SHELL=$SHELL
50554 export CONFIG_SHELL
50555 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50559 cat >>$CONFIG_STATUS <<\_ACEOF
50563 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50564 ## Running $as_me. ##
50570 cat >>$CONFIG_STATUS <<_ACEOF
50576 infile="$srcdir/include/wx/msw/genrcdefs.h"
50577 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50580 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50581 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50582 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50588 cat >>$CONFIG_STATUS <<\_ACEOF
50590 # Handling of arguments.
50591 for ac_config_target
in $ac_config_targets
50593 case $ac_config_target in
50594 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50595 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
50596 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50597 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50598 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
50599 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
50600 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
50601 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
50603 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50604 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50605 { (exit 1); exit 1; }; };;
50610 # If the user did not use the arguments to specify the items to instantiate,
50611 # then the envvar interface is used. Set only those that are not.
50612 # We use the long form for the default assignment because of an extremely
50613 # bizarre bug on SunOS 4.1.3.
50614 if $ac_need_defaults; then
50615 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
50616 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
50617 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
50620 # Have a temporary directory for convenience. Make it in the build tree
50621 # simply because there is no reason against having it here, and in addition,
50622 # creating and moving files from /tmp can sometimes cause problems.
50623 # Hook for its removal unless debugging.
50624 # Note that there is a small window in which the directory will not be cleaned:
50625 # after its creation but before its name has been assigned to `$tmp'.
50629 trap 'exit_status=$?
50630 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50632 trap '{ (exit 1); exit 1; }' 1 2 13 15
50634 # Create a (secure) tmp directory for tmp files.
50637 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50638 test -n "$tmp" && test -d "$tmp"
50641 tmp
=.
/conf$$
-$RANDOM
50642 (umask 077 && mkdir "$tmp")
50645 echo "$me: cannot create a temporary directory in ." >&2
50646 { (exit 1); exit 1; }
50650 # Set up the sed scripts for CONFIG_FILES section.
50653 # No need to generate the scripts if there are no CONFIG_FILES.
50654 # This happens for instance when ./config.status config.h
50655 if test -n "$CONFIG_FILES"; then
50662 for ac_last_try
in false false false false false
:; do
50663 cat >conf$
$subs.
sed <<_ACEOF
50664 SHELL!$SHELL$ac_delim
50665 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50666 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50667 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50668 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50669 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50670 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50671 exec_prefix!$exec_prefix$ac_delim
50672 prefix!$prefix$ac_delim
50673 program_transform_name!$program_transform_name$ac_delim
50674 bindir!$bindir$ac_delim
50675 sbindir!$sbindir$ac_delim
50676 libexecdir!$libexecdir$ac_delim
50677 datarootdir!$datarootdir$ac_delim
50678 datadir!$datadir$ac_delim
50679 sysconfdir!$sysconfdir$ac_delim
50680 sharedstatedir!$sharedstatedir$ac_delim
50681 localstatedir!$localstatedir$ac_delim
50682 includedir!$includedir$ac_delim
50683 oldincludedir!$oldincludedir$ac_delim
50684 docdir!$docdir$ac_delim
50685 infodir!$infodir$ac_delim
50686 htmldir!$htmldir$ac_delim
50687 dvidir!$dvidir$ac_delim
50688 pdfdir!$pdfdir$ac_delim
50689 psdir!$psdir$ac_delim
50690 libdir!$libdir$ac_delim
50691 localedir!$localedir$ac_delim
50692 mandir!$mandir$ac_delim
50693 DEFS!$DEFS$ac_delim
50694 ECHO_C!$ECHO_C$ac_delim
50695 ECHO_N!$ECHO_N$ac_delim
50696 ECHO_T!$ECHO_T$ac_delim
50697 LIBS!$LIBS$ac_delim
50698 build_alias!$build_alias$ac_delim
50699 host_alias!$host_alias$ac_delim
50700 target_alias!$target_alias$ac_delim
50701 build!$build$ac_delim
50702 build_cpu!$build_cpu$ac_delim
50703 build_vendor!$build_vendor$ac_delim
50704 build_os!$build_os$ac_delim
50705 host!$host$ac_delim
50706 host_cpu!$host_cpu$ac_delim
50707 host_vendor!$host_vendor$ac_delim
50708 host_os!$host_os$ac_delim
50709 target!$target$ac_delim
50710 target_cpu!$target_cpu$ac_delim
50711 target_vendor!$target_vendor$ac_delim
50712 target_os!$target_os$ac_delim
50713 wx_top_builddir!$wx_top_builddir$ac_delim
50715 CFLAGS!$CFLAGS$ac_delim
50716 LDFLAGS!$LDFLAGS$ac_delim
50717 CPPFLAGS!$CPPFLAGS$ac_delim
50718 ac_ct_CC!$ac_ct_CC$ac_delim
50719 EXEEXT!$EXEEXT$ac_delim
50720 OBJEXT!$OBJEXT$ac_delim
50722 GREP!$GREP$ac_delim
50723 EGREP!$EGREP$ac_delim
50725 CXXFLAGS!$CXXFLAGS$ac_delim
50726 ac_ct_CXX!$ac_ct_CXX$ac_delim
50728 subdirs!$subdirs$ac_delim
50729 PKG_CONFIG!$PKG_CONFIG$ac_delim
50730 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50731 GTK_LIBS!$GTK_LIBS$ac_delim
50732 GTK_CONFIG!$GTK_CONFIG$ac_delim
50733 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50734 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50735 XMKMF!$XMKMF$ac_delim
50736 X_CFLAGS!$X_CFLAGS$ac_delim
50737 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50738 X_LIBS!$X_LIBS$ac_delim
50739 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50740 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50741 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50742 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50743 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50744 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50745 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50746 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50747 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50748 LIBICONV!$LIBICONV$ac_delim
50749 SDL_CONFIG!$SDL_CONFIG$ac_delim
50750 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50751 SDL_LIBS!$SDL_LIBS$ac_delim
50752 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50753 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50754 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50755 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50756 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50757 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50758 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50759 HILDON_LIBS!$HILDON_LIBS$ac_delim
50760 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50763 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50765 elif $ac_last_try; then
50766 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50767 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50768 { (exit 1); exit 1; }; }
50770 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50774 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50775 if test -n "$ac_eof"; then
50776 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50777 ac_eof
=`expr $ac_eof + 1`
50780 cat >>$CONFIG_STATUS <<_ACEOF
50781 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50782 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50785 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50786 s/^/s,@/; s/!/@,|#_!!_#|/
50789 s/'"$ac_delim"'$/,g/; t
50791 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50792 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50793 rm -f conf$
$subs.
sed
50794 cat >>$CONFIG_STATUS <<_ACEOF
50800 for ac_last_try
in false false false false false
:; do
50801 cat >conf$
$subs.
sed <<_ACEOF
50802 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50803 GST_CFLAGS!$GST_CFLAGS$ac_delim
50804 GST_LIBS!$GST_LIBS$ac_delim
50805 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50806 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50807 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50808 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50809 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50810 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50811 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50812 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50813 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50814 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50815 VENDOR!$VENDOR$ac_delim
50816 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50817 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50818 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50819 WXUNIV!$WXUNIV$ac_delim
50820 MONOLITHIC!$MONOLITHIC$ac_delim
50821 USE_PLUGINS!$USE_PLUGINS$ac_delim
50822 CXXWARNINGS!$CXXWARNINGS$ac_delim
50823 EXTRALIBS!$EXTRALIBS$ac_delim
50824 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50825 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50826 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50827 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50828 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50829 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50830 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50831 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50832 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50833 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50834 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50835 UNICODE!$UNICODE$ac_delim
50836 BUILD!$BUILD$ac_delim
50837 DEBUG_INFO!$DEBUG_INFO$ac_delim
50838 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50839 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50840 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50841 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50842 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50843 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50844 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50845 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50846 RANLIB!$RANLIB$ac_delim
50847 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50848 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50849 INSTALL_DATA!$INSTALL_DATA$ac_delim
50850 LN_S!$LN_S$ac_delim
50851 SET_MAKE!$SET_MAKE$ac_delim
50852 MAKE_SET!$MAKE_SET$ac_delim
50853 AROPTIONS!$AROPTIONS$ac_delim
50854 STRIP!$STRIP$ac_delim
50856 INSTALL_DIR!$INSTALL_DIR$ac_delim
50857 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50858 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50859 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50860 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50861 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50862 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50863 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50864 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50865 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50866 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50867 SO_SUFFIX!$SO_SUFFIX$ac_delim
50868 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50869 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50870 LIBPREFIX!$LIBPREFIX$ac_delim
50871 LIBEXT!$LIBEXT$ac_delim
50872 DLLPREFIX!$DLLPREFIX$ac_delim
50873 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50874 dlldir!$dlldir$ac_delim
50875 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50876 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50877 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50878 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50879 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50880 PIC_FLAG!$PIC_FLAG$ac_delim
50881 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50882 USE_SOVERSION!$USE_SOVERSION$ac_delim
50883 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50884 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50885 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50886 USE_MACVERSION!$USE_MACVERSION$ac_delim
50887 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50888 SONAME_FLAG!$SONAME_FLAG$ac_delim
50889 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50890 BK_DEPS!$BK_DEPS$ac_delim
50891 WINDRES!$WINDRES$ac_delim
50893 SETFILE!$SETFILE$ac_delim
50894 GCC_PCH!$GCC_PCH$ac_delim
50895 ICC_PCH!$ICC_PCH$ac_delim
50896 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50897 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50898 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50901 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50903 elif $ac_last_try; then
50904 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50905 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50906 { (exit 1); exit 1; }; }
50908 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50912 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50913 if test -n "$ac_eof"; then
50914 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50915 ac_eof
=`expr $ac_eof + 1`
50918 cat >>$CONFIG_STATUS <<_ACEOF
50919 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50920 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50923 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50924 s/^/s,@/; s/!/@,|#_!!_#|/
50927 s/'"$ac_delim"'$/,g/; t
50929 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50930 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50931 rm -f conf$
$subs.
sed
50932 cat >>$CONFIG_STATUS <<_ACEOF
50938 for ac_last_try
in false false false false false
:; do
50939 cat >conf$
$subs.
sed <<_ACEOF
50940 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50941 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50942 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50943 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50944 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50945 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50946 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50947 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50948 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50949 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50950 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50951 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50952 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50953 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50954 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50955 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50956 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50957 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50958 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50959 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50960 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50961 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50962 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50963 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50964 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50965 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50966 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50967 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50968 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50969 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50970 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50971 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50972 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50973 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50974 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50975 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50976 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50977 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50978 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50979 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50980 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50981 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50982 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50983 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50984 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50985 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50986 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50987 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50988 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50989 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50990 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50991 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50992 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50993 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50994 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50995 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50996 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50997 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50998 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50999 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51000 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51001 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51002 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51003 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51004 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51005 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51006 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51007 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51008 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51009 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51010 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51011 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51012 COND_SHARED_0!$COND_SHARED_0$ac_delim
51013 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51014 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51015 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51016 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51017 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51018 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51019 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51020 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51021 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51022 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51023 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51024 COND_SHARED_1!$COND_SHARED_1$ac_delim
51025 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51026 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51027 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51028 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51029 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51030 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51031 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51032 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51033 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51034 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51035 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51036 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51039 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51041 elif $ac_last_try; then
51042 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51043 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51044 { (exit 1); exit 1; }; }
51046 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51050 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51051 if test -n "$ac_eof"; then
51052 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51053 ac_eof
=`expr $ac_eof + 1`
51056 cat >>$CONFIG_STATUS <<_ACEOF
51057 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51058 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51061 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51062 s/^/s,@/; s/!/@,|#_!!_#|/
51065 s/'"$ac_delim"'$/,g/; t
51067 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51068 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51069 rm -f conf$
$subs.
sed
51070 cat >>$CONFIG_STATUS <<_ACEOF
51076 for ac_last_try
in false false false false false
:; do
51077 cat >conf$
$subs.
sed <<_ACEOF
51078 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51079 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51080 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51081 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51082 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51083 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51084 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51085 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51086 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51087 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51088 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51089 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51090 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51091 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51092 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51093 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51094 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51095 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51096 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51097 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51098 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51099 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51100 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51101 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51102 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51103 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51104 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51105 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51106 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51107 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51108 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51109 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51110 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51111 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51112 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51113 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51114 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51115 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51116 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51117 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51118 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51119 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51120 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51121 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51122 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51123 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51124 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51125 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51126 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51127 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51128 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51129 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51130 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51131 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51132 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51133 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51134 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51135 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51136 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51137 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51138 DEREZ!$DEREZ$ac_delim
51139 SHARED!$SHARED$ac_delim
51140 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51141 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51142 USE_GUI!$USE_GUI$ac_delim
51143 AFMINSTALL!$AFMINSTALL$ac_delim
51144 WIN32INSTALL!$WIN32INSTALL$ac_delim
51145 TOOLKIT!$TOOLKIT$ac_delim
51146 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51147 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51148 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51149 cross_compiling!$cross_compiling$ac_delim
51150 WIDGET_SET!$WIDGET_SET$ac_delim
51151 WX_RELEASE!$WX_RELEASE$ac_delim
51152 WX_VERSION!$WX_VERSION$ac_delim
51153 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51154 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51155 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51156 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51157 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51158 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51159 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51160 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51161 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51162 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51163 GUIDIST!$GUIDIST$ac_delim
51164 DISTDIR!$DISTDIR$ac_delim
51165 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51166 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51167 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51168 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51169 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51170 RESCOMP!$RESCOMP$ac_delim
51171 RESFLAGS!$RESFLAGS$ac_delim
51172 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51173 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51174 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51177 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51179 elif $ac_last_try; then
51180 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51181 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51182 { (exit 1); exit 1; }; }
51184 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51188 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51189 if test -n "$ac_eof"; then
51190 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51191 ac_eof
=`expr $ac_eof + 1`
51194 cat >>$CONFIG_STATUS <<_ACEOF
51195 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51196 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51199 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51200 s/^/s,@/; s/!/@,|#_!!_#|/
51203 s/'"$ac_delim"'$/,g/; t
51205 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51206 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51207 rm -f conf$
$subs.
sed
51208 cat >>$CONFIG_STATUS <<_ACEOF
51214 for ac_last_try
in false false false false false
:; do
51215 cat >conf$
$subs.
sed <<_ACEOF
51216 LIBWXMACRES!$LIBWXMACRES$ac_delim
51217 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51218 MACSETFILE!$MACSETFILE$ac_delim
51220 DLLTOOL!$DLLTOOL$ac_delim
51221 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51222 LIBOBJS!$LIBOBJS$ac_delim
51223 LTLIBOBJS!$LTLIBOBJS$ac_delim
51226 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 8; then
51228 elif $ac_last_try; then
51229 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51230 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51231 { (exit 1); exit 1; }; }
51233 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51237 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51238 if test -n "$ac_eof"; then
51239 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51240 ac_eof
=`expr $ac_eof + 1`
51243 cat >>$CONFIG_STATUS <<_ACEOF
51244 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51245 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51248 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51249 s/^/s,@/; s/!/@,|#_!!_#|/
51252 s/'"$ac_delim"'$/,g/; t
51254 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51255 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51256 rm -f conf$
$subs.
sed
51257 cat >>$CONFIG_STATUS <<_ACEOF
51264 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51265 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51266 # trailing colons and then remove the whole line if VPATH becomes empty
51267 # (actually we leave an empty line to preserve line numbers).
51268 if test "x$srcdir" = x.
; then
51269 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
51270 s/:*\$(srcdir):*/:/
51271 s/:*\${srcdir}:*/:/
51273 s/^\([^=]*=[ ]*\):*/\1/
51279 cat >>$CONFIG_STATUS <<\_ACEOF
51280 fi # test -n "$CONFIG_FILES"
51283 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
51286 :[FHLC
]) ac_mode
=$ac_tag; continue;;
51288 case $ac_mode$ac_tag in
51290 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51291 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51292 { (exit 1); exit 1; }; };;
51293 :[FH
]-) ac_tag
=-:-;;
51294 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
51311 -) ac_f
="$tmp/stdin";;
51312 *) # Look for the file first in the build tree, then in the source tree
51313 # (if the path is not absolute). The absolute path cannot be DOS-style,
51314 # because $ac_f cannot contain `:'.
51318 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
51320 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51321 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51322 { (exit 1); exit 1; }; };;
51324 ac_file_inputs
="$ac_file_inputs $ac_f"
51327 # Let's still pretend it is `configure' which instantiates (i.e., don't
51328 # use $as_me), people would be surprised to read:
51329 # /* config.h. Generated by config.status. */
51330 configure_input
="Generated from "`IFS=:
51331 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51332 if test x
"$ac_file" != x
-; then
51333 configure_input
="$ac_file. $configure_input"
51334 { echo "$as_me:$LINENO: creating $ac_file" >&5
51335 echo "$as_me: creating $ac_file" >&6;}
51339 *:-:* | *:-) cat >"$tmp/stdin";;
51344 ac_dir
=`$as_dirname -- "$ac_file" ||
51345 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51346 X"$ac_file" : 'X\(//\)[^/]' \| \
51347 X"$ac_file" : 'X\(//\)$' \| \
51348 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51354 /^X\(\/\/\)[^/].*/{
51369 -*) as_dir
=.
/$as_dir;;
51371 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51375 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51376 *) as_qdir
=$as_dir;;
51378 as_dirs
="'$as_qdir' $as_dirs"
51379 as_dir
=`$as_dirname -- "$as_dir" ||
51380 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51381 X"$as_dir" : 'X\(//\)[^/]' \| \
51382 X"$as_dir" : 'X\(//\)$' \| \
51383 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51389 /^X\(\/\/\)[^/].*/{
51402 test -d "$as_dir" && break
51404 test -z "$as_dirs" || eval "mkdir $as_dirs"
51405 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51406 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51407 { (exit 1); exit 1; }; }; }
51411 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51413 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51414 # A ".." for each directory in $ac_dir_suffix.
51415 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51416 case $ac_top_builddir_sub in
51417 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51418 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
51421 ac_abs_top_builddir
=$ac_pwd
51422 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
51423 # for backward compatibility:
51424 ac_top_builddir
=$ac_top_build_prefix
51427 .
) # We are building in place.
51429 ac_top_srcdir
=$ac_top_builddir_sub
51430 ac_abs_top_srcdir
=$ac_pwd ;;
51431 [\\/]* | ?
:[\\/]* ) # Absolute name.
51432 ac_srcdir
=$srcdir$ac_dir_suffix;
51433 ac_top_srcdir
=$srcdir
51434 ac_abs_top_srcdir
=$srcdir ;;
51435 *) # Relative name.
51436 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
51437 ac_top_srcdir
=$ac_top_build_prefix$srcdir
51438 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
51440 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
51450 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
51451 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
51455 cat >>$CONFIG_STATUS <<\_ACEOF
51456 # If the template does not know about datarootdir, expand it.
51457 # FIXME: This hack should be removed a few years after 2.60.
51458 ac_datarootdir_hack
=; ac_datarootdir_seen
=
51460 case `sed -n '/datarootdir/ {
51469 ' $ac_file_inputs` in
51470 *datarootdir
*) ac_datarootdir_seen
=yes;;
51471 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
51472 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51473 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51475 cat >>$CONFIG_STATUS <<_ACEOF
51476 ac_datarootdir_hack='
51477 s&@datadir@&$datadir&g
51478 s&@docdir@&$docdir&g
51479 s&@infodir@&$infodir&g
51480 s&@localedir@&$localedir&g
51481 s&@mandir@&$mandir&g
51482 s&\\\${datarootdir}&$datarootdir&g' ;;
51486 # Neutralize VPATH when `$srcdir' = `.'.
51487 # Shell code in configure.ac might set extrasub.
51488 # FIXME: do we really want to maintain this feature?
51489 cat >>$CONFIG_STATUS <<_ACEOF
51493 cat >>$CONFIG_STATUS <<\_ACEOF
51495 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51496 s
&@configure_input@
&$configure_input&;t t
51497 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
51498 s
&@srcdir@
&$ac_srcdir&;t t
51499 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
51500 s
&@top_srcdir@
&$ac_top_srcdir&;t t
51501 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
51502 s
&@builddir@
&$ac_builddir&;t t
51503 s
&@abs_builddir@
&$ac_abs_builddir&;t t
51504 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
51505 s
&@INSTALL@
&$ac_INSTALL&;t t
51506 $ac_datarootdir_hack
51507 " $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
51509 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51510 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
51511 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
51512 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
51513 which seems to be undefined. Please make sure it is defined." >&5
51514 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
51515 which seems to be undefined. Please make sure it is defined." >&2;}
51519 -) cat "$tmp/out"; rm -f "$tmp/out";;
51520 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51529 # Transform confdefs.h into a sed script `conftest.defines', that
51530 # substitutes the proper values into config.h.in to produce config.h.
51531 rm -f conftest.defines conftest.
tail
51532 # First, append a space to every undef/define line, to ease matching.
51533 echo 's/$/ /' >conftest.defines
51534 # Then, protect against being on the right side of a sed subst, or in
51535 # an unquoted here document, in config.status. If some macros were
51536 # called several times there might be several #defines for the same
51537 # symbol, which is useless. But do not sort them, since the last
51538 # AC_DEFINE must be honored.
51539 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
51540 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51541 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51542 # PARAMS is the parameter list in the macro definition--in most cases, it's
51543 # just an empty string.
51544 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51545 ac_dB
='\\)[ (].*,\\1define\\2'
51553 s/^[ ]*#[ ]*define[ ][ ]*//
51558 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51559 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51560 ' >>conftest.defines
51562 # Remove the space that was appended to ease matching.
51563 # Then replace #undef with comments. This is necessary, for
51564 # example, in the case of _POSIX_SOURCE, which is predefined and required
51565 # on some systems where configure will not decide to define it.
51566 # (The regexp can be short, since the line contains either #define or #undef.)
51568 s,^[ #]*u.*,/* & */,' >>conftest.defines
51570 # Break up conftest.defines:
51571 ac_max_sed_lines
=50
51573 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51574 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51575 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51577 ac_in
='$ac_file_inputs'
51578 ac_out
='"$tmp/out1"'
51579 ac_nxt
='"$tmp/out2"'
51583 # Write a here document:
51584 cat >>$CONFIG_STATUS <<_ACEOF
51585 # First, check the format of the line:
51586 cat >"\$tmp/defines.sed" <<\\CEOF
51587 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51588 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51592 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
51594 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51595 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
51596 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
51597 grep . conftest.
tail >/dev
/null
|| break
51598 rm -f conftest.defines
51599 mv conftest.
tail conftest.defines
51601 rm -f conftest.defines conftest.
tail
51603 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51604 cat >>$CONFIG_STATUS <<\_ACEOF
51605 if test x
"$ac_file" != x
-; then
51606 echo "/* $configure_input */" >"$tmp/config.h"
51607 cat "$ac_result" >>"$tmp/config.h"
51608 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
51609 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51610 echo "$as_me: $ac_file is unchanged" >&6;}
51613 mv "$tmp/config.h" $ac_file
51616 echo "/* $configure_input */"
51622 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51623 echo "$as_me: executing $ac_file commands" >&6;}
51628 case $ac_file$ac_mode in
51630 mkdir -p $outdir &&
51631 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51633 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
51634 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
51635 "wx-config":C
) rm -f wx
-config
51636 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
51643 { (exit 0); exit 0; }
51645 chmod +x
$CONFIG_STATUS
51646 ac_clean_files
=$ac_clean_files_save
51649 # configure is writing to config.log, and then calls config.status.
51650 # config.status does its own redirection, appending to config.log.
51651 # Unfortunately, on DOS this fails, as config.log is still kept open
51652 # by configure, so config.status won't be able to write to it; its
51653 # output is simply discarded. So we exec the FD to /dev/null,
51654 # effectively closing config.log, so it can be properly (re)opened and
51655 # appended to by config.status. When coming back to configure, we
51656 # need to make the FD available again.
51657 if test "$no_create" != yes; then
51659 ac_config_status_args
=
51660 test "$silent" = yes &&
51661 ac_config_status_args
="$ac_config_status_args --quiet"
51663 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
51665 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51666 # would make configure fail if this is the last instruction.
51667 $ac_cs_success || { (exit 1); exit 1; }
51671 # CONFIG_SUBDIRS section.
51673 if test "$no_recursion" != yes; then
51675 # Remove --cache-file and --srcdir arguments so they do not pile up.
51676 ac_sub_configure_args
=
51678 eval "set x $ac_configure_args"
51682 if test -n "$ac_prev"; then
51687 -cache-file | --cache-file | --cache-fil | --cache-fi \
51688 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51689 ac_prev
=cache_file
;;
51690 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51691 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51694 --config-cache | -C)
51696 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51698 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51700 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51702 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51706 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51708 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
51712 # Always prepend --prefix to ensure using the same prefix
51713 # in subdir configurations.
51714 ac_arg
="--prefix=$prefix"
51716 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51718 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
51721 if test "$silent" = yes; then
51722 ac_sub_configure_args
="--silent $ac_sub_configure_args"
51726 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
51728 # Do not complain, so a configure script can configure whichever
51729 # parts of a large source tree are present.
51730 test -d "$srcdir/$ac_dir" || continue
51732 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51733 echo "$as_me:$LINENO: $ac_msg" >&5
51737 -*) as_dir
=.
/$as_dir;;
51739 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51743 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51744 *) as_qdir
=$as_dir;;
51746 as_dirs
="'$as_qdir' $as_dirs"
51747 as_dir
=`$as_dirname -- "$as_dir" ||
51748 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51749 X"$as_dir" : 'X\(//\)[^/]' \| \
51750 X"$as_dir" : 'X\(//\)$' \| \
51751 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51753 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51757 /^X\(\/\/\)[^/].*/{
51770 test -d "$as_dir" && break
51772 test -z "$as_dirs" || eval "mkdir $as_dirs"
51773 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51774 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51775 { (exit 1); exit 1; }; }; }
51779 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51781 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51782 # A ".." for each directory in $ac_dir_suffix.
51783 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51784 case $ac_top_builddir_sub in
51785 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51786 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
51789 ac_abs_top_builddir
=$ac_pwd
51790 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
51791 # for backward compatibility:
51792 ac_top_builddir
=$ac_top_build_prefix
51795 .
) # We are building in place.
51797 ac_top_srcdir
=$ac_top_builddir_sub
51798 ac_abs_top_srcdir
=$ac_pwd ;;
51799 [\\/]* | ?
:[\\/]* ) # Absolute name.
51800 ac_srcdir
=$srcdir$ac_dir_suffix;
51801 ac_top_srcdir
=$srcdir
51802 ac_abs_top_srcdir
=$srcdir ;;
51803 *) # Relative name.
51804 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
51805 ac_top_srcdir
=$ac_top_build_prefix$srcdir
51806 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
51808 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
51813 # Check for guested configure; otherwise get Cygnus style configure.
51814 if test -f "$ac_srcdir/configure.gnu"; then
51815 ac_sub_configure
=$ac_srcdir/configure.gnu
51816 elif test -f "$ac_srcdir/configure"; then
51817 ac_sub_configure
=$ac_srcdir/configure
51818 elif test -f "$ac_srcdir/configure.in"; then
51819 # This should be Cygnus configure.
51820 ac_sub_configure
=$ac_aux_dir/configure
51822 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51823 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51827 # The recursion is here.
51828 if test -n "$ac_sub_configure"; then
51829 # Make the cache file name correct relative to the subdirectory.
51830 case $cache_file in
51831 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
51832 *) # Relative name.
51833 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
51836 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51837 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51838 # The eval makes quoting arguments work.
51839 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51840 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51841 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51842 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51843 { (exit 1); exit 1; }; }
51852 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51854 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51855 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51857 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51858 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51859 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
51860 if test "$wxUSE_UNICODE" = "yes"; then
51861 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51862 echo " (using UTF-8)"
51864 echo " (using wchar_t)"
51870 echo " What level of wxWidgets compatibility should be enabled?"
51871 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51872 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51874 echo " Which libraries should wxWidgets use?"
51875 echo " STL ${wxUSE_STL}"
51876 echo " jpeg ${wxUSE_LIBJPEG-none}"
51877 echo " png ${wxUSE_LIBPNG-none}"
51878 echo " regex ${wxUSE_REGEX}"
51879 echo " tiff ${wxUSE_LIBTIFF-none}"
51880 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51881 echo " xpm ${wxUSE_LIBXPM-none}"
51883 echo " zlib ${wxUSE_ZLIB}"
51884 echo " expat ${wxUSE_EXPAT}"
51885 echo " libmspack ${wxUSE_LIBMSPACK}"
51886 echo " sdl ${wxUSE_LIBSDL}"